ntdll: Use close_handle instead of NtClose for internal memory management functions.
[wine.git] / configure
blobc1abf1f04905b7026af10f444401c24e10eb0bc7
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.9.6.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='1.9.6'
584 PACKAGE_STRING='Wine 1.9.6'
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 OSS4_CFLAGS
656 ALSA_LIBS
657 GSTREAMER_LIBS
658 GSTREAMER_CFLAGS
659 PULSE_LIBS
660 PULSE_CFLAGS
661 GETTEXTPO_LIBS
662 Z_LIBS
663 FREETYPE_LIBS
664 FREETYPE_CFLAGS
665 LCMS2_LIBS
666 LCMS2_CFLAGS
667 RESOLV_LIBS
668 GPHOTO2_PORT_LIBS
669 GPHOTO2_PORT_CFLAGS
670 GPHOTO2_LIBS
671 GPHOTO2_CFLAGS
672 SANE_LIBS
673 SANE_CFLAGS
674 GNUTLS_LIBS
675 GNUTLS_CFLAGS
676 HAL_LIBS
677 HAL_CFLAGS
678 DBUS_LIBS
679 DBUS_CFLAGS
680 XSLT_LIBS
681 XSLT_CFLAGS
682 XML2_LIBS
683 XML2_CFLAGS
684 PCAP_LIBS
685 X_EXTRA_LIBS
686 X_LIBS
687 X_PRE_LIBS
688 X_CFLAGS
689 XMKMF
690 PTHREAD_LIBS
691 CROSSCC
692 CROSSTARGET
693 PRELINK
694 WINELOADER_DEPENDS
695 CARBON_LIBS
696 QUICKTIME_LIBS
697 OPENCL_LIBS
698 OPENAL_LIBS
699 COREAUDIO_LIBS
700 SECURITY_LIBS
701 DISKARBITRATION_LIBS
702 APPKIT_LIBS
703 CORESERVICES_LIBS
704 APPLICATIONSERVICES_LIBS
705 FORCEFEEDBACK_LIBS
706 IOKIT_LIBS
707 COREFOUNDATION_LIBS
708 LIBWINE_DEPENDS
709 LIBWINE_LDFLAGS
710 LIBWINE_INSTALL_DEV
711 LIBWINE_INSTALL_LIB
712 LIBWINE_IMPORTLIB
713 LIBWINE_SHAREDLIB
714 SOCKET_LIBS
715 DLLTOOL
716 WINELOADER_PROGRAMS
717 ALL_TEST_RESOURCES
718 CONFIGURE_TARGETS
719 DISABLED_SUBDIRS
720 SUBDIRS
721 READELF
722 OTOOL
724 LDEXECFLAGS
725 LDRPATH_LOCAL
726 LDRPATH_INSTALL
727 DLLFLAGS
728 dlldir
730 OPENGL_LIBS
731 ICOTOOL
732 CONVERT
733 RSVG
734 FONTFORGE
735 PKG_CONFIG
736 MSGFMT
737 LDCONFIG
738 EGREP
739 GREP
740 LN_S
741 RANLIB
742 ARFLAGS
743 STRIP
744 ac_ct_AR
746 BISON
747 FLEX
748 TOOLSDIR
749 TARGETFLAGS
751 CPPBIN
752 ac_ct_CXX
753 CXXFLAGS
755 OBJEXT
756 EXEEXT
757 ac_ct_CC
758 CPPFLAGS
759 LDFLAGS
760 CFLAGS
762 SET_MAKE
763 host_os
764 host_vendor
765 host_cpu
766 host
767 build_os
768 build_vendor
769 build_cpu
770 build
771 target_alias
772 host_alias
773 build_alias
774 LIBS
775 ECHO_T
776 ECHO_N
777 ECHO_C
778 DEFS
779 mandir
780 localedir
781 libdir
782 psdir
783 pdfdir
784 dvidir
785 htmldir
786 infodir
787 docdir
788 oldincludedir
789 includedir
790 runstatedir
791 localstatedir
792 sharedstatedir
793 sysconfdir
794 datadir
795 datarootdir
796 libexecdir
797 sbindir
798 bindir
799 program_transform_name
800 prefix
801 exec_prefix
802 PACKAGE_URL
803 PACKAGE_BUGREPORT
804 PACKAGE_STRING
805 PACKAGE_VERSION
806 PACKAGE_TARNAME
807 PACKAGE_NAME
808 PATH_SEPARATOR
809 SHELL'
810 ac_subst_files=''
811 ac_user_opts='
812 enable_option_checking
813 enable_win16
814 enable_win64
815 enable_tests
816 enable_maintainer_mode
817 with_alsa
818 with_capi
819 with_cms
820 with_coreaudio
821 with_cups
822 with_curses
823 with_dbus
824 with_fontconfig
825 with_freetype
826 with_gettext
827 with_gettextpo
828 with_gphoto
829 with_glu
830 with_gnutls
831 with_gsm
832 with_gstreamer
833 with_hal
834 with_jpeg
835 with_ldap
836 with_mpg123
837 with_netapi
838 with_openal
839 with_opencl
840 with_opengl
841 with_osmesa
842 with_oss
843 with_pcap
844 with_png
845 with_pthread
846 with_pulse
847 with_sane
848 with_tiff
849 with_v4l
850 with_xcomposite
851 with_xcursor
852 with_xinerama
853 with_xinput
854 with_xinput2
855 with_xml
856 with_xrandr
857 with_xrender
858 with_xshape
859 with_xshm
860 with_xslt
861 with_xxf86vm
862 with_zlib
863 with_wine_tools
864 with_wine64
865 enable_largefile
866 with_x
867 enable_acledit
868 enable_aclui
869 enable_activeds
870 enable_actxprxy
871 enable_advapi32
872 enable_advpack
873 enable_amstream
874 enable_api_ms_win_core_com_l1_1_0
875 enable_api_ms_win_core_com_l1_1_1
876 enable_api_ms_win_core_console_l1_1_0
877 enable_api_ms_win_core_datetime_l1_1_0
878 enable_api_ms_win_core_datetime_l1_1_1
879 enable_api_ms_win_core_debug_l1_1_0
880 enable_api_ms_win_core_debug_l1_1_1
881 enable_api_ms_win_core_delayload_l1_1_1
882 enable_api_ms_win_core_errorhandling_l1_1_0
883 enable_api_ms_win_core_errorhandling_l1_1_1
884 enable_api_ms_win_core_errorhandling_l1_1_2
885 enable_api_ms_win_core_fibers_l1_1_0
886 enable_api_ms_win_core_fibers_l1_1_1
887 enable_api_ms_win_core_file_l1_1_0
888 enable_api_ms_win_core_file_l1_2_0
889 enable_api_ms_win_core_file_l1_2_1
890 enable_api_ms_win_core_file_l2_1_0
891 enable_api_ms_win_core_file_l2_1_1
892 enable_api_ms_win_core_handle_l1_1_0
893 enable_api_ms_win_core_heap_l1_1_0
894 enable_api_ms_win_core_heap_l1_2_0
895 enable_api_ms_win_core_heap_obsolete_l1_1_0
896 enable_api_ms_win_core_interlocked_l1_1_0
897 enable_api_ms_win_core_interlocked_l1_2_0
898 enable_api_ms_win_core_io_l1_1_1
899 enable_api_ms_win_core_kernel32_legacy_l1_1_0
900 enable_api_ms_win_core_kernel32_legacy_l1_1_1
901 enable_api_ms_win_core_libraryloader_l1_1_0
902 enable_api_ms_win_core_libraryloader_l1_1_1
903 enable_api_ms_win_core_libraryloader_l1_2_0
904 enable_api_ms_win_core_localization_l1_1_0
905 enable_api_ms_win_core_localization_l1_2_0
906 enable_api_ms_win_core_localization_l1_2_1
907 enable_api_ms_win_core_localization_obsolete_l1_1_0
908 enable_api_ms_win_core_localregistry_l1_1_0
909 enable_api_ms_win_core_memory_l1_1_0
910 enable_api_ms_win_core_memory_l1_1_1
911 enable_api_ms_win_core_memory_l1_1_2
912 enable_api_ms_win_core_misc_l1_1_0
913 enable_api_ms_win_core_namedpipe_l1_1_0
914 enable_api_ms_win_core_namedpipe_l1_2_0
915 enable_api_ms_win_core_path_l1_1_0
916 enable_api_ms_win_core_processenvironment_l1_1_0
917 enable_api_ms_win_core_processenvironment_l1_2_0
918 enable_api_ms_win_core_processthreads_l1_1_0
919 enable_api_ms_win_core_processthreads_l1_1_1
920 enable_api_ms_win_core_processthreads_l1_1_2
921 enable_api_ms_win_core_profile_l1_1_0
922 enable_api_ms_win_core_psapi_l1_1_0
923 enable_api_ms_win_core_registry_l1_1_0
924 enable_api_ms_win_core_rtlsupport_l1_1_0
925 enable_api_ms_win_core_rtlsupport_l1_2_0
926 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
927 enable_api_ms_win_core_string_l1_1_0
928 enable_api_ms_win_core_string_l2_1_0
929 enable_api_ms_win_core_synch_l1_1_0
930 enable_api_ms_win_core_synch_l1_2_0
931 enable_api_ms_win_core_sysinfo_l1_1_0
932 enable_api_ms_win_core_sysinfo_l1_2_0
933 enable_api_ms_win_core_sysinfo_l1_2_1
934 enable_api_ms_win_core_threadpool_l1_2_0
935 enable_api_ms_win_core_threadpool_legacy_l1_1_0
936 enable_api_ms_win_core_timezone_l1_1_0
937 enable_api_ms_win_core_url_l1_1_0
938 enable_api_ms_win_core_util_l1_1_0
939 enable_api_ms_win_core_version_l1_1_0
940 enable_api_ms_win_core_winrt_error_l1_1_0
941 enable_api_ms_win_core_winrt_error_l1_1_1
942 enable_api_ms_win_core_winrt_l1_1_0
943 enable_api_ms_win_core_winrt_registration_l1_1_0
944 enable_api_ms_win_core_winrt_string_l1_1_0
945 enable_api_ms_win_core_wow64_l1_1_0
946 enable_api_ms_win_core_xstate_l2_1_0
947 enable_api_ms_win_crt_conio_l1_1_0
948 enable_api_ms_win_crt_convert_l1_1_0
949 enable_api_ms_win_crt_environment_l1_1_0
950 enable_api_ms_win_crt_filesystem_l1_1_0
951 enable_api_ms_win_crt_heap_l1_1_0
952 enable_api_ms_win_crt_locale_l1_1_0
953 enable_api_ms_win_crt_math_l1_1_0
954 enable_api_ms_win_crt_multibyte_l1_1_0
955 enable_api_ms_win_crt_private_l1_1_0
956 enable_api_ms_win_crt_process_l1_1_0
957 enable_api_ms_win_crt_runtime_l1_1_0
958 enable_api_ms_win_crt_stdio_l1_1_0
959 enable_api_ms_win_crt_string_l1_1_0
960 enable_api_ms_win_crt_time_l1_1_0
961 enable_api_ms_win_crt_utility_l1_1_0
962 enable_api_ms_win_downlevel_advapi32_l1_1_0
963 enable_api_ms_win_downlevel_advapi32_l2_1_0
964 enable_api_ms_win_downlevel_normaliz_l1_1_0
965 enable_api_ms_win_downlevel_ole32_l1_1_0
966 enable_api_ms_win_downlevel_shell32_l1_1_0
967 enable_api_ms_win_downlevel_shlwapi_l1_1_0
968 enable_api_ms_win_downlevel_shlwapi_l2_1_0
969 enable_api_ms_win_downlevel_user32_l1_1_0
970 enable_api_ms_win_downlevel_version_l1_1_0
971 enable_api_ms_win_eventing_classicprovider_l1_1_0
972 enable_api_ms_win_eventing_provider_l1_1_0
973 enable_api_ms_win_ntuser_dc_access_l1_1_0
974 enable_api_ms_win_security_base_l1_1_0
975 enable_api_ms_win_security_base_l1_2_0
976 enable_api_ms_win_security_lsalookup_l1_1_0
977 enable_api_ms_win_security_lsalookup_l1_1_1
978 enable_api_ms_win_security_sddl_l1_1_0
979 enable_api_ms_win_service_core_l1_1_1
980 enable_api_ms_win_service_management_l1_1_0
981 enable_api_ms_win_service_winsvc_l1_2_0
982 enable_apphelp
983 enable_appwiz_cpl
984 enable_atl
985 enable_atl100
986 enable_atl110
987 enable_atl80
988 enable_atl90
989 enable_authz
990 enable_avicap32
991 enable_avifil32
992 enable_avrt
993 enable_bcrypt
994 enable_bluetoothapis
995 enable_browseui
996 enable_bthprops_cpl
997 enable_cabinet
998 enable_capi2032
999 enable_cards
1000 enable_cfgmgr32
1001 enable_clusapi
1002 enable_combase
1003 enable_comcat
1004 enable_comctl32
1005 enable_comdlg32
1006 enable_compstui
1007 enable_comsvcs
1008 enable_connect
1009 enable_credui
1010 enable_crtdll
1011 enable_crypt32
1012 enable_cryptdlg
1013 enable_cryptdll
1014 enable_cryptext
1015 enable_cryptnet
1016 enable_cryptui
1017 enable_ctapi32
1018 enable_ctl3d32
1019 enable_d2d1
1020 enable_d3d10
1021 enable_d3d10_1
1022 enable_d3d10core
1023 enable_d3d11
1024 enable_d3d8
1025 enable_d3d9
1026 enable_d3dcompiler_33
1027 enable_d3dcompiler_34
1028 enable_d3dcompiler_35
1029 enable_d3dcompiler_36
1030 enable_d3dcompiler_37
1031 enable_d3dcompiler_38
1032 enable_d3dcompiler_39
1033 enable_d3dcompiler_40
1034 enable_d3dcompiler_41
1035 enable_d3dcompiler_42
1036 enable_d3dcompiler_43
1037 enable_d3dcompiler_46
1038 enable_d3dcompiler_47
1039 enable_d3dim
1040 enable_d3drm
1041 enable_d3dx10_33
1042 enable_d3dx10_34
1043 enable_d3dx10_35
1044 enable_d3dx10_36
1045 enable_d3dx10_37
1046 enable_d3dx10_38
1047 enable_d3dx10_39
1048 enable_d3dx10_40
1049 enable_d3dx10_41
1050 enable_d3dx10_42
1051 enable_d3dx10_43
1052 enable_d3dx11_42
1053 enable_d3dx11_43
1054 enable_d3dx9_24
1055 enable_d3dx9_25
1056 enable_d3dx9_26
1057 enable_d3dx9_27
1058 enable_d3dx9_28
1059 enable_d3dx9_29
1060 enable_d3dx9_30
1061 enable_d3dx9_31
1062 enable_d3dx9_32
1063 enable_d3dx9_33
1064 enable_d3dx9_34
1065 enable_d3dx9_35
1066 enable_d3dx9_36
1067 enable_d3dx9_37
1068 enable_d3dx9_38
1069 enable_d3dx9_39
1070 enable_d3dx9_40
1071 enable_d3dx9_41
1072 enable_d3dx9_42
1073 enable_d3dx9_43
1074 enable_d3dxof
1075 enable_davclnt
1076 enable_dbgeng
1077 enable_dbghelp
1078 enable_dciman32
1079 enable_ddraw
1080 enable_ddrawex
1081 enable_devenum
1082 enable_dhcpcsvc
1083 enable_difxapi
1084 enable_dinput
1085 enable_dinput8
1086 enable_dispex
1087 enable_dmband
1088 enable_dmcompos
1089 enable_dmime
1090 enable_dmloader
1091 enable_dmscript
1092 enable_dmstyle
1093 enable_dmsynth
1094 enable_dmusic
1095 enable_dmusic32
1096 enable_dnsapi
1097 enable_dplay
1098 enable_dplayx
1099 enable_dpnaddr
1100 enable_dpnet
1101 enable_dpnhpast
1102 enable_dpnlobby
1103 enable_dpvoice
1104 enable_dpwsockx
1105 enable_drmclien
1106 enable_dsound
1107 enable_dssenh
1108 enable_dswave
1109 enable_dwmapi
1110 enable_dwrite
1111 enable_dxdiagn
1112 enable_dxgi
1113 enable_dxva2
1114 enable_esent
1115 enable_evr
1116 enable_explorerframe
1117 enable_ext_ms_win_gdi_devcaps_l1_1_0
1118 enable_faultrep
1119 enable_fltlib
1120 enable_fltmgr_sys
1121 enable_fntcache
1122 enable_fontsub
1123 enable_fusion
1124 enable_fwpuclnt
1125 enable_gameux
1126 enable_gdi32
1127 enable_gdiplus
1128 enable_glu32
1129 enable_gphoto2_ds
1130 enable_gpkcsp
1131 enable_hal
1132 enable_hhctrl_ocx
1133 enable_hid
1134 enable_hidclass_sys
1135 enable_hlink
1136 enable_hnetcfg
1137 enable_httpapi
1138 enable_iccvid
1139 enable_icmp
1140 enable_ieframe
1141 enable_imaadp32_acm
1142 enable_imagehlp
1143 enable_imm32
1144 enable_inetcomm
1145 enable_inetcpl_cpl
1146 enable_inetmib1
1147 enable_infosoft
1148 enable_initpki
1149 enable_inkobj
1150 enable_inseng
1151 enable_iphlpapi
1152 enable_irprops_cpl
1153 enable_itircl
1154 enable_itss
1155 enable_joy_cpl
1156 enable_jscript
1157 enable_jsproxy
1158 enable_kernel32
1159 enable_kernelbase
1160 enable_ksuser
1161 enable_ktmw32
1162 enable_loadperf
1163 enable_localspl
1164 enable_localui
1165 enable_lz32
1166 enable_mapi32
1167 enable_mapistub
1168 enable_mciavi32
1169 enable_mcicda
1170 enable_mciqtz32
1171 enable_mciseq
1172 enable_mciwave
1173 enable_mf
1174 enable_mfplat
1175 enable_mfreadwrite
1176 enable_mgmtapi
1177 enable_midimap
1178 enable_mlang
1179 enable_mmcndmgr
1180 enable_mmdevapi
1181 enable_mountmgr_sys
1182 enable_mpr
1183 enable_mprapi
1184 enable_msacm32_drv
1185 enable_msacm32
1186 enable_msadp32_acm
1187 enable_msasn1
1188 enable_mscat32
1189 enable_mscms
1190 enable_mscoree
1191 enable_msctf
1192 enable_msctfp
1193 enable_msdaps
1194 enable_msdelta
1195 enable_msdmo
1196 enable_msdrm
1197 enable_msftedit
1198 enable_msg711_acm
1199 enable_msgsm32_acm
1200 enable_mshtml_tlb
1201 enable_mshtml
1202 enable_msi
1203 enable_msident
1204 enable_msimg32
1205 enable_msimsg
1206 enable_msimtf
1207 enable_msisip
1208 enable_msisys_ocx
1209 enable_msls31
1210 enable_msnet32
1211 enable_mspatcha
1212 enable_msrle32
1213 enable_msscript_ocx
1214 enable_mssign32
1215 enable_mssip32
1216 enable_mstask
1217 enable_msvcirt
1218 enable_msvcm80
1219 enable_msvcm90
1220 enable_msvcp100
1221 enable_msvcp110
1222 enable_msvcp120
1223 enable_msvcp120_app
1224 enable_msvcp60
1225 enable_msvcp70
1226 enable_msvcp71
1227 enable_msvcp80
1228 enable_msvcp90
1229 enable_msvcr100
1230 enable_msvcr110
1231 enable_msvcr120
1232 enable_msvcr120_app
1233 enable_msvcr70
1234 enable_msvcr71
1235 enable_msvcr80
1236 enable_msvcr90
1237 enable_msvcrt
1238 enable_msvcrt20
1239 enable_msvcrt40
1240 enable_msvcrtd
1241 enable_msvfw32
1242 enable_msvidc32
1243 enable_mswsock
1244 enable_msxml
1245 enable_msxml2
1246 enable_msxml3
1247 enable_msxml4
1248 enable_msxml6
1249 enable_nddeapi
1250 enable_ndis_sys
1251 enable_netapi32
1252 enable_netcfgx
1253 enable_netprofm
1254 enable_newdev
1255 enable_normaliz
1256 enable_npmshtml
1257 enable_npptools
1258 enable_ntdll
1259 enable_ntdsapi
1260 enable_ntoskrnl_exe
1261 enable_ntprint
1262 enable_objsel
1263 enable_odbc32
1264 enable_odbccp32
1265 enable_odbccu32
1266 enable_ole32
1267 enable_oleacc
1268 enable_oleaut32
1269 enable_olecli32
1270 enable_oledb32
1271 enable_oledlg
1272 enable_olepro32
1273 enable_olesvr32
1274 enable_olethk32
1275 enable_openal32
1276 enable_opencl
1277 enable_opengl32
1278 enable_packager
1279 enable_pdh
1280 enable_photometadatahandler
1281 enable_pidgen
1282 enable_powrprof
1283 enable_printui
1284 enable_prntvpt
1285 enable_propsys
1286 enable_psapi
1287 enable_pstorec
1288 enable_qcap
1289 enable_qedit
1290 enable_qmgr
1291 enable_qmgrprxy
1292 enable_quartz
1293 enable_query
1294 enable_rasapi32
1295 enable_rasdlg
1296 enable_regapi
1297 enable_resutils
1298 enable_riched20
1299 enable_riched32
1300 enable_rpcrt4
1301 enable_rsabase
1302 enable_rsaenh
1303 enable_rstrtmgr
1304 enable_rtutils
1305 enable_samlib
1306 enable_sane_ds
1307 enable_scarddlg
1308 enable_sccbase
1309 enable_schannel
1310 enable_schedsvc
1311 enable_scrrun
1312 enable_scsiport_sys
1313 enable_secur32
1314 enable_security
1315 enable_sensapi
1316 enable_serialui
1317 enable_setupapi
1318 enable_sfc
1319 enable_sfc_os
1320 enable_shdoclc
1321 enable_shdocvw
1322 enable_shell32
1323 enable_shfolder
1324 enable_shlwapi
1325 enable_slbcsp
1326 enable_slc
1327 enable_snmpapi
1328 enable_softpub
1329 enable_spoolss
1330 enable_stdole2_tlb
1331 enable_stdole32_tlb
1332 enable_sti
1333 enable_svrapi
1334 enable_sxs
1335 enable_t2embed
1336 enable_tapi32
1337 enable_taskschd
1338 enable_tdi_sys
1339 enable_traffic
1340 enable_twain_32
1341 enable_ucrtbase
1342 enable_unicows
1343 enable_updspapi
1344 enable_url
1345 enable_urlmon
1346 enable_usbd_sys
1347 enable_user32
1348 enable_userenv
1349 enable_usp10
1350 enable_uxtheme
1351 enable_vbscript
1352 enable_vcomp
1353 enable_vcomp100
1354 enable_vcomp110
1355 enable_vcomp120
1356 enable_vcomp90
1357 enable_vcruntime140
1358 enable_vdmdbg
1359 enable_version
1360 enable_vssapi
1361 enable_wbemdisp
1362 enable_wbemprox
1363 enable_webservices
1364 enable_wer
1365 enable_wevtapi
1366 enable_wiaservc
1367 enable_wimgapi
1368 enable_windowscodecs
1369 enable_windowscodecsext
1370 enable_winealsa_drv
1371 enable_winecoreaudio_drv
1372 enable_wined3d
1373 enable_winegstreamer
1374 enable_winejoystick_drv
1375 enable_winemac_drv
1376 enable_winemapi
1377 enable_winemp3_acm
1378 enable_wineoss_drv
1379 enable_wineps_drv
1380 enable_winepulse_drv
1381 enable_wineqtdecoder
1382 enable_winex11_drv
1383 enable_wing32
1384 enable_winhttp
1385 enable_wininet
1386 enable_winmm
1387 enable_winnls32
1388 enable_winscard
1389 enable_winspool_drv
1390 enable_winsta
1391 enable_wintab32
1392 enable_wintrust
1393 enable_wlanapi
1394 enable_wldap32
1395 enable_wmasf
1396 enable_wmi
1397 enable_wmiutils
1398 enable_wmp
1399 enable_wmvcore
1400 enable_wnaspi32
1401 enable_wpcap
1402 enable_ws2_32
1403 enable_wshom_ocx
1404 enable_wsnmp32
1405 enable_wsock32
1406 enable_wtsapi32
1407 enable_wuapi
1408 enable_wuaueng
1409 enable_x3daudio1_0
1410 enable_x3daudio1_1
1411 enable_x3daudio1_2
1412 enable_x3daudio1_3
1413 enable_x3daudio1_4
1414 enable_x3daudio1_5
1415 enable_x3daudio1_6
1416 enable_x3daudio1_7
1417 enable_xapofx1_1
1418 enable_xapofx1_2
1419 enable_xapofx1_3
1420 enable_xapofx1_4
1421 enable_xapofx1_5
1422 enable_xaudio2_0
1423 enable_xaudio2_1
1424 enable_xaudio2_2
1425 enable_xaudio2_3
1426 enable_xaudio2_4
1427 enable_xaudio2_5
1428 enable_xaudio2_6
1429 enable_xaudio2_7
1430 enable_xaudio2_8
1431 enable_xaudio2_9
1432 enable_xinput1_1
1433 enable_xinput1_2
1434 enable_xinput1_3
1435 enable_xinput1_4
1436 enable_xinput9_1_0
1437 enable_xmllite
1438 enable_xolehlp
1439 enable_xpsprint
1440 enable_xpssvcs
1441 enable_fonts
1442 enable_include
1443 enable_libs_port
1444 enable_libs_wine
1445 enable_libs_wpp
1446 enable_loader
1447 enable_po
1448 enable_arp
1449 enable_aspnet_regiis
1450 enable_attrib
1451 enable_cabarc
1452 enable_cacls
1453 enable_clock
1454 enable_cmd
1455 enable_conhost
1456 enable_control
1457 enable_cscript
1458 enable_dpnsvr
1459 enable_dxdiag
1460 enable_eject
1461 enable_expand
1462 enable_explorer
1463 enable_extrac32
1464 enable_findstr
1465 enable_hh
1466 enable_hostname
1467 enable_icacls
1468 enable_icinfo
1469 enable_iexplore
1470 enable_ipconfig
1471 enable_lodctr
1472 enable_mofcomp
1473 enable_mshta
1474 enable_msiexec
1475 enable_net
1476 enable_netsh
1477 enable_netstat
1478 enable_ngen
1479 enable_notepad
1480 enable_oleview
1481 enable_ping
1482 enable_plugplay
1483 enable_presentationfontcache
1484 enable_progman
1485 enable_reg
1486 enable_regasm
1487 enable_regedit
1488 enable_regsvcs
1489 enable_regsvr32
1490 enable_rpcss
1491 enable_rundll32
1492 enable_sc
1493 enable_schtasks
1494 enable_sdbinst
1495 enable_secedit
1496 enable_servicemodelreg
1497 enable_services
1498 enable_shutdown
1499 enable_spoolsv
1500 enable_start
1501 enable_svchost
1502 enable_systeminfo
1503 enable_taskkill
1504 enable_tasklist
1505 enable_taskmgr
1506 enable_termsv
1507 enable_uninstaller
1508 enable_unlodctr
1509 enable_view
1510 enable_wevtutil
1511 enable_wineboot
1512 enable_winebrowser
1513 enable_winecfg
1514 enable_wineconsole
1515 enable_winedbg
1516 enable_winedevice
1517 enable_winefile
1518 enable_winemenubuilder
1519 enable_winemine
1520 enable_winemsibuilder
1521 enable_winepath
1522 enable_winetest
1523 enable_winhlp32
1524 enable_winver
1525 enable_wmic
1526 enable_wmplayer
1527 enable_wordpad
1528 enable_write
1529 enable_wscript
1530 enable_wusa
1531 enable_xcopy
1532 enable_server
1533 enable_tools
1535 ac_precious_vars='build_alias
1536 host_alias
1537 target_alias
1539 CFLAGS
1540 LDFLAGS
1541 LIBS
1542 CPPFLAGS
1544 CXXFLAGS
1547 XMKMF
1548 XML2_CFLAGS
1549 XML2_LIBS
1550 XSLT_CFLAGS
1551 XSLT_LIBS
1552 DBUS_CFLAGS
1553 DBUS_LIBS
1554 HAL_CFLAGS
1555 HAL_LIBS
1556 GNUTLS_CFLAGS
1557 GNUTLS_LIBS
1558 SANE_CFLAGS
1559 SANE_LIBS
1560 GPHOTO2_CFLAGS
1561 GPHOTO2_LIBS
1562 GPHOTO2_PORT_CFLAGS
1563 GPHOTO2_PORT_LIBS
1564 LCMS2_CFLAGS
1565 LCMS2_LIBS
1566 FREETYPE_CFLAGS
1567 FREETYPE_LIBS
1568 PULSE_CFLAGS
1569 PULSE_LIBS
1570 GSTREAMER_CFLAGS
1571 GSTREAMER_LIBS
1572 CAPI20_CFLAGS
1573 CAPI20_LIBS
1574 FONTCONFIG_CFLAGS
1575 FONTCONFIG_LIBS
1576 JPEG_CFLAGS
1577 JPEG_LIBS
1578 PNG_CFLAGS
1579 PNG_LIBS
1580 TIFF_CFLAGS
1581 TIFF_LIBS
1582 MPG123_CFLAGS
1583 MPG123_LIBS
1584 NETAPI_CFLAGS
1585 NETAPI_LIBS'
1588 # Initialize some variables set by options.
1589 ac_init_help=
1590 ac_init_version=false
1591 ac_unrecognized_opts=
1592 ac_unrecognized_sep=
1593 # The variables have the same names as the options, with
1594 # dashes changed to underlines.
1595 cache_file=/dev/null
1596 exec_prefix=NONE
1597 no_create=
1598 no_recursion=
1599 prefix=NONE
1600 program_prefix=NONE
1601 program_suffix=NONE
1602 program_transform_name=s,x,x,
1603 silent=
1604 site=
1605 srcdir=
1606 verbose=
1607 x_includes=NONE
1608 x_libraries=NONE
1610 # Installation directory options.
1611 # These are left unexpanded so users can "make install exec_prefix=/foo"
1612 # and all the variables that are supposed to be based on exec_prefix
1613 # by default will actually change.
1614 # Use braces instead of parens because sh, perl, etc. also accept them.
1615 # (The list follows the same order as the GNU Coding Standards.)
1616 bindir='${exec_prefix}/bin'
1617 sbindir='${exec_prefix}/sbin'
1618 libexecdir='${exec_prefix}/libexec'
1619 datarootdir='${prefix}/share'
1620 datadir='${datarootdir}'
1621 sysconfdir='${prefix}/etc'
1622 sharedstatedir='${prefix}/com'
1623 localstatedir='${prefix}/var'
1624 runstatedir='${localstatedir}/run'
1625 includedir='${prefix}/include'
1626 oldincludedir='/usr/include'
1627 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1628 infodir='${datarootdir}/info'
1629 htmldir='${docdir}'
1630 dvidir='${docdir}'
1631 pdfdir='${docdir}'
1632 psdir='${docdir}'
1633 libdir='${exec_prefix}/lib'
1634 localedir='${datarootdir}/locale'
1635 mandir='${datarootdir}/man'
1637 ac_prev=
1638 ac_dashdash=
1639 for ac_option
1641 # If the previous option needs an argument, assign it.
1642 if test -n "$ac_prev"; then
1643 eval $ac_prev=\$ac_option
1644 ac_prev=
1645 continue
1648 case $ac_option in
1649 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1650 *=) ac_optarg= ;;
1651 *) ac_optarg=yes ;;
1652 esac
1654 # Accept the important Cygnus configure options, so we can diagnose typos.
1656 case $ac_dashdash$ac_option in
1658 ac_dashdash=yes ;;
1660 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1661 ac_prev=bindir ;;
1662 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1663 bindir=$ac_optarg ;;
1665 -build | --build | --buil | --bui | --bu)
1666 ac_prev=build_alias ;;
1667 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1668 build_alias=$ac_optarg ;;
1670 -cache-file | --cache-file | --cache-fil | --cache-fi \
1671 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1672 ac_prev=cache_file ;;
1673 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1674 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1675 cache_file=$ac_optarg ;;
1677 --config-cache | -C)
1678 cache_file=config.cache ;;
1680 -datadir | --datadir | --datadi | --datad)
1681 ac_prev=datadir ;;
1682 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1683 datadir=$ac_optarg ;;
1685 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1686 | --dataroo | --dataro | --datar)
1687 ac_prev=datarootdir ;;
1688 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1689 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1690 datarootdir=$ac_optarg ;;
1692 -disable-* | --disable-*)
1693 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1694 # Reject names that are not valid shell variable names.
1695 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1696 as_fn_error $? "invalid feature name: $ac_useropt"
1697 ac_useropt_orig=$ac_useropt
1698 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1699 case $ac_user_opts in
1701 "enable_$ac_useropt"
1702 "*) ;;
1703 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1704 ac_unrecognized_sep=', ';;
1705 esac
1706 eval enable_$ac_useropt=no ;;
1708 -docdir | --docdir | --docdi | --doc | --do)
1709 ac_prev=docdir ;;
1710 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1711 docdir=$ac_optarg ;;
1713 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1714 ac_prev=dvidir ;;
1715 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1716 dvidir=$ac_optarg ;;
1718 -enable-* | --enable-*)
1719 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1720 # Reject names that are not valid shell variable names.
1721 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1722 as_fn_error $? "invalid feature name: $ac_useropt"
1723 ac_useropt_orig=$ac_useropt
1724 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1725 case $ac_user_opts in
1727 "enable_$ac_useropt"
1728 "*) ;;
1729 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1730 ac_unrecognized_sep=', ';;
1731 esac
1732 eval enable_$ac_useropt=\$ac_optarg ;;
1734 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1735 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1736 | --exec | --exe | --ex)
1737 ac_prev=exec_prefix ;;
1738 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1739 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1740 | --exec=* | --exe=* | --ex=*)
1741 exec_prefix=$ac_optarg ;;
1743 -gas | --gas | --ga | --g)
1744 # Obsolete; use --with-gas.
1745 with_gas=yes ;;
1747 -help | --help | --hel | --he | -h)
1748 ac_init_help=long ;;
1749 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1750 ac_init_help=recursive ;;
1751 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1752 ac_init_help=short ;;
1754 -host | --host | --hos | --ho)
1755 ac_prev=host_alias ;;
1756 -host=* | --host=* | --hos=* | --ho=*)
1757 host_alias=$ac_optarg ;;
1759 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1760 ac_prev=htmldir ;;
1761 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1762 | --ht=*)
1763 htmldir=$ac_optarg ;;
1765 -includedir | --includedir | --includedi | --included | --include \
1766 | --includ | --inclu | --incl | --inc)
1767 ac_prev=includedir ;;
1768 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1769 | --includ=* | --inclu=* | --incl=* | --inc=*)
1770 includedir=$ac_optarg ;;
1772 -infodir | --infodir | --infodi | --infod | --info | --inf)
1773 ac_prev=infodir ;;
1774 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1775 infodir=$ac_optarg ;;
1777 -libdir | --libdir | --libdi | --libd)
1778 ac_prev=libdir ;;
1779 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1780 libdir=$ac_optarg ;;
1782 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1783 | --libexe | --libex | --libe)
1784 ac_prev=libexecdir ;;
1785 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1786 | --libexe=* | --libex=* | --libe=*)
1787 libexecdir=$ac_optarg ;;
1789 -localedir | --localedir | --localedi | --localed | --locale)
1790 ac_prev=localedir ;;
1791 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1792 localedir=$ac_optarg ;;
1794 -localstatedir | --localstatedir | --localstatedi | --localstated \
1795 | --localstate | --localstat | --localsta | --localst | --locals)
1796 ac_prev=localstatedir ;;
1797 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1798 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1799 localstatedir=$ac_optarg ;;
1801 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1802 ac_prev=mandir ;;
1803 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1804 mandir=$ac_optarg ;;
1806 -nfp | --nfp | --nf)
1807 # Obsolete; use --without-fp.
1808 with_fp=no ;;
1810 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1811 | --no-cr | --no-c | -n)
1812 no_create=yes ;;
1814 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1815 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1816 no_recursion=yes ;;
1818 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1819 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1820 | --oldin | --oldi | --old | --ol | --o)
1821 ac_prev=oldincludedir ;;
1822 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1823 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1824 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1825 oldincludedir=$ac_optarg ;;
1827 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1828 ac_prev=prefix ;;
1829 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1830 prefix=$ac_optarg ;;
1832 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1833 | --program-pre | --program-pr | --program-p)
1834 ac_prev=program_prefix ;;
1835 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1836 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1837 program_prefix=$ac_optarg ;;
1839 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1840 | --program-suf | --program-su | --program-s)
1841 ac_prev=program_suffix ;;
1842 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1843 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1844 program_suffix=$ac_optarg ;;
1846 -program-transform-name | --program-transform-name \
1847 | --program-transform-nam | --program-transform-na \
1848 | --program-transform-n | --program-transform- \
1849 | --program-transform | --program-transfor \
1850 | --program-transfo | --program-transf \
1851 | --program-trans | --program-tran \
1852 | --progr-tra | --program-tr | --program-t)
1853 ac_prev=program_transform_name ;;
1854 -program-transform-name=* | --program-transform-name=* \
1855 | --program-transform-nam=* | --program-transform-na=* \
1856 | --program-transform-n=* | --program-transform-=* \
1857 | --program-transform=* | --program-transfor=* \
1858 | --program-transfo=* | --program-transf=* \
1859 | --program-trans=* | --program-tran=* \
1860 | --progr-tra=* | --program-tr=* | --program-t=*)
1861 program_transform_name=$ac_optarg ;;
1863 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1864 ac_prev=pdfdir ;;
1865 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1866 pdfdir=$ac_optarg ;;
1868 -psdir | --psdir | --psdi | --psd | --ps)
1869 ac_prev=psdir ;;
1870 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1871 psdir=$ac_optarg ;;
1873 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1874 | -silent | --silent | --silen | --sile | --sil)
1875 silent=yes ;;
1877 -runstatedir | --runstatedir | --runstatedi | --runstated \
1878 | --runstate | --runstat | --runsta | --runst | --runs \
1879 | --run | --ru | --r)
1880 ac_prev=runstatedir ;;
1881 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1882 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1883 | --run=* | --ru=* | --r=*)
1884 runstatedir=$ac_optarg ;;
1886 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1887 ac_prev=sbindir ;;
1888 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1889 | --sbi=* | --sb=*)
1890 sbindir=$ac_optarg ;;
1892 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1893 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1894 | --sharedst | --shareds | --shared | --share | --shar \
1895 | --sha | --sh)
1896 ac_prev=sharedstatedir ;;
1897 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1898 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1899 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1900 | --sha=* | --sh=*)
1901 sharedstatedir=$ac_optarg ;;
1903 -site | --site | --sit)
1904 ac_prev=site ;;
1905 -site=* | --site=* | --sit=*)
1906 site=$ac_optarg ;;
1908 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1909 ac_prev=srcdir ;;
1910 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1911 srcdir=$ac_optarg ;;
1913 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1914 | --syscon | --sysco | --sysc | --sys | --sy)
1915 ac_prev=sysconfdir ;;
1916 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1917 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1918 sysconfdir=$ac_optarg ;;
1920 -target | --target | --targe | --targ | --tar | --ta | --t)
1921 ac_prev=target_alias ;;
1922 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1923 target_alias=$ac_optarg ;;
1925 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1926 verbose=yes ;;
1928 -version | --version | --versio | --versi | --vers | -V)
1929 ac_init_version=: ;;
1931 -with-* | --with-*)
1932 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1933 # Reject names that are not valid shell variable names.
1934 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1935 as_fn_error $? "invalid package name: $ac_useropt"
1936 ac_useropt_orig=$ac_useropt
1937 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1938 case $ac_user_opts in
1940 "with_$ac_useropt"
1941 "*) ;;
1942 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1943 ac_unrecognized_sep=', ';;
1944 esac
1945 eval with_$ac_useropt=\$ac_optarg ;;
1947 -without-* | --without-*)
1948 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1949 # Reject names that are not valid shell variable names.
1950 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1951 as_fn_error $? "invalid package name: $ac_useropt"
1952 ac_useropt_orig=$ac_useropt
1953 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1954 case $ac_user_opts in
1956 "with_$ac_useropt"
1957 "*) ;;
1958 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1959 ac_unrecognized_sep=', ';;
1960 esac
1961 eval with_$ac_useropt=no ;;
1963 --x)
1964 # Obsolete; use --with-x.
1965 with_x=yes ;;
1967 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1968 | --x-incl | --x-inc | --x-in | --x-i)
1969 ac_prev=x_includes ;;
1970 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1971 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1972 x_includes=$ac_optarg ;;
1974 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1975 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1976 ac_prev=x_libraries ;;
1977 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1978 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1979 x_libraries=$ac_optarg ;;
1981 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1982 Try \`$0 --help' for more information"
1985 *=*)
1986 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1987 # Reject names that are not valid shell variable names.
1988 case $ac_envvar in #(
1989 '' | [0-9]* | *[!_$as_cr_alnum]* )
1990 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1991 esac
1992 eval $ac_envvar=\$ac_optarg
1993 export $ac_envvar ;;
1996 # FIXME: should be removed in autoconf 3.0.
1997 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1998 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1999 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2000 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2003 esac
2004 done
2006 if test -n "$ac_prev"; then
2007 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2008 as_fn_error $? "missing argument to $ac_option"
2011 if test -n "$ac_unrecognized_opts"; then
2012 case $enable_option_checking in
2013 no) ;;
2014 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2015 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2016 esac
2019 # Check all directory arguments for consistency.
2020 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2021 datadir sysconfdir sharedstatedir localstatedir includedir \
2022 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2023 libdir localedir mandir runstatedir
2025 eval ac_val=\$$ac_var
2026 # Remove trailing slashes.
2027 case $ac_val in
2028 */ )
2029 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2030 eval $ac_var=\$ac_val;;
2031 esac
2032 # Be sure to have absolute directory names.
2033 case $ac_val in
2034 [\\/$]* | ?:[\\/]* ) continue;;
2035 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2036 esac
2037 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2038 done
2040 # There might be people who depend on the old broken behavior: `$host'
2041 # used to hold the argument of --host etc.
2042 # FIXME: To remove some day.
2043 build=$build_alias
2044 host=$host_alias
2045 target=$target_alias
2047 # FIXME: To remove some day.
2048 if test "x$host_alias" != x; then
2049 if test "x$build_alias" = x; then
2050 cross_compiling=maybe
2051 elif test "x$build_alias" != "x$host_alias"; then
2052 cross_compiling=yes
2056 ac_tool_prefix=
2057 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2059 test "$silent" = yes && exec 6>/dev/null
2062 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2063 ac_ls_di=`ls -di .` &&
2064 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2065 as_fn_error $? "working directory cannot be determined"
2066 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2067 as_fn_error $? "pwd does not report name of working directory"
2070 # Find the source files, if location was not specified.
2071 if test -z "$srcdir"; then
2072 ac_srcdir_defaulted=yes
2073 # Try the directory containing this script, then the parent directory.
2074 ac_confdir=`$as_dirname -- "$as_myself" ||
2075 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2076 X"$as_myself" : 'X\(//\)[^/]' \| \
2077 X"$as_myself" : 'X\(//\)$' \| \
2078 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2079 $as_echo X"$as_myself" |
2080 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2081 s//\1/
2084 /^X\(\/\/\)[^/].*/{
2085 s//\1/
2088 /^X\(\/\/\)$/{
2089 s//\1/
2092 /^X\(\/\).*/{
2093 s//\1/
2096 s/.*/./; q'`
2097 srcdir=$ac_confdir
2098 if test ! -r "$srcdir/$ac_unique_file"; then
2099 srcdir=..
2101 else
2102 ac_srcdir_defaulted=no
2104 if test ! -r "$srcdir/$ac_unique_file"; then
2105 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2106 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2108 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2109 ac_abs_confdir=`(
2110 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2111 pwd)`
2112 # When building in place, set srcdir=.
2113 if test "$ac_abs_confdir" = "$ac_pwd"; then
2114 srcdir=.
2116 # Remove unnecessary trailing slashes from srcdir.
2117 # Double slashes in file names in object file debugging info
2118 # mess up M-x gdb in Emacs.
2119 case $srcdir in
2120 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2121 esac
2122 for ac_var in $ac_precious_vars; do
2123 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2124 eval ac_env_${ac_var}_value=\$${ac_var}
2125 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2126 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2127 done
2130 # Report the --help message.
2132 if test "$ac_init_help" = "long"; then
2133 # Omit some internal or obsolete options to make the list less imposing.
2134 # This message is too long to be a string in the A/UX 3.1 sh.
2135 cat <<_ACEOF
2136 \`configure' configures Wine 1.9.6 to adapt to many kinds of systems.
2138 Usage: $0 [OPTION]... [VAR=VALUE]...
2140 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2141 VAR=VALUE. See below for descriptions of some of the useful variables.
2143 Defaults for the options are specified in brackets.
2145 Configuration:
2146 -h, --help display this help and exit
2147 --help=short display options specific to this package
2148 --help=recursive display the short help of all the included packages
2149 -V, --version display version information and exit
2150 -q, --quiet, --silent do not print \`checking ...' messages
2151 --cache-file=FILE cache test results in FILE [disabled]
2152 -C, --config-cache alias for \`--cache-file=config.cache'
2153 -n, --no-create do not create output files
2154 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2156 Installation directories:
2157 --prefix=PREFIX install architecture-independent files in PREFIX
2158 [$ac_default_prefix]
2159 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2160 [PREFIX]
2162 By default, \`make install' will install all the files in
2163 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2164 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2165 for instance \`--prefix=\$HOME'.
2167 For better control, use the options below.
2169 Fine tuning of the installation directories:
2170 --bindir=DIR user executables [EPREFIX/bin]
2171 --sbindir=DIR system admin executables [EPREFIX/sbin]
2172 --libexecdir=DIR program executables [EPREFIX/libexec]
2173 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2174 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2175 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2176 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2177 --libdir=DIR object code libraries [EPREFIX/lib]
2178 --includedir=DIR C header files [PREFIX/include]
2179 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2180 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2181 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2182 --infodir=DIR info documentation [DATAROOTDIR/info]
2183 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2184 --mandir=DIR man documentation [DATAROOTDIR/man]
2185 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2186 --htmldir=DIR html documentation [DOCDIR]
2187 --dvidir=DIR dvi documentation [DOCDIR]
2188 --pdfdir=DIR pdf documentation [DOCDIR]
2189 --psdir=DIR ps documentation [DOCDIR]
2190 _ACEOF
2192 cat <<\_ACEOF
2194 X features:
2195 --x-includes=DIR X include files are in DIR
2196 --x-libraries=DIR X library files are in DIR
2198 System types:
2199 --build=BUILD configure for building on BUILD [guessed]
2200 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2201 _ACEOF
2204 if test -n "$ac_init_help"; then
2205 case $ac_init_help in
2206 short | recursive ) echo "Configuration of Wine 1.9.6:";;
2207 esac
2208 cat <<\_ACEOF
2210 Optional Features:
2211 --disable-option-checking ignore unrecognized --enable/--with options
2212 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2213 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2214 --disable-win16 do not include Win16 support
2215 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2216 binaries)
2217 --disable-tests do not build the regression tests
2218 --enable-maintainer-mode
2219 enable maintainer-specific build rules
2220 --disable-largefile omit support for large files
2222 Optional Packages:
2223 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2224 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2225 --without-alsa do not use the Alsa sound support
2226 --without-capi do not use CAPI (ISDN support)
2227 --without-cms do not use CMS (color management support)
2228 --without-coreaudio do not use the CoreAudio sound support
2229 --without-cups do not use CUPS
2230 --without-curses do not use (n)curses
2231 --without-dbus do not use DBus (dynamic device support)
2232 --without-fontconfig do not use fontconfig
2233 --without-freetype do not use the FreeType library
2234 --without-gettext do not use gettext
2235 --with-gettextpo use the GetTextPO library to rebuild po files
2236 --without-gphoto do not use gphoto (Digital Camera support)
2237 --without-glu do not use the GLU library
2238 --without-gnutls do not use GnuTLS (schannel support)
2239 --without-gsm do not use libgsm (GSM 06.10 codec support)
2240 --without-gstreamer do not use GStreamer (codecs support)
2241 --without-hal do not use HAL (dynamic device support)
2242 --without-jpeg do not use JPEG
2243 --without-ldap do not use LDAP
2244 --without-mpg123 do not use the mpg123 library
2245 --without-netapi do not use the Samba NetAPI library
2246 --without-openal do not use OpenAL
2247 --without-opencl do not use OpenCL
2248 --without-opengl do not use OpenGL
2249 --without-osmesa do not use the OSMesa library
2250 --without-oss do not use the OSS sound support
2251 --without-pcap do not use the Packet Capture library
2252 --without-png do not use PNG
2253 --without-pthread do not use the pthread library
2254 --without-pulse do not use PulseAudio sound support
2255 --without-sane do not use SANE (scanner support)
2256 --without-tiff do not use TIFF
2257 --without-v4l do not use v4l1 (v4l support)
2258 --without-xcomposite do not use the Xcomposite extension
2259 --without-xcursor do not use the Xcursor extension
2260 --without-xinerama do not use Xinerama (multi-monitor support)
2261 --without-xinput do not use the Xinput extension
2262 --without-xinput2 do not use the Xinput 2 extension
2263 --without-xml do not use XML
2264 --without-xrandr do not use Xrandr (resolution changes)
2265 --without-xrender do not use the Xrender extension
2266 --without-xshape do not use the Xshape extension
2267 --without-xshm do not use XShm (shared memory extension)
2268 --without-xslt do not use XSLT
2269 --without-xxf86vm do not use XFree video mode extension
2270 --without-zlib do not use Zlib (data compression)
2271 --with-wine-tools=DIR use Wine tools from directory DIR
2272 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2273 --with-x use the X Window System
2275 Some influential environment variables:
2276 CC C compiler command
2277 CFLAGS C compiler flags
2278 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2279 nonstandard directory <lib dir>
2280 LIBS libraries to pass to the linker, e.g. -l<library>
2281 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2282 you have headers in a nonstandard directory <include dir>
2283 CXX C++ compiler command
2284 CXXFLAGS C++ compiler flags
2285 CPP C preprocessor
2286 XMKMF Path to xmkmf, Makefile generator for X Window System
2287 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2288 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2289 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2290 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2291 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2292 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2293 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2294 HAL_LIBS Linker flags for hal, overriding pkg-config
2295 GNUTLS_CFLAGS
2296 C compiler flags for gnutls, overriding pkg-config
2297 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2298 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2299 SANE_LIBS Linker flags for libsane, overriding pkg-config
2300 GPHOTO2_CFLAGS
2301 C compiler flags for libgphoto2, overriding pkg-config
2302 GPHOTO2_LIBS
2303 Linker flags for libgphoto2, overriding pkg-config
2304 GPHOTO2_PORT_CFLAGS
2305 C compiler flags for libgphoto2_port, overriding pkg-config
2306 GPHOTO2_PORT_LIBS
2307 Linker flags for libgphoto2_port, overriding pkg-config
2308 LCMS2_CFLAGS
2309 C compiler flags for lcms2, overriding pkg-config
2310 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2311 FREETYPE_CFLAGS
2312 C compiler flags for freetype2, overriding pkg-config
2313 FREETYPE_LIBS
2314 Linker flags for freetype2, overriding pkg-config
2315 PULSE_CFLAGS
2316 C compiler flags for libpulse, overriding pkg-config
2317 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2318 GSTREAMER_CFLAGS
2319 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2320 gstreamer-audio-1.0, overriding pkg-config
2321 GSTREAMER_LIBS
2322 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2323 gstreamer-audio-1.0, overriding pkg-config
2324 CAPI20_CFLAGS
2325 C compiler flags for capi20, overriding pkg-config
2326 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2327 FONTCONFIG_CFLAGS
2328 C compiler flags for fontconfig, overriding pkg-config
2329 FONTCONFIG_LIBS
2330 Linker flags for fontconfig, overriding pkg-config
2331 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2332 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2333 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2334 PNG_LIBS Linker flags for libpng, overriding pkg-config
2335 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2336 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2337 MPG123_CFLAGS
2338 C compiler flags for libmpg123, overriding pkg-config
2339 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2340 NETAPI_CFLAGS
2341 C compiler flags for netapi, overriding pkg-config
2342 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2344 Use these variables to override the choices made by `configure' or to help
2345 it to find libraries and programs with nonstandard names/locations.
2347 Report bugs to <wine-devel@winehq.org>.
2348 Wine home page: <http://www.winehq.org>.
2349 _ACEOF
2350 ac_status=$?
2353 if test "$ac_init_help" = "recursive"; then
2354 # If there are subdirs, report their specific --help.
2355 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2356 test -d "$ac_dir" ||
2357 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2358 continue
2359 ac_builddir=.
2361 case "$ac_dir" in
2362 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2364 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2365 # A ".." for each directory in $ac_dir_suffix.
2366 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2367 case $ac_top_builddir_sub in
2368 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2369 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2370 esac ;;
2371 esac
2372 ac_abs_top_builddir=$ac_pwd
2373 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2374 # for backward compatibility:
2375 ac_top_builddir=$ac_top_build_prefix
2377 case $srcdir in
2378 .) # We are building in place.
2379 ac_srcdir=.
2380 ac_top_srcdir=$ac_top_builddir_sub
2381 ac_abs_top_srcdir=$ac_pwd ;;
2382 [\\/]* | ?:[\\/]* ) # Absolute name.
2383 ac_srcdir=$srcdir$ac_dir_suffix;
2384 ac_top_srcdir=$srcdir
2385 ac_abs_top_srcdir=$srcdir ;;
2386 *) # Relative name.
2387 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2388 ac_top_srcdir=$ac_top_build_prefix$srcdir
2389 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2390 esac
2391 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2393 cd "$ac_dir" || { ac_status=$?; continue; }
2394 # Check for guested configure.
2395 if test -f "$ac_srcdir/configure.gnu"; then
2396 echo &&
2397 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2398 elif test -f "$ac_srcdir/configure"; then
2399 echo &&
2400 $SHELL "$ac_srcdir/configure" --help=recursive
2401 else
2402 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2403 fi || ac_status=$?
2404 cd "$ac_pwd" || { ac_status=$?; break; }
2405 done
2408 test -n "$ac_init_help" && exit $ac_status
2409 if $ac_init_version; then
2410 cat <<\_ACEOF
2411 Wine configure 1.9.6
2412 generated by GNU Autoconf 2.69
2414 Copyright (C) 2012 Free Software Foundation, Inc.
2415 This configure script is free software; the Free Software Foundation
2416 gives unlimited permission to copy, distribute and modify it.
2417 _ACEOF
2418 exit
2421 ## ------------------------ ##
2422 ## Autoconf initialization. ##
2423 ## ------------------------ ##
2425 # ac_fn_c_try_compile LINENO
2426 # --------------------------
2427 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2428 ac_fn_c_try_compile ()
2430 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2431 rm -f conftest.$ac_objext
2432 if { { ac_try="$ac_compile"
2433 case "(($ac_try" in
2434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2435 *) ac_try_echo=$ac_try;;
2436 esac
2437 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2438 $as_echo "$ac_try_echo"; } >&5
2439 (eval "$ac_compile") 2>conftest.err
2440 ac_status=$?
2441 if test -s conftest.err; then
2442 grep -v '^ *+' conftest.err >conftest.er1
2443 cat conftest.er1 >&5
2444 mv -f conftest.er1 conftest.err
2446 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2447 test $ac_status = 0; } && {
2448 test -z "$ac_c_werror_flag" ||
2449 test ! -s conftest.err
2450 } && test -s conftest.$ac_objext; then :
2451 ac_retval=0
2452 else
2453 $as_echo "$as_me: failed program was:" >&5
2454 sed 's/^/| /' conftest.$ac_ext >&5
2456 ac_retval=1
2458 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2459 as_fn_set_status $ac_retval
2461 } # ac_fn_c_try_compile
2463 # ac_fn_cxx_try_compile LINENO
2464 # ----------------------------
2465 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2466 ac_fn_cxx_try_compile ()
2468 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2469 rm -f conftest.$ac_objext
2470 if { { ac_try="$ac_compile"
2471 case "(($ac_try" in
2472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2473 *) ac_try_echo=$ac_try;;
2474 esac
2475 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2476 $as_echo "$ac_try_echo"; } >&5
2477 (eval "$ac_compile") 2>conftest.err
2478 ac_status=$?
2479 if test -s conftest.err; then
2480 grep -v '^ *+' conftest.err >conftest.er1
2481 cat conftest.er1 >&5
2482 mv -f conftest.er1 conftest.err
2484 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2485 test $ac_status = 0; } && {
2486 test -z "$ac_cxx_werror_flag" ||
2487 test ! -s conftest.err
2488 } && test -s conftest.$ac_objext; then :
2489 ac_retval=0
2490 else
2491 $as_echo "$as_me: failed program was:" >&5
2492 sed 's/^/| /' conftest.$ac_ext >&5
2494 ac_retval=1
2496 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2497 as_fn_set_status $ac_retval
2499 } # ac_fn_cxx_try_compile
2501 # ac_fn_c_try_link LINENO
2502 # -----------------------
2503 # Try to link conftest.$ac_ext, and return whether this succeeded.
2504 ac_fn_c_try_link ()
2506 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2507 rm -f conftest.$ac_objext conftest$ac_exeext
2508 if { { ac_try="$ac_link"
2509 case "(($ac_try" in
2510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2511 *) ac_try_echo=$ac_try;;
2512 esac
2513 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2514 $as_echo "$ac_try_echo"; } >&5
2515 (eval "$ac_link") 2>conftest.err
2516 ac_status=$?
2517 if test -s conftest.err; then
2518 grep -v '^ *+' conftest.err >conftest.er1
2519 cat conftest.er1 >&5
2520 mv -f conftest.er1 conftest.err
2522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2523 test $ac_status = 0; } && {
2524 test -z "$ac_c_werror_flag" ||
2525 test ! -s conftest.err
2526 } && test -s conftest$ac_exeext && {
2527 test "$cross_compiling" = yes ||
2528 test -x conftest$ac_exeext
2529 }; then :
2530 ac_retval=0
2531 else
2532 $as_echo "$as_me: failed program was:" >&5
2533 sed 's/^/| /' conftest.$ac_ext >&5
2535 ac_retval=1
2537 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2538 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2539 # interfere with the next link command; also delete a directory that is
2540 # left behind by Apple's compiler. We do this before executing the actions.
2541 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2542 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2543 as_fn_set_status $ac_retval
2545 } # ac_fn_c_try_link
2547 # ac_fn_c_try_cpp LINENO
2548 # ----------------------
2549 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2550 ac_fn_c_try_cpp ()
2552 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2553 if { { ac_try="$ac_cpp conftest.$ac_ext"
2554 case "(($ac_try" in
2555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2556 *) ac_try_echo=$ac_try;;
2557 esac
2558 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2559 $as_echo "$ac_try_echo"; } >&5
2560 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2561 ac_status=$?
2562 if test -s conftest.err; then
2563 grep -v '^ *+' conftest.err >conftest.er1
2564 cat conftest.er1 >&5
2565 mv -f conftest.er1 conftest.err
2567 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2568 test $ac_status = 0; } > conftest.i && {
2569 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2570 test ! -s conftest.err
2571 }; then :
2572 ac_retval=0
2573 else
2574 $as_echo "$as_me: failed program was:" >&5
2575 sed 's/^/| /' conftest.$ac_ext >&5
2577 ac_retval=1
2579 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2580 as_fn_set_status $ac_retval
2582 } # ac_fn_c_try_cpp
2584 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2585 # -------------------------------------------------------
2586 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2587 # the include files in INCLUDES and setting the cache variable VAR
2588 # accordingly.
2589 ac_fn_c_check_header_mongrel ()
2591 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2592 if eval \${$3+:} false; then :
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2594 $as_echo_n "checking for $2... " >&6; }
2595 if eval \${$3+:} false; then :
2596 $as_echo_n "(cached) " >&6
2598 eval ac_res=\$$3
2599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2600 $as_echo "$ac_res" >&6; }
2601 else
2602 # Is the header compilable?
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2604 $as_echo_n "checking $2 usability... " >&6; }
2605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2606 /* end confdefs.h. */
2608 #include <$2>
2609 _ACEOF
2610 if ac_fn_c_try_compile "$LINENO"; then :
2611 ac_header_compiler=yes
2612 else
2613 ac_header_compiler=no
2615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2617 $as_echo "$ac_header_compiler" >&6; }
2619 # Is the header present?
2620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2621 $as_echo_n "checking $2 presence... " >&6; }
2622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2623 /* end confdefs.h. */
2624 #include <$2>
2625 _ACEOF
2626 if ac_fn_c_try_cpp "$LINENO"; then :
2627 ac_header_preproc=yes
2628 else
2629 ac_header_preproc=no
2631 rm -f conftest.err conftest.i conftest.$ac_ext
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2633 $as_echo "$ac_header_preproc" >&6; }
2635 # So? What about this header?
2636 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2637 yes:no: )
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2639 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2641 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2643 no:yes:* )
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2645 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2647 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2649 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2651 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2653 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2654 ( $as_echo "## ------------------------------------ ##
2655 ## Report this to wine-devel@winehq.org ##
2656 ## ------------------------------------ ##"
2657 ) | sed "s/^/$as_me: WARNING: /" >&2
2659 esac
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2661 $as_echo_n "checking for $2... " >&6; }
2662 if eval \${$3+:} false; then :
2663 $as_echo_n "(cached) " >&6
2664 else
2665 eval "$3=\$ac_header_compiler"
2667 eval ac_res=\$$3
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2669 $as_echo "$ac_res" >&6; }
2671 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2673 } # ac_fn_c_check_header_mongrel
2675 # ac_fn_c_try_run LINENO
2676 # ----------------------
2677 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2678 # that executables *can* be run.
2679 ac_fn_c_try_run ()
2681 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2682 if { { ac_try="$ac_link"
2683 case "(($ac_try" in
2684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2685 *) ac_try_echo=$ac_try;;
2686 esac
2687 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2688 $as_echo "$ac_try_echo"; } >&5
2689 (eval "$ac_link") 2>&5
2690 ac_status=$?
2691 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2692 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2693 { { case "(($ac_try" in
2694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2695 *) ac_try_echo=$ac_try;;
2696 esac
2697 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2698 $as_echo "$ac_try_echo"; } >&5
2699 (eval "$ac_try") 2>&5
2700 ac_status=$?
2701 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2702 test $ac_status = 0; }; }; then :
2703 ac_retval=0
2704 else
2705 $as_echo "$as_me: program exited with status $ac_status" >&5
2706 $as_echo "$as_me: failed program was:" >&5
2707 sed 's/^/| /' conftest.$ac_ext >&5
2709 ac_retval=$ac_status
2711 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2712 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2713 as_fn_set_status $ac_retval
2715 } # ac_fn_c_try_run
2717 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2718 # -------------------------------------------------------
2719 # Tests whether HEADER exists and can be compiled using the include files in
2720 # INCLUDES, setting the cache variable VAR accordingly.
2721 ac_fn_c_check_header_compile ()
2723 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2725 $as_echo_n "checking for $2... " >&6; }
2726 if eval \${$3+:} false; then :
2727 $as_echo_n "(cached) " >&6
2728 else
2729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2730 /* end confdefs.h. */
2732 #include <$2>
2733 _ACEOF
2734 if ac_fn_c_try_compile "$LINENO"; then :
2735 eval "$3=yes"
2736 else
2737 eval "$3=no"
2739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2741 eval ac_res=\$$3
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2743 $as_echo "$ac_res" >&6; }
2744 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2746 } # ac_fn_c_check_header_compile
2748 # ac_fn_c_check_func LINENO FUNC VAR
2749 # ----------------------------------
2750 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2751 ac_fn_c_check_func ()
2753 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2755 $as_echo_n "checking for $2... " >&6; }
2756 if eval \${$3+:} false; then :
2757 $as_echo_n "(cached) " >&6
2758 else
2759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2760 /* end confdefs.h. */
2761 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2762 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2763 #define $2 innocuous_$2
2765 /* System header to define __stub macros and hopefully few prototypes,
2766 which can conflict with char $2 (); below.
2767 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2768 <limits.h> exists even on freestanding compilers. */
2770 #ifdef __STDC__
2771 # include <limits.h>
2772 #else
2773 # include <assert.h>
2774 #endif
2776 #undef $2
2778 /* Override any GCC internal prototype to avoid an error.
2779 Use char because int might match the return type of a GCC
2780 builtin and then its argument prototype would still apply. */
2781 #ifdef __cplusplus
2782 extern "C"
2783 #endif
2784 char $2 ();
2785 /* The GNU C library defines this for functions which it implements
2786 to always fail with ENOSYS. Some functions are actually named
2787 something starting with __ and the normal name is an alias. */
2788 #if defined __stub_$2 || defined __stub___$2
2789 choke me
2790 #endif
2793 main ()
2795 return $2 ();
2797 return 0;
2799 _ACEOF
2800 if ac_fn_c_try_link "$LINENO"; then :
2801 eval "$3=yes"
2802 else
2803 eval "$3=no"
2805 rm -f core conftest.err conftest.$ac_objext \
2806 conftest$ac_exeext conftest.$ac_ext
2808 eval ac_res=\$$3
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2810 $as_echo "$ac_res" >&6; }
2811 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2813 } # ac_fn_c_check_func
2815 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2816 # ----------------------------------------------------
2817 # Tries to find if the field MEMBER exists in type AGGR, after including
2818 # INCLUDES, setting cache variable VAR accordingly.
2819 ac_fn_c_check_member ()
2821 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2823 $as_echo_n "checking for $2.$3... " >&6; }
2824 if eval \${$4+:} false; then :
2825 $as_echo_n "(cached) " >&6
2826 else
2827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2828 /* end confdefs.h. */
2831 main ()
2833 static $2 ac_aggr;
2834 if (ac_aggr.$3)
2835 return 0;
2837 return 0;
2839 _ACEOF
2840 if ac_fn_c_try_compile "$LINENO"; then :
2841 eval "$4=yes"
2842 else
2843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2844 /* end confdefs.h. */
2847 main ()
2849 static $2 ac_aggr;
2850 if (sizeof ac_aggr.$3)
2851 return 0;
2853 return 0;
2855 _ACEOF
2856 if ac_fn_c_try_compile "$LINENO"; then :
2857 eval "$4=yes"
2858 else
2859 eval "$4=no"
2861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2865 eval ac_res=\$$4
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2867 $as_echo "$ac_res" >&6; }
2868 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2870 } # ac_fn_c_check_member
2872 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2873 # -------------------------------------------
2874 # Tests whether TYPE exists after having included INCLUDES, setting cache
2875 # variable VAR accordingly.
2876 ac_fn_c_check_type ()
2878 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2880 $as_echo_n "checking for $2... " >&6; }
2881 if eval \${$3+:} false; then :
2882 $as_echo_n "(cached) " >&6
2883 else
2884 eval "$3=no"
2885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2886 /* end confdefs.h. */
2889 main ()
2891 if (sizeof ($2))
2892 return 0;
2894 return 0;
2896 _ACEOF
2897 if ac_fn_c_try_compile "$LINENO"; then :
2898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2899 /* end confdefs.h. */
2902 main ()
2904 if (sizeof (($2)))
2905 return 0;
2907 return 0;
2909 _ACEOF
2910 if ac_fn_c_try_compile "$LINENO"; then :
2912 else
2913 eval "$3=yes"
2915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2919 eval ac_res=\$$3
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2921 $as_echo "$ac_res" >&6; }
2922 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2924 } # ac_fn_c_check_type
2925 cat >config.log <<_ACEOF
2926 This file contains any messages produced by compilers while
2927 running configure, to aid debugging if configure makes a mistake.
2929 It was created by Wine $as_me 1.9.6, which was
2930 generated by GNU Autoconf 2.69. Invocation command line was
2932 $ $0 $@
2934 _ACEOF
2935 exec 5>>config.log
2937 cat <<_ASUNAME
2938 ## --------- ##
2939 ## Platform. ##
2940 ## --------- ##
2942 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2943 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2944 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2945 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2946 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2948 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2949 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2951 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2952 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2953 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2954 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2955 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2956 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2957 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2959 _ASUNAME
2961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2962 for as_dir in $PATH
2964 IFS=$as_save_IFS
2965 test -z "$as_dir" && as_dir=.
2966 $as_echo "PATH: $as_dir"
2967 done
2968 IFS=$as_save_IFS
2970 } >&5
2972 cat >&5 <<_ACEOF
2975 ## ----------- ##
2976 ## Core tests. ##
2977 ## ----------- ##
2979 _ACEOF
2982 # Keep a trace of the command line.
2983 # Strip out --no-create and --no-recursion so they do not pile up.
2984 # Strip out --silent because we don't want to record it for future runs.
2985 # Also quote any args containing shell meta-characters.
2986 # Make two passes to allow for proper duplicate-argument suppression.
2987 ac_configure_args=
2988 ac_configure_args0=
2989 ac_configure_args1=
2990 ac_must_keep_next=false
2991 for ac_pass in 1 2
2993 for ac_arg
2995 case $ac_arg in
2996 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2997 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2998 | -silent | --silent | --silen | --sile | --sil)
2999 continue ;;
3000 *\'*)
3001 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3002 esac
3003 case $ac_pass in
3004 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3006 as_fn_append ac_configure_args1 " '$ac_arg'"
3007 if test $ac_must_keep_next = true; then
3008 ac_must_keep_next=false # Got value, back to normal.
3009 else
3010 case $ac_arg in
3011 *=* | --config-cache | -C | -disable-* | --disable-* \
3012 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3013 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3014 | -with-* | --with-* | -without-* | --without-* | --x)
3015 case "$ac_configure_args0 " in
3016 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3017 esac
3019 -* ) ac_must_keep_next=true ;;
3020 esac
3022 as_fn_append ac_configure_args " '$ac_arg'"
3024 esac
3025 done
3026 done
3027 { ac_configure_args0=; unset ac_configure_args0;}
3028 { ac_configure_args1=; unset ac_configure_args1;}
3030 # When interrupted or exit'd, cleanup temporary files, and complete
3031 # config.log. We remove comments because anyway the quotes in there
3032 # would cause problems or look ugly.
3033 # WARNING: Use '\'' to represent an apostrophe within the trap.
3034 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3035 trap 'exit_status=$?
3036 # Save into config.log some information that might help in debugging.
3038 echo
3040 $as_echo "## ---------------- ##
3041 ## Cache variables. ##
3042 ## ---------------- ##"
3043 echo
3044 # The following way of writing the cache mishandles newlines in values,
3046 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3047 eval ac_val=\$$ac_var
3048 case $ac_val in #(
3049 *${as_nl}*)
3050 case $ac_var in #(
3051 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3052 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3053 esac
3054 case $ac_var in #(
3055 _ | IFS | as_nl) ;; #(
3056 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3057 *) { eval $ac_var=; unset $ac_var;} ;;
3058 esac ;;
3059 esac
3060 done
3061 (set) 2>&1 |
3062 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3063 *${as_nl}ac_space=\ *)
3064 sed -n \
3065 "s/'\''/'\''\\\\'\'''\''/g;
3066 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3067 ;; #(
3069 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3071 esac |
3072 sort
3074 echo
3076 $as_echo "## ----------------- ##
3077 ## Output variables. ##
3078 ## ----------------- ##"
3079 echo
3080 for ac_var in $ac_subst_vars
3082 eval ac_val=\$$ac_var
3083 case $ac_val in
3084 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3085 esac
3086 $as_echo "$ac_var='\''$ac_val'\''"
3087 done | sort
3088 echo
3090 if test -n "$ac_subst_files"; then
3091 $as_echo "## ------------------- ##
3092 ## File substitutions. ##
3093 ## ------------------- ##"
3094 echo
3095 for ac_var in $ac_subst_files
3097 eval ac_val=\$$ac_var
3098 case $ac_val in
3099 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3100 esac
3101 $as_echo "$ac_var='\''$ac_val'\''"
3102 done | sort
3103 echo
3106 if test -s confdefs.h; then
3107 $as_echo "## ----------- ##
3108 ## confdefs.h. ##
3109 ## ----------- ##"
3110 echo
3111 cat confdefs.h
3112 echo
3114 test "$ac_signal" != 0 &&
3115 $as_echo "$as_me: caught signal $ac_signal"
3116 $as_echo "$as_me: exit $exit_status"
3117 } >&5
3118 rm -f core *.core core.conftest.* &&
3119 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3120 exit $exit_status
3122 for ac_signal in 1 2 13 15; do
3123 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3124 done
3125 ac_signal=0
3127 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3128 rm -f -r conftest* confdefs.h
3130 $as_echo "/* confdefs.h */" > confdefs.h
3132 # Predefined preprocessor variables.
3134 cat >>confdefs.h <<_ACEOF
3135 #define PACKAGE_NAME "$PACKAGE_NAME"
3136 _ACEOF
3138 cat >>confdefs.h <<_ACEOF
3139 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3140 _ACEOF
3142 cat >>confdefs.h <<_ACEOF
3143 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3144 _ACEOF
3146 cat >>confdefs.h <<_ACEOF
3147 #define PACKAGE_STRING "$PACKAGE_STRING"
3148 _ACEOF
3150 cat >>confdefs.h <<_ACEOF
3151 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3152 _ACEOF
3154 cat >>confdefs.h <<_ACEOF
3155 #define PACKAGE_URL "$PACKAGE_URL"
3156 _ACEOF
3159 # Let the site file select an alternate cache file if it wants to.
3160 # Prefer an explicitly selected file to automatically selected ones.
3161 ac_site_file1=NONE
3162 ac_site_file2=NONE
3163 if test -n "$CONFIG_SITE"; then
3164 # We do not want a PATH search for config.site.
3165 case $CONFIG_SITE in #((
3166 -*) ac_site_file1=./$CONFIG_SITE;;
3167 */*) ac_site_file1=$CONFIG_SITE;;
3168 *) ac_site_file1=./$CONFIG_SITE;;
3169 esac
3170 elif test "x$prefix" != xNONE; then
3171 ac_site_file1=$prefix/share/config.site
3172 ac_site_file2=$prefix/etc/config.site
3173 else
3174 ac_site_file1=$ac_default_prefix/share/config.site
3175 ac_site_file2=$ac_default_prefix/etc/config.site
3177 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3179 test "x$ac_site_file" = xNONE && continue
3180 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3182 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3183 sed 's/^/| /' "$ac_site_file" >&5
3184 . "$ac_site_file" \
3185 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3186 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3187 as_fn_error $? "failed to load site script $ac_site_file
3188 See \`config.log' for more details" "$LINENO" 5; }
3190 done
3192 if test -r "$cache_file"; then
3193 # Some versions of bash will fail to source /dev/null (special files
3194 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3195 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3197 $as_echo "$as_me: loading cache $cache_file" >&6;}
3198 case $cache_file in
3199 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3200 *) . "./$cache_file";;
3201 esac
3203 else
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3205 $as_echo "$as_me: creating cache $cache_file" >&6;}
3206 >$cache_file
3209 # Check that the precious variables saved in the cache have kept the same
3210 # value.
3211 ac_cache_corrupted=false
3212 for ac_var in $ac_precious_vars; do
3213 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3214 eval ac_new_set=\$ac_env_${ac_var}_set
3215 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3216 eval ac_new_val=\$ac_env_${ac_var}_value
3217 case $ac_old_set,$ac_new_set in
3218 set,)
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3220 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3221 ac_cache_corrupted=: ;;
3222 ,set)
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3224 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3225 ac_cache_corrupted=: ;;
3226 ,);;
3228 if test "x$ac_old_val" != "x$ac_new_val"; then
3229 # differences in whitespace do not lead to failure.
3230 ac_old_val_w=`echo x $ac_old_val`
3231 ac_new_val_w=`echo x $ac_new_val`
3232 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3234 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3235 ac_cache_corrupted=:
3236 else
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3238 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3239 eval $ac_var=\$ac_old_val
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3242 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3244 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3245 fi;;
3246 esac
3247 # Pass precious variables to config.status.
3248 if test "$ac_new_set" = set; then
3249 case $ac_new_val in
3250 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3251 *) ac_arg=$ac_var=$ac_new_val ;;
3252 esac
3253 case " $ac_configure_args " in
3254 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3255 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3256 esac
3258 done
3259 if $ac_cache_corrupted; then
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3261 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3263 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3264 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3266 ## -------------------- ##
3267 ## Main body of script. ##
3268 ## -------------------- ##
3270 ac_ext=c
3271 ac_cpp='$CPP $CPPFLAGS'
3272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3278 ac_config_headers="$ac_config_headers include/config.h"
3280 ac_aux_dir=
3281 for ac_dir in tools "$srcdir"/tools; do
3282 if test -f "$ac_dir/install-sh"; then
3283 ac_aux_dir=$ac_dir
3284 ac_install_sh="$ac_aux_dir/install-sh -c"
3285 break
3286 elif test -f "$ac_dir/install.sh"; then
3287 ac_aux_dir=$ac_dir
3288 ac_install_sh="$ac_aux_dir/install.sh -c"
3289 break
3290 elif test -f "$ac_dir/shtool"; then
3291 ac_aux_dir=$ac_dir
3292 ac_install_sh="$ac_aux_dir/shtool install -c"
3293 break
3295 done
3296 if test -z "$ac_aux_dir"; then
3297 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3300 # These three variables are undocumented and unsupported,
3301 # and are intended to be withdrawn in a future Autoconf release.
3302 # They can cause serious problems if a builder's source tree is in a directory
3303 # whose full name contains unusual characters.
3304 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3305 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3306 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3310 libwine_version="1.0"
3314 # Check whether --enable-win16 was given.
3315 if test "${enable_win16+set}" = set; then :
3316 enableval=$enable_win16;
3319 # Check whether --enable-win64 was given.
3320 if test "${enable_win64+set}" = set; then :
3321 enableval=$enable_win64;
3324 # Check whether --enable-tests was given.
3325 if test "${enable_tests+set}" = set; then :
3326 enableval=$enable_tests;
3329 # Check whether --enable-maintainer-mode was given.
3330 if test "${enable_maintainer_mode+set}" = set; then :
3331 enableval=$enable_maintainer_mode;
3336 # Check whether --with-alsa was given.
3337 if test "${with_alsa+set}" = set; then :
3338 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3342 # Check whether --with-capi was given.
3343 if test "${with_capi+set}" = set; then :
3344 withval=$with_capi;
3348 # Check whether --with-cms was given.
3349 if test "${with_cms+set}" = set; then :
3350 withval=$with_cms;
3354 # Check whether --with-coreaudio was given.
3355 if test "${with_coreaudio+set}" = set; then :
3356 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3360 # Check whether --with-cups was given.
3361 if test "${with_cups+set}" = set; then :
3362 withval=$with_cups;
3366 # Check whether --with-curses was given.
3367 if test "${with_curses+set}" = set; then :
3368 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3372 # Check whether --with-dbus was given.
3373 if test "${with_dbus+set}" = set; then :
3374 withval=$with_dbus;
3378 # Check whether --with-fontconfig was given.
3379 if test "${with_fontconfig+set}" = set; then :
3380 withval=$with_fontconfig;
3384 # Check whether --with-freetype was given.
3385 if test "${with_freetype+set}" = set; then :
3386 withval=$with_freetype;
3390 # Check whether --with-gettext was given.
3391 if test "${with_gettext+set}" = set; then :
3392 withval=$with_gettext;
3396 # Check whether --with-gettextpo was given.
3397 if test "${with_gettextpo+set}" = set; then :
3398 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3402 # Check whether --with-gphoto was given.
3403 if test "${with_gphoto+set}" = set; then :
3404 withval=$with_gphoto;
3408 # Check whether --with-glu was given.
3409 if test "${with_glu+set}" = set; then :
3410 withval=$with_glu;
3414 # Check whether --with-gnutls was given.
3415 if test "${with_gnutls+set}" = set; then :
3416 withval=$with_gnutls;
3420 # Check whether --with-gsm was given.
3421 if test "${with_gsm+set}" = set; then :
3422 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3426 # Check whether --with-gstreamer was given.
3427 if test "${with_gstreamer+set}" = set; then :
3428 withval=$with_gstreamer;
3432 # Check whether --with-hal was given.
3433 if test "${with_hal+set}" = set; then :
3434 withval=$with_hal;
3438 # Check whether --with-jpeg was given.
3439 if test "${with_jpeg+set}" = set; then :
3440 withval=$with_jpeg;
3444 # Check whether --with-ldap was given.
3445 if test "${with_ldap+set}" = set; then :
3446 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3450 # Check whether --with-mpg123 was given.
3451 if test "${with_mpg123+set}" = set; then :
3452 withval=$with_mpg123;
3456 # Check whether --with-netapi was given.
3457 if test "${with_netapi+set}" = set; then :
3458 withval=$with_netapi;
3462 # Check whether --with-openal was given.
3463 if test "${with_openal+set}" = set; then :
3464 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3468 # Check whether --with-opencl was given.
3469 if test "${with_opencl+set}" = set; then :
3470 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3474 # Check whether --with-opengl was given.
3475 if test "${with_opengl+set}" = set; then :
3476 withval=$with_opengl;
3480 # Check whether --with-osmesa was given.
3481 if test "${with_osmesa+set}" = set; then :
3482 withval=$with_osmesa;
3486 # Check whether --with-oss was given.
3487 if test "${with_oss+set}" = set; then :
3488 withval=$with_oss;
3492 # Check whether --with-pcap was given.
3493 if test "${with_pcap+set}" = set; then :
3494 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3498 # Check whether --with-png was given.
3499 if test "${with_png+set}" = set; then :
3500 withval=$with_png;
3504 # Check whether --with-pthread was given.
3505 if test "${with_pthread+set}" = set; then :
3506 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3510 # Check whether --with-pulse was given.
3511 if test "${with_pulse+set}" = set; then :
3512 withval=$with_pulse;
3516 # Check whether --with-sane was given.
3517 if test "${with_sane+set}" = set; then :
3518 withval=$with_sane;
3522 # Check whether --with-tiff was given.
3523 if test "${with_tiff+set}" = set; then :
3524 withval=$with_tiff;
3528 # Check whether --with-v4l was given.
3529 if test "${with_v4l+set}" = set; then :
3530 withval=$with_v4l;
3534 # Check whether --with-xcomposite was given.
3535 if test "${with_xcomposite+set}" = set; then :
3536 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3540 # Check whether --with-xcursor was given.
3541 if test "${with_xcursor+set}" = set; then :
3542 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3546 # Check whether --with-xinerama was given.
3547 if test "${with_xinerama+set}" = set; then :
3548 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3552 # Check whether --with-xinput was given.
3553 if test "${with_xinput+set}" = set; then :
3554 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3558 # Check whether --with-xinput2 was given.
3559 if test "${with_xinput2+set}" = set; then :
3560 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3564 # Check whether --with-xml was given.
3565 if test "${with_xml+set}" = set; then :
3566 withval=$with_xml;
3570 # Check whether --with-xrandr was given.
3571 if test "${with_xrandr+set}" = set; then :
3572 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3576 # Check whether --with-xrender was given.
3577 if test "${with_xrender+set}" = set; then :
3578 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3582 # Check whether --with-xshape was given.
3583 if test "${with_xshape+set}" = set; then :
3584 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3588 # Check whether --with-xshm was given.
3589 if test "${with_xshm+set}" = set; then :
3590 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3594 # Check whether --with-xslt was given.
3595 if test "${with_xslt+set}" = set; then :
3596 withval=$with_xslt;
3600 # Check whether --with-xxf86vm was given.
3601 if test "${with_xxf86vm+set}" = set; then :
3602 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
3606 # Check whether --with-zlib was given.
3607 if test "${with_zlib+set}" = set; then :
3608 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3613 # Check whether --with-wine-tools was given.
3614 if test "${with_wine_tools+set}" = set; then :
3615 withval=$with_wine_tools;
3619 # Check whether --with-wine64 was given.
3620 if test "${with_wine64+set}" = set; then :
3621 withval=$with_wine64;
3625 # Make sure we can run config.sub.
3626 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3627 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3630 $as_echo_n "checking build system type... " >&6; }
3631 if ${ac_cv_build+:} false; then :
3632 $as_echo_n "(cached) " >&6
3633 else
3634 ac_build_alias=$build_alias
3635 test "x$ac_build_alias" = x &&
3636 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3637 test "x$ac_build_alias" = x &&
3638 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3639 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3640 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3644 $as_echo "$ac_cv_build" >&6; }
3645 case $ac_cv_build in
3646 *-*-*) ;;
3647 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3648 esac
3649 build=$ac_cv_build
3650 ac_save_IFS=$IFS; IFS='-'
3651 set x $ac_cv_build
3652 shift
3653 build_cpu=$1
3654 build_vendor=$2
3655 shift; shift
3656 # Remember, the first character of IFS is used to create $*,
3657 # except with old shells:
3658 build_os=$*
3659 IFS=$ac_save_IFS
3660 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3664 $as_echo_n "checking host system type... " >&6; }
3665 if ${ac_cv_host+:} false; then :
3666 $as_echo_n "(cached) " >&6
3667 else
3668 if test "x$host_alias" = x; then
3669 ac_cv_host=$ac_cv_build
3670 else
3671 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3672 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3677 $as_echo "$ac_cv_host" >&6; }
3678 case $ac_cv_host in
3679 *-*-*) ;;
3680 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3681 esac
3682 host=$ac_cv_host
3683 ac_save_IFS=$IFS; IFS='-'
3684 set x $ac_cv_host
3685 shift
3686 host_cpu=$1
3687 host_vendor=$2
3688 shift; shift
3689 # Remember, the first character of IFS is used to create $*,
3690 # except with old shells:
3691 host_os=$*
3692 IFS=$ac_save_IFS
3693 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3697 case "$srcdir" in
3698 .) ;;
3699 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3700 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3701 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3702 fi ;;
3703 esac
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3707 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3708 set x ${MAKE-make}
3709 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3710 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3711 $as_echo_n "(cached) " >&6
3712 else
3713 cat >conftest.make <<\_ACEOF
3714 SHELL = /bin/sh
3715 all:
3716 @echo '@@@%%%=$(MAKE)=@@@%%%'
3717 _ACEOF
3718 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3719 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3720 *@@@%%%=?*=@@@%%%*)
3721 eval ac_cv_prog_make_${ac_make}_set=yes;;
3723 eval ac_cv_prog_make_${ac_make}_set=no;;
3724 esac
3725 rm -f conftest.make
3727 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3729 $as_echo "yes" >&6; }
3730 SET_MAKE=
3731 else
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3733 $as_echo "no" >&6; }
3734 SET_MAKE="MAKE=${MAKE-make}"
3737 ac_ext=c
3738 ac_cpp='$CPP $CPPFLAGS'
3739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3742 if test -n "$ac_tool_prefix"; then
3743 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3744 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3746 $as_echo_n "checking for $ac_word... " >&6; }
3747 if ${ac_cv_prog_CC+:} false; then :
3748 $as_echo_n "(cached) " >&6
3749 else
3750 if test -n "$CC"; then
3751 ac_cv_prog_CC="$CC" # Let the user override the test.
3752 else
3753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3754 for as_dir in $PATH
3756 IFS=$as_save_IFS
3757 test -z "$as_dir" && as_dir=.
3758 for ac_exec_ext in '' $ac_executable_extensions; do
3759 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3760 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3761 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3762 break 2
3764 done
3765 done
3766 IFS=$as_save_IFS
3770 CC=$ac_cv_prog_CC
3771 if test -n "$CC"; then
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3773 $as_echo "$CC" >&6; }
3774 else
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3776 $as_echo "no" >&6; }
3781 if test -z "$ac_cv_prog_CC"; then
3782 ac_ct_CC=$CC
3783 # Extract the first word of "gcc", so it can be a program name with args.
3784 set dummy gcc; ac_word=$2
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3786 $as_echo_n "checking for $ac_word... " >&6; }
3787 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3788 $as_echo_n "(cached) " >&6
3789 else
3790 if test -n "$ac_ct_CC"; then
3791 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3792 else
3793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3794 for as_dir in $PATH
3796 IFS=$as_save_IFS
3797 test -z "$as_dir" && as_dir=.
3798 for ac_exec_ext in '' $ac_executable_extensions; do
3799 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3800 ac_cv_prog_ac_ct_CC="gcc"
3801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3802 break 2
3804 done
3805 done
3806 IFS=$as_save_IFS
3810 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3811 if test -n "$ac_ct_CC"; then
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3813 $as_echo "$ac_ct_CC" >&6; }
3814 else
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3816 $as_echo "no" >&6; }
3819 if test "x$ac_ct_CC" = x; then
3820 CC=""
3821 else
3822 case $cross_compiling:$ac_tool_warned in
3823 yes:)
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3825 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3826 ac_tool_warned=yes ;;
3827 esac
3828 CC=$ac_ct_CC
3830 else
3831 CC="$ac_cv_prog_CC"
3834 if test -z "$CC"; then
3835 if test -n "$ac_tool_prefix"; then
3836 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3837 set dummy ${ac_tool_prefix}cc; ac_word=$2
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3839 $as_echo_n "checking for $ac_word... " >&6; }
3840 if ${ac_cv_prog_CC+:} false; then :
3841 $as_echo_n "(cached) " >&6
3842 else
3843 if test -n "$CC"; then
3844 ac_cv_prog_CC="$CC" # Let the user override the test.
3845 else
3846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3847 for as_dir in $PATH
3849 IFS=$as_save_IFS
3850 test -z "$as_dir" && as_dir=.
3851 for ac_exec_ext in '' $ac_executable_extensions; do
3852 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3853 ac_cv_prog_CC="${ac_tool_prefix}cc"
3854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3855 break 2
3857 done
3858 done
3859 IFS=$as_save_IFS
3863 CC=$ac_cv_prog_CC
3864 if test -n "$CC"; then
3865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3866 $as_echo "$CC" >&6; }
3867 else
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3869 $as_echo "no" >&6; }
3875 if test -z "$CC"; then
3876 # Extract the first word of "cc", so it can be a program name with args.
3877 set dummy cc; ac_word=$2
3878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3879 $as_echo_n "checking for $ac_word... " >&6; }
3880 if ${ac_cv_prog_CC+:} false; then :
3881 $as_echo_n "(cached) " >&6
3882 else
3883 if test -n "$CC"; then
3884 ac_cv_prog_CC="$CC" # Let the user override the test.
3885 else
3886 ac_prog_rejected=no
3887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3888 for as_dir in $PATH
3890 IFS=$as_save_IFS
3891 test -z "$as_dir" && as_dir=.
3892 for ac_exec_ext in '' $ac_executable_extensions; do
3893 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3894 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3895 ac_prog_rejected=yes
3896 continue
3898 ac_cv_prog_CC="cc"
3899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3900 break 2
3902 done
3903 done
3904 IFS=$as_save_IFS
3906 if test $ac_prog_rejected = yes; then
3907 # We found a bogon in the path, so make sure we never use it.
3908 set dummy $ac_cv_prog_CC
3909 shift
3910 if test $# != 0; then
3911 # We chose a different compiler from the bogus one.
3912 # However, it has the same basename, so the bogon will be chosen
3913 # first if we set CC to just the basename; use the full file name.
3914 shift
3915 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3920 CC=$ac_cv_prog_CC
3921 if test -n "$CC"; then
3922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3923 $as_echo "$CC" >&6; }
3924 else
3925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3926 $as_echo "no" >&6; }
3931 if test -z "$CC"; then
3932 if test -n "$ac_tool_prefix"; then
3933 for ac_prog in cl.exe
3935 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3936 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3938 $as_echo_n "checking for $ac_word... " >&6; }
3939 if ${ac_cv_prog_CC+:} false; then :
3940 $as_echo_n "(cached) " >&6
3941 else
3942 if test -n "$CC"; then
3943 ac_cv_prog_CC="$CC" # Let the user override the test.
3944 else
3945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3946 for as_dir in $PATH
3948 IFS=$as_save_IFS
3949 test -z "$as_dir" && as_dir=.
3950 for ac_exec_ext in '' $ac_executable_extensions; do
3951 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3952 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3954 break 2
3956 done
3957 done
3958 IFS=$as_save_IFS
3962 CC=$ac_cv_prog_CC
3963 if test -n "$CC"; then
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3965 $as_echo "$CC" >&6; }
3966 else
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3968 $as_echo "no" >&6; }
3972 test -n "$CC" && break
3973 done
3975 if test -z "$CC"; then
3976 ac_ct_CC=$CC
3977 for ac_prog in cl.exe
3979 # Extract the first word of "$ac_prog", so it can be a program name with args.
3980 set dummy $ac_prog; ac_word=$2
3981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3982 $as_echo_n "checking for $ac_word... " >&6; }
3983 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3984 $as_echo_n "(cached) " >&6
3985 else
3986 if test -n "$ac_ct_CC"; then
3987 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3988 else
3989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3990 for as_dir in $PATH
3992 IFS=$as_save_IFS
3993 test -z "$as_dir" && as_dir=.
3994 for ac_exec_ext in '' $ac_executable_extensions; do
3995 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3996 ac_cv_prog_ac_ct_CC="$ac_prog"
3997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3998 break 2
4000 done
4001 done
4002 IFS=$as_save_IFS
4006 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4007 if test -n "$ac_ct_CC"; then
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4009 $as_echo "$ac_ct_CC" >&6; }
4010 else
4011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4012 $as_echo "no" >&6; }
4016 test -n "$ac_ct_CC" && break
4017 done
4019 if test "x$ac_ct_CC" = x; then
4020 CC=""
4021 else
4022 case $cross_compiling:$ac_tool_warned in
4023 yes:)
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4025 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4026 ac_tool_warned=yes ;;
4027 esac
4028 CC=$ac_ct_CC
4035 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4036 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4037 as_fn_error $? "no acceptable C compiler found in \$PATH
4038 See \`config.log' for more details" "$LINENO" 5; }
4040 # Provide some information about the compiler.
4041 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4042 set X $ac_compile
4043 ac_compiler=$2
4044 for ac_option in --version -v -V -qversion; do
4045 { { ac_try="$ac_compiler $ac_option >&5"
4046 case "(($ac_try" in
4047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4048 *) ac_try_echo=$ac_try;;
4049 esac
4050 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4051 $as_echo "$ac_try_echo"; } >&5
4052 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4053 ac_status=$?
4054 if test -s conftest.err; then
4055 sed '10a\
4056 ... rest of stderr output deleted ...
4057 10q' conftest.err >conftest.er1
4058 cat conftest.er1 >&5
4060 rm -f conftest.er1 conftest.err
4061 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4062 test $ac_status = 0; }
4063 done
4065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4066 /* end confdefs.h. */
4069 main ()
4073 return 0;
4075 _ACEOF
4076 ac_clean_files_save=$ac_clean_files
4077 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4078 # Try to create an executable without -o first, disregard a.out.
4079 # It will help us diagnose broken compilers, and finding out an intuition
4080 # of exeext.
4081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4082 $as_echo_n "checking whether the C compiler works... " >&6; }
4083 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4085 # The possible output files:
4086 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4088 ac_rmfiles=
4089 for ac_file in $ac_files
4091 case $ac_file in
4092 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4093 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4094 esac
4095 done
4096 rm -f $ac_rmfiles
4098 if { { ac_try="$ac_link_default"
4099 case "(($ac_try" in
4100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4101 *) ac_try_echo=$ac_try;;
4102 esac
4103 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4104 $as_echo "$ac_try_echo"; } >&5
4105 (eval "$ac_link_default") 2>&5
4106 ac_status=$?
4107 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4108 test $ac_status = 0; }; then :
4109 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4110 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4111 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4112 # so that the user can short-circuit this test for compilers unknown to
4113 # Autoconf.
4114 for ac_file in $ac_files ''
4116 test -f "$ac_file" || continue
4117 case $ac_file in
4118 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4120 [ab].out )
4121 # We found the default executable, but exeext='' is most
4122 # certainly right.
4123 break;;
4124 *.* )
4125 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4126 then :; else
4127 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4129 # We set ac_cv_exeext here because the later test for it is not
4130 # safe: cross compilers may not add the suffix if given an `-o'
4131 # argument, so we may need to know it at that point already.
4132 # Even if this section looks crufty: it has the advantage of
4133 # actually working.
4134 break;;
4136 break;;
4137 esac
4138 done
4139 test "$ac_cv_exeext" = no && ac_cv_exeext=
4141 else
4142 ac_file=''
4144 if test -z "$ac_file"; then :
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4146 $as_echo "no" >&6; }
4147 $as_echo "$as_me: failed program was:" >&5
4148 sed 's/^/| /' conftest.$ac_ext >&5
4150 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4151 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4152 as_fn_error 77 "C compiler cannot create executables
4153 See \`config.log' for more details" "$LINENO" 5; }
4154 else
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4156 $as_echo "yes" >&6; }
4158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4159 $as_echo_n "checking for C compiler default output file name... " >&6; }
4160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4161 $as_echo "$ac_file" >&6; }
4162 ac_exeext=$ac_cv_exeext
4164 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4165 ac_clean_files=$ac_clean_files_save
4166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4167 $as_echo_n "checking for suffix of executables... " >&6; }
4168 if { { ac_try="$ac_link"
4169 case "(($ac_try" in
4170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4171 *) ac_try_echo=$ac_try;;
4172 esac
4173 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4174 $as_echo "$ac_try_echo"; } >&5
4175 (eval "$ac_link") 2>&5
4176 ac_status=$?
4177 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4178 test $ac_status = 0; }; then :
4179 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4180 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4181 # work properly (i.e., refer to `conftest.exe'), while it won't with
4182 # `rm'.
4183 for ac_file in conftest.exe conftest conftest.*; do
4184 test -f "$ac_file" || continue
4185 case $ac_file in
4186 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4187 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4188 break;;
4189 * ) break;;
4190 esac
4191 done
4192 else
4193 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4194 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4195 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4196 See \`config.log' for more details" "$LINENO" 5; }
4198 rm -f conftest conftest$ac_cv_exeext
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4200 $as_echo "$ac_cv_exeext" >&6; }
4202 rm -f conftest.$ac_ext
4203 EXEEXT=$ac_cv_exeext
4204 ac_exeext=$EXEEXT
4205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4206 /* end confdefs.h. */
4207 #include <stdio.h>
4209 main ()
4211 FILE *f = fopen ("conftest.out", "w");
4212 return ferror (f) || fclose (f) != 0;
4215 return 0;
4217 _ACEOF
4218 ac_clean_files="$ac_clean_files conftest.out"
4219 # Check that the compiler produces executables we can run. If not, either
4220 # the compiler is broken, or we cross compile.
4221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4222 $as_echo_n "checking whether we are cross compiling... " >&6; }
4223 if test "$cross_compiling" != yes; then
4224 { { ac_try="$ac_link"
4225 case "(($ac_try" in
4226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4227 *) ac_try_echo=$ac_try;;
4228 esac
4229 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4230 $as_echo "$ac_try_echo"; } >&5
4231 (eval "$ac_link") 2>&5
4232 ac_status=$?
4233 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4234 test $ac_status = 0; }
4235 if { ac_try='./conftest$ac_cv_exeext'
4236 { { case "(($ac_try" in
4237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4238 *) ac_try_echo=$ac_try;;
4239 esac
4240 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4241 $as_echo "$ac_try_echo"; } >&5
4242 (eval "$ac_try") 2>&5
4243 ac_status=$?
4244 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4245 test $ac_status = 0; }; }; then
4246 cross_compiling=no
4247 else
4248 if test "$cross_compiling" = maybe; then
4249 cross_compiling=yes
4250 else
4251 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4252 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4253 as_fn_error $? "cannot run C compiled programs.
4254 If you meant to cross compile, use \`--host'.
4255 See \`config.log' for more details" "$LINENO" 5; }
4259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4260 $as_echo "$cross_compiling" >&6; }
4262 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4263 ac_clean_files=$ac_clean_files_save
4264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4265 $as_echo_n "checking for suffix of object files... " >&6; }
4266 if ${ac_cv_objext+:} false; then :
4267 $as_echo_n "(cached) " >&6
4268 else
4269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4270 /* end confdefs.h. */
4273 main ()
4277 return 0;
4279 _ACEOF
4280 rm -f conftest.o conftest.obj
4281 if { { ac_try="$ac_compile"
4282 case "(($ac_try" in
4283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4284 *) ac_try_echo=$ac_try;;
4285 esac
4286 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4287 $as_echo "$ac_try_echo"; } >&5
4288 (eval "$ac_compile") 2>&5
4289 ac_status=$?
4290 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4291 test $ac_status = 0; }; then :
4292 for ac_file in conftest.o conftest.obj conftest.*; do
4293 test -f "$ac_file" || continue;
4294 case $ac_file in
4295 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4296 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4297 break;;
4298 esac
4299 done
4300 else
4301 $as_echo "$as_me: failed program was:" >&5
4302 sed 's/^/| /' conftest.$ac_ext >&5
4304 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4305 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4306 as_fn_error $? "cannot compute suffix of object files: cannot compile
4307 See \`config.log' for more details" "$LINENO" 5; }
4309 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4312 $as_echo "$ac_cv_objext" >&6; }
4313 OBJEXT=$ac_cv_objext
4314 ac_objext=$OBJEXT
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4316 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4317 if ${ac_cv_c_compiler_gnu+:} false; then :
4318 $as_echo_n "(cached) " >&6
4319 else
4320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4321 /* end confdefs.h. */
4324 main ()
4326 #ifndef __GNUC__
4327 choke me
4328 #endif
4331 return 0;
4333 _ACEOF
4334 if ac_fn_c_try_compile "$LINENO"; then :
4335 ac_compiler_gnu=yes
4336 else
4337 ac_compiler_gnu=no
4339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4340 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4344 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4345 if test $ac_compiler_gnu = yes; then
4346 GCC=yes
4347 else
4348 GCC=
4350 ac_test_CFLAGS=${CFLAGS+set}
4351 ac_save_CFLAGS=$CFLAGS
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4353 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4354 if ${ac_cv_prog_cc_g+:} false; then :
4355 $as_echo_n "(cached) " >&6
4356 else
4357 ac_save_c_werror_flag=$ac_c_werror_flag
4358 ac_c_werror_flag=yes
4359 ac_cv_prog_cc_g=no
4360 CFLAGS="-g"
4361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4362 /* end confdefs.h. */
4365 main ()
4369 return 0;
4371 _ACEOF
4372 if ac_fn_c_try_compile "$LINENO"; then :
4373 ac_cv_prog_cc_g=yes
4374 else
4375 CFLAGS=""
4376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4377 /* end confdefs.h. */
4380 main ()
4384 return 0;
4386 _ACEOF
4387 if ac_fn_c_try_compile "$LINENO"; then :
4389 else
4390 ac_c_werror_flag=$ac_save_c_werror_flag
4391 CFLAGS="-g"
4392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4393 /* end confdefs.h. */
4396 main ()
4400 return 0;
4402 _ACEOF
4403 if ac_fn_c_try_compile "$LINENO"; then :
4404 ac_cv_prog_cc_g=yes
4406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4411 ac_c_werror_flag=$ac_save_c_werror_flag
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4414 $as_echo "$ac_cv_prog_cc_g" >&6; }
4415 if test "$ac_test_CFLAGS" = set; then
4416 CFLAGS=$ac_save_CFLAGS
4417 elif test $ac_cv_prog_cc_g = yes; then
4418 if test "$GCC" = yes; then
4419 CFLAGS="-g -O2"
4420 else
4421 CFLAGS="-g"
4423 else
4424 if test "$GCC" = yes; then
4425 CFLAGS="-O2"
4426 else
4427 CFLAGS=
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4431 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4432 if ${ac_cv_prog_cc_c89+:} false; then :
4433 $as_echo_n "(cached) " >&6
4434 else
4435 ac_cv_prog_cc_c89=no
4436 ac_save_CC=$CC
4437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4438 /* end confdefs.h. */
4439 #include <stdarg.h>
4440 #include <stdio.h>
4441 struct stat;
4442 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4443 struct buf { int x; };
4444 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4445 static char *e (p, i)
4446 char **p;
4447 int i;
4449 return p[i];
4451 static char *f (char * (*g) (char **, int), char **p, ...)
4453 char *s;
4454 va_list v;
4455 va_start (v,p);
4456 s = g (p, va_arg (v,int));
4457 va_end (v);
4458 return s;
4461 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4462 function prototypes and stuff, but not '\xHH' hex character constants.
4463 These don't provoke an error unfortunately, instead are silently treated
4464 as 'x'. The following induces an error, until -std is added to get
4465 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4466 array size at least. It's necessary to write '\x00'==0 to get something
4467 that's true only with -std. */
4468 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4470 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4471 inside strings and character constants. */
4472 #define FOO(x) 'x'
4473 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4475 int test (int i, double x);
4476 struct s1 {int (*f) (int a);};
4477 struct s2 {int (*f) (double a);};
4478 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4479 int argc;
4480 char **argv;
4482 main ()
4484 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4486 return 0;
4488 _ACEOF
4489 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4490 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4492 CC="$ac_save_CC $ac_arg"
4493 if ac_fn_c_try_compile "$LINENO"; then :
4494 ac_cv_prog_cc_c89=$ac_arg
4496 rm -f core conftest.err conftest.$ac_objext
4497 test "x$ac_cv_prog_cc_c89" != "xno" && break
4498 done
4499 rm -f conftest.$ac_ext
4500 CC=$ac_save_CC
4503 # AC_CACHE_VAL
4504 case "x$ac_cv_prog_cc_c89" in
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4507 $as_echo "none needed" >&6; } ;;
4508 xno)
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4510 $as_echo "unsupported" >&6; } ;;
4512 CC="$CC $ac_cv_prog_cc_c89"
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4514 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4515 esac
4516 if test "x$ac_cv_prog_cc_c89" != xno; then :
4520 ac_ext=c
4521 ac_cpp='$CPP $CPPFLAGS'
4522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4526 ac_ext=cpp
4527 ac_cpp='$CXXCPP $CPPFLAGS'
4528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4531 if test -z "$CXX"; then
4532 if test -n "$CCC"; then
4533 CXX=$CCC
4534 else
4535 if test -n "$ac_tool_prefix"; then
4536 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4538 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4539 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4541 $as_echo_n "checking for $ac_word... " >&6; }
4542 if ${ac_cv_prog_CXX+:} false; then :
4543 $as_echo_n "(cached) " >&6
4544 else
4545 if test -n "$CXX"; then
4546 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4547 else
4548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4549 for as_dir in $PATH
4551 IFS=$as_save_IFS
4552 test -z "$as_dir" && as_dir=.
4553 for ac_exec_ext in '' $ac_executable_extensions; do
4554 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4555 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4557 break 2
4559 done
4560 done
4561 IFS=$as_save_IFS
4565 CXX=$ac_cv_prog_CXX
4566 if test -n "$CXX"; then
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4568 $as_echo "$CXX" >&6; }
4569 else
4570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4571 $as_echo "no" >&6; }
4575 test -n "$CXX" && break
4576 done
4578 if test -z "$CXX"; then
4579 ac_ct_CXX=$CXX
4580 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4582 # Extract the first word of "$ac_prog", so it can be a program name with args.
4583 set dummy $ac_prog; ac_word=$2
4584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4585 $as_echo_n "checking for $ac_word... " >&6; }
4586 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4587 $as_echo_n "(cached) " >&6
4588 else
4589 if test -n "$ac_ct_CXX"; then
4590 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4591 else
4592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4593 for as_dir in $PATH
4595 IFS=$as_save_IFS
4596 test -z "$as_dir" && as_dir=.
4597 for ac_exec_ext in '' $ac_executable_extensions; do
4598 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4599 ac_cv_prog_ac_ct_CXX="$ac_prog"
4600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4601 break 2
4603 done
4604 done
4605 IFS=$as_save_IFS
4609 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4610 if test -n "$ac_ct_CXX"; then
4611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4612 $as_echo "$ac_ct_CXX" >&6; }
4613 else
4614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4615 $as_echo "no" >&6; }
4619 test -n "$ac_ct_CXX" && break
4620 done
4622 if test "x$ac_ct_CXX" = x; then
4623 CXX="g++"
4624 else
4625 case $cross_compiling:$ac_tool_warned in
4626 yes:)
4627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4628 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4629 ac_tool_warned=yes ;;
4630 esac
4631 CXX=$ac_ct_CXX
4637 # Provide some information about the compiler.
4638 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4639 set X $ac_compile
4640 ac_compiler=$2
4641 for ac_option in --version -v -V -qversion; do
4642 { { ac_try="$ac_compiler $ac_option >&5"
4643 case "(($ac_try" in
4644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4645 *) ac_try_echo=$ac_try;;
4646 esac
4647 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4648 $as_echo "$ac_try_echo"; } >&5
4649 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4650 ac_status=$?
4651 if test -s conftest.err; then
4652 sed '10a\
4653 ... rest of stderr output deleted ...
4654 10q' conftest.err >conftest.er1
4655 cat conftest.er1 >&5
4657 rm -f conftest.er1 conftest.err
4658 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4659 test $ac_status = 0; }
4660 done
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4663 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4664 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4665 $as_echo_n "(cached) " >&6
4666 else
4667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4668 /* end confdefs.h. */
4671 main ()
4673 #ifndef __GNUC__
4674 choke me
4675 #endif
4678 return 0;
4680 _ACEOF
4681 if ac_fn_cxx_try_compile "$LINENO"; then :
4682 ac_compiler_gnu=yes
4683 else
4684 ac_compiler_gnu=no
4686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4687 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4691 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4692 if test $ac_compiler_gnu = yes; then
4693 GXX=yes
4694 else
4695 GXX=
4697 ac_test_CXXFLAGS=${CXXFLAGS+set}
4698 ac_save_CXXFLAGS=$CXXFLAGS
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4700 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4701 if ${ac_cv_prog_cxx_g+:} false; then :
4702 $as_echo_n "(cached) " >&6
4703 else
4704 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4705 ac_cxx_werror_flag=yes
4706 ac_cv_prog_cxx_g=no
4707 CXXFLAGS="-g"
4708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4709 /* end confdefs.h. */
4712 main ()
4716 return 0;
4718 _ACEOF
4719 if ac_fn_cxx_try_compile "$LINENO"; then :
4720 ac_cv_prog_cxx_g=yes
4721 else
4722 CXXFLAGS=""
4723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4724 /* end confdefs.h. */
4727 main ()
4731 return 0;
4733 _ACEOF
4734 if ac_fn_cxx_try_compile "$LINENO"; then :
4736 else
4737 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4738 CXXFLAGS="-g"
4739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4740 /* end confdefs.h. */
4743 main ()
4747 return 0;
4749 _ACEOF
4750 if ac_fn_cxx_try_compile "$LINENO"; then :
4751 ac_cv_prog_cxx_g=yes
4753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4758 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4761 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4762 if test "$ac_test_CXXFLAGS" = set; then
4763 CXXFLAGS=$ac_save_CXXFLAGS
4764 elif test $ac_cv_prog_cxx_g = yes; then
4765 if test "$GXX" = yes; then
4766 CXXFLAGS="-g -O2"
4767 else
4768 CXXFLAGS="-g"
4770 else
4771 if test "$GXX" = yes; then
4772 CXXFLAGS="-O2"
4773 else
4774 CXXFLAGS=
4777 ac_ext=c
4778 ac_cpp='$CPP $CPPFLAGS'
4779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4783 if test -n "$ac_tool_prefix"; then
4784 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4785 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4787 $as_echo_n "checking for $ac_word... " >&6; }
4788 if ${ac_cv_prog_CPPBIN+:} false; then :
4789 $as_echo_n "(cached) " >&6
4790 else
4791 if test -n "$CPPBIN"; then
4792 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4793 else
4794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4795 for as_dir in $PATH
4797 IFS=$as_save_IFS
4798 test -z "$as_dir" && as_dir=.
4799 for ac_exec_ext in '' $ac_executable_extensions; do
4800 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4801 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4802 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4803 break 2
4805 done
4806 done
4807 IFS=$as_save_IFS
4811 CPPBIN=$ac_cv_prog_CPPBIN
4812 if test -n "$CPPBIN"; then
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4814 $as_echo "$CPPBIN" >&6; }
4815 else
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4817 $as_echo "no" >&6; }
4822 if test -z "$ac_cv_prog_CPPBIN"; then
4823 ac_ct_CPPBIN=$CPPBIN
4824 # Extract the first word of "cpp", so it can be a program name with args.
4825 set dummy cpp; ac_word=$2
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4827 $as_echo_n "checking for $ac_word... " >&6; }
4828 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4829 $as_echo_n "(cached) " >&6
4830 else
4831 if test -n "$ac_ct_CPPBIN"; then
4832 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4833 else
4834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4835 for as_dir in $PATH
4837 IFS=$as_save_IFS
4838 test -z "$as_dir" && as_dir=.
4839 for ac_exec_ext in '' $ac_executable_extensions; do
4840 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4841 ac_cv_prog_ac_ct_CPPBIN="cpp"
4842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4843 break 2
4845 done
4846 done
4847 IFS=$as_save_IFS
4851 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4852 if test -n "$ac_ct_CPPBIN"; then
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4854 $as_echo "$ac_ct_CPPBIN" >&6; }
4855 else
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4857 $as_echo "no" >&6; }
4860 if test "x$ac_ct_CPPBIN" = x; then
4861 CPPBIN="cpp"
4862 else
4863 case $cross_compiling:$ac_tool_warned in
4864 yes:)
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4866 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4867 ac_tool_warned=yes ;;
4868 esac
4869 CPPBIN=$ac_ct_CPPBIN
4871 else
4872 CPPBIN="$ac_cv_prog_CPPBIN"
4876 cat >>confdefs.h <<_ACEOF
4877 #define EXEEXT "$ac_exeext"
4878 _ACEOF
4880 if test -n "$ac_tool_prefix"; then
4881 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4882 set dummy ${ac_tool_prefix}ld; ac_word=$2
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4884 $as_echo_n "checking for $ac_word... " >&6; }
4885 if ${ac_cv_prog_LD+:} false; then :
4886 $as_echo_n "(cached) " >&6
4887 else
4888 if test -n "$LD"; then
4889 ac_cv_prog_LD="$LD" # Let the user override the test.
4890 else
4891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4892 for as_dir in $PATH
4894 IFS=$as_save_IFS
4895 test -z "$as_dir" && as_dir=.
4896 for ac_exec_ext in '' $ac_executable_extensions; do
4897 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4898 ac_cv_prog_LD="${ac_tool_prefix}ld"
4899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4900 break 2
4902 done
4903 done
4904 IFS=$as_save_IFS
4908 LD=$ac_cv_prog_LD
4909 if test -n "$LD"; then
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4911 $as_echo "$LD" >&6; }
4912 else
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4914 $as_echo "no" >&6; }
4919 if test -z "$ac_cv_prog_LD"; then
4920 ac_ct_LD=$LD
4921 # Extract the first word of "ld", so it can be a program name with args.
4922 set dummy ld; ac_word=$2
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4924 $as_echo_n "checking for $ac_word... " >&6; }
4925 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4926 $as_echo_n "(cached) " >&6
4927 else
4928 if test -n "$ac_ct_LD"; then
4929 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4930 else
4931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4932 for as_dir in $PATH
4934 IFS=$as_save_IFS
4935 test -z "$as_dir" && as_dir=.
4936 for ac_exec_ext in '' $ac_executable_extensions; do
4937 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4938 ac_cv_prog_ac_ct_LD="ld"
4939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4940 break 2
4942 done
4943 done
4944 IFS=$as_save_IFS
4948 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4949 if test -n "$ac_ct_LD"; then
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4951 $as_echo "$ac_ct_LD" >&6; }
4952 else
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4954 $as_echo "no" >&6; }
4957 if test "x$ac_ct_LD" = x; then
4958 LD=""
4959 else
4960 case $cross_compiling:$ac_tool_warned in
4961 yes:)
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4963 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4964 ac_tool_warned=yes ;;
4965 esac
4966 LD=$ac_ct_LD
4968 else
4969 LD="$ac_cv_prog_LD"
4973 case $host in
4974 *-darwin*)
4975 with_fontconfig=${with_fontconfig:-no}
4977 *-mingw32*|*-cygwin*)
4978 enable_win16=${enable_win16:-no}
4979 CFLAGS="$CFLAGS -D_WIN32"
4981 esac
4983 case $host in
4984 x86_64*|amd64*)
4985 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4986 then
4987 CC="$CC -m32"
4988 CXX="$CXX -m32"
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4990 $as_echo_n "checking whether $CC works... " >&6; }
4992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4993 /* end confdefs.h. */
4996 main ()
5000 return 0;
5002 _ACEOF
5003 if ac_fn_c_try_link "$LINENO"; then :
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5005 $as_echo "yes" >&6; }
5006 else
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5008 $as_echo "no" >&6; }
5009 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5011 rm -f core conftest.err conftest.$ac_objext \
5012 conftest$ac_exeext conftest.$ac_ext
5013 host_cpu="i386"
5014 notice_platform="32-bit "
5015 TARGETFLAGS="-m32"
5017 enable_win16=${enable_win16:-yes}
5018 else
5019 if test "x${GCC}" = "xyes"
5020 then
5021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5022 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5024 /* end confdefs.h. */
5025 #include <stdarg.h>
5027 main ()
5029 void func(__builtin_ms_va_list *args);
5031 return 0;
5033 _ACEOF
5034 if ac_fn_c_try_compile "$LINENO"; then :
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5036 $as_echo "yes" >&6; }
5037 else
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5039 $as_echo "no" >&6; }
5040 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5044 CC="$CC -m64"
5045 CXX="$CXX -m64"
5046 host_cpu="x86_64"
5047 notice_platform="64-bit "
5048 TARGETFLAGS="-m64"
5052 arm*)
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5054 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5056 /* end confdefs.h. */
5057 int ac_test(int i) { return i; }
5059 main ()
5061 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5063 return 0;
5065 _ACEOF
5066 if ac_fn_c_try_link "$LINENO"; then :
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5068 $as_echo "yes" >&6; }
5069 else
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5071 $as_echo "no" >&6; }
5072 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5074 rm -f core conftest.err conftest.$ac_objext \
5075 conftest$ac_exeext conftest.$ac_ext
5076 CFLAGS="$CFLAGS -marm"
5077 TARGETFLAGS="-marm"
5080 i[3456789]86*)
5081 enable_win16=${enable_win16:-yes}
5083 esac
5085 enable_win16=${enable_win16:-no}
5086 enable_win64=${enable_win64:-no}
5088 enable_winetest=${enable_winetest:-$enable_tests}
5090 if test -n "$with_wine64"
5091 then
5092 if test "x$enable_win64" = "xyes"
5093 then
5094 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5095 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5097 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5098 You should create a separate build directory and run configure from there." "$LINENO" 5
5099 enable_fonts=${enable_fonts:-no}
5100 enable_server=${enable_server:-no}
5101 elif test "x$enable_win64" = "xyes"
5102 then
5103 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5107 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5108 if ${wine_cv_toolsdir+:} false; then :
5109 $as_echo_n "(cached) " >&6
5110 else
5111 wine_cv_toolsdir="$with_wine_tools"
5112 if test -z "$with_wine_tools"; then
5113 if test "$cross_compiling" = "yes"; then
5114 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5115 elif test -n "$with_wine64"; then
5116 wine_cv_toolsdir="$with_wine64"
5119 if test -z "$wine_cv_toolsdir"; then
5120 wine_makedep=tools/makedep
5121 wine_cv_toolsdir="\$(top_builddir)"
5122 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5123 wine_makedep=$wine_cv_toolsdir/tools/makedep
5124 case "$wine_cv_toolsdir" in
5125 /*) ;;
5126 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5127 esac
5128 enable_tools=${enable_tools:-no}
5129 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5130 else
5131 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5135 $as_echo "$wine_cv_toolsdir" >&6; }
5136 TOOLSDIR=$wine_cv_toolsdir
5138 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5139 then
5140 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5144 for ac_prog in flex
5146 # Extract the first word of "$ac_prog", so it can be a program name with args.
5147 set dummy $ac_prog; ac_word=$2
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5149 $as_echo_n "checking for $ac_word... " >&6; }
5150 if ${ac_cv_prog_FLEX+:} false; then :
5151 $as_echo_n "(cached) " >&6
5152 else
5153 if test -n "$FLEX"; then
5154 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5155 else
5156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5157 for as_dir in $PATH
5159 IFS=$as_save_IFS
5160 test -z "$as_dir" && as_dir=.
5161 for ac_exec_ext in '' $ac_executable_extensions; do
5162 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5163 ac_cv_prog_FLEX="$ac_prog"
5164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5165 break 2
5167 done
5168 done
5169 IFS=$as_save_IFS
5173 FLEX=$ac_cv_prog_FLEX
5174 if test -n "$FLEX"; then
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5176 $as_echo "$FLEX" >&6; }
5177 else
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5179 $as_echo "no" >&6; }
5183 test -n "$FLEX" && break
5184 done
5185 test -n "$FLEX" || FLEX="none"
5187 if test "$FLEX" = "none"
5188 then
5189 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5192 $as_echo_n "checking whether flex is recent enough... " >&6; }
5193 cat >conftest.l <<EOF
5194 %top{
5195 #include "prediluvian.h"
5199 if $FLEX -t conftest.l >/dev/null 2>&5
5200 then
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5202 $as_echo "yes" >&6; }
5203 else
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5205 $as_echo "no" >&6; }
5206 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5209 for ac_prog in bison
5211 # Extract the first word of "$ac_prog", so it can be a program name with args.
5212 set dummy $ac_prog; ac_word=$2
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5214 $as_echo_n "checking for $ac_word... " >&6; }
5215 if ${ac_cv_prog_BISON+:} false; then :
5216 $as_echo_n "(cached) " >&6
5217 else
5218 if test -n "$BISON"; then
5219 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5220 else
5221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5222 for as_dir in $PATH
5224 IFS=$as_save_IFS
5225 test -z "$as_dir" && as_dir=.
5226 for ac_exec_ext in '' $ac_executable_extensions; do
5227 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5228 ac_cv_prog_BISON="$ac_prog"
5229 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5230 break 2
5232 done
5233 done
5234 IFS=$as_save_IFS
5238 BISON=$ac_cv_prog_BISON
5239 if test -n "$BISON"; then
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5241 $as_echo "$BISON" >&6; }
5242 else
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5244 $as_echo "no" >&6; }
5248 test -n "$BISON" && break
5249 done
5250 test -n "$BISON" || BISON="none"
5252 if test "$BISON" = "none"
5253 then
5254 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5257 if test -n "$ac_tool_prefix"; then
5258 for ac_prog in ar gar
5260 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5261 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5263 $as_echo_n "checking for $ac_word... " >&6; }
5264 if ${ac_cv_prog_AR+:} false; then :
5265 $as_echo_n "(cached) " >&6
5266 else
5267 if test -n "$AR"; then
5268 ac_cv_prog_AR="$AR" # Let the user override the test.
5269 else
5270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5271 for as_dir in $PATH
5273 IFS=$as_save_IFS
5274 test -z "$as_dir" && as_dir=.
5275 for ac_exec_ext in '' $ac_executable_extensions; do
5276 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5277 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5279 break 2
5281 done
5282 done
5283 IFS=$as_save_IFS
5287 AR=$ac_cv_prog_AR
5288 if test -n "$AR"; then
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5290 $as_echo "$AR" >&6; }
5291 else
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5293 $as_echo "no" >&6; }
5297 test -n "$AR" && break
5298 done
5300 if test -z "$AR"; then
5301 ac_ct_AR=$AR
5302 for ac_prog in ar gar
5304 # Extract the first word of "$ac_prog", so it can be a program name with args.
5305 set dummy $ac_prog; ac_word=$2
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5307 $as_echo_n "checking for $ac_word... " >&6; }
5308 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5309 $as_echo_n "(cached) " >&6
5310 else
5311 if test -n "$ac_ct_AR"; then
5312 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5313 else
5314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5315 for as_dir in $PATH
5317 IFS=$as_save_IFS
5318 test -z "$as_dir" && as_dir=.
5319 for ac_exec_ext in '' $ac_executable_extensions; do
5320 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5321 ac_cv_prog_ac_ct_AR="$ac_prog"
5322 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5323 break 2
5325 done
5326 done
5327 IFS=$as_save_IFS
5331 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5332 if test -n "$ac_ct_AR"; then
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5334 $as_echo "$ac_ct_AR" >&6; }
5335 else
5336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5337 $as_echo "no" >&6; }
5341 test -n "$ac_ct_AR" && break
5342 done
5344 if test "x$ac_ct_AR" = x; then
5345 AR="ar"
5346 else
5347 case $cross_compiling:$ac_tool_warned in
5348 yes:)
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5350 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5351 ac_tool_warned=yes ;;
5352 esac
5353 AR=$ac_ct_AR
5357 if test -n "$ac_tool_prefix"; then
5358 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5359 set dummy ${ac_tool_prefix}strip; ac_word=$2
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5361 $as_echo_n "checking for $ac_word... " >&6; }
5362 if ${ac_cv_prog_STRIP+:} false; then :
5363 $as_echo_n "(cached) " >&6
5364 else
5365 if test -n "$STRIP"; then
5366 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5367 else
5368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5369 for as_dir in $PATH
5371 IFS=$as_save_IFS
5372 test -z "$as_dir" && as_dir=.
5373 for ac_exec_ext in '' $ac_executable_extensions; do
5374 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5375 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5376 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5377 break 2
5379 done
5380 done
5381 IFS=$as_save_IFS
5385 STRIP=$ac_cv_prog_STRIP
5386 if test -n "$STRIP"; then
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5388 $as_echo "$STRIP" >&6; }
5389 else
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5391 $as_echo "no" >&6; }
5396 if test -z "$ac_cv_prog_STRIP"; then
5397 ac_ct_STRIP=$STRIP
5398 # Extract the first word of "strip", so it can be a program name with args.
5399 set dummy strip; ac_word=$2
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5401 $as_echo_n "checking for $ac_word... " >&6; }
5402 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5403 $as_echo_n "(cached) " >&6
5404 else
5405 if test -n "$ac_ct_STRIP"; then
5406 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5407 else
5408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5409 for as_dir in $PATH
5411 IFS=$as_save_IFS
5412 test -z "$as_dir" && as_dir=.
5413 for ac_exec_ext in '' $ac_executable_extensions; do
5414 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5415 ac_cv_prog_ac_ct_STRIP="strip"
5416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5417 break 2
5419 done
5420 done
5421 IFS=$as_save_IFS
5425 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5426 if test -n "$ac_ct_STRIP"; then
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5428 $as_echo "$ac_ct_STRIP" >&6; }
5429 else
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5431 $as_echo "no" >&6; }
5434 if test "x$ac_ct_STRIP" = x; then
5435 STRIP="strip"
5436 else
5437 case $cross_compiling:$ac_tool_warned in
5438 yes:)
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5440 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5441 ac_tool_warned=yes ;;
5442 esac
5443 STRIP=$ac_ct_STRIP
5445 else
5446 STRIP="$ac_cv_prog_STRIP"
5449 ARFLAGS=rc
5451 if test -n "$ac_tool_prefix"; then
5452 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5453 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5455 $as_echo_n "checking for $ac_word... " >&6; }
5456 if ${ac_cv_prog_RANLIB+:} false; then :
5457 $as_echo_n "(cached) " >&6
5458 else
5459 if test -n "$RANLIB"; then
5460 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5461 else
5462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5463 for as_dir in $PATH
5465 IFS=$as_save_IFS
5466 test -z "$as_dir" && as_dir=.
5467 for ac_exec_ext in '' $ac_executable_extensions; do
5468 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5469 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5470 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5471 break 2
5473 done
5474 done
5475 IFS=$as_save_IFS
5479 RANLIB=$ac_cv_prog_RANLIB
5480 if test -n "$RANLIB"; then
5481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5482 $as_echo "$RANLIB" >&6; }
5483 else
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5485 $as_echo "no" >&6; }
5490 if test -z "$ac_cv_prog_RANLIB"; then
5491 ac_ct_RANLIB=$RANLIB
5492 # Extract the first word of "ranlib", so it can be a program name with args.
5493 set dummy ranlib; ac_word=$2
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5495 $as_echo_n "checking for $ac_word... " >&6; }
5496 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5497 $as_echo_n "(cached) " >&6
5498 else
5499 if test -n "$ac_ct_RANLIB"; then
5500 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5501 else
5502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5503 for as_dir in $PATH
5505 IFS=$as_save_IFS
5506 test -z "$as_dir" && as_dir=.
5507 for ac_exec_ext in '' $ac_executable_extensions; do
5508 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5509 ac_cv_prog_ac_ct_RANLIB="ranlib"
5510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5511 break 2
5513 done
5514 done
5515 IFS=$as_save_IFS
5519 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5520 if test -n "$ac_ct_RANLIB"; then
5521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5522 $as_echo "$ac_ct_RANLIB" >&6; }
5523 else
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5525 $as_echo "no" >&6; }
5528 if test "x$ac_ct_RANLIB" = x; then
5529 RANLIB=":"
5530 else
5531 case $cross_compiling:$ac_tool_warned in
5532 yes:)
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5534 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5535 ac_tool_warned=yes ;;
5536 esac
5537 RANLIB=$ac_ct_RANLIB
5539 else
5540 RANLIB="$ac_cv_prog_RANLIB"
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5544 $as_echo_n "checking whether ln -s works... " >&6; }
5545 LN_S=$as_ln_s
5546 if test "$LN_S" = "ln -s"; then
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5548 $as_echo "yes" >&6; }
5549 else
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5551 $as_echo "no, using $LN_S" >&6; }
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5555 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5556 if ${ac_cv_path_GREP+:} false; then :
5557 $as_echo_n "(cached) " >&6
5558 else
5559 if test -z "$GREP"; then
5560 ac_path_GREP_found=false
5561 # Loop through the user's path and test for each of PROGNAME-LIST
5562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5563 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5565 IFS=$as_save_IFS
5566 test -z "$as_dir" && as_dir=.
5567 for ac_prog in grep ggrep; do
5568 for ac_exec_ext in '' $ac_executable_extensions; do
5569 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5570 as_fn_executable_p "$ac_path_GREP" || continue
5571 # Check for GNU ac_path_GREP and select it if it is found.
5572 # Check for GNU $ac_path_GREP
5573 case `"$ac_path_GREP" --version 2>&1` in
5574 *GNU*)
5575 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5577 ac_count=0
5578 $as_echo_n 0123456789 >"conftest.in"
5579 while :
5581 cat "conftest.in" "conftest.in" >"conftest.tmp"
5582 mv "conftest.tmp" "conftest.in"
5583 cp "conftest.in" "conftest.nl"
5584 $as_echo 'GREP' >> "conftest.nl"
5585 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5586 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5587 as_fn_arith $ac_count + 1 && ac_count=$as_val
5588 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5589 # Best one so far, save it but keep looking for a better one
5590 ac_cv_path_GREP="$ac_path_GREP"
5591 ac_path_GREP_max=$ac_count
5593 # 10*(2^10) chars as input seems more than enough
5594 test $ac_count -gt 10 && break
5595 done
5596 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5597 esac
5599 $ac_path_GREP_found && break 3
5600 done
5601 done
5602 done
5603 IFS=$as_save_IFS
5604 if test -z "$ac_cv_path_GREP"; then
5605 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5607 else
5608 ac_cv_path_GREP=$GREP
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5613 $as_echo "$ac_cv_path_GREP" >&6; }
5614 GREP="$ac_cv_path_GREP"
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5618 $as_echo_n "checking for egrep... " >&6; }
5619 if ${ac_cv_path_EGREP+:} false; then :
5620 $as_echo_n "(cached) " >&6
5621 else
5622 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5623 then ac_cv_path_EGREP="$GREP -E"
5624 else
5625 if test -z "$EGREP"; then
5626 ac_path_EGREP_found=false
5627 # Loop through the user's path and test for each of PROGNAME-LIST
5628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5629 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5631 IFS=$as_save_IFS
5632 test -z "$as_dir" && as_dir=.
5633 for ac_prog in egrep; do
5634 for ac_exec_ext in '' $ac_executable_extensions; do
5635 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5636 as_fn_executable_p "$ac_path_EGREP" || continue
5637 # Check for GNU ac_path_EGREP and select it if it is found.
5638 # Check for GNU $ac_path_EGREP
5639 case `"$ac_path_EGREP" --version 2>&1` in
5640 *GNU*)
5641 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5643 ac_count=0
5644 $as_echo_n 0123456789 >"conftest.in"
5645 while :
5647 cat "conftest.in" "conftest.in" >"conftest.tmp"
5648 mv "conftest.tmp" "conftest.in"
5649 cp "conftest.in" "conftest.nl"
5650 $as_echo 'EGREP' >> "conftest.nl"
5651 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5652 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5653 as_fn_arith $ac_count + 1 && ac_count=$as_val
5654 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5655 # Best one so far, save it but keep looking for a better one
5656 ac_cv_path_EGREP="$ac_path_EGREP"
5657 ac_path_EGREP_max=$ac_count
5659 # 10*(2^10) chars as input seems more than enough
5660 test $ac_count -gt 10 && break
5661 done
5662 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5663 esac
5665 $ac_path_EGREP_found && break 3
5666 done
5667 done
5668 done
5669 IFS=$as_save_IFS
5670 if test -z "$ac_cv_path_EGREP"; then
5671 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5673 else
5674 ac_cv_path_EGREP=$EGREP
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5680 $as_echo "$ac_cv_path_EGREP" >&6; }
5681 EGREP="$ac_cv_path_EGREP"
5684 # Extract the first word of "ldconfig", so it can be a program name with args.
5685 set dummy ldconfig; ac_word=$2
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5687 $as_echo_n "checking for $ac_word... " >&6; }
5688 if ${ac_cv_path_LDCONFIG+:} false; then :
5689 $as_echo_n "(cached) " >&6
5690 else
5691 case $LDCONFIG in
5692 [\\/]* | ?:[\\/]*)
5693 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5697 for as_dir in /sbin /usr/sbin $PATH
5699 IFS=$as_save_IFS
5700 test -z "$as_dir" && as_dir=.
5701 for ac_exec_ext in '' $ac_executable_extensions; do
5702 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5703 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5705 break 2
5707 done
5708 done
5709 IFS=$as_save_IFS
5711 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5713 esac
5715 LDCONFIG=$ac_cv_path_LDCONFIG
5716 if test -n "$LDCONFIG"; then
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5718 $as_echo "$LDCONFIG" >&6; }
5719 else
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5721 $as_echo "no" >&6; }
5725 for ac_prog in msgfmt
5727 # Extract the first word of "$ac_prog", so it can be a program name with args.
5728 set dummy $ac_prog; ac_word=$2
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5730 $as_echo_n "checking for $ac_word... " >&6; }
5731 if ${ac_cv_prog_MSGFMT+:} false; then :
5732 $as_echo_n "(cached) " >&6
5733 else
5734 if test -n "$MSGFMT"; then
5735 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5736 else
5737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5738 for as_dir in $PATH
5740 IFS=$as_save_IFS
5741 test -z "$as_dir" && as_dir=.
5742 for ac_exec_ext in '' $ac_executable_extensions; do
5743 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5744 ac_cv_prog_MSGFMT="$ac_prog"
5745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5746 break 2
5748 done
5749 done
5750 IFS=$as_save_IFS
5754 MSGFMT=$ac_cv_prog_MSGFMT
5755 if test -n "$MSGFMT"; then
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5757 $as_echo "$MSGFMT" >&6; }
5758 else
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5760 $as_echo "no" >&6; }
5764 test -n "$MSGFMT" && break
5765 done
5766 test -n "$MSGFMT" || MSGFMT="false"
5768 if ${ac_tool_prefix+:} false; then :
5769 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5770 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5772 $as_echo_n "checking for $ac_word... " >&6; }
5773 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5774 $as_echo_n "(cached) " >&6
5775 else
5776 if test -n "$PKG_CONFIG"; then
5777 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5778 else
5779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5780 for as_dir in $PATH
5782 IFS=$as_save_IFS
5783 test -z "$as_dir" && as_dir=.
5784 for ac_exec_ext in '' $ac_executable_extensions; do
5785 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5786 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5788 break 2
5790 done
5791 done
5792 IFS=$as_save_IFS
5796 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5797 if test -n "$PKG_CONFIG"; then
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5799 $as_echo "$PKG_CONFIG" >&6; }
5800 else
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5802 $as_echo "no" >&6; }
5807 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5808 if test "x$cross_compiling" = xyes; then :
5810 else
5811 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5812 # Extract the first word of "pkg-config", so it can be a program name with args.
5813 set dummy pkg-config; ac_word=$2
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5815 $as_echo_n "checking for $ac_word... " >&6; }
5816 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5817 $as_echo_n "(cached) " >&6
5818 else
5819 if test -n "$PKG_CONFIG"; then
5820 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5821 else
5822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5823 for as_dir in $PATH
5825 IFS=$as_save_IFS
5826 test -z "$as_dir" && as_dir=.
5827 for ac_exec_ext in '' $ac_executable_extensions; do
5828 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5829 ac_cv_prog_PKG_CONFIG="pkg-config"
5830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5831 break 2
5833 done
5834 done
5835 IFS=$as_save_IFS
5839 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5840 if test -n "$PKG_CONFIG"; then
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5842 $as_echo "$PKG_CONFIG" >&6; }
5843 else
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5845 $as_echo "no" >&6; }
5850 else
5851 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5854 if test "x$enable_maintainer_mode" != "xyes"
5855 then
5856 FONTFORGE=""
5857 RSVG=""
5858 CONVERT=""
5859 ICOTOOL=""
5860 else
5861 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5862 for ac_prog in fontforge
5864 # Extract the first word of "$ac_prog", so it can be a program name with args.
5865 set dummy $ac_prog; ac_word=$2
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5867 $as_echo_n "checking for $ac_word... " >&6; }
5868 if ${ac_cv_prog_FONTFORGE+:} false; then :
5869 $as_echo_n "(cached) " >&6
5870 else
5871 if test -n "$FONTFORGE"; then
5872 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5873 else
5874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5875 for as_dir in $PATH
5877 IFS=$as_save_IFS
5878 test -z "$as_dir" && as_dir=.
5879 for ac_exec_ext in '' $ac_executable_extensions; do
5880 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5881 ac_cv_prog_FONTFORGE="$ac_prog"
5882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5883 break 2
5885 done
5886 done
5887 IFS=$as_save_IFS
5891 FONTFORGE=$ac_cv_prog_FONTFORGE
5892 if test -n "$FONTFORGE"; then
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5894 $as_echo "$FONTFORGE" >&6; }
5895 else
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5897 $as_echo "no" >&6; }
5901 test -n "$FONTFORGE" && break
5902 done
5903 test -n "$FONTFORGE" || FONTFORGE="false"
5905 for ac_prog in rsvg-convert rsvg
5907 # Extract the first word of "$ac_prog", so it can be a program name with args.
5908 set dummy $ac_prog; ac_word=$2
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5910 $as_echo_n "checking for $ac_word... " >&6; }
5911 if ${ac_cv_prog_RSVG+:} false; then :
5912 $as_echo_n "(cached) " >&6
5913 else
5914 if test -n "$RSVG"; then
5915 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5916 else
5917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5918 for as_dir in $PATH
5920 IFS=$as_save_IFS
5921 test -z "$as_dir" && as_dir=.
5922 for ac_exec_ext in '' $ac_executable_extensions; do
5923 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5924 ac_cv_prog_RSVG="$ac_prog"
5925 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5926 break 2
5928 done
5929 done
5930 IFS=$as_save_IFS
5934 RSVG=$ac_cv_prog_RSVG
5935 if test -n "$RSVG"; then
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5937 $as_echo "$RSVG" >&6; }
5938 else
5939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5940 $as_echo "no" >&6; }
5944 test -n "$RSVG" && break
5945 done
5946 test -n "$RSVG" || RSVG="false"
5948 for ac_prog in convert
5950 # Extract the first word of "$ac_prog", so it can be a program name with args.
5951 set dummy $ac_prog; ac_word=$2
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5953 $as_echo_n "checking for $ac_word... " >&6; }
5954 if ${ac_cv_prog_CONVERT+:} false; then :
5955 $as_echo_n "(cached) " >&6
5956 else
5957 if test -n "$CONVERT"; then
5958 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5959 else
5960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5961 for as_dir in $PATH
5963 IFS=$as_save_IFS
5964 test -z "$as_dir" && as_dir=.
5965 for ac_exec_ext in '' $ac_executable_extensions; do
5966 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5967 ac_cv_prog_CONVERT="$ac_prog"
5968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5969 break 2
5971 done
5972 done
5973 IFS=$as_save_IFS
5977 CONVERT=$ac_cv_prog_CONVERT
5978 if test -n "$CONVERT"; then
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5980 $as_echo "$CONVERT" >&6; }
5981 else
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5983 $as_echo "no" >&6; }
5987 test -n "$CONVERT" && break
5988 done
5989 test -n "$CONVERT" || CONVERT="false"
5991 for ac_prog in icotool
5993 # Extract the first word of "$ac_prog", so it can be a program name with args.
5994 set dummy $ac_prog; ac_word=$2
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5996 $as_echo_n "checking for $ac_word... " >&6; }
5997 if ${ac_cv_prog_ICOTOOL+:} false; then :
5998 $as_echo_n "(cached) " >&6
5999 else
6000 if test -n "$ICOTOOL"; then
6001 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6002 else
6003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6004 for as_dir in $PATH
6006 IFS=$as_save_IFS
6007 test -z "$as_dir" && as_dir=.
6008 for ac_exec_ext in '' $ac_executable_extensions; do
6009 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6010 ac_cv_prog_ICOTOOL="$ac_prog"
6011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6012 break 2
6014 done
6015 done
6016 IFS=$as_save_IFS
6020 ICOTOOL=$ac_cv_prog_ICOTOOL
6021 if test -n "$ICOTOOL"; then
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6023 $as_echo "$ICOTOOL" >&6; }
6024 else
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6026 $as_echo "no" >&6; }
6030 test -n "$ICOTOOL" && break
6031 done
6032 test -n "$ICOTOOL" || ICOTOOL="false"
6034 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6035 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6037 if test "$CONVERT" = false
6038 then
6039 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6040 else
6041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6042 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6043 convert_version=`convert --version | head -n1`
6044 if test "x$convert_version" != "x"
6045 then
6046 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6047 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6048 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6049 then
6050 CONVERT=false
6053 if test "$CONVERT" = false
6054 then
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6056 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6057 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6058 else
6059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6060 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6064 if test "$ICOTOOL" = false
6065 then
6066 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6067 else
6068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6069 $as_echo_n "checking for recent enough icotool... " >&6; }
6070 icotool_version=`icotool --version | head -n1`
6071 if test "x$icotool_version" != "x"
6072 then
6073 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6074 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6075 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6076 then
6077 ICOTOOL=false
6078 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6081 if test "$ICOTOOL" = false
6082 then
6083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6084 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6085 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6086 else
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6088 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6092 with_gettext=yes
6093 with_gettextpo=yes
6094 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6097 test "x$with_gettext" != xno || MSGFMT=false
6098 if test "$MSGFMT" != "false"
6099 then
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6101 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6102 cat >conftest.po <<EOF
6103 # comment
6104 msgctxt "ctxt"
6105 msgid "id"
6106 msgstr "str"
6108 if $MSGFMT -o /dev/null conftest.po 2>&5
6109 then
6110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6111 $as_echo "yes" >&6; }
6112 else
6113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6114 $as_echo "no" >&6; }
6115 MSGFMT=false
6118 if test "$MSGFMT" = false; then :
6119 case "x$with_gettext" in
6120 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6121 xno) ;;
6122 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6123 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6124 esac
6125 enable_po=${enable_po:-no}
6129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6130 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6131 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6132 $as_echo_n "(cached) " >&6
6133 else
6134 ac_check_lib_save_LIBS=$LIBS
6135 LIBS="-li386 $LIBS"
6136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6137 /* end confdefs.h. */
6139 /* Override any GCC internal prototype to avoid an error.
6140 Use char because int might match the return type of a GCC
6141 builtin and then its argument prototype would still apply. */
6142 #ifdef __cplusplus
6143 extern "C"
6144 #endif
6145 char i386_set_ldt ();
6147 main ()
6149 return i386_set_ldt ();
6151 return 0;
6153 _ACEOF
6154 if ac_fn_c_try_link "$LINENO"; then :
6155 ac_cv_lib_i386_i386_set_ldt=yes
6156 else
6157 ac_cv_lib_i386_i386_set_ldt=no
6159 rm -f core conftest.err conftest.$ac_objext \
6160 conftest$ac_exeext conftest.$ac_ext
6161 LIBS=$ac_check_lib_save_LIBS
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6164 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6165 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6166 cat >>confdefs.h <<_ACEOF
6167 #define HAVE_LIBI386 1
6168 _ACEOF
6170 LIBS="-li386 $LIBS"
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6175 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6176 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6177 $as_echo_n "(cached) " >&6
6178 else
6179 ac_check_lib_save_LIBS=$LIBS
6180 LIBS="-lossaudio $LIBS"
6181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6182 /* end confdefs.h. */
6184 /* Override any GCC internal prototype to avoid an error.
6185 Use char because int might match the return type of a GCC
6186 builtin and then its argument prototype would still apply. */
6187 #ifdef __cplusplus
6188 extern "C"
6189 #endif
6190 char _oss_ioctl ();
6192 main ()
6194 return _oss_ioctl ();
6196 return 0;
6198 _ACEOF
6199 if ac_fn_c_try_link "$LINENO"; then :
6200 ac_cv_lib_ossaudio__oss_ioctl=yes
6201 else
6202 ac_cv_lib_ossaudio__oss_ioctl=no
6204 rm -f core conftest.err conftest.$ac_objext \
6205 conftest$ac_exeext conftest.$ac_ext
6206 LIBS=$ac_check_lib_save_LIBS
6208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6209 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6210 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6211 cat >>confdefs.h <<_ACEOF
6212 #define HAVE_LIBOSSAUDIO 1
6213 _ACEOF
6215 LIBS="-lossaudio $LIBS"
6220 OPENGL_LIBS=""
6224 # Check whether --enable-largefile was given.
6225 if test "${enable_largefile+set}" = set; then :
6226 enableval=$enable_largefile;
6229 if test "$enable_largefile" != no; then
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6232 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6233 if ${ac_cv_sys_largefile_CC+:} false; then :
6234 $as_echo_n "(cached) " >&6
6235 else
6236 ac_cv_sys_largefile_CC=no
6237 if test "$GCC" != yes; then
6238 ac_save_CC=$CC
6239 while :; do
6240 # IRIX 6.2 and later do not support large files by default,
6241 # so use the C compiler's -n32 option if that helps.
6242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6243 /* end confdefs.h. */
6244 #include <sys/types.h>
6245 /* Check that off_t can represent 2**63 - 1 correctly.
6246 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6247 since some C++ compilers masquerading as C compilers
6248 incorrectly reject 9223372036854775807. */
6249 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6250 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6251 && LARGE_OFF_T % 2147483647 == 1)
6252 ? 1 : -1];
6254 main ()
6258 return 0;
6260 _ACEOF
6261 if ac_fn_c_try_compile "$LINENO"; then :
6262 break
6264 rm -f core conftest.err conftest.$ac_objext
6265 CC="$CC -n32"
6266 if ac_fn_c_try_compile "$LINENO"; then :
6267 ac_cv_sys_largefile_CC=' -n32'; break
6269 rm -f core conftest.err conftest.$ac_objext
6270 break
6271 done
6272 CC=$ac_save_CC
6273 rm -f conftest.$ac_ext
6276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6277 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6278 if test "$ac_cv_sys_largefile_CC" != no; then
6279 CC=$CC$ac_cv_sys_largefile_CC
6282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6283 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6284 if ${ac_cv_sys_file_offset_bits+:} false; then :
6285 $as_echo_n "(cached) " >&6
6286 else
6287 while :; do
6288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6289 /* end confdefs.h. */
6290 #include <sys/types.h>
6291 /* Check that off_t can represent 2**63 - 1 correctly.
6292 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6293 since some C++ compilers masquerading as C compilers
6294 incorrectly reject 9223372036854775807. */
6295 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6296 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6297 && LARGE_OFF_T % 2147483647 == 1)
6298 ? 1 : -1];
6300 main ()
6304 return 0;
6306 _ACEOF
6307 if ac_fn_c_try_compile "$LINENO"; then :
6308 ac_cv_sys_file_offset_bits=no; break
6310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6312 /* end confdefs.h. */
6313 #define _FILE_OFFSET_BITS 64
6314 #include <sys/types.h>
6315 /* Check that off_t can represent 2**63 - 1 correctly.
6316 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6317 since some C++ compilers masquerading as C compilers
6318 incorrectly reject 9223372036854775807. */
6319 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6320 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6321 && LARGE_OFF_T % 2147483647 == 1)
6322 ? 1 : -1];
6324 main ()
6328 return 0;
6330 _ACEOF
6331 if ac_fn_c_try_compile "$LINENO"; then :
6332 ac_cv_sys_file_offset_bits=64; break
6334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6335 ac_cv_sys_file_offset_bits=unknown
6336 break
6337 done
6339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6340 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6341 case $ac_cv_sys_file_offset_bits in #(
6342 no | unknown) ;;
6344 cat >>confdefs.h <<_ACEOF
6345 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6346 _ACEOF
6348 esac
6349 rm -rf conftest*
6350 if test $ac_cv_sys_file_offset_bits = unknown; then
6351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6352 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6353 if ${ac_cv_sys_large_files+:} false; then :
6354 $as_echo_n "(cached) " >&6
6355 else
6356 while :; do
6357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6358 /* end confdefs.h. */
6359 #include <sys/types.h>
6360 /* Check that off_t can represent 2**63 - 1 correctly.
6361 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6362 since some C++ compilers masquerading as C compilers
6363 incorrectly reject 9223372036854775807. */
6364 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6365 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6366 && LARGE_OFF_T % 2147483647 == 1)
6367 ? 1 : -1];
6369 main ()
6373 return 0;
6375 _ACEOF
6376 if ac_fn_c_try_compile "$LINENO"; then :
6377 ac_cv_sys_large_files=no; break
6379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6381 /* end confdefs.h. */
6382 #define _LARGE_FILES 1
6383 #include <sys/types.h>
6384 /* Check that off_t can represent 2**63 - 1 correctly.
6385 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6386 since some C++ compilers masquerading as C compilers
6387 incorrectly reject 9223372036854775807. */
6388 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6389 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6390 && LARGE_OFF_T % 2147483647 == 1)
6391 ? 1 : -1];
6393 main ()
6397 return 0;
6399 _ACEOF
6400 if ac_fn_c_try_compile "$LINENO"; then :
6401 ac_cv_sys_large_files=1; break
6403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6404 ac_cv_sys_large_files=unknown
6405 break
6406 done
6408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6409 $as_echo "$ac_cv_sys_large_files" >&6; }
6410 case $ac_cv_sys_large_files in #(
6411 no | unknown) ;;
6413 cat >>confdefs.h <<_ACEOF
6414 #define _LARGE_FILES $ac_cv_sys_large_files
6415 _ACEOF
6417 esac
6418 rm -rf conftest*
6425 ac_ext=c
6426 ac_cpp='$CPP $CPPFLAGS'
6427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6431 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6432 # On Suns, sometimes $CPP names a directory.
6433 if test -n "$CPP" && test -d "$CPP"; then
6434 CPP=
6436 if test -z "$CPP"; then
6437 if ${ac_cv_prog_CPP+:} false; then :
6438 $as_echo_n "(cached) " >&6
6439 else
6440 # Double quotes because CPP needs to be expanded
6441 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6443 ac_preproc_ok=false
6444 for ac_c_preproc_warn_flag in '' yes
6446 # Use a header file that comes with gcc, so configuring glibc
6447 # with a fresh cross-compiler works.
6448 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6449 # <limits.h> exists even on freestanding compilers.
6450 # On the NeXT, cc -E runs the code through the compiler's parser,
6451 # not just through cpp. "Syntax error" is here to catch this case.
6452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6453 /* end confdefs.h. */
6454 #ifdef __STDC__
6455 # include <limits.h>
6456 #else
6457 # include <assert.h>
6458 #endif
6459 Syntax error
6460 _ACEOF
6461 if ac_fn_c_try_cpp "$LINENO"; then :
6463 else
6464 # Broken: fails on valid input.
6465 continue
6467 rm -f conftest.err conftest.i conftest.$ac_ext
6469 # OK, works on sane cases. Now check whether nonexistent headers
6470 # can be detected and how.
6471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6472 /* end confdefs.h. */
6473 #include <ac_nonexistent.h>
6474 _ACEOF
6475 if ac_fn_c_try_cpp "$LINENO"; then :
6476 # Broken: success on invalid input.
6477 continue
6478 else
6479 # Passes both tests.
6480 ac_preproc_ok=:
6481 break
6483 rm -f conftest.err conftest.i conftest.$ac_ext
6485 done
6486 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6487 rm -f conftest.i conftest.err conftest.$ac_ext
6488 if $ac_preproc_ok; then :
6489 break
6492 done
6493 ac_cv_prog_CPP=$CPP
6496 CPP=$ac_cv_prog_CPP
6497 else
6498 ac_cv_prog_CPP=$CPP
6500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6501 $as_echo "$CPP" >&6; }
6502 ac_preproc_ok=false
6503 for ac_c_preproc_warn_flag in '' yes
6505 # Use a header file that comes with gcc, so configuring glibc
6506 # with a fresh cross-compiler works.
6507 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6508 # <limits.h> exists even on freestanding compilers.
6509 # On the NeXT, cc -E runs the code through the compiler's parser,
6510 # not just through cpp. "Syntax error" is here to catch this case.
6511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6512 /* end confdefs.h. */
6513 #ifdef __STDC__
6514 # include <limits.h>
6515 #else
6516 # include <assert.h>
6517 #endif
6518 Syntax error
6519 _ACEOF
6520 if ac_fn_c_try_cpp "$LINENO"; then :
6522 else
6523 # Broken: fails on valid input.
6524 continue
6526 rm -f conftest.err conftest.i conftest.$ac_ext
6528 # OK, works on sane cases. Now check whether nonexistent headers
6529 # can be detected and how.
6530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6531 /* end confdefs.h. */
6532 #include <ac_nonexistent.h>
6533 _ACEOF
6534 if ac_fn_c_try_cpp "$LINENO"; then :
6535 # Broken: success on invalid input.
6536 continue
6537 else
6538 # Passes both tests.
6539 ac_preproc_ok=:
6540 break
6542 rm -f conftest.err conftest.i conftest.$ac_ext
6544 done
6545 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6546 rm -f conftest.i conftest.err conftest.$ac_ext
6547 if $ac_preproc_ok; then :
6549 else
6550 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6551 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6552 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6553 See \`config.log' for more details" "$LINENO" 5; }
6556 ac_ext=c
6557 ac_cpp='$CPP $CPPFLAGS'
6558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6564 $as_echo_n "checking for ANSI C header files... " >&6; }
6565 if ${ac_cv_header_stdc+:} false; then :
6566 $as_echo_n "(cached) " >&6
6567 else
6568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6569 /* end confdefs.h. */
6570 #include <stdlib.h>
6571 #include <stdarg.h>
6572 #include <string.h>
6573 #include <float.h>
6576 main ()
6580 return 0;
6582 _ACEOF
6583 if ac_fn_c_try_compile "$LINENO"; then :
6584 ac_cv_header_stdc=yes
6585 else
6586 ac_cv_header_stdc=no
6588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6590 if test $ac_cv_header_stdc = yes; then
6591 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6593 /* end confdefs.h. */
6594 #include <string.h>
6596 _ACEOF
6597 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6598 $EGREP "memchr" >/dev/null 2>&1; then :
6600 else
6601 ac_cv_header_stdc=no
6603 rm -f conftest*
6607 if test $ac_cv_header_stdc = yes; then
6608 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6610 /* end confdefs.h. */
6611 #include <stdlib.h>
6613 _ACEOF
6614 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6615 $EGREP "free" >/dev/null 2>&1; then :
6617 else
6618 ac_cv_header_stdc=no
6620 rm -f conftest*
6624 if test $ac_cv_header_stdc = yes; then
6625 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6626 if test "$cross_compiling" = yes; then :
6628 else
6629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6630 /* end confdefs.h. */
6631 #include <ctype.h>
6632 #include <stdlib.h>
6633 #if ((' ' & 0x0FF) == 0x020)
6634 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6635 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6636 #else
6637 # define ISLOWER(c) \
6638 (('a' <= (c) && (c) <= 'i') \
6639 || ('j' <= (c) && (c) <= 'r') \
6640 || ('s' <= (c) && (c) <= 'z'))
6641 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6642 #endif
6644 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6646 main ()
6648 int i;
6649 for (i = 0; i < 256; i++)
6650 if (XOR (islower (i), ISLOWER (i))
6651 || toupper (i) != TOUPPER (i))
6652 return 2;
6653 return 0;
6655 _ACEOF
6656 if ac_fn_c_try_run "$LINENO"; then :
6658 else
6659 ac_cv_header_stdc=no
6661 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6662 conftest.$ac_objext conftest.beam conftest.$ac_ext
6667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6668 $as_echo "$ac_cv_header_stdc" >&6; }
6669 if test $ac_cv_header_stdc = yes; then
6671 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6675 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6676 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6677 inttypes.h stdint.h unistd.h
6678 do :
6679 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6680 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6682 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6683 cat >>confdefs.h <<_ACEOF
6684 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6685 _ACEOF
6689 done
6692 for ac_header in \
6693 AL/al.h \
6694 ApplicationServices/ApplicationServices.h \
6695 AudioToolbox/AudioConverter.h \
6696 AudioUnit/AudioUnit.h \
6697 AudioUnit/AudioComponent.h \
6698 CL/cl.h \
6699 Carbon/Carbon.h \
6700 CommonCrypto/CommonDigest.h \
6701 CoreAudio/CoreAudio.h \
6702 CoreServices/CoreServices.h \
6703 DiskArbitration/DiskArbitration.h \
6704 IOKit/IOKitLib.h \
6705 IOKit/hid/IOHIDLib.h \
6706 OpenAL/al.h \
6707 OpenCL/opencl.h \
6708 QuickTime/ImageCompression.h \
6709 Security/Security.h \
6710 alias.h \
6711 alsa/asoundlib.h \
6712 arpa/inet.h \
6713 arpa/nameser.h \
6714 asm/types.h \
6715 asm/user.h \
6716 curses.h \
6717 direct.h \
6718 dirent.h \
6719 dlfcn.h \
6720 elf.h \
6721 float.h \
6722 fnmatch.h \
6723 getopt.h \
6724 gettext-po.h \
6725 grp.h \
6726 gsm.h \
6727 gsm/gsm.h \
6728 ieeefp.h \
6729 inet/mib2.h \
6730 io.h \
6731 kstat.h \
6732 lber.h \
6733 ldap.h \
6734 libproc.h \
6735 link.h \
6736 linux/cdrom.h \
6737 linux/compiler.h \
6738 linux/filter.h \
6739 linux/hdreg.h \
6740 linux/input.h \
6741 linux/ioctl.h \
6742 linux/joystick.h \
6743 linux/major.h \
6744 linux/param.h \
6745 linux/serial.h \
6746 linux/types.h \
6747 linux/ucdrom.h \
6748 lwp.h \
6749 mach-o/nlist.h \
6750 mach-o/loader.h \
6751 mach/mach.h \
6752 mach/machine.h \
6753 machine/cpu.h \
6754 machine/limits.h \
6755 machine/sysarch.h \
6756 mntent.h \
6757 ncurses.h \
6758 netdb.h \
6759 netinet/in.h \
6760 netinet/in_systm.h \
6761 netinet/tcp.h \
6762 netinet/tcp_fsm.h \
6763 pcap/pcap.h \
6764 poll.h \
6765 port.h \
6766 process.h \
6767 pthread.h \
6768 pwd.h \
6769 sched.h \
6770 scsi/scsi.h \
6771 scsi/scsi_ioctl.h \
6772 scsi/sg.h \
6773 stdbool.h \
6774 stdint.h \
6775 stropts.h \
6776 sys/asoundlib.h \
6777 sys/attr.h \
6778 sys/cdio.h \
6779 sys/elf32.h \
6780 sys/epoll.h \
6781 sys/event.h \
6782 sys/exec_elf.h \
6783 sys/filio.h \
6784 sys/inotify.h \
6785 sys/ioctl.h \
6786 sys/ipc.h \
6787 sys/limits.h \
6788 sys/link.h \
6789 sys/mman.h \
6790 sys/modem.h \
6791 sys/msg.h \
6792 sys/mtio.h \
6793 sys/param.h \
6794 sys/poll.h \
6795 sys/prctl.h \
6796 sys/protosw.h \
6797 sys/ptrace.h \
6798 sys/queue.h \
6799 sys/resource.h \
6800 sys/scsiio.h \
6801 sys/shm.h \
6802 sys/signal.h \
6803 sys/socket.h \
6804 sys/socketvar.h \
6805 sys/sockio.h \
6806 sys/statvfs.h \
6807 sys/strtio.h \
6808 sys/syscall.h \
6809 sys/tihdr.h \
6810 sys/time.h \
6811 sys/timeout.h \
6812 sys/times.h \
6813 sys/uio.h \
6814 sys/user.h \
6815 sys/utsname.h \
6816 sys/vm86.h \
6817 sys/vnode.h \
6818 sys/wait.h \
6819 syscall.h \
6820 termios.h \
6821 unistd.h \
6822 utime.h \
6823 valgrind/memcheck.h \
6824 valgrind/valgrind.h \
6825 zlib.h
6827 do :
6828 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6829 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6830 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6831 cat >>confdefs.h <<_ACEOF
6832 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6833 _ACEOF
6837 done
6839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6840 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6841 if ${ac_cv_header_stat_broken+:} false; then :
6842 $as_echo_n "(cached) " >&6
6843 else
6844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6845 /* end confdefs.h. */
6846 #include <sys/types.h>
6847 #include <sys/stat.h>
6849 #if defined S_ISBLK && defined S_IFDIR
6850 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6851 #endif
6853 #if defined S_ISBLK && defined S_IFCHR
6854 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6855 #endif
6857 #if defined S_ISLNK && defined S_IFREG
6858 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6859 #endif
6861 #if defined S_ISSOCK && defined S_IFREG
6862 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6863 #endif
6865 _ACEOF
6866 if ac_fn_c_try_compile "$LINENO"; then :
6867 ac_cv_header_stat_broken=no
6868 else
6869 ac_cv_header_stat_broken=yes
6871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6874 $as_echo "$ac_cv_header_stat_broken" >&6; }
6875 if test $ac_cv_header_stat_broken = yes; then
6877 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6883 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6884 do :
6885 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6886 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6887 #ifdef HAVE_SYS_PARAM_H
6888 # include <sys/param.h>
6889 #endif
6891 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6892 cat >>confdefs.h <<_ACEOF
6893 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6894 _ACEOF
6898 done
6901 for ac_header in \
6902 netinet/ip.h \
6903 net/if.h \
6904 net/if_arp.h \
6905 net/if_dl.h \
6906 net/if_types.h \
6907 net/route.h \
6908 netinet/if_ether.h \
6909 netinet/if_inarp.h \
6910 netinet/in_pcb.h \
6911 netinet/ip_icmp.h \
6912 netinet/ip_var.h \
6913 netinet/udp.h \
6914 netipx/ipx.h \
6915 sys/un.h \
6917 do :
6918 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6919 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6920 #ifdef HAVE_SYS_SOCKET_H
6921 # include <sys/socket.h>
6922 #endif
6923 #ifdef HAVE_SYS_SOCKETVAR_H
6924 # include <sys/socketvar.h>
6925 #endif
6926 #ifdef HAVE_NET_ROUTE_H
6927 # include <net/route.h>
6928 #endif
6929 #ifdef HAVE_NETINET_IN_H
6930 # include <netinet/in.h>
6931 #endif
6932 #ifdef HAVE_NETINET_IN_SYSTM_H
6933 # include <netinet/in_systm.h>
6934 #endif
6935 #ifdef HAVE_NET_IF_H
6936 # include <net/if.h>
6937 #endif
6938 #ifdef HAVE_NETINET_IP_H
6939 # include <netinet/ip.h>
6940 #endif
6942 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6943 cat >>confdefs.h <<_ACEOF
6944 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6945 _ACEOF
6949 done
6952 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6953 do :
6954 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6955 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6956 #ifdef HAVE_ALIAS_H
6957 # include <alias.h>
6958 #endif
6959 #ifdef HAVE_SYS_SOCKET_H
6960 # include <sys/socket.h>
6961 #endif
6962 #ifdef HAVE_SYS_SOCKETVAR_H
6963 # include <sys/socketvar.h>
6964 #endif
6965 #ifdef HAVE_SYS_TIMEOUT_H
6966 # include <sys/timeout.h>
6967 #endif
6968 #ifdef HAVE_NETINET_IN_H
6969 # include <netinet/in.h>
6970 #endif
6971 #ifdef HAVE_NETINET_IN_SYSTM_H
6972 # include <netinet/in_systm.h>
6973 #endif
6974 #ifdef HAVE_NETINET_IP_H
6975 # include <netinet/ip.h>
6976 #endif
6977 #ifdef HAVE_NETINET_IP_VAR_H
6978 # include <netinet/ip_var.h>
6979 #endif
6980 #ifdef HAVE_NETINET_IP_ICMP_H
6981 # include <netinet/ip_icmp.h>
6982 #endif
6983 #ifdef HAVE_NETINET_UDP_H
6984 # include <netinet/udp.h>
6985 #endif
6986 #ifdef HAVE_NETINET_TCP_H
6987 # include <netinet/tcp.h>
6988 #endif
6989 #ifdef HAVE_NETINET_TCP_TIMER_H
6990 #include <netinet/tcp_timer.h>
6991 #endif
6993 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6994 cat >>confdefs.h <<_ACEOF
6995 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6996 _ACEOF
7000 done
7003 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7004 do :
7005 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7006 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7007 #ifdef HAVE_ASM_TYPES_H
7008 # include <asm/types.h>
7009 #endif
7010 #ifdef HAVE_SYS_SOCKET_H
7011 # include <sys/socket.h>
7012 #endif
7013 #ifdef HAVE_LINUX_TYPES_H
7014 # include <linux/types.h>
7015 #endif
7017 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7018 cat >>confdefs.h <<_ACEOF
7019 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7020 _ACEOF
7024 done
7027 for ac_header in mach-o/dyld_images.h
7028 do :
7029 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7030 # include <stdbool.h>
7031 #endif
7032 #ifdef HAVE_STDINT_H
7033 # include <stdint.h>
7034 #endif
7036 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7037 cat >>confdefs.h <<_ACEOF
7038 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7039 _ACEOF
7043 done
7046 for ac_header in resolv.h
7047 do :
7048 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7049 #ifdef HAVE_SYS_SOCKET_H
7050 # include <sys/socket.h>
7051 #endif
7052 #ifdef HAVE_NETINET_IN_H
7053 # include <netinet/in.h>
7054 #endif
7055 #ifdef HAVE_ARPA_NAMESER_H
7056 # include <arpa/nameser.h>
7057 #endif
7059 if test "x$ac_cv_header_resolv_h" = xyes; then :
7060 cat >>confdefs.h <<_ACEOF
7061 #define HAVE_RESOLV_H 1
7062 _ACEOF
7066 done
7069 for ac_header in ifaddrs.h
7070 do :
7071 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7073 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7074 cat >>confdefs.h <<_ACEOF
7075 #define HAVE_IFADDRS_H 1
7076 _ACEOF
7080 done
7083 for ac_header in sys/ucontext.h
7084 do :
7085 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7087 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7088 cat >>confdefs.h <<_ACEOF
7089 #define HAVE_SYS_UCONTEXT_H 1
7090 _ACEOF
7094 done
7097 for ac_header in sys/thr.h
7098 do :
7099 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7100 #ifdef HAVE_SYS_UCONTEXT_H
7101 #include <sys/ucontext.h>
7102 #endif
7104 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7105 cat >>confdefs.h <<_ACEOF
7106 #define HAVE_SYS_THR_H 1
7107 _ACEOF
7111 done
7114 for ac_header in pthread_np.h
7115 do :
7116 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7117 #include <pthread.h>
7118 #endif
7120 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7121 cat >>confdefs.h <<_ACEOF
7122 #define HAVE_PTHREAD_NP_H 1
7123 _ACEOF
7127 done
7130 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7131 do :
7132 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7133 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7134 #include <sys/time.h>
7135 #endif
7136 #include <sys/types.h>
7137 #ifdef HAVE_ASM_TYPES_H
7138 #include <asm/types.h>
7139 #endif
7141 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7142 cat >>confdefs.h <<_ACEOF
7143 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7144 _ACEOF
7148 done
7151 for ac_header in libprocstat.h
7152 do :
7153 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7154 #include <sys/param.h>
7155 #endif
7156 #ifdef HAVE_SYS_QUEUE_H
7157 #include <sys/queue.h>
7158 #endif
7159 #ifdef HAVE_SYS_SOCKET_H
7160 #include <sys/socket.h>
7161 #endif
7163 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7164 cat >>confdefs.h <<_ACEOF
7165 #define HAVE_LIBPROCSTAT_H 1
7166 _ACEOF
7170 done
7174 dlldir="\${libdir}/wine"
7176 DLLFLAGS="-D_REENTRANT"
7178 LDRPATH_INSTALL=""
7180 LDRPATH_LOCAL=""
7182 LDEXECFLAGS=""
7184 LIBEXT="so"
7185 DLLEXT=".so"
7186 IMPLIBEXT="def"
7187 # Extract the first word of "ldd", so it can be a program name with args.
7188 set dummy ldd; ac_word=$2
7189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7190 $as_echo_n "checking for $ac_word... " >&6; }
7191 if ${ac_cv_path_LDD+:} false; then :
7192 $as_echo_n "(cached) " >&6
7193 else
7194 case $LDD in
7195 [\\/]* | ?:[\\/]*)
7196 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7200 as_dummy="/sbin:/usr/sbin:$PATH"
7201 for as_dir in $as_dummy
7203 IFS=$as_save_IFS
7204 test -z "$as_dir" && as_dir=.
7205 for ac_exec_ext in '' $ac_executable_extensions; do
7206 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7207 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7208 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7209 break 2
7211 done
7212 done
7213 IFS=$as_save_IFS
7215 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7217 esac
7219 LDD=$ac_cv_path_LDD
7220 if test -n "$LDD"; then
7221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7222 $as_echo "$LDD" >&6; }
7223 else
7224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7225 $as_echo "no" >&6; }
7229 if test -n "$ac_tool_prefix"; then
7230 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7231 set dummy ${ac_tool_prefix}otool; ac_word=$2
7232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7233 $as_echo_n "checking for $ac_word... " >&6; }
7234 if ${ac_cv_prog_OTOOL+:} false; then :
7235 $as_echo_n "(cached) " >&6
7236 else
7237 if test -n "$OTOOL"; then
7238 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7239 else
7240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7241 for as_dir in $PATH
7243 IFS=$as_save_IFS
7244 test -z "$as_dir" && as_dir=.
7245 for ac_exec_ext in '' $ac_executable_extensions; do
7246 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7247 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7249 break 2
7251 done
7252 done
7253 IFS=$as_save_IFS
7257 OTOOL=$ac_cv_prog_OTOOL
7258 if test -n "$OTOOL"; then
7259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7260 $as_echo "$OTOOL" >&6; }
7261 else
7262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7263 $as_echo "no" >&6; }
7268 if test -z "$ac_cv_prog_OTOOL"; then
7269 ac_ct_OTOOL=$OTOOL
7270 # Extract the first word of "otool", so it can be a program name with args.
7271 set dummy otool; ac_word=$2
7272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7273 $as_echo_n "checking for $ac_word... " >&6; }
7274 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7275 $as_echo_n "(cached) " >&6
7276 else
7277 if test -n "$ac_ct_OTOOL"; then
7278 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7279 else
7280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7281 for as_dir in $PATH
7283 IFS=$as_save_IFS
7284 test -z "$as_dir" && as_dir=.
7285 for ac_exec_ext in '' $ac_executable_extensions; do
7286 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7287 ac_cv_prog_ac_ct_OTOOL="otool"
7288 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7289 break 2
7291 done
7292 done
7293 IFS=$as_save_IFS
7297 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7298 if test -n "$ac_ct_OTOOL"; then
7299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7300 $as_echo "$ac_ct_OTOOL" >&6; }
7301 else
7302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7303 $as_echo "no" >&6; }
7306 if test "x$ac_ct_OTOOL" = x; then
7307 OTOOL="otool"
7308 else
7309 case $cross_compiling:$ac_tool_warned in
7310 yes:)
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7312 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7313 ac_tool_warned=yes ;;
7314 esac
7315 OTOOL=$ac_ct_OTOOL
7317 else
7318 OTOOL="$ac_cv_prog_OTOOL"
7321 if test -n "$ac_tool_prefix"; then
7322 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7323 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7325 $as_echo_n "checking for $ac_word... " >&6; }
7326 if ${ac_cv_prog_READELF+:} false; then :
7327 $as_echo_n "(cached) " >&6
7328 else
7329 if test -n "$READELF"; then
7330 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7331 else
7332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7333 for as_dir in $PATH
7335 IFS=$as_save_IFS
7336 test -z "$as_dir" && as_dir=.
7337 for ac_exec_ext in '' $ac_executable_extensions; do
7338 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7339 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7341 break 2
7343 done
7344 done
7345 IFS=$as_save_IFS
7349 READELF=$ac_cv_prog_READELF
7350 if test -n "$READELF"; then
7351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7352 $as_echo "$READELF" >&6; }
7353 else
7354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7355 $as_echo "no" >&6; }
7360 if test -z "$ac_cv_prog_READELF"; then
7361 ac_ct_READELF=$READELF
7362 # Extract the first word of "readelf", so it can be a program name with args.
7363 set dummy readelf; ac_word=$2
7364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7365 $as_echo_n "checking for $ac_word... " >&6; }
7366 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7367 $as_echo_n "(cached) " >&6
7368 else
7369 if test -n "$ac_ct_READELF"; then
7370 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7371 else
7372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7373 for as_dir in $PATH
7375 IFS=$as_save_IFS
7376 test -z "$as_dir" && as_dir=.
7377 for ac_exec_ext in '' $ac_executable_extensions; do
7378 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7379 ac_cv_prog_ac_ct_READELF="readelf"
7380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7381 break 2
7383 done
7384 done
7385 IFS=$as_save_IFS
7389 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7390 if test -n "$ac_ct_READELF"; then
7391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7392 $as_echo "$ac_ct_READELF" >&6; }
7393 else
7394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7395 $as_echo "no" >&6; }
7398 if test "x$ac_ct_READELF" = x; then
7399 READELF="true"
7400 else
7401 case $cross_compiling:$ac_tool_warned in
7402 yes:)
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7404 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7405 ac_tool_warned=yes ;;
7406 esac
7407 READELF=$ac_ct_READELF
7409 else
7410 READELF="$ac_cv_prog_READELF"
7413 wine_rules_file=conf$$rules.make
7414 rm -f $wine_rules_file
7415 SUBDIRS=""
7417 DISABLED_SUBDIRS=""
7419 CONFIGURE_TARGETS=""
7421 ALL_TEST_RESOURCES=""
7424 wine_fn_append_file ()
7426 as_fn_append $1 " \\$as_nl $2"
7429 wine_fn_append_rule ()
7431 $as_echo "$1" >>$wine_rules_file
7434 wine_fn_has_flag ()
7436 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7439 wine_fn_all_rules ()
7441 wine_fn_append_file SUBDIRS $ac_dir
7442 wine_fn_append_rule \
7443 "all: $ac_dir
7444 .PHONY: $ac_dir
7445 $ac_dir: dummy
7446 @cd $ac_dir && \$(MAKE)"
7449 wine_fn_install_rules ()
7451 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7453 wine_fn_append_rule \
7454 ".PHONY: $ac_dir/install $ac_dir/uninstall
7455 $ac_dir/install:: $ac_dir
7456 @cd $ac_dir && \$(MAKE) install
7457 $ac_dir/uninstall::
7458 @cd $ac_dir && \$(MAKE) uninstall
7459 install:: $ac_dir/install
7460 __uninstall__: $ac_dir/uninstall"
7462 if wine_fn_has_flag install-lib
7463 then
7464 wine_fn_append_rule \
7465 ".PHONY: $ac_dir/install-lib
7466 $ac_dir/install-lib:: $ac_dir
7467 @cd $ac_dir && \$(MAKE) install-lib
7468 install-lib:: $ac_dir/install-lib"
7471 if wine_fn_has_flag install-dev
7472 then
7473 wine_fn_append_rule \
7474 ".PHONY: $ac_dir/install-dev
7475 $ac_dir/install-dev:: $ac_dir
7476 @cd $ac_dir && \$(MAKE) install-dev
7477 install-dev:: $ac_dir/install-dev"
7481 wine_fn_clean_rules ()
7483 ac_clean=$@
7485 if wine_fn_has_flag clean
7486 then
7487 wine_fn_append_rule \
7488 "$ac_dir/clean: dummy
7489 @cd $ac_dir && \$(MAKE) clean"
7490 else
7491 wine_fn_append_rule \
7492 "$ac_dir/clean: dummy
7493 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7495 wine_fn_append_rule \
7496 "__clean__: $ac_dir/clean
7497 .PHONY: $ac_dir/clean"
7500 wine_fn_disabled_rules ()
7502 ac_clean=$@
7504 wine_fn_append_file SUBDIRS $ac_dir
7505 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7506 wine_fn_append_rule \
7507 "__clean__: $ac_dir/clean
7508 .PHONY: $ac_dir/clean
7509 $ac_dir/clean: dummy
7510 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7513 wine_fn_config_makefile ()
7515 ac_dir=$1
7516 ac_enable=$2
7517 ac_flags=$3
7519 case $ac_dir in
7520 fonts|server) test -z "$with_wine64" || return ;;
7521 esac
7522 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7523 wine_fn_disabled_rules; return
7525 wine_fn_all_rules
7526 wine_fn_install_rules
7527 wine_fn_clean_rules
7530 wine_fn_config_lib ()
7532 ac_name=$1
7533 ac_flags=$2
7534 ac_dir=dlls/$ac_name
7535 ac_deps="include"
7537 if test "x$enable_tools" = xno; then :
7539 else
7540 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7542 wine_fn_all_rules
7543 wine_fn_clean_rules
7545 wine_fn_append_rule \
7546 ".PHONY: $ac_dir/install $ac_dir/uninstall
7547 $ac_dir/install:: $ac_dir
7548 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7549 $ac_dir/uninstall::
7550 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7551 install install-dev:: $ac_dir/install
7552 __uninstall__: $ac_dir/uninstall
7553 __builddeps__: $ac_dir
7554 $ac_dir: $ac_deps"
7557 wine_fn_config_dll ()
7559 ac_name=$1
7560 ac_dir=dlls/$ac_name
7561 ac_enable=$2
7562 ac_flags=$3
7563 ac_implib=${4:-$ac_name}
7564 ac_file=$ac_dir/lib$ac_implib
7565 ac_dll=$ac_name
7566 ac_deps="include"
7567 ac_implibflags=""
7569 if test "x$enable_tools" = xno; then :
7571 else
7572 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7574 case $ac_name in
7575 *16) ac_implibflags=" -m16" ;;
7576 *.*) ;;
7577 *) ac_dll=$ac_dll.dll ;;
7578 esac
7580 ac_clean=
7581 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7582 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7584 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7585 if test "$ac_enable" != enable_win16
7586 then
7587 wine_fn_clean_rules $ac_clean
7588 wine_fn_append_file SUBDIRS $ac_dir
7589 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7590 else
7591 wine_fn_disabled_rules $ac_clean
7592 return
7594 else
7595 wine_fn_all_rules
7596 wine_fn_clean_rules $ac_clean
7597 wine_fn_append_rule \
7598 "$ac_dir: __builddeps__
7599 manpages htmlpages sgmlpages xmlpages::
7600 @cd $ac_dir && \$(MAKE) \$@
7601 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7602 install install-lib:: $ac_dir/install-lib
7603 __uninstall__: $ac_dir/uninstall"
7604 if test -n "$DLLEXT"
7605 then
7606 wine_fn_append_rule \
7607 "$ac_dir/install-lib:: $ac_dir
7608 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7609 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7610 $ac_dir/uninstall::
7611 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7612 else
7613 wine_fn_append_rule \
7614 "$ac_dir/install-lib:: $ac_dir
7615 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7616 $ac_dir/uninstall::
7617 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7621 if wine_fn_has_flag staticimplib
7622 then
7623 wine_fn_append_rule \
7624 "__builddeps__: $ac_file.a
7625 $ac_file.a $ac_file.cross.a: $ac_deps
7626 $ac_file.a: dummy
7627 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7628 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7629 $ac_dir/install-dev:: $ac_file.a
7630 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7631 $ac_dir/uninstall::
7632 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7633 install install-dev:: $ac_dir/install-dev
7634 __uninstall__: $ac_dir/uninstall"
7636 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7637 then
7638 wine_fn_append_rule \
7639 "__builddeps__: $ac_file.cross.a
7640 $ac_file.cross.a: dummy
7641 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7644 elif wine_fn_has_flag implib
7645 then
7646 wine_fn_append_rule \
7647 "__builddeps__: $ac_file.$IMPLIBEXT
7648 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7649 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7650 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7651 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7652 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7653 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7654 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7655 $ac_dir/uninstall::
7656 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7657 install install-dev:: $ac_dir/install-dev
7658 __uninstall__: $ac_dir/uninstall"
7659 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7660 then
7661 wine_fn_append_rule \
7662 "__builddeps__: $ac_file.cross.a
7663 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7664 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7669 wine_fn_config_program ()
7671 ac_name=$1
7672 ac_dir=programs/$ac_name
7673 ac_enable=$2
7674 ac_flags=$3
7675 ac_program=$ac_name
7677 case $ac_name in
7678 *.*) ;;
7679 *) ac_program=$ac_program.exe ;;
7680 esac
7682 ac_clean=
7683 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7684 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7686 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7687 wine_fn_disabled_rules $ac_clean; return
7690 wine_fn_all_rules
7691 wine_fn_clean_rules $ac_clean
7692 wine_fn_append_rule "$ac_dir: __builddeps__"
7694 wine_fn_has_flag install || return
7695 wine_fn_append_rule \
7696 ".PHONY: $ac_dir/install $ac_dir/uninstall
7697 install install-lib:: $ac_dir/install
7698 __uninstall__: $ac_dir/uninstall"
7700 if test -n "$DLLEXT"
7701 then
7702 wine_fn_append_rule \
7703 "$ac_dir/install:: $ac_dir
7704 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7705 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7706 $ac_dir/uninstall::
7707 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7709 if test -z "$with_wine64" && wine_fn_has_flag installbin
7710 then
7711 wine_fn_append_rule \
7712 "$ac_dir/install:: __tooldeps__
7713 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7714 $ac_dir/uninstall::
7715 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7717 else
7718 wine_fn_append_rule \
7719 "$ac_dir/install:: $ac_dir
7720 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7721 $ac_dir/uninstall::
7722 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7725 if test -z "$with_wine64" && wine_fn_has_flag manpage
7726 then
7727 wine_fn_append_rule \
7728 "$ac_dir/install:: $ac_dir
7729 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7730 $ac_dir/uninstall::
7731 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7735 wine_fn_config_test ()
7737 ac_dir=$1
7738 ac_name=$2
7739 ac_flags=$3
7741 ac_clean=
7742 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7743 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7745 if test "x$enable_tests" = xno; then :
7746 wine_fn_disabled_rules $ac_clean; return
7749 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7750 wine_fn_all_rules
7751 wine_fn_clean_rules $ac_clean
7753 wine_fn_append_rule \
7754 "$ac_dir: __builddeps__
7755 programs/winetest: $ac_dir
7756 check test: $ac_dir/test
7757 .PHONY: $ac_dir/test
7758 $ac_dir/test: dummy
7759 @cd $ac_dir && \$(MAKE) test
7760 testclean::
7761 \$(RM) $ac_dir/*.ok"
7763 if test -n "$CROSSTARGET"
7764 then
7765 wine_fn_append_rule \
7766 "crosstest: $ac_dir/crosstest
7767 .PHONY: $ac_dir/crosstest
7768 $ac_dir/crosstest: __builddeps__ dummy
7769 @cd $ac_dir && \$(MAKE) crosstest"
7773 wine_fn_config_tool ()
7775 ac_dir=$1
7776 ac_flags=$2
7777 if test "x$enable_tools" = xno; then :
7778 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7781 wine_fn_all_rules
7782 wine_fn_install_rules
7783 wine_fn_clean_rules
7785 wine_fn_append_rule "__tooldeps__: $ac_dir"
7786 wine_fn_append_rule "$ac_dir: libs/port"
7787 case $ac_dir in
7788 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7789 esac
7792 wine_fn_config_symlink ()
7794 ac_linkdir=
7795 if test "x$1" = "x-d"
7796 then
7797 ac_linkdir=$2
7798 shift; shift
7800 ac_links=$@
7801 wine_fn_append_rule \
7802 "$ac_links:
7803 @./config.status \$@"
7804 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7805 test -n "$ac_linkdir" || return
7806 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7809 wine_binary="wine"
7810 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7811 WINELOADER_PROGRAMS="$wine_binary"
7813 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7815 case $host_os in
7816 cygwin*|mingw32*)
7817 if test -n "$ac_tool_prefix"; then
7818 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7819 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7821 $as_echo_n "checking for $ac_word... " >&6; }
7822 if ${ac_cv_prog_DLLTOOL+:} false; then :
7823 $as_echo_n "(cached) " >&6
7824 else
7825 if test -n "$DLLTOOL"; then
7826 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7827 else
7828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7829 for as_dir in $PATH
7831 IFS=$as_save_IFS
7832 test -z "$as_dir" && as_dir=.
7833 for ac_exec_ext in '' $ac_executable_extensions; do
7834 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7835 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7836 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7837 break 2
7839 done
7840 done
7841 IFS=$as_save_IFS
7845 DLLTOOL=$ac_cv_prog_DLLTOOL
7846 if test -n "$DLLTOOL"; then
7847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7848 $as_echo "$DLLTOOL" >&6; }
7849 else
7850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7851 $as_echo "no" >&6; }
7856 if test -z "$ac_cv_prog_DLLTOOL"; then
7857 ac_ct_DLLTOOL=$DLLTOOL
7858 # Extract the first word of "dlltool", so it can be a program name with args.
7859 set dummy dlltool; ac_word=$2
7860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7861 $as_echo_n "checking for $ac_word... " >&6; }
7862 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7863 $as_echo_n "(cached) " >&6
7864 else
7865 if test -n "$ac_ct_DLLTOOL"; then
7866 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7867 else
7868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7869 for as_dir in $PATH
7871 IFS=$as_save_IFS
7872 test -z "$as_dir" && as_dir=.
7873 for ac_exec_ext in '' $ac_executable_extensions; do
7874 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7875 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7876 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7877 break 2
7879 done
7880 done
7881 IFS=$as_save_IFS
7885 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7886 if test -n "$ac_ct_DLLTOOL"; then
7887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7888 $as_echo "$ac_ct_DLLTOOL" >&6; }
7889 else
7890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7891 $as_echo "no" >&6; }
7894 if test "x$ac_ct_DLLTOOL" = x; then
7895 DLLTOOL="false"
7896 else
7897 case $cross_compiling:$ac_tool_warned in
7898 yes:)
7899 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7900 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7901 ac_tool_warned=yes ;;
7902 esac
7903 DLLTOOL=$ac_ct_DLLTOOL
7905 else
7906 DLLTOOL="$ac_cv_prog_DLLTOOL"
7909 LIBEXT="dll"
7910 DLLEXT=""
7911 IMPLIBEXT="a"
7912 enable_iphlpapi=${enable_iphlpapi:-no}
7913 enable_kernel32=${enable_kernel32:-no}
7914 enable_msvcrt=${enable_msvcrt:-no}
7915 enable_ntdll=${enable_ntdll:-no}
7916 enable_ws2_32=${enable_ws2_32:-no}
7917 enable_loader=${enable_loader:-no}
7918 enable_server=${enable_server:-no}
7919 with_x=${with_x:-no}
7920 with_pthread=${with_pthread:-no}
7922 crtlibs=""
7923 case $host_os in
7924 mingw32*)
7925 crtlibs="-lmsvcrt"
7926 SOCKET_LIBS="-lws2_32"
7928 esac
7930 LIBWINE_SHAREDLIB="libwine.dll"
7932 LIBWINE_IMPORTLIB="libwine.a"
7934 LIBWINE_INSTALL_LIB="libwine.dll"
7936 LIBWINE_INSTALL_DEV="libwine.a"
7938 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
7940 LIBWINE_DEPENDS="wine.def"
7944 darwin*|macosx*)
7945 for ac_header in libunwind.h
7946 do :
7947 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
7948 if test "x$ac_cv_header_libunwind_h" = xyes; then :
7949 cat >>confdefs.h <<_ACEOF
7950 #define HAVE_LIBUNWIND_H 1
7951 _ACEOF
7955 done
7957 LIBEXT="dylib"
7958 DLLFLAGS="$DLLFLAGS -fPIC"
7959 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
7960 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7961 COREFOUNDATION_LIBS="-framework CoreFoundation"
7963 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7965 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7967 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7969 CORESERVICES_LIBS="-framework CoreServices"
7971 APPKIT_LIBS="-framework AppKit"
7973 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7975 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7976 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
7977 $as_echo_n "(cached) " >&6
7978 else
7979 ac_wine_try_cflags_saved=$CFLAGS
7980 CFLAGS="$CFLAGS -Wl,-no_pie"
7981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7982 /* end confdefs.h. */
7983 int main(int argc, char **argv) { return 0; }
7984 _ACEOF
7985 if ac_fn_c_try_link "$LINENO"; then :
7986 ac_cv_cflags__Wl__no_pie=yes
7987 else
7988 ac_cv_cflags__Wl__no_pie=no
7990 rm -f core conftest.err conftest.$ac_objext \
7991 conftest$ac_exeext conftest.$ac_ext
7992 CFLAGS=$ac_wine_try_cflags_saved
7994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7995 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7996 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
7997 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
7999 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8000 then
8001 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8004 if test "$ac_cv_header_Security_Security_h" = "yes"
8005 then
8006 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8008 ac_save_LIBS="$LIBS"
8009 LIBS="$LIBS $SECURITY_LIBS"
8010 for ac_func in SSLCopyPeerCertificates
8011 do :
8012 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8013 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8014 cat >>confdefs.h <<_ACEOF
8015 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8016 _ACEOF
8019 done
8021 LIBS="$ac_save_LIBS"
8022 with_gnutls=${with_gnutls:-no}
8024 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8025 then
8026 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8027 then
8028 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8030 else
8031 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8034 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8035 ac_save_LIBS="$LIBS"
8036 LIBS="$LIBS $COREAUDIO_LIBS"
8037 for ac_func in AUGraphAddNode
8038 do :
8039 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8040 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8041 cat >>confdefs.h <<_ACEOF
8042 #define HAVE_AUGRAPHADDNODE 1
8043 _ACEOF
8046 done
8048 LIBS="$ac_save_LIBS"
8050 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8051 then
8052 OPENAL_LIBS="-framework OpenAL"
8055 cat >>confdefs.h <<_ACEOF
8056 #define HAVE_OPENAL 1
8057 _ACEOF
8059 ac_cv_lib_openal=yes
8061 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8062 then
8063 OPENCL_LIBS="-framework OpenCL"
8065 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8067 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8068 then
8069 ac_save_LIBS="$LIBS"
8070 LIBS="$LIBS $IOKIT_LIBS"
8071 for ac_func in IOHIDManagerCreate
8072 do :
8073 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8074 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8075 cat >>confdefs.h <<_ACEOF
8076 #define HAVE_IOHIDMANAGERCREATE 1
8077 _ACEOF
8080 done
8082 LIBS="$ac_save_LIBS"
8084 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8085 then
8086 ac_save_LIBS="$LIBS"
8087 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8089 $as_echo_n "checking for the QuickTime framework... " >&6; }
8090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8091 /* end confdefs.h. */
8092 #include <QuickTime/ImageCompression.h>
8094 main ()
8096 CodecManagerVersion(NULL);
8098 return 0;
8100 _ACEOF
8101 if ac_fn_c_try_link "$LINENO"; then :
8102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8103 $as_echo "yes" >&6; }
8104 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8106 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8107 else
8108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8109 $as_echo "no" >&6; }
8110 ac_cv_header_QuickTime_ImageCompression_h=no
8112 rm -f core conftest.err conftest.$ac_objext \
8113 conftest$ac_exeext conftest.$ac_ext
8114 LIBS="$ac_save_LIBS"
8116 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8117 then
8118 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8120 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8121 then
8122 CARBON_LIBS="-framework Carbon"
8126 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8127 then
8128 ac_save_LIBS="$LIBS"
8129 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8130 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8131 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8132 enable_winemac_drv=${enable_winemac_drv:-yes}
8135 LIBS="$ac_save_LIBS"
8138 if test "x$enable_win16" = "xyes"
8139 then
8140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8141 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8142 if test "$cross_compiling" = yes; then :
8143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8144 $as_echo "cross-compiling, assuming yes" >&6; }
8145 else
8146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8147 /* end confdefs.h. */
8148 asm(".text\n"
8149 "bad:\tnop;nop\n"
8150 "good:\tnop;nop\n\t"
8151 ".globl _testfunc\n"
8152 "_testfunc:\tcallw good");
8153 extern void testfunc();
8155 main ()
8157 unsigned short *p = (unsigned short *)testfunc;
8158 return p[0] != 0xe866 || p[1] != 0xfffa
8160 return 0;
8162 _ACEOF
8163 if ac_fn_c_try_run "$LINENO"; then :
8164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8165 $as_echo "yes" >&6; }
8166 else
8167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8168 $as_echo "no" >&6; }
8169 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
8171 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8172 conftest.$ac_objext conftest.beam conftest.$ac_ext
8177 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8179 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8181 LIBWINE_INSTALL_DEV="libwine.dylib"
8183 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8185 WINELOADER_DEPENDS="wine_info.plist"
8189 linux-android*)
8190 DLLFLAGS="$DLLFLAGS -fPIC"
8191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8192 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8193 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8194 $as_echo_n "(cached) " >&6
8195 else
8196 ac_wine_try_cflags_saved=$CFLAGS
8197 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8199 /* end confdefs.h. */
8200 int main(int argc, char **argv) { return 0; }
8201 _ACEOF
8202 if ac_fn_c_try_link "$LINENO"; then :
8203 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8204 else
8205 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8207 rm -f core conftest.err conftest.$ac_objext \
8208 conftest$ac_exeext conftest.$ac_ext
8209 CFLAGS=$ac_wine_try_cflags_saved
8211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8212 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8213 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8214 LDEXECFLAGS="-Wl,--export-dynamic"
8216 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8218 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8219 if eval \${$as_ac_var+:} false; then :
8220 $as_echo_n "(cached) " >&6
8221 else
8222 ac_wine_try_cflags_saved=$CFLAGS
8223 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8225 /* end confdefs.h. */
8226 int main(int argc, char **argv) { return 0; }
8227 _ACEOF
8228 if ac_fn_c_try_link "$LINENO"; then :
8229 eval "$as_ac_var=yes"
8230 else
8231 eval "$as_ac_var=no"
8233 rm -f core conftest.err conftest.$ac_objext \
8234 conftest$ac_exeext conftest.$ac_ext
8235 CFLAGS=$ac_wine_try_cflags_saved
8237 eval ac_res=\$$as_ac_var
8238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8239 $as_echo "$ac_res" >&6; }
8240 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8241 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8242 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8243 else
8244 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8246 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8247 if eval \${$as_ac_var+:} false; then :
8248 $as_echo_n "(cached) " >&6
8249 else
8250 ac_wine_try_cflags_saved=$CFLAGS
8251 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8253 /* end confdefs.h. */
8254 int main(int argc, char **argv) { return 0; }
8255 _ACEOF
8256 if ac_fn_c_try_link "$LINENO"; then :
8257 eval "$as_ac_var=yes"
8258 else
8259 eval "$as_ac_var=no"
8261 rm -f core conftest.err conftest.$ac_objext \
8262 conftest$ac_exeext conftest.$ac_ext
8263 CFLAGS=$ac_wine_try_cflags_saved
8265 eval ac_res=\$$as_ac_var
8266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8267 $as_echo "$ac_res" >&6; }
8268 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8269 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8270 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8275 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8276 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8277 $as_echo_n "(cached) " >&6
8278 else
8279 ac_wine_try_cflags_saved=$CFLAGS
8280 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8282 /* end confdefs.h. */
8283 int main(int argc, char **argv) { return 0; }
8284 _ACEOF
8285 if ac_fn_c_try_link "$LINENO"; then :
8286 ac_cv_cflags__Wl___enable_new_dtags=yes
8287 else
8288 ac_cv_cflags__Wl___enable_new_dtags=no
8290 rm -f core conftest.err conftest.$ac_objext \
8291 conftest$ac_exeext conftest.$ac_ext
8292 CFLAGS=$ac_wine_try_cflags_saved
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8295 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8296 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8297 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8300 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8301 if ${ac_cv_cflags__Wl__pie+:} false; then :
8302 $as_echo_n "(cached) " >&6
8303 else
8304 ac_wine_try_cflags_saved=$CFLAGS
8305 CFLAGS="$CFLAGS -Wl,-pie"
8306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8307 /* end confdefs.h. */
8308 int main(int argc, char **argv) { return 0; }
8309 _ACEOF
8310 if ac_fn_c_try_link "$LINENO"; then :
8311 ac_cv_cflags__Wl__pie=yes
8312 else
8313 ac_cv_cflags__Wl__pie=no
8315 rm -f core conftest.err conftest.$ac_objext \
8316 conftest$ac_exeext conftest.$ac_ext
8317 CFLAGS=$ac_wine_try_cflags_saved
8319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8320 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8321 if test "x$ac_cv_cflags__Wl__pie" = xyes; then :
8322 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,-pie"
8325 LIBWINE_SHAREDLIB="libwine.so"
8327 LIBWINE_INSTALL_LIB="libwine.so"
8329 LIBWINE_LDFLAGS="-shared"
8334 DLLFLAGS="$DLLFLAGS -fPIC"
8335 LDEXECFLAGS=""
8336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8337 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8338 if ${ac_cv_c_dll_gnuelf+:} false; then :
8339 $as_echo_n "(cached) " >&6
8340 else
8341 ac_wine_try_cflags_saved=$CFLAGS
8342 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8344 /* end confdefs.h. */
8345 void myfunc() {}
8346 _ACEOF
8347 if ac_fn_c_try_link "$LINENO"; then :
8348 ac_cv_c_dll_gnuelf="yes"
8349 else
8350 ac_cv_c_dll_gnuelf="no"
8352 rm -f core conftest.err conftest.$ac_objext \
8353 conftest$ac_exeext conftest.$ac_ext
8354 CFLAGS=$ac_wine_try_cflags_saved
8356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8357 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8358 if test "$ac_cv_c_dll_gnuelf" = "yes"
8359 then
8360 LIBWINE_LDFLAGS="-shared"
8361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8362 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8363 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8364 $as_echo_n "(cached) " >&6
8365 else
8366 ac_wine_try_cflags_saved=$CFLAGS
8367 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8369 /* end confdefs.h. */
8370 int main(int argc, char **argv) { return 0; }
8371 _ACEOF
8372 if ac_fn_c_try_link "$LINENO"; then :
8373 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8374 else
8375 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8377 rm -f core conftest.err conftest.$ac_objext \
8378 conftest$ac_exeext conftest.$ac_ext
8379 CFLAGS=$ac_wine_try_cflags_saved
8381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8382 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8383 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8384 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8385 else
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8387 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8388 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8389 $as_echo_n "(cached) " >&6
8390 else
8391 ac_wine_try_cflags_saved=$CFLAGS
8392 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8394 /* end confdefs.h. */
8395 int main(int argc, char **argv) { return 0; }
8396 _ACEOF
8397 if ac_fn_c_try_link "$LINENO"; then :
8398 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8399 else
8400 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8402 rm -f core conftest.err conftest.$ac_objext \
8403 conftest$ac_exeext conftest.$ac_ext
8404 CFLAGS=$ac_wine_try_cflags_saved
8406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8407 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8408 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8409 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8413 echo '{ global: *; };' >conftest.map
8414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8415 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8416 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8417 $as_echo_n "(cached) " >&6
8418 else
8419 ac_wine_try_cflags_saved=$CFLAGS
8420 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8422 /* end confdefs.h. */
8423 int main(int argc, char **argv) { return 0; }
8424 _ACEOF
8425 if ac_fn_c_try_link "$LINENO"; then :
8426 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8427 else
8428 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8430 rm -f core conftest.err conftest.$ac_objext \
8431 conftest$ac_exeext conftest.$ac_ext
8432 CFLAGS=$ac_wine_try_cflags_saved
8434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8435 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8436 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8437 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8439 rm -f conftest.map
8441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8442 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8443 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8444 $as_echo_n "(cached) " >&6
8445 else
8446 ac_wine_try_cflags_saved=$CFLAGS
8447 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8449 /* end confdefs.h. */
8450 int main(int argc, char **argv) { return 0; }
8451 _ACEOF
8452 if ac_fn_c_try_link "$LINENO"; then :
8453 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8454 else
8455 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8457 rm -f core conftest.err conftest.$ac_objext \
8458 conftest$ac_exeext conftest.$ac_ext
8459 CFLAGS=$ac_wine_try_cflags_saved
8461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8462 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8463 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8464 LDEXECFLAGS="-Wl,--export-dynamic"
8467 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8469 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8470 if eval \${$as_ac_var+:} false; then :
8471 $as_echo_n "(cached) " >&6
8472 else
8473 ac_wine_try_cflags_saved=$CFLAGS
8474 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8476 /* end confdefs.h. */
8477 int main(int argc, char **argv) { return 0; }
8478 _ACEOF
8479 if ac_fn_c_try_link "$LINENO"; then :
8480 eval "$as_ac_var=yes"
8481 else
8482 eval "$as_ac_var=no"
8484 rm -f core conftest.err conftest.$ac_objext \
8485 conftest$ac_exeext conftest.$ac_ext
8486 CFLAGS=$ac_wine_try_cflags_saved
8488 eval ac_res=\$$as_ac_var
8489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8490 $as_echo "$ac_res" >&6; }
8491 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8492 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8493 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8494 else
8495 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8497 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8498 if eval \${$as_ac_var+:} false; then :
8499 $as_echo_n "(cached) " >&6
8500 else
8501 ac_wine_try_cflags_saved=$CFLAGS
8502 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8504 /* end confdefs.h. */
8505 int main(int argc, char **argv) { return 0; }
8506 _ACEOF
8507 if ac_fn_c_try_link "$LINENO"; then :
8508 eval "$as_ac_var=yes"
8509 else
8510 eval "$as_ac_var=no"
8512 rm -f core conftest.err conftest.$ac_objext \
8513 conftest$ac_exeext conftest.$ac_ext
8514 CFLAGS=$ac_wine_try_cflags_saved
8516 eval ac_res=\$$as_ac_var
8517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8518 $as_echo "$ac_res" >&6; }
8519 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8520 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8521 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8526 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8527 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8528 $as_echo_n "(cached) " >&6
8529 else
8530 ac_wine_try_cflags_saved=$CFLAGS
8531 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8533 /* end confdefs.h. */
8534 int main(int argc, char **argv) { return 0; }
8535 _ACEOF
8536 if ac_fn_c_try_link "$LINENO"; then :
8537 ac_cv_cflags__Wl___enable_new_dtags=yes
8538 else
8539 ac_cv_cflags__Wl___enable_new_dtags=no
8541 rm -f core conftest.err conftest.$ac_objext \
8542 conftest$ac_exeext conftest.$ac_ext
8543 CFLAGS=$ac_wine_try_cflags_saved
8545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8546 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8547 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8548 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8551 case $host_cpu in
8552 *i[3456789]86* | x86_64)
8553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8554 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8555 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8556 $as_echo_n "(cached) " >&6
8557 else
8558 ac_wine_try_cflags_saved=$CFLAGS
8559 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8561 /* end confdefs.h. */
8562 int main(int argc, char **argv) { return 0; }
8563 _ACEOF
8564 if ac_fn_c_try_link "$LINENO"; then :
8565 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8566 else
8567 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8569 rm -f core conftest.err conftest.$ac_objext \
8570 conftest$ac_exeext conftest.$ac_ext
8571 CFLAGS=$ac_wine_try_cflags_saved
8573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8574 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8575 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8576 case $host_os in
8577 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8578 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8579 esac
8580 else
8581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8582 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8583 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8584 $as_echo_n "(cached) " >&6
8585 else
8586 ac_wine_try_cflags_saved=$CFLAGS
8587 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8589 /* end confdefs.h. */
8590 int main(int argc, char **argv) { return 0; }
8591 _ACEOF
8592 if ac_fn_c_try_link "$LINENO"; then :
8593 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8594 else
8595 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8597 rm -f core conftest.err conftest.$ac_objext \
8598 conftest$ac_exeext conftest.$ac_ext
8599 CFLAGS=$ac_wine_try_cflags_saved
8601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8602 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8603 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8604 case $host_os in
8605 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8606 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8607 esac
8609 # Extract the first word of "prelink", so it can be a program name with args.
8610 set dummy prelink; ac_word=$2
8611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8612 $as_echo_n "checking for $ac_word... " >&6; }
8613 if ${ac_cv_path_PRELINK+:} false; then :
8614 $as_echo_n "(cached) " >&6
8615 else
8616 case $PRELINK in
8617 [\\/]* | ?:[\\/]*)
8618 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8622 for as_dir in /sbin /usr/sbin $PATH
8624 IFS=$as_save_IFS
8625 test -z "$as_dir" && as_dir=.
8626 for ac_exec_ext in '' $ac_executable_extensions; do
8627 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8628 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8630 break 2
8632 done
8633 done
8634 IFS=$as_save_IFS
8636 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8638 esac
8640 PRELINK=$ac_cv_path_PRELINK
8641 if test -n "$PRELINK"; then
8642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8643 $as_echo "$PRELINK" >&6; }
8644 else
8645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8646 $as_echo "no" >&6; }
8650 if test "x$PRELINK" = xfalse
8651 then
8652 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8656 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8657 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8658 $as_echo_n "(cached) " >&6
8659 else
8660 ac_wine_try_cflags_saved=$CFLAGS
8661 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8663 /* end confdefs.h. */
8664 int main(int argc, char **argv) { return 0; }
8665 _ACEOF
8666 if ac_fn_c_try_link "$LINENO"; then :
8667 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8668 else
8669 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8671 rm -f core conftest.err conftest.$ac_objext \
8672 conftest$ac_exeext conftest.$ac_ext
8673 CFLAGS=$ac_wine_try_cflags_saved
8675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8676 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8677 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8678 LDEXECFLAGS="$LDEXECFLAGS -Wl,-z,max-page-size=0x1000"
8681 esac
8683 else
8684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8685 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8686 if ${ac_cv_c_dll_unixware+:} false; then :
8687 $as_echo_n "(cached) " >&6
8688 else
8689 ac_wine_try_cflags_saved=$CFLAGS
8690 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8692 /* end confdefs.h. */
8693 void myfunc() {}
8694 _ACEOF
8695 if ac_fn_c_try_link "$LINENO"; then :
8696 ac_cv_c_dll_unixware="yes"
8697 else
8698 ac_cv_c_dll_unixware="no"
8700 rm -f core conftest.err conftest.$ac_objext \
8701 conftest$ac_exeext conftest.$ac_ext
8702 CFLAGS=$ac_wine_try_cflags_saved
8704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8705 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8706 if test "$ac_cv_c_dll_unixware" = "yes"
8707 then
8708 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8711 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8713 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8715 LIBWINE_INSTALL_DEV="libwine.so"
8717 LIBWINE_DEPENDS="wine.map"
8720 esac
8722 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8723 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8724 enable_winemac_drv=${enable_winemac_drv:-no}
8725 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8727 CROSSTARGET=""
8729 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8730 then
8731 case "$host_cpu" in
8732 arm*)
8733 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8734 i[3456789]86*)
8735 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
8736 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8737 mingw32-gcc" ;;
8738 x86_64)
8739 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
8740 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8742 ac_prefix_list="" ;;
8743 esac
8744 for ac_prog in $ac_prefix_list
8746 # Extract the first word of "$ac_prog", so it can be a program name with args.
8747 set dummy $ac_prog; ac_word=$2
8748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8749 $as_echo_n "checking for $ac_word... " >&6; }
8750 if ${ac_cv_prog_CROSSCC+:} false; then :
8751 $as_echo_n "(cached) " >&6
8752 else
8753 if test -n "$CROSSCC"; then
8754 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8755 else
8756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8757 for as_dir in $PATH
8759 IFS=$as_save_IFS
8760 test -z "$as_dir" && as_dir=.
8761 for ac_exec_ext in '' $ac_executable_extensions; do
8762 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8763 ac_cv_prog_CROSSCC="$ac_prog"
8764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8765 break 2
8767 done
8768 done
8769 IFS=$as_save_IFS
8773 CROSSCC=$ac_cv_prog_CROSSCC
8774 if test -n "$CROSSCC"; then
8775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8776 $as_echo "$CROSSCC" >&6; }
8777 else
8778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8779 $as_echo "no" >&6; }
8783 test -n "$CROSSCC" && break
8784 done
8785 test -n "$CROSSCC" || CROSSCC="false"
8787 if test "$CROSSCC" != "false"
8788 then
8789 ac_save_CC="$CC"
8790 CC="$CROSSCC"
8791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8792 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8794 /* end confdefs.h. */
8797 main ()
8801 return 0;
8803 _ACEOF
8804 if ac_fn_c_try_compile "$LINENO"; then :
8805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8806 $as_echo "yes" >&6; }
8807 set x $CROSSCC
8808 shift
8809 while test $# -ge 1
8811 case "$1" in
8812 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8813 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8814 esac
8815 shift
8816 done
8817 else
8818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8819 $as_echo "no" >&6; }
8821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8822 CC="$ac_save_CC"
8827 if test "$ac_cv_header_pthread_h" = "yes"
8828 then
8829 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8830 if test "x$ac_cv_func_pthread_create" = xyes; then :
8832 else
8833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8834 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8835 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8836 $as_echo_n "(cached) " >&6
8837 else
8838 ac_check_lib_save_LIBS=$LIBS
8839 LIBS="-lpthread $LIBS"
8840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8841 /* end confdefs.h. */
8843 /* Override any GCC internal prototype to avoid an error.
8844 Use char because int might match the return type of a GCC
8845 builtin and then its argument prototype would still apply. */
8846 #ifdef __cplusplus
8847 extern "C"
8848 #endif
8849 char pthread_create ();
8851 main ()
8853 return pthread_create ();
8855 return 0;
8857 _ACEOF
8858 if ac_fn_c_try_link "$LINENO"; then :
8859 ac_cv_lib_pthread_pthread_create=yes
8860 else
8861 ac_cv_lib_pthread_pthread_create=no
8863 rm -f core conftest.err conftest.$ac_objext \
8864 conftest$ac_exeext conftest.$ac_ext
8865 LIBS=$ac_check_lib_save_LIBS
8867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8868 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8869 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8870 PTHREAD_LIBS="-lpthread"
8877 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8878 case "x$with_pthread" in
8879 xno) ;;
8880 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8881 Wine cannot support threads without libpthread.
8882 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8883 esac
8888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8889 $as_echo_n "checking for X... " >&6; }
8892 # Check whether --with-x was given.
8893 if test "${with_x+set}" = set; then :
8894 withval=$with_x;
8897 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8898 if test "x$with_x" = xno; then
8899 # The user explicitly disabled X.
8900 have_x=disabled
8901 else
8902 case $x_includes,$x_libraries in #(
8903 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8904 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8905 $as_echo_n "(cached) " >&6
8906 else
8907 # One or both of the vars are not set, and there is no cached value.
8908 ac_x_includes=no ac_x_libraries=no
8909 rm -f -r conftest.dir
8910 if mkdir conftest.dir; then
8911 cd conftest.dir
8912 cat >Imakefile <<'_ACEOF'
8913 incroot:
8914 @echo incroot='${INCROOT}'
8915 usrlibdir:
8916 @echo usrlibdir='${USRLIBDIR}'
8917 libdir:
8918 @echo libdir='${LIBDIR}'
8919 _ACEOF
8920 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8921 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8922 for ac_var in incroot usrlibdir libdir; do
8923 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8924 done
8925 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8926 for ac_extension in a so sl dylib la dll; do
8927 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8928 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8929 ac_im_usrlibdir=$ac_im_libdir; break
8931 done
8932 # Screen out bogus values from the imake configuration. They are
8933 # bogus both because they are the default anyway, and because
8934 # using them would break gcc on systems where it needs fixed includes.
8935 case $ac_im_incroot in
8936 /usr/include) ac_x_includes= ;;
8937 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8938 esac
8939 case $ac_im_usrlibdir in
8940 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8941 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8942 esac
8944 cd ..
8945 rm -f -r conftest.dir
8948 # Standard set of common directories for X headers.
8949 # Check X11 before X11Rn because it is often a symlink to the current release.
8950 ac_x_header_dirs='
8951 /usr/X11/include
8952 /usr/X11R7/include
8953 /usr/X11R6/include
8954 /usr/X11R5/include
8955 /usr/X11R4/include
8957 /usr/include/X11
8958 /usr/include/X11R7
8959 /usr/include/X11R6
8960 /usr/include/X11R5
8961 /usr/include/X11R4
8963 /usr/local/X11/include
8964 /usr/local/X11R7/include
8965 /usr/local/X11R6/include
8966 /usr/local/X11R5/include
8967 /usr/local/X11R4/include
8969 /usr/local/include/X11
8970 /usr/local/include/X11R7
8971 /usr/local/include/X11R6
8972 /usr/local/include/X11R5
8973 /usr/local/include/X11R4
8975 /usr/X386/include
8976 /usr/x386/include
8977 /usr/XFree86/include/X11
8979 /usr/include
8980 /usr/local/include
8981 /usr/unsupported/include
8982 /usr/athena/include
8983 /usr/local/x11r5/include
8984 /usr/lpp/Xamples/include
8986 /usr/openwin/include
8987 /usr/openwin/share/include'
8989 if test "$ac_x_includes" = no; then
8990 # Guess where to find include files, by looking for Xlib.h.
8991 # First, try using that file with no special directory specified.
8992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8993 /* end confdefs.h. */
8994 #include <X11/Xlib.h>
8995 _ACEOF
8996 if ac_fn_c_try_cpp "$LINENO"; then :
8997 # We can compile using X headers with no special include directory.
8998 ac_x_includes=
8999 else
9000 for ac_dir in $ac_x_header_dirs; do
9001 if test -r "$ac_dir/X11/Xlib.h"; then
9002 ac_x_includes=$ac_dir
9003 break
9005 done
9007 rm -f conftest.err conftest.i conftest.$ac_ext
9008 fi # $ac_x_includes = no
9010 if test "$ac_x_libraries" = no; then
9011 # Check for the libraries.
9012 # See if we find them without any special options.
9013 # Don't add to $LIBS permanently.
9014 ac_save_LIBS=$LIBS
9015 LIBS="-lX11 $LIBS"
9016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9017 /* end confdefs.h. */
9018 #include <X11/Xlib.h>
9020 main ()
9022 XrmInitialize ()
9024 return 0;
9026 _ACEOF
9027 if ac_fn_c_try_link "$LINENO"; then :
9028 LIBS=$ac_save_LIBS
9029 # We can link X programs with no special library path.
9030 ac_x_libraries=
9031 else
9032 LIBS=$ac_save_LIBS
9033 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9035 # Don't even attempt the hair of trying to link an X program!
9036 for ac_extension in a so sl dylib la dll; do
9037 if test -r "$ac_dir/libX11.$ac_extension"; then
9038 ac_x_libraries=$ac_dir
9039 break 2
9041 done
9042 done
9044 rm -f core conftest.err conftest.$ac_objext \
9045 conftest$ac_exeext conftest.$ac_ext
9046 fi # $ac_x_libraries = no
9048 case $ac_x_includes,$ac_x_libraries in #(
9049 no,* | *,no | *\'*)
9050 # Didn't find X, or a directory has "'" in its name.
9051 ac_cv_have_x="have_x=no";; #(
9053 # Record where we found X for the cache.
9054 ac_cv_have_x="have_x=yes\
9055 ac_x_includes='$ac_x_includes'\
9056 ac_x_libraries='$ac_x_libraries'"
9057 esac
9059 ;; #(
9060 *) have_x=yes;;
9061 esac
9062 eval "$ac_cv_have_x"
9063 fi # $with_x != no
9065 if test "$have_x" != yes; then
9066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9067 $as_echo "$have_x" >&6; }
9068 no_x=yes
9069 else
9070 # If each of the values was on the command line, it overrides each guess.
9071 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9072 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9073 # Update the cache value to reflect the command line values.
9074 ac_cv_have_x="have_x=yes\
9075 ac_x_includes='$x_includes'\
9076 ac_x_libraries='$x_libraries'"
9077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9078 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9081 if test "$no_x" = yes; then
9082 # Not all programs may use this symbol, but it does not hurt to define it.
9084 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9086 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9087 else
9088 if test -n "$x_includes"; then
9089 X_CFLAGS="$X_CFLAGS -I$x_includes"
9092 # It would also be nice to do this for all -L options, not just this one.
9093 if test -n "$x_libraries"; then
9094 X_LIBS="$X_LIBS -L$x_libraries"
9095 # For Solaris; some versions of Sun CC require a space after -R and
9096 # others require no space. Words are not sufficient . . . .
9097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9098 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9099 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9100 ac_xsave_c_werror_flag=$ac_c_werror_flag
9101 ac_c_werror_flag=yes
9102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9103 /* end confdefs.h. */
9106 main ()
9110 return 0;
9112 _ACEOF
9113 if ac_fn_c_try_link "$LINENO"; then :
9114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9115 $as_echo "no" >&6; }
9116 X_LIBS="$X_LIBS -R$x_libraries"
9117 else
9118 LIBS="$ac_xsave_LIBS -R $x_libraries"
9119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9120 /* end confdefs.h. */
9123 main ()
9127 return 0;
9129 _ACEOF
9130 if ac_fn_c_try_link "$LINENO"; then :
9131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9132 $as_echo "yes" >&6; }
9133 X_LIBS="$X_LIBS -R $x_libraries"
9134 else
9135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9136 $as_echo "neither works" >&6; }
9138 rm -f core conftest.err conftest.$ac_objext \
9139 conftest$ac_exeext conftest.$ac_ext
9141 rm -f core conftest.err conftest.$ac_objext \
9142 conftest$ac_exeext conftest.$ac_ext
9143 ac_c_werror_flag=$ac_xsave_c_werror_flag
9144 LIBS=$ac_xsave_LIBS
9147 # Check for system-dependent libraries X programs must link with.
9148 # Do this before checking for the system-independent R6 libraries
9149 # (-lICE), since we may need -lsocket or whatever for X linking.
9151 if test "$ISC" = yes; then
9152 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9153 else
9154 # Martyn Johnson says this is needed for Ultrix, if the X
9155 # libraries were built with DECnet support. And Karl Berry says
9156 # the Alpha needs dnet_stub (dnet does not exist).
9157 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9159 /* end confdefs.h. */
9161 /* Override any GCC internal prototype to avoid an error.
9162 Use char because int might match the return type of a GCC
9163 builtin and then its argument prototype would still apply. */
9164 #ifdef __cplusplus
9165 extern "C"
9166 #endif
9167 char XOpenDisplay ();
9169 main ()
9171 return XOpenDisplay ();
9173 return 0;
9175 _ACEOF
9176 if ac_fn_c_try_link "$LINENO"; then :
9178 else
9179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9180 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9181 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9182 $as_echo_n "(cached) " >&6
9183 else
9184 ac_check_lib_save_LIBS=$LIBS
9185 LIBS="-ldnet $LIBS"
9186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9187 /* end confdefs.h. */
9189 /* Override any GCC internal prototype to avoid an error.
9190 Use char because int might match the return type of a GCC
9191 builtin and then its argument prototype would still apply. */
9192 #ifdef __cplusplus
9193 extern "C"
9194 #endif
9195 char dnet_ntoa ();
9197 main ()
9199 return dnet_ntoa ();
9201 return 0;
9203 _ACEOF
9204 if ac_fn_c_try_link "$LINENO"; then :
9205 ac_cv_lib_dnet_dnet_ntoa=yes
9206 else
9207 ac_cv_lib_dnet_dnet_ntoa=no
9209 rm -f core conftest.err conftest.$ac_objext \
9210 conftest$ac_exeext conftest.$ac_ext
9211 LIBS=$ac_check_lib_save_LIBS
9213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9214 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9215 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9216 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9219 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9221 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9222 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9223 $as_echo_n "(cached) " >&6
9224 else
9225 ac_check_lib_save_LIBS=$LIBS
9226 LIBS="-ldnet_stub $LIBS"
9227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9228 /* end confdefs.h. */
9230 /* Override any GCC internal prototype to avoid an error.
9231 Use char because int might match the return type of a GCC
9232 builtin and then its argument prototype would still apply. */
9233 #ifdef __cplusplus
9234 extern "C"
9235 #endif
9236 char dnet_ntoa ();
9238 main ()
9240 return dnet_ntoa ();
9242 return 0;
9244 _ACEOF
9245 if ac_fn_c_try_link "$LINENO"; then :
9246 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9247 else
9248 ac_cv_lib_dnet_stub_dnet_ntoa=no
9250 rm -f core conftest.err conftest.$ac_objext \
9251 conftest$ac_exeext conftest.$ac_ext
9252 LIBS=$ac_check_lib_save_LIBS
9254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9255 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9256 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9257 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9262 rm -f core conftest.err conftest.$ac_objext \
9263 conftest$ac_exeext conftest.$ac_ext
9264 LIBS="$ac_xsave_LIBS"
9266 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9267 # to get the SysV transport functions.
9268 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9269 # needs -lnsl.
9270 # The nsl library prevents programs from opening the X display
9271 # on Irix 5.2, according to T.E. Dickey.
9272 # The functions gethostbyname, getservbyname, and inet_addr are
9273 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9274 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9275 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9279 if test $ac_cv_func_gethostbyname = no; then
9280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9281 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9282 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9283 $as_echo_n "(cached) " >&6
9284 else
9285 ac_check_lib_save_LIBS=$LIBS
9286 LIBS="-lnsl $LIBS"
9287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9288 /* end confdefs.h. */
9290 /* Override any GCC internal prototype to avoid an error.
9291 Use char because int might match the return type of a GCC
9292 builtin and then its argument prototype would still apply. */
9293 #ifdef __cplusplus
9294 extern "C"
9295 #endif
9296 char gethostbyname ();
9298 main ()
9300 return gethostbyname ();
9302 return 0;
9304 _ACEOF
9305 if ac_fn_c_try_link "$LINENO"; then :
9306 ac_cv_lib_nsl_gethostbyname=yes
9307 else
9308 ac_cv_lib_nsl_gethostbyname=no
9310 rm -f core conftest.err conftest.$ac_objext \
9311 conftest$ac_exeext conftest.$ac_ext
9312 LIBS=$ac_check_lib_save_LIBS
9314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9315 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9316 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9317 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9320 if test $ac_cv_lib_nsl_gethostbyname = no; then
9321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9322 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9323 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9324 $as_echo_n "(cached) " >&6
9325 else
9326 ac_check_lib_save_LIBS=$LIBS
9327 LIBS="-lbsd $LIBS"
9328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9329 /* end confdefs.h. */
9331 /* Override any GCC internal prototype to avoid an error.
9332 Use char because int might match the return type of a GCC
9333 builtin and then its argument prototype would still apply. */
9334 #ifdef __cplusplus
9335 extern "C"
9336 #endif
9337 char gethostbyname ();
9339 main ()
9341 return gethostbyname ();
9343 return 0;
9345 _ACEOF
9346 if ac_fn_c_try_link "$LINENO"; then :
9347 ac_cv_lib_bsd_gethostbyname=yes
9348 else
9349 ac_cv_lib_bsd_gethostbyname=no
9351 rm -f core conftest.err conftest.$ac_objext \
9352 conftest$ac_exeext conftest.$ac_ext
9353 LIBS=$ac_check_lib_save_LIBS
9355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9356 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9357 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9358 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9364 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9365 # socket/setsockopt and other routines are undefined under SCO ODT
9366 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9367 # on later versions), says Simon Leinen: it contains gethostby*
9368 # variants that don't use the name server (or something). -lsocket
9369 # must be given before -lnsl if both are needed. We assume that
9370 # if connect needs -lnsl, so does gethostbyname.
9371 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9372 if test "x$ac_cv_func_connect" = xyes; then :
9376 if test $ac_cv_func_connect = no; then
9377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9378 $as_echo_n "checking for connect in -lsocket... " >&6; }
9379 if ${ac_cv_lib_socket_connect+:} false; then :
9380 $as_echo_n "(cached) " >&6
9381 else
9382 ac_check_lib_save_LIBS=$LIBS
9383 LIBS="-lsocket $X_EXTRA_LIBS $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 connect ();
9395 main ()
9397 return connect ();
9399 return 0;
9401 _ACEOF
9402 if ac_fn_c_try_link "$LINENO"; then :
9403 ac_cv_lib_socket_connect=yes
9404 else
9405 ac_cv_lib_socket_connect=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_socket_connect" >&5
9412 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9413 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9414 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9419 # Guillermo Gomez says -lposix is necessary on A/UX.
9420 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9421 if test "x$ac_cv_func_remove" = xyes; then :
9425 if test $ac_cv_func_remove = no; then
9426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9427 $as_echo_n "checking for remove in -lposix... " >&6; }
9428 if ${ac_cv_lib_posix_remove+:} false; then :
9429 $as_echo_n "(cached) " >&6
9430 else
9431 ac_check_lib_save_LIBS=$LIBS
9432 LIBS="-lposix $LIBS"
9433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9434 /* end confdefs.h. */
9436 /* Override any GCC internal prototype to avoid an error.
9437 Use char because int might match the return type of a GCC
9438 builtin and then its argument prototype would still apply. */
9439 #ifdef __cplusplus
9440 extern "C"
9441 #endif
9442 char remove ();
9444 main ()
9446 return remove ();
9448 return 0;
9450 _ACEOF
9451 if ac_fn_c_try_link "$LINENO"; then :
9452 ac_cv_lib_posix_remove=yes
9453 else
9454 ac_cv_lib_posix_remove=no
9456 rm -f core conftest.err conftest.$ac_objext \
9457 conftest$ac_exeext conftest.$ac_ext
9458 LIBS=$ac_check_lib_save_LIBS
9460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9461 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9462 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9463 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9468 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9469 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9470 if test "x$ac_cv_func_shmat" = xyes; then :
9474 if test $ac_cv_func_shmat = no; then
9475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9476 $as_echo_n "checking for shmat in -lipc... " >&6; }
9477 if ${ac_cv_lib_ipc_shmat+:} false; then :
9478 $as_echo_n "(cached) " >&6
9479 else
9480 ac_check_lib_save_LIBS=$LIBS
9481 LIBS="-lipc $LIBS"
9482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9483 /* end confdefs.h. */
9485 /* Override any GCC internal prototype to avoid an error.
9486 Use char because int might match the return type of a GCC
9487 builtin and then its argument prototype would still apply. */
9488 #ifdef __cplusplus
9489 extern "C"
9490 #endif
9491 char shmat ();
9493 main ()
9495 return shmat ();
9497 return 0;
9499 _ACEOF
9500 if ac_fn_c_try_link "$LINENO"; then :
9501 ac_cv_lib_ipc_shmat=yes
9502 else
9503 ac_cv_lib_ipc_shmat=no
9505 rm -f core conftest.err conftest.$ac_objext \
9506 conftest$ac_exeext conftest.$ac_ext
9507 LIBS=$ac_check_lib_save_LIBS
9509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9510 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9511 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9512 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9518 # Check for libraries that X11R6 Xt/Xaw programs need.
9519 ac_save_LDFLAGS=$LDFLAGS
9520 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9521 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9522 # check for ICE first), but we must link in the order -lSM -lICE or
9523 # we get undefined symbols. So assume we have SM if we have ICE.
9524 # These have to be linked with before -lX11, unlike the other
9525 # libraries we check for below, so use a different variable.
9526 # John Interrante, Karl Berry
9527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9528 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9529 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9530 $as_echo_n "(cached) " >&6
9531 else
9532 ac_check_lib_save_LIBS=$LIBS
9533 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9535 /* end confdefs.h. */
9537 /* Override any GCC internal prototype to avoid an error.
9538 Use char because int might match the return type of a GCC
9539 builtin and then its argument prototype would still apply. */
9540 #ifdef __cplusplus
9541 extern "C"
9542 #endif
9543 char IceConnectionNumber ();
9545 main ()
9547 return IceConnectionNumber ();
9549 return 0;
9551 _ACEOF
9552 if ac_fn_c_try_link "$LINENO"; then :
9553 ac_cv_lib_ICE_IceConnectionNumber=yes
9554 else
9555 ac_cv_lib_ICE_IceConnectionNumber=no
9557 rm -f core conftest.err conftest.$ac_objext \
9558 conftest$ac_exeext conftest.$ac_ext
9559 LIBS=$ac_check_lib_save_LIBS
9561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9562 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9563 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9564 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9567 LDFLAGS=$ac_save_LDFLAGS
9572 if test "$have_x" = "yes"
9573 then
9574 ac_save_CPPFLAGS="$CPPFLAGS"
9575 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9578 $as_echo_n "checking for -lX11... " >&6; }
9579 if ${ac_cv_lib_soname_X11+:} false; then :
9580 $as_echo_n "(cached) " >&6
9581 else
9582 ac_check_soname_save_LIBS=$LIBS
9583 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9585 /* end confdefs.h. */
9587 /* Override any GCC internal prototype to avoid an error.
9588 Use char because int might match the return type of a GCC
9589 builtin and then its argument prototype would still apply. */
9590 #ifdef __cplusplus
9591 extern "C"
9592 #endif
9593 char XCreateWindow ();
9595 main ()
9597 return XCreateWindow ();
9599 return 0;
9601 _ACEOF
9602 if ac_fn_c_try_link "$LINENO"; then :
9603 case "$LIBEXT" in
9604 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9605 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'` ;;
9606 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9607 if ${ac_cv_lib_soname_X11:+false} :; then :
9608 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9609 fi ;;
9610 esac
9612 rm -f core conftest.err conftest.$ac_objext \
9613 conftest$ac_exeext conftest.$ac_ext
9614 LIBS=$ac_check_soname_save_LIBS
9616 if ${ac_cv_lib_soname_X11:+false} :; then :
9617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9618 $as_echo "not found" >&6; }
9620 else
9621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9622 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9624 cat >>confdefs.h <<_ACEOF
9625 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9626 _ACEOF
9630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9631 $as_echo_n "checking for -lXext... " >&6; }
9632 if ${ac_cv_lib_soname_Xext+:} false; then :
9633 $as_echo_n "(cached) " >&6
9634 else
9635 ac_check_soname_save_LIBS=$LIBS
9636 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9638 /* end confdefs.h. */
9640 /* Override any GCC internal prototype to avoid an error.
9641 Use char because int might match the return type of a GCC
9642 builtin and then its argument prototype would still apply. */
9643 #ifdef __cplusplus
9644 extern "C"
9645 #endif
9646 char XextCreateExtension ();
9648 main ()
9650 return XextCreateExtension ();
9652 return 0;
9654 _ACEOF
9655 if ac_fn_c_try_link "$LINENO"; then :
9656 case "$LIBEXT" in
9657 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9658 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'` ;;
9659 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9660 if ${ac_cv_lib_soname_Xext:+false} :; then :
9661 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9662 fi ;;
9663 esac
9665 rm -f core conftest.err conftest.$ac_objext \
9666 conftest$ac_exeext conftest.$ac_ext
9667 LIBS=$ac_check_soname_save_LIBS
9669 if ${ac_cv_lib_soname_Xext:+false} :; then :
9670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9671 $as_echo "not found" >&6; }
9673 else
9674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9675 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9677 cat >>confdefs.h <<_ACEOF
9678 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9679 _ACEOF
9681 X_LIBS="$X_LIBS -lXext"
9683 X_LIBS="$X_LIBS -lX11"
9685 for ac_header in X11/Xlib.h \
9686 X11/XKBlib.h \
9687 X11/Xutil.h \
9688 X11/Xcursor/Xcursor.h \
9689 X11/extensions/shape.h \
9690 X11/extensions/XInput.h \
9691 X11/extensions/XInput2.h \
9692 X11/extensions/XShm.h \
9693 X11/extensions/Xcomposite.h \
9694 X11/extensions/Xinerama.h \
9695 X11/extensions/Xrandr.h \
9696 X11/extensions/Xrender.h \
9697 X11/extensions/xf86vmode.h \
9698 X11/extensions/xf86vmproto.h
9699 do :
9700 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9701 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9702 # include <X11/Xlib.h>
9703 #endif
9704 #ifdef HAVE_X11_XUTIL_H
9705 # include <X11/Xutil.h>
9706 #endif
9708 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9709 cat >>confdefs.h <<_ACEOF
9710 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9711 _ACEOF
9715 done
9718 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9719 then
9720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9721 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9722 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9723 $as_echo_n "(cached) " >&6
9724 else
9725 ac_check_lib_save_LIBS=$LIBS
9726 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9728 /* end confdefs.h. */
9730 /* Override any GCC internal prototype to avoid an error.
9731 Use char because int might match the return type of a GCC
9732 builtin and then its argument prototype would still apply. */
9733 #ifdef __cplusplus
9734 extern "C"
9735 #endif
9736 char XkbQueryExtension ();
9738 main ()
9740 return XkbQueryExtension ();
9742 return 0;
9744 _ACEOF
9745 if ac_fn_c_try_link "$LINENO"; then :
9746 ac_cv_lib_X11_XkbQueryExtension=yes
9747 else
9748 ac_cv_lib_X11_XkbQueryExtension=no
9750 rm -f core conftest.err conftest.$ac_objext \
9751 conftest$ac_exeext conftest.$ac_ext
9752 LIBS=$ac_check_lib_save_LIBS
9754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9755 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9756 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9758 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9764 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9765 then
9766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9767 $as_echo_n "checking for -lXcursor... " >&6; }
9768 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9769 $as_echo_n "(cached) " >&6
9770 else
9771 ac_check_soname_save_LIBS=$LIBS
9772 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9774 /* end confdefs.h. */
9776 /* Override any GCC internal prototype to avoid an error.
9777 Use char because int might match the return type of a GCC
9778 builtin and then its argument prototype would still apply. */
9779 #ifdef __cplusplus
9780 extern "C"
9781 #endif
9782 char XcursorImageLoadCursor ();
9784 main ()
9786 return XcursorImageLoadCursor ();
9788 return 0;
9790 _ACEOF
9791 if ac_fn_c_try_link "$LINENO"; then :
9792 case "$LIBEXT" in
9793 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9794 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'` ;;
9795 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9796 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9797 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9798 fi ;;
9799 esac
9801 rm -f core conftest.err conftest.$ac_objext \
9802 conftest$ac_exeext conftest.$ac_ext
9803 LIBS=$ac_check_soname_save_LIBS
9805 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9807 $as_echo "not found" >&6; }
9809 else
9810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9811 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9813 cat >>confdefs.h <<_ACEOF
9814 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9815 _ACEOF
9820 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9821 case "x$with_xcursor" in
9822 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9823 xno) ;;
9824 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9825 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9826 esac
9830 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9831 then
9832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9833 $as_echo_n "checking for -lXi... " >&6; }
9834 if ${ac_cv_lib_soname_Xi+:} false; then :
9835 $as_echo_n "(cached) " >&6
9836 else
9837 ac_check_soname_save_LIBS=$LIBS
9838 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9840 /* end confdefs.h. */
9842 /* Override any GCC internal prototype to avoid an error.
9843 Use char because int might match the return type of a GCC
9844 builtin and then its argument prototype would still apply. */
9845 #ifdef __cplusplus
9846 extern "C"
9847 #endif
9848 char XOpenDevice ();
9850 main ()
9852 return XOpenDevice ();
9854 return 0;
9856 _ACEOF
9857 if ac_fn_c_try_link "$LINENO"; then :
9858 case "$LIBEXT" in
9859 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9860 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'` ;;
9861 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9862 if ${ac_cv_lib_soname_Xi:+false} :; then :
9863 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9864 fi ;;
9865 esac
9867 rm -f core conftest.err conftest.$ac_objext \
9868 conftest$ac_exeext conftest.$ac_ext
9869 LIBS=$ac_check_soname_save_LIBS
9871 if ${ac_cv_lib_soname_Xi:+false} :; then :
9872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9873 $as_echo "not found" >&6; }
9875 else
9876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9877 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9879 cat >>confdefs.h <<_ACEOF
9880 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9881 _ACEOF
9886 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9887 case "x$with_xinput" in
9888 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9889 xno) ;;
9890 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9891 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9892 esac
9896 if test "x$ac_cv_lib_soname_Xi" != x
9897 then
9898 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9899 case "x$with_xinput2" in
9900 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9901 xno) ;;
9902 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9903 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9904 esac
9909 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9910 then
9911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9912 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9913 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9914 $as_echo_n "(cached) " >&6
9915 else
9916 ac_check_lib_save_LIBS=$LIBS
9917 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9919 /* end confdefs.h. */
9921 /* Override any GCC internal prototype to avoid an error.
9922 Use char because int might match the return type of a GCC
9923 builtin and then its argument prototype would still apply. */
9924 #ifdef __cplusplus
9925 extern "C"
9926 #endif
9927 char XShmQueryExtension ();
9929 main ()
9931 return XShmQueryExtension ();
9933 return 0;
9935 _ACEOF
9936 if ac_fn_c_try_link "$LINENO"; then :
9937 ac_cv_lib_Xext_XShmQueryExtension=yes
9938 else
9939 ac_cv_lib_Xext_XShmQueryExtension=no
9941 rm -f core conftest.err conftest.$ac_objext \
9942 conftest$ac_exeext conftest.$ac_ext
9943 LIBS=$ac_check_lib_save_LIBS
9945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9946 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9947 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9949 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9954 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9955 case "x$with_xshm" in
9956 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9957 xno) ;;
9958 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9959 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9960 esac
9964 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9965 then
9966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9967 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9968 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9969 $as_echo_n "(cached) " >&6
9970 else
9971 ac_check_lib_save_LIBS=$LIBS
9972 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9974 /* end confdefs.h. */
9976 /* Override any GCC internal prototype to avoid an error.
9977 Use char because int might match the return type of a GCC
9978 builtin and then its argument prototype would still apply. */
9979 #ifdef __cplusplus
9980 extern "C"
9981 #endif
9982 char XShapeQueryExtension ();
9984 main ()
9986 return XShapeQueryExtension ();
9988 return 0;
9990 _ACEOF
9991 if ac_fn_c_try_link "$LINENO"; then :
9992 ac_cv_lib_Xext_XShapeQueryExtension=yes
9993 else
9994 ac_cv_lib_Xext_XShapeQueryExtension=no
9996 rm -f core conftest.err conftest.$ac_objext \
9997 conftest$ac_exeext conftest.$ac_ext
9998 LIBS=$ac_check_lib_save_LIBS
10000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10001 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10002 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10004 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10009 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10010 case "x$with_xshape" in
10011 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10012 xno) ;;
10013 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10014 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10015 esac
10019 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10020 then
10021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10022 $as_echo_n "checking for -lXxf86vm... " >&6; }
10023 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10024 $as_echo_n "(cached) " >&6
10025 else
10026 ac_check_soname_save_LIBS=$LIBS
10027 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10029 /* end confdefs.h. */
10031 /* Override any GCC internal prototype to avoid an error.
10032 Use char because int might match the return type of a GCC
10033 builtin and then its argument prototype would still apply. */
10034 #ifdef __cplusplus
10035 extern "C"
10036 #endif
10037 char XF86VidModeQueryExtension ();
10039 main ()
10041 return XF86VidModeQueryExtension ();
10043 return 0;
10045 _ACEOF
10046 if ac_fn_c_try_link "$LINENO"; then :
10047 case "$LIBEXT" in
10048 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10049 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'` ;;
10050 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10051 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10052 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10053 fi ;;
10054 esac
10056 rm -f core conftest.err conftest.$ac_objext \
10057 conftest$ac_exeext conftest.$ac_ext
10058 LIBS=$ac_check_soname_save_LIBS
10060 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10062 $as_echo "not found" >&6; }
10064 else
10065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10066 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10068 cat >>confdefs.h <<_ACEOF
10069 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10070 _ACEOF
10075 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10076 case "x$with_xxf86vm" in
10077 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10078 xno) ;;
10079 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10080 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10081 esac
10085 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10086 then
10087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10088 $as_echo_n "checking for -lXrender... " >&6; }
10089 if ${ac_cv_lib_soname_Xrender+:} false; then :
10090 $as_echo_n "(cached) " >&6
10091 else
10092 ac_check_soname_save_LIBS=$LIBS
10093 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10095 /* end confdefs.h. */
10097 /* Override any GCC internal prototype to avoid an error.
10098 Use char because int might match the return type of a GCC
10099 builtin and then its argument prototype would still apply. */
10100 #ifdef __cplusplus
10101 extern "C"
10102 #endif
10103 char XRenderQueryExtension ();
10105 main ()
10107 return XRenderQueryExtension ();
10109 return 0;
10111 _ACEOF
10112 if ac_fn_c_try_link "$LINENO"; then :
10113 case "$LIBEXT" in
10114 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10115 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'` ;;
10116 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10117 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10118 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10119 fi ;;
10120 esac
10122 rm -f core conftest.err conftest.$ac_objext \
10123 conftest$ac_exeext conftest.$ac_ext
10124 LIBS=$ac_check_soname_save_LIBS
10126 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10128 $as_echo "not found" >&6; }
10130 else
10131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10132 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10134 cat >>confdefs.h <<_ACEOF
10135 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10136 _ACEOF
10138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10139 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10140 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10141 $as_echo_n "(cached) " >&6
10142 else
10143 ac_check_lib_save_LIBS=$LIBS
10144 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10146 /* end confdefs.h. */
10148 /* Override any GCC internal prototype to avoid an error.
10149 Use char because int might match the return type of a GCC
10150 builtin and then its argument prototype would still apply. */
10151 #ifdef __cplusplus
10152 extern "C"
10153 #endif
10154 char XRenderSetPictureTransform ();
10156 main ()
10158 return XRenderSetPictureTransform ();
10160 return 0;
10162 _ACEOF
10163 if ac_fn_c_try_link "$LINENO"; then :
10164 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10165 else
10166 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10168 rm -f core conftest.err conftest.$ac_objext \
10169 conftest$ac_exeext conftest.$ac_ext
10170 LIBS=$ac_check_lib_save_LIBS
10172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10173 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10174 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10176 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10181 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10182 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10183 $as_echo_n "(cached) " >&6
10184 else
10185 ac_check_lib_save_LIBS=$LIBS
10186 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10188 /* end confdefs.h. */
10190 /* Override any GCC internal prototype to avoid an error.
10191 Use char because int might match the return type of a GCC
10192 builtin and then its argument prototype would still apply. */
10193 #ifdef __cplusplus
10194 extern "C"
10195 #endif
10196 char XRenderCreateLinearGradient ();
10198 main ()
10200 return XRenderCreateLinearGradient ();
10202 return 0;
10204 _ACEOF
10205 if ac_fn_c_try_link "$LINENO"; then :
10206 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10207 else
10208 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10210 rm -f core conftest.err conftest.$ac_objext \
10211 conftest$ac_exeext conftest.$ac_ext
10212 LIBS=$ac_check_lib_save_LIBS
10214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10215 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10216 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10218 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10225 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10226 case "x$with_xrender" in
10227 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10228 xno) ;;
10229 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10230 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10231 esac
10235 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10236 then
10237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10238 /* end confdefs.h. */
10239 #include <X11/Xlib.h>
10240 #include <X11/extensions/Xrandr.h>
10242 main ()
10244 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10246 return 0;
10248 _ACEOF
10249 if ac_fn_c_try_compile "$LINENO"; then :
10250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10251 $as_echo_n "checking for -lXrandr... " >&6; }
10252 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10253 $as_echo_n "(cached) " >&6
10254 else
10255 ac_check_soname_save_LIBS=$LIBS
10256 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10258 /* end confdefs.h. */
10260 /* Override any GCC internal prototype to avoid an error.
10261 Use char because int might match the return type of a GCC
10262 builtin and then its argument prototype would still apply. */
10263 #ifdef __cplusplus
10264 extern "C"
10265 #endif
10266 char XRRQueryExtension ();
10268 main ()
10270 return XRRQueryExtension ();
10272 return 0;
10274 _ACEOF
10275 if ac_fn_c_try_link "$LINENO"; then :
10276 case "$LIBEXT" in
10277 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10278 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'` ;;
10279 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10280 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10281 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10282 fi ;;
10283 esac
10285 rm -f core conftest.err conftest.$ac_objext \
10286 conftest$ac_exeext conftest.$ac_ext
10287 LIBS=$ac_check_soname_save_LIBS
10289 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10291 $as_echo "not found" >&6; }
10293 else
10294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10295 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10297 cat >>confdefs.h <<_ACEOF
10298 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10299 _ACEOF
10301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10302 /* end confdefs.h. */
10303 #include <X11/Xlib.h>
10304 #include <X11/extensions/Xrandr.h>
10306 main ()
10308 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10310 return 0;
10312 _ACEOF
10313 if ac_fn_c_try_compile "$LINENO"; then :
10315 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10323 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10324 case "x$with_xrandr" in
10325 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10326 xno) ;;
10327 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10328 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10329 esac
10333 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10334 then
10335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10336 /* end confdefs.h. */
10337 #include <X11/Xlib.h>
10338 #include <X11/extensions/Xinerama.h>
10340 main ()
10342 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10344 return 0;
10346 _ACEOF
10347 if ac_fn_c_try_compile "$LINENO"; then :
10348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10349 $as_echo_n "checking for -lXinerama... " >&6; }
10350 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10351 $as_echo_n "(cached) " >&6
10352 else
10353 ac_check_soname_save_LIBS=$LIBS
10354 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10356 /* end confdefs.h. */
10358 /* Override any GCC internal prototype to avoid an error.
10359 Use char because int might match the return type of a GCC
10360 builtin and then its argument prototype would still apply. */
10361 #ifdef __cplusplus
10362 extern "C"
10363 #endif
10364 char XineramaQueryScreens ();
10366 main ()
10368 return XineramaQueryScreens ();
10370 return 0;
10372 _ACEOF
10373 if ac_fn_c_try_link "$LINENO"; then :
10374 case "$LIBEXT" in
10375 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10376 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'` ;;
10377 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10378 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10379 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10380 fi ;;
10381 esac
10383 rm -f core conftest.err conftest.$ac_objext \
10384 conftest$ac_exeext conftest.$ac_ext
10385 LIBS=$ac_check_soname_save_LIBS
10387 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10389 $as_echo "not found" >&6; }
10391 else
10392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10393 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10395 cat >>confdefs.h <<_ACEOF
10396 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10397 _ACEOF
10402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10404 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10405 case "x$with_xinerama" in
10406 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10407 xno) ;;
10408 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10409 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10410 esac
10414 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10415 then
10416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10417 $as_echo_n "checking for -lXcomposite... " >&6; }
10418 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10419 $as_echo_n "(cached) " >&6
10420 else
10421 ac_check_soname_save_LIBS=$LIBS
10422 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10424 /* end confdefs.h. */
10426 /* Override any GCC internal prototype to avoid an error.
10427 Use char because int might match the return type of a GCC
10428 builtin and then its argument prototype would still apply. */
10429 #ifdef __cplusplus
10430 extern "C"
10431 #endif
10432 char XCompositeRedirectWindow ();
10434 main ()
10436 return XCompositeRedirectWindow ();
10438 return 0;
10440 _ACEOF
10441 if ac_fn_c_try_link "$LINENO"; then :
10442 case "$LIBEXT" in
10443 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10444 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'` ;;
10445 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10446 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10447 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10448 fi ;;
10449 esac
10451 rm -f core conftest.err conftest.$ac_objext \
10452 conftest$ac_exeext conftest.$ac_ext
10453 LIBS=$ac_check_soname_save_LIBS
10455 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10457 $as_echo "not found" >&6; }
10459 else
10460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10461 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10463 cat >>confdefs.h <<_ACEOF
10464 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10465 _ACEOF
10470 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10471 case "x$with_xcomposite" in
10472 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10473 xno) ;;
10474 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10475 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10476 esac
10480 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10481 #include <X11/Xlib.h>
10482 #endif
10484 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10486 cat >>confdefs.h <<_ACEOF
10487 #define HAVE_XICCALLBACK_CALLBACK 1
10488 _ACEOF
10492 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10493 #include <X11/Xlib.h>
10494 #endif
10496 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10498 cat >>confdefs.h <<_ACEOF
10499 #define HAVE_XEVENT_XCOOKIE 1
10500 _ACEOF
10507 opengl_msg=""
10508 if test "x$with_opengl" != "xno"
10509 then
10510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10511 $as_echo_n "checking for -lGL... " >&6; }
10512 if ${ac_cv_lib_soname_GL+:} false; then :
10513 $as_echo_n "(cached) " >&6
10514 else
10515 ac_check_soname_save_LIBS=$LIBS
10516 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10518 /* end confdefs.h. */
10520 /* Override any GCC internal prototype to avoid an error.
10521 Use char because int might match the return type of a GCC
10522 builtin and then its argument prototype would still apply. */
10523 #ifdef __cplusplus
10524 extern "C"
10525 #endif
10526 char glXCreateContext ();
10528 main ()
10530 return glXCreateContext ();
10532 return 0;
10534 _ACEOF
10535 if ac_fn_c_try_link "$LINENO"; then :
10536 case "$LIBEXT" in
10537 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10538 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'` ;;
10539 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10540 if ${ac_cv_lib_soname_GL:+false} :; then :
10541 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10542 fi ;;
10543 esac
10545 rm -f core conftest.err conftest.$ac_objext \
10546 conftest$ac_exeext conftest.$ac_ext
10547 LIBS=$ac_check_soname_save_LIBS
10549 if ${ac_cv_lib_soname_GL:+false} :; then :
10550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10551 $as_echo "not found" >&6; }
10552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10553 $as_echo_n "checking for -lGL... " >&6; }
10554 if ${ac_cv_lib_soname_GL+:} false; then :
10555 $as_echo_n "(cached) " >&6
10556 else
10557 ac_check_soname_save_LIBS=$LIBS
10558 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"
10559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10560 /* end confdefs.h. */
10562 /* Override any GCC internal prototype to avoid an error.
10563 Use char because int might match the return type of a GCC
10564 builtin and then its argument prototype would still apply. */
10565 #ifdef __cplusplus
10566 extern "C"
10567 #endif
10568 char glXCreateContext ();
10570 main ()
10572 return glXCreateContext ();
10574 return 0;
10576 _ACEOF
10577 if ac_fn_c_try_link "$LINENO"; then :
10578 case "$LIBEXT" in
10579 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10580 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'` ;;
10581 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10582 if ${ac_cv_lib_soname_GL:+false} :; then :
10583 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10584 fi ;;
10585 esac
10587 rm -f core conftest.err conftest.$ac_objext \
10588 conftest$ac_exeext conftest.$ac_ext
10589 LIBS=$ac_check_soname_save_LIBS
10591 if ${ac_cv_lib_soname_GL:+false} :; then :
10592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10593 $as_echo "not found" >&6; }
10594 if test -f /usr/X11R6/lib/libGL.a
10595 then
10596 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10597 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10598 else
10599 opengl_msg="No OpenGL library found on this system."
10601 else
10602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10603 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10605 cat >>confdefs.h <<_ACEOF
10606 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10607 _ACEOF
10609 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"
10611 else
10612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10613 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10615 cat >>confdefs.h <<_ACEOF
10616 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10617 _ACEOF
10619 OPENGL_LIBS="-lGL"
10621 if test "x$with_glu" != "xno"
10622 then
10623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10624 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10625 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10626 $as_echo_n "(cached) " >&6
10627 else
10628 ac_check_lib_save_LIBS=$LIBS
10629 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10631 /* end confdefs.h. */
10633 /* Override any GCC internal prototype to avoid an error.
10634 Use char because int might match the return type of a GCC
10635 builtin and then its argument prototype would still apply. */
10636 #ifdef __cplusplus
10637 extern "C"
10638 #endif
10639 char gluLookAt ();
10641 main ()
10643 return gluLookAt ();
10645 return 0;
10647 _ACEOF
10648 if ac_fn_c_try_link "$LINENO"; then :
10649 ac_cv_lib_GLU_gluLookAt=yes
10650 else
10651 ac_cv_lib_GLU_gluLookAt=no
10653 rm -f core conftest.err conftest.$ac_objext \
10654 conftest$ac_exeext conftest.$ac_ext
10655 LIBS=$ac_check_lib_save_LIBS
10657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10658 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10659 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10663 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10664 case "x$with_glu" in
10665 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10666 xno) ;;
10667 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10668 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10669 esac
10674 if test "x$with_osmesa" != "xno"
10675 then
10676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10677 $as_echo_n "checking for -lOSMesa... " >&6; }
10678 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10679 $as_echo_n "(cached) " >&6
10680 else
10681 ac_check_soname_save_LIBS=$LIBS
10682 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10684 /* end confdefs.h. */
10686 /* Override any GCC internal prototype to avoid an error.
10687 Use char because int might match the return type of a GCC
10688 builtin and then its argument prototype would still apply. */
10689 #ifdef __cplusplus
10690 extern "C"
10691 #endif
10692 char glAccum ();
10694 main ()
10696 return glAccum ();
10698 return 0;
10700 _ACEOF
10701 if ac_fn_c_try_link "$LINENO"; then :
10702 case "$LIBEXT" in
10703 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10704 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'` ;;
10705 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10706 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10707 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10708 fi ;;
10709 esac
10711 rm -f core conftest.err conftest.$ac_objext \
10712 conftest$ac_exeext conftest.$ac_ext
10713 LIBS=$ac_check_soname_save_LIBS
10715 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10717 $as_echo "not found" >&6; }
10719 else
10720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10721 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10723 cat >>confdefs.h <<_ACEOF
10724 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10725 _ACEOF
10729 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10730 case "x$with_osmesa" in
10731 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10732 xno) ;;
10733 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10734 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10735 esac
10740 if test -n "$opengl_msg"; then :
10741 case "x$with_opengl" in
10742 x) as_fn_append wine_warnings "|$opengl_msg
10743 OpenGL and Direct3D won't be supported." ;;
10744 xno) ;;
10745 *) as_fn_error $? "$opengl_msg
10746 OpenGL and Direct3D won't be supported.
10747 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10748 esac
10752 CPPFLAGS="$ac_save_CPPFLAGS"
10753 else
10754 X_CFLAGS=""
10755 X_LIBS=""
10757 if test "x$X_LIBS" = "x"; then :
10758 case "x$with_x" in
10759 xno) ;;
10760 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10761 without X support, which probably isn't what you want. You will need
10762 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10763 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10764 esac
10765 enable_winex11_drv=${enable_winex11_drv:-no}
10768 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10770 if test "$ac_cv_header_CL_cl_h" = "yes"
10771 then
10772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10773 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10774 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10775 $as_echo_n "(cached) " >&6
10776 else
10777 ac_check_lib_save_LIBS=$LIBS
10778 LIBS="-lOpenCL $LIBS"
10779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10780 /* end confdefs.h. */
10782 /* Override any GCC internal prototype to avoid an error.
10783 Use char because int might match the return type of a GCC
10784 builtin and then its argument prototype would still apply. */
10785 #ifdef __cplusplus
10786 extern "C"
10787 #endif
10788 char clGetPlatformInfo ();
10790 main ()
10792 return clGetPlatformInfo ();
10794 return 0;
10796 _ACEOF
10797 if ac_fn_c_try_link "$LINENO"; then :
10798 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10799 else
10800 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10802 rm -f core conftest.err conftest.$ac_objext \
10803 conftest$ac_exeext conftest.$ac_ext
10804 LIBS=$ac_check_lib_save_LIBS
10806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10807 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10808 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10809 OPENCL_LIBS="-lOpenCL"
10814 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10815 case "x$with_opencl" in
10816 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10817 xno) ;;
10818 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10819 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10820 esac
10821 enable_opencl=${enable_opencl:-no}
10824 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10825 then
10826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10827 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10828 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10829 $as_echo_n "(cached) " >&6
10830 else
10831 ac_check_lib_save_LIBS=$LIBS
10832 LIBS="-lpcap $LIBS"
10833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10834 /* end confdefs.h. */
10836 /* Override any GCC internal prototype to avoid an error.
10837 Use char because int might match the return type of a GCC
10838 builtin and then its argument prototype would still apply. */
10839 #ifdef __cplusplus
10840 extern "C"
10841 #endif
10842 char pcap_create ();
10844 main ()
10846 return pcap_create ();
10848 return 0;
10850 _ACEOF
10851 if ac_fn_c_try_link "$LINENO"; then :
10852 ac_cv_lib_pcap_pcap_create=yes
10853 else
10854 ac_cv_lib_pcap_pcap_create=no
10856 rm -f core conftest.err conftest.$ac_objext \
10857 conftest$ac_exeext conftest.$ac_ext
10858 LIBS=$ac_check_lib_save_LIBS
10860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10861 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10862 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10863 PCAP_LIBS="-lpcap"
10868 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10869 case "x$with_pcap" in
10870 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10871 xno) ;;
10872 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10873 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10874 esac
10875 enable_wpcap=${enable_wpcap:-no}
10879 if test "x$with_xml" != "xno"
10880 then
10881 if ${XML2_CFLAGS:+false} :; then :
10882 if ${PKG_CONFIG+:} false; then :
10883 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10886 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
10887 if ${XML2_LIBS:+false} :; then :
10888 if ${PKG_CONFIG+:} false; then :
10889 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10892 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
10893 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10894 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10895 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10896 ac_save_CPPFLAGS=$CPPFLAGS
10897 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10898 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10899 do :
10900 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10901 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10902 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10903 cat >>confdefs.h <<_ACEOF
10904 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10905 _ACEOF
10909 done
10911 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"
10912 then
10913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10914 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10915 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10916 $as_echo_n "(cached) " >&6
10917 else
10918 ac_check_lib_save_LIBS=$LIBS
10919 LIBS="-lxml2 $XML2_LIBS $LIBS"
10920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10921 /* end confdefs.h. */
10923 /* Override any GCC internal prototype to avoid an error.
10924 Use char because int might match the return type of a GCC
10925 builtin and then its argument prototype would still apply. */
10926 #ifdef __cplusplus
10927 extern "C"
10928 #endif
10929 char xmlParseMemory ();
10931 main ()
10933 return xmlParseMemory ();
10935 return 0;
10937 _ACEOF
10938 if ac_fn_c_try_link "$LINENO"; then :
10939 ac_cv_lib_xml2_xmlParseMemory=yes
10940 else
10941 ac_cv_lib_xml2_xmlParseMemory=no
10943 rm -f core conftest.err conftest.$ac_objext \
10944 conftest$ac_exeext conftest.$ac_ext
10945 LIBS=$ac_check_lib_save_LIBS
10947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10948 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10949 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10951 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10953 else
10954 XML2_LIBS=""
10957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10958 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10959 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10960 $as_echo_n "(cached) " >&6
10961 else
10962 ac_check_lib_save_LIBS=$LIBS
10963 LIBS="-lxml2 $XML2_LIBS $LIBS"
10964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10965 /* end confdefs.h. */
10967 /* Override any GCC internal prototype to avoid an error.
10968 Use char because int might match the return type of a GCC
10969 builtin and then its argument prototype would still apply. */
10970 #ifdef __cplusplus
10971 extern "C"
10972 #endif
10973 char xmlReadMemory ();
10975 main ()
10977 return xmlReadMemory ();
10979 return 0;
10981 _ACEOF
10982 if ac_fn_c_try_link "$LINENO"; then :
10983 ac_cv_lib_xml2_xmlReadMemory=yes
10984 else
10985 ac_cv_lib_xml2_xmlReadMemory=no
10987 rm -f core conftest.err conftest.$ac_objext \
10988 conftest$ac_exeext conftest.$ac_ext
10989 LIBS=$ac_check_lib_save_LIBS
10991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10992 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10993 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10995 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11000 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11001 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11002 $as_echo_n "(cached) " >&6
11003 else
11004 ac_check_lib_save_LIBS=$LIBS
11005 LIBS="-lxml2 $XML2_LIBS $LIBS"
11006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11007 /* end confdefs.h. */
11009 /* Override any GCC internal prototype to avoid an error.
11010 Use char because int might match the return type of a GCC
11011 builtin and then its argument prototype would still apply. */
11012 #ifdef __cplusplus
11013 extern "C"
11014 #endif
11015 char xmlNewDocPI ();
11017 main ()
11019 return xmlNewDocPI ();
11021 return 0;
11023 _ACEOF
11024 if ac_fn_c_try_link "$LINENO"; then :
11025 ac_cv_lib_xml2_xmlNewDocPI=yes
11026 else
11027 ac_cv_lib_xml2_xmlNewDocPI=no
11029 rm -f core conftest.err conftest.$ac_objext \
11030 conftest$ac_exeext conftest.$ac_ext
11031 LIBS=$ac_check_lib_save_LIBS
11033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11034 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11035 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11037 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11042 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11043 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11044 $as_echo_n "(cached) " >&6
11045 else
11046 ac_check_lib_save_LIBS=$LIBS
11047 LIBS="-lxml2 $XML2_LIBS $LIBS"
11048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11049 /* end confdefs.h. */
11051 /* Override any GCC internal prototype to avoid an error.
11052 Use char because int might match the return type of a GCC
11053 builtin and then its argument prototype would still apply. */
11054 #ifdef __cplusplus
11055 extern "C"
11056 #endif
11057 char xmlSchemaSetParserStructuredErrors ();
11059 main ()
11061 return xmlSchemaSetParserStructuredErrors ();
11063 return 0;
11065 _ACEOF
11066 if ac_fn_c_try_link "$LINENO"; then :
11067 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11068 else
11069 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11071 rm -f core conftest.err conftest.$ac_objext \
11072 conftest$ac_exeext conftest.$ac_ext
11073 LIBS=$ac_check_lib_save_LIBS
11075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11076 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11077 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11079 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11084 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11085 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11086 $as_echo_n "(cached) " >&6
11087 else
11088 ac_check_lib_save_LIBS=$LIBS
11089 LIBS="-lxml2 $XML2_LIBS $LIBS"
11090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11091 /* end confdefs.h. */
11093 /* Override any GCC internal prototype to avoid an error.
11094 Use char because int might match the return type of a GCC
11095 builtin and then its argument prototype would still apply. */
11096 #ifdef __cplusplus
11097 extern "C"
11098 #endif
11099 char xmlSchemaSetValidStructuredErrors ();
11101 main ()
11103 return xmlSchemaSetValidStructuredErrors ();
11105 return 0;
11107 _ACEOF
11108 if ac_fn_c_try_link "$LINENO"; then :
11109 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11110 else
11111 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11113 rm -f core conftest.err conftest.$ac_objext \
11114 conftest$ac_exeext conftest.$ac_ext
11115 LIBS=$ac_check_lib_save_LIBS
11117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11118 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11119 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11121 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11126 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11127 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11128 $as_echo_n "(cached) " >&6
11129 else
11130 ac_check_lib_save_LIBS=$LIBS
11131 LIBS="-lxml2 $XML2_LIBS $LIBS"
11132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11133 /* end confdefs.h. */
11135 /* Override any GCC internal prototype to avoid an error.
11136 Use char because int might match the return type of a GCC
11137 builtin and then its argument prototype would still apply. */
11138 #ifdef __cplusplus
11139 extern "C"
11140 #endif
11141 char xmlFirstElementChild ();
11143 main ()
11145 return xmlFirstElementChild ();
11147 return 0;
11149 _ACEOF
11150 if ac_fn_c_try_link "$LINENO"; then :
11151 ac_cv_lib_xml2_xmlFirstElementChild=yes
11152 else
11153 ac_cv_lib_xml2_xmlFirstElementChild=no
11155 rm -f core conftest.err conftest.$ac_objext \
11156 conftest$ac_exeext conftest.$ac_ext
11157 LIBS=$ac_check_lib_save_LIBS
11159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11160 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11161 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11163 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11167 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11169 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11171 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11175 else
11176 XML2_CFLAGS=""
11177 XML2_LIBS=""
11179 CPPFLAGS=$ac_save_CPPFLAGS
11180 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11181 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11184 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11185 case "x$with_xml" in
11186 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11187 xno) ;;
11188 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11189 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11190 esac
11194 if test "x$with_xslt" != "xno"
11195 then
11196 if ${XSLT_CFLAGS:+false} :; then :
11197 if ${PKG_CONFIG+:} false; then :
11198 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11201 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11202 if ${XSLT_LIBS:+false} :; then :
11203 if ${PKG_CONFIG+:} false; then :
11204 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11207 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11208 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11209 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11210 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11211 ac_save_CPPFLAGS=$CPPFLAGS
11212 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11213 for ac_header in libxslt/pattern.h libxslt/transform.h
11214 do :
11215 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11216 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11217 # include <libxslt/pattern.h>
11218 #endif
11220 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11221 cat >>confdefs.h <<_ACEOF
11222 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11223 _ACEOF
11227 done
11229 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11230 then
11231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11232 $as_echo_n "checking for -lxslt... " >&6; }
11233 if ${ac_cv_lib_soname_xslt+:} false; then :
11234 $as_echo_n "(cached) " >&6
11235 else
11236 ac_check_soname_save_LIBS=$LIBS
11237 LIBS="-lxslt $XSLT_LIBS $LIBS"
11238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11239 /* end confdefs.h. */
11241 /* Override any GCC internal prototype to avoid an error.
11242 Use char because int might match the return type of a GCC
11243 builtin and then its argument prototype would still apply. */
11244 #ifdef __cplusplus
11245 extern "C"
11246 #endif
11247 char xsltCompilePattern ();
11249 main ()
11251 return xsltCompilePattern ();
11253 return 0;
11255 _ACEOF
11256 if ac_fn_c_try_link "$LINENO"; then :
11257 case "$LIBEXT" in
11258 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11259 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'` ;;
11260 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11261 if ${ac_cv_lib_soname_xslt:+false} :; then :
11262 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11263 fi ;;
11264 esac
11266 rm -f core conftest.err conftest.$ac_objext \
11267 conftest$ac_exeext conftest.$ac_ext
11268 LIBS=$ac_check_soname_save_LIBS
11270 if ${ac_cv_lib_soname_xslt:+false} :; then :
11271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11272 $as_echo "not found" >&6; }
11274 else
11275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11276 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11278 cat >>confdefs.h <<_ACEOF
11279 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11280 _ACEOF
11284 else
11285 XSLT_CFLAGS=""
11287 CPPFLAGS=$ac_save_CPPFLAGS
11288 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11289 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11292 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11293 case "x$with_xslt" in
11294 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11295 xno) ;;
11296 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11297 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11298 esac
11302 if test "x$with_dbus" != "xno"
11303 then
11304 if ${DBUS_CFLAGS:+false} :; then :
11305 if ${PKG_CONFIG+:} false; then :
11306 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11310 if ${DBUS_LIBS:+false} :; then :
11311 if ${PKG_CONFIG+:} false; then :
11312 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11317 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11318 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11319 ac_save_CPPFLAGS=$CPPFLAGS
11320 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11321 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11322 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11324 $as_echo_n "checking for -ldbus-1... " >&6; }
11325 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11326 $as_echo_n "(cached) " >&6
11327 else
11328 ac_check_soname_save_LIBS=$LIBS
11329 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11331 /* end confdefs.h. */
11333 /* Override any GCC internal prototype to avoid an error.
11334 Use char because int might match the return type of a GCC
11335 builtin and then its argument prototype would still apply. */
11336 #ifdef __cplusplus
11337 extern "C"
11338 #endif
11339 char dbus_connection_close ();
11341 main ()
11343 return dbus_connection_close ();
11345 return 0;
11347 _ACEOF
11348 if ac_fn_c_try_link "$LINENO"; then :
11349 case "$LIBEXT" in
11350 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11351 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'` ;;
11352 *) 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'`
11353 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11354 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11355 fi ;;
11356 esac
11358 rm -f core conftest.err conftest.$ac_objext \
11359 conftest$ac_exeext conftest.$ac_ext
11360 LIBS=$ac_check_soname_save_LIBS
11362 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11364 $as_echo "not found" >&6; }
11365 DBUS_CFLAGS=""
11366 else
11367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11368 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11370 cat >>confdefs.h <<_ACEOF
11371 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11372 _ACEOF
11376 else
11377 DBUS_CFLAGS=""
11381 CPPFLAGS=$ac_save_CPPFLAGS
11382 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11383 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11386 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11387 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11388 case "x$with_dbus" in
11389 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11390 xno) ;;
11391 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11392 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11393 esac
11397 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11398 then
11399 if ${HAL_CFLAGS:+false} :; then :
11400 if ${PKG_CONFIG+:} false; then :
11401 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11405 if ${HAL_LIBS:+false} :; then :
11406 if ${PKG_CONFIG+:} false; then :
11407 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11411 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11412 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11413 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11414 ac_save_CPPFLAGS=$CPPFLAGS
11415 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11416 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11417 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11419 $as_echo_n "checking for -lhal... " >&6; }
11420 if ${ac_cv_lib_soname_hal+:} false; then :
11421 $as_echo_n "(cached) " >&6
11422 else
11423 ac_check_soname_save_LIBS=$LIBS
11424 LIBS="-lhal $HAL_LIBS $LIBS"
11425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11426 /* end confdefs.h. */
11428 /* Override any GCC internal prototype to avoid an error.
11429 Use char because int might match the return type of a GCC
11430 builtin and then its argument prototype would still apply. */
11431 #ifdef __cplusplus
11432 extern "C"
11433 #endif
11434 char libhal_ctx_new ();
11436 main ()
11438 return libhal_ctx_new ();
11440 return 0;
11442 _ACEOF
11443 if ac_fn_c_try_link "$LINENO"; then :
11444 case "$LIBEXT" in
11445 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11446 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'` ;;
11447 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11448 if ${ac_cv_lib_soname_hal:+false} :; then :
11449 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11450 fi ;;
11451 esac
11453 rm -f core conftest.err conftest.$ac_objext \
11454 conftest$ac_exeext conftest.$ac_ext
11455 LIBS=$ac_check_soname_save_LIBS
11457 if ${ac_cv_lib_soname_hal:+false} :; then :
11458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11459 $as_echo "not found" >&6; }
11460 HAL_CFLAGS=""
11461 else
11462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11463 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11465 cat >>confdefs.h <<_ACEOF
11466 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11467 _ACEOF
11471 else
11472 HAL_CFLAGS=""
11476 CPPFLAGS=$ac_save_CPPFLAGS
11477 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11478 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11480 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11481 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11482 case "x$with_hal" in
11483 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11484 xno) ;;
11485 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11486 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11487 esac
11492 if test "x$with_gnutls" != "xno"
11493 then
11494 if ${GNUTLS_CFLAGS:+false} :; then :
11495 if ${PKG_CONFIG+:} false; then :
11496 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11500 if ${GNUTLS_LIBS:+false} :; then :
11501 if ${PKG_CONFIG+:} false; then :
11502 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11507 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11508 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11509 ac_save_CPPFLAGS=$CPPFLAGS
11510 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11511 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11512 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11514 /* end confdefs.h. */
11515 #include <gnutls/gnutls.h>
11516 #include <gnutls/crypto.h>
11518 main ()
11520 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11522 return 0;
11524 _ACEOF
11525 if ac_fn_c_try_compile "$LINENO"; then :
11526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11527 $as_echo_n "checking for -lgnutls... " >&6; }
11528 if ${ac_cv_lib_soname_gnutls+:} false; then :
11529 $as_echo_n "(cached) " >&6
11530 else
11531 ac_check_soname_save_LIBS=$LIBS
11532 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11534 /* end confdefs.h. */
11536 /* Override any GCC internal prototype to avoid an error.
11537 Use char because int might match the return type of a GCC
11538 builtin and then its argument prototype would still apply. */
11539 #ifdef __cplusplus
11540 extern "C"
11541 #endif
11542 char gnutls_global_init ();
11544 main ()
11546 return gnutls_global_init ();
11548 return 0;
11550 _ACEOF
11551 if ac_fn_c_try_link "$LINENO"; then :
11552 case "$LIBEXT" in
11553 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11554 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'` ;;
11555 *) 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'`
11556 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11557 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'`
11558 fi ;;
11559 esac
11561 rm -f core conftest.err conftest.$ac_objext \
11562 conftest$ac_exeext conftest.$ac_ext
11563 LIBS=$ac_check_soname_save_LIBS
11565 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11567 $as_echo "not found" >&6; }
11568 GNUTLS_CFLAGS=""
11569 else
11570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11571 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11573 cat >>confdefs.h <<_ACEOF
11574 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11575 _ACEOF
11579 ac_wine_check_funcs_save_LIBS="$LIBS"
11580 LIBS="$LIBS $GNUTLS_LIBS"
11581 for ac_func in gnutls_hash
11582 do :
11583 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11584 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11585 cat >>confdefs.h <<_ACEOF
11586 #define HAVE_GNUTLS_HASH 1
11587 _ACEOF
11589 else
11590 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11592 done
11594 LIBS="$ac_wine_check_funcs_save_LIBS"
11596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11597 else
11598 GNUTLS_CFLAGS=""
11602 CPPFLAGS=$ac_save_CPPFLAGS
11603 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11604 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11607 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11608 case "x$with_gnutls" in
11609 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11610 xno) ;;
11611 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11612 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11613 esac
11617 CURSES_LIBS=""
11618 if test "$ac_cv_header_ncurses_h" = "yes"
11619 then
11620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11621 $as_echo_n "checking for -lncurses... " >&6; }
11622 if ${ac_cv_lib_soname_ncurses+:} false; then :
11623 $as_echo_n "(cached) " >&6
11624 else
11625 ac_check_soname_save_LIBS=$LIBS
11626 LIBS="-lncurses $LIBS"
11627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11628 /* end confdefs.h. */
11630 /* Override any GCC internal prototype to avoid an error.
11631 Use char because int might match the return type of a GCC
11632 builtin and then its argument prototype would still apply. */
11633 #ifdef __cplusplus
11634 extern "C"
11635 #endif
11636 char waddch ();
11638 main ()
11640 return waddch ();
11642 return 0;
11644 _ACEOF
11645 if ac_fn_c_try_link "$LINENO"; then :
11646 case "$LIBEXT" in
11647 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11648 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'` ;;
11649 *) 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'`
11650 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11651 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11652 fi ;;
11653 esac
11655 rm -f core conftest.err conftest.$ac_objext \
11656 conftest$ac_exeext conftest.$ac_ext
11657 LIBS=$ac_check_soname_save_LIBS
11659 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11661 $as_echo "not found" >&6; }
11663 else
11664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11665 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11667 cat >>confdefs.h <<_ACEOF
11668 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11669 _ACEOF
11671 CURSES_LIBS="-lncurses"
11673 elif test "$ac_cv_header_curses_h" = "yes"
11674 then
11675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11676 $as_echo_n "checking for -lcurses... " >&6; }
11677 if ${ac_cv_lib_soname_curses+:} false; then :
11678 $as_echo_n "(cached) " >&6
11679 else
11680 ac_check_soname_save_LIBS=$LIBS
11681 LIBS="-lcurses $LIBS"
11682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11683 /* end confdefs.h. */
11685 /* Override any GCC internal prototype to avoid an error.
11686 Use char because int might match the return type of a GCC
11687 builtin and then its argument prototype would still apply. */
11688 #ifdef __cplusplus
11689 extern "C"
11690 #endif
11691 char waddch ();
11693 main ()
11695 return waddch ();
11697 return 0;
11699 _ACEOF
11700 if ac_fn_c_try_link "$LINENO"; then :
11701 case "$LIBEXT" in
11702 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11703 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'` ;;
11704 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11705 if ${ac_cv_lib_soname_curses:+false} :; then :
11706 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11707 fi ;;
11708 esac
11710 rm -f core conftest.err conftest.$ac_objext \
11711 conftest$ac_exeext conftest.$ac_ext
11712 LIBS=$ac_check_soname_save_LIBS
11714 if ${ac_cv_lib_soname_curses:+false} :; then :
11715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11716 $as_echo "not found" >&6; }
11718 else
11719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11720 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11722 cat >>confdefs.h <<_ACEOF
11723 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11724 _ACEOF
11726 CURSES_LIBS="-lcurses"
11729 ac_save_LIBS="$LIBS"
11730 LIBS="$LIBS $CURSES_LIBS"
11731 for ac_func in mousemask
11732 do :
11733 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11734 if test "x$ac_cv_func_mousemask" = xyes; then :
11735 cat >>confdefs.h <<_ACEOF
11736 #define HAVE_MOUSEMASK 1
11737 _ACEOF
11740 done
11742 LIBS="$ac_save_LIBS"
11743 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11744 case "x$with_curses" in
11745 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11746 xno) ;;
11747 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11748 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11749 esac
11753 if test "x$with_sane" != "xno"
11754 then
11755 if ${SANE_CFLAGS:+false} :; then :
11756 if ${PKG_CONFIG+:} false; then :
11757 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11760 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11761 if ${SANE_LIBS:+false} :; then :
11762 if ${PKG_CONFIG+:} false; then :
11763 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11766 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11768 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11769 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11770 ac_save_CPPFLAGS=$CPPFLAGS
11771 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11772 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11773 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11775 $as_echo_n "checking for -lsane... " >&6; }
11776 if ${ac_cv_lib_soname_sane+:} false; then :
11777 $as_echo_n "(cached) " >&6
11778 else
11779 ac_check_soname_save_LIBS=$LIBS
11780 LIBS="-lsane $SANE_LIBS $LIBS"
11781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11782 /* end confdefs.h. */
11784 /* Override any GCC internal prototype to avoid an error.
11785 Use char because int might match the return type of a GCC
11786 builtin and then its argument prototype would still apply. */
11787 #ifdef __cplusplus
11788 extern "C"
11789 #endif
11790 char sane_init ();
11792 main ()
11794 return sane_init ();
11796 return 0;
11798 _ACEOF
11799 if ac_fn_c_try_link "$LINENO"; then :
11800 case "$LIBEXT" in
11801 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11802 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'` ;;
11803 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11804 if ${ac_cv_lib_soname_sane:+false} :; then :
11805 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11806 fi ;;
11807 esac
11809 rm -f core conftest.err conftest.$ac_objext \
11810 conftest$ac_exeext conftest.$ac_ext
11811 LIBS=$ac_check_soname_save_LIBS
11813 if ${ac_cv_lib_soname_sane:+false} :; then :
11814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11815 $as_echo "not found" >&6; }
11816 SANE_CFLAGS=""
11817 else
11818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11819 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11821 cat >>confdefs.h <<_ACEOF
11822 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11823 _ACEOF
11827 else
11828 SANE_CFLAGS=""
11832 CPPFLAGS=$ac_save_CPPFLAGS
11833 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11834 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11837 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11838 case "x$with_sane" in
11839 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11840 xno) ;;
11841 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11842 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11843 esac
11847 if test "x$with_v4l" != "xno"
11848 then
11849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11850 $as_echo_n "checking for -lv4l1... " >&6; }
11851 if ${ac_cv_lib_soname_v4l1+:} false; then :
11852 $as_echo_n "(cached) " >&6
11853 else
11854 ac_check_soname_save_LIBS=$LIBS
11855 LIBS="-lv4l1 $LIBS"
11856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11857 /* end confdefs.h. */
11859 /* Override any GCC internal prototype to avoid an error.
11860 Use char because int might match the return type of a GCC
11861 builtin and then its argument prototype would still apply. */
11862 #ifdef __cplusplus
11863 extern "C"
11864 #endif
11865 char v4l1_open ();
11867 main ()
11869 return v4l1_open ();
11871 return 0;
11873 _ACEOF
11874 if ac_fn_c_try_link "$LINENO"; then :
11875 case "$LIBEXT" in
11876 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11877 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'` ;;
11878 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11879 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11880 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11881 fi ;;
11882 esac
11884 rm -f core conftest.err conftest.$ac_objext \
11885 conftest$ac_exeext conftest.$ac_ext
11886 LIBS=$ac_check_soname_save_LIBS
11888 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11890 $as_echo "not found" >&6; }
11892 else
11893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11894 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11896 cat >>confdefs.h <<_ACEOF
11897 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11898 _ACEOF
11903 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11904 case "x$with_v4l" in
11905 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11906 xno) ;;
11907 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11908 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11909 esac
11913 if test "x$with_gphoto" != "xno"
11914 then
11915 if ${GPHOTO2_CFLAGS:+false} :; then :
11916 if ${PKG_CONFIG+:} false; then :
11917 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11920 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
11921 if ${GPHOTO2_LIBS:+false} :; then :
11922 if ${PKG_CONFIG+:} false; then :
11923 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11926 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
11927 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11928 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11929 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11930 ac_save_CPPFLAGS=$CPPFLAGS
11931 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11932 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11933 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11935 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11936 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11937 $as_echo_n "(cached) " >&6
11938 else
11939 ac_check_lib_save_LIBS=$LIBS
11940 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11942 /* end confdefs.h. */
11944 /* Override any GCC internal prototype to avoid an error.
11945 Use char because int might match the return type of a GCC
11946 builtin and then its argument prototype would still apply. */
11947 #ifdef __cplusplus
11948 extern "C"
11949 #endif
11950 char gp_camera_new ();
11952 main ()
11954 return gp_camera_new ();
11956 return 0;
11958 _ACEOF
11959 if ac_fn_c_try_link "$LINENO"; then :
11960 ac_cv_lib_gphoto2_gp_camera_new=yes
11961 else
11962 ac_cv_lib_gphoto2_gp_camera_new=no
11964 rm -f core conftest.err conftest.$ac_objext \
11965 conftest$ac_exeext conftest.$ac_ext
11966 LIBS=$ac_check_lib_save_LIBS
11968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11969 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11970 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11972 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11974 else
11975 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11978 else
11979 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11983 CPPFLAGS=$ac_save_CPPFLAGS
11984 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11985 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11987 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11988 if ${PKG_CONFIG+:} false; then :
11989 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11992 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
11993 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11994 if ${PKG_CONFIG+:} false; then :
11995 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11998 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
11999 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12000 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12001 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12002 ac_save_CPPFLAGS=$CPPFLAGS
12003 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12004 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12005 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12007 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12008 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12009 $as_echo_n "(cached) " >&6
12010 else
12011 ac_check_lib_save_LIBS=$LIBS
12012 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $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 gp_port_info_list_new ();
12024 main ()
12026 return gp_port_info_list_new ();
12028 return 0;
12030 _ACEOF
12031 if ac_fn_c_try_link "$LINENO"; then :
12032 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12033 else
12034 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12036 rm -f core conftest.err conftest.$ac_objext \
12037 conftest$ac_exeext conftest.$ac_ext
12038 LIBS=$ac_check_lib_save_LIBS
12040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12041 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12042 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12044 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12046 else
12047 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12050 else
12051 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12055 CPPFLAGS=$ac_save_CPPFLAGS
12056 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12057 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12060 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12061 case "x$with_gphoto" in
12062 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12063 xno) ;;
12064 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12065 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12066 esac
12069 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12070 case "x$with_gphoto" in
12071 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12072 xno) ;;
12073 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12074 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12075 esac
12080 if test "$ac_cv_header_resolv_h" = "yes"
12081 then
12082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12083 $as_echo_n "checking for resolver library... " >&6; }
12084 if ${ac_cv_have_resolv+:} false; then :
12085 $as_echo_n "(cached) " >&6
12086 else
12087 ac_save_LIBS="$LIBS"
12088 for lib in '' -lresolv
12090 LIBS="$lib $ac_save_LIBS"
12091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12092 /* end confdefs.h. */
12093 #ifdef HAVE_NETINET_IN_H
12094 #include <netinet/in.h>
12095 #endif
12096 #include <resolv.h>
12098 main ()
12100 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12102 return 0;
12104 _ACEOF
12105 if ac_fn_c_try_link "$LINENO"; then :
12106 ac_cv_have_resolv=${lib:-"none required"}
12107 else
12108 ac_cv_have_resolv="not found"
12110 rm -f core conftest.err conftest.$ac_objext \
12111 conftest$ac_exeext conftest.$ac_ext
12112 test "x$ac_cv_have_resolv" = "xnot found" || break
12113 done
12114 LIBS="$ac_save_LIBS"
12116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12117 $as_echo "$ac_cv_have_resolv" >&6; }
12119 case "$ac_cv_have_resolv" in
12120 "not found") ;;
12121 "none required")
12123 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12126 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12128 RESOLV_LIBS=$ac_cv_have_resolv
12130 esac
12133 if test "x$with_cms" != "xno"
12134 then
12135 if ${LCMS2_CFLAGS:+false} :; then :
12136 if ${PKG_CONFIG+:} false; then :
12137 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12141 if ${LCMS2_LIBS:+false} :; then :
12142 if ${PKG_CONFIG+:} false; then :
12143 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12147 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12148 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12149 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12150 ac_save_CPPFLAGS=$CPPFLAGS
12151 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12152 for ac_header in lcms2.h
12153 do :
12154 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12155 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12156 cat >>confdefs.h <<_ACEOF
12157 #define HAVE_LCMS2_H 1
12158 _ACEOF
12162 done
12164 if test "$ac_cv_header_lcms2_h" = "yes"
12165 then
12166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12167 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12168 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12169 $as_echo_n "(cached) " >&6
12170 else
12171 ac_check_lib_save_LIBS=$LIBS
12172 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12174 /* end confdefs.h. */
12176 /* Override any GCC internal prototype to avoid an error.
12177 Use char because int might match the return type of a GCC
12178 builtin and then its argument prototype would still apply. */
12179 #ifdef __cplusplus
12180 extern "C"
12181 #endif
12182 char cmsOpenProfileFromFile ();
12184 main ()
12186 return cmsOpenProfileFromFile ();
12188 return 0;
12190 _ACEOF
12191 if ac_fn_c_try_link "$LINENO"; then :
12192 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12193 else
12194 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12196 rm -f core conftest.err conftest.$ac_objext \
12197 conftest$ac_exeext conftest.$ac_ext
12198 LIBS=$ac_check_lib_save_LIBS
12200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12201 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12202 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12204 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12206 else
12207 LCMS2_LIBS=""
12210 else
12211 LCMS2_CFLAGS=""
12212 LCMS2_LIBS=""
12214 CPPFLAGS=$ac_save_CPPFLAGS
12215 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12216 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12219 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12220 case "x$with_cms" in
12221 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12222 xno) ;;
12223 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12224 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12225 esac
12229 if test "x$with_freetype" != "xno"
12230 then
12231 if ${FREETYPE_CFLAGS:+false} :; then :
12232 if ${PKG_CONFIG+:} false; then :
12233 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12236 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12237 if ${FREETYPE_LIBS:+false} :; then :
12238 if ${PKG_CONFIG+:} false; then :
12239 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12242 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12243 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12244 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12245 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12246 ac_save_CPPFLAGS=$CPPFLAGS
12247 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12248 for ac_header in ft2build.h
12249 do :
12250 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12251 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12252 cat >>confdefs.h <<_ACEOF
12253 #define HAVE_FT2BUILD_H 1
12254 _ACEOF
12258 done
12260 if test "$ac_cv_header_ft2build_h" = "yes"
12261 then
12262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12263 $as_echo_n "checking for -lfreetype... " >&6; }
12264 if ${ac_cv_lib_soname_freetype+:} false; then :
12265 $as_echo_n "(cached) " >&6
12266 else
12267 ac_check_soname_save_LIBS=$LIBS
12268 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12270 /* end confdefs.h. */
12272 /* Override any GCC internal prototype to avoid an error.
12273 Use char because int might match the return type of a GCC
12274 builtin and then its argument prototype would still apply. */
12275 #ifdef __cplusplus
12276 extern "C"
12277 #endif
12278 char FT_Init_FreeType ();
12280 main ()
12282 return FT_Init_FreeType ();
12284 return 0;
12286 _ACEOF
12287 if ac_fn_c_try_link "$LINENO"; then :
12288 case "$LIBEXT" in
12289 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12290 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'` ;;
12291 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12292 if ${ac_cv_lib_soname_freetype:+false} :; then :
12293 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12294 fi ;;
12295 esac
12297 rm -f core conftest.err conftest.$ac_objext \
12298 conftest$ac_exeext conftest.$ac_ext
12299 LIBS=$ac_check_soname_save_LIBS
12301 if ${ac_cv_lib_soname_freetype:+false} :; then :
12302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12303 $as_echo "not found" >&6; }
12304 FREETYPE_LIBS=""
12305 else
12306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12307 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12309 cat >>confdefs.h <<_ACEOF
12310 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12311 _ACEOF
12314 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12316 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12317 #include FT_MODULE_H
12319 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12321 cat >>confdefs.h <<_ACEOF
12322 #define HAVE_FT_TRUETYPEENGINETYPE 1
12323 _ACEOF
12329 else
12330 FREETYPE_CFLAGS=""
12331 FREETYPE_LIBS=""
12333 CPPFLAGS=$ac_save_CPPFLAGS
12334 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12335 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12338 if test "x$ac_cv_lib_soname_freetype" = x; then :
12339 case "x$with_freetype" in
12340 xno) ;;
12341 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12342 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12343 esac
12344 enable_fonts=${enable_fonts:-no}
12347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12348 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12349 if ${ac_cv_c_ppdev+:} false; then :
12350 $as_echo_n "(cached) " >&6
12351 else
12352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12353 /* end confdefs.h. */
12354 #ifdef HAVE_SYS_IOCTL_H
12355 # include <sys/ioctl.h>
12356 #endif
12357 #include <linux/ppdev.h>
12359 main ()
12361 ioctl (1,PPCLAIM,0)
12363 return 0;
12365 _ACEOF
12366 if ac_fn_c_try_compile "$LINENO"; then :
12367 ac_cv_c_ppdev="yes"
12368 else
12369 ac_cv_c_ppdev="no"
12371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12374 $as_echo "$ac_cv_c_ppdev" >&6; }
12375 if test "$ac_cv_c_ppdev" = "yes"
12376 then
12378 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12382 ac_wine_check_funcs_save_LIBS="$LIBS"
12383 LIBS="$LIBS $PTHREAD_LIBS"
12384 for ac_func in \
12385 pthread_attr_get_np \
12386 pthread_getattr_np \
12387 pthread_getthreadid_np \
12388 pthread_get_stackaddr_np \
12389 pthread_get_stacksize_np
12390 do :
12391 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12392 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12393 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12394 cat >>confdefs.h <<_ACEOF
12395 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12396 _ACEOF
12399 done
12401 LIBS="$ac_wine_check_funcs_save_LIBS"
12403 if test "$ac_cv_header_zlib_h" = "yes"
12404 then
12405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12406 $as_echo_n "checking for inflate in -lz... " >&6; }
12407 if ${ac_cv_lib_z_inflate+:} false; then :
12408 $as_echo_n "(cached) " >&6
12409 else
12410 ac_check_lib_save_LIBS=$LIBS
12411 LIBS="-lz $LIBS"
12412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12413 /* end confdefs.h. */
12415 /* Override any GCC internal prototype to avoid an error.
12416 Use char because int might match the return type of a GCC
12417 builtin and then its argument prototype would still apply. */
12418 #ifdef __cplusplus
12419 extern "C"
12420 #endif
12421 char inflate ();
12423 main ()
12425 return inflate ();
12427 return 0;
12429 _ACEOF
12430 if ac_fn_c_try_link "$LINENO"; then :
12431 ac_cv_lib_z_inflate=yes
12432 else
12433 ac_cv_lib_z_inflate=no
12435 rm -f core conftest.err conftest.$ac_objext \
12436 conftest$ac_exeext conftest.$ac_ext
12437 LIBS=$ac_check_lib_save_LIBS
12439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12440 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12441 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12443 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12445 Z_LIBS="-lz"
12450 if test "x$Z_LIBS" = "x"; then :
12451 case "x$with_zlib" in
12452 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12453 xno) ;;
12454 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12455 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12456 esac
12460 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12461 then
12462 if test "$ac_cv_header_gettext_po_h" = "yes"
12463 then
12464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12465 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12466 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12467 $as_echo_n "(cached) " >&6
12468 else
12469 ac_check_lib_save_LIBS=$LIBS
12470 LIBS="-lgettextpo $LIBS"
12471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12472 /* end confdefs.h. */
12474 /* Override any GCC internal prototype to avoid an error.
12475 Use char because int might match the return type of a GCC
12476 builtin and then its argument prototype would still apply. */
12477 #ifdef __cplusplus
12478 extern "C"
12479 #endif
12480 char po_message_msgctxt ();
12482 main ()
12484 return po_message_msgctxt ();
12486 return 0;
12488 _ACEOF
12489 if ac_fn_c_try_link "$LINENO"; then :
12490 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12491 else
12492 ac_cv_lib_gettextpo_po_message_msgctxt=no
12494 rm -f core conftest.err conftest.$ac_objext \
12495 conftest$ac_exeext conftest.$ac_ext
12496 LIBS=$ac_check_lib_save_LIBS
12498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12499 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12500 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12502 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12504 GETTEXTPO_LIBS="-lgettextpo"
12509 if test "x$GETTEXTPO_LIBS" = "x"; then :
12510 case "x$with_gettextpo" in
12511 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12512 xno) ;;
12513 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12514 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12515 esac
12518 if test "$srcdir" != .; then :
12519 case "x$with_gettextpo" in
12520 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12521 xno) ;;
12522 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12523 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12524 esac
12529 if test "x$with_pulse" != "xno";
12530 then
12531 if ${PULSE_CFLAGS:+false} :; then :
12532 if ${PKG_CONFIG+:} false; then :
12533 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12537 if ${PULSE_LIBS:+false} :; then :
12538 if ${PKG_CONFIG+:} false; then :
12539 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12544 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12545 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12546 ac_save_CPPFLAGS=$CPPFLAGS
12547 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12548 for ac_header in pulse/pulseaudio.h
12549 do :
12550 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12551 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12552 cat >>confdefs.h <<_ACEOF
12553 #define HAVE_PULSE_PULSEAUDIO_H 1
12554 _ACEOF
12555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12556 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12557 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12558 $as_echo_n "(cached) " >&6
12559 else
12560 ac_check_lib_save_LIBS=$LIBS
12561 LIBS="-lpulse $PULSE_LIBS $LIBS"
12562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12563 /* end confdefs.h. */
12565 /* Override any GCC internal prototype to avoid an error.
12566 Use char because int might match the return type of a GCC
12567 builtin and then its argument prototype would still apply. */
12568 #ifdef __cplusplus
12569 extern "C"
12570 #endif
12571 char pa_stream_is_corked ();
12573 main ()
12575 return pa_stream_is_corked ();
12577 return 0;
12579 _ACEOF
12580 if ac_fn_c_try_link "$LINENO"; then :
12581 ac_cv_lib_pulse_pa_stream_is_corked=yes
12582 else
12583 ac_cv_lib_pulse_pa_stream_is_corked=no
12585 rm -f core conftest.err conftest.$ac_objext \
12586 conftest$ac_exeext conftest.$ac_ext
12587 LIBS=$ac_check_lib_save_LIBS
12589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12590 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12591 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12593 else
12594 PULSE_LIBS=""
12597 else
12598 PULSE_LIBS=""
12601 done
12603 CPPFLAGS=$ac_save_CPPFLAGS
12604 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12605 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12608 if test -z "$PULSE_LIBS"; then :
12609 case "x$with_pulse" in
12610 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12611 xno) ;;
12612 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12613 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12614 esac
12615 enable_winepulse_drv=${enable_winepulse_drv:-no}
12618 if test "x$with_gstreamer" != "xno"
12619 then
12620 if ${GSTREAMER_CFLAGS:+false} :; then :
12621 if ${PKG_CONFIG+:} false; then :
12622 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12626 if ${GSTREAMER_LIBS:+false} :; then :
12627 if ${PKG_CONFIG+:} false; then :
12628 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12633 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12634 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12635 ac_save_CPPFLAGS=$CPPFLAGS
12636 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12637 ac_gst_incl=""
12638 for i in $GSTREAMER_CFLAGS
12640 case "$i" in
12641 -I*) ac_gst_incl="$ac_gst_incl $i";;
12642 esac
12643 done
12644 GSTREAMER_CFLAGS=$ac_gst_incl
12645 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12646 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12647 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12649 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12651 /* end confdefs.h. */
12652 #include <gst/gst.h>
12654 main ()
12656 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12658 return 0;
12660 _ACEOF
12661 if ac_fn_c_try_compile "$LINENO"; then :
12662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12663 $as_echo "yes" >&6; }
12664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12665 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12666 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12667 $as_echo_n "(cached) " >&6
12668 else
12669 ac_check_lib_save_LIBS=$LIBS
12670 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12672 /* end confdefs.h. */
12674 /* Override any GCC internal prototype to avoid an error.
12675 Use char because int might match the return type of a GCC
12676 builtin and then its argument prototype would still apply. */
12677 #ifdef __cplusplus
12678 extern "C"
12679 #endif
12680 char gst_pad_new ();
12682 main ()
12684 return gst_pad_new ();
12686 return 0;
12688 _ACEOF
12689 if ac_fn_c_try_link "$LINENO"; then :
12690 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12691 else
12692 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12694 rm -f core conftest.err conftest.$ac_objext \
12695 conftest$ac_exeext conftest.$ac_ext
12696 LIBS=$ac_check_lib_save_LIBS
12698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12699 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12700 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12704 else
12705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12706 $as_echo "no" >&6; }
12707 ac_glib2_broken=yes
12708 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12714 CPPFLAGS=$ac_save_CPPFLAGS
12715 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12716 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12719 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 :
12720 case "x$with_gstreamer" in
12721 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12722 xno) ;;
12723 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12724 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12725 esac
12728 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12730 ALSA_LIBS=""
12732 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12733 then
12734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12735 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12736 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12737 $as_echo_n "(cached) " >&6
12738 else
12739 ac_check_lib_save_LIBS=$LIBS
12740 LIBS="-lasound $LIBS"
12741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12742 /* end confdefs.h. */
12744 /* Override any GCC internal prototype to avoid an error.
12745 Use char because int might match the return type of a GCC
12746 builtin and then its argument prototype would still apply. */
12747 #ifdef __cplusplus
12748 extern "C"
12749 #endif
12750 char snd_pcm_hw_params_get_access_mask ();
12752 main ()
12754 return snd_pcm_hw_params_get_access_mask ();
12756 return 0;
12758 _ACEOF
12759 if ac_fn_c_try_link "$LINENO"; then :
12760 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12761 else
12762 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12764 rm -f core conftest.err conftest.$ac_objext \
12765 conftest$ac_exeext conftest.$ac_ext
12766 LIBS=$ac_check_lib_save_LIBS
12768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12769 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12770 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12772 /* end confdefs.h. */
12773 #ifdef HAVE_ALSA_ASOUNDLIB_H
12774 #include <alsa/asoundlib.h>
12775 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12776 #include <sys/asoundlib.h>
12777 #endif
12779 main ()
12781 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12783 return 0;
12785 _ACEOF
12786 if ac_fn_c_try_compile "$LINENO"; then :
12787 ALSA_LIBS="-lasound"
12789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12793 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12795 if test "x$with_oss" != xno
12796 then
12797 ac_save_CPPFLAGS="$CPPFLAGS"
12798 if test -f /etc/oss.conf
12799 then
12800 . /etc/oss.conf
12802 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12803 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12804 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12805 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12806 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12808 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12810 cat >>confdefs.h <<_ACEOF
12811 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12812 _ACEOF
12814 OSS4_CFLAGS="$ac_oss_incl"
12821 CPPFLAGS="$ac_save_CPPFLAGS"
12823 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
12824 case "x$with_oss" in
12825 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
12826 xno) ;;
12827 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
12828 This is an error since --with-oss was requested." "$LINENO" 5 ;;
12829 esac
12830 enable_wineoss_drv=${enable_wineoss_drv:-no}
12833 if test "x$with_capi" != "xno"
12834 then
12835 if ${CAPI20_CFLAGS:+false} :; then :
12836 if ${PKG_CONFIG+:} false; then :
12837 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12841 if ${CAPI20_LIBS:+false} :; then :
12842 if ${PKG_CONFIG+:} false; then :
12843 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12848 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12849 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12850 ac_save_CPPFLAGS=$CPPFLAGS
12851 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12852 for ac_header in capi20.h linux/capi.h
12853 do :
12854 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12855 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12857 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12858 cat >>confdefs.h <<_ACEOF
12859 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12860 _ACEOF
12864 done
12866 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12867 then
12868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12869 $as_echo_n "checking for -lcapi20... " >&6; }
12870 if ${ac_cv_lib_soname_capi20+:} false; then :
12871 $as_echo_n "(cached) " >&6
12872 else
12873 ac_check_soname_save_LIBS=$LIBS
12874 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12876 /* end confdefs.h. */
12878 /* Override any GCC internal prototype to avoid an error.
12879 Use char because int might match the return type of a GCC
12880 builtin and then its argument prototype would still apply. */
12881 #ifdef __cplusplus
12882 extern "C"
12883 #endif
12884 char capi20_register ();
12886 main ()
12888 return capi20_register ();
12890 return 0;
12892 _ACEOF
12893 if ac_fn_c_try_link "$LINENO"; then :
12894 case "$LIBEXT" in
12895 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12896 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'` ;;
12897 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12898 if ${ac_cv_lib_soname_capi20:+false} :; then :
12899 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12900 fi ;;
12901 esac
12903 rm -f core conftest.err conftest.$ac_objext \
12904 conftest$ac_exeext conftest.$ac_ext
12905 LIBS=$ac_check_soname_save_LIBS
12907 if ${ac_cv_lib_soname_capi20:+false} :; then :
12908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12909 $as_echo "not found" >&6; }
12911 else
12912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12913 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12915 cat >>confdefs.h <<_ACEOF
12916 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12917 _ACEOF
12922 CPPFLAGS=$ac_save_CPPFLAGS
12923 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12924 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12927 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12928 case "x$with_capi" in
12929 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12930 xno) ;;
12931 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12932 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12933 esac
12937 CUPS_CFLAGS=""
12939 if test "x$with_cups" != "xno"
12940 then
12941 ac_save_CPPFLAGS="$CPPFLAGS"
12942 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
12943 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
12944 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12945 for ac_header in cups/cups.h
12946 do :
12947 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12948 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12949 cat >>confdefs.h <<_ACEOF
12950 #define HAVE_CUPS_CUPS_H 1
12951 _ACEOF
12952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12953 $as_echo_n "checking for -lcups... " >&6; }
12954 if ${ac_cv_lib_soname_cups+:} false; then :
12955 $as_echo_n "(cached) " >&6
12956 else
12957 ac_check_soname_save_LIBS=$LIBS
12958 LIBS="-lcups $ac_cups_libs $LIBS"
12959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12960 /* end confdefs.h. */
12962 /* Override any GCC internal prototype to avoid an error.
12963 Use char because int might match the return type of a GCC
12964 builtin and then its argument prototype would still apply. */
12965 #ifdef __cplusplus
12966 extern "C"
12967 #endif
12968 char cupsGetDefault ();
12970 main ()
12972 return cupsGetDefault ();
12974 return 0;
12976 _ACEOF
12977 if ac_fn_c_try_link "$LINENO"; then :
12978 case "$LIBEXT" in
12979 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12980 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'` ;;
12981 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12982 if ${ac_cv_lib_soname_cups:+false} :; then :
12983 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12984 fi ;;
12985 esac
12987 rm -f core conftest.err conftest.$ac_objext \
12988 conftest$ac_exeext conftest.$ac_ext
12989 LIBS=$ac_check_soname_save_LIBS
12991 if ${ac_cv_lib_soname_cups:+false} :; then :
12992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12993 $as_echo "not found" >&6; }
12995 else
12996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12997 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12999 cat >>confdefs.h <<_ACEOF
13000 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13001 _ACEOF
13003 CUPS_CFLAGS="$ac_cups_cflags"
13007 done
13009 CPPFLAGS="$ac_save_CPPFLAGS"
13011 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13012 case "x$with_cups" in
13013 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13014 xno) ;;
13015 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13016 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13017 esac
13021 if test "x$with_fontconfig" != "xno"
13022 then
13023 if ${FONTCONFIG_CFLAGS:+false} :; then :
13024 if ${PKG_CONFIG+:} false; then :
13025 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13028 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13029 if ${FONTCONFIG_LIBS:+false} :; then :
13030 if ${PKG_CONFIG+:} false; then :
13031 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13034 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13036 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13037 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13038 ac_save_CPPFLAGS=$CPPFLAGS
13039 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13040 for ac_header in fontconfig/fontconfig.h
13041 do :
13042 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13043 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13044 cat >>confdefs.h <<_ACEOF
13045 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13046 _ACEOF
13050 done
13052 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13053 then
13054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13055 $as_echo_n "checking for -lfontconfig... " >&6; }
13056 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13057 $as_echo_n "(cached) " >&6
13058 else
13059 ac_check_soname_save_LIBS=$LIBS
13060 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13062 /* end confdefs.h. */
13064 /* Override any GCC internal prototype to avoid an error.
13065 Use char because int might match the return type of a GCC
13066 builtin and then its argument prototype would still apply. */
13067 #ifdef __cplusplus
13068 extern "C"
13069 #endif
13070 char FcInit ();
13072 main ()
13074 return FcInit ();
13076 return 0;
13078 _ACEOF
13079 if ac_fn_c_try_link "$LINENO"; then :
13080 case "$LIBEXT" in
13081 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13082 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'` ;;
13083 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13084 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13085 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13086 fi ;;
13087 esac
13089 rm -f core conftest.err conftest.$ac_objext \
13090 conftest$ac_exeext conftest.$ac_ext
13091 LIBS=$ac_check_soname_save_LIBS
13093 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13095 $as_echo "not found" >&6; }
13096 FONTCONFIG_CFLAGS=""
13097 else
13098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13099 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13101 cat >>confdefs.h <<_ACEOF
13102 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13103 _ACEOF
13107 else
13108 FONTCONFIG_CFLAGS=""
13110 CPPFLAGS=$ac_save_CPPFLAGS
13111 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13112 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13115 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13116 case "x$with_fontconfig" in
13117 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13118 xno) ;;
13119 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13120 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13121 esac
13125 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13126 then
13127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13128 $as_echo_n "checking for -lgsm... " >&6; }
13129 if ${ac_cv_lib_soname_gsm+:} false; then :
13130 $as_echo_n "(cached) " >&6
13131 else
13132 ac_check_soname_save_LIBS=$LIBS
13133 LIBS="-lgsm $LIBS"
13134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13135 /* end confdefs.h. */
13137 /* Override any GCC internal prototype to avoid an error.
13138 Use char because int might match the return type of a GCC
13139 builtin and then its argument prototype would still apply. */
13140 #ifdef __cplusplus
13141 extern "C"
13142 #endif
13143 char gsm_create ();
13145 main ()
13147 return gsm_create ();
13149 return 0;
13151 _ACEOF
13152 if ac_fn_c_try_link "$LINENO"; then :
13153 case "$LIBEXT" in
13154 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13155 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'` ;;
13156 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13157 if ${ac_cv_lib_soname_gsm:+false} :; then :
13158 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13159 fi ;;
13160 esac
13162 rm -f core conftest.err conftest.$ac_objext \
13163 conftest$ac_exeext conftest.$ac_ext
13164 LIBS=$ac_check_soname_save_LIBS
13166 if ${ac_cv_lib_soname_gsm:+false} :; then :
13167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13168 $as_echo "not found" >&6; }
13170 else
13171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13172 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13174 cat >>confdefs.h <<_ACEOF
13175 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13176 _ACEOF
13181 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13182 case "x$with_gsm" in
13183 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13184 xno) ;;
13185 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13186 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13187 esac
13191 if test "x$with_jpeg" != "xno"
13192 then
13193 if ${JPEG_CFLAGS:+false} :; then :
13194 if ${PKG_CONFIG+:} false; then :
13195 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13199 if ${JPEG_LIBS:+false} :; then :
13200 if ${PKG_CONFIG+:} false; then :
13201 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13206 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13207 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13208 ac_save_CPPFLAGS=$CPPFLAGS
13209 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13210 for ac_header in jpeglib.h
13211 do :
13212 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13213 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13214 cat >>confdefs.h <<_ACEOF
13215 #define HAVE_JPEGLIB_H 1
13216 _ACEOF
13220 done
13222 if test "$ac_cv_header_jpeglib_h" = "yes"
13223 then
13224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13225 $as_echo_n "checking for -ljpeg... " >&6; }
13226 if ${ac_cv_lib_soname_jpeg+:} false; then :
13227 $as_echo_n "(cached) " >&6
13228 else
13229 ac_check_soname_save_LIBS=$LIBS
13230 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13232 /* end confdefs.h. */
13234 /* Override any GCC internal prototype to avoid an error.
13235 Use char because int might match the return type of a GCC
13236 builtin and then its argument prototype would still apply. */
13237 #ifdef __cplusplus
13238 extern "C"
13239 #endif
13240 char jpeg_start_decompress ();
13242 main ()
13244 return jpeg_start_decompress ();
13246 return 0;
13248 _ACEOF
13249 if ac_fn_c_try_link "$LINENO"; then :
13250 case "$LIBEXT" in
13251 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13252 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'` ;;
13253 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13254 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13255 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13256 fi ;;
13257 esac
13259 rm -f core conftest.err conftest.$ac_objext \
13260 conftest$ac_exeext conftest.$ac_ext
13261 LIBS=$ac_check_soname_save_LIBS
13263 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13265 $as_echo "not found" >&6; }
13266 JPEG_CFLAGS=""
13267 else
13268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13269 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13271 cat >>confdefs.h <<_ACEOF
13272 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13273 _ACEOF
13277 else
13278 JPEG_CFLAGS=""
13280 CPPFLAGS=$ac_save_CPPFLAGS
13281 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13282 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13285 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13286 case "x$with_jpeg" in
13287 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13288 xno) ;;
13289 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13290 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13291 esac
13295 if test "x$with_png" != "xno"
13296 then
13297 if ${PNG_CFLAGS:+false} :; then :
13298 if ${PKG_CONFIG+:} false; then :
13299 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13302 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13303 if ${PNG_LIBS:+false} :; then :
13304 if ${PKG_CONFIG+:} false; then :
13305 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13308 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13310 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13311 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13312 ac_save_CPPFLAGS=$CPPFLAGS
13313 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13314 for ac_header in png.h
13315 do :
13316 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13317 if test "x$ac_cv_header_png_h" = xyes; then :
13318 cat >>confdefs.h <<_ACEOF
13319 #define HAVE_PNG_H 1
13320 _ACEOF
13324 done
13326 if test "$ac_cv_header_png_h" = "yes"
13327 then
13328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13329 $as_echo_n "checking for -lpng... " >&6; }
13330 if ${ac_cv_lib_soname_png+:} false; then :
13331 $as_echo_n "(cached) " >&6
13332 else
13333 ac_check_soname_save_LIBS=$LIBS
13334 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13336 /* end confdefs.h. */
13338 /* Override any GCC internal prototype to avoid an error.
13339 Use char because int might match the return type of a GCC
13340 builtin and then its argument prototype would still apply. */
13341 #ifdef __cplusplus
13342 extern "C"
13343 #endif
13344 char png_create_read_struct ();
13346 main ()
13348 return png_create_read_struct ();
13350 return 0;
13352 _ACEOF
13353 if ac_fn_c_try_link "$LINENO"; then :
13354 case "$LIBEXT" in
13355 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13356 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'` ;;
13357 *) 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'`
13358 if ${ac_cv_lib_soname_png:+false} :; then :
13359 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13360 fi ;;
13361 esac
13363 rm -f core conftest.err conftest.$ac_objext \
13364 conftest$ac_exeext conftest.$ac_ext
13365 LIBS=$ac_check_soname_save_LIBS
13367 if ${ac_cv_lib_soname_png:+false} :; then :
13368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13369 $as_echo "not found" >&6; }
13370 PNG_CFLAGS=""
13371 else
13372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13373 $as_echo "$ac_cv_lib_soname_png" >&6; }
13375 cat >>confdefs.h <<_ACEOF
13376 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13377 _ACEOF
13379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13380 /* end confdefs.h. */
13381 #include <png.h>
13383 main ()
13385 typeof(png_set_expand_gray_1_2_4_to_8) *p
13387 return 0;
13389 _ACEOF
13390 if ac_fn_c_try_compile "$LINENO"; then :
13392 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13397 else
13398 PNG_CFLAGS=""
13400 CPPFLAGS=$ac_save_CPPFLAGS
13401 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13402 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13405 if test "x$ac_cv_lib_soname_png" = "x"; then :
13406 case "x$with_png" in
13407 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13408 xno) ;;
13409 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13410 This is an error since --with-png was requested." "$LINENO" 5 ;;
13411 esac
13415 if test "x$with_tiff" != "xno"
13416 then
13417 if ${TIFF_CFLAGS:+false} :; then :
13418 if ${PKG_CONFIG+:} false; then :
13419 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13423 if ${TIFF_LIBS:+false} :; then :
13424 if ${PKG_CONFIG+:} false; then :
13425 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13430 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13431 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13432 ac_save_CPPFLAGS=$CPPFLAGS
13433 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13434 for ac_header in tiffio.h
13435 do :
13436 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13437 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13438 cat >>confdefs.h <<_ACEOF
13439 #define HAVE_TIFFIO_H 1
13440 _ACEOF
13444 done
13446 if test "$ac_cv_header_tiffio_h" = "yes"
13447 then
13448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13449 $as_echo_n "checking for -ltiff... " >&6; }
13450 if ${ac_cv_lib_soname_tiff+:} false; then :
13451 $as_echo_n "(cached) " >&6
13452 else
13453 ac_check_soname_save_LIBS=$LIBS
13454 LIBS="-ltiff $TIFF_LIBS $LIBS"
13455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13456 /* end confdefs.h. */
13458 /* Override any GCC internal prototype to avoid an error.
13459 Use char because int might match the return type of a GCC
13460 builtin and then its argument prototype would still apply. */
13461 #ifdef __cplusplus
13462 extern "C"
13463 #endif
13464 char TIFFClientOpen ();
13466 main ()
13468 return TIFFClientOpen ();
13470 return 0;
13472 _ACEOF
13473 if ac_fn_c_try_link "$LINENO"; then :
13474 case "$LIBEXT" in
13475 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13476 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'` ;;
13477 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13478 if ${ac_cv_lib_soname_tiff:+false} :; then :
13479 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13480 fi ;;
13481 esac
13483 rm -f core conftest.err conftest.$ac_objext \
13484 conftest$ac_exeext conftest.$ac_ext
13485 LIBS=$ac_check_soname_save_LIBS
13487 if ${ac_cv_lib_soname_tiff:+false} :; then :
13488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13489 $as_echo "not found" >&6; }
13491 else
13492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13493 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13495 cat >>confdefs.h <<_ACEOF
13496 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13497 _ACEOF
13502 CPPFLAGS=$ac_save_CPPFLAGS
13503 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13504 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13507 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13508 case "x$with_tiff" in
13509 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13510 xno) ;;
13511 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13512 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13513 esac
13517 if test "x$with_mpg123" != "xno"
13518 then
13519 if ${MPG123_CFLAGS:+false} :; then :
13520 if ${PKG_CONFIG+:} false; then :
13521 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13525 if ${MPG123_LIBS:+false} :; then :
13526 if ${PKG_CONFIG+:} false; then :
13527 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13531 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13532 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13533 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13534 ac_save_CPPFLAGS=$CPPFLAGS
13535 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13536 for ac_header in mpg123.h
13537 do :
13538 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13539 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13540 cat >>confdefs.h <<_ACEOF
13541 #define HAVE_MPG123_H 1
13542 _ACEOF
13546 done
13548 if test "$ac_cv_header_mpg123_h" = "yes"
13549 then
13550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13551 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13552 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13553 $as_echo_n "(cached) " >&6
13554 else
13555 ac_check_lib_save_LIBS=$LIBS
13556 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13558 /* end confdefs.h. */
13560 /* Override any GCC internal prototype to avoid an error.
13561 Use char because int might match the return type of a GCC
13562 builtin and then its argument prototype would still apply. */
13563 #ifdef __cplusplus
13564 extern "C"
13565 #endif
13566 char mpg123_feed ();
13568 main ()
13570 return mpg123_feed ();
13572 return 0;
13574 _ACEOF
13575 if ac_fn_c_try_link "$LINENO"; then :
13576 ac_cv_lib_mpg123_mpg123_feed=yes
13577 else
13578 ac_cv_lib_mpg123_mpg123_feed=no
13580 rm -f core conftest.err conftest.$ac_objext \
13581 conftest$ac_exeext conftest.$ac_ext
13582 LIBS=$ac_check_lib_save_LIBS
13584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13585 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13586 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13588 else
13589 MPG123_LIBS=""
13592 else
13593 MPG123_CFLAGS=""
13594 MPG123_LIBS=""
13596 CPPFLAGS=$ac_save_CPPFLAGS
13597 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13598 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13601 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13602 case "x$with_mpg123" in
13603 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13604 xno) ;;
13605 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13606 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13607 esac
13608 enable_winemp3_acm=${enable_winemp3_acm:-no}
13611 if test "$ac_cv_header_AL_al_h" = "yes"
13612 then
13613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13614 $as_echo_n "checking for -lopenal... " >&6; }
13615 if ${ac_cv_lib_soname_openal+:} false; then :
13616 $as_echo_n "(cached) " >&6
13617 else
13618 ac_check_soname_save_LIBS=$LIBS
13619 LIBS="-lopenal $LIBS"
13620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13621 /* end confdefs.h. */
13623 /* Override any GCC internal prototype to avoid an error.
13624 Use char because int might match the return type of a GCC
13625 builtin and then its argument prototype would still apply. */
13626 #ifdef __cplusplus
13627 extern "C"
13628 #endif
13629 char alGetSource3i ();
13631 main ()
13633 return alGetSource3i ();
13635 return 0;
13637 _ACEOF
13638 if ac_fn_c_try_link "$LINENO"; then :
13639 case "$LIBEXT" in
13640 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13641 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'` ;;
13642 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13643 if ${ac_cv_lib_soname_openal:+false} :; then :
13644 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13645 fi ;;
13646 esac
13648 rm -f core conftest.err conftest.$ac_objext \
13649 conftest$ac_exeext conftest.$ac_ext
13650 LIBS=$ac_check_soname_save_LIBS
13652 if ${ac_cv_lib_soname_openal:+false} :; then :
13653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13654 $as_echo "not found" >&6; }
13656 else
13657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13658 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13660 cat >>confdefs.h <<_ACEOF
13661 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13662 _ACEOF
13664 OPENAL_LIBS="-lopenal"
13666 ac_cv_lib_openal=yes
13668 cat >>confdefs.h <<_ACEOF
13669 #define HAVE_OPENAL 1
13670 _ACEOF
13674 if test "x$ac_cv_lib_openal" != xyes; then :
13675 case "x$with_openal" in
13676 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13677 xno) ;;
13678 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13679 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13680 esac
13681 enable_openal32=${enable_openal32:-no}
13684 if test "x$ac_cv_lib_openal" = xyes
13685 then
13686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13687 $as_echo_n "checking for openal-soft... " >&6; }
13688 if ${ac_cv_have_openalsoft+:} false; then :
13689 $as_echo_n "(cached) " >&6
13690 else
13691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13692 /* end confdefs.h. */
13693 #include <AL/al.h>
13694 #include <AL/alc.h>
13695 #include <AL/alext.h>
13696 LPALCRENDERSAMPLESSOFT x;
13698 main ()
13702 return 0;
13704 _ACEOF
13705 if ac_fn_c_try_compile "$LINENO"; then :
13706 ac_cv_have_openalsoft=yes
13707 else
13708 ac_cv_have_openalsoft=no
13710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13713 $as_echo "$ac_cv_have_openalsoft" >&6; }
13715 if test "x$ac_cv_have_openalsoft" != xyes
13716 then
13717 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13718 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
13719 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
13720 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
13721 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
13722 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
13723 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
13724 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
13725 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
13726 enable_xapofx1_1=${enable_xapofx1_1:-no}
13727 enable_xapofx1_2=${enable_xapofx1_2:-no}
13728 enable_xapofx1_3=${enable_xapofx1_3:-no}
13729 enable_xapofx1_4=${enable_xapofx1_4:-no}
13730 enable_xapofx1_5=${enable_xapofx1_5:-no}
13731 enable_xaudio2_0=${enable_xaudio2_0:-no}
13732 enable_xaudio2_1=${enable_xaudio2_1:-no}
13733 enable_xaudio2_2=${enable_xaudio2_2:-no}
13734 enable_xaudio2_3=${enable_xaudio2_3:-no}
13735 enable_xaudio2_4=${enable_xaudio2_4:-no}
13736 enable_xaudio2_5=${enable_xaudio2_5:-no}
13737 enable_xaudio2_6=${enable_xaudio2_6:-no}
13738 enable_xaudio2_7=${enable_xaudio2_7:-no}
13739 enable_xaudio2_8=${enable_xaudio2_8:-no}
13740 enable_xaudio2_9=${enable_xaudio2_9:-no}
13743 if test "$ac_cv_header_kstat_h" = "yes"
13744 then
13745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13746 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13747 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13748 $as_echo_n "(cached) " >&6
13749 else
13750 ac_check_lib_save_LIBS=$LIBS
13751 LIBS="-lkstat $LIBS"
13752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13753 /* end confdefs.h. */
13755 /* Override any GCC internal prototype to avoid an error.
13756 Use char because int might match the return type of a GCC
13757 builtin and then its argument prototype would still apply. */
13758 #ifdef __cplusplus
13759 extern "C"
13760 #endif
13761 char kstat_open ();
13763 main ()
13765 return kstat_open ();
13767 return 0;
13769 _ACEOF
13770 if ac_fn_c_try_link "$LINENO"; then :
13771 ac_cv_lib_kstat_kstat_open=yes
13772 else
13773 ac_cv_lib_kstat_kstat_open=no
13775 rm -f core conftest.err conftest.$ac_objext \
13776 conftest$ac_exeext conftest.$ac_ext
13777 LIBS=$ac_check_lib_save_LIBS
13779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13780 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13781 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13783 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13785 KSTAT_LIBS="-lkstat"
13791 if test "$ac_cv_header_libprocstat_h" = "yes"
13792 then
13793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13794 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13795 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13796 $as_echo_n "(cached) " >&6
13797 else
13798 ac_check_lib_save_LIBS=$LIBS
13799 LIBS="-lprocstat $LIBS"
13800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13801 /* end confdefs.h. */
13803 /* Override any GCC internal prototype to avoid an error.
13804 Use char because int might match the return type of a GCC
13805 builtin and then its argument prototype would still apply. */
13806 #ifdef __cplusplus
13807 extern "C"
13808 #endif
13809 char procstat_open_sysctl ();
13811 main ()
13813 return procstat_open_sysctl ();
13815 return 0;
13817 _ACEOF
13818 if ac_fn_c_try_link "$LINENO"; then :
13819 ac_cv_lib_procstat_procstat_open_sysctl=yes
13820 else
13821 ac_cv_lib_procstat_procstat_open_sysctl=no
13823 rm -f core conftest.err conftest.$ac_objext \
13824 conftest$ac_exeext conftest.$ac_ext
13825 LIBS=$ac_check_lib_save_LIBS
13827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13828 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13829 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13831 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13833 PROCSTAT_LIBS="-lprocstat"
13839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13840 $as_echo_n "checking for -lodbc... " >&6; }
13841 if ${ac_cv_lib_soname_odbc+:} false; then :
13842 $as_echo_n "(cached) " >&6
13843 else
13844 ac_check_soname_save_LIBS=$LIBS
13845 LIBS="-lodbc $LIBS"
13846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13847 /* end confdefs.h. */
13849 /* Override any GCC internal prototype to avoid an error.
13850 Use char because int might match the return type of a GCC
13851 builtin and then its argument prototype would still apply. */
13852 #ifdef __cplusplus
13853 extern "C"
13854 #endif
13855 char SQLConnect ();
13857 main ()
13859 return SQLConnect ();
13861 return 0;
13863 _ACEOF
13864 if ac_fn_c_try_link "$LINENO"; then :
13865 case "$LIBEXT" in
13866 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13867 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'` ;;
13868 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13869 if ${ac_cv_lib_soname_odbc:+false} :; then :
13870 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13871 fi ;;
13872 esac
13874 rm -f core conftest.err conftest.$ac_objext \
13875 conftest$ac_exeext conftest.$ac_ext
13876 LIBS=$ac_check_soname_save_LIBS
13878 if ${ac_cv_lib_soname_odbc:+false} :; then :
13879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13880 $as_echo "not found" >&6; }
13881 cat >>confdefs.h <<_ACEOF
13882 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13883 _ACEOF
13885 else
13886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13887 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13889 cat >>confdefs.h <<_ACEOF
13890 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13891 _ACEOF
13896 if test "x$with_netapi" != "xno"
13897 then
13898 if ${NETAPI_CFLAGS:+false} :; then :
13899 if ${PKG_CONFIG+:} false; then :
13900 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
13904 if ${NETAPI_LIBS:+false} :; then :
13905 if ${PKG_CONFIG+:} false; then :
13906 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
13911 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
13912 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
13913 ac_save_CPPFLAGS=$CPPFLAGS
13914 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
13915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13916 $as_echo_n "checking for -lnetapi... " >&6; }
13917 if ${ac_cv_lib_soname_netapi+:} false; then :
13918 $as_echo_n "(cached) " >&6
13919 else
13920 ac_check_soname_save_LIBS=$LIBS
13921 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
13922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13923 /* end confdefs.h. */
13925 /* Override any GCC internal prototype to avoid an error.
13926 Use char because int might match the return type of a GCC
13927 builtin and then its argument prototype would still apply. */
13928 #ifdef __cplusplus
13929 extern "C"
13930 #endif
13931 char libnetapi_init ();
13933 main ()
13935 return libnetapi_init ();
13937 return 0;
13939 _ACEOF
13940 if ac_fn_c_try_link "$LINENO"; then :
13941 case "$LIBEXT" in
13942 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13943 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'` ;;
13944 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13945 if ${ac_cv_lib_soname_netapi:+false} :; then :
13946 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13947 fi ;;
13948 esac
13950 rm -f core conftest.err conftest.$ac_objext \
13951 conftest$ac_exeext conftest.$ac_ext
13952 LIBS=$ac_check_soname_save_LIBS
13954 if ${ac_cv_lib_soname_netapi:+false} :; then :
13955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13956 $as_echo "not found" >&6; }
13957 cat >>confdefs.h <<_ACEOF
13958 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13959 _ACEOF
13961 else
13962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13963 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13965 cat >>confdefs.h <<_ACEOF
13966 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13967 _ACEOF
13971 CPPFLAGS=$ac_save_CPPFLAGS
13972 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13973 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13977 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
13978 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
13979 then
13980 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13984 EXTRACFLAGS=""
13986 if test "x${GCC}" = "xyes"
13987 then
13988 EXTRACFLAGS="-Wall -pipe"
13990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13991 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13992 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13993 $as_echo_n "(cached) " >&6
13994 else
13995 if test "$cross_compiling" = yes; then :
13996 ac_cv_c_gcc_strength_bug="no"
13997 else
13998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13999 /* end confdefs.h. */
14000 int L[4] = {0,1,2,3};
14002 main ()
14004 static int Array[3];
14005 unsigned int B = 3;
14006 int i;
14007 for(i=0; i<B; i++) Array[i] = i - 3;
14008 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14009 L[i] = 4;
14010 return (Array[1] != -2 || L[2] != 3)
14012 return 0;
14014 _ACEOF
14015 if ac_fn_c_try_run "$LINENO"; then :
14016 ac_cv_c_gcc_strength_bug="no"
14017 else
14018 ac_cv_c_gcc_strength_bug="yes"
14020 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14021 conftest.$ac_objext conftest.beam conftest.$ac_ext
14025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14026 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14027 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14028 then
14029 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14033 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14034 if ${ac_cv_cflags__fno_builtin+:} false; then :
14035 $as_echo_n "(cached) " >&6
14036 else
14037 ac_wine_try_cflags_saved=$CFLAGS
14038 CFLAGS="$CFLAGS -fno-builtin"
14039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14040 /* end confdefs.h. */
14041 int main(int argc, char **argv) { return 0; }
14042 _ACEOF
14043 if ac_fn_c_try_link "$LINENO"; then :
14044 ac_cv_cflags__fno_builtin=yes
14045 else
14046 ac_cv_cflags__fno_builtin=no
14048 rm -f core conftest.err conftest.$ac_objext \
14049 conftest$ac_exeext conftest.$ac_ext
14050 CFLAGS=$ac_wine_try_cflags_saved
14052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14053 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14054 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14055 BUILTINFLAG="-fno-builtin"
14058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14059 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14060 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14061 $as_echo_n "(cached) " >&6
14062 else
14063 ac_wine_try_cflags_saved=$CFLAGS
14064 CFLAGS="$CFLAGS -fno-strict-aliasing"
14065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14066 /* end confdefs.h. */
14067 int main(int argc, char **argv) { return 0; }
14068 _ACEOF
14069 if ac_fn_c_try_link "$LINENO"; then :
14070 ac_cv_cflags__fno_strict_aliasing=yes
14071 else
14072 ac_cv_cflags__fno_strict_aliasing=no
14074 rm -f core conftest.err conftest.$ac_objext \
14075 conftest$ac_exeext conftest.$ac_ext
14076 CFLAGS=$ac_wine_try_cflags_saved
14078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14079 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14080 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14081 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14084 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14085 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14086 $as_echo_n "(cached) " >&6
14087 else
14088 ac_wine_try_cflags_saved=$CFLAGS
14089 CFLAGS="$CFLAGS -fexcess-precision=standard"
14090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14091 /* end confdefs.h. */
14092 int main(int argc, char **argv) { return 0; }
14093 _ACEOF
14094 if ac_fn_c_try_link "$LINENO"; then :
14095 ac_cv_cflags__fexcess_precision_standard=yes
14096 else
14097 ac_cv_cflags__fexcess_precision_standard=no
14099 rm -f core conftest.err conftest.$ac_objext \
14100 conftest$ac_exeext conftest.$ac_ext
14101 CFLAGS=$ac_wine_try_cflags_saved
14103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14104 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14105 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14106 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14109 saved_CFLAGS=$CFLAGS
14110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14111 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14112 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14113 $as_echo_n "(cached) " >&6
14114 else
14115 ac_wine_try_cflags_saved=$CFLAGS
14116 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14118 /* end confdefs.h. */
14119 int main(int argc, char **argv) { return 0; }
14120 _ACEOF
14121 if ac_fn_c_try_link "$LINENO"; then :
14122 ac_cv_cflags__Werror_unknown_warning_option=yes
14123 else
14124 ac_cv_cflags__Werror_unknown_warning_option=no
14126 rm -f core conftest.err conftest.$ac_objext \
14127 conftest$ac_exeext conftest.$ac_ext
14128 CFLAGS=$ac_wine_try_cflags_saved
14130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14131 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14132 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14133 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14136 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14137 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14138 $as_echo_n "(cached) " >&6
14139 else
14140 ac_wine_try_cflags_saved=$CFLAGS
14141 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14143 /* end confdefs.h. */
14144 int main(int argc, char **argv) { return 0; }
14145 _ACEOF
14146 if ac_fn_c_try_link "$LINENO"; then :
14147 ac_cv_cflags__Wdeclaration_after_statement=yes
14148 else
14149 ac_cv_cflags__Wdeclaration_after_statement=no
14151 rm -f core conftest.err conftest.$ac_objext \
14152 conftest$ac_exeext conftest.$ac_ext
14153 CFLAGS=$ac_wine_try_cflags_saved
14155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14156 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14157 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14158 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14161 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14162 if ${ac_cv_cflags__Wempty_body+:} false; then :
14163 $as_echo_n "(cached) " >&6
14164 else
14165 ac_wine_try_cflags_saved=$CFLAGS
14166 CFLAGS="$CFLAGS -Wempty-body"
14167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14168 /* end confdefs.h. */
14169 int main(int argc, char **argv) { return 0; }
14170 _ACEOF
14171 if ac_fn_c_try_link "$LINENO"; then :
14172 ac_cv_cflags__Wempty_body=yes
14173 else
14174 ac_cv_cflags__Wempty_body=no
14176 rm -f core conftest.err conftest.$ac_objext \
14177 conftest$ac_exeext conftest.$ac_ext
14178 CFLAGS=$ac_wine_try_cflags_saved
14180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14181 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14182 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14183 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14186 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14187 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14188 $as_echo_n "(cached) " >&6
14189 else
14190 ac_wine_try_cflags_saved=$CFLAGS
14191 CFLAGS="$CFLAGS -Wignored-qualifiers"
14192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14193 /* end confdefs.h. */
14194 int main(int argc, char **argv) { return 0; }
14195 _ACEOF
14196 if ac_fn_c_try_link "$LINENO"; then :
14197 ac_cv_cflags__Wignored_qualifiers=yes
14198 else
14199 ac_cv_cflags__Wignored_qualifiers=no
14201 rm -f core conftest.err conftest.$ac_objext \
14202 conftest$ac_exeext conftest.$ac_ext
14203 CFLAGS=$ac_wine_try_cflags_saved
14205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14206 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14207 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14208 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14211 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14212 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14213 $as_echo_n "(cached) " >&6
14214 else
14215 ac_wine_try_cflags_saved=$CFLAGS
14216 CFLAGS="$CFLAGS -Wshift-overflow=2"
14217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14218 /* end confdefs.h. */
14219 int main(int argc, char **argv) { return 0; }
14220 _ACEOF
14221 if ac_fn_c_try_link "$LINENO"; then :
14222 ac_cv_cflags__Wshift_overflow_2=yes
14223 else
14224 ac_cv_cflags__Wshift_overflow_2=no
14226 rm -f core conftest.err conftest.$ac_objext \
14227 conftest$ac_exeext conftest.$ac_ext
14228 CFLAGS=$ac_wine_try_cflags_saved
14230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14231 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14232 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14233 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14236 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14237 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14238 $as_echo_n "(cached) " >&6
14239 else
14240 ac_wine_try_cflags_saved=$CFLAGS
14241 CFLAGS="$CFLAGS -Wstrict-prototypes"
14242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14243 /* end confdefs.h. */
14244 int main(int argc, char **argv) { return 0; }
14245 _ACEOF
14246 if ac_fn_c_try_link "$LINENO"; then :
14247 ac_cv_cflags__Wstrict_prototypes=yes
14248 else
14249 ac_cv_cflags__Wstrict_prototypes=no
14251 rm -f core conftest.err conftest.$ac_objext \
14252 conftest$ac_exeext conftest.$ac_ext
14253 CFLAGS=$ac_wine_try_cflags_saved
14255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14256 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14257 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14258 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14261 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14262 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14263 $as_echo_n "(cached) " >&6
14264 else
14265 ac_wine_try_cflags_saved=$CFLAGS
14266 CFLAGS="$CFLAGS -Wtype-limits"
14267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14268 /* end confdefs.h. */
14269 int main(int argc, char **argv) { return 0; }
14270 _ACEOF
14271 if ac_fn_c_try_link "$LINENO"; then :
14272 ac_cv_cflags__Wtype_limits=yes
14273 else
14274 ac_cv_cflags__Wtype_limits=no
14276 rm -f core conftest.err conftest.$ac_objext \
14277 conftest$ac_exeext conftest.$ac_ext
14278 CFLAGS=$ac_wine_try_cflags_saved
14280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14281 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14282 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14283 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14286 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14287 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14288 $as_echo_n "(cached) " >&6
14289 else
14290 ac_wine_try_cflags_saved=$CFLAGS
14291 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14293 /* end confdefs.h. */
14294 int main(int argc, char **argv) { return 0; }
14295 _ACEOF
14296 if ac_fn_c_try_link "$LINENO"; then :
14297 ac_cv_cflags__Wunused_but_set_parameter=yes
14298 else
14299 ac_cv_cflags__Wunused_but_set_parameter=no
14301 rm -f core conftest.err conftest.$ac_objext \
14302 conftest$ac_exeext conftest.$ac_ext
14303 CFLAGS=$ac_wine_try_cflags_saved
14305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14306 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14307 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14308 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14311 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14312 if ${ac_cv_cflags__Wvla+:} false; then :
14313 $as_echo_n "(cached) " >&6
14314 else
14315 ac_wine_try_cflags_saved=$CFLAGS
14316 CFLAGS="$CFLAGS -Wvla"
14317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14318 /* end confdefs.h. */
14319 int main(int argc, char **argv) { return 0; }
14320 _ACEOF
14321 if ac_fn_c_try_link "$LINENO"; then :
14322 ac_cv_cflags__Wvla=yes
14323 else
14324 ac_cv_cflags__Wvla=no
14326 rm -f core conftest.err conftest.$ac_objext \
14327 conftest$ac_exeext conftest.$ac_ext
14328 CFLAGS=$ac_wine_try_cflags_saved
14330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14331 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14332 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14333 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14336 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14337 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14338 $as_echo_n "(cached) " >&6
14339 else
14340 ac_wine_try_cflags_saved=$CFLAGS
14341 CFLAGS="$CFLAGS -Wwrite-strings"
14342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14343 /* end confdefs.h. */
14344 int main(int argc, char **argv) { return 0; }
14345 _ACEOF
14346 if ac_fn_c_try_link "$LINENO"; then :
14347 ac_cv_cflags__Wwrite_strings=yes
14348 else
14349 ac_cv_cflags__Wwrite_strings=no
14351 rm -f core conftest.err conftest.$ac_objext \
14352 conftest$ac_exeext conftest.$ac_ext
14353 CFLAGS=$ac_wine_try_cflags_saved
14355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14356 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14357 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14358 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14362 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14363 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14364 $as_echo_n "(cached) " >&6
14365 else
14366 ac_wine_try_cflags_saved=$CFLAGS
14367 CFLAGS="$CFLAGS -Wpointer-arith"
14368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14369 /* end confdefs.h. */
14370 int main(int argc, char **argv) { return 0; }
14371 _ACEOF
14372 if ac_fn_c_try_link "$LINENO"; then :
14373 ac_cv_cflags__Wpointer_arith=yes
14374 else
14375 ac_cv_cflags__Wpointer_arith=no
14377 rm -f core conftest.err conftest.$ac_objext \
14378 conftest$ac_exeext conftest.$ac_ext
14379 CFLAGS=$ac_wine_try_cflags_saved
14381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14382 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14383 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14384 saved_string_h_CFLAGS=$CFLAGS
14385 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14387 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14388 if ${ac_cv_c_string_h_warnings+:} false; then :
14389 $as_echo_n "(cached) " >&6
14390 else
14391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14392 /* end confdefs.h. */
14393 #include <string.h>
14395 main ()
14399 return 0;
14401 _ACEOF
14402 if ac_fn_c_try_compile "$LINENO"; then :
14403 ac_cv_c_string_h_warnings=no
14404 else
14405 ac_cv_c_string_h_warnings=yes
14407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14410 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14411 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14412 CFLAGS=$saved_string_h_CFLAGS
14415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14416 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14417 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14418 $as_echo_n "(cached) " >&6
14419 else
14420 ac_wine_try_cflags_saved=$CFLAGS
14421 CFLAGS="$CFLAGS -Wlogical-op"
14422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14423 /* end confdefs.h. */
14424 int main(int argc, char **argv) { return 0; }
14425 _ACEOF
14426 if ac_fn_c_try_link "$LINENO"; then :
14427 ac_cv_cflags__Wlogical_op=yes
14428 else
14429 ac_cv_cflags__Wlogical_op=no
14431 rm -f core conftest.err conftest.$ac_objext \
14432 conftest$ac_exeext conftest.$ac_ext
14433 CFLAGS=$ac_wine_try_cflags_saved
14435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14436 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14437 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14438 saved_string_h_CFLAGS=$CFLAGS
14439 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14441 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14442 if ${ac_cv_c_logicalop_noisy+:} false; then :
14443 $as_echo_n "(cached) " >&6
14444 else
14445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14446 /* end confdefs.h. */
14447 #include <string.h>
14448 char*f(const char *h,char n) {return strchr(h,n);}
14450 main ()
14454 return 0;
14456 _ACEOF
14457 if ac_fn_c_try_compile "$LINENO"; then :
14458 ac_cv_c_logicalop_noisy=no
14459 else
14460 ac_cv_c_logicalop_noisy=yes
14462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14465 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14466 CFLAGS=$saved_string_h_CFLAGS
14467 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14470 CFLAGS=$saved_CFLAGS
14472 for ac_flag in $CFLAGS; do
14473 case $ac_flag in
14474 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14475 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14476 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14477 $as_echo_n "(cached) " >&6
14478 else
14479 ac_wine_try_cflags_saved=$CFLAGS
14480 CFLAGS="$CFLAGS -gdwarf-2"
14481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14482 /* end confdefs.h. */
14483 int main(int argc, char **argv) { return 0; }
14484 _ACEOF
14485 if ac_fn_c_try_link "$LINENO"; then :
14486 ac_cv_cflags__gdwarf_2=yes
14487 else
14488 ac_cv_cflags__gdwarf_2=no
14490 rm -f core conftest.err conftest.$ac_objext \
14491 conftest$ac_exeext conftest.$ac_ext
14492 CFLAGS=$ac_wine_try_cflags_saved
14494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14495 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14496 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14497 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14500 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14501 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14502 $as_echo_n "(cached) " >&6
14503 else
14504 ac_wine_try_cflags_saved=$CFLAGS
14505 CFLAGS="$CFLAGS -gstrict-dwarf"
14506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14507 /* end confdefs.h. */
14508 int main(int argc, char **argv) { return 0; }
14509 _ACEOF
14510 if ac_fn_c_try_link "$LINENO"; then :
14511 ac_cv_cflags__gstrict_dwarf=yes
14512 else
14513 ac_cv_cflags__gstrict_dwarf=no
14515 rm -f core conftest.err conftest.$ac_objext \
14516 conftest$ac_exeext conftest.$ac_ext
14517 CFLAGS=$ac_wine_try_cflags_saved
14519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14520 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14521 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14522 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14523 fi ;;
14524 esac
14525 done
14527 case $host_cpu in
14528 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14529 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14530 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14531 $as_echo_n "(cached) " >&6
14532 else
14533 ac_wine_try_cflags_saved=$CFLAGS
14534 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14536 /* end confdefs.h. */
14537 int main(int argc, char **argv) { return 0; }
14538 _ACEOF
14539 if ac_fn_c_try_link "$LINENO"; then :
14540 ac_cv_cflags__fno_omit_frame_pointer=yes
14541 else
14542 ac_cv_cflags__fno_omit_frame_pointer=no
14544 rm -f core conftest.err conftest.$ac_objext \
14545 conftest$ac_exeext conftest.$ac_ext
14546 CFLAGS=$ac_wine_try_cflags_saved
14548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14549 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14550 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14551 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14552 fi ;;
14553 esac
14555 case $host in
14556 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14557 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14558 if ${ac_cv_cflags__Wno_format+:} false; then :
14559 $as_echo_n "(cached) " >&6
14560 else
14561 ac_wine_try_cflags_saved=$CFLAGS
14562 CFLAGS="$CFLAGS -Wno-format"
14563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14564 /* end confdefs.h. */
14565 int main(int argc, char **argv) { return 0; }
14566 _ACEOF
14567 if ac_fn_c_try_link "$LINENO"; then :
14568 ac_cv_cflags__Wno_format=yes
14569 else
14570 ac_cv_cflags__Wno_format=no
14572 rm -f core conftest.err conftest.$ac_objext \
14573 conftest$ac_exeext conftest.$ac_ext
14574 CFLAGS=$ac_wine_try_cflags_saved
14576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14577 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14578 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14579 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14580 fi ;;
14581 esac
14583 if test "x$enable_maintainer_mode" = "xyes"
14584 then
14585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14586 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14587 if ${ac_cv_cflags__Werror+:} false; then :
14588 $as_echo_n "(cached) " >&6
14589 else
14590 ac_wine_try_cflags_saved=$CFLAGS
14591 CFLAGS="$CFLAGS -Werror"
14592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14593 /* end confdefs.h. */
14594 int main(int argc, char **argv) { return 0; }
14595 _ACEOF
14596 if ac_fn_c_try_link "$LINENO"; then :
14597 ac_cv_cflags__Werror=yes
14598 else
14599 ac_cv_cflags__Werror=no
14601 rm -f core conftest.err conftest.$ac_objext \
14602 conftest$ac_exeext conftest.$ac_ext
14603 CFLAGS=$ac_wine_try_cflags_saved
14605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14606 $as_echo "$ac_cv_cflags__Werror" >&6; }
14607 if test "x$ac_cv_cflags__Werror" = xyes; then :
14608 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14612 saved_CFLAGS="$CFLAGS"
14613 CFLAGS="$CFLAGS -Werror"
14614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14615 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14616 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14617 $as_echo_n "(cached) " >&6
14618 else
14619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14620 /* end confdefs.h. */
14621 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14623 main ()
14627 return 0;
14629 _ACEOF
14630 if ac_fn_c_try_compile "$LINENO"; then :
14631 ac_cv_have_ms_hook_prologue="yes"
14632 else
14633 ac_cv_have_ms_hook_prologue="no"
14635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14638 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14639 CFLAGS="$saved_CFLAGS"
14640 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14641 then
14643 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14645 else
14646 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14653 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14654 if ${ac_cv_c_fortify_enabled+:} false; then :
14655 $as_echo_n "(cached) " >&6
14656 else
14657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14658 /* end confdefs.h. */
14659 #include <string.h>
14661 main ()
14663 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14664 #error Fortify enabled
14665 #endif
14667 return 0;
14669 _ACEOF
14670 if ac_fn_c_try_compile "$LINENO"; then :
14671 ac_cv_c_fortify_enabled=no
14672 else
14673 ac_cv_c_fortify_enabled=yes
14675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14678 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14679 if test "$ac_cv_c_fortify_enabled" = yes
14680 then
14681 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14686 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14687 if ${ac_cv_c_extern_prefix+:} false; then :
14688 $as_echo_n "(cached) " >&6
14689 else
14690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14691 /* end confdefs.h. */
14692 extern int ac_test;
14694 main ()
14696 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14698 return 0;
14700 _ACEOF
14701 if ac_fn_c_try_link "$LINENO"; then :
14702 ac_cv_c_extern_prefix="yes"
14703 else
14704 ac_cv_c_extern_prefix="no"
14706 rm -f core conftest.err conftest.$ac_objext \
14707 conftest$ac_exeext conftest.$ac_ext
14709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14710 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14712 case $host_cpu in
14713 *i[3456789]86*)
14714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14715 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14716 if ${ac_cv_c_stdcall_suffix+:} false; then :
14717 $as_echo_n "(cached) " >&6
14718 else
14719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14720 /* end confdefs.h. */
14721 #ifndef _MSC_VER
14722 #define __stdcall __attribute__((__stdcall__))
14723 #endif
14724 int __stdcall ac_test(int i) { return i; }
14726 main ()
14728 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14730 return 0;
14732 _ACEOF
14733 if ac_fn_c_try_link "$LINENO"; then :
14734 ac_cv_c_stdcall_suffix="yes"
14735 else
14736 ac_cv_c_stdcall_suffix="no"
14738 rm -f core conftest.err conftest.$ac_objext \
14739 conftest$ac_exeext conftest.$ac_ext
14741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14742 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14743 *) ac_cv_c_stdcall_suffix="no" ;;
14744 esac
14747 if test "$ac_cv_c_extern_prefix" = "yes"
14748 then
14749 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14751 asm_name_prefix="_"
14752 else
14753 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14755 asm_name_prefix=""
14759 if test "$ac_cv_c_stdcall_suffix" = "yes"
14760 then
14761 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14763 else
14764 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14770 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14771 if ${ac_cv_asm_func_def+:} false; then :
14772 $as_echo_n "(cached) " >&6
14773 else
14774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14775 /* end confdefs.h. */
14778 main ()
14780 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14782 return 0;
14784 _ACEOF
14785 if ac_fn_c_try_link "$LINENO"; then :
14786 ac_cv_asm_func_def=".def"
14787 else
14788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14789 /* end confdefs.h. */
14792 main ()
14794 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14796 return 0;
14798 _ACEOF
14799 if ac_fn_c_try_link "$LINENO"; then :
14800 ac_cv_asm_func_def=".type @function"
14801 else
14802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14803 /* end confdefs.h. */
14806 main ()
14808 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14810 return 0;
14812 _ACEOF
14813 if ac_fn_c_try_link "$LINENO"; then :
14814 ac_cv_asm_func_def=".type 2"
14815 else
14816 ac_cv_asm_func_def="unknown"
14818 rm -f core conftest.err conftest.$ac_objext \
14819 conftest$ac_exeext conftest.$ac_ext
14821 rm -f core conftest.err conftest.$ac_objext \
14822 conftest$ac_exeext conftest.$ac_ext
14824 rm -f core conftest.err conftest.$ac_objext \
14825 conftest$ac_exeext conftest.$ac_ext
14827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14828 $as_echo "$ac_cv_asm_func_def" >&6; }
14831 case "$ac_cv_asm_func_def" in
14832 ".def")
14833 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14835 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14836 ".type @function")
14837 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14839 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14840 ".type 2")
14841 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14843 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14845 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14847 asm_func_header="" ;;
14848 esac
14850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14851 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14852 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14853 $as_echo_n "(cached) " >&6
14854 else
14855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14856 /* end confdefs.h. */
14857 asm(".text\n\t.long 0");
14859 main ()
14863 return 0;
14865 _ACEOF
14866 if ac_fn_c_try_compile "$LINENO"; then :
14867 ac_cv_c_asm_outside_funcs="yes"
14868 else
14869 ac_cv_c_asm_outside_funcs="no"
14871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14874 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14877 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14878 if ${ac_cv_c_dot_previous+:} false; then :
14879 $as_echo_n "(cached) " >&6
14880 else
14881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14882 /* end confdefs.h. */
14885 main ()
14887 asm(".text\nac_test:\t.long 0\n\t.previous");
14889 return 0;
14891 _ACEOF
14892 if ac_fn_c_try_link "$LINENO"; then :
14893 ac_cv_c_dot_previous="yes"
14894 else
14895 ac_cv_c_dot_previous="no"
14897 rm -f core conftest.err conftest.$ac_objext \
14898 conftest$ac_exeext conftest.$ac_ext
14900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14901 $as_echo "$ac_cv_c_dot_previous" >&6; }
14903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14904 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14905 if ${ac_cv_c_cfi_support+:} false; then :
14906 $as_echo_n "(cached) " >&6
14907 else
14908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14909 /* end confdefs.h. */
14910 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14912 main ()
14916 return 0;
14918 _ACEOF
14919 if ac_fn_c_try_compile "$LINENO"; then :
14920 ac_cv_c_cfi_support="yes"
14921 else
14922 ac_cv_c_cfi_support="no"
14924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14927 $as_echo "$ac_cv_c_cfi_support" >&6; }
14929 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14930 asm_func_trailer=""
14931 if test "$ac_cv_c_dot_previous" = "yes"
14932 then
14933 asm_func_trailer="\\n\\t.previous"
14935 if test "$ac_cv_c_cfi_support" = "yes"
14936 then
14937 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14938 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14940 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14942 UNWINDFLAGS=-fasynchronous-unwind-tables
14944 else
14945 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14947 if test "x$enable_win64" = "xyes"
14948 then
14949 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
14953 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14956 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14957 then
14958 cat >>confdefs.h <<_ACEOF
14959 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14960 _ACEOF
14962 else
14963 cat >>confdefs.h <<_ACEOF
14964 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14965 _ACEOF
14969 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14972 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14976 case $build_os in
14977 cygwin*|mingw32*) TOOLSEXT=".exe"
14979 esac
14981 case $host_os in
14982 linux-android*) ;;
14983 linux*)
14984 case $host_cpu in
14985 *i[3456789]86*|x86_64*)
14986 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
14987 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
14989 esac
14991 esac
14994 ac_save_CFLAGS="$CFLAGS"
14995 CFLAGS="$CFLAGS $BUILTINFLAG"
14996 for ac_func in \
14997 __res_get_state \
14998 __res_getservers \
14999 _finite \
15000 _isnan \
15001 _pclose \
15002 _popen \
15003 _snprintf \
15004 _spawnvp \
15005 _strdup \
15006 _stricmp \
15007 _strnicmp \
15008 _strtoi64 \
15009 _strtoui64 \
15010 _vsnprintf \
15011 asctime_r \
15012 chsize \
15013 dlopen \
15014 epoll_create \
15015 ffs \
15016 finitef \
15017 fnmatch \
15018 fork \
15019 fpclass \
15020 fstatfs \
15021 fstatvfs \
15022 ftruncate \
15023 futimens \
15024 futimes \
15025 futimesat \
15026 getattrlist \
15027 getdirentries \
15028 getopt_long_only \
15029 getpwuid \
15030 gettimeofday \
15031 getuid \
15032 if_nameindex \
15033 isnanf \
15034 kqueue \
15035 lstat \
15036 memmove \
15037 mmap \
15038 pclose \
15039 pipe2 \
15040 poll \
15041 popen \
15042 port_create \
15043 prctl \
15044 pread \
15045 proc_pidinfo \
15046 pwrite \
15047 readdir \
15048 readlink \
15049 sched_yield \
15050 select \
15051 setproctitle \
15052 setprogname \
15053 setrlimit \
15054 settimeofday \
15055 sigaltstack \
15056 sigprocmask \
15057 snprintf \
15058 statfs \
15059 statvfs \
15060 strcasecmp \
15061 strdup \
15062 strerror \
15063 strncasecmp \
15064 strtold \
15065 strtoll \
15066 strtoull \
15067 symlink \
15068 tcdrain \
15069 thr_kill2 \
15070 timegm \
15071 usleep \
15072 vsnprintf
15074 do :
15075 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15076 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15077 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15078 cat >>confdefs.h <<_ACEOF
15079 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15080 _ACEOF
15083 done
15085 CFLAGS="$ac_save_CFLAGS"
15087 if test "$ac_cv_func_dlopen" = no
15088 then
15089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15090 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15091 if ${ac_cv_lib_dl_dlopen+:} false; then :
15092 $as_echo_n "(cached) " >&6
15093 else
15094 ac_check_lib_save_LIBS=$LIBS
15095 LIBS="-ldl $LIBS"
15096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15097 /* end confdefs.h. */
15099 /* Override any GCC internal prototype to avoid an error.
15100 Use char because int might match the return type of a GCC
15101 builtin and then its argument prototype would still apply. */
15102 #ifdef __cplusplus
15103 extern "C"
15104 #endif
15105 char dlopen ();
15107 main ()
15109 return dlopen ();
15111 return 0;
15113 _ACEOF
15114 if ac_fn_c_try_link "$LINENO"; then :
15115 ac_cv_lib_dl_dlopen=yes
15116 else
15117 ac_cv_lib_dl_dlopen=no
15119 rm -f core conftest.err conftest.$ac_objext \
15120 conftest$ac_exeext conftest.$ac_ext
15121 LIBS=$ac_check_lib_save_LIBS
15123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15124 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15125 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15126 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15127 DL_LIBS="-ldl"
15132 ac_wine_check_funcs_save_LIBS="$LIBS"
15133 LIBS="$LIBS $DL_LIBS"
15134 for ac_func in dladdr
15135 do :
15136 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15137 if test "x$ac_cv_func_dladdr" = xyes; then :
15138 cat >>confdefs.h <<_ACEOF
15139 #define HAVE_DLADDR 1
15140 _ACEOF
15143 done
15145 LIBS="$ac_wine_check_funcs_save_LIBS"
15147 if test "$ac_cv_func_poll" = no
15148 then
15149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15150 $as_echo_n "checking for poll in -lpoll... " >&6; }
15151 if ${ac_cv_lib_poll_poll+:} false; then :
15152 $as_echo_n "(cached) " >&6
15153 else
15154 ac_check_lib_save_LIBS=$LIBS
15155 LIBS="-lpoll $LIBS"
15156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15157 /* end confdefs.h. */
15159 /* Override any GCC internal prototype to avoid an error.
15160 Use char because int might match the return type of a GCC
15161 builtin and then its argument prototype would still apply. */
15162 #ifdef __cplusplus
15163 extern "C"
15164 #endif
15165 char poll ();
15167 main ()
15169 return poll ();
15171 return 0;
15173 _ACEOF
15174 if ac_fn_c_try_link "$LINENO"; then :
15175 ac_cv_lib_poll_poll=yes
15176 else
15177 ac_cv_lib_poll_poll=no
15179 rm -f core conftest.err conftest.$ac_objext \
15180 conftest$ac_exeext conftest.$ac_ext
15181 LIBS=$ac_check_lib_save_LIBS
15183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15184 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15185 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15186 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15187 POLL_LIBS="-lpoll"
15193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15194 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15195 if ${ac_cv_search_gethostbyname+:} false; then :
15196 $as_echo_n "(cached) " >&6
15197 else
15198 ac_func_search_save_LIBS=$LIBS
15199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15200 /* end confdefs.h. */
15202 /* Override any GCC internal prototype to avoid an error.
15203 Use char because int might match the return type of a GCC
15204 builtin and then its argument prototype would still apply. */
15205 #ifdef __cplusplus
15206 extern "C"
15207 #endif
15208 char gethostbyname ();
15210 main ()
15212 return gethostbyname ();
15214 return 0;
15216 _ACEOF
15217 for ac_lib in '' nsl; do
15218 if test -z "$ac_lib"; then
15219 ac_res="none required"
15220 else
15221 ac_res=-l$ac_lib
15222 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15224 if ac_fn_c_try_link "$LINENO"; then :
15225 ac_cv_search_gethostbyname=$ac_res
15227 rm -f core conftest.err conftest.$ac_objext \
15228 conftest$ac_exeext
15229 if ${ac_cv_search_gethostbyname+:} false; then :
15230 break
15232 done
15233 if ${ac_cv_search_gethostbyname+:} false; then :
15235 else
15236 ac_cv_search_gethostbyname=no
15238 rm conftest.$ac_ext
15239 LIBS=$ac_func_search_save_LIBS
15241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15242 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15243 ac_res=$ac_cv_search_gethostbyname
15244 if test "$ac_res" != no; then :
15245 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15251 $as_echo_n "checking for library containing connect... " >&6; }
15252 if ${ac_cv_search_connect+:} false; then :
15253 $as_echo_n "(cached) " >&6
15254 else
15255 ac_func_search_save_LIBS=$LIBS
15256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15257 /* end confdefs.h. */
15259 /* Override any GCC internal prototype to avoid an error.
15260 Use char because int might match the return type of a GCC
15261 builtin and then its argument prototype would still apply. */
15262 #ifdef __cplusplus
15263 extern "C"
15264 #endif
15265 char connect ();
15267 main ()
15269 return connect ();
15271 return 0;
15273 _ACEOF
15274 for ac_lib in '' socket; do
15275 if test -z "$ac_lib"; then
15276 ac_res="none required"
15277 else
15278 ac_res=-l$ac_lib
15279 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15281 if ac_fn_c_try_link "$LINENO"; then :
15282 ac_cv_search_connect=$ac_res
15284 rm -f core conftest.err conftest.$ac_objext \
15285 conftest$ac_exeext
15286 if ${ac_cv_search_connect+:} false; then :
15287 break
15289 done
15290 if ${ac_cv_search_connect+:} false; then :
15292 else
15293 ac_cv_search_connect=no
15295 rm conftest.$ac_ext
15296 LIBS=$ac_func_search_save_LIBS
15298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15299 $as_echo "$ac_cv_search_connect" >&6; }
15300 ac_res=$ac_cv_search_connect
15301 if test "$ac_res" != no; then :
15302 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15308 $as_echo_n "checking for library containing inet_aton... " >&6; }
15309 if ${ac_cv_search_inet_aton+:} false; then :
15310 $as_echo_n "(cached) " >&6
15311 else
15312 ac_func_search_save_LIBS=$LIBS
15313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15314 /* end confdefs.h. */
15316 /* Override any GCC internal prototype to avoid an error.
15317 Use char because int might match the return type of a GCC
15318 builtin and then its argument prototype would still apply. */
15319 #ifdef __cplusplus
15320 extern "C"
15321 #endif
15322 char inet_aton ();
15324 main ()
15326 return inet_aton ();
15328 return 0;
15330 _ACEOF
15331 for ac_lib in '' resolv; do
15332 if test -z "$ac_lib"; then
15333 ac_res="none required"
15334 else
15335 ac_res=-l$ac_lib
15336 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15338 if ac_fn_c_try_link "$LINENO"; then :
15339 ac_cv_search_inet_aton=$ac_res
15341 rm -f core conftest.err conftest.$ac_objext \
15342 conftest$ac_exeext
15343 if ${ac_cv_search_inet_aton+:} false; then :
15344 break
15346 done
15347 if ${ac_cv_search_inet_aton+:} false; then :
15349 else
15350 ac_cv_search_inet_aton=no
15352 rm conftest.$ac_ext
15353 LIBS=$ac_func_search_save_LIBS
15355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15356 $as_echo "$ac_cv_search_inet_aton" >&6; }
15357 ac_res=$ac_cv_search_inet_aton
15358 if test "$ac_res" != no; then :
15359 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15364 for ac_func in \
15365 getaddrinfo \
15366 getnameinfo \
15367 getnetbyname \
15368 getprotobyname \
15369 getprotobynumber \
15370 getservbyport \
15371 inet_addr \
15372 inet_network \
15373 inet_ntop \
15374 inet_pton \
15375 sendmsg \
15376 socketpair \
15378 do :
15379 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15380 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15381 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15382 cat >>confdefs.h <<_ACEOF
15383 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15384 _ACEOF
15387 done
15390 ac_save_LIBS=$LIBS
15391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15392 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15393 if ${ac_cv_search_clock_gettime+:} false; then :
15394 $as_echo_n "(cached) " >&6
15395 else
15396 ac_func_search_save_LIBS=$LIBS
15397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15398 /* end confdefs.h. */
15400 /* Override any GCC internal prototype to avoid an error.
15401 Use char because int might match the return type of a GCC
15402 builtin and then its argument prototype would still apply. */
15403 #ifdef __cplusplus
15404 extern "C"
15405 #endif
15406 char clock_gettime ();
15408 main ()
15410 return clock_gettime ();
15412 return 0;
15414 _ACEOF
15415 for ac_lib in '' rt; do
15416 if test -z "$ac_lib"; then
15417 ac_res="none required"
15418 else
15419 ac_res=-l$ac_lib
15420 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15422 if ac_fn_c_try_link "$LINENO"; then :
15423 ac_cv_search_clock_gettime=$ac_res
15425 rm -f core conftest.err conftest.$ac_objext \
15426 conftest$ac_exeext
15427 if ${ac_cv_search_clock_gettime+:} false; then :
15428 break
15430 done
15431 if ${ac_cv_search_clock_gettime+:} false; then :
15433 else
15434 ac_cv_search_clock_gettime=no
15436 rm conftest.$ac_ext
15437 LIBS=$ac_func_search_save_LIBS
15439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15440 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15441 ac_res=$ac_cv_search_clock_gettime
15442 if test "$ac_res" != no; then :
15443 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15445 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15447 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15451 LIBS=$ac_save_LIBS
15453 LDAP_LIBS=""
15455 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15456 then
15457 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15459 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15461 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15462 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15463 $as_echo_n "(cached) " >&6
15464 else
15465 ac_check_lib_save_LIBS=$LIBS
15466 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15468 /* end confdefs.h. */
15470 /* Override any GCC internal prototype to avoid an error.
15471 Use char because int might match the return type of a GCC
15472 builtin and then its argument prototype would still apply. */
15473 #ifdef __cplusplus
15474 extern "C"
15475 #endif
15476 char ldap_initialize ();
15478 main ()
15480 return ldap_initialize ();
15482 return 0;
15484 _ACEOF
15485 if ac_fn_c_try_link "$LINENO"; then :
15486 ac_cv_lib_ldap_r_ldap_initialize=yes
15487 else
15488 ac_cv_lib_ldap_r_ldap_initialize=no
15490 rm -f core conftest.err conftest.$ac_objext \
15491 conftest$ac_exeext conftest.$ac_ext
15492 LIBS=$ac_check_lib_save_LIBS
15494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15495 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15496 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15498 $as_echo_n "checking for ber_init in -llber... " >&6; }
15499 if ${ac_cv_lib_lber_ber_init+:} false; then :
15500 $as_echo_n "(cached) " >&6
15501 else
15502 ac_check_lib_save_LIBS=$LIBS
15503 LIBS="-llber $PTHREAD_LIBS $LIBS"
15504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15505 /* end confdefs.h. */
15507 /* Override any GCC internal prototype to avoid an error.
15508 Use char because int might match the return type of a GCC
15509 builtin and then its argument prototype would still apply. */
15510 #ifdef __cplusplus
15511 extern "C"
15512 #endif
15513 char ber_init ();
15515 main ()
15517 return ber_init ();
15519 return 0;
15521 _ACEOF
15522 if ac_fn_c_try_link "$LINENO"; then :
15523 ac_cv_lib_lber_ber_init=yes
15524 else
15525 ac_cv_lib_lber_ber_init=no
15527 rm -f core conftest.err conftest.$ac_objext \
15528 conftest$ac_exeext conftest.$ac_ext
15529 LIBS=$ac_check_lib_save_LIBS
15531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15532 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15533 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15535 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15537 LDAP_LIBS="-lldap_r -llber"
15544 ac_wine_check_funcs_save_LIBS="$LIBS"
15545 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15546 for ac_func in \
15547 ldap_count_references \
15548 ldap_first_reference \
15549 ldap_next_reference \
15550 ldap_parse_reference \
15551 ldap_parse_sort_control \
15552 ldap_parse_sortresponse_control \
15553 ldap_parse_vlv_control \
15554 ldap_parse_vlvresponse_control
15555 do :
15556 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15557 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15558 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15559 cat >>confdefs.h <<_ACEOF
15560 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15561 _ACEOF
15564 done
15566 LIBS="$ac_wine_check_funcs_save_LIBS"
15568 if test "x$LDAP_LIBS" = "x"; then :
15569 case "x$with_ldap" in
15570 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15571 xno) ;;
15572 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15573 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15574 esac
15578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15579 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15580 if ${wine_cv_one_arg_mkdir+:} false; then :
15581 $as_echo_n "(cached) " >&6
15582 else
15583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15584 /* end confdefs.h. */
15585 #include <sys/stat.h>
15587 main ()
15589 mkdir("foo");
15591 return 0;
15593 _ACEOF
15594 if ac_fn_c_try_compile "$LINENO"; then :
15595 wine_cv_one_arg_mkdir=yes
15596 else
15597 wine_cv_one_arg_mkdir=no
15599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15602 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15603 if test "$wine_cv_one_arg_mkdir" = "yes"
15604 then
15606 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15611 $as_echo_n "checking for sched_setaffinity... " >&6; }
15612 if ${wine_cv_have_sched_setaffinity+:} false; then :
15613 $as_echo_n "(cached) " >&6
15614 else
15615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15616 /* end confdefs.h. */
15617 #define _GNU_SOURCE
15618 #include <sched.h>
15620 main ()
15622 sched_setaffinity(0, 0, 0);
15624 return 0;
15626 _ACEOF
15627 if ac_fn_c_try_link "$LINENO"; then :
15628 wine_cv_have_sched_setaffinity=yes
15629 else
15630 wine_cv_have_sched_setaffinity=no
15632 rm -f core conftest.err conftest.$ac_objext \
15633 conftest$ac_exeext conftest.$ac_ext
15635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15636 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15637 if test "$wine_cv_have_sched_setaffinity" = "yes"
15638 then
15640 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15645 $as_echo_n "checking for fallocate... " >&6; }
15646 if ${wine_cv_have_fallocate+:} false; then :
15647 $as_echo_n "(cached) " >&6
15648 else
15649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15650 /* end confdefs.h. */
15651 #define _GNU_SOURCE
15652 #include <fcntl.h>
15654 main ()
15656 fallocate(-1, 0, 0, 0);
15658 return 0;
15660 _ACEOF
15661 if ac_fn_c_try_link "$LINENO"; then :
15662 wine_cv_have_fallocate=yes
15663 else
15664 wine_cv_have_fallocate=no
15666 rm -f core conftest.err conftest.$ac_objext \
15667 conftest$ac_exeext conftest.$ac_ext
15669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15670 $as_echo "$wine_cv_have_fallocate" >&6; }
15671 if test "$wine_cv_have_fallocate" = "yes"
15672 then
15674 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15680 $as_echo_n "checking for inline... " >&6; }
15681 if ${ac_cv_c_inline+:} false; then :
15682 $as_echo_n "(cached) " >&6
15683 else
15684 ac_cv_c_inline=no
15685 for ac_kw in inline __inline__ __inline; do
15686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15687 /* end confdefs.h. */
15688 #ifndef __cplusplus
15689 typedef int foo_t;
15690 static $ac_kw foo_t static_foo () {return 0; }
15691 $ac_kw foo_t foo () {return 0; }
15692 #endif
15694 _ACEOF
15695 if ac_fn_c_try_compile "$LINENO"; then :
15696 ac_cv_c_inline=$ac_kw
15698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15699 test "$ac_cv_c_inline" != no && break
15700 done
15703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15704 $as_echo "$ac_cv_c_inline" >&6; }
15706 case $ac_cv_c_inline in
15707 inline | yes) ;;
15709 case $ac_cv_c_inline in
15710 no) ac_val=;;
15711 *) ac_val=$ac_cv_c_inline;;
15712 esac
15713 cat >>confdefs.h <<_ACEOF
15714 #ifndef __cplusplus
15715 #define inline $ac_val
15716 #endif
15717 _ACEOF
15719 esac
15721 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15722 if test "x$ac_cv_type_mode_t" = xyes; then :
15724 cat >>confdefs.h <<_ACEOF
15725 #define HAVE_MODE_T 1
15726 _ACEOF
15730 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15731 if test "x$ac_cv_type_off_t" = xyes; then :
15733 cat >>confdefs.h <<_ACEOF
15734 #define HAVE_OFF_T 1
15735 _ACEOF
15739 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15740 if test "x$ac_cv_type_pid_t" = xyes; then :
15742 cat >>confdefs.h <<_ACEOF
15743 #define HAVE_PID_T 1
15744 _ACEOF
15748 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15749 if test "x$ac_cv_type_size_t" = xyes; then :
15751 cat >>confdefs.h <<_ACEOF
15752 #define HAVE_SIZE_T 1
15753 _ACEOF
15757 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15758 if test "x$ac_cv_type_ssize_t" = xyes; then :
15760 cat >>confdefs.h <<_ACEOF
15761 #define HAVE_SSIZE_T 1
15762 _ACEOF
15766 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15767 if test "x$ac_cv_type_long_long" = xyes; then :
15769 cat >>confdefs.h <<_ACEOF
15770 #define HAVE_LONG_LONG 1
15771 _ACEOF
15775 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15776 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15778 cat >>confdefs.h <<_ACEOF
15779 #define HAVE_FSBLKCNT_T 1
15780 _ACEOF
15784 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15785 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15787 cat >>confdefs.h <<_ACEOF
15788 #define HAVE_FSFILCNT_T 1
15789 _ACEOF
15794 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15795 #include <signal.h>
15797 if test "x$ac_cv_type_sigset_t" = xyes; then :
15799 cat >>confdefs.h <<_ACEOF
15800 #define HAVE_SIGSET_T 1
15801 _ACEOF
15806 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15808 if test "x$ac_cv_type_request_sense" = xyes; then :
15810 cat >>confdefs.h <<_ACEOF
15811 #define HAVE_REQUEST_SENSE 1
15812 _ACEOF
15818 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15819 #ifdef HAVE_SYS_SOCKET_H
15820 #include <sys/socket.h>
15821 #endif
15822 #ifdef HAVE_SYS_SOCKETVAR_H
15823 #include <sys/socketvar.h>
15824 #endif
15825 #ifdef HAVE_NET_ROUTE_H
15826 #include <net/route.h>
15827 #endif
15828 #ifdef HAVE_NETINET_IN_H
15829 #include <netinet/in.h>
15830 #endif
15831 #ifdef HAVE_NETINET_IN_SYSTM_H
15832 #include <netinet/in_systm.h>
15833 #endif
15834 #ifdef HAVE_NETINET_IP_H
15835 #include <netinet/ip.h>
15836 #endif
15837 #ifdef HAVE_NETINET_IN_PCB_H
15838 #include <netinet/in_pcb.h>
15839 #endif
15841 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15843 cat >>confdefs.h <<_ACEOF
15844 #define HAVE_STRUCT_XINPGEN 1
15845 _ACEOF
15851 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15852 #include <link.h>
15853 #endif
15854 #ifdef HAVE_SYS_LINK_H
15855 #include <sys/link.h>
15856 #endif
15858 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15860 cat >>confdefs.h <<_ACEOF
15861 #define HAVE_STRUCT_R_DEBUG 1
15862 _ACEOF
15866 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15867 #include <link.h>
15868 #endif
15869 #ifdef HAVE_SYS_LINK_H
15870 #include <sys/link.h>
15871 #endif
15873 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15875 cat >>confdefs.h <<_ACEOF
15876 #define HAVE_STRUCT_LINK_MAP 1
15877 _ACEOF
15883 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15884 #include <linux/input.h>
15885 #endif
15887 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15889 cat >>confdefs.h <<_ACEOF
15890 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15891 _ACEOF
15897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15898 $as_echo_n "checking for sigaddset... " >&6; }
15899 if ${wine_cv_have_sigaddset+:} false; then :
15900 $as_echo_n "(cached) " >&6
15901 else
15902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15903 /* end confdefs.h. */
15904 #include <signal.h>
15906 main ()
15908 sigset_t set; sigaddset(&set,SIGTERM);
15910 return 0;
15912 _ACEOF
15913 if ac_fn_c_try_link "$LINENO"; then :
15914 wine_cv_have_sigaddset=yes
15915 else
15916 wine_cv_have_sigaddset=no
15918 rm -f core conftest.err conftest.$ac_objext \
15919 conftest$ac_exeext conftest.$ac_ext
15921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15922 $as_echo "$wine_cv_have_sigaddset" >&6; }
15923 if test "$wine_cv_have_sigaddset" = "yes"
15924 then
15926 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15932 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15933 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15934 $as_echo_n "(cached) " >&6
15935 else
15936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15937 /* end confdefs.h. */
15938 #include <netdb.h>
15940 main ()
15943 char *name=0;
15944 struct hostent he;
15945 struct hostent *result;
15946 char *buf=0;
15947 int bufsize=0;
15948 int errnr;
15949 char *addr=0;
15950 int addrlen=0;
15951 int addrtype=0;
15952 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15953 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15956 return 0;
15958 _ACEOF
15959 if ac_fn_c_try_link "$LINENO"; then :
15960 wine_cv_linux_gethostbyname_r_6=yes
15961 else
15962 wine_cv_linux_gethostbyname_r_6=no
15965 rm -f core conftest.err conftest.$ac_objext \
15966 conftest$ac_exeext conftest.$ac_ext
15969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15970 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15971 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15972 then
15974 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15978 if test "$ac_cv_header_linux_joystick_h" = "yes"
15979 then
15980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15981 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15982 if ${wine_cv_linux_joystick_22_api+:} false; then :
15983 $as_echo_n "(cached) " >&6
15984 else
15985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15986 /* end confdefs.h. */
15988 #include <sys/ioctl.h>
15989 #include <sys/types.h>
15990 #include <linux/joystick.h>
15992 struct js_event blub;
15993 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15994 #error "no 2.2 header"
15995 #endif
15998 main ()
16000 /*empty*/
16002 return 0;
16004 _ACEOF
16005 if ac_fn_c_try_compile "$LINENO"; then :
16006 wine_cv_linux_joystick_22_api=yes
16007 else
16008 wine_cv_linux_joystick_22_api=no
16010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16014 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16015 if test "$wine_cv_linux_joystick_22_api" = "yes"
16016 then
16018 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16024 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16025 #ifdef HAVE_SYS_PARAM_H
16026 # include <sys/param.h>
16027 #endif
16028 #ifdef HAVE_SYS_MOUNT_H
16029 # include <sys/mount.h>
16030 #endif
16031 #ifdef HAVE_SYS_VFS_H
16032 # include <sys/vfs.h>
16033 #endif
16034 #ifdef HAVE_SYS_STATFS_H
16035 # include <sys/statfs.h>
16036 #endif
16038 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16040 cat >>confdefs.h <<_ACEOF
16041 #define HAVE_STRUCT_STATFS_F_BFREE 1
16042 _ACEOF
16046 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16047 #ifdef HAVE_SYS_PARAM_H
16048 # include <sys/param.h>
16049 #endif
16050 #ifdef HAVE_SYS_MOUNT_H
16051 # include <sys/mount.h>
16052 #endif
16053 #ifdef HAVE_SYS_VFS_H
16054 # include <sys/vfs.h>
16055 #endif
16056 #ifdef HAVE_SYS_STATFS_H
16057 # include <sys/statfs.h>
16058 #endif
16060 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16062 cat >>confdefs.h <<_ACEOF
16063 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16064 _ACEOF
16068 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16069 #ifdef HAVE_SYS_PARAM_H
16070 # include <sys/param.h>
16071 #endif
16072 #ifdef HAVE_SYS_MOUNT_H
16073 # include <sys/mount.h>
16074 #endif
16075 #ifdef HAVE_SYS_VFS_H
16076 # include <sys/vfs.h>
16077 #endif
16078 #ifdef HAVE_SYS_STATFS_H
16079 # include <sys/statfs.h>
16080 #endif
16082 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16084 cat >>confdefs.h <<_ACEOF
16085 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16086 _ACEOF
16090 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16091 #ifdef HAVE_SYS_PARAM_H
16092 # include <sys/param.h>
16093 #endif
16094 #ifdef HAVE_SYS_MOUNT_H
16095 # include <sys/mount.h>
16096 #endif
16097 #ifdef HAVE_SYS_VFS_H
16098 # include <sys/vfs.h>
16099 #endif
16100 #ifdef HAVE_SYS_STATFS_H
16101 # include <sys/statfs.h>
16102 #endif
16104 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16106 cat >>confdefs.h <<_ACEOF
16107 #define HAVE_STRUCT_STATFS_F_FFREE 1
16108 _ACEOF
16112 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16113 #ifdef HAVE_SYS_PARAM_H
16114 # include <sys/param.h>
16115 #endif
16116 #ifdef HAVE_SYS_MOUNT_H
16117 # include <sys/mount.h>
16118 #endif
16119 #ifdef HAVE_SYS_VFS_H
16120 # include <sys/vfs.h>
16121 #endif
16122 #ifdef HAVE_SYS_STATFS_H
16123 # include <sys/statfs.h>
16124 #endif
16126 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16128 cat >>confdefs.h <<_ACEOF
16129 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16130 _ACEOF
16134 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16135 #ifdef HAVE_SYS_PARAM_H
16136 # include <sys/param.h>
16137 #endif
16138 #ifdef HAVE_SYS_MOUNT_H
16139 # include <sys/mount.h>
16140 #endif
16141 #ifdef HAVE_SYS_VFS_H
16142 # include <sys/vfs.h>
16143 #endif
16144 #ifdef HAVE_SYS_STATFS_H
16145 # include <sys/statfs.h>
16146 #endif
16148 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16150 cat >>confdefs.h <<_ACEOF
16151 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16152 _ACEOF
16158 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16159 #include <sys/statvfs.h>
16160 #endif
16162 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16164 cat >>confdefs.h <<_ACEOF
16165 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16166 _ACEOF
16172 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16173 #include <dirent.h>
16174 #endif
16176 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16178 cat >>confdefs.h <<_ACEOF
16179 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16180 _ACEOF
16186 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16187 #ifdef HAVE_SYS_SOCKET_H
16188 # include <sys/socket.h>
16189 #endif
16190 #ifdef HAVE_SYS_UN_H
16191 # include <sys/un.h>
16192 #endif
16194 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16196 cat >>confdefs.h <<_ACEOF
16197 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16198 _ACEOF
16202 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16203 #ifdef HAVE_SYS_SOCKET_H
16204 # include <sys/socket.h>
16205 #endif
16206 #ifdef HAVE_SYS_UN_H
16207 # include <sys/un.h>
16208 #endif
16210 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16212 cat >>confdefs.h <<_ACEOF
16213 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16214 _ACEOF
16218 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16219 #ifdef HAVE_SYS_SOCKET_H
16220 # include <sys/socket.h>
16221 #endif
16222 #ifdef HAVE_SYS_UN_H
16223 # include <sys/un.h>
16224 #endif
16226 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16228 cat >>confdefs.h <<_ACEOF
16229 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16230 _ACEOF
16236 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16237 #ifdef HAVE_SCSI_SG_H
16238 #include <scsi/sg.h>
16239 #endif
16241 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16243 cat >>confdefs.h <<_ACEOF
16244 #define HAVE_SCSIREQ_T_CMD 1
16245 _ACEOF
16249 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>
16250 #ifdef HAVE_SCSI_SG_H
16251 #include <scsi/sg.h>
16252 #endif
16254 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16256 cat >>confdefs.h <<_ACEOF
16257 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16258 _ACEOF
16264 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16266 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16268 cat >>confdefs.h <<_ACEOF
16269 #define HAVE_SIGINFO_T_SI_FD 1
16270 _ACEOF
16276 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16277 #ifdef HAVE_SYS_MTIO_H
16278 #include <sys/mtio.h>
16279 #endif
16281 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16283 cat >>confdefs.h <<_ACEOF
16284 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16285 _ACEOF
16289 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16290 #ifdef HAVE_SYS_MTIO_H
16291 #include <sys/mtio.h>
16292 #endif
16294 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16296 cat >>confdefs.h <<_ACEOF
16297 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16298 _ACEOF
16302 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16303 #ifdef HAVE_SYS_MTIO_H
16304 #include <sys/mtio.h>
16305 #endif
16307 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16309 cat >>confdefs.h <<_ACEOF
16310 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16311 _ACEOF
16317 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16318 #include <getopt.h>
16319 #endif
16321 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16323 cat >>confdefs.h <<_ACEOF
16324 #define HAVE_STRUCT_OPTION_NAME 1
16325 _ACEOF
16331 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16332 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16334 cat >>confdefs.h <<_ACEOF
16335 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16336 _ACEOF
16340 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16341 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16343 cat >>confdefs.h <<_ACEOF
16344 #define HAVE_STRUCT_STAT_ST_MTIM 1
16345 _ACEOF
16349 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16350 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16352 cat >>confdefs.h <<_ACEOF
16353 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16354 _ACEOF
16358 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16359 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16361 cat >>confdefs.h <<_ACEOF
16362 #define HAVE_STRUCT_STAT_ST_CTIM 1
16363 _ACEOF
16367 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16368 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16370 cat >>confdefs.h <<_ACEOF
16371 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16372 _ACEOF
16376 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16377 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16379 cat >>confdefs.h <<_ACEOF
16380 #define HAVE_STRUCT_STAT_ST_ATIM 1
16381 _ACEOF
16385 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16386 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16388 cat >>confdefs.h <<_ACEOF
16389 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16390 _ACEOF
16394 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16395 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16397 cat >>confdefs.h <<_ACEOF
16398 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16399 _ACEOF
16403 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16404 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16406 cat >>confdefs.h <<_ACEOF
16407 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16408 _ACEOF
16412 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16413 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16415 cat >>confdefs.h <<_ACEOF
16416 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16417 _ACEOF
16421 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16422 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16424 cat >>confdefs.h <<_ACEOF
16425 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16426 _ACEOF
16430 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16431 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16433 cat >>confdefs.h <<_ACEOF
16434 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16435 _ACEOF
16441 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
16442 #include <sys/types.h>
16443 #endif
16444 #ifdef HAVE_NETINET_IN_H
16445 #include <netinet/in.h>
16446 #endif
16448 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16450 cat >>confdefs.h <<_ACEOF
16451 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16452 _ACEOF
16458 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16459 #include <resolv.h>
16460 #endif
16462 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16464 cat >>confdefs.h <<_ACEOF
16465 #define HAVE_STRUCT___RES_STATE 1
16466 _ACEOF
16472 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
16473 #include <resolv.h>
16474 #endif
16476 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16478 cat >>confdefs.h <<_ACEOF
16479 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16480 _ACEOF
16486 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16487 #include <sys/types.h>
16488 #endif
16489 #ifdef HAVE_NETINET_IN_H
16490 # include <netinet/in.h>
16491 #endif
16492 #ifdef HAVE_ARPA_NAMESER_H
16493 # include <arpa/nameser.h>
16494 #endif
16496 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16498 cat >>confdefs.h <<_ACEOF
16499 #define HAVE_NS_MSG__MSG_PTR 1
16500 _ACEOF
16506 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16507 #include <sys/types.h>
16508 #endif
16509 #ifdef HAVE_NETINET_IP_H
16510 #include <netinet/ip.h>
16511 #endif
16512 #ifdef HAVE_NETINET_IP_ICMP_H
16513 #include <netinet/ip_icmp.h>
16514 #endif
16515 #ifdef HAVE_NETINET_ICMP_VAR_H
16516 #include <netinet/icmp_var.h>
16517 #endif
16519 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16521 cat >>confdefs.h <<_ACEOF
16522 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16523 _ACEOF
16529 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16530 #include <sys/types.h>
16531 #endif
16532 #ifdef HAVE_ALIAS_H
16533 #include <alias.h>
16534 #endif
16535 #ifdef HAVE_SYS_SOCKET_H
16536 #include <sys/socket.h>
16537 #endif
16538 #ifdef HAVE_SYS_SOCKETVAR_H
16539 #include <sys/socketvar.h>
16540 #endif
16541 #ifdef HAVE_SYS_TIMEOUT_H
16542 #include <sys/timeout.h>
16543 #endif
16544 #ifdef HAVE_NETINET_IN_H
16545 #include <netinet/in.h>
16546 #endif
16547 #ifdef HAVE_NETINET_IN_SYSTM_H
16548 #include <netinet/in_systm.h>
16549 #endif
16550 #ifdef HAVE_NETINET_IP_H
16551 #include <netinet/ip.h>
16552 #endif
16553 #ifdef HAVE_NETINET_IP_VAR_H
16554 #include <netinet/ip_var.h>
16555 #endif
16556 #ifdef HAVE_NETINET_IP_ICMP_H
16557 #include <netinet/ip_icmp.h>
16558 #endif
16559 #ifdef HAVE_NETINET_ICMP_VAR_H
16560 #include <netinet/icmp_var.h>
16561 #endif
16563 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16565 cat >>confdefs.h <<_ACEOF
16566 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16567 _ACEOF
16573 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16574 #include <sys/types.h>
16575 #endif
16576 #ifdef HAVE_SYS_SOCKETVAR_H
16577 #include <sys/socketvar.h>
16578 #endif
16579 #ifdef HAVE_NETINET_IN_H
16580 #include <netinet/in.h>
16581 #endif
16582 #ifdef HAVE_NETINET_IP_VAR_H
16583 #include <netinet/ip_var.h>
16584 #endif
16586 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16588 cat >>confdefs.h <<_ACEOF
16589 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16590 _ACEOF
16596 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
16597 #include <netinet/ip_var.h>
16598 #endif
16600 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16602 cat >>confdefs.h <<_ACEOF
16603 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16604 _ACEOF
16610 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16611 #include <sys/types.h>
16612 #endif
16613 #ifdef HAVE_SYS_SOCKETVAR_H
16614 #include <sys/socketvar.h>
16615 #endif
16616 #ifdef HAVE_NETINET_IN_H
16617 #include <netinet/in.h>
16618 #endif
16619 #ifdef HAVE_NETINET_TCP_H
16620 #include <netinet/tcp.h>
16621 #endif
16622 #ifdef HAVE_NETINET_TCP_VAR_H
16623 #include <netinet/tcp_var.h>
16624 #endif
16626 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16628 cat >>confdefs.h <<_ACEOF
16629 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16630 _ACEOF
16636 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
16637 #include <netinet/tcp_var.h>
16638 #endif
16640 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16642 cat >>confdefs.h <<_ACEOF
16643 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16644 _ACEOF
16650 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16651 #include <sys/types.h>
16652 #endif
16653 #ifdef HAVE_NETINET_IN_H
16654 #include <netinet/in.h>
16655 #endif
16656 #ifdef HAVE_NETINET_IP_VAR_H
16657 #include <netinet/ip_var.h>
16658 #endif
16659 #ifdef HAVE_NETINET_UDP_H
16660 #include <netinet/udp.h>
16661 #endif
16662 #ifdef HAVE_NETINET_UDP_VAR_H
16663 #include <netinet/udp_var.h>
16664 #endif
16666 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16668 cat >>confdefs.h <<_ACEOF
16669 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16670 _ACEOF
16676 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16677 #include <sys/types.h>
16678 #endif
16679 #ifdef HAVE_NET_IF_H
16680 # include <net/if.h>
16681 #endif
16683 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16685 cat >>confdefs.h <<_ACEOF
16686 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16687 _ACEOF
16693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16694 $as_echo_n "checking for timezone variable... " >&6; }
16695 if ${ac_cv_have_timezone+:} false; then :
16696 $as_echo_n "(cached) " >&6
16697 else
16698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16699 /* end confdefs.h. */
16700 #include <time.h>
16702 main ()
16704 timezone = 1
16706 return 0;
16708 _ACEOF
16709 if ac_fn_c_try_link "$LINENO"; then :
16710 ac_cv_have_timezone="yes"
16711 else
16712 ac_cv_have_timezone="no"
16714 rm -f core conftest.err conftest.$ac_objext \
16715 conftest$ac_exeext conftest.$ac_ext
16717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16718 $as_echo "$ac_cv_have_timezone" >&6; }
16719 if test "$ac_cv_have_timezone" = "yes"
16720 then
16722 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16726 $as_echo_n "checking for daylight variable... " >&6; }
16727 if ${ac_cv_have_daylight+:} false; then :
16728 $as_echo_n "(cached) " >&6
16729 else
16730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16731 /* end confdefs.h. */
16732 #include <time.h>
16734 main ()
16736 daylight = 1
16738 return 0;
16740 _ACEOF
16741 if ac_fn_c_try_link "$LINENO"; then :
16742 ac_cv_have_daylight="yes"
16743 else
16744 ac_cv_have_daylight="no"
16746 rm -f core conftest.err conftest.$ac_objext \
16747 conftest$ac_exeext conftest.$ac_ext
16749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16750 $as_echo "$ac_cv_have_daylight" >&6; }
16751 if test "$ac_cv_have_daylight" = "yes"
16752 then
16754 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16758 ac_save_LIBS="$LIBS"
16759 LIBS="$LIBS -lm"
16760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16761 $as_echo_n "checking for isfinite... " >&6; }
16762 if ${ac_cv_have_isfinite+:} false; then :
16763 $as_echo_n "(cached) " >&6
16764 else
16765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16766 /* end confdefs.h. */
16767 #define _GNU_SOURCE
16768 #include <math.h>
16770 main ()
16772 float f = 0.0; return isfinite(f)
16774 return 0;
16776 _ACEOF
16777 if ac_fn_c_try_link "$LINENO"; then :
16778 ac_cv_have_isfinite="yes"
16779 else
16780 ac_cv_have_isfinite="no"
16782 rm -f core conftest.err conftest.$ac_objext \
16783 conftest$ac_exeext conftest.$ac_ext
16785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16786 $as_echo "$ac_cv_have_isfinite" >&6; }
16787 if test "$ac_cv_have_isfinite" = "yes"
16788 then
16790 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16795 $as_echo_n "checking for isinf... " >&6; }
16796 if ${ac_cv_have_isinf+:} false; then :
16797 $as_echo_n "(cached) " >&6
16798 else
16799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16800 /* end confdefs.h. */
16801 #include <math.h>
16803 main ()
16805 float f = 0.0; return isinf(f)
16807 return 0;
16809 _ACEOF
16810 if ac_fn_c_try_link "$LINENO"; then :
16811 ac_cv_have_isinf="yes"
16812 else
16813 ac_cv_have_isinf="no"
16815 rm -f core conftest.err conftest.$ac_objext \
16816 conftest$ac_exeext conftest.$ac_ext
16818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16819 $as_echo "$ac_cv_have_isinf" >&6; }
16820 if test "$ac_cv_have_isinf" = "yes"
16821 then
16823 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16828 $as_echo_n "checking for isnan... " >&6; }
16829 if ${ac_cv_have_isnan+:} false; then :
16830 $as_echo_n "(cached) " >&6
16831 else
16832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16833 /* end confdefs.h. */
16834 #include <math.h>
16836 main ()
16838 float f = 0.0; return isnan(f)
16840 return 0;
16842 _ACEOF
16843 if ac_fn_c_try_link "$LINENO"; then :
16844 ac_cv_have_isnan="yes"
16845 else
16846 ac_cv_have_isnan="no"
16848 rm -f core conftest.err conftest.$ac_objext \
16849 conftest$ac_exeext conftest.$ac_ext
16851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16852 $as_echo "$ac_cv_have_isnan" >&6; }
16853 if test "$ac_cv_have_isnan" = "yes"
16854 then
16856 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16860 for ac_func in \
16861 cbrt \
16862 cbrtf \
16863 erf \
16864 erff \
16865 exp2 \
16866 exp2f \
16867 llrint \
16868 llrintf \
16869 llround \
16870 llroundf \
16871 log2 \
16872 log2f \
16873 lrint \
16874 lrintf \
16875 lround \
16876 lroundf \
16877 rint \
16878 rintf \
16879 round \
16880 roundf \
16881 trunc \
16882 truncf
16884 do :
16885 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16886 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16887 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16888 cat >>confdefs.h <<_ACEOF
16889 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16890 _ACEOF
16893 done
16895 LIBS="$ac_save_LIBS"
16897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16898 $as_echo_n "checking for __builtin_clz... " >&6; }
16899 if ${ac_cv_have___builtin_clz+:} false; then :
16900 $as_echo_n "(cached) " >&6
16901 else
16902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16903 /* end confdefs.h. */
16906 main ()
16908 return __builtin_clz(1)
16910 return 0;
16912 _ACEOF
16913 if ac_fn_c_try_link "$LINENO"; then :
16914 ac_cv_have___builtin_clz="yes"
16915 else
16916 ac_cv_have___builtin_clz="no"
16918 rm -f core conftest.err conftest.$ac_objext \
16919 conftest$ac_exeext conftest.$ac_ext
16921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16922 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16923 if test "$ac_cv_have___builtin_clz" = "yes"
16924 then
16926 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
16931 $as_echo_n "checking for __builtin_popcount... " >&6; }
16932 if ${ac_cv_have___builtin_popcount+:} false; then :
16933 $as_echo_n "(cached) " >&6
16934 else
16935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16936 /* end confdefs.h. */
16939 main ()
16941 return __builtin_popcount(1)
16943 return 0;
16945 _ACEOF
16946 if ac_fn_c_try_link "$LINENO"; then :
16947 ac_cv_have___builtin_popcount="yes"
16948 else
16949 ac_cv_have___builtin_popcount="no"
16951 rm -f core conftest.err conftest.$ac_objext \
16952 conftest$ac_exeext conftest.$ac_ext
16954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
16955 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
16956 if test "$ac_cv_have___builtin_popcount" = "yes"
16957 then
16959 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
16964 case $host_cpu in
16965 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16966 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16967 if ${ac_cv_cpp_def___i386__+:} false; then :
16968 $as_echo_n "(cached) " >&6
16969 else
16970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16971 /* end confdefs.h. */
16972 #ifndef __i386__
16974 #endif
16975 _ACEOF
16976 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16977 $EGREP "yes" >/dev/null 2>&1; then :
16978 ac_cv_cpp_def___i386__=yes
16979 else
16980 ac_cv_cpp_def___i386__=no
16982 rm -f conftest*
16985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16986 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16987 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16988 CFLAGS="$CFLAGS -D__i386__"
16989 LINTFLAGS="$LINTFLAGS -D__i386__"
16990 fi ;;
16991 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16992 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16993 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16994 $as_echo_n "(cached) " >&6
16995 else
16996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16997 /* end confdefs.h. */
16998 #ifndef __x86_64__
17000 #endif
17001 _ACEOF
17002 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17003 $EGREP "yes" >/dev/null 2>&1; then :
17004 ac_cv_cpp_def___x86_64__=yes
17005 else
17006 ac_cv_cpp_def___x86_64__=no
17008 rm -f conftest*
17011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17012 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17013 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17014 CFLAGS="$CFLAGS -D__x86_64__"
17015 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17016 fi ;;
17017 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17018 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17019 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17020 $as_echo_n "(cached) " >&6
17021 else
17022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17023 /* end confdefs.h. */
17024 #ifndef __sparc64__
17026 #endif
17027 _ACEOF
17028 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17029 $EGREP "yes" >/dev/null 2>&1; then :
17030 ac_cv_cpp_def___sparc64__=yes
17031 else
17032 ac_cv_cpp_def___sparc64__=no
17034 rm -f conftest*
17037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17038 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17039 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17040 CFLAGS="$CFLAGS -D__sparc64__"
17041 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17042 fi ;;
17043 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17044 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17045 if ${ac_cv_cpp_def___sparc__+:} false; then :
17046 $as_echo_n "(cached) " >&6
17047 else
17048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17049 /* end confdefs.h. */
17050 #ifndef __sparc__
17052 #endif
17053 _ACEOF
17054 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17055 $EGREP "yes" >/dev/null 2>&1; then :
17056 ac_cv_cpp_def___sparc__=yes
17057 else
17058 ac_cv_cpp_def___sparc__=no
17060 rm -f conftest*
17063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17064 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17065 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17066 CFLAGS="$CFLAGS -D__sparc__"
17067 LINTFLAGS="$LINTFLAGS -D__sparc__"
17068 fi ;;
17069 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17070 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17071 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17072 $as_echo_n "(cached) " >&6
17073 else
17074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17075 /* end confdefs.h. */
17076 #ifndef __powerpc64__
17078 #endif
17079 _ACEOF
17080 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17081 $EGREP "yes" >/dev/null 2>&1; then :
17082 ac_cv_cpp_def___powerpc64__=yes
17083 else
17084 ac_cv_cpp_def___powerpc64__=no
17086 rm -f conftest*
17089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17090 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17091 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17092 CFLAGS="$CFLAGS -D__powerpc64__"
17093 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17094 fi ;;
17095 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17096 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17097 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17098 $as_echo_n "(cached) " >&6
17099 else
17100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17101 /* end confdefs.h. */
17102 #ifndef __powerpc__
17104 #endif
17105 _ACEOF
17106 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17107 $EGREP "yes" >/dev/null 2>&1; then :
17108 ac_cv_cpp_def___powerpc__=yes
17109 else
17110 ac_cv_cpp_def___powerpc__=no
17112 rm -f conftest*
17115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17116 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17117 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17118 CFLAGS="$CFLAGS -D__powerpc__"
17119 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17120 fi ;;
17121 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17122 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17123 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17124 $as_echo_n "(cached) " >&6
17125 else
17126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17127 /* end confdefs.h. */
17128 #ifndef __aarch64__
17130 #endif
17131 _ACEOF
17132 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17133 $EGREP "yes" >/dev/null 2>&1; then :
17134 ac_cv_cpp_def___aarch64__=yes
17135 else
17136 ac_cv_cpp_def___aarch64__=no
17138 rm -f conftest*
17141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17142 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17143 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17144 CFLAGS="$CFLAGS -D__aarch64__"
17145 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17146 fi ;;
17147 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17148 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17149 if ${ac_cv_cpp_def___arm__+:} false; then :
17150 $as_echo_n "(cached) " >&6
17151 else
17152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17153 /* end confdefs.h. */
17154 #ifndef __arm__
17156 #endif
17157 _ACEOF
17158 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17159 $EGREP "yes" >/dev/null 2>&1; then :
17160 ac_cv_cpp_def___arm__=yes
17161 else
17162 ac_cv_cpp_def___arm__=no
17164 rm -f conftest*
17167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17168 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17169 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17170 CFLAGS="$CFLAGS -D__arm__"
17171 LINTFLAGS="$LINTFLAGS -D__arm__"
17172 fi ;;
17173 esac
17175 case $host_vendor in
17176 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17177 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17178 if ${ac_cv_cpp_def___sun__+:} false; then :
17179 $as_echo_n "(cached) " >&6
17180 else
17181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17182 /* end confdefs.h. */
17183 #ifndef __sun__
17185 #endif
17186 _ACEOF
17187 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17188 $EGREP "yes" >/dev/null 2>&1; then :
17189 ac_cv_cpp_def___sun__=yes
17190 else
17191 ac_cv_cpp_def___sun__=no
17193 rm -f conftest*
17196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17197 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17198 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17199 CFLAGS="$CFLAGS -D__sun__"
17200 LINTFLAGS="$LINTFLAGS -D__sun__"
17201 fi ;;
17202 esac
17208 ac_config_commands="$ac_config_commands include/stamp-h"
17210 $as_echo_n "creating Makefile rules..." >&6
17212 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17213 SOCKET_LIBS = $SOCKET_LIBS
17214 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17215 IOKIT_LIBS = $IOKIT_LIBS
17216 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17217 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17218 CORESERVICES_LIBS = $CORESERVICES_LIBS
17219 APPKIT_LIBS = $APPKIT_LIBS
17220 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17221 SECURITY_LIBS = $SECURITY_LIBS
17222 COREAUDIO_LIBS = $COREAUDIO_LIBS
17223 OPENAL_LIBS = $OPENAL_LIBS
17224 OPENCL_LIBS = $OPENCL_LIBS
17225 QUICKTIME_LIBS = $QUICKTIME_LIBS
17226 CARBON_LIBS = $CARBON_LIBS
17227 PTHREAD_LIBS = $PTHREAD_LIBS
17228 X_CFLAGS = $X_CFLAGS
17229 X_PRE_LIBS = $X_PRE_LIBS
17230 X_LIBS = $X_LIBS
17231 X_EXTRA_LIBS = $X_EXTRA_LIBS
17232 PCAP_LIBS = $PCAP_LIBS
17233 XML2_CFLAGS = $XML2_CFLAGS
17234 XML2_LIBS = $XML2_LIBS
17235 XSLT_CFLAGS = $XSLT_CFLAGS
17236 XSLT_LIBS = $XSLT_LIBS
17237 DBUS_CFLAGS = $DBUS_CFLAGS
17238 DBUS_LIBS = $DBUS_LIBS
17239 HAL_CFLAGS = $HAL_CFLAGS
17240 HAL_LIBS = $HAL_LIBS
17241 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17242 GNUTLS_LIBS = $GNUTLS_LIBS
17243 SANE_CFLAGS = $SANE_CFLAGS
17244 SANE_LIBS = $SANE_LIBS
17245 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17246 GPHOTO2_LIBS = $GPHOTO2_LIBS
17247 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17248 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17249 RESOLV_LIBS = $RESOLV_LIBS
17250 LCMS2_CFLAGS = $LCMS2_CFLAGS
17251 LCMS2_LIBS = $LCMS2_LIBS
17252 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17253 FREETYPE_LIBS = $FREETYPE_LIBS
17254 Z_LIBS = $Z_LIBS
17255 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17256 PULSE_CFLAGS = $PULSE_CFLAGS
17257 PULSE_LIBS = $PULSE_LIBS
17258 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17259 GSTREAMER_LIBS = $GSTREAMER_LIBS
17260 ALSA_LIBS = $ALSA_LIBS
17261 OSS4_CFLAGS = $OSS4_CFLAGS
17262 CAPI20_CFLAGS = $CAPI20_CFLAGS
17263 CAPI20_LIBS = $CAPI20_LIBS
17264 CUPS_CFLAGS = $CUPS_CFLAGS
17265 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17266 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17267 JPEG_CFLAGS = $JPEG_CFLAGS
17268 JPEG_LIBS = $JPEG_LIBS
17269 PNG_CFLAGS = $PNG_CFLAGS
17270 PNG_LIBS = $PNG_LIBS
17271 TIFF_CFLAGS = $TIFF_CFLAGS
17272 TIFF_LIBS = $TIFF_LIBS
17273 MPG123_CFLAGS = $MPG123_CFLAGS
17274 MPG123_LIBS = $MPG123_LIBS
17275 KSTAT_LIBS = $KSTAT_LIBS
17276 PROCSTAT_LIBS = $PROCSTAT_LIBS
17277 NETAPI_CFLAGS = $NETAPI_CFLAGS
17278 NETAPI_LIBS = $NETAPI_LIBS
17279 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17280 DL_LIBS = $DL_LIBS
17281 POLL_LIBS = $POLL_LIBS
17282 RT_LIBS = $RT_LIBS
17283 LDAP_LIBS = $LDAP_LIBS
17288 wine_fn_append_rule "
17289 # Rules automatically generated by configure
17291 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17293 .INIT: Makefile
17294 .MAKEFILEDEPS:
17295 all: Makefile
17296 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17297 @./config.status Make.tmp Makefile
17298 depend: \$(MAKEDEP) dummy
17299 \$(MAKEDEP)"
17301 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17302 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17304 if test "x$enable_fonts" != xno; then
17305 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17306 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17307 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17308 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17309 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17310 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17312 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17313 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17314 ac_config_links="$ac_config_links wine:tools/winewrapper"
17315 wine_fn_config_symlink wine
17316 if test "x$enable_win64" != xno; then
17317 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17318 wine_fn_config_symlink wine64
17321 wine_fn_config_dll acledit enable_acledit
17322 wine_fn_config_dll aclui enable_aclui implib
17323 wine_fn_config_dll activeds enable_activeds implib
17324 wine_fn_config_dll actxprxy enable_actxprxy clean
17325 wine_fn_config_lib adsiid
17326 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17327 wine_fn_config_test dlls/advapi32/tests advapi32_test
17328 wine_fn_config_dll advpack enable_advpack implib
17329 wine_fn_config_test dlls/advpack/tests advpack_test
17330 wine_fn_config_dll amstream enable_amstream clean
17331 wine_fn_config_test dlls/amstream/tests amstream_test
17332 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17333 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17334 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17335 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17336 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17337 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17338 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17339 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17340 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17341 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17342 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17343 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17344 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17345 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17346 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17347 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17348 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17349 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17350 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17351 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17352 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17353 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17354 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17355 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17356 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17357 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17358 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17359 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17360 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17361 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17362 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17363 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17364 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17365 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17366 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17367 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17368 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17369 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17370 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17371 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17372 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17373 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17374 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17375 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17376 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17377 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17378 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17379 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17380 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17381 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17382 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17383 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17384 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17385 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17386 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17387 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17388 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17389 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17390 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17391 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17392 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17393 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17394 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17395 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17396 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17397 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17398 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17399 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17400 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17401 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17402 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17403 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17404 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17405 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17406 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17407 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17408 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17409 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17410 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17411 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17412 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17413 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17414 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17415 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17416 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17417 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17418 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17419 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17420 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17421 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17422 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17423 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17424 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17425 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17426 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17427 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17428 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17429 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17430 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17431 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17432 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17433 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17434 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17435 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17436 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17437 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17438 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17439 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17440 wine_fn_config_dll apphelp enable_apphelp
17441 wine_fn_config_test dlls/apphelp/tests apphelp_test
17442 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17443 wine_fn_config_dll atl enable_atl clean,implib
17444 wine_fn_config_test dlls/atl/tests atl_test
17445 wine_fn_config_dll atl100 enable_atl100 clean,implib
17446 wine_fn_config_test dlls/atl100/tests atl100_test
17447 wine_fn_config_dll atl110 enable_atl110 clean
17448 wine_fn_config_dll atl80 enable_atl80 clean,implib
17449 wine_fn_config_test dlls/atl80/tests atl80_test
17450 wine_fn_config_dll atl90 enable_atl90 clean
17451 wine_fn_config_dll authz enable_authz
17452 wine_fn_config_dll avicap32 enable_avicap32 implib
17453 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
17454 wine_fn_config_test dlls/avifil32/tests avifil32_test
17455 wine_fn_config_dll avifile.dll16 enable_win16
17456 wine_fn_config_dll avrt enable_avrt implib
17457 wine_fn_config_dll bcrypt enable_bcrypt implib
17458 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17459 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17460 wine_fn_config_dll browseui enable_browseui clean
17461 wine_fn_config_test dlls/browseui/tests browseui_test
17462 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17463 wine_fn_config_dll cabinet enable_cabinet implib
17464 wine_fn_config_test dlls/cabinet/tests cabinet_test
17465 wine_fn_config_dll capi2032 enable_capi2032 implib
17466 wine_fn_config_dll cards enable_cards implib
17467 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17468 wine_fn_config_dll clusapi enable_clusapi implib
17469 wine_fn_config_dll combase enable_combase
17470 wine_fn_config_test dlls/combase/tests combase_test
17471 wine_fn_config_dll comcat enable_comcat
17472 wine_fn_config_test dlls/comcat/tests comcat_test
17473 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
17474 wine_fn_config_test dlls/comctl32/tests comctl32_test
17475 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
17476 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17477 wine_fn_config_dll comm.drv16 enable_win16
17478 wine_fn_config_dll commdlg.dll16 enable_win16
17479 wine_fn_config_dll compobj.dll16 enable_win16
17480 wine_fn_config_dll compstui enable_compstui implib
17481 wine_fn_config_dll comsvcs enable_comsvcs implib
17482 wine_fn_config_dll connect enable_connect
17483 wine_fn_config_dll credui enable_credui clean,implib
17484 wine_fn_config_test dlls/credui/tests credui_test
17485 wine_fn_config_dll crtdll enable_crtdll implib
17486 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
17487 wine_fn_config_test dlls/crypt32/tests crypt32_test
17488 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17489 wine_fn_config_dll cryptdll enable_cryptdll implib
17490 wine_fn_config_dll cryptext enable_cryptext
17491 wine_fn_config_dll cryptnet enable_cryptnet implib
17492 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17493 wine_fn_config_dll cryptui enable_cryptui clean,implib
17494 wine_fn_config_test dlls/cryptui/tests cryptui_test
17495 wine_fn_config_dll ctapi32 enable_ctapi32
17496 wine_fn_config_dll ctl3d.dll16 enable_win16
17497 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17498 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17499 wine_fn_config_dll d2d1 enable_d2d1 implib
17500 wine_fn_config_test dlls/d2d1/tests d2d1_test
17501 wine_fn_config_dll d3d10 enable_d3d10 implib
17502 wine_fn_config_test dlls/d3d10/tests d3d10_test
17503 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17504 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17505 wine_fn_config_dll d3d10core enable_d3d10core implib
17506 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17507 wine_fn_config_dll d3d11 enable_d3d11 implib
17508 wine_fn_config_test dlls/d3d11/tests d3d11_test
17509 wine_fn_config_dll d3d8 enable_d3d8 implib
17510 wine_fn_config_test dlls/d3d8/tests d3d8_test
17511 wine_fn_config_dll d3d9 enable_d3d9 implib
17512 wine_fn_config_test dlls/d3d9/tests d3d9_test
17513 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17514 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17515 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17516 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17517 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17518 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17519 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17520 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17521 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17522 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17523 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17524 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17525 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17526 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17527 wine_fn_config_dll d3dim enable_d3dim implib
17528 wine_fn_config_dll d3drm enable_d3drm implib
17529 wine_fn_config_test dlls/d3drm/tests d3drm_test
17530 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17531 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17532 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17533 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17534 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17535 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17536 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17537 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17538 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17539 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17540 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17541 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17542 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17543 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17544 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17545 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17546 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17547 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17548 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17549 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17550 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17551 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17552 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17553 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17554 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17555 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17556 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17557 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17558 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17559 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17560 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17561 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17562 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17563 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17564 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17565 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17566 wine_fn_config_dll davclnt enable_davclnt
17567 wine_fn_config_dll dbgeng enable_dbgeng implib
17568 wine_fn_config_dll dbghelp enable_dbghelp implib
17569 wine_fn_config_dll dciman32 enable_dciman32 implib
17570 wine_fn_config_dll ddeml.dll16 enable_win16
17571 wine_fn_config_dll ddraw enable_ddraw clean,implib
17572 wine_fn_config_test dlls/ddraw/tests ddraw_test
17573 wine_fn_config_dll ddrawex enable_ddrawex clean
17574 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17575 wine_fn_config_dll devenum enable_devenum clean
17576 wine_fn_config_test dlls/devenum/tests devenum_test
17577 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17578 wine_fn_config_dll difxapi enable_difxapi
17579 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
17580 wine_fn_config_test dlls/dinput/tests dinput_test
17581 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17582 wine_fn_config_test dlls/dinput8/tests dinput8_test
17583 wine_fn_config_dll dispdib.dll16 enable_win16
17584 wine_fn_config_dll dispex enable_dispex clean
17585 wine_fn_config_test dlls/dispex/tests dispex_test
17586 wine_fn_config_dll display.drv16 enable_win16
17587 wine_fn_config_dll dmband enable_dmband clean
17588 wine_fn_config_test dlls/dmband/tests dmband_test
17589 wine_fn_config_dll dmcompos enable_dmcompos clean
17590 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17591 wine_fn_config_dll dmime enable_dmime clean
17592 wine_fn_config_test dlls/dmime/tests dmime_test
17593 wine_fn_config_dll dmloader enable_dmloader clean
17594 wine_fn_config_test dlls/dmloader/tests dmloader_test
17595 wine_fn_config_dll dmscript enable_dmscript clean
17596 wine_fn_config_test dlls/dmscript/tests dmscript_test
17597 wine_fn_config_dll dmstyle enable_dmstyle clean
17598 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17599 wine_fn_config_dll dmsynth enable_dmsynth clean
17600 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17601 wine_fn_config_dll dmusic enable_dmusic clean
17602 wine_fn_config_test dlls/dmusic/tests dmusic_test
17603 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17604 wine_fn_config_dll dnsapi enable_dnsapi implib
17605 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17606 wine_fn_config_dll dplay enable_dplay implib
17607 wine_fn_config_dll dplayx enable_dplayx clean,implib
17608 wine_fn_config_test dlls/dplayx/tests dplayx_test
17609 wine_fn_config_dll dpnaddr enable_dpnaddr
17610 wine_fn_config_dll dpnet enable_dpnet clean,implib
17611 wine_fn_config_test dlls/dpnet/tests dpnet_test
17612 wine_fn_config_dll dpnhpast enable_dpnhpast
17613 wine_fn_config_dll dpnlobby enable_dpnlobby
17614 wine_fn_config_dll dpvoice enable_dpvoice clean
17615 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17616 wine_fn_config_dll dpwsockx enable_dpwsockx
17617 wine_fn_config_dll drmclien enable_drmclien
17618 wine_fn_config_dll dsound enable_dsound clean,implib
17619 wine_fn_config_test dlls/dsound/tests dsound_test
17620 wine_fn_config_dll dssenh enable_dssenh
17621 wine_fn_config_test dlls/dssenh/tests dssenh_test
17622 wine_fn_config_dll dswave enable_dswave clean
17623 wine_fn_config_test dlls/dswave/tests dswave_test
17624 wine_fn_config_dll dwmapi enable_dwmapi implib
17625 wine_fn_config_dll dwrite enable_dwrite implib
17626 wine_fn_config_test dlls/dwrite/tests dwrite_test
17627 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17628 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17629 wine_fn_config_lib dxerr8
17630 wine_fn_config_lib dxerr9
17631 wine_fn_config_dll dxgi enable_dxgi implib
17632 wine_fn_config_test dlls/dxgi/tests dxgi_test
17633 wine_fn_config_lib dxguid
17634 wine_fn_config_dll dxva2 enable_dxva2
17635 wine_fn_config_dll esent enable_esent
17636 wine_fn_config_dll evr enable_evr
17637 wine_fn_config_dll explorerframe enable_explorerframe clean
17638 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17639 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17640 wine_fn_config_dll faultrep enable_faultrep implib
17641 wine_fn_config_test dlls/faultrep/tests faultrep_test
17642 wine_fn_config_dll fltlib enable_fltlib
17643 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17644 wine_fn_config_dll fntcache enable_fntcache
17645 wine_fn_config_dll fontsub enable_fontsub
17646 wine_fn_config_dll fusion enable_fusion
17647 wine_fn_config_test dlls/fusion/tests fusion_test
17648 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17649 wine_fn_config_dll gameux enable_gameux clean
17650 wine_fn_config_test dlls/gameux/tests gameux_test
17651 wine_fn_config_dll gdi.exe16 enable_win16
17652 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
17653 wine_fn_config_test dlls/gdi32/tests gdi32_test
17654 wine_fn_config_dll gdiplus enable_gdiplus implib
17655 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17656 wine_fn_config_dll glu32 enable_glu32 implib
17657 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
17658 wine_fn_config_dll gpkcsp enable_gpkcsp
17659 wine_fn_config_dll hal enable_hal
17660 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
17661 wine_fn_config_dll hid enable_hid implib
17662 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17663 wine_fn_config_dll hlink enable_hlink clean,implib
17664 wine_fn_config_test dlls/hlink/tests hlink_test
17665 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17666 wine_fn_config_dll httpapi enable_httpapi
17667 wine_fn_config_dll iccvid enable_iccvid clean
17668 wine_fn_config_dll icmp enable_icmp
17669 wine_fn_config_dll ieframe enable_ieframe clean,implib
17670 wine_fn_config_test dlls/ieframe/tests ieframe_test
17671 wine_fn_config_dll ifsmgr.vxd enable_win16
17672 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17673 wine_fn_config_dll imagehlp enable_imagehlp implib
17674 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17675 wine_fn_config_dll imm.dll16 enable_win16
17676 wine_fn_config_dll imm32 enable_imm32 implib
17677 wine_fn_config_test dlls/imm32/tests imm32_test
17678 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17679 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17680 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
17681 wine_fn_config_dll inetmib1 enable_inetmib1
17682 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17683 wine_fn_config_dll infosoft enable_infosoft clean
17684 wine_fn_config_test dlls/infosoft/tests infosoft_test
17685 wine_fn_config_dll initpki enable_initpki
17686 wine_fn_config_dll inkobj enable_inkobj
17687 wine_fn_config_dll inseng enable_inseng clean
17688 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17689 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17690 wine_fn_config_dll irprops.cpl enable_irprops_cpl
17691 wine_fn_config_dll itircl enable_itircl
17692 wine_fn_config_dll itss enable_itss clean
17693 wine_fn_config_test dlls/itss/tests itss_test
17694 wine_fn_config_dll joy.cpl enable_joy_cpl clean
17695 wine_fn_config_dll jscript enable_jscript clean
17696 wine_fn_config_test dlls/jscript/tests jscript_test
17697 wine_fn_config_dll jsproxy enable_jsproxy implib
17698 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
17699 wine_fn_config_test dlls/kernel32/tests kernel32_test
17700 wine_fn_config_dll kernelbase enable_kernelbase
17701 wine_fn_config_dll keyboard.drv16 enable_win16
17702 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17703 wine_fn_config_dll ksuser enable_ksuser
17704 wine_fn_config_dll ktmw32 enable_ktmw32
17705 wine_fn_config_dll loadperf enable_loadperf implib
17706 wine_fn_config_dll localspl enable_localspl clean
17707 wine_fn_config_test dlls/localspl/tests localspl_test
17708 wine_fn_config_dll localui enable_localui clean
17709 wine_fn_config_test dlls/localui/tests localui_test
17710 wine_fn_config_dll lz32 enable_lz32 implib
17711 wine_fn_config_test dlls/lz32/tests lz32_test
17712 wine_fn_config_dll lzexpand.dll16 enable_win16
17713 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
17714 wine_fn_config_test dlls/mapi32/tests mapi32_test
17715 wine_fn_config_dll mapistub enable_mapistub
17716 wine_fn_config_dll mciavi32 enable_mciavi32
17717 wine_fn_config_dll mcicda enable_mcicda
17718 wine_fn_config_dll mciqtz32 enable_mciqtz32
17719 wine_fn_config_dll mciseq enable_mciseq
17720 wine_fn_config_dll mciwave enable_mciwave
17721 wine_fn_config_dll mf enable_mf
17722 wine_fn_config_dll mfplat enable_mfplat
17723 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17724 wine_fn_config_dll mgmtapi enable_mgmtapi
17725 wine_fn_config_dll midimap enable_midimap
17726 wine_fn_config_dll mlang enable_mlang clean,implib
17727 wine_fn_config_test dlls/mlang/tests mlang_test
17728 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17729 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17730 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17731 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17732 wine_fn_config_dll mmdevldr.vxd enable_win16
17733 wine_fn_config_dll mmsystem.dll16 enable_win16
17734 wine_fn_config_dll monodebg.vxd enable_win16
17735 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17736 wine_fn_config_dll mouse.drv16 enable_win16
17737 wine_fn_config_dll mpr enable_mpr clean,implib
17738 wine_fn_config_test dlls/mpr/tests mpr_test
17739 wine_fn_config_dll mprapi enable_mprapi implib
17740 wine_fn_config_dll msacm.dll16 enable_win16
17741 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17742 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
17743 wine_fn_config_test dlls/msacm32/tests msacm32_test
17744 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17745 wine_fn_config_dll msasn1 enable_msasn1 implib
17746 wine_fn_config_dll mscat32 enable_mscat32
17747 wine_fn_config_dll mscms enable_mscms implib
17748 wine_fn_config_test dlls/mscms/tests mscms_test
17749 wine_fn_config_dll mscoree enable_mscoree clean
17750 wine_fn_config_test dlls/mscoree/tests mscoree_test
17751 wine_fn_config_dll msctf enable_msctf clean
17752 wine_fn_config_test dlls/msctf/tests msctf_test
17753 wine_fn_config_dll msctfp enable_msctfp clean
17754 wine_fn_config_dll msdaps enable_msdaps clean
17755 wine_fn_config_dll msdelta enable_msdelta
17756 wine_fn_config_dll msdmo enable_msdmo implib
17757 wine_fn_config_test dlls/msdmo/tests msdmo_test
17758 wine_fn_config_dll msdrm enable_msdrm
17759 wine_fn_config_dll msftedit enable_msftedit
17760 wine_fn_config_dll msg711.acm enable_msg711_acm
17761 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17762 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17763 wine_fn_config_dll mshtml enable_mshtml clean,implib
17764 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17765 wine_fn_config_dll msi enable_msi clean,implib
17766 wine_fn_config_test dlls/msi/tests msi_test
17767 wine_fn_config_dll msident enable_msident clean
17768 wine_fn_config_dll msimg32 enable_msimg32 implib
17769 wine_fn_config_dll msimsg enable_msimsg
17770 wine_fn_config_dll msimtf enable_msimtf clean
17771 wine_fn_config_dll msisip enable_msisip
17772 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17773 wine_fn_config_dll msls31 enable_msls31
17774 wine_fn_config_dll msnet32 enable_msnet32
17775 wine_fn_config_dll mspatcha enable_mspatcha implib
17776 wine_fn_config_dll msrle32 enable_msrle32 clean
17777 wine_fn_config_test dlls/msrle32/tests msrle32_test
17778 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
17779 wine_fn_config_dll mssign32 enable_mssign32
17780 wine_fn_config_dll mssip32 enable_mssip32
17781 wine_fn_config_dll mstask enable_mstask clean
17782 wine_fn_config_test dlls/mstask/tests mstask_test
17783 wine_fn_config_dll msvcirt enable_msvcirt
17784 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
17785 wine_fn_config_dll msvcm80 enable_msvcm80
17786 wine_fn_config_dll msvcm90 enable_msvcm90
17787 wine_fn_config_dll msvcp100 enable_msvcp100
17788 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17789 wine_fn_config_dll msvcp110 enable_msvcp110
17790 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
17791 wine_fn_config_dll msvcp120 enable_msvcp120
17792 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
17793 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17794 wine_fn_config_dll msvcp60 enable_msvcp60
17795 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17796 wine_fn_config_dll msvcp70 enable_msvcp70
17797 wine_fn_config_dll msvcp71 enable_msvcp71
17798 wine_fn_config_dll msvcp80 enable_msvcp80
17799 wine_fn_config_dll msvcp90 enable_msvcp90
17800 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17801 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17802 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17803 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17804 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17805 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17806 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17807 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17808 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17809 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17810 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17811 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17812 wine_fn_config_dll msvcrt enable_msvcrt implib
17813 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17814 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17815 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17816 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17817 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17818 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
17819 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17820 wine_fn_config_dll msvidc32 enable_msvidc32 clean
17821 wine_fn_config_dll msvideo.dll16 enable_win16
17822 wine_fn_config_dll mswsock enable_mswsock implib
17823 wine_fn_config_dll msxml enable_msxml clean
17824 wine_fn_config_dll msxml2 enable_msxml2 clean
17825 wine_fn_config_dll msxml3 enable_msxml3 clean
17826 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17827 wine_fn_config_dll msxml4 enable_msxml4 clean
17828 wine_fn_config_dll msxml6 enable_msxml6 clean
17829 wine_fn_config_dll nddeapi enable_nddeapi implib
17830 wine_fn_config_dll ndis.sys enable_ndis_sys
17831 wine_fn_config_dll netapi32 enable_netapi32 implib
17832 wine_fn_config_test dlls/netapi32/tests netapi32_test
17833 wine_fn_config_dll netcfgx enable_netcfgx clean
17834 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17835 wine_fn_config_dll netprofm enable_netprofm clean
17836 wine_fn_config_test dlls/netprofm/tests netprofm_test
17837 wine_fn_config_dll newdev enable_newdev implib
17838 wine_fn_config_dll normaliz enable_normaliz implib
17839 wine_fn_config_dll npmshtml enable_npmshtml
17840 wine_fn_config_dll npptools enable_npptools
17841 wine_fn_config_dll ntdll enable_ntdll implib
17842 wine_fn_config_test dlls/ntdll/tests ntdll_test
17843 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17844 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17845 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17846 wine_fn_config_dll ntprint enable_ntprint
17847 wine_fn_config_test dlls/ntprint/tests ntprint_test
17848 wine_fn_config_dll objsel enable_objsel clean
17849 wine_fn_config_dll odbc32 enable_odbc32 implib
17850 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17851 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17852 wine_fn_config_dll odbccu32 enable_odbccu32
17853 wine_fn_config_dll ole2.dll16 enable_win16
17854 wine_fn_config_dll ole2conv.dll16 enable_win16
17855 wine_fn_config_dll ole2disp.dll16 enable_win16
17856 wine_fn_config_dll ole2nls.dll16 enable_win16
17857 wine_fn_config_dll ole2prox.dll16 enable_win16
17858 wine_fn_config_dll ole2thk.dll16 enable_win16
17859 wine_fn_config_dll ole32 enable_ole32 clean,implib
17860 wine_fn_config_test dlls/ole32/tests ole32_test
17861 wine_fn_config_dll oleacc enable_oleacc clean,implib
17862 wine_fn_config_test dlls/oleacc/tests oleacc_test
17863 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
17864 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17865 wine_fn_config_dll olecli.dll16 enable_win16
17866 wine_fn_config_dll olecli32 enable_olecli32 implib
17867 wine_fn_config_dll oledb32 enable_oledb32 clean
17868 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17869 wine_fn_config_dll oledlg enable_oledlg clean,implib
17870 wine_fn_config_test dlls/oledlg/tests oledlg_test
17871 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
17872 wine_fn_config_dll olesvr.dll16 enable_win16
17873 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17874 wine_fn_config_dll olethk32 enable_olethk32
17875 wine_fn_config_dll openal32 enable_openal32
17876 wine_fn_config_dll opencl enable_opencl
17877 wine_fn_config_dll opengl32 enable_opengl32 implib
17878 wine_fn_config_test dlls/opengl32/tests opengl32_test
17879 wine_fn_config_dll packager enable_packager clean
17880 wine_fn_config_test dlls/packager/tests packager_test
17881 wine_fn_config_dll pdh enable_pdh implib
17882 wine_fn_config_test dlls/pdh/tests pdh_test
17883 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17884 wine_fn_config_dll pidgen enable_pidgen
17885 wine_fn_config_dll powrprof enable_powrprof implib
17886 wine_fn_config_dll printui enable_printui
17887 wine_fn_config_dll prntvpt enable_prntvpt
17888 wine_fn_config_dll propsys enable_propsys clean,implib
17889 wine_fn_config_test dlls/propsys/tests propsys_test
17890 wine_fn_config_dll psapi enable_psapi implib
17891 wine_fn_config_test dlls/psapi/tests psapi_test
17892 wine_fn_config_dll pstorec enable_pstorec clean
17893 wine_fn_config_dll qcap enable_qcap
17894 wine_fn_config_test dlls/qcap/tests qcap_test
17895 wine_fn_config_dll qedit enable_qedit clean
17896 wine_fn_config_test dlls/qedit/tests qedit_test
17897 wine_fn_config_dll qmgr enable_qmgr clean
17898 wine_fn_config_test dlls/qmgr/tests qmgr_test
17899 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17900 wine_fn_config_dll quartz enable_quartz clean,implib
17901 wine_fn_config_test dlls/quartz/tests quartz_test clean
17902 wine_fn_config_dll query enable_query
17903 wine_fn_config_dll rasapi16.dll16 enable_win16
17904 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17905 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17906 wine_fn_config_dll rasdlg enable_rasdlg implib
17907 wine_fn_config_dll regapi enable_regapi
17908 wine_fn_config_dll resutils enable_resutils implib
17909 wine_fn_config_dll riched20 enable_riched20 clean,implib
17910 wine_fn_config_test dlls/riched20/tests riched20_test
17911 wine_fn_config_dll riched32 enable_riched32
17912 wine_fn_config_test dlls/riched32/tests riched32_test
17913 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17914 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17915 wine_fn_config_dll rsabase enable_rsabase
17916 wine_fn_config_dll rsaenh enable_rsaenh implib
17917 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17918 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17919 wine_fn_config_dll rtutils enable_rtutils implib
17920 wine_fn_config_dll samlib enable_samlib
17921 wine_fn_config_dll sane.ds enable_sane_ds clean
17922 wine_fn_config_dll scarddlg enable_scarddlg
17923 wine_fn_config_dll sccbase enable_sccbase
17924 wine_fn_config_dll schannel enable_schannel
17925 wine_fn_config_test dlls/schannel/tests schannel_test
17926 wine_fn_config_dll schedsvc enable_schedsvc clean
17927 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17928 wine_fn_config_dll scrrun enable_scrrun clean
17929 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17930 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17931 wine_fn_config_dll secur32 enable_secur32 implib
17932 wine_fn_config_test dlls/secur32/tests secur32_test
17933 wine_fn_config_dll security enable_security
17934 wine_fn_config_dll sensapi enable_sensapi implib
17935 wine_fn_config_dll serialui enable_serialui clean,implib
17936 wine_fn_config_test dlls/serialui/tests serialui_test
17937 wine_fn_config_dll setupapi enable_setupapi clean,implib
17938 wine_fn_config_test dlls/setupapi/tests setupapi_test
17939 wine_fn_config_dll setupx.dll16 enable_win16
17940 wine_fn_config_dll sfc enable_sfc implib
17941 wine_fn_config_dll sfc_os enable_sfc_os implib
17942 wine_fn_config_dll shdoclc enable_shdoclc clean
17943 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17944 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17945 wine_fn_config_dll shell.dll16 enable_win16
17946 wine_fn_config_dll shell32 enable_shell32 clean,implib
17947 wine_fn_config_test dlls/shell32/tests shell32_test
17948 wine_fn_config_dll shfolder enable_shfolder implib
17949 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
17950 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17951 wine_fn_config_dll slbcsp enable_slbcsp
17952 wine_fn_config_dll slc enable_slc implib
17953 wine_fn_config_test dlls/slc/tests slc_test
17954 wine_fn_config_dll snmpapi enable_snmpapi implib
17955 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17956 wine_fn_config_dll softpub enable_softpub
17957 wine_fn_config_dll sound.drv16 enable_win16
17958 wine_fn_config_dll spoolss enable_spoolss implib
17959 wine_fn_config_test dlls/spoolss/tests spoolss_test
17960 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17961 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17962 wine_fn_config_dll sti enable_sti clean,implib
17963 wine_fn_config_test dlls/sti/tests sti_test
17964 wine_fn_config_dll storage.dll16 enable_win16
17965 wine_fn_config_dll stress.dll16 enable_win16
17966 wine_fn_config_lib strmbase
17967 wine_fn_config_lib strmiids
17968 wine_fn_config_dll svrapi enable_svrapi
17969 wine_fn_config_dll sxs enable_sxs implib
17970 wine_fn_config_test dlls/sxs/tests sxs_test
17971 wine_fn_config_dll system.drv16 enable_win16
17972 wine_fn_config_dll t2embed enable_t2embed implib
17973 wine_fn_config_test dlls/t2embed/tests t2embed_test
17974 wine_fn_config_dll tapi32 enable_tapi32 implib
17975 wine_fn_config_dll taskschd enable_taskschd clean
17976 wine_fn_config_test dlls/taskschd/tests taskschd_test
17977 wine_fn_config_dll tdi.sys enable_tdi_sys
17978 wine_fn_config_dll toolhelp.dll16 enable_win16
17979 wine_fn_config_dll traffic enable_traffic
17980 wine_fn_config_dll twain.dll16 enable_win16
17981 wine_fn_config_dll twain_32 enable_twain_32
17982 wine_fn_config_test dlls/twain_32/tests twain_32_test
17983 wine_fn_config_dll typelib.dll16 enable_win16
17984 wine_fn_config_dll ucrtbase enable_ucrtbase
17985 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
17986 wine_fn_config_dll unicows enable_unicows implib
17987 wine_fn_config_dll updspapi enable_updspapi
17988 wine_fn_config_dll url enable_url implib
17989 wine_fn_config_dll urlmon enable_urlmon clean,implib
17990 wine_fn_config_test dlls/urlmon/tests urlmon_test
17991 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17992 wine_fn_config_dll user.exe16 enable_win16
17993 wine_fn_config_dll user32 enable_user32 clean,implib
17994 wine_fn_config_test dlls/user32/tests user32_test
17995 wine_fn_config_dll userenv enable_userenv implib
17996 wine_fn_config_test dlls/userenv/tests userenv_test
17997 wine_fn_config_dll usp10 enable_usp10 implib
17998 wine_fn_config_test dlls/usp10/tests usp10_test
17999 wine_fn_config_lib uuid
18000 wine_fn_config_dll uxtheme enable_uxtheme implib
18001 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18002 wine_fn_config_dll vbscript enable_vbscript clean
18003 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18004 wine_fn_config_dll vcomp enable_vcomp
18005 wine_fn_config_test dlls/vcomp/tests vcomp_test
18006 wine_fn_config_dll vcomp100 enable_vcomp100
18007 wine_fn_config_dll vcomp110 enable_vcomp110
18008 wine_fn_config_dll vcomp120 enable_vcomp120
18009 wine_fn_config_dll vcomp90 enable_vcomp90
18010 wine_fn_config_dll vcruntime140 enable_vcruntime140
18011 wine_fn_config_dll vdhcp.vxd enable_win16
18012 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18013 wine_fn_config_dll ver.dll16 enable_win16
18014 wine_fn_config_dll version enable_version implib
18015 wine_fn_config_test dlls/version/tests version_test
18016 wine_fn_config_dll vmm.vxd enable_win16
18017 wine_fn_config_dll vnbt.vxd enable_win16
18018 wine_fn_config_dll vnetbios.vxd enable_win16
18019 wine_fn_config_dll vssapi enable_vssapi
18020 wine_fn_config_dll vtdapi.vxd enable_win16
18021 wine_fn_config_dll vwin32.vxd enable_win16
18022 wine_fn_config_dll w32skrnl enable_win16
18023 wine_fn_config_dll w32sys.dll16 enable_win16
18024 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18025 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18026 wine_fn_config_dll wbemprox enable_wbemprox clean
18027 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18028 wine_fn_config_dll webservices enable_webservices implib
18029 wine_fn_config_test dlls/webservices/tests webservices_test
18030 wine_fn_config_dll wer enable_wer implib
18031 wine_fn_config_test dlls/wer/tests wer_test
18032 wine_fn_config_dll wevtapi enable_wevtapi
18033 wine_fn_config_dll wiaservc enable_wiaservc clean
18034 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18035 wine_fn_config_dll wimgapi enable_wimgapi
18036 wine_fn_config_dll win32s16.dll16 enable_win16
18037 wine_fn_config_dll win87em.dll16 enable_win16
18038 wine_fn_config_dll winaspi.dll16 enable_win16
18039 wine_fn_config_dll windebug.dll16 enable_win16
18040 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18041 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18042 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18043 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18044 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18045 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18046 wine_fn_config_lib winecrt0
18047 wine_fn_config_dll wined3d enable_wined3d implib
18048 wine_fn_config_dll winegstreamer enable_winegstreamer
18049 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18050 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18051 wine_fn_config_dll winemapi enable_winemapi
18052 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18053 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18054 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18055 wine_fn_config_dll wineps16.drv16 enable_win16
18056 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18057 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18058 wine_fn_config_dll winex11.drv enable_winex11_drv
18059 wine_fn_config_dll wing.dll16 enable_win16
18060 wine_fn_config_dll wing32 enable_wing32
18061 wine_fn_config_dll winhttp enable_winhttp clean,implib
18062 wine_fn_config_test dlls/winhttp/tests winhttp_test
18063 wine_fn_config_dll wininet enable_wininet clean,implib
18064 wine_fn_config_test dlls/wininet/tests wininet_test
18065 wine_fn_config_dll winmm enable_winmm clean,implib
18066 wine_fn_config_test dlls/winmm/tests winmm_test
18067 wine_fn_config_dll winnls.dll16 enable_win16
18068 wine_fn_config_dll winnls32 enable_winnls32 implib
18069 wine_fn_config_dll winscard enable_winscard implib
18070 wine_fn_config_dll winsock.dll16 enable_win16
18071 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18072 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18073 wine_fn_config_dll winsta enable_winsta
18074 wine_fn_config_dll wintab.dll16 enable_win16
18075 wine_fn_config_dll wintab32 enable_wintab32 implib
18076 wine_fn_config_test dlls/wintab32/tests wintab32_test
18077 wine_fn_config_dll wintrust enable_wintrust implib
18078 wine_fn_config_test dlls/wintrust/tests wintrust_test
18079 wine_fn_config_dll wlanapi enable_wlanapi
18080 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18081 wine_fn_config_test dlls/wldap32/tests wldap32_test
18082 wine_fn_config_dll wmasf enable_wmasf
18083 wine_fn_config_dll wmi enable_wmi
18084 wine_fn_config_dll wmiutils enable_wmiutils clean
18085 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18086 wine_fn_config_dll wmp enable_wmp clean
18087 wine_fn_config_test dlls/wmp/tests wmp_test
18088 wine_fn_config_dll wmvcore enable_wmvcore
18089 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18090 wine_fn_config_dll wow32 enable_win16 implib
18091 wine_fn_config_dll wpcap enable_wpcap
18092 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18093 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18094 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18095 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18096 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18097 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18098 wine_fn_config_dll wsock32 enable_wsock32 implib
18099 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18100 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18101 wine_fn_config_dll wuapi enable_wuapi clean
18102 wine_fn_config_dll wuaueng enable_wuaueng
18103 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18104 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18105 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18106 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18107 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18108 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18109 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18110 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18111 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18112 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18113 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18114 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18115 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18116 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18117 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18118 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18119 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18120 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18121 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18122 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18123 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18124 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18125 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18126 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18127 wine_fn_config_dll xinput1_1 enable_xinput1_1
18128 wine_fn_config_dll xinput1_2 enable_xinput1_2
18129 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18130 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18131 wine_fn_config_dll xinput1_4 enable_xinput1_4
18132 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18133 wine_fn_config_dll xmllite enable_xmllite implib
18134 wine_fn_config_test dlls/xmllite/tests xmllite_test
18135 wine_fn_config_dll xolehlp enable_xolehlp
18136 wine_fn_config_dll xpsprint enable_xpsprint
18137 wine_fn_config_dll xpssvcs enable_xpssvcs
18138 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18139 wine_fn_config_makefile include enable_include clean,install-dev
18140 wine_fn_config_makefile libs/port enable_libs_port
18141 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18142 wine_fn_config_makefile libs/wpp enable_libs_wpp
18143 wine_fn_config_makefile loader enable_loader clean,install-lib
18144 wine_fn_config_makefile po enable_po clean
18145 wine_fn_config_program arp enable_arp install
18146 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18147 wine_fn_config_program attrib enable_attrib clean,install
18148 wine_fn_config_program cabarc enable_cabarc install
18149 wine_fn_config_program cacls enable_cacls install
18150 wine_fn_config_program clock enable_clock clean,install
18151 wine_fn_config_program cmd enable_cmd clean,install
18152 wine_fn_config_test programs/cmd/tests cmd.exe_test
18153 wine_fn_config_program conhost enable_conhost install
18154 wine_fn_config_program control enable_control install
18155 wine_fn_config_program cscript enable_cscript clean,install
18156 wine_fn_config_program dpnsvr enable_dpnsvr install
18157 wine_fn_config_program dxdiag enable_dxdiag clean,install
18158 wine_fn_config_program eject enable_eject install
18159 wine_fn_config_program expand enable_expand install
18160 wine_fn_config_program explorer enable_explorer clean,install
18161 wine_fn_config_program extrac32 enable_extrac32 install
18162 wine_fn_config_program findstr enable_findstr install
18163 wine_fn_config_program hh enable_hh install
18164 wine_fn_config_program hostname enable_hostname clean,install
18165 wine_fn_config_program icacls enable_icacls install
18166 wine_fn_config_program icinfo enable_icinfo install
18167 wine_fn_config_program iexplore enable_iexplore install
18168 wine_fn_config_program ipconfig enable_ipconfig clean,install
18169 wine_fn_config_program lodctr enable_lodctr install
18170 wine_fn_config_program mofcomp enable_mofcomp install
18171 wine_fn_config_program mshta enable_mshta install
18172 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18173 wine_fn_config_program net enable_net clean,install
18174 wine_fn_config_program netsh enable_netsh install
18175 wine_fn_config_program netstat enable_netstat clean,install
18176 wine_fn_config_program ngen enable_ngen install
18177 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18178 wine_fn_config_program oleview enable_oleview clean,install
18179 wine_fn_config_program ping enable_ping install
18180 wine_fn_config_program plugplay enable_plugplay install
18181 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18182 wine_fn_config_program progman enable_progman clean,install
18183 wine_fn_config_program reg enable_reg clean,install
18184 wine_fn_config_test programs/reg/tests reg.exe_test
18185 wine_fn_config_program regasm enable_regasm install
18186 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18187 wine_fn_config_test programs/regedit/tests regedit.exe_test
18188 wine_fn_config_program regsvcs enable_regsvcs install
18189 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18190 wine_fn_config_program rpcss enable_rpcss clean,install
18191 wine_fn_config_program rundll.exe16 enable_win16 install
18192 wine_fn_config_program rundll32 enable_rundll32 install
18193 wine_fn_config_program sc enable_sc install
18194 wine_fn_config_program schtasks enable_schtasks install
18195 wine_fn_config_program sdbinst enable_sdbinst install
18196 wine_fn_config_program secedit enable_secedit install
18197 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18198 wine_fn_config_program services enable_services clean,install
18199 wine_fn_config_test programs/services/tests services.exe_test
18200 wine_fn_config_program shutdown enable_shutdown install
18201 wine_fn_config_program spoolsv enable_spoolsv install
18202 wine_fn_config_program start enable_start clean,install
18203 wine_fn_config_program svchost enable_svchost install
18204 wine_fn_config_program systeminfo enable_systeminfo install
18205 wine_fn_config_program taskkill enable_taskkill clean,install
18206 wine_fn_config_program tasklist enable_tasklist install
18207 wine_fn_config_program taskmgr enable_taskmgr clean,install
18208 wine_fn_config_program termsv enable_termsv install
18209 wine_fn_config_program uninstaller enable_uninstaller clean,install
18210 wine_fn_config_program unlodctr enable_unlodctr install
18211 wine_fn_config_program view enable_view clean,install
18212 wine_fn_config_program wevtutil enable_wevtutil install
18213 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18214 wine_fn_config_program winebrowser enable_winebrowser install
18215 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18216 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18217 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18218 wine_fn_config_program winedevice enable_winedevice install
18219 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18220 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18221 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18222 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18223 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18224 wine_fn_config_program winetest enable_winetest clean
18225 wine_fn_config_program winevdm enable_win16 install
18226 wine_fn_config_program winhelp.exe16 enable_win16 install
18227 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18228 wine_fn_config_program winoldap.mod16 enable_win16 install
18229 wine_fn_config_program winver enable_winver install
18230 wine_fn_config_program wmic enable_wmic clean,install
18231 wine_fn_config_program wmplayer enable_wmplayer install
18232 wine_fn_config_program wordpad enable_wordpad clean,install
18233 wine_fn_config_program write enable_write clean,install
18234 wine_fn_config_program wscript enable_wscript clean,install
18235 wine_fn_config_test programs/wscript/tests wscript.exe_test
18236 wine_fn_config_program wusa enable_wusa install
18237 wine_fn_config_program xcopy enable_xcopy clean,install
18238 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18239 wine_fn_config_makefile server enable_server clean,install-lib
18240 wine_fn_config_tool tools clean
18241 wine_fn_config_tool tools/sfnt2fon clean
18242 wine_fn_config_tool tools/widl clean,install-dev
18243 wine_fn_config_tool tools/winebuild clean,install-dev
18244 wine_fn_config_tool tools/winedump clean,install-dev
18245 wine_fn_config_tool tools/winegcc clean,install-dev
18246 wine_fn_config_tool tools/winemaker clean,install-dev
18247 wine_fn_config_tool tools/wmc clean,install-dev
18248 wine_fn_config_tool tools/wrc clean,install-dev
18251 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
18252 wine_fn_append_file CONFIGURE_TARGETS "tags"
18253 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
18254 wine_fn_append_file CONFIGURE_TARGETS "config.log"
18255 wine_fn_append_file CONFIGURE_TARGETS "config.status"
18256 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
18257 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
18258 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
18260 if test "x$enable_tools" != xno
18261 then
18262 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
18263 ac_config_commands="$ac_config_commands tools/makedep"
18267 ac_config_commands="$ac_config_commands Makefile"
18270 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18274 if test "x$enable_maintainer_mode" = xyes
18275 then
18276 wine_fn_append_rule "configure: configure.ac aclocal.m4
18277 autoconf --warnings=all
18278 include/config.h.in: include/stamp-h.in
18279 include/stamp-h.in: configure.ac aclocal.m4
18280 autoheader --warnings=all
18281 @echo timestamp > \$@"
18284 if test "x$enable_tools" != xno
18285 then
18286 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18287 @./config.status tools/makedep
18288 Makefile: tools/makedep$ac_exeext"
18289 else
18290 wine_fn_append_rule "\$(MAKEDEP):
18291 @echo \"You need to run make in $TOOLSDIR first\" && false"
18294 if test -n "$with_wine64"
18295 then
18296 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18297 fonts server:
18298 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18299 $with_wine64/loader/wine:
18300 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18301 $with_wine64/loader/wine-preloader:
18302 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18303 clean::
18304 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18305 else
18306 WINELOADER_INSTALL="wine.inf"
18308 wine_fn_append_rule "install install-lib::
18309 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18310 uninstall::
18311 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18312 case $host_os in
18313 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18314 *) wine_fn_append_rule "install install-lib::
18315 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18316 uninstall::
18317 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18318 esac
18321 $as_echo " done" >&6
18322 cat >confcache <<\_ACEOF
18323 # This file is a shell script that caches the results of configure
18324 # tests run on this system so they can be shared between configure
18325 # scripts and configure runs, see configure's option --config-cache.
18326 # It is not useful on other systems. If it contains results you don't
18327 # want to keep, you may remove or edit it.
18329 # config.status only pays attention to the cache file if you give it
18330 # the --recheck option to rerun configure.
18332 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18333 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18334 # following values.
18336 _ACEOF
18338 # The following way of writing the cache mishandles newlines in values,
18339 # but we know of no workaround that is simple, portable, and efficient.
18340 # So, we kill variables containing newlines.
18341 # Ultrix sh set writes to stderr and can't be redirected directly,
18342 # and sets the high bit in the cache file unless we assign to the vars.
18344 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18345 eval ac_val=\$$ac_var
18346 case $ac_val in #(
18347 *${as_nl}*)
18348 case $ac_var in #(
18349 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18350 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18351 esac
18352 case $ac_var in #(
18353 _ | IFS | as_nl) ;; #(
18354 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18355 *) { eval $ac_var=; unset $ac_var;} ;;
18356 esac ;;
18357 esac
18358 done
18360 (set) 2>&1 |
18361 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18362 *${as_nl}ac_space=\ *)
18363 # `set' does not quote correctly, so add quotes: double-quote
18364 # substitution turns \\\\ into \\, and sed turns \\ into \.
18365 sed -n \
18366 "s/'/'\\\\''/g;
18367 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18368 ;; #(
18370 # `set' quotes correctly as required by POSIX, so do not add quotes.
18371 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18373 esac |
18374 sort
18376 sed '
18377 /^ac_cv_env_/b end
18378 t clear
18379 :clear
18380 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18381 t end
18382 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18383 :end' >>confcache
18384 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18385 if test -w "$cache_file"; then
18386 if test "x$cache_file" != "x/dev/null"; then
18387 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18388 $as_echo "$as_me: updating cache $cache_file" >&6;}
18389 if test ! -f "$cache_file" || test -h "$cache_file"; then
18390 cat confcache >"$cache_file"
18391 else
18392 case $cache_file in #(
18393 */* | ?:*)
18394 mv -f confcache "$cache_file"$$ &&
18395 mv -f "$cache_file"$$ "$cache_file" ;; #(
18397 mv -f confcache "$cache_file" ;;
18398 esac
18401 else
18402 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18403 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18406 rm -f confcache
18408 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18409 # Let make expand exec_prefix.
18410 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18412 DEFS=-DHAVE_CONFIG_H
18414 ac_libobjs=
18415 ac_ltlibobjs=
18417 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18418 # 1. Remove the extension, and $U if already installed.
18419 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18420 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18421 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18422 # will be set to the directory where LIBOBJS objects are built.
18423 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18424 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18425 done
18426 LIBOBJS=$ac_libobjs
18428 LTLIBOBJS=$ac_ltlibobjs
18432 : "${CONFIG_STATUS=./config.status}"
18433 ac_write_fail=0
18434 ac_clean_files_save=$ac_clean_files
18435 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18436 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18437 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18438 as_write_fail=0
18439 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18440 #! $SHELL
18441 # Generated by $as_me.
18442 # Run this file to recreate the current configuration.
18443 # Compiler output produced by configure, useful for debugging
18444 # configure, is in config.log if it exists.
18446 debug=false
18447 ac_cs_recheck=false
18448 ac_cs_silent=false
18450 SHELL=\${CONFIG_SHELL-$SHELL}
18451 export SHELL
18452 _ASEOF
18453 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18454 ## -------------------- ##
18455 ## M4sh Initialization. ##
18456 ## -------------------- ##
18458 # Be more Bourne compatible
18459 DUALCASE=1; export DUALCASE # for MKS sh
18460 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18461 emulate sh
18462 NULLCMD=:
18463 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18464 # is contrary to our usage. Disable this feature.
18465 alias -g '${1+"$@"}'='"$@"'
18466 setopt NO_GLOB_SUBST
18467 else
18468 case `(set -o) 2>/dev/null` in #(
18469 *posix*) :
18470 set -o posix ;; #(
18471 *) :
18473 esac
18477 as_nl='
18479 export as_nl
18480 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18481 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18482 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18483 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18484 # Prefer a ksh shell builtin over an external printf program on Solaris,
18485 # but without wasting forks for bash or zsh.
18486 if test -z "$BASH_VERSION$ZSH_VERSION" \
18487 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18488 as_echo='print -r --'
18489 as_echo_n='print -rn --'
18490 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18491 as_echo='printf %s\n'
18492 as_echo_n='printf %s'
18493 else
18494 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18495 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18496 as_echo_n='/usr/ucb/echo -n'
18497 else
18498 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18499 as_echo_n_body='eval
18500 arg=$1;
18501 case $arg in #(
18502 *"$as_nl"*)
18503 expr "X$arg" : "X\\(.*\\)$as_nl";
18504 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18505 esac;
18506 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18508 export as_echo_n_body
18509 as_echo_n='sh -c $as_echo_n_body as_echo'
18511 export as_echo_body
18512 as_echo='sh -c $as_echo_body as_echo'
18515 # The user is always right.
18516 if test "${PATH_SEPARATOR+set}" != set; then
18517 PATH_SEPARATOR=:
18518 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18519 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18520 PATH_SEPARATOR=';'
18525 # IFS
18526 # We need space, tab and new line, in precisely that order. Quoting is
18527 # there to prevent editors from complaining about space-tab.
18528 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18529 # splitting by setting IFS to empty value.)
18530 IFS=" "" $as_nl"
18532 # Find who we are. Look in the path if we contain no directory separator.
18533 as_myself=
18534 case $0 in #((
18535 *[\\/]* ) as_myself=$0 ;;
18536 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18537 for as_dir in $PATH
18539 IFS=$as_save_IFS
18540 test -z "$as_dir" && as_dir=.
18541 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18542 done
18543 IFS=$as_save_IFS
18546 esac
18547 # We did not find ourselves, most probably we were run as `sh COMMAND'
18548 # in which case we are not to be found in the path.
18549 if test "x$as_myself" = x; then
18550 as_myself=$0
18552 if test ! -f "$as_myself"; then
18553 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18554 exit 1
18557 # Unset variables that we do not need and which cause bugs (e.g. in
18558 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18559 # suppresses any "Segmentation fault" message there. '((' could
18560 # trigger a bug in pdksh 5.2.14.
18561 for as_var in BASH_ENV ENV MAIL MAILPATH
18562 do eval test x\${$as_var+set} = xset \
18563 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18564 done
18565 PS1='$ '
18566 PS2='> '
18567 PS4='+ '
18569 # NLS nuisances.
18570 LC_ALL=C
18571 export LC_ALL
18572 LANGUAGE=C
18573 export LANGUAGE
18575 # CDPATH.
18576 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18579 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18580 # ----------------------------------------
18581 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18582 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18583 # script with STATUS, using 1 if that was 0.
18584 as_fn_error ()
18586 as_status=$1; test $as_status -eq 0 && as_status=1
18587 if test "$4"; then
18588 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18589 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18591 $as_echo "$as_me: error: $2" >&2
18592 as_fn_exit $as_status
18593 } # as_fn_error
18596 # as_fn_set_status STATUS
18597 # -----------------------
18598 # Set $? to STATUS, without forking.
18599 as_fn_set_status ()
18601 return $1
18602 } # as_fn_set_status
18604 # as_fn_exit STATUS
18605 # -----------------
18606 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18607 as_fn_exit ()
18609 set +e
18610 as_fn_set_status $1
18611 exit $1
18612 } # as_fn_exit
18614 # as_fn_unset VAR
18615 # ---------------
18616 # Portably unset VAR.
18617 as_fn_unset ()
18619 { eval $1=; unset $1;}
18621 as_unset=as_fn_unset
18622 # as_fn_append VAR VALUE
18623 # ----------------------
18624 # Append the text in VALUE to the end of the definition contained in VAR. Take
18625 # advantage of any shell optimizations that allow amortized linear growth over
18626 # repeated appends, instead of the typical quadratic growth present in naive
18627 # implementations.
18628 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18629 eval 'as_fn_append ()
18631 eval $1+=\$2
18633 else
18634 as_fn_append ()
18636 eval $1=\$$1\$2
18638 fi # as_fn_append
18640 # as_fn_arith ARG...
18641 # ------------------
18642 # Perform arithmetic evaluation on the ARGs, and store the result in the
18643 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18644 # must be portable across $(()) and expr.
18645 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18646 eval 'as_fn_arith ()
18648 as_val=$(( $* ))
18650 else
18651 as_fn_arith ()
18653 as_val=`expr "$@" || test $? -eq 1`
18655 fi # as_fn_arith
18658 if expr a : '\(a\)' >/dev/null 2>&1 &&
18659 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18660 as_expr=expr
18661 else
18662 as_expr=false
18665 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18666 as_basename=basename
18667 else
18668 as_basename=false
18671 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18672 as_dirname=dirname
18673 else
18674 as_dirname=false
18677 as_me=`$as_basename -- "$0" ||
18678 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18679 X"$0" : 'X\(//\)$' \| \
18680 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18681 $as_echo X/"$0" |
18682 sed '/^.*\/\([^/][^/]*\)\/*$/{
18683 s//\1/
18686 /^X\/\(\/\/\)$/{
18687 s//\1/
18690 /^X\/\(\/\).*/{
18691 s//\1/
18694 s/.*/./; q'`
18696 # Avoid depending upon Character Ranges.
18697 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18698 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18699 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18700 as_cr_digits='0123456789'
18701 as_cr_alnum=$as_cr_Letters$as_cr_digits
18703 ECHO_C= ECHO_N= ECHO_T=
18704 case `echo -n x` in #(((((
18705 -n*)
18706 case `echo 'xy\c'` in
18707 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18708 xy) ECHO_C='\c';;
18709 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18710 ECHO_T=' ';;
18711 esac;;
18713 ECHO_N='-n';;
18714 esac
18716 rm -f conf$$ conf$$.exe conf$$.file
18717 if test -d conf$$.dir; then
18718 rm -f conf$$.dir/conf$$.file
18719 else
18720 rm -f conf$$.dir
18721 mkdir conf$$.dir 2>/dev/null
18723 if (echo >conf$$.file) 2>/dev/null; then
18724 if ln -s conf$$.file conf$$ 2>/dev/null; then
18725 as_ln_s='ln -s'
18726 # ... but there are two gotchas:
18727 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18728 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18729 # In both cases, we have to default to `cp -pR'.
18730 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18731 as_ln_s='cp -pR'
18732 elif ln conf$$.file conf$$ 2>/dev/null; then
18733 as_ln_s=ln
18734 else
18735 as_ln_s='cp -pR'
18737 else
18738 as_ln_s='cp -pR'
18740 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18741 rmdir conf$$.dir 2>/dev/null
18744 # as_fn_mkdir_p
18745 # -------------
18746 # Create "$as_dir" as a directory, including parents if necessary.
18747 as_fn_mkdir_p ()
18750 case $as_dir in #(
18751 -*) as_dir=./$as_dir;;
18752 esac
18753 test -d "$as_dir" || eval $as_mkdir_p || {
18754 as_dirs=
18755 while :; do
18756 case $as_dir in #(
18757 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18758 *) as_qdir=$as_dir;;
18759 esac
18760 as_dirs="'$as_qdir' $as_dirs"
18761 as_dir=`$as_dirname -- "$as_dir" ||
18762 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18763 X"$as_dir" : 'X\(//\)[^/]' \| \
18764 X"$as_dir" : 'X\(//\)$' \| \
18765 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18766 $as_echo X"$as_dir" |
18767 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18768 s//\1/
18771 /^X\(\/\/\)[^/].*/{
18772 s//\1/
18775 /^X\(\/\/\)$/{
18776 s//\1/
18779 /^X\(\/\).*/{
18780 s//\1/
18783 s/.*/./; q'`
18784 test -d "$as_dir" && break
18785 done
18786 test -z "$as_dirs" || eval "mkdir $as_dirs"
18787 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18790 } # as_fn_mkdir_p
18791 if mkdir -p . 2>/dev/null; then
18792 as_mkdir_p='mkdir -p "$as_dir"'
18793 else
18794 test -d ./-p && rmdir ./-p
18795 as_mkdir_p=false
18799 # as_fn_executable_p FILE
18800 # -----------------------
18801 # Test if FILE is an executable regular file.
18802 as_fn_executable_p ()
18804 test -f "$1" && test -x "$1"
18805 } # as_fn_executable_p
18806 as_test_x='test -x'
18807 as_executable_p=as_fn_executable_p
18809 # Sed expression to map a string onto a valid CPP name.
18810 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18812 # Sed expression to map a string onto a valid variable name.
18813 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18816 exec 6>&1
18817 ## ----------------------------------- ##
18818 ## Main body of $CONFIG_STATUS script. ##
18819 ## ----------------------------------- ##
18820 _ASEOF
18821 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18823 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18824 # Save the log message, to keep $0 and so on meaningful, and to
18825 # report actual input values of CONFIG_FILES etc. instead of their
18826 # values after options handling.
18827 ac_log="
18828 This file was extended by Wine $as_me 1.9.6, which was
18829 generated by GNU Autoconf 2.69. Invocation command line was
18831 CONFIG_FILES = $CONFIG_FILES
18832 CONFIG_HEADERS = $CONFIG_HEADERS
18833 CONFIG_LINKS = $CONFIG_LINKS
18834 CONFIG_COMMANDS = $CONFIG_COMMANDS
18835 $ $0 $@
18837 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18840 _ACEOF
18842 case $ac_config_files in *"
18843 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18844 esac
18846 case $ac_config_headers in *"
18847 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18848 esac
18851 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18852 # Files that config.status was made for.
18853 config_files="$ac_config_files"
18854 config_headers="$ac_config_headers"
18855 config_links="$ac_config_links"
18856 config_commands="$ac_config_commands"
18858 _ACEOF
18860 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18861 ac_cs_usage="\
18862 \`$as_me' instantiates files and other configuration actions
18863 from templates according to the current configuration. Unless the files
18864 and actions are specified as TAGs, all are instantiated by default.
18866 Usage: $0 [OPTION]... [TAG]...
18868 -h, --help print this help, then exit
18869 -V, --version print version number and configuration settings, then exit
18870 --config print configuration, then exit
18871 -q, --quiet, --silent
18872 do not print progress messages
18873 -d, --debug don't remove temporary files
18874 --recheck update $as_me by reconfiguring in the same conditions
18875 --file=FILE[:TEMPLATE]
18876 instantiate the configuration file FILE
18877 --header=FILE[:TEMPLATE]
18878 instantiate the configuration header FILE
18880 Configuration files:
18881 $config_files
18883 Configuration headers:
18884 $config_headers
18886 Configuration links:
18887 $config_links
18889 Configuration commands:
18890 $config_commands
18892 Report bugs to <wine-devel@winehq.org>.
18893 Wine home page: <http://www.winehq.org>."
18895 _ACEOF
18896 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18897 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18898 ac_cs_version="\\
18899 Wine config.status 1.9.6
18900 configured by $0, generated by GNU Autoconf 2.69,
18901 with options \\"\$ac_cs_config\\"
18903 Copyright (C) 2012 Free Software Foundation, Inc.
18904 This config.status script is free software; the Free Software Foundation
18905 gives unlimited permission to copy, distribute and modify it."
18907 ac_pwd='$ac_pwd'
18908 srcdir='$srcdir'
18909 test -n "\$AWK" || AWK=awk
18910 _ACEOF
18912 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18913 # The default lists apply if the user does not specify any file.
18914 ac_need_defaults=:
18915 while test $# != 0
18917 case $1 in
18918 --*=?*)
18919 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18920 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18921 ac_shift=:
18923 --*=)
18924 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18925 ac_optarg=
18926 ac_shift=:
18929 ac_option=$1
18930 ac_optarg=$2
18931 ac_shift=shift
18933 esac
18935 case $ac_option in
18936 # Handling of the options.
18937 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18938 ac_cs_recheck=: ;;
18939 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18940 $as_echo "$ac_cs_version"; exit ;;
18941 --config | --confi | --conf | --con | --co | --c )
18942 $as_echo "$ac_cs_config"; exit ;;
18943 --debug | --debu | --deb | --de | --d | -d )
18944 debug=: ;;
18945 --file | --fil | --fi | --f )
18946 $ac_shift
18947 case $ac_optarg in
18948 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18949 '') as_fn_error $? "missing file argument" ;;
18950 esac
18951 as_fn_append CONFIG_FILES " '$ac_optarg'"
18952 ac_need_defaults=false;;
18953 --header | --heade | --head | --hea )
18954 $ac_shift
18955 case $ac_optarg in
18956 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18957 esac
18958 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18959 ac_need_defaults=false;;
18960 --he | --h)
18961 # Conflict between --help and --header
18962 as_fn_error $? "ambiguous option: \`$1'
18963 Try \`$0 --help' for more information.";;
18964 --help | --hel | -h )
18965 $as_echo "$ac_cs_usage"; exit ;;
18966 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18967 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18968 ac_cs_silent=: ;;
18970 # This is an error.
18971 -*) as_fn_error $? "unrecognized option: \`$1'
18972 Try \`$0 --help' for more information." ;;
18974 *) as_fn_append ac_config_targets " $1"
18975 ac_need_defaults=false ;;
18977 esac
18978 shift
18979 done
18981 ac_configure_extra_args=
18983 if $ac_cs_silent; then
18984 exec 6>/dev/null
18985 ac_configure_extra_args="$ac_configure_extra_args --silent"
18988 _ACEOF
18989 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18990 if \$ac_cs_recheck; then
18991 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18992 shift
18993 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18994 CONFIG_SHELL='$SHELL'
18995 export CONFIG_SHELL
18996 exec "\$@"
18999 _ACEOF
19000 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19001 exec 5>>config.log
19003 echo
19004 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19005 ## Running $as_me. ##
19006 _ASBOX
19007 $as_echo "$ac_log"
19008 } >&5
19010 _ACEOF
19011 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19013 # INIT-COMMANDS
19015 wine_fn_output_makedep ()
19017 as_dir=tools; as_fn_mkdir_p
19018 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19020 wine_fn_output_makefile ()
19022 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19023 `cat $wine_rules_file`
19024 _WINE_EOF
19025 as_fn_error $? "could not create Makefile" "$LINENO" 5
19028 _ACEOF
19030 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19032 # Handling of arguments.
19033 for ac_config_target in $ac_config_targets
19035 case $ac_config_target in
19036 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19037 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19038 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19039 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19040 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19041 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19042 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19043 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19044 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19045 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19046 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19047 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19048 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19050 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19051 esac
19052 done
19055 # If the user did not use the arguments to specify the items to instantiate,
19056 # then the envvar interface is used. Set only those that are not.
19057 # We use the long form for the default assignment because of an extremely
19058 # bizarre bug on SunOS 4.1.3.
19059 if $ac_need_defaults; then
19060 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19061 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19062 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19063 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19066 # Have a temporary directory for convenience. Make it in the build tree
19067 # simply because there is no reason against having it here, and in addition,
19068 # creating and moving files from /tmp can sometimes cause problems.
19069 # Hook for its removal unless debugging.
19070 # Note that there is a small window in which the directory will not be cleaned:
19071 # after its creation but before its name has been assigned to `$tmp'.
19072 $debug ||
19074 tmp= ac_tmp=
19075 trap 'exit_status=$?
19076 : "${ac_tmp:=$tmp}"
19077 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19079 trap 'as_fn_exit 1' 1 2 13 15
19081 # Create a (secure) tmp directory for tmp files.
19084 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19085 test -d "$tmp"
19086 } ||
19088 tmp=./conf$$-$RANDOM
19089 (umask 077 && mkdir "$tmp")
19090 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19091 ac_tmp=$tmp
19093 # Set up the scripts for CONFIG_FILES section.
19094 # No need to generate them if there are no CONFIG_FILES.
19095 # This happens for instance with `./config.status config.h'.
19096 if test -n "$CONFIG_FILES"; then
19099 ac_cr=`echo X | tr X '\015'`
19100 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19101 # But we know of no other shell where ac_cr would be empty at this
19102 # point, so we can use a bashism as a fallback.
19103 if test "x$ac_cr" = x; then
19104 eval ac_cr=\$\'\\r\'
19106 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19107 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19108 ac_cs_awk_cr='\\r'
19109 else
19110 ac_cs_awk_cr=$ac_cr
19113 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19114 _ACEOF
19118 echo "cat >conf$$subs.awk <<_ACEOF" &&
19119 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19120 echo "_ACEOF"
19121 } >conf$$subs.sh ||
19122 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19123 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19124 ac_delim='%!_!# '
19125 for ac_last_try in false false false false false :; do
19126 . ./conf$$subs.sh ||
19127 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19129 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19130 if test $ac_delim_n = $ac_delim_num; then
19131 break
19132 elif $ac_last_try; then
19133 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19134 else
19135 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19137 done
19138 rm -f conf$$subs.sh
19140 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19141 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19142 _ACEOF
19143 sed -n '
19145 s/^/S["/; s/!.*/"]=/
19148 s/^[^!]*!//
19149 :repl
19150 t repl
19151 s/'"$ac_delim"'$//
19152 t delim
19155 s/\(.\{148\}\)..*/\1/
19156 t more1
19157 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19160 b repl
19161 :more1
19162 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19165 s/.\{148\}//
19166 t nl
19167 :delim
19169 s/\(.\{148\}\)..*/\1/
19170 t more2
19171 s/["\\]/\\&/g; s/^/"/; s/$/"/
19174 :more2
19175 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19178 s/.\{148\}//
19179 t delim
19180 ' <conf$$subs.awk | sed '
19181 /^[^""]/{
19183 s/\n//
19185 ' >>$CONFIG_STATUS || ac_write_fail=1
19186 rm -f conf$$subs.awk
19187 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19188 _ACAWK
19189 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19190 for (key in S) S_is_set[key] = 1
19191 FS = "\a"
19195 line = $ 0
19196 nfields = split(line, field, "@")
19197 substed = 0
19198 len = length(field[1])
19199 for (i = 2; i < nfields; i++) {
19200 key = field[i]
19201 keylen = length(key)
19202 if (S_is_set[key]) {
19203 value = S[key]
19204 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19205 len += length(value) + length(field[++i])
19206 substed = 1
19207 } else
19208 len += 1 + keylen
19211 print line
19214 _ACAWK
19215 _ACEOF
19216 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19217 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19218 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19219 else
19221 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19222 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19223 _ACEOF
19225 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19226 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19227 # trailing colons and then remove the whole line if VPATH becomes empty
19228 # (actually we leave an empty line to preserve line numbers).
19229 if test "x$srcdir" = x.; then
19230 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19232 s///
19233 s/^/:/
19234 s/[ ]*$/:/
19235 s/:\$(srcdir):/:/g
19236 s/:\${srcdir}:/:/g
19237 s/:@srcdir@:/:/g
19238 s/^:*//
19239 s/:*$//
19241 s/\(=[ ]*\).*/\1/
19243 s/\n//
19244 s/^[^=]*=[ ]*$//
19248 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19249 fi # test -n "$CONFIG_FILES"
19251 # Set up the scripts for CONFIG_HEADERS section.
19252 # No need to generate them if there are no CONFIG_HEADERS.
19253 # This happens for instance with `./config.status Makefile'.
19254 if test -n "$CONFIG_HEADERS"; then
19255 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19256 BEGIN {
19257 _ACEOF
19259 # Transform confdefs.h into an awk script `defines.awk', embedded as
19260 # here-document in config.status, that substitutes the proper values into
19261 # config.h.in to produce config.h.
19263 # Create a delimiter string that does not exist in confdefs.h, to ease
19264 # handling of long lines.
19265 ac_delim='%!_!# '
19266 for ac_last_try in false false :; do
19267 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19268 if test -z "$ac_tt"; then
19269 break
19270 elif $ac_last_try; then
19271 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19272 else
19273 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19275 done
19277 # For the awk script, D is an array of macro values keyed by name,
19278 # likewise P contains macro parameters if any. Preserve backslash
19279 # newline sequences.
19281 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19282 sed -n '
19283 s/.\{148\}/&'"$ac_delim"'/g
19284 t rset
19285 :rset
19286 s/^[ ]*#[ ]*define[ ][ ]*/ /
19287 t def
19289 :def
19290 s/\\$//
19291 t bsnl
19292 s/["\\]/\\&/g
19293 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19294 D["\1"]=" \3"/p
19295 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19297 :bsnl
19298 s/["\\]/\\&/g
19299 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19300 D["\1"]=" \3\\\\\\n"\\/p
19301 t cont
19302 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19303 t cont
19305 :cont
19307 s/.\{148\}/&'"$ac_delim"'/g
19308 t clear
19309 :clear
19310 s/\\$//
19311 t bsnlc
19312 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19314 :bsnlc
19315 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19316 b cont
19317 ' <confdefs.h | sed '
19318 s/'"$ac_delim"'/"\\\
19319 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19321 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19322 for (key in D) D_is_set[key] = 1
19323 FS = "\a"
19325 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19326 line = \$ 0
19327 split(line, arg, " ")
19328 if (arg[1] == "#") {
19329 defundef = arg[2]
19330 mac1 = arg[3]
19331 } else {
19332 defundef = substr(arg[1], 2)
19333 mac1 = arg[2]
19335 split(mac1, mac2, "(") #)
19336 macro = mac2[1]
19337 prefix = substr(line, 1, index(line, defundef) - 1)
19338 if (D_is_set[macro]) {
19339 # Preserve the white space surrounding the "#".
19340 print prefix "define", macro P[macro] D[macro]
19341 next
19342 } else {
19343 # Replace #undef with comments. This is necessary, for example,
19344 # in the case of _POSIX_SOURCE, which is predefined and required
19345 # on some systems where configure will not decide to define it.
19346 if (defundef == "undef") {
19347 print "/*", prefix defundef, macro, "*/"
19348 next
19352 { print }
19353 _ACAWK
19354 _ACEOF
19355 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19356 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19357 fi # test -n "$CONFIG_HEADERS"
19360 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19361 shift
19362 for ac_tag
19364 case $ac_tag in
19365 :[FHLC]) ac_mode=$ac_tag; continue;;
19366 esac
19367 case $ac_mode$ac_tag in
19368 :[FHL]*:*);;
19369 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19370 :[FH]-) ac_tag=-:-;;
19371 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19372 esac
19373 ac_save_IFS=$IFS
19374 IFS=:
19375 set x $ac_tag
19376 IFS=$ac_save_IFS
19377 shift
19378 ac_file=$1
19379 shift
19381 case $ac_mode in
19382 :L) ac_source=$1;;
19383 :[FH])
19384 ac_file_inputs=
19385 for ac_f
19387 case $ac_f in
19388 -) ac_f="$ac_tmp/stdin";;
19389 *) # Look for the file first in the build tree, then in the source tree
19390 # (if the path is not absolute). The absolute path cannot be DOS-style,
19391 # because $ac_f cannot contain `:'.
19392 test -f "$ac_f" ||
19393 case $ac_f in
19394 [\\/$]*) false;;
19395 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19396 esac ||
19397 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19398 esac
19399 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19400 as_fn_append ac_file_inputs " '$ac_f'"
19401 done
19403 # Let's still pretend it is `configure' which instantiates (i.e., don't
19404 # use $as_me), people would be surprised to read:
19405 # /* config.h. Generated by config.status. */
19406 configure_input='Generated from '`
19407 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19408 `' by configure.'
19409 if test x"$ac_file" != x-; then
19410 configure_input="$ac_file. $configure_input"
19411 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19412 $as_echo "$as_me: creating $ac_file" >&6;}
19414 # Neutralize special characters interpreted by sed in replacement strings.
19415 case $configure_input in #(
19416 *\&* | *\|* | *\\* )
19417 ac_sed_conf_input=`$as_echo "$configure_input" |
19418 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19419 *) ac_sed_conf_input=$configure_input;;
19420 esac
19422 case $ac_tag in
19423 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19424 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19425 esac
19427 esac
19429 ac_dir=`$as_dirname -- "$ac_file" ||
19430 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19431 X"$ac_file" : 'X\(//\)[^/]' \| \
19432 X"$ac_file" : 'X\(//\)$' \| \
19433 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19434 $as_echo X"$ac_file" |
19435 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19436 s//\1/
19439 /^X\(\/\/\)[^/].*/{
19440 s//\1/
19443 /^X\(\/\/\)$/{
19444 s//\1/
19447 /^X\(\/\).*/{
19448 s//\1/
19451 s/.*/./; q'`
19452 as_dir="$ac_dir"; as_fn_mkdir_p
19453 ac_builddir=.
19455 case "$ac_dir" in
19456 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19458 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19459 # A ".." for each directory in $ac_dir_suffix.
19460 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19461 case $ac_top_builddir_sub in
19462 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19463 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19464 esac ;;
19465 esac
19466 ac_abs_top_builddir=$ac_pwd
19467 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19468 # for backward compatibility:
19469 ac_top_builddir=$ac_top_build_prefix
19471 case $srcdir in
19472 .) # We are building in place.
19473 ac_srcdir=.
19474 ac_top_srcdir=$ac_top_builddir_sub
19475 ac_abs_top_srcdir=$ac_pwd ;;
19476 [\\/]* | ?:[\\/]* ) # Absolute name.
19477 ac_srcdir=$srcdir$ac_dir_suffix;
19478 ac_top_srcdir=$srcdir
19479 ac_abs_top_srcdir=$srcdir ;;
19480 *) # Relative name.
19481 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19482 ac_top_srcdir=$ac_top_build_prefix$srcdir
19483 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19484 esac
19485 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19488 case $ac_mode in
19491 # CONFIG_FILE
19494 _ACEOF
19496 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19497 # If the template does not know about datarootdir, expand it.
19498 # FIXME: This hack should be removed a few years after 2.60.
19499 ac_datarootdir_hack=; ac_datarootdir_seen=
19500 ac_sed_dataroot='
19501 /datarootdir/ {
19505 /@datadir@/p
19506 /@docdir@/p
19507 /@infodir@/p
19508 /@localedir@/p
19509 /@mandir@/p'
19510 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19511 *datarootdir*) ac_datarootdir_seen=yes;;
19512 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19513 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19514 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19515 _ACEOF
19516 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19517 ac_datarootdir_hack='
19518 s&@datadir@&$datadir&g
19519 s&@docdir@&$docdir&g
19520 s&@infodir@&$infodir&g
19521 s&@localedir@&$localedir&g
19522 s&@mandir@&$mandir&g
19523 s&\\\${datarootdir}&$datarootdir&g' ;;
19524 esac
19525 _ACEOF
19527 # Neutralize VPATH when `$srcdir' = `.'.
19528 # Shell code in configure.ac might set extrasub.
19529 # FIXME: do we really want to maintain this feature?
19530 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19531 ac_sed_extra="$ac_vpsub
19532 $extrasub
19533 _ACEOF
19534 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19536 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19537 s|@configure_input@|$ac_sed_conf_input|;t t
19538 s&@top_builddir@&$ac_top_builddir_sub&;t t
19539 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19540 s&@srcdir@&$ac_srcdir&;t t
19541 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19542 s&@top_srcdir@&$ac_top_srcdir&;t t
19543 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19544 s&@builddir@&$ac_builddir&;t t
19545 s&@abs_builddir@&$ac_abs_builddir&;t t
19546 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19547 $ac_datarootdir_hack
19549 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19550 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19552 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19553 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19554 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19555 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19556 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19557 which seems to be undefined. Please make sure it is defined" >&5
19558 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19559 which seems to be undefined. Please make sure it is defined" >&2;}
19561 rm -f "$ac_tmp/stdin"
19562 case $ac_file in
19563 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19564 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19565 esac \
19566 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19570 # CONFIG_HEADER
19572 if test x"$ac_file" != x-; then
19574 $as_echo "/* $configure_input */" \
19575 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19576 } >"$ac_tmp/config.h" \
19577 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19578 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19579 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19580 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19581 else
19582 rm -f "$ac_file"
19583 mv "$ac_tmp/config.h" "$ac_file" \
19584 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19586 else
19587 $as_echo "/* $configure_input */" \
19588 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19589 || as_fn_error $? "could not create -" "$LINENO" 5
19594 # CONFIG_LINK
19597 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19599 else
19600 # Prefer the file from the source tree if names are identical.
19601 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19602 ac_source=$srcdir/$ac_source
19605 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19606 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19608 if test ! -r "$ac_source"; then
19609 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19611 rm -f "$ac_file"
19613 # Try a relative symlink, then a hard link, then a copy.
19614 case $ac_source in
19615 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19616 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19617 esac
19618 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19619 ln "$ac_source" "$ac_file" 2>/dev/null ||
19620 cp -p "$ac_source" "$ac_file" ||
19621 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19624 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19625 $as_echo "$as_me: executing $ac_file commands" >&6;}
19627 esac
19630 case $ac_file$ac_mode in
19631 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19632 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19633 "Makefile":C) wine_fn_output_makefile Makefile ;;
19635 esac
19636 done # for ac_tag
19639 as_fn_exit 0
19640 _ACEOF
19641 ac_clean_files=$ac_clean_files_save
19643 test $ac_write_fail = 0 ||
19644 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19647 # configure is writing to config.log, and then calls config.status.
19648 # config.status does its own redirection, appending to config.log.
19649 # Unfortunately, on DOS this fails, as config.log is still kept open
19650 # by configure, so config.status won't be able to write to it; its
19651 # output is simply discarded. So we exec the FD to /dev/null,
19652 # effectively closing config.log, so it can be properly (re)opened and
19653 # appended to by config.status. When coming back to configure, we
19654 # need to make the FD available again.
19655 if test "$no_create" != yes; then
19656 ac_cs_success=:
19657 ac_config_status_args=
19658 test "$silent" = yes &&
19659 ac_config_status_args="$ac_config_status_args --quiet"
19660 exec 5>/dev/null
19661 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19662 exec 5>>config.log
19663 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19664 # would make configure fail if this is the last instruction.
19665 $ac_cs_success || as_fn_exit 1
19667 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19669 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19673 if test "$no_create" = "yes"
19674 then
19675 exit 0
19678 ac_save_IFS="$IFS"
19679 if test "x$wine_notices" != x; then
19680 echo >&6
19681 IFS="|"
19682 for msg in $wine_notices; do
19683 IFS="$ac_save_IFS"
19684 if ${msg:+false} :; then :
19686 else
19687 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19688 $as_echo "$as_me: $msg" >&6;}
19690 done
19692 IFS="|"
19693 for msg in $wine_warnings; do
19694 IFS="$ac_save_IFS"
19695 if ${msg:+false} :; then :
19697 else
19698 echo >&2
19699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19700 $as_echo "$as_me: WARNING: $msg" >&2;}
19702 done
19703 IFS="$ac_save_IFS"
19705 $as_echo "
19706 $as_me: Finished. Do '${ac_make}' to compile Wine.
19707 " >&6