credui: Use the input identity passed to SspiPromptForCredentialsW.
[wine.git] / configure
blob944ff6bd2a3ae7fc4698ed5339c98533cbf15694
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/tihdr.h \
6813 sys/time.h \
6814 sys/timeout.h \
6815 sys/times.h \
6816 sys/uio.h \
6817 sys/user.h \
6818 sys/utsname.h \
6819 sys/vm86.h \
6820 sys/vnode.h \
6821 sys/wait.h \
6822 syscall.h \
6823 termios.h \
6824 unistd.h \
6825 utime.h \
6826 valgrind/memcheck.h \
6827 valgrind/valgrind.h \
6828 zlib.h
6830 do :
6831 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6832 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6833 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6834 cat >>confdefs.h <<_ACEOF
6835 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6836 _ACEOF
6840 done
6842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6843 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6844 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
6845 $as_echo_n "(cached) " >&6
6846 else
6847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6848 /* end confdefs.h. */
6849 #include <sys/types.h>
6851 main ()
6853 return makedev(0, 0);
6855 return 0;
6857 _ACEOF
6858 if ac_fn_c_try_link "$LINENO"; then :
6859 ac_cv_header_sys_types_h_makedev=yes
6860 else
6861 ac_cv_header_sys_types_h_makedev=no
6863 rm -f core conftest.err conftest.$ac_objext \
6864 conftest$ac_exeext conftest.$ac_ext
6867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
6868 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
6870 if test $ac_cv_header_sys_types_h_makedev = no; then
6871 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
6872 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
6874 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
6880 if test $ac_cv_header_sys_mkdev_h = no; then
6881 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
6882 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
6884 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
6892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6893 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6894 if ${ac_cv_header_stat_broken+:} false; then :
6895 $as_echo_n "(cached) " >&6
6896 else
6897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6898 /* end confdefs.h. */
6899 #include <sys/types.h>
6900 #include <sys/stat.h>
6902 #if defined S_ISBLK && defined S_IFDIR
6903 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6904 #endif
6906 #if defined S_ISBLK && defined S_IFCHR
6907 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6908 #endif
6910 #if defined S_ISLNK && defined S_IFREG
6911 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6912 #endif
6914 #if defined S_ISSOCK && defined S_IFREG
6915 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6916 #endif
6918 _ACEOF
6919 if ac_fn_c_try_compile "$LINENO"; then :
6920 ac_cv_header_stat_broken=no
6921 else
6922 ac_cv_header_stat_broken=yes
6924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6927 $as_echo "$ac_cv_header_stat_broken" >&6; }
6928 if test $ac_cv_header_stat_broken = yes; then
6930 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6936 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6937 do :
6938 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6939 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6940 #ifdef HAVE_SYS_PARAM_H
6941 # include <sys/param.h>
6942 #endif
6944 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6945 cat >>confdefs.h <<_ACEOF
6946 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6947 _ACEOF
6951 done
6954 for ac_header in \
6955 netinet/ip.h \
6956 net/if.h \
6957 net/if_arp.h \
6958 net/if_dl.h \
6959 net/if_types.h \
6960 net/route.h \
6961 netinet/if_ether.h \
6962 netinet/if_inarp.h \
6963 netinet/in_pcb.h \
6964 netinet/ip_icmp.h \
6965 netinet/ip_var.h \
6966 netinet/udp.h \
6967 netipx/ipx.h \
6968 sys/un.h \
6970 do :
6971 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6972 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6973 #ifdef HAVE_SYS_SOCKET_H
6974 # include <sys/socket.h>
6975 #endif
6976 #ifdef HAVE_SYS_SOCKETVAR_H
6977 # include <sys/socketvar.h>
6978 #endif
6979 #ifdef HAVE_NET_ROUTE_H
6980 # include <net/route.h>
6981 #endif
6982 #ifdef HAVE_NETINET_IN_H
6983 # include <netinet/in.h>
6984 #endif
6985 #ifdef HAVE_NETINET_IN_SYSTM_H
6986 # include <netinet/in_systm.h>
6987 #endif
6988 #ifdef HAVE_NET_IF_H
6989 # include <net/if.h>
6990 #endif
6991 #ifdef HAVE_NETINET_IP_H
6992 # include <netinet/ip.h>
6993 #endif
6995 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6996 cat >>confdefs.h <<_ACEOF
6997 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6998 _ACEOF
7002 done
7005 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7006 do :
7007 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7008 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7009 #ifdef HAVE_ALIAS_H
7010 # include <alias.h>
7011 #endif
7012 #ifdef HAVE_SYS_SOCKET_H
7013 # include <sys/socket.h>
7014 #endif
7015 #ifdef HAVE_SYS_SOCKETVAR_H
7016 # include <sys/socketvar.h>
7017 #endif
7018 #ifdef HAVE_SYS_TIMEOUT_H
7019 # include <sys/timeout.h>
7020 #endif
7021 #ifdef HAVE_NETINET_IN_H
7022 # include <netinet/in.h>
7023 #endif
7024 #ifdef HAVE_NETINET_IN_SYSTM_H
7025 # include <netinet/in_systm.h>
7026 #endif
7027 #ifdef HAVE_NETINET_IP_H
7028 # include <netinet/ip.h>
7029 #endif
7030 #ifdef HAVE_NETINET_IP_VAR_H
7031 # include <netinet/ip_var.h>
7032 #endif
7033 #ifdef HAVE_NETINET_IP_ICMP_H
7034 # include <netinet/ip_icmp.h>
7035 #endif
7036 #ifdef HAVE_NETINET_UDP_H
7037 # include <netinet/udp.h>
7038 #endif
7039 #ifdef HAVE_NETINET_TCP_H
7040 # include <netinet/tcp.h>
7041 #endif
7042 #ifdef HAVE_NETINET_TCP_TIMER_H
7043 #include <netinet/tcp_timer.h>
7044 #endif
7046 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7047 cat >>confdefs.h <<_ACEOF
7048 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7049 _ACEOF
7053 done
7056 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7057 do :
7058 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7059 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7060 #ifdef HAVE_ASM_TYPES_H
7061 # include <asm/types.h>
7062 #endif
7063 #ifdef HAVE_SYS_SOCKET_H
7064 # include <sys/socket.h>
7065 #endif
7066 #ifdef HAVE_LINUX_TYPES_H
7067 # include <linux/types.h>
7068 #endif
7070 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7071 cat >>confdefs.h <<_ACEOF
7072 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7073 _ACEOF
7077 done
7080 for ac_header in mach-o/dyld_images.h
7081 do :
7082 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7083 # include <stdbool.h>
7084 #endif
7085 #ifdef HAVE_STDINT_H
7086 # include <stdint.h>
7087 #endif
7089 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7090 cat >>confdefs.h <<_ACEOF
7091 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7092 _ACEOF
7096 done
7099 for ac_header in resolv.h
7100 do :
7101 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7102 #ifdef HAVE_SYS_SOCKET_H
7103 # include <sys/socket.h>
7104 #endif
7105 #ifdef HAVE_NETINET_IN_H
7106 # include <netinet/in.h>
7107 #endif
7108 #ifdef HAVE_ARPA_NAMESER_H
7109 # include <arpa/nameser.h>
7110 #endif
7112 if test "x$ac_cv_header_resolv_h" = xyes; then :
7113 cat >>confdefs.h <<_ACEOF
7114 #define HAVE_RESOLV_H 1
7115 _ACEOF
7119 done
7122 for ac_header in ifaddrs.h
7123 do :
7124 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7126 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7127 cat >>confdefs.h <<_ACEOF
7128 #define HAVE_IFADDRS_H 1
7129 _ACEOF
7133 done
7136 for ac_header in sys/ucontext.h
7137 do :
7138 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7140 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7141 cat >>confdefs.h <<_ACEOF
7142 #define HAVE_SYS_UCONTEXT_H 1
7143 _ACEOF
7147 done
7150 for ac_header in sys/thr.h
7151 do :
7152 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7153 #ifdef HAVE_SYS_UCONTEXT_H
7154 #include <sys/ucontext.h>
7155 #endif
7157 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7158 cat >>confdefs.h <<_ACEOF
7159 #define HAVE_SYS_THR_H 1
7160 _ACEOF
7164 done
7167 for ac_header in pthread_np.h
7168 do :
7169 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7170 #include <pthread.h>
7171 #endif
7173 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7174 cat >>confdefs.h <<_ACEOF
7175 #define HAVE_PTHREAD_NP_H 1
7176 _ACEOF
7180 done
7183 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7184 do :
7185 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7186 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7187 #include <sys/time.h>
7188 #endif
7189 #include <sys/types.h>
7190 #ifdef HAVE_ASM_TYPES_H
7191 #include <asm/types.h>
7192 #endif
7194 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7195 cat >>confdefs.h <<_ACEOF
7196 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7197 _ACEOF
7201 done
7204 for ac_header in libprocstat.h
7205 do :
7206 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7207 #include <sys/param.h>
7208 #endif
7209 #ifdef HAVE_SYS_QUEUE_H
7210 #include <sys/queue.h>
7211 #endif
7212 #ifdef HAVE_SYS_SOCKET_H
7213 #include <sys/socket.h>
7214 #endif
7216 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7217 cat >>confdefs.h <<_ACEOF
7218 #define HAVE_LIBPROCSTAT_H 1
7219 _ACEOF
7223 done
7227 dlldir="\${libdir}/wine"
7229 DLLFLAGS="-D_REENTRANT"
7231 LDRPATH_INSTALL=""
7233 LDRPATH_LOCAL=""
7235 LDEXECFLAGS=""
7237 LIBEXT="so"
7238 DLLEXT=".so"
7239 IMPLIBEXT="def"
7240 # Extract the first word of "ldd", so it can be a program name with args.
7241 set dummy ldd; ac_word=$2
7242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7243 $as_echo_n "checking for $ac_word... " >&6; }
7244 if ${ac_cv_path_LDD+:} false; then :
7245 $as_echo_n "(cached) " >&6
7246 else
7247 case $LDD in
7248 [\\/]* | ?:[\\/]*)
7249 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7253 as_dummy="/sbin:/usr/sbin:$PATH"
7254 for as_dir in $as_dummy
7256 IFS=$as_save_IFS
7257 test -z "$as_dir" && as_dir=.
7258 for ac_exec_ext in '' $ac_executable_extensions; do
7259 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7260 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7261 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7262 break 2
7264 done
7265 done
7266 IFS=$as_save_IFS
7268 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7270 esac
7272 LDD=$ac_cv_path_LDD
7273 if test -n "$LDD"; then
7274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7275 $as_echo "$LDD" >&6; }
7276 else
7277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7278 $as_echo "no" >&6; }
7282 if test -n "$ac_tool_prefix"; then
7283 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7284 set dummy ${ac_tool_prefix}otool; ac_word=$2
7285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7286 $as_echo_n "checking for $ac_word... " >&6; }
7287 if ${ac_cv_prog_OTOOL+:} false; then :
7288 $as_echo_n "(cached) " >&6
7289 else
7290 if test -n "$OTOOL"; then
7291 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7292 else
7293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7294 for as_dir in $PATH
7296 IFS=$as_save_IFS
7297 test -z "$as_dir" && as_dir=.
7298 for ac_exec_ext in '' $ac_executable_extensions; do
7299 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7300 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7301 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7302 break 2
7304 done
7305 done
7306 IFS=$as_save_IFS
7310 OTOOL=$ac_cv_prog_OTOOL
7311 if test -n "$OTOOL"; then
7312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7313 $as_echo "$OTOOL" >&6; }
7314 else
7315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7316 $as_echo "no" >&6; }
7321 if test -z "$ac_cv_prog_OTOOL"; then
7322 ac_ct_OTOOL=$OTOOL
7323 # Extract the first word of "otool", so it can be a program name with args.
7324 set dummy otool; ac_word=$2
7325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7326 $as_echo_n "checking for $ac_word... " >&6; }
7327 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7328 $as_echo_n "(cached) " >&6
7329 else
7330 if test -n "$ac_ct_OTOOL"; then
7331 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7332 else
7333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7334 for as_dir in $PATH
7336 IFS=$as_save_IFS
7337 test -z "$as_dir" && as_dir=.
7338 for ac_exec_ext in '' $ac_executable_extensions; do
7339 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7340 ac_cv_prog_ac_ct_OTOOL="otool"
7341 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7342 break 2
7344 done
7345 done
7346 IFS=$as_save_IFS
7350 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7351 if test -n "$ac_ct_OTOOL"; then
7352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7353 $as_echo "$ac_ct_OTOOL" >&6; }
7354 else
7355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7356 $as_echo "no" >&6; }
7359 if test "x$ac_ct_OTOOL" = x; then
7360 OTOOL="otool"
7361 else
7362 case $cross_compiling:$ac_tool_warned in
7363 yes:)
7364 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7365 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7366 ac_tool_warned=yes ;;
7367 esac
7368 OTOOL=$ac_ct_OTOOL
7370 else
7371 OTOOL="$ac_cv_prog_OTOOL"
7374 if test -n "$ac_tool_prefix"; then
7375 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7376 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7378 $as_echo_n "checking for $ac_word... " >&6; }
7379 if ${ac_cv_prog_READELF+:} false; then :
7380 $as_echo_n "(cached) " >&6
7381 else
7382 if test -n "$READELF"; then
7383 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7384 else
7385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7386 for as_dir in $PATH
7388 IFS=$as_save_IFS
7389 test -z "$as_dir" && as_dir=.
7390 for ac_exec_ext in '' $ac_executable_extensions; do
7391 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7392 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7393 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7394 break 2
7396 done
7397 done
7398 IFS=$as_save_IFS
7402 READELF=$ac_cv_prog_READELF
7403 if test -n "$READELF"; then
7404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7405 $as_echo "$READELF" >&6; }
7406 else
7407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7408 $as_echo "no" >&6; }
7413 if test -z "$ac_cv_prog_READELF"; then
7414 ac_ct_READELF=$READELF
7415 # Extract the first word of "readelf", so it can be a program name with args.
7416 set dummy readelf; ac_word=$2
7417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7418 $as_echo_n "checking for $ac_word... " >&6; }
7419 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7420 $as_echo_n "(cached) " >&6
7421 else
7422 if test -n "$ac_ct_READELF"; then
7423 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7424 else
7425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7426 for as_dir in $PATH
7428 IFS=$as_save_IFS
7429 test -z "$as_dir" && as_dir=.
7430 for ac_exec_ext in '' $ac_executable_extensions; do
7431 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7432 ac_cv_prog_ac_ct_READELF="readelf"
7433 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7434 break 2
7436 done
7437 done
7438 IFS=$as_save_IFS
7442 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7443 if test -n "$ac_ct_READELF"; then
7444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7445 $as_echo "$ac_ct_READELF" >&6; }
7446 else
7447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7448 $as_echo "no" >&6; }
7451 if test "x$ac_ct_READELF" = x; then
7452 READELF="true"
7453 else
7454 case $cross_compiling:$ac_tool_warned in
7455 yes:)
7456 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7457 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7458 ac_tool_warned=yes ;;
7459 esac
7460 READELF=$ac_ct_READELF
7462 else
7463 READELF="$ac_cv_prog_READELF"
7466 wine_rules_file=conf$$rules.make
7467 rm -f $wine_rules_file
7468 SUBDIRS=""
7470 DISABLED_SUBDIRS=""
7472 CONFIGURE_TARGETS=""
7474 ALL_TEST_RESOURCES=""
7477 wine_fn_append_file ()
7479 as_fn_append $1 " \\$as_nl $2"
7482 wine_fn_append_rule ()
7484 $as_echo "$1" >>$wine_rules_file
7487 wine_fn_has_flag ()
7489 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7492 wine_fn_all_rules ()
7494 wine_fn_append_file SUBDIRS $ac_dir
7495 wine_fn_append_rule \
7496 "all: $ac_dir
7497 .PHONY: $ac_dir
7498 $ac_dir: dummy
7499 @cd $ac_dir && \$(MAKE)"
7502 wine_fn_install_rules ()
7504 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7506 wine_fn_append_rule \
7507 ".PHONY: $ac_dir/install $ac_dir/uninstall
7508 $ac_dir/install:: $ac_dir
7509 @cd $ac_dir && \$(MAKE) install
7510 $ac_dir/uninstall::
7511 @cd $ac_dir && \$(MAKE) uninstall
7512 install:: $ac_dir/install
7513 __uninstall__: $ac_dir/uninstall"
7515 if wine_fn_has_flag install-lib
7516 then
7517 wine_fn_append_rule \
7518 ".PHONY: $ac_dir/install-lib
7519 $ac_dir/install-lib:: $ac_dir
7520 @cd $ac_dir && \$(MAKE) install-lib
7521 install-lib:: $ac_dir/install-lib"
7524 if wine_fn_has_flag install-dev
7525 then
7526 wine_fn_append_rule \
7527 ".PHONY: $ac_dir/install-dev
7528 $ac_dir/install-dev:: $ac_dir
7529 @cd $ac_dir && \$(MAKE) install-dev
7530 install-dev:: $ac_dir/install-dev"
7534 wine_fn_clean_rules ()
7536 ac_clean=$@
7538 if wine_fn_has_flag clean
7539 then
7540 wine_fn_append_rule \
7541 "$ac_dir/clean: dummy
7542 @cd $ac_dir && \$(MAKE) clean"
7543 else
7544 wine_fn_append_rule \
7545 "$ac_dir/clean: dummy
7546 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7548 wine_fn_append_rule \
7549 "__clean__: $ac_dir/clean
7550 .PHONY: $ac_dir/clean"
7553 wine_fn_disabled_rules ()
7555 ac_clean=$@
7557 wine_fn_append_file SUBDIRS $ac_dir
7558 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7559 wine_fn_append_rule \
7560 "__clean__: $ac_dir/clean
7561 .PHONY: $ac_dir/clean
7562 $ac_dir/clean: dummy
7563 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7566 wine_fn_config_makefile ()
7568 ac_dir=$1
7569 ac_enable=$2
7570 ac_flags=$3
7572 case $ac_dir in
7573 fonts|server) test -z "$with_wine64" || return ;;
7574 esac
7575 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7576 wine_fn_disabled_rules; return
7578 wine_fn_all_rules
7579 wine_fn_install_rules
7580 wine_fn_clean_rules
7583 wine_fn_config_lib ()
7585 ac_name=$1
7586 ac_flags=$2
7587 ac_dir=dlls/$ac_name
7588 ac_deps="include"
7590 if test "x$enable_tools" = xno; then :
7592 else
7593 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7595 wine_fn_all_rules
7596 wine_fn_clean_rules
7598 wine_fn_append_rule \
7599 ".PHONY: $ac_dir/install $ac_dir/uninstall
7600 $ac_dir/install:: $ac_dir
7601 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7602 $ac_dir/uninstall::
7603 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7604 install install-dev:: $ac_dir/install
7605 __uninstall__: $ac_dir/uninstall
7606 __builddeps__: $ac_dir
7607 $ac_dir: $ac_deps"
7610 wine_fn_config_dll ()
7612 ac_name=$1
7613 ac_dir=dlls/$ac_name
7614 ac_enable=$2
7615 ac_flags=$3
7616 ac_implib=${4:-$ac_name}
7617 ac_file=$ac_dir/lib$ac_implib
7618 ac_dll=$ac_name
7619 ac_deps="include"
7620 ac_implibflags=""
7622 if test "x$enable_tools" = xno; then :
7624 else
7625 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7627 case $ac_name in
7628 *16) ac_implibflags=" -m16" ;;
7629 *.*) ;;
7630 *) ac_dll=$ac_dll.dll ;;
7631 esac
7633 ac_clean=
7634 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7635 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7637 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7638 if test "$ac_enable" != enable_win16
7639 then
7640 wine_fn_clean_rules $ac_clean
7641 wine_fn_append_file SUBDIRS $ac_dir
7642 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7643 else
7644 wine_fn_disabled_rules $ac_clean
7645 return
7647 else
7648 wine_fn_all_rules
7649 wine_fn_clean_rules $ac_clean
7650 wine_fn_append_rule \
7651 "$ac_dir: __builddeps__
7652 manpages htmlpages sgmlpages xmlpages::
7653 @cd $ac_dir && \$(MAKE) \$@
7654 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7655 install install-lib:: $ac_dir/install-lib
7656 __uninstall__: $ac_dir/uninstall"
7657 if test -n "$DLLEXT"
7658 then
7659 wine_fn_append_rule \
7660 "$ac_dir/install-lib:: $ac_dir
7661 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7662 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7663 $ac_dir/uninstall::
7664 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7665 else
7666 wine_fn_append_rule \
7667 "$ac_dir/install-lib:: $ac_dir
7668 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7669 $ac_dir/uninstall::
7670 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7674 if wine_fn_has_flag staticimplib
7675 then
7676 wine_fn_append_rule \
7677 "__builddeps__: $ac_file.a
7678 $ac_file.a $ac_file.cross.a: $ac_deps
7679 $ac_file.a: dummy
7680 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7681 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7682 $ac_dir/install-dev:: $ac_file.a
7683 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7684 $ac_dir/uninstall::
7685 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7686 install install-dev:: $ac_dir/install-dev
7687 __uninstall__: $ac_dir/uninstall"
7689 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7690 then
7691 wine_fn_append_rule \
7692 "__builddeps__: $ac_file.cross.a
7693 $ac_file.cross.a: dummy
7694 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7697 elif wine_fn_has_flag implib
7698 then
7699 wine_fn_append_rule \
7700 "__builddeps__: $ac_file.$IMPLIBEXT
7701 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7702 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7703 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7704 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7705 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7706 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7707 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7708 $ac_dir/uninstall::
7709 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7710 install install-dev:: $ac_dir/install-dev
7711 __uninstall__: $ac_dir/uninstall"
7712 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7713 then
7714 wine_fn_append_rule \
7715 "__builddeps__: $ac_file.cross.a
7716 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7717 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7722 wine_fn_config_program ()
7724 ac_name=$1
7725 ac_dir=programs/$ac_name
7726 ac_enable=$2
7727 ac_flags=$3
7728 ac_program=$ac_name
7730 case $ac_name in
7731 *.*) ;;
7732 *) ac_program=$ac_program.exe ;;
7733 esac
7735 ac_clean=
7736 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7737 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7739 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7740 wine_fn_disabled_rules $ac_clean; return
7743 wine_fn_all_rules
7744 wine_fn_clean_rules $ac_clean
7745 wine_fn_append_rule "$ac_dir: __builddeps__"
7747 wine_fn_has_flag install || return
7748 wine_fn_append_rule \
7749 ".PHONY: $ac_dir/install $ac_dir/uninstall
7750 install install-lib:: $ac_dir/install
7751 __uninstall__: $ac_dir/uninstall"
7753 if test -n "$DLLEXT"
7754 then
7755 wine_fn_append_rule \
7756 "$ac_dir/install:: $ac_dir
7757 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7758 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7759 $ac_dir/uninstall::
7760 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7762 if test -z "$with_wine64" && wine_fn_has_flag installbin
7763 then
7764 wine_fn_append_rule \
7765 "$ac_dir/install:: __tooldeps__
7766 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7767 $ac_dir/uninstall::
7768 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7770 else
7771 wine_fn_append_rule \
7772 "$ac_dir/install:: $ac_dir
7773 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7774 $ac_dir/uninstall::
7775 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7778 if test -z "$with_wine64" && wine_fn_has_flag manpage
7779 then
7780 wine_fn_append_rule \
7781 "$ac_dir/install:: $ac_dir
7782 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7783 $ac_dir/uninstall::
7784 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7788 wine_fn_config_test ()
7790 ac_dir=$1
7791 ac_name=$2
7792 ac_flags=$3
7794 ac_clean=
7795 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7796 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7798 if test "x$enable_tests" = xno; then :
7799 wine_fn_disabled_rules $ac_clean; return
7802 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7803 wine_fn_all_rules
7804 wine_fn_clean_rules $ac_clean
7806 wine_fn_append_rule \
7807 "$ac_dir: __builddeps__
7808 programs/winetest: $ac_dir
7809 check test: $ac_dir/test
7810 .PHONY: $ac_dir/test
7811 $ac_dir/test: dummy
7812 @cd $ac_dir && \$(MAKE) test
7813 testclean::
7814 \$(RM) $ac_dir/*.ok"
7816 if test -n "$CROSSTARGET"
7817 then
7818 wine_fn_append_rule \
7819 "crosstest: $ac_dir/crosstest
7820 .PHONY: $ac_dir/crosstest
7821 $ac_dir/crosstest: __builddeps__ dummy
7822 @cd $ac_dir && \$(MAKE) crosstest"
7826 wine_fn_config_tool ()
7828 ac_dir=$1
7829 ac_flags=$2
7830 if test "x$enable_tools" = xno; then :
7831 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7834 wine_fn_all_rules
7835 wine_fn_install_rules
7836 wine_fn_clean_rules
7838 wine_fn_append_rule "__tooldeps__: $ac_dir"
7839 wine_fn_append_rule "$ac_dir: libs/port"
7840 case $ac_dir in
7841 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7842 esac
7845 wine_fn_config_symlink ()
7847 ac_linkdir=
7848 if test "x$1" = "x-d"
7849 then
7850 ac_linkdir=$2
7851 shift; shift
7853 ac_links=$@
7854 wine_fn_append_rule \
7855 "$ac_links:
7856 @./config.status \$@"
7857 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7858 test -n "$ac_linkdir" || return
7859 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7862 wine_binary="wine"
7863 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7864 WINELOADER_PROGRAMS="$wine_binary"
7866 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7868 case $host_os in
7869 cygwin*|mingw32*)
7870 if test -n "$ac_tool_prefix"; then
7871 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7872 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7874 $as_echo_n "checking for $ac_word... " >&6; }
7875 if ${ac_cv_prog_DLLTOOL+:} false; then :
7876 $as_echo_n "(cached) " >&6
7877 else
7878 if test -n "$DLLTOOL"; then
7879 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7880 else
7881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7882 for as_dir in $PATH
7884 IFS=$as_save_IFS
7885 test -z "$as_dir" && as_dir=.
7886 for ac_exec_ext in '' $ac_executable_extensions; do
7887 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7888 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7889 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7890 break 2
7892 done
7893 done
7894 IFS=$as_save_IFS
7898 DLLTOOL=$ac_cv_prog_DLLTOOL
7899 if test -n "$DLLTOOL"; then
7900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7901 $as_echo "$DLLTOOL" >&6; }
7902 else
7903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7904 $as_echo "no" >&6; }
7909 if test -z "$ac_cv_prog_DLLTOOL"; then
7910 ac_ct_DLLTOOL=$DLLTOOL
7911 # Extract the first word of "dlltool", so it can be a program name with args.
7912 set dummy dlltool; ac_word=$2
7913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7914 $as_echo_n "checking for $ac_word... " >&6; }
7915 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7916 $as_echo_n "(cached) " >&6
7917 else
7918 if test -n "$ac_ct_DLLTOOL"; then
7919 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7920 else
7921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7922 for as_dir in $PATH
7924 IFS=$as_save_IFS
7925 test -z "$as_dir" && as_dir=.
7926 for ac_exec_ext in '' $ac_executable_extensions; do
7927 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7928 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7929 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7930 break 2
7932 done
7933 done
7934 IFS=$as_save_IFS
7938 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7939 if test -n "$ac_ct_DLLTOOL"; then
7940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7941 $as_echo "$ac_ct_DLLTOOL" >&6; }
7942 else
7943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7944 $as_echo "no" >&6; }
7947 if test "x$ac_ct_DLLTOOL" = x; then
7948 DLLTOOL="false"
7949 else
7950 case $cross_compiling:$ac_tool_warned in
7951 yes:)
7952 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7953 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7954 ac_tool_warned=yes ;;
7955 esac
7956 DLLTOOL=$ac_ct_DLLTOOL
7958 else
7959 DLLTOOL="$ac_cv_prog_DLLTOOL"
7962 LIBEXT="dll"
7963 DLLEXT=""
7964 IMPLIBEXT="a"
7965 enable_iphlpapi=${enable_iphlpapi:-no}
7966 enable_kernel32=${enable_kernel32:-no}
7967 enable_msvcrt=${enable_msvcrt:-no}
7968 enable_ntdll=${enable_ntdll:-no}
7969 enable_ws2_32=${enable_ws2_32:-no}
7970 enable_loader=${enable_loader:-no}
7971 enable_server=${enable_server:-no}
7972 with_x=${with_x:-no}
7973 with_pthread=${with_pthread:-no}
7975 crtlibs=""
7976 case $host_os in
7977 mingw32*)
7978 crtlibs="-lmsvcrt"
7979 SOCKET_LIBS="-lws2_32"
7981 esac
7983 LIBWINE_SHAREDLIB="libwine.dll"
7985 LIBWINE_IMPORTLIB="libwine.a"
7987 LIBWINE_INSTALL_LIB="libwine.dll"
7989 LIBWINE_INSTALL_DEV="libwine.a"
7991 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
7993 LIBWINE_DEPENDS="wine.def"
7997 darwin*|macosx*)
7998 for ac_header in libunwind.h
7999 do :
8000 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8001 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8002 cat >>confdefs.h <<_ACEOF
8003 #define HAVE_LIBUNWIND_H 1
8004 _ACEOF
8008 done
8010 LIBEXT="dylib"
8011 DLLFLAGS="$DLLFLAGS -fPIC"
8012 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8013 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8014 COREFOUNDATION_LIBS="-framework CoreFoundation"
8016 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8018 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8020 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8022 CORESERVICES_LIBS="-framework CoreServices"
8024 APPKIT_LIBS="-framework AppKit"
8026 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8028 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8029 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8030 $as_echo_n "(cached) " >&6
8031 else
8032 ac_wine_try_cflags_saved=$CFLAGS
8033 CFLAGS="$CFLAGS -Wl,-no_pie"
8034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8035 /* end confdefs.h. */
8036 int main(int argc, char **argv) { return 0; }
8037 _ACEOF
8038 if ac_fn_c_try_link "$LINENO"; then :
8039 ac_cv_cflags__Wl__no_pie=yes
8040 else
8041 ac_cv_cflags__Wl__no_pie=no
8043 rm -f core conftest.err conftest.$ac_objext \
8044 conftest$ac_exeext conftest.$ac_ext
8045 CFLAGS=$ac_wine_try_cflags_saved
8047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8048 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8049 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8050 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8052 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8053 then
8054 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8057 if test "$ac_cv_header_Security_Security_h" = "yes"
8058 then
8059 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8061 ac_save_LIBS="$LIBS"
8062 LIBS="$LIBS $SECURITY_LIBS"
8063 for ac_func in SSLCopyPeerCertificates
8064 do :
8065 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8066 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8067 cat >>confdefs.h <<_ACEOF
8068 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8069 _ACEOF
8072 done
8074 LIBS="$ac_save_LIBS"
8075 with_gnutls=${with_gnutls:-no}
8077 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8078 then
8079 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8080 then
8081 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8083 else
8084 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8087 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8088 ac_save_LIBS="$LIBS"
8089 LIBS="$LIBS $COREAUDIO_LIBS"
8090 for ac_func in AUGraphAddNode
8091 do :
8092 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8093 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8094 cat >>confdefs.h <<_ACEOF
8095 #define HAVE_AUGRAPHADDNODE 1
8096 _ACEOF
8099 done
8101 LIBS="$ac_save_LIBS"
8103 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8104 then
8105 OPENAL_LIBS="-framework OpenAL"
8108 cat >>confdefs.h <<_ACEOF
8109 #define HAVE_OPENAL 1
8110 _ACEOF
8112 ac_cv_lib_openal=yes
8114 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8115 then
8116 OPENCL_LIBS="-framework OpenCL"
8118 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8120 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8121 then
8122 ac_save_LIBS="$LIBS"
8123 LIBS="$LIBS $IOKIT_LIBS"
8124 for ac_func in IOHIDManagerCreate
8125 do :
8126 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8127 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8128 cat >>confdefs.h <<_ACEOF
8129 #define HAVE_IOHIDMANAGERCREATE 1
8130 _ACEOF
8133 done
8135 LIBS="$ac_save_LIBS"
8137 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8138 then
8139 ac_save_LIBS="$LIBS"
8140 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8142 $as_echo_n "checking for the QuickTime framework... " >&6; }
8143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8144 /* end confdefs.h. */
8145 #include <QuickTime/ImageCompression.h>
8147 main ()
8149 CodecManagerVersion(NULL);
8151 return 0;
8153 _ACEOF
8154 if ac_fn_c_try_link "$LINENO"; then :
8155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8156 $as_echo "yes" >&6; }
8157 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8159 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8160 else
8161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8162 $as_echo "no" >&6; }
8163 ac_cv_header_QuickTime_ImageCompression_h=no
8165 rm -f core conftest.err conftest.$ac_objext \
8166 conftest$ac_exeext conftest.$ac_ext
8167 LIBS="$ac_save_LIBS"
8169 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8170 then
8171 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8173 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8174 then
8175 CARBON_LIBS="-framework Carbon"
8179 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8180 then
8181 ac_save_LIBS="$LIBS"
8182 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8183 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8184 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8185 enable_winemac_drv=${enable_winemac_drv:-yes}
8188 LIBS="$ac_save_LIBS"
8191 if test "x$enable_win16" = "xyes"
8192 then
8193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8194 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8195 if test "$cross_compiling" = yes; then :
8196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8197 $as_echo "cross-compiling, assuming yes" >&6; }
8198 else
8199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8200 /* end confdefs.h. */
8201 asm(".text\n"
8202 "bad:\tnop;nop\n"
8203 "good:\tnop;nop\n\t"
8204 ".globl _testfunc\n"
8205 "_testfunc:\tcallw good");
8206 extern void testfunc();
8208 main ()
8210 unsigned short *p = (unsigned short *)testfunc;
8211 return p[0] != 0xe866 || p[1] != 0xfffa
8213 return 0;
8215 _ACEOF
8216 if ac_fn_c_try_run "$LINENO"; then :
8217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8218 $as_echo "yes" >&6; }
8219 else
8220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8221 $as_echo "no" >&6; }
8222 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
8224 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8225 conftest.$ac_objext conftest.beam conftest.$ac_ext
8230 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8232 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8234 LIBWINE_INSTALL_DEV="libwine.dylib"
8236 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8238 WINELOADER_DEPENDS="wine_info.plist"
8242 linux-android*)
8243 DLLFLAGS="$DLLFLAGS -fPIC"
8244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8245 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8246 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8247 $as_echo_n "(cached) " >&6
8248 else
8249 ac_wine_try_cflags_saved=$CFLAGS
8250 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8252 /* end confdefs.h. */
8253 int main(int argc, char **argv) { return 0; }
8254 _ACEOF
8255 if ac_fn_c_try_link "$LINENO"; then :
8256 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8257 else
8258 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8260 rm -f core conftest.err conftest.$ac_objext \
8261 conftest$ac_exeext conftest.$ac_ext
8262 CFLAGS=$ac_wine_try_cflags_saved
8264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8265 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8266 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8267 LDEXECFLAGS="-Wl,--export-dynamic"
8269 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8271 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8272 if eval \${$as_ac_var+:} false; then :
8273 $as_echo_n "(cached) " >&6
8274 else
8275 ac_wine_try_cflags_saved=$CFLAGS
8276 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8278 /* end confdefs.h. */
8279 int main(int argc, char **argv) { return 0; }
8280 _ACEOF
8281 if ac_fn_c_try_link "$LINENO"; then :
8282 eval "$as_ac_var=yes"
8283 else
8284 eval "$as_ac_var=no"
8286 rm -f core conftest.err conftest.$ac_objext \
8287 conftest$ac_exeext conftest.$ac_ext
8288 CFLAGS=$ac_wine_try_cflags_saved
8290 eval ac_res=\$$as_ac_var
8291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8292 $as_echo "$ac_res" >&6; }
8293 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8294 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8295 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8296 else
8297 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8299 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8300 if eval \${$as_ac_var+:} false; then :
8301 $as_echo_n "(cached) " >&6
8302 else
8303 ac_wine_try_cflags_saved=$CFLAGS
8304 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8306 /* end confdefs.h. */
8307 int main(int argc, char **argv) { return 0; }
8308 _ACEOF
8309 if ac_fn_c_try_link "$LINENO"; then :
8310 eval "$as_ac_var=yes"
8311 else
8312 eval "$as_ac_var=no"
8314 rm -f core conftest.err conftest.$ac_objext \
8315 conftest$ac_exeext conftest.$ac_ext
8316 CFLAGS=$ac_wine_try_cflags_saved
8318 eval ac_res=\$$as_ac_var
8319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8320 $as_echo "$ac_res" >&6; }
8321 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8322 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8323 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8328 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8329 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8330 $as_echo_n "(cached) " >&6
8331 else
8332 ac_wine_try_cflags_saved=$CFLAGS
8333 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8335 /* end confdefs.h. */
8336 int main(int argc, char **argv) { return 0; }
8337 _ACEOF
8338 if ac_fn_c_try_link "$LINENO"; then :
8339 ac_cv_cflags__Wl___enable_new_dtags=yes
8340 else
8341 ac_cv_cflags__Wl___enable_new_dtags=no
8343 rm -f core conftest.err conftest.$ac_objext \
8344 conftest$ac_exeext conftest.$ac_ext
8345 CFLAGS=$ac_wine_try_cflags_saved
8347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8348 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8349 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8350 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8353 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8354 if ${ac_cv_cflags__Wl__pie+:} false; then :
8355 $as_echo_n "(cached) " >&6
8356 else
8357 ac_wine_try_cflags_saved=$CFLAGS
8358 CFLAGS="$CFLAGS -Wl,-pie"
8359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8360 /* end confdefs.h. */
8361 int main(int argc, char **argv) { return 0; }
8362 _ACEOF
8363 if ac_fn_c_try_link "$LINENO"; then :
8364 ac_cv_cflags__Wl__pie=yes
8365 else
8366 ac_cv_cflags__Wl__pie=no
8368 rm -f core conftest.err conftest.$ac_objext \
8369 conftest$ac_exeext conftest.$ac_ext
8370 CFLAGS=$ac_wine_try_cflags_saved
8372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8373 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8374 if test "x$ac_cv_cflags__Wl__pie" = xyes; then :
8375 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,-pie"
8378 LIBWINE_SHAREDLIB="libwine.so"
8380 LIBWINE_INSTALL_LIB="libwine.so"
8382 LIBWINE_LDFLAGS="-shared"
8387 DLLFLAGS="$DLLFLAGS -fPIC"
8388 LDEXECFLAGS=""
8389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8390 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8391 if ${ac_cv_c_dll_gnuelf+:} false; then :
8392 $as_echo_n "(cached) " >&6
8393 else
8394 ac_wine_try_cflags_saved=$CFLAGS
8395 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8397 /* end confdefs.h. */
8398 void myfunc() {}
8399 _ACEOF
8400 if ac_fn_c_try_link "$LINENO"; then :
8401 ac_cv_c_dll_gnuelf="yes"
8402 else
8403 ac_cv_c_dll_gnuelf="no"
8405 rm -f core conftest.err conftest.$ac_objext \
8406 conftest$ac_exeext conftest.$ac_ext
8407 CFLAGS=$ac_wine_try_cflags_saved
8409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8410 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8411 if test "$ac_cv_c_dll_gnuelf" = "yes"
8412 then
8413 LIBWINE_LDFLAGS="-shared"
8414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8415 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8416 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8417 $as_echo_n "(cached) " >&6
8418 else
8419 ac_wine_try_cflags_saved=$CFLAGS
8420 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8422 /* end confdefs.h. */
8423 int main(int argc, char **argv) { return 0; }
8424 _ACEOF
8425 if ac_fn_c_try_link "$LINENO"; then :
8426 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8427 else
8428 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8430 rm -f core conftest.err conftest.$ac_objext \
8431 conftest$ac_exeext conftest.$ac_ext
8432 CFLAGS=$ac_wine_try_cflags_saved
8434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8435 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8436 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8437 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8438 else
8439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8440 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8441 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8442 $as_echo_n "(cached) " >&6
8443 else
8444 ac_wine_try_cflags_saved=$CFLAGS
8445 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8447 /* end confdefs.h. */
8448 int main(int argc, char **argv) { return 0; }
8449 _ACEOF
8450 if ac_fn_c_try_link "$LINENO"; then :
8451 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8452 else
8453 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8455 rm -f core conftest.err conftest.$ac_objext \
8456 conftest$ac_exeext conftest.$ac_ext
8457 CFLAGS=$ac_wine_try_cflags_saved
8459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8460 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8461 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8462 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8466 echo '{ global: *; };' >conftest.map
8467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8468 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8469 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8470 $as_echo_n "(cached) " >&6
8471 else
8472 ac_wine_try_cflags_saved=$CFLAGS
8473 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8475 /* end confdefs.h. */
8476 int main(int argc, char **argv) { return 0; }
8477 _ACEOF
8478 if ac_fn_c_try_link "$LINENO"; then :
8479 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8480 else
8481 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8483 rm -f core conftest.err conftest.$ac_objext \
8484 conftest$ac_exeext conftest.$ac_ext
8485 CFLAGS=$ac_wine_try_cflags_saved
8487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8488 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8489 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8490 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8492 rm -f conftest.map
8494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8495 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8496 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8497 $as_echo_n "(cached) " >&6
8498 else
8499 ac_wine_try_cflags_saved=$CFLAGS
8500 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8502 /* end confdefs.h. */
8503 int main(int argc, char **argv) { return 0; }
8504 _ACEOF
8505 if ac_fn_c_try_link "$LINENO"; then :
8506 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8507 else
8508 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8510 rm -f core conftest.err conftest.$ac_objext \
8511 conftest$ac_exeext conftest.$ac_ext
8512 CFLAGS=$ac_wine_try_cflags_saved
8514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8515 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8516 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8517 LDEXECFLAGS="-Wl,--export-dynamic"
8520 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8522 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8523 if eval \${$as_ac_var+:} false; then :
8524 $as_echo_n "(cached) " >&6
8525 else
8526 ac_wine_try_cflags_saved=$CFLAGS
8527 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8529 /* end confdefs.h. */
8530 int main(int argc, char **argv) { return 0; }
8531 _ACEOF
8532 if ac_fn_c_try_link "$LINENO"; then :
8533 eval "$as_ac_var=yes"
8534 else
8535 eval "$as_ac_var=no"
8537 rm -f core conftest.err conftest.$ac_objext \
8538 conftest$ac_exeext conftest.$ac_ext
8539 CFLAGS=$ac_wine_try_cflags_saved
8541 eval ac_res=\$$as_ac_var
8542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8543 $as_echo "$ac_res" >&6; }
8544 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8545 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8546 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8547 else
8548 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8550 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8551 if eval \${$as_ac_var+:} false; then :
8552 $as_echo_n "(cached) " >&6
8553 else
8554 ac_wine_try_cflags_saved=$CFLAGS
8555 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8557 /* end confdefs.h. */
8558 int main(int argc, char **argv) { return 0; }
8559 _ACEOF
8560 if ac_fn_c_try_link "$LINENO"; then :
8561 eval "$as_ac_var=yes"
8562 else
8563 eval "$as_ac_var=no"
8565 rm -f core conftest.err conftest.$ac_objext \
8566 conftest$ac_exeext conftest.$ac_ext
8567 CFLAGS=$ac_wine_try_cflags_saved
8569 eval ac_res=\$$as_ac_var
8570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8571 $as_echo "$ac_res" >&6; }
8572 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8573 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8574 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8579 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8580 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8581 $as_echo_n "(cached) " >&6
8582 else
8583 ac_wine_try_cflags_saved=$CFLAGS
8584 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8586 /* end confdefs.h. */
8587 int main(int argc, char **argv) { return 0; }
8588 _ACEOF
8589 if ac_fn_c_try_link "$LINENO"; then :
8590 ac_cv_cflags__Wl___enable_new_dtags=yes
8591 else
8592 ac_cv_cflags__Wl___enable_new_dtags=no
8594 rm -f core conftest.err conftest.$ac_objext \
8595 conftest$ac_exeext conftest.$ac_ext
8596 CFLAGS=$ac_wine_try_cflags_saved
8598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8599 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8600 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8601 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8604 case $host_cpu in
8605 *i[3456789]86* | x86_64)
8606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8607 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8608 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8609 $as_echo_n "(cached) " >&6
8610 else
8611 ac_wine_try_cflags_saved=$CFLAGS
8612 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8614 /* end confdefs.h. */
8615 int main(int argc, char **argv) { return 0; }
8616 _ACEOF
8617 if ac_fn_c_try_link "$LINENO"; then :
8618 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8619 else
8620 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8622 rm -f core conftest.err conftest.$ac_objext \
8623 conftest$ac_exeext conftest.$ac_ext
8624 CFLAGS=$ac_wine_try_cflags_saved
8626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8627 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8628 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8629 case $host_os in
8630 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8631 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8632 esac
8633 else
8634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8635 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8636 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8637 $as_echo_n "(cached) " >&6
8638 else
8639 ac_wine_try_cflags_saved=$CFLAGS
8640 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8642 /* end confdefs.h. */
8643 int main(int argc, char **argv) { return 0; }
8644 _ACEOF
8645 if ac_fn_c_try_link "$LINENO"; then :
8646 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8647 else
8648 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8650 rm -f core conftest.err conftest.$ac_objext \
8651 conftest$ac_exeext conftest.$ac_ext
8652 CFLAGS=$ac_wine_try_cflags_saved
8654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8655 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8656 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8657 case $host_os in
8658 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8659 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8660 esac
8662 # Extract the first word of "prelink", so it can be a program name with args.
8663 set dummy prelink; ac_word=$2
8664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8665 $as_echo_n "checking for $ac_word... " >&6; }
8666 if ${ac_cv_path_PRELINK+:} false; then :
8667 $as_echo_n "(cached) " >&6
8668 else
8669 case $PRELINK in
8670 [\\/]* | ?:[\\/]*)
8671 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8675 for as_dir in /sbin /usr/sbin $PATH
8677 IFS=$as_save_IFS
8678 test -z "$as_dir" && as_dir=.
8679 for ac_exec_ext in '' $ac_executable_extensions; do
8680 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8681 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8682 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8683 break 2
8685 done
8686 done
8687 IFS=$as_save_IFS
8689 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8691 esac
8693 PRELINK=$ac_cv_path_PRELINK
8694 if test -n "$PRELINK"; then
8695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8696 $as_echo "$PRELINK" >&6; }
8697 else
8698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8699 $as_echo "no" >&6; }
8703 if test "x$PRELINK" = xfalse
8704 then
8705 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8709 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8710 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8711 $as_echo_n "(cached) " >&6
8712 else
8713 ac_wine_try_cflags_saved=$CFLAGS
8714 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8716 /* end confdefs.h. */
8717 int main(int argc, char **argv) { return 0; }
8718 _ACEOF
8719 if ac_fn_c_try_link "$LINENO"; then :
8720 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8721 else
8722 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8724 rm -f core conftest.err conftest.$ac_objext \
8725 conftest$ac_exeext conftest.$ac_ext
8726 CFLAGS=$ac_wine_try_cflags_saved
8728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8729 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8730 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8731 LDEXECFLAGS="$LDEXECFLAGS -Wl,-z,max-page-size=0x1000"
8734 esac
8736 else
8737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8738 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8739 if ${ac_cv_c_dll_unixware+:} false; then :
8740 $as_echo_n "(cached) " >&6
8741 else
8742 ac_wine_try_cflags_saved=$CFLAGS
8743 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8745 /* end confdefs.h. */
8746 void myfunc() {}
8747 _ACEOF
8748 if ac_fn_c_try_link "$LINENO"; then :
8749 ac_cv_c_dll_unixware="yes"
8750 else
8751 ac_cv_c_dll_unixware="no"
8753 rm -f core conftest.err conftest.$ac_objext \
8754 conftest$ac_exeext conftest.$ac_ext
8755 CFLAGS=$ac_wine_try_cflags_saved
8757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8758 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8759 if test "$ac_cv_c_dll_unixware" = "yes"
8760 then
8761 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8764 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8766 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8768 LIBWINE_INSTALL_DEV="libwine.so"
8770 LIBWINE_DEPENDS="wine.map"
8773 esac
8775 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8776 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8777 enable_winemac_drv=${enable_winemac_drv:-no}
8778 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8780 CROSSTARGET=""
8782 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8783 then
8784 case "$host_cpu" in
8785 arm*)
8786 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8787 i[3456789]86*)
8788 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
8789 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8790 mingw32-gcc" ;;
8791 x86_64)
8792 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
8793 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8795 ac_prefix_list="" ;;
8796 esac
8797 for ac_prog in $ac_prefix_list
8799 # Extract the first word of "$ac_prog", so it can be a program name with args.
8800 set dummy $ac_prog; ac_word=$2
8801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8802 $as_echo_n "checking for $ac_word... " >&6; }
8803 if ${ac_cv_prog_CROSSCC+:} false; then :
8804 $as_echo_n "(cached) " >&6
8805 else
8806 if test -n "$CROSSCC"; then
8807 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8808 else
8809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8810 for as_dir in $PATH
8812 IFS=$as_save_IFS
8813 test -z "$as_dir" && as_dir=.
8814 for ac_exec_ext in '' $ac_executable_extensions; do
8815 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8816 ac_cv_prog_CROSSCC="$ac_prog"
8817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8818 break 2
8820 done
8821 done
8822 IFS=$as_save_IFS
8826 CROSSCC=$ac_cv_prog_CROSSCC
8827 if test -n "$CROSSCC"; then
8828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8829 $as_echo "$CROSSCC" >&6; }
8830 else
8831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8832 $as_echo "no" >&6; }
8836 test -n "$CROSSCC" && break
8837 done
8838 test -n "$CROSSCC" || CROSSCC="false"
8840 if test "$CROSSCC" != "false"
8841 then
8842 ac_save_CC="$CC"
8843 CC="$CROSSCC"
8844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8845 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8847 /* end confdefs.h. */
8850 main ()
8854 return 0;
8856 _ACEOF
8857 if ac_fn_c_try_compile "$LINENO"; then :
8858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8859 $as_echo "yes" >&6; }
8860 set x $CROSSCC
8861 shift
8862 while test $# -ge 1
8864 case "$1" in
8865 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8866 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8867 esac
8868 shift
8869 done
8870 else
8871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8872 $as_echo "no" >&6; }
8874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8875 CC="$ac_save_CC"
8880 if test "$ac_cv_header_pthread_h" = "yes"
8881 then
8882 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8883 if test "x$ac_cv_func_pthread_create" = xyes; then :
8885 else
8886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8887 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8888 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8889 $as_echo_n "(cached) " >&6
8890 else
8891 ac_check_lib_save_LIBS=$LIBS
8892 LIBS="-lpthread $LIBS"
8893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8894 /* end confdefs.h. */
8896 /* Override any GCC internal prototype to avoid an error.
8897 Use char because int might match the return type of a GCC
8898 builtin and then its argument prototype would still apply. */
8899 #ifdef __cplusplus
8900 extern "C"
8901 #endif
8902 char pthread_create ();
8904 main ()
8906 return pthread_create ();
8908 return 0;
8910 _ACEOF
8911 if ac_fn_c_try_link "$LINENO"; then :
8912 ac_cv_lib_pthread_pthread_create=yes
8913 else
8914 ac_cv_lib_pthread_pthread_create=no
8916 rm -f core conftest.err conftest.$ac_objext \
8917 conftest$ac_exeext conftest.$ac_ext
8918 LIBS=$ac_check_lib_save_LIBS
8920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8921 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8922 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8923 PTHREAD_LIBS="-lpthread"
8930 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8931 case "x$with_pthread" in
8932 xno) ;;
8933 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8934 Wine cannot support threads without libpthread.
8935 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8936 esac
8941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8942 $as_echo_n "checking for X... " >&6; }
8945 # Check whether --with-x was given.
8946 if test "${with_x+set}" = set; then :
8947 withval=$with_x;
8950 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8951 if test "x$with_x" = xno; then
8952 # The user explicitly disabled X.
8953 have_x=disabled
8954 else
8955 case $x_includes,$x_libraries in #(
8956 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8957 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8958 $as_echo_n "(cached) " >&6
8959 else
8960 # One or both of the vars are not set, and there is no cached value.
8961 ac_x_includes=no ac_x_libraries=no
8962 rm -f -r conftest.dir
8963 if mkdir conftest.dir; then
8964 cd conftest.dir
8965 cat >Imakefile <<'_ACEOF'
8966 incroot:
8967 @echo incroot='${INCROOT}'
8968 usrlibdir:
8969 @echo usrlibdir='${USRLIBDIR}'
8970 libdir:
8971 @echo libdir='${LIBDIR}'
8972 _ACEOF
8973 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8974 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8975 for ac_var in incroot usrlibdir libdir; do
8976 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8977 done
8978 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8979 for ac_extension in a so sl dylib la dll; do
8980 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8981 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8982 ac_im_usrlibdir=$ac_im_libdir; break
8984 done
8985 # Screen out bogus values from the imake configuration. They are
8986 # bogus both because they are the default anyway, and because
8987 # using them would break gcc on systems where it needs fixed includes.
8988 case $ac_im_incroot in
8989 /usr/include) ac_x_includes= ;;
8990 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8991 esac
8992 case $ac_im_usrlibdir in
8993 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8994 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8995 esac
8997 cd ..
8998 rm -f -r conftest.dir
9001 # Standard set of common directories for X headers.
9002 # Check X11 before X11Rn because it is often a symlink to the current release.
9003 ac_x_header_dirs='
9004 /usr/X11/include
9005 /usr/X11R7/include
9006 /usr/X11R6/include
9007 /usr/X11R5/include
9008 /usr/X11R4/include
9010 /usr/include/X11
9011 /usr/include/X11R7
9012 /usr/include/X11R6
9013 /usr/include/X11R5
9014 /usr/include/X11R4
9016 /usr/local/X11/include
9017 /usr/local/X11R7/include
9018 /usr/local/X11R6/include
9019 /usr/local/X11R5/include
9020 /usr/local/X11R4/include
9022 /usr/local/include/X11
9023 /usr/local/include/X11R7
9024 /usr/local/include/X11R6
9025 /usr/local/include/X11R5
9026 /usr/local/include/X11R4
9028 /usr/X386/include
9029 /usr/x386/include
9030 /usr/XFree86/include/X11
9032 /usr/include
9033 /usr/local/include
9034 /usr/unsupported/include
9035 /usr/athena/include
9036 /usr/local/x11r5/include
9037 /usr/lpp/Xamples/include
9039 /usr/openwin/include
9040 /usr/openwin/share/include'
9042 if test "$ac_x_includes" = no; then
9043 # Guess where to find include files, by looking for Xlib.h.
9044 # First, try using that file with no special directory specified.
9045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9046 /* end confdefs.h. */
9047 #include <X11/Xlib.h>
9048 _ACEOF
9049 if ac_fn_c_try_cpp "$LINENO"; then :
9050 # We can compile using X headers with no special include directory.
9051 ac_x_includes=
9052 else
9053 for ac_dir in $ac_x_header_dirs; do
9054 if test -r "$ac_dir/X11/Xlib.h"; then
9055 ac_x_includes=$ac_dir
9056 break
9058 done
9060 rm -f conftest.err conftest.i conftest.$ac_ext
9061 fi # $ac_x_includes = no
9063 if test "$ac_x_libraries" = no; then
9064 # Check for the libraries.
9065 # See if we find them without any special options.
9066 # Don't add to $LIBS permanently.
9067 ac_save_LIBS=$LIBS
9068 LIBS="-lX11 $LIBS"
9069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9070 /* end confdefs.h. */
9071 #include <X11/Xlib.h>
9073 main ()
9075 XrmInitialize ()
9077 return 0;
9079 _ACEOF
9080 if ac_fn_c_try_link "$LINENO"; then :
9081 LIBS=$ac_save_LIBS
9082 # We can link X programs with no special library path.
9083 ac_x_libraries=
9084 else
9085 LIBS=$ac_save_LIBS
9086 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9088 # Don't even attempt the hair of trying to link an X program!
9089 for ac_extension in a so sl dylib la dll; do
9090 if test -r "$ac_dir/libX11.$ac_extension"; then
9091 ac_x_libraries=$ac_dir
9092 break 2
9094 done
9095 done
9097 rm -f core conftest.err conftest.$ac_objext \
9098 conftest$ac_exeext conftest.$ac_ext
9099 fi # $ac_x_libraries = no
9101 case $ac_x_includes,$ac_x_libraries in #(
9102 no,* | *,no | *\'*)
9103 # Didn't find X, or a directory has "'" in its name.
9104 ac_cv_have_x="have_x=no";; #(
9106 # Record where we found X for the cache.
9107 ac_cv_have_x="have_x=yes\
9108 ac_x_includes='$ac_x_includes'\
9109 ac_x_libraries='$ac_x_libraries'"
9110 esac
9112 ;; #(
9113 *) have_x=yes;;
9114 esac
9115 eval "$ac_cv_have_x"
9116 fi # $with_x != no
9118 if test "$have_x" != yes; then
9119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9120 $as_echo "$have_x" >&6; }
9121 no_x=yes
9122 else
9123 # If each of the values was on the command line, it overrides each guess.
9124 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9125 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9126 # Update the cache value to reflect the command line values.
9127 ac_cv_have_x="have_x=yes\
9128 ac_x_includes='$x_includes'\
9129 ac_x_libraries='$x_libraries'"
9130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9131 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9134 if test "$no_x" = yes; then
9135 # Not all programs may use this symbol, but it does not hurt to define it.
9137 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9139 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9140 else
9141 if test -n "$x_includes"; then
9142 X_CFLAGS="$X_CFLAGS -I$x_includes"
9145 # It would also be nice to do this for all -L options, not just this one.
9146 if test -n "$x_libraries"; then
9147 X_LIBS="$X_LIBS -L$x_libraries"
9148 # For Solaris; some versions of Sun CC require a space after -R and
9149 # others require no space. Words are not sufficient . . . .
9150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9151 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9152 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9153 ac_xsave_c_werror_flag=$ac_c_werror_flag
9154 ac_c_werror_flag=yes
9155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9156 /* end confdefs.h. */
9159 main ()
9163 return 0;
9165 _ACEOF
9166 if ac_fn_c_try_link "$LINENO"; then :
9167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9168 $as_echo "no" >&6; }
9169 X_LIBS="$X_LIBS -R$x_libraries"
9170 else
9171 LIBS="$ac_xsave_LIBS -R $x_libraries"
9172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9173 /* end confdefs.h. */
9176 main ()
9180 return 0;
9182 _ACEOF
9183 if ac_fn_c_try_link "$LINENO"; then :
9184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9185 $as_echo "yes" >&6; }
9186 X_LIBS="$X_LIBS -R $x_libraries"
9187 else
9188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9189 $as_echo "neither works" >&6; }
9191 rm -f core conftest.err conftest.$ac_objext \
9192 conftest$ac_exeext conftest.$ac_ext
9194 rm -f core conftest.err conftest.$ac_objext \
9195 conftest$ac_exeext conftest.$ac_ext
9196 ac_c_werror_flag=$ac_xsave_c_werror_flag
9197 LIBS=$ac_xsave_LIBS
9200 # Check for system-dependent libraries X programs must link with.
9201 # Do this before checking for the system-independent R6 libraries
9202 # (-lICE), since we may need -lsocket or whatever for X linking.
9204 if test "$ISC" = yes; then
9205 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9206 else
9207 # Martyn Johnson says this is needed for Ultrix, if the X
9208 # libraries were built with DECnet support. And Karl Berry says
9209 # the Alpha needs dnet_stub (dnet does not exist).
9210 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9212 /* end confdefs.h. */
9214 /* Override any GCC internal prototype to avoid an error.
9215 Use char because int might match the return type of a GCC
9216 builtin and then its argument prototype would still apply. */
9217 #ifdef __cplusplus
9218 extern "C"
9219 #endif
9220 char XOpenDisplay ();
9222 main ()
9224 return XOpenDisplay ();
9226 return 0;
9228 _ACEOF
9229 if ac_fn_c_try_link "$LINENO"; then :
9231 else
9232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9233 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9234 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9235 $as_echo_n "(cached) " >&6
9236 else
9237 ac_check_lib_save_LIBS=$LIBS
9238 LIBS="-ldnet $LIBS"
9239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9240 /* end confdefs.h. */
9242 /* Override any GCC internal prototype to avoid an error.
9243 Use char because int might match the return type of a GCC
9244 builtin and then its argument prototype would still apply. */
9245 #ifdef __cplusplus
9246 extern "C"
9247 #endif
9248 char dnet_ntoa ();
9250 main ()
9252 return dnet_ntoa ();
9254 return 0;
9256 _ACEOF
9257 if ac_fn_c_try_link "$LINENO"; then :
9258 ac_cv_lib_dnet_dnet_ntoa=yes
9259 else
9260 ac_cv_lib_dnet_dnet_ntoa=no
9262 rm -f core conftest.err conftest.$ac_objext \
9263 conftest$ac_exeext conftest.$ac_ext
9264 LIBS=$ac_check_lib_save_LIBS
9266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9267 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9268 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9269 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9272 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9274 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9275 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9276 $as_echo_n "(cached) " >&6
9277 else
9278 ac_check_lib_save_LIBS=$LIBS
9279 LIBS="-ldnet_stub $LIBS"
9280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9281 /* end confdefs.h. */
9283 /* Override any GCC internal prototype to avoid an error.
9284 Use char because int might match the return type of a GCC
9285 builtin and then its argument prototype would still apply. */
9286 #ifdef __cplusplus
9287 extern "C"
9288 #endif
9289 char dnet_ntoa ();
9291 main ()
9293 return dnet_ntoa ();
9295 return 0;
9297 _ACEOF
9298 if ac_fn_c_try_link "$LINENO"; then :
9299 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9300 else
9301 ac_cv_lib_dnet_stub_dnet_ntoa=no
9303 rm -f core conftest.err conftest.$ac_objext \
9304 conftest$ac_exeext conftest.$ac_ext
9305 LIBS=$ac_check_lib_save_LIBS
9307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9308 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9309 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9310 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9315 rm -f core conftest.err conftest.$ac_objext \
9316 conftest$ac_exeext conftest.$ac_ext
9317 LIBS="$ac_xsave_LIBS"
9319 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9320 # to get the SysV transport functions.
9321 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9322 # needs -lnsl.
9323 # The nsl library prevents programs from opening the X display
9324 # on Irix 5.2, according to T.E. Dickey.
9325 # The functions gethostbyname, getservbyname, and inet_addr are
9326 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9327 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9328 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9332 if test $ac_cv_func_gethostbyname = no; then
9333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9334 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9335 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9336 $as_echo_n "(cached) " >&6
9337 else
9338 ac_check_lib_save_LIBS=$LIBS
9339 LIBS="-lnsl $LIBS"
9340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9341 /* end confdefs.h. */
9343 /* Override any GCC internal prototype to avoid an error.
9344 Use char because int might match the return type of a GCC
9345 builtin and then its argument prototype would still apply. */
9346 #ifdef __cplusplus
9347 extern "C"
9348 #endif
9349 char gethostbyname ();
9351 main ()
9353 return gethostbyname ();
9355 return 0;
9357 _ACEOF
9358 if ac_fn_c_try_link "$LINENO"; then :
9359 ac_cv_lib_nsl_gethostbyname=yes
9360 else
9361 ac_cv_lib_nsl_gethostbyname=no
9363 rm -f core conftest.err conftest.$ac_objext \
9364 conftest$ac_exeext conftest.$ac_ext
9365 LIBS=$ac_check_lib_save_LIBS
9367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9368 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9369 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9370 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9373 if test $ac_cv_lib_nsl_gethostbyname = no; then
9374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9375 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9376 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9377 $as_echo_n "(cached) " >&6
9378 else
9379 ac_check_lib_save_LIBS=$LIBS
9380 LIBS="-lbsd $LIBS"
9381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9382 /* end confdefs.h. */
9384 /* Override any GCC internal prototype to avoid an error.
9385 Use char because int might match the return type of a GCC
9386 builtin and then its argument prototype would still apply. */
9387 #ifdef __cplusplus
9388 extern "C"
9389 #endif
9390 char gethostbyname ();
9392 main ()
9394 return gethostbyname ();
9396 return 0;
9398 _ACEOF
9399 if ac_fn_c_try_link "$LINENO"; then :
9400 ac_cv_lib_bsd_gethostbyname=yes
9401 else
9402 ac_cv_lib_bsd_gethostbyname=no
9404 rm -f core conftest.err conftest.$ac_objext \
9405 conftest$ac_exeext conftest.$ac_ext
9406 LIBS=$ac_check_lib_save_LIBS
9408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9409 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9410 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9411 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9417 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9418 # socket/setsockopt and other routines are undefined under SCO ODT
9419 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9420 # on later versions), says Simon Leinen: it contains gethostby*
9421 # variants that don't use the name server (or something). -lsocket
9422 # must be given before -lnsl if both are needed. We assume that
9423 # if connect needs -lnsl, so does gethostbyname.
9424 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9425 if test "x$ac_cv_func_connect" = xyes; then :
9429 if test $ac_cv_func_connect = no; then
9430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9431 $as_echo_n "checking for connect in -lsocket... " >&6; }
9432 if ${ac_cv_lib_socket_connect+:} false; then :
9433 $as_echo_n "(cached) " >&6
9434 else
9435 ac_check_lib_save_LIBS=$LIBS
9436 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9438 /* end confdefs.h. */
9440 /* Override any GCC internal prototype to avoid an error.
9441 Use char because int might match the return type of a GCC
9442 builtin and then its argument prototype would still apply. */
9443 #ifdef __cplusplus
9444 extern "C"
9445 #endif
9446 char connect ();
9448 main ()
9450 return connect ();
9452 return 0;
9454 _ACEOF
9455 if ac_fn_c_try_link "$LINENO"; then :
9456 ac_cv_lib_socket_connect=yes
9457 else
9458 ac_cv_lib_socket_connect=no
9460 rm -f core conftest.err conftest.$ac_objext \
9461 conftest$ac_exeext conftest.$ac_ext
9462 LIBS=$ac_check_lib_save_LIBS
9464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9465 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9466 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9467 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9472 # Guillermo Gomez says -lposix is necessary on A/UX.
9473 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9474 if test "x$ac_cv_func_remove" = xyes; then :
9478 if test $ac_cv_func_remove = no; then
9479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9480 $as_echo_n "checking for remove in -lposix... " >&6; }
9481 if ${ac_cv_lib_posix_remove+:} false; then :
9482 $as_echo_n "(cached) " >&6
9483 else
9484 ac_check_lib_save_LIBS=$LIBS
9485 LIBS="-lposix $LIBS"
9486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9487 /* end confdefs.h. */
9489 /* Override any GCC internal prototype to avoid an error.
9490 Use char because int might match the return type of a GCC
9491 builtin and then its argument prototype would still apply. */
9492 #ifdef __cplusplus
9493 extern "C"
9494 #endif
9495 char remove ();
9497 main ()
9499 return remove ();
9501 return 0;
9503 _ACEOF
9504 if ac_fn_c_try_link "$LINENO"; then :
9505 ac_cv_lib_posix_remove=yes
9506 else
9507 ac_cv_lib_posix_remove=no
9509 rm -f core conftest.err conftest.$ac_objext \
9510 conftest$ac_exeext conftest.$ac_ext
9511 LIBS=$ac_check_lib_save_LIBS
9513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9514 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9515 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9516 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9521 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9522 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9523 if test "x$ac_cv_func_shmat" = xyes; then :
9527 if test $ac_cv_func_shmat = no; then
9528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9529 $as_echo_n "checking for shmat in -lipc... " >&6; }
9530 if ${ac_cv_lib_ipc_shmat+:} false; then :
9531 $as_echo_n "(cached) " >&6
9532 else
9533 ac_check_lib_save_LIBS=$LIBS
9534 LIBS="-lipc $LIBS"
9535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9536 /* end confdefs.h. */
9538 /* Override any GCC internal prototype to avoid an error.
9539 Use char because int might match the return type of a GCC
9540 builtin and then its argument prototype would still apply. */
9541 #ifdef __cplusplus
9542 extern "C"
9543 #endif
9544 char shmat ();
9546 main ()
9548 return shmat ();
9550 return 0;
9552 _ACEOF
9553 if ac_fn_c_try_link "$LINENO"; then :
9554 ac_cv_lib_ipc_shmat=yes
9555 else
9556 ac_cv_lib_ipc_shmat=no
9558 rm -f core conftest.err conftest.$ac_objext \
9559 conftest$ac_exeext conftest.$ac_ext
9560 LIBS=$ac_check_lib_save_LIBS
9562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9563 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9564 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9565 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9571 # Check for libraries that X11R6 Xt/Xaw programs need.
9572 ac_save_LDFLAGS=$LDFLAGS
9573 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9574 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9575 # check for ICE first), but we must link in the order -lSM -lICE or
9576 # we get undefined symbols. So assume we have SM if we have ICE.
9577 # These have to be linked with before -lX11, unlike the other
9578 # libraries we check for below, so use a different variable.
9579 # John Interrante, Karl Berry
9580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9581 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9582 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9583 $as_echo_n "(cached) " >&6
9584 else
9585 ac_check_lib_save_LIBS=$LIBS
9586 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9588 /* end confdefs.h. */
9590 /* Override any GCC internal prototype to avoid an error.
9591 Use char because int might match the return type of a GCC
9592 builtin and then its argument prototype would still apply. */
9593 #ifdef __cplusplus
9594 extern "C"
9595 #endif
9596 char IceConnectionNumber ();
9598 main ()
9600 return IceConnectionNumber ();
9602 return 0;
9604 _ACEOF
9605 if ac_fn_c_try_link "$LINENO"; then :
9606 ac_cv_lib_ICE_IceConnectionNumber=yes
9607 else
9608 ac_cv_lib_ICE_IceConnectionNumber=no
9610 rm -f core conftest.err conftest.$ac_objext \
9611 conftest$ac_exeext conftest.$ac_ext
9612 LIBS=$ac_check_lib_save_LIBS
9614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9615 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9616 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9617 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9620 LDFLAGS=$ac_save_LDFLAGS
9625 if test "$have_x" = "yes"
9626 then
9627 ac_save_CPPFLAGS="$CPPFLAGS"
9628 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9631 $as_echo_n "checking for -lX11... " >&6; }
9632 if ${ac_cv_lib_soname_X11+:} false; then :
9633 $as_echo_n "(cached) " >&6
9634 else
9635 ac_check_soname_save_LIBS=$LIBS
9636 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9638 /* end confdefs.h. */
9640 /* Override any GCC internal prototype to avoid an error.
9641 Use char because int might match the return type of a GCC
9642 builtin and then its argument prototype would still apply. */
9643 #ifdef __cplusplus
9644 extern "C"
9645 #endif
9646 char XCreateWindow ();
9648 main ()
9650 return XCreateWindow ();
9652 return 0;
9654 _ACEOF
9655 if ac_fn_c_try_link "$LINENO"; then :
9656 case "$LIBEXT" in
9657 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9658 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'` ;;
9659 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9660 if ${ac_cv_lib_soname_X11:+false} :; then :
9661 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9662 fi ;;
9663 esac
9665 rm -f core conftest.err conftest.$ac_objext \
9666 conftest$ac_exeext conftest.$ac_ext
9667 LIBS=$ac_check_soname_save_LIBS
9669 if ${ac_cv_lib_soname_X11:+false} :; then :
9670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9671 $as_echo "not found" >&6; }
9673 else
9674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9675 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9677 cat >>confdefs.h <<_ACEOF
9678 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9679 _ACEOF
9683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9684 $as_echo_n "checking for -lXext... " >&6; }
9685 if ${ac_cv_lib_soname_Xext+:} false; then :
9686 $as_echo_n "(cached) " >&6
9687 else
9688 ac_check_soname_save_LIBS=$LIBS
9689 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9691 /* end confdefs.h. */
9693 /* Override any GCC internal prototype to avoid an error.
9694 Use char because int might match the return type of a GCC
9695 builtin and then its argument prototype would still apply. */
9696 #ifdef __cplusplus
9697 extern "C"
9698 #endif
9699 char XextCreateExtension ();
9701 main ()
9703 return XextCreateExtension ();
9705 return 0;
9707 _ACEOF
9708 if ac_fn_c_try_link "$LINENO"; then :
9709 case "$LIBEXT" in
9710 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9711 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'` ;;
9712 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9713 if ${ac_cv_lib_soname_Xext:+false} :; then :
9714 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9715 fi ;;
9716 esac
9718 rm -f core conftest.err conftest.$ac_objext \
9719 conftest$ac_exeext conftest.$ac_ext
9720 LIBS=$ac_check_soname_save_LIBS
9722 if ${ac_cv_lib_soname_Xext:+false} :; then :
9723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9724 $as_echo "not found" >&6; }
9726 else
9727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9728 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9730 cat >>confdefs.h <<_ACEOF
9731 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9732 _ACEOF
9734 X_LIBS="$X_LIBS -lXext"
9736 X_LIBS="$X_LIBS -lX11"
9738 for ac_header in X11/Xlib.h \
9739 X11/XKBlib.h \
9740 X11/Xutil.h \
9741 X11/Xcursor/Xcursor.h \
9742 X11/extensions/shape.h \
9743 X11/extensions/XInput.h \
9744 X11/extensions/XInput2.h \
9745 X11/extensions/XShm.h \
9746 X11/extensions/Xcomposite.h \
9747 X11/extensions/Xinerama.h \
9748 X11/extensions/Xrandr.h \
9749 X11/extensions/Xrender.h \
9750 X11/extensions/xf86vmode.h \
9751 X11/extensions/xf86vmproto.h
9752 do :
9753 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9754 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9755 # include <X11/Xlib.h>
9756 #endif
9757 #ifdef HAVE_X11_XUTIL_H
9758 # include <X11/Xutil.h>
9759 #endif
9761 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9762 cat >>confdefs.h <<_ACEOF
9763 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9764 _ACEOF
9768 done
9771 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9772 then
9773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9774 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9775 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9776 $as_echo_n "(cached) " >&6
9777 else
9778 ac_check_lib_save_LIBS=$LIBS
9779 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9781 /* end confdefs.h. */
9783 /* Override any GCC internal prototype to avoid an error.
9784 Use char because int might match the return type of a GCC
9785 builtin and then its argument prototype would still apply. */
9786 #ifdef __cplusplus
9787 extern "C"
9788 #endif
9789 char XkbQueryExtension ();
9791 main ()
9793 return XkbQueryExtension ();
9795 return 0;
9797 _ACEOF
9798 if ac_fn_c_try_link "$LINENO"; then :
9799 ac_cv_lib_X11_XkbQueryExtension=yes
9800 else
9801 ac_cv_lib_X11_XkbQueryExtension=no
9803 rm -f core conftest.err conftest.$ac_objext \
9804 conftest$ac_exeext conftest.$ac_ext
9805 LIBS=$ac_check_lib_save_LIBS
9807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9808 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9809 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9811 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9817 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9818 then
9819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9820 $as_echo_n "checking for -lXcursor... " >&6; }
9821 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9822 $as_echo_n "(cached) " >&6
9823 else
9824 ac_check_soname_save_LIBS=$LIBS
9825 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9827 /* end confdefs.h. */
9829 /* Override any GCC internal prototype to avoid an error.
9830 Use char because int might match the return type of a GCC
9831 builtin and then its argument prototype would still apply. */
9832 #ifdef __cplusplus
9833 extern "C"
9834 #endif
9835 char XcursorImageLoadCursor ();
9837 main ()
9839 return XcursorImageLoadCursor ();
9841 return 0;
9843 _ACEOF
9844 if ac_fn_c_try_link "$LINENO"; then :
9845 case "$LIBEXT" in
9846 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9847 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'` ;;
9848 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9849 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9850 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9851 fi ;;
9852 esac
9854 rm -f core conftest.err conftest.$ac_objext \
9855 conftest$ac_exeext conftest.$ac_ext
9856 LIBS=$ac_check_soname_save_LIBS
9858 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9860 $as_echo "not found" >&6; }
9862 else
9863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9864 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9866 cat >>confdefs.h <<_ACEOF
9867 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9868 _ACEOF
9873 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9874 case "x$with_xcursor" in
9875 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9876 xno) ;;
9877 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9878 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9879 esac
9883 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9884 then
9885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9886 $as_echo_n "checking for -lXi... " >&6; }
9887 if ${ac_cv_lib_soname_Xi+:} false; then :
9888 $as_echo_n "(cached) " >&6
9889 else
9890 ac_check_soname_save_LIBS=$LIBS
9891 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9893 /* end confdefs.h. */
9895 /* Override any GCC internal prototype to avoid an error.
9896 Use char because int might match the return type of a GCC
9897 builtin and then its argument prototype would still apply. */
9898 #ifdef __cplusplus
9899 extern "C"
9900 #endif
9901 char XOpenDevice ();
9903 main ()
9905 return XOpenDevice ();
9907 return 0;
9909 _ACEOF
9910 if ac_fn_c_try_link "$LINENO"; then :
9911 case "$LIBEXT" in
9912 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9913 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'` ;;
9914 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9915 if ${ac_cv_lib_soname_Xi:+false} :; then :
9916 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9917 fi ;;
9918 esac
9920 rm -f core conftest.err conftest.$ac_objext \
9921 conftest$ac_exeext conftest.$ac_ext
9922 LIBS=$ac_check_soname_save_LIBS
9924 if ${ac_cv_lib_soname_Xi:+false} :; then :
9925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9926 $as_echo "not found" >&6; }
9928 else
9929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9930 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9932 cat >>confdefs.h <<_ACEOF
9933 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9934 _ACEOF
9939 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9940 case "x$with_xinput" in
9941 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9942 xno) ;;
9943 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9944 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9945 esac
9949 if test "x$ac_cv_lib_soname_Xi" != x
9950 then
9951 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9952 case "x$with_xinput2" in
9953 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9954 xno) ;;
9955 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9956 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9957 esac
9962 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9963 then
9964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9965 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9966 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9967 $as_echo_n "(cached) " >&6
9968 else
9969 ac_check_lib_save_LIBS=$LIBS
9970 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9972 /* end confdefs.h. */
9974 /* Override any GCC internal prototype to avoid an error.
9975 Use char because int might match the return type of a GCC
9976 builtin and then its argument prototype would still apply. */
9977 #ifdef __cplusplus
9978 extern "C"
9979 #endif
9980 char XShmQueryExtension ();
9982 main ()
9984 return XShmQueryExtension ();
9986 return 0;
9988 _ACEOF
9989 if ac_fn_c_try_link "$LINENO"; then :
9990 ac_cv_lib_Xext_XShmQueryExtension=yes
9991 else
9992 ac_cv_lib_Xext_XShmQueryExtension=no
9994 rm -f core conftest.err conftest.$ac_objext \
9995 conftest$ac_exeext conftest.$ac_ext
9996 LIBS=$ac_check_lib_save_LIBS
9998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9999 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10000 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10002 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10007 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10008 case "x$with_xshm" in
10009 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10010 xno) ;;
10011 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10012 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10013 esac
10017 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10018 then
10019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10020 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10021 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10022 $as_echo_n "(cached) " >&6
10023 else
10024 ac_check_lib_save_LIBS=$LIBS
10025 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10027 /* end confdefs.h. */
10029 /* Override any GCC internal prototype to avoid an error.
10030 Use char because int might match the return type of a GCC
10031 builtin and then its argument prototype would still apply. */
10032 #ifdef __cplusplus
10033 extern "C"
10034 #endif
10035 char XShapeQueryExtension ();
10037 main ()
10039 return XShapeQueryExtension ();
10041 return 0;
10043 _ACEOF
10044 if ac_fn_c_try_link "$LINENO"; then :
10045 ac_cv_lib_Xext_XShapeQueryExtension=yes
10046 else
10047 ac_cv_lib_Xext_XShapeQueryExtension=no
10049 rm -f core conftest.err conftest.$ac_objext \
10050 conftest$ac_exeext conftest.$ac_ext
10051 LIBS=$ac_check_lib_save_LIBS
10053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10054 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10055 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10057 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10062 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10063 case "x$with_xshape" in
10064 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10065 xno) ;;
10066 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10067 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10068 esac
10072 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10073 then
10074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10075 $as_echo_n "checking for -lXxf86vm... " >&6; }
10076 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10077 $as_echo_n "(cached) " >&6
10078 else
10079 ac_check_soname_save_LIBS=$LIBS
10080 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10082 /* end confdefs.h. */
10084 /* Override any GCC internal prototype to avoid an error.
10085 Use char because int might match the return type of a GCC
10086 builtin and then its argument prototype would still apply. */
10087 #ifdef __cplusplus
10088 extern "C"
10089 #endif
10090 char XF86VidModeQueryExtension ();
10092 main ()
10094 return XF86VidModeQueryExtension ();
10096 return 0;
10098 _ACEOF
10099 if ac_fn_c_try_link "$LINENO"; then :
10100 case "$LIBEXT" in
10101 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10102 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'` ;;
10103 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10104 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10105 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10106 fi ;;
10107 esac
10109 rm -f core conftest.err conftest.$ac_objext \
10110 conftest$ac_exeext conftest.$ac_ext
10111 LIBS=$ac_check_soname_save_LIBS
10113 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10115 $as_echo "not found" >&6; }
10117 else
10118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10119 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10121 cat >>confdefs.h <<_ACEOF
10122 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10123 _ACEOF
10128 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10129 case "x$with_xxf86vm" in
10130 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10131 xno) ;;
10132 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10133 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10134 esac
10138 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10139 then
10140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10141 $as_echo_n "checking for -lXrender... " >&6; }
10142 if ${ac_cv_lib_soname_Xrender+:} false; then :
10143 $as_echo_n "(cached) " >&6
10144 else
10145 ac_check_soname_save_LIBS=$LIBS
10146 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10148 /* end confdefs.h. */
10150 /* Override any GCC internal prototype to avoid an error.
10151 Use char because int might match the return type of a GCC
10152 builtin and then its argument prototype would still apply. */
10153 #ifdef __cplusplus
10154 extern "C"
10155 #endif
10156 char XRenderQueryExtension ();
10158 main ()
10160 return XRenderQueryExtension ();
10162 return 0;
10164 _ACEOF
10165 if ac_fn_c_try_link "$LINENO"; then :
10166 case "$LIBEXT" in
10167 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10168 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'` ;;
10169 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10170 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10171 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10172 fi ;;
10173 esac
10175 rm -f core conftest.err conftest.$ac_objext \
10176 conftest$ac_exeext conftest.$ac_ext
10177 LIBS=$ac_check_soname_save_LIBS
10179 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10181 $as_echo "not found" >&6; }
10183 else
10184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10185 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10187 cat >>confdefs.h <<_ACEOF
10188 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10189 _ACEOF
10191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10192 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10193 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10194 $as_echo_n "(cached) " >&6
10195 else
10196 ac_check_lib_save_LIBS=$LIBS
10197 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10199 /* end confdefs.h. */
10201 /* Override any GCC internal prototype to avoid an error.
10202 Use char because int might match the return type of a GCC
10203 builtin and then its argument prototype would still apply. */
10204 #ifdef __cplusplus
10205 extern "C"
10206 #endif
10207 char XRenderSetPictureTransform ();
10209 main ()
10211 return XRenderSetPictureTransform ();
10213 return 0;
10215 _ACEOF
10216 if ac_fn_c_try_link "$LINENO"; then :
10217 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10218 else
10219 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10221 rm -f core conftest.err conftest.$ac_objext \
10222 conftest$ac_exeext conftest.$ac_ext
10223 LIBS=$ac_check_lib_save_LIBS
10225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10226 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10227 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10229 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10234 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10235 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10236 $as_echo_n "(cached) " >&6
10237 else
10238 ac_check_lib_save_LIBS=$LIBS
10239 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10241 /* end confdefs.h. */
10243 /* Override any GCC internal prototype to avoid an error.
10244 Use char because int might match the return type of a GCC
10245 builtin and then its argument prototype would still apply. */
10246 #ifdef __cplusplus
10247 extern "C"
10248 #endif
10249 char XRenderCreateLinearGradient ();
10251 main ()
10253 return XRenderCreateLinearGradient ();
10255 return 0;
10257 _ACEOF
10258 if ac_fn_c_try_link "$LINENO"; then :
10259 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10260 else
10261 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10263 rm -f core conftest.err conftest.$ac_objext \
10264 conftest$ac_exeext conftest.$ac_ext
10265 LIBS=$ac_check_lib_save_LIBS
10267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10268 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10269 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10271 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10278 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10279 case "x$with_xrender" in
10280 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10281 xno) ;;
10282 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10283 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10284 esac
10288 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10289 then
10290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10291 /* end confdefs.h. */
10292 #include <X11/Xlib.h>
10293 #include <X11/extensions/Xrandr.h>
10295 main ()
10297 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10299 return 0;
10301 _ACEOF
10302 if ac_fn_c_try_compile "$LINENO"; then :
10303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10304 $as_echo_n "checking for -lXrandr... " >&6; }
10305 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10306 $as_echo_n "(cached) " >&6
10307 else
10308 ac_check_soname_save_LIBS=$LIBS
10309 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10311 /* end confdefs.h. */
10313 /* Override any GCC internal prototype to avoid an error.
10314 Use char because int might match the return type of a GCC
10315 builtin and then its argument prototype would still apply. */
10316 #ifdef __cplusplus
10317 extern "C"
10318 #endif
10319 char XRRQueryExtension ();
10321 main ()
10323 return XRRQueryExtension ();
10325 return 0;
10327 _ACEOF
10328 if ac_fn_c_try_link "$LINENO"; then :
10329 case "$LIBEXT" in
10330 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10331 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'` ;;
10332 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10333 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10334 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10335 fi ;;
10336 esac
10338 rm -f core conftest.err conftest.$ac_objext \
10339 conftest$ac_exeext conftest.$ac_ext
10340 LIBS=$ac_check_soname_save_LIBS
10342 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10344 $as_echo "not found" >&6; }
10346 else
10347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10348 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10350 cat >>confdefs.h <<_ACEOF
10351 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10352 _ACEOF
10354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10355 /* end confdefs.h. */
10356 #include <X11/Xlib.h>
10357 #include <X11/extensions/Xrandr.h>
10359 main ()
10361 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10363 return 0;
10365 _ACEOF
10366 if ac_fn_c_try_compile "$LINENO"; then :
10368 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10376 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10377 case "x$with_xrandr" in
10378 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10379 xno) ;;
10380 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10381 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10382 esac
10386 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10387 then
10388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10389 /* end confdefs.h. */
10390 #include <X11/Xlib.h>
10391 #include <X11/extensions/Xinerama.h>
10393 main ()
10395 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10397 return 0;
10399 _ACEOF
10400 if ac_fn_c_try_compile "$LINENO"; then :
10401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10402 $as_echo_n "checking for -lXinerama... " >&6; }
10403 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10404 $as_echo_n "(cached) " >&6
10405 else
10406 ac_check_soname_save_LIBS=$LIBS
10407 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10409 /* end confdefs.h. */
10411 /* Override any GCC internal prototype to avoid an error.
10412 Use char because int might match the return type of a GCC
10413 builtin and then its argument prototype would still apply. */
10414 #ifdef __cplusplus
10415 extern "C"
10416 #endif
10417 char XineramaQueryScreens ();
10419 main ()
10421 return XineramaQueryScreens ();
10423 return 0;
10425 _ACEOF
10426 if ac_fn_c_try_link "$LINENO"; then :
10427 case "$LIBEXT" in
10428 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10429 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'` ;;
10430 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10431 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10432 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10433 fi ;;
10434 esac
10436 rm -f core conftest.err conftest.$ac_objext \
10437 conftest$ac_exeext conftest.$ac_ext
10438 LIBS=$ac_check_soname_save_LIBS
10440 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10442 $as_echo "not found" >&6; }
10444 else
10445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10446 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10448 cat >>confdefs.h <<_ACEOF
10449 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10450 _ACEOF
10455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10457 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10458 case "x$with_xinerama" in
10459 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10460 xno) ;;
10461 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10462 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10463 esac
10467 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10468 then
10469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10470 $as_echo_n "checking for -lXcomposite... " >&6; }
10471 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10472 $as_echo_n "(cached) " >&6
10473 else
10474 ac_check_soname_save_LIBS=$LIBS
10475 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10477 /* end confdefs.h. */
10479 /* Override any GCC internal prototype to avoid an error.
10480 Use char because int might match the return type of a GCC
10481 builtin and then its argument prototype would still apply. */
10482 #ifdef __cplusplus
10483 extern "C"
10484 #endif
10485 char XCompositeRedirectWindow ();
10487 main ()
10489 return XCompositeRedirectWindow ();
10491 return 0;
10493 _ACEOF
10494 if ac_fn_c_try_link "$LINENO"; then :
10495 case "$LIBEXT" in
10496 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10497 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'` ;;
10498 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10499 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10500 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10501 fi ;;
10502 esac
10504 rm -f core conftest.err conftest.$ac_objext \
10505 conftest$ac_exeext conftest.$ac_ext
10506 LIBS=$ac_check_soname_save_LIBS
10508 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10510 $as_echo "not found" >&6; }
10512 else
10513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10514 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10516 cat >>confdefs.h <<_ACEOF
10517 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10518 _ACEOF
10523 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10524 case "x$with_xcomposite" in
10525 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10526 xno) ;;
10527 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10528 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10529 esac
10533 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10534 #include <X11/Xlib.h>
10535 #endif
10537 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10539 cat >>confdefs.h <<_ACEOF
10540 #define HAVE_XICCALLBACK_CALLBACK 1
10541 _ACEOF
10545 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10546 #include <X11/Xlib.h>
10547 #endif
10549 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10551 cat >>confdefs.h <<_ACEOF
10552 #define HAVE_XEVENT_XCOOKIE 1
10553 _ACEOF
10560 opengl_msg=""
10561 if test "x$with_opengl" != "xno"
10562 then
10563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10564 $as_echo_n "checking for -lGL... " >&6; }
10565 if ${ac_cv_lib_soname_GL+:} false; then :
10566 $as_echo_n "(cached) " >&6
10567 else
10568 ac_check_soname_save_LIBS=$LIBS
10569 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10571 /* end confdefs.h. */
10573 /* Override any GCC internal prototype to avoid an error.
10574 Use char because int might match the return type of a GCC
10575 builtin and then its argument prototype would still apply. */
10576 #ifdef __cplusplus
10577 extern "C"
10578 #endif
10579 char glXCreateContext ();
10581 main ()
10583 return glXCreateContext ();
10585 return 0;
10587 _ACEOF
10588 if ac_fn_c_try_link "$LINENO"; then :
10589 case "$LIBEXT" in
10590 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10591 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'` ;;
10592 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10593 if ${ac_cv_lib_soname_GL:+false} :; then :
10594 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10595 fi ;;
10596 esac
10598 rm -f core conftest.err conftest.$ac_objext \
10599 conftest$ac_exeext conftest.$ac_ext
10600 LIBS=$ac_check_soname_save_LIBS
10602 if ${ac_cv_lib_soname_GL:+false} :; then :
10603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10604 $as_echo "not found" >&6; }
10605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10606 $as_echo_n "checking for -lGL... " >&6; }
10607 if ${ac_cv_lib_soname_GL+:} false; then :
10608 $as_echo_n "(cached) " >&6
10609 else
10610 ac_check_soname_save_LIBS=$LIBS
10611 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"
10612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10613 /* end confdefs.h. */
10615 /* Override any GCC internal prototype to avoid an error.
10616 Use char because int might match the return type of a GCC
10617 builtin and then its argument prototype would still apply. */
10618 #ifdef __cplusplus
10619 extern "C"
10620 #endif
10621 char glXCreateContext ();
10623 main ()
10625 return glXCreateContext ();
10627 return 0;
10629 _ACEOF
10630 if ac_fn_c_try_link "$LINENO"; then :
10631 case "$LIBEXT" in
10632 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10633 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'` ;;
10634 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10635 if ${ac_cv_lib_soname_GL:+false} :; then :
10636 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10637 fi ;;
10638 esac
10640 rm -f core conftest.err conftest.$ac_objext \
10641 conftest$ac_exeext conftest.$ac_ext
10642 LIBS=$ac_check_soname_save_LIBS
10644 if ${ac_cv_lib_soname_GL:+false} :; then :
10645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10646 $as_echo "not found" >&6; }
10647 if test -f /usr/X11R6/lib/libGL.a
10648 then
10649 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10650 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10651 else
10652 opengl_msg="No OpenGL library found on this system."
10654 else
10655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10656 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10658 cat >>confdefs.h <<_ACEOF
10659 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10660 _ACEOF
10662 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"
10664 else
10665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10666 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10668 cat >>confdefs.h <<_ACEOF
10669 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10670 _ACEOF
10672 OPENGL_LIBS="-lGL"
10674 if test "x$with_glu" != "xno"
10675 then
10676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10677 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10678 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10679 $as_echo_n "(cached) " >&6
10680 else
10681 ac_check_lib_save_LIBS=$LIBS
10682 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10684 /* end confdefs.h. */
10686 /* Override any GCC internal prototype to avoid an error.
10687 Use char because int might match the return type of a GCC
10688 builtin and then its argument prototype would still apply. */
10689 #ifdef __cplusplus
10690 extern "C"
10691 #endif
10692 char gluLookAt ();
10694 main ()
10696 return gluLookAt ();
10698 return 0;
10700 _ACEOF
10701 if ac_fn_c_try_link "$LINENO"; then :
10702 ac_cv_lib_GLU_gluLookAt=yes
10703 else
10704 ac_cv_lib_GLU_gluLookAt=no
10706 rm -f core conftest.err conftest.$ac_objext \
10707 conftest$ac_exeext conftest.$ac_ext
10708 LIBS=$ac_check_lib_save_LIBS
10710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10711 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10712 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10716 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10717 case "x$with_glu" in
10718 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10719 xno) ;;
10720 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10721 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10722 esac
10727 if test "x$with_osmesa" != "xno"
10728 then
10729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10730 $as_echo_n "checking for -lOSMesa... " >&6; }
10731 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10732 $as_echo_n "(cached) " >&6
10733 else
10734 ac_check_soname_save_LIBS=$LIBS
10735 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10737 /* end confdefs.h. */
10739 /* Override any GCC internal prototype to avoid an error.
10740 Use char because int might match the return type of a GCC
10741 builtin and then its argument prototype would still apply. */
10742 #ifdef __cplusplus
10743 extern "C"
10744 #endif
10745 char glAccum ();
10747 main ()
10749 return glAccum ();
10751 return 0;
10753 _ACEOF
10754 if ac_fn_c_try_link "$LINENO"; then :
10755 case "$LIBEXT" in
10756 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10757 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'` ;;
10758 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10759 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10760 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10761 fi ;;
10762 esac
10764 rm -f core conftest.err conftest.$ac_objext \
10765 conftest$ac_exeext conftest.$ac_ext
10766 LIBS=$ac_check_soname_save_LIBS
10768 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10770 $as_echo "not found" >&6; }
10772 else
10773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10774 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10776 cat >>confdefs.h <<_ACEOF
10777 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10778 _ACEOF
10782 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10783 case "x$with_osmesa" in
10784 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10785 xno) ;;
10786 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10787 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10788 esac
10793 if test -n "$opengl_msg"; then :
10794 case "x$with_opengl" in
10795 x) as_fn_append wine_warnings "|$opengl_msg
10796 OpenGL and Direct3D won't be supported." ;;
10797 xno) ;;
10798 *) as_fn_error $? "$opengl_msg
10799 OpenGL and Direct3D won't be supported.
10800 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10801 esac
10805 CPPFLAGS="$ac_save_CPPFLAGS"
10806 else
10807 X_CFLAGS=""
10808 X_LIBS=""
10810 if test "x$X_LIBS" = "x"; then :
10811 case "x$with_x" in
10812 xno) ;;
10813 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10814 without X support, which probably isn't what you want. You will need
10815 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10816 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10817 esac
10818 enable_winex11_drv=${enable_winex11_drv:-no}
10821 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10823 if test "$ac_cv_header_CL_cl_h" = "yes"
10824 then
10825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10826 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10827 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10828 $as_echo_n "(cached) " >&6
10829 else
10830 ac_check_lib_save_LIBS=$LIBS
10831 LIBS="-lOpenCL $LIBS"
10832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10833 /* end confdefs.h. */
10835 /* Override any GCC internal prototype to avoid an error.
10836 Use char because int might match the return type of a GCC
10837 builtin and then its argument prototype would still apply. */
10838 #ifdef __cplusplus
10839 extern "C"
10840 #endif
10841 char clGetPlatformInfo ();
10843 main ()
10845 return clGetPlatformInfo ();
10847 return 0;
10849 _ACEOF
10850 if ac_fn_c_try_link "$LINENO"; then :
10851 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10852 else
10853 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10855 rm -f core conftest.err conftest.$ac_objext \
10856 conftest$ac_exeext conftest.$ac_ext
10857 LIBS=$ac_check_lib_save_LIBS
10859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10860 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10861 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10862 OPENCL_LIBS="-lOpenCL"
10867 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10868 case "x$with_opencl" in
10869 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10870 xno) ;;
10871 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10872 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10873 esac
10874 enable_opencl=${enable_opencl:-no}
10877 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10878 then
10879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10880 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10881 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10882 $as_echo_n "(cached) " >&6
10883 else
10884 ac_check_lib_save_LIBS=$LIBS
10885 LIBS="-lpcap $LIBS"
10886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10887 /* end confdefs.h. */
10889 /* Override any GCC internal prototype to avoid an error.
10890 Use char because int might match the return type of a GCC
10891 builtin and then its argument prototype would still apply. */
10892 #ifdef __cplusplus
10893 extern "C"
10894 #endif
10895 char pcap_create ();
10897 main ()
10899 return pcap_create ();
10901 return 0;
10903 _ACEOF
10904 if ac_fn_c_try_link "$LINENO"; then :
10905 ac_cv_lib_pcap_pcap_create=yes
10906 else
10907 ac_cv_lib_pcap_pcap_create=no
10909 rm -f core conftest.err conftest.$ac_objext \
10910 conftest$ac_exeext conftest.$ac_ext
10911 LIBS=$ac_check_lib_save_LIBS
10913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10914 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10915 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10916 PCAP_LIBS="-lpcap"
10921 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10922 case "x$with_pcap" in
10923 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10924 xno) ;;
10925 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10926 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10927 esac
10928 enable_wpcap=${enable_wpcap:-no}
10932 if test "x$with_xml" != "xno"
10933 then
10934 if ${XML2_CFLAGS:+false} :; then :
10935 if ${PKG_CONFIG+:} false; then :
10936 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10939 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
10940 if ${XML2_LIBS:+false} :; then :
10941 if ${PKG_CONFIG+:} false; then :
10942 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10945 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
10946 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10947 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10948 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10949 ac_save_CPPFLAGS=$CPPFLAGS
10950 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10951 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10952 do :
10953 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10954 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10955 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10956 cat >>confdefs.h <<_ACEOF
10957 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10958 _ACEOF
10962 done
10964 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"
10965 then
10966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10967 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10968 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10969 $as_echo_n "(cached) " >&6
10970 else
10971 ac_check_lib_save_LIBS=$LIBS
10972 LIBS="-lxml2 $XML2_LIBS $LIBS"
10973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10974 /* end confdefs.h. */
10976 /* Override any GCC internal prototype to avoid an error.
10977 Use char because int might match the return type of a GCC
10978 builtin and then its argument prototype would still apply. */
10979 #ifdef __cplusplus
10980 extern "C"
10981 #endif
10982 char xmlParseMemory ();
10984 main ()
10986 return xmlParseMemory ();
10988 return 0;
10990 _ACEOF
10991 if ac_fn_c_try_link "$LINENO"; then :
10992 ac_cv_lib_xml2_xmlParseMemory=yes
10993 else
10994 ac_cv_lib_xml2_xmlParseMemory=no
10996 rm -f core conftest.err conftest.$ac_objext \
10997 conftest$ac_exeext conftest.$ac_ext
10998 LIBS=$ac_check_lib_save_LIBS
11000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11001 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11002 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11004 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11006 else
11007 XML2_LIBS=""
11010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11011 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11012 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11013 $as_echo_n "(cached) " >&6
11014 else
11015 ac_check_lib_save_LIBS=$LIBS
11016 LIBS="-lxml2 $XML2_LIBS $LIBS"
11017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11018 /* end confdefs.h. */
11020 /* Override any GCC internal prototype to avoid an error.
11021 Use char because int might match the return type of a GCC
11022 builtin and then its argument prototype would still apply. */
11023 #ifdef __cplusplus
11024 extern "C"
11025 #endif
11026 char xmlReadMemory ();
11028 main ()
11030 return xmlReadMemory ();
11032 return 0;
11034 _ACEOF
11035 if ac_fn_c_try_link "$LINENO"; then :
11036 ac_cv_lib_xml2_xmlReadMemory=yes
11037 else
11038 ac_cv_lib_xml2_xmlReadMemory=no
11040 rm -f core conftest.err conftest.$ac_objext \
11041 conftest$ac_exeext conftest.$ac_ext
11042 LIBS=$ac_check_lib_save_LIBS
11044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11045 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11046 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11048 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11053 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11054 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11055 $as_echo_n "(cached) " >&6
11056 else
11057 ac_check_lib_save_LIBS=$LIBS
11058 LIBS="-lxml2 $XML2_LIBS $LIBS"
11059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11060 /* end confdefs.h. */
11062 /* Override any GCC internal prototype to avoid an error.
11063 Use char because int might match the return type of a GCC
11064 builtin and then its argument prototype would still apply. */
11065 #ifdef __cplusplus
11066 extern "C"
11067 #endif
11068 char xmlNewDocPI ();
11070 main ()
11072 return xmlNewDocPI ();
11074 return 0;
11076 _ACEOF
11077 if ac_fn_c_try_link "$LINENO"; then :
11078 ac_cv_lib_xml2_xmlNewDocPI=yes
11079 else
11080 ac_cv_lib_xml2_xmlNewDocPI=no
11082 rm -f core conftest.err conftest.$ac_objext \
11083 conftest$ac_exeext conftest.$ac_ext
11084 LIBS=$ac_check_lib_save_LIBS
11086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11087 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11088 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11090 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11095 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11096 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11097 $as_echo_n "(cached) " >&6
11098 else
11099 ac_check_lib_save_LIBS=$LIBS
11100 LIBS="-lxml2 $XML2_LIBS $LIBS"
11101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11102 /* end confdefs.h. */
11104 /* Override any GCC internal prototype to avoid an error.
11105 Use char because int might match the return type of a GCC
11106 builtin and then its argument prototype would still apply. */
11107 #ifdef __cplusplus
11108 extern "C"
11109 #endif
11110 char xmlSchemaSetParserStructuredErrors ();
11112 main ()
11114 return xmlSchemaSetParserStructuredErrors ();
11116 return 0;
11118 _ACEOF
11119 if ac_fn_c_try_link "$LINENO"; then :
11120 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11121 else
11122 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11124 rm -f core conftest.err conftest.$ac_objext \
11125 conftest$ac_exeext conftest.$ac_ext
11126 LIBS=$ac_check_lib_save_LIBS
11128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11129 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11130 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11132 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11137 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11138 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11139 $as_echo_n "(cached) " >&6
11140 else
11141 ac_check_lib_save_LIBS=$LIBS
11142 LIBS="-lxml2 $XML2_LIBS $LIBS"
11143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11144 /* end confdefs.h. */
11146 /* Override any GCC internal prototype to avoid an error.
11147 Use char because int might match the return type of a GCC
11148 builtin and then its argument prototype would still apply. */
11149 #ifdef __cplusplus
11150 extern "C"
11151 #endif
11152 char xmlSchemaSetValidStructuredErrors ();
11154 main ()
11156 return xmlSchemaSetValidStructuredErrors ();
11158 return 0;
11160 _ACEOF
11161 if ac_fn_c_try_link "$LINENO"; then :
11162 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11163 else
11164 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11166 rm -f core conftest.err conftest.$ac_objext \
11167 conftest$ac_exeext conftest.$ac_ext
11168 LIBS=$ac_check_lib_save_LIBS
11170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11171 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11172 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11174 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11179 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11180 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11181 $as_echo_n "(cached) " >&6
11182 else
11183 ac_check_lib_save_LIBS=$LIBS
11184 LIBS="-lxml2 $XML2_LIBS $LIBS"
11185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11186 /* end confdefs.h. */
11188 /* Override any GCC internal prototype to avoid an error.
11189 Use char because int might match the return type of a GCC
11190 builtin and then its argument prototype would still apply. */
11191 #ifdef __cplusplus
11192 extern "C"
11193 #endif
11194 char xmlFirstElementChild ();
11196 main ()
11198 return xmlFirstElementChild ();
11200 return 0;
11202 _ACEOF
11203 if ac_fn_c_try_link "$LINENO"; then :
11204 ac_cv_lib_xml2_xmlFirstElementChild=yes
11205 else
11206 ac_cv_lib_xml2_xmlFirstElementChild=no
11208 rm -f core conftest.err conftest.$ac_objext \
11209 conftest$ac_exeext conftest.$ac_ext
11210 LIBS=$ac_check_lib_save_LIBS
11212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11213 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11214 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11216 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11220 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11222 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11224 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11228 else
11229 XML2_CFLAGS=""
11230 XML2_LIBS=""
11232 CPPFLAGS=$ac_save_CPPFLAGS
11233 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11234 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11237 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11238 case "x$with_xml" in
11239 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11240 xno) ;;
11241 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11242 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11243 esac
11247 if test "x$with_xslt" != "xno"
11248 then
11249 if ${XSLT_CFLAGS:+false} :; then :
11250 if ${PKG_CONFIG+:} false; then :
11251 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11254 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11255 if ${XSLT_LIBS:+false} :; then :
11256 if ${PKG_CONFIG+:} false; then :
11257 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11260 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11261 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11262 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11263 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11264 ac_save_CPPFLAGS=$CPPFLAGS
11265 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11266 for ac_header in libxslt/pattern.h libxslt/transform.h
11267 do :
11268 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11269 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11270 # include <libxslt/pattern.h>
11271 #endif
11273 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11274 cat >>confdefs.h <<_ACEOF
11275 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11276 _ACEOF
11280 done
11282 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11283 then
11284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11285 $as_echo_n "checking for -lxslt... " >&6; }
11286 if ${ac_cv_lib_soname_xslt+:} false; then :
11287 $as_echo_n "(cached) " >&6
11288 else
11289 ac_check_soname_save_LIBS=$LIBS
11290 LIBS="-lxslt $XSLT_LIBS $LIBS"
11291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11292 /* end confdefs.h. */
11294 /* Override any GCC internal prototype to avoid an error.
11295 Use char because int might match the return type of a GCC
11296 builtin and then its argument prototype would still apply. */
11297 #ifdef __cplusplus
11298 extern "C"
11299 #endif
11300 char xsltCompilePattern ();
11302 main ()
11304 return xsltCompilePattern ();
11306 return 0;
11308 _ACEOF
11309 if ac_fn_c_try_link "$LINENO"; then :
11310 case "$LIBEXT" in
11311 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11312 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'` ;;
11313 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11314 if ${ac_cv_lib_soname_xslt:+false} :; then :
11315 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11316 fi ;;
11317 esac
11319 rm -f core conftest.err conftest.$ac_objext \
11320 conftest$ac_exeext conftest.$ac_ext
11321 LIBS=$ac_check_soname_save_LIBS
11323 if ${ac_cv_lib_soname_xslt:+false} :; then :
11324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11325 $as_echo "not found" >&6; }
11327 else
11328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11329 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11331 cat >>confdefs.h <<_ACEOF
11332 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11333 _ACEOF
11337 else
11338 XSLT_CFLAGS=""
11340 CPPFLAGS=$ac_save_CPPFLAGS
11341 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11342 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11345 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11346 case "x$with_xslt" in
11347 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11348 xno) ;;
11349 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11350 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11351 esac
11355 if test "x$with_dbus" != "xno"
11356 then
11357 if ${DBUS_CFLAGS:+false} :; then :
11358 if ${PKG_CONFIG+:} false; then :
11359 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11363 if ${DBUS_LIBS:+false} :; then :
11364 if ${PKG_CONFIG+:} false; then :
11365 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11370 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11371 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11372 ac_save_CPPFLAGS=$CPPFLAGS
11373 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11374 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11375 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11377 $as_echo_n "checking for -ldbus-1... " >&6; }
11378 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11379 $as_echo_n "(cached) " >&6
11380 else
11381 ac_check_soname_save_LIBS=$LIBS
11382 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11384 /* end confdefs.h. */
11386 /* Override any GCC internal prototype to avoid an error.
11387 Use char because int might match the return type of a GCC
11388 builtin and then its argument prototype would still apply. */
11389 #ifdef __cplusplus
11390 extern "C"
11391 #endif
11392 char dbus_connection_close ();
11394 main ()
11396 return dbus_connection_close ();
11398 return 0;
11400 _ACEOF
11401 if ac_fn_c_try_link "$LINENO"; then :
11402 case "$LIBEXT" in
11403 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11404 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'` ;;
11405 *) 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'`
11406 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11407 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11408 fi ;;
11409 esac
11411 rm -f core conftest.err conftest.$ac_objext \
11412 conftest$ac_exeext conftest.$ac_ext
11413 LIBS=$ac_check_soname_save_LIBS
11415 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11417 $as_echo "not found" >&6; }
11418 DBUS_CFLAGS=""
11419 else
11420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11421 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11423 cat >>confdefs.h <<_ACEOF
11424 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11425 _ACEOF
11429 else
11430 DBUS_CFLAGS=""
11434 CPPFLAGS=$ac_save_CPPFLAGS
11435 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11436 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11439 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11440 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11441 case "x$with_dbus" in
11442 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11443 xno) ;;
11444 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11445 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11446 esac
11450 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11451 then
11452 if ${HAL_CFLAGS:+false} :; then :
11453 if ${PKG_CONFIG+:} false; then :
11454 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11458 if ${HAL_LIBS:+false} :; then :
11459 if ${PKG_CONFIG+:} false; then :
11460 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11464 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11465 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11466 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11467 ac_save_CPPFLAGS=$CPPFLAGS
11468 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11469 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11470 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11472 $as_echo_n "checking for -lhal... " >&6; }
11473 if ${ac_cv_lib_soname_hal+:} false; then :
11474 $as_echo_n "(cached) " >&6
11475 else
11476 ac_check_soname_save_LIBS=$LIBS
11477 LIBS="-lhal $HAL_LIBS $LIBS"
11478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11479 /* end confdefs.h. */
11481 /* Override any GCC internal prototype to avoid an error.
11482 Use char because int might match the return type of a GCC
11483 builtin and then its argument prototype would still apply. */
11484 #ifdef __cplusplus
11485 extern "C"
11486 #endif
11487 char libhal_ctx_new ();
11489 main ()
11491 return libhal_ctx_new ();
11493 return 0;
11495 _ACEOF
11496 if ac_fn_c_try_link "$LINENO"; then :
11497 case "$LIBEXT" in
11498 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11499 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'` ;;
11500 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11501 if ${ac_cv_lib_soname_hal:+false} :; then :
11502 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11503 fi ;;
11504 esac
11506 rm -f core conftest.err conftest.$ac_objext \
11507 conftest$ac_exeext conftest.$ac_ext
11508 LIBS=$ac_check_soname_save_LIBS
11510 if ${ac_cv_lib_soname_hal:+false} :; then :
11511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11512 $as_echo "not found" >&6; }
11513 HAL_CFLAGS=""
11514 else
11515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11516 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11518 cat >>confdefs.h <<_ACEOF
11519 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11520 _ACEOF
11524 else
11525 HAL_CFLAGS=""
11529 CPPFLAGS=$ac_save_CPPFLAGS
11530 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11531 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11533 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11534 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11535 case "x$with_hal" in
11536 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11537 xno) ;;
11538 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11539 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11540 esac
11545 if test "x$with_gnutls" != "xno"
11546 then
11547 if ${GNUTLS_CFLAGS:+false} :; then :
11548 if ${PKG_CONFIG+:} false; then :
11549 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11553 if ${GNUTLS_LIBS:+false} :; then :
11554 if ${PKG_CONFIG+:} false; then :
11555 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11560 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11561 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11562 ac_save_CPPFLAGS=$CPPFLAGS
11563 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11564 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11565 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11567 /* end confdefs.h. */
11568 #include <gnutls/gnutls.h>
11569 #include <gnutls/crypto.h>
11571 main ()
11573 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11575 return 0;
11577 _ACEOF
11578 if ac_fn_c_try_compile "$LINENO"; then :
11579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11580 $as_echo_n "checking for -lgnutls... " >&6; }
11581 if ${ac_cv_lib_soname_gnutls+:} false; then :
11582 $as_echo_n "(cached) " >&6
11583 else
11584 ac_check_soname_save_LIBS=$LIBS
11585 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11587 /* end confdefs.h. */
11589 /* Override any GCC internal prototype to avoid an error.
11590 Use char because int might match the return type of a GCC
11591 builtin and then its argument prototype would still apply. */
11592 #ifdef __cplusplus
11593 extern "C"
11594 #endif
11595 char gnutls_global_init ();
11597 main ()
11599 return gnutls_global_init ();
11601 return 0;
11603 _ACEOF
11604 if ac_fn_c_try_link "$LINENO"; then :
11605 case "$LIBEXT" in
11606 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11607 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'` ;;
11608 *) 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'`
11609 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11610 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'`
11611 fi ;;
11612 esac
11614 rm -f core conftest.err conftest.$ac_objext \
11615 conftest$ac_exeext conftest.$ac_ext
11616 LIBS=$ac_check_soname_save_LIBS
11618 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11620 $as_echo "not found" >&6; }
11621 GNUTLS_CFLAGS=""
11622 else
11623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11624 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11626 cat >>confdefs.h <<_ACEOF
11627 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11628 _ACEOF
11632 ac_wine_check_funcs_save_LIBS="$LIBS"
11633 LIBS="$LIBS $GNUTLS_LIBS"
11634 for ac_func in gnutls_hash
11635 do :
11636 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11637 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11638 cat >>confdefs.h <<_ACEOF
11639 #define HAVE_GNUTLS_HASH 1
11640 _ACEOF
11642 else
11643 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11645 done
11647 LIBS="$ac_wine_check_funcs_save_LIBS"
11649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11650 else
11651 GNUTLS_CFLAGS=""
11655 CPPFLAGS=$ac_save_CPPFLAGS
11656 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11657 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11660 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11661 case "x$with_gnutls" in
11662 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11663 xno) ;;
11664 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11665 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11666 esac
11670 CURSES_LIBS=""
11671 if test "$ac_cv_header_ncurses_h" = "yes"
11672 then
11673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11674 $as_echo_n "checking for -lncurses... " >&6; }
11675 if ${ac_cv_lib_soname_ncurses+:} false; then :
11676 $as_echo_n "(cached) " >&6
11677 else
11678 ac_check_soname_save_LIBS=$LIBS
11679 LIBS="-lncurses $LIBS"
11680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11681 /* end confdefs.h. */
11683 /* Override any GCC internal prototype to avoid an error.
11684 Use char because int might match the return type of a GCC
11685 builtin and then its argument prototype would still apply. */
11686 #ifdef __cplusplus
11687 extern "C"
11688 #endif
11689 char waddch ();
11691 main ()
11693 return waddch ();
11695 return 0;
11697 _ACEOF
11698 if ac_fn_c_try_link "$LINENO"; then :
11699 case "$LIBEXT" in
11700 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11701 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'` ;;
11702 *) 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'`
11703 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11704 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11705 fi ;;
11706 esac
11708 rm -f core conftest.err conftest.$ac_objext \
11709 conftest$ac_exeext conftest.$ac_ext
11710 LIBS=$ac_check_soname_save_LIBS
11712 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11714 $as_echo "not found" >&6; }
11716 else
11717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11718 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11720 cat >>confdefs.h <<_ACEOF
11721 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11722 _ACEOF
11724 CURSES_LIBS="-lncurses"
11726 elif test "$ac_cv_header_curses_h" = "yes"
11727 then
11728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11729 $as_echo_n "checking for -lcurses... " >&6; }
11730 if ${ac_cv_lib_soname_curses+:} false; then :
11731 $as_echo_n "(cached) " >&6
11732 else
11733 ac_check_soname_save_LIBS=$LIBS
11734 LIBS="-lcurses $LIBS"
11735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11736 /* end confdefs.h. */
11738 /* Override any GCC internal prototype to avoid an error.
11739 Use char because int might match the return type of a GCC
11740 builtin and then its argument prototype would still apply. */
11741 #ifdef __cplusplus
11742 extern "C"
11743 #endif
11744 char waddch ();
11746 main ()
11748 return waddch ();
11750 return 0;
11752 _ACEOF
11753 if ac_fn_c_try_link "$LINENO"; then :
11754 case "$LIBEXT" in
11755 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11756 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'` ;;
11757 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11758 if ${ac_cv_lib_soname_curses:+false} :; then :
11759 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11760 fi ;;
11761 esac
11763 rm -f core conftest.err conftest.$ac_objext \
11764 conftest$ac_exeext conftest.$ac_ext
11765 LIBS=$ac_check_soname_save_LIBS
11767 if ${ac_cv_lib_soname_curses:+false} :; then :
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11769 $as_echo "not found" >&6; }
11771 else
11772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11773 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11775 cat >>confdefs.h <<_ACEOF
11776 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11777 _ACEOF
11779 CURSES_LIBS="-lcurses"
11782 ac_save_LIBS="$LIBS"
11783 LIBS="$LIBS $CURSES_LIBS"
11784 for ac_func in mousemask
11785 do :
11786 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11787 if test "x$ac_cv_func_mousemask" = xyes; then :
11788 cat >>confdefs.h <<_ACEOF
11789 #define HAVE_MOUSEMASK 1
11790 _ACEOF
11793 done
11795 LIBS="$ac_save_LIBS"
11796 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11797 case "x$with_curses" in
11798 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11799 xno) ;;
11800 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11801 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11802 esac
11806 if test "x$with_sane" != "xno"
11807 then
11808 if ${SANE_CFLAGS:+false} :; then :
11809 if ${PKG_CONFIG+:} false; then :
11810 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11813 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11814 if ${SANE_LIBS:+false} :; then :
11815 if ${PKG_CONFIG+:} false; then :
11816 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11819 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11821 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11822 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11823 ac_save_CPPFLAGS=$CPPFLAGS
11824 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11825 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11826 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11828 $as_echo_n "checking for -lsane... " >&6; }
11829 if ${ac_cv_lib_soname_sane+:} false; then :
11830 $as_echo_n "(cached) " >&6
11831 else
11832 ac_check_soname_save_LIBS=$LIBS
11833 LIBS="-lsane $SANE_LIBS $LIBS"
11834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11835 /* end confdefs.h. */
11837 /* Override any GCC internal prototype to avoid an error.
11838 Use char because int might match the return type of a GCC
11839 builtin and then its argument prototype would still apply. */
11840 #ifdef __cplusplus
11841 extern "C"
11842 #endif
11843 char sane_init ();
11845 main ()
11847 return sane_init ();
11849 return 0;
11851 _ACEOF
11852 if ac_fn_c_try_link "$LINENO"; then :
11853 case "$LIBEXT" in
11854 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11855 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'` ;;
11856 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11857 if ${ac_cv_lib_soname_sane:+false} :; then :
11858 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11859 fi ;;
11860 esac
11862 rm -f core conftest.err conftest.$ac_objext \
11863 conftest$ac_exeext conftest.$ac_ext
11864 LIBS=$ac_check_soname_save_LIBS
11866 if ${ac_cv_lib_soname_sane:+false} :; then :
11867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11868 $as_echo "not found" >&6; }
11869 SANE_CFLAGS=""
11870 else
11871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11872 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11874 cat >>confdefs.h <<_ACEOF
11875 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11876 _ACEOF
11880 else
11881 SANE_CFLAGS=""
11885 CPPFLAGS=$ac_save_CPPFLAGS
11886 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11887 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11890 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11891 case "x$with_sane" in
11892 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11893 xno) ;;
11894 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11895 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11896 esac
11900 if test "x$with_v4l" != "xno"
11901 then
11902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11903 $as_echo_n "checking for -lv4l1... " >&6; }
11904 if ${ac_cv_lib_soname_v4l1+:} false; then :
11905 $as_echo_n "(cached) " >&6
11906 else
11907 ac_check_soname_save_LIBS=$LIBS
11908 LIBS="-lv4l1 $LIBS"
11909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11910 /* end confdefs.h. */
11912 /* Override any GCC internal prototype to avoid an error.
11913 Use char because int might match the return type of a GCC
11914 builtin and then its argument prototype would still apply. */
11915 #ifdef __cplusplus
11916 extern "C"
11917 #endif
11918 char v4l1_open ();
11920 main ()
11922 return v4l1_open ();
11924 return 0;
11926 _ACEOF
11927 if ac_fn_c_try_link "$LINENO"; then :
11928 case "$LIBEXT" in
11929 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11930 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'` ;;
11931 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11932 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11933 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11934 fi ;;
11935 esac
11937 rm -f core conftest.err conftest.$ac_objext \
11938 conftest$ac_exeext conftest.$ac_ext
11939 LIBS=$ac_check_soname_save_LIBS
11941 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11943 $as_echo "not found" >&6; }
11945 else
11946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11947 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11949 cat >>confdefs.h <<_ACEOF
11950 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11951 _ACEOF
11956 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11957 case "x$with_v4l" in
11958 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11959 xno) ;;
11960 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11961 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11962 esac
11966 if test "x$with_gphoto" != "xno"
11967 then
11968 if ${GPHOTO2_CFLAGS:+false} :; then :
11969 if ${PKG_CONFIG+:} false; then :
11970 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11973 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
11974 if ${GPHOTO2_LIBS:+false} :; then :
11975 if ${PKG_CONFIG+:} false; then :
11976 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11979 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
11980 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11981 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11982 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11983 ac_save_CPPFLAGS=$CPPFLAGS
11984 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11985 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11986 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11988 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11989 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11990 $as_echo_n "(cached) " >&6
11991 else
11992 ac_check_lib_save_LIBS=$LIBS
11993 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11995 /* end confdefs.h. */
11997 /* Override any GCC internal prototype to avoid an error.
11998 Use char because int might match the return type of a GCC
11999 builtin and then its argument prototype would still apply. */
12000 #ifdef __cplusplus
12001 extern "C"
12002 #endif
12003 char gp_camera_new ();
12005 main ()
12007 return gp_camera_new ();
12009 return 0;
12011 _ACEOF
12012 if ac_fn_c_try_link "$LINENO"; then :
12013 ac_cv_lib_gphoto2_gp_camera_new=yes
12014 else
12015 ac_cv_lib_gphoto2_gp_camera_new=no
12017 rm -f core conftest.err conftest.$ac_objext \
12018 conftest$ac_exeext conftest.$ac_ext
12019 LIBS=$ac_check_lib_save_LIBS
12021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12022 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12023 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12025 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12027 else
12028 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12031 else
12032 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12036 CPPFLAGS=$ac_save_CPPFLAGS
12037 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12038 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12040 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12041 if ${PKG_CONFIG+:} false; then :
12042 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12045 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12046 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12047 if ${PKG_CONFIG+:} false; then :
12048 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12051 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12052 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12053 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12054 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12055 ac_save_CPPFLAGS=$CPPFLAGS
12056 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12057 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12058 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12060 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12061 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12062 $as_echo_n "(cached) " >&6
12063 else
12064 ac_check_lib_save_LIBS=$LIBS
12065 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12067 /* end confdefs.h. */
12069 /* Override any GCC internal prototype to avoid an error.
12070 Use char because int might match the return type of a GCC
12071 builtin and then its argument prototype would still apply. */
12072 #ifdef __cplusplus
12073 extern "C"
12074 #endif
12075 char gp_port_info_list_new ();
12077 main ()
12079 return gp_port_info_list_new ();
12081 return 0;
12083 _ACEOF
12084 if ac_fn_c_try_link "$LINENO"; then :
12085 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12086 else
12087 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12089 rm -f core conftest.err conftest.$ac_objext \
12090 conftest$ac_exeext conftest.$ac_ext
12091 LIBS=$ac_check_lib_save_LIBS
12093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12094 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12095 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12097 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12099 else
12100 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12103 else
12104 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12108 CPPFLAGS=$ac_save_CPPFLAGS
12109 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12110 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12113 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12114 case "x$with_gphoto" in
12115 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12116 xno) ;;
12117 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12118 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12119 esac
12122 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12123 case "x$with_gphoto" in
12124 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12125 xno) ;;
12126 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12127 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12128 esac
12133 if test "$ac_cv_header_resolv_h" = "yes"
12134 then
12135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12136 $as_echo_n "checking for resolver library... " >&6; }
12137 if ${ac_cv_have_resolv+:} false; then :
12138 $as_echo_n "(cached) " >&6
12139 else
12140 ac_save_LIBS="$LIBS"
12141 for lib in '' -lresolv
12143 LIBS="$lib $ac_save_LIBS"
12144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12145 /* end confdefs.h. */
12146 #ifdef HAVE_NETINET_IN_H
12147 #include <netinet/in.h>
12148 #endif
12149 #include <resolv.h>
12151 main ()
12153 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12155 return 0;
12157 _ACEOF
12158 if ac_fn_c_try_link "$LINENO"; then :
12159 ac_cv_have_resolv=${lib:-"none required"}
12160 else
12161 ac_cv_have_resolv="not found"
12163 rm -f core conftest.err conftest.$ac_objext \
12164 conftest$ac_exeext conftest.$ac_ext
12165 test "x$ac_cv_have_resolv" = "xnot found" || break
12166 done
12167 LIBS="$ac_save_LIBS"
12169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12170 $as_echo "$ac_cv_have_resolv" >&6; }
12172 case "$ac_cv_have_resolv" in
12173 "not found") ;;
12174 "none required")
12176 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12179 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12181 RESOLV_LIBS=$ac_cv_have_resolv
12183 esac
12186 if test "x$with_cms" != "xno"
12187 then
12188 if ${LCMS2_CFLAGS:+false} :; then :
12189 if ${PKG_CONFIG+:} false; then :
12190 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12194 if ${LCMS2_LIBS:+false} :; then :
12195 if ${PKG_CONFIG+:} false; then :
12196 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12200 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12201 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12202 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12203 ac_save_CPPFLAGS=$CPPFLAGS
12204 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12205 for ac_header in lcms2.h
12206 do :
12207 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12208 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12209 cat >>confdefs.h <<_ACEOF
12210 #define HAVE_LCMS2_H 1
12211 _ACEOF
12215 done
12217 if test "$ac_cv_header_lcms2_h" = "yes"
12218 then
12219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12220 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12221 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12222 $as_echo_n "(cached) " >&6
12223 else
12224 ac_check_lib_save_LIBS=$LIBS
12225 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12227 /* end confdefs.h. */
12229 /* Override any GCC internal prototype to avoid an error.
12230 Use char because int might match the return type of a GCC
12231 builtin and then its argument prototype would still apply. */
12232 #ifdef __cplusplus
12233 extern "C"
12234 #endif
12235 char cmsOpenProfileFromFile ();
12237 main ()
12239 return cmsOpenProfileFromFile ();
12241 return 0;
12243 _ACEOF
12244 if ac_fn_c_try_link "$LINENO"; then :
12245 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12246 else
12247 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12249 rm -f core conftest.err conftest.$ac_objext \
12250 conftest$ac_exeext conftest.$ac_ext
12251 LIBS=$ac_check_lib_save_LIBS
12253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12254 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12255 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12257 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12259 else
12260 LCMS2_LIBS=""
12263 else
12264 LCMS2_CFLAGS=""
12265 LCMS2_LIBS=""
12267 CPPFLAGS=$ac_save_CPPFLAGS
12268 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12269 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12272 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12273 case "x$with_cms" in
12274 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12275 xno) ;;
12276 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12277 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12278 esac
12282 if test "x$with_freetype" != "xno"
12283 then
12284 if ${FREETYPE_CFLAGS:+false} :; then :
12285 if ${PKG_CONFIG+:} false; then :
12286 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12289 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12290 if ${FREETYPE_LIBS:+false} :; then :
12291 if ${PKG_CONFIG+:} false; then :
12292 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12295 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12296 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12297 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12298 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12299 ac_save_CPPFLAGS=$CPPFLAGS
12300 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12301 for ac_header in ft2build.h
12302 do :
12303 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12304 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12305 cat >>confdefs.h <<_ACEOF
12306 #define HAVE_FT2BUILD_H 1
12307 _ACEOF
12311 done
12313 if test "$ac_cv_header_ft2build_h" = "yes"
12314 then
12315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12316 $as_echo_n "checking for -lfreetype... " >&6; }
12317 if ${ac_cv_lib_soname_freetype+:} false; then :
12318 $as_echo_n "(cached) " >&6
12319 else
12320 ac_check_soname_save_LIBS=$LIBS
12321 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12323 /* end confdefs.h. */
12325 /* Override any GCC internal prototype to avoid an error.
12326 Use char because int might match the return type of a GCC
12327 builtin and then its argument prototype would still apply. */
12328 #ifdef __cplusplus
12329 extern "C"
12330 #endif
12331 char FT_Init_FreeType ();
12333 main ()
12335 return FT_Init_FreeType ();
12337 return 0;
12339 _ACEOF
12340 if ac_fn_c_try_link "$LINENO"; then :
12341 case "$LIBEXT" in
12342 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12343 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'` ;;
12344 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12345 if ${ac_cv_lib_soname_freetype:+false} :; then :
12346 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12347 fi ;;
12348 esac
12350 rm -f core conftest.err conftest.$ac_objext \
12351 conftest$ac_exeext conftest.$ac_ext
12352 LIBS=$ac_check_soname_save_LIBS
12354 if ${ac_cv_lib_soname_freetype:+false} :; then :
12355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12356 $as_echo "not found" >&6; }
12357 FREETYPE_LIBS=""
12358 else
12359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12360 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12362 cat >>confdefs.h <<_ACEOF
12363 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12364 _ACEOF
12367 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12369 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12370 #include FT_MODULE_H
12372 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12374 cat >>confdefs.h <<_ACEOF
12375 #define HAVE_FT_TRUETYPEENGINETYPE 1
12376 _ACEOF
12382 else
12383 FREETYPE_CFLAGS=""
12384 FREETYPE_LIBS=""
12386 CPPFLAGS=$ac_save_CPPFLAGS
12387 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12388 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12391 if test "x$ac_cv_lib_soname_freetype" = x; then :
12392 case "x$with_freetype" in
12393 xno) ;;
12394 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12395 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12396 esac
12397 enable_fonts=${enable_fonts:-no}
12400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12401 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12402 if ${ac_cv_c_ppdev+:} false; then :
12403 $as_echo_n "(cached) " >&6
12404 else
12405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12406 /* end confdefs.h. */
12407 #ifdef HAVE_SYS_IOCTL_H
12408 # include <sys/ioctl.h>
12409 #endif
12410 #include <linux/ppdev.h>
12412 main ()
12414 ioctl (1,PPCLAIM,0)
12416 return 0;
12418 _ACEOF
12419 if ac_fn_c_try_compile "$LINENO"; then :
12420 ac_cv_c_ppdev="yes"
12421 else
12422 ac_cv_c_ppdev="no"
12424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12427 $as_echo "$ac_cv_c_ppdev" >&6; }
12428 if test "$ac_cv_c_ppdev" = "yes"
12429 then
12431 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12435 ac_wine_check_funcs_save_LIBS="$LIBS"
12436 LIBS="$LIBS $PTHREAD_LIBS"
12437 for ac_func in \
12438 pthread_attr_get_np \
12439 pthread_getattr_np \
12440 pthread_getthreadid_np \
12441 pthread_get_stackaddr_np \
12442 pthread_get_stacksize_np
12443 do :
12444 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12445 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12446 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12447 cat >>confdefs.h <<_ACEOF
12448 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12449 _ACEOF
12452 done
12454 LIBS="$ac_wine_check_funcs_save_LIBS"
12456 if test "$ac_cv_header_zlib_h" = "yes"
12457 then
12458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12459 $as_echo_n "checking for inflate in -lz... " >&6; }
12460 if ${ac_cv_lib_z_inflate+:} false; then :
12461 $as_echo_n "(cached) " >&6
12462 else
12463 ac_check_lib_save_LIBS=$LIBS
12464 LIBS="-lz $LIBS"
12465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12466 /* end confdefs.h. */
12468 /* Override any GCC internal prototype to avoid an error.
12469 Use char because int might match the return type of a GCC
12470 builtin and then its argument prototype would still apply. */
12471 #ifdef __cplusplus
12472 extern "C"
12473 #endif
12474 char inflate ();
12476 main ()
12478 return inflate ();
12480 return 0;
12482 _ACEOF
12483 if ac_fn_c_try_link "$LINENO"; then :
12484 ac_cv_lib_z_inflate=yes
12485 else
12486 ac_cv_lib_z_inflate=no
12488 rm -f core conftest.err conftest.$ac_objext \
12489 conftest$ac_exeext conftest.$ac_ext
12490 LIBS=$ac_check_lib_save_LIBS
12492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12493 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12494 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12496 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12498 Z_LIBS="-lz"
12503 if test "x$Z_LIBS" = "x"; then :
12504 case "x$with_zlib" in
12505 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12506 xno) ;;
12507 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12508 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12509 esac
12513 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12514 then
12515 if test "$ac_cv_header_gettext_po_h" = "yes"
12516 then
12517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12518 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12519 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12520 $as_echo_n "(cached) " >&6
12521 else
12522 ac_check_lib_save_LIBS=$LIBS
12523 LIBS="-lgettextpo $LIBS"
12524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12525 /* end confdefs.h. */
12527 /* Override any GCC internal prototype to avoid an error.
12528 Use char because int might match the return type of a GCC
12529 builtin and then its argument prototype would still apply. */
12530 #ifdef __cplusplus
12531 extern "C"
12532 #endif
12533 char po_message_msgctxt ();
12535 main ()
12537 return po_message_msgctxt ();
12539 return 0;
12541 _ACEOF
12542 if ac_fn_c_try_link "$LINENO"; then :
12543 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12544 else
12545 ac_cv_lib_gettextpo_po_message_msgctxt=no
12547 rm -f core conftest.err conftest.$ac_objext \
12548 conftest$ac_exeext conftest.$ac_ext
12549 LIBS=$ac_check_lib_save_LIBS
12551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12552 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12553 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12555 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12557 GETTEXTPO_LIBS="-lgettextpo"
12562 if test "x$GETTEXTPO_LIBS" = "x"; then :
12563 case "x$with_gettextpo" in
12564 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12565 xno) ;;
12566 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12567 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12568 esac
12571 if test "$srcdir" != .; then :
12572 case "x$with_gettextpo" in
12573 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12574 xno) ;;
12575 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12576 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12577 esac
12582 if test "x$with_pulse" != "xno";
12583 then
12584 if ${PULSE_CFLAGS:+false} :; then :
12585 if ${PKG_CONFIG+:} false; then :
12586 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12590 if ${PULSE_LIBS:+false} :; then :
12591 if ${PKG_CONFIG+:} false; then :
12592 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12597 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12598 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12599 ac_save_CPPFLAGS=$CPPFLAGS
12600 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12601 for ac_header in pulse/pulseaudio.h
12602 do :
12603 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12604 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12605 cat >>confdefs.h <<_ACEOF
12606 #define HAVE_PULSE_PULSEAUDIO_H 1
12607 _ACEOF
12608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12609 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12610 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12611 $as_echo_n "(cached) " >&6
12612 else
12613 ac_check_lib_save_LIBS=$LIBS
12614 LIBS="-lpulse $PULSE_LIBS $LIBS"
12615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12616 /* end confdefs.h. */
12618 /* Override any GCC internal prototype to avoid an error.
12619 Use char because int might match the return type of a GCC
12620 builtin and then its argument prototype would still apply. */
12621 #ifdef __cplusplus
12622 extern "C"
12623 #endif
12624 char pa_stream_is_corked ();
12626 main ()
12628 return pa_stream_is_corked ();
12630 return 0;
12632 _ACEOF
12633 if ac_fn_c_try_link "$LINENO"; then :
12634 ac_cv_lib_pulse_pa_stream_is_corked=yes
12635 else
12636 ac_cv_lib_pulse_pa_stream_is_corked=no
12638 rm -f core conftest.err conftest.$ac_objext \
12639 conftest$ac_exeext conftest.$ac_ext
12640 LIBS=$ac_check_lib_save_LIBS
12642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12643 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12644 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12646 else
12647 PULSE_LIBS=""
12650 else
12651 PULSE_LIBS=""
12654 done
12656 CPPFLAGS=$ac_save_CPPFLAGS
12657 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12658 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12661 if test -z "$PULSE_LIBS"; then :
12662 case "x$with_pulse" in
12663 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12664 xno) ;;
12665 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12666 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12667 esac
12668 enable_winepulse_drv=${enable_winepulse_drv:-no}
12671 if test "x$with_gstreamer" != "xno"
12672 then
12673 if ${GSTREAMER_CFLAGS:+false} :; then :
12674 if ${PKG_CONFIG+:} false; then :
12675 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12679 if ${GSTREAMER_LIBS:+false} :; then :
12680 if ${PKG_CONFIG+:} false; then :
12681 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12686 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12687 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12688 ac_save_CPPFLAGS=$CPPFLAGS
12689 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12690 ac_gst_incl=""
12691 for i in $GSTREAMER_CFLAGS
12693 case "$i" in
12694 -I*) ac_gst_incl="$ac_gst_incl $i";;
12695 esac
12696 done
12697 GSTREAMER_CFLAGS=$ac_gst_incl
12698 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12699 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12700 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12702 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12704 /* end confdefs.h. */
12705 #include <gst/gst.h>
12707 main ()
12709 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12711 return 0;
12713 _ACEOF
12714 if ac_fn_c_try_compile "$LINENO"; then :
12715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12716 $as_echo "yes" >&6; }
12717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12718 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12719 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12720 $as_echo_n "(cached) " >&6
12721 else
12722 ac_check_lib_save_LIBS=$LIBS
12723 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12725 /* end confdefs.h. */
12727 /* Override any GCC internal prototype to avoid an error.
12728 Use char because int might match the return type of a GCC
12729 builtin and then its argument prototype would still apply. */
12730 #ifdef __cplusplus
12731 extern "C"
12732 #endif
12733 char gst_pad_new ();
12735 main ()
12737 return gst_pad_new ();
12739 return 0;
12741 _ACEOF
12742 if ac_fn_c_try_link "$LINENO"; then :
12743 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12744 else
12745 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12747 rm -f core conftest.err conftest.$ac_objext \
12748 conftest$ac_exeext conftest.$ac_ext
12749 LIBS=$ac_check_lib_save_LIBS
12751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12752 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12753 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12757 else
12758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12759 $as_echo "no" >&6; }
12760 ac_glib2_broken=yes
12761 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12767 CPPFLAGS=$ac_save_CPPFLAGS
12768 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12769 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12772 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 :
12773 case "x$with_gstreamer" in
12774 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12775 xno) ;;
12776 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12777 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12778 esac
12781 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12783 ALSA_LIBS=""
12785 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12786 then
12787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12788 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12789 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12790 $as_echo_n "(cached) " >&6
12791 else
12792 ac_check_lib_save_LIBS=$LIBS
12793 LIBS="-lasound $LIBS"
12794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12795 /* end confdefs.h. */
12797 /* Override any GCC internal prototype to avoid an error.
12798 Use char because int might match the return type of a GCC
12799 builtin and then its argument prototype would still apply. */
12800 #ifdef __cplusplus
12801 extern "C"
12802 #endif
12803 char snd_pcm_hw_params_get_access_mask ();
12805 main ()
12807 return snd_pcm_hw_params_get_access_mask ();
12809 return 0;
12811 _ACEOF
12812 if ac_fn_c_try_link "$LINENO"; then :
12813 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12814 else
12815 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12817 rm -f core conftest.err conftest.$ac_objext \
12818 conftest$ac_exeext conftest.$ac_ext
12819 LIBS=$ac_check_lib_save_LIBS
12821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12822 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12823 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12825 /* end confdefs.h. */
12826 #ifdef HAVE_ALSA_ASOUNDLIB_H
12827 #include <alsa/asoundlib.h>
12828 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12829 #include <sys/asoundlib.h>
12830 #endif
12832 main ()
12834 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12836 return 0;
12838 _ACEOF
12839 if ac_fn_c_try_compile "$LINENO"; then :
12840 ALSA_LIBS="-lasound"
12842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12846 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12848 if test "x$with_oss" != xno
12849 then
12850 ac_save_CPPFLAGS="$CPPFLAGS"
12851 if test -f /etc/oss.conf
12852 then
12853 . /etc/oss.conf
12855 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12856 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12857 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12858 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12859 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12861 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12863 cat >>confdefs.h <<_ACEOF
12864 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12865 _ACEOF
12867 OSS4_CFLAGS="$ac_oss_incl"
12874 CPPFLAGS="$ac_save_CPPFLAGS"
12876 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
12877 case "x$with_oss" in
12878 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
12879 xno) ;;
12880 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
12881 This is an error since --with-oss was requested." "$LINENO" 5 ;;
12882 esac
12883 enable_wineoss_drv=${enable_wineoss_drv:-no}
12886 if test "x$with_capi" != "xno"
12887 then
12888 if ${CAPI20_CFLAGS:+false} :; then :
12889 if ${PKG_CONFIG+:} false; then :
12890 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12894 if ${CAPI20_LIBS:+false} :; then :
12895 if ${PKG_CONFIG+:} false; then :
12896 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12901 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12902 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12903 ac_save_CPPFLAGS=$CPPFLAGS
12904 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12905 for ac_header in capi20.h linux/capi.h
12906 do :
12907 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12908 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12910 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12911 cat >>confdefs.h <<_ACEOF
12912 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12913 _ACEOF
12917 done
12919 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12920 then
12921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12922 $as_echo_n "checking for -lcapi20... " >&6; }
12923 if ${ac_cv_lib_soname_capi20+:} false; then :
12924 $as_echo_n "(cached) " >&6
12925 else
12926 ac_check_soname_save_LIBS=$LIBS
12927 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12929 /* end confdefs.h. */
12931 /* Override any GCC internal prototype to avoid an error.
12932 Use char because int might match the return type of a GCC
12933 builtin and then its argument prototype would still apply. */
12934 #ifdef __cplusplus
12935 extern "C"
12936 #endif
12937 char capi20_register ();
12939 main ()
12941 return capi20_register ();
12943 return 0;
12945 _ACEOF
12946 if ac_fn_c_try_link "$LINENO"; then :
12947 case "$LIBEXT" in
12948 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12949 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'` ;;
12950 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12951 if ${ac_cv_lib_soname_capi20:+false} :; then :
12952 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12953 fi ;;
12954 esac
12956 rm -f core conftest.err conftest.$ac_objext \
12957 conftest$ac_exeext conftest.$ac_ext
12958 LIBS=$ac_check_soname_save_LIBS
12960 if ${ac_cv_lib_soname_capi20:+false} :; then :
12961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12962 $as_echo "not found" >&6; }
12964 else
12965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12966 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12968 cat >>confdefs.h <<_ACEOF
12969 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12970 _ACEOF
12975 CPPFLAGS=$ac_save_CPPFLAGS
12976 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12977 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12980 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12981 case "x$with_capi" in
12982 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12983 xno) ;;
12984 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12985 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12986 esac
12990 CUPS_CFLAGS=""
12992 if test "x$with_cups" != "xno"
12993 then
12994 ac_save_CPPFLAGS="$CPPFLAGS"
12995 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
12996 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
12997 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12998 for ac_header in cups/cups.h
12999 do :
13000 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13001 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
13002 cat >>confdefs.h <<_ACEOF
13003 #define HAVE_CUPS_CUPS_H 1
13004 _ACEOF
13005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13006 $as_echo_n "checking for -lcups... " >&6; }
13007 if ${ac_cv_lib_soname_cups+:} false; then :
13008 $as_echo_n "(cached) " >&6
13009 else
13010 ac_check_soname_save_LIBS=$LIBS
13011 LIBS="-lcups $ac_cups_libs $LIBS"
13012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13013 /* end confdefs.h. */
13015 /* Override any GCC internal prototype to avoid an error.
13016 Use char because int might match the return type of a GCC
13017 builtin and then its argument prototype would still apply. */
13018 #ifdef __cplusplus
13019 extern "C"
13020 #endif
13021 char cupsGetDefault ();
13023 main ()
13025 return cupsGetDefault ();
13027 return 0;
13029 _ACEOF
13030 if ac_fn_c_try_link "$LINENO"; then :
13031 case "$LIBEXT" in
13032 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13033 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'` ;;
13034 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13035 if ${ac_cv_lib_soname_cups:+false} :; then :
13036 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13037 fi ;;
13038 esac
13040 rm -f core conftest.err conftest.$ac_objext \
13041 conftest$ac_exeext conftest.$ac_ext
13042 LIBS=$ac_check_soname_save_LIBS
13044 if ${ac_cv_lib_soname_cups:+false} :; then :
13045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13046 $as_echo "not found" >&6; }
13048 else
13049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13050 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13052 cat >>confdefs.h <<_ACEOF
13053 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13054 _ACEOF
13056 CUPS_CFLAGS="$ac_cups_cflags"
13058 for ac_header in cups/ppd.h
13059 do :
13060 ac_fn_c_check_header_mongrel "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13061 if test "x$ac_cv_header_cups_ppd_h" = xyes; then :
13062 cat >>confdefs.h <<_ACEOF
13063 #define HAVE_CUPS_PPD_H 1
13064 _ACEOF
13068 done
13072 done
13074 CPPFLAGS="$ac_save_CPPFLAGS"
13076 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13077 case "x$with_cups" in
13078 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13079 xno) ;;
13080 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13081 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13082 esac
13086 if test "x$with_fontconfig" != "xno"
13087 then
13088 if ${FONTCONFIG_CFLAGS:+false} :; then :
13089 if ${PKG_CONFIG+:} false; then :
13090 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13093 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13094 if ${FONTCONFIG_LIBS:+false} :; then :
13095 if ${PKG_CONFIG+:} false; then :
13096 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13099 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13101 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13102 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13103 ac_save_CPPFLAGS=$CPPFLAGS
13104 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13105 for ac_header in fontconfig/fontconfig.h
13106 do :
13107 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13108 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13109 cat >>confdefs.h <<_ACEOF
13110 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13111 _ACEOF
13115 done
13117 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13118 then
13119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13120 $as_echo_n "checking for -lfontconfig... " >&6; }
13121 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13122 $as_echo_n "(cached) " >&6
13123 else
13124 ac_check_soname_save_LIBS=$LIBS
13125 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13127 /* end confdefs.h. */
13129 /* Override any GCC internal prototype to avoid an error.
13130 Use char because int might match the return type of a GCC
13131 builtin and then its argument prototype would still apply. */
13132 #ifdef __cplusplus
13133 extern "C"
13134 #endif
13135 char FcInit ();
13137 main ()
13139 return FcInit ();
13141 return 0;
13143 _ACEOF
13144 if ac_fn_c_try_link "$LINENO"; then :
13145 case "$LIBEXT" in
13146 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13147 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'` ;;
13148 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13149 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13150 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13151 fi ;;
13152 esac
13154 rm -f core conftest.err conftest.$ac_objext \
13155 conftest$ac_exeext conftest.$ac_ext
13156 LIBS=$ac_check_soname_save_LIBS
13158 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13160 $as_echo "not found" >&6; }
13161 FONTCONFIG_CFLAGS=""
13162 else
13163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13164 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13166 cat >>confdefs.h <<_ACEOF
13167 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13168 _ACEOF
13172 else
13173 FONTCONFIG_CFLAGS=""
13175 CPPFLAGS=$ac_save_CPPFLAGS
13176 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13177 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13180 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13181 case "x$with_fontconfig" in
13182 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13183 xno) ;;
13184 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13185 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13186 esac
13190 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13191 then
13192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13193 $as_echo_n "checking for -lgsm... " >&6; }
13194 if ${ac_cv_lib_soname_gsm+:} false; then :
13195 $as_echo_n "(cached) " >&6
13196 else
13197 ac_check_soname_save_LIBS=$LIBS
13198 LIBS="-lgsm $LIBS"
13199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13200 /* end confdefs.h. */
13202 /* Override any GCC internal prototype to avoid an error.
13203 Use char because int might match the return type of a GCC
13204 builtin and then its argument prototype would still apply. */
13205 #ifdef __cplusplus
13206 extern "C"
13207 #endif
13208 char gsm_create ();
13210 main ()
13212 return gsm_create ();
13214 return 0;
13216 _ACEOF
13217 if ac_fn_c_try_link "$LINENO"; then :
13218 case "$LIBEXT" in
13219 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13220 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'` ;;
13221 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13222 if ${ac_cv_lib_soname_gsm:+false} :; then :
13223 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13224 fi ;;
13225 esac
13227 rm -f core conftest.err conftest.$ac_objext \
13228 conftest$ac_exeext conftest.$ac_ext
13229 LIBS=$ac_check_soname_save_LIBS
13231 if ${ac_cv_lib_soname_gsm:+false} :; then :
13232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13233 $as_echo "not found" >&6; }
13235 else
13236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13237 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13239 cat >>confdefs.h <<_ACEOF
13240 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13241 _ACEOF
13246 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13247 case "x$with_gsm" in
13248 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13249 xno) ;;
13250 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13251 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13252 esac
13256 if test "x$with_jpeg" != "xno"
13257 then
13258 if ${JPEG_CFLAGS:+false} :; then :
13259 if ${PKG_CONFIG+:} false; then :
13260 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13264 if ${JPEG_LIBS:+false} :; then :
13265 if ${PKG_CONFIG+:} false; then :
13266 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13271 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13272 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13273 ac_save_CPPFLAGS=$CPPFLAGS
13274 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13275 for ac_header in jpeglib.h
13276 do :
13277 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13278 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13279 cat >>confdefs.h <<_ACEOF
13280 #define HAVE_JPEGLIB_H 1
13281 _ACEOF
13285 done
13287 if test "$ac_cv_header_jpeglib_h" = "yes"
13288 then
13289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13290 $as_echo_n "checking for -ljpeg... " >&6; }
13291 if ${ac_cv_lib_soname_jpeg+:} false; then :
13292 $as_echo_n "(cached) " >&6
13293 else
13294 ac_check_soname_save_LIBS=$LIBS
13295 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13297 /* end confdefs.h. */
13299 /* Override any GCC internal prototype to avoid an error.
13300 Use char because int might match the return type of a GCC
13301 builtin and then its argument prototype would still apply. */
13302 #ifdef __cplusplus
13303 extern "C"
13304 #endif
13305 char jpeg_start_decompress ();
13307 main ()
13309 return jpeg_start_decompress ();
13311 return 0;
13313 _ACEOF
13314 if ac_fn_c_try_link "$LINENO"; then :
13315 case "$LIBEXT" in
13316 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13317 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'` ;;
13318 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13319 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13320 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13321 fi ;;
13322 esac
13324 rm -f core conftest.err conftest.$ac_objext \
13325 conftest$ac_exeext conftest.$ac_ext
13326 LIBS=$ac_check_soname_save_LIBS
13328 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13330 $as_echo "not found" >&6; }
13331 JPEG_CFLAGS=""
13332 else
13333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13334 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13336 cat >>confdefs.h <<_ACEOF
13337 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13338 _ACEOF
13342 else
13343 JPEG_CFLAGS=""
13345 CPPFLAGS=$ac_save_CPPFLAGS
13346 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13347 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13350 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13351 case "x$with_jpeg" in
13352 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13353 xno) ;;
13354 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13355 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13356 esac
13360 if test "x$with_png" != "xno"
13361 then
13362 if ${PNG_CFLAGS:+false} :; then :
13363 if ${PKG_CONFIG+:} false; then :
13364 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13367 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13368 if ${PNG_LIBS:+false} :; then :
13369 if ${PKG_CONFIG+:} false; then :
13370 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13373 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13375 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13376 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13377 ac_save_CPPFLAGS=$CPPFLAGS
13378 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13379 for ac_header in png.h
13380 do :
13381 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13382 if test "x$ac_cv_header_png_h" = xyes; then :
13383 cat >>confdefs.h <<_ACEOF
13384 #define HAVE_PNG_H 1
13385 _ACEOF
13389 done
13391 if test "$ac_cv_header_png_h" = "yes"
13392 then
13393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13394 $as_echo_n "checking for -lpng... " >&6; }
13395 if ${ac_cv_lib_soname_png+:} false; then :
13396 $as_echo_n "(cached) " >&6
13397 else
13398 ac_check_soname_save_LIBS=$LIBS
13399 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13401 /* end confdefs.h. */
13403 /* Override any GCC internal prototype to avoid an error.
13404 Use char because int might match the return type of a GCC
13405 builtin and then its argument prototype would still apply. */
13406 #ifdef __cplusplus
13407 extern "C"
13408 #endif
13409 char png_create_read_struct ();
13411 main ()
13413 return png_create_read_struct ();
13415 return 0;
13417 _ACEOF
13418 if ac_fn_c_try_link "$LINENO"; then :
13419 case "$LIBEXT" in
13420 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13421 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'` ;;
13422 *) 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'`
13423 if ${ac_cv_lib_soname_png:+false} :; then :
13424 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13425 fi ;;
13426 esac
13428 rm -f core conftest.err conftest.$ac_objext \
13429 conftest$ac_exeext conftest.$ac_ext
13430 LIBS=$ac_check_soname_save_LIBS
13432 if ${ac_cv_lib_soname_png:+false} :; then :
13433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13434 $as_echo "not found" >&6; }
13435 PNG_CFLAGS=""
13436 else
13437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13438 $as_echo "$ac_cv_lib_soname_png" >&6; }
13440 cat >>confdefs.h <<_ACEOF
13441 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13442 _ACEOF
13444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13445 /* end confdefs.h. */
13446 #include <png.h>
13448 main ()
13450 typeof(png_set_expand_gray_1_2_4_to_8) *p
13452 return 0;
13454 _ACEOF
13455 if ac_fn_c_try_compile "$LINENO"; then :
13457 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13462 else
13463 PNG_CFLAGS=""
13465 CPPFLAGS=$ac_save_CPPFLAGS
13466 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13467 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13470 if test "x$ac_cv_lib_soname_png" = "x"; then :
13471 case "x$with_png" in
13472 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13473 xno) ;;
13474 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13475 This is an error since --with-png was requested." "$LINENO" 5 ;;
13476 esac
13480 if test "x$with_tiff" != "xno"
13481 then
13482 if ${TIFF_CFLAGS:+false} :; then :
13483 if ${PKG_CONFIG+:} false; then :
13484 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13488 if ${TIFF_LIBS:+false} :; then :
13489 if ${PKG_CONFIG+:} false; then :
13490 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13495 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13496 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13497 ac_save_CPPFLAGS=$CPPFLAGS
13498 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13499 for ac_header in tiffio.h
13500 do :
13501 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13502 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13503 cat >>confdefs.h <<_ACEOF
13504 #define HAVE_TIFFIO_H 1
13505 _ACEOF
13509 done
13511 if test "$ac_cv_header_tiffio_h" = "yes"
13512 then
13513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13514 $as_echo_n "checking for -ltiff... " >&6; }
13515 if ${ac_cv_lib_soname_tiff+:} false; then :
13516 $as_echo_n "(cached) " >&6
13517 else
13518 ac_check_soname_save_LIBS=$LIBS
13519 LIBS="-ltiff $TIFF_LIBS $LIBS"
13520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13521 /* end confdefs.h. */
13523 /* Override any GCC internal prototype to avoid an error.
13524 Use char because int might match the return type of a GCC
13525 builtin and then its argument prototype would still apply. */
13526 #ifdef __cplusplus
13527 extern "C"
13528 #endif
13529 char TIFFClientOpen ();
13531 main ()
13533 return TIFFClientOpen ();
13535 return 0;
13537 _ACEOF
13538 if ac_fn_c_try_link "$LINENO"; then :
13539 case "$LIBEXT" in
13540 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13541 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'` ;;
13542 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13543 if ${ac_cv_lib_soname_tiff:+false} :; then :
13544 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13545 fi ;;
13546 esac
13548 rm -f core conftest.err conftest.$ac_objext \
13549 conftest$ac_exeext conftest.$ac_ext
13550 LIBS=$ac_check_soname_save_LIBS
13552 if ${ac_cv_lib_soname_tiff:+false} :; then :
13553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13554 $as_echo "not found" >&6; }
13556 else
13557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13558 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13560 cat >>confdefs.h <<_ACEOF
13561 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13562 _ACEOF
13567 CPPFLAGS=$ac_save_CPPFLAGS
13568 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13569 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13572 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13573 case "x$with_tiff" in
13574 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13575 xno) ;;
13576 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13577 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13578 esac
13582 if test "x$with_mpg123" != "xno"
13583 then
13584 if ${MPG123_CFLAGS:+false} :; then :
13585 if ${PKG_CONFIG+:} false; then :
13586 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13590 if ${MPG123_LIBS:+false} :; then :
13591 if ${PKG_CONFIG+:} false; then :
13592 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13596 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13597 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13598 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13599 ac_save_CPPFLAGS=$CPPFLAGS
13600 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13601 for ac_header in mpg123.h
13602 do :
13603 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13604 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13605 cat >>confdefs.h <<_ACEOF
13606 #define HAVE_MPG123_H 1
13607 _ACEOF
13611 done
13613 if test "$ac_cv_header_mpg123_h" = "yes"
13614 then
13615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13616 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13617 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13618 $as_echo_n "(cached) " >&6
13619 else
13620 ac_check_lib_save_LIBS=$LIBS
13621 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13623 /* end confdefs.h. */
13625 /* Override any GCC internal prototype to avoid an error.
13626 Use char because int might match the return type of a GCC
13627 builtin and then its argument prototype would still apply. */
13628 #ifdef __cplusplus
13629 extern "C"
13630 #endif
13631 char mpg123_feed ();
13633 main ()
13635 return mpg123_feed ();
13637 return 0;
13639 _ACEOF
13640 if ac_fn_c_try_link "$LINENO"; then :
13641 ac_cv_lib_mpg123_mpg123_feed=yes
13642 else
13643 ac_cv_lib_mpg123_mpg123_feed=no
13645 rm -f core conftest.err conftest.$ac_objext \
13646 conftest$ac_exeext conftest.$ac_ext
13647 LIBS=$ac_check_lib_save_LIBS
13649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13650 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13651 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13653 else
13654 MPG123_LIBS=""
13657 else
13658 MPG123_CFLAGS=""
13659 MPG123_LIBS=""
13661 CPPFLAGS=$ac_save_CPPFLAGS
13662 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13663 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13666 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13667 case "x$with_mpg123" in
13668 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13669 xno) ;;
13670 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13671 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13672 esac
13673 enable_winemp3_acm=${enable_winemp3_acm:-no}
13676 if test "$ac_cv_header_AL_al_h" = "yes"
13677 then
13678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13679 $as_echo_n "checking for -lopenal... " >&6; }
13680 if ${ac_cv_lib_soname_openal+:} false; then :
13681 $as_echo_n "(cached) " >&6
13682 else
13683 ac_check_soname_save_LIBS=$LIBS
13684 LIBS="-lopenal $LIBS"
13685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13686 /* end confdefs.h. */
13688 /* Override any GCC internal prototype to avoid an error.
13689 Use char because int might match the return type of a GCC
13690 builtin and then its argument prototype would still apply. */
13691 #ifdef __cplusplus
13692 extern "C"
13693 #endif
13694 char alGetSource3i ();
13696 main ()
13698 return alGetSource3i ();
13700 return 0;
13702 _ACEOF
13703 if ac_fn_c_try_link "$LINENO"; then :
13704 case "$LIBEXT" in
13705 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13706 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'` ;;
13707 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13708 if ${ac_cv_lib_soname_openal:+false} :; then :
13709 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13710 fi ;;
13711 esac
13713 rm -f core conftest.err conftest.$ac_objext \
13714 conftest$ac_exeext conftest.$ac_ext
13715 LIBS=$ac_check_soname_save_LIBS
13717 if ${ac_cv_lib_soname_openal:+false} :; then :
13718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13719 $as_echo "not found" >&6; }
13721 else
13722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13723 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13725 cat >>confdefs.h <<_ACEOF
13726 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13727 _ACEOF
13729 OPENAL_LIBS="-lopenal"
13731 ac_cv_lib_openal=yes
13733 cat >>confdefs.h <<_ACEOF
13734 #define HAVE_OPENAL 1
13735 _ACEOF
13739 if test "x$ac_cv_lib_openal" != xyes; then :
13740 case "x$with_openal" in
13741 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13742 xno) ;;
13743 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13744 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13745 esac
13746 enable_openal32=${enable_openal32:-no}
13749 if test "x$ac_cv_lib_openal" = xyes
13750 then
13751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13752 $as_echo_n "checking for openal-soft... " >&6; }
13753 if ${ac_cv_have_openalsoft+:} false; then :
13754 $as_echo_n "(cached) " >&6
13755 else
13756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13757 /* end confdefs.h. */
13758 #include <AL/al.h>
13759 #include <AL/alc.h>
13760 #include <AL/alext.h>
13761 LPALCRENDERSAMPLESSOFT x;
13763 main ()
13767 return 0;
13769 _ACEOF
13770 if ac_fn_c_try_compile "$LINENO"; then :
13771 ac_cv_have_openalsoft=yes
13772 else
13773 ac_cv_have_openalsoft=no
13775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13778 $as_echo "$ac_cv_have_openalsoft" >&6; }
13780 if test "x$ac_cv_have_openalsoft" != xyes
13781 then
13782 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13783 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
13784 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
13785 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
13786 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
13787 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
13788 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
13789 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
13790 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
13791 enable_xapofx1_1=${enable_xapofx1_1:-no}
13792 enable_xapofx1_2=${enable_xapofx1_2:-no}
13793 enable_xapofx1_3=${enable_xapofx1_3:-no}
13794 enable_xapofx1_4=${enable_xapofx1_4:-no}
13795 enable_xapofx1_5=${enable_xapofx1_5:-no}
13796 enable_xaudio2_0=${enable_xaudio2_0:-no}
13797 enable_xaudio2_1=${enable_xaudio2_1:-no}
13798 enable_xaudio2_2=${enable_xaudio2_2:-no}
13799 enable_xaudio2_3=${enable_xaudio2_3:-no}
13800 enable_xaudio2_4=${enable_xaudio2_4:-no}
13801 enable_xaudio2_5=${enable_xaudio2_5:-no}
13802 enable_xaudio2_6=${enable_xaudio2_6:-no}
13803 enable_xaudio2_7=${enable_xaudio2_7:-no}
13804 enable_xaudio2_8=${enable_xaudio2_8:-no}
13805 enable_xaudio2_9=${enable_xaudio2_9:-no}
13808 if test "$ac_cv_header_kstat_h" = "yes"
13809 then
13810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13811 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13812 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13813 $as_echo_n "(cached) " >&6
13814 else
13815 ac_check_lib_save_LIBS=$LIBS
13816 LIBS="-lkstat $LIBS"
13817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13818 /* end confdefs.h. */
13820 /* Override any GCC internal prototype to avoid an error.
13821 Use char because int might match the return type of a GCC
13822 builtin and then its argument prototype would still apply. */
13823 #ifdef __cplusplus
13824 extern "C"
13825 #endif
13826 char kstat_open ();
13828 main ()
13830 return kstat_open ();
13832 return 0;
13834 _ACEOF
13835 if ac_fn_c_try_link "$LINENO"; then :
13836 ac_cv_lib_kstat_kstat_open=yes
13837 else
13838 ac_cv_lib_kstat_kstat_open=no
13840 rm -f core conftest.err conftest.$ac_objext \
13841 conftest$ac_exeext conftest.$ac_ext
13842 LIBS=$ac_check_lib_save_LIBS
13844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13845 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13846 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13848 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13850 KSTAT_LIBS="-lkstat"
13856 if test "$ac_cv_header_libprocstat_h" = "yes"
13857 then
13858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13859 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13860 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13861 $as_echo_n "(cached) " >&6
13862 else
13863 ac_check_lib_save_LIBS=$LIBS
13864 LIBS="-lprocstat $LIBS"
13865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13866 /* end confdefs.h. */
13868 /* Override any GCC internal prototype to avoid an error.
13869 Use char because int might match the return type of a GCC
13870 builtin and then its argument prototype would still apply. */
13871 #ifdef __cplusplus
13872 extern "C"
13873 #endif
13874 char procstat_open_sysctl ();
13876 main ()
13878 return procstat_open_sysctl ();
13880 return 0;
13882 _ACEOF
13883 if ac_fn_c_try_link "$LINENO"; then :
13884 ac_cv_lib_procstat_procstat_open_sysctl=yes
13885 else
13886 ac_cv_lib_procstat_procstat_open_sysctl=no
13888 rm -f core conftest.err conftest.$ac_objext \
13889 conftest$ac_exeext conftest.$ac_ext
13890 LIBS=$ac_check_lib_save_LIBS
13892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13893 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13894 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13896 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13898 PROCSTAT_LIBS="-lprocstat"
13904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13905 $as_echo_n "checking for -lodbc... " >&6; }
13906 if ${ac_cv_lib_soname_odbc+:} false; then :
13907 $as_echo_n "(cached) " >&6
13908 else
13909 ac_check_soname_save_LIBS=$LIBS
13910 LIBS="-lodbc $LIBS"
13911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13912 /* end confdefs.h. */
13914 /* Override any GCC internal prototype to avoid an error.
13915 Use char because int might match the return type of a GCC
13916 builtin and then its argument prototype would still apply. */
13917 #ifdef __cplusplus
13918 extern "C"
13919 #endif
13920 char SQLConnect ();
13922 main ()
13924 return SQLConnect ();
13926 return 0;
13928 _ACEOF
13929 if ac_fn_c_try_link "$LINENO"; then :
13930 case "$LIBEXT" in
13931 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13932 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'` ;;
13933 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13934 if ${ac_cv_lib_soname_odbc:+false} :; then :
13935 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13936 fi ;;
13937 esac
13939 rm -f core conftest.err conftest.$ac_objext \
13940 conftest$ac_exeext conftest.$ac_ext
13941 LIBS=$ac_check_soname_save_LIBS
13943 if ${ac_cv_lib_soname_odbc:+false} :; then :
13944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13945 $as_echo "not found" >&6; }
13946 cat >>confdefs.h <<_ACEOF
13947 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13948 _ACEOF
13950 else
13951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13952 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13954 cat >>confdefs.h <<_ACEOF
13955 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13956 _ACEOF
13961 if test "x$with_netapi" != "xno"
13962 then
13963 if ${NETAPI_CFLAGS:+false} :; then :
13964 if ${PKG_CONFIG+:} false; then :
13965 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
13969 if ${NETAPI_LIBS:+false} :; then :
13970 if ${PKG_CONFIG+:} false; then :
13971 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
13976 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
13977 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
13978 ac_save_CPPFLAGS=$CPPFLAGS
13979 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
13980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13981 $as_echo_n "checking for -lnetapi... " >&6; }
13982 if ${ac_cv_lib_soname_netapi+:} false; then :
13983 $as_echo_n "(cached) " >&6
13984 else
13985 ac_check_soname_save_LIBS=$LIBS
13986 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
13987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13988 /* end confdefs.h. */
13990 /* Override any GCC internal prototype to avoid an error.
13991 Use char because int might match the return type of a GCC
13992 builtin and then its argument prototype would still apply. */
13993 #ifdef __cplusplus
13994 extern "C"
13995 #endif
13996 char libnetapi_init ();
13998 main ()
14000 return libnetapi_init ();
14002 return 0;
14004 _ACEOF
14005 if ac_fn_c_try_link "$LINENO"; then :
14006 case "$LIBEXT" in
14007 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14008 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'` ;;
14009 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14010 if ${ac_cv_lib_soname_netapi:+false} :; then :
14011 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14012 fi ;;
14013 esac
14015 rm -f core conftest.err conftest.$ac_objext \
14016 conftest$ac_exeext conftest.$ac_ext
14017 LIBS=$ac_check_soname_save_LIBS
14019 if ${ac_cv_lib_soname_netapi:+false} :; then :
14020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14021 $as_echo "not found" >&6; }
14022 cat >>confdefs.h <<_ACEOF
14023 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14024 _ACEOF
14026 else
14027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14028 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14030 cat >>confdefs.h <<_ACEOF
14031 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14032 _ACEOF
14036 CPPFLAGS=$ac_save_CPPFLAGS
14037 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14038 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14042 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
14043 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14044 then
14045 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14049 EXTRACFLAGS=""
14051 if test "x${GCC}" = "xyes"
14052 then
14053 EXTRACFLAGS="-Wall -pipe"
14055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14056 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14057 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14058 $as_echo_n "(cached) " >&6
14059 else
14060 if test "$cross_compiling" = yes; then :
14061 ac_cv_c_gcc_strength_bug="no"
14062 else
14063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14064 /* end confdefs.h. */
14065 int L[4] = {0,1,2,3};
14067 main ()
14069 static int Array[3];
14070 unsigned int B = 3;
14071 int i;
14072 for(i=0; i<B; i++) Array[i] = i - 3;
14073 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14074 L[i] = 4;
14075 return (Array[1] != -2 || L[2] != 3)
14077 return 0;
14079 _ACEOF
14080 if ac_fn_c_try_run "$LINENO"; then :
14081 ac_cv_c_gcc_strength_bug="no"
14082 else
14083 ac_cv_c_gcc_strength_bug="yes"
14085 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14086 conftest.$ac_objext conftest.beam conftest.$ac_ext
14090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14091 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14092 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14093 then
14094 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14098 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14099 if ${ac_cv_cflags__fno_builtin+:} false; then :
14100 $as_echo_n "(cached) " >&6
14101 else
14102 ac_wine_try_cflags_saved=$CFLAGS
14103 CFLAGS="$CFLAGS -fno-builtin"
14104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14105 /* end confdefs.h. */
14106 int main(int argc, char **argv) { return 0; }
14107 _ACEOF
14108 if ac_fn_c_try_link "$LINENO"; then :
14109 ac_cv_cflags__fno_builtin=yes
14110 else
14111 ac_cv_cflags__fno_builtin=no
14113 rm -f core conftest.err conftest.$ac_objext \
14114 conftest$ac_exeext conftest.$ac_ext
14115 CFLAGS=$ac_wine_try_cflags_saved
14117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14118 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14119 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14120 BUILTINFLAG="-fno-builtin"
14123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14124 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14125 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14126 $as_echo_n "(cached) " >&6
14127 else
14128 ac_wine_try_cflags_saved=$CFLAGS
14129 CFLAGS="$CFLAGS -fno-strict-aliasing"
14130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14131 /* end confdefs.h. */
14132 int main(int argc, char **argv) { return 0; }
14133 _ACEOF
14134 if ac_fn_c_try_link "$LINENO"; then :
14135 ac_cv_cflags__fno_strict_aliasing=yes
14136 else
14137 ac_cv_cflags__fno_strict_aliasing=no
14139 rm -f core conftest.err conftest.$ac_objext \
14140 conftest$ac_exeext conftest.$ac_ext
14141 CFLAGS=$ac_wine_try_cflags_saved
14143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14144 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14145 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14146 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14149 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14150 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14151 $as_echo_n "(cached) " >&6
14152 else
14153 ac_wine_try_cflags_saved=$CFLAGS
14154 CFLAGS="$CFLAGS -fexcess-precision=standard"
14155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14156 /* end confdefs.h. */
14157 int main(int argc, char **argv) { return 0; }
14158 _ACEOF
14159 if ac_fn_c_try_link "$LINENO"; then :
14160 ac_cv_cflags__fexcess_precision_standard=yes
14161 else
14162 ac_cv_cflags__fexcess_precision_standard=no
14164 rm -f core conftest.err conftest.$ac_objext \
14165 conftest$ac_exeext conftest.$ac_ext
14166 CFLAGS=$ac_wine_try_cflags_saved
14168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14169 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14170 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14171 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14174 saved_CFLAGS=$CFLAGS
14175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14176 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14177 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14178 $as_echo_n "(cached) " >&6
14179 else
14180 ac_wine_try_cflags_saved=$CFLAGS
14181 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14183 /* end confdefs.h. */
14184 int main(int argc, char **argv) { return 0; }
14185 _ACEOF
14186 if ac_fn_c_try_link "$LINENO"; then :
14187 ac_cv_cflags__Werror_unknown_warning_option=yes
14188 else
14189 ac_cv_cflags__Werror_unknown_warning_option=no
14191 rm -f core conftest.err conftest.$ac_objext \
14192 conftest$ac_exeext conftest.$ac_ext
14193 CFLAGS=$ac_wine_try_cflags_saved
14195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14196 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14197 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14198 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14201 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14202 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14203 $as_echo_n "(cached) " >&6
14204 else
14205 ac_wine_try_cflags_saved=$CFLAGS
14206 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14208 /* end confdefs.h. */
14209 int main(int argc, char **argv) { return 0; }
14210 _ACEOF
14211 if ac_fn_c_try_link "$LINENO"; then :
14212 ac_cv_cflags__Wdeclaration_after_statement=yes
14213 else
14214 ac_cv_cflags__Wdeclaration_after_statement=no
14216 rm -f core conftest.err conftest.$ac_objext \
14217 conftest$ac_exeext conftest.$ac_ext
14218 CFLAGS=$ac_wine_try_cflags_saved
14220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14221 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14222 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14223 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14226 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14227 if ${ac_cv_cflags__Wempty_body+:} false; then :
14228 $as_echo_n "(cached) " >&6
14229 else
14230 ac_wine_try_cflags_saved=$CFLAGS
14231 CFLAGS="$CFLAGS -Wempty-body"
14232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14233 /* end confdefs.h. */
14234 int main(int argc, char **argv) { return 0; }
14235 _ACEOF
14236 if ac_fn_c_try_link "$LINENO"; then :
14237 ac_cv_cflags__Wempty_body=yes
14238 else
14239 ac_cv_cflags__Wempty_body=no
14241 rm -f core conftest.err conftest.$ac_objext \
14242 conftest$ac_exeext conftest.$ac_ext
14243 CFLAGS=$ac_wine_try_cflags_saved
14245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14246 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14247 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14248 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14251 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14252 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14253 $as_echo_n "(cached) " >&6
14254 else
14255 ac_wine_try_cflags_saved=$CFLAGS
14256 CFLAGS="$CFLAGS -Wignored-qualifiers"
14257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14258 /* end confdefs.h. */
14259 int main(int argc, char **argv) { return 0; }
14260 _ACEOF
14261 if ac_fn_c_try_link "$LINENO"; then :
14262 ac_cv_cflags__Wignored_qualifiers=yes
14263 else
14264 ac_cv_cflags__Wignored_qualifiers=no
14266 rm -f core conftest.err conftest.$ac_objext \
14267 conftest$ac_exeext conftest.$ac_ext
14268 CFLAGS=$ac_wine_try_cflags_saved
14270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14271 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14272 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14273 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14276 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14277 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14278 $as_echo_n "(cached) " >&6
14279 else
14280 ac_wine_try_cflags_saved=$CFLAGS
14281 CFLAGS="$CFLAGS -Wshift-overflow=2"
14282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14283 /* end confdefs.h. */
14284 int main(int argc, char **argv) { return 0; }
14285 _ACEOF
14286 if ac_fn_c_try_link "$LINENO"; then :
14287 ac_cv_cflags__Wshift_overflow_2=yes
14288 else
14289 ac_cv_cflags__Wshift_overflow_2=no
14291 rm -f core conftest.err conftest.$ac_objext \
14292 conftest$ac_exeext conftest.$ac_ext
14293 CFLAGS=$ac_wine_try_cflags_saved
14295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14296 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14297 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14298 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14301 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14302 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14303 $as_echo_n "(cached) " >&6
14304 else
14305 ac_wine_try_cflags_saved=$CFLAGS
14306 CFLAGS="$CFLAGS -Wstrict-prototypes"
14307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14308 /* end confdefs.h. */
14309 int main(int argc, char **argv) { return 0; }
14310 _ACEOF
14311 if ac_fn_c_try_link "$LINENO"; then :
14312 ac_cv_cflags__Wstrict_prototypes=yes
14313 else
14314 ac_cv_cflags__Wstrict_prototypes=no
14316 rm -f core conftest.err conftest.$ac_objext \
14317 conftest$ac_exeext conftest.$ac_ext
14318 CFLAGS=$ac_wine_try_cflags_saved
14320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14321 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14322 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14323 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14326 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14327 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14328 $as_echo_n "(cached) " >&6
14329 else
14330 ac_wine_try_cflags_saved=$CFLAGS
14331 CFLAGS="$CFLAGS -Wtype-limits"
14332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14333 /* end confdefs.h. */
14334 int main(int argc, char **argv) { return 0; }
14335 _ACEOF
14336 if ac_fn_c_try_link "$LINENO"; then :
14337 ac_cv_cflags__Wtype_limits=yes
14338 else
14339 ac_cv_cflags__Wtype_limits=no
14341 rm -f core conftest.err conftest.$ac_objext \
14342 conftest$ac_exeext conftest.$ac_ext
14343 CFLAGS=$ac_wine_try_cflags_saved
14345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14346 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14347 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14348 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14351 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14352 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14353 $as_echo_n "(cached) " >&6
14354 else
14355 ac_wine_try_cflags_saved=$CFLAGS
14356 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14358 /* end confdefs.h. */
14359 int main(int argc, char **argv) { return 0; }
14360 _ACEOF
14361 if ac_fn_c_try_link "$LINENO"; then :
14362 ac_cv_cflags__Wunused_but_set_parameter=yes
14363 else
14364 ac_cv_cflags__Wunused_but_set_parameter=no
14366 rm -f core conftest.err conftest.$ac_objext \
14367 conftest$ac_exeext conftest.$ac_ext
14368 CFLAGS=$ac_wine_try_cflags_saved
14370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14371 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14372 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14373 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14376 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14377 if ${ac_cv_cflags__Wvla+:} false; then :
14378 $as_echo_n "(cached) " >&6
14379 else
14380 ac_wine_try_cflags_saved=$CFLAGS
14381 CFLAGS="$CFLAGS -Wvla"
14382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14383 /* end confdefs.h. */
14384 int main(int argc, char **argv) { return 0; }
14385 _ACEOF
14386 if ac_fn_c_try_link "$LINENO"; then :
14387 ac_cv_cflags__Wvla=yes
14388 else
14389 ac_cv_cflags__Wvla=no
14391 rm -f core conftest.err conftest.$ac_objext \
14392 conftest$ac_exeext conftest.$ac_ext
14393 CFLAGS=$ac_wine_try_cflags_saved
14395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14396 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14397 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14398 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14401 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14402 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14403 $as_echo_n "(cached) " >&6
14404 else
14405 ac_wine_try_cflags_saved=$CFLAGS
14406 CFLAGS="$CFLAGS -Wwrite-strings"
14407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14408 /* end confdefs.h. */
14409 int main(int argc, char **argv) { return 0; }
14410 _ACEOF
14411 if ac_fn_c_try_link "$LINENO"; then :
14412 ac_cv_cflags__Wwrite_strings=yes
14413 else
14414 ac_cv_cflags__Wwrite_strings=no
14416 rm -f core conftest.err conftest.$ac_objext \
14417 conftest$ac_exeext conftest.$ac_ext
14418 CFLAGS=$ac_wine_try_cflags_saved
14420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14421 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14422 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14423 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14427 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14428 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14429 $as_echo_n "(cached) " >&6
14430 else
14431 ac_wine_try_cflags_saved=$CFLAGS
14432 CFLAGS="$CFLAGS -Wpointer-arith"
14433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14434 /* end confdefs.h. */
14435 int main(int argc, char **argv) { return 0; }
14436 _ACEOF
14437 if ac_fn_c_try_link "$LINENO"; then :
14438 ac_cv_cflags__Wpointer_arith=yes
14439 else
14440 ac_cv_cflags__Wpointer_arith=no
14442 rm -f core conftest.err conftest.$ac_objext \
14443 conftest$ac_exeext conftest.$ac_ext
14444 CFLAGS=$ac_wine_try_cflags_saved
14446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14447 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14448 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14449 saved_string_h_CFLAGS=$CFLAGS
14450 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14452 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14453 if ${ac_cv_c_string_h_warnings+:} false; then :
14454 $as_echo_n "(cached) " >&6
14455 else
14456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14457 /* end confdefs.h. */
14458 #include <string.h>
14460 main ()
14464 return 0;
14466 _ACEOF
14467 if ac_fn_c_try_compile "$LINENO"; then :
14468 ac_cv_c_string_h_warnings=no
14469 else
14470 ac_cv_c_string_h_warnings=yes
14472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14475 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14476 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14477 CFLAGS=$saved_string_h_CFLAGS
14480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14481 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14482 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14483 $as_echo_n "(cached) " >&6
14484 else
14485 ac_wine_try_cflags_saved=$CFLAGS
14486 CFLAGS="$CFLAGS -Wlogical-op"
14487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14488 /* end confdefs.h. */
14489 int main(int argc, char **argv) { return 0; }
14490 _ACEOF
14491 if ac_fn_c_try_link "$LINENO"; then :
14492 ac_cv_cflags__Wlogical_op=yes
14493 else
14494 ac_cv_cflags__Wlogical_op=no
14496 rm -f core conftest.err conftest.$ac_objext \
14497 conftest$ac_exeext conftest.$ac_ext
14498 CFLAGS=$ac_wine_try_cflags_saved
14500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14501 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14502 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14503 saved_string_h_CFLAGS=$CFLAGS
14504 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14506 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14507 if ${ac_cv_c_logicalop_noisy+:} false; then :
14508 $as_echo_n "(cached) " >&6
14509 else
14510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14511 /* end confdefs.h. */
14512 #include <string.h>
14513 char*f(const char *h,char n) {return strchr(h,n);}
14515 main ()
14519 return 0;
14521 _ACEOF
14522 if ac_fn_c_try_compile "$LINENO"; then :
14523 ac_cv_c_logicalop_noisy=no
14524 else
14525 ac_cv_c_logicalop_noisy=yes
14527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14530 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14531 CFLAGS=$saved_string_h_CFLAGS
14532 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14535 CFLAGS=$saved_CFLAGS
14537 for ac_flag in $CFLAGS; do
14538 case $ac_flag in
14539 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14540 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14541 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14542 $as_echo_n "(cached) " >&6
14543 else
14544 ac_wine_try_cflags_saved=$CFLAGS
14545 CFLAGS="$CFLAGS -gdwarf-2"
14546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14547 /* end confdefs.h. */
14548 int main(int argc, char **argv) { return 0; }
14549 _ACEOF
14550 if ac_fn_c_try_link "$LINENO"; then :
14551 ac_cv_cflags__gdwarf_2=yes
14552 else
14553 ac_cv_cflags__gdwarf_2=no
14555 rm -f core conftest.err conftest.$ac_objext \
14556 conftest$ac_exeext conftest.$ac_ext
14557 CFLAGS=$ac_wine_try_cflags_saved
14559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14560 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14561 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14562 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14565 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14566 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14567 $as_echo_n "(cached) " >&6
14568 else
14569 ac_wine_try_cflags_saved=$CFLAGS
14570 CFLAGS="$CFLAGS -gstrict-dwarf"
14571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14572 /* end confdefs.h. */
14573 int main(int argc, char **argv) { return 0; }
14574 _ACEOF
14575 if ac_fn_c_try_link "$LINENO"; then :
14576 ac_cv_cflags__gstrict_dwarf=yes
14577 else
14578 ac_cv_cflags__gstrict_dwarf=no
14580 rm -f core conftest.err conftest.$ac_objext \
14581 conftest$ac_exeext conftest.$ac_ext
14582 CFLAGS=$ac_wine_try_cflags_saved
14584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14585 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14586 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14587 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14588 fi ;;
14589 esac
14590 done
14592 case $host_cpu in
14593 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14594 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14595 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14596 $as_echo_n "(cached) " >&6
14597 else
14598 ac_wine_try_cflags_saved=$CFLAGS
14599 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14601 /* end confdefs.h. */
14602 int main(int argc, char **argv) { return 0; }
14603 _ACEOF
14604 if ac_fn_c_try_link "$LINENO"; then :
14605 ac_cv_cflags__fno_omit_frame_pointer=yes
14606 else
14607 ac_cv_cflags__fno_omit_frame_pointer=no
14609 rm -f core conftest.err conftest.$ac_objext \
14610 conftest$ac_exeext conftest.$ac_ext
14611 CFLAGS=$ac_wine_try_cflags_saved
14613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14614 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14615 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14616 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14617 fi ;;
14618 esac
14620 case $host in
14621 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14622 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14623 if ${ac_cv_cflags__Wno_format+:} false; then :
14624 $as_echo_n "(cached) " >&6
14625 else
14626 ac_wine_try_cflags_saved=$CFLAGS
14627 CFLAGS="$CFLAGS -Wno-format"
14628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14629 /* end confdefs.h. */
14630 int main(int argc, char **argv) { return 0; }
14631 _ACEOF
14632 if ac_fn_c_try_link "$LINENO"; then :
14633 ac_cv_cflags__Wno_format=yes
14634 else
14635 ac_cv_cflags__Wno_format=no
14637 rm -f core conftest.err conftest.$ac_objext \
14638 conftest$ac_exeext conftest.$ac_ext
14639 CFLAGS=$ac_wine_try_cflags_saved
14641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14642 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14643 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14644 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14645 fi ;;
14646 esac
14648 if test "x$enable_maintainer_mode" = "xyes"
14649 then
14650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14651 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14652 if ${ac_cv_cflags__Werror+:} false; then :
14653 $as_echo_n "(cached) " >&6
14654 else
14655 ac_wine_try_cflags_saved=$CFLAGS
14656 CFLAGS="$CFLAGS -Werror"
14657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14658 /* end confdefs.h. */
14659 int main(int argc, char **argv) { return 0; }
14660 _ACEOF
14661 if ac_fn_c_try_link "$LINENO"; then :
14662 ac_cv_cflags__Werror=yes
14663 else
14664 ac_cv_cflags__Werror=no
14666 rm -f core conftest.err conftest.$ac_objext \
14667 conftest$ac_exeext conftest.$ac_ext
14668 CFLAGS=$ac_wine_try_cflags_saved
14670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14671 $as_echo "$ac_cv_cflags__Werror" >&6; }
14672 if test "x$ac_cv_cflags__Werror" = xyes; then :
14673 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14677 saved_CFLAGS="$CFLAGS"
14678 CFLAGS="$CFLAGS -Werror"
14679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14680 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14681 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14682 $as_echo_n "(cached) " >&6
14683 else
14684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14685 /* end confdefs.h. */
14686 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14688 main ()
14692 return 0;
14694 _ACEOF
14695 if ac_fn_c_try_compile "$LINENO"; then :
14696 ac_cv_have_ms_hook_prologue="yes"
14697 else
14698 ac_cv_have_ms_hook_prologue="no"
14700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14703 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14704 CFLAGS="$saved_CFLAGS"
14705 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14706 then
14708 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14710 else
14711 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14718 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14719 if ${ac_cv_c_fortify_enabled+:} false; then :
14720 $as_echo_n "(cached) " >&6
14721 else
14722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14723 /* end confdefs.h. */
14724 #include <string.h>
14726 main ()
14728 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14729 #error Fortify enabled
14730 #endif
14732 return 0;
14734 _ACEOF
14735 if ac_fn_c_try_compile "$LINENO"; then :
14736 ac_cv_c_fortify_enabled=no
14737 else
14738 ac_cv_c_fortify_enabled=yes
14740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14743 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14744 if test "$ac_cv_c_fortify_enabled" = yes
14745 then
14746 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14751 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14752 if ${ac_cv_c_extern_prefix+:} false; then :
14753 $as_echo_n "(cached) " >&6
14754 else
14755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14756 /* end confdefs.h. */
14757 extern int ac_test;
14759 main ()
14761 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14763 return 0;
14765 _ACEOF
14766 if ac_fn_c_try_link "$LINENO"; then :
14767 ac_cv_c_extern_prefix="yes"
14768 else
14769 ac_cv_c_extern_prefix="no"
14771 rm -f core conftest.err conftest.$ac_objext \
14772 conftest$ac_exeext conftest.$ac_ext
14774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14775 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14777 case $host_cpu in
14778 *i[3456789]86*)
14779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14780 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14781 if ${ac_cv_c_stdcall_suffix+:} false; then :
14782 $as_echo_n "(cached) " >&6
14783 else
14784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14785 /* end confdefs.h. */
14786 #ifndef _MSC_VER
14787 #define __stdcall __attribute__((__stdcall__))
14788 #endif
14789 int __stdcall ac_test(int i) { return i; }
14791 main ()
14793 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14795 return 0;
14797 _ACEOF
14798 if ac_fn_c_try_link "$LINENO"; then :
14799 ac_cv_c_stdcall_suffix="yes"
14800 else
14801 ac_cv_c_stdcall_suffix="no"
14803 rm -f core conftest.err conftest.$ac_objext \
14804 conftest$ac_exeext conftest.$ac_ext
14806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14807 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14808 *) ac_cv_c_stdcall_suffix="no" ;;
14809 esac
14812 if test "$ac_cv_c_extern_prefix" = "yes"
14813 then
14814 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14816 asm_name_prefix="_"
14817 else
14818 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14820 asm_name_prefix=""
14824 if test "$ac_cv_c_stdcall_suffix" = "yes"
14825 then
14826 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14828 else
14829 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14835 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14836 if ${ac_cv_asm_func_def+:} false; then :
14837 $as_echo_n "(cached) " >&6
14838 else
14839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14840 /* end confdefs.h. */
14843 main ()
14845 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14847 return 0;
14849 _ACEOF
14850 if ac_fn_c_try_link "$LINENO"; then :
14851 ac_cv_asm_func_def=".def"
14852 else
14853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14854 /* end confdefs.h. */
14857 main ()
14859 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14861 return 0;
14863 _ACEOF
14864 if ac_fn_c_try_link "$LINENO"; then :
14865 ac_cv_asm_func_def=".type @function"
14866 else
14867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14868 /* end confdefs.h. */
14871 main ()
14873 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14875 return 0;
14877 _ACEOF
14878 if ac_fn_c_try_link "$LINENO"; then :
14879 ac_cv_asm_func_def=".type 2"
14880 else
14881 ac_cv_asm_func_def="unknown"
14883 rm -f core conftest.err conftest.$ac_objext \
14884 conftest$ac_exeext conftest.$ac_ext
14886 rm -f core conftest.err conftest.$ac_objext \
14887 conftest$ac_exeext conftest.$ac_ext
14889 rm -f core conftest.err conftest.$ac_objext \
14890 conftest$ac_exeext conftest.$ac_ext
14892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14893 $as_echo "$ac_cv_asm_func_def" >&6; }
14896 case "$ac_cv_asm_func_def" in
14897 ".def")
14898 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14900 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14901 ".type @function")
14902 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14904 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14905 ".type 2")
14906 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14908 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14910 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14912 asm_func_header="" ;;
14913 esac
14915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14916 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14917 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14918 $as_echo_n "(cached) " >&6
14919 else
14920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14921 /* end confdefs.h. */
14922 asm(".text\n\t.long 0");
14924 main ()
14928 return 0;
14930 _ACEOF
14931 if ac_fn_c_try_compile "$LINENO"; then :
14932 ac_cv_c_asm_outside_funcs="yes"
14933 else
14934 ac_cv_c_asm_outside_funcs="no"
14936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14939 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14942 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14943 if ${ac_cv_c_dot_previous+:} false; then :
14944 $as_echo_n "(cached) " >&6
14945 else
14946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14947 /* end confdefs.h. */
14950 main ()
14952 asm(".text\nac_test:\t.long 0\n\t.previous");
14954 return 0;
14956 _ACEOF
14957 if ac_fn_c_try_link "$LINENO"; then :
14958 ac_cv_c_dot_previous="yes"
14959 else
14960 ac_cv_c_dot_previous="no"
14962 rm -f core conftest.err conftest.$ac_objext \
14963 conftest$ac_exeext conftest.$ac_ext
14965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14966 $as_echo "$ac_cv_c_dot_previous" >&6; }
14968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14969 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14970 if ${ac_cv_c_cfi_support+:} false; then :
14971 $as_echo_n "(cached) " >&6
14972 else
14973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14974 /* end confdefs.h. */
14975 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14977 main ()
14981 return 0;
14983 _ACEOF
14984 if ac_fn_c_try_compile "$LINENO"; then :
14985 ac_cv_c_cfi_support="yes"
14986 else
14987 ac_cv_c_cfi_support="no"
14989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14992 $as_echo "$ac_cv_c_cfi_support" >&6; }
14994 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14995 asm_func_trailer=""
14996 if test "$ac_cv_c_dot_previous" = "yes"
14997 then
14998 asm_func_trailer="\\n\\t.previous"
15000 if test "$ac_cv_c_cfi_support" = "yes"
15001 then
15002 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15003 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15005 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15007 UNWINDFLAGS=-fasynchronous-unwind-tables
15009 else
15010 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15012 if test "x$enable_win64" = "xyes"
15013 then
15014 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15018 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15021 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15022 then
15023 cat >>confdefs.h <<_ACEOF
15024 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15025 _ACEOF
15027 else
15028 cat >>confdefs.h <<_ACEOF
15029 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15030 _ACEOF
15034 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15037 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15041 case $build_os in
15042 cygwin*|mingw32*) TOOLSEXT=".exe"
15044 esac
15046 case $host_os in
15047 linux-android*) ;;
15048 linux*)
15049 case $host_cpu in
15050 *i[3456789]86*|x86_64*)
15051 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15052 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15054 esac
15056 esac
15059 ac_save_CFLAGS="$CFLAGS"
15060 CFLAGS="$CFLAGS $BUILTINFLAG"
15061 for ac_func in \
15062 __res_get_state \
15063 __res_getservers \
15064 _finite \
15065 _isnan \
15066 _pclose \
15067 _popen \
15068 _snprintf \
15069 _spawnvp \
15070 _strdup \
15071 _stricmp \
15072 _strnicmp \
15073 _strtoi64 \
15074 _strtoui64 \
15075 _vsnprintf \
15076 asctime_r \
15077 chsize \
15078 dlopen \
15079 epoll_create \
15080 ffs \
15081 finitef \
15082 fnmatch \
15083 fork \
15084 fpclass \
15085 fstatfs \
15086 fstatvfs \
15087 ftruncate \
15088 futimens \
15089 futimes \
15090 futimesat \
15091 getattrlist \
15092 getopt_long_only \
15093 getpwuid \
15094 gettimeofday \
15095 getuid \
15096 if_nameindex \
15097 isnanf \
15098 kqueue \
15099 lstat \
15100 memmove \
15101 mmap \
15102 pclose \
15103 pipe2 \
15104 poll \
15105 popen \
15106 port_create \
15107 prctl \
15108 pread \
15109 proc_pidinfo \
15110 pwrite \
15111 readdir \
15112 readlink \
15113 sched_yield \
15114 select \
15115 setproctitle \
15116 setprogname \
15117 setrlimit \
15118 settimeofday \
15119 sigaltstack \
15120 sigprocmask \
15121 snprintf \
15122 statfs \
15123 statvfs \
15124 strcasecmp \
15125 strdup \
15126 strerror \
15127 strncasecmp \
15128 strtold \
15129 strtoll \
15130 strtoull \
15131 symlink \
15132 tcdrain \
15133 thr_kill2 \
15134 timegm \
15135 usleep \
15136 vsnprintf
15138 do :
15139 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15140 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15141 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15142 cat >>confdefs.h <<_ACEOF
15143 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15144 _ACEOF
15147 done
15149 CFLAGS="$ac_save_CFLAGS"
15151 if test "$ac_cv_func_dlopen" = no
15152 then
15153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15154 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15155 if ${ac_cv_lib_dl_dlopen+:} false; then :
15156 $as_echo_n "(cached) " >&6
15157 else
15158 ac_check_lib_save_LIBS=$LIBS
15159 LIBS="-ldl $LIBS"
15160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15161 /* end confdefs.h. */
15163 /* Override any GCC internal prototype to avoid an error.
15164 Use char because int might match the return type of a GCC
15165 builtin and then its argument prototype would still apply. */
15166 #ifdef __cplusplus
15167 extern "C"
15168 #endif
15169 char dlopen ();
15171 main ()
15173 return dlopen ();
15175 return 0;
15177 _ACEOF
15178 if ac_fn_c_try_link "$LINENO"; then :
15179 ac_cv_lib_dl_dlopen=yes
15180 else
15181 ac_cv_lib_dl_dlopen=no
15183 rm -f core conftest.err conftest.$ac_objext \
15184 conftest$ac_exeext conftest.$ac_ext
15185 LIBS=$ac_check_lib_save_LIBS
15187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15188 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15189 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15190 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15191 DL_LIBS="-ldl"
15196 ac_wine_check_funcs_save_LIBS="$LIBS"
15197 LIBS="$LIBS $DL_LIBS"
15198 for ac_func in dladdr
15199 do :
15200 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15201 if test "x$ac_cv_func_dladdr" = xyes; then :
15202 cat >>confdefs.h <<_ACEOF
15203 #define HAVE_DLADDR 1
15204 _ACEOF
15207 done
15209 LIBS="$ac_wine_check_funcs_save_LIBS"
15211 if test "$ac_cv_func_poll" = no
15212 then
15213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15214 $as_echo_n "checking for poll in -lpoll... " >&6; }
15215 if ${ac_cv_lib_poll_poll+:} false; then :
15216 $as_echo_n "(cached) " >&6
15217 else
15218 ac_check_lib_save_LIBS=$LIBS
15219 LIBS="-lpoll $LIBS"
15220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15221 /* end confdefs.h. */
15223 /* Override any GCC internal prototype to avoid an error.
15224 Use char because int might match the return type of a GCC
15225 builtin and then its argument prototype would still apply. */
15226 #ifdef __cplusplus
15227 extern "C"
15228 #endif
15229 char poll ();
15231 main ()
15233 return poll ();
15235 return 0;
15237 _ACEOF
15238 if ac_fn_c_try_link "$LINENO"; then :
15239 ac_cv_lib_poll_poll=yes
15240 else
15241 ac_cv_lib_poll_poll=no
15243 rm -f core conftest.err conftest.$ac_objext \
15244 conftest$ac_exeext conftest.$ac_ext
15245 LIBS=$ac_check_lib_save_LIBS
15247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15248 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15249 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15250 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15251 POLL_LIBS="-lpoll"
15257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15258 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15259 if ${ac_cv_search_gethostbyname+:} false; then :
15260 $as_echo_n "(cached) " >&6
15261 else
15262 ac_func_search_save_LIBS=$LIBS
15263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15264 /* end confdefs.h. */
15266 /* Override any GCC internal prototype to avoid an error.
15267 Use char because int might match the return type of a GCC
15268 builtin and then its argument prototype would still apply. */
15269 #ifdef __cplusplus
15270 extern "C"
15271 #endif
15272 char gethostbyname ();
15274 main ()
15276 return gethostbyname ();
15278 return 0;
15280 _ACEOF
15281 for ac_lib in '' nsl; do
15282 if test -z "$ac_lib"; then
15283 ac_res="none required"
15284 else
15285 ac_res=-l$ac_lib
15286 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15288 if ac_fn_c_try_link "$LINENO"; then :
15289 ac_cv_search_gethostbyname=$ac_res
15291 rm -f core conftest.err conftest.$ac_objext \
15292 conftest$ac_exeext
15293 if ${ac_cv_search_gethostbyname+:} false; then :
15294 break
15296 done
15297 if ${ac_cv_search_gethostbyname+:} false; then :
15299 else
15300 ac_cv_search_gethostbyname=no
15302 rm conftest.$ac_ext
15303 LIBS=$ac_func_search_save_LIBS
15305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15306 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15307 ac_res=$ac_cv_search_gethostbyname
15308 if test "$ac_res" != no; then :
15309 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15315 $as_echo_n "checking for library containing connect... " >&6; }
15316 if ${ac_cv_search_connect+:} false; then :
15317 $as_echo_n "(cached) " >&6
15318 else
15319 ac_func_search_save_LIBS=$LIBS
15320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15321 /* end confdefs.h. */
15323 /* Override any GCC internal prototype to avoid an error.
15324 Use char because int might match the return type of a GCC
15325 builtin and then its argument prototype would still apply. */
15326 #ifdef __cplusplus
15327 extern "C"
15328 #endif
15329 char connect ();
15331 main ()
15333 return connect ();
15335 return 0;
15337 _ACEOF
15338 for ac_lib in '' socket; do
15339 if test -z "$ac_lib"; then
15340 ac_res="none required"
15341 else
15342 ac_res=-l$ac_lib
15343 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15345 if ac_fn_c_try_link "$LINENO"; then :
15346 ac_cv_search_connect=$ac_res
15348 rm -f core conftest.err conftest.$ac_objext \
15349 conftest$ac_exeext
15350 if ${ac_cv_search_connect+:} false; then :
15351 break
15353 done
15354 if ${ac_cv_search_connect+:} false; then :
15356 else
15357 ac_cv_search_connect=no
15359 rm conftest.$ac_ext
15360 LIBS=$ac_func_search_save_LIBS
15362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15363 $as_echo "$ac_cv_search_connect" >&6; }
15364 ac_res=$ac_cv_search_connect
15365 if test "$ac_res" != no; then :
15366 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15372 $as_echo_n "checking for library containing inet_aton... " >&6; }
15373 if ${ac_cv_search_inet_aton+:} false; then :
15374 $as_echo_n "(cached) " >&6
15375 else
15376 ac_func_search_save_LIBS=$LIBS
15377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15378 /* end confdefs.h. */
15380 /* Override any GCC internal prototype to avoid an error.
15381 Use char because int might match the return type of a GCC
15382 builtin and then its argument prototype would still apply. */
15383 #ifdef __cplusplus
15384 extern "C"
15385 #endif
15386 char inet_aton ();
15388 main ()
15390 return inet_aton ();
15392 return 0;
15394 _ACEOF
15395 for ac_lib in '' resolv; do
15396 if test -z "$ac_lib"; then
15397 ac_res="none required"
15398 else
15399 ac_res=-l$ac_lib
15400 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15402 if ac_fn_c_try_link "$LINENO"; then :
15403 ac_cv_search_inet_aton=$ac_res
15405 rm -f core conftest.err conftest.$ac_objext \
15406 conftest$ac_exeext
15407 if ${ac_cv_search_inet_aton+:} false; then :
15408 break
15410 done
15411 if ${ac_cv_search_inet_aton+:} false; then :
15413 else
15414 ac_cv_search_inet_aton=no
15416 rm conftest.$ac_ext
15417 LIBS=$ac_func_search_save_LIBS
15419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15420 $as_echo "$ac_cv_search_inet_aton" >&6; }
15421 ac_res=$ac_cv_search_inet_aton
15422 if test "$ac_res" != no; then :
15423 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15428 for ac_func in \
15429 getaddrinfo \
15430 getnameinfo \
15431 getnetbyname \
15432 getprotobyname \
15433 getprotobynumber \
15434 getservbyport \
15435 inet_addr \
15436 inet_network \
15437 inet_ntop \
15438 inet_pton \
15439 sendmsg \
15440 socketpair \
15442 do :
15443 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15444 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15445 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15446 cat >>confdefs.h <<_ACEOF
15447 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15448 _ACEOF
15451 done
15454 ac_save_LIBS=$LIBS
15455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15456 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15457 if ${ac_cv_search_clock_gettime+:} false; then :
15458 $as_echo_n "(cached) " >&6
15459 else
15460 ac_func_search_save_LIBS=$LIBS
15461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15462 /* end confdefs.h. */
15464 /* Override any GCC internal prototype to avoid an error.
15465 Use char because int might match the return type of a GCC
15466 builtin and then its argument prototype would still apply. */
15467 #ifdef __cplusplus
15468 extern "C"
15469 #endif
15470 char clock_gettime ();
15472 main ()
15474 return clock_gettime ();
15476 return 0;
15478 _ACEOF
15479 for ac_lib in '' rt; do
15480 if test -z "$ac_lib"; then
15481 ac_res="none required"
15482 else
15483 ac_res=-l$ac_lib
15484 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15486 if ac_fn_c_try_link "$LINENO"; then :
15487 ac_cv_search_clock_gettime=$ac_res
15489 rm -f core conftest.err conftest.$ac_objext \
15490 conftest$ac_exeext
15491 if ${ac_cv_search_clock_gettime+:} false; then :
15492 break
15494 done
15495 if ${ac_cv_search_clock_gettime+:} false; then :
15497 else
15498 ac_cv_search_clock_gettime=no
15500 rm conftest.$ac_ext
15501 LIBS=$ac_func_search_save_LIBS
15503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15504 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15505 ac_res=$ac_cv_search_clock_gettime
15506 if test "$ac_res" != no; then :
15507 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15509 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15511 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15515 LIBS=$ac_save_LIBS
15517 LDAP_LIBS=""
15519 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15520 then
15521 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15523 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15525 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15526 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15527 $as_echo_n "(cached) " >&6
15528 else
15529 ac_check_lib_save_LIBS=$LIBS
15530 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15532 /* end confdefs.h. */
15534 /* Override any GCC internal prototype to avoid an error.
15535 Use char because int might match the return type of a GCC
15536 builtin and then its argument prototype would still apply. */
15537 #ifdef __cplusplus
15538 extern "C"
15539 #endif
15540 char ldap_initialize ();
15542 main ()
15544 return ldap_initialize ();
15546 return 0;
15548 _ACEOF
15549 if ac_fn_c_try_link "$LINENO"; then :
15550 ac_cv_lib_ldap_r_ldap_initialize=yes
15551 else
15552 ac_cv_lib_ldap_r_ldap_initialize=no
15554 rm -f core conftest.err conftest.$ac_objext \
15555 conftest$ac_exeext conftest.$ac_ext
15556 LIBS=$ac_check_lib_save_LIBS
15558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15559 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15560 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15562 $as_echo_n "checking for ber_init in -llber... " >&6; }
15563 if ${ac_cv_lib_lber_ber_init+:} false; then :
15564 $as_echo_n "(cached) " >&6
15565 else
15566 ac_check_lib_save_LIBS=$LIBS
15567 LIBS="-llber $PTHREAD_LIBS $LIBS"
15568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15569 /* end confdefs.h. */
15571 /* Override any GCC internal prototype to avoid an error.
15572 Use char because int might match the return type of a GCC
15573 builtin and then its argument prototype would still apply. */
15574 #ifdef __cplusplus
15575 extern "C"
15576 #endif
15577 char ber_init ();
15579 main ()
15581 return ber_init ();
15583 return 0;
15585 _ACEOF
15586 if ac_fn_c_try_link "$LINENO"; then :
15587 ac_cv_lib_lber_ber_init=yes
15588 else
15589 ac_cv_lib_lber_ber_init=no
15591 rm -f core conftest.err conftest.$ac_objext \
15592 conftest$ac_exeext conftest.$ac_ext
15593 LIBS=$ac_check_lib_save_LIBS
15595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15596 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15597 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15599 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15601 LDAP_LIBS="-lldap_r -llber"
15608 ac_wine_check_funcs_save_LIBS="$LIBS"
15609 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15610 for ac_func in \
15611 ldap_count_references \
15612 ldap_first_reference \
15613 ldap_next_reference \
15614 ldap_parse_reference \
15615 ldap_parse_sort_control \
15616 ldap_parse_sortresponse_control \
15617 ldap_parse_vlv_control \
15618 ldap_parse_vlvresponse_control
15619 do :
15620 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15621 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15622 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15623 cat >>confdefs.h <<_ACEOF
15624 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15625 _ACEOF
15628 done
15630 LIBS="$ac_wine_check_funcs_save_LIBS"
15632 if test "x$LDAP_LIBS" = "x"; then :
15633 case "x$with_ldap" in
15634 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15635 xno) ;;
15636 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15637 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15638 esac
15642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15643 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15644 if ${wine_cv_one_arg_mkdir+:} false; then :
15645 $as_echo_n "(cached) " >&6
15646 else
15647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15648 /* end confdefs.h. */
15649 #include <sys/stat.h>
15651 main ()
15653 mkdir("foo");
15655 return 0;
15657 _ACEOF
15658 if ac_fn_c_try_compile "$LINENO"; then :
15659 wine_cv_one_arg_mkdir=yes
15660 else
15661 wine_cv_one_arg_mkdir=no
15663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15666 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15667 if test "$wine_cv_one_arg_mkdir" = "yes"
15668 then
15670 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15675 $as_echo_n "checking for sched_setaffinity... " >&6; }
15676 if ${wine_cv_have_sched_setaffinity+:} false; then :
15677 $as_echo_n "(cached) " >&6
15678 else
15679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15680 /* end confdefs.h. */
15681 #define _GNU_SOURCE
15682 #include <sched.h>
15684 main ()
15686 sched_setaffinity(0, 0, 0);
15688 return 0;
15690 _ACEOF
15691 if ac_fn_c_try_link "$LINENO"; then :
15692 wine_cv_have_sched_setaffinity=yes
15693 else
15694 wine_cv_have_sched_setaffinity=no
15696 rm -f core conftest.err conftest.$ac_objext \
15697 conftest$ac_exeext conftest.$ac_ext
15699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15700 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15701 if test "$wine_cv_have_sched_setaffinity" = "yes"
15702 then
15704 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15709 $as_echo_n "checking for fallocate... " >&6; }
15710 if ${wine_cv_have_fallocate+:} false; then :
15711 $as_echo_n "(cached) " >&6
15712 else
15713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15714 /* end confdefs.h. */
15715 #define _GNU_SOURCE
15716 #include <fcntl.h>
15718 main ()
15720 fallocate(-1, 0, 0, 0);
15722 return 0;
15724 _ACEOF
15725 if ac_fn_c_try_link "$LINENO"; then :
15726 wine_cv_have_fallocate=yes
15727 else
15728 wine_cv_have_fallocate=no
15730 rm -f core conftest.err conftest.$ac_objext \
15731 conftest$ac_exeext conftest.$ac_ext
15733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15734 $as_echo "$wine_cv_have_fallocate" >&6; }
15735 if test "$wine_cv_have_fallocate" = "yes"
15736 then
15738 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15744 $as_echo_n "checking for inline... " >&6; }
15745 if ${ac_cv_c_inline+:} false; then :
15746 $as_echo_n "(cached) " >&6
15747 else
15748 ac_cv_c_inline=no
15749 for ac_kw in inline __inline__ __inline; do
15750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15751 /* end confdefs.h. */
15752 #ifndef __cplusplus
15753 typedef int foo_t;
15754 static $ac_kw foo_t static_foo () {return 0; }
15755 $ac_kw foo_t foo () {return 0; }
15756 #endif
15758 _ACEOF
15759 if ac_fn_c_try_compile "$LINENO"; then :
15760 ac_cv_c_inline=$ac_kw
15762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15763 test "$ac_cv_c_inline" != no && break
15764 done
15767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15768 $as_echo "$ac_cv_c_inline" >&6; }
15770 case $ac_cv_c_inline in
15771 inline | yes) ;;
15773 case $ac_cv_c_inline in
15774 no) ac_val=;;
15775 *) ac_val=$ac_cv_c_inline;;
15776 esac
15777 cat >>confdefs.h <<_ACEOF
15778 #ifndef __cplusplus
15779 #define inline $ac_val
15780 #endif
15781 _ACEOF
15783 esac
15785 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15786 if test "x$ac_cv_type_mode_t" = xyes; then :
15788 cat >>confdefs.h <<_ACEOF
15789 #define HAVE_MODE_T 1
15790 _ACEOF
15794 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15795 if test "x$ac_cv_type_off_t" = xyes; then :
15797 cat >>confdefs.h <<_ACEOF
15798 #define HAVE_OFF_T 1
15799 _ACEOF
15803 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15804 if test "x$ac_cv_type_pid_t" = xyes; then :
15806 cat >>confdefs.h <<_ACEOF
15807 #define HAVE_PID_T 1
15808 _ACEOF
15812 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15813 if test "x$ac_cv_type_size_t" = xyes; then :
15815 cat >>confdefs.h <<_ACEOF
15816 #define HAVE_SIZE_T 1
15817 _ACEOF
15821 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15822 if test "x$ac_cv_type_ssize_t" = xyes; then :
15824 cat >>confdefs.h <<_ACEOF
15825 #define HAVE_SSIZE_T 1
15826 _ACEOF
15830 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15831 if test "x$ac_cv_type_long_long" = xyes; then :
15833 cat >>confdefs.h <<_ACEOF
15834 #define HAVE_LONG_LONG 1
15835 _ACEOF
15839 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15840 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15842 cat >>confdefs.h <<_ACEOF
15843 #define HAVE_FSBLKCNT_T 1
15844 _ACEOF
15848 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15849 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15851 cat >>confdefs.h <<_ACEOF
15852 #define HAVE_FSFILCNT_T 1
15853 _ACEOF
15858 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15859 #include <signal.h>
15861 if test "x$ac_cv_type_sigset_t" = xyes; then :
15863 cat >>confdefs.h <<_ACEOF
15864 #define HAVE_SIGSET_T 1
15865 _ACEOF
15870 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15872 if test "x$ac_cv_type_request_sense" = xyes; then :
15874 cat >>confdefs.h <<_ACEOF
15875 #define HAVE_REQUEST_SENSE 1
15876 _ACEOF
15882 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15883 #ifdef HAVE_SYS_SOCKET_H
15884 #include <sys/socket.h>
15885 #endif
15886 #ifdef HAVE_SYS_SOCKETVAR_H
15887 #include <sys/socketvar.h>
15888 #endif
15889 #ifdef HAVE_NET_ROUTE_H
15890 #include <net/route.h>
15891 #endif
15892 #ifdef HAVE_NETINET_IN_H
15893 #include <netinet/in.h>
15894 #endif
15895 #ifdef HAVE_NETINET_IN_SYSTM_H
15896 #include <netinet/in_systm.h>
15897 #endif
15898 #ifdef HAVE_NETINET_IP_H
15899 #include <netinet/ip.h>
15900 #endif
15901 #ifdef HAVE_NETINET_IN_PCB_H
15902 #include <netinet/in_pcb.h>
15903 #endif
15905 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15907 cat >>confdefs.h <<_ACEOF
15908 #define HAVE_STRUCT_XINPGEN 1
15909 _ACEOF
15915 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15916 #include <link.h>
15917 #endif
15918 #ifdef HAVE_SYS_LINK_H
15919 #include <sys/link.h>
15920 #endif
15922 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15924 cat >>confdefs.h <<_ACEOF
15925 #define HAVE_STRUCT_R_DEBUG 1
15926 _ACEOF
15930 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15931 #include <link.h>
15932 #endif
15933 #ifdef HAVE_SYS_LINK_H
15934 #include <sys/link.h>
15935 #endif
15937 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15939 cat >>confdefs.h <<_ACEOF
15940 #define HAVE_STRUCT_LINK_MAP 1
15941 _ACEOF
15947 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15948 #include <linux/input.h>
15949 #endif
15951 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15953 cat >>confdefs.h <<_ACEOF
15954 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15955 _ACEOF
15961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15962 $as_echo_n "checking for sigaddset... " >&6; }
15963 if ${wine_cv_have_sigaddset+:} false; then :
15964 $as_echo_n "(cached) " >&6
15965 else
15966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15967 /* end confdefs.h. */
15968 #include <signal.h>
15970 main ()
15972 sigset_t set; sigaddset(&set,SIGTERM);
15974 return 0;
15976 _ACEOF
15977 if ac_fn_c_try_link "$LINENO"; then :
15978 wine_cv_have_sigaddset=yes
15979 else
15980 wine_cv_have_sigaddset=no
15982 rm -f core conftest.err conftest.$ac_objext \
15983 conftest$ac_exeext conftest.$ac_ext
15985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15986 $as_echo "$wine_cv_have_sigaddset" >&6; }
15987 if test "$wine_cv_have_sigaddset" = "yes"
15988 then
15990 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15996 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15997 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15998 $as_echo_n "(cached) " >&6
15999 else
16000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16001 /* end confdefs.h. */
16002 #include <netdb.h>
16004 main ()
16007 char *name=0;
16008 struct hostent he;
16009 struct hostent *result;
16010 char *buf=0;
16011 int bufsize=0;
16012 int errnr;
16013 char *addr=0;
16014 int addrlen=0;
16015 int addrtype=0;
16016 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16017 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16020 return 0;
16022 _ACEOF
16023 if ac_fn_c_try_link "$LINENO"; then :
16024 wine_cv_linux_gethostbyname_r_6=yes
16025 else
16026 wine_cv_linux_gethostbyname_r_6=no
16029 rm -f core conftest.err conftest.$ac_objext \
16030 conftest$ac_exeext conftest.$ac_ext
16033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16034 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16035 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16036 then
16038 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16042 if test "$ac_cv_header_linux_joystick_h" = "yes"
16043 then
16044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16045 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16046 if ${wine_cv_linux_joystick_22_api+:} false; then :
16047 $as_echo_n "(cached) " >&6
16048 else
16049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16050 /* end confdefs.h. */
16052 #include <sys/ioctl.h>
16053 #include <sys/types.h>
16054 #include <linux/joystick.h>
16056 struct js_event blub;
16057 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16058 #error "no 2.2 header"
16059 #endif
16062 main ()
16064 /*empty*/
16066 return 0;
16068 _ACEOF
16069 if ac_fn_c_try_compile "$LINENO"; then :
16070 wine_cv_linux_joystick_22_api=yes
16071 else
16072 wine_cv_linux_joystick_22_api=no
16074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16078 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16079 if test "$wine_cv_linux_joystick_22_api" = "yes"
16080 then
16082 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16088 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16089 #ifdef HAVE_SYS_PARAM_H
16090 # include <sys/param.h>
16091 #endif
16092 #ifdef HAVE_SYS_MOUNT_H
16093 # include <sys/mount.h>
16094 #endif
16095 #ifdef HAVE_SYS_VFS_H
16096 # include <sys/vfs.h>
16097 #endif
16098 #ifdef HAVE_SYS_STATFS_H
16099 # include <sys/statfs.h>
16100 #endif
16102 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16104 cat >>confdefs.h <<_ACEOF
16105 #define HAVE_STRUCT_STATFS_F_BFREE 1
16106 _ACEOF
16110 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16111 #ifdef HAVE_SYS_PARAM_H
16112 # include <sys/param.h>
16113 #endif
16114 #ifdef HAVE_SYS_MOUNT_H
16115 # include <sys/mount.h>
16116 #endif
16117 #ifdef HAVE_SYS_VFS_H
16118 # include <sys/vfs.h>
16119 #endif
16120 #ifdef HAVE_SYS_STATFS_H
16121 # include <sys/statfs.h>
16122 #endif
16124 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16126 cat >>confdefs.h <<_ACEOF
16127 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16128 _ACEOF
16132 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16133 #ifdef HAVE_SYS_PARAM_H
16134 # include <sys/param.h>
16135 #endif
16136 #ifdef HAVE_SYS_MOUNT_H
16137 # include <sys/mount.h>
16138 #endif
16139 #ifdef HAVE_SYS_VFS_H
16140 # include <sys/vfs.h>
16141 #endif
16142 #ifdef HAVE_SYS_STATFS_H
16143 # include <sys/statfs.h>
16144 #endif
16146 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16148 cat >>confdefs.h <<_ACEOF
16149 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16150 _ACEOF
16154 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16155 #ifdef HAVE_SYS_PARAM_H
16156 # include <sys/param.h>
16157 #endif
16158 #ifdef HAVE_SYS_MOUNT_H
16159 # include <sys/mount.h>
16160 #endif
16161 #ifdef HAVE_SYS_VFS_H
16162 # include <sys/vfs.h>
16163 #endif
16164 #ifdef HAVE_SYS_STATFS_H
16165 # include <sys/statfs.h>
16166 #endif
16168 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16170 cat >>confdefs.h <<_ACEOF
16171 #define HAVE_STRUCT_STATFS_F_FFREE 1
16172 _ACEOF
16176 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16177 #ifdef HAVE_SYS_PARAM_H
16178 # include <sys/param.h>
16179 #endif
16180 #ifdef HAVE_SYS_MOUNT_H
16181 # include <sys/mount.h>
16182 #endif
16183 #ifdef HAVE_SYS_VFS_H
16184 # include <sys/vfs.h>
16185 #endif
16186 #ifdef HAVE_SYS_STATFS_H
16187 # include <sys/statfs.h>
16188 #endif
16190 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16192 cat >>confdefs.h <<_ACEOF
16193 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16194 _ACEOF
16198 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16199 #ifdef HAVE_SYS_PARAM_H
16200 # include <sys/param.h>
16201 #endif
16202 #ifdef HAVE_SYS_MOUNT_H
16203 # include <sys/mount.h>
16204 #endif
16205 #ifdef HAVE_SYS_VFS_H
16206 # include <sys/vfs.h>
16207 #endif
16208 #ifdef HAVE_SYS_STATFS_H
16209 # include <sys/statfs.h>
16210 #endif
16212 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16214 cat >>confdefs.h <<_ACEOF
16215 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16216 _ACEOF
16222 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16223 #include <sys/statvfs.h>
16224 #endif
16226 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16228 cat >>confdefs.h <<_ACEOF
16229 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16230 _ACEOF
16236 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16237 #include <dirent.h>
16238 #endif
16240 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16242 cat >>confdefs.h <<_ACEOF
16243 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16244 _ACEOF
16250 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16251 #ifdef HAVE_SYS_SOCKET_H
16252 # include <sys/socket.h>
16253 #endif
16254 #ifdef HAVE_SYS_UN_H
16255 # include <sys/un.h>
16256 #endif
16258 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16260 cat >>confdefs.h <<_ACEOF
16261 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16262 _ACEOF
16266 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16267 #ifdef HAVE_SYS_SOCKET_H
16268 # include <sys/socket.h>
16269 #endif
16270 #ifdef HAVE_SYS_UN_H
16271 # include <sys/un.h>
16272 #endif
16274 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16276 cat >>confdefs.h <<_ACEOF
16277 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16278 _ACEOF
16282 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16283 #ifdef HAVE_SYS_SOCKET_H
16284 # include <sys/socket.h>
16285 #endif
16286 #ifdef HAVE_SYS_UN_H
16287 # include <sys/un.h>
16288 #endif
16290 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16292 cat >>confdefs.h <<_ACEOF
16293 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16294 _ACEOF
16300 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16301 #ifdef HAVE_SCSI_SG_H
16302 #include <scsi/sg.h>
16303 #endif
16305 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16307 cat >>confdefs.h <<_ACEOF
16308 #define HAVE_SCSIREQ_T_CMD 1
16309 _ACEOF
16313 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>
16314 #ifdef HAVE_SCSI_SG_H
16315 #include <scsi/sg.h>
16316 #endif
16318 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16320 cat >>confdefs.h <<_ACEOF
16321 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16322 _ACEOF
16328 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16330 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16332 cat >>confdefs.h <<_ACEOF
16333 #define HAVE_SIGINFO_T_SI_FD 1
16334 _ACEOF
16340 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16341 #ifdef HAVE_SYS_MTIO_H
16342 #include <sys/mtio.h>
16343 #endif
16345 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16347 cat >>confdefs.h <<_ACEOF
16348 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16349 _ACEOF
16353 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16354 #ifdef HAVE_SYS_MTIO_H
16355 #include <sys/mtio.h>
16356 #endif
16358 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16360 cat >>confdefs.h <<_ACEOF
16361 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16362 _ACEOF
16366 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16367 #ifdef HAVE_SYS_MTIO_H
16368 #include <sys/mtio.h>
16369 #endif
16371 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16373 cat >>confdefs.h <<_ACEOF
16374 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16375 _ACEOF
16381 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16382 #include <getopt.h>
16383 #endif
16385 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16387 cat >>confdefs.h <<_ACEOF
16388 #define HAVE_STRUCT_OPTION_NAME 1
16389 _ACEOF
16395 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16396 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16398 cat >>confdefs.h <<_ACEOF
16399 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16400 _ACEOF
16404 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16405 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16407 cat >>confdefs.h <<_ACEOF
16408 #define HAVE_STRUCT_STAT_ST_MTIM 1
16409 _ACEOF
16413 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16414 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16416 cat >>confdefs.h <<_ACEOF
16417 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16418 _ACEOF
16422 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16423 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16425 cat >>confdefs.h <<_ACEOF
16426 #define HAVE_STRUCT_STAT_ST_CTIM 1
16427 _ACEOF
16431 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16432 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16434 cat >>confdefs.h <<_ACEOF
16435 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16436 _ACEOF
16440 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16441 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16443 cat >>confdefs.h <<_ACEOF
16444 #define HAVE_STRUCT_STAT_ST_ATIM 1
16445 _ACEOF
16449 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16450 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16452 cat >>confdefs.h <<_ACEOF
16453 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16454 _ACEOF
16458 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16459 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16461 cat >>confdefs.h <<_ACEOF
16462 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16463 _ACEOF
16467 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16468 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16470 cat >>confdefs.h <<_ACEOF
16471 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16472 _ACEOF
16476 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16477 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16479 cat >>confdefs.h <<_ACEOF
16480 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16481 _ACEOF
16485 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16486 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16488 cat >>confdefs.h <<_ACEOF
16489 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16490 _ACEOF
16494 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16495 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16497 cat >>confdefs.h <<_ACEOF
16498 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16499 _ACEOF
16505 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
16506 #include <sys/types.h>
16507 #endif
16508 #ifdef HAVE_NETINET_IN_H
16509 #include <netinet/in.h>
16510 #endif
16512 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16514 cat >>confdefs.h <<_ACEOF
16515 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16516 _ACEOF
16522 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16523 #include <resolv.h>
16524 #endif
16526 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16528 cat >>confdefs.h <<_ACEOF
16529 #define HAVE_STRUCT___RES_STATE 1
16530 _ACEOF
16536 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
16537 #include <resolv.h>
16538 #endif
16540 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16542 cat >>confdefs.h <<_ACEOF
16543 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16544 _ACEOF
16550 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16551 #include <sys/types.h>
16552 #endif
16553 #ifdef HAVE_NETINET_IN_H
16554 # include <netinet/in.h>
16555 #endif
16556 #ifdef HAVE_ARPA_NAMESER_H
16557 # include <arpa/nameser.h>
16558 #endif
16560 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16562 cat >>confdefs.h <<_ACEOF
16563 #define HAVE_NS_MSG__MSG_PTR 1
16564 _ACEOF
16570 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16571 #include <sys/types.h>
16572 #endif
16573 #ifdef HAVE_NETINET_IP_H
16574 #include <netinet/ip.h>
16575 #endif
16576 #ifdef HAVE_NETINET_IP_ICMP_H
16577 #include <netinet/ip_icmp.h>
16578 #endif
16579 #ifdef HAVE_NETINET_ICMP_VAR_H
16580 #include <netinet/icmp_var.h>
16581 #endif
16583 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16585 cat >>confdefs.h <<_ACEOF
16586 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16587 _ACEOF
16593 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16594 #include <sys/types.h>
16595 #endif
16596 #ifdef HAVE_ALIAS_H
16597 #include <alias.h>
16598 #endif
16599 #ifdef HAVE_SYS_SOCKET_H
16600 #include <sys/socket.h>
16601 #endif
16602 #ifdef HAVE_SYS_SOCKETVAR_H
16603 #include <sys/socketvar.h>
16604 #endif
16605 #ifdef HAVE_SYS_TIMEOUT_H
16606 #include <sys/timeout.h>
16607 #endif
16608 #ifdef HAVE_NETINET_IN_H
16609 #include <netinet/in.h>
16610 #endif
16611 #ifdef HAVE_NETINET_IN_SYSTM_H
16612 #include <netinet/in_systm.h>
16613 #endif
16614 #ifdef HAVE_NETINET_IP_H
16615 #include <netinet/ip.h>
16616 #endif
16617 #ifdef HAVE_NETINET_IP_VAR_H
16618 #include <netinet/ip_var.h>
16619 #endif
16620 #ifdef HAVE_NETINET_IP_ICMP_H
16621 #include <netinet/ip_icmp.h>
16622 #endif
16623 #ifdef HAVE_NETINET_ICMP_VAR_H
16624 #include <netinet/icmp_var.h>
16625 #endif
16627 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16629 cat >>confdefs.h <<_ACEOF
16630 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16631 _ACEOF
16637 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16638 #include <sys/types.h>
16639 #endif
16640 #ifdef HAVE_SYS_SOCKETVAR_H
16641 #include <sys/socketvar.h>
16642 #endif
16643 #ifdef HAVE_NETINET_IN_H
16644 #include <netinet/in.h>
16645 #endif
16646 #ifdef HAVE_NETINET_IP_VAR_H
16647 #include <netinet/ip_var.h>
16648 #endif
16650 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16652 cat >>confdefs.h <<_ACEOF
16653 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16654 _ACEOF
16660 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
16661 #include <netinet/ip_var.h>
16662 #endif
16664 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16666 cat >>confdefs.h <<_ACEOF
16667 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16668 _ACEOF
16674 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16675 #include <sys/types.h>
16676 #endif
16677 #ifdef HAVE_SYS_SOCKETVAR_H
16678 #include <sys/socketvar.h>
16679 #endif
16680 #ifdef HAVE_NETINET_IN_H
16681 #include <netinet/in.h>
16682 #endif
16683 #ifdef HAVE_NETINET_TCP_H
16684 #include <netinet/tcp.h>
16685 #endif
16686 #ifdef HAVE_NETINET_TCP_VAR_H
16687 #include <netinet/tcp_var.h>
16688 #endif
16690 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16692 cat >>confdefs.h <<_ACEOF
16693 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16694 _ACEOF
16700 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
16701 #include <netinet/tcp_var.h>
16702 #endif
16704 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16706 cat >>confdefs.h <<_ACEOF
16707 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16708 _ACEOF
16714 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16715 #include <sys/types.h>
16716 #endif
16717 #ifdef HAVE_NETINET_IN_H
16718 #include <netinet/in.h>
16719 #endif
16720 #ifdef HAVE_NETINET_IP_VAR_H
16721 #include <netinet/ip_var.h>
16722 #endif
16723 #ifdef HAVE_NETINET_UDP_H
16724 #include <netinet/udp.h>
16725 #endif
16726 #ifdef HAVE_NETINET_UDP_VAR_H
16727 #include <netinet/udp_var.h>
16728 #endif
16730 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16732 cat >>confdefs.h <<_ACEOF
16733 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16734 _ACEOF
16740 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16741 #include <sys/types.h>
16742 #endif
16743 #ifdef HAVE_NET_IF_H
16744 # include <net/if.h>
16745 #endif
16747 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16749 cat >>confdefs.h <<_ACEOF
16750 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16751 _ACEOF
16757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16758 $as_echo_n "checking for timezone variable... " >&6; }
16759 if ${ac_cv_have_timezone+:} false; then :
16760 $as_echo_n "(cached) " >&6
16761 else
16762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16763 /* end confdefs.h. */
16764 #include <time.h>
16766 main ()
16768 timezone = 1
16770 return 0;
16772 _ACEOF
16773 if ac_fn_c_try_link "$LINENO"; then :
16774 ac_cv_have_timezone="yes"
16775 else
16776 ac_cv_have_timezone="no"
16778 rm -f core conftest.err conftest.$ac_objext \
16779 conftest$ac_exeext conftest.$ac_ext
16781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16782 $as_echo "$ac_cv_have_timezone" >&6; }
16783 if test "$ac_cv_have_timezone" = "yes"
16784 then
16786 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16790 $as_echo_n "checking for daylight variable... " >&6; }
16791 if ${ac_cv_have_daylight+:} false; then :
16792 $as_echo_n "(cached) " >&6
16793 else
16794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16795 /* end confdefs.h. */
16796 #include <time.h>
16798 main ()
16800 daylight = 1
16802 return 0;
16804 _ACEOF
16805 if ac_fn_c_try_link "$LINENO"; then :
16806 ac_cv_have_daylight="yes"
16807 else
16808 ac_cv_have_daylight="no"
16810 rm -f core conftest.err conftest.$ac_objext \
16811 conftest$ac_exeext conftest.$ac_ext
16813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16814 $as_echo "$ac_cv_have_daylight" >&6; }
16815 if test "$ac_cv_have_daylight" = "yes"
16816 then
16818 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16822 ac_save_LIBS="$LIBS"
16823 LIBS="$LIBS -lm"
16824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16825 $as_echo_n "checking for isfinite... " >&6; }
16826 if ${ac_cv_have_isfinite+:} false; then :
16827 $as_echo_n "(cached) " >&6
16828 else
16829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16830 /* end confdefs.h. */
16831 #define _GNU_SOURCE
16832 #include <math.h>
16834 main ()
16836 float f = 0.0; return isfinite(f)
16838 return 0;
16840 _ACEOF
16841 if ac_fn_c_try_link "$LINENO"; then :
16842 ac_cv_have_isfinite="yes"
16843 else
16844 ac_cv_have_isfinite="no"
16846 rm -f core conftest.err conftest.$ac_objext \
16847 conftest$ac_exeext conftest.$ac_ext
16849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16850 $as_echo "$ac_cv_have_isfinite" >&6; }
16851 if test "$ac_cv_have_isfinite" = "yes"
16852 then
16854 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16859 $as_echo_n "checking for isinf... " >&6; }
16860 if ${ac_cv_have_isinf+:} false; then :
16861 $as_echo_n "(cached) " >&6
16862 else
16863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16864 /* end confdefs.h. */
16865 #include <math.h>
16867 main ()
16869 float f = 0.0; return isinf(f)
16871 return 0;
16873 _ACEOF
16874 if ac_fn_c_try_link "$LINENO"; then :
16875 ac_cv_have_isinf="yes"
16876 else
16877 ac_cv_have_isinf="no"
16879 rm -f core conftest.err conftest.$ac_objext \
16880 conftest$ac_exeext conftest.$ac_ext
16882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16883 $as_echo "$ac_cv_have_isinf" >&6; }
16884 if test "$ac_cv_have_isinf" = "yes"
16885 then
16887 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16892 $as_echo_n "checking for isnan... " >&6; }
16893 if ${ac_cv_have_isnan+:} false; then :
16894 $as_echo_n "(cached) " >&6
16895 else
16896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16897 /* end confdefs.h. */
16898 #include <math.h>
16900 main ()
16902 float f = 0.0; return isnan(f)
16904 return 0;
16906 _ACEOF
16907 if ac_fn_c_try_link "$LINENO"; then :
16908 ac_cv_have_isnan="yes"
16909 else
16910 ac_cv_have_isnan="no"
16912 rm -f core conftest.err conftest.$ac_objext \
16913 conftest$ac_exeext conftest.$ac_ext
16915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16916 $as_echo "$ac_cv_have_isnan" >&6; }
16917 if test "$ac_cv_have_isnan" = "yes"
16918 then
16920 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16924 for ac_func in \
16925 asinh \
16926 asinhf \
16927 cbrt \
16928 cbrtf \
16929 erf \
16930 erff \
16931 exp2 \
16932 exp2f \
16933 llrint \
16934 llrintf \
16935 llround \
16936 llroundf \
16937 log2 \
16938 log2f \
16939 lrint \
16940 lrintf \
16941 lround \
16942 lroundf \
16943 powl \
16944 remainder \
16945 remainderf \
16946 rint \
16947 rintf \
16948 round \
16949 roundf \
16950 trunc \
16951 truncf
16953 do :
16954 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16955 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16956 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16957 cat >>confdefs.h <<_ACEOF
16958 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16959 _ACEOF
16962 done
16964 LIBS="$ac_save_LIBS"
16966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16967 $as_echo_n "checking for __builtin_clz... " >&6; }
16968 if ${ac_cv_have___builtin_clz+:} false; then :
16969 $as_echo_n "(cached) " >&6
16970 else
16971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16972 /* end confdefs.h. */
16975 main ()
16977 return __builtin_clz(1)
16979 return 0;
16981 _ACEOF
16982 if ac_fn_c_try_link "$LINENO"; then :
16983 ac_cv_have___builtin_clz="yes"
16984 else
16985 ac_cv_have___builtin_clz="no"
16987 rm -f core conftest.err conftest.$ac_objext \
16988 conftest$ac_exeext conftest.$ac_ext
16990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16991 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16992 if test "$ac_cv_have___builtin_clz" = "yes"
16993 then
16995 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17000 $as_echo_n "checking for __builtin_popcount... " >&6; }
17001 if ${ac_cv_have___builtin_popcount+:} false; then :
17002 $as_echo_n "(cached) " >&6
17003 else
17004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17005 /* end confdefs.h. */
17008 main ()
17010 return __builtin_popcount(1)
17012 return 0;
17014 _ACEOF
17015 if ac_fn_c_try_link "$LINENO"; then :
17016 ac_cv_have___builtin_popcount="yes"
17017 else
17018 ac_cv_have___builtin_popcount="no"
17020 rm -f core conftest.err conftest.$ac_objext \
17021 conftest$ac_exeext conftest.$ac_ext
17023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17024 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17025 if test "$ac_cv_have___builtin_popcount" = "yes"
17026 then
17028 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17033 case $host_cpu in
17034 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17035 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17036 if ${ac_cv_cpp_def___i386__+:} false; then :
17037 $as_echo_n "(cached) " >&6
17038 else
17039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17040 /* end confdefs.h. */
17041 #ifndef __i386__
17043 #endif
17044 _ACEOF
17045 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17046 $EGREP "yes" >/dev/null 2>&1; then :
17047 ac_cv_cpp_def___i386__=yes
17048 else
17049 ac_cv_cpp_def___i386__=no
17051 rm -f conftest*
17054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17055 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17056 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17057 CFLAGS="$CFLAGS -D__i386__"
17058 LINTFLAGS="$LINTFLAGS -D__i386__"
17059 fi ;;
17060 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17061 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17062 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17063 $as_echo_n "(cached) " >&6
17064 else
17065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17066 /* end confdefs.h. */
17067 #ifndef __x86_64__
17069 #endif
17070 _ACEOF
17071 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17072 $EGREP "yes" >/dev/null 2>&1; then :
17073 ac_cv_cpp_def___x86_64__=yes
17074 else
17075 ac_cv_cpp_def___x86_64__=no
17077 rm -f conftest*
17080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17081 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17082 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17083 CFLAGS="$CFLAGS -D__x86_64__"
17084 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17085 fi ;;
17086 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17087 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17088 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17089 $as_echo_n "(cached) " >&6
17090 else
17091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17092 /* end confdefs.h. */
17093 #ifndef __sparc64__
17095 #endif
17096 _ACEOF
17097 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17098 $EGREP "yes" >/dev/null 2>&1; then :
17099 ac_cv_cpp_def___sparc64__=yes
17100 else
17101 ac_cv_cpp_def___sparc64__=no
17103 rm -f conftest*
17106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17107 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17108 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17109 CFLAGS="$CFLAGS -D__sparc64__"
17110 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17111 fi ;;
17112 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17113 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17114 if ${ac_cv_cpp_def___sparc__+:} false; then :
17115 $as_echo_n "(cached) " >&6
17116 else
17117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17118 /* end confdefs.h. */
17119 #ifndef __sparc__
17121 #endif
17122 _ACEOF
17123 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17124 $EGREP "yes" >/dev/null 2>&1; then :
17125 ac_cv_cpp_def___sparc__=yes
17126 else
17127 ac_cv_cpp_def___sparc__=no
17129 rm -f conftest*
17132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17133 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17134 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17135 CFLAGS="$CFLAGS -D__sparc__"
17136 LINTFLAGS="$LINTFLAGS -D__sparc__"
17137 fi ;;
17138 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17139 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17140 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17141 $as_echo_n "(cached) " >&6
17142 else
17143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17144 /* end confdefs.h. */
17145 #ifndef __powerpc64__
17147 #endif
17148 _ACEOF
17149 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17150 $EGREP "yes" >/dev/null 2>&1; then :
17151 ac_cv_cpp_def___powerpc64__=yes
17152 else
17153 ac_cv_cpp_def___powerpc64__=no
17155 rm -f conftest*
17158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17159 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17160 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17161 CFLAGS="$CFLAGS -D__powerpc64__"
17162 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17163 fi ;;
17164 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17165 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17166 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17167 $as_echo_n "(cached) " >&6
17168 else
17169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17170 /* end confdefs.h. */
17171 #ifndef __powerpc__
17173 #endif
17174 _ACEOF
17175 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17176 $EGREP "yes" >/dev/null 2>&1; then :
17177 ac_cv_cpp_def___powerpc__=yes
17178 else
17179 ac_cv_cpp_def___powerpc__=no
17181 rm -f conftest*
17184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17185 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17186 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17187 CFLAGS="$CFLAGS -D__powerpc__"
17188 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17189 fi ;;
17190 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17191 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17192 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17193 $as_echo_n "(cached) " >&6
17194 else
17195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17196 /* end confdefs.h. */
17197 #ifndef __aarch64__
17199 #endif
17200 _ACEOF
17201 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17202 $EGREP "yes" >/dev/null 2>&1; then :
17203 ac_cv_cpp_def___aarch64__=yes
17204 else
17205 ac_cv_cpp_def___aarch64__=no
17207 rm -f conftest*
17210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17211 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17212 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17213 CFLAGS="$CFLAGS -D__aarch64__"
17214 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17215 fi ;;
17216 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17217 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17218 if ${ac_cv_cpp_def___arm__+:} false; then :
17219 $as_echo_n "(cached) " >&6
17220 else
17221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17222 /* end confdefs.h. */
17223 #ifndef __arm__
17225 #endif
17226 _ACEOF
17227 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17228 $EGREP "yes" >/dev/null 2>&1; then :
17229 ac_cv_cpp_def___arm__=yes
17230 else
17231 ac_cv_cpp_def___arm__=no
17233 rm -f conftest*
17236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17237 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17238 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17239 CFLAGS="$CFLAGS -D__arm__"
17240 LINTFLAGS="$LINTFLAGS -D__arm__"
17241 fi ;;
17242 esac
17244 case $host_vendor in
17245 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17246 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17247 if ${ac_cv_cpp_def___sun__+:} false; then :
17248 $as_echo_n "(cached) " >&6
17249 else
17250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17251 /* end confdefs.h. */
17252 #ifndef __sun__
17254 #endif
17255 _ACEOF
17256 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17257 $EGREP "yes" >/dev/null 2>&1; then :
17258 ac_cv_cpp_def___sun__=yes
17259 else
17260 ac_cv_cpp_def___sun__=no
17262 rm -f conftest*
17265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17266 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17267 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17268 CFLAGS="$CFLAGS -D__sun__"
17269 LINTFLAGS="$LINTFLAGS -D__sun__"
17270 fi ;;
17271 esac
17277 ac_config_commands="$ac_config_commands include/stamp-h"
17279 $as_echo_n "creating Makefile rules..." >&6
17281 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17282 SOCKET_LIBS = $SOCKET_LIBS
17283 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17284 IOKIT_LIBS = $IOKIT_LIBS
17285 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17286 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17287 CORESERVICES_LIBS = $CORESERVICES_LIBS
17288 APPKIT_LIBS = $APPKIT_LIBS
17289 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17290 SECURITY_LIBS = $SECURITY_LIBS
17291 COREAUDIO_LIBS = $COREAUDIO_LIBS
17292 OPENAL_LIBS = $OPENAL_LIBS
17293 OPENCL_LIBS = $OPENCL_LIBS
17294 QUICKTIME_LIBS = $QUICKTIME_LIBS
17295 CARBON_LIBS = $CARBON_LIBS
17296 PTHREAD_LIBS = $PTHREAD_LIBS
17297 X_CFLAGS = $X_CFLAGS
17298 X_PRE_LIBS = $X_PRE_LIBS
17299 X_LIBS = $X_LIBS
17300 X_EXTRA_LIBS = $X_EXTRA_LIBS
17301 PCAP_LIBS = $PCAP_LIBS
17302 XML2_CFLAGS = $XML2_CFLAGS
17303 XML2_LIBS = $XML2_LIBS
17304 XSLT_CFLAGS = $XSLT_CFLAGS
17305 XSLT_LIBS = $XSLT_LIBS
17306 DBUS_CFLAGS = $DBUS_CFLAGS
17307 DBUS_LIBS = $DBUS_LIBS
17308 HAL_CFLAGS = $HAL_CFLAGS
17309 HAL_LIBS = $HAL_LIBS
17310 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17311 GNUTLS_LIBS = $GNUTLS_LIBS
17312 SANE_CFLAGS = $SANE_CFLAGS
17313 SANE_LIBS = $SANE_LIBS
17314 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17315 GPHOTO2_LIBS = $GPHOTO2_LIBS
17316 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17317 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17318 RESOLV_LIBS = $RESOLV_LIBS
17319 LCMS2_CFLAGS = $LCMS2_CFLAGS
17320 LCMS2_LIBS = $LCMS2_LIBS
17321 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17322 FREETYPE_LIBS = $FREETYPE_LIBS
17323 Z_LIBS = $Z_LIBS
17324 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17325 PULSE_CFLAGS = $PULSE_CFLAGS
17326 PULSE_LIBS = $PULSE_LIBS
17327 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17328 GSTREAMER_LIBS = $GSTREAMER_LIBS
17329 ALSA_LIBS = $ALSA_LIBS
17330 OSS4_CFLAGS = $OSS4_CFLAGS
17331 CAPI20_CFLAGS = $CAPI20_CFLAGS
17332 CAPI20_LIBS = $CAPI20_LIBS
17333 CUPS_CFLAGS = $CUPS_CFLAGS
17334 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17335 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17336 JPEG_CFLAGS = $JPEG_CFLAGS
17337 JPEG_LIBS = $JPEG_LIBS
17338 PNG_CFLAGS = $PNG_CFLAGS
17339 PNG_LIBS = $PNG_LIBS
17340 TIFF_CFLAGS = $TIFF_CFLAGS
17341 TIFF_LIBS = $TIFF_LIBS
17342 MPG123_CFLAGS = $MPG123_CFLAGS
17343 MPG123_LIBS = $MPG123_LIBS
17344 KSTAT_LIBS = $KSTAT_LIBS
17345 PROCSTAT_LIBS = $PROCSTAT_LIBS
17346 NETAPI_CFLAGS = $NETAPI_CFLAGS
17347 NETAPI_LIBS = $NETAPI_LIBS
17348 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17349 DL_LIBS = $DL_LIBS
17350 POLL_LIBS = $POLL_LIBS
17351 RT_LIBS = $RT_LIBS
17352 LDAP_LIBS = $LDAP_LIBS
17357 wine_fn_append_rule "
17358 # Rules automatically generated by configure
17360 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17362 .INIT: Makefile
17363 .MAKEFILEDEPS:
17364 all: Makefile
17365 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17366 @./config.status Make.tmp Makefile
17367 depend: \$(MAKEDEP) dummy
17368 \$(MAKEDEP)"
17370 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17371 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17373 if test "x$enable_fonts" != xno; then
17374 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17375 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17376 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17377 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17378 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17379 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17381 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17382 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17383 ac_config_links="$ac_config_links wine:tools/winewrapper"
17384 wine_fn_config_symlink wine
17385 if test "x$enable_win64" != xno; then
17386 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17387 wine_fn_config_symlink wine64
17390 wine_fn_config_dll acledit enable_acledit
17391 wine_fn_config_dll aclui enable_aclui implib
17392 wine_fn_config_dll activeds enable_activeds implib
17393 wine_fn_config_dll actxprxy enable_actxprxy clean
17394 wine_fn_config_lib adsiid
17395 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17396 wine_fn_config_test dlls/advapi32/tests advapi32_test
17397 wine_fn_config_dll advpack enable_advpack implib
17398 wine_fn_config_test dlls/advpack/tests advpack_test
17399 wine_fn_config_dll amstream enable_amstream clean
17400 wine_fn_config_test dlls/amstream/tests amstream_test
17401 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17402 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17403 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17404 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17405 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17406 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17407 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17408 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17409 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17410 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17411 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17412 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17413 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17414 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17415 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17416 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17417 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17418 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17419 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17420 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17421 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17422 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17423 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17424 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17425 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17426 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17427 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17428 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17429 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17430 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17431 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17432 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17433 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17434 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17435 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17436 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17437 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17438 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17439 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17440 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17441 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17442 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17443 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17444 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17445 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17446 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17447 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17448 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17449 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17450 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17451 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17452 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17453 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17454 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17455 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17456 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17457 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17458 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17459 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17460 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17461 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17462 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17463 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17464 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17465 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17466 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17467 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17468 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17469 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17470 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17471 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17472 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17473 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17474 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17475 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17476 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17477 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17478 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17479 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17480 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17481 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17482 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17483 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17484 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17485 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17486 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17487 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17488 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17489 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17490 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17491 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17492 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17493 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17494 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17495 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17496 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17497 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17498 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17499 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17500 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17501 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17502 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17503 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17504 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17505 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17506 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17507 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17508 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17509 wine_fn_config_dll apphelp enable_apphelp
17510 wine_fn_config_test dlls/apphelp/tests apphelp_test
17511 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17512 wine_fn_config_dll atl enable_atl clean,implib
17513 wine_fn_config_test dlls/atl/tests atl_test
17514 wine_fn_config_dll atl100 enable_atl100 clean,implib
17515 wine_fn_config_test dlls/atl100/tests atl100_test
17516 wine_fn_config_dll atl110 enable_atl110 clean
17517 wine_fn_config_dll atl80 enable_atl80 clean,implib
17518 wine_fn_config_test dlls/atl80/tests atl80_test
17519 wine_fn_config_dll atl90 enable_atl90 clean
17520 wine_fn_config_dll authz enable_authz
17521 wine_fn_config_dll avicap32 enable_avicap32 implib
17522 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
17523 wine_fn_config_test dlls/avifil32/tests avifil32_test
17524 wine_fn_config_dll avifile.dll16 enable_win16
17525 wine_fn_config_dll avrt enable_avrt implib
17526 wine_fn_config_dll bcrypt enable_bcrypt implib
17527 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17528 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17529 wine_fn_config_dll browseui enable_browseui clean
17530 wine_fn_config_test dlls/browseui/tests browseui_test
17531 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17532 wine_fn_config_dll cabinet enable_cabinet implib
17533 wine_fn_config_test dlls/cabinet/tests cabinet_test
17534 wine_fn_config_dll capi2032 enable_capi2032 implib
17535 wine_fn_config_dll cards enable_cards implib
17536 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17537 wine_fn_config_dll clusapi enable_clusapi implib
17538 wine_fn_config_dll combase enable_combase
17539 wine_fn_config_test dlls/combase/tests combase_test
17540 wine_fn_config_dll comcat enable_comcat
17541 wine_fn_config_test dlls/comcat/tests comcat_test
17542 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
17543 wine_fn_config_test dlls/comctl32/tests comctl32_test
17544 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
17545 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17546 wine_fn_config_dll comm.drv16 enable_win16
17547 wine_fn_config_dll commdlg.dll16 enable_win16
17548 wine_fn_config_dll compobj.dll16 enable_win16
17549 wine_fn_config_dll compstui enable_compstui implib
17550 wine_fn_config_dll comsvcs enable_comsvcs implib
17551 wine_fn_config_dll connect enable_connect
17552 wine_fn_config_dll credui enable_credui clean,implib
17553 wine_fn_config_test dlls/credui/tests credui_test
17554 wine_fn_config_dll crtdll enable_crtdll
17555 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
17556 wine_fn_config_test dlls/crypt32/tests crypt32_test
17557 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17558 wine_fn_config_dll cryptdll enable_cryptdll implib
17559 wine_fn_config_dll cryptext enable_cryptext
17560 wine_fn_config_dll cryptnet enable_cryptnet implib
17561 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17562 wine_fn_config_dll cryptui enable_cryptui clean,implib
17563 wine_fn_config_test dlls/cryptui/tests cryptui_test
17564 wine_fn_config_dll ctapi32 enable_ctapi32
17565 wine_fn_config_dll ctl3d.dll16 enable_win16
17566 wine_fn_config_dll ctl3d32 enable_ctl3d32
17567 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17568 wine_fn_config_dll d2d1 enable_d2d1 implib
17569 wine_fn_config_test dlls/d2d1/tests d2d1_test
17570 wine_fn_config_dll d3d10 enable_d3d10 implib
17571 wine_fn_config_test dlls/d3d10/tests d3d10_test
17572 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17573 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17574 wine_fn_config_dll d3d10core enable_d3d10core implib
17575 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17576 wine_fn_config_dll d3d11 enable_d3d11 implib
17577 wine_fn_config_test dlls/d3d11/tests d3d11_test
17578 wine_fn_config_dll d3d8 enable_d3d8 implib
17579 wine_fn_config_test dlls/d3d8/tests d3d8_test
17580 wine_fn_config_dll d3d9 enable_d3d9 implib
17581 wine_fn_config_test dlls/d3d9/tests d3d9_test
17582 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17583 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17584 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17585 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17586 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17587 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17588 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17589 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17590 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17591 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17592 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17593 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17594 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17595 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17596 wine_fn_config_dll d3dim enable_d3dim
17597 wine_fn_config_dll d3drm enable_d3drm implib
17598 wine_fn_config_test dlls/d3drm/tests d3drm_test
17599 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17600 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17601 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17602 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17603 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17604 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17605 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17606 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17607 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17608 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17609 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17610 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
17611 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17612 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
17613 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17614 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17615 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17616 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17617 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17618 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17619 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17620 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17621 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17622 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17623 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17624 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17625 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17626 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17627 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17628 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17629 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17630 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17631 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17632 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17633 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17634 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17635 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17636 wine_fn_config_dll davclnt enable_davclnt
17637 wine_fn_config_dll dbgeng enable_dbgeng implib
17638 wine_fn_config_dll dbghelp enable_dbghelp implib
17639 wine_fn_config_dll dciman32 enable_dciman32 implib
17640 wine_fn_config_dll ddeml.dll16 enable_win16
17641 wine_fn_config_dll ddraw enable_ddraw clean,implib
17642 wine_fn_config_test dlls/ddraw/tests ddraw_test
17643 wine_fn_config_dll ddrawex enable_ddrawex clean
17644 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17645 wine_fn_config_dll devenum enable_devenum clean
17646 wine_fn_config_test dlls/devenum/tests devenum_test
17647 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17648 wine_fn_config_dll difxapi enable_difxapi
17649 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
17650 wine_fn_config_test dlls/dinput/tests dinput_test
17651 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17652 wine_fn_config_test dlls/dinput8/tests dinput8_test
17653 wine_fn_config_dll dispdib.dll16 enable_win16
17654 wine_fn_config_dll dispex enable_dispex clean
17655 wine_fn_config_test dlls/dispex/tests dispex_test
17656 wine_fn_config_dll display.drv16 enable_win16
17657 wine_fn_config_dll dmband enable_dmband clean
17658 wine_fn_config_test dlls/dmband/tests dmband_test
17659 wine_fn_config_dll dmcompos enable_dmcompos clean
17660 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17661 wine_fn_config_dll dmime enable_dmime clean
17662 wine_fn_config_test dlls/dmime/tests dmime_test
17663 wine_fn_config_dll dmloader enable_dmloader clean
17664 wine_fn_config_test dlls/dmloader/tests dmloader_test
17665 wine_fn_config_dll dmscript enable_dmscript clean
17666 wine_fn_config_test dlls/dmscript/tests dmscript_test
17667 wine_fn_config_dll dmstyle enable_dmstyle clean
17668 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17669 wine_fn_config_dll dmsynth enable_dmsynth clean
17670 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17671 wine_fn_config_dll dmusic enable_dmusic clean
17672 wine_fn_config_test dlls/dmusic/tests dmusic_test
17673 wine_fn_config_dll dmusic32 enable_dmusic32
17674 wine_fn_config_dll dnsapi enable_dnsapi implib
17675 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17676 wine_fn_config_dll dplay enable_dplay
17677 wine_fn_config_dll dplayx enable_dplayx clean,implib
17678 wine_fn_config_test dlls/dplayx/tests dplayx_test
17679 wine_fn_config_dll dpnaddr enable_dpnaddr
17680 wine_fn_config_dll dpnet enable_dpnet clean,implib
17681 wine_fn_config_test dlls/dpnet/tests dpnet_test
17682 wine_fn_config_dll dpnhpast enable_dpnhpast
17683 wine_fn_config_dll dpnlobby enable_dpnlobby
17684 wine_fn_config_dll dpvoice enable_dpvoice clean
17685 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17686 wine_fn_config_dll dpwsockx enable_dpwsockx
17687 wine_fn_config_dll drmclien enable_drmclien
17688 wine_fn_config_dll dsound enable_dsound clean,implib
17689 wine_fn_config_test dlls/dsound/tests dsound_test
17690 wine_fn_config_dll dssenh enable_dssenh
17691 wine_fn_config_test dlls/dssenh/tests dssenh_test
17692 wine_fn_config_dll dswave enable_dswave clean
17693 wine_fn_config_test dlls/dswave/tests dswave_test
17694 wine_fn_config_dll dwmapi enable_dwmapi implib
17695 wine_fn_config_dll dwrite enable_dwrite implib
17696 wine_fn_config_test dlls/dwrite/tests dwrite_test
17697 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17698 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17699 wine_fn_config_lib dxerr8
17700 wine_fn_config_lib dxerr9
17701 wine_fn_config_dll dxgi enable_dxgi implib
17702 wine_fn_config_test dlls/dxgi/tests dxgi_test
17703 wine_fn_config_lib dxguid
17704 wine_fn_config_dll dxva2 enable_dxva2
17705 wine_fn_config_dll esent enable_esent
17706 wine_fn_config_dll evr enable_evr
17707 wine_fn_config_dll explorerframe enable_explorerframe clean
17708 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17709 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17710 wine_fn_config_dll faultrep enable_faultrep implib
17711 wine_fn_config_test dlls/faultrep/tests faultrep_test
17712 wine_fn_config_dll fltlib enable_fltlib
17713 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17714 wine_fn_config_dll fntcache enable_fntcache
17715 wine_fn_config_dll fontsub enable_fontsub
17716 wine_fn_config_dll fusion enable_fusion
17717 wine_fn_config_test dlls/fusion/tests fusion_test
17718 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17719 wine_fn_config_dll gameux enable_gameux clean
17720 wine_fn_config_test dlls/gameux/tests gameux_test
17721 wine_fn_config_dll gdi.exe16 enable_win16
17722 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
17723 wine_fn_config_test dlls/gdi32/tests gdi32_test
17724 wine_fn_config_dll gdiplus enable_gdiplus implib
17725 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17726 wine_fn_config_dll glu32 enable_glu32 implib
17727 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
17728 wine_fn_config_dll gpkcsp enable_gpkcsp
17729 wine_fn_config_dll hal enable_hal
17730 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
17731 wine_fn_config_dll hid enable_hid implib
17732 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17733 wine_fn_config_dll hlink enable_hlink clean,implib
17734 wine_fn_config_test dlls/hlink/tests hlink_test
17735 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17736 wine_fn_config_dll httpapi enable_httpapi
17737 wine_fn_config_dll iccvid enable_iccvid clean
17738 wine_fn_config_dll icmp enable_icmp
17739 wine_fn_config_dll ieframe enable_ieframe clean,implib
17740 wine_fn_config_test dlls/ieframe/tests ieframe_test
17741 wine_fn_config_dll ifsmgr.vxd enable_win16
17742 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17743 wine_fn_config_dll imagehlp enable_imagehlp implib
17744 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17745 wine_fn_config_dll imm.dll16 enable_win16
17746 wine_fn_config_dll imm32 enable_imm32 implib
17747 wine_fn_config_test dlls/imm32/tests imm32_test
17748 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17749 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17750 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
17751 wine_fn_config_dll inetmib1 enable_inetmib1
17752 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17753 wine_fn_config_dll infosoft enable_infosoft clean
17754 wine_fn_config_test dlls/infosoft/tests infosoft_test
17755 wine_fn_config_dll initpki enable_initpki
17756 wine_fn_config_dll inkobj enable_inkobj
17757 wine_fn_config_dll inseng enable_inseng clean
17758 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17759 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17760 wine_fn_config_dll irprops.cpl enable_irprops_cpl
17761 wine_fn_config_dll itircl enable_itircl
17762 wine_fn_config_dll itss enable_itss clean
17763 wine_fn_config_test dlls/itss/tests itss_test
17764 wine_fn_config_dll joy.cpl enable_joy_cpl clean
17765 wine_fn_config_dll jscript enable_jscript clean
17766 wine_fn_config_test dlls/jscript/tests jscript_test
17767 wine_fn_config_dll jsproxy enable_jsproxy implib
17768 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
17769 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
17770 wine_fn_config_test dlls/kernel32/tests kernel32_test
17771 wine_fn_config_dll kernelbase enable_kernelbase
17772 wine_fn_config_dll keyboard.drv16 enable_win16
17773 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17774 wine_fn_config_dll ksuser enable_ksuser
17775 wine_fn_config_dll ktmw32 enable_ktmw32
17776 wine_fn_config_dll loadperf enable_loadperf implib
17777 wine_fn_config_dll localspl enable_localspl clean
17778 wine_fn_config_test dlls/localspl/tests localspl_test
17779 wine_fn_config_dll localui enable_localui clean
17780 wine_fn_config_test dlls/localui/tests localui_test
17781 wine_fn_config_dll lz32 enable_lz32 implib
17782 wine_fn_config_test dlls/lz32/tests lz32_test
17783 wine_fn_config_dll lzexpand.dll16 enable_win16
17784 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
17785 wine_fn_config_test dlls/mapi32/tests mapi32_test
17786 wine_fn_config_dll mapistub enable_mapistub
17787 wine_fn_config_dll mciavi32 enable_mciavi32
17788 wine_fn_config_dll mcicda enable_mcicda
17789 wine_fn_config_dll mciqtz32 enable_mciqtz32
17790 wine_fn_config_dll mciseq enable_mciseq
17791 wine_fn_config_dll mciwave enable_mciwave
17792 wine_fn_config_dll mf enable_mf
17793 wine_fn_config_dll mfplat enable_mfplat
17794 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17795 wine_fn_config_dll mgmtapi enable_mgmtapi
17796 wine_fn_config_dll midimap enable_midimap
17797 wine_fn_config_dll mlang enable_mlang clean,implib
17798 wine_fn_config_test dlls/mlang/tests mlang_test
17799 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17800 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17801 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17802 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17803 wine_fn_config_dll mmdevldr.vxd enable_win16
17804 wine_fn_config_dll mmsystem.dll16 enable_win16
17805 wine_fn_config_dll monodebg.vxd enable_win16
17806 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17807 wine_fn_config_dll mouse.drv16 enable_win16
17808 wine_fn_config_dll mpr enable_mpr clean,implib
17809 wine_fn_config_test dlls/mpr/tests mpr_test
17810 wine_fn_config_dll mprapi enable_mprapi implib
17811 wine_fn_config_dll msacm.dll16 enable_win16
17812 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17813 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
17814 wine_fn_config_test dlls/msacm32/tests msacm32_test
17815 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17816 wine_fn_config_dll msasn1 enable_msasn1 implib
17817 wine_fn_config_dll mscat32 enable_mscat32
17818 wine_fn_config_dll mscms enable_mscms implib
17819 wine_fn_config_test dlls/mscms/tests mscms_test
17820 wine_fn_config_dll mscoree enable_mscoree clean
17821 wine_fn_config_test dlls/mscoree/tests mscoree_test
17822 wine_fn_config_dll msctf enable_msctf clean
17823 wine_fn_config_test dlls/msctf/tests msctf_test
17824 wine_fn_config_dll msctfp enable_msctfp clean
17825 wine_fn_config_dll msdaps enable_msdaps clean
17826 wine_fn_config_dll msdelta enable_msdelta
17827 wine_fn_config_dll msdmo enable_msdmo implib
17828 wine_fn_config_test dlls/msdmo/tests msdmo_test
17829 wine_fn_config_dll msdrm enable_msdrm
17830 wine_fn_config_dll msftedit enable_msftedit
17831 wine_fn_config_dll msg711.acm enable_msg711_acm
17832 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17833 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17834 wine_fn_config_dll mshtml enable_mshtml clean,implib
17835 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17836 wine_fn_config_dll msi enable_msi clean,implib
17837 wine_fn_config_test dlls/msi/tests msi_test
17838 wine_fn_config_dll msident enable_msident clean
17839 wine_fn_config_dll msimg32 enable_msimg32 implib
17840 wine_fn_config_dll msimsg enable_msimsg
17841 wine_fn_config_dll msimtf enable_msimtf clean
17842 wine_fn_config_dll msisip enable_msisip
17843 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17844 wine_fn_config_dll msls31 enable_msls31
17845 wine_fn_config_dll msnet32 enable_msnet32
17846 wine_fn_config_dll mspatcha enable_mspatcha implib
17847 wine_fn_config_dll msrle32 enable_msrle32 clean
17848 wine_fn_config_test dlls/msrle32/tests msrle32_test
17849 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
17850 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
17851 wine_fn_config_dll mssign32 enable_mssign32
17852 wine_fn_config_dll mssip32 enable_mssip32
17853 wine_fn_config_dll mstask enable_mstask clean
17854 wine_fn_config_test dlls/mstask/tests mstask_test
17855 wine_fn_config_dll msvcirt enable_msvcirt
17856 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
17857 wine_fn_config_dll msvcm80 enable_msvcm80
17858 wine_fn_config_dll msvcm90 enable_msvcm90
17859 wine_fn_config_dll msvcp100 enable_msvcp100
17860 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17861 wine_fn_config_dll msvcp110 enable_msvcp110
17862 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
17863 wine_fn_config_dll msvcp120 enable_msvcp120
17864 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
17865 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17866 wine_fn_config_dll msvcp60 enable_msvcp60
17867 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17868 wine_fn_config_dll msvcp70 enable_msvcp70
17869 wine_fn_config_dll msvcp71 enable_msvcp71
17870 wine_fn_config_dll msvcp80 enable_msvcp80
17871 wine_fn_config_dll msvcp90 enable_msvcp90
17872 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17873 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17874 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17875 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17876 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17877 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17878 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17879 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17880 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17881 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17882 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17883 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17884 wine_fn_config_dll msvcrt enable_msvcrt implib
17885 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17886 wine_fn_config_dll msvcrt20 enable_msvcrt20
17887 wine_fn_config_dll msvcrt40 enable_msvcrt40
17888 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17889 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17890 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
17891 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17892 wine_fn_config_dll msvidc32 enable_msvidc32 clean
17893 wine_fn_config_dll msvideo.dll16 enable_win16
17894 wine_fn_config_dll mswsock enable_mswsock implib
17895 wine_fn_config_dll msxml enable_msxml clean
17896 wine_fn_config_dll msxml2 enable_msxml2 clean
17897 wine_fn_config_dll msxml3 enable_msxml3 clean
17898 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17899 wine_fn_config_dll msxml4 enable_msxml4 clean
17900 wine_fn_config_dll msxml6 enable_msxml6 clean
17901 wine_fn_config_dll ncrypt enable_ncrypt
17902 wine_fn_config_dll nddeapi enable_nddeapi implib
17903 wine_fn_config_dll ndis.sys enable_ndis_sys
17904 wine_fn_config_dll netapi32 enable_netapi32 implib
17905 wine_fn_config_test dlls/netapi32/tests netapi32_test
17906 wine_fn_config_dll netcfgx enable_netcfgx clean
17907 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17908 wine_fn_config_dll netprofm enable_netprofm clean
17909 wine_fn_config_test dlls/netprofm/tests netprofm_test
17910 wine_fn_config_dll newdev enable_newdev implib
17911 wine_fn_config_dll normaliz enable_normaliz implib
17912 wine_fn_config_dll npmshtml enable_npmshtml
17913 wine_fn_config_dll npptools enable_npptools
17914 wine_fn_config_dll ntdll enable_ntdll implib
17915 wine_fn_config_test dlls/ntdll/tests ntdll_test
17916 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17917 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17918 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
17919 wine_fn_config_dll ntprint enable_ntprint
17920 wine_fn_config_test dlls/ntprint/tests ntprint_test
17921 wine_fn_config_dll objsel enable_objsel clean
17922 wine_fn_config_dll odbc32 enable_odbc32 implib
17923 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17924 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17925 wine_fn_config_dll odbccu32 enable_odbccu32
17926 wine_fn_config_dll ole2.dll16 enable_win16
17927 wine_fn_config_dll ole2conv.dll16 enable_win16
17928 wine_fn_config_dll ole2disp.dll16 enable_win16
17929 wine_fn_config_dll ole2nls.dll16 enable_win16
17930 wine_fn_config_dll ole2prox.dll16 enable_win16
17931 wine_fn_config_dll ole2thk.dll16 enable_win16
17932 wine_fn_config_dll ole32 enable_ole32 clean,implib
17933 wine_fn_config_test dlls/ole32/tests ole32_test
17934 wine_fn_config_dll oleacc enable_oleacc clean,implib
17935 wine_fn_config_test dlls/oleacc/tests oleacc_test
17936 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
17937 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17938 wine_fn_config_dll olecli.dll16 enable_win16
17939 wine_fn_config_dll olecli32 enable_olecli32 implib
17940 wine_fn_config_dll oledb32 enable_oledb32 clean
17941 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17942 wine_fn_config_dll oledlg enable_oledlg clean,implib
17943 wine_fn_config_test dlls/oledlg/tests oledlg_test
17944 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
17945 wine_fn_config_dll olesvr.dll16 enable_win16
17946 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17947 wine_fn_config_dll olethk32 enable_olethk32
17948 wine_fn_config_dll openal32 enable_openal32
17949 wine_fn_config_dll opencl enable_opencl
17950 wine_fn_config_dll opengl32 enable_opengl32 implib
17951 wine_fn_config_test dlls/opengl32/tests opengl32_test
17952 wine_fn_config_dll packager enable_packager clean
17953 wine_fn_config_test dlls/packager/tests packager_test
17954 wine_fn_config_dll pdh enable_pdh implib
17955 wine_fn_config_test dlls/pdh/tests pdh_test
17956 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17957 wine_fn_config_dll pidgen enable_pidgen
17958 wine_fn_config_dll powrprof enable_powrprof implib
17959 wine_fn_config_dll printui enable_printui
17960 wine_fn_config_dll prntvpt enable_prntvpt
17961 wine_fn_config_dll propsys enable_propsys clean,implib
17962 wine_fn_config_test dlls/propsys/tests propsys_test
17963 wine_fn_config_dll psapi enable_psapi implib
17964 wine_fn_config_test dlls/psapi/tests psapi_test
17965 wine_fn_config_dll pstorec enable_pstorec clean
17966 wine_fn_config_dll qcap enable_qcap
17967 wine_fn_config_test dlls/qcap/tests qcap_test
17968 wine_fn_config_dll qedit enable_qedit clean
17969 wine_fn_config_test dlls/qedit/tests qedit_test
17970 wine_fn_config_dll qmgr enable_qmgr clean
17971 wine_fn_config_test dlls/qmgr/tests qmgr_test
17972 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17973 wine_fn_config_dll quartz enable_quartz clean,implib
17974 wine_fn_config_test dlls/quartz/tests quartz_test clean
17975 wine_fn_config_dll query enable_query
17976 wine_fn_config_dll rasapi16.dll16 enable_win16
17977 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17978 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17979 wine_fn_config_dll rasdlg enable_rasdlg implib
17980 wine_fn_config_dll regapi enable_regapi
17981 wine_fn_config_dll resutils enable_resutils implib
17982 wine_fn_config_dll riched20 enable_riched20 clean,implib
17983 wine_fn_config_test dlls/riched20/tests riched20_test
17984 wine_fn_config_dll riched32 enable_riched32
17985 wine_fn_config_test dlls/riched32/tests riched32_test
17986 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17987 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17988 wine_fn_config_dll rsabase enable_rsabase
17989 wine_fn_config_dll rsaenh enable_rsaenh implib
17990 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17991 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17992 wine_fn_config_dll rtutils enable_rtutils implib
17993 wine_fn_config_dll samlib enable_samlib
17994 wine_fn_config_dll sane.ds enable_sane_ds clean
17995 wine_fn_config_dll scarddlg enable_scarddlg
17996 wine_fn_config_dll sccbase enable_sccbase
17997 wine_fn_config_dll schannel enable_schannel
17998 wine_fn_config_test dlls/schannel/tests schannel_test
17999 wine_fn_config_dll schedsvc enable_schedsvc clean
18000 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18001 wine_fn_config_dll scrrun enable_scrrun clean
18002 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18003 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18004 wine_fn_config_dll secur32 enable_secur32 implib
18005 wine_fn_config_test dlls/secur32/tests secur32_test
18006 wine_fn_config_dll security enable_security
18007 wine_fn_config_dll sensapi enable_sensapi implib
18008 wine_fn_config_dll serialui enable_serialui clean
18009 wine_fn_config_test dlls/serialui/tests serialui_test
18010 wine_fn_config_dll setupapi enable_setupapi clean,implib
18011 wine_fn_config_test dlls/setupapi/tests setupapi_test
18012 wine_fn_config_dll setupx.dll16 enable_win16
18013 wine_fn_config_dll sfc enable_sfc implib
18014 wine_fn_config_dll sfc_os enable_sfc_os implib
18015 wine_fn_config_dll shdoclc enable_shdoclc clean
18016 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18017 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18018 wine_fn_config_dll shell.dll16 enable_win16
18019 wine_fn_config_dll shell32 enable_shell32 clean,implib
18020 wine_fn_config_test dlls/shell32/tests shell32_test
18021 wine_fn_config_dll shfolder enable_shfolder implib
18022 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18023 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18024 wine_fn_config_dll slbcsp enable_slbcsp
18025 wine_fn_config_dll slc enable_slc implib
18026 wine_fn_config_test dlls/slc/tests slc_test
18027 wine_fn_config_dll snmpapi enable_snmpapi implib
18028 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18029 wine_fn_config_dll softpub enable_softpub
18030 wine_fn_config_dll sound.drv16 enable_win16
18031 wine_fn_config_dll spoolss enable_spoolss implib
18032 wine_fn_config_test dlls/spoolss/tests spoolss_test
18033 wine_fn_config_dll sspicli enable_sspicli
18034 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18035 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18036 wine_fn_config_dll sti enable_sti clean,implib
18037 wine_fn_config_test dlls/sti/tests sti_test
18038 wine_fn_config_dll storage.dll16 enable_win16
18039 wine_fn_config_dll stress.dll16 enable_win16
18040 wine_fn_config_lib strmbase
18041 wine_fn_config_lib strmiids
18042 wine_fn_config_dll svrapi enable_svrapi
18043 wine_fn_config_dll sxs enable_sxs implib
18044 wine_fn_config_test dlls/sxs/tests sxs_test
18045 wine_fn_config_dll system.drv16 enable_win16
18046 wine_fn_config_dll t2embed enable_t2embed implib
18047 wine_fn_config_test dlls/t2embed/tests t2embed_test
18048 wine_fn_config_dll tapi32 enable_tapi32 implib
18049 wine_fn_config_dll taskschd enable_taskschd clean
18050 wine_fn_config_test dlls/taskschd/tests taskschd_test
18051 wine_fn_config_dll tdi.sys enable_tdi_sys
18052 wine_fn_config_dll toolhelp.dll16 enable_win16
18053 wine_fn_config_dll traffic enable_traffic
18054 wine_fn_config_dll twain.dll16 enable_win16
18055 wine_fn_config_dll twain_32 enable_twain_32
18056 wine_fn_config_test dlls/twain_32/tests twain_32_test
18057 wine_fn_config_dll typelib.dll16 enable_win16
18058 wine_fn_config_dll ucrtbase enable_ucrtbase
18059 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18060 wine_fn_config_dll unicows enable_unicows implib
18061 wine_fn_config_dll updspapi enable_updspapi
18062 wine_fn_config_dll url enable_url implib
18063 wine_fn_config_dll urlmon enable_urlmon clean,implib
18064 wine_fn_config_test dlls/urlmon/tests urlmon_test
18065 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18066 wine_fn_config_dll user.exe16 enable_win16
18067 wine_fn_config_dll user32 enable_user32 clean,implib
18068 wine_fn_config_test dlls/user32/tests user32_test
18069 wine_fn_config_dll userenv enable_userenv implib
18070 wine_fn_config_test dlls/userenv/tests userenv_test
18071 wine_fn_config_dll usp10 enable_usp10 implib
18072 wine_fn_config_test dlls/usp10/tests usp10_test
18073 wine_fn_config_lib uuid
18074 wine_fn_config_dll uxtheme enable_uxtheme implib
18075 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18076 wine_fn_config_dll vbscript enable_vbscript clean
18077 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18078 wine_fn_config_dll vcomp enable_vcomp
18079 wine_fn_config_test dlls/vcomp/tests vcomp_test
18080 wine_fn_config_dll vcomp100 enable_vcomp100
18081 wine_fn_config_dll vcomp110 enable_vcomp110
18082 wine_fn_config_dll vcomp120 enable_vcomp120
18083 wine_fn_config_dll vcomp90 enable_vcomp90
18084 wine_fn_config_dll vcruntime140 enable_vcruntime140
18085 wine_fn_config_dll vdhcp.vxd enable_win16
18086 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18087 wine_fn_config_dll ver.dll16 enable_win16
18088 wine_fn_config_dll version enable_version implib
18089 wine_fn_config_test dlls/version/tests version_test
18090 wine_fn_config_dll vmm.vxd enable_win16
18091 wine_fn_config_dll vnbt.vxd enable_win16
18092 wine_fn_config_dll vnetbios.vxd enable_win16
18093 wine_fn_config_dll vssapi enable_vssapi
18094 wine_fn_config_dll vtdapi.vxd enable_win16
18095 wine_fn_config_dll vwin32.vxd enable_win16
18096 wine_fn_config_dll w32skrnl enable_win16
18097 wine_fn_config_dll w32sys.dll16 enable_win16
18098 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18099 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18100 wine_fn_config_dll wbemprox enable_wbemprox clean
18101 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18102 wine_fn_config_dll webservices enable_webservices implib
18103 wine_fn_config_test dlls/webservices/tests webservices_test
18104 wine_fn_config_dll wer enable_wer implib
18105 wine_fn_config_test dlls/wer/tests wer_test
18106 wine_fn_config_dll wevtapi enable_wevtapi
18107 wine_fn_config_dll wiaservc enable_wiaservc clean
18108 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18109 wine_fn_config_dll wimgapi enable_wimgapi
18110 wine_fn_config_dll win32s16.dll16 enable_win16
18111 wine_fn_config_dll win87em.dll16 enable_win16
18112 wine_fn_config_dll winaspi.dll16 enable_win16
18113 wine_fn_config_dll windebug.dll16 enable_win16
18114 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18115 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18116 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18117 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18118 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18119 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18120 wine_fn_config_lib winecrt0
18121 wine_fn_config_dll wined3d enable_wined3d implib
18122 wine_fn_config_dll winegstreamer enable_winegstreamer
18123 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18124 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18125 wine_fn_config_dll winemapi enable_winemapi
18126 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18127 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18128 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18129 wine_fn_config_dll wineps16.drv16 enable_win16
18130 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18131 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18132 wine_fn_config_dll winex11.drv enable_winex11_drv
18133 wine_fn_config_dll wing.dll16 enable_win16
18134 wine_fn_config_dll wing32 enable_wing32
18135 wine_fn_config_dll winhttp enable_winhttp clean,implib
18136 wine_fn_config_test dlls/winhttp/tests winhttp_test
18137 wine_fn_config_dll wininet enable_wininet clean,implib
18138 wine_fn_config_test dlls/wininet/tests wininet_test
18139 wine_fn_config_dll winmm enable_winmm clean,implib
18140 wine_fn_config_test dlls/winmm/tests winmm_test
18141 wine_fn_config_dll winnls.dll16 enable_win16
18142 wine_fn_config_dll winnls32 enable_winnls32 implib
18143 wine_fn_config_dll winscard enable_winscard implib
18144 wine_fn_config_dll winsock.dll16 enable_win16
18145 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18146 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18147 wine_fn_config_dll winsta enable_winsta
18148 wine_fn_config_dll wintab.dll16 enable_win16
18149 wine_fn_config_dll wintab32 enable_wintab32 implib
18150 wine_fn_config_test dlls/wintab32/tests wintab32_test
18151 wine_fn_config_dll wintrust enable_wintrust implib
18152 wine_fn_config_test dlls/wintrust/tests wintrust_test
18153 wine_fn_config_dll wlanapi enable_wlanapi
18154 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18155 wine_fn_config_test dlls/wldap32/tests wldap32_test
18156 wine_fn_config_dll wmasf enable_wmasf
18157 wine_fn_config_dll wmi enable_wmi
18158 wine_fn_config_dll wmiutils enable_wmiutils clean
18159 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18160 wine_fn_config_dll wmp enable_wmp clean
18161 wine_fn_config_test dlls/wmp/tests wmp_test
18162 wine_fn_config_dll wmvcore enable_wmvcore
18163 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18164 wine_fn_config_dll wow32 enable_win16 implib
18165 wine_fn_config_dll wpcap enable_wpcap
18166 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18167 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18168 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18169 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18170 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18171 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18172 wine_fn_config_dll wsock32 enable_wsock32 implib
18173 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18174 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18175 wine_fn_config_dll wuapi enable_wuapi clean
18176 wine_fn_config_dll wuaueng enable_wuaueng
18177 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18178 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18179 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18180 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18181 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18182 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18183 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18184 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18185 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18186 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18187 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18188 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18189 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18190 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18191 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18192 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18193 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18194 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18195 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18196 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18197 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18198 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18199 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18200 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18201 wine_fn_config_dll xinput1_1 enable_xinput1_1
18202 wine_fn_config_dll xinput1_2 enable_xinput1_2
18203 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18204 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18205 wine_fn_config_dll xinput1_4 enable_xinput1_4
18206 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18207 wine_fn_config_dll xmllite enable_xmllite implib
18208 wine_fn_config_test dlls/xmllite/tests xmllite_test
18209 wine_fn_config_dll xolehlp enable_xolehlp
18210 wine_fn_config_dll xpsprint enable_xpsprint
18211 wine_fn_config_dll xpssvcs enable_xpssvcs
18212 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18213 wine_fn_config_makefile include enable_include clean,install-dev
18214 wine_fn_config_makefile libs/port enable_libs_port
18215 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18216 wine_fn_config_makefile libs/wpp enable_libs_wpp
18217 wine_fn_config_makefile loader enable_loader clean,install-lib
18218 wine_fn_config_makefile po enable_po clean
18219 wine_fn_config_program arp enable_arp install
18220 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18221 wine_fn_config_program attrib enable_attrib clean,install
18222 wine_fn_config_program cabarc enable_cabarc install
18223 wine_fn_config_program cacls enable_cacls install
18224 wine_fn_config_program clock enable_clock clean,install
18225 wine_fn_config_program cmd enable_cmd clean,install
18226 wine_fn_config_test programs/cmd/tests cmd.exe_test
18227 wine_fn_config_program conhost enable_conhost install
18228 wine_fn_config_program control enable_control install
18229 wine_fn_config_program cscript enable_cscript clean,install
18230 wine_fn_config_program dpnsvr enable_dpnsvr install
18231 wine_fn_config_program dxdiag enable_dxdiag clean,install
18232 wine_fn_config_program eject enable_eject install
18233 wine_fn_config_program expand enable_expand install
18234 wine_fn_config_program explorer enable_explorer clean,install
18235 wine_fn_config_program extrac32 enable_extrac32 install
18236 wine_fn_config_program findstr enable_findstr install
18237 wine_fn_config_program fsutil enable_fsutil install
18238 wine_fn_config_program hh enable_hh install
18239 wine_fn_config_program hostname enable_hostname clean,install
18240 wine_fn_config_program icacls enable_icacls install
18241 wine_fn_config_program icinfo enable_icinfo install
18242 wine_fn_config_program iexplore enable_iexplore install
18243 wine_fn_config_program ipconfig enable_ipconfig clean,install
18244 wine_fn_config_program lodctr enable_lodctr install
18245 wine_fn_config_program mofcomp enable_mofcomp install
18246 wine_fn_config_program mshta enable_mshta install
18247 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18248 wine_fn_config_program net enable_net clean,install
18249 wine_fn_config_program netsh enable_netsh install
18250 wine_fn_config_program netstat enable_netstat clean,install
18251 wine_fn_config_program ngen enable_ngen install
18252 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18253 wine_fn_config_program oleview enable_oleview clean,install
18254 wine_fn_config_program ping enable_ping install
18255 wine_fn_config_program plugplay enable_plugplay install
18256 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18257 wine_fn_config_program progman enable_progman clean,install
18258 wine_fn_config_program reg enable_reg clean,install
18259 wine_fn_config_test programs/reg/tests reg.exe_test
18260 wine_fn_config_program regasm enable_regasm install
18261 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18262 wine_fn_config_test programs/regedit/tests regedit.exe_test
18263 wine_fn_config_program regsvcs enable_regsvcs install
18264 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18265 wine_fn_config_program rpcss enable_rpcss clean,install
18266 wine_fn_config_program rundll.exe16 enable_win16 install
18267 wine_fn_config_program rundll32 enable_rundll32 install
18268 wine_fn_config_program sc enable_sc install
18269 wine_fn_config_program schtasks enable_schtasks install
18270 wine_fn_config_program sdbinst enable_sdbinst install
18271 wine_fn_config_program secedit enable_secedit install
18272 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18273 wine_fn_config_program services enable_services clean,install
18274 wine_fn_config_test programs/services/tests services.exe_test
18275 wine_fn_config_program shutdown enable_shutdown install
18276 wine_fn_config_program spoolsv enable_spoolsv install
18277 wine_fn_config_program start enable_start clean,install
18278 wine_fn_config_program svchost enable_svchost install
18279 wine_fn_config_program systeminfo enable_systeminfo install
18280 wine_fn_config_program taskkill enable_taskkill clean,install
18281 wine_fn_config_program tasklist enable_tasklist install
18282 wine_fn_config_program taskmgr enable_taskmgr clean,install
18283 wine_fn_config_program termsv enable_termsv install
18284 wine_fn_config_program uninstaller enable_uninstaller clean,install
18285 wine_fn_config_program unlodctr enable_unlodctr install
18286 wine_fn_config_program view enable_view clean,install
18287 wine_fn_config_program wevtutil enable_wevtutil install
18288 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18289 wine_fn_config_program winebrowser enable_winebrowser install
18290 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18291 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18292 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18293 wine_fn_config_program winedevice enable_winedevice install
18294 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18295 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18296 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18297 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18298 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18299 wine_fn_config_program winetest enable_winetest clean
18300 wine_fn_config_program winevdm enable_win16 install
18301 wine_fn_config_program winhelp.exe16 enable_win16 install
18302 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18303 wine_fn_config_program winoldap.mod16 enable_win16 install
18304 wine_fn_config_program winver enable_winver install
18305 wine_fn_config_program wmic enable_wmic clean,install
18306 wine_fn_config_program wmplayer enable_wmplayer install
18307 wine_fn_config_program wordpad enable_wordpad clean,install
18308 wine_fn_config_program write enable_write clean,install
18309 wine_fn_config_program wscript enable_wscript clean,install
18310 wine_fn_config_test programs/wscript/tests wscript.exe_test
18311 wine_fn_config_program wusa enable_wusa install
18312 wine_fn_config_program xcopy enable_xcopy clean,install
18313 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18314 wine_fn_config_makefile server enable_server clean,install-lib
18315 wine_fn_config_tool tools clean
18316 wine_fn_config_tool tools/sfnt2fon clean
18317 wine_fn_config_tool tools/widl clean,install-dev
18318 wine_fn_config_tool tools/winebuild clean,install-dev
18319 wine_fn_config_tool tools/winedump clean,install-dev
18320 wine_fn_config_tool tools/winegcc clean,install-dev
18321 wine_fn_config_tool tools/winemaker clean,install-dev
18322 wine_fn_config_tool tools/wmc clean,install-dev
18323 wine_fn_config_tool tools/wrc clean,install-dev
18326 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
18327 wine_fn_append_file CONFIGURE_TARGETS "tags"
18328 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
18329 wine_fn_append_file CONFIGURE_TARGETS "config.log"
18330 wine_fn_append_file CONFIGURE_TARGETS "config.status"
18331 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
18332 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
18333 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
18335 if test "x$enable_tools" != xno
18336 then
18337 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
18338 ac_config_commands="$ac_config_commands tools/makedep"
18342 ac_config_commands="$ac_config_commands Makefile"
18345 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18349 if test "x$enable_maintainer_mode" = xyes
18350 then
18351 wine_fn_append_rule "configure: configure.ac aclocal.m4
18352 autoconf --warnings=all
18353 include/config.h.in: include/stamp-h.in
18354 include/stamp-h.in: configure.ac aclocal.m4
18355 autoheader --warnings=all
18356 @echo timestamp > \$@"
18359 if test "x$enable_tools" != xno
18360 then
18361 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18362 @./config.status tools/makedep
18363 Makefile: tools/makedep$ac_exeext"
18364 else
18365 wine_fn_append_rule "\$(MAKEDEP):
18366 @echo \"You need to run make in $TOOLSDIR first\" && false"
18369 if test -n "$with_wine64"
18370 then
18371 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18372 fonts server:
18373 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18374 $with_wine64/loader/wine:
18375 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18376 $with_wine64/loader/wine-preloader:
18377 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18378 clean::
18379 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18380 else
18381 WINELOADER_INSTALL="wine.inf"
18383 wine_fn_append_rule "install install-lib::
18384 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18385 uninstall::
18386 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18387 case $host_os in
18388 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18389 *) wine_fn_append_rule "install install-lib::
18390 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18391 uninstall::
18392 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18393 esac
18396 $as_echo " done" >&6
18397 cat >confcache <<\_ACEOF
18398 # This file is a shell script that caches the results of configure
18399 # tests run on this system so they can be shared between configure
18400 # scripts and configure runs, see configure's option --config-cache.
18401 # It is not useful on other systems. If it contains results you don't
18402 # want to keep, you may remove or edit it.
18404 # config.status only pays attention to the cache file if you give it
18405 # the --recheck option to rerun configure.
18407 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18408 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18409 # following values.
18411 _ACEOF
18413 # The following way of writing the cache mishandles newlines in values,
18414 # but we know of no workaround that is simple, portable, and efficient.
18415 # So, we kill variables containing newlines.
18416 # Ultrix sh set writes to stderr and can't be redirected directly,
18417 # and sets the high bit in the cache file unless we assign to the vars.
18419 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18420 eval ac_val=\$$ac_var
18421 case $ac_val in #(
18422 *${as_nl}*)
18423 case $ac_var in #(
18424 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18425 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18426 esac
18427 case $ac_var in #(
18428 _ | IFS | as_nl) ;; #(
18429 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18430 *) { eval $ac_var=; unset $ac_var;} ;;
18431 esac ;;
18432 esac
18433 done
18435 (set) 2>&1 |
18436 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18437 *${as_nl}ac_space=\ *)
18438 # `set' does not quote correctly, so add quotes: double-quote
18439 # substitution turns \\\\ into \\, and sed turns \\ into \.
18440 sed -n \
18441 "s/'/'\\\\''/g;
18442 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18443 ;; #(
18445 # `set' quotes correctly as required by POSIX, so do not add quotes.
18446 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18448 esac |
18449 sort
18451 sed '
18452 /^ac_cv_env_/b end
18453 t clear
18454 :clear
18455 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18456 t end
18457 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18458 :end' >>confcache
18459 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18460 if test -w "$cache_file"; then
18461 if test "x$cache_file" != "x/dev/null"; then
18462 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18463 $as_echo "$as_me: updating cache $cache_file" >&6;}
18464 if test ! -f "$cache_file" || test -h "$cache_file"; then
18465 cat confcache >"$cache_file"
18466 else
18467 case $cache_file in #(
18468 */* | ?:*)
18469 mv -f confcache "$cache_file"$$ &&
18470 mv -f "$cache_file"$$ "$cache_file" ;; #(
18472 mv -f confcache "$cache_file" ;;
18473 esac
18476 else
18477 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18478 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18481 rm -f confcache
18483 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18484 # Let make expand exec_prefix.
18485 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18487 DEFS=-DHAVE_CONFIG_H
18489 ac_libobjs=
18490 ac_ltlibobjs=
18492 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18493 # 1. Remove the extension, and $U if already installed.
18494 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18495 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18496 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18497 # will be set to the directory where LIBOBJS objects are built.
18498 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18499 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18500 done
18501 LIBOBJS=$ac_libobjs
18503 LTLIBOBJS=$ac_ltlibobjs
18507 : "${CONFIG_STATUS=./config.status}"
18508 ac_write_fail=0
18509 ac_clean_files_save=$ac_clean_files
18510 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18511 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18512 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18513 as_write_fail=0
18514 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18515 #! $SHELL
18516 # Generated by $as_me.
18517 # Run this file to recreate the current configuration.
18518 # Compiler output produced by configure, useful for debugging
18519 # configure, is in config.log if it exists.
18521 debug=false
18522 ac_cs_recheck=false
18523 ac_cs_silent=false
18525 SHELL=\${CONFIG_SHELL-$SHELL}
18526 export SHELL
18527 _ASEOF
18528 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18529 ## -------------------- ##
18530 ## M4sh Initialization. ##
18531 ## -------------------- ##
18533 # Be more Bourne compatible
18534 DUALCASE=1; export DUALCASE # for MKS sh
18535 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18536 emulate sh
18537 NULLCMD=:
18538 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18539 # is contrary to our usage. Disable this feature.
18540 alias -g '${1+"$@"}'='"$@"'
18541 setopt NO_GLOB_SUBST
18542 else
18543 case `(set -o) 2>/dev/null` in #(
18544 *posix*) :
18545 set -o posix ;; #(
18546 *) :
18548 esac
18552 as_nl='
18554 export as_nl
18555 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18556 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18557 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18558 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18559 # Prefer a ksh shell builtin over an external printf program on Solaris,
18560 # but without wasting forks for bash or zsh.
18561 if test -z "$BASH_VERSION$ZSH_VERSION" \
18562 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18563 as_echo='print -r --'
18564 as_echo_n='print -rn --'
18565 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18566 as_echo='printf %s\n'
18567 as_echo_n='printf %s'
18568 else
18569 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18570 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18571 as_echo_n='/usr/ucb/echo -n'
18572 else
18573 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18574 as_echo_n_body='eval
18575 arg=$1;
18576 case $arg in #(
18577 *"$as_nl"*)
18578 expr "X$arg" : "X\\(.*\\)$as_nl";
18579 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18580 esac;
18581 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18583 export as_echo_n_body
18584 as_echo_n='sh -c $as_echo_n_body as_echo'
18586 export as_echo_body
18587 as_echo='sh -c $as_echo_body as_echo'
18590 # The user is always right.
18591 if test "${PATH_SEPARATOR+set}" != set; then
18592 PATH_SEPARATOR=:
18593 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18594 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18595 PATH_SEPARATOR=';'
18600 # IFS
18601 # We need space, tab and new line, in precisely that order. Quoting is
18602 # there to prevent editors from complaining about space-tab.
18603 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18604 # splitting by setting IFS to empty value.)
18605 IFS=" "" $as_nl"
18607 # Find who we are. Look in the path if we contain no directory separator.
18608 as_myself=
18609 case $0 in #((
18610 *[\\/]* ) as_myself=$0 ;;
18611 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18612 for as_dir in $PATH
18614 IFS=$as_save_IFS
18615 test -z "$as_dir" && as_dir=.
18616 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18617 done
18618 IFS=$as_save_IFS
18621 esac
18622 # We did not find ourselves, most probably we were run as `sh COMMAND'
18623 # in which case we are not to be found in the path.
18624 if test "x$as_myself" = x; then
18625 as_myself=$0
18627 if test ! -f "$as_myself"; then
18628 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18629 exit 1
18632 # Unset variables that we do not need and which cause bugs (e.g. in
18633 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18634 # suppresses any "Segmentation fault" message there. '((' could
18635 # trigger a bug in pdksh 5.2.14.
18636 for as_var in BASH_ENV ENV MAIL MAILPATH
18637 do eval test x\${$as_var+set} = xset \
18638 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18639 done
18640 PS1='$ '
18641 PS2='> '
18642 PS4='+ '
18644 # NLS nuisances.
18645 LC_ALL=C
18646 export LC_ALL
18647 LANGUAGE=C
18648 export LANGUAGE
18650 # CDPATH.
18651 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18654 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18655 # ----------------------------------------
18656 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18657 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18658 # script with STATUS, using 1 if that was 0.
18659 as_fn_error ()
18661 as_status=$1; test $as_status -eq 0 && as_status=1
18662 if test "$4"; then
18663 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18664 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18666 $as_echo "$as_me: error: $2" >&2
18667 as_fn_exit $as_status
18668 } # as_fn_error
18671 # as_fn_set_status STATUS
18672 # -----------------------
18673 # Set $? to STATUS, without forking.
18674 as_fn_set_status ()
18676 return $1
18677 } # as_fn_set_status
18679 # as_fn_exit STATUS
18680 # -----------------
18681 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18682 as_fn_exit ()
18684 set +e
18685 as_fn_set_status $1
18686 exit $1
18687 } # as_fn_exit
18689 # as_fn_unset VAR
18690 # ---------------
18691 # Portably unset VAR.
18692 as_fn_unset ()
18694 { eval $1=; unset $1;}
18696 as_unset=as_fn_unset
18697 # as_fn_append VAR VALUE
18698 # ----------------------
18699 # Append the text in VALUE to the end of the definition contained in VAR. Take
18700 # advantage of any shell optimizations that allow amortized linear growth over
18701 # repeated appends, instead of the typical quadratic growth present in naive
18702 # implementations.
18703 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18704 eval 'as_fn_append ()
18706 eval $1+=\$2
18708 else
18709 as_fn_append ()
18711 eval $1=\$$1\$2
18713 fi # as_fn_append
18715 # as_fn_arith ARG...
18716 # ------------------
18717 # Perform arithmetic evaluation on the ARGs, and store the result in the
18718 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18719 # must be portable across $(()) and expr.
18720 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18721 eval 'as_fn_arith ()
18723 as_val=$(( $* ))
18725 else
18726 as_fn_arith ()
18728 as_val=`expr "$@" || test $? -eq 1`
18730 fi # as_fn_arith
18733 if expr a : '\(a\)' >/dev/null 2>&1 &&
18734 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18735 as_expr=expr
18736 else
18737 as_expr=false
18740 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18741 as_basename=basename
18742 else
18743 as_basename=false
18746 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18747 as_dirname=dirname
18748 else
18749 as_dirname=false
18752 as_me=`$as_basename -- "$0" ||
18753 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18754 X"$0" : 'X\(//\)$' \| \
18755 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18756 $as_echo X/"$0" |
18757 sed '/^.*\/\([^/][^/]*\)\/*$/{
18758 s//\1/
18761 /^X\/\(\/\/\)$/{
18762 s//\1/
18765 /^X\/\(\/\).*/{
18766 s//\1/
18769 s/.*/./; q'`
18771 # Avoid depending upon Character Ranges.
18772 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18773 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18774 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18775 as_cr_digits='0123456789'
18776 as_cr_alnum=$as_cr_Letters$as_cr_digits
18778 ECHO_C= ECHO_N= ECHO_T=
18779 case `echo -n x` in #(((((
18780 -n*)
18781 case `echo 'xy\c'` in
18782 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18783 xy) ECHO_C='\c';;
18784 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18785 ECHO_T=' ';;
18786 esac;;
18788 ECHO_N='-n';;
18789 esac
18791 rm -f conf$$ conf$$.exe conf$$.file
18792 if test -d conf$$.dir; then
18793 rm -f conf$$.dir/conf$$.file
18794 else
18795 rm -f conf$$.dir
18796 mkdir conf$$.dir 2>/dev/null
18798 if (echo >conf$$.file) 2>/dev/null; then
18799 if ln -s conf$$.file conf$$ 2>/dev/null; then
18800 as_ln_s='ln -s'
18801 # ... but there are two gotchas:
18802 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18803 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18804 # In both cases, we have to default to `cp -pR'.
18805 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18806 as_ln_s='cp -pR'
18807 elif ln conf$$.file conf$$ 2>/dev/null; then
18808 as_ln_s=ln
18809 else
18810 as_ln_s='cp -pR'
18812 else
18813 as_ln_s='cp -pR'
18815 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18816 rmdir conf$$.dir 2>/dev/null
18819 # as_fn_mkdir_p
18820 # -------------
18821 # Create "$as_dir" as a directory, including parents if necessary.
18822 as_fn_mkdir_p ()
18825 case $as_dir in #(
18826 -*) as_dir=./$as_dir;;
18827 esac
18828 test -d "$as_dir" || eval $as_mkdir_p || {
18829 as_dirs=
18830 while :; do
18831 case $as_dir in #(
18832 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18833 *) as_qdir=$as_dir;;
18834 esac
18835 as_dirs="'$as_qdir' $as_dirs"
18836 as_dir=`$as_dirname -- "$as_dir" ||
18837 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18838 X"$as_dir" : 'X\(//\)[^/]' \| \
18839 X"$as_dir" : 'X\(//\)$' \| \
18840 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18841 $as_echo X"$as_dir" |
18842 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18843 s//\1/
18846 /^X\(\/\/\)[^/].*/{
18847 s//\1/
18850 /^X\(\/\/\)$/{
18851 s//\1/
18854 /^X\(\/\).*/{
18855 s//\1/
18858 s/.*/./; q'`
18859 test -d "$as_dir" && break
18860 done
18861 test -z "$as_dirs" || eval "mkdir $as_dirs"
18862 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18865 } # as_fn_mkdir_p
18866 if mkdir -p . 2>/dev/null; then
18867 as_mkdir_p='mkdir -p "$as_dir"'
18868 else
18869 test -d ./-p && rmdir ./-p
18870 as_mkdir_p=false
18874 # as_fn_executable_p FILE
18875 # -----------------------
18876 # Test if FILE is an executable regular file.
18877 as_fn_executable_p ()
18879 test -f "$1" && test -x "$1"
18880 } # as_fn_executable_p
18881 as_test_x='test -x'
18882 as_executable_p=as_fn_executable_p
18884 # Sed expression to map a string onto a valid CPP name.
18885 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18887 # Sed expression to map a string onto a valid variable name.
18888 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18891 exec 6>&1
18892 ## ----------------------------------- ##
18893 ## Main body of $CONFIG_STATUS script. ##
18894 ## ----------------------------------- ##
18895 _ASEOF
18896 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18898 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18899 # Save the log message, to keep $0 and so on meaningful, and to
18900 # report actual input values of CONFIG_FILES etc. instead of their
18901 # values after options handling.
18902 ac_log="
18903 This file was extended by Wine $as_me 1.9.14, which was
18904 generated by GNU Autoconf 2.69. Invocation command line was
18906 CONFIG_FILES = $CONFIG_FILES
18907 CONFIG_HEADERS = $CONFIG_HEADERS
18908 CONFIG_LINKS = $CONFIG_LINKS
18909 CONFIG_COMMANDS = $CONFIG_COMMANDS
18910 $ $0 $@
18912 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18915 _ACEOF
18917 case $ac_config_files in *"
18918 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18919 esac
18921 case $ac_config_headers in *"
18922 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18923 esac
18926 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18927 # Files that config.status was made for.
18928 config_files="$ac_config_files"
18929 config_headers="$ac_config_headers"
18930 config_links="$ac_config_links"
18931 config_commands="$ac_config_commands"
18933 _ACEOF
18935 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18936 ac_cs_usage="\
18937 \`$as_me' instantiates files and other configuration actions
18938 from templates according to the current configuration. Unless the files
18939 and actions are specified as TAGs, all are instantiated by default.
18941 Usage: $0 [OPTION]... [TAG]...
18943 -h, --help print this help, then exit
18944 -V, --version print version number and configuration settings, then exit
18945 --config print configuration, then exit
18946 -q, --quiet, --silent
18947 do not print progress messages
18948 -d, --debug don't remove temporary files
18949 --recheck update $as_me by reconfiguring in the same conditions
18950 --file=FILE[:TEMPLATE]
18951 instantiate the configuration file FILE
18952 --header=FILE[:TEMPLATE]
18953 instantiate the configuration header FILE
18955 Configuration files:
18956 $config_files
18958 Configuration headers:
18959 $config_headers
18961 Configuration links:
18962 $config_links
18964 Configuration commands:
18965 $config_commands
18967 Report bugs to <wine-devel@winehq.org>.
18968 Wine home page: <http://www.winehq.org>."
18970 _ACEOF
18971 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18972 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18973 ac_cs_version="\\
18974 Wine config.status 1.9.14
18975 configured by $0, generated by GNU Autoconf 2.69,
18976 with options \\"\$ac_cs_config\\"
18978 Copyright (C) 2012 Free Software Foundation, Inc.
18979 This config.status script is free software; the Free Software Foundation
18980 gives unlimited permission to copy, distribute and modify it."
18982 ac_pwd='$ac_pwd'
18983 srcdir='$srcdir'
18984 test -n "\$AWK" || AWK=awk
18985 _ACEOF
18987 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18988 # The default lists apply if the user does not specify any file.
18989 ac_need_defaults=:
18990 while test $# != 0
18992 case $1 in
18993 --*=?*)
18994 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18995 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18996 ac_shift=:
18998 --*=)
18999 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19000 ac_optarg=
19001 ac_shift=:
19004 ac_option=$1
19005 ac_optarg=$2
19006 ac_shift=shift
19008 esac
19010 case $ac_option in
19011 # Handling of the options.
19012 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19013 ac_cs_recheck=: ;;
19014 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19015 $as_echo "$ac_cs_version"; exit ;;
19016 --config | --confi | --conf | --con | --co | --c )
19017 $as_echo "$ac_cs_config"; exit ;;
19018 --debug | --debu | --deb | --de | --d | -d )
19019 debug=: ;;
19020 --file | --fil | --fi | --f )
19021 $ac_shift
19022 case $ac_optarg in
19023 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19024 '') as_fn_error $? "missing file argument" ;;
19025 esac
19026 as_fn_append CONFIG_FILES " '$ac_optarg'"
19027 ac_need_defaults=false;;
19028 --header | --heade | --head | --hea )
19029 $ac_shift
19030 case $ac_optarg in
19031 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19032 esac
19033 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19034 ac_need_defaults=false;;
19035 --he | --h)
19036 # Conflict between --help and --header
19037 as_fn_error $? "ambiguous option: \`$1'
19038 Try \`$0 --help' for more information.";;
19039 --help | --hel | -h )
19040 $as_echo "$ac_cs_usage"; exit ;;
19041 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19042 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19043 ac_cs_silent=: ;;
19045 # This is an error.
19046 -*) as_fn_error $? "unrecognized option: \`$1'
19047 Try \`$0 --help' for more information." ;;
19049 *) as_fn_append ac_config_targets " $1"
19050 ac_need_defaults=false ;;
19052 esac
19053 shift
19054 done
19056 ac_configure_extra_args=
19058 if $ac_cs_silent; then
19059 exec 6>/dev/null
19060 ac_configure_extra_args="$ac_configure_extra_args --silent"
19063 _ACEOF
19064 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19065 if \$ac_cs_recheck; then
19066 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19067 shift
19068 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19069 CONFIG_SHELL='$SHELL'
19070 export CONFIG_SHELL
19071 exec "\$@"
19074 _ACEOF
19075 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19076 exec 5>>config.log
19078 echo
19079 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19080 ## Running $as_me. ##
19081 _ASBOX
19082 $as_echo "$ac_log"
19083 } >&5
19085 _ACEOF
19086 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19088 # INIT-COMMANDS
19090 wine_fn_output_makedep ()
19092 as_dir=tools; as_fn_mkdir_p
19093 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19095 wine_fn_output_makefile ()
19097 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19098 `cat $wine_rules_file`
19099 _WINE_EOF
19100 as_fn_error $? "could not create Makefile" "$LINENO" 5
19103 _ACEOF
19105 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19107 # Handling of arguments.
19108 for ac_config_target in $ac_config_targets
19110 case $ac_config_target in
19111 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19112 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19113 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19114 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19115 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19116 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19117 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19118 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19119 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19120 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19121 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19122 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19123 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19125 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19126 esac
19127 done
19130 # If the user did not use the arguments to specify the items to instantiate,
19131 # then the envvar interface is used. Set only those that are not.
19132 # We use the long form for the default assignment because of an extremely
19133 # bizarre bug on SunOS 4.1.3.
19134 if $ac_need_defaults; then
19135 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19136 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19137 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19138 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19141 # Have a temporary directory for convenience. Make it in the build tree
19142 # simply because there is no reason against having it here, and in addition,
19143 # creating and moving files from /tmp can sometimes cause problems.
19144 # Hook for its removal unless debugging.
19145 # Note that there is a small window in which the directory will not be cleaned:
19146 # after its creation but before its name has been assigned to `$tmp'.
19147 $debug ||
19149 tmp= ac_tmp=
19150 trap 'exit_status=$?
19151 : "${ac_tmp:=$tmp}"
19152 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19154 trap 'as_fn_exit 1' 1 2 13 15
19156 # Create a (secure) tmp directory for tmp files.
19159 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19160 test -d "$tmp"
19161 } ||
19163 tmp=./conf$$-$RANDOM
19164 (umask 077 && mkdir "$tmp")
19165 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19166 ac_tmp=$tmp
19168 # Set up the scripts for CONFIG_FILES section.
19169 # No need to generate them if there are no CONFIG_FILES.
19170 # This happens for instance with `./config.status config.h'.
19171 if test -n "$CONFIG_FILES"; then
19174 ac_cr=`echo X | tr X '\015'`
19175 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19176 # But we know of no other shell where ac_cr would be empty at this
19177 # point, so we can use a bashism as a fallback.
19178 if test "x$ac_cr" = x; then
19179 eval ac_cr=\$\'\\r\'
19181 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19182 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19183 ac_cs_awk_cr='\\r'
19184 else
19185 ac_cs_awk_cr=$ac_cr
19188 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19189 _ACEOF
19193 echo "cat >conf$$subs.awk <<_ACEOF" &&
19194 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19195 echo "_ACEOF"
19196 } >conf$$subs.sh ||
19197 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19198 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19199 ac_delim='%!_!# '
19200 for ac_last_try in false false false false false :; do
19201 . ./conf$$subs.sh ||
19202 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19204 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19205 if test $ac_delim_n = $ac_delim_num; then
19206 break
19207 elif $ac_last_try; then
19208 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19209 else
19210 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19212 done
19213 rm -f conf$$subs.sh
19215 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19216 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19217 _ACEOF
19218 sed -n '
19220 s/^/S["/; s/!.*/"]=/
19223 s/^[^!]*!//
19224 :repl
19225 t repl
19226 s/'"$ac_delim"'$//
19227 t delim
19230 s/\(.\{148\}\)..*/\1/
19231 t more1
19232 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19235 b repl
19236 :more1
19237 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19240 s/.\{148\}//
19241 t nl
19242 :delim
19244 s/\(.\{148\}\)..*/\1/
19245 t more2
19246 s/["\\]/\\&/g; s/^/"/; s/$/"/
19249 :more2
19250 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19253 s/.\{148\}//
19254 t delim
19255 ' <conf$$subs.awk | sed '
19256 /^[^""]/{
19258 s/\n//
19260 ' >>$CONFIG_STATUS || ac_write_fail=1
19261 rm -f conf$$subs.awk
19262 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19263 _ACAWK
19264 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19265 for (key in S) S_is_set[key] = 1
19266 FS = "\a"
19270 line = $ 0
19271 nfields = split(line, field, "@")
19272 substed = 0
19273 len = length(field[1])
19274 for (i = 2; i < nfields; i++) {
19275 key = field[i]
19276 keylen = length(key)
19277 if (S_is_set[key]) {
19278 value = S[key]
19279 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19280 len += length(value) + length(field[++i])
19281 substed = 1
19282 } else
19283 len += 1 + keylen
19286 print line
19289 _ACAWK
19290 _ACEOF
19291 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19292 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19293 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19294 else
19296 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19297 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19298 _ACEOF
19300 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19301 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19302 # trailing colons and then remove the whole line if VPATH becomes empty
19303 # (actually we leave an empty line to preserve line numbers).
19304 if test "x$srcdir" = x.; then
19305 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19307 s///
19308 s/^/:/
19309 s/[ ]*$/:/
19310 s/:\$(srcdir):/:/g
19311 s/:\${srcdir}:/:/g
19312 s/:@srcdir@:/:/g
19313 s/^:*//
19314 s/:*$//
19316 s/\(=[ ]*\).*/\1/
19318 s/\n//
19319 s/^[^=]*=[ ]*$//
19323 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19324 fi # test -n "$CONFIG_FILES"
19326 # Set up the scripts for CONFIG_HEADERS section.
19327 # No need to generate them if there are no CONFIG_HEADERS.
19328 # This happens for instance with `./config.status Makefile'.
19329 if test -n "$CONFIG_HEADERS"; then
19330 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19331 BEGIN {
19332 _ACEOF
19334 # Transform confdefs.h into an awk script `defines.awk', embedded as
19335 # here-document in config.status, that substitutes the proper values into
19336 # config.h.in to produce config.h.
19338 # Create a delimiter string that does not exist in confdefs.h, to ease
19339 # handling of long lines.
19340 ac_delim='%!_!# '
19341 for ac_last_try in false false :; do
19342 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19343 if test -z "$ac_tt"; then
19344 break
19345 elif $ac_last_try; then
19346 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19347 else
19348 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19350 done
19352 # For the awk script, D is an array of macro values keyed by name,
19353 # likewise P contains macro parameters if any. Preserve backslash
19354 # newline sequences.
19356 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19357 sed -n '
19358 s/.\{148\}/&'"$ac_delim"'/g
19359 t rset
19360 :rset
19361 s/^[ ]*#[ ]*define[ ][ ]*/ /
19362 t def
19364 :def
19365 s/\\$//
19366 t bsnl
19367 s/["\\]/\\&/g
19368 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19369 D["\1"]=" \3"/p
19370 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19372 :bsnl
19373 s/["\\]/\\&/g
19374 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19375 D["\1"]=" \3\\\\\\n"\\/p
19376 t cont
19377 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19378 t cont
19380 :cont
19382 s/.\{148\}/&'"$ac_delim"'/g
19383 t clear
19384 :clear
19385 s/\\$//
19386 t bsnlc
19387 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19389 :bsnlc
19390 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19391 b cont
19392 ' <confdefs.h | sed '
19393 s/'"$ac_delim"'/"\\\
19394 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19396 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19397 for (key in D) D_is_set[key] = 1
19398 FS = "\a"
19400 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19401 line = \$ 0
19402 split(line, arg, " ")
19403 if (arg[1] == "#") {
19404 defundef = arg[2]
19405 mac1 = arg[3]
19406 } else {
19407 defundef = substr(arg[1], 2)
19408 mac1 = arg[2]
19410 split(mac1, mac2, "(") #)
19411 macro = mac2[1]
19412 prefix = substr(line, 1, index(line, defundef) - 1)
19413 if (D_is_set[macro]) {
19414 # Preserve the white space surrounding the "#".
19415 print prefix "define", macro P[macro] D[macro]
19416 next
19417 } else {
19418 # Replace #undef with comments. This is necessary, for example,
19419 # in the case of _POSIX_SOURCE, which is predefined and required
19420 # on some systems where configure will not decide to define it.
19421 if (defundef == "undef") {
19422 print "/*", prefix defundef, macro, "*/"
19423 next
19427 { print }
19428 _ACAWK
19429 _ACEOF
19430 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19431 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19432 fi # test -n "$CONFIG_HEADERS"
19435 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19436 shift
19437 for ac_tag
19439 case $ac_tag in
19440 :[FHLC]) ac_mode=$ac_tag; continue;;
19441 esac
19442 case $ac_mode$ac_tag in
19443 :[FHL]*:*);;
19444 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19445 :[FH]-) ac_tag=-:-;;
19446 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19447 esac
19448 ac_save_IFS=$IFS
19449 IFS=:
19450 set x $ac_tag
19451 IFS=$ac_save_IFS
19452 shift
19453 ac_file=$1
19454 shift
19456 case $ac_mode in
19457 :L) ac_source=$1;;
19458 :[FH])
19459 ac_file_inputs=
19460 for ac_f
19462 case $ac_f in
19463 -) ac_f="$ac_tmp/stdin";;
19464 *) # Look for the file first in the build tree, then in the source tree
19465 # (if the path is not absolute). The absolute path cannot be DOS-style,
19466 # because $ac_f cannot contain `:'.
19467 test -f "$ac_f" ||
19468 case $ac_f in
19469 [\\/$]*) false;;
19470 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19471 esac ||
19472 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19473 esac
19474 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19475 as_fn_append ac_file_inputs " '$ac_f'"
19476 done
19478 # Let's still pretend it is `configure' which instantiates (i.e., don't
19479 # use $as_me), people would be surprised to read:
19480 # /* config.h. Generated by config.status. */
19481 configure_input='Generated from '`
19482 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19483 `' by configure.'
19484 if test x"$ac_file" != x-; then
19485 configure_input="$ac_file. $configure_input"
19486 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19487 $as_echo "$as_me: creating $ac_file" >&6;}
19489 # Neutralize special characters interpreted by sed in replacement strings.
19490 case $configure_input in #(
19491 *\&* | *\|* | *\\* )
19492 ac_sed_conf_input=`$as_echo "$configure_input" |
19493 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19494 *) ac_sed_conf_input=$configure_input;;
19495 esac
19497 case $ac_tag in
19498 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19499 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19500 esac
19502 esac
19504 ac_dir=`$as_dirname -- "$ac_file" ||
19505 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19506 X"$ac_file" : 'X\(//\)[^/]' \| \
19507 X"$ac_file" : 'X\(//\)$' \| \
19508 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19509 $as_echo X"$ac_file" |
19510 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19511 s//\1/
19514 /^X\(\/\/\)[^/].*/{
19515 s//\1/
19518 /^X\(\/\/\)$/{
19519 s//\1/
19522 /^X\(\/\).*/{
19523 s//\1/
19526 s/.*/./; q'`
19527 as_dir="$ac_dir"; as_fn_mkdir_p
19528 ac_builddir=.
19530 case "$ac_dir" in
19531 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19533 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19534 # A ".." for each directory in $ac_dir_suffix.
19535 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19536 case $ac_top_builddir_sub in
19537 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19538 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19539 esac ;;
19540 esac
19541 ac_abs_top_builddir=$ac_pwd
19542 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19543 # for backward compatibility:
19544 ac_top_builddir=$ac_top_build_prefix
19546 case $srcdir in
19547 .) # We are building in place.
19548 ac_srcdir=.
19549 ac_top_srcdir=$ac_top_builddir_sub
19550 ac_abs_top_srcdir=$ac_pwd ;;
19551 [\\/]* | ?:[\\/]* ) # Absolute name.
19552 ac_srcdir=$srcdir$ac_dir_suffix;
19553 ac_top_srcdir=$srcdir
19554 ac_abs_top_srcdir=$srcdir ;;
19555 *) # Relative name.
19556 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19557 ac_top_srcdir=$ac_top_build_prefix$srcdir
19558 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19559 esac
19560 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19563 case $ac_mode in
19566 # CONFIG_FILE
19569 _ACEOF
19571 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19572 # If the template does not know about datarootdir, expand it.
19573 # FIXME: This hack should be removed a few years after 2.60.
19574 ac_datarootdir_hack=; ac_datarootdir_seen=
19575 ac_sed_dataroot='
19576 /datarootdir/ {
19580 /@datadir@/p
19581 /@docdir@/p
19582 /@infodir@/p
19583 /@localedir@/p
19584 /@mandir@/p'
19585 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19586 *datarootdir*) ac_datarootdir_seen=yes;;
19587 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19589 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19590 _ACEOF
19591 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19592 ac_datarootdir_hack='
19593 s&@datadir@&$datadir&g
19594 s&@docdir@&$docdir&g
19595 s&@infodir@&$infodir&g
19596 s&@localedir@&$localedir&g
19597 s&@mandir@&$mandir&g
19598 s&\\\${datarootdir}&$datarootdir&g' ;;
19599 esac
19600 _ACEOF
19602 # Neutralize VPATH when `$srcdir' = `.'.
19603 # Shell code in configure.ac might set extrasub.
19604 # FIXME: do we really want to maintain this feature?
19605 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19606 ac_sed_extra="$ac_vpsub
19607 $extrasub
19608 _ACEOF
19609 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19611 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19612 s|@configure_input@|$ac_sed_conf_input|;t t
19613 s&@top_builddir@&$ac_top_builddir_sub&;t t
19614 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19615 s&@srcdir@&$ac_srcdir&;t t
19616 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19617 s&@top_srcdir@&$ac_top_srcdir&;t t
19618 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19619 s&@builddir@&$ac_builddir&;t t
19620 s&@abs_builddir@&$ac_abs_builddir&;t t
19621 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19622 $ac_datarootdir_hack
19624 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19625 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19627 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19628 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19629 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19630 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19632 which seems to be undefined. Please make sure it is defined" >&5
19633 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19634 which seems to be undefined. Please make sure it is defined" >&2;}
19636 rm -f "$ac_tmp/stdin"
19637 case $ac_file in
19638 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19639 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19640 esac \
19641 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19645 # CONFIG_HEADER
19647 if test x"$ac_file" != x-; then
19649 $as_echo "/* $configure_input */" \
19650 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19651 } >"$ac_tmp/config.h" \
19652 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19653 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19654 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19655 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19656 else
19657 rm -f "$ac_file"
19658 mv "$ac_tmp/config.h" "$ac_file" \
19659 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19661 else
19662 $as_echo "/* $configure_input */" \
19663 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19664 || as_fn_error $? "could not create -" "$LINENO" 5
19669 # CONFIG_LINK
19672 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19674 else
19675 # Prefer the file from the source tree if names are identical.
19676 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19677 ac_source=$srcdir/$ac_source
19680 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19681 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19683 if test ! -r "$ac_source"; then
19684 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19686 rm -f "$ac_file"
19688 # Try a relative symlink, then a hard link, then a copy.
19689 case $ac_source in
19690 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19691 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19692 esac
19693 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19694 ln "$ac_source" "$ac_file" 2>/dev/null ||
19695 cp -p "$ac_source" "$ac_file" ||
19696 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19699 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19700 $as_echo "$as_me: executing $ac_file commands" >&6;}
19702 esac
19705 case $ac_file$ac_mode in
19706 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19707 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19708 "Makefile":C) wine_fn_output_makefile Makefile ;;
19710 esac
19711 done # for ac_tag
19714 as_fn_exit 0
19715 _ACEOF
19716 ac_clean_files=$ac_clean_files_save
19718 test $ac_write_fail = 0 ||
19719 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19722 # configure is writing to config.log, and then calls config.status.
19723 # config.status does its own redirection, appending to config.log.
19724 # Unfortunately, on DOS this fails, as config.log is still kept open
19725 # by configure, so config.status won't be able to write to it; its
19726 # output is simply discarded. So we exec the FD to /dev/null,
19727 # effectively closing config.log, so it can be properly (re)opened and
19728 # appended to by config.status. When coming back to configure, we
19729 # need to make the FD available again.
19730 if test "$no_create" != yes; then
19731 ac_cs_success=:
19732 ac_config_status_args=
19733 test "$silent" = yes &&
19734 ac_config_status_args="$ac_config_status_args --quiet"
19735 exec 5>/dev/null
19736 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19737 exec 5>>config.log
19738 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19739 # would make configure fail if this is the last instruction.
19740 $ac_cs_success || as_fn_exit 1
19742 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19743 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19744 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19748 if test "$no_create" = "yes"
19749 then
19750 exit 0
19753 ac_save_IFS="$IFS"
19754 if test "x$wine_notices" != x; then
19755 echo >&6
19756 IFS="|"
19757 for msg in $wine_notices; do
19758 IFS="$ac_save_IFS"
19759 if ${msg:+false} :; then :
19761 else
19762 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19763 $as_echo "$as_me: $msg" >&6;}
19765 done
19767 IFS="|"
19768 for msg in $wine_warnings; do
19769 IFS="$ac_save_IFS"
19770 if ${msg:+false} :; then :
19772 else
19773 echo >&2
19774 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19775 $as_echo "$as_me: WARNING: $msg" >&2;}
19777 done
19778 IFS="$ac_save_IFS"
19780 $as_echo "
19781 $as_me: Finished. Do '${ac_make}' to compile Wine.
19782 " >&6