gdi32: Reduce the number of memory allocations required for gdi paths.
[wine.git] / configure
blobce49aed1f81eb1f70ee70bec783b25933825cc77
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.9.14.
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.14'
584 PACKAGE_STRING='Wine 1.9.14'
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_ncrypt
1250 enable_nddeapi
1251 enable_ndis_sys
1252 enable_netapi32
1253 enable_netcfgx
1254 enable_netprofm
1255 enable_newdev
1256 enable_normaliz
1257 enable_npmshtml
1258 enable_npptools
1259 enable_ntdll
1260 enable_ntdsapi
1261 enable_ntoskrnl_exe
1262 enable_ntprint
1263 enable_objsel
1264 enable_odbc32
1265 enable_odbccp32
1266 enable_odbccu32
1267 enable_ole32
1268 enable_oleacc
1269 enable_oleaut32
1270 enable_olecli32
1271 enable_oledb32
1272 enable_oledlg
1273 enable_olepro32
1274 enable_olesvr32
1275 enable_olethk32
1276 enable_openal32
1277 enable_opencl
1278 enable_opengl32
1279 enable_packager
1280 enable_pdh
1281 enable_photometadatahandler
1282 enable_pidgen
1283 enable_powrprof
1284 enable_printui
1285 enable_prntvpt
1286 enable_propsys
1287 enable_psapi
1288 enable_pstorec
1289 enable_qcap
1290 enable_qedit
1291 enable_qmgr
1292 enable_qmgrprxy
1293 enable_quartz
1294 enable_query
1295 enable_rasapi32
1296 enable_rasdlg
1297 enable_regapi
1298 enable_resutils
1299 enable_riched20
1300 enable_riched32
1301 enable_rpcrt4
1302 enable_rsabase
1303 enable_rsaenh
1304 enable_rstrtmgr
1305 enable_rtutils
1306 enable_samlib
1307 enable_sane_ds
1308 enable_scarddlg
1309 enable_sccbase
1310 enable_schannel
1311 enable_schedsvc
1312 enable_scrrun
1313 enable_scsiport_sys
1314 enable_secur32
1315 enable_security
1316 enable_sensapi
1317 enable_serialui
1318 enable_setupapi
1319 enable_sfc
1320 enable_sfc_os
1321 enable_shdoclc
1322 enable_shdocvw
1323 enable_shell32
1324 enable_shfolder
1325 enable_shlwapi
1326 enable_slbcsp
1327 enable_slc
1328 enable_snmpapi
1329 enable_softpub
1330 enable_spoolss
1331 enable_sspicli
1332 enable_stdole2_tlb
1333 enable_stdole32_tlb
1334 enable_sti
1335 enable_svrapi
1336 enable_sxs
1337 enable_t2embed
1338 enable_tapi32
1339 enable_taskschd
1340 enable_tdi_sys
1341 enable_traffic
1342 enable_twain_32
1343 enable_ucrtbase
1344 enable_unicows
1345 enable_updspapi
1346 enable_url
1347 enable_urlmon
1348 enable_usbd_sys
1349 enable_user32
1350 enable_userenv
1351 enable_usp10
1352 enable_uxtheme
1353 enable_vbscript
1354 enable_vcomp
1355 enable_vcomp100
1356 enable_vcomp110
1357 enable_vcomp120
1358 enable_vcomp90
1359 enable_vcruntime140
1360 enable_vdmdbg
1361 enable_version
1362 enable_vssapi
1363 enable_wbemdisp
1364 enable_wbemprox
1365 enable_webservices
1366 enable_wer
1367 enable_wevtapi
1368 enable_wiaservc
1369 enable_wimgapi
1370 enable_windowscodecs
1371 enable_windowscodecsext
1372 enable_winealsa_drv
1373 enable_winecoreaudio_drv
1374 enable_wined3d
1375 enable_winegstreamer
1376 enable_winejoystick_drv
1377 enable_winemac_drv
1378 enable_winemapi
1379 enable_winemp3_acm
1380 enable_wineoss_drv
1381 enable_wineps_drv
1382 enable_winepulse_drv
1383 enable_wineqtdecoder
1384 enable_winex11_drv
1385 enable_wing32
1386 enable_winhttp
1387 enable_wininet
1388 enable_winmm
1389 enable_winnls32
1390 enable_winscard
1391 enable_winspool_drv
1392 enable_winsta
1393 enable_wintab32
1394 enable_wintrust
1395 enable_wlanapi
1396 enable_wldap32
1397 enable_wmasf
1398 enable_wmi
1399 enable_wmiutils
1400 enable_wmp
1401 enable_wmvcore
1402 enable_wnaspi32
1403 enable_wpcap
1404 enable_ws2_32
1405 enable_wshom_ocx
1406 enable_wsnmp32
1407 enable_wsock32
1408 enable_wtsapi32
1409 enable_wuapi
1410 enable_wuaueng
1411 enable_x3daudio1_0
1412 enable_x3daudio1_1
1413 enable_x3daudio1_2
1414 enable_x3daudio1_3
1415 enable_x3daudio1_4
1416 enable_x3daudio1_5
1417 enable_x3daudio1_6
1418 enable_x3daudio1_7
1419 enable_xapofx1_1
1420 enable_xapofx1_2
1421 enable_xapofx1_3
1422 enable_xapofx1_4
1423 enable_xapofx1_5
1424 enable_xaudio2_0
1425 enable_xaudio2_1
1426 enable_xaudio2_2
1427 enable_xaudio2_3
1428 enable_xaudio2_4
1429 enable_xaudio2_5
1430 enable_xaudio2_6
1431 enable_xaudio2_7
1432 enable_xaudio2_8
1433 enable_xaudio2_9
1434 enable_xinput1_1
1435 enable_xinput1_2
1436 enable_xinput1_3
1437 enable_xinput1_4
1438 enable_xinput9_1_0
1439 enable_xmllite
1440 enable_xolehlp
1441 enable_xpsprint
1442 enable_xpssvcs
1443 enable_fonts
1444 enable_include
1445 enable_libs_port
1446 enable_libs_wine
1447 enable_libs_wpp
1448 enable_loader
1449 enable_po
1450 enable_arp
1451 enable_aspnet_regiis
1452 enable_attrib
1453 enable_cabarc
1454 enable_cacls
1455 enable_clock
1456 enable_cmd
1457 enable_conhost
1458 enable_control
1459 enable_cscript
1460 enable_dpnsvr
1461 enable_dxdiag
1462 enable_eject
1463 enable_expand
1464 enable_explorer
1465 enable_extrac32
1466 enable_findstr
1467 enable_fsutil
1468 enable_hh
1469 enable_hostname
1470 enable_icacls
1471 enable_icinfo
1472 enable_iexplore
1473 enable_ipconfig
1474 enable_lodctr
1475 enable_mofcomp
1476 enable_mshta
1477 enable_msiexec
1478 enable_net
1479 enable_netsh
1480 enable_netstat
1481 enable_ngen
1482 enable_notepad
1483 enable_oleview
1484 enable_ping
1485 enable_plugplay
1486 enable_presentationfontcache
1487 enable_progman
1488 enable_reg
1489 enable_regasm
1490 enable_regedit
1491 enable_regsvcs
1492 enable_regsvr32
1493 enable_rpcss
1494 enable_rundll32
1495 enable_sc
1496 enable_schtasks
1497 enable_sdbinst
1498 enable_secedit
1499 enable_servicemodelreg
1500 enable_services
1501 enable_shutdown
1502 enable_spoolsv
1503 enable_start
1504 enable_svchost
1505 enable_systeminfo
1506 enable_taskkill
1507 enable_tasklist
1508 enable_taskmgr
1509 enable_termsv
1510 enable_uninstaller
1511 enable_unlodctr
1512 enable_view
1513 enable_wevtutil
1514 enable_wineboot
1515 enable_winebrowser
1516 enable_winecfg
1517 enable_wineconsole
1518 enable_winedbg
1519 enable_winedevice
1520 enable_winefile
1521 enable_winemenubuilder
1522 enable_winemine
1523 enable_winemsibuilder
1524 enable_winepath
1525 enable_winetest
1526 enable_winhlp32
1527 enable_winver
1528 enable_wmic
1529 enable_wmplayer
1530 enable_wordpad
1531 enable_write
1532 enable_wscript
1533 enable_wusa
1534 enable_xcopy
1535 enable_server
1536 enable_tools
1538 ac_precious_vars='build_alias
1539 host_alias
1540 target_alias
1542 CFLAGS
1543 LDFLAGS
1544 LIBS
1545 CPPFLAGS
1547 CXXFLAGS
1550 XMKMF
1551 XML2_CFLAGS
1552 XML2_LIBS
1553 XSLT_CFLAGS
1554 XSLT_LIBS
1555 DBUS_CFLAGS
1556 DBUS_LIBS
1557 HAL_CFLAGS
1558 HAL_LIBS
1559 GNUTLS_CFLAGS
1560 GNUTLS_LIBS
1561 SANE_CFLAGS
1562 SANE_LIBS
1563 GPHOTO2_CFLAGS
1564 GPHOTO2_LIBS
1565 GPHOTO2_PORT_CFLAGS
1566 GPHOTO2_PORT_LIBS
1567 LCMS2_CFLAGS
1568 LCMS2_LIBS
1569 FREETYPE_CFLAGS
1570 FREETYPE_LIBS
1571 PULSE_CFLAGS
1572 PULSE_LIBS
1573 GSTREAMER_CFLAGS
1574 GSTREAMER_LIBS
1575 CAPI20_CFLAGS
1576 CAPI20_LIBS
1577 FONTCONFIG_CFLAGS
1578 FONTCONFIG_LIBS
1579 JPEG_CFLAGS
1580 JPEG_LIBS
1581 PNG_CFLAGS
1582 PNG_LIBS
1583 TIFF_CFLAGS
1584 TIFF_LIBS
1585 MPG123_CFLAGS
1586 MPG123_LIBS
1587 NETAPI_CFLAGS
1588 NETAPI_LIBS'
1591 # Initialize some variables set by options.
1592 ac_init_help=
1593 ac_init_version=false
1594 ac_unrecognized_opts=
1595 ac_unrecognized_sep=
1596 # The variables have the same names as the options, with
1597 # dashes changed to underlines.
1598 cache_file=/dev/null
1599 exec_prefix=NONE
1600 no_create=
1601 no_recursion=
1602 prefix=NONE
1603 program_prefix=NONE
1604 program_suffix=NONE
1605 program_transform_name=s,x,x,
1606 silent=
1607 site=
1608 srcdir=
1609 verbose=
1610 x_includes=NONE
1611 x_libraries=NONE
1613 # Installation directory options.
1614 # These are left unexpanded so users can "make install exec_prefix=/foo"
1615 # and all the variables that are supposed to be based on exec_prefix
1616 # by default will actually change.
1617 # Use braces instead of parens because sh, perl, etc. also accept them.
1618 # (The list follows the same order as the GNU Coding Standards.)
1619 bindir='${exec_prefix}/bin'
1620 sbindir='${exec_prefix}/sbin'
1621 libexecdir='${exec_prefix}/libexec'
1622 datarootdir='${prefix}/share'
1623 datadir='${datarootdir}'
1624 sysconfdir='${prefix}/etc'
1625 sharedstatedir='${prefix}/com'
1626 localstatedir='${prefix}/var'
1627 runstatedir='${localstatedir}/run'
1628 includedir='${prefix}/include'
1629 oldincludedir='/usr/include'
1630 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1631 infodir='${datarootdir}/info'
1632 htmldir='${docdir}'
1633 dvidir='${docdir}'
1634 pdfdir='${docdir}'
1635 psdir='${docdir}'
1636 libdir='${exec_prefix}/lib'
1637 localedir='${datarootdir}/locale'
1638 mandir='${datarootdir}/man'
1640 ac_prev=
1641 ac_dashdash=
1642 for ac_option
1644 # If the previous option needs an argument, assign it.
1645 if test -n "$ac_prev"; then
1646 eval $ac_prev=\$ac_option
1647 ac_prev=
1648 continue
1651 case $ac_option in
1652 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1653 *=) ac_optarg= ;;
1654 *) ac_optarg=yes ;;
1655 esac
1657 # Accept the important Cygnus configure options, so we can diagnose typos.
1659 case $ac_dashdash$ac_option in
1661 ac_dashdash=yes ;;
1663 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1664 ac_prev=bindir ;;
1665 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1666 bindir=$ac_optarg ;;
1668 -build | --build | --buil | --bui | --bu)
1669 ac_prev=build_alias ;;
1670 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1671 build_alias=$ac_optarg ;;
1673 -cache-file | --cache-file | --cache-fil | --cache-fi \
1674 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1675 ac_prev=cache_file ;;
1676 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1677 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1678 cache_file=$ac_optarg ;;
1680 --config-cache | -C)
1681 cache_file=config.cache ;;
1683 -datadir | --datadir | --datadi | --datad)
1684 ac_prev=datadir ;;
1685 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1686 datadir=$ac_optarg ;;
1688 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1689 | --dataroo | --dataro | --datar)
1690 ac_prev=datarootdir ;;
1691 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1692 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1693 datarootdir=$ac_optarg ;;
1695 -disable-* | --disable-*)
1696 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1697 # Reject names that are not valid shell variable names.
1698 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1699 as_fn_error $? "invalid feature name: $ac_useropt"
1700 ac_useropt_orig=$ac_useropt
1701 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1702 case $ac_user_opts in
1704 "enable_$ac_useropt"
1705 "*) ;;
1706 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1707 ac_unrecognized_sep=', ';;
1708 esac
1709 eval enable_$ac_useropt=no ;;
1711 -docdir | --docdir | --docdi | --doc | --do)
1712 ac_prev=docdir ;;
1713 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1714 docdir=$ac_optarg ;;
1716 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1717 ac_prev=dvidir ;;
1718 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1719 dvidir=$ac_optarg ;;
1721 -enable-* | --enable-*)
1722 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1723 # Reject names that are not valid shell variable names.
1724 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1725 as_fn_error $? "invalid feature name: $ac_useropt"
1726 ac_useropt_orig=$ac_useropt
1727 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1728 case $ac_user_opts in
1730 "enable_$ac_useropt"
1731 "*) ;;
1732 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1733 ac_unrecognized_sep=', ';;
1734 esac
1735 eval enable_$ac_useropt=\$ac_optarg ;;
1737 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1738 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1739 | --exec | --exe | --ex)
1740 ac_prev=exec_prefix ;;
1741 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1742 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1743 | --exec=* | --exe=* | --ex=*)
1744 exec_prefix=$ac_optarg ;;
1746 -gas | --gas | --ga | --g)
1747 # Obsolete; use --with-gas.
1748 with_gas=yes ;;
1750 -help | --help | --hel | --he | -h)
1751 ac_init_help=long ;;
1752 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1753 ac_init_help=recursive ;;
1754 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1755 ac_init_help=short ;;
1757 -host | --host | --hos | --ho)
1758 ac_prev=host_alias ;;
1759 -host=* | --host=* | --hos=* | --ho=*)
1760 host_alias=$ac_optarg ;;
1762 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1763 ac_prev=htmldir ;;
1764 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1765 | --ht=*)
1766 htmldir=$ac_optarg ;;
1768 -includedir | --includedir | --includedi | --included | --include \
1769 | --includ | --inclu | --incl | --inc)
1770 ac_prev=includedir ;;
1771 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1772 | --includ=* | --inclu=* | --incl=* | --inc=*)
1773 includedir=$ac_optarg ;;
1775 -infodir | --infodir | --infodi | --infod | --info | --inf)
1776 ac_prev=infodir ;;
1777 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1778 infodir=$ac_optarg ;;
1780 -libdir | --libdir | --libdi | --libd)
1781 ac_prev=libdir ;;
1782 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1783 libdir=$ac_optarg ;;
1785 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1786 | --libexe | --libex | --libe)
1787 ac_prev=libexecdir ;;
1788 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1789 | --libexe=* | --libex=* | --libe=*)
1790 libexecdir=$ac_optarg ;;
1792 -localedir | --localedir | --localedi | --localed | --locale)
1793 ac_prev=localedir ;;
1794 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1795 localedir=$ac_optarg ;;
1797 -localstatedir | --localstatedir | --localstatedi | --localstated \
1798 | --localstate | --localstat | --localsta | --localst | --locals)
1799 ac_prev=localstatedir ;;
1800 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1801 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1802 localstatedir=$ac_optarg ;;
1804 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1805 ac_prev=mandir ;;
1806 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1807 mandir=$ac_optarg ;;
1809 -nfp | --nfp | --nf)
1810 # Obsolete; use --without-fp.
1811 with_fp=no ;;
1813 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1814 | --no-cr | --no-c | -n)
1815 no_create=yes ;;
1817 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1818 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1819 no_recursion=yes ;;
1821 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1822 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1823 | --oldin | --oldi | --old | --ol | --o)
1824 ac_prev=oldincludedir ;;
1825 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1826 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1827 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1828 oldincludedir=$ac_optarg ;;
1830 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1831 ac_prev=prefix ;;
1832 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1833 prefix=$ac_optarg ;;
1835 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1836 | --program-pre | --program-pr | --program-p)
1837 ac_prev=program_prefix ;;
1838 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1839 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1840 program_prefix=$ac_optarg ;;
1842 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1843 | --program-suf | --program-su | --program-s)
1844 ac_prev=program_suffix ;;
1845 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1846 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1847 program_suffix=$ac_optarg ;;
1849 -program-transform-name | --program-transform-name \
1850 | --program-transform-nam | --program-transform-na \
1851 | --program-transform-n | --program-transform- \
1852 | --program-transform | --program-transfor \
1853 | --program-transfo | --program-transf \
1854 | --program-trans | --program-tran \
1855 | --progr-tra | --program-tr | --program-t)
1856 ac_prev=program_transform_name ;;
1857 -program-transform-name=* | --program-transform-name=* \
1858 | --program-transform-nam=* | --program-transform-na=* \
1859 | --program-transform-n=* | --program-transform-=* \
1860 | --program-transform=* | --program-transfor=* \
1861 | --program-transfo=* | --program-transf=* \
1862 | --program-trans=* | --program-tran=* \
1863 | --progr-tra=* | --program-tr=* | --program-t=*)
1864 program_transform_name=$ac_optarg ;;
1866 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1867 ac_prev=pdfdir ;;
1868 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1869 pdfdir=$ac_optarg ;;
1871 -psdir | --psdir | --psdi | --psd | --ps)
1872 ac_prev=psdir ;;
1873 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1874 psdir=$ac_optarg ;;
1876 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1877 | -silent | --silent | --silen | --sile | --sil)
1878 silent=yes ;;
1880 -runstatedir | --runstatedir | --runstatedi | --runstated \
1881 | --runstate | --runstat | --runsta | --runst | --runs \
1882 | --run | --ru | --r)
1883 ac_prev=runstatedir ;;
1884 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1885 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1886 | --run=* | --ru=* | --r=*)
1887 runstatedir=$ac_optarg ;;
1889 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1890 ac_prev=sbindir ;;
1891 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1892 | --sbi=* | --sb=*)
1893 sbindir=$ac_optarg ;;
1895 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1896 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1897 | --sharedst | --shareds | --shared | --share | --shar \
1898 | --sha | --sh)
1899 ac_prev=sharedstatedir ;;
1900 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1901 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1902 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1903 | --sha=* | --sh=*)
1904 sharedstatedir=$ac_optarg ;;
1906 -site | --site | --sit)
1907 ac_prev=site ;;
1908 -site=* | --site=* | --sit=*)
1909 site=$ac_optarg ;;
1911 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1912 ac_prev=srcdir ;;
1913 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1914 srcdir=$ac_optarg ;;
1916 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1917 | --syscon | --sysco | --sysc | --sys | --sy)
1918 ac_prev=sysconfdir ;;
1919 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1920 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1921 sysconfdir=$ac_optarg ;;
1923 -target | --target | --targe | --targ | --tar | --ta | --t)
1924 ac_prev=target_alias ;;
1925 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1926 target_alias=$ac_optarg ;;
1928 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1929 verbose=yes ;;
1931 -version | --version | --versio | --versi | --vers | -V)
1932 ac_init_version=: ;;
1934 -with-* | --with-*)
1935 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1936 # Reject names that are not valid shell variable names.
1937 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1938 as_fn_error $? "invalid package name: $ac_useropt"
1939 ac_useropt_orig=$ac_useropt
1940 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1941 case $ac_user_opts in
1943 "with_$ac_useropt"
1944 "*) ;;
1945 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1946 ac_unrecognized_sep=', ';;
1947 esac
1948 eval with_$ac_useropt=\$ac_optarg ;;
1950 -without-* | --without-*)
1951 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1952 # Reject names that are not valid shell variable names.
1953 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1954 as_fn_error $? "invalid package name: $ac_useropt"
1955 ac_useropt_orig=$ac_useropt
1956 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1957 case $ac_user_opts in
1959 "with_$ac_useropt"
1960 "*) ;;
1961 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1962 ac_unrecognized_sep=', ';;
1963 esac
1964 eval with_$ac_useropt=no ;;
1966 --x)
1967 # Obsolete; use --with-x.
1968 with_x=yes ;;
1970 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1971 | --x-incl | --x-inc | --x-in | --x-i)
1972 ac_prev=x_includes ;;
1973 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1974 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1975 x_includes=$ac_optarg ;;
1977 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1978 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1979 ac_prev=x_libraries ;;
1980 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1981 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1982 x_libraries=$ac_optarg ;;
1984 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1985 Try \`$0 --help' for more information"
1988 *=*)
1989 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1990 # Reject names that are not valid shell variable names.
1991 case $ac_envvar in #(
1992 '' | [0-9]* | *[!_$as_cr_alnum]* )
1993 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1994 esac
1995 eval $ac_envvar=\$ac_optarg
1996 export $ac_envvar ;;
1999 # FIXME: should be removed in autoconf 3.0.
2000 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2001 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2002 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2003 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2006 esac
2007 done
2009 if test -n "$ac_prev"; then
2010 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2011 as_fn_error $? "missing argument to $ac_option"
2014 if test -n "$ac_unrecognized_opts"; then
2015 case $enable_option_checking in
2016 no) ;;
2017 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2018 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2019 esac
2022 # Check all directory arguments for consistency.
2023 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2024 datadir sysconfdir sharedstatedir localstatedir includedir \
2025 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2026 libdir localedir mandir runstatedir
2028 eval ac_val=\$$ac_var
2029 # Remove trailing slashes.
2030 case $ac_val in
2031 */ )
2032 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2033 eval $ac_var=\$ac_val;;
2034 esac
2035 # Be sure to have absolute directory names.
2036 case $ac_val in
2037 [\\/$]* | ?:[\\/]* ) continue;;
2038 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2039 esac
2040 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2041 done
2043 # There might be people who depend on the old broken behavior: `$host'
2044 # used to hold the argument of --host etc.
2045 # FIXME: To remove some day.
2046 build=$build_alias
2047 host=$host_alias
2048 target=$target_alias
2050 # FIXME: To remove some day.
2051 if test "x$host_alias" != x; then
2052 if test "x$build_alias" = x; then
2053 cross_compiling=maybe
2054 elif test "x$build_alias" != "x$host_alias"; then
2055 cross_compiling=yes
2059 ac_tool_prefix=
2060 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2062 test "$silent" = yes && exec 6>/dev/null
2065 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2066 ac_ls_di=`ls -di .` &&
2067 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2068 as_fn_error $? "working directory cannot be determined"
2069 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2070 as_fn_error $? "pwd does not report name of working directory"
2073 # Find the source files, if location was not specified.
2074 if test -z "$srcdir"; then
2075 ac_srcdir_defaulted=yes
2076 # Try the directory containing this script, then the parent directory.
2077 ac_confdir=`$as_dirname -- "$as_myself" ||
2078 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2079 X"$as_myself" : 'X\(//\)[^/]' \| \
2080 X"$as_myself" : 'X\(//\)$' \| \
2081 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2082 $as_echo X"$as_myself" |
2083 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2084 s//\1/
2087 /^X\(\/\/\)[^/].*/{
2088 s//\1/
2091 /^X\(\/\/\)$/{
2092 s//\1/
2095 /^X\(\/\).*/{
2096 s//\1/
2099 s/.*/./; q'`
2100 srcdir=$ac_confdir
2101 if test ! -r "$srcdir/$ac_unique_file"; then
2102 srcdir=..
2104 else
2105 ac_srcdir_defaulted=no
2107 if test ! -r "$srcdir/$ac_unique_file"; then
2108 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2109 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2111 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2112 ac_abs_confdir=`(
2113 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2114 pwd)`
2115 # When building in place, set srcdir=.
2116 if test "$ac_abs_confdir" = "$ac_pwd"; then
2117 srcdir=.
2119 # Remove unnecessary trailing slashes from srcdir.
2120 # Double slashes in file names in object file debugging info
2121 # mess up M-x gdb in Emacs.
2122 case $srcdir in
2123 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2124 esac
2125 for ac_var in $ac_precious_vars; do
2126 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2127 eval ac_env_${ac_var}_value=\$${ac_var}
2128 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2129 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2130 done
2133 # Report the --help message.
2135 if test "$ac_init_help" = "long"; then
2136 # Omit some internal or obsolete options to make the list less imposing.
2137 # This message is too long to be a string in the A/UX 3.1 sh.
2138 cat <<_ACEOF
2139 \`configure' configures Wine 1.9.14 to adapt to many kinds of systems.
2141 Usage: $0 [OPTION]... [VAR=VALUE]...
2143 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2144 VAR=VALUE. See below for descriptions of some of the useful variables.
2146 Defaults for the options are specified in brackets.
2148 Configuration:
2149 -h, --help display this help and exit
2150 --help=short display options specific to this package
2151 --help=recursive display the short help of all the included packages
2152 -V, --version display version information and exit
2153 -q, --quiet, --silent do not print \`checking ...' messages
2154 --cache-file=FILE cache test results in FILE [disabled]
2155 -C, --config-cache alias for \`--cache-file=config.cache'
2156 -n, --no-create do not create output files
2157 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2159 Installation directories:
2160 --prefix=PREFIX install architecture-independent files in PREFIX
2161 [$ac_default_prefix]
2162 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2163 [PREFIX]
2165 By default, \`make install' will install all the files in
2166 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2167 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2168 for instance \`--prefix=\$HOME'.
2170 For better control, use the options below.
2172 Fine tuning of the installation directories:
2173 --bindir=DIR user executables [EPREFIX/bin]
2174 --sbindir=DIR system admin executables [EPREFIX/sbin]
2175 --libexecdir=DIR program executables [EPREFIX/libexec]
2176 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2177 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2178 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2179 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2180 --libdir=DIR object code libraries [EPREFIX/lib]
2181 --includedir=DIR C header files [PREFIX/include]
2182 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2183 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2184 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2185 --infodir=DIR info documentation [DATAROOTDIR/info]
2186 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2187 --mandir=DIR man documentation [DATAROOTDIR/man]
2188 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2189 --htmldir=DIR html documentation [DOCDIR]
2190 --dvidir=DIR dvi documentation [DOCDIR]
2191 --pdfdir=DIR pdf documentation [DOCDIR]
2192 --psdir=DIR ps documentation [DOCDIR]
2193 _ACEOF
2195 cat <<\_ACEOF
2197 X features:
2198 --x-includes=DIR X include files are in DIR
2199 --x-libraries=DIR X library files are in DIR
2201 System types:
2202 --build=BUILD configure for building on BUILD [guessed]
2203 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2204 _ACEOF
2207 if test -n "$ac_init_help"; then
2208 case $ac_init_help in
2209 short | recursive ) echo "Configuration of Wine 1.9.14:";;
2210 esac
2211 cat <<\_ACEOF
2213 Optional Features:
2214 --disable-option-checking ignore unrecognized --enable/--with options
2215 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2216 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2217 --disable-win16 do not include Win16 support
2218 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2219 binaries)
2220 --disable-tests do not build the regression tests
2221 --enable-maintainer-mode
2222 enable maintainer-specific build rules
2223 --disable-largefile omit support for large files
2225 Optional Packages:
2226 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2227 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2228 --without-alsa do not use the Alsa sound support
2229 --without-capi do not use CAPI (ISDN support)
2230 --without-cms do not use CMS (color management support)
2231 --without-coreaudio do not use the CoreAudio sound support
2232 --without-cups do not use CUPS
2233 --without-curses do not use (n)curses
2234 --without-dbus do not use DBus (dynamic device support)
2235 --without-fontconfig do not use fontconfig
2236 --without-freetype do not use the FreeType library
2237 --without-gettext do not use gettext
2238 --with-gettextpo use the GetTextPO library to rebuild po files
2239 --without-gphoto do not use gphoto (Digital Camera support)
2240 --without-glu do not use the GLU library
2241 --without-gnutls do not use GnuTLS (schannel support)
2242 --without-gsm do not use libgsm (GSM 06.10 codec support)
2243 --without-gstreamer do not use GStreamer (codecs support)
2244 --without-hal do not use HAL (dynamic device support)
2245 --without-jpeg do not use JPEG
2246 --without-ldap do not use LDAP
2247 --without-mpg123 do not use the mpg123 library
2248 --without-netapi do not use the Samba NetAPI library
2249 --without-openal do not use OpenAL
2250 --without-opencl do not use OpenCL
2251 --without-opengl do not use OpenGL
2252 --without-osmesa do not use the OSMesa library
2253 --without-oss do not use the OSS sound support
2254 --without-pcap do not use the Packet Capture library
2255 --without-png do not use PNG
2256 --without-pthread do not use the pthread library
2257 --without-pulse do not use PulseAudio sound support
2258 --without-sane do not use SANE (scanner support)
2259 --without-tiff do not use TIFF
2260 --without-v4l do not use v4l1 (v4l support)
2261 --without-xcomposite do not use the Xcomposite extension
2262 --without-xcursor do not use the Xcursor extension
2263 --without-xinerama do not use Xinerama (multi-monitor support)
2264 --without-xinput do not use the Xinput extension
2265 --without-xinput2 do not use the Xinput 2 extension
2266 --without-xml do not use XML
2267 --without-xrandr do not use Xrandr (resolution changes)
2268 --without-xrender do not use the Xrender extension
2269 --without-xshape do not use the Xshape extension
2270 --without-xshm do not use XShm (shared memory extension)
2271 --without-xslt do not use XSLT
2272 --without-xxf86vm do not use XFree video mode extension
2273 --without-zlib do not use Zlib (data compression)
2274 --with-wine-tools=DIR use Wine tools from directory DIR
2275 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2276 --with-x use the X Window System
2278 Some influential environment variables:
2279 CC C compiler command
2280 CFLAGS C compiler flags
2281 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2282 nonstandard directory <lib dir>
2283 LIBS libraries to pass to the linker, e.g. -l<library>
2284 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2285 you have headers in a nonstandard directory <include dir>
2286 CXX C++ compiler command
2287 CXXFLAGS C++ compiler flags
2288 CPP C preprocessor
2289 XMKMF Path to xmkmf, Makefile generator for X Window System
2290 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2291 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2292 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2293 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2294 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2295 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2296 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2297 HAL_LIBS Linker flags for hal, overriding pkg-config
2298 GNUTLS_CFLAGS
2299 C compiler flags for gnutls, overriding pkg-config
2300 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2301 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2302 SANE_LIBS Linker flags for libsane, overriding pkg-config
2303 GPHOTO2_CFLAGS
2304 C compiler flags for libgphoto2, overriding pkg-config
2305 GPHOTO2_LIBS
2306 Linker flags for libgphoto2, overriding pkg-config
2307 GPHOTO2_PORT_CFLAGS
2308 C compiler flags for libgphoto2_port, overriding pkg-config
2309 GPHOTO2_PORT_LIBS
2310 Linker flags for libgphoto2_port, overriding pkg-config
2311 LCMS2_CFLAGS
2312 C compiler flags for lcms2, overriding pkg-config
2313 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2314 FREETYPE_CFLAGS
2315 C compiler flags for freetype2, overriding pkg-config
2316 FREETYPE_LIBS
2317 Linker flags for freetype2, overriding pkg-config
2318 PULSE_CFLAGS
2319 C compiler flags for libpulse, overriding pkg-config
2320 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2321 GSTREAMER_CFLAGS
2322 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2323 gstreamer-audio-1.0, overriding pkg-config
2324 GSTREAMER_LIBS
2325 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2326 gstreamer-audio-1.0, overriding pkg-config
2327 CAPI20_CFLAGS
2328 C compiler flags for capi20, overriding pkg-config
2329 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2330 FONTCONFIG_CFLAGS
2331 C compiler flags for fontconfig, overriding pkg-config
2332 FONTCONFIG_LIBS
2333 Linker flags for fontconfig, overriding pkg-config
2334 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2335 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2336 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2337 PNG_LIBS Linker flags for libpng, overriding pkg-config
2338 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2339 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2340 MPG123_CFLAGS
2341 C compiler flags for libmpg123, overriding pkg-config
2342 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2343 NETAPI_CFLAGS
2344 C compiler flags for netapi, overriding pkg-config
2345 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2347 Use these variables to override the choices made by `configure' or to help
2348 it to find libraries and programs with nonstandard names/locations.
2350 Report bugs to <wine-devel@winehq.org>.
2351 Wine home page: <http://www.winehq.org>.
2352 _ACEOF
2353 ac_status=$?
2356 if test "$ac_init_help" = "recursive"; then
2357 # If there are subdirs, report their specific --help.
2358 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2359 test -d "$ac_dir" ||
2360 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2361 continue
2362 ac_builddir=.
2364 case "$ac_dir" in
2365 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2367 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2368 # A ".." for each directory in $ac_dir_suffix.
2369 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2370 case $ac_top_builddir_sub in
2371 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2372 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2373 esac ;;
2374 esac
2375 ac_abs_top_builddir=$ac_pwd
2376 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2377 # for backward compatibility:
2378 ac_top_builddir=$ac_top_build_prefix
2380 case $srcdir in
2381 .) # We are building in place.
2382 ac_srcdir=.
2383 ac_top_srcdir=$ac_top_builddir_sub
2384 ac_abs_top_srcdir=$ac_pwd ;;
2385 [\\/]* | ?:[\\/]* ) # Absolute name.
2386 ac_srcdir=$srcdir$ac_dir_suffix;
2387 ac_top_srcdir=$srcdir
2388 ac_abs_top_srcdir=$srcdir ;;
2389 *) # Relative name.
2390 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2391 ac_top_srcdir=$ac_top_build_prefix$srcdir
2392 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2393 esac
2394 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2396 cd "$ac_dir" || { ac_status=$?; continue; }
2397 # Check for guested configure.
2398 if test -f "$ac_srcdir/configure.gnu"; then
2399 echo &&
2400 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2401 elif test -f "$ac_srcdir/configure"; then
2402 echo &&
2403 $SHELL "$ac_srcdir/configure" --help=recursive
2404 else
2405 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2406 fi || ac_status=$?
2407 cd "$ac_pwd" || { ac_status=$?; break; }
2408 done
2411 test -n "$ac_init_help" && exit $ac_status
2412 if $ac_init_version; then
2413 cat <<\_ACEOF
2414 Wine configure 1.9.14
2415 generated by GNU Autoconf 2.69
2417 Copyright (C) 2012 Free Software Foundation, Inc.
2418 This configure script is free software; the Free Software Foundation
2419 gives unlimited permission to copy, distribute and modify it.
2420 _ACEOF
2421 exit
2424 ## ------------------------ ##
2425 ## Autoconf initialization. ##
2426 ## ------------------------ ##
2428 # ac_fn_c_try_compile LINENO
2429 # --------------------------
2430 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2431 ac_fn_c_try_compile ()
2433 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2434 rm -f conftest.$ac_objext
2435 if { { ac_try="$ac_compile"
2436 case "(($ac_try" in
2437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2438 *) ac_try_echo=$ac_try;;
2439 esac
2440 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2441 $as_echo "$ac_try_echo"; } >&5
2442 (eval "$ac_compile") 2>conftest.err
2443 ac_status=$?
2444 if test -s conftest.err; then
2445 grep -v '^ *+' conftest.err >conftest.er1
2446 cat conftest.er1 >&5
2447 mv -f conftest.er1 conftest.err
2449 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2450 test $ac_status = 0; } && {
2451 test -z "$ac_c_werror_flag" ||
2452 test ! -s conftest.err
2453 } && test -s conftest.$ac_objext; then :
2454 ac_retval=0
2455 else
2456 $as_echo "$as_me: failed program was:" >&5
2457 sed 's/^/| /' conftest.$ac_ext >&5
2459 ac_retval=1
2461 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2462 as_fn_set_status $ac_retval
2464 } # ac_fn_c_try_compile
2466 # ac_fn_cxx_try_compile LINENO
2467 # ----------------------------
2468 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2469 ac_fn_cxx_try_compile ()
2471 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2472 rm -f conftest.$ac_objext
2473 if { { ac_try="$ac_compile"
2474 case "(($ac_try" in
2475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2476 *) ac_try_echo=$ac_try;;
2477 esac
2478 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2479 $as_echo "$ac_try_echo"; } >&5
2480 (eval "$ac_compile") 2>conftest.err
2481 ac_status=$?
2482 if test -s conftest.err; then
2483 grep -v '^ *+' conftest.err >conftest.er1
2484 cat conftest.er1 >&5
2485 mv -f conftest.er1 conftest.err
2487 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2488 test $ac_status = 0; } && {
2489 test -z "$ac_cxx_werror_flag" ||
2490 test ! -s conftest.err
2491 } && test -s conftest.$ac_objext; then :
2492 ac_retval=0
2493 else
2494 $as_echo "$as_me: failed program was:" >&5
2495 sed 's/^/| /' conftest.$ac_ext >&5
2497 ac_retval=1
2499 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2500 as_fn_set_status $ac_retval
2502 } # ac_fn_cxx_try_compile
2504 # ac_fn_c_try_link LINENO
2505 # -----------------------
2506 # Try to link conftest.$ac_ext, and return whether this succeeded.
2507 ac_fn_c_try_link ()
2509 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2510 rm -f conftest.$ac_objext conftest$ac_exeext
2511 if { { ac_try="$ac_link"
2512 case "(($ac_try" in
2513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2514 *) ac_try_echo=$ac_try;;
2515 esac
2516 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2517 $as_echo "$ac_try_echo"; } >&5
2518 (eval "$ac_link") 2>conftest.err
2519 ac_status=$?
2520 if test -s conftest.err; then
2521 grep -v '^ *+' conftest.err >conftest.er1
2522 cat conftest.er1 >&5
2523 mv -f conftest.er1 conftest.err
2525 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2526 test $ac_status = 0; } && {
2527 test -z "$ac_c_werror_flag" ||
2528 test ! -s conftest.err
2529 } && test -s conftest$ac_exeext && {
2530 test "$cross_compiling" = yes ||
2531 test -x conftest$ac_exeext
2532 }; then :
2533 ac_retval=0
2534 else
2535 $as_echo "$as_me: failed program was:" >&5
2536 sed 's/^/| /' conftest.$ac_ext >&5
2538 ac_retval=1
2540 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2541 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2542 # interfere with the next link command; also delete a directory that is
2543 # left behind by Apple's compiler. We do this before executing the actions.
2544 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2545 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2546 as_fn_set_status $ac_retval
2548 } # ac_fn_c_try_link
2550 # ac_fn_c_try_cpp LINENO
2551 # ----------------------
2552 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2553 ac_fn_c_try_cpp ()
2555 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2556 if { { ac_try="$ac_cpp conftest.$ac_ext"
2557 case "(($ac_try" in
2558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2559 *) ac_try_echo=$ac_try;;
2560 esac
2561 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2562 $as_echo "$ac_try_echo"; } >&5
2563 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2564 ac_status=$?
2565 if test -s conftest.err; then
2566 grep -v '^ *+' conftest.err >conftest.er1
2567 cat conftest.er1 >&5
2568 mv -f conftest.er1 conftest.err
2570 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2571 test $ac_status = 0; } > conftest.i && {
2572 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2573 test ! -s conftest.err
2574 }; then :
2575 ac_retval=0
2576 else
2577 $as_echo "$as_me: failed program was:" >&5
2578 sed 's/^/| /' conftest.$ac_ext >&5
2580 ac_retval=1
2582 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2583 as_fn_set_status $ac_retval
2585 } # ac_fn_c_try_cpp
2587 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2588 # -------------------------------------------------------
2589 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2590 # the include files in INCLUDES and setting the cache variable VAR
2591 # accordingly.
2592 ac_fn_c_check_header_mongrel ()
2594 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2595 if eval \${$3+:} false; then :
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2597 $as_echo_n "checking for $2... " >&6; }
2598 if eval \${$3+:} false; then :
2599 $as_echo_n "(cached) " >&6
2601 eval ac_res=\$$3
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2603 $as_echo "$ac_res" >&6; }
2604 else
2605 # Is the header compilable?
2606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2607 $as_echo_n "checking $2 usability... " >&6; }
2608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2609 /* end confdefs.h. */
2611 #include <$2>
2612 _ACEOF
2613 if ac_fn_c_try_compile "$LINENO"; then :
2614 ac_header_compiler=yes
2615 else
2616 ac_header_compiler=no
2618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2620 $as_echo "$ac_header_compiler" >&6; }
2622 # Is the header present?
2623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2624 $as_echo_n "checking $2 presence... " >&6; }
2625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2626 /* end confdefs.h. */
2627 #include <$2>
2628 _ACEOF
2629 if ac_fn_c_try_cpp "$LINENO"; then :
2630 ac_header_preproc=yes
2631 else
2632 ac_header_preproc=no
2634 rm -f conftest.err conftest.i conftest.$ac_ext
2635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2636 $as_echo "$ac_header_preproc" >&6; }
2638 # So? What about this header?
2639 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2640 yes:no: )
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2642 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2644 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2646 no:yes:* )
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2648 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2650 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2652 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2654 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2656 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2657 ( $as_echo "## ------------------------------------ ##
2658 ## Report this to wine-devel@winehq.org ##
2659 ## ------------------------------------ ##"
2660 ) | sed "s/^/$as_me: WARNING: /" >&2
2662 esac
2663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2664 $as_echo_n "checking for $2... " >&6; }
2665 if eval \${$3+:} false; then :
2666 $as_echo_n "(cached) " >&6
2667 else
2668 eval "$3=\$ac_header_compiler"
2670 eval ac_res=\$$3
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2672 $as_echo "$ac_res" >&6; }
2674 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2676 } # ac_fn_c_check_header_mongrel
2678 # ac_fn_c_try_run LINENO
2679 # ----------------------
2680 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2681 # that executables *can* be run.
2682 ac_fn_c_try_run ()
2684 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2685 if { { ac_try="$ac_link"
2686 case "(($ac_try" in
2687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2688 *) ac_try_echo=$ac_try;;
2689 esac
2690 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2691 $as_echo "$ac_try_echo"; } >&5
2692 (eval "$ac_link") 2>&5
2693 ac_status=$?
2694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2695 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2696 { { case "(($ac_try" in
2697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2698 *) ac_try_echo=$ac_try;;
2699 esac
2700 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2701 $as_echo "$ac_try_echo"; } >&5
2702 (eval "$ac_try") 2>&5
2703 ac_status=$?
2704 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2705 test $ac_status = 0; }; }; then :
2706 ac_retval=0
2707 else
2708 $as_echo "$as_me: program exited with status $ac_status" >&5
2709 $as_echo "$as_me: failed program was:" >&5
2710 sed 's/^/| /' conftest.$ac_ext >&5
2712 ac_retval=$ac_status
2714 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2715 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2716 as_fn_set_status $ac_retval
2718 } # ac_fn_c_try_run
2720 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2721 # -------------------------------------------------------
2722 # Tests whether HEADER exists and can be compiled using the include files in
2723 # INCLUDES, setting the cache variable VAR accordingly.
2724 ac_fn_c_check_header_compile ()
2726 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2728 $as_echo_n "checking for $2... " >&6; }
2729 if eval \${$3+:} false; then :
2730 $as_echo_n "(cached) " >&6
2731 else
2732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2733 /* end confdefs.h. */
2735 #include <$2>
2736 _ACEOF
2737 if ac_fn_c_try_compile "$LINENO"; then :
2738 eval "$3=yes"
2739 else
2740 eval "$3=no"
2742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2744 eval ac_res=\$$3
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2746 $as_echo "$ac_res" >&6; }
2747 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2749 } # ac_fn_c_check_header_compile
2751 # ac_fn_c_check_func LINENO FUNC VAR
2752 # ----------------------------------
2753 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2754 ac_fn_c_check_func ()
2756 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2758 $as_echo_n "checking for $2... " >&6; }
2759 if eval \${$3+:} false; then :
2760 $as_echo_n "(cached) " >&6
2761 else
2762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2763 /* end confdefs.h. */
2764 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2765 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2766 #define $2 innocuous_$2
2768 /* System header to define __stub macros and hopefully few prototypes,
2769 which can conflict with char $2 (); below.
2770 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2771 <limits.h> exists even on freestanding compilers. */
2773 #ifdef __STDC__
2774 # include <limits.h>
2775 #else
2776 # include <assert.h>
2777 #endif
2779 #undef $2
2781 /* Override any GCC internal prototype to avoid an error.
2782 Use char because int might match the return type of a GCC
2783 builtin and then its argument prototype would still apply. */
2784 #ifdef __cplusplus
2785 extern "C"
2786 #endif
2787 char $2 ();
2788 /* The GNU C library defines this for functions which it implements
2789 to always fail with ENOSYS. Some functions are actually named
2790 something starting with __ and the normal name is an alias. */
2791 #if defined __stub_$2 || defined __stub___$2
2792 choke me
2793 #endif
2796 main ()
2798 return $2 ();
2800 return 0;
2802 _ACEOF
2803 if ac_fn_c_try_link "$LINENO"; then :
2804 eval "$3=yes"
2805 else
2806 eval "$3=no"
2808 rm -f core conftest.err conftest.$ac_objext \
2809 conftest$ac_exeext conftest.$ac_ext
2811 eval ac_res=\$$3
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2813 $as_echo "$ac_res" >&6; }
2814 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2816 } # ac_fn_c_check_func
2818 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2819 # ----------------------------------------------------
2820 # Tries to find if the field MEMBER exists in type AGGR, after including
2821 # INCLUDES, setting cache variable VAR accordingly.
2822 ac_fn_c_check_member ()
2824 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2826 $as_echo_n "checking for $2.$3... " >&6; }
2827 if eval \${$4+:} false; then :
2828 $as_echo_n "(cached) " >&6
2829 else
2830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2831 /* end confdefs.h. */
2834 main ()
2836 static $2 ac_aggr;
2837 if (ac_aggr.$3)
2838 return 0;
2840 return 0;
2842 _ACEOF
2843 if ac_fn_c_try_compile "$LINENO"; then :
2844 eval "$4=yes"
2845 else
2846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2847 /* end confdefs.h. */
2850 main ()
2852 static $2 ac_aggr;
2853 if (sizeof ac_aggr.$3)
2854 return 0;
2856 return 0;
2858 _ACEOF
2859 if ac_fn_c_try_compile "$LINENO"; then :
2860 eval "$4=yes"
2861 else
2862 eval "$4=no"
2864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2868 eval ac_res=\$$4
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2870 $as_echo "$ac_res" >&6; }
2871 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2873 } # ac_fn_c_check_member
2875 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2876 # -------------------------------------------
2877 # Tests whether TYPE exists after having included INCLUDES, setting cache
2878 # variable VAR accordingly.
2879 ac_fn_c_check_type ()
2881 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2883 $as_echo_n "checking for $2... " >&6; }
2884 if eval \${$3+:} false; then :
2885 $as_echo_n "(cached) " >&6
2886 else
2887 eval "$3=no"
2888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2889 /* end confdefs.h. */
2892 main ()
2894 if (sizeof ($2))
2895 return 0;
2897 return 0;
2899 _ACEOF
2900 if ac_fn_c_try_compile "$LINENO"; then :
2901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2902 /* end confdefs.h. */
2905 main ()
2907 if (sizeof (($2)))
2908 return 0;
2910 return 0;
2912 _ACEOF
2913 if ac_fn_c_try_compile "$LINENO"; then :
2915 else
2916 eval "$3=yes"
2918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2922 eval ac_res=\$$3
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2924 $as_echo "$ac_res" >&6; }
2925 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2927 } # ac_fn_c_check_type
2928 cat >config.log <<_ACEOF
2929 This file contains any messages produced by compilers while
2930 running configure, to aid debugging if configure makes a mistake.
2932 It was created by Wine $as_me 1.9.14, which was
2933 generated by GNU Autoconf 2.69. Invocation command line was
2935 $ $0 $@
2937 _ACEOF
2938 exec 5>>config.log
2940 cat <<_ASUNAME
2941 ## --------- ##
2942 ## Platform. ##
2943 ## --------- ##
2945 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2946 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2947 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2948 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2949 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2951 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2952 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2954 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2955 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2956 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2957 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2958 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2959 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2960 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2962 _ASUNAME
2964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2965 for as_dir in $PATH
2967 IFS=$as_save_IFS
2968 test -z "$as_dir" && as_dir=.
2969 $as_echo "PATH: $as_dir"
2970 done
2971 IFS=$as_save_IFS
2973 } >&5
2975 cat >&5 <<_ACEOF
2978 ## ----------- ##
2979 ## Core tests. ##
2980 ## ----------- ##
2982 _ACEOF
2985 # Keep a trace of the command line.
2986 # Strip out --no-create and --no-recursion so they do not pile up.
2987 # Strip out --silent because we don't want to record it for future runs.
2988 # Also quote any args containing shell meta-characters.
2989 # Make two passes to allow for proper duplicate-argument suppression.
2990 ac_configure_args=
2991 ac_configure_args0=
2992 ac_configure_args1=
2993 ac_must_keep_next=false
2994 for ac_pass in 1 2
2996 for ac_arg
2998 case $ac_arg in
2999 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3000 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3001 | -silent | --silent | --silen | --sile | --sil)
3002 continue ;;
3003 *\'*)
3004 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3005 esac
3006 case $ac_pass in
3007 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3009 as_fn_append ac_configure_args1 " '$ac_arg'"
3010 if test $ac_must_keep_next = true; then
3011 ac_must_keep_next=false # Got value, back to normal.
3012 else
3013 case $ac_arg in
3014 *=* | --config-cache | -C | -disable-* | --disable-* \
3015 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3016 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3017 | -with-* | --with-* | -without-* | --without-* | --x)
3018 case "$ac_configure_args0 " in
3019 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3020 esac
3022 -* ) ac_must_keep_next=true ;;
3023 esac
3025 as_fn_append ac_configure_args " '$ac_arg'"
3027 esac
3028 done
3029 done
3030 { ac_configure_args0=; unset ac_configure_args0;}
3031 { ac_configure_args1=; unset ac_configure_args1;}
3033 # When interrupted or exit'd, cleanup temporary files, and complete
3034 # config.log. We remove comments because anyway the quotes in there
3035 # would cause problems or look ugly.
3036 # WARNING: Use '\'' to represent an apostrophe within the trap.
3037 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3038 trap 'exit_status=$?
3039 # Save into config.log some information that might help in debugging.
3041 echo
3043 $as_echo "## ---------------- ##
3044 ## Cache variables. ##
3045 ## ---------------- ##"
3046 echo
3047 # The following way of writing the cache mishandles newlines in values,
3049 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3050 eval ac_val=\$$ac_var
3051 case $ac_val in #(
3052 *${as_nl}*)
3053 case $ac_var in #(
3054 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3055 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3056 esac
3057 case $ac_var in #(
3058 _ | IFS | as_nl) ;; #(
3059 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3060 *) { eval $ac_var=; unset $ac_var;} ;;
3061 esac ;;
3062 esac
3063 done
3064 (set) 2>&1 |
3065 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3066 *${as_nl}ac_space=\ *)
3067 sed -n \
3068 "s/'\''/'\''\\\\'\'''\''/g;
3069 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3070 ;; #(
3072 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3074 esac |
3075 sort
3077 echo
3079 $as_echo "## ----------------- ##
3080 ## Output variables. ##
3081 ## ----------------- ##"
3082 echo
3083 for ac_var in $ac_subst_vars
3085 eval ac_val=\$$ac_var
3086 case $ac_val in
3087 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3088 esac
3089 $as_echo "$ac_var='\''$ac_val'\''"
3090 done | sort
3091 echo
3093 if test -n "$ac_subst_files"; then
3094 $as_echo "## ------------------- ##
3095 ## File substitutions. ##
3096 ## ------------------- ##"
3097 echo
3098 for ac_var in $ac_subst_files
3100 eval ac_val=\$$ac_var
3101 case $ac_val in
3102 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3103 esac
3104 $as_echo "$ac_var='\''$ac_val'\''"
3105 done | sort
3106 echo
3109 if test -s confdefs.h; then
3110 $as_echo "## ----------- ##
3111 ## confdefs.h. ##
3112 ## ----------- ##"
3113 echo
3114 cat confdefs.h
3115 echo
3117 test "$ac_signal" != 0 &&
3118 $as_echo "$as_me: caught signal $ac_signal"
3119 $as_echo "$as_me: exit $exit_status"
3120 } >&5
3121 rm -f core *.core core.conftest.* &&
3122 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3123 exit $exit_status
3125 for ac_signal in 1 2 13 15; do
3126 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3127 done
3128 ac_signal=0
3130 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3131 rm -f -r conftest* confdefs.h
3133 $as_echo "/* confdefs.h */" > confdefs.h
3135 # Predefined preprocessor variables.
3137 cat >>confdefs.h <<_ACEOF
3138 #define PACKAGE_NAME "$PACKAGE_NAME"
3139 _ACEOF
3141 cat >>confdefs.h <<_ACEOF
3142 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3143 _ACEOF
3145 cat >>confdefs.h <<_ACEOF
3146 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3147 _ACEOF
3149 cat >>confdefs.h <<_ACEOF
3150 #define PACKAGE_STRING "$PACKAGE_STRING"
3151 _ACEOF
3153 cat >>confdefs.h <<_ACEOF
3154 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3155 _ACEOF
3157 cat >>confdefs.h <<_ACEOF
3158 #define PACKAGE_URL "$PACKAGE_URL"
3159 _ACEOF
3162 # Let the site file select an alternate cache file if it wants to.
3163 # Prefer an explicitly selected file to automatically selected ones.
3164 ac_site_file1=NONE
3165 ac_site_file2=NONE
3166 if test -n "$CONFIG_SITE"; then
3167 # We do not want a PATH search for config.site.
3168 case $CONFIG_SITE in #((
3169 -*) ac_site_file1=./$CONFIG_SITE;;
3170 */*) ac_site_file1=$CONFIG_SITE;;
3171 *) ac_site_file1=./$CONFIG_SITE;;
3172 esac
3173 elif test "x$prefix" != xNONE; then
3174 ac_site_file1=$prefix/share/config.site
3175 ac_site_file2=$prefix/etc/config.site
3176 else
3177 ac_site_file1=$ac_default_prefix/share/config.site
3178 ac_site_file2=$ac_default_prefix/etc/config.site
3180 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3182 test "x$ac_site_file" = xNONE && continue
3183 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3185 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3186 sed 's/^/| /' "$ac_site_file" >&5
3187 . "$ac_site_file" \
3188 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3189 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3190 as_fn_error $? "failed to load site script $ac_site_file
3191 See \`config.log' for more details" "$LINENO" 5; }
3193 done
3195 if test -r "$cache_file"; then
3196 # Some versions of bash will fail to source /dev/null (special files
3197 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3198 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3200 $as_echo "$as_me: loading cache $cache_file" >&6;}
3201 case $cache_file in
3202 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3203 *) . "./$cache_file";;
3204 esac
3206 else
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3208 $as_echo "$as_me: creating cache $cache_file" >&6;}
3209 >$cache_file
3212 # Check that the precious variables saved in the cache have kept the same
3213 # value.
3214 ac_cache_corrupted=false
3215 for ac_var in $ac_precious_vars; do
3216 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3217 eval ac_new_set=\$ac_env_${ac_var}_set
3218 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3219 eval ac_new_val=\$ac_env_${ac_var}_value
3220 case $ac_old_set,$ac_new_set in
3221 set,)
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3223 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3224 ac_cache_corrupted=: ;;
3225 ,set)
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3227 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3228 ac_cache_corrupted=: ;;
3229 ,);;
3231 if test "x$ac_old_val" != "x$ac_new_val"; then
3232 # differences in whitespace do not lead to failure.
3233 ac_old_val_w=`echo x $ac_old_val`
3234 ac_new_val_w=`echo x $ac_new_val`
3235 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3237 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3238 ac_cache_corrupted=:
3239 else
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3241 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3242 eval $ac_var=\$ac_old_val
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3245 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3247 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3248 fi;;
3249 esac
3250 # Pass precious variables to config.status.
3251 if test "$ac_new_set" = set; then
3252 case $ac_new_val in
3253 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3254 *) ac_arg=$ac_var=$ac_new_val ;;
3255 esac
3256 case " $ac_configure_args " in
3257 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3258 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3259 esac
3261 done
3262 if $ac_cache_corrupted; then
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3264 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3266 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3267 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3269 ## -------------------- ##
3270 ## Main body of script. ##
3271 ## -------------------- ##
3273 ac_ext=c
3274 ac_cpp='$CPP $CPPFLAGS'
3275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3281 ac_config_headers="$ac_config_headers include/config.h"
3283 ac_aux_dir=
3284 for ac_dir in tools "$srcdir"/tools; do
3285 if test -f "$ac_dir/install-sh"; then
3286 ac_aux_dir=$ac_dir
3287 ac_install_sh="$ac_aux_dir/install-sh -c"
3288 break
3289 elif test -f "$ac_dir/install.sh"; then
3290 ac_aux_dir=$ac_dir
3291 ac_install_sh="$ac_aux_dir/install.sh -c"
3292 break
3293 elif test -f "$ac_dir/shtool"; then
3294 ac_aux_dir=$ac_dir
3295 ac_install_sh="$ac_aux_dir/shtool install -c"
3296 break
3298 done
3299 if test -z "$ac_aux_dir"; then
3300 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3303 # These three variables are undocumented and unsupported,
3304 # and are intended to be withdrawn in a future Autoconf release.
3305 # They can cause serious problems if a builder's source tree is in a directory
3306 # whose full name contains unusual characters.
3307 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3308 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3309 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3313 libwine_version="1.0"
3317 # Check whether --enable-win16 was given.
3318 if test "${enable_win16+set}" = set; then :
3319 enableval=$enable_win16;
3322 # Check whether --enable-win64 was given.
3323 if test "${enable_win64+set}" = set; then :
3324 enableval=$enable_win64;
3327 # Check whether --enable-tests was given.
3328 if test "${enable_tests+set}" = set; then :
3329 enableval=$enable_tests;
3332 # Check whether --enable-maintainer-mode was given.
3333 if test "${enable_maintainer_mode+set}" = set; then :
3334 enableval=$enable_maintainer_mode;
3339 # Check whether --with-alsa was given.
3340 if test "${with_alsa+set}" = set; then :
3341 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3345 # Check whether --with-capi was given.
3346 if test "${with_capi+set}" = set; then :
3347 withval=$with_capi;
3351 # Check whether --with-cms was given.
3352 if test "${with_cms+set}" = set; then :
3353 withval=$with_cms;
3357 # Check whether --with-coreaudio was given.
3358 if test "${with_coreaudio+set}" = set; then :
3359 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3363 # Check whether --with-cups was given.
3364 if test "${with_cups+set}" = set; then :
3365 withval=$with_cups;
3369 # Check whether --with-curses was given.
3370 if test "${with_curses+set}" = set; then :
3371 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3375 # Check whether --with-dbus was given.
3376 if test "${with_dbus+set}" = set; then :
3377 withval=$with_dbus;
3381 # Check whether --with-fontconfig was given.
3382 if test "${with_fontconfig+set}" = set; then :
3383 withval=$with_fontconfig;
3387 # Check whether --with-freetype was given.
3388 if test "${with_freetype+set}" = set; then :
3389 withval=$with_freetype;
3393 # Check whether --with-gettext was given.
3394 if test "${with_gettext+set}" = set; then :
3395 withval=$with_gettext;
3399 # Check whether --with-gettextpo was given.
3400 if test "${with_gettextpo+set}" = set; then :
3401 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3405 # Check whether --with-gphoto was given.
3406 if test "${with_gphoto+set}" = set; then :
3407 withval=$with_gphoto;
3411 # Check whether --with-glu was given.
3412 if test "${with_glu+set}" = set; then :
3413 withval=$with_glu;
3417 # Check whether --with-gnutls was given.
3418 if test "${with_gnutls+set}" = set; then :
3419 withval=$with_gnutls;
3423 # Check whether --with-gsm was given.
3424 if test "${with_gsm+set}" = set; then :
3425 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3429 # Check whether --with-gstreamer was given.
3430 if test "${with_gstreamer+set}" = set; then :
3431 withval=$with_gstreamer;
3435 # Check whether --with-hal was given.
3436 if test "${with_hal+set}" = set; then :
3437 withval=$with_hal;
3441 # Check whether --with-jpeg was given.
3442 if test "${with_jpeg+set}" = set; then :
3443 withval=$with_jpeg;
3447 # Check whether --with-ldap was given.
3448 if test "${with_ldap+set}" = set; then :
3449 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3453 # Check whether --with-mpg123 was given.
3454 if test "${with_mpg123+set}" = set; then :
3455 withval=$with_mpg123;
3459 # Check whether --with-netapi was given.
3460 if test "${with_netapi+set}" = set; then :
3461 withval=$with_netapi;
3465 # Check whether --with-openal was given.
3466 if test "${with_openal+set}" = set; then :
3467 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3471 # Check whether --with-opencl was given.
3472 if test "${with_opencl+set}" = set; then :
3473 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3477 # Check whether --with-opengl was given.
3478 if test "${with_opengl+set}" = set; then :
3479 withval=$with_opengl;
3483 # Check whether --with-osmesa was given.
3484 if test "${with_osmesa+set}" = set; then :
3485 withval=$with_osmesa;
3489 # Check whether --with-oss was given.
3490 if test "${with_oss+set}" = set; then :
3491 withval=$with_oss;
3495 # Check whether --with-pcap was given.
3496 if test "${with_pcap+set}" = set; then :
3497 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3501 # Check whether --with-png was given.
3502 if test "${with_png+set}" = set; then :
3503 withval=$with_png;
3507 # Check whether --with-pthread was given.
3508 if test "${with_pthread+set}" = set; then :
3509 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3513 # Check whether --with-pulse was given.
3514 if test "${with_pulse+set}" = set; then :
3515 withval=$with_pulse;
3519 # Check whether --with-sane was given.
3520 if test "${with_sane+set}" = set; then :
3521 withval=$with_sane;
3525 # Check whether --with-tiff was given.
3526 if test "${with_tiff+set}" = set; then :
3527 withval=$with_tiff;
3531 # Check whether --with-v4l was given.
3532 if test "${with_v4l+set}" = set; then :
3533 withval=$with_v4l;
3537 # Check whether --with-xcomposite was given.
3538 if test "${with_xcomposite+set}" = set; then :
3539 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3543 # Check whether --with-xcursor was given.
3544 if test "${with_xcursor+set}" = set; then :
3545 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3549 # Check whether --with-xinerama was given.
3550 if test "${with_xinerama+set}" = set; then :
3551 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3555 # Check whether --with-xinput was given.
3556 if test "${with_xinput+set}" = set; then :
3557 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3561 # Check whether --with-xinput2 was given.
3562 if test "${with_xinput2+set}" = set; then :
3563 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3567 # Check whether --with-xml was given.
3568 if test "${with_xml+set}" = set; then :
3569 withval=$with_xml;
3573 # Check whether --with-xrandr was given.
3574 if test "${with_xrandr+set}" = set; then :
3575 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3579 # Check whether --with-xrender was given.
3580 if test "${with_xrender+set}" = set; then :
3581 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3585 # Check whether --with-xshape was given.
3586 if test "${with_xshape+set}" = set; then :
3587 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3591 # Check whether --with-xshm was given.
3592 if test "${with_xshm+set}" = set; then :
3593 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3597 # Check whether --with-xslt was given.
3598 if test "${with_xslt+set}" = set; then :
3599 withval=$with_xslt;
3603 # Check whether --with-xxf86vm was given.
3604 if test "${with_xxf86vm+set}" = set; then :
3605 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
3609 # Check whether --with-zlib was given.
3610 if test "${with_zlib+set}" = set; then :
3611 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3616 # Check whether --with-wine-tools was given.
3617 if test "${with_wine_tools+set}" = set; then :
3618 withval=$with_wine_tools;
3622 # Check whether --with-wine64 was given.
3623 if test "${with_wine64+set}" = set; then :
3624 withval=$with_wine64;
3628 # Make sure we can run config.sub.
3629 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3630 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3633 $as_echo_n "checking build system type... " >&6; }
3634 if ${ac_cv_build+:} false; then :
3635 $as_echo_n "(cached) " >&6
3636 else
3637 ac_build_alias=$build_alias
3638 test "x$ac_build_alias" = x &&
3639 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3640 test "x$ac_build_alias" = x &&
3641 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3642 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3643 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3647 $as_echo "$ac_cv_build" >&6; }
3648 case $ac_cv_build in
3649 *-*-*) ;;
3650 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3651 esac
3652 build=$ac_cv_build
3653 ac_save_IFS=$IFS; IFS='-'
3654 set x $ac_cv_build
3655 shift
3656 build_cpu=$1
3657 build_vendor=$2
3658 shift; shift
3659 # Remember, the first character of IFS is used to create $*,
3660 # except with old shells:
3661 build_os=$*
3662 IFS=$ac_save_IFS
3663 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3667 $as_echo_n "checking host system type... " >&6; }
3668 if ${ac_cv_host+:} false; then :
3669 $as_echo_n "(cached) " >&6
3670 else
3671 if test "x$host_alias" = x; then
3672 ac_cv_host=$ac_cv_build
3673 else
3674 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3675 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3680 $as_echo "$ac_cv_host" >&6; }
3681 case $ac_cv_host in
3682 *-*-*) ;;
3683 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3684 esac
3685 host=$ac_cv_host
3686 ac_save_IFS=$IFS; IFS='-'
3687 set x $ac_cv_host
3688 shift
3689 host_cpu=$1
3690 host_vendor=$2
3691 shift; shift
3692 # Remember, the first character of IFS is used to create $*,
3693 # except with old shells:
3694 host_os=$*
3695 IFS=$ac_save_IFS
3696 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3700 case "$srcdir" in
3701 .) ;;
3702 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3703 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3704 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3705 fi ;;
3706 esac
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3710 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3711 set x ${MAKE-make}
3712 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3713 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3714 $as_echo_n "(cached) " >&6
3715 else
3716 cat >conftest.make <<\_ACEOF
3717 SHELL = /bin/sh
3718 all:
3719 @echo '@@@%%%=$(MAKE)=@@@%%%'
3720 _ACEOF
3721 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3722 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3723 *@@@%%%=?*=@@@%%%*)
3724 eval ac_cv_prog_make_${ac_make}_set=yes;;
3726 eval ac_cv_prog_make_${ac_make}_set=no;;
3727 esac
3728 rm -f conftest.make
3730 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3732 $as_echo "yes" >&6; }
3733 SET_MAKE=
3734 else
3735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3736 $as_echo "no" >&6; }
3737 SET_MAKE="MAKE=${MAKE-make}"
3740 ac_ext=c
3741 ac_cpp='$CPP $CPPFLAGS'
3742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3745 if test -n "$ac_tool_prefix"; then
3746 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3747 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3749 $as_echo_n "checking for $ac_word... " >&6; }
3750 if ${ac_cv_prog_CC+:} false; then :
3751 $as_echo_n "(cached) " >&6
3752 else
3753 if test -n "$CC"; then
3754 ac_cv_prog_CC="$CC" # Let the user override the test.
3755 else
3756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3757 for as_dir in $PATH
3759 IFS=$as_save_IFS
3760 test -z "$as_dir" && as_dir=.
3761 for ac_exec_ext in '' $ac_executable_extensions; do
3762 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3763 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3765 break 2
3767 done
3768 done
3769 IFS=$as_save_IFS
3773 CC=$ac_cv_prog_CC
3774 if test -n "$CC"; then
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3776 $as_echo "$CC" >&6; }
3777 else
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3779 $as_echo "no" >&6; }
3784 if test -z "$ac_cv_prog_CC"; then
3785 ac_ct_CC=$CC
3786 # Extract the first word of "gcc", so it can be a program name with args.
3787 set dummy gcc; ac_word=$2
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3789 $as_echo_n "checking for $ac_word... " >&6; }
3790 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3791 $as_echo_n "(cached) " >&6
3792 else
3793 if test -n "$ac_ct_CC"; then
3794 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3795 else
3796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3797 for as_dir in $PATH
3799 IFS=$as_save_IFS
3800 test -z "$as_dir" && as_dir=.
3801 for ac_exec_ext in '' $ac_executable_extensions; do
3802 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3803 ac_cv_prog_ac_ct_CC="gcc"
3804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3805 break 2
3807 done
3808 done
3809 IFS=$as_save_IFS
3813 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3814 if test -n "$ac_ct_CC"; then
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3816 $as_echo "$ac_ct_CC" >&6; }
3817 else
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3819 $as_echo "no" >&6; }
3822 if test "x$ac_ct_CC" = x; then
3823 CC=""
3824 else
3825 case $cross_compiling:$ac_tool_warned in
3826 yes:)
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3828 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3829 ac_tool_warned=yes ;;
3830 esac
3831 CC=$ac_ct_CC
3833 else
3834 CC="$ac_cv_prog_CC"
3837 if test -z "$CC"; then
3838 if test -n "$ac_tool_prefix"; then
3839 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3840 set dummy ${ac_tool_prefix}cc; ac_word=$2
3841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3842 $as_echo_n "checking for $ac_word... " >&6; }
3843 if ${ac_cv_prog_CC+:} false; then :
3844 $as_echo_n "(cached) " >&6
3845 else
3846 if test -n "$CC"; then
3847 ac_cv_prog_CC="$CC" # Let the user override the test.
3848 else
3849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3850 for as_dir in $PATH
3852 IFS=$as_save_IFS
3853 test -z "$as_dir" && as_dir=.
3854 for ac_exec_ext in '' $ac_executable_extensions; do
3855 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3856 ac_cv_prog_CC="${ac_tool_prefix}cc"
3857 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3858 break 2
3860 done
3861 done
3862 IFS=$as_save_IFS
3866 CC=$ac_cv_prog_CC
3867 if test -n "$CC"; then
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3869 $as_echo "$CC" >&6; }
3870 else
3871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3872 $as_echo "no" >&6; }
3878 if test -z "$CC"; then
3879 # Extract the first word of "cc", so it can be a program name with args.
3880 set dummy cc; ac_word=$2
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3882 $as_echo_n "checking for $ac_word... " >&6; }
3883 if ${ac_cv_prog_CC+:} false; then :
3884 $as_echo_n "(cached) " >&6
3885 else
3886 if test -n "$CC"; then
3887 ac_cv_prog_CC="$CC" # Let the user override the test.
3888 else
3889 ac_prog_rejected=no
3890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3891 for as_dir in $PATH
3893 IFS=$as_save_IFS
3894 test -z "$as_dir" && as_dir=.
3895 for ac_exec_ext in '' $ac_executable_extensions; do
3896 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3897 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3898 ac_prog_rejected=yes
3899 continue
3901 ac_cv_prog_CC="cc"
3902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3903 break 2
3905 done
3906 done
3907 IFS=$as_save_IFS
3909 if test $ac_prog_rejected = yes; then
3910 # We found a bogon in the path, so make sure we never use it.
3911 set dummy $ac_cv_prog_CC
3912 shift
3913 if test $# != 0; then
3914 # We chose a different compiler from the bogus one.
3915 # However, it has the same basename, so the bogon will be chosen
3916 # first if we set CC to just the basename; use the full file name.
3917 shift
3918 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3923 CC=$ac_cv_prog_CC
3924 if test -n "$CC"; then
3925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3926 $as_echo "$CC" >&6; }
3927 else
3928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3929 $as_echo "no" >&6; }
3934 if test -z "$CC"; then
3935 if test -n "$ac_tool_prefix"; then
3936 for ac_prog in cl.exe
3938 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3939 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3941 $as_echo_n "checking for $ac_word... " >&6; }
3942 if ${ac_cv_prog_CC+:} false; then :
3943 $as_echo_n "(cached) " >&6
3944 else
3945 if test -n "$CC"; then
3946 ac_cv_prog_CC="$CC" # Let the user override the test.
3947 else
3948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3949 for as_dir in $PATH
3951 IFS=$as_save_IFS
3952 test -z "$as_dir" && as_dir=.
3953 for ac_exec_ext in '' $ac_executable_extensions; do
3954 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3955 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3957 break 2
3959 done
3960 done
3961 IFS=$as_save_IFS
3965 CC=$ac_cv_prog_CC
3966 if test -n "$CC"; then
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3968 $as_echo "$CC" >&6; }
3969 else
3970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3971 $as_echo "no" >&6; }
3975 test -n "$CC" && break
3976 done
3978 if test -z "$CC"; then
3979 ac_ct_CC=$CC
3980 for ac_prog in cl.exe
3982 # Extract the first word of "$ac_prog", so it can be a program name with args.
3983 set dummy $ac_prog; ac_word=$2
3984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3985 $as_echo_n "checking for $ac_word... " >&6; }
3986 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3987 $as_echo_n "(cached) " >&6
3988 else
3989 if test -n "$ac_ct_CC"; then
3990 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3991 else
3992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3993 for as_dir in $PATH
3995 IFS=$as_save_IFS
3996 test -z "$as_dir" && as_dir=.
3997 for ac_exec_ext in '' $ac_executable_extensions; do
3998 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3999 ac_cv_prog_ac_ct_CC="$ac_prog"
4000 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4001 break 2
4003 done
4004 done
4005 IFS=$as_save_IFS
4009 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4010 if test -n "$ac_ct_CC"; then
4011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4012 $as_echo "$ac_ct_CC" >&6; }
4013 else
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4015 $as_echo "no" >&6; }
4019 test -n "$ac_ct_CC" && break
4020 done
4022 if test "x$ac_ct_CC" = x; then
4023 CC=""
4024 else
4025 case $cross_compiling:$ac_tool_warned in
4026 yes:)
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4028 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4029 ac_tool_warned=yes ;;
4030 esac
4031 CC=$ac_ct_CC
4038 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4039 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4040 as_fn_error $? "no acceptable C compiler found in \$PATH
4041 See \`config.log' for more details" "$LINENO" 5; }
4043 # Provide some information about the compiler.
4044 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4045 set X $ac_compile
4046 ac_compiler=$2
4047 for ac_option in --version -v -V -qversion; do
4048 { { ac_try="$ac_compiler $ac_option >&5"
4049 case "(($ac_try" in
4050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4051 *) ac_try_echo=$ac_try;;
4052 esac
4053 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4054 $as_echo "$ac_try_echo"; } >&5
4055 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4056 ac_status=$?
4057 if test -s conftest.err; then
4058 sed '10a\
4059 ... rest of stderr output deleted ...
4060 10q' conftest.err >conftest.er1
4061 cat conftest.er1 >&5
4063 rm -f conftest.er1 conftest.err
4064 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4065 test $ac_status = 0; }
4066 done
4068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4069 /* end confdefs.h. */
4072 main ()
4076 return 0;
4078 _ACEOF
4079 ac_clean_files_save=$ac_clean_files
4080 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4081 # Try to create an executable without -o first, disregard a.out.
4082 # It will help us diagnose broken compilers, and finding out an intuition
4083 # of exeext.
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4085 $as_echo_n "checking whether the C compiler works... " >&6; }
4086 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4088 # The possible output files:
4089 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4091 ac_rmfiles=
4092 for ac_file in $ac_files
4094 case $ac_file in
4095 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4096 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4097 esac
4098 done
4099 rm -f $ac_rmfiles
4101 if { { ac_try="$ac_link_default"
4102 case "(($ac_try" in
4103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4104 *) ac_try_echo=$ac_try;;
4105 esac
4106 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4107 $as_echo "$ac_try_echo"; } >&5
4108 (eval "$ac_link_default") 2>&5
4109 ac_status=$?
4110 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4111 test $ac_status = 0; }; then :
4112 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4113 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4114 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4115 # so that the user can short-circuit this test for compilers unknown to
4116 # Autoconf.
4117 for ac_file in $ac_files ''
4119 test -f "$ac_file" || continue
4120 case $ac_file in
4121 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4123 [ab].out )
4124 # We found the default executable, but exeext='' is most
4125 # certainly right.
4126 break;;
4127 *.* )
4128 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4129 then :; else
4130 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4132 # We set ac_cv_exeext here because the later test for it is not
4133 # safe: cross compilers may not add the suffix if given an `-o'
4134 # argument, so we may need to know it at that point already.
4135 # Even if this section looks crufty: it has the advantage of
4136 # actually working.
4137 break;;
4139 break;;
4140 esac
4141 done
4142 test "$ac_cv_exeext" = no && ac_cv_exeext=
4144 else
4145 ac_file=''
4147 if test -z "$ac_file"; then :
4148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4149 $as_echo "no" >&6; }
4150 $as_echo "$as_me: failed program was:" >&5
4151 sed 's/^/| /' conftest.$ac_ext >&5
4153 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4154 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4155 as_fn_error 77 "C compiler cannot create executables
4156 See \`config.log' for more details" "$LINENO" 5; }
4157 else
4158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4159 $as_echo "yes" >&6; }
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4162 $as_echo_n "checking for C compiler default output file name... " >&6; }
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4164 $as_echo "$ac_file" >&6; }
4165 ac_exeext=$ac_cv_exeext
4167 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4168 ac_clean_files=$ac_clean_files_save
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4170 $as_echo_n "checking for suffix of executables... " >&6; }
4171 if { { ac_try="$ac_link"
4172 case "(($ac_try" in
4173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4174 *) ac_try_echo=$ac_try;;
4175 esac
4176 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4177 $as_echo "$ac_try_echo"; } >&5
4178 (eval "$ac_link") 2>&5
4179 ac_status=$?
4180 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4181 test $ac_status = 0; }; then :
4182 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4183 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4184 # work properly (i.e., refer to `conftest.exe'), while it won't with
4185 # `rm'.
4186 for ac_file in conftest.exe conftest conftest.*; do
4187 test -f "$ac_file" || continue
4188 case $ac_file in
4189 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4190 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4191 break;;
4192 * ) break;;
4193 esac
4194 done
4195 else
4196 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4197 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4198 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4199 See \`config.log' for more details" "$LINENO" 5; }
4201 rm -f conftest conftest$ac_cv_exeext
4202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4203 $as_echo "$ac_cv_exeext" >&6; }
4205 rm -f conftest.$ac_ext
4206 EXEEXT=$ac_cv_exeext
4207 ac_exeext=$EXEEXT
4208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4209 /* end confdefs.h. */
4210 #include <stdio.h>
4212 main ()
4214 FILE *f = fopen ("conftest.out", "w");
4215 return ferror (f) || fclose (f) != 0;
4218 return 0;
4220 _ACEOF
4221 ac_clean_files="$ac_clean_files conftest.out"
4222 # Check that the compiler produces executables we can run. If not, either
4223 # the compiler is broken, or we cross compile.
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4225 $as_echo_n "checking whether we are cross compiling... " >&6; }
4226 if test "$cross_compiling" != yes; then
4227 { { ac_try="$ac_link"
4228 case "(($ac_try" in
4229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4230 *) ac_try_echo=$ac_try;;
4231 esac
4232 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4233 $as_echo "$ac_try_echo"; } >&5
4234 (eval "$ac_link") 2>&5
4235 ac_status=$?
4236 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4237 test $ac_status = 0; }
4238 if { ac_try='./conftest$ac_cv_exeext'
4239 { { case "(($ac_try" in
4240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4241 *) ac_try_echo=$ac_try;;
4242 esac
4243 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4244 $as_echo "$ac_try_echo"; } >&5
4245 (eval "$ac_try") 2>&5
4246 ac_status=$?
4247 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4248 test $ac_status = 0; }; }; then
4249 cross_compiling=no
4250 else
4251 if test "$cross_compiling" = maybe; then
4252 cross_compiling=yes
4253 else
4254 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4255 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4256 as_fn_error $? "cannot run C compiled programs.
4257 If you meant to cross compile, use \`--host'.
4258 See \`config.log' for more details" "$LINENO" 5; }
4262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4263 $as_echo "$cross_compiling" >&6; }
4265 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4266 ac_clean_files=$ac_clean_files_save
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4268 $as_echo_n "checking for suffix of object files... " >&6; }
4269 if ${ac_cv_objext+:} false; then :
4270 $as_echo_n "(cached) " >&6
4271 else
4272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4273 /* end confdefs.h. */
4276 main ()
4280 return 0;
4282 _ACEOF
4283 rm -f conftest.o conftest.obj
4284 if { { ac_try="$ac_compile"
4285 case "(($ac_try" in
4286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4287 *) ac_try_echo=$ac_try;;
4288 esac
4289 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4290 $as_echo "$ac_try_echo"; } >&5
4291 (eval "$ac_compile") 2>&5
4292 ac_status=$?
4293 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4294 test $ac_status = 0; }; then :
4295 for ac_file in conftest.o conftest.obj conftest.*; do
4296 test -f "$ac_file" || continue;
4297 case $ac_file in
4298 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4299 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4300 break;;
4301 esac
4302 done
4303 else
4304 $as_echo "$as_me: failed program was:" >&5
4305 sed 's/^/| /' conftest.$ac_ext >&5
4307 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4308 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4309 as_fn_error $? "cannot compute suffix of object files: cannot compile
4310 See \`config.log' for more details" "$LINENO" 5; }
4312 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4315 $as_echo "$ac_cv_objext" >&6; }
4316 OBJEXT=$ac_cv_objext
4317 ac_objext=$OBJEXT
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4319 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4320 if ${ac_cv_c_compiler_gnu+:} false; then :
4321 $as_echo_n "(cached) " >&6
4322 else
4323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4324 /* end confdefs.h. */
4327 main ()
4329 #ifndef __GNUC__
4330 choke me
4331 #endif
4334 return 0;
4336 _ACEOF
4337 if ac_fn_c_try_compile "$LINENO"; then :
4338 ac_compiler_gnu=yes
4339 else
4340 ac_compiler_gnu=no
4342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4343 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4347 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4348 if test $ac_compiler_gnu = yes; then
4349 GCC=yes
4350 else
4351 GCC=
4353 ac_test_CFLAGS=${CFLAGS+set}
4354 ac_save_CFLAGS=$CFLAGS
4355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4356 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4357 if ${ac_cv_prog_cc_g+:} false; then :
4358 $as_echo_n "(cached) " >&6
4359 else
4360 ac_save_c_werror_flag=$ac_c_werror_flag
4361 ac_c_werror_flag=yes
4362 ac_cv_prog_cc_g=no
4363 CFLAGS="-g"
4364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4365 /* end confdefs.h. */
4368 main ()
4372 return 0;
4374 _ACEOF
4375 if ac_fn_c_try_compile "$LINENO"; then :
4376 ac_cv_prog_cc_g=yes
4377 else
4378 CFLAGS=""
4379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4380 /* end confdefs.h. */
4383 main ()
4387 return 0;
4389 _ACEOF
4390 if ac_fn_c_try_compile "$LINENO"; then :
4392 else
4393 ac_c_werror_flag=$ac_save_c_werror_flag
4394 CFLAGS="-g"
4395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4396 /* end confdefs.h. */
4399 main ()
4403 return 0;
4405 _ACEOF
4406 if ac_fn_c_try_compile "$LINENO"; then :
4407 ac_cv_prog_cc_g=yes
4409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4414 ac_c_werror_flag=$ac_save_c_werror_flag
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4417 $as_echo "$ac_cv_prog_cc_g" >&6; }
4418 if test "$ac_test_CFLAGS" = set; then
4419 CFLAGS=$ac_save_CFLAGS
4420 elif test $ac_cv_prog_cc_g = yes; then
4421 if test "$GCC" = yes; then
4422 CFLAGS="-g -O2"
4423 else
4424 CFLAGS="-g"
4426 else
4427 if test "$GCC" = yes; then
4428 CFLAGS="-O2"
4429 else
4430 CFLAGS=
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4434 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4435 if ${ac_cv_prog_cc_c89+:} false; then :
4436 $as_echo_n "(cached) " >&6
4437 else
4438 ac_cv_prog_cc_c89=no
4439 ac_save_CC=$CC
4440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4441 /* end confdefs.h. */
4442 #include <stdarg.h>
4443 #include <stdio.h>
4444 struct stat;
4445 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4446 struct buf { int x; };
4447 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4448 static char *e (p, i)
4449 char **p;
4450 int i;
4452 return p[i];
4454 static char *f (char * (*g) (char **, int), char **p, ...)
4456 char *s;
4457 va_list v;
4458 va_start (v,p);
4459 s = g (p, va_arg (v,int));
4460 va_end (v);
4461 return s;
4464 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4465 function prototypes and stuff, but not '\xHH' hex character constants.
4466 These don't provoke an error unfortunately, instead are silently treated
4467 as 'x'. The following induces an error, until -std is added to get
4468 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4469 array size at least. It's necessary to write '\x00'==0 to get something
4470 that's true only with -std. */
4471 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4473 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4474 inside strings and character constants. */
4475 #define FOO(x) 'x'
4476 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4478 int test (int i, double x);
4479 struct s1 {int (*f) (int a);};
4480 struct s2 {int (*f) (double a);};
4481 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4482 int argc;
4483 char **argv;
4485 main ()
4487 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4489 return 0;
4491 _ACEOF
4492 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4493 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4495 CC="$ac_save_CC $ac_arg"
4496 if ac_fn_c_try_compile "$LINENO"; then :
4497 ac_cv_prog_cc_c89=$ac_arg
4499 rm -f core conftest.err conftest.$ac_objext
4500 test "x$ac_cv_prog_cc_c89" != "xno" && break
4501 done
4502 rm -f conftest.$ac_ext
4503 CC=$ac_save_CC
4506 # AC_CACHE_VAL
4507 case "x$ac_cv_prog_cc_c89" in
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4510 $as_echo "none needed" >&6; } ;;
4511 xno)
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4513 $as_echo "unsupported" >&6; } ;;
4515 CC="$CC $ac_cv_prog_cc_c89"
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4517 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4518 esac
4519 if test "x$ac_cv_prog_cc_c89" != xno; then :
4523 ac_ext=c
4524 ac_cpp='$CPP $CPPFLAGS'
4525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4529 ac_ext=cpp
4530 ac_cpp='$CXXCPP $CPPFLAGS'
4531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4534 if test -z "$CXX"; then
4535 if test -n "$CCC"; then
4536 CXX=$CCC
4537 else
4538 if test -n "$ac_tool_prefix"; then
4539 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4541 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4542 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4544 $as_echo_n "checking for $ac_word... " >&6; }
4545 if ${ac_cv_prog_CXX+:} false; then :
4546 $as_echo_n "(cached) " >&6
4547 else
4548 if test -n "$CXX"; then
4549 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4550 else
4551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4552 for as_dir in $PATH
4554 IFS=$as_save_IFS
4555 test -z "$as_dir" && as_dir=.
4556 for ac_exec_ext in '' $ac_executable_extensions; do
4557 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4558 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4559 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4560 break 2
4562 done
4563 done
4564 IFS=$as_save_IFS
4568 CXX=$ac_cv_prog_CXX
4569 if test -n "$CXX"; then
4570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4571 $as_echo "$CXX" >&6; }
4572 else
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4574 $as_echo "no" >&6; }
4578 test -n "$CXX" && break
4579 done
4581 if test -z "$CXX"; then
4582 ac_ct_CXX=$CXX
4583 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4585 # Extract the first word of "$ac_prog", so it can be a program name with args.
4586 set dummy $ac_prog; ac_word=$2
4587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4588 $as_echo_n "checking for $ac_word... " >&6; }
4589 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4590 $as_echo_n "(cached) " >&6
4591 else
4592 if test -n "$ac_ct_CXX"; then
4593 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4594 else
4595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4596 for as_dir in $PATH
4598 IFS=$as_save_IFS
4599 test -z "$as_dir" && as_dir=.
4600 for ac_exec_ext in '' $ac_executable_extensions; do
4601 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4602 ac_cv_prog_ac_ct_CXX="$ac_prog"
4603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4604 break 2
4606 done
4607 done
4608 IFS=$as_save_IFS
4612 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4613 if test -n "$ac_ct_CXX"; then
4614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4615 $as_echo "$ac_ct_CXX" >&6; }
4616 else
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4618 $as_echo "no" >&6; }
4622 test -n "$ac_ct_CXX" && break
4623 done
4625 if test "x$ac_ct_CXX" = x; then
4626 CXX="g++"
4627 else
4628 case $cross_compiling:$ac_tool_warned in
4629 yes:)
4630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4631 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4632 ac_tool_warned=yes ;;
4633 esac
4634 CXX=$ac_ct_CXX
4640 # Provide some information about the compiler.
4641 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4642 set X $ac_compile
4643 ac_compiler=$2
4644 for ac_option in --version -v -V -qversion; do
4645 { { ac_try="$ac_compiler $ac_option >&5"
4646 case "(($ac_try" in
4647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4648 *) ac_try_echo=$ac_try;;
4649 esac
4650 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4651 $as_echo "$ac_try_echo"; } >&5
4652 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4653 ac_status=$?
4654 if test -s conftest.err; then
4655 sed '10a\
4656 ... rest of stderr output deleted ...
4657 10q' conftest.err >conftest.er1
4658 cat conftest.er1 >&5
4660 rm -f conftest.er1 conftest.err
4661 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4662 test $ac_status = 0; }
4663 done
4665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4666 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4667 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4668 $as_echo_n "(cached) " >&6
4669 else
4670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4671 /* end confdefs.h. */
4674 main ()
4676 #ifndef __GNUC__
4677 choke me
4678 #endif
4681 return 0;
4683 _ACEOF
4684 if ac_fn_cxx_try_compile "$LINENO"; then :
4685 ac_compiler_gnu=yes
4686 else
4687 ac_compiler_gnu=no
4689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4690 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4694 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4695 if test $ac_compiler_gnu = yes; then
4696 GXX=yes
4697 else
4698 GXX=
4700 ac_test_CXXFLAGS=${CXXFLAGS+set}
4701 ac_save_CXXFLAGS=$CXXFLAGS
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4703 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4704 if ${ac_cv_prog_cxx_g+:} false; then :
4705 $as_echo_n "(cached) " >&6
4706 else
4707 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4708 ac_cxx_werror_flag=yes
4709 ac_cv_prog_cxx_g=no
4710 CXXFLAGS="-g"
4711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4712 /* end confdefs.h. */
4715 main ()
4719 return 0;
4721 _ACEOF
4722 if ac_fn_cxx_try_compile "$LINENO"; then :
4723 ac_cv_prog_cxx_g=yes
4724 else
4725 CXXFLAGS=""
4726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4727 /* end confdefs.h. */
4730 main ()
4734 return 0;
4736 _ACEOF
4737 if ac_fn_cxx_try_compile "$LINENO"; then :
4739 else
4740 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4741 CXXFLAGS="-g"
4742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4743 /* end confdefs.h. */
4746 main ()
4750 return 0;
4752 _ACEOF
4753 if ac_fn_cxx_try_compile "$LINENO"; then :
4754 ac_cv_prog_cxx_g=yes
4756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4761 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4764 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4765 if test "$ac_test_CXXFLAGS" = set; then
4766 CXXFLAGS=$ac_save_CXXFLAGS
4767 elif test $ac_cv_prog_cxx_g = yes; then
4768 if test "$GXX" = yes; then
4769 CXXFLAGS="-g -O2"
4770 else
4771 CXXFLAGS="-g"
4773 else
4774 if test "$GXX" = yes; then
4775 CXXFLAGS="-O2"
4776 else
4777 CXXFLAGS=
4780 ac_ext=c
4781 ac_cpp='$CPP $CPPFLAGS'
4782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4786 if test -n "$ac_tool_prefix"; then
4787 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4788 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4790 $as_echo_n "checking for $ac_word... " >&6; }
4791 if ${ac_cv_prog_CPPBIN+:} false; then :
4792 $as_echo_n "(cached) " >&6
4793 else
4794 if test -n "$CPPBIN"; then
4795 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4796 else
4797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4798 for as_dir in $PATH
4800 IFS=$as_save_IFS
4801 test -z "$as_dir" && as_dir=.
4802 for ac_exec_ext in '' $ac_executable_extensions; do
4803 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4804 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4805 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4806 break 2
4808 done
4809 done
4810 IFS=$as_save_IFS
4814 CPPBIN=$ac_cv_prog_CPPBIN
4815 if test -n "$CPPBIN"; then
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4817 $as_echo "$CPPBIN" >&6; }
4818 else
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4820 $as_echo "no" >&6; }
4825 if test -z "$ac_cv_prog_CPPBIN"; then
4826 ac_ct_CPPBIN=$CPPBIN
4827 # Extract the first word of "cpp", so it can be a program name with args.
4828 set dummy cpp; ac_word=$2
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4830 $as_echo_n "checking for $ac_word... " >&6; }
4831 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4832 $as_echo_n "(cached) " >&6
4833 else
4834 if test -n "$ac_ct_CPPBIN"; then
4835 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4836 else
4837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4838 for as_dir in $PATH
4840 IFS=$as_save_IFS
4841 test -z "$as_dir" && as_dir=.
4842 for ac_exec_ext in '' $ac_executable_extensions; do
4843 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4844 ac_cv_prog_ac_ct_CPPBIN="cpp"
4845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4846 break 2
4848 done
4849 done
4850 IFS=$as_save_IFS
4854 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4855 if test -n "$ac_ct_CPPBIN"; then
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4857 $as_echo "$ac_ct_CPPBIN" >&6; }
4858 else
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4860 $as_echo "no" >&6; }
4863 if test "x$ac_ct_CPPBIN" = x; then
4864 CPPBIN="cpp"
4865 else
4866 case $cross_compiling:$ac_tool_warned in
4867 yes:)
4868 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4869 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4870 ac_tool_warned=yes ;;
4871 esac
4872 CPPBIN=$ac_ct_CPPBIN
4874 else
4875 CPPBIN="$ac_cv_prog_CPPBIN"
4879 cat >>confdefs.h <<_ACEOF
4880 #define EXEEXT "$ac_exeext"
4881 _ACEOF
4883 if test -n "$ac_tool_prefix"; then
4884 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4885 set dummy ${ac_tool_prefix}ld; ac_word=$2
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4887 $as_echo_n "checking for $ac_word... " >&6; }
4888 if ${ac_cv_prog_LD+:} false; then :
4889 $as_echo_n "(cached) " >&6
4890 else
4891 if test -n "$LD"; then
4892 ac_cv_prog_LD="$LD" # Let the user override the test.
4893 else
4894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4895 for as_dir in $PATH
4897 IFS=$as_save_IFS
4898 test -z "$as_dir" && as_dir=.
4899 for ac_exec_ext in '' $ac_executable_extensions; do
4900 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4901 ac_cv_prog_LD="${ac_tool_prefix}ld"
4902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4903 break 2
4905 done
4906 done
4907 IFS=$as_save_IFS
4911 LD=$ac_cv_prog_LD
4912 if test -n "$LD"; then
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4914 $as_echo "$LD" >&6; }
4915 else
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4917 $as_echo "no" >&6; }
4922 if test -z "$ac_cv_prog_LD"; then
4923 ac_ct_LD=$LD
4924 # Extract the first word of "ld", so it can be a program name with args.
4925 set dummy ld; ac_word=$2
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4927 $as_echo_n "checking for $ac_word... " >&6; }
4928 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4929 $as_echo_n "(cached) " >&6
4930 else
4931 if test -n "$ac_ct_LD"; then
4932 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4933 else
4934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4935 for as_dir in $PATH
4937 IFS=$as_save_IFS
4938 test -z "$as_dir" && as_dir=.
4939 for ac_exec_ext in '' $ac_executable_extensions; do
4940 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4941 ac_cv_prog_ac_ct_LD="ld"
4942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4943 break 2
4945 done
4946 done
4947 IFS=$as_save_IFS
4951 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4952 if test -n "$ac_ct_LD"; then
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4954 $as_echo "$ac_ct_LD" >&6; }
4955 else
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4957 $as_echo "no" >&6; }
4960 if test "x$ac_ct_LD" = x; then
4961 LD=""
4962 else
4963 case $cross_compiling:$ac_tool_warned in
4964 yes:)
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4966 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4967 ac_tool_warned=yes ;;
4968 esac
4969 LD=$ac_ct_LD
4971 else
4972 LD="$ac_cv_prog_LD"
4976 case $host in
4977 *-darwin*)
4978 with_fontconfig=${with_fontconfig:-no}
4980 *-mingw32*|*-cygwin*)
4981 enable_win16=${enable_win16:-no}
4982 CFLAGS="$CFLAGS -D_WIN32"
4984 esac
4986 case $host in
4987 x86_64*|amd64*)
4988 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4989 then
4990 CC="$CC -m32"
4991 CXX="$CXX -m32"
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4993 $as_echo_n "checking whether $CC works... " >&6; }
4995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4996 /* end confdefs.h. */
4999 main ()
5003 return 0;
5005 _ACEOF
5006 if ac_fn_c_try_link "$LINENO"; then :
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5008 $as_echo "yes" >&6; }
5009 else
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5011 $as_echo "no" >&6; }
5012 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5014 rm -f core conftest.err conftest.$ac_objext \
5015 conftest$ac_exeext conftest.$ac_ext
5016 host_cpu="i386"
5017 notice_platform="32-bit "
5018 TARGETFLAGS="-m32"
5020 enable_win16=${enable_win16:-yes}
5021 else
5022 if test "x${GCC}" = "xyes"
5023 then
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5025 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5027 /* end confdefs.h. */
5028 #include <stdarg.h>
5030 main ()
5032 void func(__builtin_ms_va_list *args);
5034 return 0;
5036 _ACEOF
5037 if ac_fn_c_try_compile "$LINENO"; then :
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5039 $as_echo "yes" >&6; }
5040 else
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5042 $as_echo "no" >&6; }
5043 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5047 CC="$CC -m64"
5048 CXX="$CXX -m64"
5049 host_cpu="x86_64"
5050 notice_platform="64-bit "
5051 TARGETFLAGS="-m64"
5055 arm*)
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5057 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5059 /* end confdefs.h. */
5060 int ac_test(int i) { return i; }
5062 main ()
5064 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5066 return 0;
5068 _ACEOF
5069 if ac_fn_c_try_link "$LINENO"; then :
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5071 $as_echo "yes" >&6; }
5072 else
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5074 $as_echo "no" >&6; }
5075 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5077 rm -f core conftest.err conftest.$ac_objext \
5078 conftest$ac_exeext conftest.$ac_ext
5079 CFLAGS="$CFLAGS -marm"
5080 TARGETFLAGS="-marm"
5083 i[3456789]86*)
5084 enable_win16=${enable_win16:-yes}
5086 esac
5088 enable_win16=${enable_win16:-no}
5089 enable_win64=${enable_win64:-no}
5091 enable_winetest=${enable_winetest:-$enable_tests}
5093 if test -n "$with_wine64"
5094 then
5095 if test "x$enable_win64" = "xyes"
5096 then
5097 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5098 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5100 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5101 You should create a separate build directory and run configure from there." "$LINENO" 5
5102 enable_fonts=${enable_fonts:-no}
5103 enable_server=${enable_server:-no}
5104 elif test "x$enable_win64" = "xyes"
5105 then
5106 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5110 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5111 if ${wine_cv_toolsdir+:} false; then :
5112 $as_echo_n "(cached) " >&6
5113 else
5114 wine_cv_toolsdir="$with_wine_tools"
5115 if test -z "$with_wine_tools"; then
5116 if test "$cross_compiling" = "yes"; then
5117 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5118 elif test -n "$with_wine64"; then
5119 wine_cv_toolsdir="$with_wine64"
5122 if test -z "$wine_cv_toolsdir"; then
5123 wine_makedep=tools/makedep
5124 wine_cv_toolsdir="\$(top_builddir)"
5125 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5126 wine_makedep=$wine_cv_toolsdir/tools/makedep
5127 case "$wine_cv_toolsdir" in
5128 /*) ;;
5129 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5130 esac
5131 enable_tools=${enable_tools:-no}
5132 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5133 else
5134 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5138 $as_echo "$wine_cv_toolsdir" >&6; }
5139 TOOLSDIR=$wine_cv_toolsdir
5141 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5142 then
5143 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5147 for ac_prog in flex
5149 # Extract the first word of "$ac_prog", so it can be a program name with args.
5150 set dummy $ac_prog; ac_word=$2
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5152 $as_echo_n "checking for $ac_word... " >&6; }
5153 if ${ac_cv_prog_FLEX+:} false; then :
5154 $as_echo_n "(cached) " >&6
5155 else
5156 if test -n "$FLEX"; then
5157 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5158 else
5159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5160 for as_dir in $PATH
5162 IFS=$as_save_IFS
5163 test -z "$as_dir" && as_dir=.
5164 for ac_exec_ext in '' $ac_executable_extensions; do
5165 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5166 ac_cv_prog_FLEX="$ac_prog"
5167 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5168 break 2
5170 done
5171 done
5172 IFS=$as_save_IFS
5176 FLEX=$ac_cv_prog_FLEX
5177 if test -n "$FLEX"; then
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5179 $as_echo "$FLEX" >&6; }
5180 else
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5182 $as_echo "no" >&6; }
5186 test -n "$FLEX" && break
5187 done
5188 test -n "$FLEX" || FLEX="none"
5190 if test "$FLEX" = "none"
5191 then
5192 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5195 $as_echo_n "checking whether flex is recent enough... " >&6; }
5196 cat >conftest.l <<EOF
5197 %top{
5198 #include "prediluvian.h"
5202 if $FLEX -t conftest.l >/dev/null 2>&5
5203 then
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5205 $as_echo "yes" >&6; }
5206 else
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5208 $as_echo "no" >&6; }
5209 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5212 for ac_prog in bison
5214 # Extract the first word of "$ac_prog", so it can be a program name with args.
5215 set dummy $ac_prog; ac_word=$2
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5217 $as_echo_n "checking for $ac_word... " >&6; }
5218 if ${ac_cv_prog_BISON+:} false; then :
5219 $as_echo_n "(cached) " >&6
5220 else
5221 if test -n "$BISON"; then
5222 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5223 else
5224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5225 for as_dir in $PATH
5227 IFS=$as_save_IFS
5228 test -z "$as_dir" && as_dir=.
5229 for ac_exec_ext in '' $ac_executable_extensions; do
5230 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5231 ac_cv_prog_BISON="$ac_prog"
5232 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5233 break 2
5235 done
5236 done
5237 IFS=$as_save_IFS
5241 BISON=$ac_cv_prog_BISON
5242 if test -n "$BISON"; then
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5244 $as_echo "$BISON" >&6; }
5245 else
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5247 $as_echo "no" >&6; }
5251 test -n "$BISON" && break
5252 done
5253 test -n "$BISON" || BISON="none"
5255 if test "$BISON" = "none"
5256 then
5257 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5260 if test -n "$ac_tool_prefix"; then
5261 for ac_prog in ar gar
5263 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5264 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5266 $as_echo_n "checking for $ac_word... " >&6; }
5267 if ${ac_cv_prog_AR+:} false; then :
5268 $as_echo_n "(cached) " >&6
5269 else
5270 if test -n "$AR"; then
5271 ac_cv_prog_AR="$AR" # Let the user override the test.
5272 else
5273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5274 for as_dir in $PATH
5276 IFS=$as_save_IFS
5277 test -z "$as_dir" && as_dir=.
5278 for ac_exec_ext in '' $ac_executable_extensions; do
5279 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5280 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5282 break 2
5284 done
5285 done
5286 IFS=$as_save_IFS
5290 AR=$ac_cv_prog_AR
5291 if test -n "$AR"; then
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5293 $as_echo "$AR" >&6; }
5294 else
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5296 $as_echo "no" >&6; }
5300 test -n "$AR" && break
5301 done
5303 if test -z "$AR"; then
5304 ac_ct_AR=$AR
5305 for ac_prog in ar gar
5307 # Extract the first word of "$ac_prog", so it can be a program name with args.
5308 set dummy $ac_prog; ac_word=$2
5309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5310 $as_echo_n "checking for $ac_word... " >&6; }
5311 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5312 $as_echo_n "(cached) " >&6
5313 else
5314 if test -n "$ac_ct_AR"; then
5315 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5316 else
5317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5318 for as_dir in $PATH
5320 IFS=$as_save_IFS
5321 test -z "$as_dir" && as_dir=.
5322 for ac_exec_ext in '' $ac_executable_extensions; do
5323 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5324 ac_cv_prog_ac_ct_AR="$ac_prog"
5325 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5326 break 2
5328 done
5329 done
5330 IFS=$as_save_IFS
5334 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5335 if test -n "$ac_ct_AR"; then
5336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5337 $as_echo "$ac_ct_AR" >&6; }
5338 else
5339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5340 $as_echo "no" >&6; }
5344 test -n "$ac_ct_AR" && break
5345 done
5347 if test "x$ac_ct_AR" = x; then
5348 AR="ar"
5349 else
5350 case $cross_compiling:$ac_tool_warned in
5351 yes:)
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5353 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5354 ac_tool_warned=yes ;;
5355 esac
5356 AR=$ac_ct_AR
5360 if test -n "$ac_tool_prefix"; then
5361 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5362 set dummy ${ac_tool_prefix}strip; ac_word=$2
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5364 $as_echo_n "checking for $ac_word... " >&6; }
5365 if ${ac_cv_prog_STRIP+:} false; then :
5366 $as_echo_n "(cached) " >&6
5367 else
5368 if test -n "$STRIP"; then
5369 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5370 else
5371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5372 for as_dir in $PATH
5374 IFS=$as_save_IFS
5375 test -z "$as_dir" && as_dir=.
5376 for ac_exec_ext in '' $ac_executable_extensions; do
5377 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5378 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5380 break 2
5382 done
5383 done
5384 IFS=$as_save_IFS
5388 STRIP=$ac_cv_prog_STRIP
5389 if test -n "$STRIP"; then
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5391 $as_echo "$STRIP" >&6; }
5392 else
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5394 $as_echo "no" >&6; }
5399 if test -z "$ac_cv_prog_STRIP"; then
5400 ac_ct_STRIP=$STRIP
5401 # Extract the first word of "strip", so it can be a program name with args.
5402 set dummy strip; ac_word=$2
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5404 $as_echo_n "checking for $ac_word... " >&6; }
5405 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5406 $as_echo_n "(cached) " >&6
5407 else
5408 if test -n "$ac_ct_STRIP"; then
5409 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5410 else
5411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5412 for as_dir in $PATH
5414 IFS=$as_save_IFS
5415 test -z "$as_dir" && as_dir=.
5416 for ac_exec_ext in '' $ac_executable_extensions; do
5417 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5418 ac_cv_prog_ac_ct_STRIP="strip"
5419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5420 break 2
5422 done
5423 done
5424 IFS=$as_save_IFS
5428 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5429 if test -n "$ac_ct_STRIP"; then
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5431 $as_echo "$ac_ct_STRIP" >&6; }
5432 else
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5434 $as_echo "no" >&6; }
5437 if test "x$ac_ct_STRIP" = x; then
5438 STRIP="strip"
5439 else
5440 case $cross_compiling:$ac_tool_warned in
5441 yes:)
5442 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5443 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5444 ac_tool_warned=yes ;;
5445 esac
5446 STRIP=$ac_ct_STRIP
5448 else
5449 STRIP="$ac_cv_prog_STRIP"
5452 ARFLAGS=rc
5454 if test -n "$ac_tool_prefix"; then
5455 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5456 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5458 $as_echo_n "checking for $ac_word... " >&6; }
5459 if ${ac_cv_prog_RANLIB+:} false; then :
5460 $as_echo_n "(cached) " >&6
5461 else
5462 if test -n "$RANLIB"; then
5463 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5464 else
5465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5466 for as_dir in $PATH
5468 IFS=$as_save_IFS
5469 test -z "$as_dir" && as_dir=.
5470 for ac_exec_ext in '' $ac_executable_extensions; do
5471 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5472 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5474 break 2
5476 done
5477 done
5478 IFS=$as_save_IFS
5482 RANLIB=$ac_cv_prog_RANLIB
5483 if test -n "$RANLIB"; then
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5485 $as_echo "$RANLIB" >&6; }
5486 else
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5488 $as_echo "no" >&6; }
5493 if test -z "$ac_cv_prog_RANLIB"; then
5494 ac_ct_RANLIB=$RANLIB
5495 # Extract the first word of "ranlib", so it can be a program name with args.
5496 set dummy ranlib; ac_word=$2
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5498 $as_echo_n "checking for $ac_word... " >&6; }
5499 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5500 $as_echo_n "(cached) " >&6
5501 else
5502 if test -n "$ac_ct_RANLIB"; then
5503 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5504 else
5505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5506 for as_dir in $PATH
5508 IFS=$as_save_IFS
5509 test -z "$as_dir" && as_dir=.
5510 for ac_exec_ext in '' $ac_executable_extensions; do
5511 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5512 ac_cv_prog_ac_ct_RANLIB="ranlib"
5513 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5514 break 2
5516 done
5517 done
5518 IFS=$as_save_IFS
5522 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5523 if test -n "$ac_ct_RANLIB"; then
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5525 $as_echo "$ac_ct_RANLIB" >&6; }
5526 else
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5528 $as_echo "no" >&6; }
5531 if test "x$ac_ct_RANLIB" = x; then
5532 RANLIB=":"
5533 else
5534 case $cross_compiling:$ac_tool_warned in
5535 yes:)
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5537 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5538 ac_tool_warned=yes ;;
5539 esac
5540 RANLIB=$ac_ct_RANLIB
5542 else
5543 RANLIB="$ac_cv_prog_RANLIB"
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5547 $as_echo_n "checking whether ln -s works... " >&6; }
5548 LN_S=$as_ln_s
5549 if test "$LN_S" = "ln -s"; then
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5551 $as_echo "yes" >&6; }
5552 else
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5554 $as_echo "no, using $LN_S" >&6; }
5557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5558 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5559 if ${ac_cv_path_GREP+:} false; then :
5560 $as_echo_n "(cached) " >&6
5561 else
5562 if test -z "$GREP"; then
5563 ac_path_GREP_found=false
5564 # Loop through the user's path and test for each of PROGNAME-LIST
5565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5566 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5568 IFS=$as_save_IFS
5569 test -z "$as_dir" && as_dir=.
5570 for ac_prog in grep ggrep; do
5571 for ac_exec_ext in '' $ac_executable_extensions; do
5572 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5573 as_fn_executable_p "$ac_path_GREP" || continue
5574 # Check for GNU ac_path_GREP and select it if it is found.
5575 # Check for GNU $ac_path_GREP
5576 case `"$ac_path_GREP" --version 2>&1` in
5577 *GNU*)
5578 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5580 ac_count=0
5581 $as_echo_n 0123456789 >"conftest.in"
5582 while :
5584 cat "conftest.in" "conftest.in" >"conftest.tmp"
5585 mv "conftest.tmp" "conftest.in"
5586 cp "conftest.in" "conftest.nl"
5587 $as_echo 'GREP' >> "conftest.nl"
5588 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5589 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5590 as_fn_arith $ac_count + 1 && ac_count=$as_val
5591 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5592 # Best one so far, save it but keep looking for a better one
5593 ac_cv_path_GREP="$ac_path_GREP"
5594 ac_path_GREP_max=$ac_count
5596 # 10*(2^10) chars as input seems more than enough
5597 test $ac_count -gt 10 && break
5598 done
5599 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5600 esac
5602 $ac_path_GREP_found && break 3
5603 done
5604 done
5605 done
5606 IFS=$as_save_IFS
5607 if test -z "$ac_cv_path_GREP"; then
5608 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5610 else
5611 ac_cv_path_GREP=$GREP
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5616 $as_echo "$ac_cv_path_GREP" >&6; }
5617 GREP="$ac_cv_path_GREP"
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5621 $as_echo_n "checking for egrep... " >&6; }
5622 if ${ac_cv_path_EGREP+:} false; then :
5623 $as_echo_n "(cached) " >&6
5624 else
5625 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5626 then ac_cv_path_EGREP="$GREP -E"
5627 else
5628 if test -z "$EGREP"; then
5629 ac_path_EGREP_found=false
5630 # Loop through the user's path and test for each of PROGNAME-LIST
5631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5632 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5634 IFS=$as_save_IFS
5635 test -z "$as_dir" && as_dir=.
5636 for ac_prog in egrep; do
5637 for ac_exec_ext in '' $ac_executable_extensions; do
5638 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5639 as_fn_executable_p "$ac_path_EGREP" || continue
5640 # Check for GNU ac_path_EGREP and select it if it is found.
5641 # Check for GNU $ac_path_EGREP
5642 case `"$ac_path_EGREP" --version 2>&1` in
5643 *GNU*)
5644 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5646 ac_count=0
5647 $as_echo_n 0123456789 >"conftest.in"
5648 while :
5650 cat "conftest.in" "conftest.in" >"conftest.tmp"
5651 mv "conftest.tmp" "conftest.in"
5652 cp "conftest.in" "conftest.nl"
5653 $as_echo 'EGREP' >> "conftest.nl"
5654 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5655 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5656 as_fn_arith $ac_count + 1 && ac_count=$as_val
5657 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5658 # Best one so far, save it but keep looking for a better one
5659 ac_cv_path_EGREP="$ac_path_EGREP"
5660 ac_path_EGREP_max=$ac_count
5662 # 10*(2^10) chars as input seems more than enough
5663 test $ac_count -gt 10 && break
5664 done
5665 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5666 esac
5668 $ac_path_EGREP_found && break 3
5669 done
5670 done
5671 done
5672 IFS=$as_save_IFS
5673 if test -z "$ac_cv_path_EGREP"; then
5674 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5676 else
5677 ac_cv_path_EGREP=$EGREP
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5683 $as_echo "$ac_cv_path_EGREP" >&6; }
5684 EGREP="$ac_cv_path_EGREP"
5687 # Extract the first word of "ldconfig", so it can be a program name with args.
5688 set dummy ldconfig; ac_word=$2
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5690 $as_echo_n "checking for $ac_word... " >&6; }
5691 if ${ac_cv_path_LDCONFIG+:} false; then :
5692 $as_echo_n "(cached) " >&6
5693 else
5694 case $LDCONFIG in
5695 [\\/]* | ?:[\\/]*)
5696 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5700 for as_dir in /sbin /usr/sbin $PATH
5702 IFS=$as_save_IFS
5703 test -z "$as_dir" && as_dir=.
5704 for ac_exec_ext in '' $ac_executable_extensions; do
5705 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5706 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5708 break 2
5710 done
5711 done
5712 IFS=$as_save_IFS
5714 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5716 esac
5718 LDCONFIG=$ac_cv_path_LDCONFIG
5719 if test -n "$LDCONFIG"; then
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5721 $as_echo "$LDCONFIG" >&6; }
5722 else
5723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5724 $as_echo "no" >&6; }
5728 for ac_prog in msgfmt
5730 # Extract the first word of "$ac_prog", so it can be a program name with args.
5731 set dummy $ac_prog; ac_word=$2
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5733 $as_echo_n "checking for $ac_word... " >&6; }
5734 if ${ac_cv_prog_MSGFMT+:} false; then :
5735 $as_echo_n "(cached) " >&6
5736 else
5737 if test -n "$MSGFMT"; then
5738 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5739 else
5740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5741 for as_dir in $PATH
5743 IFS=$as_save_IFS
5744 test -z "$as_dir" && as_dir=.
5745 for ac_exec_ext in '' $ac_executable_extensions; do
5746 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5747 ac_cv_prog_MSGFMT="$ac_prog"
5748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5749 break 2
5751 done
5752 done
5753 IFS=$as_save_IFS
5757 MSGFMT=$ac_cv_prog_MSGFMT
5758 if test -n "$MSGFMT"; then
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5760 $as_echo "$MSGFMT" >&6; }
5761 else
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5763 $as_echo "no" >&6; }
5767 test -n "$MSGFMT" && break
5768 done
5769 test -n "$MSGFMT" || MSGFMT="false"
5771 if ${ac_tool_prefix+:} false; then :
5772 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5773 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5775 $as_echo_n "checking for $ac_word... " >&6; }
5776 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5777 $as_echo_n "(cached) " >&6
5778 else
5779 if test -n "$PKG_CONFIG"; then
5780 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5781 else
5782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5783 for as_dir in $PATH
5785 IFS=$as_save_IFS
5786 test -z "$as_dir" && as_dir=.
5787 for ac_exec_ext in '' $ac_executable_extensions; do
5788 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5789 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5791 break 2
5793 done
5794 done
5795 IFS=$as_save_IFS
5799 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5800 if test -n "$PKG_CONFIG"; then
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5802 $as_echo "$PKG_CONFIG" >&6; }
5803 else
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5805 $as_echo "no" >&6; }
5810 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5811 if test "x$cross_compiling" = xyes; then :
5813 else
5814 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5815 # Extract the first word of "pkg-config", so it can be a program name with args.
5816 set dummy pkg-config; ac_word=$2
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5818 $as_echo_n "checking for $ac_word... " >&6; }
5819 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5820 $as_echo_n "(cached) " >&6
5821 else
5822 if test -n "$PKG_CONFIG"; then
5823 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5824 else
5825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5826 for as_dir in $PATH
5828 IFS=$as_save_IFS
5829 test -z "$as_dir" && as_dir=.
5830 for ac_exec_ext in '' $ac_executable_extensions; do
5831 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5832 ac_cv_prog_PKG_CONFIG="pkg-config"
5833 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5834 break 2
5836 done
5837 done
5838 IFS=$as_save_IFS
5842 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5843 if test -n "$PKG_CONFIG"; then
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5845 $as_echo "$PKG_CONFIG" >&6; }
5846 else
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5848 $as_echo "no" >&6; }
5853 else
5854 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5857 if test "x$enable_maintainer_mode" != "xyes"
5858 then
5859 FONTFORGE=""
5860 RSVG=""
5861 CONVERT=""
5862 ICOTOOL=""
5863 else
5864 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5865 for ac_prog in fontforge
5867 # Extract the first word of "$ac_prog", so it can be a program name with args.
5868 set dummy $ac_prog; ac_word=$2
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5870 $as_echo_n "checking for $ac_word... " >&6; }
5871 if ${ac_cv_prog_FONTFORGE+:} false; then :
5872 $as_echo_n "(cached) " >&6
5873 else
5874 if test -n "$FONTFORGE"; then
5875 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5876 else
5877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5878 for as_dir in $PATH
5880 IFS=$as_save_IFS
5881 test -z "$as_dir" && as_dir=.
5882 for ac_exec_ext in '' $ac_executable_extensions; do
5883 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5884 ac_cv_prog_FONTFORGE="$ac_prog"
5885 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5886 break 2
5888 done
5889 done
5890 IFS=$as_save_IFS
5894 FONTFORGE=$ac_cv_prog_FONTFORGE
5895 if test -n "$FONTFORGE"; then
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5897 $as_echo "$FONTFORGE" >&6; }
5898 else
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5900 $as_echo "no" >&6; }
5904 test -n "$FONTFORGE" && break
5905 done
5906 test -n "$FONTFORGE" || FONTFORGE="false"
5908 for ac_prog in rsvg-convert rsvg
5910 # Extract the first word of "$ac_prog", so it can be a program name with args.
5911 set dummy $ac_prog; ac_word=$2
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5913 $as_echo_n "checking for $ac_word... " >&6; }
5914 if ${ac_cv_prog_RSVG+:} false; then :
5915 $as_echo_n "(cached) " >&6
5916 else
5917 if test -n "$RSVG"; then
5918 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5919 else
5920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5921 for as_dir in $PATH
5923 IFS=$as_save_IFS
5924 test -z "$as_dir" && as_dir=.
5925 for ac_exec_ext in '' $ac_executable_extensions; do
5926 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5927 ac_cv_prog_RSVG="$ac_prog"
5928 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5929 break 2
5931 done
5932 done
5933 IFS=$as_save_IFS
5937 RSVG=$ac_cv_prog_RSVG
5938 if test -n "$RSVG"; then
5939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5940 $as_echo "$RSVG" >&6; }
5941 else
5942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5943 $as_echo "no" >&6; }
5947 test -n "$RSVG" && break
5948 done
5949 test -n "$RSVG" || RSVG="false"
5951 for ac_prog in convert
5953 # Extract the first word of "$ac_prog", so it can be a program name with args.
5954 set dummy $ac_prog; ac_word=$2
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5956 $as_echo_n "checking for $ac_word... " >&6; }
5957 if ${ac_cv_prog_CONVERT+:} false; then :
5958 $as_echo_n "(cached) " >&6
5959 else
5960 if test -n "$CONVERT"; then
5961 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5962 else
5963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5964 for as_dir in $PATH
5966 IFS=$as_save_IFS
5967 test -z "$as_dir" && as_dir=.
5968 for ac_exec_ext in '' $ac_executable_extensions; do
5969 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5970 ac_cv_prog_CONVERT="$ac_prog"
5971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5972 break 2
5974 done
5975 done
5976 IFS=$as_save_IFS
5980 CONVERT=$ac_cv_prog_CONVERT
5981 if test -n "$CONVERT"; then
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5983 $as_echo "$CONVERT" >&6; }
5984 else
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5986 $as_echo "no" >&6; }
5990 test -n "$CONVERT" && break
5991 done
5992 test -n "$CONVERT" || CONVERT="false"
5994 for ac_prog in icotool
5996 # Extract the first word of "$ac_prog", so it can be a program name with args.
5997 set dummy $ac_prog; ac_word=$2
5998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5999 $as_echo_n "checking for $ac_word... " >&6; }
6000 if ${ac_cv_prog_ICOTOOL+:} false; then :
6001 $as_echo_n "(cached) " >&6
6002 else
6003 if test -n "$ICOTOOL"; then
6004 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6005 else
6006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6007 for as_dir in $PATH
6009 IFS=$as_save_IFS
6010 test -z "$as_dir" && as_dir=.
6011 for ac_exec_ext in '' $ac_executable_extensions; do
6012 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6013 ac_cv_prog_ICOTOOL="$ac_prog"
6014 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6015 break 2
6017 done
6018 done
6019 IFS=$as_save_IFS
6023 ICOTOOL=$ac_cv_prog_ICOTOOL
6024 if test -n "$ICOTOOL"; then
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6026 $as_echo "$ICOTOOL" >&6; }
6027 else
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6029 $as_echo "no" >&6; }
6033 test -n "$ICOTOOL" && break
6034 done
6035 test -n "$ICOTOOL" || ICOTOOL="false"
6037 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6038 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6040 if test "$CONVERT" = false
6041 then
6042 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6043 else
6044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6045 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6046 convert_version=`convert --version | head -n1`
6047 if test "x$convert_version" != "x"
6048 then
6049 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6050 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6051 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6052 then
6053 CONVERT=false
6056 if test "$CONVERT" = false
6057 then
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6059 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6060 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6061 else
6062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6063 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6067 if test "$ICOTOOL" = false
6068 then
6069 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6070 else
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6072 $as_echo_n "checking for recent enough icotool... " >&6; }
6073 icotool_version=`icotool --version | head -n1`
6074 if test "x$icotool_version" != "x"
6075 then
6076 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6077 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6078 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6079 then
6080 ICOTOOL=false
6081 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6084 if test "$ICOTOOL" = false
6085 then
6086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6087 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6088 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6089 else
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6091 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6095 with_gettext=yes
6096 with_gettextpo=yes
6097 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6100 test "x$with_gettext" != xno || MSGFMT=false
6101 if test "$MSGFMT" != "false"
6102 then
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6104 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6105 cat >conftest.po <<EOF
6106 # comment
6107 msgctxt "ctxt"
6108 msgid "id"
6109 msgstr "str"
6111 if $MSGFMT -o /dev/null conftest.po 2>&5
6112 then
6113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6114 $as_echo "yes" >&6; }
6115 else
6116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6117 $as_echo "no" >&6; }
6118 MSGFMT=false
6121 if test "$MSGFMT" = false; then :
6122 case "x$with_gettext" in
6123 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6124 xno) ;;
6125 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6126 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6127 esac
6128 enable_po=${enable_po:-no}
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6133 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6134 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6135 $as_echo_n "(cached) " >&6
6136 else
6137 ac_check_lib_save_LIBS=$LIBS
6138 LIBS="-li386 $LIBS"
6139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6140 /* end confdefs.h. */
6142 /* Override any GCC internal prototype to avoid an error.
6143 Use char because int might match the return type of a GCC
6144 builtin and then its argument prototype would still apply. */
6145 #ifdef __cplusplus
6146 extern "C"
6147 #endif
6148 char i386_set_ldt ();
6150 main ()
6152 return i386_set_ldt ();
6154 return 0;
6156 _ACEOF
6157 if ac_fn_c_try_link "$LINENO"; then :
6158 ac_cv_lib_i386_i386_set_ldt=yes
6159 else
6160 ac_cv_lib_i386_i386_set_ldt=no
6162 rm -f core conftest.err conftest.$ac_objext \
6163 conftest$ac_exeext conftest.$ac_ext
6164 LIBS=$ac_check_lib_save_LIBS
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6167 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6168 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6169 cat >>confdefs.h <<_ACEOF
6170 #define HAVE_LIBI386 1
6171 _ACEOF
6173 LIBS="-li386 $LIBS"
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6178 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6179 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6180 $as_echo_n "(cached) " >&6
6181 else
6182 ac_check_lib_save_LIBS=$LIBS
6183 LIBS="-lossaudio $LIBS"
6184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6185 /* end confdefs.h. */
6187 /* Override any GCC internal prototype to avoid an error.
6188 Use char because int might match the return type of a GCC
6189 builtin and then its argument prototype would still apply. */
6190 #ifdef __cplusplus
6191 extern "C"
6192 #endif
6193 char _oss_ioctl ();
6195 main ()
6197 return _oss_ioctl ();
6199 return 0;
6201 _ACEOF
6202 if ac_fn_c_try_link "$LINENO"; then :
6203 ac_cv_lib_ossaudio__oss_ioctl=yes
6204 else
6205 ac_cv_lib_ossaudio__oss_ioctl=no
6207 rm -f core conftest.err conftest.$ac_objext \
6208 conftest$ac_exeext conftest.$ac_ext
6209 LIBS=$ac_check_lib_save_LIBS
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6212 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6213 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6214 cat >>confdefs.h <<_ACEOF
6215 #define HAVE_LIBOSSAUDIO 1
6216 _ACEOF
6218 LIBS="-lossaudio $LIBS"
6223 OPENGL_LIBS=""
6227 # Check whether --enable-largefile was given.
6228 if test "${enable_largefile+set}" = set; then :
6229 enableval=$enable_largefile;
6232 if test "$enable_largefile" != no; then
6234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6235 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6236 if ${ac_cv_sys_largefile_CC+:} false; then :
6237 $as_echo_n "(cached) " >&6
6238 else
6239 ac_cv_sys_largefile_CC=no
6240 if test "$GCC" != yes; then
6241 ac_save_CC=$CC
6242 while :; do
6243 # IRIX 6.2 and later do not support large files by default,
6244 # so use the C compiler's -n32 option if that helps.
6245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6246 /* end confdefs.h. */
6247 #include <sys/types.h>
6248 /* Check that off_t can represent 2**63 - 1 correctly.
6249 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6250 since some C++ compilers masquerading as C compilers
6251 incorrectly reject 9223372036854775807. */
6252 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6253 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6254 && LARGE_OFF_T % 2147483647 == 1)
6255 ? 1 : -1];
6257 main ()
6261 return 0;
6263 _ACEOF
6264 if ac_fn_c_try_compile "$LINENO"; then :
6265 break
6267 rm -f core conftest.err conftest.$ac_objext
6268 CC="$CC -n32"
6269 if ac_fn_c_try_compile "$LINENO"; then :
6270 ac_cv_sys_largefile_CC=' -n32'; break
6272 rm -f core conftest.err conftest.$ac_objext
6273 break
6274 done
6275 CC=$ac_save_CC
6276 rm -f conftest.$ac_ext
6279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6280 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6281 if test "$ac_cv_sys_largefile_CC" != no; then
6282 CC=$CC$ac_cv_sys_largefile_CC
6285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6286 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6287 if ${ac_cv_sys_file_offset_bits+:} false; then :
6288 $as_echo_n "(cached) " >&6
6289 else
6290 while :; do
6291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6292 /* end confdefs.h. */
6293 #include <sys/types.h>
6294 /* Check that off_t can represent 2**63 - 1 correctly.
6295 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6296 since some C++ compilers masquerading as C compilers
6297 incorrectly reject 9223372036854775807. */
6298 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6299 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6300 && LARGE_OFF_T % 2147483647 == 1)
6301 ? 1 : -1];
6303 main ()
6307 return 0;
6309 _ACEOF
6310 if ac_fn_c_try_compile "$LINENO"; then :
6311 ac_cv_sys_file_offset_bits=no; break
6313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6315 /* end confdefs.h. */
6316 #define _FILE_OFFSET_BITS 64
6317 #include <sys/types.h>
6318 /* Check that off_t can represent 2**63 - 1 correctly.
6319 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6320 since some C++ compilers masquerading as C compilers
6321 incorrectly reject 9223372036854775807. */
6322 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6323 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6324 && LARGE_OFF_T % 2147483647 == 1)
6325 ? 1 : -1];
6327 main ()
6331 return 0;
6333 _ACEOF
6334 if ac_fn_c_try_compile "$LINENO"; then :
6335 ac_cv_sys_file_offset_bits=64; break
6337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6338 ac_cv_sys_file_offset_bits=unknown
6339 break
6340 done
6342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6343 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6344 case $ac_cv_sys_file_offset_bits in #(
6345 no | unknown) ;;
6347 cat >>confdefs.h <<_ACEOF
6348 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6349 _ACEOF
6351 esac
6352 rm -rf conftest*
6353 if test $ac_cv_sys_file_offset_bits = unknown; then
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6355 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6356 if ${ac_cv_sys_large_files+:} false; then :
6357 $as_echo_n "(cached) " >&6
6358 else
6359 while :; do
6360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6361 /* end confdefs.h. */
6362 #include <sys/types.h>
6363 /* Check that off_t can represent 2**63 - 1 correctly.
6364 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6365 since some C++ compilers masquerading as C compilers
6366 incorrectly reject 9223372036854775807. */
6367 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6368 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6369 && LARGE_OFF_T % 2147483647 == 1)
6370 ? 1 : -1];
6372 main ()
6376 return 0;
6378 _ACEOF
6379 if ac_fn_c_try_compile "$LINENO"; then :
6380 ac_cv_sys_large_files=no; break
6382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6384 /* end confdefs.h. */
6385 #define _LARGE_FILES 1
6386 #include <sys/types.h>
6387 /* Check that off_t can represent 2**63 - 1 correctly.
6388 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6389 since some C++ compilers masquerading as C compilers
6390 incorrectly reject 9223372036854775807. */
6391 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6392 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6393 && LARGE_OFF_T % 2147483647 == 1)
6394 ? 1 : -1];
6396 main ()
6400 return 0;
6402 _ACEOF
6403 if ac_fn_c_try_compile "$LINENO"; then :
6404 ac_cv_sys_large_files=1; break
6406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6407 ac_cv_sys_large_files=unknown
6408 break
6409 done
6411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6412 $as_echo "$ac_cv_sys_large_files" >&6; }
6413 case $ac_cv_sys_large_files in #(
6414 no | unknown) ;;
6416 cat >>confdefs.h <<_ACEOF
6417 #define _LARGE_FILES $ac_cv_sys_large_files
6418 _ACEOF
6420 esac
6421 rm -rf conftest*
6428 ac_ext=c
6429 ac_cpp='$CPP $CPPFLAGS'
6430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6434 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6435 # On Suns, sometimes $CPP names a directory.
6436 if test -n "$CPP" && test -d "$CPP"; then
6437 CPP=
6439 if test -z "$CPP"; then
6440 if ${ac_cv_prog_CPP+:} false; then :
6441 $as_echo_n "(cached) " >&6
6442 else
6443 # Double quotes because CPP needs to be expanded
6444 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6446 ac_preproc_ok=false
6447 for ac_c_preproc_warn_flag in '' yes
6449 # Use a header file that comes with gcc, so configuring glibc
6450 # with a fresh cross-compiler works.
6451 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6452 # <limits.h> exists even on freestanding compilers.
6453 # On the NeXT, cc -E runs the code through the compiler's parser,
6454 # not just through cpp. "Syntax error" is here to catch this case.
6455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6456 /* end confdefs.h. */
6457 #ifdef __STDC__
6458 # include <limits.h>
6459 #else
6460 # include <assert.h>
6461 #endif
6462 Syntax error
6463 _ACEOF
6464 if ac_fn_c_try_cpp "$LINENO"; then :
6466 else
6467 # Broken: fails on valid input.
6468 continue
6470 rm -f conftest.err conftest.i conftest.$ac_ext
6472 # OK, works on sane cases. Now check whether nonexistent headers
6473 # can be detected and how.
6474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6475 /* end confdefs.h. */
6476 #include <ac_nonexistent.h>
6477 _ACEOF
6478 if ac_fn_c_try_cpp "$LINENO"; then :
6479 # Broken: success on invalid input.
6480 continue
6481 else
6482 # Passes both tests.
6483 ac_preproc_ok=:
6484 break
6486 rm -f conftest.err conftest.i conftest.$ac_ext
6488 done
6489 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6490 rm -f conftest.i conftest.err conftest.$ac_ext
6491 if $ac_preproc_ok; then :
6492 break
6495 done
6496 ac_cv_prog_CPP=$CPP
6499 CPP=$ac_cv_prog_CPP
6500 else
6501 ac_cv_prog_CPP=$CPP
6503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6504 $as_echo "$CPP" >&6; }
6505 ac_preproc_ok=false
6506 for ac_c_preproc_warn_flag in '' yes
6508 # Use a header file that comes with gcc, so configuring glibc
6509 # with a fresh cross-compiler works.
6510 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6511 # <limits.h> exists even on freestanding compilers.
6512 # On the NeXT, cc -E runs the code through the compiler's parser,
6513 # not just through cpp. "Syntax error" is here to catch this case.
6514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6515 /* end confdefs.h. */
6516 #ifdef __STDC__
6517 # include <limits.h>
6518 #else
6519 # include <assert.h>
6520 #endif
6521 Syntax error
6522 _ACEOF
6523 if ac_fn_c_try_cpp "$LINENO"; then :
6525 else
6526 # Broken: fails on valid input.
6527 continue
6529 rm -f conftest.err conftest.i conftest.$ac_ext
6531 # OK, works on sane cases. Now check whether nonexistent headers
6532 # can be detected and how.
6533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6534 /* end confdefs.h. */
6535 #include <ac_nonexistent.h>
6536 _ACEOF
6537 if ac_fn_c_try_cpp "$LINENO"; then :
6538 # Broken: success on invalid input.
6539 continue
6540 else
6541 # Passes both tests.
6542 ac_preproc_ok=:
6543 break
6545 rm -f conftest.err conftest.i conftest.$ac_ext
6547 done
6548 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6549 rm -f conftest.i conftest.err conftest.$ac_ext
6550 if $ac_preproc_ok; then :
6552 else
6553 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6554 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6555 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6556 See \`config.log' for more details" "$LINENO" 5; }
6559 ac_ext=c
6560 ac_cpp='$CPP $CPPFLAGS'
6561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6567 $as_echo_n "checking for ANSI C header files... " >&6; }
6568 if ${ac_cv_header_stdc+:} false; then :
6569 $as_echo_n "(cached) " >&6
6570 else
6571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6572 /* end confdefs.h. */
6573 #include <stdlib.h>
6574 #include <stdarg.h>
6575 #include <string.h>
6576 #include <float.h>
6579 main ()
6583 return 0;
6585 _ACEOF
6586 if ac_fn_c_try_compile "$LINENO"; then :
6587 ac_cv_header_stdc=yes
6588 else
6589 ac_cv_header_stdc=no
6591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6593 if test $ac_cv_header_stdc = yes; then
6594 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6596 /* end confdefs.h. */
6597 #include <string.h>
6599 _ACEOF
6600 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6601 $EGREP "memchr" >/dev/null 2>&1; then :
6603 else
6604 ac_cv_header_stdc=no
6606 rm -f conftest*
6610 if test $ac_cv_header_stdc = yes; then
6611 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6613 /* end confdefs.h. */
6614 #include <stdlib.h>
6616 _ACEOF
6617 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6618 $EGREP "free" >/dev/null 2>&1; then :
6620 else
6621 ac_cv_header_stdc=no
6623 rm -f conftest*
6627 if test $ac_cv_header_stdc = yes; then
6628 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6629 if test "$cross_compiling" = yes; then :
6631 else
6632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6633 /* end confdefs.h. */
6634 #include <ctype.h>
6635 #include <stdlib.h>
6636 #if ((' ' & 0x0FF) == 0x020)
6637 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6638 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6639 #else
6640 # define ISLOWER(c) \
6641 (('a' <= (c) && (c) <= 'i') \
6642 || ('j' <= (c) && (c) <= 'r') \
6643 || ('s' <= (c) && (c) <= 'z'))
6644 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6645 #endif
6647 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6649 main ()
6651 int i;
6652 for (i = 0; i < 256; i++)
6653 if (XOR (islower (i), ISLOWER (i))
6654 || toupper (i) != TOUPPER (i))
6655 return 2;
6656 return 0;
6658 _ACEOF
6659 if ac_fn_c_try_run "$LINENO"; then :
6661 else
6662 ac_cv_header_stdc=no
6664 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6665 conftest.$ac_objext conftest.beam conftest.$ac_ext
6670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6671 $as_echo "$ac_cv_header_stdc" >&6; }
6672 if test $ac_cv_header_stdc = yes; then
6674 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6678 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6679 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6680 inttypes.h stdint.h unistd.h
6681 do :
6682 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6683 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6685 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6686 cat >>confdefs.h <<_ACEOF
6687 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6688 _ACEOF
6692 done
6695 for ac_header in \
6696 AL/al.h \
6697 ApplicationServices/ApplicationServices.h \
6698 AudioToolbox/AudioConverter.h \
6699 AudioUnit/AudioUnit.h \
6700 AudioUnit/AudioComponent.h \
6701 CL/cl.h \
6702 Carbon/Carbon.h \
6703 CommonCrypto/CommonDigest.h \
6704 CoreAudio/CoreAudio.h \
6705 CoreServices/CoreServices.h \
6706 DiskArbitration/DiskArbitration.h \
6707 IOKit/IOKitLib.h \
6708 IOKit/hid/IOHIDLib.h \
6709 OpenAL/al.h \
6710 OpenCL/opencl.h \
6711 QuickTime/ImageCompression.h \
6712 Security/Security.h \
6713 alias.h \
6714 alsa/asoundlib.h \
6715 arpa/inet.h \
6716 arpa/nameser.h \
6717 asm/types.h \
6718 asm/user.h \
6719 curses.h \
6720 direct.h \
6721 dirent.h \
6722 dlfcn.h \
6723 elf.h \
6724 float.h \
6725 fnmatch.h \
6726 getopt.h \
6727 gettext-po.h \
6728 grp.h \
6729 gsm.h \
6730 gsm/gsm.h \
6731 ieeefp.h \
6732 inet/mib2.h \
6733 io.h \
6734 kstat.h \
6735 lber.h \
6736 ldap.h \
6737 libproc.h \
6738 link.h \
6739 linux/cdrom.h \
6740 linux/compiler.h \
6741 linux/filter.h \
6742 linux/hdreg.h \
6743 linux/input.h \
6744 linux/ioctl.h \
6745 linux/joystick.h \
6746 linux/major.h \
6747 linux/param.h \
6748 linux/serial.h \
6749 linux/types.h \
6750 linux/ucdrom.h \
6751 lwp.h \
6752 mach-o/nlist.h \
6753 mach-o/loader.h \
6754 mach/mach.h \
6755 mach/machine.h \
6756 machine/cpu.h \
6757 machine/limits.h \
6758 machine/sysarch.h \
6759 mntent.h \
6760 ncurses.h \
6761 netdb.h \
6762 netinet/in.h \
6763 netinet/in_systm.h \
6764 netinet/tcp.h \
6765 netinet/tcp_fsm.h \
6766 pcap/pcap.h \
6767 poll.h \
6768 port.h \
6769 process.h \
6770 pthread.h \
6771 pwd.h \
6772 sched.h \
6773 scsi/scsi.h \
6774 scsi/scsi_ioctl.h \
6775 scsi/sg.h \
6776 stdbool.h \
6777 stdint.h \
6778 stropts.h \
6779 sys/asoundlib.h \
6780 sys/attr.h \
6781 sys/cdio.h \
6782 sys/elf32.h \
6783 sys/epoll.h \
6784 sys/event.h \
6785 sys/exec_elf.h \
6786 sys/filio.h \
6787 sys/inotify.h \
6788 sys/ioctl.h \
6789 sys/ipc.h \
6790 sys/limits.h \
6791 sys/link.h \
6792 sys/mman.h \
6793 sys/modem.h \
6794 sys/msg.h \
6795 sys/mtio.h \
6796 sys/param.h \
6797 sys/poll.h \
6798 sys/prctl.h \
6799 sys/protosw.h \
6800 sys/ptrace.h \
6801 sys/queue.h \
6802 sys/resource.h \
6803 sys/scsiio.h \
6804 sys/shm.h \
6805 sys/signal.h \
6806 sys/socket.h \
6807 sys/socketvar.h \
6808 sys/sockio.h \
6809 sys/statvfs.h \
6810 sys/strtio.h \
6811 sys/syscall.h \
6812 sys/sysinfo.h \
6813 sys/tihdr.h \
6814 sys/time.h \
6815 sys/timeout.h \
6816 sys/times.h \
6817 sys/uio.h \
6818 sys/user.h \
6819 sys/utsname.h \
6820 sys/vm86.h \
6821 sys/vnode.h \
6822 sys/wait.h \
6823 syscall.h \
6824 termios.h \
6825 unistd.h \
6826 utime.h \
6827 valgrind/memcheck.h \
6828 valgrind/valgrind.h \
6829 zlib.h
6831 do :
6832 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6833 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6834 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6835 cat >>confdefs.h <<_ACEOF
6836 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6837 _ACEOF
6841 done
6843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6844 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6845 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
6846 $as_echo_n "(cached) " >&6
6847 else
6848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6849 /* end confdefs.h. */
6850 #include <sys/types.h>
6852 main ()
6854 return makedev(0, 0);
6856 return 0;
6858 _ACEOF
6859 if ac_fn_c_try_link "$LINENO"; then :
6860 ac_cv_header_sys_types_h_makedev=yes
6861 else
6862 ac_cv_header_sys_types_h_makedev=no
6864 rm -f core conftest.err conftest.$ac_objext \
6865 conftest$ac_exeext conftest.$ac_ext
6868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
6869 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
6871 if test $ac_cv_header_sys_types_h_makedev = no; then
6872 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
6873 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
6875 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
6881 if test $ac_cv_header_sys_mkdev_h = no; then
6882 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
6883 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
6885 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
6893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6894 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6895 if ${ac_cv_header_stat_broken+:} false; then :
6896 $as_echo_n "(cached) " >&6
6897 else
6898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6899 /* end confdefs.h. */
6900 #include <sys/types.h>
6901 #include <sys/stat.h>
6903 #if defined S_ISBLK && defined S_IFDIR
6904 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6905 #endif
6907 #if defined S_ISBLK && defined S_IFCHR
6908 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6909 #endif
6911 #if defined S_ISLNK && defined S_IFREG
6912 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6913 #endif
6915 #if defined S_ISSOCK && defined S_IFREG
6916 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6917 #endif
6919 _ACEOF
6920 if ac_fn_c_try_compile "$LINENO"; then :
6921 ac_cv_header_stat_broken=no
6922 else
6923 ac_cv_header_stat_broken=yes
6925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6928 $as_echo "$ac_cv_header_stat_broken" >&6; }
6929 if test $ac_cv_header_stat_broken = yes; then
6931 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6937 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6938 do :
6939 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6940 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6941 #ifdef HAVE_SYS_PARAM_H
6942 # include <sys/param.h>
6943 #endif
6945 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6946 cat >>confdefs.h <<_ACEOF
6947 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6948 _ACEOF
6952 done
6955 for ac_header in \
6956 netinet/ip.h \
6957 net/if.h \
6958 net/if_arp.h \
6959 net/if_dl.h \
6960 net/if_types.h \
6961 net/route.h \
6962 netinet/if_ether.h \
6963 netinet/if_inarp.h \
6964 netinet/in_pcb.h \
6965 netinet/ip_icmp.h \
6966 netinet/ip_var.h \
6967 netinet/udp.h \
6968 netipx/ipx.h \
6969 sys/un.h \
6971 do :
6972 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6973 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6974 #ifdef HAVE_SYS_SOCKET_H
6975 # include <sys/socket.h>
6976 #endif
6977 #ifdef HAVE_SYS_SOCKETVAR_H
6978 # include <sys/socketvar.h>
6979 #endif
6980 #ifdef HAVE_NET_ROUTE_H
6981 # include <net/route.h>
6982 #endif
6983 #ifdef HAVE_NETINET_IN_H
6984 # include <netinet/in.h>
6985 #endif
6986 #ifdef HAVE_NETINET_IN_SYSTM_H
6987 # include <netinet/in_systm.h>
6988 #endif
6989 #ifdef HAVE_NET_IF_H
6990 # include <net/if.h>
6991 #endif
6992 #ifdef HAVE_NETINET_IP_H
6993 # include <netinet/ip.h>
6994 #endif
6996 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6997 cat >>confdefs.h <<_ACEOF
6998 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6999 _ACEOF
7003 done
7006 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7007 do :
7008 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7009 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7010 #ifdef HAVE_ALIAS_H
7011 # include <alias.h>
7012 #endif
7013 #ifdef HAVE_SYS_SOCKET_H
7014 # include <sys/socket.h>
7015 #endif
7016 #ifdef HAVE_SYS_SOCKETVAR_H
7017 # include <sys/socketvar.h>
7018 #endif
7019 #ifdef HAVE_SYS_TIMEOUT_H
7020 # include <sys/timeout.h>
7021 #endif
7022 #ifdef HAVE_NETINET_IN_H
7023 # include <netinet/in.h>
7024 #endif
7025 #ifdef HAVE_NETINET_IN_SYSTM_H
7026 # include <netinet/in_systm.h>
7027 #endif
7028 #ifdef HAVE_NETINET_IP_H
7029 # include <netinet/ip.h>
7030 #endif
7031 #ifdef HAVE_NETINET_IP_VAR_H
7032 # include <netinet/ip_var.h>
7033 #endif
7034 #ifdef HAVE_NETINET_IP_ICMP_H
7035 # include <netinet/ip_icmp.h>
7036 #endif
7037 #ifdef HAVE_NETINET_UDP_H
7038 # include <netinet/udp.h>
7039 #endif
7040 #ifdef HAVE_NETINET_TCP_H
7041 # include <netinet/tcp.h>
7042 #endif
7043 #ifdef HAVE_NETINET_TCP_TIMER_H
7044 #include <netinet/tcp_timer.h>
7045 #endif
7047 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7048 cat >>confdefs.h <<_ACEOF
7049 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7050 _ACEOF
7054 done
7057 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7058 do :
7059 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7060 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7061 #ifdef HAVE_ASM_TYPES_H
7062 # include <asm/types.h>
7063 #endif
7064 #ifdef HAVE_SYS_SOCKET_H
7065 # include <sys/socket.h>
7066 #endif
7067 #ifdef HAVE_LINUX_TYPES_H
7068 # include <linux/types.h>
7069 #endif
7071 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7072 cat >>confdefs.h <<_ACEOF
7073 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7074 _ACEOF
7078 done
7081 for ac_header in mach-o/dyld_images.h
7082 do :
7083 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7084 # include <stdbool.h>
7085 #endif
7086 #ifdef HAVE_STDINT_H
7087 # include <stdint.h>
7088 #endif
7090 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7091 cat >>confdefs.h <<_ACEOF
7092 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7093 _ACEOF
7097 done
7100 for ac_header in resolv.h
7101 do :
7102 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7103 #ifdef HAVE_SYS_SOCKET_H
7104 # include <sys/socket.h>
7105 #endif
7106 #ifdef HAVE_NETINET_IN_H
7107 # include <netinet/in.h>
7108 #endif
7109 #ifdef HAVE_ARPA_NAMESER_H
7110 # include <arpa/nameser.h>
7111 #endif
7113 if test "x$ac_cv_header_resolv_h" = xyes; then :
7114 cat >>confdefs.h <<_ACEOF
7115 #define HAVE_RESOLV_H 1
7116 _ACEOF
7120 done
7123 for ac_header in ifaddrs.h
7124 do :
7125 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7127 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7128 cat >>confdefs.h <<_ACEOF
7129 #define HAVE_IFADDRS_H 1
7130 _ACEOF
7134 done
7137 for ac_header in sys/ucontext.h
7138 do :
7139 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7141 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7142 cat >>confdefs.h <<_ACEOF
7143 #define HAVE_SYS_UCONTEXT_H 1
7144 _ACEOF
7148 done
7151 for ac_header in sys/thr.h
7152 do :
7153 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7154 #ifdef HAVE_SYS_UCONTEXT_H
7155 #include <sys/ucontext.h>
7156 #endif
7158 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7159 cat >>confdefs.h <<_ACEOF
7160 #define HAVE_SYS_THR_H 1
7161 _ACEOF
7165 done
7168 for ac_header in pthread_np.h
7169 do :
7170 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7171 #include <pthread.h>
7172 #endif
7174 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7175 cat >>confdefs.h <<_ACEOF
7176 #define HAVE_PTHREAD_NP_H 1
7177 _ACEOF
7181 done
7184 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7185 do :
7186 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7187 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7188 #include <sys/time.h>
7189 #endif
7190 #include <sys/types.h>
7191 #ifdef HAVE_ASM_TYPES_H
7192 #include <asm/types.h>
7193 #endif
7195 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7196 cat >>confdefs.h <<_ACEOF
7197 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7198 _ACEOF
7202 done
7205 for ac_header in libprocstat.h
7206 do :
7207 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7208 #include <sys/param.h>
7209 #endif
7210 #ifdef HAVE_SYS_QUEUE_H
7211 #include <sys/queue.h>
7212 #endif
7213 #ifdef HAVE_SYS_SOCKET_H
7214 #include <sys/socket.h>
7215 #endif
7217 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7218 cat >>confdefs.h <<_ACEOF
7219 #define HAVE_LIBPROCSTAT_H 1
7220 _ACEOF
7224 done
7228 dlldir="\${libdir}/wine"
7230 DLLFLAGS="-D_REENTRANT"
7232 LDRPATH_INSTALL=""
7234 LDRPATH_LOCAL=""
7236 LDEXECFLAGS=""
7238 LIBEXT="so"
7239 DLLEXT=".so"
7240 IMPLIBEXT="def"
7241 # Extract the first word of "ldd", so it can be a program name with args.
7242 set dummy ldd; ac_word=$2
7243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7244 $as_echo_n "checking for $ac_word... " >&6; }
7245 if ${ac_cv_path_LDD+:} false; then :
7246 $as_echo_n "(cached) " >&6
7247 else
7248 case $LDD in
7249 [\\/]* | ?:[\\/]*)
7250 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7254 as_dummy="/sbin:/usr/sbin:$PATH"
7255 for as_dir in $as_dummy
7257 IFS=$as_save_IFS
7258 test -z "$as_dir" && as_dir=.
7259 for ac_exec_ext in '' $ac_executable_extensions; do
7260 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7261 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7262 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7263 break 2
7265 done
7266 done
7267 IFS=$as_save_IFS
7269 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7271 esac
7273 LDD=$ac_cv_path_LDD
7274 if test -n "$LDD"; then
7275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7276 $as_echo "$LDD" >&6; }
7277 else
7278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7279 $as_echo "no" >&6; }
7283 if test -n "$ac_tool_prefix"; then
7284 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7285 set dummy ${ac_tool_prefix}otool; ac_word=$2
7286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7287 $as_echo_n "checking for $ac_word... " >&6; }
7288 if ${ac_cv_prog_OTOOL+:} false; then :
7289 $as_echo_n "(cached) " >&6
7290 else
7291 if test -n "$OTOOL"; then
7292 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7293 else
7294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7295 for as_dir in $PATH
7297 IFS=$as_save_IFS
7298 test -z "$as_dir" && as_dir=.
7299 for ac_exec_ext in '' $ac_executable_extensions; do
7300 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7301 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7302 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7303 break 2
7305 done
7306 done
7307 IFS=$as_save_IFS
7311 OTOOL=$ac_cv_prog_OTOOL
7312 if test -n "$OTOOL"; then
7313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7314 $as_echo "$OTOOL" >&6; }
7315 else
7316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7317 $as_echo "no" >&6; }
7322 if test -z "$ac_cv_prog_OTOOL"; then
7323 ac_ct_OTOOL=$OTOOL
7324 # Extract the first word of "otool", so it can be a program name with args.
7325 set dummy otool; ac_word=$2
7326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7327 $as_echo_n "checking for $ac_word... " >&6; }
7328 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7329 $as_echo_n "(cached) " >&6
7330 else
7331 if test -n "$ac_ct_OTOOL"; then
7332 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7333 else
7334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7335 for as_dir in $PATH
7337 IFS=$as_save_IFS
7338 test -z "$as_dir" && as_dir=.
7339 for ac_exec_ext in '' $ac_executable_extensions; do
7340 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7341 ac_cv_prog_ac_ct_OTOOL="otool"
7342 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7343 break 2
7345 done
7346 done
7347 IFS=$as_save_IFS
7351 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7352 if test -n "$ac_ct_OTOOL"; then
7353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7354 $as_echo "$ac_ct_OTOOL" >&6; }
7355 else
7356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7357 $as_echo "no" >&6; }
7360 if test "x$ac_ct_OTOOL" = x; then
7361 OTOOL="otool"
7362 else
7363 case $cross_compiling:$ac_tool_warned in
7364 yes:)
7365 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7366 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7367 ac_tool_warned=yes ;;
7368 esac
7369 OTOOL=$ac_ct_OTOOL
7371 else
7372 OTOOL="$ac_cv_prog_OTOOL"
7375 if test -n "$ac_tool_prefix"; then
7376 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7377 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7379 $as_echo_n "checking for $ac_word... " >&6; }
7380 if ${ac_cv_prog_READELF+:} false; then :
7381 $as_echo_n "(cached) " >&6
7382 else
7383 if test -n "$READELF"; then
7384 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7385 else
7386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7387 for as_dir in $PATH
7389 IFS=$as_save_IFS
7390 test -z "$as_dir" && as_dir=.
7391 for ac_exec_ext in '' $ac_executable_extensions; do
7392 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7393 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7394 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7395 break 2
7397 done
7398 done
7399 IFS=$as_save_IFS
7403 READELF=$ac_cv_prog_READELF
7404 if test -n "$READELF"; then
7405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7406 $as_echo "$READELF" >&6; }
7407 else
7408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7409 $as_echo "no" >&6; }
7414 if test -z "$ac_cv_prog_READELF"; then
7415 ac_ct_READELF=$READELF
7416 # Extract the first word of "readelf", so it can be a program name with args.
7417 set dummy readelf; ac_word=$2
7418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7419 $as_echo_n "checking for $ac_word... " >&6; }
7420 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7421 $as_echo_n "(cached) " >&6
7422 else
7423 if test -n "$ac_ct_READELF"; then
7424 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7425 else
7426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7427 for as_dir in $PATH
7429 IFS=$as_save_IFS
7430 test -z "$as_dir" && as_dir=.
7431 for ac_exec_ext in '' $ac_executable_extensions; do
7432 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7433 ac_cv_prog_ac_ct_READELF="readelf"
7434 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7435 break 2
7437 done
7438 done
7439 IFS=$as_save_IFS
7443 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7444 if test -n "$ac_ct_READELF"; then
7445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7446 $as_echo "$ac_ct_READELF" >&6; }
7447 else
7448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7449 $as_echo "no" >&6; }
7452 if test "x$ac_ct_READELF" = x; then
7453 READELF="true"
7454 else
7455 case $cross_compiling:$ac_tool_warned in
7456 yes:)
7457 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7458 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7459 ac_tool_warned=yes ;;
7460 esac
7461 READELF=$ac_ct_READELF
7463 else
7464 READELF="$ac_cv_prog_READELF"
7467 wine_rules_file=conf$$rules.make
7468 rm -f $wine_rules_file
7469 SUBDIRS=""
7471 DISABLED_SUBDIRS=""
7473 CONFIGURE_TARGETS=""
7475 ALL_TEST_RESOURCES=""
7478 wine_fn_append_file ()
7480 as_fn_append $1 " \\$as_nl $2"
7483 wine_fn_append_rule ()
7485 $as_echo "$1" >>$wine_rules_file
7488 wine_fn_has_flag ()
7490 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7493 wine_fn_all_rules ()
7495 wine_fn_append_file SUBDIRS $ac_dir
7496 wine_fn_append_rule \
7497 "all: $ac_dir
7498 .PHONY: $ac_dir
7499 $ac_dir: dummy
7500 @cd $ac_dir && \$(MAKE)"
7503 wine_fn_install_rules ()
7505 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7507 wine_fn_append_rule \
7508 ".PHONY: $ac_dir/install $ac_dir/uninstall
7509 $ac_dir/install:: $ac_dir
7510 @cd $ac_dir && \$(MAKE) install
7511 $ac_dir/uninstall::
7512 @cd $ac_dir && \$(MAKE) uninstall
7513 install:: $ac_dir/install
7514 __uninstall__: $ac_dir/uninstall"
7516 if wine_fn_has_flag install-lib
7517 then
7518 wine_fn_append_rule \
7519 ".PHONY: $ac_dir/install-lib
7520 $ac_dir/install-lib:: $ac_dir
7521 @cd $ac_dir && \$(MAKE) install-lib
7522 install-lib:: $ac_dir/install-lib"
7525 if wine_fn_has_flag install-dev
7526 then
7527 wine_fn_append_rule \
7528 ".PHONY: $ac_dir/install-dev
7529 $ac_dir/install-dev:: $ac_dir
7530 @cd $ac_dir && \$(MAKE) install-dev
7531 install-dev:: $ac_dir/install-dev"
7535 wine_fn_clean_rules ()
7537 ac_clean=$@
7539 if wine_fn_has_flag clean
7540 then
7541 wine_fn_append_rule \
7542 "$ac_dir/clean: dummy
7543 @cd $ac_dir && \$(MAKE) clean"
7544 else
7545 wine_fn_append_rule \
7546 "$ac_dir/clean: dummy
7547 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7549 wine_fn_append_rule \
7550 "__clean__: $ac_dir/clean
7551 .PHONY: $ac_dir/clean"
7554 wine_fn_disabled_rules ()
7556 ac_clean=$@
7558 wine_fn_append_file SUBDIRS $ac_dir
7559 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7560 wine_fn_append_rule \
7561 "__clean__: $ac_dir/clean
7562 .PHONY: $ac_dir/clean
7563 $ac_dir/clean: dummy
7564 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7567 wine_fn_config_makefile ()
7569 ac_dir=$1
7570 ac_enable=$2
7571 ac_flags=$3
7573 case $ac_dir in
7574 fonts|server) test -z "$with_wine64" || return ;;
7575 esac
7576 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7577 wine_fn_disabled_rules; return
7579 wine_fn_all_rules
7580 wine_fn_install_rules
7581 wine_fn_clean_rules
7584 wine_fn_config_lib ()
7586 ac_name=$1
7587 ac_flags=$2
7588 ac_dir=dlls/$ac_name
7589 ac_deps="include"
7591 if test "x$enable_tools" = xno; then :
7593 else
7594 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7596 wine_fn_all_rules
7597 wine_fn_clean_rules
7599 wine_fn_append_rule \
7600 ".PHONY: $ac_dir/install $ac_dir/uninstall
7601 $ac_dir/install:: $ac_dir
7602 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7603 $ac_dir/uninstall::
7604 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7605 install install-dev:: $ac_dir/install
7606 __uninstall__: $ac_dir/uninstall
7607 __builddeps__: $ac_dir
7608 $ac_dir: $ac_deps"
7611 wine_fn_config_dll ()
7613 ac_name=$1
7614 ac_dir=dlls/$ac_name
7615 ac_enable=$2
7616 ac_flags=$3
7617 ac_implib=${4:-$ac_name}
7618 ac_file=$ac_dir/lib$ac_implib
7619 ac_dll=$ac_name
7620 ac_deps="include"
7621 ac_implibflags=""
7623 if test "x$enable_tools" = xno; then :
7625 else
7626 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7628 case $ac_name in
7629 *16) ac_implibflags=" -m16" ;;
7630 *.*) ;;
7631 *) ac_dll=$ac_dll.dll ;;
7632 esac
7634 ac_clean=
7635 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7636 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7638 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7639 if test "$ac_enable" != enable_win16
7640 then
7641 wine_fn_clean_rules $ac_clean
7642 wine_fn_append_file SUBDIRS $ac_dir
7643 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7644 else
7645 wine_fn_disabled_rules $ac_clean
7646 return
7648 else
7649 wine_fn_all_rules
7650 wine_fn_clean_rules $ac_clean
7651 wine_fn_append_rule \
7652 "$ac_dir: __builddeps__
7653 manpages htmlpages sgmlpages xmlpages::
7654 @cd $ac_dir && \$(MAKE) \$@
7655 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7656 install install-lib:: $ac_dir/install-lib
7657 __uninstall__: $ac_dir/uninstall"
7658 if test -n "$DLLEXT"
7659 then
7660 wine_fn_append_rule \
7661 "$ac_dir/install-lib:: $ac_dir
7662 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7663 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7664 $ac_dir/uninstall::
7665 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7666 else
7667 wine_fn_append_rule \
7668 "$ac_dir/install-lib:: $ac_dir
7669 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7670 $ac_dir/uninstall::
7671 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7675 if wine_fn_has_flag staticimplib
7676 then
7677 wine_fn_append_rule \
7678 "__builddeps__: $ac_file.a
7679 $ac_file.a $ac_file.cross.a: $ac_deps
7680 $ac_file.a: dummy
7681 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7682 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7683 $ac_dir/install-dev:: $ac_file.a
7684 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7685 $ac_dir/uninstall::
7686 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7687 install install-dev:: $ac_dir/install-dev
7688 __uninstall__: $ac_dir/uninstall"
7690 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7691 then
7692 wine_fn_append_rule \
7693 "__builddeps__: $ac_file.cross.a
7694 $ac_file.cross.a: dummy
7695 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7698 elif wine_fn_has_flag implib
7699 then
7700 wine_fn_append_rule \
7701 "__builddeps__: $ac_file.$IMPLIBEXT
7702 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7703 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7704 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7705 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7706 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7707 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7708 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7709 $ac_dir/uninstall::
7710 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7711 install install-dev:: $ac_dir/install-dev
7712 __uninstall__: $ac_dir/uninstall"
7713 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7714 then
7715 wine_fn_append_rule \
7716 "__builddeps__: $ac_file.cross.a
7717 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7718 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7723 wine_fn_config_program ()
7725 ac_name=$1
7726 ac_dir=programs/$ac_name
7727 ac_enable=$2
7728 ac_flags=$3
7729 ac_program=$ac_name
7731 case $ac_name in
7732 *.*) ;;
7733 *) ac_program=$ac_program.exe ;;
7734 esac
7736 ac_clean=
7737 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7738 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7740 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7741 wine_fn_disabled_rules $ac_clean; return
7744 wine_fn_all_rules
7745 wine_fn_clean_rules $ac_clean
7746 wine_fn_append_rule "$ac_dir: __builddeps__"
7748 wine_fn_has_flag install || return
7749 wine_fn_append_rule \
7750 ".PHONY: $ac_dir/install $ac_dir/uninstall
7751 install install-lib:: $ac_dir/install
7752 __uninstall__: $ac_dir/uninstall"
7754 if test -n "$DLLEXT"
7755 then
7756 wine_fn_append_rule \
7757 "$ac_dir/install:: $ac_dir
7758 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7759 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7760 $ac_dir/uninstall::
7761 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7763 if test -z "$with_wine64" && wine_fn_has_flag installbin
7764 then
7765 wine_fn_append_rule \
7766 "$ac_dir/install:: __tooldeps__
7767 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7768 $ac_dir/uninstall::
7769 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7771 else
7772 wine_fn_append_rule \
7773 "$ac_dir/install:: $ac_dir
7774 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7775 $ac_dir/uninstall::
7776 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7779 if test -z "$with_wine64" && wine_fn_has_flag manpage
7780 then
7781 wine_fn_append_rule \
7782 "$ac_dir/install:: $ac_dir
7783 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7784 $ac_dir/uninstall::
7785 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7789 wine_fn_config_test ()
7791 ac_dir=$1
7792 ac_name=$2
7793 ac_flags=$3
7795 ac_clean=
7796 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7797 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7799 if test "x$enable_tests" = xno; then :
7800 wine_fn_disabled_rules $ac_clean; return
7803 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7804 wine_fn_all_rules
7805 wine_fn_clean_rules $ac_clean
7807 wine_fn_append_rule \
7808 "$ac_dir: __builddeps__
7809 programs/winetest: $ac_dir
7810 check test: $ac_dir/test
7811 .PHONY: $ac_dir/test
7812 $ac_dir/test: dummy
7813 @cd $ac_dir && \$(MAKE) test
7814 testclean::
7815 \$(RM) $ac_dir/*.ok"
7817 if test -n "$CROSSTARGET"
7818 then
7819 wine_fn_append_rule \
7820 "crosstest: $ac_dir/crosstest
7821 .PHONY: $ac_dir/crosstest
7822 $ac_dir/crosstest: __builddeps__ dummy
7823 @cd $ac_dir && \$(MAKE) crosstest"
7827 wine_fn_config_tool ()
7829 ac_dir=$1
7830 ac_flags=$2
7831 if test "x$enable_tools" = xno; then :
7832 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7835 wine_fn_all_rules
7836 wine_fn_install_rules
7837 wine_fn_clean_rules
7839 wine_fn_append_rule "__tooldeps__: $ac_dir"
7840 wine_fn_append_rule "$ac_dir: libs/port"
7841 case $ac_dir in
7842 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7843 esac
7846 wine_fn_config_symlink ()
7848 ac_linkdir=
7849 if test "x$1" = "x-d"
7850 then
7851 ac_linkdir=$2
7852 shift; shift
7854 ac_links=$@
7855 wine_fn_append_rule \
7856 "$ac_links:
7857 @./config.status \$@"
7858 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7859 test -n "$ac_linkdir" || return
7860 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7863 wine_binary="wine"
7864 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7865 WINELOADER_PROGRAMS="$wine_binary"
7867 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7869 case $host_os in
7870 cygwin*|mingw32*)
7871 if test -n "$ac_tool_prefix"; then
7872 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7873 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7875 $as_echo_n "checking for $ac_word... " >&6; }
7876 if ${ac_cv_prog_DLLTOOL+:} false; then :
7877 $as_echo_n "(cached) " >&6
7878 else
7879 if test -n "$DLLTOOL"; then
7880 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7881 else
7882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7883 for as_dir in $PATH
7885 IFS=$as_save_IFS
7886 test -z "$as_dir" && as_dir=.
7887 for ac_exec_ext in '' $ac_executable_extensions; do
7888 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7889 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7891 break 2
7893 done
7894 done
7895 IFS=$as_save_IFS
7899 DLLTOOL=$ac_cv_prog_DLLTOOL
7900 if test -n "$DLLTOOL"; then
7901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7902 $as_echo "$DLLTOOL" >&6; }
7903 else
7904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7905 $as_echo "no" >&6; }
7910 if test -z "$ac_cv_prog_DLLTOOL"; then
7911 ac_ct_DLLTOOL=$DLLTOOL
7912 # Extract the first word of "dlltool", so it can be a program name with args.
7913 set dummy dlltool; ac_word=$2
7914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7915 $as_echo_n "checking for $ac_word... " >&6; }
7916 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7917 $as_echo_n "(cached) " >&6
7918 else
7919 if test -n "$ac_ct_DLLTOOL"; then
7920 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7921 else
7922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7923 for as_dir in $PATH
7925 IFS=$as_save_IFS
7926 test -z "$as_dir" && as_dir=.
7927 for ac_exec_ext in '' $ac_executable_extensions; do
7928 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7929 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7931 break 2
7933 done
7934 done
7935 IFS=$as_save_IFS
7939 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7940 if test -n "$ac_ct_DLLTOOL"; then
7941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7942 $as_echo "$ac_ct_DLLTOOL" >&6; }
7943 else
7944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7945 $as_echo "no" >&6; }
7948 if test "x$ac_ct_DLLTOOL" = x; then
7949 DLLTOOL="false"
7950 else
7951 case $cross_compiling:$ac_tool_warned in
7952 yes:)
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7954 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7955 ac_tool_warned=yes ;;
7956 esac
7957 DLLTOOL=$ac_ct_DLLTOOL
7959 else
7960 DLLTOOL="$ac_cv_prog_DLLTOOL"
7963 LIBEXT="dll"
7964 DLLEXT=""
7965 IMPLIBEXT="a"
7966 enable_iphlpapi=${enable_iphlpapi:-no}
7967 enable_kernel32=${enable_kernel32:-no}
7968 enable_msvcrt=${enable_msvcrt:-no}
7969 enable_ntdll=${enable_ntdll:-no}
7970 enable_ws2_32=${enable_ws2_32:-no}
7971 enable_loader=${enable_loader:-no}
7972 enable_server=${enable_server:-no}
7973 with_x=${with_x:-no}
7974 with_pthread=${with_pthread:-no}
7976 crtlibs=""
7977 case $host_os in
7978 mingw32*)
7979 crtlibs="-lmsvcrt"
7980 SOCKET_LIBS="-lws2_32"
7982 esac
7984 LIBWINE_SHAREDLIB="libwine.dll"
7986 LIBWINE_IMPORTLIB="libwine.a"
7988 LIBWINE_INSTALL_LIB="libwine.dll"
7990 LIBWINE_INSTALL_DEV="libwine.a"
7992 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
7994 LIBWINE_DEPENDS="wine.def"
7998 darwin*|macosx*)
7999 for ac_header in libunwind.h
8000 do :
8001 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8002 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8003 cat >>confdefs.h <<_ACEOF
8004 #define HAVE_LIBUNWIND_H 1
8005 _ACEOF
8009 done
8011 LIBEXT="dylib"
8012 DLLFLAGS="$DLLFLAGS -fPIC"
8013 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8014 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8015 COREFOUNDATION_LIBS="-framework CoreFoundation"
8017 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8019 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8021 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8023 CORESERVICES_LIBS="-framework CoreServices"
8025 APPKIT_LIBS="-framework AppKit"
8027 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8029 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8030 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8031 $as_echo_n "(cached) " >&6
8032 else
8033 ac_wine_try_cflags_saved=$CFLAGS
8034 CFLAGS="$CFLAGS -Wl,-no_pie"
8035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8036 /* end confdefs.h. */
8037 int main(int argc, char **argv) { return 0; }
8038 _ACEOF
8039 if ac_fn_c_try_link "$LINENO"; then :
8040 ac_cv_cflags__Wl__no_pie=yes
8041 else
8042 ac_cv_cflags__Wl__no_pie=no
8044 rm -f core conftest.err conftest.$ac_objext \
8045 conftest$ac_exeext conftest.$ac_ext
8046 CFLAGS=$ac_wine_try_cflags_saved
8048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8049 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8050 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8051 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8053 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8054 then
8055 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8058 if test "$ac_cv_header_Security_Security_h" = "yes"
8059 then
8060 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8062 ac_save_LIBS="$LIBS"
8063 LIBS="$LIBS $SECURITY_LIBS"
8064 for ac_func in SSLCopyPeerCertificates
8065 do :
8066 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8067 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8068 cat >>confdefs.h <<_ACEOF
8069 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8070 _ACEOF
8073 done
8075 LIBS="$ac_save_LIBS"
8076 with_gnutls=${with_gnutls:-no}
8078 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8079 then
8080 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8081 then
8082 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8084 else
8085 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8088 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8089 ac_save_LIBS="$LIBS"
8090 LIBS="$LIBS $COREAUDIO_LIBS"
8091 for ac_func in AUGraphAddNode
8092 do :
8093 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8094 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8095 cat >>confdefs.h <<_ACEOF
8096 #define HAVE_AUGRAPHADDNODE 1
8097 _ACEOF
8100 done
8102 LIBS="$ac_save_LIBS"
8104 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8105 then
8106 OPENAL_LIBS="-framework OpenAL"
8109 cat >>confdefs.h <<_ACEOF
8110 #define HAVE_OPENAL 1
8111 _ACEOF
8113 ac_cv_lib_openal=yes
8115 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8116 then
8117 OPENCL_LIBS="-framework OpenCL"
8119 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8121 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8122 then
8123 ac_save_LIBS="$LIBS"
8124 LIBS="$LIBS $IOKIT_LIBS"
8125 for ac_func in IOHIDManagerCreate
8126 do :
8127 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8128 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8129 cat >>confdefs.h <<_ACEOF
8130 #define HAVE_IOHIDMANAGERCREATE 1
8131 _ACEOF
8134 done
8136 LIBS="$ac_save_LIBS"
8138 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8139 then
8140 ac_save_LIBS="$LIBS"
8141 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8143 $as_echo_n "checking for the QuickTime framework... " >&6; }
8144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8145 /* end confdefs.h. */
8146 #include <QuickTime/ImageCompression.h>
8148 main ()
8150 CodecManagerVersion(NULL);
8152 return 0;
8154 _ACEOF
8155 if ac_fn_c_try_link "$LINENO"; then :
8156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8157 $as_echo "yes" >&6; }
8158 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8160 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8161 else
8162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8163 $as_echo "no" >&6; }
8164 ac_cv_header_QuickTime_ImageCompression_h=no
8166 rm -f core conftest.err conftest.$ac_objext \
8167 conftest$ac_exeext conftest.$ac_ext
8168 LIBS="$ac_save_LIBS"
8170 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8171 then
8172 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8174 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8175 then
8176 CARBON_LIBS="-framework Carbon"
8180 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8181 then
8182 ac_save_LIBS="$LIBS"
8183 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8184 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8185 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8186 enable_winemac_drv=${enable_winemac_drv:-yes}
8189 LIBS="$ac_save_LIBS"
8192 if test "x$enable_win16" = "xyes"
8193 then
8194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8195 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8196 if test "$cross_compiling" = yes; then :
8197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8198 $as_echo "cross-compiling, assuming yes" >&6; }
8199 else
8200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8201 /* end confdefs.h. */
8202 asm(".text\n"
8203 "bad:\tnop;nop\n"
8204 "good:\tnop;nop\n\t"
8205 ".globl _testfunc\n"
8206 "_testfunc:\tcallw good");
8207 extern void testfunc();
8209 main ()
8211 unsigned short *p = (unsigned short *)testfunc;
8212 return p[0] != 0xe866 || p[1] != 0xfffa
8214 return 0;
8216 _ACEOF
8217 if ac_fn_c_try_run "$LINENO"; then :
8218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8219 $as_echo "yes" >&6; }
8220 else
8221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8222 $as_echo "no" >&6; }
8223 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
8225 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8226 conftest.$ac_objext conftest.beam conftest.$ac_ext
8231 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8233 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8235 LIBWINE_INSTALL_DEV="libwine.dylib"
8237 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8239 WINELOADER_DEPENDS="wine_info.plist"
8243 linux-android*)
8244 DLLFLAGS="$DLLFLAGS -fPIC"
8245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8246 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8247 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8248 $as_echo_n "(cached) " >&6
8249 else
8250 ac_wine_try_cflags_saved=$CFLAGS
8251 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
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 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8258 else
8259 ac_cv_cflags__fPIC__Wl___export_dynamic=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 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8266 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8267 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8268 LDEXECFLAGS="-Wl,--export-dynamic"
8270 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8272 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8273 if eval \${$as_ac_var+:} false; then :
8274 $as_echo_n "(cached) " >&6
8275 else
8276 ac_wine_try_cflags_saved=$CFLAGS
8277 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8279 /* end confdefs.h. */
8280 int main(int argc, char **argv) { return 0; }
8281 _ACEOF
8282 if ac_fn_c_try_link "$LINENO"; then :
8283 eval "$as_ac_var=yes"
8284 else
8285 eval "$as_ac_var=no"
8287 rm -f core conftest.err conftest.$ac_objext \
8288 conftest$ac_exeext conftest.$ac_ext
8289 CFLAGS=$ac_wine_try_cflags_saved
8291 eval ac_res=\$$as_ac_var
8292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8293 $as_echo "$ac_res" >&6; }
8294 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8295 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8296 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8297 else
8298 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8300 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8301 if eval \${$as_ac_var+:} false; then :
8302 $as_echo_n "(cached) " >&6
8303 else
8304 ac_wine_try_cflags_saved=$CFLAGS
8305 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
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 eval "$as_ac_var=yes"
8312 else
8313 eval "$as_ac_var=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 eval ac_res=\$$as_ac_var
8320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8321 $as_echo "$ac_res" >&6; }
8322 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8323 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8324 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8329 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8330 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8331 $as_echo_n "(cached) " >&6
8332 else
8333 ac_wine_try_cflags_saved=$CFLAGS
8334 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8336 /* end confdefs.h. */
8337 int main(int argc, char **argv) { return 0; }
8338 _ACEOF
8339 if ac_fn_c_try_link "$LINENO"; then :
8340 ac_cv_cflags__Wl___enable_new_dtags=yes
8341 else
8342 ac_cv_cflags__Wl___enable_new_dtags=no
8344 rm -f core conftest.err conftest.$ac_objext \
8345 conftest$ac_exeext conftest.$ac_ext
8346 CFLAGS=$ac_wine_try_cflags_saved
8348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8349 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8350 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8351 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8354 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8355 if ${ac_cv_cflags__Wl__pie+:} false; then :
8356 $as_echo_n "(cached) " >&6
8357 else
8358 ac_wine_try_cflags_saved=$CFLAGS
8359 CFLAGS="$CFLAGS -Wl,-pie"
8360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8361 /* end confdefs.h. */
8362 int main(int argc, char **argv) { return 0; }
8363 _ACEOF
8364 if ac_fn_c_try_link "$LINENO"; then :
8365 ac_cv_cflags__Wl__pie=yes
8366 else
8367 ac_cv_cflags__Wl__pie=no
8369 rm -f core conftest.err conftest.$ac_objext \
8370 conftest$ac_exeext conftest.$ac_ext
8371 CFLAGS=$ac_wine_try_cflags_saved
8373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8374 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8375 if test "x$ac_cv_cflags__Wl__pie" = xyes; then :
8376 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,-pie"
8379 LIBWINE_SHAREDLIB="libwine.so"
8381 LIBWINE_INSTALL_LIB="libwine.so"
8383 LIBWINE_LDFLAGS="-shared"
8388 DLLFLAGS="$DLLFLAGS -fPIC"
8389 LDEXECFLAGS=""
8390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8391 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8392 if ${ac_cv_c_dll_gnuelf+:} false; then :
8393 $as_echo_n "(cached) " >&6
8394 else
8395 ac_wine_try_cflags_saved=$CFLAGS
8396 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8398 /* end confdefs.h. */
8399 void myfunc() {}
8400 _ACEOF
8401 if ac_fn_c_try_link "$LINENO"; then :
8402 ac_cv_c_dll_gnuelf="yes"
8403 else
8404 ac_cv_c_dll_gnuelf="no"
8406 rm -f core conftest.err conftest.$ac_objext \
8407 conftest$ac_exeext conftest.$ac_ext
8408 CFLAGS=$ac_wine_try_cflags_saved
8410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8411 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8412 if test "$ac_cv_c_dll_gnuelf" = "yes"
8413 then
8414 LIBWINE_LDFLAGS="-shared"
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8416 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8417 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8418 $as_echo_n "(cached) " >&6
8419 else
8420 ac_wine_try_cflags_saved=$CFLAGS
8421 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8423 /* end confdefs.h. */
8424 int main(int argc, char **argv) { return 0; }
8425 _ACEOF
8426 if ac_fn_c_try_link "$LINENO"; then :
8427 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8428 else
8429 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8431 rm -f core conftest.err conftest.$ac_objext \
8432 conftest$ac_exeext conftest.$ac_ext
8433 CFLAGS=$ac_wine_try_cflags_saved
8435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8436 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8437 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8438 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8439 else
8440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8441 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8442 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8443 $as_echo_n "(cached) " >&6
8444 else
8445 ac_wine_try_cflags_saved=$CFLAGS
8446 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8448 /* end confdefs.h. */
8449 int main(int argc, char **argv) { return 0; }
8450 _ACEOF
8451 if ac_fn_c_try_link "$LINENO"; then :
8452 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8453 else
8454 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8456 rm -f core conftest.err conftest.$ac_objext \
8457 conftest$ac_exeext conftest.$ac_ext
8458 CFLAGS=$ac_wine_try_cflags_saved
8460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8461 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8462 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8463 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8467 echo '{ global: *; };' >conftest.map
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8469 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8470 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8471 $as_echo_n "(cached) " >&6
8472 else
8473 ac_wine_try_cflags_saved=$CFLAGS
8474 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
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 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8481 else
8482 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=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 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8489 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8490 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8491 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8493 rm -f conftest.map
8495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8496 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8497 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8498 $as_echo_n "(cached) " >&6
8499 else
8500 ac_wine_try_cflags_saved=$CFLAGS
8501 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8503 /* end confdefs.h. */
8504 int main(int argc, char **argv) { return 0; }
8505 _ACEOF
8506 if ac_fn_c_try_link "$LINENO"; then :
8507 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8508 else
8509 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8511 rm -f core conftest.err conftest.$ac_objext \
8512 conftest$ac_exeext conftest.$ac_ext
8513 CFLAGS=$ac_wine_try_cflags_saved
8515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8516 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8517 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8518 LDEXECFLAGS="-Wl,--export-dynamic"
8521 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8523 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8524 if eval \${$as_ac_var+:} false; then :
8525 $as_echo_n "(cached) " >&6
8526 else
8527 ac_wine_try_cflags_saved=$CFLAGS
8528 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8530 /* end confdefs.h. */
8531 int main(int argc, char **argv) { return 0; }
8532 _ACEOF
8533 if ac_fn_c_try_link "$LINENO"; then :
8534 eval "$as_ac_var=yes"
8535 else
8536 eval "$as_ac_var=no"
8538 rm -f core conftest.err conftest.$ac_objext \
8539 conftest$ac_exeext conftest.$ac_ext
8540 CFLAGS=$ac_wine_try_cflags_saved
8542 eval ac_res=\$$as_ac_var
8543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8544 $as_echo "$ac_res" >&6; }
8545 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8546 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8547 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8548 else
8549 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8551 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8552 if eval \${$as_ac_var+:} false; then :
8553 $as_echo_n "(cached) " >&6
8554 else
8555 ac_wine_try_cflags_saved=$CFLAGS
8556 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8558 /* end confdefs.h. */
8559 int main(int argc, char **argv) { return 0; }
8560 _ACEOF
8561 if ac_fn_c_try_link "$LINENO"; then :
8562 eval "$as_ac_var=yes"
8563 else
8564 eval "$as_ac_var=no"
8566 rm -f core conftest.err conftest.$ac_objext \
8567 conftest$ac_exeext conftest.$ac_ext
8568 CFLAGS=$ac_wine_try_cflags_saved
8570 eval ac_res=\$$as_ac_var
8571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8572 $as_echo "$ac_res" >&6; }
8573 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8574 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8575 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8580 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8581 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8582 $as_echo_n "(cached) " >&6
8583 else
8584 ac_wine_try_cflags_saved=$CFLAGS
8585 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8587 /* end confdefs.h. */
8588 int main(int argc, char **argv) { return 0; }
8589 _ACEOF
8590 if ac_fn_c_try_link "$LINENO"; then :
8591 ac_cv_cflags__Wl___enable_new_dtags=yes
8592 else
8593 ac_cv_cflags__Wl___enable_new_dtags=no
8595 rm -f core conftest.err conftest.$ac_objext \
8596 conftest$ac_exeext conftest.$ac_ext
8597 CFLAGS=$ac_wine_try_cflags_saved
8599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8600 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8601 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8602 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8605 case $host_cpu in
8606 *i[3456789]86* | x86_64)
8607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8608 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8609 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8610 $as_echo_n "(cached) " >&6
8611 else
8612 ac_wine_try_cflags_saved=$CFLAGS
8613 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8615 /* end confdefs.h. */
8616 int main(int argc, char **argv) { return 0; }
8617 _ACEOF
8618 if ac_fn_c_try_link "$LINENO"; then :
8619 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8620 else
8621 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8623 rm -f core conftest.err conftest.$ac_objext \
8624 conftest$ac_exeext conftest.$ac_ext
8625 CFLAGS=$ac_wine_try_cflags_saved
8627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8628 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8629 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8630 case $host_os in
8631 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8632 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8633 esac
8634 else
8635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8636 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8637 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8638 $as_echo_n "(cached) " >&6
8639 else
8640 ac_wine_try_cflags_saved=$CFLAGS
8641 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8643 /* end confdefs.h. */
8644 int main(int argc, char **argv) { return 0; }
8645 _ACEOF
8646 if ac_fn_c_try_link "$LINENO"; then :
8647 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8648 else
8649 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8651 rm -f core conftest.err conftest.$ac_objext \
8652 conftest$ac_exeext conftest.$ac_ext
8653 CFLAGS=$ac_wine_try_cflags_saved
8655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8656 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8657 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8658 case $host_os in
8659 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8660 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8661 esac
8663 # Extract the first word of "prelink", so it can be a program name with args.
8664 set dummy prelink; ac_word=$2
8665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8666 $as_echo_n "checking for $ac_word... " >&6; }
8667 if ${ac_cv_path_PRELINK+:} false; then :
8668 $as_echo_n "(cached) " >&6
8669 else
8670 case $PRELINK in
8671 [\\/]* | ?:[\\/]*)
8672 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8676 for as_dir in /sbin /usr/sbin $PATH
8678 IFS=$as_save_IFS
8679 test -z "$as_dir" && as_dir=.
8680 for ac_exec_ext in '' $ac_executable_extensions; do
8681 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8682 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8683 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8684 break 2
8686 done
8687 done
8688 IFS=$as_save_IFS
8690 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8692 esac
8694 PRELINK=$ac_cv_path_PRELINK
8695 if test -n "$PRELINK"; then
8696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8697 $as_echo "$PRELINK" >&6; }
8698 else
8699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8700 $as_echo "no" >&6; }
8704 if test "x$PRELINK" = xfalse
8705 then
8706 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8710 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8711 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8712 $as_echo_n "(cached) " >&6
8713 else
8714 ac_wine_try_cflags_saved=$CFLAGS
8715 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8717 /* end confdefs.h. */
8718 int main(int argc, char **argv) { return 0; }
8719 _ACEOF
8720 if ac_fn_c_try_link "$LINENO"; then :
8721 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8722 else
8723 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8725 rm -f core conftest.err conftest.$ac_objext \
8726 conftest$ac_exeext conftest.$ac_ext
8727 CFLAGS=$ac_wine_try_cflags_saved
8729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8730 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8731 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8732 LDEXECFLAGS="$LDEXECFLAGS -Wl,-z,max-page-size=0x1000"
8735 esac
8737 else
8738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8739 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8740 if ${ac_cv_c_dll_unixware+:} false; then :
8741 $as_echo_n "(cached) " >&6
8742 else
8743 ac_wine_try_cflags_saved=$CFLAGS
8744 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8746 /* end confdefs.h. */
8747 void myfunc() {}
8748 _ACEOF
8749 if ac_fn_c_try_link "$LINENO"; then :
8750 ac_cv_c_dll_unixware="yes"
8751 else
8752 ac_cv_c_dll_unixware="no"
8754 rm -f core conftest.err conftest.$ac_objext \
8755 conftest$ac_exeext conftest.$ac_ext
8756 CFLAGS=$ac_wine_try_cflags_saved
8758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8759 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8760 if test "$ac_cv_c_dll_unixware" = "yes"
8761 then
8762 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8765 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8767 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8769 LIBWINE_INSTALL_DEV="libwine.so"
8771 LIBWINE_DEPENDS="wine.map"
8774 esac
8776 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8777 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8778 enable_winemac_drv=${enable_winemac_drv:-no}
8779 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8781 CROSSTARGET=""
8783 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8784 then
8785 case "$host_cpu" in
8786 arm*)
8787 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8788 i[3456789]86*)
8789 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
8790 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8791 mingw32-gcc" ;;
8792 x86_64)
8793 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
8794 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8796 ac_prefix_list="" ;;
8797 esac
8798 for ac_prog in $ac_prefix_list
8800 # Extract the first word of "$ac_prog", so it can be a program name with args.
8801 set dummy $ac_prog; ac_word=$2
8802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8803 $as_echo_n "checking for $ac_word... " >&6; }
8804 if ${ac_cv_prog_CROSSCC+:} false; then :
8805 $as_echo_n "(cached) " >&6
8806 else
8807 if test -n "$CROSSCC"; then
8808 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8809 else
8810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8811 for as_dir in $PATH
8813 IFS=$as_save_IFS
8814 test -z "$as_dir" && as_dir=.
8815 for ac_exec_ext in '' $ac_executable_extensions; do
8816 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8817 ac_cv_prog_CROSSCC="$ac_prog"
8818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8819 break 2
8821 done
8822 done
8823 IFS=$as_save_IFS
8827 CROSSCC=$ac_cv_prog_CROSSCC
8828 if test -n "$CROSSCC"; then
8829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8830 $as_echo "$CROSSCC" >&6; }
8831 else
8832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8833 $as_echo "no" >&6; }
8837 test -n "$CROSSCC" && break
8838 done
8839 test -n "$CROSSCC" || CROSSCC="false"
8841 if test "$CROSSCC" != "false"
8842 then
8843 ac_save_CC="$CC"
8844 CC="$CROSSCC"
8845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8846 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8848 /* end confdefs.h. */
8851 main ()
8855 return 0;
8857 _ACEOF
8858 if ac_fn_c_try_compile "$LINENO"; then :
8859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8860 $as_echo "yes" >&6; }
8861 set x $CROSSCC
8862 shift
8863 while test $# -ge 1
8865 case "$1" in
8866 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8867 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8868 esac
8869 shift
8870 done
8871 else
8872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8873 $as_echo "no" >&6; }
8875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8876 CC="$ac_save_CC"
8881 if test "$ac_cv_header_pthread_h" = "yes"
8882 then
8883 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8884 if test "x$ac_cv_func_pthread_create" = xyes; then :
8886 else
8887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8888 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8889 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8890 $as_echo_n "(cached) " >&6
8891 else
8892 ac_check_lib_save_LIBS=$LIBS
8893 LIBS="-lpthread $LIBS"
8894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8895 /* end confdefs.h. */
8897 /* Override any GCC internal prototype to avoid an error.
8898 Use char because int might match the return type of a GCC
8899 builtin and then its argument prototype would still apply. */
8900 #ifdef __cplusplus
8901 extern "C"
8902 #endif
8903 char pthread_create ();
8905 main ()
8907 return pthread_create ();
8909 return 0;
8911 _ACEOF
8912 if ac_fn_c_try_link "$LINENO"; then :
8913 ac_cv_lib_pthread_pthread_create=yes
8914 else
8915 ac_cv_lib_pthread_pthread_create=no
8917 rm -f core conftest.err conftest.$ac_objext \
8918 conftest$ac_exeext conftest.$ac_ext
8919 LIBS=$ac_check_lib_save_LIBS
8921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8922 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8923 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8924 PTHREAD_LIBS="-lpthread"
8931 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8932 case "x$with_pthread" in
8933 xno) ;;
8934 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8935 Wine cannot support threads without libpthread.
8936 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8937 esac
8942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8943 $as_echo_n "checking for X... " >&6; }
8946 # Check whether --with-x was given.
8947 if test "${with_x+set}" = set; then :
8948 withval=$with_x;
8951 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8952 if test "x$with_x" = xno; then
8953 # The user explicitly disabled X.
8954 have_x=disabled
8955 else
8956 case $x_includes,$x_libraries in #(
8957 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8958 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8959 $as_echo_n "(cached) " >&6
8960 else
8961 # One or both of the vars are not set, and there is no cached value.
8962 ac_x_includes=no ac_x_libraries=no
8963 rm -f -r conftest.dir
8964 if mkdir conftest.dir; then
8965 cd conftest.dir
8966 cat >Imakefile <<'_ACEOF'
8967 incroot:
8968 @echo incroot='${INCROOT}'
8969 usrlibdir:
8970 @echo usrlibdir='${USRLIBDIR}'
8971 libdir:
8972 @echo libdir='${LIBDIR}'
8973 _ACEOF
8974 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8975 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8976 for ac_var in incroot usrlibdir libdir; do
8977 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8978 done
8979 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8980 for ac_extension in a so sl dylib la dll; do
8981 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8982 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8983 ac_im_usrlibdir=$ac_im_libdir; break
8985 done
8986 # Screen out bogus values from the imake configuration. They are
8987 # bogus both because they are the default anyway, and because
8988 # using them would break gcc on systems where it needs fixed includes.
8989 case $ac_im_incroot in
8990 /usr/include) ac_x_includes= ;;
8991 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8992 esac
8993 case $ac_im_usrlibdir in
8994 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8995 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8996 esac
8998 cd ..
8999 rm -f -r conftest.dir
9002 # Standard set of common directories for X headers.
9003 # Check X11 before X11Rn because it is often a symlink to the current release.
9004 ac_x_header_dirs='
9005 /usr/X11/include
9006 /usr/X11R7/include
9007 /usr/X11R6/include
9008 /usr/X11R5/include
9009 /usr/X11R4/include
9011 /usr/include/X11
9012 /usr/include/X11R7
9013 /usr/include/X11R6
9014 /usr/include/X11R5
9015 /usr/include/X11R4
9017 /usr/local/X11/include
9018 /usr/local/X11R7/include
9019 /usr/local/X11R6/include
9020 /usr/local/X11R5/include
9021 /usr/local/X11R4/include
9023 /usr/local/include/X11
9024 /usr/local/include/X11R7
9025 /usr/local/include/X11R6
9026 /usr/local/include/X11R5
9027 /usr/local/include/X11R4
9029 /usr/X386/include
9030 /usr/x386/include
9031 /usr/XFree86/include/X11
9033 /usr/include
9034 /usr/local/include
9035 /usr/unsupported/include
9036 /usr/athena/include
9037 /usr/local/x11r5/include
9038 /usr/lpp/Xamples/include
9040 /usr/openwin/include
9041 /usr/openwin/share/include'
9043 if test "$ac_x_includes" = no; then
9044 # Guess where to find include files, by looking for Xlib.h.
9045 # First, try using that file with no special directory specified.
9046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9047 /* end confdefs.h. */
9048 #include <X11/Xlib.h>
9049 _ACEOF
9050 if ac_fn_c_try_cpp "$LINENO"; then :
9051 # We can compile using X headers with no special include directory.
9052 ac_x_includes=
9053 else
9054 for ac_dir in $ac_x_header_dirs; do
9055 if test -r "$ac_dir/X11/Xlib.h"; then
9056 ac_x_includes=$ac_dir
9057 break
9059 done
9061 rm -f conftest.err conftest.i conftest.$ac_ext
9062 fi # $ac_x_includes = no
9064 if test "$ac_x_libraries" = no; then
9065 # Check for the libraries.
9066 # See if we find them without any special options.
9067 # Don't add to $LIBS permanently.
9068 ac_save_LIBS=$LIBS
9069 LIBS="-lX11 $LIBS"
9070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9071 /* end confdefs.h. */
9072 #include <X11/Xlib.h>
9074 main ()
9076 XrmInitialize ()
9078 return 0;
9080 _ACEOF
9081 if ac_fn_c_try_link "$LINENO"; then :
9082 LIBS=$ac_save_LIBS
9083 # We can link X programs with no special library path.
9084 ac_x_libraries=
9085 else
9086 LIBS=$ac_save_LIBS
9087 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9089 # Don't even attempt the hair of trying to link an X program!
9090 for ac_extension in a so sl dylib la dll; do
9091 if test -r "$ac_dir/libX11.$ac_extension"; then
9092 ac_x_libraries=$ac_dir
9093 break 2
9095 done
9096 done
9098 rm -f core conftest.err conftest.$ac_objext \
9099 conftest$ac_exeext conftest.$ac_ext
9100 fi # $ac_x_libraries = no
9102 case $ac_x_includes,$ac_x_libraries in #(
9103 no,* | *,no | *\'*)
9104 # Didn't find X, or a directory has "'" in its name.
9105 ac_cv_have_x="have_x=no";; #(
9107 # Record where we found X for the cache.
9108 ac_cv_have_x="have_x=yes\
9109 ac_x_includes='$ac_x_includes'\
9110 ac_x_libraries='$ac_x_libraries'"
9111 esac
9113 ;; #(
9114 *) have_x=yes;;
9115 esac
9116 eval "$ac_cv_have_x"
9117 fi # $with_x != no
9119 if test "$have_x" != yes; then
9120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9121 $as_echo "$have_x" >&6; }
9122 no_x=yes
9123 else
9124 # If each of the values was on the command line, it overrides each guess.
9125 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9126 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9127 # Update the cache value to reflect the command line values.
9128 ac_cv_have_x="have_x=yes\
9129 ac_x_includes='$x_includes'\
9130 ac_x_libraries='$x_libraries'"
9131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9132 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9135 if test "$no_x" = yes; then
9136 # Not all programs may use this symbol, but it does not hurt to define it.
9138 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9140 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9141 else
9142 if test -n "$x_includes"; then
9143 X_CFLAGS="$X_CFLAGS -I$x_includes"
9146 # It would also be nice to do this for all -L options, not just this one.
9147 if test -n "$x_libraries"; then
9148 X_LIBS="$X_LIBS -L$x_libraries"
9149 # For Solaris; some versions of Sun CC require a space after -R and
9150 # others require no space. Words are not sufficient . . . .
9151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9152 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9153 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9154 ac_xsave_c_werror_flag=$ac_c_werror_flag
9155 ac_c_werror_flag=yes
9156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9157 /* end confdefs.h. */
9160 main ()
9164 return 0;
9166 _ACEOF
9167 if ac_fn_c_try_link "$LINENO"; then :
9168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9169 $as_echo "no" >&6; }
9170 X_LIBS="$X_LIBS -R$x_libraries"
9171 else
9172 LIBS="$ac_xsave_LIBS -R $x_libraries"
9173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9174 /* end confdefs.h. */
9177 main ()
9181 return 0;
9183 _ACEOF
9184 if ac_fn_c_try_link "$LINENO"; then :
9185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9186 $as_echo "yes" >&6; }
9187 X_LIBS="$X_LIBS -R $x_libraries"
9188 else
9189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9190 $as_echo "neither works" >&6; }
9192 rm -f core conftest.err conftest.$ac_objext \
9193 conftest$ac_exeext conftest.$ac_ext
9195 rm -f core conftest.err conftest.$ac_objext \
9196 conftest$ac_exeext conftest.$ac_ext
9197 ac_c_werror_flag=$ac_xsave_c_werror_flag
9198 LIBS=$ac_xsave_LIBS
9201 # Check for system-dependent libraries X programs must link with.
9202 # Do this before checking for the system-independent R6 libraries
9203 # (-lICE), since we may need -lsocket or whatever for X linking.
9205 if test "$ISC" = yes; then
9206 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9207 else
9208 # Martyn Johnson says this is needed for Ultrix, if the X
9209 # libraries were built with DECnet support. And Karl Berry says
9210 # the Alpha needs dnet_stub (dnet does not exist).
9211 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9213 /* end confdefs.h. */
9215 /* Override any GCC internal prototype to avoid an error.
9216 Use char because int might match the return type of a GCC
9217 builtin and then its argument prototype would still apply. */
9218 #ifdef __cplusplus
9219 extern "C"
9220 #endif
9221 char XOpenDisplay ();
9223 main ()
9225 return XOpenDisplay ();
9227 return 0;
9229 _ACEOF
9230 if ac_fn_c_try_link "$LINENO"; then :
9232 else
9233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9234 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9235 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9236 $as_echo_n "(cached) " >&6
9237 else
9238 ac_check_lib_save_LIBS=$LIBS
9239 LIBS="-ldnet $LIBS"
9240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9241 /* end confdefs.h. */
9243 /* Override any GCC internal prototype to avoid an error.
9244 Use char because int might match the return type of a GCC
9245 builtin and then its argument prototype would still apply. */
9246 #ifdef __cplusplus
9247 extern "C"
9248 #endif
9249 char dnet_ntoa ();
9251 main ()
9253 return dnet_ntoa ();
9255 return 0;
9257 _ACEOF
9258 if ac_fn_c_try_link "$LINENO"; then :
9259 ac_cv_lib_dnet_dnet_ntoa=yes
9260 else
9261 ac_cv_lib_dnet_dnet_ntoa=no
9263 rm -f core conftest.err conftest.$ac_objext \
9264 conftest$ac_exeext conftest.$ac_ext
9265 LIBS=$ac_check_lib_save_LIBS
9267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9268 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9269 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9270 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9273 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9275 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9276 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9277 $as_echo_n "(cached) " >&6
9278 else
9279 ac_check_lib_save_LIBS=$LIBS
9280 LIBS="-ldnet_stub $LIBS"
9281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9282 /* end confdefs.h. */
9284 /* Override any GCC internal prototype to avoid an error.
9285 Use char because int might match the return type of a GCC
9286 builtin and then its argument prototype would still apply. */
9287 #ifdef __cplusplus
9288 extern "C"
9289 #endif
9290 char dnet_ntoa ();
9292 main ()
9294 return dnet_ntoa ();
9296 return 0;
9298 _ACEOF
9299 if ac_fn_c_try_link "$LINENO"; then :
9300 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9301 else
9302 ac_cv_lib_dnet_stub_dnet_ntoa=no
9304 rm -f core conftest.err conftest.$ac_objext \
9305 conftest$ac_exeext conftest.$ac_ext
9306 LIBS=$ac_check_lib_save_LIBS
9308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9309 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9310 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9311 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9316 rm -f core conftest.err conftest.$ac_objext \
9317 conftest$ac_exeext conftest.$ac_ext
9318 LIBS="$ac_xsave_LIBS"
9320 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9321 # to get the SysV transport functions.
9322 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9323 # needs -lnsl.
9324 # The nsl library prevents programs from opening the X display
9325 # on Irix 5.2, according to T.E. Dickey.
9326 # The functions gethostbyname, getservbyname, and inet_addr are
9327 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9328 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9329 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9333 if test $ac_cv_func_gethostbyname = no; then
9334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9335 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9336 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9337 $as_echo_n "(cached) " >&6
9338 else
9339 ac_check_lib_save_LIBS=$LIBS
9340 LIBS="-lnsl $LIBS"
9341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9342 /* end confdefs.h. */
9344 /* Override any GCC internal prototype to avoid an error.
9345 Use char because int might match the return type of a GCC
9346 builtin and then its argument prototype would still apply. */
9347 #ifdef __cplusplus
9348 extern "C"
9349 #endif
9350 char gethostbyname ();
9352 main ()
9354 return gethostbyname ();
9356 return 0;
9358 _ACEOF
9359 if ac_fn_c_try_link "$LINENO"; then :
9360 ac_cv_lib_nsl_gethostbyname=yes
9361 else
9362 ac_cv_lib_nsl_gethostbyname=no
9364 rm -f core conftest.err conftest.$ac_objext \
9365 conftest$ac_exeext conftest.$ac_ext
9366 LIBS=$ac_check_lib_save_LIBS
9368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9369 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9370 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9371 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9374 if test $ac_cv_lib_nsl_gethostbyname = no; then
9375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9376 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9377 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9378 $as_echo_n "(cached) " >&6
9379 else
9380 ac_check_lib_save_LIBS=$LIBS
9381 LIBS="-lbsd $LIBS"
9382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9383 /* end confdefs.h. */
9385 /* Override any GCC internal prototype to avoid an error.
9386 Use char because int might match the return type of a GCC
9387 builtin and then its argument prototype would still apply. */
9388 #ifdef __cplusplus
9389 extern "C"
9390 #endif
9391 char gethostbyname ();
9393 main ()
9395 return gethostbyname ();
9397 return 0;
9399 _ACEOF
9400 if ac_fn_c_try_link "$LINENO"; then :
9401 ac_cv_lib_bsd_gethostbyname=yes
9402 else
9403 ac_cv_lib_bsd_gethostbyname=no
9405 rm -f core conftest.err conftest.$ac_objext \
9406 conftest$ac_exeext conftest.$ac_ext
9407 LIBS=$ac_check_lib_save_LIBS
9409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9410 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9411 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9412 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9418 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9419 # socket/setsockopt and other routines are undefined under SCO ODT
9420 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9421 # on later versions), says Simon Leinen: it contains gethostby*
9422 # variants that don't use the name server (or something). -lsocket
9423 # must be given before -lnsl if both are needed. We assume that
9424 # if connect needs -lnsl, so does gethostbyname.
9425 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9426 if test "x$ac_cv_func_connect" = xyes; then :
9430 if test $ac_cv_func_connect = no; then
9431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9432 $as_echo_n "checking for connect in -lsocket... " >&6; }
9433 if ${ac_cv_lib_socket_connect+:} false; then :
9434 $as_echo_n "(cached) " >&6
9435 else
9436 ac_check_lib_save_LIBS=$LIBS
9437 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9439 /* end confdefs.h. */
9441 /* Override any GCC internal prototype to avoid an error.
9442 Use char because int might match the return type of a GCC
9443 builtin and then its argument prototype would still apply. */
9444 #ifdef __cplusplus
9445 extern "C"
9446 #endif
9447 char connect ();
9449 main ()
9451 return connect ();
9453 return 0;
9455 _ACEOF
9456 if ac_fn_c_try_link "$LINENO"; then :
9457 ac_cv_lib_socket_connect=yes
9458 else
9459 ac_cv_lib_socket_connect=no
9461 rm -f core conftest.err conftest.$ac_objext \
9462 conftest$ac_exeext conftest.$ac_ext
9463 LIBS=$ac_check_lib_save_LIBS
9465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9466 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9467 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9468 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9473 # Guillermo Gomez says -lposix is necessary on A/UX.
9474 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9475 if test "x$ac_cv_func_remove" = xyes; then :
9479 if test $ac_cv_func_remove = no; then
9480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9481 $as_echo_n "checking for remove in -lposix... " >&6; }
9482 if ${ac_cv_lib_posix_remove+:} false; then :
9483 $as_echo_n "(cached) " >&6
9484 else
9485 ac_check_lib_save_LIBS=$LIBS
9486 LIBS="-lposix $LIBS"
9487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9488 /* end confdefs.h. */
9490 /* Override any GCC internal prototype to avoid an error.
9491 Use char because int might match the return type of a GCC
9492 builtin and then its argument prototype would still apply. */
9493 #ifdef __cplusplus
9494 extern "C"
9495 #endif
9496 char remove ();
9498 main ()
9500 return remove ();
9502 return 0;
9504 _ACEOF
9505 if ac_fn_c_try_link "$LINENO"; then :
9506 ac_cv_lib_posix_remove=yes
9507 else
9508 ac_cv_lib_posix_remove=no
9510 rm -f core conftest.err conftest.$ac_objext \
9511 conftest$ac_exeext conftest.$ac_ext
9512 LIBS=$ac_check_lib_save_LIBS
9514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9515 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9516 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9517 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9522 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9523 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9524 if test "x$ac_cv_func_shmat" = xyes; then :
9528 if test $ac_cv_func_shmat = no; then
9529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9530 $as_echo_n "checking for shmat in -lipc... " >&6; }
9531 if ${ac_cv_lib_ipc_shmat+:} false; then :
9532 $as_echo_n "(cached) " >&6
9533 else
9534 ac_check_lib_save_LIBS=$LIBS
9535 LIBS="-lipc $LIBS"
9536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9537 /* end confdefs.h. */
9539 /* Override any GCC internal prototype to avoid an error.
9540 Use char because int might match the return type of a GCC
9541 builtin and then its argument prototype would still apply. */
9542 #ifdef __cplusplus
9543 extern "C"
9544 #endif
9545 char shmat ();
9547 main ()
9549 return shmat ();
9551 return 0;
9553 _ACEOF
9554 if ac_fn_c_try_link "$LINENO"; then :
9555 ac_cv_lib_ipc_shmat=yes
9556 else
9557 ac_cv_lib_ipc_shmat=no
9559 rm -f core conftest.err conftest.$ac_objext \
9560 conftest$ac_exeext conftest.$ac_ext
9561 LIBS=$ac_check_lib_save_LIBS
9563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9564 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9565 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9566 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9572 # Check for libraries that X11R6 Xt/Xaw programs need.
9573 ac_save_LDFLAGS=$LDFLAGS
9574 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9575 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9576 # check for ICE first), but we must link in the order -lSM -lICE or
9577 # we get undefined symbols. So assume we have SM if we have ICE.
9578 # These have to be linked with before -lX11, unlike the other
9579 # libraries we check for below, so use a different variable.
9580 # John Interrante, Karl Berry
9581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9582 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9583 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9584 $as_echo_n "(cached) " >&6
9585 else
9586 ac_check_lib_save_LIBS=$LIBS
9587 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9589 /* end confdefs.h. */
9591 /* Override any GCC internal prototype to avoid an error.
9592 Use char because int might match the return type of a GCC
9593 builtin and then its argument prototype would still apply. */
9594 #ifdef __cplusplus
9595 extern "C"
9596 #endif
9597 char IceConnectionNumber ();
9599 main ()
9601 return IceConnectionNumber ();
9603 return 0;
9605 _ACEOF
9606 if ac_fn_c_try_link "$LINENO"; then :
9607 ac_cv_lib_ICE_IceConnectionNumber=yes
9608 else
9609 ac_cv_lib_ICE_IceConnectionNumber=no
9611 rm -f core conftest.err conftest.$ac_objext \
9612 conftest$ac_exeext conftest.$ac_ext
9613 LIBS=$ac_check_lib_save_LIBS
9615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9616 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9617 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9618 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9621 LDFLAGS=$ac_save_LDFLAGS
9626 if test "$have_x" = "yes"
9627 then
9628 ac_save_CPPFLAGS="$CPPFLAGS"
9629 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9632 $as_echo_n "checking for -lX11... " >&6; }
9633 if ${ac_cv_lib_soname_X11+:} false; then :
9634 $as_echo_n "(cached) " >&6
9635 else
9636 ac_check_soname_save_LIBS=$LIBS
9637 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9639 /* end confdefs.h. */
9641 /* Override any GCC internal prototype to avoid an error.
9642 Use char because int might match the return type of a GCC
9643 builtin and then its argument prototype would still apply. */
9644 #ifdef __cplusplus
9645 extern "C"
9646 #endif
9647 char XCreateWindow ();
9649 main ()
9651 return XCreateWindow ();
9653 return 0;
9655 _ACEOF
9656 if ac_fn_c_try_link "$LINENO"; then :
9657 case "$LIBEXT" in
9658 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9659 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'` ;;
9660 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9661 if ${ac_cv_lib_soname_X11:+false} :; then :
9662 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9663 fi ;;
9664 esac
9666 rm -f core conftest.err conftest.$ac_objext \
9667 conftest$ac_exeext conftest.$ac_ext
9668 LIBS=$ac_check_soname_save_LIBS
9670 if ${ac_cv_lib_soname_X11:+false} :; then :
9671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9672 $as_echo "not found" >&6; }
9674 else
9675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9676 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9678 cat >>confdefs.h <<_ACEOF
9679 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9680 _ACEOF
9684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9685 $as_echo_n "checking for -lXext... " >&6; }
9686 if ${ac_cv_lib_soname_Xext+:} false; then :
9687 $as_echo_n "(cached) " >&6
9688 else
9689 ac_check_soname_save_LIBS=$LIBS
9690 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9692 /* end confdefs.h. */
9694 /* Override any GCC internal prototype to avoid an error.
9695 Use char because int might match the return type of a GCC
9696 builtin and then its argument prototype would still apply. */
9697 #ifdef __cplusplus
9698 extern "C"
9699 #endif
9700 char XextCreateExtension ();
9702 main ()
9704 return XextCreateExtension ();
9706 return 0;
9708 _ACEOF
9709 if ac_fn_c_try_link "$LINENO"; then :
9710 case "$LIBEXT" in
9711 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9712 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'` ;;
9713 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9714 if ${ac_cv_lib_soname_Xext:+false} :; then :
9715 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9716 fi ;;
9717 esac
9719 rm -f core conftest.err conftest.$ac_objext \
9720 conftest$ac_exeext conftest.$ac_ext
9721 LIBS=$ac_check_soname_save_LIBS
9723 if ${ac_cv_lib_soname_Xext:+false} :; then :
9724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9725 $as_echo "not found" >&6; }
9727 else
9728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9729 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9731 cat >>confdefs.h <<_ACEOF
9732 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9733 _ACEOF
9735 X_LIBS="$X_LIBS -lXext"
9737 X_LIBS="$X_LIBS -lX11"
9739 for ac_header in X11/Xlib.h \
9740 X11/XKBlib.h \
9741 X11/Xutil.h \
9742 X11/Xcursor/Xcursor.h \
9743 X11/extensions/shape.h \
9744 X11/extensions/XInput.h \
9745 X11/extensions/XInput2.h \
9746 X11/extensions/XShm.h \
9747 X11/extensions/Xcomposite.h \
9748 X11/extensions/Xinerama.h \
9749 X11/extensions/Xrandr.h \
9750 X11/extensions/Xrender.h \
9751 X11/extensions/xf86vmode.h \
9752 X11/extensions/xf86vmproto.h
9753 do :
9754 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9755 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9756 # include <X11/Xlib.h>
9757 #endif
9758 #ifdef HAVE_X11_XUTIL_H
9759 # include <X11/Xutil.h>
9760 #endif
9762 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9763 cat >>confdefs.h <<_ACEOF
9764 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9765 _ACEOF
9769 done
9772 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9773 then
9774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9775 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9776 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9777 $as_echo_n "(cached) " >&6
9778 else
9779 ac_check_lib_save_LIBS=$LIBS
9780 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9782 /* end confdefs.h. */
9784 /* Override any GCC internal prototype to avoid an error.
9785 Use char because int might match the return type of a GCC
9786 builtin and then its argument prototype would still apply. */
9787 #ifdef __cplusplus
9788 extern "C"
9789 #endif
9790 char XkbQueryExtension ();
9792 main ()
9794 return XkbQueryExtension ();
9796 return 0;
9798 _ACEOF
9799 if ac_fn_c_try_link "$LINENO"; then :
9800 ac_cv_lib_X11_XkbQueryExtension=yes
9801 else
9802 ac_cv_lib_X11_XkbQueryExtension=no
9804 rm -f core conftest.err conftest.$ac_objext \
9805 conftest$ac_exeext conftest.$ac_ext
9806 LIBS=$ac_check_lib_save_LIBS
9808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9809 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9810 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9812 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9818 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9819 then
9820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9821 $as_echo_n "checking for -lXcursor... " >&6; }
9822 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9823 $as_echo_n "(cached) " >&6
9824 else
9825 ac_check_soname_save_LIBS=$LIBS
9826 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9828 /* end confdefs.h. */
9830 /* Override any GCC internal prototype to avoid an error.
9831 Use char because int might match the return type of a GCC
9832 builtin and then its argument prototype would still apply. */
9833 #ifdef __cplusplus
9834 extern "C"
9835 #endif
9836 char XcursorImageLoadCursor ();
9838 main ()
9840 return XcursorImageLoadCursor ();
9842 return 0;
9844 _ACEOF
9845 if ac_fn_c_try_link "$LINENO"; then :
9846 case "$LIBEXT" in
9847 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9848 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'` ;;
9849 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9850 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9851 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9852 fi ;;
9853 esac
9855 rm -f core conftest.err conftest.$ac_objext \
9856 conftest$ac_exeext conftest.$ac_ext
9857 LIBS=$ac_check_soname_save_LIBS
9859 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9861 $as_echo "not found" >&6; }
9863 else
9864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9865 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9867 cat >>confdefs.h <<_ACEOF
9868 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9869 _ACEOF
9874 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9875 case "x$with_xcursor" in
9876 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9877 xno) ;;
9878 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9879 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9880 esac
9884 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9885 then
9886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9887 $as_echo_n "checking for -lXi... " >&6; }
9888 if ${ac_cv_lib_soname_Xi+:} false; then :
9889 $as_echo_n "(cached) " >&6
9890 else
9891 ac_check_soname_save_LIBS=$LIBS
9892 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9894 /* end confdefs.h. */
9896 /* Override any GCC internal prototype to avoid an error.
9897 Use char because int might match the return type of a GCC
9898 builtin and then its argument prototype would still apply. */
9899 #ifdef __cplusplus
9900 extern "C"
9901 #endif
9902 char XOpenDevice ();
9904 main ()
9906 return XOpenDevice ();
9908 return 0;
9910 _ACEOF
9911 if ac_fn_c_try_link "$LINENO"; then :
9912 case "$LIBEXT" in
9913 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9914 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'` ;;
9915 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9916 if ${ac_cv_lib_soname_Xi:+false} :; then :
9917 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9918 fi ;;
9919 esac
9921 rm -f core conftest.err conftest.$ac_objext \
9922 conftest$ac_exeext conftest.$ac_ext
9923 LIBS=$ac_check_soname_save_LIBS
9925 if ${ac_cv_lib_soname_Xi:+false} :; then :
9926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9927 $as_echo "not found" >&6; }
9929 else
9930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9931 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9933 cat >>confdefs.h <<_ACEOF
9934 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9935 _ACEOF
9940 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9941 case "x$with_xinput" in
9942 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9943 xno) ;;
9944 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9945 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9946 esac
9950 if test "x$ac_cv_lib_soname_Xi" != x
9951 then
9952 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9953 case "x$with_xinput2" in
9954 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9955 xno) ;;
9956 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9957 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9958 esac
9963 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9964 then
9965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9966 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9967 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9968 $as_echo_n "(cached) " >&6
9969 else
9970 ac_check_lib_save_LIBS=$LIBS
9971 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9973 /* end confdefs.h. */
9975 /* Override any GCC internal prototype to avoid an error.
9976 Use char because int might match the return type of a GCC
9977 builtin and then its argument prototype would still apply. */
9978 #ifdef __cplusplus
9979 extern "C"
9980 #endif
9981 char XShmQueryExtension ();
9983 main ()
9985 return XShmQueryExtension ();
9987 return 0;
9989 _ACEOF
9990 if ac_fn_c_try_link "$LINENO"; then :
9991 ac_cv_lib_Xext_XShmQueryExtension=yes
9992 else
9993 ac_cv_lib_Xext_XShmQueryExtension=no
9995 rm -f core conftest.err conftest.$ac_objext \
9996 conftest$ac_exeext conftest.$ac_ext
9997 LIBS=$ac_check_lib_save_LIBS
9999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10000 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10001 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10003 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10008 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10009 case "x$with_xshm" in
10010 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10011 xno) ;;
10012 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10013 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10014 esac
10018 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10019 then
10020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10021 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10022 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10023 $as_echo_n "(cached) " >&6
10024 else
10025 ac_check_lib_save_LIBS=$LIBS
10026 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10028 /* end confdefs.h. */
10030 /* Override any GCC internal prototype to avoid an error.
10031 Use char because int might match the return type of a GCC
10032 builtin and then its argument prototype would still apply. */
10033 #ifdef __cplusplus
10034 extern "C"
10035 #endif
10036 char XShapeQueryExtension ();
10038 main ()
10040 return XShapeQueryExtension ();
10042 return 0;
10044 _ACEOF
10045 if ac_fn_c_try_link "$LINENO"; then :
10046 ac_cv_lib_Xext_XShapeQueryExtension=yes
10047 else
10048 ac_cv_lib_Xext_XShapeQueryExtension=no
10050 rm -f core conftest.err conftest.$ac_objext \
10051 conftest$ac_exeext conftest.$ac_ext
10052 LIBS=$ac_check_lib_save_LIBS
10054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10055 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10056 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10058 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10063 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10064 case "x$with_xshape" in
10065 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10066 xno) ;;
10067 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10068 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10069 esac
10073 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10074 then
10075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10076 $as_echo_n "checking for -lXxf86vm... " >&6; }
10077 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10078 $as_echo_n "(cached) " >&6
10079 else
10080 ac_check_soname_save_LIBS=$LIBS
10081 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10083 /* end confdefs.h. */
10085 /* Override any GCC internal prototype to avoid an error.
10086 Use char because int might match the return type of a GCC
10087 builtin and then its argument prototype would still apply. */
10088 #ifdef __cplusplus
10089 extern "C"
10090 #endif
10091 char XF86VidModeQueryExtension ();
10093 main ()
10095 return XF86VidModeQueryExtension ();
10097 return 0;
10099 _ACEOF
10100 if ac_fn_c_try_link "$LINENO"; then :
10101 case "$LIBEXT" in
10102 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10103 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'` ;;
10104 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10105 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10106 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10107 fi ;;
10108 esac
10110 rm -f core conftest.err conftest.$ac_objext \
10111 conftest$ac_exeext conftest.$ac_ext
10112 LIBS=$ac_check_soname_save_LIBS
10114 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10116 $as_echo "not found" >&6; }
10118 else
10119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10120 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10122 cat >>confdefs.h <<_ACEOF
10123 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10124 _ACEOF
10129 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10130 case "x$with_xxf86vm" in
10131 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10132 xno) ;;
10133 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10134 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10135 esac
10139 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10140 then
10141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10142 $as_echo_n "checking for -lXrender... " >&6; }
10143 if ${ac_cv_lib_soname_Xrender+:} false; then :
10144 $as_echo_n "(cached) " >&6
10145 else
10146 ac_check_soname_save_LIBS=$LIBS
10147 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10149 /* end confdefs.h. */
10151 /* Override any GCC internal prototype to avoid an error.
10152 Use char because int might match the return type of a GCC
10153 builtin and then its argument prototype would still apply. */
10154 #ifdef __cplusplus
10155 extern "C"
10156 #endif
10157 char XRenderQueryExtension ();
10159 main ()
10161 return XRenderQueryExtension ();
10163 return 0;
10165 _ACEOF
10166 if ac_fn_c_try_link "$LINENO"; then :
10167 case "$LIBEXT" in
10168 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10169 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'` ;;
10170 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10171 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10172 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10173 fi ;;
10174 esac
10176 rm -f core conftest.err conftest.$ac_objext \
10177 conftest$ac_exeext conftest.$ac_ext
10178 LIBS=$ac_check_soname_save_LIBS
10180 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10182 $as_echo "not found" >&6; }
10184 else
10185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10186 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10188 cat >>confdefs.h <<_ACEOF
10189 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10190 _ACEOF
10192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10193 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10194 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10195 $as_echo_n "(cached) " >&6
10196 else
10197 ac_check_lib_save_LIBS=$LIBS
10198 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10200 /* end confdefs.h. */
10202 /* Override any GCC internal prototype to avoid an error.
10203 Use char because int might match the return type of a GCC
10204 builtin and then its argument prototype would still apply. */
10205 #ifdef __cplusplus
10206 extern "C"
10207 #endif
10208 char XRenderSetPictureTransform ();
10210 main ()
10212 return XRenderSetPictureTransform ();
10214 return 0;
10216 _ACEOF
10217 if ac_fn_c_try_link "$LINENO"; then :
10218 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10219 else
10220 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10222 rm -f core conftest.err conftest.$ac_objext \
10223 conftest$ac_exeext conftest.$ac_ext
10224 LIBS=$ac_check_lib_save_LIBS
10226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10227 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10228 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10230 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10235 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10236 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10237 $as_echo_n "(cached) " >&6
10238 else
10239 ac_check_lib_save_LIBS=$LIBS
10240 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10242 /* end confdefs.h. */
10244 /* Override any GCC internal prototype to avoid an error.
10245 Use char because int might match the return type of a GCC
10246 builtin and then its argument prototype would still apply. */
10247 #ifdef __cplusplus
10248 extern "C"
10249 #endif
10250 char XRenderCreateLinearGradient ();
10252 main ()
10254 return XRenderCreateLinearGradient ();
10256 return 0;
10258 _ACEOF
10259 if ac_fn_c_try_link "$LINENO"; then :
10260 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10261 else
10262 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10264 rm -f core conftest.err conftest.$ac_objext \
10265 conftest$ac_exeext conftest.$ac_ext
10266 LIBS=$ac_check_lib_save_LIBS
10268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10269 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10270 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10272 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10279 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10280 case "x$with_xrender" in
10281 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10282 xno) ;;
10283 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10284 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10285 esac
10289 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10290 then
10291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10292 /* end confdefs.h. */
10293 #include <X11/Xlib.h>
10294 #include <X11/extensions/Xrandr.h>
10296 main ()
10298 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10300 return 0;
10302 _ACEOF
10303 if ac_fn_c_try_compile "$LINENO"; then :
10304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10305 $as_echo_n "checking for -lXrandr... " >&6; }
10306 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10307 $as_echo_n "(cached) " >&6
10308 else
10309 ac_check_soname_save_LIBS=$LIBS
10310 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10312 /* end confdefs.h. */
10314 /* Override any GCC internal prototype to avoid an error.
10315 Use char because int might match the return type of a GCC
10316 builtin and then its argument prototype would still apply. */
10317 #ifdef __cplusplus
10318 extern "C"
10319 #endif
10320 char XRRQueryExtension ();
10322 main ()
10324 return XRRQueryExtension ();
10326 return 0;
10328 _ACEOF
10329 if ac_fn_c_try_link "$LINENO"; then :
10330 case "$LIBEXT" in
10331 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10332 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'` ;;
10333 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10334 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10335 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10336 fi ;;
10337 esac
10339 rm -f core conftest.err conftest.$ac_objext \
10340 conftest$ac_exeext conftest.$ac_ext
10341 LIBS=$ac_check_soname_save_LIBS
10343 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10345 $as_echo "not found" >&6; }
10347 else
10348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10349 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10351 cat >>confdefs.h <<_ACEOF
10352 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10353 _ACEOF
10355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10356 /* end confdefs.h. */
10357 #include <X11/Xlib.h>
10358 #include <X11/extensions/Xrandr.h>
10360 main ()
10362 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10364 return 0;
10366 _ACEOF
10367 if ac_fn_c_try_compile "$LINENO"; then :
10369 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10377 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10378 case "x$with_xrandr" in
10379 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10380 xno) ;;
10381 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10382 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10383 esac
10387 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10388 then
10389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10390 /* end confdefs.h. */
10391 #include <X11/Xlib.h>
10392 #include <X11/extensions/Xinerama.h>
10394 main ()
10396 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10398 return 0;
10400 _ACEOF
10401 if ac_fn_c_try_compile "$LINENO"; then :
10402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10403 $as_echo_n "checking for -lXinerama... " >&6; }
10404 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10405 $as_echo_n "(cached) " >&6
10406 else
10407 ac_check_soname_save_LIBS=$LIBS
10408 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10410 /* end confdefs.h. */
10412 /* Override any GCC internal prototype to avoid an error.
10413 Use char because int might match the return type of a GCC
10414 builtin and then its argument prototype would still apply. */
10415 #ifdef __cplusplus
10416 extern "C"
10417 #endif
10418 char XineramaQueryScreens ();
10420 main ()
10422 return XineramaQueryScreens ();
10424 return 0;
10426 _ACEOF
10427 if ac_fn_c_try_link "$LINENO"; then :
10428 case "$LIBEXT" in
10429 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10430 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'` ;;
10431 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10432 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10433 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10434 fi ;;
10435 esac
10437 rm -f core conftest.err conftest.$ac_objext \
10438 conftest$ac_exeext conftest.$ac_ext
10439 LIBS=$ac_check_soname_save_LIBS
10441 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10443 $as_echo "not found" >&6; }
10445 else
10446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10447 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10449 cat >>confdefs.h <<_ACEOF
10450 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10451 _ACEOF
10456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10458 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10459 case "x$with_xinerama" in
10460 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10461 xno) ;;
10462 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10463 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10464 esac
10468 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10469 then
10470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10471 $as_echo_n "checking for -lXcomposite... " >&6; }
10472 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10473 $as_echo_n "(cached) " >&6
10474 else
10475 ac_check_soname_save_LIBS=$LIBS
10476 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10478 /* end confdefs.h. */
10480 /* Override any GCC internal prototype to avoid an error.
10481 Use char because int might match the return type of a GCC
10482 builtin and then its argument prototype would still apply. */
10483 #ifdef __cplusplus
10484 extern "C"
10485 #endif
10486 char XCompositeRedirectWindow ();
10488 main ()
10490 return XCompositeRedirectWindow ();
10492 return 0;
10494 _ACEOF
10495 if ac_fn_c_try_link "$LINENO"; then :
10496 case "$LIBEXT" in
10497 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10498 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'` ;;
10499 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10500 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10501 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10502 fi ;;
10503 esac
10505 rm -f core conftest.err conftest.$ac_objext \
10506 conftest$ac_exeext conftest.$ac_ext
10507 LIBS=$ac_check_soname_save_LIBS
10509 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10511 $as_echo "not found" >&6; }
10513 else
10514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10515 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10517 cat >>confdefs.h <<_ACEOF
10518 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10519 _ACEOF
10524 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10525 case "x$with_xcomposite" in
10526 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10527 xno) ;;
10528 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10529 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10530 esac
10534 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10535 #include <X11/Xlib.h>
10536 #endif
10538 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10540 cat >>confdefs.h <<_ACEOF
10541 #define HAVE_XICCALLBACK_CALLBACK 1
10542 _ACEOF
10546 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10547 #include <X11/Xlib.h>
10548 #endif
10550 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10552 cat >>confdefs.h <<_ACEOF
10553 #define HAVE_XEVENT_XCOOKIE 1
10554 _ACEOF
10561 opengl_msg=""
10562 if test "x$with_opengl" != "xno"
10563 then
10564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10565 $as_echo_n "checking for -lGL... " >&6; }
10566 if ${ac_cv_lib_soname_GL+:} false; then :
10567 $as_echo_n "(cached) " >&6
10568 else
10569 ac_check_soname_save_LIBS=$LIBS
10570 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10572 /* end confdefs.h. */
10574 /* Override any GCC internal prototype to avoid an error.
10575 Use char because int might match the return type of a GCC
10576 builtin and then its argument prototype would still apply. */
10577 #ifdef __cplusplus
10578 extern "C"
10579 #endif
10580 char glXCreateContext ();
10582 main ()
10584 return glXCreateContext ();
10586 return 0;
10588 _ACEOF
10589 if ac_fn_c_try_link "$LINENO"; then :
10590 case "$LIBEXT" in
10591 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10592 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'` ;;
10593 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10594 if ${ac_cv_lib_soname_GL:+false} :; then :
10595 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10596 fi ;;
10597 esac
10599 rm -f core conftest.err conftest.$ac_objext \
10600 conftest$ac_exeext conftest.$ac_ext
10601 LIBS=$ac_check_soname_save_LIBS
10603 if ${ac_cv_lib_soname_GL:+false} :; then :
10604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10605 $as_echo "not found" >&6; }
10606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10607 $as_echo_n "checking for -lGL... " >&6; }
10608 if ${ac_cv_lib_soname_GL+:} false; then :
10609 $as_echo_n "(cached) " >&6
10610 else
10611 ac_check_soname_save_LIBS=$LIBS
10612 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"
10613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10614 /* end confdefs.h. */
10616 /* Override any GCC internal prototype to avoid an error.
10617 Use char because int might match the return type of a GCC
10618 builtin and then its argument prototype would still apply. */
10619 #ifdef __cplusplus
10620 extern "C"
10621 #endif
10622 char glXCreateContext ();
10624 main ()
10626 return glXCreateContext ();
10628 return 0;
10630 _ACEOF
10631 if ac_fn_c_try_link "$LINENO"; then :
10632 case "$LIBEXT" in
10633 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10634 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'` ;;
10635 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10636 if ${ac_cv_lib_soname_GL:+false} :; then :
10637 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10638 fi ;;
10639 esac
10641 rm -f core conftest.err conftest.$ac_objext \
10642 conftest$ac_exeext conftest.$ac_ext
10643 LIBS=$ac_check_soname_save_LIBS
10645 if ${ac_cv_lib_soname_GL:+false} :; then :
10646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10647 $as_echo "not found" >&6; }
10648 if test -f /usr/X11R6/lib/libGL.a
10649 then
10650 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10651 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10652 else
10653 opengl_msg="No OpenGL library found on this system."
10655 else
10656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10657 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10659 cat >>confdefs.h <<_ACEOF
10660 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10661 _ACEOF
10663 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"
10665 else
10666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10667 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10669 cat >>confdefs.h <<_ACEOF
10670 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10671 _ACEOF
10673 OPENGL_LIBS="-lGL"
10675 if test "x$with_glu" != "xno"
10676 then
10677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10678 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10679 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10680 $as_echo_n "(cached) " >&6
10681 else
10682 ac_check_lib_save_LIBS=$LIBS
10683 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10685 /* end confdefs.h. */
10687 /* Override any GCC internal prototype to avoid an error.
10688 Use char because int might match the return type of a GCC
10689 builtin and then its argument prototype would still apply. */
10690 #ifdef __cplusplus
10691 extern "C"
10692 #endif
10693 char gluLookAt ();
10695 main ()
10697 return gluLookAt ();
10699 return 0;
10701 _ACEOF
10702 if ac_fn_c_try_link "$LINENO"; then :
10703 ac_cv_lib_GLU_gluLookAt=yes
10704 else
10705 ac_cv_lib_GLU_gluLookAt=no
10707 rm -f core conftest.err conftest.$ac_objext \
10708 conftest$ac_exeext conftest.$ac_ext
10709 LIBS=$ac_check_lib_save_LIBS
10711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10712 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10713 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10717 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10718 case "x$with_glu" in
10719 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10720 xno) ;;
10721 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10722 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10723 esac
10728 if test "x$with_osmesa" != "xno"
10729 then
10730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10731 $as_echo_n "checking for -lOSMesa... " >&6; }
10732 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10733 $as_echo_n "(cached) " >&6
10734 else
10735 ac_check_soname_save_LIBS=$LIBS
10736 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10738 /* end confdefs.h. */
10740 /* Override any GCC internal prototype to avoid an error.
10741 Use char because int might match the return type of a GCC
10742 builtin and then its argument prototype would still apply. */
10743 #ifdef __cplusplus
10744 extern "C"
10745 #endif
10746 char glAccum ();
10748 main ()
10750 return glAccum ();
10752 return 0;
10754 _ACEOF
10755 if ac_fn_c_try_link "$LINENO"; then :
10756 case "$LIBEXT" in
10757 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10758 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'` ;;
10759 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10760 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10761 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10762 fi ;;
10763 esac
10765 rm -f core conftest.err conftest.$ac_objext \
10766 conftest$ac_exeext conftest.$ac_ext
10767 LIBS=$ac_check_soname_save_LIBS
10769 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10771 $as_echo "not found" >&6; }
10773 else
10774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10775 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10777 cat >>confdefs.h <<_ACEOF
10778 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10779 _ACEOF
10783 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10784 case "x$with_osmesa" in
10785 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10786 xno) ;;
10787 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10788 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10789 esac
10794 if test -n "$opengl_msg"; then :
10795 case "x$with_opengl" in
10796 x) as_fn_append wine_warnings "|$opengl_msg
10797 OpenGL and Direct3D won't be supported." ;;
10798 xno) ;;
10799 *) as_fn_error $? "$opengl_msg
10800 OpenGL and Direct3D won't be supported.
10801 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10802 esac
10806 CPPFLAGS="$ac_save_CPPFLAGS"
10807 else
10808 X_CFLAGS=""
10809 X_LIBS=""
10811 if test "x$X_LIBS" = "x"; then :
10812 case "x$with_x" in
10813 xno) ;;
10814 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10815 without X support, which probably isn't what you want. You will need
10816 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10817 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10818 esac
10819 enable_winex11_drv=${enable_winex11_drv:-no}
10822 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10824 if test "$ac_cv_header_CL_cl_h" = "yes"
10825 then
10826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10827 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10828 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10829 $as_echo_n "(cached) " >&6
10830 else
10831 ac_check_lib_save_LIBS=$LIBS
10832 LIBS="-lOpenCL $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 clGetPlatformInfo ();
10844 main ()
10846 return clGetPlatformInfo ();
10848 return 0;
10850 _ACEOF
10851 if ac_fn_c_try_link "$LINENO"; then :
10852 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10853 else
10854 ac_cv_lib_OpenCL_clGetPlatformInfo=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_OpenCL_clGetPlatformInfo" >&5
10861 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10862 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10863 OPENCL_LIBS="-lOpenCL"
10868 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10869 case "x$with_opencl" in
10870 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10871 xno) ;;
10872 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10873 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10874 esac
10875 enable_opencl=${enable_opencl:-no}
10878 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10879 then
10880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10881 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10882 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10883 $as_echo_n "(cached) " >&6
10884 else
10885 ac_check_lib_save_LIBS=$LIBS
10886 LIBS="-lpcap $LIBS"
10887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10888 /* end confdefs.h. */
10890 /* Override any GCC internal prototype to avoid an error.
10891 Use char because int might match the return type of a GCC
10892 builtin and then its argument prototype would still apply. */
10893 #ifdef __cplusplus
10894 extern "C"
10895 #endif
10896 char pcap_create ();
10898 main ()
10900 return pcap_create ();
10902 return 0;
10904 _ACEOF
10905 if ac_fn_c_try_link "$LINENO"; then :
10906 ac_cv_lib_pcap_pcap_create=yes
10907 else
10908 ac_cv_lib_pcap_pcap_create=no
10910 rm -f core conftest.err conftest.$ac_objext \
10911 conftest$ac_exeext conftest.$ac_ext
10912 LIBS=$ac_check_lib_save_LIBS
10914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10915 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10916 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10917 PCAP_LIBS="-lpcap"
10922 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10923 case "x$with_pcap" in
10924 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10925 xno) ;;
10926 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10927 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10928 esac
10929 enable_wpcap=${enable_wpcap:-no}
10933 if test "x$with_xml" != "xno"
10934 then
10935 if ${XML2_CFLAGS:+false} :; then :
10936 if ${PKG_CONFIG+:} false; then :
10937 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10940 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
10941 if ${XML2_LIBS:+false} :; then :
10942 if ${PKG_CONFIG+:} false; then :
10943 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10946 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
10947 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10948 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10949 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10950 ac_save_CPPFLAGS=$CPPFLAGS
10951 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10952 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10953 do :
10954 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10955 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10956 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10957 cat >>confdefs.h <<_ACEOF
10958 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10959 _ACEOF
10963 done
10965 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"
10966 then
10967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10968 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10969 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10970 $as_echo_n "(cached) " >&6
10971 else
10972 ac_check_lib_save_LIBS=$LIBS
10973 LIBS="-lxml2 $XML2_LIBS $LIBS"
10974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10975 /* end confdefs.h. */
10977 /* Override any GCC internal prototype to avoid an error.
10978 Use char because int might match the return type of a GCC
10979 builtin and then its argument prototype would still apply. */
10980 #ifdef __cplusplus
10981 extern "C"
10982 #endif
10983 char xmlParseMemory ();
10985 main ()
10987 return xmlParseMemory ();
10989 return 0;
10991 _ACEOF
10992 if ac_fn_c_try_link "$LINENO"; then :
10993 ac_cv_lib_xml2_xmlParseMemory=yes
10994 else
10995 ac_cv_lib_xml2_xmlParseMemory=no
10997 rm -f core conftest.err conftest.$ac_objext \
10998 conftest$ac_exeext conftest.$ac_ext
10999 LIBS=$ac_check_lib_save_LIBS
11001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11002 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11003 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11005 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11007 else
11008 XML2_LIBS=""
11011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11012 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11013 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11014 $as_echo_n "(cached) " >&6
11015 else
11016 ac_check_lib_save_LIBS=$LIBS
11017 LIBS="-lxml2 $XML2_LIBS $LIBS"
11018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11019 /* end confdefs.h. */
11021 /* Override any GCC internal prototype to avoid an error.
11022 Use char because int might match the return type of a GCC
11023 builtin and then its argument prototype would still apply. */
11024 #ifdef __cplusplus
11025 extern "C"
11026 #endif
11027 char xmlReadMemory ();
11029 main ()
11031 return xmlReadMemory ();
11033 return 0;
11035 _ACEOF
11036 if ac_fn_c_try_link "$LINENO"; then :
11037 ac_cv_lib_xml2_xmlReadMemory=yes
11038 else
11039 ac_cv_lib_xml2_xmlReadMemory=no
11041 rm -f core conftest.err conftest.$ac_objext \
11042 conftest$ac_exeext conftest.$ac_ext
11043 LIBS=$ac_check_lib_save_LIBS
11045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11046 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11047 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11049 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11054 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11055 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11056 $as_echo_n "(cached) " >&6
11057 else
11058 ac_check_lib_save_LIBS=$LIBS
11059 LIBS="-lxml2 $XML2_LIBS $LIBS"
11060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11061 /* end confdefs.h. */
11063 /* Override any GCC internal prototype to avoid an error.
11064 Use char because int might match the return type of a GCC
11065 builtin and then its argument prototype would still apply. */
11066 #ifdef __cplusplus
11067 extern "C"
11068 #endif
11069 char xmlNewDocPI ();
11071 main ()
11073 return xmlNewDocPI ();
11075 return 0;
11077 _ACEOF
11078 if ac_fn_c_try_link "$LINENO"; then :
11079 ac_cv_lib_xml2_xmlNewDocPI=yes
11080 else
11081 ac_cv_lib_xml2_xmlNewDocPI=no
11083 rm -f core conftest.err conftest.$ac_objext \
11084 conftest$ac_exeext conftest.$ac_ext
11085 LIBS=$ac_check_lib_save_LIBS
11087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11088 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11089 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11091 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11096 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11097 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11098 $as_echo_n "(cached) " >&6
11099 else
11100 ac_check_lib_save_LIBS=$LIBS
11101 LIBS="-lxml2 $XML2_LIBS $LIBS"
11102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11103 /* end confdefs.h. */
11105 /* Override any GCC internal prototype to avoid an error.
11106 Use char because int might match the return type of a GCC
11107 builtin and then its argument prototype would still apply. */
11108 #ifdef __cplusplus
11109 extern "C"
11110 #endif
11111 char xmlSchemaSetParserStructuredErrors ();
11113 main ()
11115 return xmlSchemaSetParserStructuredErrors ();
11117 return 0;
11119 _ACEOF
11120 if ac_fn_c_try_link "$LINENO"; then :
11121 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11122 else
11123 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11125 rm -f core conftest.err conftest.$ac_objext \
11126 conftest$ac_exeext conftest.$ac_ext
11127 LIBS=$ac_check_lib_save_LIBS
11129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11130 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11131 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11133 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11138 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11139 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11140 $as_echo_n "(cached) " >&6
11141 else
11142 ac_check_lib_save_LIBS=$LIBS
11143 LIBS="-lxml2 $XML2_LIBS $LIBS"
11144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11145 /* end confdefs.h. */
11147 /* Override any GCC internal prototype to avoid an error.
11148 Use char because int might match the return type of a GCC
11149 builtin and then its argument prototype would still apply. */
11150 #ifdef __cplusplus
11151 extern "C"
11152 #endif
11153 char xmlSchemaSetValidStructuredErrors ();
11155 main ()
11157 return xmlSchemaSetValidStructuredErrors ();
11159 return 0;
11161 _ACEOF
11162 if ac_fn_c_try_link "$LINENO"; then :
11163 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11164 else
11165 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11167 rm -f core conftest.err conftest.$ac_objext \
11168 conftest$ac_exeext conftest.$ac_ext
11169 LIBS=$ac_check_lib_save_LIBS
11171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11172 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11173 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11175 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11180 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11181 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11182 $as_echo_n "(cached) " >&6
11183 else
11184 ac_check_lib_save_LIBS=$LIBS
11185 LIBS="-lxml2 $XML2_LIBS $LIBS"
11186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11187 /* end confdefs.h. */
11189 /* Override any GCC internal prototype to avoid an error.
11190 Use char because int might match the return type of a GCC
11191 builtin and then its argument prototype would still apply. */
11192 #ifdef __cplusplus
11193 extern "C"
11194 #endif
11195 char xmlFirstElementChild ();
11197 main ()
11199 return xmlFirstElementChild ();
11201 return 0;
11203 _ACEOF
11204 if ac_fn_c_try_link "$LINENO"; then :
11205 ac_cv_lib_xml2_xmlFirstElementChild=yes
11206 else
11207 ac_cv_lib_xml2_xmlFirstElementChild=no
11209 rm -f core conftest.err conftest.$ac_objext \
11210 conftest$ac_exeext conftest.$ac_ext
11211 LIBS=$ac_check_lib_save_LIBS
11213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11214 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11215 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11217 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11221 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11223 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11225 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11229 else
11230 XML2_CFLAGS=""
11231 XML2_LIBS=""
11233 CPPFLAGS=$ac_save_CPPFLAGS
11234 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11235 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11238 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11239 case "x$with_xml" in
11240 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11241 xno) ;;
11242 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11243 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11244 esac
11248 if test "x$with_xslt" != "xno"
11249 then
11250 if ${XSLT_CFLAGS:+false} :; then :
11251 if ${PKG_CONFIG+:} false; then :
11252 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11255 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11256 if ${XSLT_LIBS:+false} :; then :
11257 if ${PKG_CONFIG+:} false; then :
11258 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11261 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11262 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11263 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11264 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11265 ac_save_CPPFLAGS=$CPPFLAGS
11266 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11267 for ac_header in libxslt/pattern.h libxslt/transform.h
11268 do :
11269 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11270 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11271 # include <libxslt/pattern.h>
11272 #endif
11274 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11275 cat >>confdefs.h <<_ACEOF
11276 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11277 _ACEOF
11281 done
11283 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11284 then
11285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11286 $as_echo_n "checking for -lxslt... " >&6; }
11287 if ${ac_cv_lib_soname_xslt+:} false; then :
11288 $as_echo_n "(cached) " >&6
11289 else
11290 ac_check_soname_save_LIBS=$LIBS
11291 LIBS="-lxslt $XSLT_LIBS $LIBS"
11292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11293 /* end confdefs.h. */
11295 /* Override any GCC internal prototype to avoid an error.
11296 Use char because int might match the return type of a GCC
11297 builtin and then its argument prototype would still apply. */
11298 #ifdef __cplusplus
11299 extern "C"
11300 #endif
11301 char xsltCompilePattern ();
11303 main ()
11305 return xsltCompilePattern ();
11307 return 0;
11309 _ACEOF
11310 if ac_fn_c_try_link "$LINENO"; then :
11311 case "$LIBEXT" in
11312 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11313 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'` ;;
11314 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11315 if ${ac_cv_lib_soname_xslt:+false} :; then :
11316 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11317 fi ;;
11318 esac
11320 rm -f core conftest.err conftest.$ac_objext \
11321 conftest$ac_exeext conftest.$ac_ext
11322 LIBS=$ac_check_soname_save_LIBS
11324 if ${ac_cv_lib_soname_xslt:+false} :; then :
11325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11326 $as_echo "not found" >&6; }
11328 else
11329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11330 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11332 cat >>confdefs.h <<_ACEOF
11333 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11334 _ACEOF
11338 else
11339 XSLT_CFLAGS=""
11341 CPPFLAGS=$ac_save_CPPFLAGS
11342 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11343 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11346 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11347 case "x$with_xslt" in
11348 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11349 xno) ;;
11350 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11351 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11352 esac
11356 if test "x$with_dbus" != "xno"
11357 then
11358 if ${DBUS_CFLAGS:+false} :; then :
11359 if ${PKG_CONFIG+:} false; then :
11360 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11364 if ${DBUS_LIBS:+false} :; then :
11365 if ${PKG_CONFIG+:} false; then :
11366 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11371 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11372 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11373 ac_save_CPPFLAGS=$CPPFLAGS
11374 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11375 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11376 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11378 $as_echo_n "checking for -ldbus-1... " >&6; }
11379 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11380 $as_echo_n "(cached) " >&6
11381 else
11382 ac_check_soname_save_LIBS=$LIBS
11383 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11385 /* end confdefs.h. */
11387 /* Override any GCC internal prototype to avoid an error.
11388 Use char because int might match the return type of a GCC
11389 builtin and then its argument prototype would still apply. */
11390 #ifdef __cplusplus
11391 extern "C"
11392 #endif
11393 char dbus_connection_close ();
11395 main ()
11397 return dbus_connection_close ();
11399 return 0;
11401 _ACEOF
11402 if ac_fn_c_try_link "$LINENO"; then :
11403 case "$LIBEXT" in
11404 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11405 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'` ;;
11406 *) 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'`
11407 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11408 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11409 fi ;;
11410 esac
11412 rm -f core conftest.err conftest.$ac_objext \
11413 conftest$ac_exeext conftest.$ac_ext
11414 LIBS=$ac_check_soname_save_LIBS
11416 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11418 $as_echo "not found" >&6; }
11419 DBUS_CFLAGS=""
11420 else
11421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11422 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11424 cat >>confdefs.h <<_ACEOF
11425 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11426 _ACEOF
11430 else
11431 DBUS_CFLAGS=""
11435 CPPFLAGS=$ac_save_CPPFLAGS
11436 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11437 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11440 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11441 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11442 case "x$with_dbus" in
11443 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11444 xno) ;;
11445 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11446 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11447 esac
11451 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11452 then
11453 if ${HAL_CFLAGS:+false} :; then :
11454 if ${PKG_CONFIG+:} false; then :
11455 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11459 if ${HAL_LIBS:+false} :; then :
11460 if ${PKG_CONFIG+:} false; then :
11461 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11465 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11466 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11467 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11468 ac_save_CPPFLAGS=$CPPFLAGS
11469 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11470 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11471 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11473 $as_echo_n "checking for -lhal... " >&6; }
11474 if ${ac_cv_lib_soname_hal+:} false; then :
11475 $as_echo_n "(cached) " >&6
11476 else
11477 ac_check_soname_save_LIBS=$LIBS
11478 LIBS="-lhal $HAL_LIBS $LIBS"
11479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11480 /* end confdefs.h. */
11482 /* Override any GCC internal prototype to avoid an error.
11483 Use char because int might match the return type of a GCC
11484 builtin and then its argument prototype would still apply. */
11485 #ifdef __cplusplus
11486 extern "C"
11487 #endif
11488 char libhal_ctx_new ();
11490 main ()
11492 return libhal_ctx_new ();
11494 return 0;
11496 _ACEOF
11497 if ac_fn_c_try_link "$LINENO"; then :
11498 case "$LIBEXT" in
11499 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11500 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'` ;;
11501 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11502 if ${ac_cv_lib_soname_hal:+false} :; then :
11503 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11504 fi ;;
11505 esac
11507 rm -f core conftest.err conftest.$ac_objext \
11508 conftest$ac_exeext conftest.$ac_ext
11509 LIBS=$ac_check_soname_save_LIBS
11511 if ${ac_cv_lib_soname_hal:+false} :; then :
11512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11513 $as_echo "not found" >&6; }
11514 HAL_CFLAGS=""
11515 else
11516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11517 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11519 cat >>confdefs.h <<_ACEOF
11520 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11521 _ACEOF
11525 else
11526 HAL_CFLAGS=""
11530 CPPFLAGS=$ac_save_CPPFLAGS
11531 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11532 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11534 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11535 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11536 case "x$with_hal" in
11537 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11538 xno) ;;
11539 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11540 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11541 esac
11546 if test "x$with_gnutls" != "xno"
11547 then
11548 if ${GNUTLS_CFLAGS:+false} :; then :
11549 if ${PKG_CONFIG+:} false; then :
11550 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11554 if ${GNUTLS_LIBS:+false} :; then :
11555 if ${PKG_CONFIG+:} false; then :
11556 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11561 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11562 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11563 ac_save_CPPFLAGS=$CPPFLAGS
11564 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11565 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11566 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11568 /* end confdefs.h. */
11569 #include <gnutls/gnutls.h>
11570 #include <gnutls/crypto.h>
11572 main ()
11574 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11576 return 0;
11578 _ACEOF
11579 if ac_fn_c_try_compile "$LINENO"; then :
11580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11581 $as_echo_n "checking for -lgnutls... " >&6; }
11582 if ${ac_cv_lib_soname_gnutls+:} false; then :
11583 $as_echo_n "(cached) " >&6
11584 else
11585 ac_check_soname_save_LIBS=$LIBS
11586 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11588 /* end confdefs.h. */
11590 /* Override any GCC internal prototype to avoid an error.
11591 Use char because int might match the return type of a GCC
11592 builtin and then its argument prototype would still apply. */
11593 #ifdef __cplusplus
11594 extern "C"
11595 #endif
11596 char gnutls_global_init ();
11598 main ()
11600 return gnutls_global_init ();
11602 return 0;
11604 _ACEOF
11605 if ac_fn_c_try_link "$LINENO"; then :
11606 case "$LIBEXT" in
11607 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11608 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'` ;;
11609 *) 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'`
11610 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11611 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'`
11612 fi ;;
11613 esac
11615 rm -f core conftest.err conftest.$ac_objext \
11616 conftest$ac_exeext conftest.$ac_ext
11617 LIBS=$ac_check_soname_save_LIBS
11619 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11621 $as_echo "not found" >&6; }
11622 GNUTLS_CFLAGS=""
11623 else
11624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11625 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11627 cat >>confdefs.h <<_ACEOF
11628 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11629 _ACEOF
11633 ac_wine_check_funcs_save_LIBS="$LIBS"
11634 LIBS="$LIBS $GNUTLS_LIBS"
11635 for ac_func in gnutls_hash
11636 do :
11637 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11638 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11639 cat >>confdefs.h <<_ACEOF
11640 #define HAVE_GNUTLS_HASH 1
11641 _ACEOF
11643 else
11644 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11646 done
11648 LIBS="$ac_wine_check_funcs_save_LIBS"
11650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11651 else
11652 GNUTLS_CFLAGS=""
11656 CPPFLAGS=$ac_save_CPPFLAGS
11657 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11658 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11661 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11662 case "x$with_gnutls" in
11663 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11664 xno) ;;
11665 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11666 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11667 esac
11671 CURSES_LIBS=""
11672 if test "$ac_cv_header_ncurses_h" = "yes"
11673 then
11674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11675 $as_echo_n "checking for -lncurses... " >&6; }
11676 if ${ac_cv_lib_soname_ncurses+:} false; then :
11677 $as_echo_n "(cached) " >&6
11678 else
11679 ac_check_soname_save_LIBS=$LIBS
11680 LIBS="-lncurses $LIBS"
11681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11682 /* end confdefs.h. */
11684 /* Override any GCC internal prototype to avoid an error.
11685 Use char because int might match the return type of a GCC
11686 builtin and then its argument prototype would still apply. */
11687 #ifdef __cplusplus
11688 extern "C"
11689 #endif
11690 char waddch ();
11692 main ()
11694 return waddch ();
11696 return 0;
11698 _ACEOF
11699 if ac_fn_c_try_link "$LINENO"; then :
11700 case "$LIBEXT" in
11701 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11702 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'` ;;
11703 *) 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'`
11704 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11705 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11706 fi ;;
11707 esac
11709 rm -f core conftest.err conftest.$ac_objext \
11710 conftest$ac_exeext conftest.$ac_ext
11711 LIBS=$ac_check_soname_save_LIBS
11713 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11715 $as_echo "not found" >&6; }
11717 else
11718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11719 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11721 cat >>confdefs.h <<_ACEOF
11722 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11723 _ACEOF
11725 CURSES_LIBS="-lncurses"
11727 elif test "$ac_cv_header_curses_h" = "yes"
11728 then
11729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11730 $as_echo_n "checking for -lcurses... " >&6; }
11731 if ${ac_cv_lib_soname_curses+:} false; then :
11732 $as_echo_n "(cached) " >&6
11733 else
11734 ac_check_soname_save_LIBS=$LIBS
11735 LIBS="-lcurses $LIBS"
11736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11737 /* end confdefs.h. */
11739 /* Override any GCC internal prototype to avoid an error.
11740 Use char because int might match the return type of a GCC
11741 builtin and then its argument prototype would still apply. */
11742 #ifdef __cplusplus
11743 extern "C"
11744 #endif
11745 char waddch ();
11747 main ()
11749 return waddch ();
11751 return 0;
11753 _ACEOF
11754 if ac_fn_c_try_link "$LINENO"; then :
11755 case "$LIBEXT" in
11756 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11757 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'` ;;
11758 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11759 if ${ac_cv_lib_soname_curses:+false} :; then :
11760 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11761 fi ;;
11762 esac
11764 rm -f core conftest.err conftest.$ac_objext \
11765 conftest$ac_exeext conftest.$ac_ext
11766 LIBS=$ac_check_soname_save_LIBS
11768 if ${ac_cv_lib_soname_curses:+false} :; then :
11769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11770 $as_echo "not found" >&6; }
11772 else
11773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11774 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11776 cat >>confdefs.h <<_ACEOF
11777 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11778 _ACEOF
11780 CURSES_LIBS="-lcurses"
11783 ac_save_LIBS="$LIBS"
11784 LIBS="$LIBS $CURSES_LIBS"
11785 for ac_func in mousemask
11786 do :
11787 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11788 if test "x$ac_cv_func_mousemask" = xyes; then :
11789 cat >>confdefs.h <<_ACEOF
11790 #define HAVE_MOUSEMASK 1
11791 _ACEOF
11794 done
11796 LIBS="$ac_save_LIBS"
11797 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11798 case "x$with_curses" in
11799 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11800 xno) ;;
11801 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11802 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11803 esac
11807 if test "x$with_sane" != "xno"
11808 then
11809 if ${SANE_CFLAGS:+false} :; then :
11810 if ${PKG_CONFIG+:} false; then :
11811 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11814 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11815 if ${SANE_LIBS:+false} :; then :
11816 if ${PKG_CONFIG+:} false; then :
11817 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11820 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11822 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11823 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11824 ac_save_CPPFLAGS=$CPPFLAGS
11825 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11826 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11827 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11829 $as_echo_n "checking for -lsane... " >&6; }
11830 if ${ac_cv_lib_soname_sane+:} false; then :
11831 $as_echo_n "(cached) " >&6
11832 else
11833 ac_check_soname_save_LIBS=$LIBS
11834 LIBS="-lsane $SANE_LIBS $LIBS"
11835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11836 /* end confdefs.h. */
11838 /* Override any GCC internal prototype to avoid an error.
11839 Use char because int might match the return type of a GCC
11840 builtin and then its argument prototype would still apply. */
11841 #ifdef __cplusplus
11842 extern "C"
11843 #endif
11844 char sane_init ();
11846 main ()
11848 return sane_init ();
11850 return 0;
11852 _ACEOF
11853 if ac_fn_c_try_link "$LINENO"; then :
11854 case "$LIBEXT" in
11855 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11856 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'` ;;
11857 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11858 if ${ac_cv_lib_soname_sane:+false} :; then :
11859 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11860 fi ;;
11861 esac
11863 rm -f core conftest.err conftest.$ac_objext \
11864 conftest$ac_exeext conftest.$ac_ext
11865 LIBS=$ac_check_soname_save_LIBS
11867 if ${ac_cv_lib_soname_sane:+false} :; then :
11868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11869 $as_echo "not found" >&6; }
11870 SANE_CFLAGS=""
11871 else
11872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11873 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11875 cat >>confdefs.h <<_ACEOF
11876 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11877 _ACEOF
11881 else
11882 SANE_CFLAGS=""
11886 CPPFLAGS=$ac_save_CPPFLAGS
11887 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11888 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11891 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11892 case "x$with_sane" in
11893 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11894 xno) ;;
11895 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11896 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11897 esac
11901 if test "x$with_v4l" != "xno"
11902 then
11903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11904 $as_echo_n "checking for -lv4l1... " >&6; }
11905 if ${ac_cv_lib_soname_v4l1+:} false; then :
11906 $as_echo_n "(cached) " >&6
11907 else
11908 ac_check_soname_save_LIBS=$LIBS
11909 LIBS="-lv4l1 $LIBS"
11910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11911 /* end confdefs.h. */
11913 /* Override any GCC internal prototype to avoid an error.
11914 Use char because int might match the return type of a GCC
11915 builtin and then its argument prototype would still apply. */
11916 #ifdef __cplusplus
11917 extern "C"
11918 #endif
11919 char v4l1_open ();
11921 main ()
11923 return v4l1_open ();
11925 return 0;
11927 _ACEOF
11928 if ac_fn_c_try_link "$LINENO"; then :
11929 case "$LIBEXT" in
11930 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11931 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'` ;;
11932 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11933 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11934 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11935 fi ;;
11936 esac
11938 rm -f core conftest.err conftest.$ac_objext \
11939 conftest$ac_exeext conftest.$ac_ext
11940 LIBS=$ac_check_soname_save_LIBS
11942 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11944 $as_echo "not found" >&6; }
11946 else
11947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11948 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11950 cat >>confdefs.h <<_ACEOF
11951 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11952 _ACEOF
11957 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11958 case "x$with_v4l" in
11959 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11960 xno) ;;
11961 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11962 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11963 esac
11967 if test "x$with_gphoto" != "xno"
11968 then
11969 if ${GPHOTO2_CFLAGS:+false} :; then :
11970 if ${PKG_CONFIG+:} false; then :
11971 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11974 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
11975 if ${GPHOTO2_LIBS:+false} :; then :
11976 if ${PKG_CONFIG+:} false; then :
11977 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11980 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
11981 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11982 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11983 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11984 ac_save_CPPFLAGS=$CPPFLAGS
11985 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11986 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11987 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11989 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11990 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11991 $as_echo_n "(cached) " >&6
11992 else
11993 ac_check_lib_save_LIBS=$LIBS
11994 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11996 /* end confdefs.h. */
11998 /* Override any GCC internal prototype to avoid an error.
11999 Use char because int might match the return type of a GCC
12000 builtin and then its argument prototype would still apply. */
12001 #ifdef __cplusplus
12002 extern "C"
12003 #endif
12004 char gp_camera_new ();
12006 main ()
12008 return gp_camera_new ();
12010 return 0;
12012 _ACEOF
12013 if ac_fn_c_try_link "$LINENO"; then :
12014 ac_cv_lib_gphoto2_gp_camera_new=yes
12015 else
12016 ac_cv_lib_gphoto2_gp_camera_new=no
12018 rm -f core conftest.err conftest.$ac_objext \
12019 conftest$ac_exeext conftest.$ac_ext
12020 LIBS=$ac_check_lib_save_LIBS
12022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12023 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12024 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12026 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12028 else
12029 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12032 else
12033 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12037 CPPFLAGS=$ac_save_CPPFLAGS
12038 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12039 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12041 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12042 if ${PKG_CONFIG+:} false; then :
12043 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12046 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12047 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12048 if ${PKG_CONFIG+:} false; then :
12049 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12052 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12053 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12054 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12055 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12056 ac_save_CPPFLAGS=$CPPFLAGS
12057 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12058 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12059 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12061 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12062 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12063 $as_echo_n "(cached) " >&6
12064 else
12065 ac_check_lib_save_LIBS=$LIBS
12066 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12068 /* end confdefs.h. */
12070 /* Override any GCC internal prototype to avoid an error.
12071 Use char because int might match the return type of a GCC
12072 builtin and then its argument prototype would still apply. */
12073 #ifdef __cplusplus
12074 extern "C"
12075 #endif
12076 char gp_port_info_list_new ();
12078 main ()
12080 return gp_port_info_list_new ();
12082 return 0;
12084 _ACEOF
12085 if ac_fn_c_try_link "$LINENO"; then :
12086 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12087 else
12088 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12090 rm -f core conftest.err conftest.$ac_objext \
12091 conftest$ac_exeext conftest.$ac_ext
12092 LIBS=$ac_check_lib_save_LIBS
12094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12095 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12096 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12098 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12100 else
12101 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12104 else
12105 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12109 CPPFLAGS=$ac_save_CPPFLAGS
12110 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12111 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12114 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12115 case "x$with_gphoto" in
12116 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12117 xno) ;;
12118 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12119 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12120 esac
12123 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12124 case "x$with_gphoto" in
12125 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12126 xno) ;;
12127 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12128 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12129 esac
12134 if test "$ac_cv_header_resolv_h" = "yes"
12135 then
12136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12137 $as_echo_n "checking for resolver library... " >&6; }
12138 if ${ac_cv_have_resolv+:} false; then :
12139 $as_echo_n "(cached) " >&6
12140 else
12141 ac_save_LIBS="$LIBS"
12142 for lib in '' -lresolv
12144 LIBS="$lib $ac_save_LIBS"
12145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12146 /* end confdefs.h. */
12147 #ifdef HAVE_NETINET_IN_H
12148 #include <netinet/in.h>
12149 #endif
12150 #include <resolv.h>
12152 main ()
12154 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12156 return 0;
12158 _ACEOF
12159 if ac_fn_c_try_link "$LINENO"; then :
12160 ac_cv_have_resolv=${lib:-"none required"}
12161 else
12162 ac_cv_have_resolv="not found"
12164 rm -f core conftest.err conftest.$ac_objext \
12165 conftest$ac_exeext conftest.$ac_ext
12166 test "x$ac_cv_have_resolv" = "xnot found" || break
12167 done
12168 LIBS="$ac_save_LIBS"
12170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12171 $as_echo "$ac_cv_have_resolv" >&6; }
12173 case "$ac_cv_have_resolv" in
12174 "not found") ;;
12175 "none required")
12177 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12180 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12182 RESOLV_LIBS=$ac_cv_have_resolv
12184 esac
12187 if test "x$with_cms" != "xno"
12188 then
12189 if ${LCMS2_CFLAGS:+false} :; then :
12190 if ${PKG_CONFIG+:} false; then :
12191 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12195 if ${LCMS2_LIBS:+false} :; then :
12196 if ${PKG_CONFIG+:} false; then :
12197 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12201 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12202 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12203 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12204 ac_save_CPPFLAGS=$CPPFLAGS
12205 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12206 for ac_header in lcms2.h
12207 do :
12208 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12209 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12210 cat >>confdefs.h <<_ACEOF
12211 #define HAVE_LCMS2_H 1
12212 _ACEOF
12216 done
12218 if test "$ac_cv_header_lcms2_h" = "yes"
12219 then
12220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12221 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12222 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12223 $as_echo_n "(cached) " >&6
12224 else
12225 ac_check_lib_save_LIBS=$LIBS
12226 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12228 /* end confdefs.h. */
12230 /* Override any GCC internal prototype to avoid an error.
12231 Use char because int might match the return type of a GCC
12232 builtin and then its argument prototype would still apply. */
12233 #ifdef __cplusplus
12234 extern "C"
12235 #endif
12236 char cmsOpenProfileFromFile ();
12238 main ()
12240 return cmsOpenProfileFromFile ();
12242 return 0;
12244 _ACEOF
12245 if ac_fn_c_try_link "$LINENO"; then :
12246 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12247 else
12248 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12250 rm -f core conftest.err conftest.$ac_objext \
12251 conftest$ac_exeext conftest.$ac_ext
12252 LIBS=$ac_check_lib_save_LIBS
12254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12255 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12256 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12258 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12260 else
12261 LCMS2_LIBS=""
12264 else
12265 LCMS2_CFLAGS=""
12266 LCMS2_LIBS=""
12268 CPPFLAGS=$ac_save_CPPFLAGS
12269 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12270 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12273 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12274 case "x$with_cms" in
12275 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12276 xno) ;;
12277 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12278 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12279 esac
12283 if test "x$with_freetype" != "xno"
12284 then
12285 if ${FREETYPE_CFLAGS:+false} :; then :
12286 if ${PKG_CONFIG+:} false; then :
12287 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12290 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12291 if ${FREETYPE_LIBS:+false} :; then :
12292 if ${PKG_CONFIG+:} false; then :
12293 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12296 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12297 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12298 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12299 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12300 ac_save_CPPFLAGS=$CPPFLAGS
12301 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12302 for ac_header in ft2build.h
12303 do :
12304 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12305 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12306 cat >>confdefs.h <<_ACEOF
12307 #define HAVE_FT2BUILD_H 1
12308 _ACEOF
12312 done
12314 if test "$ac_cv_header_ft2build_h" = "yes"
12315 then
12316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12317 $as_echo_n "checking for -lfreetype... " >&6; }
12318 if ${ac_cv_lib_soname_freetype+:} false; then :
12319 $as_echo_n "(cached) " >&6
12320 else
12321 ac_check_soname_save_LIBS=$LIBS
12322 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12324 /* end confdefs.h. */
12326 /* Override any GCC internal prototype to avoid an error.
12327 Use char because int might match the return type of a GCC
12328 builtin and then its argument prototype would still apply. */
12329 #ifdef __cplusplus
12330 extern "C"
12331 #endif
12332 char FT_Init_FreeType ();
12334 main ()
12336 return FT_Init_FreeType ();
12338 return 0;
12340 _ACEOF
12341 if ac_fn_c_try_link "$LINENO"; then :
12342 case "$LIBEXT" in
12343 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12344 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'` ;;
12345 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12346 if ${ac_cv_lib_soname_freetype:+false} :; then :
12347 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12348 fi ;;
12349 esac
12351 rm -f core conftest.err conftest.$ac_objext \
12352 conftest$ac_exeext conftest.$ac_ext
12353 LIBS=$ac_check_soname_save_LIBS
12355 if ${ac_cv_lib_soname_freetype:+false} :; then :
12356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12357 $as_echo "not found" >&6; }
12358 FREETYPE_LIBS=""
12359 else
12360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12361 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12363 cat >>confdefs.h <<_ACEOF
12364 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12365 _ACEOF
12368 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12370 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12371 #include FT_MODULE_H
12373 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12375 cat >>confdefs.h <<_ACEOF
12376 #define HAVE_FT_TRUETYPEENGINETYPE 1
12377 _ACEOF
12383 else
12384 FREETYPE_CFLAGS=""
12385 FREETYPE_LIBS=""
12387 CPPFLAGS=$ac_save_CPPFLAGS
12388 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12389 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12392 if test "x$ac_cv_lib_soname_freetype" = x; then :
12393 case "x$with_freetype" in
12394 xno) ;;
12395 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12396 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12397 esac
12398 enable_fonts=${enable_fonts:-no}
12401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12402 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12403 if ${ac_cv_c_ppdev+:} false; then :
12404 $as_echo_n "(cached) " >&6
12405 else
12406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12407 /* end confdefs.h. */
12408 #ifdef HAVE_SYS_IOCTL_H
12409 # include <sys/ioctl.h>
12410 #endif
12411 #include <linux/ppdev.h>
12413 main ()
12415 ioctl (1,PPCLAIM,0)
12417 return 0;
12419 _ACEOF
12420 if ac_fn_c_try_compile "$LINENO"; then :
12421 ac_cv_c_ppdev="yes"
12422 else
12423 ac_cv_c_ppdev="no"
12425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12428 $as_echo "$ac_cv_c_ppdev" >&6; }
12429 if test "$ac_cv_c_ppdev" = "yes"
12430 then
12432 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12436 ac_wine_check_funcs_save_LIBS="$LIBS"
12437 LIBS="$LIBS $PTHREAD_LIBS"
12438 for ac_func in \
12439 pthread_attr_get_np \
12440 pthread_getattr_np \
12441 pthread_getthreadid_np \
12442 pthread_get_stackaddr_np \
12443 pthread_get_stacksize_np
12444 do :
12445 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12446 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12447 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12448 cat >>confdefs.h <<_ACEOF
12449 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12450 _ACEOF
12453 done
12455 LIBS="$ac_wine_check_funcs_save_LIBS"
12457 if test "$ac_cv_header_zlib_h" = "yes"
12458 then
12459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12460 $as_echo_n "checking for inflate in -lz... " >&6; }
12461 if ${ac_cv_lib_z_inflate+:} false; then :
12462 $as_echo_n "(cached) " >&6
12463 else
12464 ac_check_lib_save_LIBS=$LIBS
12465 LIBS="-lz $LIBS"
12466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12467 /* end confdefs.h. */
12469 /* Override any GCC internal prototype to avoid an error.
12470 Use char because int might match the return type of a GCC
12471 builtin and then its argument prototype would still apply. */
12472 #ifdef __cplusplus
12473 extern "C"
12474 #endif
12475 char inflate ();
12477 main ()
12479 return inflate ();
12481 return 0;
12483 _ACEOF
12484 if ac_fn_c_try_link "$LINENO"; then :
12485 ac_cv_lib_z_inflate=yes
12486 else
12487 ac_cv_lib_z_inflate=no
12489 rm -f core conftest.err conftest.$ac_objext \
12490 conftest$ac_exeext conftest.$ac_ext
12491 LIBS=$ac_check_lib_save_LIBS
12493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12494 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12495 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12497 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12499 Z_LIBS="-lz"
12504 if test "x$Z_LIBS" = "x"; then :
12505 case "x$with_zlib" in
12506 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12507 xno) ;;
12508 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12509 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12510 esac
12514 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12515 then
12516 if test "$ac_cv_header_gettext_po_h" = "yes"
12517 then
12518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12519 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12520 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12521 $as_echo_n "(cached) " >&6
12522 else
12523 ac_check_lib_save_LIBS=$LIBS
12524 LIBS="-lgettextpo $LIBS"
12525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12526 /* end confdefs.h. */
12528 /* Override any GCC internal prototype to avoid an error.
12529 Use char because int might match the return type of a GCC
12530 builtin and then its argument prototype would still apply. */
12531 #ifdef __cplusplus
12532 extern "C"
12533 #endif
12534 char po_message_msgctxt ();
12536 main ()
12538 return po_message_msgctxt ();
12540 return 0;
12542 _ACEOF
12543 if ac_fn_c_try_link "$LINENO"; then :
12544 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12545 else
12546 ac_cv_lib_gettextpo_po_message_msgctxt=no
12548 rm -f core conftest.err conftest.$ac_objext \
12549 conftest$ac_exeext conftest.$ac_ext
12550 LIBS=$ac_check_lib_save_LIBS
12552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12553 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12554 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12556 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12558 GETTEXTPO_LIBS="-lgettextpo"
12563 if test "x$GETTEXTPO_LIBS" = "x"; then :
12564 case "x$with_gettextpo" in
12565 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12566 xno) ;;
12567 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12568 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12569 esac
12572 if test "$srcdir" != .; then :
12573 case "x$with_gettextpo" in
12574 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12575 xno) ;;
12576 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12577 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12578 esac
12583 if test "x$with_pulse" != "xno";
12584 then
12585 if ${PULSE_CFLAGS:+false} :; then :
12586 if ${PKG_CONFIG+:} false; then :
12587 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12591 if ${PULSE_LIBS:+false} :; then :
12592 if ${PKG_CONFIG+:} false; then :
12593 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12598 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12599 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12600 ac_save_CPPFLAGS=$CPPFLAGS
12601 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12602 for ac_header in pulse/pulseaudio.h
12603 do :
12604 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12605 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12606 cat >>confdefs.h <<_ACEOF
12607 #define HAVE_PULSE_PULSEAUDIO_H 1
12608 _ACEOF
12609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12610 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12611 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12612 $as_echo_n "(cached) " >&6
12613 else
12614 ac_check_lib_save_LIBS=$LIBS
12615 LIBS="-lpulse $PULSE_LIBS $LIBS"
12616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12617 /* end confdefs.h. */
12619 /* Override any GCC internal prototype to avoid an error.
12620 Use char because int might match the return type of a GCC
12621 builtin and then its argument prototype would still apply. */
12622 #ifdef __cplusplus
12623 extern "C"
12624 #endif
12625 char pa_stream_is_corked ();
12627 main ()
12629 return pa_stream_is_corked ();
12631 return 0;
12633 _ACEOF
12634 if ac_fn_c_try_link "$LINENO"; then :
12635 ac_cv_lib_pulse_pa_stream_is_corked=yes
12636 else
12637 ac_cv_lib_pulse_pa_stream_is_corked=no
12639 rm -f core conftest.err conftest.$ac_objext \
12640 conftest$ac_exeext conftest.$ac_ext
12641 LIBS=$ac_check_lib_save_LIBS
12643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12644 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12645 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12647 else
12648 PULSE_LIBS=""
12651 else
12652 PULSE_LIBS=""
12655 done
12657 CPPFLAGS=$ac_save_CPPFLAGS
12658 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12659 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12662 if test -z "$PULSE_LIBS"; then :
12663 case "x$with_pulse" in
12664 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12665 xno) ;;
12666 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12667 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12668 esac
12669 enable_winepulse_drv=${enable_winepulse_drv:-no}
12672 if test "x$with_gstreamer" != "xno"
12673 then
12674 if ${GSTREAMER_CFLAGS:+false} :; then :
12675 if ${PKG_CONFIG+:} false; then :
12676 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12680 if ${GSTREAMER_LIBS:+false} :; then :
12681 if ${PKG_CONFIG+:} false; then :
12682 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12687 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12688 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12689 ac_save_CPPFLAGS=$CPPFLAGS
12690 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12691 ac_gst_incl=""
12692 for i in $GSTREAMER_CFLAGS
12694 case "$i" in
12695 -I*) ac_gst_incl="$ac_gst_incl $i";;
12696 esac
12697 done
12698 GSTREAMER_CFLAGS=$ac_gst_incl
12699 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12700 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12701 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12703 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12705 /* end confdefs.h. */
12706 #include <gst/gst.h>
12708 main ()
12710 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12712 return 0;
12714 _ACEOF
12715 if ac_fn_c_try_compile "$LINENO"; then :
12716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12717 $as_echo "yes" >&6; }
12718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12719 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12720 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12721 $as_echo_n "(cached) " >&6
12722 else
12723 ac_check_lib_save_LIBS=$LIBS
12724 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12726 /* end confdefs.h. */
12728 /* Override any GCC internal prototype to avoid an error.
12729 Use char because int might match the return type of a GCC
12730 builtin and then its argument prototype would still apply. */
12731 #ifdef __cplusplus
12732 extern "C"
12733 #endif
12734 char gst_pad_new ();
12736 main ()
12738 return gst_pad_new ();
12740 return 0;
12742 _ACEOF
12743 if ac_fn_c_try_link "$LINENO"; then :
12744 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12745 else
12746 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12748 rm -f core conftest.err conftest.$ac_objext \
12749 conftest$ac_exeext conftest.$ac_ext
12750 LIBS=$ac_check_lib_save_LIBS
12752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12753 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12754 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12758 else
12759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12760 $as_echo "no" >&6; }
12761 ac_glib2_broken=yes
12762 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12768 CPPFLAGS=$ac_save_CPPFLAGS
12769 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12770 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12773 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 :
12774 case "x$with_gstreamer" in
12775 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12776 xno) ;;
12777 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12778 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12779 esac
12782 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12784 ALSA_LIBS=""
12786 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12787 then
12788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12789 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12790 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12791 $as_echo_n "(cached) " >&6
12792 else
12793 ac_check_lib_save_LIBS=$LIBS
12794 LIBS="-lasound $LIBS"
12795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12796 /* end confdefs.h. */
12798 /* Override any GCC internal prototype to avoid an error.
12799 Use char because int might match the return type of a GCC
12800 builtin and then its argument prototype would still apply. */
12801 #ifdef __cplusplus
12802 extern "C"
12803 #endif
12804 char snd_pcm_hw_params_get_access_mask ();
12806 main ()
12808 return snd_pcm_hw_params_get_access_mask ();
12810 return 0;
12812 _ACEOF
12813 if ac_fn_c_try_link "$LINENO"; then :
12814 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12815 else
12816 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12818 rm -f core conftest.err conftest.$ac_objext \
12819 conftest$ac_exeext conftest.$ac_ext
12820 LIBS=$ac_check_lib_save_LIBS
12822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12823 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12824 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12826 /* end confdefs.h. */
12827 #ifdef HAVE_ALSA_ASOUNDLIB_H
12828 #include <alsa/asoundlib.h>
12829 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12830 #include <sys/asoundlib.h>
12831 #endif
12833 main ()
12835 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12837 return 0;
12839 _ACEOF
12840 if ac_fn_c_try_compile "$LINENO"; then :
12841 ALSA_LIBS="-lasound"
12843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12847 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12849 if test "x$with_oss" != xno
12850 then
12851 ac_save_CPPFLAGS="$CPPFLAGS"
12852 if test -f /etc/oss.conf
12853 then
12854 . /etc/oss.conf
12856 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12857 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12858 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12859 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12860 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12862 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12864 cat >>confdefs.h <<_ACEOF
12865 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12866 _ACEOF
12868 OSS4_CFLAGS="$ac_oss_incl"
12875 CPPFLAGS="$ac_save_CPPFLAGS"
12877 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
12878 case "x$with_oss" in
12879 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
12880 xno) ;;
12881 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
12882 This is an error since --with-oss was requested." "$LINENO" 5 ;;
12883 esac
12884 enable_wineoss_drv=${enable_wineoss_drv:-no}
12887 if test "x$with_capi" != "xno"
12888 then
12889 if ${CAPI20_CFLAGS:+false} :; then :
12890 if ${PKG_CONFIG+:} false; then :
12891 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12895 if ${CAPI20_LIBS:+false} :; then :
12896 if ${PKG_CONFIG+:} false; then :
12897 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12902 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12903 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12904 ac_save_CPPFLAGS=$CPPFLAGS
12905 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12906 for ac_header in capi20.h linux/capi.h
12907 do :
12908 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12909 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12911 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12912 cat >>confdefs.h <<_ACEOF
12913 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12914 _ACEOF
12918 done
12920 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12921 then
12922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12923 $as_echo_n "checking for -lcapi20... " >&6; }
12924 if ${ac_cv_lib_soname_capi20+:} false; then :
12925 $as_echo_n "(cached) " >&6
12926 else
12927 ac_check_soname_save_LIBS=$LIBS
12928 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12930 /* end confdefs.h. */
12932 /* Override any GCC internal prototype to avoid an error.
12933 Use char because int might match the return type of a GCC
12934 builtin and then its argument prototype would still apply. */
12935 #ifdef __cplusplus
12936 extern "C"
12937 #endif
12938 char capi20_register ();
12940 main ()
12942 return capi20_register ();
12944 return 0;
12946 _ACEOF
12947 if ac_fn_c_try_link "$LINENO"; then :
12948 case "$LIBEXT" in
12949 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12950 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'` ;;
12951 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12952 if ${ac_cv_lib_soname_capi20:+false} :; then :
12953 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12954 fi ;;
12955 esac
12957 rm -f core conftest.err conftest.$ac_objext \
12958 conftest$ac_exeext conftest.$ac_ext
12959 LIBS=$ac_check_soname_save_LIBS
12961 if ${ac_cv_lib_soname_capi20:+false} :; then :
12962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12963 $as_echo "not found" >&6; }
12965 else
12966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12967 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12969 cat >>confdefs.h <<_ACEOF
12970 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12971 _ACEOF
12976 CPPFLAGS=$ac_save_CPPFLAGS
12977 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12978 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12981 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12982 case "x$with_capi" in
12983 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12984 xno) ;;
12985 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12986 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12987 esac
12991 CUPS_CFLAGS=""
12993 if test "x$with_cups" != "xno"
12994 then
12995 ac_save_CPPFLAGS="$CPPFLAGS"
12996 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
12997 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
12998 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12999 for ac_header in cups/cups.h
13000 do :
13001 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13002 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
13003 cat >>confdefs.h <<_ACEOF
13004 #define HAVE_CUPS_CUPS_H 1
13005 _ACEOF
13006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13007 $as_echo_n "checking for -lcups... " >&6; }
13008 if ${ac_cv_lib_soname_cups+:} false; then :
13009 $as_echo_n "(cached) " >&6
13010 else
13011 ac_check_soname_save_LIBS=$LIBS
13012 LIBS="-lcups $ac_cups_libs $LIBS"
13013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13014 /* end confdefs.h. */
13016 /* Override any GCC internal prototype to avoid an error.
13017 Use char because int might match the return type of a GCC
13018 builtin and then its argument prototype would still apply. */
13019 #ifdef __cplusplus
13020 extern "C"
13021 #endif
13022 char cupsGetDefault ();
13024 main ()
13026 return cupsGetDefault ();
13028 return 0;
13030 _ACEOF
13031 if ac_fn_c_try_link "$LINENO"; then :
13032 case "$LIBEXT" in
13033 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13034 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'` ;;
13035 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13036 if ${ac_cv_lib_soname_cups:+false} :; then :
13037 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13038 fi ;;
13039 esac
13041 rm -f core conftest.err conftest.$ac_objext \
13042 conftest$ac_exeext conftest.$ac_ext
13043 LIBS=$ac_check_soname_save_LIBS
13045 if ${ac_cv_lib_soname_cups:+false} :; then :
13046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13047 $as_echo "not found" >&6; }
13049 else
13050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13051 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13053 cat >>confdefs.h <<_ACEOF
13054 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13055 _ACEOF
13057 CUPS_CFLAGS="$ac_cups_cflags"
13059 for ac_header in cups/ppd.h
13060 do :
13061 ac_fn_c_check_header_mongrel "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13062 if test "x$ac_cv_header_cups_ppd_h" = xyes; then :
13063 cat >>confdefs.h <<_ACEOF
13064 #define HAVE_CUPS_PPD_H 1
13065 _ACEOF
13069 done
13073 done
13075 CPPFLAGS="$ac_save_CPPFLAGS"
13077 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13078 case "x$with_cups" in
13079 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13080 xno) ;;
13081 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13082 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13083 esac
13087 if test "x$with_fontconfig" != "xno"
13088 then
13089 if ${FONTCONFIG_CFLAGS:+false} :; then :
13090 if ${PKG_CONFIG+:} false; then :
13091 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13094 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13095 if ${FONTCONFIG_LIBS:+false} :; then :
13096 if ${PKG_CONFIG+:} false; then :
13097 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13100 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13102 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13103 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13104 ac_save_CPPFLAGS=$CPPFLAGS
13105 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13106 for ac_header in fontconfig/fontconfig.h
13107 do :
13108 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13109 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13110 cat >>confdefs.h <<_ACEOF
13111 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13112 _ACEOF
13116 done
13118 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13119 then
13120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13121 $as_echo_n "checking for -lfontconfig... " >&6; }
13122 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13123 $as_echo_n "(cached) " >&6
13124 else
13125 ac_check_soname_save_LIBS=$LIBS
13126 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13128 /* end confdefs.h. */
13130 /* Override any GCC internal prototype to avoid an error.
13131 Use char because int might match the return type of a GCC
13132 builtin and then its argument prototype would still apply. */
13133 #ifdef __cplusplus
13134 extern "C"
13135 #endif
13136 char FcInit ();
13138 main ()
13140 return FcInit ();
13142 return 0;
13144 _ACEOF
13145 if ac_fn_c_try_link "$LINENO"; then :
13146 case "$LIBEXT" in
13147 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13148 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'` ;;
13149 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13150 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13151 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13152 fi ;;
13153 esac
13155 rm -f core conftest.err conftest.$ac_objext \
13156 conftest$ac_exeext conftest.$ac_ext
13157 LIBS=$ac_check_soname_save_LIBS
13159 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13161 $as_echo "not found" >&6; }
13162 FONTCONFIG_CFLAGS=""
13163 else
13164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13165 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13167 cat >>confdefs.h <<_ACEOF
13168 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13169 _ACEOF
13173 else
13174 FONTCONFIG_CFLAGS=""
13176 CPPFLAGS=$ac_save_CPPFLAGS
13177 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13178 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13181 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13182 case "x$with_fontconfig" in
13183 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13184 xno) ;;
13185 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13186 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13187 esac
13191 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13192 then
13193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13194 $as_echo_n "checking for -lgsm... " >&6; }
13195 if ${ac_cv_lib_soname_gsm+:} false; then :
13196 $as_echo_n "(cached) " >&6
13197 else
13198 ac_check_soname_save_LIBS=$LIBS
13199 LIBS="-lgsm $LIBS"
13200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13201 /* end confdefs.h. */
13203 /* Override any GCC internal prototype to avoid an error.
13204 Use char because int might match the return type of a GCC
13205 builtin and then its argument prototype would still apply. */
13206 #ifdef __cplusplus
13207 extern "C"
13208 #endif
13209 char gsm_create ();
13211 main ()
13213 return gsm_create ();
13215 return 0;
13217 _ACEOF
13218 if ac_fn_c_try_link "$LINENO"; then :
13219 case "$LIBEXT" in
13220 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13221 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'` ;;
13222 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13223 if ${ac_cv_lib_soname_gsm:+false} :; then :
13224 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13225 fi ;;
13226 esac
13228 rm -f core conftest.err conftest.$ac_objext \
13229 conftest$ac_exeext conftest.$ac_ext
13230 LIBS=$ac_check_soname_save_LIBS
13232 if ${ac_cv_lib_soname_gsm:+false} :; then :
13233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13234 $as_echo "not found" >&6; }
13236 else
13237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13238 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13240 cat >>confdefs.h <<_ACEOF
13241 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13242 _ACEOF
13247 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13248 case "x$with_gsm" in
13249 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13250 xno) ;;
13251 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13252 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13253 esac
13257 if test "x$with_jpeg" != "xno"
13258 then
13259 if ${JPEG_CFLAGS:+false} :; then :
13260 if ${PKG_CONFIG+:} false; then :
13261 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13265 if ${JPEG_LIBS:+false} :; then :
13266 if ${PKG_CONFIG+:} false; then :
13267 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13272 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13273 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13274 ac_save_CPPFLAGS=$CPPFLAGS
13275 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13276 for ac_header in jpeglib.h
13277 do :
13278 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13279 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13280 cat >>confdefs.h <<_ACEOF
13281 #define HAVE_JPEGLIB_H 1
13282 _ACEOF
13286 done
13288 if test "$ac_cv_header_jpeglib_h" = "yes"
13289 then
13290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13291 $as_echo_n "checking for -ljpeg... " >&6; }
13292 if ${ac_cv_lib_soname_jpeg+:} false; then :
13293 $as_echo_n "(cached) " >&6
13294 else
13295 ac_check_soname_save_LIBS=$LIBS
13296 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13298 /* end confdefs.h. */
13300 /* Override any GCC internal prototype to avoid an error.
13301 Use char because int might match the return type of a GCC
13302 builtin and then its argument prototype would still apply. */
13303 #ifdef __cplusplus
13304 extern "C"
13305 #endif
13306 char jpeg_start_decompress ();
13308 main ()
13310 return jpeg_start_decompress ();
13312 return 0;
13314 _ACEOF
13315 if ac_fn_c_try_link "$LINENO"; then :
13316 case "$LIBEXT" in
13317 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13318 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'` ;;
13319 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13320 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13321 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13322 fi ;;
13323 esac
13325 rm -f core conftest.err conftest.$ac_objext \
13326 conftest$ac_exeext conftest.$ac_ext
13327 LIBS=$ac_check_soname_save_LIBS
13329 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13331 $as_echo "not found" >&6; }
13332 JPEG_CFLAGS=""
13333 else
13334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13335 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13337 cat >>confdefs.h <<_ACEOF
13338 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13339 _ACEOF
13343 else
13344 JPEG_CFLAGS=""
13346 CPPFLAGS=$ac_save_CPPFLAGS
13347 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13348 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13351 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13352 case "x$with_jpeg" in
13353 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13354 xno) ;;
13355 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13356 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13357 esac
13361 if test "x$with_png" != "xno"
13362 then
13363 if ${PNG_CFLAGS:+false} :; then :
13364 if ${PKG_CONFIG+:} false; then :
13365 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13368 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13369 if ${PNG_LIBS:+false} :; then :
13370 if ${PKG_CONFIG+:} false; then :
13371 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13374 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13376 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13377 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13378 ac_save_CPPFLAGS=$CPPFLAGS
13379 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13380 for ac_header in png.h
13381 do :
13382 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13383 if test "x$ac_cv_header_png_h" = xyes; then :
13384 cat >>confdefs.h <<_ACEOF
13385 #define HAVE_PNG_H 1
13386 _ACEOF
13390 done
13392 if test "$ac_cv_header_png_h" = "yes"
13393 then
13394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13395 $as_echo_n "checking for -lpng... " >&6; }
13396 if ${ac_cv_lib_soname_png+:} false; then :
13397 $as_echo_n "(cached) " >&6
13398 else
13399 ac_check_soname_save_LIBS=$LIBS
13400 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13402 /* end confdefs.h. */
13404 /* Override any GCC internal prototype to avoid an error.
13405 Use char because int might match the return type of a GCC
13406 builtin and then its argument prototype would still apply. */
13407 #ifdef __cplusplus
13408 extern "C"
13409 #endif
13410 char png_create_read_struct ();
13412 main ()
13414 return png_create_read_struct ();
13416 return 0;
13418 _ACEOF
13419 if ac_fn_c_try_link "$LINENO"; then :
13420 case "$LIBEXT" in
13421 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13422 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'` ;;
13423 *) 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'`
13424 if ${ac_cv_lib_soname_png:+false} :; then :
13425 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13426 fi ;;
13427 esac
13429 rm -f core conftest.err conftest.$ac_objext \
13430 conftest$ac_exeext conftest.$ac_ext
13431 LIBS=$ac_check_soname_save_LIBS
13433 if ${ac_cv_lib_soname_png:+false} :; then :
13434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13435 $as_echo "not found" >&6; }
13436 PNG_CFLAGS=""
13437 else
13438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13439 $as_echo "$ac_cv_lib_soname_png" >&6; }
13441 cat >>confdefs.h <<_ACEOF
13442 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13443 _ACEOF
13445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13446 /* end confdefs.h. */
13447 #include <png.h>
13449 main ()
13451 typeof(png_set_expand_gray_1_2_4_to_8) *p
13453 return 0;
13455 _ACEOF
13456 if ac_fn_c_try_compile "$LINENO"; then :
13458 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13463 else
13464 PNG_CFLAGS=""
13466 CPPFLAGS=$ac_save_CPPFLAGS
13467 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13468 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13471 if test "x$ac_cv_lib_soname_png" = "x"; then :
13472 case "x$with_png" in
13473 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13474 xno) ;;
13475 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13476 This is an error since --with-png was requested." "$LINENO" 5 ;;
13477 esac
13481 if test "x$with_tiff" != "xno"
13482 then
13483 if ${TIFF_CFLAGS:+false} :; then :
13484 if ${PKG_CONFIG+:} false; then :
13485 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13489 if ${TIFF_LIBS:+false} :; then :
13490 if ${PKG_CONFIG+:} false; then :
13491 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13496 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13497 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13498 ac_save_CPPFLAGS=$CPPFLAGS
13499 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13500 for ac_header in tiffio.h
13501 do :
13502 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13503 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13504 cat >>confdefs.h <<_ACEOF
13505 #define HAVE_TIFFIO_H 1
13506 _ACEOF
13510 done
13512 if test "$ac_cv_header_tiffio_h" = "yes"
13513 then
13514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13515 $as_echo_n "checking for -ltiff... " >&6; }
13516 if ${ac_cv_lib_soname_tiff+:} false; then :
13517 $as_echo_n "(cached) " >&6
13518 else
13519 ac_check_soname_save_LIBS=$LIBS
13520 LIBS="-ltiff $TIFF_LIBS $LIBS"
13521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13522 /* end confdefs.h. */
13524 /* Override any GCC internal prototype to avoid an error.
13525 Use char because int might match the return type of a GCC
13526 builtin and then its argument prototype would still apply. */
13527 #ifdef __cplusplus
13528 extern "C"
13529 #endif
13530 char TIFFClientOpen ();
13532 main ()
13534 return TIFFClientOpen ();
13536 return 0;
13538 _ACEOF
13539 if ac_fn_c_try_link "$LINENO"; then :
13540 case "$LIBEXT" in
13541 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13542 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'` ;;
13543 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13544 if ${ac_cv_lib_soname_tiff:+false} :; then :
13545 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13546 fi ;;
13547 esac
13549 rm -f core conftest.err conftest.$ac_objext \
13550 conftest$ac_exeext conftest.$ac_ext
13551 LIBS=$ac_check_soname_save_LIBS
13553 if ${ac_cv_lib_soname_tiff:+false} :; then :
13554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13555 $as_echo "not found" >&6; }
13557 else
13558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13559 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13561 cat >>confdefs.h <<_ACEOF
13562 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13563 _ACEOF
13568 CPPFLAGS=$ac_save_CPPFLAGS
13569 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13570 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13573 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13574 case "x$with_tiff" in
13575 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13576 xno) ;;
13577 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13578 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13579 esac
13583 if test "x$with_mpg123" != "xno"
13584 then
13585 if ${MPG123_CFLAGS:+false} :; then :
13586 if ${PKG_CONFIG+:} false; then :
13587 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13591 if ${MPG123_LIBS:+false} :; then :
13592 if ${PKG_CONFIG+:} false; then :
13593 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13597 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13598 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13599 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13600 ac_save_CPPFLAGS=$CPPFLAGS
13601 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13602 for ac_header in mpg123.h
13603 do :
13604 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13605 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13606 cat >>confdefs.h <<_ACEOF
13607 #define HAVE_MPG123_H 1
13608 _ACEOF
13612 done
13614 if test "$ac_cv_header_mpg123_h" = "yes"
13615 then
13616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13617 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13618 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13619 $as_echo_n "(cached) " >&6
13620 else
13621 ac_check_lib_save_LIBS=$LIBS
13622 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13624 /* end confdefs.h. */
13626 /* Override any GCC internal prototype to avoid an error.
13627 Use char because int might match the return type of a GCC
13628 builtin and then its argument prototype would still apply. */
13629 #ifdef __cplusplus
13630 extern "C"
13631 #endif
13632 char mpg123_feed ();
13634 main ()
13636 return mpg123_feed ();
13638 return 0;
13640 _ACEOF
13641 if ac_fn_c_try_link "$LINENO"; then :
13642 ac_cv_lib_mpg123_mpg123_feed=yes
13643 else
13644 ac_cv_lib_mpg123_mpg123_feed=no
13646 rm -f core conftest.err conftest.$ac_objext \
13647 conftest$ac_exeext conftest.$ac_ext
13648 LIBS=$ac_check_lib_save_LIBS
13650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13651 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13652 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13654 else
13655 MPG123_LIBS=""
13658 else
13659 MPG123_CFLAGS=""
13660 MPG123_LIBS=""
13662 CPPFLAGS=$ac_save_CPPFLAGS
13663 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13664 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13667 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13668 case "x$with_mpg123" in
13669 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13670 xno) ;;
13671 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13672 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13673 esac
13674 enable_winemp3_acm=${enable_winemp3_acm:-no}
13677 if test "$ac_cv_header_AL_al_h" = "yes"
13678 then
13679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13680 $as_echo_n "checking for -lopenal... " >&6; }
13681 if ${ac_cv_lib_soname_openal+:} false; then :
13682 $as_echo_n "(cached) " >&6
13683 else
13684 ac_check_soname_save_LIBS=$LIBS
13685 LIBS="-lopenal $LIBS"
13686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13687 /* end confdefs.h. */
13689 /* Override any GCC internal prototype to avoid an error.
13690 Use char because int might match the return type of a GCC
13691 builtin and then its argument prototype would still apply. */
13692 #ifdef __cplusplus
13693 extern "C"
13694 #endif
13695 char alGetSource3i ();
13697 main ()
13699 return alGetSource3i ();
13701 return 0;
13703 _ACEOF
13704 if ac_fn_c_try_link "$LINENO"; then :
13705 case "$LIBEXT" in
13706 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13707 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'` ;;
13708 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13709 if ${ac_cv_lib_soname_openal:+false} :; then :
13710 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13711 fi ;;
13712 esac
13714 rm -f core conftest.err conftest.$ac_objext \
13715 conftest$ac_exeext conftest.$ac_ext
13716 LIBS=$ac_check_soname_save_LIBS
13718 if ${ac_cv_lib_soname_openal:+false} :; then :
13719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13720 $as_echo "not found" >&6; }
13722 else
13723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13724 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13726 cat >>confdefs.h <<_ACEOF
13727 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13728 _ACEOF
13730 OPENAL_LIBS="-lopenal"
13732 ac_cv_lib_openal=yes
13734 cat >>confdefs.h <<_ACEOF
13735 #define HAVE_OPENAL 1
13736 _ACEOF
13740 if test "x$ac_cv_lib_openal" != xyes; then :
13741 case "x$with_openal" in
13742 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13743 xno) ;;
13744 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13745 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13746 esac
13747 enable_openal32=${enable_openal32:-no}
13750 if test "x$ac_cv_lib_openal" = xyes
13751 then
13752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13753 $as_echo_n "checking for openal-soft... " >&6; }
13754 if ${ac_cv_have_openalsoft+:} false; then :
13755 $as_echo_n "(cached) " >&6
13756 else
13757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13758 /* end confdefs.h. */
13759 #include <AL/al.h>
13760 #include <AL/alc.h>
13761 #include <AL/alext.h>
13762 LPALCRENDERSAMPLESSOFT x;
13764 main ()
13768 return 0;
13770 _ACEOF
13771 if ac_fn_c_try_compile "$LINENO"; then :
13772 ac_cv_have_openalsoft=yes
13773 else
13774 ac_cv_have_openalsoft=no
13776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13779 $as_echo "$ac_cv_have_openalsoft" >&6; }
13781 if test "x$ac_cv_have_openalsoft" != xyes
13782 then
13783 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13784 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
13785 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
13786 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
13787 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
13788 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
13789 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
13790 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
13791 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
13792 enable_xapofx1_1=${enable_xapofx1_1:-no}
13793 enable_xapofx1_2=${enable_xapofx1_2:-no}
13794 enable_xapofx1_3=${enable_xapofx1_3:-no}
13795 enable_xapofx1_4=${enable_xapofx1_4:-no}
13796 enable_xapofx1_5=${enable_xapofx1_5:-no}
13797 enable_xaudio2_0=${enable_xaudio2_0:-no}
13798 enable_xaudio2_1=${enable_xaudio2_1:-no}
13799 enable_xaudio2_2=${enable_xaudio2_2:-no}
13800 enable_xaudio2_3=${enable_xaudio2_3:-no}
13801 enable_xaudio2_4=${enable_xaudio2_4:-no}
13802 enable_xaudio2_5=${enable_xaudio2_5:-no}
13803 enable_xaudio2_6=${enable_xaudio2_6:-no}
13804 enable_xaudio2_7=${enable_xaudio2_7:-no}
13805 enable_xaudio2_8=${enable_xaudio2_8:-no}
13806 enable_xaudio2_9=${enable_xaudio2_9:-no}
13809 if test "$ac_cv_header_kstat_h" = "yes"
13810 then
13811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13812 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13813 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13814 $as_echo_n "(cached) " >&6
13815 else
13816 ac_check_lib_save_LIBS=$LIBS
13817 LIBS="-lkstat $LIBS"
13818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13819 /* end confdefs.h. */
13821 /* Override any GCC internal prototype to avoid an error.
13822 Use char because int might match the return type of a GCC
13823 builtin and then its argument prototype would still apply. */
13824 #ifdef __cplusplus
13825 extern "C"
13826 #endif
13827 char kstat_open ();
13829 main ()
13831 return kstat_open ();
13833 return 0;
13835 _ACEOF
13836 if ac_fn_c_try_link "$LINENO"; then :
13837 ac_cv_lib_kstat_kstat_open=yes
13838 else
13839 ac_cv_lib_kstat_kstat_open=no
13841 rm -f core conftest.err conftest.$ac_objext \
13842 conftest$ac_exeext conftest.$ac_ext
13843 LIBS=$ac_check_lib_save_LIBS
13845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13846 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13847 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13849 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13851 KSTAT_LIBS="-lkstat"
13857 if test "$ac_cv_header_libprocstat_h" = "yes"
13858 then
13859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13860 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13861 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13862 $as_echo_n "(cached) " >&6
13863 else
13864 ac_check_lib_save_LIBS=$LIBS
13865 LIBS="-lprocstat $LIBS"
13866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13867 /* end confdefs.h. */
13869 /* Override any GCC internal prototype to avoid an error.
13870 Use char because int might match the return type of a GCC
13871 builtin and then its argument prototype would still apply. */
13872 #ifdef __cplusplus
13873 extern "C"
13874 #endif
13875 char procstat_open_sysctl ();
13877 main ()
13879 return procstat_open_sysctl ();
13881 return 0;
13883 _ACEOF
13884 if ac_fn_c_try_link "$LINENO"; then :
13885 ac_cv_lib_procstat_procstat_open_sysctl=yes
13886 else
13887 ac_cv_lib_procstat_procstat_open_sysctl=no
13889 rm -f core conftest.err conftest.$ac_objext \
13890 conftest$ac_exeext conftest.$ac_ext
13891 LIBS=$ac_check_lib_save_LIBS
13893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13894 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13895 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13897 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13899 PROCSTAT_LIBS="-lprocstat"
13905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13906 $as_echo_n "checking for -lodbc... " >&6; }
13907 if ${ac_cv_lib_soname_odbc+:} false; then :
13908 $as_echo_n "(cached) " >&6
13909 else
13910 ac_check_soname_save_LIBS=$LIBS
13911 LIBS="-lodbc $LIBS"
13912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13913 /* end confdefs.h. */
13915 /* Override any GCC internal prototype to avoid an error.
13916 Use char because int might match the return type of a GCC
13917 builtin and then its argument prototype would still apply. */
13918 #ifdef __cplusplus
13919 extern "C"
13920 #endif
13921 char SQLConnect ();
13923 main ()
13925 return SQLConnect ();
13927 return 0;
13929 _ACEOF
13930 if ac_fn_c_try_link "$LINENO"; then :
13931 case "$LIBEXT" in
13932 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13933 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'` ;;
13934 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13935 if ${ac_cv_lib_soname_odbc:+false} :; then :
13936 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13937 fi ;;
13938 esac
13940 rm -f core conftest.err conftest.$ac_objext \
13941 conftest$ac_exeext conftest.$ac_ext
13942 LIBS=$ac_check_soname_save_LIBS
13944 if ${ac_cv_lib_soname_odbc:+false} :; then :
13945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13946 $as_echo "not found" >&6; }
13947 cat >>confdefs.h <<_ACEOF
13948 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13949 _ACEOF
13951 else
13952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13953 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13955 cat >>confdefs.h <<_ACEOF
13956 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13957 _ACEOF
13962 if test "x$with_netapi" != "xno"
13963 then
13964 if ${NETAPI_CFLAGS:+false} :; then :
13965 if ${PKG_CONFIG+:} false; then :
13966 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
13970 if ${NETAPI_LIBS:+false} :; then :
13971 if ${PKG_CONFIG+:} false; then :
13972 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
13977 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
13978 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
13979 ac_save_CPPFLAGS=$CPPFLAGS
13980 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
13981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13982 $as_echo_n "checking for -lnetapi... " >&6; }
13983 if ${ac_cv_lib_soname_netapi+:} false; then :
13984 $as_echo_n "(cached) " >&6
13985 else
13986 ac_check_soname_save_LIBS=$LIBS
13987 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
13988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13989 /* end confdefs.h. */
13991 /* Override any GCC internal prototype to avoid an error.
13992 Use char because int might match the return type of a GCC
13993 builtin and then its argument prototype would still apply. */
13994 #ifdef __cplusplus
13995 extern "C"
13996 #endif
13997 char libnetapi_init ();
13999 main ()
14001 return libnetapi_init ();
14003 return 0;
14005 _ACEOF
14006 if ac_fn_c_try_link "$LINENO"; then :
14007 case "$LIBEXT" in
14008 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14009 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'` ;;
14010 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14011 if ${ac_cv_lib_soname_netapi:+false} :; then :
14012 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14013 fi ;;
14014 esac
14016 rm -f core conftest.err conftest.$ac_objext \
14017 conftest$ac_exeext conftest.$ac_ext
14018 LIBS=$ac_check_soname_save_LIBS
14020 if ${ac_cv_lib_soname_netapi:+false} :; then :
14021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14022 $as_echo "not found" >&6; }
14023 cat >>confdefs.h <<_ACEOF
14024 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14025 _ACEOF
14027 else
14028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14029 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14031 cat >>confdefs.h <<_ACEOF
14032 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14033 _ACEOF
14037 CPPFLAGS=$ac_save_CPPFLAGS
14038 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14039 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14043 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
14044 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14045 then
14046 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14050 EXTRACFLAGS=""
14052 if test "x${GCC}" = "xyes"
14053 then
14054 EXTRACFLAGS="-Wall -pipe"
14056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14057 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14058 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14059 $as_echo_n "(cached) " >&6
14060 else
14061 if test "$cross_compiling" = yes; then :
14062 ac_cv_c_gcc_strength_bug="no"
14063 else
14064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14065 /* end confdefs.h. */
14066 int L[4] = {0,1,2,3};
14068 main ()
14070 static int Array[3];
14071 unsigned int B = 3;
14072 int i;
14073 for(i=0; i<B; i++) Array[i] = i - 3;
14074 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14075 L[i] = 4;
14076 return (Array[1] != -2 || L[2] != 3)
14078 return 0;
14080 _ACEOF
14081 if ac_fn_c_try_run "$LINENO"; then :
14082 ac_cv_c_gcc_strength_bug="no"
14083 else
14084 ac_cv_c_gcc_strength_bug="yes"
14086 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14087 conftest.$ac_objext conftest.beam conftest.$ac_ext
14091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14092 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14093 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14094 then
14095 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14099 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14100 if ${ac_cv_cflags__fno_builtin+:} false; then :
14101 $as_echo_n "(cached) " >&6
14102 else
14103 ac_wine_try_cflags_saved=$CFLAGS
14104 CFLAGS="$CFLAGS -fno-builtin"
14105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14106 /* end confdefs.h. */
14107 int main(int argc, char **argv) { return 0; }
14108 _ACEOF
14109 if ac_fn_c_try_link "$LINENO"; then :
14110 ac_cv_cflags__fno_builtin=yes
14111 else
14112 ac_cv_cflags__fno_builtin=no
14114 rm -f core conftest.err conftest.$ac_objext \
14115 conftest$ac_exeext conftest.$ac_ext
14116 CFLAGS=$ac_wine_try_cflags_saved
14118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14119 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14120 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14121 BUILTINFLAG="-fno-builtin"
14124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14125 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14126 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14127 $as_echo_n "(cached) " >&6
14128 else
14129 ac_wine_try_cflags_saved=$CFLAGS
14130 CFLAGS="$CFLAGS -fno-strict-aliasing"
14131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14132 /* end confdefs.h. */
14133 int main(int argc, char **argv) { return 0; }
14134 _ACEOF
14135 if ac_fn_c_try_link "$LINENO"; then :
14136 ac_cv_cflags__fno_strict_aliasing=yes
14137 else
14138 ac_cv_cflags__fno_strict_aliasing=no
14140 rm -f core conftest.err conftest.$ac_objext \
14141 conftest$ac_exeext conftest.$ac_ext
14142 CFLAGS=$ac_wine_try_cflags_saved
14144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14145 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14146 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14147 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14150 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14151 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14152 $as_echo_n "(cached) " >&6
14153 else
14154 ac_wine_try_cflags_saved=$CFLAGS
14155 CFLAGS="$CFLAGS -fexcess-precision=standard"
14156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14157 /* end confdefs.h. */
14158 int main(int argc, char **argv) { return 0; }
14159 _ACEOF
14160 if ac_fn_c_try_link "$LINENO"; then :
14161 ac_cv_cflags__fexcess_precision_standard=yes
14162 else
14163 ac_cv_cflags__fexcess_precision_standard=no
14165 rm -f core conftest.err conftest.$ac_objext \
14166 conftest$ac_exeext conftest.$ac_ext
14167 CFLAGS=$ac_wine_try_cflags_saved
14169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14170 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14171 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14172 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14175 saved_CFLAGS=$CFLAGS
14176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14177 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14178 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14179 $as_echo_n "(cached) " >&6
14180 else
14181 ac_wine_try_cflags_saved=$CFLAGS
14182 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14184 /* end confdefs.h. */
14185 int main(int argc, char **argv) { return 0; }
14186 _ACEOF
14187 if ac_fn_c_try_link "$LINENO"; then :
14188 ac_cv_cflags__Werror_unknown_warning_option=yes
14189 else
14190 ac_cv_cflags__Werror_unknown_warning_option=no
14192 rm -f core conftest.err conftest.$ac_objext \
14193 conftest$ac_exeext conftest.$ac_ext
14194 CFLAGS=$ac_wine_try_cflags_saved
14196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14197 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14198 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14199 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14202 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14203 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14204 $as_echo_n "(cached) " >&6
14205 else
14206 ac_wine_try_cflags_saved=$CFLAGS
14207 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14209 /* end confdefs.h. */
14210 int main(int argc, char **argv) { return 0; }
14211 _ACEOF
14212 if ac_fn_c_try_link "$LINENO"; then :
14213 ac_cv_cflags__Wdeclaration_after_statement=yes
14214 else
14215 ac_cv_cflags__Wdeclaration_after_statement=no
14217 rm -f core conftest.err conftest.$ac_objext \
14218 conftest$ac_exeext conftest.$ac_ext
14219 CFLAGS=$ac_wine_try_cflags_saved
14221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14222 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14223 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14224 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14227 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14228 if ${ac_cv_cflags__Wempty_body+:} false; then :
14229 $as_echo_n "(cached) " >&6
14230 else
14231 ac_wine_try_cflags_saved=$CFLAGS
14232 CFLAGS="$CFLAGS -Wempty-body"
14233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14234 /* end confdefs.h. */
14235 int main(int argc, char **argv) { return 0; }
14236 _ACEOF
14237 if ac_fn_c_try_link "$LINENO"; then :
14238 ac_cv_cflags__Wempty_body=yes
14239 else
14240 ac_cv_cflags__Wempty_body=no
14242 rm -f core conftest.err conftest.$ac_objext \
14243 conftest$ac_exeext conftest.$ac_ext
14244 CFLAGS=$ac_wine_try_cflags_saved
14246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14247 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14248 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14249 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14252 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14253 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14254 $as_echo_n "(cached) " >&6
14255 else
14256 ac_wine_try_cflags_saved=$CFLAGS
14257 CFLAGS="$CFLAGS -Wignored-qualifiers"
14258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14259 /* end confdefs.h. */
14260 int main(int argc, char **argv) { return 0; }
14261 _ACEOF
14262 if ac_fn_c_try_link "$LINENO"; then :
14263 ac_cv_cflags__Wignored_qualifiers=yes
14264 else
14265 ac_cv_cflags__Wignored_qualifiers=no
14267 rm -f core conftest.err conftest.$ac_objext \
14268 conftest$ac_exeext conftest.$ac_ext
14269 CFLAGS=$ac_wine_try_cflags_saved
14271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14272 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14273 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14274 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14277 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14278 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14279 $as_echo_n "(cached) " >&6
14280 else
14281 ac_wine_try_cflags_saved=$CFLAGS
14282 CFLAGS="$CFLAGS -Wshift-overflow=2"
14283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14284 /* end confdefs.h. */
14285 int main(int argc, char **argv) { return 0; }
14286 _ACEOF
14287 if ac_fn_c_try_link "$LINENO"; then :
14288 ac_cv_cflags__Wshift_overflow_2=yes
14289 else
14290 ac_cv_cflags__Wshift_overflow_2=no
14292 rm -f core conftest.err conftest.$ac_objext \
14293 conftest$ac_exeext conftest.$ac_ext
14294 CFLAGS=$ac_wine_try_cflags_saved
14296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14297 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14298 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14299 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14302 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14303 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14304 $as_echo_n "(cached) " >&6
14305 else
14306 ac_wine_try_cflags_saved=$CFLAGS
14307 CFLAGS="$CFLAGS -Wstrict-prototypes"
14308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14309 /* end confdefs.h. */
14310 int main(int argc, char **argv) { return 0; }
14311 _ACEOF
14312 if ac_fn_c_try_link "$LINENO"; then :
14313 ac_cv_cflags__Wstrict_prototypes=yes
14314 else
14315 ac_cv_cflags__Wstrict_prototypes=no
14317 rm -f core conftest.err conftest.$ac_objext \
14318 conftest$ac_exeext conftest.$ac_ext
14319 CFLAGS=$ac_wine_try_cflags_saved
14321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14322 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14323 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14324 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14327 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14328 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14329 $as_echo_n "(cached) " >&6
14330 else
14331 ac_wine_try_cflags_saved=$CFLAGS
14332 CFLAGS="$CFLAGS -Wtype-limits"
14333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14334 /* end confdefs.h. */
14335 int main(int argc, char **argv) { return 0; }
14336 _ACEOF
14337 if ac_fn_c_try_link "$LINENO"; then :
14338 ac_cv_cflags__Wtype_limits=yes
14339 else
14340 ac_cv_cflags__Wtype_limits=no
14342 rm -f core conftest.err conftest.$ac_objext \
14343 conftest$ac_exeext conftest.$ac_ext
14344 CFLAGS=$ac_wine_try_cflags_saved
14346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14347 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14348 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14349 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14352 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14353 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14354 $as_echo_n "(cached) " >&6
14355 else
14356 ac_wine_try_cflags_saved=$CFLAGS
14357 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14359 /* end confdefs.h. */
14360 int main(int argc, char **argv) { return 0; }
14361 _ACEOF
14362 if ac_fn_c_try_link "$LINENO"; then :
14363 ac_cv_cflags__Wunused_but_set_parameter=yes
14364 else
14365 ac_cv_cflags__Wunused_but_set_parameter=no
14367 rm -f core conftest.err conftest.$ac_objext \
14368 conftest$ac_exeext conftest.$ac_ext
14369 CFLAGS=$ac_wine_try_cflags_saved
14371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14372 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14373 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14374 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14377 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14378 if ${ac_cv_cflags__Wvla+:} false; then :
14379 $as_echo_n "(cached) " >&6
14380 else
14381 ac_wine_try_cflags_saved=$CFLAGS
14382 CFLAGS="$CFLAGS -Wvla"
14383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14384 /* end confdefs.h. */
14385 int main(int argc, char **argv) { return 0; }
14386 _ACEOF
14387 if ac_fn_c_try_link "$LINENO"; then :
14388 ac_cv_cflags__Wvla=yes
14389 else
14390 ac_cv_cflags__Wvla=no
14392 rm -f core conftest.err conftest.$ac_objext \
14393 conftest$ac_exeext conftest.$ac_ext
14394 CFLAGS=$ac_wine_try_cflags_saved
14396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14397 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14398 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14399 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14402 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14403 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14404 $as_echo_n "(cached) " >&6
14405 else
14406 ac_wine_try_cflags_saved=$CFLAGS
14407 CFLAGS="$CFLAGS -Wwrite-strings"
14408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14409 /* end confdefs.h. */
14410 int main(int argc, char **argv) { return 0; }
14411 _ACEOF
14412 if ac_fn_c_try_link "$LINENO"; then :
14413 ac_cv_cflags__Wwrite_strings=yes
14414 else
14415 ac_cv_cflags__Wwrite_strings=no
14417 rm -f core conftest.err conftest.$ac_objext \
14418 conftest$ac_exeext conftest.$ac_ext
14419 CFLAGS=$ac_wine_try_cflags_saved
14421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14422 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14423 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14424 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14428 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14429 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14430 $as_echo_n "(cached) " >&6
14431 else
14432 ac_wine_try_cflags_saved=$CFLAGS
14433 CFLAGS="$CFLAGS -Wpointer-arith"
14434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14435 /* end confdefs.h. */
14436 int main(int argc, char **argv) { return 0; }
14437 _ACEOF
14438 if ac_fn_c_try_link "$LINENO"; then :
14439 ac_cv_cflags__Wpointer_arith=yes
14440 else
14441 ac_cv_cflags__Wpointer_arith=no
14443 rm -f core conftest.err conftest.$ac_objext \
14444 conftest$ac_exeext conftest.$ac_ext
14445 CFLAGS=$ac_wine_try_cflags_saved
14447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14448 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14449 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14450 saved_string_h_CFLAGS=$CFLAGS
14451 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14453 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14454 if ${ac_cv_c_string_h_warnings+:} false; then :
14455 $as_echo_n "(cached) " >&6
14456 else
14457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14458 /* end confdefs.h. */
14459 #include <string.h>
14461 main ()
14465 return 0;
14467 _ACEOF
14468 if ac_fn_c_try_compile "$LINENO"; then :
14469 ac_cv_c_string_h_warnings=no
14470 else
14471 ac_cv_c_string_h_warnings=yes
14473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14476 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14477 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14478 CFLAGS=$saved_string_h_CFLAGS
14481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14482 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14483 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14484 $as_echo_n "(cached) " >&6
14485 else
14486 ac_wine_try_cflags_saved=$CFLAGS
14487 CFLAGS="$CFLAGS -Wlogical-op"
14488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14489 /* end confdefs.h. */
14490 int main(int argc, char **argv) { return 0; }
14491 _ACEOF
14492 if ac_fn_c_try_link "$LINENO"; then :
14493 ac_cv_cflags__Wlogical_op=yes
14494 else
14495 ac_cv_cflags__Wlogical_op=no
14497 rm -f core conftest.err conftest.$ac_objext \
14498 conftest$ac_exeext conftest.$ac_ext
14499 CFLAGS=$ac_wine_try_cflags_saved
14501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14502 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14503 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14504 saved_string_h_CFLAGS=$CFLAGS
14505 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14507 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14508 if ${ac_cv_c_logicalop_noisy+:} false; then :
14509 $as_echo_n "(cached) " >&6
14510 else
14511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14512 /* end confdefs.h. */
14513 #include <string.h>
14514 char*f(const char *h,char n) {return strchr(h,n);}
14516 main ()
14520 return 0;
14522 _ACEOF
14523 if ac_fn_c_try_compile "$LINENO"; then :
14524 ac_cv_c_logicalop_noisy=no
14525 else
14526 ac_cv_c_logicalop_noisy=yes
14528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14531 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14532 CFLAGS=$saved_string_h_CFLAGS
14533 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14536 CFLAGS=$saved_CFLAGS
14538 for ac_flag in $CFLAGS; do
14539 case $ac_flag in
14540 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14541 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14542 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14543 $as_echo_n "(cached) " >&6
14544 else
14545 ac_wine_try_cflags_saved=$CFLAGS
14546 CFLAGS="$CFLAGS -gdwarf-2"
14547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14548 /* end confdefs.h. */
14549 int main(int argc, char **argv) { return 0; }
14550 _ACEOF
14551 if ac_fn_c_try_link "$LINENO"; then :
14552 ac_cv_cflags__gdwarf_2=yes
14553 else
14554 ac_cv_cflags__gdwarf_2=no
14556 rm -f core conftest.err conftest.$ac_objext \
14557 conftest$ac_exeext conftest.$ac_ext
14558 CFLAGS=$ac_wine_try_cflags_saved
14560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14561 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14562 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14563 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14566 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14567 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14568 $as_echo_n "(cached) " >&6
14569 else
14570 ac_wine_try_cflags_saved=$CFLAGS
14571 CFLAGS="$CFLAGS -gstrict-dwarf"
14572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14573 /* end confdefs.h. */
14574 int main(int argc, char **argv) { return 0; }
14575 _ACEOF
14576 if ac_fn_c_try_link "$LINENO"; then :
14577 ac_cv_cflags__gstrict_dwarf=yes
14578 else
14579 ac_cv_cflags__gstrict_dwarf=no
14581 rm -f core conftest.err conftest.$ac_objext \
14582 conftest$ac_exeext conftest.$ac_ext
14583 CFLAGS=$ac_wine_try_cflags_saved
14585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14586 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14587 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14588 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14589 fi ;;
14590 esac
14591 done
14593 case $host_cpu in
14594 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14595 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14596 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14597 $as_echo_n "(cached) " >&6
14598 else
14599 ac_wine_try_cflags_saved=$CFLAGS
14600 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14602 /* end confdefs.h. */
14603 int main(int argc, char **argv) { return 0; }
14604 _ACEOF
14605 if ac_fn_c_try_link "$LINENO"; then :
14606 ac_cv_cflags__fno_omit_frame_pointer=yes
14607 else
14608 ac_cv_cflags__fno_omit_frame_pointer=no
14610 rm -f core conftest.err conftest.$ac_objext \
14611 conftest$ac_exeext conftest.$ac_ext
14612 CFLAGS=$ac_wine_try_cflags_saved
14614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14615 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14616 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14617 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14618 fi ;;
14619 esac
14621 case $host in
14622 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14623 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14624 if ${ac_cv_cflags__Wno_format+:} false; then :
14625 $as_echo_n "(cached) " >&6
14626 else
14627 ac_wine_try_cflags_saved=$CFLAGS
14628 CFLAGS="$CFLAGS -Wno-format"
14629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14630 /* end confdefs.h. */
14631 int main(int argc, char **argv) { return 0; }
14632 _ACEOF
14633 if ac_fn_c_try_link "$LINENO"; then :
14634 ac_cv_cflags__Wno_format=yes
14635 else
14636 ac_cv_cflags__Wno_format=no
14638 rm -f core conftest.err conftest.$ac_objext \
14639 conftest$ac_exeext conftest.$ac_ext
14640 CFLAGS=$ac_wine_try_cflags_saved
14642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14643 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14644 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14645 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14646 fi ;;
14647 esac
14649 if test "x$enable_maintainer_mode" = "xyes"
14650 then
14651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14652 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14653 if ${ac_cv_cflags__Werror+:} false; then :
14654 $as_echo_n "(cached) " >&6
14655 else
14656 ac_wine_try_cflags_saved=$CFLAGS
14657 CFLAGS="$CFLAGS -Werror"
14658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14659 /* end confdefs.h. */
14660 int main(int argc, char **argv) { return 0; }
14661 _ACEOF
14662 if ac_fn_c_try_link "$LINENO"; then :
14663 ac_cv_cflags__Werror=yes
14664 else
14665 ac_cv_cflags__Werror=no
14667 rm -f core conftest.err conftest.$ac_objext \
14668 conftest$ac_exeext conftest.$ac_ext
14669 CFLAGS=$ac_wine_try_cflags_saved
14671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14672 $as_echo "$ac_cv_cflags__Werror" >&6; }
14673 if test "x$ac_cv_cflags__Werror" = xyes; then :
14674 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14678 saved_CFLAGS="$CFLAGS"
14679 CFLAGS="$CFLAGS -Werror"
14680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14681 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14682 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14683 $as_echo_n "(cached) " >&6
14684 else
14685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14686 /* end confdefs.h. */
14687 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14689 main ()
14693 return 0;
14695 _ACEOF
14696 if ac_fn_c_try_compile "$LINENO"; then :
14697 ac_cv_have_ms_hook_prologue="yes"
14698 else
14699 ac_cv_have_ms_hook_prologue="no"
14701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14704 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14705 CFLAGS="$saved_CFLAGS"
14706 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14707 then
14709 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14711 else
14712 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14719 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14720 if ${ac_cv_c_fortify_enabled+:} false; then :
14721 $as_echo_n "(cached) " >&6
14722 else
14723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14724 /* end confdefs.h. */
14725 #include <string.h>
14727 main ()
14729 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14730 #error Fortify enabled
14731 #endif
14733 return 0;
14735 _ACEOF
14736 if ac_fn_c_try_compile "$LINENO"; then :
14737 ac_cv_c_fortify_enabled=no
14738 else
14739 ac_cv_c_fortify_enabled=yes
14741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14744 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14745 if test "$ac_cv_c_fortify_enabled" = yes
14746 then
14747 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14752 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14753 if ${ac_cv_c_extern_prefix+:} false; then :
14754 $as_echo_n "(cached) " >&6
14755 else
14756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14757 /* end confdefs.h. */
14758 extern int ac_test;
14760 main ()
14762 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14764 return 0;
14766 _ACEOF
14767 if ac_fn_c_try_link "$LINENO"; then :
14768 ac_cv_c_extern_prefix="yes"
14769 else
14770 ac_cv_c_extern_prefix="no"
14772 rm -f core conftest.err conftest.$ac_objext \
14773 conftest$ac_exeext conftest.$ac_ext
14775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14776 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14778 case $host_cpu in
14779 *i[3456789]86*)
14780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14781 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14782 if ${ac_cv_c_stdcall_suffix+:} false; then :
14783 $as_echo_n "(cached) " >&6
14784 else
14785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14786 /* end confdefs.h. */
14787 #ifndef _MSC_VER
14788 #define __stdcall __attribute__((__stdcall__))
14789 #endif
14790 int __stdcall ac_test(int i) { return i; }
14792 main ()
14794 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14796 return 0;
14798 _ACEOF
14799 if ac_fn_c_try_link "$LINENO"; then :
14800 ac_cv_c_stdcall_suffix="yes"
14801 else
14802 ac_cv_c_stdcall_suffix="no"
14804 rm -f core conftest.err conftest.$ac_objext \
14805 conftest$ac_exeext conftest.$ac_ext
14807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14808 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14809 *) ac_cv_c_stdcall_suffix="no" ;;
14810 esac
14813 if test "$ac_cv_c_extern_prefix" = "yes"
14814 then
14815 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14817 asm_name_prefix="_"
14818 else
14819 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14821 asm_name_prefix=""
14825 if test "$ac_cv_c_stdcall_suffix" = "yes"
14826 then
14827 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14829 else
14830 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14836 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14837 if ${ac_cv_asm_func_def+:} false; then :
14838 $as_echo_n "(cached) " >&6
14839 else
14840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14841 /* end confdefs.h. */
14844 main ()
14846 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14848 return 0;
14850 _ACEOF
14851 if ac_fn_c_try_link "$LINENO"; then :
14852 ac_cv_asm_func_def=".def"
14853 else
14854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14855 /* end confdefs.h. */
14858 main ()
14860 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14862 return 0;
14864 _ACEOF
14865 if ac_fn_c_try_link "$LINENO"; then :
14866 ac_cv_asm_func_def=".type @function"
14867 else
14868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14869 /* end confdefs.h. */
14872 main ()
14874 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14876 return 0;
14878 _ACEOF
14879 if ac_fn_c_try_link "$LINENO"; then :
14880 ac_cv_asm_func_def=".type 2"
14881 else
14882 ac_cv_asm_func_def="unknown"
14884 rm -f core conftest.err conftest.$ac_objext \
14885 conftest$ac_exeext conftest.$ac_ext
14887 rm -f core conftest.err conftest.$ac_objext \
14888 conftest$ac_exeext conftest.$ac_ext
14890 rm -f core conftest.err conftest.$ac_objext \
14891 conftest$ac_exeext conftest.$ac_ext
14893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14894 $as_echo "$ac_cv_asm_func_def" >&6; }
14897 case "$ac_cv_asm_func_def" in
14898 ".def")
14899 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14901 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14902 ".type @function")
14903 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14905 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14906 ".type 2")
14907 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14909 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14911 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14913 asm_func_header="" ;;
14914 esac
14916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14917 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14918 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14919 $as_echo_n "(cached) " >&6
14920 else
14921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14922 /* end confdefs.h. */
14923 asm(".text\n\t.long 0");
14925 main ()
14929 return 0;
14931 _ACEOF
14932 if ac_fn_c_try_compile "$LINENO"; then :
14933 ac_cv_c_asm_outside_funcs="yes"
14934 else
14935 ac_cv_c_asm_outside_funcs="no"
14937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14940 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14943 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14944 if ${ac_cv_c_dot_previous+:} false; then :
14945 $as_echo_n "(cached) " >&6
14946 else
14947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14948 /* end confdefs.h. */
14951 main ()
14953 asm(".text\nac_test:\t.long 0\n\t.previous");
14955 return 0;
14957 _ACEOF
14958 if ac_fn_c_try_link "$LINENO"; then :
14959 ac_cv_c_dot_previous="yes"
14960 else
14961 ac_cv_c_dot_previous="no"
14963 rm -f core conftest.err conftest.$ac_objext \
14964 conftest$ac_exeext conftest.$ac_ext
14966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14967 $as_echo "$ac_cv_c_dot_previous" >&6; }
14969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14970 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14971 if ${ac_cv_c_cfi_support+:} false; then :
14972 $as_echo_n "(cached) " >&6
14973 else
14974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14975 /* end confdefs.h. */
14976 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14978 main ()
14982 return 0;
14984 _ACEOF
14985 if ac_fn_c_try_compile "$LINENO"; then :
14986 ac_cv_c_cfi_support="yes"
14987 else
14988 ac_cv_c_cfi_support="no"
14990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14993 $as_echo "$ac_cv_c_cfi_support" >&6; }
14995 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14996 asm_func_trailer=""
14997 if test "$ac_cv_c_dot_previous" = "yes"
14998 then
14999 asm_func_trailer="\\n\\t.previous"
15001 if test "$ac_cv_c_cfi_support" = "yes"
15002 then
15003 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15004 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15006 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15008 UNWINDFLAGS=-fasynchronous-unwind-tables
15010 else
15011 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15013 if test "x$enable_win64" = "xyes"
15014 then
15015 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15019 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15022 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15023 then
15024 cat >>confdefs.h <<_ACEOF
15025 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15026 _ACEOF
15028 else
15029 cat >>confdefs.h <<_ACEOF
15030 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15031 _ACEOF
15035 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15038 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15042 case $build_os in
15043 cygwin*|mingw32*) TOOLSEXT=".exe"
15045 esac
15047 case $host_os in
15048 linux-android*) ;;
15049 linux*)
15050 case $host_cpu in
15051 *i[3456789]86*|x86_64*)
15052 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15053 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15055 esac
15057 esac
15060 ac_save_CFLAGS="$CFLAGS"
15061 CFLAGS="$CFLAGS $BUILTINFLAG"
15062 for ac_func in \
15063 __res_get_state \
15064 __res_getservers \
15065 _finite \
15066 _isnan \
15067 _pclose \
15068 _popen \
15069 _snprintf \
15070 _spawnvp \
15071 _strdup \
15072 _stricmp \
15073 _strnicmp \
15074 _strtoi64 \
15075 _strtoui64 \
15076 _vsnprintf \
15077 asctime_r \
15078 chsize \
15079 dlopen \
15080 epoll_create \
15081 ffs \
15082 finitef \
15083 fnmatch \
15084 fork \
15085 fpclass \
15086 fstatfs \
15087 fstatvfs \
15088 ftruncate \
15089 futimens \
15090 futimes \
15091 futimesat \
15092 getattrlist \
15093 getopt_long_only \
15094 getpwuid \
15095 gettimeofday \
15096 getuid \
15097 if_nameindex \
15098 isnanf \
15099 kqueue \
15100 lstat \
15101 memmove \
15102 mmap \
15103 pclose \
15104 pipe2 \
15105 poll \
15106 popen \
15107 port_create \
15108 prctl \
15109 pread \
15110 proc_pidinfo \
15111 pwrite \
15112 readdir \
15113 readlink \
15114 sched_yield \
15115 select \
15116 setproctitle \
15117 setprogname \
15118 setrlimit \
15119 settimeofday \
15120 sigaltstack \
15121 sigprocmask \
15122 snprintf \
15123 statfs \
15124 statvfs \
15125 strcasecmp \
15126 strdup \
15127 strerror \
15128 strncasecmp \
15129 strtold \
15130 strtoll \
15131 strtoull \
15132 symlink \
15133 tcdrain \
15134 thr_kill2 \
15135 timegm \
15136 usleep \
15137 vsnprintf
15139 do :
15140 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15141 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15142 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15143 cat >>confdefs.h <<_ACEOF
15144 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15145 _ACEOF
15148 done
15150 CFLAGS="$ac_save_CFLAGS"
15152 if test "$ac_cv_func_dlopen" = no
15153 then
15154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15155 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15156 if ${ac_cv_lib_dl_dlopen+:} false; then :
15157 $as_echo_n "(cached) " >&6
15158 else
15159 ac_check_lib_save_LIBS=$LIBS
15160 LIBS="-ldl $LIBS"
15161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15162 /* end confdefs.h. */
15164 /* Override any GCC internal prototype to avoid an error.
15165 Use char because int might match the return type of a GCC
15166 builtin and then its argument prototype would still apply. */
15167 #ifdef __cplusplus
15168 extern "C"
15169 #endif
15170 char dlopen ();
15172 main ()
15174 return dlopen ();
15176 return 0;
15178 _ACEOF
15179 if ac_fn_c_try_link "$LINENO"; then :
15180 ac_cv_lib_dl_dlopen=yes
15181 else
15182 ac_cv_lib_dl_dlopen=no
15184 rm -f core conftest.err conftest.$ac_objext \
15185 conftest$ac_exeext conftest.$ac_ext
15186 LIBS=$ac_check_lib_save_LIBS
15188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15189 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15190 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15191 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15192 DL_LIBS="-ldl"
15197 ac_wine_check_funcs_save_LIBS="$LIBS"
15198 LIBS="$LIBS $DL_LIBS"
15199 for ac_func in dladdr
15200 do :
15201 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15202 if test "x$ac_cv_func_dladdr" = xyes; then :
15203 cat >>confdefs.h <<_ACEOF
15204 #define HAVE_DLADDR 1
15205 _ACEOF
15208 done
15210 LIBS="$ac_wine_check_funcs_save_LIBS"
15212 if test "$ac_cv_func_poll" = no
15213 then
15214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15215 $as_echo_n "checking for poll in -lpoll... " >&6; }
15216 if ${ac_cv_lib_poll_poll+:} false; then :
15217 $as_echo_n "(cached) " >&6
15218 else
15219 ac_check_lib_save_LIBS=$LIBS
15220 LIBS="-lpoll $LIBS"
15221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15222 /* end confdefs.h. */
15224 /* Override any GCC internal prototype to avoid an error.
15225 Use char because int might match the return type of a GCC
15226 builtin and then its argument prototype would still apply. */
15227 #ifdef __cplusplus
15228 extern "C"
15229 #endif
15230 char poll ();
15232 main ()
15234 return poll ();
15236 return 0;
15238 _ACEOF
15239 if ac_fn_c_try_link "$LINENO"; then :
15240 ac_cv_lib_poll_poll=yes
15241 else
15242 ac_cv_lib_poll_poll=no
15244 rm -f core conftest.err conftest.$ac_objext \
15245 conftest$ac_exeext conftest.$ac_ext
15246 LIBS=$ac_check_lib_save_LIBS
15248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15249 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15250 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15251 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15252 POLL_LIBS="-lpoll"
15258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15259 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15260 if ${ac_cv_search_gethostbyname+:} false; then :
15261 $as_echo_n "(cached) " >&6
15262 else
15263 ac_func_search_save_LIBS=$LIBS
15264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15265 /* end confdefs.h. */
15267 /* Override any GCC internal prototype to avoid an error.
15268 Use char because int might match the return type of a GCC
15269 builtin and then its argument prototype would still apply. */
15270 #ifdef __cplusplus
15271 extern "C"
15272 #endif
15273 char gethostbyname ();
15275 main ()
15277 return gethostbyname ();
15279 return 0;
15281 _ACEOF
15282 for ac_lib in '' nsl; do
15283 if test -z "$ac_lib"; then
15284 ac_res="none required"
15285 else
15286 ac_res=-l$ac_lib
15287 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15289 if ac_fn_c_try_link "$LINENO"; then :
15290 ac_cv_search_gethostbyname=$ac_res
15292 rm -f core conftest.err conftest.$ac_objext \
15293 conftest$ac_exeext
15294 if ${ac_cv_search_gethostbyname+:} false; then :
15295 break
15297 done
15298 if ${ac_cv_search_gethostbyname+:} false; then :
15300 else
15301 ac_cv_search_gethostbyname=no
15303 rm conftest.$ac_ext
15304 LIBS=$ac_func_search_save_LIBS
15306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15307 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15308 ac_res=$ac_cv_search_gethostbyname
15309 if test "$ac_res" != no; then :
15310 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15316 $as_echo_n "checking for library containing connect... " >&6; }
15317 if ${ac_cv_search_connect+:} false; then :
15318 $as_echo_n "(cached) " >&6
15319 else
15320 ac_func_search_save_LIBS=$LIBS
15321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15322 /* end confdefs.h. */
15324 /* Override any GCC internal prototype to avoid an error.
15325 Use char because int might match the return type of a GCC
15326 builtin and then its argument prototype would still apply. */
15327 #ifdef __cplusplus
15328 extern "C"
15329 #endif
15330 char connect ();
15332 main ()
15334 return connect ();
15336 return 0;
15338 _ACEOF
15339 for ac_lib in '' socket; do
15340 if test -z "$ac_lib"; then
15341 ac_res="none required"
15342 else
15343 ac_res=-l$ac_lib
15344 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15346 if ac_fn_c_try_link "$LINENO"; then :
15347 ac_cv_search_connect=$ac_res
15349 rm -f core conftest.err conftest.$ac_objext \
15350 conftest$ac_exeext
15351 if ${ac_cv_search_connect+:} false; then :
15352 break
15354 done
15355 if ${ac_cv_search_connect+:} false; then :
15357 else
15358 ac_cv_search_connect=no
15360 rm conftest.$ac_ext
15361 LIBS=$ac_func_search_save_LIBS
15363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15364 $as_echo "$ac_cv_search_connect" >&6; }
15365 ac_res=$ac_cv_search_connect
15366 if test "$ac_res" != no; then :
15367 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15373 $as_echo_n "checking for library containing inet_aton... " >&6; }
15374 if ${ac_cv_search_inet_aton+:} false; then :
15375 $as_echo_n "(cached) " >&6
15376 else
15377 ac_func_search_save_LIBS=$LIBS
15378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15379 /* end confdefs.h. */
15381 /* Override any GCC internal prototype to avoid an error.
15382 Use char because int might match the return type of a GCC
15383 builtin and then its argument prototype would still apply. */
15384 #ifdef __cplusplus
15385 extern "C"
15386 #endif
15387 char inet_aton ();
15389 main ()
15391 return inet_aton ();
15393 return 0;
15395 _ACEOF
15396 for ac_lib in '' resolv; do
15397 if test -z "$ac_lib"; then
15398 ac_res="none required"
15399 else
15400 ac_res=-l$ac_lib
15401 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15403 if ac_fn_c_try_link "$LINENO"; then :
15404 ac_cv_search_inet_aton=$ac_res
15406 rm -f core conftest.err conftest.$ac_objext \
15407 conftest$ac_exeext
15408 if ${ac_cv_search_inet_aton+:} false; then :
15409 break
15411 done
15412 if ${ac_cv_search_inet_aton+:} false; then :
15414 else
15415 ac_cv_search_inet_aton=no
15417 rm conftest.$ac_ext
15418 LIBS=$ac_func_search_save_LIBS
15420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15421 $as_echo "$ac_cv_search_inet_aton" >&6; }
15422 ac_res=$ac_cv_search_inet_aton
15423 if test "$ac_res" != no; then :
15424 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15429 for ac_func in \
15430 getaddrinfo \
15431 getnameinfo \
15432 getnetbyname \
15433 getprotobyname \
15434 getprotobynumber \
15435 getservbyport \
15436 inet_addr \
15437 inet_network \
15438 inet_ntop \
15439 inet_pton \
15440 sendmsg \
15441 socketpair \
15443 do :
15444 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15445 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15446 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15447 cat >>confdefs.h <<_ACEOF
15448 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15449 _ACEOF
15452 done
15455 ac_save_LIBS=$LIBS
15456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15457 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15458 if ${ac_cv_search_clock_gettime+:} false; then :
15459 $as_echo_n "(cached) " >&6
15460 else
15461 ac_func_search_save_LIBS=$LIBS
15462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15463 /* end confdefs.h. */
15465 /* Override any GCC internal prototype to avoid an error.
15466 Use char because int might match the return type of a GCC
15467 builtin and then its argument prototype would still apply. */
15468 #ifdef __cplusplus
15469 extern "C"
15470 #endif
15471 char clock_gettime ();
15473 main ()
15475 return clock_gettime ();
15477 return 0;
15479 _ACEOF
15480 for ac_lib in '' rt; do
15481 if test -z "$ac_lib"; then
15482 ac_res="none required"
15483 else
15484 ac_res=-l$ac_lib
15485 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15487 if ac_fn_c_try_link "$LINENO"; then :
15488 ac_cv_search_clock_gettime=$ac_res
15490 rm -f core conftest.err conftest.$ac_objext \
15491 conftest$ac_exeext
15492 if ${ac_cv_search_clock_gettime+:} false; then :
15493 break
15495 done
15496 if ${ac_cv_search_clock_gettime+:} false; then :
15498 else
15499 ac_cv_search_clock_gettime=no
15501 rm conftest.$ac_ext
15502 LIBS=$ac_func_search_save_LIBS
15504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15505 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15506 ac_res=$ac_cv_search_clock_gettime
15507 if test "$ac_res" != no; then :
15508 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15510 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15512 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15516 LIBS=$ac_save_LIBS
15518 LDAP_LIBS=""
15520 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15521 then
15522 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15524 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15526 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15527 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15528 $as_echo_n "(cached) " >&6
15529 else
15530 ac_check_lib_save_LIBS=$LIBS
15531 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15533 /* end confdefs.h. */
15535 /* Override any GCC internal prototype to avoid an error.
15536 Use char because int might match the return type of a GCC
15537 builtin and then its argument prototype would still apply. */
15538 #ifdef __cplusplus
15539 extern "C"
15540 #endif
15541 char ldap_initialize ();
15543 main ()
15545 return ldap_initialize ();
15547 return 0;
15549 _ACEOF
15550 if ac_fn_c_try_link "$LINENO"; then :
15551 ac_cv_lib_ldap_r_ldap_initialize=yes
15552 else
15553 ac_cv_lib_ldap_r_ldap_initialize=no
15555 rm -f core conftest.err conftest.$ac_objext \
15556 conftest$ac_exeext conftest.$ac_ext
15557 LIBS=$ac_check_lib_save_LIBS
15559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15560 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15561 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15563 $as_echo_n "checking for ber_init in -llber... " >&6; }
15564 if ${ac_cv_lib_lber_ber_init+:} false; then :
15565 $as_echo_n "(cached) " >&6
15566 else
15567 ac_check_lib_save_LIBS=$LIBS
15568 LIBS="-llber $PTHREAD_LIBS $LIBS"
15569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15570 /* end confdefs.h. */
15572 /* Override any GCC internal prototype to avoid an error.
15573 Use char because int might match the return type of a GCC
15574 builtin and then its argument prototype would still apply. */
15575 #ifdef __cplusplus
15576 extern "C"
15577 #endif
15578 char ber_init ();
15580 main ()
15582 return ber_init ();
15584 return 0;
15586 _ACEOF
15587 if ac_fn_c_try_link "$LINENO"; then :
15588 ac_cv_lib_lber_ber_init=yes
15589 else
15590 ac_cv_lib_lber_ber_init=no
15592 rm -f core conftest.err conftest.$ac_objext \
15593 conftest$ac_exeext conftest.$ac_ext
15594 LIBS=$ac_check_lib_save_LIBS
15596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15597 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15598 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15600 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15602 LDAP_LIBS="-lldap_r -llber"
15609 ac_wine_check_funcs_save_LIBS="$LIBS"
15610 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15611 for ac_func in \
15612 ldap_count_references \
15613 ldap_first_reference \
15614 ldap_next_reference \
15615 ldap_parse_reference \
15616 ldap_parse_sort_control \
15617 ldap_parse_sortresponse_control \
15618 ldap_parse_vlv_control \
15619 ldap_parse_vlvresponse_control
15620 do :
15621 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15622 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15623 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15624 cat >>confdefs.h <<_ACEOF
15625 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15626 _ACEOF
15629 done
15631 LIBS="$ac_wine_check_funcs_save_LIBS"
15633 if test "x$LDAP_LIBS" = "x"; then :
15634 case "x$with_ldap" in
15635 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15636 xno) ;;
15637 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15638 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15639 esac
15643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15644 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15645 if ${wine_cv_one_arg_mkdir+:} false; then :
15646 $as_echo_n "(cached) " >&6
15647 else
15648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15649 /* end confdefs.h. */
15650 #include <sys/stat.h>
15652 main ()
15654 mkdir("foo");
15656 return 0;
15658 _ACEOF
15659 if ac_fn_c_try_compile "$LINENO"; then :
15660 wine_cv_one_arg_mkdir=yes
15661 else
15662 wine_cv_one_arg_mkdir=no
15664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15667 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15668 if test "$wine_cv_one_arg_mkdir" = "yes"
15669 then
15671 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15676 $as_echo_n "checking for sched_setaffinity... " >&6; }
15677 if ${wine_cv_have_sched_setaffinity+:} false; then :
15678 $as_echo_n "(cached) " >&6
15679 else
15680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15681 /* end confdefs.h. */
15682 #define _GNU_SOURCE
15683 #include <sched.h>
15685 main ()
15687 sched_setaffinity(0, 0, 0);
15689 return 0;
15691 _ACEOF
15692 if ac_fn_c_try_link "$LINENO"; then :
15693 wine_cv_have_sched_setaffinity=yes
15694 else
15695 wine_cv_have_sched_setaffinity=no
15697 rm -f core conftest.err conftest.$ac_objext \
15698 conftest$ac_exeext conftest.$ac_ext
15700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15701 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15702 if test "$wine_cv_have_sched_setaffinity" = "yes"
15703 then
15705 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15710 $as_echo_n "checking for fallocate... " >&6; }
15711 if ${wine_cv_have_fallocate+:} false; then :
15712 $as_echo_n "(cached) " >&6
15713 else
15714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15715 /* end confdefs.h. */
15716 #define _GNU_SOURCE
15717 #include <fcntl.h>
15719 main ()
15721 fallocate(-1, 0, 0, 0);
15723 return 0;
15725 _ACEOF
15726 if ac_fn_c_try_link "$LINENO"; then :
15727 wine_cv_have_fallocate=yes
15728 else
15729 wine_cv_have_fallocate=no
15731 rm -f core conftest.err conftest.$ac_objext \
15732 conftest$ac_exeext conftest.$ac_ext
15734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15735 $as_echo "$wine_cv_have_fallocate" >&6; }
15736 if test "$wine_cv_have_fallocate" = "yes"
15737 then
15739 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15745 $as_echo_n "checking for inline... " >&6; }
15746 if ${ac_cv_c_inline+:} false; then :
15747 $as_echo_n "(cached) " >&6
15748 else
15749 ac_cv_c_inline=no
15750 for ac_kw in inline __inline__ __inline; do
15751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15752 /* end confdefs.h. */
15753 #ifndef __cplusplus
15754 typedef int foo_t;
15755 static $ac_kw foo_t static_foo () {return 0; }
15756 $ac_kw foo_t foo () {return 0; }
15757 #endif
15759 _ACEOF
15760 if ac_fn_c_try_compile "$LINENO"; then :
15761 ac_cv_c_inline=$ac_kw
15763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15764 test "$ac_cv_c_inline" != no && break
15765 done
15768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15769 $as_echo "$ac_cv_c_inline" >&6; }
15771 case $ac_cv_c_inline in
15772 inline | yes) ;;
15774 case $ac_cv_c_inline in
15775 no) ac_val=;;
15776 *) ac_val=$ac_cv_c_inline;;
15777 esac
15778 cat >>confdefs.h <<_ACEOF
15779 #ifndef __cplusplus
15780 #define inline $ac_val
15781 #endif
15782 _ACEOF
15784 esac
15786 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15787 if test "x$ac_cv_type_mode_t" = xyes; then :
15789 cat >>confdefs.h <<_ACEOF
15790 #define HAVE_MODE_T 1
15791 _ACEOF
15795 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15796 if test "x$ac_cv_type_off_t" = xyes; then :
15798 cat >>confdefs.h <<_ACEOF
15799 #define HAVE_OFF_T 1
15800 _ACEOF
15804 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15805 if test "x$ac_cv_type_pid_t" = xyes; then :
15807 cat >>confdefs.h <<_ACEOF
15808 #define HAVE_PID_T 1
15809 _ACEOF
15813 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15814 if test "x$ac_cv_type_size_t" = xyes; then :
15816 cat >>confdefs.h <<_ACEOF
15817 #define HAVE_SIZE_T 1
15818 _ACEOF
15822 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15823 if test "x$ac_cv_type_ssize_t" = xyes; then :
15825 cat >>confdefs.h <<_ACEOF
15826 #define HAVE_SSIZE_T 1
15827 _ACEOF
15831 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15832 if test "x$ac_cv_type_long_long" = xyes; then :
15834 cat >>confdefs.h <<_ACEOF
15835 #define HAVE_LONG_LONG 1
15836 _ACEOF
15840 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15841 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15843 cat >>confdefs.h <<_ACEOF
15844 #define HAVE_FSBLKCNT_T 1
15845 _ACEOF
15849 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15850 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15852 cat >>confdefs.h <<_ACEOF
15853 #define HAVE_FSFILCNT_T 1
15854 _ACEOF
15859 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15860 #include <signal.h>
15862 if test "x$ac_cv_type_sigset_t" = xyes; then :
15864 cat >>confdefs.h <<_ACEOF
15865 #define HAVE_SIGSET_T 1
15866 _ACEOF
15871 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15873 if test "x$ac_cv_type_request_sense" = xyes; then :
15875 cat >>confdefs.h <<_ACEOF
15876 #define HAVE_REQUEST_SENSE 1
15877 _ACEOF
15883 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15884 #ifdef HAVE_SYS_SOCKET_H
15885 #include <sys/socket.h>
15886 #endif
15887 #ifdef HAVE_SYS_SOCKETVAR_H
15888 #include <sys/socketvar.h>
15889 #endif
15890 #ifdef HAVE_NET_ROUTE_H
15891 #include <net/route.h>
15892 #endif
15893 #ifdef HAVE_NETINET_IN_H
15894 #include <netinet/in.h>
15895 #endif
15896 #ifdef HAVE_NETINET_IN_SYSTM_H
15897 #include <netinet/in_systm.h>
15898 #endif
15899 #ifdef HAVE_NETINET_IP_H
15900 #include <netinet/ip.h>
15901 #endif
15902 #ifdef HAVE_NETINET_IN_PCB_H
15903 #include <netinet/in_pcb.h>
15904 #endif
15906 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15908 cat >>confdefs.h <<_ACEOF
15909 #define HAVE_STRUCT_XINPGEN 1
15910 _ACEOF
15916 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15917 #include <link.h>
15918 #endif
15919 #ifdef HAVE_SYS_LINK_H
15920 #include <sys/link.h>
15921 #endif
15923 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15925 cat >>confdefs.h <<_ACEOF
15926 #define HAVE_STRUCT_R_DEBUG 1
15927 _ACEOF
15931 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15932 #include <link.h>
15933 #endif
15934 #ifdef HAVE_SYS_LINK_H
15935 #include <sys/link.h>
15936 #endif
15938 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15940 cat >>confdefs.h <<_ACEOF
15941 #define HAVE_STRUCT_LINK_MAP 1
15942 _ACEOF
15948 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15949 #include <linux/input.h>
15950 #endif
15952 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15954 cat >>confdefs.h <<_ACEOF
15955 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15956 _ACEOF
15962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15963 $as_echo_n "checking for sigaddset... " >&6; }
15964 if ${wine_cv_have_sigaddset+:} false; then :
15965 $as_echo_n "(cached) " >&6
15966 else
15967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15968 /* end confdefs.h. */
15969 #include <signal.h>
15971 main ()
15973 sigset_t set; sigaddset(&set,SIGTERM);
15975 return 0;
15977 _ACEOF
15978 if ac_fn_c_try_link "$LINENO"; then :
15979 wine_cv_have_sigaddset=yes
15980 else
15981 wine_cv_have_sigaddset=no
15983 rm -f core conftest.err conftest.$ac_objext \
15984 conftest$ac_exeext conftest.$ac_ext
15986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15987 $as_echo "$wine_cv_have_sigaddset" >&6; }
15988 if test "$wine_cv_have_sigaddset" = "yes"
15989 then
15991 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15997 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15998 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15999 $as_echo_n "(cached) " >&6
16000 else
16001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16002 /* end confdefs.h. */
16003 #include <netdb.h>
16005 main ()
16008 char *name=0;
16009 struct hostent he;
16010 struct hostent *result;
16011 char *buf=0;
16012 int bufsize=0;
16013 int errnr;
16014 char *addr=0;
16015 int addrlen=0;
16016 int addrtype=0;
16017 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16018 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16021 return 0;
16023 _ACEOF
16024 if ac_fn_c_try_link "$LINENO"; then :
16025 wine_cv_linux_gethostbyname_r_6=yes
16026 else
16027 wine_cv_linux_gethostbyname_r_6=no
16030 rm -f core conftest.err conftest.$ac_objext \
16031 conftest$ac_exeext conftest.$ac_ext
16034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16035 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16036 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16037 then
16039 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16043 if test "$ac_cv_header_linux_joystick_h" = "yes"
16044 then
16045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16046 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16047 if ${wine_cv_linux_joystick_22_api+:} false; then :
16048 $as_echo_n "(cached) " >&6
16049 else
16050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16051 /* end confdefs.h. */
16053 #include <sys/ioctl.h>
16054 #include <sys/types.h>
16055 #include <linux/joystick.h>
16057 struct js_event blub;
16058 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16059 #error "no 2.2 header"
16060 #endif
16063 main ()
16065 /*empty*/
16067 return 0;
16069 _ACEOF
16070 if ac_fn_c_try_compile "$LINENO"; then :
16071 wine_cv_linux_joystick_22_api=yes
16072 else
16073 wine_cv_linux_joystick_22_api=no
16075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16079 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16080 if test "$wine_cv_linux_joystick_22_api" = "yes"
16081 then
16083 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16089 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16090 #ifdef HAVE_SYS_PARAM_H
16091 # include <sys/param.h>
16092 #endif
16093 #ifdef HAVE_SYS_MOUNT_H
16094 # include <sys/mount.h>
16095 #endif
16096 #ifdef HAVE_SYS_VFS_H
16097 # include <sys/vfs.h>
16098 #endif
16099 #ifdef HAVE_SYS_STATFS_H
16100 # include <sys/statfs.h>
16101 #endif
16103 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16105 cat >>confdefs.h <<_ACEOF
16106 #define HAVE_STRUCT_STATFS_F_BFREE 1
16107 _ACEOF
16111 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16112 #ifdef HAVE_SYS_PARAM_H
16113 # include <sys/param.h>
16114 #endif
16115 #ifdef HAVE_SYS_MOUNT_H
16116 # include <sys/mount.h>
16117 #endif
16118 #ifdef HAVE_SYS_VFS_H
16119 # include <sys/vfs.h>
16120 #endif
16121 #ifdef HAVE_SYS_STATFS_H
16122 # include <sys/statfs.h>
16123 #endif
16125 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16127 cat >>confdefs.h <<_ACEOF
16128 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16129 _ACEOF
16133 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16134 #ifdef HAVE_SYS_PARAM_H
16135 # include <sys/param.h>
16136 #endif
16137 #ifdef HAVE_SYS_MOUNT_H
16138 # include <sys/mount.h>
16139 #endif
16140 #ifdef HAVE_SYS_VFS_H
16141 # include <sys/vfs.h>
16142 #endif
16143 #ifdef HAVE_SYS_STATFS_H
16144 # include <sys/statfs.h>
16145 #endif
16147 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16149 cat >>confdefs.h <<_ACEOF
16150 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16151 _ACEOF
16155 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16156 #ifdef HAVE_SYS_PARAM_H
16157 # include <sys/param.h>
16158 #endif
16159 #ifdef HAVE_SYS_MOUNT_H
16160 # include <sys/mount.h>
16161 #endif
16162 #ifdef HAVE_SYS_VFS_H
16163 # include <sys/vfs.h>
16164 #endif
16165 #ifdef HAVE_SYS_STATFS_H
16166 # include <sys/statfs.h>
16167 #endif
16169 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16171 cat >>confdefs.h <<_ACEOF
16172 #define HAVE_STRUCT_STATFS_F_FFREE 1
16173 _ACEOF
16177 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16178 #ifdef HAVE_SYS_PARAM_H
16179 # include <sys/param.h>
16180 #endif
16181 #ifdef HAVE_SYS_MOUNT_H
16182 # include <sys/mount.h>
16183 #endif
16184 #ifdef HAVE_SYS_VFS_H
16185 # include <sys/vfs.h>
16186 #endif
16187 #ifdef HAVE_SYS_STATFS_H
16188 # include <sys/statfs.h>
16189 #endif
16191 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16193 cat >>confdefs.h <<_ACEOF
16194 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16195 _ACEOF
16199 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16200 #ifdef HAVE_SYS_PARAM_H
16201 # include <sys/param.h>
16202 #endif
16203 #ifdef HAVE_SYS_MOUNT_H
16204 # include <sys/mount.h>
16205 #endif
16206 #ifdef HAVE_SYS_VFS_H
16207 # include <sys/vfs.h>
16208 #endif
16209 #ifdef HAVE_SYS_STATFS_H
16210 # include <sys/statfs.h>
16211 #endif
16213 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16215 cat >>confdefs.h <<_ACEOF
16216 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16217 _ACEOF
16223 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16224 #include <sys/statvfs.h>
16225 #endif
16227 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16229 cat >>confdefs.h <<_ACEOF
16230 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16231 _ACEOF
16237 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16238 #include <dirent.h>
16239 #endif
16241 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16243 cat >>confdefs.h <<_ACEOF
16244 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16245 _ACEOF
16251 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16252 #ifdef HAVE_SYS_SOCKET_H
16253 # include <sys/socket.h>
16254 #endif
16255 #ifdef HAVE_SYS_UN_H
16256 # include <sys/un.h>
16257 #endif
16259 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16261 cat >>confdefs.h <<_ACEOF
16262 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16263 _ACEOF
16267 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16268 #ifdef HAVE_SYS_SOCKET_H
16269 # include <sys/socket.h>
16270 #endif
16271 #ifdef HAVE_SYS_UN_H
16272 # include <sys/un.h>
16273 #endif
16275 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16277 cat >>confdefs.h <<_ACEOF
16278 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16279 _ACEOF
16283 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16284 #ifdef HAVE_SYS_SOCKET_H
16285 # include <sys/socket.h>
16286 #endif
16287 #ifdef HAVE_SYS_UN_H
16288 # include <sys/un.h>
16289 #endif
16291 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16293 cat >>confdefs.h <<_ACEOF
16294 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16295 _ACEOF
16301 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16302 #ifdef HAVE_SCSI_SG_H
16303 #include <scsi/sg.h>
16304 #endif
16306 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16308 cat >>confdefs.h <<_ACEOF
16309 #define HAVE_SCSIREQ_T_CMD 1
16310 _ACEOF
16314 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>
16315 #ifdef HAVE_SCSI_SG_H
16316 #include <scsi/sg.h>
16317 #endif
16319 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16321 cat >>confdefs.h <<_ACEOF
16322 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16323 _ACEOF
16329 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16331 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16333 cat >>confdefs.h <<_ACEOF
16334 #define HAVE_SIGINFO_T_SI_FD 1
16335 _ACEOF
16341 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16342 #ifdef HAVE_SYS_MTIO_H
16343 #include <sys/mtio.h>
16344 #endif
16346 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16348 cat >>confdefs.h <<_ACEOF
16349 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16350 _ACEOF
16354 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16355 #ifdef HAVE_SYS_MTIO_H
16356 #include <sys/mtio.h>
16357 #endif
16359 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16361 cat >>confdefs.h <<_ACEOF
16362 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16363 _ACEOF
16367 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16368 #ifdef HAVE_SYS_MTIO_H
16369 #include <sys/mtio.h>
16370 #endif
16372 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16374 cat >>confdefs.h <<_ACEOF
16375 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16376 _ACEOF
16382 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16383 #include <getopt.h>
16384 #endif
16386 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16388 cat >>confdefs.h <<_ACEOF
16389 #define HAVE_STRUCT_OPTION_NAME 1
16390 _ACEOF
16396 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16397 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16399 cat >>confdefs.h <<_ACEOF
16400 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16401 _ACEOF
16405 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16406 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16408 cat >>confdefs.h <<_ACEOF
16409 #define HAVE_STRUCT_STAT_ST_MTIM 1
16410 _ACEOF
16414 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16415 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16417 cat >>confdefs.h <<_ACEOF
16418 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16419 _ACEOF
16423 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16424 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16426 cat >>confdefs.h <<_ACEOF
16427 #define HAVE_STRUCT_STAT_ST_CTIM 1
16428 _ACEOF
16432 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16433 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16435 cat >>confdefs.h <<_ACEOF
16436 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16437 _ACEOF
16441 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16442 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16444 cat >>confdefs.h <<_ACEOF
16445 #define HAVE_STRUCT_STAT_ST_ATIM 1
16446 _ACEOF
16450 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16451 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16453 cat >>confdefs.h <<_ACEOF
16454 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16455 _ACEOF
16459 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16460 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16462 cat >>confdefs.h <<_ACEOF
16463 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16464 _ACEOF
16468 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16469 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16471 cat >>confdefs.h <<_ACEOF
16472 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16473 _ACEOF
16477 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16478 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16480 cat >>confdefs.h <<_ACEOF
16481 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16482 _ACEOF
16486 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16487 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16489 cat >>confdefs.h <<_ACEOF
16490 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16491 _ACEOF
16495 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16496 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16498 cat >>confdefs.h <<_ACEOF
16499 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16500 _ACEOF
16506 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
16507 #include <sys/types.h>
16508 #endif
16509 #ifdef HAVE_NETINET_IN_H
16510 #include <netinet/in.h>
16511 #endif
16513 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16515 cat >>confdefs.h <<_ACEOF
16516 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16517 _ACEOF
16523 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16524 #include <resolv.h>
16525 #endif
16527 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16529 cat >>confdefs.h <<_ACEOF
16530 #define HAVE_STRUCT___RES_STATE 1
16531 _ACEOF
16537 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
16538 #include <resolv.h>
16539 #endif
16541 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16543 cat >>confdefs.h <<_ACEOF
16544 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16545 _ACEOF
16551 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16552 #include <sys/types.h>
16553 #endif
16554 #ifdef HAVE_NETINET_IN_H
16555 # include <netinet/in.h>
16556 #endif
16557 #ifdef HAVE_ARPA_NAMESER_H
16558 # include <arpa/nameser.h>
16559 #endif
16561 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16563 cat >>confdefs.h <<_ACEOF
16564 #define HAVE_NS_MSG__MSG_PTR 1
16565 _ACEOF
16571 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16572 #include <sys/types.h>
16573 #endif
16574 #ifdef HAVE_NETINET_IP_H
16575 #include <netinet/ip.h>
16576 #endif
16577 #ifdef HAVE_NETINET_IP_ICMP_H
16578 #include <netinet/ip_icmp.h>
16579 #endif
16580 #ifdef HAVE_NETINET_ICMP_VAR_H
16581 #include <netinet/icmp_var.h>
16582 #endif
16584 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16586 cat >>confdefs.h <<_ACEOF
16587 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16588 _ACEOF
16594 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16595 #include <sys/types.h>
16596 #endif
16597 #ifdef HAVE_ALIAS_H
16598 #include <alias.h>
16599 #endif
16600 #ifdef HAVE_SYS_SOCKET_H
16601 #include <sys/socket.h>
16602 #endif
16603 #ifdef HAVE_SYS_SOCKETVAR_H
16604 #include <sys/socketvar.h>
16605 #endif
16606 #ifdef HAVE_SYS_TIMEOUT_H
16607 #include <sys/timeout.h>
16608 #endif
16609 #ifdef HAVE_NETINET_IN_H
16610 #include <netinet/in.h>
16611 #endif
16612 #ifdef HAVE_NETINET_IN_SYSTM_H
16613 #include <netinet/in_systm.h>
16614 #endif
16615 #ifdef HAVE_NETINET_IP_H
16616 #include <netinet/ip.h>
16617 #endif
16618 #ifdef HAVE_NETINET_IP_VAR_H
16619 #include <netinet/ip_var.h>
16620 #endif
16621 #ifdef HAVE_NETINET_IP_ICMP_H
16622 #include <netinet/ip_icmp.h>
16623 #endif
16624 #ifdef HAVE_NETINET_ICMP_VAR_H
16625 #include <netinet/icmp_var.h>
16626 #endif
16628 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16630 cat >>confdefs.h <<_ACEOF
16631 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16632 _ACEOF
16638 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16639 #include <sys/types.h>
16640 #endif
16641 #ifdef HAVE_SYS_SOCKETVAR_H
16642 #include <sys/socketvar.h>
16643 #endif
16644 #ifdef HAVE_NETINET_IN_H
16645 #include <netinet/in.h>
16646 #endif
16647 #ifdef HAVE_NETINET_IP_VAR_H
16648 #include <netinet/ip_var.h>
16649 #endif
16651 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16653 cat >>confdefs.h <<_ACEOF
16654 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16655 _ACEOF
16661 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
16662 #include <netinet/ip_var.h>
16663 #endif
16665 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16667 cat >>confdefs.h <<_ACEOF
16668 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16669 _ACEOF
16675 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16676 #include <sys/types.h>
16677 #endif
16678 #ifdef HAVE_SYS_SOCKETVAR_H
16679 #include <sys/socketvar.h>
16680 #endif
16681 #ifdef HAVE_NETINET_IN_H
16682 #include <netinet/in.h>
16683 #endif
16684 #ifdef HAVE_NETINET_TCP_H
16685 #include <netinet/tcp.h>
16686 #endif
16687 #ifdef HAVE_NETINET_TCP_VAR_H
16688 #include <netinet/tcp_var.h>
16689 #endif
16691 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16693 cat >>confdefs.h <<_ACEOF
16694 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16695 _ACEOF
16701 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
16702 #include <netinet/tcp_var.h>
16703 #endif
16705 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16707 cat >>confdefs.h <<_ACEOF
16708 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16709 _ACEOF
16715 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16716 #include <sys/types.h>
16717 #endif
16718 #ifdef HAVE_NETINET_IN_H
16719 #include <netinet/in.h>
16720 #endif
16721 #ifdef HAVE_NETINET_IP_VAR_H
16722 #include <netinet/ip_var.h>
16723 #endif
16724 #ifdef HAVE_NETINET_UDP_H
16725 #include <netinet/udp.h>
16726 #endif
16727 #ifdef HAVE_NETINET_UDP_VAR_H
16728 #include <netinet/udp_var.h>
16729 #endif
16731 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16733 cat >>confdefs.h <<_ACEOF
16734 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16735 _ACEOF
16741 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16742 #include <sys/types.h>
16743 #endif
16744 #ifdef HAVE_NET_IF_H
16745 # include <net/if.h>
16746 #endif
16748 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16750 cat >>confdefs.h <<_ACEOF
16751 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16752 _ACEOF
16758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16759 $as_echo_n "checking for timezone variable... " >&6; }
16760 if ${ac_cv_have_timezone+:} false; then :
16761 $as_echo_n "(cached) " >&6
16762 else
16763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16764 /* end confdefs.h. */
16765 #include <time.h>
16767 main ()
16769 timezone = 1
16771 return 0;
16773 _ACEOF
16774 if ac_fn_c_try_link "$LINENO"; then :
16775 ac_cv_have_timezone="yes"
16776 else
16777 ac_cv_have_timezone="no"
16779 rm -f core conftest.err conftest.$ac_objext \
16780 conftest$ac_exeext conftest.$ac_ext
16782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16783 $as_echo "$ac_cv_have_timezone" >&6; }
16784 if test "$ac_cv_have_timezone" = "yes"
16785 then
16787 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16791 $as_echo_n "checking for daylight variable... " >&6; }
16792 if ${ac_cv_have_daylight+:} false; then :
16793 $as_echo_n "(cached) " >&6
16794 else
16795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16796 /* end confdefs.h. */
16797 #include <time.h>
16799 main ()
16801 daylight = 1
16803 return 0;
16805 _ACEOF
16806 if ac_fn_c_try_link "$LINENO"; then :
16807 ac_cv_have_daylight="yes"
16808 else
16809 ac_cv_have_daylight="no"
16811 rm -f core conftest.err conftest.$ac_objext \
16812 conftest$ac_exeext conftest.$ac_ext
16814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16815 $as_echo "$ac_cv_have_daylight" >&6; }
16816 if test "$ac_cv_have_daylight" = "yes"
16817 then
16819 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16823 ac_save_LIBS="$LIBS"
16824 LIBS="$LIBS -lm"
16825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16826 $as_echo_n "checking for isfinite... " >&6; }
16827 if ${ac_cv_have_isfinite+:} false; then :
16828 $as_echo_n "(cached) " >&6
16829 else
16830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16831 /* end confdefs.h. */
16832 #define _GNU_SOURCE
16833 #include <math.h>
16835 main ()
16837 float f = 0.0; return isfinite(f)
16839 return 0;
16841 _ACEOF
16842 if ac_fn_c_try_link "$LINENO"; then :
16843 ac_cv_have_isfinite="yes"
16844 else
16845 ac_cv_have_isfinite="no"
16847 rm -f core conftest.err conftest.$ac_objext \
16848 conftest$ac_exeext conftest.$ac_ext
16850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16851 $as_echo "$ac_cv_have_isfinite" >&6; }
16852 if test "$ac_cv_have_isfinite" = "yes"
16853 then
16855 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16860 $as_echo_n "checking for isinf... " >&6; }
16861 if ${ac_cv_have_isinf+:} false; then :
16862 $as_echo_n "(cached) " >&6
16863 else
16864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16865 /* end confdefs.h. */
16866 #include <math.h>
16868 main ()
16870 float f = 0.0; return isinf(f)
16872 return 0;
16874 _ACEOF
16875 if ac_fn_c_try_link "$LINENO"; then :
16876 ac_cv_have_isinf="yes"
16877 else
16878 ac_cv_have_isinf="no"
16880 rm -f core conftest.err conftest.$ac_objext \
16881 conftest$ac_exeext conftest.$ac_ext
16883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16884 $as_echo "$ac_cv_have_isinf" >&6; }
16885 if test "$ac_cv_have_isinf" = "yes"
16886 then
16888 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16893 $as_echo_n "checking for isnan... " >&6; }
16894 if ${ac_cv_have_isnan+:} false; then :
16895 $as_echo_n "(cached) " >&6
16896 else
16897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16898 /* end confdefs.h. */
16899 #include <math.h>
16901 main ()
16903 float f = 0.0; return isnan(f)
16905 return 0;
16907 _ACEOF
16908 if ac_fn_c_try_link "$LINENO"; then :
16909 ac_cv_have_isnan="yes"
16910 else
16911 ac_cv_have_isnan="no"
16913 rm -f core conftest.err conftest.$ac_objext \
16914 conftest$ac_exeext conftest.$ac_ext
16916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16917 $as_echo "$ac_cv_have_isnan" >&6; }
16918 if test "$ac_cv_have_isnan" = "yes"
16919 then
16921 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16925 for ac_func in \
16926 asinh \
16927 asinhf \
16928 cbrt \
16929 cbrtf \
16930 erf \
16931 erff \
16932 exp2 \
16933 exp2f \
16934 llrint \
16935 llrintf \
16936 llround \
16937 llroundf \
16938 log2 \
16939 log2f \
16940 lrint \
16941 lrintf \
16942 lround \
16943 lroundf \
16944 powl \
16945 remainder \
16946 remainderf \
16947 rint \
16948 rintf \
16949 round \
16950 roundf \
16951 trunc \
16952 truncf
16954 do :
16955 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16956 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16957 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16958 cat >>confdefs.h <<_ACEOF
16959 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16960 _ACEOF
16963 done
16965 LIBS="$ac_save_LIBS"
16967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16968 $as_echo_n "checking for __builtin_clz... " >&6; }
16969 if ${ac_cv_have___builtin_clz+:} false; then :
16970 $as_echo_n "(cached) " >&6
16971 else
16972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16973 /* end confdefs.h. */
16976 main ()
16978 return __builtin_clz(1)
16980 return 0;
16982 _ACEOF
16983 if ac_fn_c_try_link "$LINENO"; then :
16984 ac_cv_have___builtin_clz="yes"
16985 else
16986 ac_cv_have___builtin_clz="no"
16988 rm -f core conftest.err conftest.$ac_objext \
16989 conftest$ac_exeext conftest.$ac_ext
16991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16992 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16993 if test "$ac_cv_have___builtin_clz" = "yes"
16994 then
16996 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17001 $as_echo_n "checking for __builtin_popcount... " >&6; }
17002 if ${ac_cv_have___builtin_popcount+:} false; then :
17003 $as_echo_n "(cached) " >&6
17004 else
17005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17006 /* end confdefs.h. */
17009 main ()
17011 return __builtin_popcount(1)
17013 return 0;
17015 _ACEOF
17016 if ac_fn_c_try_link "$LINENO"; then :
17017 ac_cv_have___builtin_popcount="yes"
17018 else
17019 ac_cv_have___builtin_popcount="no"
17021 rm -f core conftest.err conftest.$ac_objext \
17022 conftest$ac_exeext conftest.$ac_ext
17024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17025 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17026 if test "$ac_cv_have___builtin_popcount" = "yes"
17027 then
17029 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17034 case $host_cpu in
17035 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17036 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17037 if ${ac_cv_cpp_def___i386__+:} false; then :
17038 $as_echo_n "(cached) " >&6
17039 else
17040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17041 /* end confdefs.h. */
17042 #ifndef __i386__
17044 #endif
17045 _ACEOF
17046 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17047 $EGREP "yes" >/dev/null 2>&1; then :
17048 ac_cv_cpp_def___i386__=yes
17049 else
17050 ac_cv_cpp_def___i386__=no
17052 rm -f conftest*
17055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17056 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17057 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17058 CFLAGS="$CFLAGS -D__i386__"
17059 LINTFLAGS="$LINTFLAGS -D__i386__"
17060 fi ;;
17061 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17062 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17063 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17064 $as_echo_n "(cached) " >&6
17065 else
17066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17067 /* end confdefs.h. */
17068 #ifndef __x86_64__
17070 #endif
17071 _ACEOF
17072 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17073 $EGREP "yes" >/dev/null 2>&1; then :
17074 ac_cv_cpp_def___x86_64__=yes
17075 else
17076 ac_cv_cpp_def___x86_64__=no
17078 rm -f conftest*
17081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17082 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17083 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17084 CFLAGS="$CFLAGS -D__x86_64__"
17085 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17086 fi ;;
17087 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17088 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17089 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17090 $as_echo_n "(cached) " >&6
17091 else
17092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17093 /* end confdefs.h. */
17094 #ifndef __sparc64__
17096 #endif
17097 _ACEOF
17098 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17099 $EGREP "yes" >/dev/null 2>&1; then :
17100 ac_cv_cpp_def___sparc64__=yes
17101 else
17102 ac_cv_cpp_def___sparc64__=no
17104 rm -f conftest*
17107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17108 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17109 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17110 CFLAGS="$CFLAGS -D__sparc64__"
17111 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17112 fi ;;
17113 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17114 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17115 if ${ac_cv_cpp_def___sparc__+:} false; then :
17116 $as_echo_n "(cached) " >&6
17117 else
17118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17119 /* end confdefs.h. */
17120 #ifndef __sparc__
17122 #endif
17123 _ACEOF
17124 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17125 $EGREP "yes" >/dev/null 2>&1; then :
17126 ac_cv_cpp_def___sparc__=yes
17127 else
17128 ac_cv_cpp_def___sparc__=no
17130 rm -f conftest*
17133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17134 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17135 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17136 CFLAGS="$CFLAGS -D__sparc__"
17137 LINTFLAGS="$LINTFLAGS -D__sparc__"
17138 fi ;;
17139 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17140 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17141 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17142 $as_echo_n "(cached) " >&6
17143 else
17144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17145 /* end confdefs.h. */
17146 #ifndef __powerpc64__
17148 #endif
17149 _ACEOF
17150 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17151 $EGREP "yes" >/dev/null 2>&1; then :
17152 ac_cv_cpp_def___powerpc64__=yes
17153 else
17154 ac_cv_cpp_def___powerpc64__=no
17156 rm -f conftest*
17159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17160 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17161 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17162 CFLAGS="$CFLAGS -D__powerpc64__"
17163 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17164 fi ;;
17165 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17166 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17167 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17168 $as_echo_n "(cached) " >&6
17169 else
17170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17171 /* end confdefs.h. */
17172 #ifndef __powerpc__
17174 #endif
17175 _ACEOF
17176 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17177 $EGREP "yes" >/dev/null 2>&1; then :
17178 ac_cv_cpp_def___powerpc__=yes
17179 else
17180 ac_cv_cpp_def___powerpc__=no
17182 rm -f conftest*
17185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17186 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17187 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17188 CFLAGS="$CFLAGS -D__powerpc__"
17189 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17190 fi ;;
17191 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17192 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17193 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17194 $as_echo_n "(cached) " >&6
17195 else
17196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17197 /* end confdefs.h. */
17198 #ifndef __aarch64__
17200 #endif
17201 _ACEOF
17202 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17203 $EGREP "yes" >/dev/null 2>&1; then :
17204 ac_cv_cpp_def___aarch64__=yes
17205 else
17206 ac_cv_cpp_def___aarch64__=no
17208 rm -f conftest*
17211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17212 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17213 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17214 CFLAGS="$CFLAGS -D__aarch64__"
17215 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17216 fi ;;
17217 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17218 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17219 if ${ac_cv_cpp_def___arm__+:} false; then :
17220 $as_echo_n "(cached) " >&6
17221 else
17222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17223 /* end confdefs.h. */
17224 #ifndef __arm__
17226 #endif
17227 _ACEOF
17228 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17229 $EGREP "yes" >/dev/null 2>&1; then :
17230 ac_cv_cpp_def___arm__=yes
17231 else
17232 ac_cv_cpp_def___arm__=no
17234 rm -f conftest*
17237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17238 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17239 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17240 CFLAGS="$CFLAGS -D__arm__"
17241 LINTFLAGS="$LINTFLAGS -D__arm__"
17242 fi ;;
17243 esac
17245 case $host_vendor in
17246 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17247 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17248 if ${ac_cv_cpp_def___sun__+:} false; then :
17249 $as_echo_n "(cached) " >&6
17250 else
17251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17252 /* end confdefs.h. */
17253 #ifndef __sun__
17255 #endif
17256 _ACEOF
17257 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17258 $EGREP "yes" >/dev/null 2>&1; then :
17259 ac_cv_cpp_def___sun__=yes
17260 else
17261 ac_cv_cpp_def___sun__=no
17263 rm -f conftest*
17266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17267 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17268 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17269 CFLAGS="$CFLAGS -D__sun__"
17270 LINTFLAGS="$LINTFLAGS -D__sun__"
17271 fi ;;
17272 esac
17278 ac_config_commands="$ac_config_commands include/stamp-h"
17280 $as_echo_n "creating Makefile rules..." >&6
17282 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17283 SOCKET_LIBS = $SOCKET_LIBS
17284 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17285 IOKIT_LIBS = $IOKIT_LIBS
17286 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17287 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17288 CORESERVICES_LIBS = $CORESERVICES_LIBS
17289 APPKIT_LIBS = $APPKIT_LIBS
17290 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17291 SECURITY_LIBS = $SECURITY_LIBS
17292 COREAUDIO_LIBS = $COREAUDIO_LIBS
17293 OPENAL_LIBS = $OPENAL_LIBS
17294 OPENCL_LIBS = $OPENCL_LIBS
17295 QUICKTIME_LIBS = $QUICKTIME_LIBS
17296 CARBON_LIBS = $CARBON_LIBS
17297 PTHREAD_LIBS = $PTHREAD_LIBS
17298 X_CFLAGS = $X_CFLAGS
17299 X_PRE_LIBS = $X_PRE_LIBS
17300 X_LIBS = $X_LIBS
17301 X_EXTRA_LIBS = $X_EXTRA_LIBS
17302 PCAP_LIBS = $PCAP_LIBS
17303 XML2_CFLAGS = $XML2_CFLAGS
17304 XML2_LIBS = $XML2_LIBS
17305 XSLT_CFLAGS = $XSLT_CFLAGS
17306 XSLT_LIBS = $XSLT_LIBS
17307 DBUS_CFLAGS = $DBUS_CFLAGS
17308 DBUS_LIBS = $DBUS_LIBS
17309 HAL_CFLAGS = $HAL_CFLAGS
17310 HAL_LIBS = $HAL_LIBS
17311 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17312 GNUTLS_LIBS = $GNUTLS_LIBS
17313 SANE_CFLAGS = $SANE_CFLAGS
17314 SANE_LIBS = $SANE_LIBS
17315 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17316 GPHOTO2_LIBS = $GPHOTO2_LIBS
17317 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17318 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17319 RESOLV_LIBS = $RESOLV_LIBS
17320 LCMS2_CFLAGS = $LCMS2_CFLAGS
17321 LCMS2_LIBS = $LCMS2_LIBS
17322 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17323 FREETYPE_LIBS = $FREETYPE_LIBS
17324 Z_LIBS = $Z_LIBS
17325 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17326 PULSE_CFLAGS = $PULSE_CFLAGS
17327 PULSE_LIBS = $PULSE_LIBS
17328 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17329 GSTREAMER_LIBS = $GSTREAMER_LIBS
17330 ALSA_LIBS = $ALSA_LIBS
17331 OSS4_CFLAGS = $OSS4_CFLAGS
17332 CAPI20_CFLAGS = $CAPI20_CFLAGS
17333 CAPI20_LIBS = $CAPI20_LIBS
17334 CUPS_CFLAGS = $CUPS_CFLAGS
17335 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17336 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17337 JPEG_CFLAGS = $JPEG_CFLAGS
17338 JPEG_LIBS = $JPEG_LIBS
17339 PNG_CFLAGS = $PNG_CFLAGS
17340 PNG_LIBS = $PNG_LIBS
17341 TIFF_CFLAGS = $TIFF_CFLAGS
17342 TIFF_LIBS = $TIFF_LIBS
17343 MPG123_CFLAGS = $MPG123_CFLAGS
17344 MPG123_LIBS = $MPG123_LIBS
17345 KSTAT_LIBS = $KSTAT_LIBS
17346 PROCSTAT_LIBS = $PROCSTAT_LIBS
17347 NETAPI_CFLAGS = $NETAPI_CFLAGS
17348 NETAPI_LIBS = $NETAPI_LIBS
17349 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17350 DL_LIBS = $DL_LIBS
17351 POLL_LIBS = $POLL_LIBS
17352 RT_LIBS = $RT_LIBS
17353 LDAP_LIBS = $LDAP_LIBS
17358 wine_fn_append_rule "
17359 # Rules automatically generated by configure
17361 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17363 .INIT: Makefile
17364 .MAKEFILEDEPS:
17365 all: Makefile
17366 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17367 @./config.status Make.tmp Makefile
17368 depend: \$(MAKEDEP) dummy
17369 \$(MAKEDEP)"
17371 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17372 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17374 if test "x$enable_fonts" != xno; then
17375 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17376 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17377 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17378 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17379 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17380 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17382 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17383 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17384 ac_config_links="$ac_config_links wine:tools/winewrapper"
17385 wine_fn_config_symlink wine
17386 if test "x$enable_win64" != xno; then
17387 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17388 wine_fn_config_symlink wine64
17391 wine_fn_config_dll acledit enable_acledit
17392 wine_fn_config_dll aclui enable_aclui implib
17393 wine_fn_config_dll activeds enable_activeds implib
17394 wine_fn_config_dll actxprxy enable_actxprxy clean
17395 wine_fn_config_lib adsiid
17396 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17397 wine_fn_config_test dlls/advapi32/tests advapi32_test
17398 wine_fn_config_dll advpack enable_advpack implib
17399 wine_fn_config_test dlls/advpack/tests advpack_test
17400 wine_fn_config_dll amstream enable_amstream clean
17401 wine_fn_config_test dlls/amstream/tests amstream_test
17402 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17403 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17404 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17405 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17406 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17407 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17408 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17409 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17410 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17411 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17412 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17413 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17414 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17415 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17416 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17417 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17418 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17419 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17420 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17421 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17422 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17423 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17424 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17425 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17426 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17427 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17428 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17429 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17430 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17431 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17432 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17433 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17434 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17435 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17436 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17437 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17438 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17439 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17440 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17441 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17442 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17443 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17444 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17445 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17446 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17447 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17448 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17449 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17450 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17451 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17452 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17453 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17454 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17455 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17456 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17457 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17458 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17459 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17460 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17461 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17462 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17463 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17464 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17465 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17466 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17467 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17468 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17469 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17470 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17471 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17472 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17473 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17474 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17475 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17476 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17477 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17478 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17479 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17480 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17481 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17482 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17483 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17484 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17485 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17486 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17487 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17488 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17489 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17490 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17491 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17492 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17493 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17494 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17495 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17496 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17497 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17498 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17499 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17500 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17501 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17502 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17503 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17504 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17505 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17506 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17507 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17508 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17509 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17510 wine_fn_config_dll apphelp enable_apphelp
17511 wine_fn_config_test dlls/apphelp/tests apphelp_test
17512 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17513 wine_fn_config_dll atl enable_atl clean,implib
17514 wine_fn_config_test dlls/atl/tests atl_test
17515 wine_fn_config_dll atl100 enable_atl100 clean,implib
17516 wine_fn_config_test dlls/atl100/tests atl100_test
17517 wine_fn_config_dll atl110 enable_atl110 clean
17518 wine_fn_config_dll atl80 enable_atl80 clean,implib
17519 wine_fn_config_test dlls/atl80/tests atl80_test
17520 wine_fn_config_dll atl90 enable_atl90 clean
17521 wine_fn_config_dll authz enable_authz
17522 wine_fn_config_dll avicap32 enable_avicap32 implib
17523 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
17524 wine_fn_config_test dlls/avifil32/tests avifil32_test
17525 wine_fn_config_dll avifile.dll16 enable_win16
17526 wine_fn_config_dll avrt enable_avrt implib
17527 wine_fn_config_dll bcrypt enable_bcrypt implib
17528 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17529 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17530 wine_fn_config_dll browseui enable_browseui clean
17531 wine_fn_config_test dlls/browseui/tests browseui_test
17532 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17533 wine_fn_config_dll cabinet enable_cabinet implib
17534 wine_fn_config_test dlls/cabinet/tests cabinet_test
17535 wine_fn_config_dll capi2032 enable_capi2032 implib
17536 wine_fn_config_dll cards enable_cards implib
17537 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17538 wine_fn_config_dll clusapi enable_clusapi implib
17539 wine_fn_config_dll combase enable_combase
17540 wine_fn_config_test dlls/combase/tests combase_test
17541 wine_fn_config_dll comcat enable_comcat
17542 wine_fn_config_test dlls/comcat/tests comcat_test
17543 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
17544 wine_fn_config_test dlls/comctl32/tests comctl32_test
17545 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
17546 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17547 wine_fn_config_dll comm.drv16 enable_win16
17548 wine_fn_config_dll commdlg.dll16 enable_win16
17549 wine_fn_config_dll compobj.dll16 enable_win16
17550 wine_fn_config_dll compstui enable_compstui implib
17551 wine_fn_config_dll comsvcs enable_comsvcs implib
17552 wine_fn_config_dll connect enable_connect
17553 wine_fn_config_dll credui enable_credui clean,implib
17554 wine_fn_config_test dlls/credui/tests credui_test
17555 wine_fn_config_dll crtdll enable_crtdll
17556 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
17557 wine_fn_config_test dlls/crypt32/tests crypt32_test
17558 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17559 wine_fn_config_dll cryptdll enable_cryptdll implib
17560 wine_fn_config_dll cryptext enable_cryptext
17561 wine_fn_config_dll cryptnet enable_cryptnet implib
17562 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17563 wine_fn_config_dll cryptui enable_cryptui clean,implib
17564 wine_fn_config_test dlls/cryptui/tests cryptui_test
17565 wine_fn_config_dll ctapi32 enable_ctapi32
17566 wine_fn_config_dll ctl3d.dll16 enable_win16
17567 wine_fn_config_dll ctl3d32 enable_ctl3d32
17568 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17569 wine_fn_config_dll d2d1 enable_d2d1 implib
17570 wine_fn_config_test dlls/d2d1/tests d2d1_test
17571 wine_fn_config_dll d3d10 enable_d3d10 implib
17572 wine_fn_config_test dlls/d3d10/tests d3d10_test
17573 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17574 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17575 wine_fn_config_dll d3d10core enable_d3d10core implib
17576 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17577 wine_fn_config_dll d3d11 enable_d3d11 implib
17578 wine_fn_config_test dlls/d3d11/tests d3d11_test
17579 wine_fn_config_dll d3d8 enable_d3d8 implib
17580 wine_fn_config_test dlls/d3d8/tests d3d8_test
17581 wine_fn_config_dll d3d9 enable_d3d9 implib
17582 wine_fn_config_test dlls/d3d9/tests d3d9_test
17583 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17584 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17585 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17586 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17587 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17588 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17589 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17590 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17591 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17592 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17593 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17594 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17595 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17596 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17597 wine_fn_config_dll d3dim enable_d3dim
17598 wine_fn_config_dll d3drm enable_d3drm implib
17599 wine_fn_config_test dlls/d3drm/tests d3drm_test
17600 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17601 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17602 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17603 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17604 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17605 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17606 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17607 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17608 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17609 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17610 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17611 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
17612 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17613 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
17614 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17615 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17616 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17617 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17618 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17619 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17620 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17621 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17622 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17623 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17624 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17625 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17626 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17627 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17628 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17629 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17630 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17631 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17632 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17633 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17634 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17635 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17636 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17637 wine_fn_config_dll davclnt enable_davclnt
17638 wine_fn_config_dll dbgeng enable_dbgeng implib
17639 wine_fn_config_dll dbghelp enable_dbghelp implib
17640 wine_fn_config_dll dciman32 enable_dciman32 implib
17641 wine_fn_config_dll ddeml.dll16 enable_win16
17642 wine_fn_config_dll ddraw enable_ddraw clean,implib
17643 wine_fn_config_test dlls/ddraw/tests ddraw_test
17644 wine_fn_config_dll ddrawex enable_ddrawex clean
17645 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17646 wine_fn_config_dll devenum enable_devenum clean
17647 wine_fn_config_test dlls/devenum/tests devenum_test
17648 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17649 wine_fn_config_dll difxapi enable_difxapi
17650 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
17651 wine_fn_config_test dlls/dinput/tests dinput_test
17652 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17653 wine_fn_config_test dlls/dinput8/tests dinput8_test
17654 wine_fn_config_dll dispdib.dll16 enable_win16
17655 wine_fn_config_dll dispex enable_dispex clean
17656 wine_fn_config_test dlls/dispex/tests dispex_test
17657 wine_fn_config_dll display.drv16 enable_win16
17658 wine_fn_config_dll dmband enable_dmband clean
17659 wine_fn_config_test dlls/dmband/tests dmband_test
17660 wine_fn_config_dll dmcompos enable_dmcompos clean
17661 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17662 wine_fn_config_dll dmime enable_dmime clean
17663 wine_fn_config_test dlls/dmime/tests dmime_test
17664 wine_fn_config_dll dmloader enable_dmloader clean
17665 wine_fn_config_test dlls/dmloader/tests dmloader_test
17666 wine_fn_config_dll dmscript enable_dmscript clean
17667 wine_fn_config_test dlls/dmscript/tests dmscript_test
17668 wine_fn_config_dll dmstyle enable_dmstyle clean
17669 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17670 wine_fn_config_dll dmsynth enable_dmsynth clean
17671 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17672 wine_fn_config_dll dmusic enable_dmusic clean
17673 wine_fn_config_test dlls/dmusic/tests dmusic_test
17674 wine_fn_config_dll dmusic32 enable_dmusic32
17675 wine_fn_config_dll dnsapi enable_dnsapi implib
17676 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17677 wine_fn_config_dll dplay enable_dplay
17678 wine_fn_config_dll dplayx enable_dplayx clean,implib
17679 wine_fn_config_test dlls/dplayx/tests dplayx_test
17680 wine_fn_config_dll dpnaddr enable_dpnaddr
17681 wine_fn_config_dll dpnet enable_dpnet clean,implib
17682 wine_fn_config_test dlls/dpnet/tests dpnet_test
17683 wine_fn_config_dll dpnhpast enable_dpnhpast
17684 wine_fn_config_dll dpnlobby enable_dpnlobby
17685 wine_fn_config_dll dpvoice enable_dpvoice clean
17686 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17687 wine_fn_config_dll dpwsockx enable_dpwsockx
17688 wine_fn_config_dll drmclien enable_drmclien
17689 wine_fn_config_dll dsound enable_dsound clean,implib
17690 wine_fn_config_test dlls/dsound/tests dsound_test
17691 wine_fn_config_dll dssenh enable_dssenh
17692 wine_fn_config_test dlls/dssenh/tests dssenh_test
17693 wine_fn_config_dll dswave enable_dswave clean
17694 wine_fn_config_test dlls/dswave/tests dswave_test
17695 wine_fn_config_dll dwmapi enable_dwmapi implib
17696 wine_fn_config_dll dwrite enable_dwrite implib
17697 wine_fn_config_test dlls/dwrite/tests dwrite_test
17698 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17699 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17700 wine_fn_config_lib dxerr8
17701 wine_fn_config_lib dxerr9
17702 wine_fn_config_dll dxgi enable_dxgi implib
17703 wine_fn_config_test dlls/dxgi/tests dxgi_test
17704 wine_fn_config_lib dxguid
17705 wine_fn_config_dll dxva2 enable_dxva2
17706 wine_fn_config_dll esent enable_esent
17707 wine_fn_config_dll evr enable_evr
17708 wine_fn_config_dll explorerframe enable_explorerframe clean
17709 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17710 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17711 wine_fn_config_dll faultrep enable_faultrep implib
17712 wine_fn_config_test dlls/faultrep/tests faultrep_test
17713 wine_fn_config_dll fltlib enable_fltlib
17714 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17715 wine_fn_config_dll fntcache enable_fntcache
17716 wine_fn_config_dll fontsub enable_fontsub
17717 wine_fn_config_dll fusion enable_fusion
17718 wine_fn_config_test dlls/fusion/tests fusion_test
17719 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17720 wine_fn_config_dll gameux enable_gameux clean
17721 wine_fn_config_test dlls/gameux/tests gameux_test
17722 wine_fn_config_dll gdi.exe16 enable_win16
17723 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
17724 wine_fn_config_test dlls/gdi32/tests gdi32_test
17725 wine_fn_config_dll gdiplus enable_gdiplus implib
17726 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17727 wine_fn_config_dll glu32 enable_glu32 implib
17728 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
17729 wine_fn_config_dll gpkcsp enable_gpkcsp
17730 wine_fn_config_dll hal enable_hal
17731 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
17732 wine_fn_config_dll hid enable_hid implib
17733 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17734 wine_fn_config_dll hlink enable_hlink clean,implib
17735 wine_fn_config_test dlls/hlink/tests hlink_test
17736 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17737 wine_fn_config_dll httpapi enable_httpapi
17738 wine_fn_config_dll iccvid enable_iccvid clean
17739 wine_fn_config_dll icmp enable_icmp
17740 wine_fn_config_dll ieframe enable_ieframe clean,implib
17741 wine_fn_config_test dlls/ieframe/tests ieframe_test
17742 wine_fn_config_dll ifsmgr.vxd enable_win16
17743 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17744 wine_fn_config_dll imagehlp enable_imagehlp implib
17745 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17746 wine_fn_config_dll imm.dll16 enable_win16
17747 wine_fn_config_dll imm32 enable_imm32 implib
17748 wine_fn_config_test dlls/imm32/tests imm32_test
17749 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17750 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17751 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
17752 wine_fn_config_dll inetmib1 enable_inetmib1
17753 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17754 wine_fn_config_dll infosoft enable_infosoft clean
17755 wine_fn_config_test dlls/infosoft/tests infosoft_test
17756 wine_fn_config_dll initpki enable_initpki
17757 wine_fn_config_dll inkobj enable_inkobj
17758 wine_fn_config_dll inseng enable_inseng clean
17759 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17760 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17761 wine_fn_config_dll irprops.cpl enable_irprops_cpl
17762 wine_fn_config_dll itircl enable_itircl
17763 wine_fn_config_dll itss enable_itss clean
17764 wine_fn_config_test dlls/itss/tests itss_test
17765 wine_fn_config_dll joy.cpl enable_joy_cpl clean
17766 wine_fn_config_dll jscript enable_jscript clean
17767 wine_fn_config_test dlls/jscript/tests jscript_test
17768 wine_fn_config_dll jsproxy enable_jsproxy implib
17769 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
17770 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
17771 wine_fn_config_test dlls/kernel32/tests kernel32_test
17772 wine_fn_config_dll kernelbase enable_kernelbase
17773 wine_fn_config_dll keyboard.drv16 enable_win16
17774 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17775 wine_fn_config_dll ksuser enable_ksuser
17776 wine_fn_config_dll ktmw32 enable_ktmw32
17777 wine_fn_config_dll loadperf enable_loadperf implib
17778 wine_fn_config_dll localspl enable_localspl clean
17779 wine_fn_config_test dlls/localspl/tests localspl_test
17780 wine_fn_config_dll localui enable_localui clean
17781 wine_fn_config_test dlls/localui/tests localui_test
17782 wine_fn_config_dll lz32 enable_lz32 implib
17783 wine_fn_config_test dlls/lz32/tests lz32_test
17784 wine_fn_config_dll lzexpand.dll16 enable_win16
17785 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
17786 wine_fn_config_test dlls/mapi32/tests mapi32_test
17787 wine_fn_config_dll mapistub enable_mapistub
17788 wine_fn_config_dll mciavi32 enable_mciavi32
17789 wine_fn_config_dll mcicda enable_mcicda
17790 wine_fn_config_dll mciqtz32 enable_mciqtz32
17791 wine_fn_config_dll mciseq enable_mciseq
17792 wine_fn_config_dll mciwave enable_mciwave
17793 wine_fn_config_dll mf enable_mf
17794 wine_fn_config_dll mfplat enable_mfplat
17795 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17796 wine_fn_config_dll mgmtapi enable_mgmtapi
17797 wine_fn_config_dll midimap enable_midimap
17798 wine_fn_config_dll mlang enable_mlang clean,implib
17799 wine_fn_config_test dlls/mlang/tests mlang_test
17800 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17801 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17802 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17803 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17804 wine_fn_config_dll mmdevldr.vxd enable_win16
17805 wine_fn_config_dll mmsystem.dll16 enable_win16
17806 wine_fn_config_dll monodebg.vxd enable_win16
17807 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17808 wine_fn_config_dll mouse.drv16 enable_win16
17809 wine_fn_config_dll mpr enable_mpr clean,implib
17810 wine_fn_config_test dlls/mpr/tests mpr_test
17811 wine_fn_config_dll mprapi enable_mprapi implib
17812 wine_fn_config_dll msacm.dll16 enable_win16
17813 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17814 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
17815 wine_fn_config_test dlls/msacm32/tests msacm32_test
17816 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17817 wine_fn_config_dll msasn1 enable_msasn1 implib
17818 wine_fn_config_dll mscat32 enable_mscat32
17819 wine_fn_config_dll mscms enable_mscms implib
17820 wine_fn_config_test dlls/mscms/tests mscms_test
17821 wine_fn_config_dll mscoree enable_mscoree clean
17822 wine_fn_config_test dlls/mscoree/tests mscoree_test
17823 wine_fn_config_dll msctf enable_msctf clean
17824 wine_fn_config_test dlls/msctf/tests msctf_test
17825 wine_fn_config_dll msctfp enable_msctfp clean
17826 wine_fn_config_dll msdaps enable_msdaps clean
17827 wine_fn_config_dll msdelta enable_msdelta
17828 wine_fn_config_dll msdmo enable_msdmo implib
17829 wine_fn_config_test dlls/msdmo/tests msdmo_test
17830 wine_fn_config_dll msdrm enable_msdrm
17831 wine_fn_config_dll msftedit enable_msftedit
17832 wine_fn_config_dll msg711.acm enable_msg711_acm
17833 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17834 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17835 wine_fn_config_dll mshtml enable_mshtml clean,implib
17836 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17837 wine_fn_config_dll msi enable_msi clean,implib
17838 wine_fn_config_test dlls/msi/tests msi_test
17839 wine_fn_config_dll msident enable_msident clean
17840 wine_fn_config_dll msimg32 enable_msimg32 implib
17841 wine_fn_config_dll msimsg enable_msimsg
17842 wine_fn_config_dll msimtf enable_msimtf clean
17843 wine_fn_config_dll msisip enable_msisip
17844 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17845 wine_fn_config_dll msls31 enable_msls31
17846 wine_fn_config_dll msnet32 enable_msnet32
17847 wine_fn_config_dll mspatcha enable_mspatcha implib
17848 wine_fn_config_dll msrle32 enable_msrle32 clean
17849 wine_fn_config_test dlls/msrle32/tests msrle32_test
17850 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
17851 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
17852 wine_fn_config_dll mssign32 enable_mssign32
17853 wine_fn_config_dll mssip32 enable_mssip32
17854 wine_fn_config_dll mstask enable_mstask clean
17855 wine_fn_config_test dlls/mstask/tests mstask_test
17856 wine_fn_config_dll msvcirt enable_msvcirt
17857 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
17858 wine_fn_config_dll msvcm80 enable_msvcm80
17859 wine_fn_config_dll msvcm90 enable_msvcm90
17860 wine_fn_config_dll msvcp100 enable_msvcp100
17861 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17862 wine_fn_config_dll msvcp110 enable_msvcp110
17863 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
17864 wine_fn_config_dll msvcp120 enable_msvcp120
17865 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
17866 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17867 wine_fn_config_dll msvcp60 enable_msvcp60
17868 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17869 wine_fn_config_dll msvcp70 enable_msvcp70
17870 wine_fn_config_dll msvcp71 enable_msvcp71
17871 wine_fn_config_dll msvcp80 enable_msvcp80
17872 wine_fn_config_dll msvcp90 enable_msvcp90
17873 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17874 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17875 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17876 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17877 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17878 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17879 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17880 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17881 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17882 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17883 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17884 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17885 wine_fn_config_dll msvcrt enable_msvcrt implib
17886 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17887 wine_fn_config_dll msvcrt20 enable_msvcrt20
17888 wine_fn_config_dll msvcrt40 enable_msvcrt40
17889 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17890 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17891 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
17892 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17893 wine_fn_config_dll msvidc32 enable_msvidc32 clean
17894 wine_fn_config_dll msvideo.dll16 enable_win16
17895 wine_fn_config_dll mswsock enable_mswsock implib
17896 wine_fn_config_dll msxml enable_msxml clean
17897 wine_fn_config_dll msxml2 enable_msxml2 clean
17898 wine_fn_config_dll msxml3 enable_msxml3 clean
17899 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17900 wine_fn_config_dll msxml4 enable_msxml4 clean
17901 wine_fn_config_dll msxml6 enable_msxml6 clean
17902 wine_fn_config_dll ncrypt enable_ncrypt
17903 wine_fn_config_dll nddeapi enable_nddeapi implib
17904 wine_fn_config_dll ndis.sys enable_ndis_sys
17905 wine_fn_config_dll netapi32 enable_netapi32 implib
17906 wine_fn_config_test dlls/netapi32/tests netapi32_test
17907 wine_fn_config_dll netcfgx enable_netcfgx clean
17908 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17909 wine_fn_config_dll netprofm enable_netprofm clean
17910 wine_fn_config_test dlls/netprofm/tests netprofm_test
17911 wine_fn_config_dll newdev enable_newdev implib
17912 wine_fn_config_dll normaliz enable_normaliz implib
17913 wine_fn_config_dll npmshtml enable_npmshtml
17914 wine_fn_config_dll npptools enable_npptools
17915 wine_fn_config_dll ntdll enable_ntdll implib
17916 wine_fn_config_test dlls/ntdll/tests ntdll_test
17917 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17918 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17919 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
17920 wine_fn_config_dll ntprint enable_ntprint
17921 wine_fn_config_test dlls/ntprint/tests ntprint_test
17922 wine_fn_config_dll objsel enable_objsel clean
17923 wine_fn_config_dll odbc32 enable_odbc32 implib
17924 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17925 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17926 wine_fn_config_dll odbccu32 enable_odbccu32
17927 wine_fn_config_dll ole2.dll16 enable_win16
17928 wine_fn_config_dll ole2conv.dll16 enable_win16
17929 wine_fn_config_dll ole2disp.dll16 enable_win16
17930 wine_fn_config_dll ole2nls.dll16 enable_win16
17931 wine_fn_config_dll ole2prox.dll16 enable_win16
17932 wine_fn_config_dll ole2thk.dll16 enable_win16
17933 wine_fn_config_dll ole32 enable_ole32 clean,implib
17934 wine_fn_config_test dlls/ole32/tests ole32_test
17935 wine_fn_config_dll oleacc enable_oleacc clean,implib
17936 wine_fn_config_test dlls/oleacc/tests oleacc_test
17937 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
17938 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17939 wine_fn_config_dll olecli.dll16 enable_win16
17940 wine_fn_config_dll olecli32 enable_olecli32 implib
17941 wine_fn_config_dll oledb32 enable_oledb32 clean
17942 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17943 wine_fn_config_dll oledlg enable_oledlg clean,implib
17944 wine_fn_config_test dlls/oledlg/tests oledlg_test
17945 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
17946 wine_fn_config_dll olesvr.dll16 enable_win16
17947 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17948 wine_fn_config_dll olethk32 enable_olethk32
17949 wine_fn_config_dll openal32 enable_openal32
17950 wine_fn_config_dll opencl enable_opencl
17951 wine_fn_config_dll opengl32 enable_opengl32 implib
17952 wine_fn_config_test dlls/opengl32/tests opengl32_test
17953 wine_fn_config_dll packager enable_packager clean
17954 wine_fn_config_test dlls/packager/tests packager_test
17955 wine_fn_config_dll pdh enable_pdh implib
17956 wine_fn_config_test dlls/pdh/tests pdh_test
17957 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17958 wine_fn_config_dll pidgen enable_pidgen
17959 wine_fn_config_dll powrprof enable_powrprof implib
17960 wine_fn_config_dll printui enable_printui
17961 wine_fn_config_dll prntvpt enable_prntvpt
17962 wine_fn_config_dll propsys enable_propsys clean,implib
17963 wine_fn_config_test dlls/propsys/tests propsys_test
17964 wine_fn_config_dll psapi enable_psapi implib
17965 wine_fn_config_test dlls/psapi/tests psapi_test
17966 wine_fn_config_dll pstorec enable_pstorec clean
17967 wine_fn_config_dll qcap enable_qcap
17968 wine_fn_config_test dlls/qcap/tests qcap_test
17969 wine_fn_config_dll qedit enable_qedit clean
17970 wine_fn_config_test dlls/qedit/tests qedit_test
17971 wine_fn_config_dll qmgr enable_qmgr clean
17972 wine_fn_config_test dlls/qmgr/tests qmgr_test
17973 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17974 wine_fn_config_dll quartz enable_quartz clean,implib
17975 wine_fn_config_test dlls/quartz/tests quartz_test clean
17976 wine_fn_config_dll query enable_query
17977 wine_fn_config_dll rasapi16.dll16 enable_win16
17978 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17979 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17980 wine_fn_config_dll rasdlg enable_rasdlg implib
17981 wine_fn_config_dll regapi enable_regapi
17982 wine_fn_config_dll resutils enable_resutils implib
17983 wine_fn_config_dll riched20 enable_riched20 clean,implib
17984 wine_fn_config_test dlls/riched20/tests riched20_test
17985 wine_fn_config_dll riched32 enable_riched32
17986 wine_fn_config_test dlls/riched32/tests riched32_test
17987 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17988 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17989 wine_fn_config_dll rsabase enable_rsabase
17990 wine_fn_config_dll rsaenh enable_rsaenh implib
17991 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17992 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17993 wine_fn_config_dll rtutils enable_rtutils implib
17994 wine_fn_config_dll samlib enable_samlib
17995 wine_fn_config_dll sane.ds enable_sane_ds clean
17996 wine_fn_config_dll scarddlg enable_scarddlg
17997 wine_fn_config_dll sccbase enable_sccbase
17998 wine_fn_config_dll schannel enable_schannel
17999 wine_fn_config_test dlls/schannel/tests schannel_test
18000 wine_fn_config_dll schedsvc enable_schedsvc clean
18001 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18002 wine_fn_config_dll scrrun enable_scrrun clean
18003 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18004 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18005 wine_fn_config_dll secur32 enable_secur32 implib
18006 wine_fn_config_test dlls/secur32/tests secur32_test
18007 wine_fn_config_dll security enable_security
18008 wine_fn_config_dll sensapi enable_sensapi implib
18009 wine_fn_config_dll serialui enable_serialui clean
18010 wine_fn_config_test dlls/serialui/tests serialui_test
18011 wine_fn_config_dll setupapi enable_setupapi clean,implib
18012 wine_fn_config_test dlls/setupapi/tests setupapi_test
18013 wine_fn_config_dll setupx.dll16 enable_win16
18014 wine_fn_config_dll sfc enable_sfc implib
18015 wine_fn_config_dll sfc_os enable_sfc_os implib
18016 wine_fn_config_dll shdoclc enable_shdoclc clean
18017 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18018 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18019 wine_fn_config_dll shell.dll16 enable_win16
18020 wine_fn_config_dll shell32 enable_shell32 clean,implib
18021 wine_fn_config_test dlls/shell32/tests shell32_test
18022 wine_fn_config_dll shfolder enable_shfolder implib
18023 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18024 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18025 wine_fn_config_dll slbcsp enable_slbcsp
18026 wine_fn_config_dll slc enable_slc implib
18027 wine_fn_config_test dlls/slc/tests slc_test
18028 wine_fn_config_dll snmpapi enable_snmpapi implib
18029 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18030 wine_fn_config_dll softpub enable_softpub
18031 wine_fn_config_dll sound.drv16 enable_win16
18032 wine_fn_config_dll spoolss enable_spoolss implib
18033 wine_fn_config_test dlls/spoolss/tests spoolss_test
18034 wine_fn_config_dll sspicli enable_sspicli
18035 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18036 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18037 wine_fn_config_dll sti enable_sti clean,implib
18038 wine_fn_config_test dlls/sti/tests sti_test
18039 wine_fn_config_dll storage.dll16 enable_win16
18040 wine_fn_config_dll stress.dll16 enable_win16
18041 wine_fn_config_lib strmbase
18042 wine_fn_config_lib strmiids
18043 wine_fn_config_dll svrapi enable_svrapi
18044 wine_fn_config_dll sxs enable_sxs implib
18045 wine_fn_config_test dlls/sxs/tests sxs_test
18046 wine_fn_config_dll system.drv16 enable_win16
18047 wine_fn_config_dll t2embed enable_t2embed implib
18048 wine_fn_config_test dlls/t2embed/tests t2embed_test
18049 wine_fn_config_dll tapi32 enable_tapi32 implib
18050 wine_fn_config_dll taskschd enable_taskschd clean
18051 wine_fn_config_test dlls/taskschd/tests taskschd_test
18052 wine_fn_config_dll tdi.sys enable_tdi_sys
18053 wine_fn_config_dll toolhelp.dll16 enable_win16
18054 wine_fn_config_dll traffic enable_traffic
18055 wine_fn_config_dll twain.dll16 enable_win16
18056 wine_fn_config_dll twain_32 enable_twain_32
18057 wine_fn_config_test dlls/twain_32/tests twain_32_test
18058 wine_fn_config_dll typelib.dll16 enable_win16
18059 wine_fn_config_dll ucrtbase enable_ucrtbase
18060 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18061 wine_fn_config_dll unicows enable_unicows implib
18062 wine_fn_config_dll updspapi enable_updspapi
18063 wine_fn_config_dll url enable_url implib
18064 wine_fn_config_dll urlmon enable_urlmon clean,implib
18065 wine_fn_config_test dlls/urlmon/tests urlmon_test
18066 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18067 wine_fn_config_dll user.exe16 enable_win16
18068 wine_fn_config_dll user32 enable_user32 clean,implib
18069 wine_fn_config_test dlls/user32/tests user32_test
18070 wine_fn_config_dll userenv enable_userenv implib
18071 wine_fn_config_test dlls/userenv/tests userenv_test
18072 wine_fn_config_dll usp10 enable_usp10 implib
18073 wine_fn_config_test dlls/usp10/tests usp10_test
18074 wine_fn_config_lib uuid
18075 wine_fn_config_dll uxtheme enable_uxtheme implib
18076 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18077 wine_fn_config_dll vbscript enable_vbscript clean
18078 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18079 wine_fn_config_dll vcomp enable_vcomp
18080 wine_fn_config_test dlls/vcomp/tests vcomp_test
18081 wine_fn_config_dll vcomp100 enable_vcomp100
18082 wine_fn_config_dll vcomp110 enable_vcomp110
18083 wine_fn_config_dll vcomp120 enable_vcomp120
18084 wine_fn_config_dll vcomp90 enable_vcomp90
18085 wine_fn_config_dll vcruntime140 enable_vcruntime140
18086 wine_fn_config_dll vdhcp.vxd enable_win16
18087 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18088 wine_fn_config_dll ver.dll16 enable_win16
18089 wine_fn_config_dll version enable_version implib
18090 wine_fn_config_test dlls/version/tests version_test
18091 wine_fn_config_dll vmm.vxd enable_win16
18092 wine_fn_config_dll vnbt.vxd enable_win16
18093 wine_fn_config_dll vnetbios.vxd enable_win16
18094 wine_fn_config_dll vssapi enable_vssapi
18095 wine_fn_config_dll vtdapi.vxd enable_win16
18096 wine_fn_config_dll vwin32.vxd enable_win16
18097 wine_fn_config_dll w32skrnl enable_win16
18098 wine_fn_config_dll w32sys.dll16 enable_win16
18099 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18100 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18101 wine_fn_config_dll wbemprox enable_wbemprox clean
18102 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18103 wine_fn_config_dll webservices enable_webservices implib
18104 wine_fn_config_test dlls/webservices/tests webservices_test
18105 wine_fn_config_dll wer enable_wer implib
18106 wine_fn_config_test dlls/wer/tests wer_test
18107 wine_fn_config_dll wevtapi enable_wevtapi
18108 wine_fn_config_dll wiaservc enable_wiaservc clean
18109 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18110 wine_fn_config_dll wimgapi enable_wimgapi
18111 wine_fn_config_dll win32s16.dll16 enable_win16
18112 wine_fn_config_dll win87em.dll16 enable_win16
18113 wine_fn_config_dll winaspi.dll16 enable_win16
18114 wine_fn_config_dll windebug.dll16 enable_win16
18115 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18116 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18117 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18118 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18119 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18120 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18121 wine_fn_config_lib winecrt0
18122 wine_fn_config_dll wined3d enable_wined3d implib
18123 wine_fn_config_dll winegstreamer enable_winegstreamer
18124 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18125 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18126 wine_fn_config_dll winemapi enable_winemapi
18127 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18128 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18129 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18130 wine_fn_config_dll wineps16.drv16 enable_win16
18131 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18132 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18133 wine_fn_config_dll winex11.drv enable_winex11_drv
18134 wine_fn_config_dll wing.dll16 enable_win16
18135 wine_fn_config_dll wing32 enable_wing32
18136 wine_fn_config_dll winhttp enable_winhttp clean,implib
18137 wine_fn_config_test dlls/winhttp/tests winhttp_test
18138 wine_fn_config_dll wininet enable_wininet clean,implib
18139 wine_fn_config_test dlls/wininet/tests wininet_test
18140 wine_fn_config_dll winmm enable_winmm clean,implib
18141 wine_fn_config_test dlls/winmm/tests winmm_test
18142 wine_fn_config_dll winnls.dll16 enable_win16
18143 wine_fn_config_dll winnls32 enable_winnls32 implib
18144 wine_fn_config_dll winscard enable_winscard implib
18145 wine_fn_config_dll winsock.dll16 enable_win16
18146 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18147 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18148 wine_fn_config_dll winsta enable_winsta
18149 wine_fn_config_dll wintab.dll16 enable_win16
18150 wine_fn_config_dll wintab32 enable_wintab32 implib
18151 wine_fn_config_test dlls/wintab32/tests wintab32_test
18152 wine_fn_config_dll wintrust enable_wintrust implib
18153 wine_fn_config_test dlls/wintrust/tests wintrust_test
18154 wine_fn_config_dll wlanapi enable_wlanapi
18155 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18156 wine_fn_config_test dlls/wldap32/tests wldap32_test
18157 wine_fn_config_dll wmasf enable_wmasf
18158 wine_fn_config_dll wmi enable_wmi
18159 wine_fn_config_dll wmiutils enable_wmiutils clean
18160 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18161 wine_fn_config_dll wmp enable_wmp clean
18162 wine_fn_config_test dlls/wmp/tests wmp_test
18163 wine_fn_config_dll wmvcore enable_wmvcore
18164 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18165 wine_fn_config_dll wow32 enable_win16 implib
18166 wine_fn_config_dll wpcap enable_wpcap
18167 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18168 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18169 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18170 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18171 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18172 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18173 wine_fn_config_dll wsock32 enable_wsock32 implib
18174 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18175 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18176 wine_fn_config_dll wuapi enable_wuapi clean
18177 wine_fn_config_dll wuaueng enable_wuaueng
18178 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18179 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18180 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18181 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18182 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18183 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18184 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18185 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18186 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18187 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18188 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18189 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18190 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18191 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18192 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18193 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18194 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18195 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18196 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18197 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18198 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18199 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18200 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18201 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18202 wine_fn_config_dll xinput1_1 enable_xinput1_1
18203 wine_fn_config_dll xinput1_2 enable_xinput1_2
18204 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18205 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18206 wine_fn_config_dll xinput1_4 enable_xinput1_4
18207 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18208 wine_fn_config_dll xmllite enable_xmllite implib
18209 wine_fn_config_test dlls/xmllite/tests xmllite_test
18210 wine_fn_config_dll xolehlp enable_xolehlp
18211 wine_fn_config_dll xpsprint enable_xpsprint
18212 wine_fn_config_dll xpssvcs enable_xpssvcs
18213 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18214 wine_fn_config_makefile include enable_include clean,install-dev
18215 wine_fn_config_makefile libs/port enable_libs_port
18216 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18217 wine_fn_config_makefile libs/wpp enable_libs_wpp
18218 wine_fn_config_makefile loader enable_loader clean,install-lib
18219 wine_fn_config_makefile po enable_po clean
18220 wine_fn_config_program arp enable_arp install
18221 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18222 wine_fn_config_program attrib enable_attrib clean,install
18223 wine_fn_config_program cabarc enable_cabarc install
18224 wine_fn_config_program cacls enable_cacls install
18225 wine_fn_config_program clock enable_clock clean,install
18226 wine_fn_config_program cmd enable_cmd clean,install
18227 wine_fn_config_test programs/cmd/tests cmd.exe_test
18228 wine_fn_config_program conhost enable_conhost install
18229 wine_fn_config_program control enable_control install
18230 wine_fn_config_program cscript enable_cscript clean,install
18231 wine_fn_config_program dpnsvr enable_dpnsvr install
18232 wine_fn_config_program dxdiag enable_dxdiag clean,install
18233 wine_fn_config_program eject enable_eject install
18234 wine_fn_config_program expand enable_expand install
18235 wine_fn_config_program explorer enable_explorer clean,install
18236 wine_fn_config_program extrac32 enable_extrac32 install
18237 wine_fn_config_program findstr enable_findstr install
18238 wine_fn_config_program fsutil enable_fsutil install
18239 wine_fn_config_program hh enable_hh install
18240 wine_fn_config_program hostname enable_hostname clean,install
18241 wine_fn_config_program icacls enable_icacls install
18242 wine_fn_config_program icinfo enable_icinfo install
18243 wine_fn_config_program iexplore enable_iexplore install
18244 wine_fn_config_program ipconfig enable_ipconfig clean,install
18245 wine_fn_config_program lodctr enable_lodctr install
18246 wine_fn_config_program mofcomp enable_mofcomp install
18247 wine_fn_config_program mshta enable_mshta install
18248 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18249 wine_fn_config_program net enable_net clean,install
18250 wine_fn_config_program netsh enable_netsh install
18251 wine_fn_config_program netstat enable_netstat clean,install
18252 wine_fn_config_program ngen enable_ngen install
18253 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18254 wine_fn_config_program oleview enable_oleview clean,install
18255 wine_fn_config_program ping enable_ping install
18256 wine_fn_config_program plugplay enable_plugplay install
18257 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18258 wine_fn_config_program progman enable_progman clean,install
18259 wine_fn_config_program reg enable_reg clean,install
18260 wine_fn_config_test programs/reg/tests reg.exe_test
18261 wine_fn_config_program regasm enable_regasm install
18262 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18263 wine_fn_config_test programs/regedit/tests regedit.exe_test
18264 wine_fn_config_program regsvcs enable_regsvcs install
18265 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18266 wine_fn_config_program rpcss enable_rpcss clean,install
18267 wine_fn_config_program rundll.exe16 enable_win16 install
18268 wine_fn_config_program rundll32 enable_rundll32 install
18269 wine_fn_config_program sc enable_sc install
18270 wine_fn_config_program schtasks enable_schtasks install
18271 wine_fn_config_program sdbinst enable_sdbinst install
18272 wine_fn_config_program secedit enable_secedit install
18273 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18274 wine_fn_config_program services enable_services clean,install
18275 wine_fn_config_test programs/services/tests services.exe_test
18276 wine_fn_config_program shutdown enable_shutdown install
18277 wine_fn_config_program spoolsv enable_spoolsv install
18278 wine_fn_config_program start enable_start clean,install
18279 wine_fn_config_program svchost enable_svchost install
18280 wine_fn_config_program systeminfo enable_systeminfo install
18281 wine_fn_config_program taskkill enable_taskkill clean,install
18282 wine_fn_config_program tasklist enable_tasklist install
18283 wine_fn_config_program taskmgr enable_taskmgr clean,install
18284 wine_fn_config_program termsv enable_termsv install
18285 wine_fn_config_program uninstaller enable_uninstaller clean,install
18286 wine_fn_config_program unlodctr enable_unlodctr install
18287 wine_fn_config_program view enable_view clean,install
18288 wine_fn_config_program wevtutil enable_wevtutil install
18289 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18290 wine_fn_config_program winebrowser enable_winebrowser install
18291 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18292 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18293 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18294 wine_fn_config_program winedevice enable_winedevice install
18295 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18296 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18297 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18298 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18299 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18300 wine_fn_config_program winetest enable_winetest clean
18301 wine_fn_config_program winevdm enable_win16 install
18302 wine_fn_config_program winhelp.exe16 enable_win16 install
18303 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18304 wine_fn_config_program winoldap.mod16 enable_win16 install
18305 wine_fn_config_program winver enable_winver install
18306 wine_fn_config_program wmic enable_wmic clean,install
18307 wine_fn_config_program wmplayer enable_wmplayer install
18308 wine_fn_config_program wordpad enable_wordpad clean,install
18309 wine_fn_config_program write enable_write clean,install
18310 wine_fn_config_program wscript enable_wscript clean,install
18311 wine_fn_config_test programs/wscript/tests wscript.exe_test
18312 wine_fn_config_program wusa enable_wusa install
18313 wine_fn_config_program xcopy enable_xcopy clean,install
18314 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18315 wine_fn_config_makefile server enable_server clean,install-lib
18316 wine_fn_config_tool tools clean
18317 wine_fn_config_tool tools/sfnt2fon clean
18318 wine_fn_config_tool tools/widl clean,install-dev
18319 wine_fn_config_tool tools/winebuild clean,install-dev
18320 wine_fn_config_tool tools/winedump clean,install-dev
18321 wine_fn_config_tool tools/winegcc clean,install-dev
18322 wine_fn_config_tool tools/winemaker clean,install-dev
18323 wine_fn_config_tool tools/wmc clean,install-dev
18324 wine_fn_config_tool tools/wrc clean,install-dev
18327 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
18328 wine_fn_append_file CONFIGURE_TARGETS "tags"
18329 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
18330 wine_fn_append_file CONFIGURE_TARGETS "config.log"
18331 wine_fn_append_file CONFIGURE_TARGETS "config.status"
18332 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
18333 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
18334 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
18336 if test "x$enable_tools" != xno
18337 then
18338 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
18339 ac_config_commands="$ac_config_commands tools/makedep"
18343 ac_config_commands="$ac_config_commands Makefile"
18346 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18350 if test "x$enable_maintainer_mode" = xyes
18351 then
18352 wine_fn_append_rule "configure: configure.ac aclocal.m4
18353 autoconf --warnings=all
18354 include/config.h.in: include/stamp-h.in
18355 include/stamp-h.in: configure.ac aclocal.m4
18356 autoheader --warnings=all
18357 @echo timestamp > \$@"
18360 if test "x$enable_tools" != xno
18361 then
18362 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18363 @./config.status tools/makedep
18364 Makefile: tools/makedep$ac_exeext"
18365 else
18366 wine_fn_append_rule "\$(MAKEDEP):
18367 @echo \"You need to run make in $TOOLSDIR first\" && false"
18370 if test -n "$with_wine64"
18371 then
18372 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18373 fonts server:
18374 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18375 $with_wine64/loader/wine:
18376 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18377 $with_wine64/loader/wine-preloader:
18378 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18379 clean::
18380 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18381 else
18382 WINELOADER_INSTALL="wine.inf"
18384 wine_fn_append_rule "install install-lib::
18385 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18386 uninstall::
18387 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18388 case $host_os in
18389 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18390 *) wine_fn_append_rule "install install-lib::
18391 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18392 uninstall::
18393 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18394 esac
18397 $as_echo " done" >&6
18398 cat >confcache <<\_ACEOF
18399 # This file is a shell script that caches the results of configure
18400 # tests run on this system so they can be shared between configure
18401 # scripts and configure runs, see configure's option --config-cache.
18402 # It is not useful on other systems. If it contains results you don't
18403 # want to keep, you may remove or edit it.
18405 # config.status only pays attention to the cache file if you give it
18406 # the --recheck option to rerun configure.
18408 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18409 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18410 # following values.
18412 _ACEOF
18414 # The following way of writing the cache mishandles newlines in values,
18415 # but we know of no workaround that is simple, portable, and efficient.
18416 # So, we kill variables containing newlines.
18417 # Ultrix sh set writes to stderr and can't be redirected directly,
18418 # and sets the high bit in the cache file unless we assign to the vars.
18420 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18421 eval ac_val=\$$ac_var
18422 case $ac_val in #(
18423 *${as_nl}*)
18424 case $ac_var in #(
18425 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18426 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18427 esac
18428 case $ac_var in #(
18429 _ | IFS | as_nl) ;; #(
18430 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18431 *) { eval $ac_var=; unset $ac_var;} ;;
18432 esac ;;
18433 esac
18434 done
18436 (set) 2>&1 |
18437 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18438 *${as_nl}ac_space=\ *)
18439 # `set' does not quote correctly, so add quotes: double-quote
18440 # substitution turns \\\\ into \\, and sed turns \\ into \.
18441 sed -n \
18442 "s/'/'\\\\''/g;
18443 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18444 ;; #(
18446 # `set' quotes correctly as required by POSIX, so do not add quotes.
18447 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18449 esac |
18450 sort
18452 sed '
18453 /^ac_cv_env_/b end
18454 t clear
18455 :clear
18456 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18457 t end
18458 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18459 :end' >>confcache
18460 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18461 if test -w "$cache_file"; then
18462 if test "x$cache_file" != "x/dev/null"; then
18463 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18464 $as_echo "$as_me: updating cache $cache_file" >&6;}
18465 if test ! -f "$cache_file" || test -h "$cache_file"; then
18466 cat confcache >"$cache_file"
18467 else
18468 case $cache_file in #(
18469 */* | ?:*)
18470 mv -f confcache "$cache_file"$$ &&
18471 mv -f "$cache_file"$$ "$cache_file" ;; #(
18473 mv -f confcache "$cache_file" ;;
18474 esac
18477 else
18478 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18479 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18482 rm -f confcache
18484 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18485 # Let make expand exec_prefix.
18486 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18488 DEFS=-DHAVE_CONFIG_H
18490 ac_libobjs=
18491 ac_ltlibobjs=
18493 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18494 # 1. Remove the extension, and $U if already installed.
18495 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18496 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18497 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18498 # will be set to the directory where LIBOBJS objects are built.
18499 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18500 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18501 done
18502 LIBOBJS=$ac_libobjs
18504 LTLIBOBJS=$ac_ltlibobjs
18508 : "${CONFIG_STATUS=./config.status}"
18509 ac_write_fail=0
18510 ac_clean_files_save=$ac_clean_files
18511 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18512 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18513 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18514 as_write_fail=0
18515 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18516 #! $SHELL
18517 # Generated by $as_me.
18518 # Run this file to recreate the current configuration.
18519 # Compiler output produced by configure, useful for debugging
18520 # configure, is in config.log if it exists.
18522 debug=false
18523 ac_cs_recheck=false
18524 ac_cs_silent=false
18526 SHELL=\${CONFIG_SHELL-$SHELL}
18527 export SHELL
18528 _ASEOF
18529 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18530 ## -------------------- ##
18531 ## M4sh Initialization. ##
18532 ## -------------------- ##
18534 # Be more Bourne compatible
18535 DUALCASE=1; export DUALCASE # for MKS sh
18536 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18537 emulate sh
18538 NULLCMD=:
18539 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18540 # is contrary to our usage. Disable this feature.
18541 alias -g '${1+"$@"}'='"$@"'
18542 setopt NO_GLOB_SUBST
18543 else
18544 case `(set -o) 2>/dev/null` in #(
18545 *posix*) :
18546 set -o posix ;; #(
18547 *) :
18549 esac
18553 as_nl='
18555 export as_nl
18556 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18557 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18558 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18559 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18560 # Prefer a ksh shell builtin over an external printf program on Solaris,
18561 # but without wasting forks for bash or zsh.
18562 if test -z "$BASH_VERSION$ZSH_VERSION" \
18563 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18564 as_echo='print -r --'
18565 as_echo_n='print -rn --'
18566 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18567 as_echo='printf %s\n'
18568 as_echo_n='printf %s'
18569 else
18570 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18571 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18572 as_echo_n='/usr/ucb/echo -n'
18573 else
18574 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18575 as_echo_n_body='eval
18576 arg=$1;
18577 case $arg in #(
18578 *"$as_nl"*)
18579 expr "X$arg" : "X\\(.*\\)$as_nl";
18580 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18581 esac;
18582 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18584 export as_echo_n_body
18585 as_echo_n='sh -c $as_echo_n_body as_echo'
18587 export as_echo_body
18588 as_echo='sh -c $as_echo_body as_echo'
18591 # The user is always right.
18592 if test "${PATH_SEPARATOR+set}" != set; then
18593 PATH_SEPARATOR=:
18594 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18595 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18596 PATH_SEPARATOR=';'
18601 # IFS
18602 # We need space, tab and new line, in precisely that order. Quoting is
18603 # there to prevent editors from complaining about space-tab.
18604 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18605 # splitting by setting IFS to empty value.)
18606 IFS=" "" $as_nl"
18608 # Find who we are. Look in the path if we contain no directory separator.
18609 as_myself=
18610 case $0 in #((
18611 *[\\/]* ) as_myself=$0 ;;
18612 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18613 for as_dir in $PATH
18615 IFS=$as_save_IFS
18616 test -z "$as_dir" && as_dir=.
18617 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18618 done
18619 IFS=$as_save_IFS
18622 esac
18623 # We did not find ourselves, most probably we were run as `sh COMMAND'
18624 # in which case we are not to be found in the path.
18625 if test "x$as_myself" = x; then
18626 as_myself=$0
18628 if test ! -f "$as_myself"; then
18629 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18630 exit 1
18633 # Unset variables that we do not need and which cause bugs (e.g. in
18634 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18635 # suppresses any "Segmentation fault" message there. '((' could
18636 # trigger a bug in pdksh 5.2.14.
18637 for as_var in BASH_ENV ENV MAIL MAILPATH
18638 do eval test x\${$as_var+set} = xset \
18639 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18640 done
18641 PS1='$ '
18642 PS2='> '
18643 PS4='+ '
18645 # NLS nuisances.
18646 LC_ALL=C
18647 export LC_ALL
18648 LANGUAGE=C
18649 export LANGUAGE
18651 # CDPATH.
18652 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18655 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18656 # ----------------------------------------
18657 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18658 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18659 # script with STATUS, using 1 if that was 0.
18660 as_fn_error ()
18662 as_status=$1; test $as_status -eq 0 && as_status=1
18663 if test "$4"; then
18664 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18665 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18667 $as_echo "$as_me: error: $2" >&2
18668 as_fn_exit $as_status
18669 } # as_fn_error
18672 # as_fn_set_status STATUS
18673 # -----------------------
18674 # Set $? to STATUS, without forking.
18675 as_fn_set_status ()
18677 return $1
18678 } # as_fn_set_status
18680 # as_fn_exit STATUS
18681 # -----------------
18682 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18683 as_fn_exit ()
18685 set +e
18686 as_fn_set_status $1
18687 exit $1
18688 } # as_fn_exit
18690 # as_fn_unset VAR
18691 # ---------------
18692 # Portably unset VAR.
18693 as_fn_unset ()
18695 { eval $1=; unset $1;}
18697 as_unset=as_fn_unset
18698 # as_fn_append VAR VALUE
18699 # ----------------------
18700 # Append the text in VALUE to the end of the definition contained in VAR. Take
18701 # advantage of any shell optimizations that allow amortized linear growth over
18702 # repeated appends, instead of the typical quadratic growth present in naive
18703 # implementations.
18704 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18705 eval 'as_fn_append ()
18707 eval $1+=\$2
18709 else
18710 as_fn_append ()
18712 eval $1=\$$1\$2
18714 fi # as_fn_append
18716 # as_fn_arith ARG...
18717 # ------------------
18718 # Perform arithmetic evaluation on the ARGs, and store the result in the
18719 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18720 # must be portable across $(()) and expr.
18721 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18722 eval 'as_fn_arith ()
18724 as_val=$(( $* ))
18726 else
18727 as_fn_arith ()
18729 as_val=`expr "$@" || test $? -eq 1`
18731 fi # as_fn_arith
18734 if expr a : '\(a\)' >/dev/null 2>&1 &&
18735 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18736 as_expr=expr
18737 else
18738 as_expr=false
18741 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18742 as_basename=basename
18743 else
18744 as_basename=false
18747 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18748 as_dirname=dirname
18749 else
18750 as_dirname=false
18753 as_me=`$as_basename -- "$0" ||
18754 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18755 X"$0" : 'X\(//\)$' \| \
18756 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18757 $as_echo X/"$0" |
18758 sed '/^.*\/\([^/][^/]*\)\/*$/{
18759 s//\1/
18762 /^X\/\(\/\/\)$/{
18763 s//\1/
18766 /^X\/\(\/\).*/{
18767 s//\1/
18770 s/.*/./; q'`
18772 # Avoid depending upon Character Ranges.
18773 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18774 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18775 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18776 as_cr_digits='0123456789'
18777 as_cr_alnum=$as_cr_Letters$as_cr_digits
18779 ECHO_C= ECHO_N= ECHO_T=
18780 case `echo -n x` in #(((((
18781 -n*)
18782 case `echo 'xy\c'` in
18783 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18784 xy) ECHO_C='\c';;
18785 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18786 ECHO_T=' ';;
18787 esac;;
18789 ECHO_N='-n';;
18790 esac
18792 rm -f conf$$ conf$$.exe conf$$.file
18793 if test -d conf$$.dir; then
18794 rm -f conf$$.dir/conf$$.file
18795 else
18796 rm -f conf$$.dir
18797 mkdir conf$$.dir 2>/dev/null
18799 if (echo >conf$$.file) 2>/dev/null; then
18800 if ln -s conf$$.file conf$$ 2>/dev/null; then
18801 as_ln_s='ln -s'
18802 # ... but there are two gotchas:
18803 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18804 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18805 # In both cases, we have to default to `cp -pR'.
18806 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18807 as_ln_s='cp -pR'
18808 elif ln conf$$.file conf$$ 2>/dev/null; then
18809 as_ln_s=ln
18810 else
18811 as_ln_s='cp -pR'
18813 else
18814 as_ln_s='cp -pR'
18816 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18817 rmdir conf$$.dir 2>/dev/null
18820 # as_fn_mkdir_p
18821 # -------------
18822 # Create "$as_dir" as a directory, including parents if necessary.
18823 as_fn_mkdir_p ()
18826 case $as_dir in #(
18827 -*) as_dir=./$as_dir;;
18828 esac
18829 test -d "$as_dir" || eval $as_mkdir_p || {
18830 as_dirs=
18831 while :; do
18832 case $as_dir in #(
18833 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18834 *) as_qdir=$as_dir;;
18835 esac
18836 as_dirs="'$as_qdir' $as_dirs"
18837 as_dir=`$as_dirname -- "$as_dir" ||
18838 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18839 X"$as_dir" : 'X\(//\)[^/]' \| \
18840 X"$as_dir" : 'X\(//\)$' \| \
18841 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18842 $as_echo X"$as_dir" |
18843 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18844 s//\1/
18847 /^X\(\/\/\)[^/].*/{
18848 s//\1/
18851 /^X\(\/\/\)$/{
18852 s//\1/
18855 /^X\(\/\).*/{
18856 s//\1/
18859 s/.*/./; q'`
18860 test -d "$as_dir" && break
18861 done
18862 test -z "$as_dirs" || eval "mkdir $as_dirs"
18863 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18866 } # as_fn_mkdir_p
18867 if mkdir -p . 2>/dev/null; then
18868 as_mkdir_p='mkdir -p "$as_dir"'
18869 else
18870 test -d ./-p && rmdir ./-p
18871 as_mkdir_p=false
18875 # as_fn_executable_p FILE
18876 # -----------------------
18877 # Test if FILE is an executable regular file.
18878 as_fn_executable_p ()
18880 test -f "$1" && test -x "$1"
18881 } # as_fn_executable_p
18882 as_test_x='test -x'
18883 as_executable_p=as_fn_executable_p
18885 # Sed expression to map a string onto a valid CPP name.
18886 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18888 # Sed expression to map a string onto a valid variable name.
18889 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18892 exec 6>&1
18893 ## ----------------------------------- ##
18894 ## Main body of $CONFIG_STATUS script. ##
18895 ## ----------------------------------- ##
18896 _ASEOF
18897 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18899 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18900 # Save the log message, to keep $0 and so on meaningful, and to
18901 # report actual input values of CONFIG_FILES etc. instead of their
18902 # values after options handling.
18903 ac_log="
18904 This file was extended by Wine $as_me 1.9.14, which was
18905 generated by GNU Autoconf 2.69. Invocation command line was
18907 CONFIG_FILES = $CONFIG_FILES
18908 CONFIG_HEADERS = $CONFIG_HEADERS
18909 CONFIG_LINKS = $CONFIG_LINKS
18910 CONFIG_COMMANDS = $CONFIG_COMMANDS
18911 $ $0 $@
18913 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18916 _ACEOF
18918 case $ac_config_files in *"
18919 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18920 esac
18922 case $ac_config_headers in *"
18923 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18924 esac
18927 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18928 # Files that config.status was made for.
18929 config_files="$ac_config_files"
18930 config_headers="$ac_config_headers"
18931 config_links="$ac_config_links"
18932 config_commands="$ac_config_commands"
18934 _ACEOF
18936 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18937 ac_cs_usage="\
18938 \`$as_me' instantiates files and other configuration actions
18939 from templates according to the current configuration. Unless the files
18940 and actions are specified as TAGs, all are instantiated by default.
18942 Usage: $0 [OPTION]... [TAG]...
18944 -h, --help print this help, then exit
18945 -V, --version print version number and configuration settings, then exit
18946 --config print configuration, then exit
18947 -q, --quiet, --silent
18948 do not print progress messages
18949 -d, --debug don't remove temporary files
18950 --recheck update $as_me by reconfiguring in the same conditions
18951 --file=FILE[:TEMPLATE]
18952 instantiate the configuration file FILE
18953 --header=FILE[:TEMPLATE]
18954 instantiate the configuration header FILE
18956 Configuration files:
18957 $config_files
18959 Configuration headers:
18960 $config_headers
18962 Configuration links:
18963 $config_links
18965 Configuration commands:
18966 $config_commands
18968 Report bugs to <wine-devel@winehq.org>.
18969 Wine home page: <http://www.winehq.org>."
18971 _ACEOF
18972 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18973 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18974 ac_cs_version="\\
18975 Wine config.status 1.9.14
18976 configured by $0, generated by GNU Autoconf 2.69,
18977 with options \\"\$ac_cs_config\\"
18979 Copyright (C) 2012 Free Software Foundation, Inc.
18980 This config.status script is free software; the Free Software Foundation
18981 gives unlimited permission to copy, distribute and modify it."
18983 ac_pwd='$ac_pwd'
18984 srcdir='$srcdir'
18985 test -n "\$AWK" || AWK=awk
18986 _ACEOF
18988 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18989 # The default lists apply if the user does not specify any file.
18990 ac_need_defaults=:
18991 while test $# != 0
18993 case $1 in
18994 --*=?*)
18995 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18996 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18997 ac_shift=:
18999 --*=)
19000 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19001 ac_optarg=
19002 ac_shift=:
19005 ac_option=$1
19006 ac_optarg=$2
19007 ac_shift=shift
19009 esac
19011 case $ac_option in
19012 # Handling of the options.
19013 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19014 ac_cs_recheck=: ;;
19015 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19016 $as_echo "$ac_cs_version"; exit ;;
19017 --config | --confi | --conf | --con | --co | --c )
19018 $as_echo "$ac_cs_config"; exit ;;
19019 --debug | --debu | --deb | --de | --d | -d )
19020 debug=: ;;
19021 --file | --fil | --fi | --f )
19022 $ac_shift
19023 case $ac_optarg in
19024 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19025 '') as_fn_error $? "missing file argument" ;;
19026 esac
19027 as_fn_append CONFIG_FILES " '$ac_optarg'"
19028 ac_need_defaults=false;;
19029 --header | --heade | --head | --hea )
19030 $ac_shift
19031 case $ac_optarg in
19032 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19033 esac
19034 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19035 ac_need_defaults=false;;
19036 --he | --h)
19037 # Conflict between --help and --header
19038 as_fn_error $? "ambiguous option: \`$1'
19039 Try \`$0 --help' for more information.";;
19040 --help | --hel | -h )
19041 $as_echo "$ac_cs_usage"; exit ;;
19042 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19043 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19044 ac_cs_silent=: ;;
19046 # This is an error.
19047 -*) as_fn_error $? "unrecognized option: \`$1'
19048 Try \`$0 --help' for more information." ;;
19050 *) as_fn_append ac_config_targets " $1"
19051 ac_need_defaults=false ;;
19053 esac
19054 shift
19055 done
19057 ac_configure_extra_args=
19059 if $ac_cs_silent; then
19060 exec 6>/dev/null
19061 ac_configure_extra_args="$ac_configure_extra_args --silent"
19064 _ACEOF
19065 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19066 if \$ac_cs_recheck; then
19067 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19068 shift
19069 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19070 CONFIG_SHELL='$SHELL'
19071 export CONFIG_SHELL
19072 exec "\$@"
19075 _ACEOF
19076 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19077 exec 5>>config.log
19079 echo
19080 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19081 ## Running $as_me. ##
19082 _ASBOX
19083 $as_echo "$ac_log"
19084 } >&5
19086 _ACEOF
19087 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19089 # INIT-COMMANDS
19091 wine_fn_output_makedep ()
19093 as_dir=tools; as_fn_mkdir_p
19094 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19096 wine_fn_output_makefile ()
19098 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19099 `cat $wine_rules_file`
19100 _WINE_EOF
19101 as_fn_error $? "could not create Makefile" "$LINENO" 5
19104 _ACEOF
19106 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19108 # Handling of arguments.
19109 for ac_config_target in $ac_config_targets
19111 case $ac_config_target in
19112 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19113 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19114 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19115 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19116 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19117 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19118 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19119 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19120 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19121 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19122 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19123 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19124 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19126 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19127 esac
19128 done
19131 # If the user did not use the arguments to specify the items to instantiate,
19132 # then the envvar interface is used. Set only those that are not.
19133 # We use the long form for the default assignment because of an extremely
19134 # bizarre bug on SunOS 4.1.3.
19135 if $ac_need_defaults; then
19136 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19137 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19138 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19139 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19142 # Have a temporary directory for convenience. Make it in the build tree
19143 # simply because there is no reason against having it here, and in addition,
19144 # creating and moving files from /tmp can sometimes cause problems.
19145 # Hook for its removal unless debugging.
19146 # Note that there is a small window in which the directory will not be cleaned:
19147 # after its creation but before its name has been assigned to `$tmp'.
19148 $debug ||
19150 tmp= ac_tmp=
19151 trap 'exit_status=$?
19152 : "${ac_tmp:=$tmp}"
19153 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19155 trap 'as_fn_exit 1' 1 2 13 15
19157 # Create a (secure) tmp directory for tmp files.
19160 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19161 test -d "$tmp"
19162 } ||
19164 tmp=./conf$$-$RANDOM
19165 (umask 077 && mkdir "$tmp")
19166 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19167 ac_tmp=$tmp
19169 # Set up the scripts for CONFIG_FILES section.
19170 # No need to generate them if there are no CONFIG_FILES.
19171 # This happens for instance with `./config.status config.h'.
19172 if test -n "$CONFIG_FILES"; then
19175 ac_cr=`echo X | tr X '\015'`
19176 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19177 # But we know of no other shell where ac_cr would be empty at this
19178 # point, so we can use a bashism as a fallback.
19179 if test "x$ac_cr" = x; then
19180 eval ac_cr=\$\'\\r\'
19182 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19183 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19184 ac_cs_awk_cr='\\r'
19185 else
19186 ac_cs_awk_cr=$ac_cr
19189 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19190 _ACEOF
19194 echo "cat >conf$$subs.awk <<_ACEOF" &&
19195 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19196 echo "_ACEOF"
19197 } >conf$$subs.sh ||
19198 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19199 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19200 ac_delim='%!_!# '
19201 for ac_last_try in false false false false false :; do
19202 . ./conf$$subs.sh ||
19203 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19205 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19206 if test $ac_delim_n = $ac_delim_num; then
19207 break
19208 elif $ac_last_try; then
19209 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19210 else
19211 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19213 done
19214 rm -f conf$$subs.sh
19216 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19217 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19218 _ACEOF
19219 sed -n '
19221 s/^/S["/; s/!.*/"]=/
19224 s/^[^!]*!//
19225 :repl
19226 t repl
19227 s/'"$ac_delim"'$//
19228 t delim
19231 s/\(.\{148\}\)..*/\1/
19232 t more1
19233 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19236 b repl
19237 :more1
19238 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19241 s/.\{148\}//
19242 t nl
19243 :delim
19245 s/\(.\{148\}\)..*/\1/
19246 t more2
19247 s/["\\]/\\&/g; s/^/"/; s/$/"/
19250 :more2
19251 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19254 s/.\{148\}//
19255 t delim
19256 ' <conf$$subs.awk | sed '
19257 /^[^""]/{
19259 s/\n//
19261 ' >>$CONFIG_STATUS || ac_write_fail=1
19262 rm -f conf$$subs.awk
19263 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19264 _ACAWK
19265 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19266 for (key in S) S_is_set[key] = 1
19267 FS = "\a"
19271 line = $ 0
19272 nfields = split(line, field, "@")
19273 substed = 0
19274 len = length(field[1])
19275 for (i = 2; i < nfields; i++) {
19276 key = field[i]
19277 keylen = length(key)
19278 if (S_is_set[key]) {
19279 value = S[key]
19280 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19281 len += length(value) + length(field[++i])
19282 substed = 1
19283 } else
19284 len += 1 + keylen
19287 print line
19290 _ACAWK
19291 _ACEOF
19292 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19293 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19294 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19295 else
19297 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19298 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19299 _ACEOF
19301 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19302 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19303 # trailing colons and then remove the whole line if VPATH becomes empty
19304 # (actually we leave an empty line to preserve line numbers).
19305 if test "x$srcdir" = x.; then
19306 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19308 s///
19309 s/^/:/
19310 s/[ ]*$/:/
19311 s/:\$(srcdir):/:/g
19312 s/:\${srcdir}:/:/g
19313 s/:@srcdir@:/:/g
19314 s/^:*//
19315 s/:*$//
19317 s/\(=[ ]*\).*/\1/
19319 s/\n//
19320 s/^[^=]*=[ ]*$//
19324 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19325 fi # test -n "$CONFIG_FILES"
19327 # Set up the scripts for CONFIG_HEADERS section.
19328 # No need to generate them if there are no CONFIG_HEADERS.
19329 # This happens for instance with `./config.status Makefile'.
19330 if test -n "$CONFIG_HEADERS"; then
19331 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19332 BEGIN {
19333 _ACEOF
19335 # Transform confdefs.h into an awk script `defines.awk', embedded as
19336 # here-document in config.status, that substitutes the proper values into
19337 # config.h.in to produce config.h.
19339 # Create a delimiter string that does not exist in confdefs.h, to ease
19340 # handling of long lines.
19341 ac_delim='%!_!# '
19342 for ac_last_try in false false :; do
19343 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19344 if test -z "$ac_tt"; then
19345 break
19346 elif $ac_last_try; then
19347 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19348 else
19349 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19351 done
19353 # For the awk script, D is an array of macro values keyed by name,
19354 # likewise P contains macro parameters if any. Preserve backslash
19355 # newline sequences.
19357 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19358 sed -n '
19359 s/.\{148\}/&'"$ac_delim"'/g
19360 t rset
19361 :rset
19362 s/^[ ]*#[ ]*define[ ][ ]*/ /
19363 t def
19365 :def
19366 s/\\$//
19367 t bsnl
19368 s/["\\]/\\&/g
19369 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19370 D["\1"]=" \3"/p
19371 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19373 :bsnl
19374 s/["\\]/\\&/g
19375 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19376 D["\1"]=" \3\\\\\\n"\\/p
19377 t cont
19378 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19379 t cont
19381 :cont
19383 s/.\{148\}/&'"$ac_delim"'/g
19384 t clear
19385 :clear
19386 s/\\$//
19387 t bsnlc
19388 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19390 :bsnlc
19391 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19392 b cont
19393 ' <confdefs.h | sed '
19394 s/'"$ac_delim"'/"\\\
19395 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19397 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19398 for (key in D) D_is_set[key] = 1
19399 FS = "\a"
19401 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19402 line = \$ 0
19403 split(line, arg, " ")
19404 if (arg[1] == "#") {
19405 defundef = arg[2]
19406 mac1 = arg[3]
19407 } else {
19408 defundef = substr(arg[1], 2)
19409 mac1 = arg[2]
19411 split(mac1, mac2, "(") #)
19412 macro = mac2[1]
19413 prefix = substr(line, 1, index(line, defundef) - 1)
19414 if (D_is_set[macro]) {
19415 # Preserve the white space surrounding the "#".
19416 print prefix "define", macro P[macro] D[macro]
19417 next
19418 } else {
19419 # Replace #undef with comments. This is necessary, for example,
19420 # in the case of _POSIX_SOURCE, which is predefined and required
19421 # on some systems where configure will not decide to define it.
19422 if (defundef == "undef") {
19423 print "/*", prefix defundef, macro, "*/"
19424 next
19428 { print }
19429 _ACAWK
19430 _ACEOF
19431 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19432 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19433 fi # test -n "$CONFIG_HEADERS"
19436 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19437 shift
19438 for ac_tag
19440 case $ac_tag in
19441 :[FHLC]) ac_mode=$ac_tag; continue;;
19442 esac
19443 case $ac_mode$ac_tag in
19444 :[FHL]*:*);;
19445 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19446 :[FH]-) ac_tag=-:-;;
19447 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19448 esac
19449 ac_save_IFS=$IFS
19450 IFS=:
19451 set x $ac_tag
19452 IFS=$ac_save_IFS
19453 shift
19454 ac_file=$1
19455 shift
19457 case $ac_mode in
19458 :L) ac_source=$1;;
19459 :[FH])
19460 ac_file_inputs=
19461 for ac_f
19463 case $ac_f in
19464 -) ac_f="$ac_tmp/stdin";;
19465 *) # Look for the file first in the build tree, then in the source tree
19466 # (if the path is not absolute). The absolute path cannot be DOS-style,
19467 # because $ac_f cannot contain `:'.
19468 test -f "$ac_f" ||
19469 case $ac_f in
19470 [\\/$]*) false;;
19471 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19472 esac ||
19473 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19474 esac
19475 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19476 as_fn_append ac_file_inputs " '$ac_f'"
19477 done
19479 # Let's still pretend it is `configure' which instantiates (i.e., don't
19480 # use $as_me), people would be surprised to read:
19481 # /* config.h. Generated by config.status. */
19482 configure_input='Generated from '`
19483 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19484 `' by configure.'
19485 if test x"$ac_file" != x-; then
19486 configure_input="$ac_file. $configure_input"
19487 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19488 $as_echo "$as_me: creating $ac_file" >&6;}
19490 # Neutralize special characters interpreted by sed in replacement strings.
19491 case $configure_input in #(
19492 *\&* | *\|* | *\\* )
19493 ac_sed_conf_input=`$as_echo "$configure_input" |
19494 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19495 *) ac_sed_conf_input=$configure_input;;
19496 esac
19498 case $ac_tag in
19499 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19500 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19501 esac
19503 esac
19505 ac_dir=`$as_dirname -- "$ac_file" ||
19506 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19507 X"$ac_file" : 'X\(//\)[^/]' \| \
19508 X"$ac_file" : 'X\(//\)$' \| \
19509 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19510 $as_echo X"$ac_file" |
19511 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19512 s//\1/
19515 /^X\(\/\/\)[^/].*/{
19516 s//\1/
19519 /^X\(\/\/\)$/{
19520 s//\1/
19523 /^X\(\/\).*/{
19524 s//\1/
19527 s/.*/./; q'`
19528 as_dir="$ac_dir"; as_fn_mkdir_p
19529 ac_builddir=.
19531 case "$ac_dir" in
19532 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19534 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19535 # A ".." for each directory in $ac_dir_suffix.
19536 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19537 case $ac_top_builddir_sub in
19538 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19539 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19540 esac ;;
19541 esac
19542 ac_abs_top_builddir=$ac_pwd
19543 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19544 # for backward compatibility:
19545 ac_top_builddir=$ac_top_build_prefix
19547 case $srcdir in
19548 .) # We are building in place.
19549 ac_srcdir=.
19550 ac_top_srcdir=$ac_top_builddir_sub
19551 ac_abs_top_srcdir=$ac_pwd ;;
19552 [\\/]* | ?:[\\/]* ) # Absolute name.
19553 ac_srcdir=$srcdir$ac_dir_suffix;
19554 ac_top_srcdir=$srcdir
19555 ac_abs_top_srcdir=$srcdir ;;
19556 *) # Relative name.
19557 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19558 ac_top_srcdir=$ac_top_build_prefix$srcdir
19559 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19560 esac
19561 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19564 case $ac_mode in
19567 # CONFIG_FILE
19570 _ACEOF
19572 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19573 # If the template does not know about datarootdir, expand it.
19574 # FIXME: This hack should be removed a few years after 2.60.
19575 ac_datarootdir_hack=; ac_datarootdir_seen=
19576 ac_sed_dataroot='
19577 /datarootdir/ {
19581 /@datadir@/p
19582 /@docdir@/p
19583 /@infodir@/p
19584 /@localedir@/p
19585 /@mandir@/p'
19586 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19587 *datarootdir*) ac_datarootdir_seen=yes;;
19588 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19589 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19590 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19591 _ACEOF
19592 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19593 ac_datarootdir_hack='
19594 s&@datadir@&$datadir&g
19595 s&@docdir@&$docdir&g
19596 s&@infodir@&$infodir&g
19597 s&@localedir@&$localedir&g
19598 s&@mandir@&$mandir&g
19599 s&\\\${datarootdir}&$datarootdir&g' ;;
19600 esac
19601 _ACEOF
19603 # Neutralize VPATH when `$srcdir' = `.'.
19604 # Shell code in configure.ac might set extrasub.
19605 # FIXME: do we really want to maintain this feature?
19606 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19607 ac_sed_extra="$ac_vpsub
19608 $extrasub
19609 _ACEOF
19610 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19612 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19613 s|@configure_input@|$ac_sed_conf_input|;t t
19614 s&@top_builddir@&$ac_top_builddir_sub&;t t
19615 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19616 s&@srcdir@&$ac_srcdir&;t t
19617 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19618 s&@top_srcdir@&$ac_top_srcdir&;t t
19619 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19620 s&@builddir@&$ac_builddir&;t t
19621 s&@abs_builddir@&$ac_abs_builddir&;t t
19622 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19623 $ac_datarootdir_hack
19625 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19626 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19628 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19629 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19630 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19631 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19633 which seems to be undefined. Please make sure it is defined" >&5
19634 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19635 which seems to be undefined. Please make sure it is defined" >&2;}
19637 rm -f "$ac_tmp/stdin"
19638 case $ac_file in
19639 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19640 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19641 esac \
19642 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19646 # CONFIG_HEADER
19648 if test x"$ac_file" != x-; then
19650 $as_echo "/* $configure_input */" \
19651 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19652 } >"$ac_tmp/config.h" \
19653 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19654 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19655 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19656 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19657 else
19658 rm -f "$ac_file"
19659 mv "$ac_tmp/config.h" "$ac_file" \
19660 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19662 else
19663 $as_echo "/* $configure_input */" \
19664 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19665 || as_fn_error $? "could not create -" "$LINENO" 5
19670 # CONFIG_LINK
19673 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19675 else
19676 # Prefer the file from the source tree if names are identical.
19677 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19678 ac_source=$srcdir/$ac_source
19681 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19682 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19684 if test ! -r "$ac_source"; then
19685 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19687 rm -f "$ac_file"
19689 # Try a relative symlink, then a hard link, then a copy.
19690 case $ac_source in
19691 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19692 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19693 esac
19694 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19695 ln "$ac_source" "$ac_file" 2>/dev/null ||
19696 cp -p "$ac_source" "$ac_file" ||
19697 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19700 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19701 $as_echo "$as_me: executing $ac_file commands" >&6;}
19703 esac
19706 case $ac_file$ac_mode in
19707 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19708 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19709 "Makefile":C) wine_fn_output_makefile Makefile ;;
19711 esac
19712 done # for ac_tag
19715 as_fn_exit 0
19716 _ACEOF
19717 ac_clean_files=$ac_clean_files_save
19719 test $ac_write_fail = 0 ||
19720 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19723 # configure is writing to config.log, and then calls config.status.
19724 # config.status does its own redirection, appending to config.log.
19725 # Unfortunately, on DOS this fails, as config.log is still kept open
19726 # by configure, so config.status won't be able to write to it; its
19727 # output is simply discarded. So we exec the FD to /dev/null,
19728 # effectively closing config.log, so it can be properly (re)opened and
19729 # appended to by config.status. When coming back to configure, we
19730 # need to make the FD available again.
19731 if test "$no_create" != yes; then
19732 ac_cs_success=:
19733 ac_config_status_args=
19734 test "$silent" = yes &&
19735 ac_config_status_args="$ac_config_status_args --quiet"
19736 exec 5>/dev/null
19737 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19738 exec 5>>config.log
19739 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19740 # would make configure fail if this is the last instruction.
19741 $ac_cs_success || as_fn_exit 1
19743 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19744 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19745 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19749 if test "$no_create" = "yes"
19750 then
19751 exit 0
19754 ac_save_IFS="$IFS"
19755 if test "x$wine_notices" != x; then
19756 echo >&6
19757 IFS="|"
19758 for msg in $wine_notices; do
19759 IFS="$ac_save_IFS"
19760 if ${msg:+false} :; then :
19762 else
19763 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19764 $as_echo "$as_me: $msg" >&6;}
19766 done
19768 IFS="|"
19769 for msg in $wine_warnings; do
19770 IFS="$ac_save_IFS"
19771 if ${msg:+false} :; then :
19773 else
19774 echo >&2
19775 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19776 $as_echo "$as_me: WARNING: $msg" >&2;}
19778 done
19779 IFS="$ac_save_IFS"
19781 $as_echo "
19782 $as_me: Finished. Do '${ac_make}' to compile Wine.
19783 " >&6