wined3d: Add Nvidia 9700M GT.
[wine.git] / configure
blobffb1825fe64c421f06c14dfce239e874041e18ea
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.9.8.
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.8'
584 PACKAGE_STRING='Wine 1.9.8'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='http://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 WINELOADER_INSTALL
628 ALL_VARS_RULES
629 LDAP_LIBS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 UNWINDFLAGS
635 EXCESS_PRECISION_CFLAGS
636 BUILTINFLAG
637 EXTRACFLAGS
638 NETAPI_LIBS
639 NETAPI_CFLAGS
640 PROCSTAT_LIBS
641 KSTAT_LIBS
642 MPG123_LIBS
643 MPG123_CFLAGS
644 TIFF_LIBS
645 TIFF_CFLAGS
646 PNG_LIBS
647 PNG_CFLAGS
648 JPEG_LIBS
649 JPEG_CFLAGS
650 FONTCONFIG_LIBS
651 FONTCONFIG_CFLAGS
652 CUPS_CFLAGS
653 CAPI20_LIBS
654 CAPI20_CFLAGS
655 OSS4_CFLAGS
656 ALSA_LIBS
657 GSTREAMER_LIBS
658 GSTREAMER_CFLAGS
659 PULSE_LIBS
660 PULSE_CFLAGS
661 GETTEXTPO_LIBS
662 Z_LIBS
663 FREETYPE_LIBS
664 FREETYPE_CFLAGS
665 LCMS2_LIBS
666 LCMS2_CFLAGS
667 RESOLV_LIBS
668 GPHOTO2_PORT_LIBS
669 GPHOTO2_PORT_CFLAGS
670 GPHOTO2_LIBS
671 GPHOTO2_CFLAGS
672 SANE_LIBS
673 SANE_CFLAGS
674 GNUTLS_LIBS
675 GNUTLS_CFLAGS
676 HAL_LIBS
677 HAL_CFLAGS
678 DBUS_LIBS
679 DBUS_CFLAGS
680 XSLT_LIBS
681 XSLT_CFLAGS
682 XML2_LIBS
683 XML2_CFLAGS
684 PCAP_LIBS
685 X_EXTRA_LIBS
686 X_LIBS
687 X_PRE_LIBS
688 X_CFLAGS
689 XMKMF
690 PTHREAD_LIBS
691 CROSSCC
692 CROSSTARGET
693 PRELINK
694 WINELOADER_DEPENDS
695 CARBON_LIBS
696 QUICKTIME_LIBS
697 OPENCL_LIBS
698 OPENAL_LIBS
699 COREAUDIO_LIBS
700 SECURITY_LIBS
701 DISKARBITRATION_LIBS
702 APPKIT_LIBS
703 CORESERVICES_LIBS
704 APPLICATIONSERVICES_LIBS
705 FORCEFEEDBACK_LIBS
706 IOKIT_LIBS
707 COREFOUNDATION_LIBS
708 LIBWINE_DEPENDS
709 LIBWINE_LDFLAGS
710 LIBWINE_INSTALL_DEV
711 LIBWINE_INSTALL_LIB
712 LIBWINE_IMPORTLIB
713 LIBWINE_SHAREDLIB
714 SOCKET_LIBS
715 DLLTOOL
716 WINELOADER_PROGRAMS
717 ALL_TEST_RESOURCES
718 CONFIGURE_TARGETS
719 DISABLED_SUBDIRS
720 SUBDIRS
721 READELF
722 OTOOL
724 LDEXECFLAGS
725 LDRPATH_LOCAL
726 LDRPATH_INSTALL
727 DLLFLAGS
728 dlldir
730 OPENGL_LIBS
731 ICOTOOL
732 CONVERT
733 RSVG
734 FONTFORGE
735 PKG_CONFIG
736 MSGFMT
737 LDCONFIG
738 EGREP
739 GREP
740 LN_S
741 RANLIB
742 ARFLAGS
743 STRIP
744 ac_ct_AR
746 BISON
747 FLEX
748 TOOLSDIR
749 TARGETFLAGS
751 CPPBIN
752 ac_ct_CXX
753 CXXFLAGS
755 OBJEXT
756 EXEEXT
757 ac_ct_CC
758 CPPFLAGS
759 LDFLAGS
760 CFLAGS
762 SET_MAKE
763 host_os
764 host_vendor
765 host_cpu
766 host
767 build_os
768 build_vendor
769 build_cpu
770 build
771 target_alias
772 host_alias
773 build_alias
774 LIBS
775 ECHO_T
776 ECHO_N
777 ECHO_C
778 DEFS
779 mandir
780 localedir
781 libdir
782 psdir
783 pdfdir
784 dvidir
785 htmldir
786 infodir
787 docdir
788 oldincludedir
789 includedir
790 runstatedir
791 localstatedir
792 sharedstatedir
793 sysconfdir
794 datadir
795 datarootdir
796 libexecdir
797 sbindir
798 bindir
799 program_transform_name
800 prefix
801 exec_prefix
802 PACKAGE_URL
803 PACKAGE_BUGREPORT
804 PACKAGE_STRING
805 PACKAGE_VERSION
806 PACKAGE_TARNAME
807 PACKAGE_NAME
808 PATH_SEPARATOR
809 SHELL'
810 ac_subst_files=''
811 ac_user_opts='
812 enable_option_checking
813 enable_win16
814 enable_win64
815 enable_tests
816 enable_maintainer_mode
817 with_alsa
818 with_capi
819 with_cms
820 with_coreaudio
821 with_cups
822 with_curses
823 with_dbus
824 with_fontconfig
825 with_freetype
826 with_gettext
827 with_gettextpo
828 with_gphoto
829 with_glu
830 with_gnutls
831 with_gsm
832 with_gstreamer
833 with_hal
834 with_jpeg
835 with_ldap
836 with_mpg123
837 with_netapi
838 with_openal
839 with_opencl
840 with_opengl
841 with_osmesa
842 with_oss
843 with_pcap
844 with_png
845 with_pthread
846 with_pulse
847 with_sane
848 with_tiff
849 with_v4l
850 with_xcomposite
851 with_xcursor
852 with_xinerama
853 with_xinput
854 with_xinput2
855 with_xml
856 with_xrandr
857 with_xrender
858 with_xshape
859 with_xshm
860 with_xslt
861 with_xxf86vm
862 with_zlib
863 with_wine_tools
864 with_wine64
865 enable_largefile
866 with_x
867 enable_acledit
868 enable_aclui
869 enable_activeds
870 enable_actxprxy
871 enable_advapi32
872 enable_advpack
873 enable_amstream
874 enable_api_ms_win_core_com_l1_1_0
875 enable_api_ms_win_core_com_l1_1_1
876 enable_api_ms_win_core_console_l1_1_0
877 enable_api_ms_win_core_datetime_l1_1_0
878 enable_api_ms_win_core_datetime_l1_1_1
879 enable_api_ms_win_core_debug_l1_1_0
880 enable_api_ms_win_core_debug_l1_1_1
881 enable_api_ms_win_core_delayload_l1_1_1
882 enable_api_ms_win_core_errorhandling_l1_1_0
883 enable_api_ms_win_core_errorhandling_l1_1_1
884 enable_api_ms_win_core_errorhandling_l1_1_2
885 enable_api_ms_win_core_fibers_l1_1_0
886 enable_api_ms_win_core_fibers_l1_1_1
887 enable_api_ms_win_core_file_l1_1_0
888 enable_api_ms_win_core_file_l1_2_0
889 enable_api_ms_win_core_file_l1_2_1
890 enable_api_ms_win_core_file_l2_1_0
891 enable_api_ms_win_core_file_l2_1_1
892 enable_api_ms_win_core_handle_l1_1_0
893 enable_api_ms_win_core_heap_l1_1_0
894 enable_api_ms_win_core_heap_l1_2_0
895 enable_api_ms_win_core_heap_obsolete_l1_1_0
896 enable_api_ms_win_core_interlocked_l1_1_0
897 enable_api_ms_win_core_interlocked_l1_2_0
898 enable_api_ms_win_core_io_l1_1_1
899 enable_api_ms_win_core_kernel32_legacy_l1_1_0
900 enable_api_ms_win_core_kernel32_legacy_l1_1_1
901 enable_api_ms_win_core_libraryloader_l1_1_0
902 enable_api_ms_win_core_libraryloader_l1_1_1
903 enable_api_ms_win_core_libraryloader_l1_2_0
904 enable_api_ms_win_core_localization_l1_1_0
905 enable_api_ms_win_core_localization_l1_2_0
906 enable_api_ms_win_core_localization_l1_2_1
907 enable_api_ms_win_core_localization_obsolete_l1_1_0
908 enable_api_ms_win_core_localregistry_l1_1_0
909 enable_api_ms_win_core_memory_l1_1_0
910 enable_api_ms_win_core_memory_l1_1_1
911 enable_api_ms_win_core_memory_l1_1_2
912 enable_api_ms_win_core_misc_l1_1_0
913 enable_api_ms_win_core_namedpipe_l1_1_0
914 enable_api_ms_win_core_namedpipe_l1_2_0
915 enable_api_ms_win_core_path_l1_1_0
916 enable_api_ms_win_core_processenvironment_l1_1_0
917 enable_api_ms_win_core_processenvironment_l1_2_0
918 enable_api_ms_win_core_processthreads_l1_1_0
919 enable_api_ms_win_core_processthreads_l1_1_1
920 enable_api_ms_win_core_processthreads_l1_1_2
921 enable_api_ms_win_core_profile_l1_1_0
922 enable_api_ms_win_core_psapi_l1_1_0
923 enable_api_ms_win_core_registry_l1_1_0
924 enable_api_ms_win_core_rtlsupport_l1_1_0
925 enable_api_ms_win_core_rtlsupport_l1_2_0
926 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
927 enable_api_ms_win_core_string_l1_1_0
928 enable_api_ms_win_core_string_l2_1_0
929 enable_api_ms_win_core_synch_l1_1_0
930 enable_api_ms_win_core_synch_l1_2_0
931 enable_api_ms_win_core_sysinfo_l1_1_0
932 enable_api_ms_win_core_sysinfo_l1_2_0
933 enable_api_ms_win_core_sysinfo_l1_2_1
934 enable_api_ms_win_core_threadpool_l1_2_0
935 enable_api_ms_win_core_threadpool_legacy_l1_1_0
936 enable_api_ms_win_core_timezone_l1_1_0
937 enable_api_ms_win_core_url_l1_1_0
938 enable_api_ms_win_core_util_l1_1_0
939 enable_api_ms_win_core_version_l1_1_0
940 enable_api_ms_win_core_winrt_error_l1_1_0
941 enable_api_ms_win_core_winrt_error_l1_1_1
942 enable_api_ms_win_core_winrt_l1_1_0
943 enable_api_ms_win_core_winrt_registration_l1_1_0
944 enable_api_ms_win_core_winrt_string_l1_1_0
945 enable_api_ms_win_core_wow64_l1_1_0
946 enable_api_ms_win_core_xstate_l2_1_0
947 enable_api_ms_win_crt_conio_l1_1_0
948 enable_api_ms_win_crt_convert_l1_1_0
949 enable_api_ms_win_crt_environment_l1_1_0
950 enable_api_ms_win_crt_filesystem_l1_1_0
951 enable_api_ms_win_crt_heap_l1_1_0
952 enable_api_ms_win_crt_locale_l1_1_0
953 enable_api_ms_win_crt_math_l1_1_0
954 enable_api_ms_win_crt_multibyte_l1_1_0
955 enable_api_ms_win_crt_private_l1_1_0
956 enable_api_ms_win_crt_process_l1_1_0
957 enable_api_ms_win_crt_runtime_l1_1_0
958 enable_api_ms_win_crt_stdio_l1_1_0
959 enable_api_ms_win_crt_string_l1_1_0
960 enable_api_ms_win_crt_time_l1_1_0
961 enable_api_ms_win_crt_utility_l1_1_0
962 enable_api_ms_win_downlevel_advapi32_l1_1_0
963 enable_api_ms_win_downlevel_advapi32_l2_1_0
964 enable_api_ms_win_downlevel_normaliz_l1_1_0
965 enable_api_ms_win_downlevel_ole32_l1_1_0
966 enable_api_ms_win_downlevel_shell32_l1_1_0
967 enable_api_ms_win_downlevel_shlwapi_l1_1_0
968 enable_api_ms_win_downlevel_shlwapi_l2_1_0
969 enable_api_ms_win_downlevel_user32_l1_1_0
970 enable_api_ms_win_downlevel_version_l1_1_0
971 enable_api_ms_win_eventing_classicprovider_l1_1_0
972 enable_api_ms_win_eventing_provider_l1_1_0
973 enable_api_ms_win_ntuser_dc_access_l1_1_0
974 enable_api_ms_win_security_base_l1_1_0
975 enable_api_ms_win_security_base_l1_2_0
976 enable_api_ms_win_security_lsalookup_l1_1_0
977 enable_api_ms_win_security_lsalookup_l1_1_1
978 enable_api_ms_win_security_sddl_l1_1_0
979 enable_api_ms_win_service_core_l1_1_1
980 enable_api_ms_win_service_management_l1_1_0
981 enable_api_ms_win_service_winsvc_l1_2_0
982 enable_apphelp
983 enable_appwiz_cpl
984 enable_atl
985 enable_atl100
986 enable_atl110
987 enable_atl80
988 enable_atl90
989 enable_authz
990 enable_avicap32
991 enable_avifil32
992 enable_avrt
993 enable_bcrypt
994 enable_bluetoothapis
995 enable_browseui
996 enable_bthprops_cpl
997 enable_cabinet
998 enable_capi2032
999 enable_cards
1000 enable_cfgmgr32
1001 enable_clusapi
1002 enable_combase
1003 enable_comcat
1004 enable_comctl32
1005 enable_comdlg32
1006 enable_compstui
1007 enable_comsvcs
1008 enable_connect
1009 enable_credui
1010 enable_crtdll
1011 enable_crypt32
1012 enable_cryptdlg
1013 enable_cryptdll
1014 enable_cryptext
1015 enable_cryptnet
1016 enable_cryptui
1017 enable_ctapi32
1018 enable_ctl3d32
1019 enable_d2d1
1020 enable_d3d10
1021 enable_d3d10_1
1022 enable_d3d10core
1023 enable_d3d11
1024 enable_d3d8
1025 enable_d3d9
1026 enable_d3dcompiler_33
1027 enable_d3dcompiler_34
1028 enable_d3dcompiler_35
1029 enable_d3dcompiler_36
1030 enable_d3dcompiler_37
1031 enable_d3dcompiler_38
1032 enable_d3dcompiler_39
1033 enable_d3dcompiler_40
1034 enable_d3dcompiler_41
1035 enable_d3dcompiler_42
1036 enable_d3dcompiler_43
1037 enable_d3dcompiler_46
1038 enable_d3dcompiler_47
1039 enable_d3dim
1040 enable_d3drm
1041 enable_d3dx10_33
1042 enable_d3dx10_34
1043 enable_d3dx10_35
1044 enable_d3dx10_36
1045 enable_d3dx10_37
1046 enable_d3dx10_38
1047 enable_d3dx10_39
1048 enable_d3dx10_40
1049 enable_d3dx10_41
1050 enable_d3dx10_42
1051 enable_d3dx10_43
1052 enable_d3dx11_42
1053 enable_d3dx11_43
1054 enable_d3dx9_24
1055 enable_d3dx9_25
1056 enable_d3dx9_26
1057 enable_d3dx9_27
1058 enable_d3dx9_28
1059 enable_d3dx9_29
1060 enable_d3dx9_30
1061 enable_d3dx9_31
1062 enable_d3dx9_32
1063 enable_d3dx9_33
1064 enable_d3dx9_34
1065 enable_d3dx9_35
1066 enable_d3dx9_36
1067 enable_d3dx9_37
1068 enable_d3dx9_38
1069 enable_d3dx9_39
1070 enable_d3dx9_40
1071 enable_d3dx9_41
1072 enable_d3dx9_42
1073 enable_d3dx9_43
1074 enable_d3dxof
1075 enable_davclnt
1076 enable_dbgeng
1077 enable_dbghelp
1078 enable_dciman32
1079 enable_ddraw
1080 enable_ddrawex
1081 enable_devenum
1082 enable_dhcpcsvc
1083 enable_difxapi
1084 enable_dinput
1085 enable_dinput8
1086 enable_dispex
1087 enable_dmband
1088 enable_dmcompos
1089 enable_dmime
1090 enable_dmloader
1091 enable_dmscript
1092 enable_dmstyle
1093 enable_dmsynth
1094 enable_dmusic
1095 enable_dmusic32
1096 enable_dnsapi
1097 enable_dplay
1098 enable_dplayx
1099 enable_dpnaddr
1100 enable_dpnet
1101 enable_dpnhpast
1102 enable_dpnlobby
1103 enable_dpvoice
1104 enable_dpwsockx
1105 enable_drmclien
1106 enable_dsound
1107 enable_dssenh
1108 enable_dswave
1109 enable_dwmapi
1110 enable_dwrite
1111 enable_dxdiagn
1112 enable_dxgi
1113 enable_dxva2
1114 enable_esent
1115 enable_evr
1116 enable_explorerframe
1117 enable_ext_ms_win_gdi_devcaps_l1_1_0
1118 enable_faultrep
1119 enable_fltlib
1120 enable_fltmgr_sys
1121 enable_fntcache
1122 enable_fontsub
1123 enable_fusion
1124 enable_fwpuclnt
1125 enable_gameux
1126 enable_gdi32
1127 enable_gdiplus
1128 enable_glu32
1129 enable_gphoto2_ds
1130 enable_gpkcsp
1131 enable_hal
1132 enable_hhctrl_ocx
1133 enable_hid
1134 enable_hidclass_sys
1135 enable_hlink
1136 enable_hnetcfg
1137 enable_httpapi
1138 enable_iccvid
1139 enable_icmp
1140 enable_ieframe
1141 enable_imaadp32_acm
1142 enable_imagehlp
1143 enable_imm32
1144 enable_inetcomm
1145 enable_inetcpl_cpl
1146 enable_inetmib1
1147 enable_infosoft
1148 enable_initpki
1149 enable_inkobj
1150 enable_inseng
1151 enable_iphlpapi
1152 enable_irprops_cpl
1153 enable_itircl
1154 enable_itss
1155 enable_joy_cpl
1156 enable_jscript
1157 enable_jsproxy
1158 enable_kernel32
1159 enable_kernelbase
1160 enable_ksuser
1161 enable_ktmw32
1162 enable_loadperf
1163 enable_localspl
1164 enable_localui
1165 enable_lz32
1166 enable_mapi32
1167 enable_mapistub
1168 enable_mciavi32
1169 enable_mcicda
1170 enable_mciqtz32
1171 enable_mciseq
1172 enable_mciwave
1173 enable_mf
1174 enable_mfplat
1175 enable_mfreadwrite
1176 enable_mgmtapi
1177 enable_midimap
1178 enable_mlang
1179 enable_mmcndmgr
1180 enable_mmdevapi
1181 enable_mountmgr_sys
1182 enable_mpr
1183 enable_mprapi
1184 enable_msacm32_drv
1185 enable_msacm32
1186 enable_msadp32_acm
1187 enable_msasn1
1188 enable_mscat32
1189 enable_mscms
1190 enable_mscoree
1191 enable_msctf
1192 enable_msctfp
1193 enable_msdaps
1194 enable_msdelta
1195 enable_msdmo
1196 enable_msdrm
1197 enable_msftedit
1198 enable_msg711_acm
1199 enable_msgsm32_acm
1200 enable_mshtml_tlb
1201 enable_mshtml
1202 enable_msi
1203 enable_msident
1204 enable_msimg32
1205 enable_msimsg
1206 enable_msimtf
1207 enable_msisip
1208 enable_msisys_ocx
1209 enable_msls31
1210 enable_msnet32
1211 enable_mspatcha
1212 enable_msrle32
1213 enable_msscript_ocx
1214 enable_mssign32
1215 enable_mssip32
1216 enable_mstask
1217 enable_msvcirt
1218 enable_msvcm80
1219 enable_msvcm90
1220 enable_msvcp100
1221 enable_msvcp110
1222 enable_msvcp120
1223 enable_msvcp120_app
1224 enable_msvcp60
1225 enable_msvcp70
1226 enable_msvcp71
1227 enable_msvcp80
1228 enable_msvcp90
1229 enable_msvcr100
1230 enable_msvcr110
1231 enable_msvcr120
1232 enable_msvcr120_app
1233 enable_msvcr70
1234 enable_msvcr71
1235 enable_msvcr80
1236 enable_msvcr90
1237 enable_msvcrt
1238 enable_msvcrt20
1239 enable_msvcrt40
1240 enable_msvcrtd
1241 enable_msvfw32
1242 enable_msvidc32
1243 enable_mswsock
1244 enable_msxml
1245 enable_msxml2
1246 enable_msxml3
1247 enable_msxml4
1248 enable_msxml6
1249 enable_nddeapi
1250 enable_ndis_sys
1251 enable_netapi32
1252 enable_netcfgx
1253 enable_netprofm
1254 enable_newdev
1255 enable_normaliz
1256 enable_npmshtml
1257 enable_npptools
1258 enable_ntdll
1259 enable_ntdsapi
1260 enable_ntoskrnl_exe
1261 enable_ntprint
1262 enable_objsel
1263 enable_odbc32
1264 enable_odbccp32
1265 enable_odbccu32
1266 enable_ole32
1267 enable_oleacc
1268 enable_oleaut32
1269 enable_olecli32
1270 enable_oledb32
1271 enable_oledlg
1272 enable_olepro32
1273 enable_olesvr32
1274 enable_olethk32
1275 enable_openal32
1276 enable_opencl
1277 enable_opengl32
1278 enable_packager
1279 enable_pdh
1280 enable_photometadatahandler
1281 enable_pidgen
1282 enable_powrprof
1283 enable_printui
1284 enable_prntvpt
1285 enable_propsys
1286 enable_psapi
1287 enable_pstorec
1288 enable_qcap
1289 enable_qedit
1290 enable_qmgr
1291 enable_qmgrprxy
1292 enable_quartz
1293 enable_query
1294 enable_rasapi32
1295 enable_rasdlg
1296 enable_regapi
1297 enable_resutils
1298 enable_riched20
1299 enable_riched32
1300 enable_rpcrt4
1301 enable_rsabase
1302 enable_rsaenh
1303 enable_rstrtmgr
1304 enable_rtutils
1305 enable_samlib
1306 enable_sane_ds
1307 enable_scarddlg
1308 enable_sccbase
1309 enable_schannel
1310 enable_schedsvc
1311 enable_scrrun
1312 enable_scsiport_sys
1313 enable_secur32
1314 enable_security
1315 enable_sensapi
1316 enable_serialui
1317 enable_setupapi
1318 enable_sfc
1319 enable_sfc_os
1320 enable_shdoclc
1321 enable_shdocvw
1322 enable_shell32
1323 enable_shfolder
1324 enable_shlwapi
1325 enable_slbcsp
1326 enable_slc
1327 enable_snmpapi
1328 enable_softpub
1329 enable_spoolss
1330 enable_stdole2_tlb
1331 enable_stdole32_tlb
1332 enable_sti
1333 enable_svrapi
1334 enable_sxs
1335 enable_t2embed
1336 enable_tapi32
1337 enable_taskschd
1338 enable_tdi_sys
1339 enable_traffic
1340 enable_twain_32
1341 enable_ucrtbase
1342 enable_unicows
1343 enable_updspapi
1344 enable_url
1345 enable_urlmon
1346 enable_usbd_sys
1347 enable_user32
1348 enable_userenv
1349 enable_usp10
1350 enable_uxtheme
1351 enable_vbscript
1352 enable_vcomp
1353 enable_vcomp100
1354 enable_vcomp110
1355 enable_vcomp120
1356 enable_vcomp90
1357 enable_vcruntime140
1358 enable_vdmdbg
1359 enable_version
1360 enable_vssapi
1361 enable_wbemdisp
1362 enable_wbemprox
1363 enable_webservices
1364 enable_wer
1365 enable_wevtapi
1366 enable_wiaservc
1367 enable_wimgapi
1368 enable_windowscodecs
1369 enable_windowscodecsext
1370 enable_winealsa_drv
1371 enable_winecoreaudio_drv
1372 enable_wined3d
1373 enable_winegstreamer
1374 enable_winejoystick_drv
1375 enable_winemac_drv
1376 enable_winemapi
1377 enable_winemp3_acm
1378 enable_wineoss_drv
1379 enable_wineps_drv
1380 enable_winepulse_drv
1381 enable_wineqtdecoder
1382 enable_winex11_drv
1383 enable_wing32
1384 enable_winhttp
1385 enable_wininet
1386 enable_winmm
1387 enable_winnls32
1388 enable_winscard
1389 enable_winspool_drv
1390 enable_winsta
1391 enable_wintab32
1392 enable_wintrust
1393 enable_wlanapi
1394 enable_wldap32
1395 enable_wmasf
1396 enable_wmi
1397 enable_wmiutils
1398 enable_wmp
1399 enable_wmvcore
1400 enable_wnaspi32
1401 enable_wpcap
1402 enable_ws2_32
1403 enable_wshom_ocx
1404 enable_wsnmp32
1405 enable_wsock32
1406 enable_wtsapi32
1407 enable_wuapi
1408 enable_wuaueng
1409 enable_x3daudio1_0
1410 enable_x3daudio1_1
1411 enable_x3daudio1_2
1412 enable_x3daudio1_3
1413 enable_x3daudio1_4
1414 enable_x3daudio1_5
1415 enable_x3daudio1_6
1416 enable_x3daudio1_7
1417 enable_xapofx1_1
1418 enable_xapofx1_2
1419 enable_xapofx1_3
1420 enable_xapofx1_4
1421 enable_xapofx1_5
1422 enable_xaudio2_0
1423 enable_xaudio2_1
1424 enable_xaudio2_2
1425 enable_xaudio2_3
1426 enable_xaudio2_4
1427 enable_xaudio2_5
1428 enable_xaudio2_6
1429 enable_xaudio2_7
1430 enable_xaudio2_8
1431 enable_xaudio2_9
1432 enable_xinput1_1
1433 enable_xinput1_2
1434 enable_xinput1_3
1435 enable_xinput1_4
1436 enable_xinput9_1_0
1437 enable_xmllite
1438 enable_xolehlp
1439 enable_xpsprint
1440 enable_xpssvcs
1441 enable_fonts
1442 enable_include
1443 enable_libs_port
1444 enable_libs_wine
1445 enable_libs_wpp
1446 enable_loader
1447 enable_po
1448 enable_arp
1449 enable_aspnet_regiis
1450 enable_attrib
1451 enable_cabarc
1452 enable_cacls
1453 enable_clock
1454 enable_cmd
1455 enable_conhost
1456 enable_control
1457 enable_cscript
1458 enable_dpnsvr
1459 enable_dxdiag
1460 enable_eject
1461 enable_expand
1462 enable_explorer
1463 enable_extrac32
1464 enable_findstr
1465 enable_hh
1466 enable_hostname
1467 enable_icacls
1468 enable_icinfo
1469 enable_iexplore
1470 enable_ipconfig
1471 enable_lodctr
1472 enable_mofcomp
1473 enable_mshta
1474 enable_msiexec
1475 enable_net
1476 enable_netsh
1477 enable_netstat
1478 enable_ngen
1479 enable_notepad
1480 enable_oleview
1481 enable_ping
1482 enable_plugplay
1483 enable_presentationfontcache
1484 enable_progman
1485 enable_reg
1486 enable_regasm
1487 enable_regedit
1488 enable_regsvcs
1489 enable_regsvr32
1490 enable_rpcss
1491 enable_rundll32
1492 enable_sc
1493 enable_schtasks
1494 enable_sdbinst
1495 enable_secedit
1496 enable_servicemodelreg
1497 enable_services
1498 enable_shutdown
1499 enable_spoolsv
1500 enable_start
1501 enable_svchost
1502 enable_systeminfo
1503 enable_taskkill
1504 enable_tasklist
1505 enable_taskmgr
1506 enable_termsv
1507 enable_uninstaller
1508 enable_unlodctr
1509 enable_view
1510 enable_wevtutil
1511 enable_wineboot
1512 enable_winebrowser
1513 enable_winecfg
1514 enable_wineconsole
1515 enable_winedbg
1516 enable_winedevice
1517 enable_winefile
1518 enable_winemenubuilder
1519 enable_winemine
1520 enable_winemsibuilder
1521 enable_winepath
1522 enable_winetest
1523 enable_winhlp32
1524 enable_winver
1525 enable_wmic
1526 enable_wmplayer
1527 enable_wordpad
1528 enable_write
1529 enable_wscript
1530 enable_wusa
1531 enable_xcopy
1532 enable_server
1533 enable_tools
1535 ac_precious_vars='build_alias
1536 host_alias
1537 target_alias
1539 CFLAGS
1540 LDFLAGS
1541 LIBS
1542 CPPFLAGS
1544 CXXFLAGS
1547 XMKMF
1548 XML2_CFLAGS
1549 XML2_LIBS
1550 XSLT_CFLAGS
1551 XSLT_LIBS
1552 DBUS_CFLAGS
1553 DBUS_LIBS
1554 HAL_CFLAGS
1555 HAL_LIBS
1556 GNUTLS_CFLAGS
1557 GNUTLS_LIBS
1558 SANE_CFLAGS
1559 SANE_LIBS
1560 GPHOTO2_CFLAGS
1561 GPHOTO2_LIBS
1562 GPHOTO2_PORT_CFLAGS
1563 GPHOTO2_PORT_LIBS
1564 LCMS2_CFLAGS
1565 LCMS2_LIBS
1566 FREETYPE_CFLAGS
1567 FREETYPE_LIBS
1568 PULSE_CFLAGS
1569 PULSE_LIBS
1570 GSTREAMER_CFLAGS
1571 GSTREAMER_LIBS
1572 CAPI20_CFLAGS
1573 CAPI20_LIBS
1574 FONTCONFIG_CFLAGS
1575 FONTCONFIG_LIBS
1576 JPEG_CFLAGS
1577 JPEG_LIBS
1578 PNG_CFLAGS
1579 PNG_LIBS
1580 TIFF_CFLAGS
1581 TIFF_LIBS
1582 MPG123_CFLAGS
1583 MPG123_LIBS
1584 NETAPI_CFLAGS
1585 NETAPI_LIBS'
1588 # Initialize some variables set by options.
1589 ac_init_help=
1590 ac_init_version=false
1591 ac_unrecognized_opts=
1592 ac_unrecognized_sep=
1593 # The variables have the same names as the options, with
1594 # dashes changed to underlines.
1595 cache_file=/dev/null
1596 exec_prefix=NONE
1597 no_create=
1598 no_recursion=
1599 prefix=NONE
1600 program_prefix=NONE
1601 program_suffix=NONE
1602 program_transform_name=s,x,x,
1603 silent=
1604 site=
1605 srcdir=
1606 verbose=
1607 x_includes=NONE
1608 x_libraries=NONE
1610 # Installation directory options.
1611 # These are left unexpanded so users can "make install exec_prefix=/foo"
1612 # and all the variables that are supposed to be based on exec_prefix
1613 # by default will actually change.
1614 # Use braces instead of parens because sh, perl, etc. also accept them.
1615 # (The list follows the same order as the GNU Coding Standards.)
1616 bindir='${exec_prefix}/bin'
1617 sbindir='${exec_prefix}/sbin'
1618 libexecdir='${exec_prefix}/libexec'
1619 datarootdir='${prefix}/share'
1620 datadir='${datarootdir}'
1621 sysconfdir='${prefix}/etc'
1622 sharedstatedir='${prefix}/com'
1623 localstatedir='${prefix}/var'
1624 runstatedir='${localstatedir}/run'
1625 includedir='${prefix}/include'
1626 oldincludedir='/usr/include'
1627 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1628 infodir='${datarootdir}/info'
1629 htmldir='${docdir}'
1630 dvidir='${docdir}'
1631 pdfdir='${docdir}'
1632 psdir='${docdir}'
1633 libdir='${exec_prefix}/lib'
1634 localedir='${datarootdir}/locale'
1635 mandir='${datarootdir}/man'
1637 ac_prev=
1638 ac_dashdash=
1639 for ac_option
1641 # If the previous option needs an argument, assign it.
1642 if test -n "$ac_prev"; then
1643 eval $ac_prev=\$ac_option
1644 ac_prev=
1645 continue
1648 case $ac_option in
1649 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1650 *=) ac_optarg= ;;
1651 *) ac_optarg=yes ;;
1652 esac
1654 # Accept the important Cygnus configure options, so we can diagnose typos.
1656 case $ac_dashdash$ac_option in
1658 ac_dashdash=yes ;;
1660 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1661 ac_prev=bindir ;;
1662 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1663 bindir=$ac_optarg ;;
1665 -build | --build | --buil | --bui | --bu)
1666 ac_prev=build_alias ;;
1667 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1668 build_alias=$ac_optarg ;;
1670 -cache-file | --cache-file | --cache-fil | --cache-fi \
1671 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1672 ac_prev=cache_file ;;
1673 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1674 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1675 cache_file=$ac_optarg ;;
1677 --config-cache | -C)
1678 cache_file=config.cache ;;
1680 -datadir | --datadir | --datadi | --datad)
1681 ac_prev=datadir ;;
1682 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1683 datadir=$ac_optarg ;;
1685 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1686 | --dataroo | --dataro | --datar)
1687 ac_prev=datarootdir ;;
1688 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1689 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1690 datarootdir=$ac_optarg ;;
1692 -disable-* | --disable-*)
1693 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1694 # Reject names that are not valid shell variable names.
1695 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1696 as_fn_error $? "invalid feature name: $ac_useropt"
1697 ac_useropt_orig=$ac_useropt
1698 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1699 case $ac_user_opts in
1701 "enable_$ac_useropt"
1702 "*) ;;
1703 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1704 ac_unrecognized_sep=', ';;
1705 esac
1706 eval enable_$ac_useropt=no ;;
1708 -docdir | --docdir | --docdi | --doc | --do)
1709 ac_prev=docdir ;;
1710 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1711 docdir=$ac_optarg ;;
1713 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1714 ac_prev=dvidir ;;
1715 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1716 dvidir=$ac_optarg ;;
1718 -enable-* | --enable-*)
1719 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1720 # Reject names that are not valid shell variable names.
1721 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1722 as_fn_error $? "invalid feature name: $ac_useropt"
1723 ac_useropt_orig=$ac_useropt
1724 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1725 case $ac_user_opts in
1727 "enable_$ac_useropt"
1728 "*) ;;
1729 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1730 ac_unrecognized_sep=', ';;
1731 esac
1732 eval enable_$ac_useropt=\$ac_optarg ;;
1734 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1735 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1736 | --exec | --exe | --ex)
1737 ac_prev=exec_prefix ;;
1738 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1739 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1740 | --exec=* | --exe=* | --ex=*)
1741 exec_prefix=$ac_optarg ;;
1743 -gas | --gas | --ga | --g)
1744 # Obsolete; use --with-gas.
1745 with_gas=yes ;;
1747 -help | --help | --hel | --he | -h)
1748 ac_init_help=long ;;
1749 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1750 ac_init_help=recursive ;;
1751 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1752 ac_init_help=short ;;
1754 -host | --host | --hos | --ho)
1755 ac_prev=host_alias ;;
1756 -host=* | --host=* | --hos=* | --ho=*)
1757 host_alias=$ac_optarg ;;
1759 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1760 ac_prev=htmldir ;;
1761 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1762 | --ht=*)
1763 htmldir=$ac_optarg ;;
1765 -includedir | --includedir | --includedi | --included | --include \
1766 | --includ | --inclu | --incl | --inc)
1767 ac_prev=includedir ;;
1768 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1769 | --includ=* | --inclu=* | --incl=* | --inc=*)
1770 includedir=$ac_optarg ;;
1772 -infodir | --infodir | --infodi | --infod | --info | --inf)
1773 ac_prev=infodir ;;
1774 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1775 infodir=$ac_optarg ;;
1777 -libdir | --libdir | --libdi | --libd)
1778 ac_prev=libdir ;;
1779 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1780 libdir=$ac_optarg ;;
1782 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1783 | --libexe | --libex | --libe)
1784 ac_prev=libexecdir ;;
1785 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1786 | --libexe=* | --libex=* | --libe=*)
1787 libexecdir=$ac_optarg ;;
1789 -localedir | --localedir | --localedi | --localed | --locale)
1790 ac_prev=localedir ;;
1791 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1792 localedir=$ac_optarg ;;
1794 -localstatedir | --localstatedir | --localstatedi | --localstated \
1795 | --localstate | --localstat | --localsta | --localst | --locals)
1796 ac_prev=localstatedir ;;
1797 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1798 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1799 localstatedir=$ac_optarg ;;
1801 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1802 ac_prev=mandir ;;
1803 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1804 mandir=$ac_optarg ;;
1806 -nfp | --nfp | --nf)
1807 # Obsolete; use --without-fp.
1808 with_fp=no ;;
1810 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1811 | --no-cr | --no-c | -n)
1812 no_create=yes ;;
1814 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1815 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1816 no_recursion=yes ;;
1818 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1819 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1820 | --oldin | --oldi | --old | --ol | --o)
1821 ac_prev=oldincludedir ;;
1822 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1823 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1824 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1825 oldincludedir=$ac_optarg ;;
1827 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1828 ac_prev=prefix ;;
1829 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1830 prefix=$ac_optarg ;;
1832 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1833 | --program-pre | --program-pr | --program-p)
1834 ac_prev=program_prefix ;;
1835 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1836 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1837 program_prefix=$ac_optarg ;;
1839 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1840 | --program-suf | --program-su | --program-s)
1841 ac_prev=program_suffix ;;
1842 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1843 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1844 program_suffix=$ac_optarg ;;
1846 -program-transform-name | --program-transform-name \
1847 | --program-transform-nam | --program-transform-na \
1848 | --program-transform-n | --program-transform- \
1849 | --program-transform | --program-transfor \
1850 | --program-transfo | --program-transf \
1851 | --program-trans | --program-tran \
1852 | --progr-tra | --program-tr | --program-t)
1853 ac_prev=program_transform_name ;;
1854 -program-transform-name=* | --program-transform-name=* \
1855 | --program-transform-nam=* | --program-transform-na=* \
1856 | --program-transform-n=* | --program-transform-=* \
1857 | --program-transform=* | --program-transfor=* \
1858 | --program-transfo=* | --program-transf=* \
1859 | --program-trans=* | --program-tran=* \
1860 | --progr-tra=* | --program-tr=* | --program-t=*)
1861 program_transform_name=$ac_optarg ;;
1863 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1864 ac_prev=pdfdir ;;
1865 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1866 pdfdir=$ac_optarg ;;
1868 -psdir | --psdir | --psdi | --psd | --ps)
1869 ac_prev=psdir ;;
1870 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1871 psdir=$ac_optarg ;;
1873 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1874 | -silent | --silent | --silen | --sile | --sil)
1875 silent=yes ;;
1877 -runstatedir | --runstatedir | --runstatedi | --runstated \
1878 | --runstate | --runstat | --runsta | --runst | --runs \
1879 | --run | --ru | --r)
1880 ac_prev=runstatedir ;;
1881 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1882 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1883 | --run=* | --ru=* | --r=*)
1884 runstatedir=$ac_optarg ;;
1886 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1887 ac_prev=sbindir ;;
1888 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1889 | --sbi=* | --sb=*)
1890 sbindir=$ac_optarg ;;
1892 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1893 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1894 | --sharedst | --shareds | --shared | --share | --shar \
1895 | --sha | --sh)
1896 ac_prev=sharedstatedir ;;
1897 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1898 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1899 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1900 | --sha=* | --sh=*)
1901 sharedstatedir=$ac_optarg ;;
1903 -site | --site | --sit)
1904 ac_prev=site ;;
1905 -site=* | --site=* | --sit=*)
1906 site=$ac_optarg ;;
1908 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1909 ac_prev=srcdir ;;
1910 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1911 srcdir=$ac_optarg ;;
1913 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1914 | --syscon | --sysco | --sysc | --sys | --sy)
1915 ac_prev=sysconfdir ;;
1916 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1917 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1918 sysconfdir=$ac_optarg ;;
1920 -target | --target | --targe | --targ | --tar | --ta | --t)
1921 ac_prev=target_alias ;;
1922 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1923 target_alias=$ac_optarg ;;
1925 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1926 verbose=yes ;;
1928 -version | --version | --versio | --versi | --vers | -V)
1929 ac_init_version=: ;;
1931 -with-* | --with-*)
1932 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1933 # Reject names that are not valid shell variable names.
1934 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1935 as_fn_error $? "invalid package name: $ac_useropt"
1936 ac_useropt_orig=$ac_useropt
1937 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1938 case $ac_user_opts in
1940 "with_$ac_useropt"
1941 "*) ;;
1942 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1943 ac_unrecognized_sep=', ';;
1944 esac
1945 eval with_$ac_useropt=\$ac_optarg ;;
1947 -without-* | --without-*)
1948 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1949 # Reject names that are not valid shell variable names.
1950 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1951 as_fn_error $? "invalid package name: $ac_useropt"
1952 ac_useropt_orig=$ac_useropt
1953 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1954 case $ac_user_opts in
1956 "with_$ac_useropt"
1957 "*) ;;
1958 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1959 ac_unrecognized_sep=', ';;
1960 esac
1961 eval with_$ac_useropt=no ;;
1963 --x)
1964 # Obsolete; use --with-x.
1965 with_x=yes ;;
1967 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1968 | --x-incl | --x-inc | --x-in | --x-i)
1969 ac_prev=x_includes ;;
1970 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1971 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1972 x_includes=$ac_optarg ;;
1974 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1975 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1976 ac_prev=x_libraries ;;
1977 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1978 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1979 x_libraries=$ac_optarg ;;
1981 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1982 Try \`$0 --help' for more information"
1985 *=*)
1986 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1987 # Reject names that are not valid shell variable names.
1988 case $ac_envvar in #(
1989 '' | [0-9]* | *[!_$as_cr_alnum]* )
1990 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1991 esac
1992 eval $ac_envvar=\$ac_optarg
1993 export $ac_envvar ;;
1996 # FIXME: should be removed in autoconf 3.0.
1997 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1998 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1999 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2000 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2003 esac
2004 done
2006 if test -n "$ac_prev"; then
2007 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2008 as_fn_error $? "missing argument to $ac_option"
2011 if test -n "$ac_unrecognized_opts"; then
2012 case $enable_option_checking in
2013 no) ;;
2014 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2015 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2016 esac
2019 # Check all directory arguments for consistency.
2020 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2021 datadir sysconfdir sharedstatedir localstatedir includedir \
2022 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2023 libdir localedir mandir runstatedir
2025 eval ac_val=\$$ac_var
2026 # Remove trailing slashes.
2027 case $ac_val in
2028 */ )
2029 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2030 eval $ac_var=\$ac_val;;
2031 esac
2032 # Be sure to have absolute directory names.
2033 case $ac_val in
2034 [\\/$]* | ?:[\\/]* ) continue;;
2035 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2036 esac
2037 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2038 done
2040 # There might be people who depend on the old broken behavior: `$host'
2041 # used to hold the argument of --host etc.
2042 # FIXME: To remove some day.
2043 build=$build_alias
2044 host=$host_alias
2045 target=$target_alias
2047 # FIXME: To remove some day.
2048 if test "x$host_alias" != x; then
2049 if test "x$build_alias" = x; then
2050 cross_compiling=maybe
2051 elif test "x$build_alias" != "x$host_alias"; then
2052 cross_compiling=yes
2056 ac_tool_prefix=
2057 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2059 test "$silent" = yes && exec 6>/dev/null
2062 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2063 ac_ls_di=`ls -di .` &&
2064 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2065 as_fn_error $? "working directory cannot be determined"
2066 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2067 as_fn_error $? "pwd does not report name of working directory"
2070 # Find the source files, if location was not specified.
2071 if test -z "$srcdir"; then
2072 ac_srcdir_defaulted=yes
2073 # Try the directory containing this script, then the parent directory.
2074 ac_confdir=`$as_dirname -- "$as_myself" ||
2075 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2076 X"$as_myself" : 'X\(//\)[^/]' \| \
2077 X"$as_myself" : 'X\(//\)$' \| \
2078 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2079 $as_echo X"$as_myself" |
2080 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2081 s//\1/
2084 /^X\(\/\/\)[^/].*/{
2085 s//\1/
2088 /^X\(\/\/\)$/{
2089 s//\1/
2092 /^X\(\/\).*/{
2093 s//\1/
2096 s/.*/./; q'`
2097 srcdir=$ac_confdir
2098 if test ! -r "$srcdir/$ac_unique_file"; then
2099 srcdir=..
2101 else
2102 ac_srcdir_defaulted=no
2104 if test ! -r "$srcdir/$ac_unique_file"; then
2105 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2106 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2108 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2109 ac_abs_confdir=`(
2110 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2111 pwd)`
2112 # When building in place, set srcdir=.
2113 if test "$ac_abs_confdir" = "$ac_pwd"; then
2114 srcdir=.
2116 # Remove unnecessary trailing slashes from srcdir.
2117 # Double slashes in file names in object file debugging info
2118 # mess up M-x gdb in Emacs.
2119 case $srcdir in
2120 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2121 esac
2122 for ac_var in $ac_precious_vars; do
2123 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2124 eval ac_env_${ac_var}_value=\$${ac_var}
2125 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2126 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2127 done
2130 # Report the --help message.
2132 if test "$ac_init_help" = "long"; then
2133 # Omit some internal or obsolete options to make the list less imposing.
2134 # This message is too long to be a string in the A/UX 3.1 sh.
2135 cat <<_ACEOF
2136 \`configure' configures Wine 1.9.8 to adapt to many kinds of systems.
2138 Usage: $0 [OPTION]... [VAR=VALUE]...
2140 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2141 VAR=VALUE. See below for descriptions of some of the useful variables.
2143 Defaults for the options are specified in brackets.
2145 Configuration:
2146 -h, --help display this help and exit
2147 --help=short display options specific to this package
2148 --help=recursive display the short help of all the included packages
2149 -V, --version display version information and exit
2150 -q, --quiet, --silent do not print \`checking ...' messages
2151 --cache-file=FILE cache test results in FILE [disabled]
2152 -C, --config-cache alias for \`--cache-file=config.cache'
2153 -n, --no-create do not create output files
2154 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2156 Installation directories:
2157 --prefix=PREFIX install architecture-independent files in PREFIX
2158 [$ac_default_prefix]
2159 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2160 [PREFIX]
2162 By default, \`make install' will install all the files in
2163 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2164 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2165 for instance \`--prefix=\$HOME'.
2167 For better control, use the options below.
2169 Fine tuning of the installation directories:
2170 --bindir=DIR user executables [EPREFIX/bin]
2171 --sbindir=DIR system admin executables [EPREFIX/sbin]
2172 --libexecdir=DIR program executables [EPREFIX/libexec]
2173 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2174 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2175 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2176 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2177 --libdir=DIR object code libraries [EPREFIX/lib]
2178 --includedir=DIR C header files [PREFIX/include]
2179 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2180 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2181 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2182 --infodir=DIR info documentation [DATAROOTDIR/info]
2183 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2184 --mandir=DIR man documentation [DATAROOTDIR/man]
2185 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2186 --htmldir=DIR html documentation [DOCDIR]
2187 --dvidir=DIR dvi documentation [DOCDIR]
2188 --pdfdir=DIR pdf documentation [DOCDIR]
2189 --psdir=DIR ps documentation [DOCDIR]
2190 _ACEOF
2192 cat <<\_ACEOF
2194 X features:
2195 --x-includes=DIR X include files are in DIR
2196 --x-libraries=DIR X library files are in DIR
2198 System types:
2199 --build=BUILD configure for building on BUILD [guessed]
2200 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2201 _ACEOF
2204 if test -n "$ac_init_help"; then
2205 case $ac_init_help in
2206 short | recursive ) echo "Configuration of Wine 1.9.8:";;
2207 esac
2208 cat <<\_ACEOF
2210 Optional Features:
2211 --disable-option-checking ignore unrecognized --enable/--with options
2212 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2213 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2214 --disable-win16 do not include Win16 support
2215 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2216 binaries)
2217 --disable-tests do not build the regression tests
2218 --enable-maintainer-mode
2219 enable maintainer-specific build rules
2220 --disable-largefile omit support for large files
2222 Optional Packages:
2223 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2224 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2225 --without-alsa do not use the Alsa sound support
2226 --without-capi do not use CAPI (ISDN support)
2227 --without-cms do not use CMS (color management support)
2228 --without-coreaudio do not use the CoreAudio sound support
2229 --without-cups do not use CUPS
2230 --without-curses do not use (n)curses
2231 --without-dbus do not use DBus (dynamic device support)
2232 --without-fontconfig do not use fontconfig
2233 --without-freetype do not use the FreeType library
2234 --without-gettext do not use gettext
2235 --with-gettextpo use the GetTextPO library to rebuild po files
2236 --without-gphoto do not use gphoto (Digital Camera support)
2237 --without-glu do not use the GLU library
2238 --without-gnutls do not use GnuTLS (schannel support)
2239 --without-gsm do not use libgsm (GSM 06.10 codec support)
2240 --without-gstreamer do not use GStreamer (codecs support)
2241 --without-hal do not use HAL (dynamic device support)
2242 --without-jpeg do not use JPEG
2243 --without-ldap do not use LDAP
2244 --without-mpg123 do not use the mpg123 library
2245 --without-netapi do not use the Samba NetAPI library
2246 --without-openal do not use OpenAL
2247 --without-opencl do not use OpenCL
2248 --without-opengl do not use OpenGL
2249 --without-osmesa do not use the OSMesa library
2250 --without-oss do not use the OSS sound support
2251 --without-pcap do not use the Packet Capture library
2252 --without-png do not use PNG
2253 --without-pthread do not use the pthread library
2254 --without-pulse do not use PulseAudio sound support
2255 --without-sane do not use SANE (scanner support)
2256 --without-tiff do not use TIFF
2257 --without-v4l do not use v4l1 (v4l support)
2258 --without-xcomposite do not use the Xcomposite extension
2259 --without-xcursor do not use the Xcursor extension
2260 --without-xinerama do not use Xinerama (multi-monitor support)
2261 --without-xinput do not use the Xinput extension
2262 --without-xinput2 do not use the Xinput 2 extension
2263 --without-xml do not use XML
2264 --without-xrandr do not use Xrandr (resolution changes)
2265 --without-xrender do not use the Xrender extension
2266 --without-xshape do not use the Xshape extension
2267 --without-xshm do not use XShm (shared memory extension)
2268 --without-xslt do not use XSLT
2269 --without-xxf86vm do not use XFree video mode extension
2270 --without-zlib do not use Zlib (data compression)
2271 --with-wine-tools=DIR use Wine tools from directory DIR
2272 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2273 --with-x use the X Window System
2275 Some influential environment variables:
2276 CC C compiler command
2277 CFLAGS C compiler flags
2278 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2279 nonstandard directory <lib dir>
2280 LIBS libraries to pass to the linker, e.g. -l<library>
2281 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2282 you have headers in a nonstandard directory <include dir>
2283 CXX C++ compiler command
2284 CXXFLAGS C++ compiler flags
2285 CPP C preprocessor
2286 XMKMF Path to xmkmf, Makefile generator for X Window System
2287 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2288 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2289 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2290 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2291 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2292 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2293 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2294 HAL_LIBS Linker flags for hal, overriding pkg-config
2295 GNUTLS_CFLAGS
2296 C compiler flags for gnutls, overriding pkg-config
2297 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2298 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2299 SANE_LIBS Linker flags for libsane, overriding pkg-config
2300 GPHOTO2_CFLAGS
2301 C compiler flags for libgphoto2, overriding pkg-config
2302 GPHOTO2_LIBS
2303 Linker flags for libgphoto2, overriding pkg-config
2304 GPHOTO2_PORT_CFLAGS
2305 C compiler flags for libgphoto2_port, overriding pkg-config
2306 GPHOTO2_PORT_LIBS
2307 Linker flags for libgphoto2_port, overriding pkg-config
2308 LCMS2_CFLAGS
2309 C compiler flags for lcms2, overriding pkg-config
2310 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2311 FREETYPE_CFLAGS
2312 C compiler flags for freetype2, overriding pkg-config
2313 FREETYPE_LIBS
2314 Linker flags for freetype2, overriding pkg-config
2315 PULSE_CFLAGS
2316 C compiler flags for libpulse, overriding pkg-config
2317 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2318 GSTREAMER_CFLAGS
2319 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2320 gstreamer-audio-1.0, overriding pkg-config
2321 GSTREAMER_LIBS
2322 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2323 gstreamer-audio-1.0, overriding pkg-config
2324 CAPI20_CFLAGS
2325 C compiler flags for capi20, overriding pkg-config
2326 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2327 FONTCONFIG_CFLAGS
2328 C compiler flags for fontconfig, overriding pkg-config
2329 FONTCONFIG_LIBS
2330 Linker flags for fontconfig, overriding pkg-config
2331 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2332 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2333 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2334 PNG_LIBS Linker flags for libpng, overriding pkg-config
2335 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2336 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2337 MPG123_CFLAGS
2338 C compiler flags for libmpg123, overriding pkg-config
2339 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2340 NETAPI_CFLAGS
2341 C compiler flags for netapi, overriding pkg-config
2342 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2344 Use these variables to override the choices made by `configure' or to help
2345 it to find libraries and programs with nonstandard names/locations.
2347 Report bugs to <wine-devel@winehq.org>.
2348 Wine home page: <http://www.winehq.org>.
2349 _ACEOF
2350 ac_status=$?
2353 if test "$ac_init_help" = "recursive"; then
2354 # If there are subdirs, report their specific --help.
2355 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2356 test -d "$ac_dir" ||
2357 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2358 continue
2359 ac_builddir=.
2361 case "$ac_dir" in
2362 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2364 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2365 # A ".." for each directory in $ac_dir_suffix.
2366 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2367 case $ac_top_builddir_sub in
2368 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2369 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2370 esac ;;
2371 esac
2372 ac_abs_top_builddir=$ac_pwd
2373 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2374 # for backward compatibility:
2375 ac_top_builddir=$ac_top_build_prefix
2377 case $srcdir in
2378 .) # We are building in place.
2379 ac_srcdir=.
2380 ac_top_srcdir=$ac_top_builddir_sub
2381 ac_abs_top_srcdir=$ac_pwd ;;
2382 [\\/]* | ?:[\\/]* ) # Absolute name.
2383 ac_srcdir=$srcdir$ac_dir_suffix;
2384 ac_top_srcdir=$srcdir
2385 ac_abs_top_srcdir=$srcdir ;;
2386 *) # Relative name.
2387 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2388 ac_top_srcdir=$ac_top_build_prefix$srcdir
2389 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2390 esac
2391 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2393 cd "$ac_dir" || { ac_status=$?; continue; }
2394 # Check for guested configure.
2395 if test -f "$ac_srcdir/configure.gnu"; then
2396 echo &&
2397 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2398 elif test -f "$ac_srcdir/configure"; then
2399 echo &&
2400 $SHELL "$ac_srcdir/configure" --help=recursive
2401 else
2402 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2403 fi || ac_status=$?
2404 cd "$ac_pwd" || { ac_status=$?; break; }
2405 done
2408 test -n "$ac_init_help" && exit $ac_status
2409 if $ac_init_version; then
2410 cat <<\_ACEOF
2411 Wine configure 1.9.8
2412 generated by GNU Autoconf 2.69
2414 Copyright (C) 2012 Free Software Foundation, Inc.
2415 This configure script is free software; the Free Software Foundation
2416 gives unlimited permission to copy, distribute and modify it.
2417 _ACEOF
2418 exit
2421 ## ------------------------ ##
2422 ## Autoconf initialization. ##
2423 ## ------------------------ ##
2425 # ac_fn_c_try_compile LINENO
2426 # --------------------------
2427 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2428 ac_fn_c_try_compile ()
2430 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2431 rm -f conftest.$ac_objext
2432 if { { ac_try="$ac_compile"
2433 case "(($ac_try" in
2434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2435 *) ac_try_echo=$ac_try;;
2436 esac
2437 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2438 $as_echo "$ac_try_echo"; } >&5
2439 (eval "$ac_compile") 2>conftest.err
2440 ac_status=$?
2441 if test -s conftest.err; then
2442 grep -v '^ *+' conftest.err >conftest.er1
2443 cat conftest.er1 >&5
2444 mv -f conftest.er1 conftest.err
2446 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2447 test $ac_status = 0; } && {
2448 test -z "$ac_c_werror_flag" ||
2449 test ! -s conftest.err
2450 } && test -s conftest.$ac_objext; then :
2451 ac_retval=0
2452 else
2453 $as_echo "$as_me: failed program was:" >&5
2454 sed 's/^/| /' conftest.$ac_ext >&5
2456 ac_retval=1
2458 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2459 as_fn_set_status $ac_retval
2461 } # ac_fn_c_try_compile
2463 # ac_fn_cxx_try_compile LINENO
2464 # ----------------------------
2465 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2466 ac_fn_cxx_try_compile ()
2468 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2469 rm -f conftest.$ac_objext
2470 if { { ac_try="$ac_compile"
2471 case "(($ac_try" in
2472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2473 *) ac_try_echo=$ac_try;;
2474 esac
2475 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2476 $as_echo "$ac_try_echo"; } >&5
2477 (eval "$ac_compile") 2>conftest.err
2478 ac_status=$?
2479 if test -s conftest.err; then
2480 grep -v '^ *+' conftest.err >conftest.er1
2481 cat conftest.er1 >&5
2482 mv -f conftest.er1 conftest.err
2484 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2485 test $ac_status = 0; } && {
2486 test -z "$ac_cxx_werror_flag" ||
2487 test ! -s conftest.err
2488 } && test -s conftest.$ac_objext; then :
2489 ac_retval=0
2490 else
2491 $as_echo "$as_me: failed program was:" >&5
2492 sed 's/^/| /' conftest.$ac_ext >&5
2494 ac_retval=1
2496 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2497 as_fn_set_status $ac_retval
2499 } # ac_fn_cxx_try_compile
2501 # ac_fn_c_try_link LINENO
2502 # -----------------------
2503 # Try to link conftest.$ac_ext, and return whether this succeeded.
2504 ac_fn_c_try_link ()
2506 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2507 rm -f conftest.$ac_objext conftest$ac_exeext
2508 if { { ac_try="$ac_link"
2509 case "(($ac_try" in
2510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2511 *) ac_try_echo=$ac_try;;
2512 esac
2513 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2514 $as_echo "$ac_try_echo"; } >&5
2515 (eval "$ac_link") 2>conftest.err
2516 ac_status=$?
2517 if test -s conftest.err; then
2518 grep -v '^ *+' conftest.err >conftest.er1
2519 cat conftest.er1 >&5
2520 mv -f conftest.er1 conftest.err
2522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2523 test $ac_status = 0; } && {
2524 test -z "$ac_c_werror_flag" ||
2525 test ! -s conftest.err
2526 } && test -s conftest$ac_exeext && {
2527 test "$cross_compiling" = yes ||
2528 test -x conftest$ac_exeext
2529 }; then :
2530 ac_retval=0
2531 else
2532 $as_echo "$as_me: failed program was:" >&5
2533 sed 's/^/| /' conftest.$ac_ext >&5
2535 ac_retval=1
2537 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2538 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2539 # interfere with the next link command; also delete a directory that is
2540 # left behind by Apple's compiler. We do this before executing the actions.
2541 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2542 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2543 as_fn_set_status $ac_retval
2545 } # ac_fn_c_try_link
2547 # ac_fn_c_try_cpp LINENO
2548 # ----------------------
2549 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2550 ac_fn_c_try_cpp ()
2552 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2553 if { { ac_try="$ac_cpp conftest.$ac_ext"
2554 case "(($ac_try" in
2555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2556 *) ac_try_echo=$ac_try;;
2557 esac
2558 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2559 $as_echo "$ac_try_echo"; } >&5
2560 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2561 ac_status=$?
2562 if test -s conftest.err; then
2563 grep -v '^ *+' conftest.err >conftest.er1
2564 cat conftest.er1 >&5
2565 mv -f conftest.er1 conftest.err
2567 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2568 test $ac_status = 0; } > conftest.i && {
2569 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2570 test ! -s conftest.err
2571 }; then :
2572 ac_retval=0
2573 else
2574 $as_echo "$as_me: failed program was:" >&5
2575 sed 's/^/| /' conftest.$ac_ext >&5
2577 ac_retval=1
2579 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2580 as_fn_set_status $ac_retval
2582 } # ac_fn_c_try_cpp
2584 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2585 # -------------------------------------------------------
2586 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2587 # the include files in INCLUDES and setting the cache variable VAR
2588 # accordingly.
2589 ac_fn_c_check_header_mongrel ()
2591 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2592 if eval \${$3+:} false; then :
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2594 $as_echo_n "checking for $2... " >&6; }
2595 if eval \${$3+:} false; then :
2596 $as_echo_n "(cached) " >&6
2598 eval ac_res=\$$3
2599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2600 $as_echo "$ac_res" >&6; }
2601 else
2602 # Is the header compilable?
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2604 $as_echo_n "checking $2 usability... " >&6; }
2605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2606 /* end confdefs.h. */
2608 #include <$2>
2609 _ACEOF
2610 if ac_fn_c_try_compile "$LINENO"; then :
2611 ac_header_compiler=yes
2612 else
2613 ac_header_compiler=no
2615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2617 $as_echo "$ac_header_compiler" >&6; }
2619 # Is the header present?
2620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2621 $as_echo_n "checking $2 presence... " >&6; }
2622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2623 /* end confdefs.h. */
2624 #include <$2>
2625 _ACEOF
2626 if ac_fn_c_try_cpp "$LINENO"; then :
2627 ac_header_preproc=yes
2628 else
2629 ac_header_preproc=no
2631 rm -f conftest.err conftest.i conftest.$ac_ext
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2633 $as_echo "$ac_header_preproc" >&6; }
2635 # So? What about this header?
2636 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2637 yes:no: )
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2639 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2641 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2643 no:yes:* )
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2645 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2647 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2649 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2651 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2653 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2654 ( $as_echo "## ------------------------------------ ##
2655 ## Report this to wine-devel@winehq.org ##
2656 ## ------------------------------------ ##"
2657 ) | sed "s/^/$as_me: WARNING: /" >&2
2659 esac
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2661 $as_echo_n "checking for $2... " >&6; }
2662 if eval \${$3+:} false; then :
2663 $as_echo_n "(cached) " >&6
2664 else
2665 eval "$3=\$ac_header_compiler"
2667 eval ac_res=\$$3
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2669 $as_echo "$ac_res" >&6; }
2671 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2673 } # ac_fn_c_check_header_mongrel
2675 # ac_fn_c_try_run LINENO
2676 # ----------------------
2677 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2678 # that executables *can* be run.
2679 ac_fn_c_try_run ()
2681 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2682 if { { ac_try="$ac_link"
2683 case "(($ac_try" in
2684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2685 *) ac_try_echo=$ac_try;;
2686 esac
2687 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2688 $as_echo "$ac_try_echo"; } >&5
2689 (eval "$ac_link") 2>&5
2690 ac_status=$?
2691 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2692 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2693 { { case "(($ac_try" in
2694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2695 *) ac_try_echo=$ac_try;;
2696 esac
2697 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2698 $as_echo "$ac_try_echo"; } >&5
2699 (eval "$ac_try") 2>&5
2700 ac_status=$?
2701 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2702 test $ac_status = 0; }; }; then :
2703 ac_retval=0
2704 else
2705 $as_echo "$as_me: program exited with status $ac_status" >&5
2706 $as_echo "$as_me: failed program was:" >&5
2707 sed 's/^/| /' conftest.$ac_ext >&5
2709 ac_retval=$ac_status
2711 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2712 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2713 as_fn_set_status $ac_retval
2715 } # ac_fn_c_try_run
2717 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2718 # -------------------------------------------------------
2719 # Tests whether HEADER exists and can be compiled using the include files in
2720 # INCLUDES, setting the cache variable VAR accordingly.
2721 ac_fn_c_check_header_compile ()
2723 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2725 $as_echo_n "checking for $2... " >&6; }
2726 if eval \${$3+:} false; then :
2727 $as_echo_n "(cached) " >&6
2728 else
2729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2730 /* end confdefs.h. */
2732 #include <$2>
2733 _ACEOF
2734 if ac_fn_c_try_compile "$LINENO"; then :
2735 eval "$3=yes"
2736 else
2737 eval "$3=no"
2739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2741 eval ac_res=\$$3
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2743 $as_echo "$ac_res" >&6; }
2744 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2746 } # ac_fn_c_check_header_compile
2748 # ac_fn_c_check_func LINENO FUNC VAR
2749 # ----------------------------------
2750 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2751 ac_fn_c_check_func ()
2753 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2755 $as_echo_n "checking for $2... " >&6; }
2756 if eval \${$3+:} false; then :
2757 $as_echo_n "(cached) " >&6
2758 else
2759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2760 /* end confdefs.h. */
2761 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2762 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2763 #define $2 innocuous_$2
2765 /* System header to define __stub macros and hopefully few prototypes,
2766 which can conflict with char $2 (); below.
2767 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2768 <limits.h> exists even on freestanding compilers. */
2770 #ifdef __STDC__
2771 # include <limits.h>
2772 #else
2773 # include <assert.h>
2774 #endif
2776 #undef $2
2778 /* Override any GCC internal prototype to avoid an error.
2779 Use char because int might match the return type of a GCC
2780 builtin and then its argument prototype would still apply. */
2781 #ifdef __cplusplus
2782 extern "C"
2783 #endif
2784 char $2 ();
2785 /* The GNU C library defines this for functions which it implements
2786 to always fail with ENOSYS. Some functions are actually named
2787 something starting with __ and the normal name is an alias. */
2788 #if defined __stub_$2 || defined __stub___$2
2789 choke me
2790 #endif
2793 main ()
2795 return $2 ();
2797 return 0;
2799 _ACEOF
2800 if ac_fn_c_try_link "$LINENO"; then :
2801 eval "$3=yes"
2802 else
2803 eval "$3=no"
2805 rm -f core conftest.err conftest.$ac_objext \
2806 conftest$ac_exeext conftest.$ac_ext
2808 eval ac_res=\$$3
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2810 $as_echo "$ac_res" >&6; }
2811 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2813 } # ac_fn_c_check_func
2815 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2816 # ----------------------------------------------------
2817 # Tries to find if the field MEMBER exists in type AGGR, after including
2818 # INCLUDES, setting cache variable VAR accordingly.
2819 ac_fn_c_check_member ()
2821 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2823 $as_echo_n "checking for $2.$3... " >&6; }
2824 if eval \${$4+:} false; then :
2825 $as_echo_n "(cached) " >&6
2826 else
2827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2828 /* end confdefs.h. */
2831 main ()
2833 static $2 ac_aggr;
2834 if (ac_aggr.$3)
2835 return 0;
2837 return 0;
2839 _ACEOF
2840 if ac_fn_c_try_compile "$LINENO"; then :
2841 eval "$4=yes"
2842 else
2843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2844 /* end confdefs.h. */
2847 main ()
2849 static $2 ac_aggr;
2850 if (sizeof ac_aggr.$3)
2851 return 0;
2853 return 0;
2855 _ACEOF
2856 if ac_fn_c_try_compile "$LINENO"; then :
2857 eval "$4=yes"
2858 else
2859 eval "$4=no"
2861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2865 eval ac_res=\$$4
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2867 $as_echo "$ac_res" >&6; }
2868 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2870 } # ac_fn_c_check_member
2872 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2873 # -------------------------------------------
2874 # Tests whether TYPE exists after having included INCLUDES, setting cache
2875 # variable VAR accordingly.
2876 ac_fn_c_check_type ()
2878 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2880 $as_echo_n "checking for $2... " >&6; }
2881 if eval \${$3+:} false; then :
2882 $as_echo_n "(cached) " >&6
2883 else
2884 eval "$3=no"
2885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2886 /* end confdefs.h. */
2889 main ()
2891 if (sizeof ($2))
2892 return 0;
2894 return 0;
2896 _ACEOF
2897 if ac_fn_c_try_compile "$LINENO"; then :
2898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2899 /* end confdefs.h. */
2902 main ()
2904 if (sizeof (($2)))
2905 return 0;
2907 return 0;
2909 _ACEOF
2910 if ac_fn_c_try_compile "$LINENO"; then :
2912 else
2913 eval "$3=yes"
2915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2919 eval ac_res=\$$3
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2921 $as_echo "$ac_res" >&6; }
2922 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2924 } # ac_fn_c_check_type
2925 cat >config.log <<_ACEOF
2926 This file contains any messages produced by compilers while
2927 running configure, to aid debugging if configure makes a mistake.
2929 It was created by Wine $as_me 1.9.8, which was
2930 generated by GNU Autoconf 2.69. Invocation command line was
2932 $ $0 $@
2934 _ACEOF
2935 exec 5>>config.log
2937 cat <<_ASUNAME
2938 ## --------- ##
2939 ## Platform. ##
2940 ## --------- ##
2942 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2943 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2944 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2945 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2946 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2948 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2949 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2951 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2952 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2953 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2954 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2955 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2956 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2957 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2959 _ASUNAME
2961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2962 for as_dir in $PATH
2964 IFS=$as_save_IFS
2965 test -z "$as_dir" && as_dir=.
2966 $as_echo "PATH: $as_dir"
2967 done
2968 IFS=$as_save_IFS
2970 } >&5
2972 cat >&5 <<_ACEOF
2975 ## ----------- ##
2976 ## Core tests. ##
2977 ## ----------- ##
2979 _ACEOF
2982 # Keep a trace of the command line.
2983 # Strip out --no-create and --no-recursion so they do not pile up.
2984 # Strip out --silent because we don't want to record it for future runs.
2985 # Also quote any args containing shell meta-characters.
2986 # Make two passes to allow for proper duplicate-argument suppression.
2987 ac_configure_args=
2988 ac_configure_args0=
2989 ac_configure_args1=
2990 ac_must_keep_next=false
2991 for ac_pass in 1 2
2993 for ac_arg
2995 case $ac_arg in
2996 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2997 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2998 | -silent | --silent | --silen | --sile | --sil)
2999 continue ;;
3000 *\'*)
3001 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3002 esac
3003 case $ac_pass in
3004 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3006 as_fn_append ac_configure_args1 " '$ac_arg'"
3007 if test $ac_must_keep_next = true; then
3008 ac_must_keep_next=false # Got value, back to normal.
3009 else
3010 case $ac_arg in
3011 *=* | --config-cache | -C | -disable-* | --disable-* \
3012 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3013 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3014 | -with-* | --with-* | -without-* | --without-* | --x)
3015 case "$ac_configure_args0 " in
3016 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3017 esac
3019 -* ) ac_must_keep_next=true ;;
3020 esac
3022 as_fn_append ac_configure_args " '$ac_arg'"
3024 esac
3025 done
3026 done
3027 { ac_configure_args0=; unset ac_configure_args0;}
3028 { ac_configure_args1=; unset ac_configure_args1;}
3030 # When interrupted or exit'd, cleanup temporary files, and complete
3031 # config.log. We remove comments because anyway the quotes in there
3032 # would cause problems or look ugly.
3033 # WARNING: Use '\'' to represent an apostrophe within the trap.
3034 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3035 trap 'exit_status=$?
3036 # Save into config.log some information that might help in debugging.
3038 echo
3040 $as_echo "## ---------------- ##
3041 ## Cache variables. ##
3042 ## ---------------- ##"
3043 echo
3044 # The following way of writing the cache mishandles newlines in values,
3046 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3047 eval ac_val=\$$ac_var
3048 case $ac_val in #(
3049 *${as_nl}*)
3050 case $ac_var in #(
3051 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3052 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3053 esac
3054 case $ac_var in #(
3055 _ | IFS | as_nl) ;; #(
3056 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3057 *) { eval $ac_var=; unset $ac_var;} ;;
3058 esac ;;
3059 esac
3060 done
3061 (set) 2>&1 |
3062 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3063 *${as_nl}ac_space=\ *)
3064 sed -n \
3065 "s/'\''/'\''\\\\'\'''\''/g;
3066 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3067 ;; #(
3069 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3071 esac |
3072 sort
3074 echo
3076 $as_echo "## ----------------- ##
3077 ## Output variables. ##
3078 ## ----------------- ##"
3079 echo
3080 for ac_var in $ac_subst_vars
3082 eval ac_val=\$$ac_var
3083 case $ac_val in
3084 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3085 esac
3086 $as_echo "$ac_var='\''$ac_val'\''"
3087 done | sort
3088 echo
3090 if test -n "$ac_subst_files"; then
3091 $as_echo "## ------------------- ##
3092 ## File substitutions. ##
3093 ## ------------------- ##"
3094 echo
3095 for ac_var in $ac_subst_files
3097 eval ac_val=\$$ac_var
3098 case $ac_val in
3099 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3100 esac
3101 $as_echo "$ac_var='\''$ac_val'\''"
3102 done | sort
3103 echo
3106 if test -s confdefs.h; then
3107 $as_echo "## ----------- ##
3108 ## confdefs.h. ##
3109 ## ----------- ##"
3110 echo
3111 cat confdefs.h
3112 echo
3114 test "$ac_signal" != 0 &&
3115 $as_echo "$as_me: caught signal $ac_signal"
3116 $as_echo "$as_me: exit $exit_status"
3117 } >&5
3118 rm -f core *.core core.conftest.* &&
3119 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3120 exit $exit_status
3122 for ac_signal in 1 2 13 15; do
3123 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3124 done
3125 ac_signal=0
3127 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3128 rm -f -r conftest* confdefs.h
3130 $as_echo "/* confdefs.h */" > confdefs.h
3132 # Predefined preprocessor variables.
3134 cat >>confdefs.h <<_ACEOF
3135 #define PACKAGE_NAME "$PACKAGE_NAME"
3136 _ACEOF
3138 cat >>confdefs.h <<_ACEOF
3139 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3140 _ACEOF
3142 cat >>confdefs.h <<_ACEOF
3143 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3144 _ACEOF
3146 cat >>confdefs.h <<_ACEOF
3147 #define PACKAGE_STRING "$PACKAGE_STRING"
3148 _ACEOF
3150 cat >>confdefs.h <<_ACEOF
3151 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3152 _ACEOF
3154 cat >>confdefs.h <<_ACEOF
3155 #define PACKAGE_URL "$PACKAGE_URL"
3156 _ACEOF
3159 # Let the site file select an alternate cache file if it wants to.
3160 # Prefer an explicitly selected file to automatically selected ones.
3161 ac_site_file1=NONE
3162 ac_site_file2=NONE
3163 if test -n "$CONFIG_SITE"; then
3164 # We do not want a PATH search for config.site.
3165 case $CONFIG_SITE in #((
3166 -*) ac_site_file1=./$CONFIG_SITE;;
3167 */*) ac_site_file1=$CONFIG_SITE;;
3168 *) ac_site_file1=./$CONFIG_SITE;;
3169 esac
3170 elif test "x$prefix" != xNONE; then
3171 ac_site_file1=$prefix/share/config.site
3172 ac_site_file2=$prefix/etc/config.site
3173 else
3174 ac_site_file1=$ac_default_prefix/share/config.site
3175 ac_site_file2=$ac_default_prefix/etc/config.site
3177 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3179 test "x$ac_site_file" = xNONE && continue
3180 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3182 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3183 sed 's/^/| /' "$ac_site_file" >&5
3184 . "$ac_site_file" \
3185 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3186 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3187 as_fn_error $? "failed to load site script $ac_site_file
3188 See \`config.log' for more details" "$LINENO" 5; }
3190 done
3192 if test -r "$cache_file"; then
3193 # Some versions of bash will fail to source /dev/null (special files
3194 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3195 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3197 $as_echo "$as_me: loading cache $cache_file" >&6;}
3198 case $cache_file in
3199 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3200 *) . "./$cache_file";;
3201 esac
3203 else
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3205 $as_echo "$as_me: creating cache $cache_file" >&6;}
3206 >$cache_file
3209 # Check that the precious variables saved in the cache have kept the same
3210 # value.
3211 ac_cache_corrupted=false
3212 for ac_var in $ac_precious_vars; do
3213 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3214 eval ac_new_set=\$ac_env_${ac_var}_set
3215 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3216 eval ac_new_val=\$ac_env_${ac_var}_value
3217 case $ac_old_set,$ac_new_set in
3218 set,)
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3220 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3221 ac_cache_corrupted=: ;;
3222 ,set)
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3224 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3225 ac_cache_corrupted=: ;;
3226 ,);;
3228 if test "x$ac_old_val" != "x$ac_new_val"; then
3229 # differences in whitespace do not lead to failure.
3230 ac_old_val_w=`echo x $ac_old_val`
3231 ac_new_val_w=`echo x $ac_new_val`
3232 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3234 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3235 ac_cache_corrupted=:
3236 else
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3238 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3239 eval $ac_var=\$ac_old_val
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3242 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3244 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3245 fi;;
3246 esac
3247 # Pass precious variables to config.status.
3248 if test "$ac_new_set" = set; then
3249 case $ac_new_val in
3250 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3251 *) ac_arg=$ac_var=$ac_new_val ;;
3252 esac
3253 case " $ac_configure_args " in
3254 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3255 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3256 esac
3258 done
3259 if $ac_cache_corrupted; then
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3261 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3263 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3264 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3266 ## -------------------- ##
3267 ## Main body of script. ##
3268 ## -------------------- ##
3270 ac_ext=c
3271 ac_cpp='$CPP $CPPFLAGS'
3272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3278 ac_config_headers="$ac_config_headers include/config.h"
3280 ac_aux_dir=
3281 for ac_dir in tools "$srcdir"/tools; do
3282 if test -f "$ac_dir/install-sh"; then
3283 ac_aux_dir=$ac_dir
3284 ac_install_sh="$ac_aux_dir/install-sh -c"
3285 break
3286 elif test -f "$ac_dir/install.sh"; then
3287 ac_aux_dir=$ac_dir
3288 ac_install_sh="$ac_aux_dir/install.sh -c"
3289 break
3290 elif test -f "$ac_dir/shtool"; then
3291 ac_aux_dir=$ac_dir
3292 ac_install_sh="$ac_aux_dir/shtool install -c"
3293 break
3295 done
3296 if test -z "$ac_aux_dir"; then
3297 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3300 # These three variables are undocumented and unsupported,
3301 # and are intended to be withdrawn in a future Autoconf release.
3302 # They can cause serious problems if a builder's source tree is in a directory
3303 # whose full name contains unusual characters.
3304 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3305 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3306 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3310 libwine_version="1.0"
3314 # Check whether --enable-win16 was given.
3315 if test "${enable_win16+set}" = set; then :
3316 enableval=$enable_win16;
3319 # Check whether --enable-win64 was given.
3320 if test "${enable_win64+set}" = set; then :
3321 enableval=$enable_win64;
3324 # Check whether --enable-tests was given.
3325 if test "${enable_tests+set}" = set; then :
3326 enableval=$enable_tests;
3329 # Check whether --enable-maintainer-mode was given.
3330 if test "${enable_maintainer_mode+set}" = set; then :
3331 enableval=$enable_maintainer_mode;
3336 # Check whether --with-alsa was given.
3337 if test "${with_alsa+set}" = set; then :
3338 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3342 # Check whether --with-capi was given.
3343 if test "${with_capi+set}" = set; then :
3344 withval=$with_capi;
3348 # Check whether --with-cms was given.
3349 if test "${with_cms+set}" = set; then :
3350 withval=$with_cms;
3354 # Check whether --with-coreaudio was given.
3355 if test "${with_coreaudio+set}" = set; then :
3356 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3360 # Check whether --with-cups was given.
3361 if test "${with_cups+set}" = set; then :
3362 withval=$with_cups;
3366 # Check whether --with-curses was given.
3367 if test "${with_curses+set}" = set; then :
3368 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3372 # Check whether --with-dbus was given.
3373 if test "${with_dbus+set}" = set; then :
3374 withval=$with_dbus;
3378 # Check whether --with-fontconfig was given.
3379 if test "${with_fontconfig+set}" = set; then :
3380 withval=$with_fontconfig;
3384 # Check whether --with-freetype was given.
3385 if test "${with_freetype+set}" = set; then :
3386 withval=$with_freetype;
3390 # Check whether --with-gettext was given.
3391 if test "${with_gettext+set}" = set; then :
3392 withval=$with_gettext;
3396 # Check whether --with-gettextpo was given.
3397 if test "${with_gettextpo+set}" = set; then :
3398 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3402 # Check whether --with-gphoto was given.
3403 if test "${with_gphoto+set}" = set; then :
3404 withval=$with_gphoto;
3408 # Check whether --with-glu was given.
3409 if test "${with_glu+set}" = set; then :
3410 withval=$with_glu;
3414 # Check whether --with-gnutls was given.
3415 if test "${with_gnutls+set}" = set; then :
3416 withval=$with_gnutls;
3420 # Check whether --with-gsm was given.
3421 if test "${with_gsm+set}" = set; then :
3422 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3426 # Check whether --with-gstreamer was given.
3427 if test "${with_gstreamer+set}" = set; then :
3428 withval=$with_gstreamer;
3432 # Check whether --with-hal was given.
3433 if test "${with_hal+set}" = set; then :
3434 withval=$with_hal;
3438 # Check whether --with-jpeg was given.
3439 if test "${with_jpeg+set}" = set; then :
3440 withval=$with_jpeg;
3444 # Check whether --with-ldap was given.
3445 if test "${with_ldap+set}" = set; then :
3446 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3450 # Check whether --with-mpg123 was given.
3451 if test "${with_mpg123+set}" = set; then :
3452 withval=$with_mpg123;
3456 # Check whether --with-netapi was given.
3457 if test "${with_netapi+set}" = set; then :
3458 withval=$with_netapi;
3462 # Check whether --with-openal was given.
3463 if test "${with_openal+set}" = set; then :
3464 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3468 # Check whether --with-opencl was given.
3469 if test "${with_opencl+set}" = set; then :
3470 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3474 # Check whether --with-opengl was given.
3475 if test "${with_opengl+set}" = set; then :
3476 withval=$with_opengl;
3480 # Check whether --with-osmesa was given.
3481 if test "${with_osmesa+set}" = set; then :
3482 withval=$with_osmesa;
3486 # Check whether --with-oss was given.
3487 if test "${with_oss+set}" = set; then :
3488 withval=$with_oss;
3492 # Check whether --with-pcap was given.
3493 if test "${with_pcap+set}" = set; then :
3494 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3498 # Check whether --with-png was given.
3499 if test "${with_png+set}" = set; then :
3500 withval=$with_png;
3504 # Check whether --with-pthread was given.
3505 if test "${with_pthread+set}" = set; then :
3506 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3510 # Check whether --with-pulse was given.
3511 if test "${with_pulse+set}" = set; then :
3512 withval=$with_pulse;
3516 # Check whether --with-sane was given.
3517 if test "${with_sane+set}" = set; then :
3518 withval=$with_sane;
3522 # Check whether --with-tiff was given.
3523 if test "${with_tiff+set}" = set; then :
3524 withval=$with_tiff;
3528 # Check whether --with-v4l was given.
3529 if test "${with_v4l+set}" = set; then :
3530 withval=$with_v4l;
3534 # Check whether --with-xcomposite was given.
3535 if test "${with_xcomposite+set}" = set; then :
3536 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3540 # Check whether --with-xcursor was given.
3541 if test "${with_xcursor+set}" = set; then :
3542 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3546 # Check whether --with-xinerama was given.
3547 if test "${with_xinerama+set}" = set; then :
3548 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3552 # Check whether --with-xinput was given.
3553 if test "${with_xinput+set}" = set; then :
3554 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3558 # Check whether --with-xinput2 was given.
3559 if test "${with_xinput2+set}" = set; then :
3560 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3564 # Check whether --with-xml was given.
3565 if test "${with_xml+set}" = set; then :
3566 withval=$with_xml;
3570 # Check whether --with-xrandr was given.
3571 if test "${with_xrandr+set}" = set; then :
3572 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3576 # Check whether --with-xrender was given.
3577 if test "${with_xrender+set}" = set; then :
3578 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3582 # Check whether --with-xshape was given.
3583 if test "${with_xshape+set}" = set; then :
3584 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3588 # Check whether --with-xshm was given.
3589 if test "${with_xshm+set}" = set; then :
3590 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3594 # Check whether --with-xslt was given.
3595 if test "${with_xslt+set}" = set; then :
3596 withval=$with_xslt;
3600 # Check whether --with-xxf86vm was given.
3601 if test "${with_xxf86vm+set}" = set; then :
3602 withval=$with_xxf86vm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h=no; ac_cv_header_X11_extensions_xf86vmproto_h=no; fi
3606 # Check whether --with-zlib was given.
3607 if test "${with_zlib+set}" = set; then :
3608 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3613 # Check whether --with-wine-tools was given.
3614 if test "${with_wine_tools+set}" = set; then :
3615 withval=$with_wine_tools;
3619 # Check whether --with-wine64 was given.
3620 if test "${with_wine64+set}" = set; then :
3621 withval=$with_wine64;
3625 # Make sure we can run config.sub.
3626 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3627 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3630 $as_echo_n "checking build system type... " >&6; }
3631 if ${ac_cv_build+:} false; then :
3632 $as_echo_n "(cached) " >&6
3633 else
3634 ac_build_alias=$build_alias
3635 test "x$ac_build_alias" = x &&
3636 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3637 test "x$ac_build_alias" = x &&
3638 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3639 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3640 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3644 $as_echo "$ac_cv_build" >&6; }
3645 case $ac_cv_build in
3646 *-*-*) ;;
3647 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3648 esac
3649 build=$ac_cv_build
3650 ac_save_IFS=$IFS; IFS='-'
3651 set x $ac_cv_build
3652 shift
3653 build_cpu=$1
3654 build_vendor=$2
3655 shift; shift
3656 # Remember, the first character of IFS is used to create $*,
3657 # except with old shells:
3658 build_os=$*
3659 IFS=$ac_save_IFS
3660 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3664 $as_echo_n "checking host system type... " >&6; }
3665 if ${ac_cv_host+:} false; then :
3666 $as_echo_n "(cached) " >&6
3667 else
3668 if test "x$host_alias" = x; then
3669 ac_cv_host=$ac_cv_build
3670 else
3671 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3672 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3677 $as_echo "$ac_cv_host" >&6; }
3678 case $ac_cv_host in
3679 *-*-*) ;;
3680 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3681 esac
3682 host=$ac_cv_host
3683 ac_save_IFS=$IFS; IFS='-'
3684 set x $ac_cv_host
3685 shift
3686 host_cpu=$1
3687 host_vendor=$2
3688 shift; shift
3689 # Remember, the first character of IFS is used to create $*,
3690 # except with old shells:
3691 host_os=$*
3692 IFS=$ac_save_IFS
3693 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3697 case "$srcdir" in
3698 .) ;;
3699 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3700 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3701 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3702 fi ;;
3703 esac
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3707 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3708 set x ${MAKE-make}
3709 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3710 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3711 $as_echo_n "(cached) " >&6
3712 else
3713 cat >conftest.make <<\_ACEOF
3714 SHELL = /bin/sh
3715 all:
3716 @echo '@@@%%%=$(MAKE)=@@@%%%'
3717 _ACEOF
3718 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3719 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3720 *@@@%%%=?*=@@@%%%*)
3721 eval ac_cv_prog_make_${ac_make}_set=yes;;
3723 eval ac_cv_prog_make_${ac_make}_set=no;;
3724 esac
3725 rm -f conftest.make
3727 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3729 $as_echo "yes" >&6; }
3730 SET_MAKE=
3731 else
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3733 $as_echo "no" >&6; }
3734 SET_MAKE="MAKE=${MAKE-make}"
3737 ac_ext=c
3738 ac_cpp='$CPP $CPPFLAGS'
3739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3742 if test -n "$ac_tool_prefix"; then
3743 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3744 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3746 $as_echo_n "checking for $ac_word... " >&6; }
3747 if ${ac_cv_prog_CC+:} false; then :
3748 $as_echo_n "(cached) " >&6
3749 else
3750 if test -n "$CC"; then
3751 ac_cv_prog_CC="$CC" # Let the user override the test.
3752 else
3753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3754 for as_dir in $PATH
3756 IFS=$as_save_IFS
3757 test -z "$as_dir" && as_dir=.
3758 for ac_exec_ext in '' $ac_executable_extensions; do
3759 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3760 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3761 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3762 break 2
3764 done
3765 done
3766 IFS=$as_save_IFS
3770 CC=$ac_cv_prog_CC
3771 if test -n "$CC"; then
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3773 $as_echo "$CC" >&6; }
3774 else
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3776 $as_echo "no" >&6; }
3781 if test -z "$ac_cv_prog_CC"; then
3782 ac_ct_CC=$CC
3783 # Extract the first word of "gcc", so it can be a program name with args.
3784 set dummy gcc; ac_word=$2
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3786 $as_echo_n "checking for $ac_word... " >&6; }
3787 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3788 $as_echo_n "(cached) " >&6
3789 else
3790 if test -n "$ac_ct_CC"; then
3791 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3792 else
3793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3794 for as_dir in $PATH
3796 IFS=$as_save_IFS
3797 test -z "$as_dir" && as_dir=.
3798 for ac_exec_ext in '' $ac_executable_extensions; do
3799 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3800 ac_cv_prog_ac_ct_CC="gcc"
3801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3802 break 2
3804 done
3805 done
3806 IFS=$as_save_IFS
3810 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3811 if test -n "$ac_ct_CC"; then
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3813 $as_echo "$ac_ct_CC" >&6; }
3814 else
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3816 $as_echo "no" >&6; }
3819 if test "x$ac_ct_CC" = x; then
3820 CC=""
3821 else
3822 case $cross_compiling:$ac_tool_warned in
3823 yes:)
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3825 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3826 ac_tool_warned=yes ;;
3827 esac
3828 CC=$ac_ct_CC
3830 else
3831 CC="$ac_cv_prog_CC"
3834 if test -z "$CC"; then
3835 if test -n "$ac_tool_prefix"; then
3836 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3837 set dummy ${ac_tool_prefix}cc; ac_word=$2
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3839 $as_echo_n "checking for $ac_word... " >&6; }
3840 if ${ac_cv_prog_CC+:} false; then :
3841 $as_echo_n "(cached) " >&6
3842 else
3843 if test -n "$CC"; then
3844 ac_cv_prog_CC="$CC" # Let the user override the test.
3845 else
3846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3847 for as_dir in $PATH
3849 IFS=$as_save_IFS
3850 test -z "$as_dir" && as_dir=.
3851 for ac_exec_ext in '' $ac_executable_extensions; do
3852 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3853 ac_cv_prog_CC="${ac_tool_prefix}cc"
3854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3855 break 2
3857 done
3858 done
3859 IFS=$as_save_IFS
3863 CC=$ac_cv_prog_CC
3864 if test -n "$CC"; then
3865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3866 $as_echo "$CC" >&6; }
3867 else
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3869 $as_echo "no" >&6; }
3875 if test -z "$CC"; then
3876 # Extract the first word of "cc", so it can be a program name with args.
3877 set dummy cc; ac_word=$2
3878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3879 $as_echo_n "checking for $ac_word... " >&6; }
3880 if ${ac_cv_prog_CC+:} false; then :
3881 $as_echo_n "(cached) " >&6
3882 else
3883 if test -n "$CC"; then
3884 ac_cv_prog_CC="$CC" # Let the user override the test.
3885 else
3886 ac_prog_rejected=no
3887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3888 for as_dir in $PATH
3890 IFS=$as_save_IFS
3891 test -z "$as_dir" && as_dir=.
3892 for ac_exec_ext in '' $ac_executable_extensions; do
3893 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3894 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3895 ac_prog_rejected=yes
3896 continue
3898 ac_cv_prog_CC="cc"
3899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3900 break 2
3902 done
3903 done
3904 IFS=$as_save_IFS
3906 if test $ac_prog_rejected = yes; then
3907 # We found a bogon in the path, so make sure we never use it.
3908 set dummy $ac_cv_prog_CC
3909 shift
3910 if test $# != 0; then
3911 # We chose a different compiler from the bogus one.
3912 # However, it has the same basename, so the bogon will be chosen
3913 # first if we set CC to just the basename; use the full file name.
3914 shift
3915 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3920 CC=$ac_cv_prog_CC
3921 if test -n "$CC"; then
3922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3923 $as_echo "$CC" >&6; }
3924 else
3925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3926 $as_echo "no" >&6; }
3931 if test -z "$CC"; then
3932 if test -n "$ac_tool_prefix"; then
3933 for ac_prog in cl.exe
3935 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3936 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3938 $as_echo_n "checking for $ac_word... " >&6; }
3939 if ${ac_cv_prog_CC+:} false; then :
3940 $as_echo_n "(cached) " >&6
3941 else
3942 if test -n "$CC"; then
3943 ac_cv_prog_CC="$CC" # Let the user override the test.
3944 else
3945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3946 for as_dir in $PATH
3948 IFS=$as_save_IFS
3949 test -z "$as_dir" && as_dir=.
3950 for ac_exec_ext in '' $ac_executable_extensions; do
3951 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3952 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3954 break 2
3956 done
3957 done
3958 IFS=$as_save_IFS
3962 CC=$ac_cv_prog_CC
3963 if test -n "$CC"; then
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3965 $as_echo "$CC" >&6; }
3966 else
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3968 $as_echo "no" >&6; }
3972 test -n "$CC" && break
3973 done
3975 if test -z "$CC"; then
3976 ac_ct_CC=$CC
3977 for ac_prog in cl.exe
3979 # Extract the first word of "$ac_prog", so it can be a program name with args.
3980 set dummy $ac_prog; ac_word=$2
3981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3982 $as_echo_n "checking for $ac_word... " >&6; }
3983 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3984 $as_echo_n "(cached) " >&6
3985 else
3986 if test -n "$ac_ct_CC"; then
3987 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3988 else
3989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3990 for as_dir in $PATH
3992 IFS=$as_save_IFS
3993 test -z "$as_dir" && as_dir=.
3994 for ac_exec_ext in '' $ac_executable_extensions; do
3995 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3996 ac_cv_prog_ac_ct_CC="$ac_prog"
3997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3998 break 2
4000 done
4001 done
4002 IFS=$as_save_IFS
4006 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4007 if test -n "$ac_ct_CC"; then
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4009 $as_echo "$ac_ct_CC" >&6; }
4010 else
4011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4012 $as_echo "no" >&6; }
4016 test -n "$ac_ct_CC" && break
4017 done
4019 if test "x$ac_ct_CC" = x; then
4020 CC=""
4021 else
4022 case $cross_compiling:$ac_tool_warned in
4023 yes:)
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4025 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4026 ac_tool_warned=yes ;;
4027 esac
4028 CC=$ac_ct_CC
4035 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4036 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4037 as_fn_error $? "no acceptable C compiler found in \$PATH
4038 See \`config.log' for more details" "$LINENO" 5; }
4040 # Provide some information about the compiler.
4041 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4042 set X $ac_compile
4043 ac_compiler=$2
4044 for ac_option in --version -v -V -qversion; do
4045 { { ac_try="$ac_compiler $ac_option >&5"
4046 case "(($ac_try" in
4047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4048 *) ac_try_echo=$ac_try;;
4049 esac
4050 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4051 $as_echo "$ac_try_echo"; } >&5
4052 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4053 ac_status=$?
4054 if test -s conftest.err; then
4055 sed '10a\
4056 ... rest of stderr output deleted ...
4057 10q' conftest.err >conftest.er1
4058 cat conftest.er1 >&5
4060 rm -f conftest.er1 conftest.err
4061 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4062 test $ac_status = 0; }
4063 done
4065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4066 /* end confdefs.h. */
4069 main ()
4073 return 0;
4075 _ACEOF
4076 ac_clean_files_save=$ac_clean_files
4077 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4078 # Try to create an executable without -o first, disregard a.out.
4079 # It will help us diagnose broken compilers, and finding out an intuition
4080 # of exeext.
4081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4082 $as_echo_n "checking whether the C compiler works... " >&6; }
4083 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4085 # The possible output files:
4086 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4088 ac_rmfiles=
4089 for ac_file in $ac_files
4091 case $ac_file in
4092 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4093 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4094 esac
4095 done
4096 rm -f $ac_rmfiles
4098 if { { ac_try="$ac_link_default"
4099 case "(($ac_try" in
4100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4101 *) ac_try_echo=$ac_try;;
4102 esac
4103 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4104 $as_echo "$ac_try_echo"; } >&5
4105 (eval "$ac_link_default") 2>&5
4106 ac_status=$?
4107 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4108 test $ac_status = 0; }; then :
4109 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4110 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4111 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4112 # so that the user can short-circuit this test for compilers unknown to
4113 # Autoconf.
4114 for ac_file in $ac_files ''
4116 test -f "$ac_file" || continue
4117 case $ac_file in
4118 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4120 [ab].out )
4121 # We found the default executable, but exeext='' is most
4122 # certainly right.
4123 break;;
4124 *.* )
4125 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4126 then :; else
4127 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4129 # We set ac_cv_exeext here because the later test for it is not
4130 # safe: cross compilers may not add the suffix if given an `-o'
4131 # argument, so we may need to know it at that point already.
4132 # Even if this section looks crufty: it has the advantage of
4133 # actually working.
4134 break;;
4136 break;;
4137 esac
4138 done
4139 test "$ac_cv_exeext" = no && ac_cv_exeext=
4141 else
4142 ac_file=''
4144 if test -z "$ac_file"; then :
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4146 $as_echo "no" >&6; }
4147 $as_echo "$as_me: failed program was:" >&5
4148 sed 's/^/| /' conftest.$ac_ext >&5
4150 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4151 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4152 as_fn_error 77 "C compiler cannot create executables
4153 See \`config.log' for more details" "$LINENO" 5; }
4154 else
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4156 $as_echo "yes" >&6; }
4158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4159 $as_echo_n "checking for C compiler default output file name... " >&6; }
4160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4161 $as_echo "$ac_file" >&6; }
4162 ac_exeext=$ac_cv_exeext
4164 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4165 ac_clean_files=$ac_clean_files_save
4166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4167 $as_echo_n "checking for suffix of executables... " >&6; }
4168 if { { ac_try="$ac_link"
4169 case "(($ac_try" in
4170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4171 *) ac_try_echo=$ac_try;;
4172 esac
4173 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4174 $as_echo "$ac_try_echo"; } >&5
4175 (eval "$ac_link") 2>&5
4176 ac_status=$?
4177 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4178 test $ac_status = 0; }; then :
4179 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4180 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4181 # work properly (i.e., refer to `conftest.exe'), while it won't with
4182 # `rm'.
4183 for ac_file in conftest.exe conftest conftest.*; do
4184 test -f "$ac_file" || continue
4185 case $ac_file in
4186 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4187 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4188 break;;
4189 * ) break;;
4190 esac
4191 done
4192 else
4193 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4194 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4195 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4196 See \`config.log' for more details" "$LINENO" 5; }
4198 rm -f conftest conftest$ac_cv_exeext
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4200 $as_echo "$ac_cv_exeext" >&6; }
4202 rm -f conftest.$ac_ext
4203 EXEEXT=$ac_cv_exeext
4204 ac_exeext=$EXEEXT
4205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4206 /* end confdefs.h. */
4207 #include <stdio.h>
4209 main ()
4211 FILE *f = fopen ("conftest.out", "w");
4212 return ferror (f) || fclose (f) != 0;
4215 return 0;
4217 _ACEOF
4218 ac_clean_files="$ac_clean_files conftest.out"
4219 # Check that the compiler produces executables we can run. If not, either
4220 # the compiler is broken, or we cross compile.
4221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4222 $as_echo_n "checking whether we are cross compiling... " >&6; }
4223 if test "$cross_compiling" != yes; then
4224 { { ac_try="$ac_link"
4225 case "(($ac_try" in
4226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4227 *) ac_try_echo=$ac_try;;
4228 esac
4229 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4230 $as_echo "$ac_try_echo"; } >&5
4231 (eval "$ac_link") 2>&5
4232 ac_status=$?
4233 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4234 test $ac_status = 0; }
4235 if { ac_try='./conftest$ac_cv_exeext'
4236 { { case "(($ac_try" in
4237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4238 *) ac_try_echo=$ac_try;;
4239 esac
4240 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4241 $as_echo "$ac_try_echo"; } >&5
4242 (eval "$ac_try") 2>&5
4243 ac_status=$?
4244 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4245 test $ac_status = 0; }; }; then
4246 cross_compiling=no
4247 else
4248 if test "$cross_compiling" = maybe; then
4249 cross_compiling=yes
4250 else
4251 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4252 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4253 as_fn_error $? "cannot run C compiled programs.
4254 If you meant to cross compile, use \`--host'.
4255 See \`config.log' for more details" "$LINENO" 5; }
4259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4260 $as_echo "$cross_compiling" >&6; }
4262 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4263 ac_clean_files=$ac_clean_files_save
4264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4265 $as_echo_n "checking for suffix of object files... " >&6; }
4266 if ${ac_cv_objext+:} false; then :
4267 $as_echo_n "(cached) " >&6
4268 else
4269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4270 /* end confdefs.h. */
4273 main ()
4277 return 0;
4279 _ACEOF
4280 rm -f conftest.o conftest.obj
4281 if { { ac_try="$ac_compile"
4282 case "(($ac_try" in
4283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4284 *) ac_try_echo=$ac_try;;
4285 esac
4286 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4287 $as_echo "$ac_try_echo"; } >&5
4288 (eval "$ac_compile") 2>&5
4289 ac_status=$?
4290 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4291 test $ac_status = 0; }; then :
4292 for ac_file in conftest.o conftest.obj conftest.*; do
4293 test -f "$ac_file" || continue;
4294 case $ac_file in
4295 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4296 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4297 break;;
4298 esac
4299 done
4300 else
4301 $as_echo "$as_me: failed program was:" >&5
4302 sed 's/^/| /' conftest.$ac_ext >&5
4304 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4305 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4306 as_fn_error $? "cannot compute suffix of object files: cannot compile
4307 See \`config.log' for more details" "$LINENO" 5; }
4309 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4312 $as_echo "$ac_cv_objext" >&6; }
4313 OBJEXT=$ac_cv_objext
4314 ac_objext=$OBJEXT
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4316 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4317 if ${ac_cv_c_compiler_gnu+:} false; then :
4318 $as_echo_n "(cached) " >&6
4319 else
4320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4321 /* end confdefs.h. */
4324 main ()
4326 #ifndef __GNUC__
4327 choke me
4328 #endif
4331 return 0;
4333 _ACEOF
4334 if ac_fn_c_try_compile "$LINENO"; then :
4335 ac_compiler_gnu=yes
4336 else
4337 ac_compiler_gnu=no
4339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4340 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4344 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4345 if test $ac_compiler_gnu = yes; then
4346 GCC=yes
4347 else
4348 GCC=
4350 ac_test_CFLAGS=${CFLAGS+set}
4351 ac_save_CFLAGS=$CFLAGS
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4353 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4354 if ${ac_cv_prog_cc_g+:} false; then :
4355 $as_echo_n "(cached) " >&6
4356 else
4357 ac_save_c_werror_flag=$ac_c_werror_flag
4358 ac_c_werror_flag=yes
4359 ac_cv_prog_cc_g=no
4360 CFLAGS="-g"
4361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4362 /* end confdefs.h. */
4365 main ()
4369 return 0;
4371 _ACEOF
4372 if ac_fn_c_try_compile "$LINENO"; then :
4373 ac_cv_prog_cc_g=yes
4374 else
4375 CFLAGS=""
4376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4377 /* end confdefs.h. */
4380 main ()
4384 return 0;
4386 _ACEOF
4387 if ac_fn_c_try_compile "$LINENO"; then :
4389 else
4390 ac_c_werror_flag=$ac_save_c_werror_flag
4391 CFLAGS="-g"
4392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4393 /* end confdefs.h. */
4396 main ()
4400 return 0;
4402 _ACEOF
4403 if ac_fn_c_try_compile "$LINENO"; then :
4404 ac_cv_prog_cc_g=yes
4406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4411 ac_c_werror_flag=$ac_save_c_werror_flag
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4414 $as_echo "$ac_cv_prog_cc_g" >&6; }
4415 if test "$ac_test_CFLAGS" = set; then
4416 CFLAGS=$ac_save_CFLAGS
4417 elif test $ac_cv_prog_cc_g = yes; then
4418 if test "$GCC" = yes; then
4419 CFLAGS="-g -O2"
4420 else
4421 CFLAGS="-g"
4423 else
4424 if test "$GCC" = yes; then
4425 CFLAGS="-O2"
4426 else
4427 CFLAGS=
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4431 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4432 if ${ac_cv_prog_cc_c89+:} false; then :
4433 $as_echo_n "(cached) " >&6
4434 else
4435 ac_cv_prog_cc_c89=no
4436 ac_save_CC=$CC
4437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4438 /* end confdefs.h. */
4439 #include <stdarg.h>
4440 #include <stdio.h>
4441 struct stat;
4442 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4443 struct buf { int x; };
4444 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4445 static char *e (p, i)
4446 char **p;
4447 int i;
4449 return p[i];
4451 static char *f (char * (*g) (char **, int), char **p, ...)
4453 char *s;
4454 va_list v;
4455 va_start (v,p);
4456 s = g (p, va_arg (v,int));
4457 va_end (v);
4458 return s;
4461 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4462 function prototypes and stuff, but not '\xHH' hex character constants.
4463 These don't provoke an error unfortunately, instead are silently treated
4464 as 'x'. The following induces an error, until -std is added to get
4465 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4466 array size at least. It's necessary to write '\x00'==0 to get something
4467 that's true only with -std. */
4468 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4470 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4471 inside strings and character constants. */
4472 #define FOO(x) 'x'
4473 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4475 int test (int i, double x);
4476 struct s1 {int (*f) (int a);};
4477 struct s2 {int (*f) (double a);};
4478 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4479 int argc;
4480 char **argv;
4482 main ()
4484 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4486 return 0;
4488 _ACEOF
4489 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4490 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4492 CC="$ac_save_CC $ac_arg"
4493 if ac_fn_c_try_compile "$LINENO"; then :
4494 ac_cv_prog_cc_c89=$ac_arg
4496 rm -f core conftest.err conftest.$ac_objext
4497 test "x$ac_cv_prog_cc_c89" != "xno" && break
4498 done
4499 rm -f conftest.$ac_ext
4500 CC=$ac_save_CC
4503 # AC_CACHE_VAL
4504 case "x$ac_cv_prog_cc_c89" in
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4507 $as_echo "none needed" >&6; } ;;
4508 xno)
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4510 $as_echo "unsupported" >&6; } ;;
4512 CC="$CC $ac_cv_prog_cc_c89"
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4514 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4515 esac
4516 if test "x$ac_cv_prog_cc_c89" != xno; then :
4520 ac_ext=c
4521 ac_cpp='$CPP $CPPFLAGS'
4522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4526 ac_ext=cpp
4527 ac_cpp='$CXXCPP $CPPFLAGS'
4528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4531 if test -z "$CXX"; then
4532 if test -n "$CCC"; then
4533 CXX=$CCC
4534 else
4535 if test -n "$ac_tool_prefix"; then
4536 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4538 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4539 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4541 $as_echo_n "checking for $ac_word... " >&6; }
4542 if ${ac_cv_prog_CXX+:} false; then :
4543 $as_echo_n "(cached) " >&6
4544 else
4545 if test -n "$CXX"; then
4546 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4547 else
4548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4549 for as_dir in $PATH
4551 IFS=$as_save_IFS
4552 test -z "$as_dir" && as_dir=.
4553 for ac_exec_ext in '' $ac_executable_extensions; do
4554 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4555 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4557 break 2
4559 done
4560 done
4561 IFS=$as_save_IFS
4565 CXX=$ac_cv_prog_CXX
4566 if test -n "$CXX"; then
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4568 $as_echo "$CXX" >&6; }
4569 else
4570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4571 $as_echo "no" >&6; }
4575 test -n "$CXX" && break
4576 done
4578 if test -z "$CXX"; then
4579 ac_ct_CXX=$CXX
4580 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4582 # Extract the first word of "$ac_prog", so it can be a program name with args.
4583 set dummy $ac_prog; ac_word=$2
4584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4585 $as_echo_n "checking for $ac_word... " >&6; }
4586 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4587 $as_echo_n "(cached) " >&6
4588 else
4589 if test -n "$ac_ct_CXX"; then
4590 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4591 else
4592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4593 for as_dir in $PATH
4595 IFS=$as_save_IFS
4596 test -z "$as_dir" && as_dir=.
4597 for ac_exec_ext in '' $ac_executable_extensions; do
4598 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4599 ac_cv_prog_ac_ct_CXX="$ac_prog"
4600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4601 break 2
4603 done
4604 done
4605 IFS=$as_save_IFS
4609 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4610 if test -n "$ac_ct_CXX"; then
4611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4612 $as_echo "$ac_ct_CXX" >&6; }
4613 else
4614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4615 $as_echo "no" >&6; }
4619 test -n "$ac_ct_CXX" && break
4620 done
4622 if test "x$ac_ct_CXX" = x; then
4623 CXX="g++"
4624 else
4625 case $cross_compiling:$ac_tool_warned in
4626 yes:)
4627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4628 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4629 ac_tool_warned=yes ;;
4630 esac
4631 CXX=$ac_ct_CXX
4637 # Provide some information about the compiler.
4638 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4639 set X $ac_compile
4640 ac_compiler=$2
4641 for ac_option in --version -v -V -qversion; do
4642 { { ac_try="$ac_compiler $ac_option >&5"
4643 case "(($ac_try" in
4644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4645 *) ac_try_echo=$ac_try;;
4646 esac
4647 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4648 $as_echo "$ac_try_echo"; } >&5
4649 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4650 ac_status=$?
4651 if test -s conftest.err; then
4652 sed '10a\
4653 ... rest of stderr output deleted ...
4654 10q' conftest.err >conftest.er1
4655 cat conftest.er1 >&5
4657 rm -f conftest.er1 conftest.err
4658 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4659 test $ac_status = 0; }
4660 done
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4663 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4664 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4665 $as_echo_n "(cached) " >&6
4666 else
4667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4668 /* end confdefs.h. */
4671 main ()
4673 #ifndef __GNUC__
4674 choke me
4675 #endif
4678 return 0;
4680 _ACEOF
4681 if ac_fn_cxx_try_compile "$LINENO"; then :
4682 ac_compiler_gnu=yes
4683 else
4684 ac_compiler_gnu=no
4686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4687 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4691 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4692 if test $ac_compiler_gnu = yes; then
4693 GXX=yes
4694 else
4695 GXX=
4697 ac_test_CXXFLAGS=${CXXFLAGS+set}
4698 ac_save_CXXFLAGS=$CXXFLAGS
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4700 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4701 if ${ac_cv_prog_cxx_g+:} false; then :
4702 $as_echo_n "(cached) " >&6
4703 else
4704 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4705 ac_cxx_werror_flag=yes
4706 ac_cv_prog_cxx_g=no
4707 CXXFLAGS="-g"
4708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4709 /* end confdefs.h. */
4712 main ()
4716 return 0;
4718 _ACEOF
4719 if ac_fn_cxx_try_compile "$LINENO"; then :
4720 ac_cv_prog_cxx_g=yes
4721 else
4722 CXXFLAGS=""
4723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4724 /* end confdefs.h. */
4727 main ()
4731 return 0;
4733 _ACEOF
4734 if ac_fn_cxx_try_compile "$LINENO"; then :
4736 else
4737 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4738 CXXFLAGS="-g"
4739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4740 /* end confdefs.h. */
4743 main ()
4747 return 0;
4749 _ACEOF
4750 if ac_fn_cxx_try_compile "$LINENO"; then :
4751 ac_cv_prog_cxx_g=yes
4753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4758 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4761 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4762 if test "$ac_test_CXXFLAGS" = set; then
4763 CXXFLAGS=$ac_save_CXXFLAGS
4764 elif test $ac_cv_prog_cxx_g = yes; then
4765 if test "$GXX" = yes; then
4766 CXXFLAGS="-g -O2"
4767 else
4768 CXXFLAGS="-g"
4770 else
4771 if test "$GXX" = yes; then
4772 CXXFLAGS="-O2"
4773 else
4774 CXXFLAGS=
4777 ac_ext=c
4778 ac_cpp='$CPP $CPPFLAGS'
4779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4783 if test -n "$ac_tool_prefix"; then
4784 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4785 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4787 $as_echo_n "checking for $ac_word... " >&6; }
4788 if ${ac_cv_prog_CPPBIN+:} false; then :
4789 $as_echo_n "(cached) " >&6
4790 else
4791 if test -n "$CPPBIN"; then
4792 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4793 else
4794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4795 for as_dir in $PATH
4797 IFS=$as_save_IFS
4798 test -z "$as_dir" && as_dir=.
4799 for ac_exec_ext in '' $ac_executable_extensions; do
4800 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4801 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4802 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4803 break 2
4805 done
4806 done
4807 IFS=$as_save_IFS
4811 CPPBIN=$ac_cv_prog_CPPBIN
4812 if test -n "$CPPBIN"; then
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4814 $as_echo "$CPPBIN" >&6; }
4815 else
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4817 $as_echo "no" >&6; }
4822 if test -z "$ac_cv_prog_CPPBIN"; then
4823 ac_ct_CPPBIN=$CPPBIN
4824 # Extract the first word of "cpp", so it can be a program name with args.
4825 set dummy cpp; ac_word=$2
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4827 $as_echo_n "checking for $ac_word... " >&6; }
4828 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4829 $as_echo_n "(cached) " >&6
4830 else
4831 if test -n "$ac_ct_CPPBIN"; then
4832 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4833 else
4834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4835 for as_dir in $PATH
4837 IFS=$as_save_IFS
4838 test -z "$as_dir" && as_dir=.
4839 for ac_exec_ext in '' $ac_executable_extensions; do
4840 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4841 ac_cv_prog_ac_ct_CPPBIN="cpp"
4842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4843 break 2
4845 done
4846 done
4847 IFS=$as_save_IFS
4851 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4852 if test -n "$ac_ct_CPPBIN"; then
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4854 $as_echo "$ac_ct_CPPBIN" >&6; }
4855 else
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4857 $as_echo "no" >&6; }
4860 if test "x$ac_ct_CPPBIN" = x; then
4861 CPPBIN="cpp"
4862 else
4863 case $cross_compiling:$ac_tool_warned in
4864 yes:)
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4866 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4867 ac_tool_warned=yes ;;
4868 esac
4869 CPPBIN=$ac_ct_CPPBIN
4871 else
4872 CPPBIN="$ac_cv_prog_CPPBIN"
4876 cat >>confdefs.h <<_ACEOF
4877 #define EXEEXT "$ac_exeext"
4878 _ACEOF
4880 if test -n "$ac_tool_prefix"; then
4881 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4882 set dummy ${ac_tool_prefix}ld; ac_word=$2
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4884 $as_echo_n "checking for $ac_word... " >&6; }
4885 if ${ac_cv_prog_LD+:} false; then :
4886 $as_echo_n "(cached) " >&6
4887 else
4888 if test -n "$LD"; then
4889 ac_cv_prog_LD="$LD" # Let the user override the test.
4890 else
4891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4892 for as_dir in $PATH
4894 IFS=$as_save_IFS
4895 test -z "$as_dir" && as_dir=.
4896 for ac_exec_ext in '' $ac_executable_extensions; do
4897 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4898 ac_cv_prog_LD="${ac_tool_prefix}ld"
4899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4900 break 2
4902 done
4903 done
4904 IFS=$as_save_IFS
4908 LD=$ac_cv_prog_LD
4909 if test -n "$LD"; then
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4911 $as_echo "$LD" >&6; }
4912 else
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4914 $as_echo "no" >&6; }
4919 if test -z "$ac_cv_prog_LD"; then
4920 ac_ct_LD=$LD
4921 # Extract the first word of "ld", so it can be a program name with args.
4922 set dummy ld; ac_word=$2
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4924 $as_echo_n "checking for $ac_word... " >&6; }
4925 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4926 $as_echo_n "(cached) " >&6
4927 else
4928 if test -n "$ac_ct_LD"; then
4929 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4930 else
4931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4932 for as_dir in $PATH
4934 IFS=$as_save_IFS
4935 test -z "$as_dir" && as_dir=.
4936 for ac_exec_ext in '' $ac_executable_extensions; do
4937 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4938 ac_cv_prog_ac_ct_LD="ld"
4939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4940 break 2
4942 done
4943 done
4944 IFS=$as_save_IFS
4948 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4949 if test -n "$ac_ct_LD"; then
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4951 $as_echo "$ac_ct_LD" >&6; }
4952 else
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4954 $as_echo "no" >&6; }
4957 if test "x$ac_ct_LD" = x; then
4958 LD=""
4959 else
4960 case $cross_compiling:$ac_tool_warned in
4961 yes:)
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4963 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4964 ac_tool_warned=yes ;;
4965 esac
4966 LD=$ac_ct_LD
4968 else
4969 LD="$ac_cv_prog_LD"
4973 case $host in
4974 *-darwin*)
4975 with_fontconfig=${with_fontconfig:-no}
4977 *-mingw32*|*-cygwin*)
4978 enable_win16=${enable_win16:-no}
4979 CFLAGS="$CFLAGS -D_WIN32"
4981 esac
4983 case $host in
4984 x86_64*|amd64*)
4985 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4986 then
4987 CC="$CC -m32"
4988 CXX="$CXX -m32"
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4990 $as_echo_n "checking whether $CC works... " >&6; }
4992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4993 /* end confdefs.h. */
4996 main ()
5000 return 0;
5002 _ACEOF
5003 if ac_fn_c_try_link "$LINENO"; then :
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5005 $as_echo "yes" >&6; }
5006 else
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5008 $as_echo "no" >&6; }
5009 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5011 rm -f core conftest.err conftest.$ac_objext \
5012 conftest$ac_exeext conftest.$ac_ext
5013 host_cpu="i386"
5014 notice_platform="32-bit "
5015 TARGETFLAGS="-m32"
5017 enable_win16=${enable_win16:-yes}
5018 else
5019 if test "x${GCC}" = "xyes"
5020 then
5021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5022 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5024 /* end confdefs.h. */
5025 #include <stdarg.h>
5027 main ()
5029 void func(__builtin_ms_va_list *args);
5031 return 0;
5033 _ACEOF
5034 if ac_fn_c_try_compile "$LINENO"; then :
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5036 $as_echo "yes" >&6; }
5037 else
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5039 $as_echo "no" >&6; }
5040 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5044 CC="$CC -m64"
5045 CXX="$CXX -m64"
5046 host_cpu="x86_64"
5047 notice_platform="64-bit "
5048 TARGETFLAGS="-m64"
5052 arm*)
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5054 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5056 /* end confdefs.h. */
5057 int ac_test(int i) { return i; }
5059 main ()
5061 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5063 return 0;
5065 _ACEOF
5066 if ac_fn_c_try_link "$LINENO"; then :
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5068 $as_echo "yes" >&6; }
5069 else
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5071 $as_echo "no" >&6; }
5072 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5074 rm -f core conftest.err conftest.$ac_objext \
5075 conftest$ac_exeext conftest.$ac_ext
5076 CFLAGS="$CFLAGS -marm"
5077 TARGETFLAGS="-marm"
5080 i[3456789]86*)
5081 enable_win16=${enable_win16:-yes}
5083 esac
5085 enable_win16=${enable_win16:-no}
5086 enable_win64=${enable_win64:-no}
5088 enable_winetest=${enable_winetest:-$enable_tests}
5090 if test -n "$with_wine64"
5091 then
5092 if test "x$enable_win64" = "xyes"
5093 then
5094 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5095 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5097 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5098 You should create a separate build directory and run configure from there." "$LINENO" 5
5099 enable_fonts=${enable_fonts:-no}
5100 enable_server=${enable_server:-no}
5101 elif test "x$enable_win64" = "xyes"
5102 then
5103 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5107 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5108 if ${wine_cv_toolsdir+:} false; then :
5109 $as_echo_n "(cached) " >&6
5110 else
5111 wine_cv_toolsdir="$with_wine_tools"
5112 if test -z "$with_wine_tools"; then
5113 if test "$cross_compiling" = "yes"; then
5114 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5115 elif test -n "$with_wine64"; then
5116 wine_cv_toolsdir="$with_wine64"
5119 if test -z "$wine_cv_toolsdir"; then
5120 wine_makedep=tools/makedep
5121 wine_cv_toolsdir="\$(top_builddir)"
5122 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5123 wine_makedep=$wine_cv_toolsdir/tools/makedep
5124 case "$wine_cv_toolsdir" in
5125 /*) ;;
5126 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5127 esac
5128 enable_tools=${enable_tools:-no}
5129 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5130 else
5131 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5135 $as_echo "$wine_cv_toolsdir" >&6; }
5136 TOOLSDIR=$wine_cv_toolsdir
5138 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5139 then
5140 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5144 for ac_prog in flex
5146 # Extract the first word of "$ac_prog", so it can be a program name with args.
5147 set dummy $ac_prog; ac_word=$2
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5149 $as_echo_n "checking for $ac_word... " >&6; }
5150 if ${ac_cv_prog_FLEX+:} false; then :
5151 $as_echo_n "(cached) " >&6
5152 else
5153 if test -n "$FLEX"; then
5154 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5155 else
5156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5157 for as_dir in $PATH
5159 IFS=$as_save_IFS
5160 test -z "$as_dir" && as_dir=.
5161 for ac_exec_ext in '' $ac_executable_extensions; do
5162 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5163 ac_cv_prog_FLEX="$ac_prog"
5164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5165 break 2
5167 done
5168 done
5169 IFS=$as_save_IFS
5173 FLEX=$ac_cv_prog_FLEX
5174 if test -n "$FLEX"; then
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5176 $as_echo "$FLEX" >&6; }
5177 else
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5179 $as_echo "no" >&6; }
5183 test -n "$FLEX" && break
5184 done
5185 test -n "$FLEX" || FLEX="none"
5187 if test "$FLEX" = "none"
5188 then
5189 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5192 $as_echo_n "checking whether flex is recent enough... " >&6; }
5193 cat >conftest.l <<EOF
5194 %top{
5195 #include "prediluvian.h"
5199 if $FLEX -t conftest.l >/dev/null 2>&5
5200 then
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5202 $as_echo "yes" >&6; }
5203 else
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5205 $as_echo "no" >&6; }
5206 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5209 for ac_prog in bison
5211 # Extract the first word of "$ac_prog", so it can be a program name with args.
5212 set dummy $ac_prog; ac_word=$2
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5214 $as_echo_n "checking for $ac_word... " >&6; }
5215 if ${ac_cv_prog_BISON+:} false; then :
5216 $as_echo_n "(cached) " >&6
5217 else
5218 if test -n "$BISON"; then
5219 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5220 else
5221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5222 for as_dir in $PATH
5224 IFS=$as_save_IFS
5225 test -z "$as_dir" && as_dir=.
5226 for ac_exec_ext in '' $ac_executable_extensions; do
5227 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5228 ac_cv_prog_BISON="$ac_prog"
5229 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5230 break 2
5232 done
5233 done
5234 IFS=$as_save_IFS
5238 BISON=$ac_cv_prog_BISON
5239 if test -n "$BISON"; then
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5241 $as_echo "$BISON" >&6; }
5242 else
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5244 $as_echo "no" >&6; }
5248 test -n "$BISON" && break
5249 done
5250 test -n "$BISON" || BISON="none"
5252 if test "$BISON" = "none"
5253 then
5254 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5257 if test -n "$ac_tool_prefix"; then
5258 for ac_prog in ar gar
5260 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5261 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5263 $as_echo_n "checking for $ac_word... " >&6; }
5264 if ${ac_cv_prog_AR+:} false; then :
5265 $as_echo_n "(cached) " >&6
5266 else
5267 if test -n "$AR"; then
5268 ac_cv_prog_AR="$AR" # Let the user override the test.
5269 else
5270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5271 for as_dir in $PATH
5273 IFS=$as_save_IFS
5274 test -z "$as_dir" && as_dir=.
5275 for ac_exec_ext in '' $ac_executable_extensions; do
5276 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5277 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5279 break 2
5281 done
5282 done
5283 IFS=$as_save_IFS
5287 AR=$ac_cv_prog_AR
5288 if test -n "$AR"; then
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5290 $as_echo "$AR" >&6; }
5291 else
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5293 $as_echo "no" >&6; }
5297 test -n "$AR" && break
5298 done
5300 if test -z "$AR"; then
5301 ac_ct_AR=$AR
5302 for ac_prog in ar gar
5304 # Extract the first word of "$ac_prog", so it can be a program name with args.
5305 set dummy $ac_prog; ac_word=$2
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5307 $as_echo_n "checking for $ac_word... " >&6; }
5308 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5309 $as_echo_n "(cached) " >&6
5310 else
5311 if test -n "$ac_ct_AR"; then
5312 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5313 else
5314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5315 for as_dir in $PATH
5317 IFS=$as_save_IFS
5318 test -z "$as_dir" && as_dir=.
5319 for ac_exec_ext in '' $ac_executable_extensions; do
5320 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5321 ac_cv_prog_ac_ct_AR="$ac_prog"
5322 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5323 break 2
5325 done
5326 done
5327 IFS=$as_save_IFS
5331 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5332 if test -n "$ac_ct_AR"; then
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5334 $as_echo "$ac_ct_AR" >&6; }
5335 else
5336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5337 $as_echo "no" >&6; }
5341 test -n "$ac_ct_AR" && break
5342 done
5344 if test "x$ac_ct_AR" = x; then
5345 AR="ar"
5346 else
5347 case $cross_compiling:$ac_tool_warned in
5348 yes:)
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5350 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5351 ac_tool_warned=yes ;;
5352 esac
5353 AR=$ac_ct_AR
5357 if test -n "$ac_tool_prefix"; then
5358 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5359 set dummy ${ac_tool_prefix}strip; ac_word=$2
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5361 $as_echo_n "checking for $ac_word... " >&6; }
5362 if ${ac_cv_prog_STRIP+:} false; then :
5363 $as_echo_n "(cached) " >&6
5364 else
5365 if test -n "$STRIP"; then
5366 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5367 else
5368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5369 for as_dir in $PATH
5371 IFS=$as_save_IFS
5372 test -z "$as_dir" && as_dir=.
5373 for ac_exec_ext in '' $ac_executable_extensions; do
5374 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5375 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5376 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5377 break 2
5379 done
5380 done
5381 IFS=$as_save_IFS
5385 STRIP=$ac_cv_prog_STRIP
5386 if test -n "$STRIP"; then
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5388 $as_echo "$STRIP" >&6; }
5389 else
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5391 $as_echo "no" >&6; }
5396 if test -z "$ac_cv_prog_STRIP"; then
5397 ac_ct_STRIP=$STRIP
5398 # Extract the first word of "strip", so it can be a program name with args.
5399 set dummy strip; ac_word=$2
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5401 $as_echo_n "checking for $ac_word... " >&6; }
5402 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5403 $as_echo_n "(cached) " >&6
5404 else
5405 if test -n "$ac_ct_STRIP"; then
5406 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5407 else
5408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5409 for as_dir in $PATH
5411 IFS=$as_save_IFS
5412 test -z "$as_dir" && as_dir=.
5413 for ac_exec_ext in '' $ac_executable_extensions; do
5414 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5415 ac_cv_prog_ac_ct_STRIP="strip"
5416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5417 break 2
5419 done
5420 done
5421 IFS=$as_save_IFS
5425 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5426 if test -n "$ac_ct_STRIP"; then
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5428 $as_echo "$ac_ct_STRIP" >&6; }
5429 else
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5431 $as_echo "no" >&6; }
5434 if test "x$ac_ct_STRIP" = x; then
5435 STRIP="strip"
5436 else
5437 case $cross_compiling:$ac_tool_warned in
5438 yes:)
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5440 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5441 ac_tool_warned=yes ;;
5442 esac
5443 STRIP=$ac_ct_STRIP
5445 else
5446 STRIP="$ac_cv_prog_STRIP"
5449 ARFLAGS=rc
5451 if test -n "$ac_tool_prefix"; then
5452 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5453 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5455 $as_echo_n "checking for $ac_word... " >&6; }
5456 if ${ac_cv_prog_RANLIB+:} false; then :
5457 $as_echo_n "(cached) " >&6
5458 else
5459 if test -n "$RANLIB"; then
5460 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5461 else
5462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5463 for as_dir in $PATH
5465 IFS=$as_save_IFS
5466 test -z "$as_dir" && as_dir=.
5467 for ac_exec_ext in '' $ac_executable_extensions; do
5468 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5469 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5470 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5471 break 2
5473 done
5474 done
5475 IFS=$as_save_IFS
5479 RANLIB=$ac_cv_prog_RANLIB
5480 if test -n "$RANLIB"; then
5481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5482 $as_echo "$RANLIB" >&6; }
5483 else
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5485 $as_echo "no" >&6; }
5490 if test -z "$ac_cv_prog_RANLIB"; then
5491 ac_ct_RANLIB=$RANLIB
5492 # Extract the first word of "ranlib", so it can be a program name with args.
5493 set dummy ranlib; ac_word=$2
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5495 $as_echo_n "checking for $ac_word... " >&6; }
5496 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5497 $as_echo_n "(cached) " >&6
5498 else
5499 if test -n "$ac_ct_RANLIB"; then
5500 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5501 else
5502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5503 for as_dir in $PATH
5505 IFS=$as_save_IFS
5506 test -z "$as_dir" && as_dir=.
5507 for ac_exec_ext in '' $ac_executable_extensions; do
5508 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5509 ac_cv_prog_ac_ct_RANLIB="ranlib"
5510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5511 break 2
5513 done
5514 done
5515 IFS=$as_save_IFS
5519 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5520 if test -n "$ac_ct_RANLIB"; then
5521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5522 $as_echo "$ac_ct_RANLIB" >&6; }
5523 else
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5525 $as_echo "no" >&6; }
5528 if test "x$ac_ct_RANLIB" = x; then
5529 RANLIB=":"
5530 else
5531 case $cross_compiling:$ac_tool_warned in
5532 yes:)
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5534 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5535 ac_tool_warned=yes ;;
5536 esac
5537 RANLIB=$ac_ct_RANLIB
5539 else
5540 RANLIB="$ac_cv_prog_RANLIB"
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5544 $as_echo_n "checking whether ln -s works... " >&6; }
5545 LN_S=$as_ln_s
5546 if test "$LN_S" = "ln -s"; then
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5548 $as_echo "yes" >&6; }
5549 else
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5551 $as_echo "no, using $LN_S" >&6; }
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5555 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5556 if ${ac_cv_path_GREP+:} false; then :
5557 $as_echo_n "(cached) " >&6
5558 else
5559 if test -z "$GREP"; then
5560 ac_path_GREP_found=false
5561 # Loop through the user's path and test for each of PROGNAME-LIST
5562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5563 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5565 IFS=$as_save_IFS
5566 test -z "$as_dir" && as_dir=.
5567 for ac_prog in grep ggrep; do
5568 for ac_exec_ext in '' $ac_executable_extensions; do
5569 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5570 as_fn_executable_p "$ac_path_GREP" || continue
5571 # Check for GNU ac_path_GREP and select it if it is found.
5572 # Check for GNU $ac_path_GREP
5573 case `"$ac_path_GREP" --version 2>&1` in
5574 *GNU*)
5575 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5577 ac_count=0
5578 $as_echo_n 0123456789 >"conftest.in"
5579 while :
5581 cat "conftest.in" "conftest.in" >"conftest.tmp"
5582 mv "conftest.tmp" "conftest.in"
5583 cp "conftest.in" "conftest.nl"
5584 $as_echo 'GREP' >> "conftest.nl"
5585 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5586 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5587 as_fn_arith $ac_count + 1 && ac_count=$as_val
5588 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5589 # Best one so far, save it but keep looking for a better one
5590 ac_cv_path_GREP="$ac_path_GREP"
5591 ac_path_GREP_max=$ac_count
5593 # 10*(2^10) chars as input seems more than enough
5594 test $ac_count -gt 10 && break
5595 done
5596 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5597 esac
5599 $ac_path_GREP_found && break 3
5600 done
5601 done
5602 done
5603 IFS=$as_save_IFS
5604 if test -z "$ac_cv_path_GREP"; then
5605 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5607 else
5608 ac_cv_path_GREP=$GREP
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5613 $as_echo "$ac_cv_path_GREP" >&6; }
5614 GREP="$ac_cv_path_GREP"
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5618 $as_echo_n "checking for egrep... " >&6; }
5619 if ${ac_cv_path_EGREP+:} false; then :
5620 $as_echo_n "(cached) " >&6
5621 else
5622 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5623 then ac_cv_path_EGREP="$GREP -E"
5624 else
5625 if test -z "$EGREP"; then
5626 ac_path_EGREP_found=false
5627 # Loop through the user's path and test for each of PROGNAME-LIST
5628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5629 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5631 IFS=$as_save_IFS
5632 test -z "$as_dir" && as_dir=.
5633 for ac_prog in egrep; do
5634 for ac_exec_ext in '' $ac_executable_extensions; do
5635 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5636 as_fn_executable_p "$ac_path_EGREP" || continue
5637 # Check for GNU ac_path_EGREP and select it if it is found.
5638 # Check for GNU $ac_path_EGREP
5639 case `"$ac_path_EGREP" --version 2>&1` in
5640 *GNU*)
5641 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5643 ac_count=0
5644 $as_echo_n 0123456789 >"conftest.in"
5645 while :
5647 cat "conftest.in" "conftest.in" >"conftest.tmp"
5648 mv "conftest.tmp" "conftest.in"
5649 cp "conftest.in" "conftest.nl"
5650 $as_echo 'EGREP' >> "conftest.nl"
5651 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5652 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5653 as_fn_arith $ac_count + 1 && ac_count=$as_val
5654 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5655 # Best one so far, save it but keep looking for a better one
5656 ac_cv_path_EGREP="$ac_path_EGREP"
5657 ac_path_EGREP_max=$ac_count
5659 # 10*(2^10) chars as input seems more than enough
5660 test $ac_count -gt 10 && break
5661 done
5662 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5663 esac
5665 $ac_path_EGREP_found && break 3
5666 done
5667 done
5668 done
5669 IFS=$as_save_IFS
5670 if test -z "$ac_cv_path_EGREP"; then
5671 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5673 else
5674 ac_cv_path_EGREP=$EGREP
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5680 $as_echo "$ac_cv_path_EGREP" >&6; }
5681 EGREP="$ac_cv_path_EGREP"
5684 # Extract the first word of "ldconfig", so it can be a program name with args.
5685 set dummy ldconfig; ac_word=$2
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5687 $as_echo_n "checking for $ac_word... " >&6; }
5688 if ${ac_cv_path_LDCONFIG+:} false; then :
5689 $as_echo_n "(cached) " >&6
5690 else
5691 case $LDCONFIG in
5692 [\\/]* | ?:[\\/]*)
5693 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5697 for as_dir in /sbin /usr/sbin $PATH
5699 IFS=$as_save_IFS
5700 test -z "$as_dir" && as_dir=.
5701 for ac_exec_ext in '' $ac_executable_extensions; do
5702 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5703 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5705 break 2
5707 done
5708 done
5709 IFS=$as_save_IFS
5711 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5713 esac
5715 LDCONFIG=$ac_cv_path_LDCONFIG
5716 if test -n "$LDCONFIG"; then
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5718 $as_echo "$LDCONFIG" >&6; }
5719 else
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5721 $as_echo "no" >&6; }
5725 for ac_prog in msgfmt
5727 # Extract the first word of "$ac_prog", so it can be a program name with args.
5728 set dummy $ac_prog; ac_word=$2
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5730 $as_echo_n "checking for $ac_word... " >&6; }
5731 if ${ac_cv_prog_MSGFMT+:} false; then :
5732 $as_echo_n "(cached) " >&6
5733 else
5734 if test -n "$MSGFMT"; then
5735 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5736 else
5737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5738 for as_dir in $PATH
5740 IFS=$as_save_IFS
5741 test -z "$as_dir" && as_dir=.
5742 for ac_exec_ext in '' $ac_executable_extensions; do
5743 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5744 ac_cv_prog_MSGFMT="$ac_prog"
5745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5746 break 2
5748 done
5749 done
5750 IFS=$as_save_IFS
5754 MSGFMT=$ac_cv_prog_MSGFMT
5755 if test -n "$MSGFMT"; then
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5757 $as_echo "$MSGFMT" >&6; }
5758 else
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5760 $as_echo "no" >&6; }
5764 test -n "$MSGFMT" && break
5765 done
5766 test -n "$MSGFMT" || MSGFMT="false"
5768 if ${ac_tool_prefix+:} false; then :
5769 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5770 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5772 $as_echo_n "checking for $ac_word... " >&6; }
5773 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5774 $as_echo_n "(cached) " >&6
5775 else
5776 if test -n "$PKG_CONFIG"; then
5777 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5778 else
5779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5780 for as_dir in $PATH
5782 IFS=$as_save_IFS
5783 test -z "$as_dir" && as_dir=.
5784 for ac_exec_ext in '' $ac_executable_extensions; do
5785 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5786 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5788 break 2
5790 done
5791 done
5792 IFS=$as_save_IFS
5796 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5797 if test -n "$PKG_CONFIG"; then
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5799 $as_echo "$PKG_CONFIG" >&6; }
5800 else
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5802 $as_echo "no" >&6; }
5807 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5808 if test "x$cross_compiling" = xyes; then :
5810 else
5811 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5812 # Extract the first word of "pkg-config", so it can be a program name with args.
5813 set dummy pkg-config; ac_word=$2
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5815 $as_echo_n "checking for $ac_word... " >&6; }
5816 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5817 $as_echo_n "(cached) " >&6
5818 else
5819 if test -n "$PKG_CONFIG"; then
5820 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5821 else
5822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5823 for as_dir in $PATH
5825 IFS=$as_save_IFS
5826 test -z "$as_dir" && as_dir=.
5827 for ac_exec_ext in '' $ac_executable_extensions; do
5828 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5829 ac_cv_prog_PKG_CONFIG="pkg-config"
5830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5831 break 2
5833 done
5834 done
5835 IFS=$as_save_IFS
5839 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5840 if test -n "$PKG_CONFIG"; then
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5842 $as_echo "$PKG_CONFIG" >&6; }
5843 else
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5845 $as_echo "no" >&6; }
5850 else
5851 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5854 if test "x$enable_maintainer_mode" != "xyes"
5855 then
5856 FONTFORGE=""
5857 RSVG=""
5858 CONVERT=""
5859 ICOTOOL=""
5860 else
5861 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5862 for ac_prog in fontforge
5864 # Extract the first word of "$ac_prog", so it can be a program name with args.
5865 set dummy $ac_prog; ac_word=$2
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5867 $as_echo_n "checking for $ac_word... " >&6; }
5868 if ${ac_cv_prog_FONTFORGE+:} false; then :
5869 $as_echo_n "(cached) " >&6
5870 else
5871 if test -n "$FONTFORGE"; then
5872 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5873 else
5874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5875 for as_dir in $PATH
5877 IFS=$as_save_IFS
5878 test -z "$as_dir" && as_dir=.
5879 for ac_exec_ext in '' $ac_executable_extensions; do
5880 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5881 ac_cv_prog_FONTFORGE="$ac_prog"
5882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5883 break 2
5885 done
5886 done
5887 IFS=$as_save_IFS
5891 FONTFORGE=$ac_cv_prog_FONTFORGE
5892 if test -n "$FONTFORGE"; then
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5894 $as_echo "$FONTFORGE" >&6; }
5895 else
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5897 $as_echo "no" >&6; }
5901 test -n "$FONTFORGE" && break
5902 done
5903 test -n "$FONTFORGE" || FONTFORGE="false"
5905 for ac_prog in rsvg-convert rsvg
5907 # Extract the first word of "$ac_prog", so it can be a program name with args.
5908 set dummy $ac_prog; ac_word=$2
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5910 $as_echo_n "checking for $ac_word... " >&6; }
5911 if ${ac_cv_prog_RSVG+:} false; then :
5912 $as_echo_n "(cached) " >&6
5913 else
5914 if test -n "$RSVG"; then
5915 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5916 else
5917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5918 for as_dir in $PATH
5920 IFS=$as_save_IFS
5921 test -z "$as_dir" && as_dir=.
5922 for ac_exec_ext in '' $ac_executable_extensions; do
5923 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5924 ac_cv_prog_RSVG="$ac_prog"
5925 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5926 break 2
5928 done
5929 done
5930 IFS=$as_save_IFS
5934 RSVG=$ac_cv_prog_RSVG
5935 if test -n "$RSVG"; then
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5937 $as_echo "$RSVG" >&6; }
5938 else
5939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5940 $as_echo "no" >&6; }
5944 test -n "$RSVG" && break
5945 done
5946 test -n "$RSVG" || RSVG="false"
5948 for ac_prog in convert
5950 # Extract the first word of "$ac_prog", so it can be a program name with args.
5951 set dummy $ac_prog; ac_word=$2
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5953 $as_echo_n "checking for $ac_word... " >&6; }
5954 if ${ac_cv_prog_CONVERT+:} false; then :
5955 $as_echo_n "(cached) " >&6
5956 else
5957 if test -n "$CONVERT"; then
5958 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5959 else
5960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5961 for as_dir in $PATH
5963 IFS=$as_save_IFS
5964 test -z "$as_dir" && as_dir=.
5965 for ac_exec_ext in '' $ac_executable_extensions; do
5966 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5967 ac_cv_prog_CONVERT="$ac_prog"
5968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5969 break 2
5971 done
5972 done
5973 IFS=$as_save_IFS
5977 CONVERT=$ac_cv_prog_CONVERT
5978 if test -n "$CONVERT"; then
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5980 $as_echo "$CONVERT" >&6; }
5981 else
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5983 $as_echo "no" >&6; }
5987 test -n "$CONVERT" && break
5988 done
5989 test -n "$CONVERT" || CONVERT="false"
5991 for ac_prog in icotool
5993 # Extract the first word of "$ac_prog", so it can be a program name with args.
5994 set dummy $ac_prog; ac_word=$2
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5996 $as_echo_n "checking for $ac_word... " >&6; }
5997 if ${ac_cv_prog_ICOTOOL+:} false; then :
5998 $as_echo_n "(cached) " >&6
5999 else
6000 if test -n "$ICOTOOL"; then
6001 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6002 else
6003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6004 for as_dir in $PATH
6006 IFS=$as_save_IFS
6007 test -z "$as_dir" && as_dir=.
6008 for ac_exec_ext in '' $ac_executable_extensions; do
6009 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6010 ac_cv_prog_ICOTOOL="$ac_prog"
6011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6012 break 2
6014 done
6015 done
6016 IFS=$as_save_IFS
6020 ICOTOOL=$ac_cv_prog_ICOTOOL
6021 if test -n "$ICOTOOL"; then
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6023 $as_echo "$ICOTOOL" >&6; }
6024 else
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6026 $as_echo "no" >&6; }
6030 test -n "$ICOTOOL" && break
6031 done
6032 test -n "$ICOTOOL" || ICOTOOL="false"
6034 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6035 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6037 if test "$CONVERT" = false
6038 then
6039 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6040 else
6041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6042 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6043 convert_version=`convert --version | head -n1`
6044 if test "x$convert_version" != "x"
6045 then
6046 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6047 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6048 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6049 then
6050 CONVERT=false
6053 if test "$CONVERT" = false
6054 then
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6056 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6057 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6058 else
6059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6060 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6064 if test "$ICOTOOL" = false
6065 then
6066 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6067 else
6068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6069 $as_echo_n "checking for recent enough icotool... " >&6; }
6070 icotool_version=`icotool --version | head -n1`
6071 if test "x$icotool_version" != "x"
6072 then
6073 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6074 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6075 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6076 then
6077 ICOTOOL=false
6078 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6081 if test "$ICOTOOL" = false
6082 then
6083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6084 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6085 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6086 else
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6088 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6092 with_gettext=yes
6093 with_gettextpo=yes
6094 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6097 test "x$with_gettext" != xno || MSGFMT=false
6098 if test "$MSGFMT" != "false"
6099 then
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6101 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6102 cat >conftest.po <<EOF
6103 # comment
6104 msgctxt "ctxt"
6105 msgid "id"
6106 msgstr "str"
6108 if $MSGFMT -o /dev/null conftest.po 2>&5
6109 then
6110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6111 $as_echo "yes" >&6; }
6112 else
6113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6114 $as_echo "no" >&6; }
6115 MSGFMT=false
6118 if test "$MSGFMT" = false; then :
6119 case "x$with_gettext" in
6120 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6121 xno) ;;
6122 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6123 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6124 esac
6125 enable_po=${enable_po:-no}
6129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6130 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6131 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6132 $as_echo_n "(cached) " >&6
6133 else
6134 ac_check_lib_save_LIBS=$LIBS
6135 LIBS="-li386 $LIBS"
6136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6137 /* end confdefs.h. */
6139 /* Override any GCC internal prototype to avoid an error.
6140 Use char because int might match the return type of a GCC
6141 builtin and then its argument prototype would still apply. */
6142 #ifdef __cplusplus
6143 extern "C"
6144 #endif
6145 char i386_set_ldt ();
6147 main ()
6149 return i386_set_ldt ();
6151 return 0;
6153 _ACEOF
6154 if ac_fn_c_try_link "$LINENO"; then :
6155 ac_cv_lib_i386_i386_set_ldt=yes
6156 else
6157 ac_cv_lib_i386_i386_set_ldt=no
6159 rm -f core conftest.err conftest.$ac_objext \
6160 conftest$ac_exeext conftest.$ac_ext
6161 LIBS=$ac_check_lib_save_LIBS
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6164 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6165 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6166 cat >>confdefs.h <<_ACEOF
6167 #define HAVE_LIBI386 1
6168 _ACEOF
6170 LIBS="-li386 $LIBS"
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6175 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6176 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6177 $as_echo_n "(cached) " >&6
6178 else
6179 ac_check_lib_save_LIBS=$LIBS
6180 LIBS="-lossaudio $LIBS"
6181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6182 /* end confdefs.h. */
6184 /* Override any GCC internal prototype to avoid an error.
6185 Use char because int might match the return type of a GCC
6186 builtin and then its argument prototype would still apply. */
6187 #ifdef __cplusplus
6188 extern "C"
6189 #endif
6190 char _oss_ioctl ();
6192 main ()
6194 return _oss_ioctl ();
6196 return 0;
6198 _ACEOF
6199 if ac_fn_c_try_link "$LINENO"; then :
6200 ac_cv_lib_ossaudio__oss_ioctl=yes
6201 else
6202 ac_cv_lib_ossaudio__oss_ioctl=no
6204 rm -f core conftest.err conftest.$ac_objext \
6205 conftest$ac_exeext conftest.$ac_ext
6206 LIBS=$ac_check_lib_save_LIBS
6208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6209 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6210 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6211 cat >>confdefs.h <<_ACEOF
6212 #define HAVE_LIBOSSAUDIO 1
6213 _ACEOF
6215 LIBS="-lossaudio $LIBS"
6220 OPENGL_LIBS=""
6224 # Check whether --enable-largefile was given.
6225 if test "${enable_largefile+set}" = set; then :
6226 enableval=$enable_largefile;
6229 if test "$enable_largefile" != no; then
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6232 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6233 if ${ac_cv_sys_largefile_CC+:} false; then :
6234 $as_echo_n "(cached) " >&6
6235 else
6236 ac_cv_sys_largefile_CC=no
6237 if test "$GCC" != yes; then
6238 ac_save_CC=$CC
6239 while :; do
6240 # IRIX 6.2 and later do not support large files by default,
6241 # so use the C compiler's -n32 option if that helps.
6242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6243 /* end confdefs.h. */
6244 #include <sys/types.h>
6245 /* Check that off_t can represent 2**63 - 1 correctly.
6246 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6247 since some C++ compilers masquerading as C compilers
6248 incorrectly reject 9223372036854775807. */
6249 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6250 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6251 && LARGE_OFF_T % 2147483647 == 1)
6252 ? 1 : -1];
6254 main ()
6258 return 0;
6260 _ACEOF
6261 if ac_fn_c_try_compile "$LINENO"; then :
6262 break
6264 rm -f core conftest.err conftest.$ac_objext
6265 CC="$CC -n32"
6266 if ac_fn_c_try_compile "$LINENO"; then :
6267 ac_cv_sys_largefile_CC=' -n32'; break
6269 rm -f core conftest.err conftest.$ac_objext
6270 break
6271 done
6272 CC=$ac_save_CC
6273 rm -f conftest.$ac_ext
6276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6277 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6278 if test "$ac_cv_sys_largefile_CC" != no; then
6279 CC=$CC$ac_cv_sys_largefile_CC
6282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6283 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6284 if ${ac_cv_sys_file_offset_bits+:} false; then :
6285 $as_echo_n "(cached) " >&6
6286 else
6287 while :; do
6288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6289 /* end confdefs.h. */
6290 #include <sys/types.h>
6291 /* Check that off_t can represent 2**63 - 1 correctly.
6292 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6293 since some C++ compilers masquerading as C compilers
6294 incorrectly reject 9223372036854775807. */
6295 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6296 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6297 && LARGE_OFF_T % 2147483647 == 1)
6298 ? 1 : -1];
6300 main ()
6304 return 0;
6306 _ACEOF
6307 if ac_fn_c_try_compile "$LINENO"; then :
6308 ac_cv_sys_file_offset_bits=no; break
6310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6312 /* end confdefs.h. */
6313 #define _FILE_OFFSET_BITS 64
6314 #include <sys/types.h>
6315 /* Check that off_t can represent 2**63 - 1 correctly.
6316 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6317 since some C++ compilers masquerading as C compilers
6318 incorrectly reject 9223372036854775807. */
6319 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6320 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6321 && LARGE_OFF_T % 2147483647 == 1)
6322 ? 1 : -1];
6324 main ()
6328 return 0;
6330 _ACEOF
6331 if ac_fn_c_try_compile "$LINENO"; then :
6332 ac_cv_sys_file_offset_bits=64; break
6334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6335 ac_cv_sys_file_offset_bits=unknown
6336 break
6337 done
6339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6340 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6341 case $ac_cv_sys_file_offset_bits in #(
6342 no | unknown) ;;
6344 cat >>confdefs.h <<_ACEOF
6345 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6346 _ACEOF
6348 esac
6349 rm -rf conftest*
6350 if test $ac_cv_sys_file_offset_bits = unknown; then
6351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6352 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6353 if ${ac_cv_sys_large_files+:} false; then :
6354 $as_echo_n "(cached) " >&6
6355 else
6356 while :; do
6357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6358 /* end confdefs.h. */
6359 #include <sys/types.h>
6360 /* Check that off_t can represent 2**63 - 1 correctly.
6361 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6362 since some C++ compilers masquerading as C compilers
6363 incorrectly reject 9223372036854775807. */
6364 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6365 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6366 && LARGE_OFF_T % 2147483647 == 1)
6367 ? 1 : -1];
6369 main ()
6373 return 0;
6375 _ACEOF
6376 if ac_fn_c_try_compile "$LINENO"; then :
6377 ac_cv_sys_large_files=no; break
6379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6381 /* end confdefs.h. */
6382 #define _LARGE_FILES 1
6383 #include <sys/types.h>
6384 /* Check that off_t can represent 2**63 - 1 correctly.
6385 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6386 since some C++ compilers masquerading as C compilers
6387 incorrectly reject 9223372036854775807. */
6388 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6389 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6390 && LARGE_OFF_T % 2147483647 == 1)
6391 ? 1 : -1];
6393 main ()
6397 return 0;
6399 _ACEOF
6400 if ac_fn_c_try_compile "$LINENO"; then :
6401 ac_cv_sys_large_files=1; break
6403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6404 ac_cv_sys_large_files=unknown
6405 break
6406 done
6408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6409 $as_echo "$ac_cv_sys_large_files" >&6; }
6410 case $ac_cv_sys_large_files in #(
6411 no | unknown) ;;
6413 cat >>confdefs.h <<_ACEOF
6414 #define _LARGE_FILES $ac_cv_sys_large_files
6415 _ACEOF
6417 esac
6418 rm -rf conftest*
6425 ac_ext=c
6426 ac_cpp='$CPP $CPPFLAGS'
6427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6431 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6432 # On Suns, sometimes $CPP names a directory.
6433 if test -n "$CPP" && test -d "$CPP"; then
6434 CPP=
6436 if test -z "$CPP"; then
6437 if ${ac_cv_prog_CPP+:} false; then :
6438 $as_echo_n "(cached) " >&6
6439 else
6440 # Double quotes because CPP needs to be expanded
6441 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6443 ac_preproc_ok=false
6444 for ac_c_preproc_warn_flag in '' yes
6446 # Use a header file that comes with gcc, so configuring glibc
6447 # with a fresh cross-compiler works.
6448 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6449 # <limits.h> exists even on freestanding compilers.
6450 # On the NeXT, cc -E runs the code through the compiler's parser,
6451 # not just through cpp. "Syntax error" is here to catch this case.
6452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6453 /* end confdefs.h. */
6454 #ifdef __STDC__
6455 # include <limits.h>
6456 #else
6457 # include <assert.h>
6458 #endif
6459 Syntax error
6460 _ACEOF
6461 if ac_fn_c_try_cpp "$LINENO"; then :
6463 else
6464 # Broken: fails on valid input.
6465 continue
6467 rm -f conftest.err conftest.i conftest.$ac_ext
6469 # OK, works on sane cases. Now check whether nonexistent headers
6470 # can be detected and how.
6471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6472 /* end confdefs.h. */
6473 #include <ac_nonexistent.h>
6474 _ACEOF
6475 if ac_fn_c_try_cpp "$LINENO"; then :
6476 # Broken: success on invalid input.
6477 continue
6478 else
6479 # Passes both tests.
6480 ac_preproc_ok=:
6481 break
6483 rm -f conftest.err conftest.i conftest.$ac_ext
6485 done
6486 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6487 rm -f conftest.i conftest.err conftest.$ac_ext
6488 if $ac_preproc_ok; then :
6489 break
6492 done
6493 ac_cv_prog_CPP=$CPP
6496 CPP=$ac_cv_prog_CPP
6497 else
6498 ac_cv_prog_CPP=$CPP
6500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6501 $as_echo "$CPP" >&6; }
6502 ac_preproc_ok=false
6503 for ac_c_preproc_warn_flag in '' yes
6505 # Use a header file that comes with gcc, so configuring glibc
6506 # with a fresh cross-compiler works.
6507 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6508 # <limits.h> exists even on freestanding compilers.
6509 # On the NeXT, cc -E runs the code through the compiler's parser,
6510 # not just through cpp. "Syntax error" is here to catch this case.
6511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6512 /* end confdefs.h. */
6513 #ifdef __STDC__
6514 # include <limits.h>
6515 #else
6516 # include <assert.h>
6517 #endif
6518 Syntax error
6519 _ACEOF
6520 if ac_fn_c_try_cpp "$LINENO"; then :
6522 else
6523 # Broken: fails on valid input.
6524 continue
6526 rm -f conftest.err conftest.i conftest.$ac_ext
6528 # OK, works on sane cases. Now check whether nonexistent headers
6529 # can be detected and how.
6530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6531 /* end confdefs.h. */
6532 #include <ac_nonexistent.h>
6533 _ACEOF
6534 if ac_fn_c_try_cpp "$LINENO"; then :
6535 # Broken: success on invalid input.
6536 continue
6537 else
6538 # Passes both tests.
6539 ac_preproc_ok=:
6540 break
6542 rm -f conftest.err conftest.i conftest.$ac_ext
6544 done
6545 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6546 rm -f conftest.i conftest.err conftest.$ac_ext
6547 if $ac_preproc_ok; then :
6549 else
6550 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6551 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6552 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6553 See \`config.log' for more details" "$LINENO" 5; }
6556 ac_ext=c
6557 ac_cpp='$CPP $CPPFLAGS'
6558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6564 $as_echo_n "checking for ANSI C header files... " >&6; }
6565 if ${ac_cv_header_stdc+:} false; then :
6566 $as_echo_n "(cached) " >&6
6567 else
6568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6569 /* end confdefs.h. */
6570 #include <stdlib.h>
6571 #include <stdarg.h>
6572 #include <string.h>
6573 #include <float.h>
6576 main ()
6580 return 0;
6582 _ACEOF
6583 if ac_fn_c_try_compile "$LINENO"; then :
6584 ac_cv_header_stdc=yes
6585 else
6586 ac_cv_header_stdc=no
6588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6590 if test $ac_cv_header_stdc = yes; then
6591 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6593 /* end confdefs.h. */
6594 #include <string.h>
6596 _ACEOF
6597 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6598 $EGREP "memchr" >/dev/null 2>&1; then :
6600 else
6601 ac_cv_header_stdc=no
6603 rm -f conftest*
6607 if test $ac_cv_header_stdc = yes; then
6608 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6610 /* end confdefs.h. */
6611 #include <stdlib.h>
6613 _ACEOF
6614 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6615 $EGREP "free" >/dev/null 2>&1; then :
6617 else
6618 ac_cv_header_stdc=no
6620 rm -f conftest*
6624 if test $ac_cv_header_stdc = yes; then
6625 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6626 if test "$cross_compiling" = yes; then :
6628 else
6629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6630 /* end confdefs.h. */
6631 #include <ctype.h>
6632 #include <stdlib.h>
6633 #if ((' ' & 0x0FF) == 0x020)
6634 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6635 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6636 #else
6637 # define ISLOWER(c) \
6638 (('a' <= (c) && (c) <= 'i') \
6639 || ('j' <= (c) && (c) <= 'r') \
6640 || ('s' <= (c) && (c) <= 'z'))
6641 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6642 #endif
6644 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6646 main ()
6648 int i;
6649 for (i = 0; i < 256; i++)
6650 if (XOR (islower (i), ISLOWER (i))
6651 || toupper (i) != TOUPPER (i))
6652 return 2;
6653 return 0;
6655 _ACEOF
6656 if ac_fn_c_try_run "$LINENO"; then :
6658 else
6659 ac_cv_header_stdc=no
6661 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6662 conftest.$ac_objext conftest.beam conftest.$ac_ext
6667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6668 $as_echo "$ac_cv_header_stdc" >&6; }
6669 if test $ac_cv_header_stdc = yes; then
6671 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6675 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6676 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6677 inttypes.h stdint.h unistd.h
6678 do :
6679 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6680 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6682 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6683 cat >>confdefs.h <<_ACEOF
6684 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6685 _ACEOF
6689 done
6692 for ac_header in \
6693 AL/al.h \
6694 ApplicationServices/ApplicationServices.h \
6695 AudioToolbox/AudioConverter.h \
6696 AudioUnit/AudioUnit.h \
6697 AudioUnit/AudioComponent.h \
6698 CL/cl.h \
6699 Carbon/Carbon.h \
6700 CommonCrypto/CommonDigest.h \
6701 CoreAudio/CoreAudio.h \
6702 CoreServices/CoreServices.h \
6703 DiskArbitration/DiskArbitration.h \
6704 IOKit/IOKitLib.h \
6705 IOKit/hid/IOHIDLib.h \
6706 OpenAL/al.h \
6707 OpenCL/opencl.h \
6708 QuickTime/ImageCompression.h \
6709 Security/Security.h \
6710 alias.h \
6711 alsa/asoundlib.h \
6712 arpa/inet.h \
6713 arpa/nameser.h \
6714 asm/types.h \
6715 asm/user.h \
6716 curses.h \
6717 direct.h \
6718 dirent.h \
6719 dlfcn.h \
6720 elf.h \
6721 float.h \
6722 fnmatch.h \
6723 getopt.h \
6724 gettext-po.h \
6725 grp.h \
6726 gsm.h \
6727 gsm/gsm.h \
6728 ieeefp.h \
6729 inet/mib2.h \
6730 io.h \
6731 kstat.h \
6732 lber.h \
6733 ldap.h \
6734 libproc.h \
6735 link.h \
6736 linux/cdrom.h \
6737 linux/compiler.h \
6738 linux/filter.h \
6739 linux/hdreg.h \
6740 linux/input.h \
6741 linux/ioctl.h \
6742 linux/joystick.h \
6743 linux/major.h \
6744 linux/param.h \
6745 linux/serial.h \
6746 linux/types.h \
6747 linux/ucdrom.h \
6748 lwp.h \
6749 mach-o/nlist.h \
6750 mach-o/loader.h \
6751 mach/mach.h \
6752 mach/machine.h \
6753 machine/cpu.h \
6754 machine/limits.h \
6755 machine/sysarch.h \
6756 mntent.h \
6757 ncurses.h \
6758 netdb.h \
6759 netinet/in.h \
6760 netinet/in_systm.h \
6761 netinet/tcp.h \
6762 netinet/tcp_fsm.h \
6763 pcap/pcap.h \
6764 poll.h \
6765 port.h \
6766 process.h \
6767 pthread.h \
6768 pwd.h \
6769 sched.h \
6770 scsi/scsi.h \
6771 scsi/scsi_ioctl.h \
6772 scsi/sg.h \
6773 stdbool.h \
6774 stdint.h \
6775 stropts.h \
6776 sys/asoundlib.h \
6777 sys/attr.h \
6778 sys/cdio.h \
6779 sys/elf32.h \
6780 sys/epoll.h \
6781 sys/event.h \
6782 sys/exec_elf.h \
6783 sys/filio.h \
6784 sys/inotify.h \
6785 sys/ioctl.h \
6786 sys/ipc.h \
6787 sys/limits.h \
6788 sys/link.h \
6789 sys/mman.h \
6790 sys/modem.h \
6791 sys/msg.h \
6792 sys/mtio.h \
6793 sys/param.h \
6794 sys/poll.h \
6795 sys/prctl.h \
6796 sys/protosw.h \
6797 sys/ptrace.h \
6798 sys/queue.h \
6799 sys/resource.h \
6800 sys/scsiio.h \
6801 sys/shm.h \
6802 sys/signal.h \
6803 sys/socket.h \
6804 sys/socketvar.h \
6805 sys/sockio.h \
6806 sys/statvfs.h \
6807 sys/strtio.h \
6808 sys/syscall.h \
6809 sys/tihdr.h \
6810 sys/time.h \
6811 sys/timeout.h \
6812 sys/times.h \
6813 sys/uio.h \
6814 sys/user.h \
6815 sys/utsname.h \
6816 sys/vm86.h \
6817 sys/vnode.h \
6818 sys/wait.h \
6819 syscall.h \
6820 termios.h \
6821 unistd.h \
6822 utime.h \
6823 valgrind/memcheck.h \
6824 valgrind/valgrind.h \
6825 zlib.h
6827 do :
6828 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6829 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6830 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6831 cat >>confdefs.h <<_ACEOF
6832 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6833 _ACEOF
6837 done
6839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6840 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6841 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
6842 $as_echo_n "(cached) " >&6
6843 else
6844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6845 /* end confdefs.h. */
6846 #include <sys/types.h>
6848 main ()
6850 return makedev(0, 0);
6852 return 0;
6854 _ACEOF
6855 if ac_fn_c_try_link "$LINENO"; then :
6856 ac_cv_header_sys_types_h_makedev=yes
6857 else
6858 ac_cv_header_sys_types_h_makedev=no
6860 rm -f core conftest.err conftest.$ac_objext \
6861 conftest$ac_exeext conftest.$ac_ext
6864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
6865 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
6867 if test $ac_cv_header_sys_types_h_makedev = no; then
6868 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
6869 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
6871 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
6877 if test $ac_cv_header_sys_mkdev_h = no; then
6878 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
6879 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
6881 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
6889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6890 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6891 if ${ac_cv_header_stat_broken+:} false; then :
6892 $as_echo_n "(cached) " >&6
6893 else
6894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6895 /* end confdefs.h. */
6896 #include <sys/types.h>
6897 #include <sys/stat.h>
6899 #if defined S_ISBLK && defined S_IFDIR
6900 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6901 #endif
6903 #if defined S_ISBLK && defined S_IFCHR
6904 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6905 #endif
6907 #if defined S_ISLNK && defined S_IFREG
6908 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6909 #endif
6911 #if defined S_ISSOCK && defined S_IFREG
6912 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6913 #endif
6915 _ACEOF
6916 if ac_fn_c_try_compile "$LINENO"; then :
6917 ac_cv_header_stat_broken=no
6918 else
6919 ac_cv_header_stat_broken=yes
6921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6924 $as_echo "$ac_cv_header_stat_broken" >&6; }
6925 if test $ac_cv_header_stat_broken = yes; then
6927 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6933 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6934 do :
6935 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6936 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6937 #ifdef HAVE_SYS_PARAM_H
6938 # include <sys/param.h>
6939 #endif
6941 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6942 cat >>confdefs.h <<_ACEOF
6943 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6944 _ACEOF
6948 done
6951 for ac_header in \
6952 netinet/ip.h \
6953 net/if.h \
6954 net/if_arp.h \
6955 net/if_dl.h \
6956 net/if_types.h \
6957 net/route.h \
6958 netinet/if_ether.h \
6959 netinet/if_inarp.h \
6960 netinet/in_pcb.h \
6961 netinet/ip_icmp.h \
6962 netinet/ip_var.h \
6963 netinet/udp.h \
6964 netipx/ipx.h \
6965 sys/un.h \
6967 do :
6968 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6969 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6970 #ifdef HAVE_SYS_SOCKET_H
6971 # include <sys/socket.h>
6972 #endif
6973 #ifdef HAVE_SYS_SOCKETVAR_H
6974 # include <sys/socketvar.h>
6975 #endif
6976 #ifdef HAVE_NET_ROUTE_H
6977 # include <net/route.h>
6978 #endif
6979 #ifdef HAVE_NETINET_IN_H
6980 # include <netinet/in.h>
6981 #endif
6982 #ifdef HAVE_NETINET_IN_SYSTM_H
6983 # include <netinet/in_systm.h>
6984 #endif
6985 #ifdef HAVE_NET_IF_H
6986 # include <net/if.h>
6987 #endif
6988 #ifdef HAVE_NETINET_IP_H
6989 # include <netinet/ip.h>
6990 #endif
6992 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6993 cat >>confdefs.h <<_ACEOF
6994 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6995 _ACEOF
6999 done
7002 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7003 do :
7004 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7005 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7006 #ifdef HAVE_ALIAS_H
7007 # include <alias.h>
7008 #endif
7009 #ifdef HAVE_SYS_SOCKET_H
7010 # include <sys/socket.h>
7011 #endif
7012 #ifdef HAVE_SYS_SOCKETVAR_H
7013 # include <sys/socketvar.h>
7014 #endif
7015 #ifdef HAVE_SYS_TIMEOUT_H
7016 # include <sys/timeout.h>
7017 #endif
7018 #ifdef HAVE_NETINET_IN_H
7019 # include <netinet/in.h>
7020 #endif
7021 #ifdef HAVE_NETINET_IN_SYSTM_H
7022 # include <netinet/in_systm.h>
7023 #endif
7024 #ifdef HAVE_NETINET_IP_H
7025 # include <netinet/ip.h>
7026 #endif
7027 #ifdef HAVE_NETINET_IP_VAR_H
7028 # include <netinet/ip_var.h>
7029 #endif
7030 #ifdef HAVE_NETINET_IP_ICMP_H
7031 # include <netinet/ip_icmp.h>
7032 #endif
7033 #ifdef HAVE_NETINET_UDP_H
7034 # include <netinet/udp.h>
7035 #endif
7036 #ifdef HAVE_NETINET_TCP_H
7037 # include <netinet/tcp.h>
7038 #endif
7039 #ifdef HAVE_NETINET_TCP_TIMER_H
7040 #include <netinet/tcp_timer.h>
7041 #endif
7043 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7044 cat >>confdefs.h <<_ACEOF
7045 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7046 _ACEOF
7050 done
7053 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7054 do :
7055 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7056 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7057 #ifdef HAVE_ASM_TYPES_H
7058 # include <asm/types.h>
7059 #endif
7060 #ifdef HAVE_SYS_SOCKET_H
7061 # include <sys/socket.h>
7062 #endif
7063 #ifdef HAVE_LINUX_TYPES_H
7064 # include <linux/types.h>
7065 #endif
7067 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7068 cat >>confdefs.h <<_ACEOF
7069 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7070 _ACEOF
7074 done
7077 for ac_header in mach-o/dyld_images.h
7078 do :
7079 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7080 # include <stdbool.h>
7081 #endif
7082 #ifdef HAVE_STDINT_H
7083 # include <stdint.h>
7084 #endif
7086 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7087 cat >>confdefs.h <<_ACEOF
7088 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7089 _ACEOF
7093 done
7096 for ac_header in resolv.h
7097 do :
7098 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7099 #ifdef HAVE_SYS_SOCKET_H
7100 # include <sys/socket.h>
7101 #endif
7102 #ifdef HAVE_NETINET_IN_H
7103 # include <netinet/in.h>
7104 #endif
7105 #ifdef HAVE_ARPA_NAMESER_H
7106 # include <arpa/nameser.h>
7107 #endif
7109 if test "x$ac_cv_header_resolv_h" = xyes; then :
7110 cat >>confdefs.h <<_ACEOF
7111 #define HAVE_RESOLV_H 1
7112 _ACEOF
7116 done
7119 for ac_header in ifaddrs.h
7120 do :
7121 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7123 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7124 cat >>confdefs.h <<_ACEOF
7125 #define HAVE_IFADDRS_H 1
7126 _ACEOF
7130 done
7133 for ac_header in sys/ucontext.h
7134 do :
7135 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7137 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7138 cat >>confdefs.h <<_ACEOF
7139 #define HAVE_SYS_UCONTEXT_H 1
7140 _ACEOF
7144 done
7147 for ac_header in sys/thr.h
7148 do :
7149 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7150 #ifdef HAVE_SYS_UCONTEXT_H
7151 #include <sys/ucontext.h>
7152 #endif
7154 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7155 cat >>confdefs.h <<_ACEOF
7156 #define HAVE_SYS_THR_H 1
7157 _ACEOF
7161 done
7164 for ac_header in pthread_np.h
7165 do :
7166 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7167 #include <pthread.h>
7168 #endif
7170 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7171 cat >>confdefs.h <<_ACEOF
7172 #define HAVE_PTHREAD_NP_H 1
7173 _ACEOF
7177 done
7180 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7181 do :
7182 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7183 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7184 #include <sys/time.h>
7185 #endif
7186 #include <sys/types.h>
7187 #ifdef HAVE_ASM_TYPES_H
7188 #include <asm/types.h>
7189 #endif
7191 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7192 cat >>confdefs.h <<_ACEOF
7193 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7194 _ACEOF
7198 done
7201 for ac_header in libprocstat.h
7202 do :
7203 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7204 #include <sys/param.h>
7205 #endif
7206 #ifdef HAVE_SYS_QUEUE_H
7207 #include <sys/queue.h>
7208 #endif
7209 #ifdef HAVE_SYS_SOCKET_H
7210 #include <sys/socket.h>
7211 #endif
7213 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7214 cat >>confdefs.h <<_ACEOF
7215 #define HAVE_LIBPROCSTAT_H 1
7216 _ACEOF
7220 done
7224 dlldir="\${libdir}/wine"
7226 DLLFLAGS="-D_REENTRANT"
7228 LDRPATH_INSTALL=""
7230 LDRPATH_LOCAL=""
7232 LDEXECFLAGS=""
7234 LIBEXT="so"
7235 DLLEXT=".so"
7236 IMPLIBEXT="def"
7237 # Extract the first word of "ldd", so it can be a program name with args.
7238 set dummy ldd; ac_word=$2
7239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7240 $as_echo_n "checking for $ac_word... " >&6; }
7241 if ${ac_cv_path_LDD+:} false; then :
7242 $as_echo_n "(cached) " >&6
7243 else
7244 case $LDD in
7245 [\\/]* | ?:[\\/]*)
7246 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7250 as_dummy="/sbin:/usr/sbin:$PATH"
7251 for as_dir in $as_dummy
7253 IFS=$as_save_IFS
7254 test -z "$as_dir" && as_dir=.
7255 for ac_exec_ext in '' $ac_executable_extensions; do
7256 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7257 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7258 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7259 break 2
7261 done
7262 done
7263 IFS=$as_save_IFS
7265 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7267 esac
7269 LDD=$ac_cv_path_LDD
7270 if test -n "$LDD"; then
7271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7272 $as_echo "$LDD" >&6; }
7273 else
7274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7275 $as_echo "no" >&6; }
7279 if test -n "$ac_tool_prefix"; then
7280 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7281 set dummy ${ac_tool_prefix}otool; ac_word=$2
7282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7283 $as_echo_n "checking for $ac_word... " >&6; }
7284 if ${ac_cv_prog_OTOOL+:} false; then :
7285 $as_echo_n "(cached) " >&6
7286 else
7287 if test -n "$OTOOL"; then
7288 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7289 else
7290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7291 for as_dir in $PATH
7293 IFS=$as_save_IFS
7294 test -z "$as_dir" && as_dir=.
7295 for ac_exec_ext in '' $ac_executable_extensions; do
7296 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7297 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7298 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7299 break 2
7301 done
7302 done
7303 IFS=$as_save_IFS
7307 OTOOL=$ac_cv_prog_OTOOL
7308 if test -n "$OTOOL"; then
7309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7310 $as_echo "$OTOOL" >&6; }
7311 else
7312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7313 $as_echo "no" >&6; }
7318 if test -z "$ac_cv_prog_OTOOL"; then
7319 ac_ct_OTOOL=$OTOOL
7320 # Extract the first word of "otool", so it can be a program name with args.
7321 set dummy otool; ac_word=$2
7322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7323 $as_echo_n "checking for $ac_word... " >&6; }
7324 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7325 $as_echo_n "(cached) " >&6
7326 else
7327 if test -n "$ac_ct_OTOOL"; then
7328 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7329 else
7330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7331 for as_dir in $PATH
7333 IFS=$as_save_IFS
7334 test -z "$as_dir" && as_dir=.
7335 for ac_exec_ext in '' $ac_executable_extensions; do
7336 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7337 ac_cv_prog_ac_ct_OTOOL="otool"
7338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7339 break 2
7341 done
7342 done
7343 IFS=$as_save_IFS
7347 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7348 if test -n "$ac_ct_OTOOL"; then
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7350 $as_echo "$ac_ct_OTOOL" >&6; }
7351 else
7352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7353 $as_echo "no" >&6; }
7356 if test "x$ac_ct_OTOOL" = x; then
7357 OTOOL="otool"
7358 else
7359 case $cross_compiling:$ac_tool_warned in
7360 yes:)
7361 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7362 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7363 ac_tool_warned=yes ;;
7364 esac
7365 OTOOL=$ac_ct_OTOOL
7367 else
7368 OTOOL="$ac_cv_prog_OTOOL"
7371 if test -n "$ac_tool_prefix"; then
7372 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7373 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7375 $as_echo_n "checking for $ac_word... " >&6; }
7376 if ${ac_cv_prog_READELF+:} false; then :
7377 $as_echo_n "(cached) " >&6
7378 else
7379 if test -n "$READELF"; then
7380 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7381 else
7382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7383 for as_dir in $PATH
7385 IFS=$as_save_IFS
7386 test -z "$as_dir" && as_dir=.
7387 for ac_exec_ext in '' $ac_executable_extensions; do
7388 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7389 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7391 break 2
7393 done
7394 done
7395 IFS=$as_save_IFS
7399 READELF=$ac_cv_prog_READELF
7400 if test -n "$READELF"; then
7401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7402 $as_echo "$READELF" >&6; }
7403 else
7404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7405 $as_echo "no" >&6; }
7410 if test -z "$ac_cv_prog_READELF"; then
7411 ac_ct_READELF=$READELF
7412 # Extract the first word of "readelf", so it can be a program name with args.
7413 set dummy readelf; ac_word=$2
7414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7415 $as_echo_n "checking for $ac_word... " >&6; }
7416 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7417 $as_echo_n "(cached) " >&6
7418 else
7419 if test -n "$ac_ct_READELF"; then
7420 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7421 else
7422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7423 for as_dir in $PATH
7425 IFS=$as_save_IFS
7426 test -z "$as_dir" && as_dir=.
7427 for ac_exec_ext in '' $ac_executable_extensions; do
7428 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7429 ac_cv_prog_ac_ct_READELF="readelf"
7430 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7431 break 2
7433 done
7434 done
7435 IFS=$as_save_IFS
7439 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7440 if test -n "$ac_ct_READELF"; then
7441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7442 $as_echo "$ac_ct_READELF" >&6; }
7443 else
7444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7445 $as_echo "no" >&6; }
7448 if test "x$ac_ct_READELF" = x; then
7449 READELF="true"
7450 else
7451 case $cross_compiling:$ac_tool_warned in
7452 yes:)
7453 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7454 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7455 ac_tool_warned=yes ;;
7456 esac
7457 READELF=$ac_ct_READELF
7459 else
7460 READELF="$ac_cv_prog_READELF"
7463 wine_rules_file=conf$$rules.make
7464 rm -f $wine_rules_file
7465 SUBDIRS=""
7467 DISABLED_SUBDIRS=""
7469 CONFIGURE_TARGETS=""
7471 ALL_TEST_RESOURCES=""
7474 wine_fn_append_file ()
7476 as_fn_append $1 " \\$as_nl $2"
7479 wine_fn_append_rule ()
7481 $as_echo "$1" >>$wine_rules_file
7484 wine_fn_has_flag ()
7486 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7489 wine_fn_all_rules ()
7491 wine_fn_append_file SUBDIRS $ac_dir
7492 wine_fn_append_rule \
7493 "all: $ac_dir
7494 .PHONY: $ac_dir
7495 $ac_dir: dummy
7496 @cd $ac_dir && \$(MAKE)"
7499 wine_fn_install_rules ()
7501 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7503 wine_fn_append_rule \
7504 ".PHONY: $ac_dir/install $ac_dir/uninstall
7505 $ac_dir/install:: $ac_dir
7506 @cd $ac_dir && \$(MAKE) install
7507 $ac_dir/uninstall::
7508 @cd $ac_dir && \$(MAKE) uninstall
7509 install:: $ac_dir/install
7510 __uninstall__: $ac_dir/uninstall"
7512 if wine_fn_has_flag install-lib
7513 then
7514 wine_fn_append_rule \
7515 ".PHONY: $ac_dir/install-lib
7516 $ac_dir/install-lib:: $ac_dir
7517 @cd $ac_dir && \$(MAKE) install-lib
7518 install-lib:: $ac_dir/install-lib"
7521 if wine_fn_has_flag install-dev
7522 then
7523 wine_fn_append_rule \
7524 ".PHONY: $ac_dir/install-dev
7525 $ac_dir/install-dev:: $ac_dir
7526 @cd $ac_dir && \$(MAKE) install-dev
7527 install-dev:: $ac_dir/install-dev"
7531 wine_fn_clean_rules ()
7533 ac_clean=$@
7535 if wine_fn_has_flag clean
7536 then
7537 wine_fn_append_rule \
7538 "$ac_dir/clean: dummy
7539 @cd $ac_dir && \$(MAKE) clean"
7540 else
7541 wine_fn_append_rule \
7542 "$ac_dir/clean: dummy
7543 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7545 wine_fn_append_rule \
7546 "__clean__: $ac_dir/clean
7547 .PHONY: $ac_dir/clean"
7550 wine_fn_disabled_rules ()
7552 ac_clean=$@
7554 wine_fn_append_file SUBDIRS $ac_dir
7555 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7556 wine_fn_append_rule \
7557 "__clean__: $ac_dir/clean
7558 .PHONY: $ac_dir/clean
7559 $ac_dir/clean: dummy
7560 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7563 wine_fn_config_makefile ()
7565 ac_dir=$1
7566 ac_enable=$2
7567 ac_flags=$3
7569 case $ac_dir in
7570 fonts|server) test -z "$with_wine64" || return ;;
7571 esac
7572 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7573 wine_fn_disabled_rules; return
7575 wine_fn_all_rules
7576 wine_fn_install_rules
7577 wine_fn_clean_rules
7580 wine_fn_config_lib ()
7582 ac_name=$1
7583 ac_flags=$2
7584 ac_dir=dlls/$ac_name
7585 ac_deps="include"
7587 if test "x$enable_tools" = xno; then :
7589 else
7590 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7592 wine_fn_all_rules
7593 wine_fn_clean_rules
7595 wine_fn_append_rule \
7596 ".PHONY: $ac_dir/install $ac_dir/uninstall
7597 $ac_dir/install:: $ac_dir
7598 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7599 $ac_dir/uninstall::
7600 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7601 install install-dev:: $ac_dir/install
7602 __uninstall__: $ac_dir/uninstall
7603 __builddeps__: $ac_dir
7604 $ac_dir: $ac_deps"
7607 wine_fn_config_dll ()
7609 ac_name=$1
7610 ac_dir=dlls/$ac_name
7611 ac_enable=$2
7612 ac_flags=$3
7613 ac_implib=${4:-$ac_name}
7614 ac_file=$ac_dir/lib$ac_implib
7615 ac_dll=$ac_name
7616 ac_deps="include"
7617 ac_implibflags=""
7619 if test "x$enable_tools" = xno; then :
7621 else
7622 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7624 case $ac_name in
7625 *16) ac_implibflags=" -m16" ;;
7626 *.*) ;;
7627 *) ac_dll=$ac_dll.dll ;;
7628 esac
7630 ac_clean=
7631 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7632 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7634 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7635 if test "$ac_enable" != enable_win16
7636 then
7637 wine_fn_clean_rules $ac_clean
7638 wine_fn_append_file SUBDIRS $ac_dir
7639 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7640 else
7641 wine_fn_disabled_rules $ac_clean
7642 return
7644 else
7645 wine_fn_all_rules
7646 wine_fn_clean_rules $ac_clean
7647 wine_fn_append_rule \
7648 "$ac_dir: __builddeps__
7649 manpages htmlpages sgmlpages xmlpages::
7650 @cd $ac_dir && \$(MAKE) \$@
7651 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7652 install install-lib:: $ac_dir/install-lib
7653 __uninstall__: $ac_dir/uninstall"
7654 if test -n "$DLLEXT"
7655 then
7656 wine_fn_append_rule \
7657 "$ac_dir/install-lib:: $ac_dir
7658 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7659 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7660 $ac_dir/uninstall::
7661 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7662 else
7663 wine_fn_append_rule \
7664 "$ac_dir/install-lib:: $ac_dir
7665 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7666 $ac_dir/uninstall::
7667 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7671 if wine_fn_has_flag staticimplib
7672 then
7673 wine_fn_append_rule \
7674 "__builddeps__: $ac_file.a
7675 $ac_file.a $ac_file.cross.a: $ac_deps
7676 $ac_file.a: dummy
7677 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7678 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7679 $ac_dir/install-dev:: $ac_file.a
7680 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7681 $ac_dir/uninstall::
7682 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7683 install install-dev:: $ac_dir/install-dev
7684 __uninstall__: $ac_dir/uninstall"
7686 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7687 then
7688 wine_fn_append_rule \
7689 "__builddeps__: $ac_file.cross.a
7690 $ac_file.cross.a: dummy
7691 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7694 elif wine_fn_has_flag implib
7695 then
7696 wine_fn_append_rule \
7697 "__builddeps__: $ac_file.$IMPLIBEXT
7698 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7699 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7700 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7701 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7702 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7703 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7704 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7705 $ac_dir/uninstall::
7706 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7707 install install-dev:: $ac_dir/install-dev
7708 __uninstall__: $ac_dir/uninstall"
7709 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7710 then
7711 wine_fn_append_rule \
7712 "__builddeps__: $ac_file.cross.a
7713 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7714 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7719 wine_fn_config_program ()
7721 ac_name=$1
7722 ac_dir=programs/$ac_name
7723 ac_enable=$2
7724 ac_flags=$3
7725 ac_program=$ac_name
7727 case $ac_name in
7728 *.*) ;;
7729 *) ac_program=$ac_program.exe ;;
7730 esac
7732 ac_clean=
7733 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7734 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7736 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7737 wine_fn_disabled_rules $ac_clean; return
7740 wine_fn_all_rules
7741 wine_fn_clean_rules $ac_clean
7742 wine_fn_append_rule "$ac_dir: __builddeps__"
7744 wine_fn_has_flag install || return
7745 wine_fn_append_rule \
7746 ".PHONY: $ac_dir/install $ac_dir/uninstall
7747 install install-lib:: $ac_dir/install
7748 __uninstall__: $ac_dir/uninstall"
7750 if test -n "$DLLEXT"
7751 then
7752 wine_fn_append_rule \
7753 "$ac_dir/install:: $ac_dir
7754 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7755 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7756 $ac_dir/uninstall::
7757 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7759 if test -z "$with_wine64" && wine_fn_has_flag installbin
7760 then
7761 wine_fn_append_rule \
7762 "$ac_dir/install:: __tooldeps__
7763 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7764 $ac_dir/uninstall::
7765 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7767 else
7768 wine_fn_append_rule \
7769 "$ac_dir/install:: $ac_dir
7770 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7771 $ac_dir/uninstall::
7772 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7775 if test -z "$with_wine64" && wine_fn_has_flag manpage
7776 then
7777 wine_fn_append_rule \
7778 "$ac_dir/install:: $ac_dir
7779 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7780 $ac_dir/uninstall::
7781 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7785 wine_fn_config_test ()
7787 ac_dir=$1
7788 ac_name=$2
7789 ac_flags=$3
7791 ac_clean=
7792 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7793 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7795 if test "x$enable_tests" = xno; then :
7796 wine_fn_disabled_rules $ac_clean; return
7799 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7800 wine_fn_all_rules
7801 wine_fn_clean_rules $ac_clean
7803 wine_fn_append_rule \
7804 "$ac_dir: __builddeps__
7805 programs/winetest: $ac_dir
7806 check test: $ac_dir/test
7807 .PHONY: $ac_dir/test
7808 $ac_dir/test: dummy
7809 @cd $ac_dir && \$(MAKE) test
7810 testclean::
7811 \$(RM) $ac_dir/*.ok"
7813 if test -n "$CROSSTARGET"
7814 then
7815 wine_fn_append_rule \
7816 "crosstest: $ac_dir/crosstest
7817 .PHONY: $ac_dir/crosstest
7818 $ac_dir/crosstest: __builddeps__ dummy
7819 @cd $ac_dir && \$(MAKE) crosstest"
7823 wine_fn_config_tool ()
7825 ac_dir=$1
7826 ac_flags=$2
7827 if test "x$enable_tools" = xno; then :
7828 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7831 wine_fn_all_rules
7832 wine_fn_install_rules
7833 wine_fn_clean_rules
7835 wine_fn_append_rule "__tooldeps__: $ac_dir"
7836 wine_fn_append_rule "$ac_dir: libs/port"
7837 case $ac_dir in
7838 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7839 esac
7842 wine_fn_config_symlink ()
7844 ac_linkdir=
7845 if test "x$1" = "x-d"
7846 then
7847 ac_linkdir=$2
7848 shift; shift
7850 ac_links=$@
7851 wine_fn_append_rule \
7852 "$ac_links:
7853 @./config.status \$@"
7854 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7855 test -n "$ac_linkdir" || return
7856 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7859 wine_binary="wine"
7860 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7861 WINELOADER_PROGRAMS="$wine_binary"
7863 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7865 case $host_os in
7866 cygwin*|mingw32*)
7867 if test -n "$ac_tool_prefix"; then
7868 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7869 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7871 $as_echo_n "checking for $ac_word... " >&6; }
7872 if ${ac_cv_prog_DLLTOOL+:} false; then :
7873 $as_echo_n "(cached) " >&6
7874 else
7875 if test -n "$DLLTOOL"; then
7876 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7877 else
7878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7879 for as_dir in $PATH
7881 IFS=$as_save_IFS
7882 test -z "$as_dir" && as_dir=.
7883 for ac_exec_ext in '' $ac_executable_extensions; do
7884 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7885 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7887 break 2
7889 done
7890 done
7891 IFS=$as_save_IFS
7895 DLLTOOL=$ac_cv_prog_DLLTOOL
7896 if test -n "$DLLTOOL"; then
7897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7898 $as_echo "$DLLTOOL" >&6; }
7899 else
7900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7901 $as_echo "no" >&6; }
7906 if test -z "$ac_cv_prog_DLLTOOL"; then
7907 ac_ct_DLLTOOL=$DLLTOOL
7908 # Extract the first word of "dlltool", so it can be a program name with args.
7909 set dummy dlltool; ac_word=$2
7910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7911 $as_echo_n "checking for $ac_word... " >&6; }
7912 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7913 $as_echo_n "(cached) " >&6
7914 else
7915 if test -n "$ac_ct_DLLTOOL"; then
7916 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7917 else
7918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7919 for as_dir in $PATH
7921 IFS=$as_save_IFS
7922 test -z "$as_dir" && as_dir=.
7923 for ac_exec_ext in '' $ac_executable_extensions; do
7924 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7925 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7927 break 2
7929 done
7930 done
7931 IFS=$as_save_IFS
7935 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7936 if test -n "$ac_ct_DLLTOOL"; then
7937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7938 $as_echo "$ac_ct_DLLTOOL" >&6; }
7939 else
7940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7941 $as_echo "no" >&6; }
7944 if test "x$ac_ct_DLLTOOL" = x; then
7945 DLLTOOL="false"
7946 else
7947 case $cross_compiling:$ac_tool_warned in
7948 yes:)
7949 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7950 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7951 ac_tool_warned=yes ;;
7952 esac
7953 DLLTOOL=$ac_ct_DLLTOOL
7955 else
7956 DLLTOOL="$ac_cv_prog_DLLTOOL"
7959 LIBEXT="dll"
7960 DLLEXT=""
7961 IMPLIBEXT="a"
7962 enable_iphlpapi=${enable_iphlpapi:-no}
7963 enable_kernel32=${enable_kernel32:-no}
7964 enable_msvcrt=${enable_msvcrt:-no}
7965 enable_ntdll=${enable_ntdll:-no}
7966 enable_ws2_32=${enable_ws2_32:-no}
7967 enable_loader=${enable_loader:-no}
7968 enable_server=${enable_server:-no}
7969 with_x=${with_x:-no}
7970 with_pthread=${with_pthread:-no}
7972 crtlibs=""
7973 case $host_os in
7974 mingw32*)
7975 crtlibs="-lmsvcrt"
7976 SOCKET_LIBS="-lws2_32"
7978 esac
7980 LIBWINE_SHAREDLIB="libwine.dll"
7982 LIBWINE_IMPORTLIB="libwine.a"
7984 LIBWINE_INSTALL_LIB="libwine.dll"
7986 LIBWINE_INSTALL_DEV="libwine.a"
7988 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
7990 LIBWINE_DEPENDS="wine.def"
7994 darwin*|macosx*)
7995 for ac_header in libunwind.h
7996 do :
7997 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
7998 if test "x$ac_cv_header_libunwind_h" = xyes; then :
7999 cat >>confdefs.h <<_ACEOF
8000 #define HAVE_LIBUNWIND_H 1
8001 _ACEOF
8005 done
8007 LIBEXT="dylib"
8008 DLLFLAGS="$DLLFLAGS -fPIC"
8009 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8010 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8011 COREFOUNDATION_LIBS="-framework CoreFoundation"
8013 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8015 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8017 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8019 CORESERVICES_LIBS="-framework CoreServices"
8021 APPKIT_LIBS="-framework AppKit"
8023 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8025 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8026 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8027 $as_echo_n "(cached) " >&6
8028 else
8029 ac_wine_try_cflags_saved=$CFLAGS
8030 CFLAGS="$CFLAGS -Wl,-no_pie"
8031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8032 /* end confdefs.h. */
8033 int main(int argc, char **argv) { return 0; }
8034 _ACEOF
8035 if ac_fn_c_try_link "$LINENO"; then :
8036 ac_cv_cflags__Wl__no_pie=yes
8037 else
8038 ac_cv_cflags__Wl__no_pie=no
8040 rm -f core conftest.err conftest.$ac_objext \
8041 conftest$ac_exeext conftest.$ac_ext
8042 CFLAGS=$ac_wine_try_cflags_saved
8044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8045 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8046 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8047 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8049 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8050 then
8051 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8054 if test "$ac_cv_header_Security_Security_h" = "yes"
8055 then
8056 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8058 ac_save_LIBS="$LIBS"
8059 LIBS="$LIBS $SECURITY_LIBS"
8060 for ac_func in SSLCopyPeerCertificates
8061 do :
8062 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8063 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8064 cat >>confdefs.h <<_ACEOF
8065 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8066 _ACEOF
8069 done
8071 LIBS="$ac_save_LIBS"
8072 with_gnutls=${with_gnutls:-no}
8074 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8075 then
8076 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8077 then
8078 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8080 else
8081 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8084 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8085 ac_save_LIBS="$LIBS"
8086 LIBS="$LIBS $COREAUDIO_LIBS"
8087 for ac_func in AUGraphAddNode
8088 do :
8089 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8090 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8091 cat >>confdefs.h <<_ACEOF
8092 #define HAVE_AUGRAPHADDNODE 1
8093 _ACEOF
8096 done
8098 LIBS="$ac_save_LIBS"
8100 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8101 then
8102 OPENAL_LIBS="-framework OpenAL"
8105 cat >>confdefs.h <<_ACEOF
8106 #define HAVE_OPENAL 1
8107 _ACEOF
8109 ac_cv_lib_openal=yes
8111 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8112 then
8113 OPENCL_LIBS="-framework OpenCL"
8115 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8117 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8118 then
8119 ac_save_LIBS="$LIBS"
8120 LIBS="$LIBS $IOKIT_LIBS"
8121 for ac_func in IOHIDManagerCreate
8122 do :
8123 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8124 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8125 cat >>confdefs.h <<_ACEOF
8126 #define HAVE_IOHIDMANAGERCREATE 1
8127 _ACEOF
8130 done
8132 LIBS="$ac_save_LIBS"
8134 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8135 then
8136 ac_save_LIBS="$LIBS"
8137 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8139 $as_echo_n "checking for the QuickTime framework... " >&6; }
8140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8141 /* end confdefs.h. */
8142 #include <QuickTime/ImageCompression.h>
8144 main ()
8146 CodecManagerVersion(NULL);
8148 return 0;
8150 _ACEOF
8151 if ac_fn_c_try_link "$LINENO"; then :
8152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8153 $as_echo "yes" >&6; }
8154 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8156 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8157 else
8158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8159 $as_echo "no" >&6; }
8160 ac_cv_header_QuickTime_ImageCompression_h=no
8162 rm -f core conftest.err conftest.$ac_objext \
8163 conftest$ac_exeext conftest.$ac_ext
8164 LIBS="$ac_save_LIBS"
8166 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8167 then
8168 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8170 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8171 then
8172 CARBON_LIBS="-framework Carbon"
8176 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8177 then
8178 ac_save_LIBS="$LIBS"
8179 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8180 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8181 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8182 enable_winemac_drv=${enable_winemac_drv:-yes}
8185 LIBS="$ac_save_LIBS"
8188 if test "x$enable_win16" = "xyes"
8189 then
8190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8191 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8192 if test "$cross_compiling" = yes; then :
8193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8194 $as_echo "cross-compiling, assuming yes" >&6; }
8195 else
8196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8197 /* end confdefs.h. */
8198 asm(".text\n"
8199 "bad:\tnop;nop\n"
8200 "good:\tnop;nop\n\t"
8201 ".globl _testfunc\n"
8202 "_testfunc:\tcallw good");
8203 extern void testfunc();
8205 main ()
8207 unsigned short *p = (unsigned short *)testfunc;
8208 return p[0] != 0xe866 || p[1] != 0xfffa
8210 return 0;
8212 _ACEOF
8213 if ac_fn_c_try_run "$LINENO"; then :
8214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8215 $as_echo "yes" >&6; }
8216 else
8217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8218 $as_echo "no" >&6; }
8219 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
8221 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8222 conftest.$ac_objext conftest.beam conftest.$ac_ext
8227 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8229 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8231 LIBWINE_INSTALL_DEV="libwine.dylib"
8233 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8235 WINELOADER_DEPENDS="wine_info.plist"
8239 linux-android*)
8240 DLLFLAGS="$DLLFLAGS -fPIC"
8241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8242 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8243 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8244 $as_echo_n "(cached) " >&6
8245 else
8246 ac_wine_try_cflags_saved=$CFLAGS
8247 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8249 /* end confdefs.h. */
8250 int main(int argc, char **argv) { return 0; }
8251 _ACEOF
8252 if ac_fn_c_try_link "$LINENO"; then :
8253 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8254 else
8255 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8257 rm -f core conftest.err conftest.$ac_objext \
8258 conftest$ac_exeext conftest.$ac_ext
8259 CFLAGS=$ac_wine_try_cflags_saved
8261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8262 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8263 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8264 LDEXECFLAGS="-Wl,--export-dynamic"
8266 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8268 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8269 if eval \${$as_ac_var+:} false; then :
8270 $as_echo_n "(cached) " >&6
8271 else
8272 ac_wine_try_cflags_saved=$CFLAGS
8273 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8275 /* end confdefs.h. */
8276 int main(int argc, char **argv) { return 0; }
8277 _ACEOF
8278 if ac_fn_c_try_link "$LINENO"; then :
8279 eval "$as_ac_var=yes"
8280 else
8281 eval "$as_ac_var=no"
8283 rm -f core conftest.err conftest.$ac_objext \
8284 conftest$ac_exeext conftest.$ac_ext
8285 CFLAGS=$ac_wine_try_cflags_saved
8287 eval ac_res=\$$as_ac_var
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8289 $as_echo "$ac_res" >&6; }
8290 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8291 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8292 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8293 else
8294 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8296 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8297 if eval \${$as_ac_var+:} false; then :
8298 $as_echo_n "(cached) " >&6
8299 else
8300 ac_wine_try_cflags_saved=$CFLAGS
8301 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8303 /* end confdefs.h. */
8304 int main(int argc, char **argv) { return 0; }
8305 _ACEOF
8306 if ac_fn_c_try_link "$LINENO"; then :
8307 eval "$as_ac_var=yes"
8308 else
8309 eval "$as_ac_var=no"
8311 rm -f core conftest.err conftest.$ac_objext \
8312 conftest$ac_exeext conftest.$ac_ext
8313 CFLAGS=$ac_wine_try_cflags_saved
8315 eval ac_res=\$$as_ac_var
8316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8317 $as_echo "$ac_res" >&6; }
8318 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8319 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8320 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8325 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8326 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8327 $as_echo_n "(cached) " >&6
8328 else
8329 ac_wine_try_cflags_saved=$CFLAGS
8330 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8332 /* end confdefs.h. */
8333 int main(int argc, char **argv) { return 0; }
8334 _ACEOF
8335 if ac_fn_c_try_link "$LINENO"; then :
8336 ac_cv_cflags__Wl___enable_new_dtags=yes
8337 else
8338 ac_cv_cflags__Wl___enable_new_dtags=no
8340 rm -f core conftest.err conftest.$ac_objext \
8341 conftest$ac_exeext conftest.$ac_ext
8342 CFLAGS=$ac_wine_try_cflags_saved
8344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8345 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8346 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8347 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8350 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8351 if ${ac_cv_cflags__Wl__pie+:} false; then :
8352 $as_echo_n "(cached) " >&6
8353 else
8354 ac_wine_try_cflags_saved=$CFLAGS
8355 CFLAGS="$CFLAGS -Wl,-pie"
8356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8357 /* end confdefs.h. */
8358 int main(int argc, char **argv) { return 0; }
8359 _ACEOF
8360 if ac_fn_c_try_link "$LINENO"; then :
8361 ac_cv_cflags__Wl__pie=yes
8362 else
8363 ac_cv_cflags__Wl__pie=no
8365 rm -f core conftest.err conftest.$ac_objext \
8366 conftest$ac_exeext conftest.$ac_ext
8367 CFLAGS=$ac_wine_try_cflags_saved
8369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8370 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8371 if test "x$ac_cv_cflags__Wl__pie" = xyes; then :
8372 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,-pie"
8375 LIBWINE_SHAREDLIB="libwine.so"
8377 LIBWINE_INSTALL_LIB="libwine.so"
8379 LIBWINE_LDFLAGS="-shared"
8384 DLLFLAGS="$DLLFLAGS -fPIC"
8385 LDEXECFLAGS=""
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8387 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8388 if ${ac_cv_c_dll_gnuelf+:} false; then :
8389 $as_echo_n "(cached) " >&6
8390 else
8391 ac_wine_try_cflags_saved=$CFLAGS
8392 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8394 /* end confdefs.h. */
8395 void myfunc() {}
8396 _ACEOF
8397 if ac_fn_c_try_link "$LINENO"; then :
8398 ac_cv_c_dll_gnuelf="yes"
8399 else
8400 ac_cv_c_dll_gnuelf="no"
8402 rm -f core conftest.err conftest.$ac_objext \
8403 conftest$ac_exeext conftest.$ac_ext
8404 CFLAGS=$ac_wine_try_cflags_saved
8406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8407 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8408 if test "$ac_cv_c_dll_gnuelf" = "yes"
8409 then
8410 LIBWINE_LDFLAGS="-shared"
8411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8412 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8413 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8414 $as_echo_n "(cached) " >&6
8415 else
8416 ac_wine_try_cflags_saved=$CFLAGS
8417 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8419 /* end confdefs.h. */
8420 int main(int argc, char **argv) { return 0; }
8421 _ACEOF
8422 if ac_fn_c_try_link "$LINENO"; then :
8423 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8424 else
8425 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8427 rm -f core conftest.err conftest.$ac_objext \
8428 conftest$ac_exeext conftest.$ac_ext
8429 CFLAGS=$ac_wine_try_cflags_saved
8431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8432 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8433 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8434 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8435 else
8436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8437 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8438 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8439 $as_echo_n "(cached) " >&6
8440 else
8441 ac_wine_try_cflags_saved=$CFLAGS
8442 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8444 /* end confdefs.h. */
8445 int main(int argc, char **argv) { return 0; }
8446 _ACEOF
8447 if ac_fn_c_try_link "$LINENO"; then :
8448 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8449 else
8450 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8452 rm -f core conftest.err conftest.$ac_objext \
8453 conftest$ac_exeext conftest.$ac_ext
8454 CFLAGS=$ac_wine_try_cflags_saved
8456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8457 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8458 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8459 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8463 echo '{ global: *; };' >conftest.map
8464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8465 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8466 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8467 $as_echo_n "(cached) " >&6
8468 else
8469 ac_wine_try_cflags_saved=$CFLAGS
8470 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8472 /* end confdefs.h. */
8473 int main(int argc, char **argv) { return 0; }
8474 _ACEOF
8475 if ac_fn_c_try_link "$LINENO"; then :
8476 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8477 else
8478 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8480 rm -f core conftest.err conftest.$ac_objext \
8481 conftest$ac_exeext conftest.$ac_ext
8482 CFLAGS=$ac_wine_try_cflags_saved
8484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8485 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8486 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8487 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8489 rm -f conftest.map
8491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8492 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8493 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8494 $as_echo_n "(cached) " >&6
8495 else
8496 ac_wine_try_cflags_saved=$CFLAGS
8497 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8499 /* end confdefs.h. */
8500 int main(int argc, char **argv) { return 0; }
8501 _ACEOF
8502 if ac_fn_c_try_link "$LINENO"; then :
8503 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8504 else
8505 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8507 rm -f core conftest.err conftest.$ac_objext \
8508 conftest$ac_exeext conftest.$ac_ext
8509 CFLAGS=$ac_wine_try_cflags_saved
8511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8512 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8513 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8514 LDEXECFLAGS="-Wl,--export-dynamic"
8517 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8519 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8520 if eval \${$as_ac_var+:} false; then :
8521 $as_echo_n "(cached) " >&6
8522 else
8523 ac_wine_try_cflags_saved=$CFLAGS
8524 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8526 /* end confdefs.h. */
8527 int main(int argc, char **argv) { return 0; }
8528 _ACEOF
8529 if ac_fn_c_try_link "$LINENO"; then :
8530 eval "$as_ac_var=yes"
8531 else
8532 eval "$as_ac_var=no"
8534 rm -f core conftest.err conftest.$ac_objext \
8535 conftest$ac_exeext conftest.$ac_ext
8536 CFLAGS=$ac_wine_try_cflags_saved
8538 eval ac_res=\$$as_ac_var
8539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8540 $as_echo "$ac_res" >&6; }
8541 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8542 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8543 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8544 else
8545 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8547 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8548 if eval \${$as_ac_var+:} false; then :
8549 $as_echo_n "(cached) " >&6
8550 else
8551 ac_wine_try_cflags_saved=$CFLAGS
8552 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8554 /* end confdefs.h. */
8555 int main(int argc, char **argv) { return 0; }
8556 _ACEOF
8557 if ac_fn_c_try_link "$LINENO"; then :
8558 eval "$as_ac_var=yes"
8559 else
8560 eval "$as_ac_var=no"
8562 rm -f core conftest.err conftest.$ac_objext \
8563 conftest$ac_exeext conftest.$ac_ext
8564 CFLAGS=$ac_wine_try_cflags_saved
8566 eval ac_res=\$$as_ac_var
8567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8568 $as_echo "$ac_res" >&6; }
8569 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8570 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8571 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8576 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8577 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8578 $as_echo_n "(cached) " >&6
8579 else
8580 ac_wine_try_cflags_saved=$CFLAGS
8581 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8583 /* end confdefs.h. */
8584 int main(int argc, char **argv) { return 0; }
8585 _ACEOF
8586 if ac_fn_c_try_link "$LINENO"; then :
8587 ac_cv_cflags__Wl___enable_new_dtags=yes
8588 else
8589 ac_cv_cflags__Wl___enable_new_dtags=no
8591 rm -f core conftest.err conftest.$ac_objext \
8592 conftest$ac_exeext conftest.$ac_ext
8593 CFLAGS=$ac_wine_try_cflags_saved
8595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8596 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8597 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8598 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8601 case $host_cpu in
8602 *i[3456789]86* | x86_64)
8603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8604 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8605 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8606 $as_echo_n "(cached) " >&6
8607 else
8608 ac_wine_try_cflags_saved=$CFLAGS
8609 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8611 /* end confdefs.h. */
8612 int main(int argc, char **argv) { return 0; }
8613 _ACEOF
8614 if ac_fn_c_try_link "$LINENO"; then :
8615 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8616 else
8617 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8619 rm -f core conftest.err conftest.$ac_objext \
8620 conftest$ac_exeext conftest.$ac_ext
8621 CFLAGS=$ac_wine_try_cflags_saved
8623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8624 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8625 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8626 case $host_os in
8627 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8628 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8629 esac
8630 else
8631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8632 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8633 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8634 $as_echo_n "(cached) " >&6
8635 else
8636 ac_wine_try_cflags_saved=$CFLAGS
8637 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8639 /* end confdefs.h. */
8640 int main(int argc, char **argv) { return 0; }
8641 _ACEOF
8642 if ac_fn_c_try_link "$LINENO"; then :
8643 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8644 else
8645 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8647 rm -f core conftest.err conftest.$ac_objext \
8648 conftest$ac_exeext conftest.$ac_ext
8649 CFLAGS=$ac_wine_try_cflags_saved
8651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8652 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8653 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8654 case $host_os in
8655 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8656 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8657 esac
8659 # Extract the first word of "prelink", so it can be a program name with args.
8660 set dummy prelink; ac_word=$2
8661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8662 $as_echo_n "checking for $ac_word... " >&6; }
8663 if ${ac_cv_path_PRELINK+:} false; then :
8664 $as_echo_n "(cached) " >&6
8665 else
8666 case $PRELINK in
8667 [\\/]* | ?:[\\/]*)
8668 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8672 for as_dir in /sbin /usr/sbin $PATH
8674 IFS=$as_save_IFS
8675 test -z "$as_dir" && as_dir=.
8676 for ac_exec_ext in '' $ac_executable_extensions; do
8677 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8678 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8680 break 2
8682 done
8683 done
8684 IFS=$as_save_IFS
8686 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8688 esac
8690 PRELINK=$ac_cv_path_PRELINK
8691 if test -n "$PRELINK"; then
8692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8693 $as_echo "$PRELINK" >&6; }
8694 else
8695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8696 $as_echo "no" >&6; }
8700 if test "x$PRELINK" = xfalse
8701 then
8702 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8706 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8707 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8708 $as_echo_n "(cached) " >&6
8709 else
8710 ac_wine_try_cflags_saved=$CFLAGS
8711 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8713 /* end confdefs.h. */
8714 int main(int argc, char **argv) { return 0; }
8715 _ACEOF
8716 if ac_fn_c_try_link "$LINENO"; then :
8717 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8718 else
8719 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8721 rm -f core conftest.err conftest.$ac_objext \
8722 conftest$ac_exeext conftest.$ac_ext
8723 CFLAGS=$ac_wine_try_cflags_saved
8725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8726 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8727 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8728 LDEXECFLAGS="$LDEXECFLAGS -Wl,-z,max-page-size=0x1000"
8731 esac
8733 else
8734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8735 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8736 if ${ac_cv_c_dll_unixware+:} false; then :
8737 $as_echo_n "(cached) " >&6
8738 else
8739 ac_wine_try_cflags_saved=$CFLAGS
8740 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8742 /* end confdefs.h. */
8743 void myfunc() {}
8744 _ACEOF
8745 if ac_fn_c_try_link "$LINENO"; then :
8746 ac_cv_c_dll_unixware="yes"
8747 else
8748 ac_cv_c_dll_unixware="no"
8750 rm -f core conftest.err conftest.$ac_objext \
8751 conftest$ac_exeext conftest.$ac_ext
8752 CFLAGS=$ac_wine_try_cflags_saved
8754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8755 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8756 if test "$ac_cv_c_dll_unixware" = "yes"
8757 then
8758 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8761 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8763 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8765 LIBWINE_INSTALL_DEV="libwine.so"
8767 LIBWINE_DEPENDS="wine.map"
8770 esac
8772 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8773 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8774 enable_winemac_drv=${enable_winemac_drv:-no}
8775 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8777 CROSSTARGET=""
8779 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8780 then
8781 case "$host_cpu" in
8782 arm*)
8783 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8784 i[3456789]86*)
8785 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
8786 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8787 mingw32-gcc" ;;
8788 x86_64)
8789 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
8790 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8792 ac_prefix_list="" ;;
8793 esac
8794 for ac_prog in $ac_prefix_list
8796 # Extract the first word of "$ac_prog", so it can be a program name with args.
8797 set dummy $ac_prog; ac_word=$2
8798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8799 $as_echo_n "checking for $ac_word... " >&6; }
8800 if ${ac_cv_prog_CROSSCC+:} false; then :
8801 $as_echo_n "(cached) " >&6
8802 else
8803 if test -n "$CROSSCC"; then
8804 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8805 else
8806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8807 for as_dir in $PATH
8809 IFS=$as_save_IFS
8810 test -z "$as_dir" && as_dir=.
8811 for ac_exec_ext in '' $ac_executable_extensions; do
8812 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8813 ac_cv_prog_CROSSCC="$ac_prog"
8814 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8815 break 2
8817 done
8818 done
8819 IFS=$as_save_IFS
8823 CROSSCC=$ac_cv_prog_CROSSCC
8824 if test -n "$CROSSCC"; then
8825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8826 $as_echo "$CROSSCC" >&6; }
8827 else
8828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8829 $as_echo "no" >&6; }
8833 test -n "$CROSSCC" && break
8834 done
8835 test -n "$CROSSCC" || CROSSCC="false"
8837 if test "$CROSSCC" != "false"
8838 then
8839 ac_save_CC="$CC"
8840 CC="$CROSSCC"
8841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8842 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8844 /* end confdefs.h. */
8847 main ()
8851 return 0;
8853 _ACEOF
8854 if ac_fn_c_try_compile "$LINENO"; then :
8855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8856 $as_echo "yes" >&6; }
8857 set x $CROSSCC
8858 shift
8859 while test $# -ge 1
8861 case "$1" in
8862 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8863 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8864 esac
8865 shift
8866 done
8867 else
8868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8869 $as_echo "no" >&6; }
8871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8872 CC="$ac_save_CC"
8877 if test "$ac_cv_header_pthread_h" = "yes"
8878 then
8879 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8880 if test "x$ac_cv_func_pthread_create" = xyes; then :
8882 else
8883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8884 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8885 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8886 $as_echo_n "(cached) " >&6
8887 else
8888 ac_check_lib_save_LIBS=$LIBS
8889 LIBS="-lpthread $LIBS"
8890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8891 /* end confdefs.h. */
8893 /* Override any GCC internal prototype to avoid an error.
8894 Use char because int might match the return type of a GCC
8895 builtin and then its argument prototype would still apply. */
8896 #ifdef __cplusplus
8897 extern "C"
8898 #endif
8899 char pthread_create ();
8901 main ()
8903 return pthread_create ();
8905 return 0;
8907 _ACEOF
8908 if ac_fn_c_try_link "$LINENO"; then :
8909 ac_cv_lib_pthread_pthread_create=yes
8910 else
8911 ac_cv_lib_pthread_pthread_create=no
8913 rm -f core conftest.err conftest.$ac_objext \
8914 conftest$ac_exeext conftest.$ac_ext
8915 LIBS=$ac_check_lib_save_LIBS
8917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8918 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8919 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8920 PTHREAD_LIBS="-lpthread"
8927 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8928 case "x$with_pthread" in
8929 xno) ;;
8930 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8931 Wine cannot support threads without libpthread.
8932 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8933 esac
8938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8939 $as_echo_n "checking for X... " >&6; }
8942 # Check whether --with-x was given.
8943 if test "${with_x+set}" = set; then :
8944 withval=$with_x;
8947 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8948 if test "x$with_x" = xno; then
8949 # The user explicitly disabled X.
8950 have_x=disabled
8951 else
8952 case $x_includes,$x_libraries in #(
8953 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8954 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8955 $as_echo_n "(cached) " >&6
8956 else
8957 # One or both of the vars are not set, and there is no cached value.
8958 ac_x_includes=no ac_x_libraries=no
8959 rm -f -r conftest.dir
8960 if mkdir conftest.dir; then
8961 cd conftest.dir
8962 cat >Imakefile <<'_ACEOF'
8963 incroot:
8964 @echo incroot='${INCROOT}'
8965 usrlibdir:
8966 @echo usrlibdir='${USRLIBDIR}'
8967 libdir:
8968 @echo libdir='${LIBDIR}'
8969 _ACEOF
8970 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8971 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8972 for ac_var in incroot usrlibdir libdir; do
8973 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8974 done
8975 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8976 for ac_extension in a so sl dylib la dll; do
8977 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8978 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8979 ac_im_usrlibdir=$ac_im_libdir; break
8981 done
8982 # Screen out bogus values from the imake configuration. They are
8983 # bogus both because they are the default anyway, and because
8984 # using them would break gcc on systems where it needs fixed includes.
8985 case $ac_im_incroot in
8986 /usr/include) ac_x_includes= ;;
8987 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8988 esac
8989 case $ac_im_usrlibdir in
8990 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8991 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8992 esac
8994 cd ..
8995 rm -f -r conftest.dir
8998 # Standard set of common directories for X headers.
8999 # Check X11 before X11Rn because it is often a symlink to the current release.
9000 ac_x_header_dirs='
9001 /usr/X11/include
9002 /usr/X11R7/include
9003 /usr/X11R6/include
9004 /usr/X11R5/include
9005 /usr/X11R4/include
9007 /usr/include/X11
9008 /usr/include/X11R7
9009 /usr/include/X11R6
9010 /usr/include/X11R5
9011 /usr/include/X11R4
9013 /usr/local/X11/include
9014 /usr/local/X11R7/include
9015 /usr/local/X11R6/include
9016 /usr/local/X11R5/include
9017 /usr/local/X11R4/include
9019 /usr/local/include/X11
9020 /usr/local/include/X11R7
9021 /usr/local/include/X11R6
9022 /usr/local/include/X11R5
9023 /usr/local/include/X11R4
9025 /usr/X386/include
9026 /usr/x386/include
9027 /usr/XFree86/include/X11
9029 /usr/include
9030 /usr/local/include
9031 /usr/unsupported/include
9032 /usr/athena/include
9033 /usr/local/x11r5/include
9034 /usr/lpp/Xamples/include
9036 /usr/openwin/include
9037 /usr/openwin/share/include'
9039 if test "$ac_x_includes" = no; then
9040 # Guess where to find include files, by looking for Xlib.h.
9041 # First, try using that file with no special directory specified.
9042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9043 /* end confdefs.h. */
9044 #include <X11/Xlib.h>
9045 _ACEOF
9046 if ac_fn_c_try_cpp "$LINENO"; then :
9047 # We can compile using X headers with no special include directory.
9048 ac_x_includes=
9049 else
9050 for ac_dir in $ac_x_header_dirs; do
9051 if test -r "$ac_dir/X11/Xlib.h"; then
9052 ac_x_includes=$ac_dir
9053 break
9055 done
9057 rm -f conftest.err conftest.i conftest.$ac_ext
9058 fi # $ac_x_includes = no
9060 if test "$ac_x_libraries" = no; then
9061 # Check for the libraries.
9062 # See if we find them without any special options.
9063 # Don't add to $LIBS permanently.
9064 ac_save_LIBS=$LIBS
9065 LIBS="-lX11 $LIBS"
9066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9067 /* end confdefs.h. */
9068 #include <X11/Xlib.h>
9070 main ()
9072 XrmInitialize ()
9074 return 0;
9076 _ACEOF
9077 if ac_fn_c_try_link "$LINENO"; then :
9078 LIBS=$ac_save_LIBS
9079 # We can link X programs with no special library path.
9080 ac_x_libraries=
9081 else
9082 LIBS=$ac_save_LIBS
9083 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9085 # Don't even attempt the hair of trying to link an X program!
9086 for ac_extension in a so sl dylib la dll; do
9087 if test -r "$ac_dir/libX11.$ac_extension"; then
9088 ac_x_libraries=$ac_dir
9089 break 2
9091 done
9092 done
9094 rm -f core conftest.err conftest.$ac_objext \
9095 conftest$ac_exeext conftest.$ac_ext
9096 fi # $ac_x_libraries = no
9098 case $ac_x_includes,$ac_x_libraries in #(
9099 no,* | *,no | *\'*)
9100 # Didn't find X, or a directory has "'" in its name.
9101 ac_cv_have_x="have_x=no";; #(
9103 # Record where we found X for the cache.
9104 ac_cv_have_x="have_x=yes\
9105 ac_x_includes='$ac_x_includes'\
9106 ac_x_libraries='$ac_x_libraries'"
9107 esac
9109 ;; #(
9110 *) have_x=yes;;
9111 esac
9112 eval "$ac_cv_have_x"
9113 fi # $with_x != no
9115 if test "$have_x" != yes; then
9116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9117 $as_echo "$have_x" >&6; }
9118 no_x=yes
9119 else
9120 # If each of the values was on the command line, it overrides each guess.
9121 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9122 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9123 # Update the cache value to reflect the command line values.
9124 ac_cv_have_x="have_x=yes\
9125 ac_x_includes='$x_includes'\
9126 ac_x_libraries='$x_libraries'"
9127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9128 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9131 if test "$no_x" = yes; then
9132 # Not all programs may use this symbol, but it does not hurt to define it.
9134 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9136 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9137 else
9138 if test -n "$x_includes"; then
9139 X_CFLAGS="$X_CFLAGS -I$x_includes"
9142 # It would also be nice to do this for all -L options, not just this one.
9143 if test -n "$x_libraries"; then
9144 X_LIBS="$X_LIBS -L$x_libraries"
9145 # For Solaris; some versions of Sun CC require a space after -R and
9146 # others require no space. Words are not sufficient . . . .
9147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9148 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9149 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9150 ac_xsave_c_werror_flag=$ac_c_werror_flag
9151 ac_c_werror_flag=yes
9152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9153 /* end confdefs.h. */
9156 main ()
9160 return 0;
9162 _ACEOF
9163 if ac_fn_c_try_link "$LINENO"; then :
9164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9165 $as_echo "no" >&6; }
9166 X_LIBS="$X_LIBS -R$x_libraries"
9167 else
9168 LIBS="$ac_xsave_LIBS -R $x_libraries"
9169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9170 /* end confdefs.h. */
9173 main ()
9177 return 0;
9179 _ACEOF
9180 if ac_fn_c_try_link "$LINENO"; then :
9181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9182 $as_echo "yes" >&6; }
9183 X_LIBS="$X_LIBS -R $x_libraries"
9184 else
9185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9186 $as_echo "neither works" >&6; }
9188 rm -f core conftest.err conftest.$ac_objext \
9189 conftest$ac_exeext conftest.$ac_ext
9191 rm -f core conftest.err conftest.$ac_objext \
9192 conftest$ac_exeext conftest.$ac_ext
9193 ac_c_werror_flag=$ac_xsave_c_werror_flag
9194 LIBS=$ac_xsave_LIBS
9197 # Check for system-dependent libraries X programs must link with.
9198 # Do this before checking for the system-independent R6 libraries
9199 # (-lICE), since we may need -lsocket or whatever for X linking.
9201 if test "$ISC" = yes; then
9202 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9203 else
9204 # Martyn Johnson says this is needed for Ultrix, if the X
9205 # libraries were built with DECnet support. And Karl Berry says
9206 # the Alpha needs dnet_stub (dnet does not exist).
9207 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9209 /* end confdefs.h. */
9211 /* Override any GCC internal prototype to avoid an error.
9212 Use char because int might match the return type of a GCC
9213 builtin and then its argument prototype would still apply. */
9214 #ifdef __cplusplus
9215 extern "C"
9216 #endif
9217 char XOpenDisplay ();
9219 main ()
9221 return XOpenDisplay ();
9223 return 0;
9225 _ACEOF
9226 if ac_fn_c_try_link "$LINENO"; then :
9228 else
9229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9230 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9231 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9232 $as_echo_n "(cached) " >&6
9233 else
9234 ac_check_lib_save_LIBS=$LIBS
9235 LIBS="-ldnet $LIBS"
9236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9237 /* end confdefs.h. */
9239 /* Override any GCC internal prototype to avoid an error.
9240 Use char because int might match the return type of a GCC
9241 builtin and then its argument prototype would still apply. */
9242 #ifdef __cplusplus
9243 extern "C"
9244 #endif
9245 char dnet_ntoa ();
9247 main ()
9249 return dnet_ntoa ();
9251 return 0;
9253 _ACEOF
9254 if ac_fn_c_try_link "$LINENO"; then :
9255 ac_cv_lib_dnet_dnet_ntoa=yes
9256 else
9257 ac_cv_lib_dnet_dnet_ntoa=no
9259 rm -f core conftest.err conftest.$ac_objext \
9260 conftest$ac_exeext conftest.$ac_ext
9261 LIBS=$ac_check_lib_save_LIBS
9263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9264 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9265 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9266 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9269 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9271 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9272 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9273 $as_echo_n "(cached) " >&6
9274 else
9275 ac_check_lib_save_LIBS=$LIBS
9276 LIBS="-ldnet_stub $LIBS"
9277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9278 /* end confdefs.h. */
9280 /* Override any GCC internal prototype to avoid an error.
9281 Use char because int might match the return type of a GCC
9282 builtin and then its argument prototype would still apply. */
9283 #ifdef __cplusplus
9284 extern "C"
9285 #endif
9286 char dnet_ntoa ();
9288 main ()
9290 return dnet_ntoa ();
9292 return 0;
9294 _ACEOF
9295 if ac_fn_c_try_link "$LINENO"; then :
9296 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9297 else
9298 ac_cv_lib_dnet_stub_dnet_ntoa=no
9300 rm -f core conftest.err conftest.$ac_objext \
9301 conftest$ac_exeext conftest.$ac_ext
9302 LIBS=$ac_check_lib_save_LIBS
9304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9305 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9306 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9307 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9312 rm -f core conftest.err conftest.$ac_objext \
9313 conftest$ac_exeext conftest.$ac_ext
9314 LIBS="$ac_xsave_LIBS"
9316 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9317 # to get the SysV transport functions.
9318 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9319 # needs -lnsl.
9320 # The nsl library prevents programs from opening the X display
9321 # on Irix 5.2, according to T.E. Dickey.
9322 # The functions gethostbyname, getservbyname, and inet_addr are
9323 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9324 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9325 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9329 if test $ac_cv_func_gethostbyname = no; then
9330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9331 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9332 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9333 $as_echo_n "(cached) " >&6
9334 else
9335 ac_check_lib_save_LIBS=$LIBS
9336 LIBS="-lnsl $LIBS"
9337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9338 /* end confdefs.h. */
9340 /* Override any GCC internal prototype to avoid an error.
9341 Use char because int might match the return type of a GCC
9342 builtin and then its argument prototype would still apply. */
9343 #ifdef __cplusplus
9344 extern "C"
9345 #endif
9346 char gethostbyname ();
9348 main ()
9350 return gethostbyname ();
9352 return 0;
9354 _ACEOF
9355 if ac_fn_c_try_link "$LINENO"; then :
9356 ac_cv_lib_nsl_gethostbyname=yes
9357 else
9358 ac_cv_lib_nsl_gethostbyname=no
9360 rm -f core conftest.err conftest.$ac_objext \
9361 conftest$ac_exeext conftest.$ac_ext
9362 LIBS=$ac_check_lib_save_LIBS
9364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9365 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9366 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9367 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9370 if test $ac_cv_lib_nsl_gethostbyname = no; then
9371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9372 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9373 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9374 $as_echo_n "(cached) " >&6
9375 else
9376 ac_check_lib_save_LIBS=$LIBS
9377 LIBS="-lbsd $LIBS"
9378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9379 /* end confdefs.h. */
9381 /* Override any GCC internal prototype to avoid an error.
9382 Use char because int might match the return type of a GCC
9383 builtin and then its argument prototype would still apply. */
9384 #ifdef __cplusplus
9385 extern "C"
9386 #endif
9387 char gethostbyname ();
9389 main ()
9391 return gethostbyname ();
9393 return 0;
9395 _ACEOF
9396 if ac_fn_c_try_link "$LINENO"; then :
9397 ac_cv_lib_bsd_gethostbyname=yes
9398 else
9399 ac_cv_lib_bsd_gethostbyname=no
9401 rm -f core conftest.err conftest.$ac_objext \
9402 conftest$ac_exeext conftest.$ac_ext
9403 LIBS=$ac_check_lib_save_LIBS
9405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9406 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9407 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9408 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9414 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9415 # socket/setsockopt and other routines are undefined under SCO ODT
9416 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9417 # on later versions), says Simon Leinen: it contains gethostby*
9418 # variants that don't use the name server (or something). -lsocket
9419 # must be given before -lnsl if both are needed. We assume that
9420 # if connect needs -lnsl, so does gethostbyname.
9421 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9422 if test "x$ac_cv_func_connect" = xyes; then :
9426 if test $ac_cv_func_connect = no; then
9427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9428 $as_echo_n "checking for connect in -lsocket... " >&6; }
9429 if ${ac_cv_lib_socket_connect+:} false; then :
9430 $as_echo_n "(cached) " >&6
9431 else
9432 ac_check_lib_save_LIBS=$LIBS
9433 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9435 /* end confdefs.h. */
9437 /* Override any GCC internal prototype to avoid an error.
9438 Use char because int might match the return type of a GCC
9439 builtin and then its argument prototype would still apply. */
9440 #ifdef __cplusplus
9441 extern "C"
9442 #endif
9443 char connect ();
9445 main ()
9447 return connect ();
9449 return 0;
9451 _ACEOF
9452 if ac_fn_c_try_link "$LINENO"; then :
9453 ac_cv_lib_socket_connect=yes
9454 else
9455 ac_cv_lib_socket_connect=no
9457 rm -f core conftest.err conftest.$ac_objext \
9458 conftest$ac_exeext conftest.$ac_ext
9459 LIBS=$ac_check_lib_save_LIBS
9461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9462 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9463 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9464 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9469 # Guillermo Gomez says -lposix is necessary on A/UX.
9470 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9471 if test "x$ac_cv_func_remove" = xyes; then :
9475 if test $ac_cv_func_remove = no; then
9476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9477 $as_echo_n "checking for remove in -lposix... " >&6; }
9478 if ${ac_cv_lib_posix_remove+:} false; then :
9479 $as_echo_n "(cached) " >&6
9480 else
9481 ac_check_lib_save_LIBS=$LIBS
9482 LIBS="-lposix $LIBS"
9483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9484 /* end confdefs.h. */
9486 /* Override any GCC internal prototype to avoid an error.
9487 Use char because int might match the return type of a GCC
9488 builtin and then its argument prototype would still apply. */
9489 #ifdef __cplusplus
9490 extern "C"
9491 #endif
9492 char remove ();
9494 main ()
9496 return remove ();
9498 return 0;
9500 _ACEOF
9501 if ac_fn_c_try_link "$LINENO"; then :
9502 ac_cv_lib_posix_remove=yes
9503 else
9504 ac_cv_lib_posix_remove=no
9506 rm -f core conftest.err conftest.$ac_objext \
9507 conftest$ac_exeext conftest.$ac_ext
9508 LIBS=$ac_check_lib_save_LIBS
9510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9511 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9512 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9513 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9518 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9519 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9520 if test "x$ac_cv_func_shmat" = xyes; then :
9524 if test $ac_cv_func_shmat = no; then
9525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9526 $as_echo_n "checking for shmat in -lipc... " >&6; }
9527 if ${ac_cv_lib_ipc_shmat+:} false; then :
9528 $as_echo_n "(cached) " >&6
9529 else
9530 ac_check_lib_save_LIBS=$LIBS
9531 LIBS="-lipc $LIBS"
9532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9533 /* end confdefs.h. */
9535 /* Override any GCC internal prototype to avoid an error.
9536 Use char because int might match the return type of a GCC
9537 builtin and then its argument prototype would still apply. */
9538 #ifdef __cplusplus
9539 extern "C"
9540 #endif
9541 char shmat ();
9543 main ()
9545 return shmat ();
9547 return 0;
9549 _ACEOF
9550 if ac_fn_c_try_link "$LINENO"; then :
9551 ac_cv_lib_ipc_shmat=yes
9552 else
9553 ac_cv_lib_ipc_shmat=no
9555 rm -f core conftest.err conftest.$ac_objext \
9556 conftest$ac_exeext conftest.$ac_ext
9557 LIBS=$ac_check_lib_save_LIBS
9559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9560 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9561 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9562 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9568 # Check for libraries that X11R6 Xt/Xaw programs need.
9569 ac_save_LDFLAGS=$LDFLAGS
9570 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9571 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9572 # check for ICE first), but we must link in the order -lSM -lICE or
9573 # we get undefined symbols. So assume we have SM if we have ICE.
9574 # These have to be linked with before -lX11, unlike the other
9575 # libraries we check for below, so use a different variable.
9576 # John Interrante, Karl Berry
9577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9578 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9579 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9580 $as_echo_n "(cached) " >&6
9581 else
9582 ac_check_lib_save_LIBS=$LIBS
9583 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9585 /* end confdefs.h. */
9587 /* Override any GCC internal prototype to avoid an error.
9588 Use char because int might match the return type of a GCC
9589 builtin and then its argument prototype would still apply. */
9590 #ifdef __cplusplus
9591 extern "C"
9592 #endif
9593 char IceConnectionNumber ();
9595 main ()
9597 return IceConnectionNumber ();
9599 return 0;
9601 _ACEOF
9602 if ac_fn_c_try_link "$LINENO"; then :
9603 ac_cv_lib_ICE_IceConnectionNumber=yes
9604 else
9605 ac_cv_lib_ICE_IceConnectionNumber=no
9607 rm -f core conftest.err conftest.$ac_objext \
9608 conftest$ac_exeext conftest.$ac_ext
9609 LIBS=$ac_check_lib_save_LIBS
9611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9612 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9613 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9614 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9617 LDFLAGS=$ac_save_LDFLAGS
9622 if test "$have_x" = "yes"
9623 then
9624 ac_save_CPPFLAGS="$CPPFLAGS"
9625 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9628 $as_echo_n "checking for -lX11... " >&6; }
9629 if ${ac_cv_lib_soname_X11+:} false; then :
9630 $as_echo_n "(cached) " >&6
9631 else
9632 ac_check_soname_save_LIBS=$LIBS
9633 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9635 /* end confdefs.h. */
9637 /* Override any GCC internal prototype to avoid an error.
9638 Use char because int might match the return type of a GCC
9639 builtin and then its argument prototype would still apply. */
9640 #ifdef __cplusplus
9641 extern "C"
9642 #endif
9643 char XCreateWindow ();
9645 main ()
9647 return XCreateWindow ();
9649 return 0;
9651 _ACEOF
9652 if ac_fn_c_try_link "$LINENO"; then :
9653 case "$LIBEXT" in
9654 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9655 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'` ;;
9656 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9657 if ${ac_cv_lib_soname_X11:+false} :; then :
9658 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9659 fi ;;
9660 esac
9662 rm -f core conftest.err conftest.$ac_objext \
9663 conftest$ac_exeext conftest.$ac_ext
9664 LIBS=$ac_check_soname_save_LIBS
9666 if ${ac_cv_lib_soname_X11:+false} :; then :
9667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9668 $as_echo "not found" >&6; }
9670 else
9671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9672 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9674 cat >>confdefs.h <<_ACEOF
9675 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9676 _ACEOF
9680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9681 $as_echo_n "checking for -lXext... " >&6; }
9682 if ${ac_cv_lib_soname_Xext+:} false; then :
9683 $as_echo_n "(cached) " >&6
9684 else
9685 ac_check_soname_save_LIBS=$LIBS
9686 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9688 /* end confdefs.h. */
9690 /* Override any GCC internal prototype to avoid an error.
9691 Use char because int might match the return type of a GCC
9692 builtin and then its argument prototype would still apply. */
9693 #ifdef __cplusplus
9694 extern "C"
9695 #endif
9696 char XextCreateExtension ();
9698 main ()
9700 return XextCreateExtension ();
9702 return 0;
9704 _ACEOF
9705 if ac_fn_c_try_link "$LINENO"; then :
9706 case "$LIBEXT" in
9707 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9708 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'` ;;
9709 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9710 if ${ac_cv_lib_soname_Xext:+false} :; then :
9711 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9712 fi ;;
9713 esac
9715 rm -f core conftest.err conftest.$ac_objext \
9716 conftest$ac_exeext conftest.$ac_ext
9717 LIBS=$ac_check_soname_save_LIBS
9719 if ${ac_cv_lib_soname_Xext:+false} :; then :
9720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9721 $as_echo "not found" >&6; }
9723 else
9724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9725 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9727 cat >>confdefs.h <<_ACEOF
9728 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9729 _ACEOF
9731 X_LIBS="$X_LIBS -lXext"
9733 X_LIBS="$X_LIBS -lX11"
9735 for ac_header in X11/Xlib.h \
9736 X11/XKBlib.h \
9737 X11/Xutil.h \
9738 X11/Xcursor/Xcursor.h \
9739 X11/extensions/shape.h \
9740 X11/extensions/XInput.h \
9741 X11/extensions/XInput2.h \
9742 X11/extensions/XShm.h \
9743 X11/extensions/Xcomposite.h \
9744 X11/extensions/Xinerama.h \
9745 X11/extensions/Xrandr.h \
9746 X11/extensions/Xrender.h \
9747 X11/extensions/xf86vmode.h \
9748 X11/extensions/xf86vmproto.h
9749 do :
9750 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9751 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9752 # include <X11/Xlib.h>
9753 #endif
9754 #ifdef HAVE_X11_XUTIL_H
9755 # include <X11/Xutil.h>
9756 #endif
9758 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9759 cat >>confdefs.h <<_ACEOF
9760 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9761 _ACEOF
9765 done
9768 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9769 then
9770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9771 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9772 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9773 $as_echo_n "(cached) " >&6
9774 else
9775 ac_check_lib_save_LIBS=$LIBS
9776 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9778 /* end confdefs.h. */
9780 /* Override any GCC internal prototype to avoid an error.
9781 Use char because int might match the return type of a GCC
9782 builtin and then its argument prototype would still apply. */
9783 #ifdef __cplusplus
9784 extern "C"
9785 #endif
9786 char XkbQueryExtension ();
9788 main ()
9790 return XkbQueryExtension ();
9792 return 0;
9794 _ACEOF
9795 if ac_fn_c_try_link "$LINENO"; then :
9796 ac_cv_lib_X11_XkbQueryExtension=yes
9797 else
9798 ac_cv_lib_X11_XkbQueryExtension=no
9800 rm -f core conftest.err conftest.$ac_objext \
9801 conftest$ac_exeext conftest.$ac_ext
9802 LIBS=$ac_check_lib_save_LIBS
9804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9805 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9806 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9808 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9814 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9815 then
9816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9817 $as_echo_n "checking for -lXcursor... " >&6; }
9818 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9819 $as_echo_n "(cached) " >&6
9820 else
9821 ac_check_soname_save_LIBS=$LIBS
9822 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9824 /* end confdefs.h. */
9826 /* Override any GCC internal prototype to avoid an error.
9827 Use char because int might match the return type of a GCC
9828 builtin and then its argument prototype would still apply. */
9829 #ifdef __cplusplus
9830 extern "C"
9831 #endif
9832 char XcursorImageLoadCursor ();
9834 main ()
9836 return XcursorImageLoadCursor ();
9838 return 0;
9840 _ACEOF
9841 if ac_fn_c_try_link "$LINENO"; then :
9842 case "$LIBEXT" in
9843 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9844 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'` ;;
9845 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9846 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9847 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9848 fi ;;
9849 esac
9851 rm -f core conftest.err conftest.$ac_objext \
9852 conftest$ac_exeext conftest.$ac_ext
9853 LIBS=$ac_check_soname_save_LIBS
9855 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9857 $as_echo "not found" >&6; }
9859 else
9860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9861 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9863 cat >>confdefs.h <<_ACEOF
9864 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9865 _ACEOF
9870 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9871 case "x$with_xcursor" in
9872 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9873 xno) ;;
9874 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9875 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9876 esac
9880 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9881 then
9882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9883 $as_echo_n "checking for -lXi... " >&6; }
9884 if ${ac_cv_lib_soname_Xi+:} false; then :
9885 $as_echo_n "(cached) " >&6
9886 else
9887 ac_check_soname_save_LIBS=$LIBS
9888 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9890 /* end confdefs.h. */
9892 /* Override any GCC internal prototype to avoid an error.
9893 Use char because int might match the return type of a GCC
9894 builtin and then its argument prototype would still apply. */
9895 #ifdef __cplusplus
9896 extern "C"
9897 #endif
9898 char XOpenDevice ();
9900 main ()
9902 return XOpenDevice ();
9904 return 0;
9906 _ACEOF
9907 if ac_fn_c_try_link "$LINENO"; then :
9908 case "$LIBEXT" in
9909 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9910 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'` ;;
9911 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9912 if ${ac_cv_lib_soname_Xi:+false} :; then :
9913 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9914 fi ;;
9915 esac
9917 rm -f core conftest.err conftest.$ac_objext \
9918 conftest$ac_exeext conftest.$ac_ext
9919 LIBS=$ac_check_soname_save_LIBS
9921 if ${ac_cv_lib_soname_Xi:+false} :; then :
9922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9923 $as_echo "not found" >&6; }
9925 else
9926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9927 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9929 cat >>confdefs.h <<_ACEOF
9930 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9931 _ACEOF
9936 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9937 case "x$with_xinput" in
9938 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9939 xno) ;;
9940 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9941 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9942 esac
9946 if test "x$ac_cv_lib_soname_Xi" != x
9947 then
9948 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9949 case "x$with_xinput2" in
9950 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9951 xno) ;;
9952 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9953 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9954 esac
9959 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9960 then
9961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9962 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9963 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9964 $as_echo_n "(cached) " >&6
9965 else
9966 ac_check_lib_save_LIBS=$LIBS
9967 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9969 /* end confdefs.h. */
9971 /* Override any GCC internal prototype to avoid an error.
9972 Use char because int might match the return type of a GCC
9973 builtin and then its argument prototype would still apply. */
9974 #ifdef __cplusplus
9975 extern "C"
9976 #endif
9977 char XShmQueryExtension ();
9979 main ()
9981 return XShmQueryExtension ();
9983 return 0;
9985 _ACEOF
9986 if ac_fn_c_try_link "$LINENO"; then :
9987 ac_cv_lib_Xext_XShmQueryExtension=yes
9988 else
9989 ac_cv_lib_Xext_XShmQueryExtension=no
9991 rm -f core conftest.err conftest.$ac_objext \
9992 conftest$ac_exeext conftest.$ac_ext
9993 LIBS=$ac_check_lib_save_LIBS
9995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9996 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9997 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9999 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10004 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10005 case "x$with_xshm" in
10006 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10007 xno) ;;
10008 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10009 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10010 esac
10014 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10015 then
10016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10017 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10018 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10019 $as_echo_n "(cached) " >&6
10020 else
10021 ac_check_lib_save_LIBS=$LIBS
10022 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10024 /* end confdefs.h. */
10026 /* Override any GCC internal prototype to avoid an error.
10027 Use char because int might match the return type of a GCC
10028 builtin and then its argument prototype would still apply. */
10029 #ifdef __cplusplus
10030 extern "C"
10031 #endif
10032 char XShapeQueryExtension ();
10034 main ()
10036 return XShapeQueryExtension ();
10038 return 0;
10040 _ACEOF
10041 if ac_fn_c_try_link "$LINENO"; then :
10042 ac_cv_lib_Xext_XShapeQueryExtension=yes
10043 else
10044 ac_cv_lib_Xext_XShapeQueryExtension=no
10046 rm -f core conftest.err conftest.$ac_objext \
10047 conftest$ac_exeext conftest.$ac_ext
10048 LIBS=$ac_check_lib_save_LIBS
10050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10051 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10052 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10054 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10059 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10060 case "x$with_xshape" in
10061 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10062 xno) ;;
10063 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10064 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10065 esac
10069 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10070 then
10071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10072 $as_echo_n "checking for -lXxf86vm... " >&6; }
10073 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10074 $as_echo_n "(cached) " >&6
10075 else
10076 ac_check_soname_save_LIBS=$LIBS
10077 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10079 /* end confdefs.h. */
10081 /* Override any GCC internal prototype to avoid an error.
10082 Use char because int might match the return type of a GCC
10083 builtin and then its argument prototype would still apply. */
10084 #ifdef __cplusplus
10085 extern "C"
10086 #endif
10087 char XF86VidModeQueryExtension ();
10089 main ()
10091 return XF86VidModeQueryExtension ();
10093 return 0;
10095 _ACEOF
10096 if ac_fn_c_try_link "$LINENO"; then :
10097 case "$LIBEXT" in
10098 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10099 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'` ;;
10100 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10101 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10102 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10103 fi ;;
10104 esac
10106 rm -f core conftest.err conftest.$ac_objext \
10107 conftest$ac_exeext conftest.$ac_ext
10108 LIBS=$ac_check_soname_save_LIBS
10110 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10112 $as_echo "not found" >&6; }
10114 else
10115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10116 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10118 cat >>confdefs.h <<_ACEOF
10119 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10120 _ACEOF
10125 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10126 case "x$with_xxf86vm" in
10127 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10128 xno) ;;
10129 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10130 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10131 esac
10135 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10136 then
10137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10138 $as_echo_n "checking for -lXrender... " >&6; }
10139 if ${ac_cv_lib_soname_Xrender+:} false; then :
10140 $as_echo_n "(cached) " >&6
10141 else
10142 ac_check_soname_save_LIBS=$LIBS
10143 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10145 /* end confdefs.h. */
10147 /* Override any GCC internal prototype to avoid an error.
10148 Use char because int might match the return type of a GCC
10149 builtin and then its argument prototype would still apply. */
10150 #ifdef __cplusplus
10151 extern "C"
10152 #endif
10153 char XRenderQueryExtension ();
10155 main ()
10157 return XRenderQueryExtension ();
10159 return 0;
10161 _ACEOF
10162 if ac_fn_c_try_link "$LINENO"; then :
10163 case "$LIBEXT" in
10164 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10165 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'` ;;
10166 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10167 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10168 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10169 fi ;;
10170 esac
10172 rm -f core conftest.err conftest.$ac_objext \
10173 conftest$ac_exeext conftest.$ac_ext
10174 LIBS=$ac_check_soname_save_LIBS
10176 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10178 $as_echo "not found" >&6; }
10180 else
10181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10182 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10184 cat >>confdefs.h <<_ACEOF
10185 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10186 _ACEOF
10188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10189 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10190 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10191 $as_echo_n "(cached) " >&6
10192 else
10193 ac_check_lib_save_LIBS=$LIBS
10194 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10196 /* end confdefs.h. */
10198 /* Override any GCC internal prototype to avoid an error.
10199 Use char because int might match the return type of a GCC
10200 builtin and then its argument prototype would still apply. */
10201 #ifdef __cplusplus
10202 extern "C"
10203 #endif
10204 char XRenderSetPictureTransform ();
10206 main ()
10208 return XRenderSetPictureTransform ();
10210 return 0;
10212 _ACEOF
10213 if ac_fn_c_try_link "$LINENO"; then :
10214 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10215 else
10216 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10218 rm -f core conftest.err conftest.$ac_objext \
10219 conftest$ac_exeext conftest.$ac_ext
10220 LIBS=$ac_check_lib_save_LIBS
10222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10223 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10224 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10226 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10231 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10232 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10233 $as_echo_n "(cached) " >&6
10234 else
10235 ac_check_lib_save_LIBS=$LIBS
10236 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10238 /* end confdefs.h. */
10240 /* Override any GCC internal prototype to avoid an error.
10241 Use char because int might match the return type of a GCC
10242 builtin and then its argument prototype would still apply. */
10243 #ifdef __cplusplus
10244 extern "C"
10245 #endif
10246 char XRenderCreateLinearGradient ();
10248 main ()
10250 return XRenderCreateLinearGradient ();
10252 return 0;
10254 _ACEOF
10255 if ac_fn_c_try_link "$LINENO"; then :
10256 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10257 else
10258 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10260 rm -f core conftest.err conftest.$ac_objext \
10261 conftest$ac_exeext conftest.$ac_ext
10262 LIBS=$ac_check_lib_save_LIBS
10264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10265 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10266 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10268 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10275 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10276 case "x$with_xrender" in
10277 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10278 xno) ;;
10279 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10280 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10281 esac
10285 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10286 then
10287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10288 /* end confdefs.h. */
10289 #include <X11/Xlib.h>
10290 #include <X11/extensions/Xrandr.h>
10292 main ()
10294 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10296 return 0;
10298 _ACEOF
10299 if ac_fn_c_try_compile "$LINENO"; then :
10300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10301 $as_echo_n "checking for -lXrandr... " >&6; }
10302 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10303 $as_echo_n "(cached) " >&6
10304 else
10305 ac_check_soname_save_LIBS=$LIBS
10306 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10308 /* end confdefs.h. */
10310 /* Override any GCC internal prototype to avoid an error.
10311 Use char because int might match the return type of a GCC
10312 builtin and then its argument prototype would still apply. */
10313 #ifdef __cplusplus
10314 extern "C"
10315 #endif
10316 char XRRQueryExtension ();
10318 main ()
10320 return XRRQueryExtension ();
10322 return 0;
10324 _ACEOF
10325 if ac_fn_c_try_link "$LINENO"; then :
10326 case "$LIBEXT" in
10327 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10328 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'` ;;
10329 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10330 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10331 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10332 fi ;;
10333 esac
10335 rm -f core conftest.err conftest.$ac_objext \
10336 conftest$ac_exeext conftest.$ac_ext
10337 LIBS=$ac_check_soname_save_LIBS
10339 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10341 $as_echo "not found" >&6; }
10343 else
10344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10345 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10347 cat >>confdefs.h <<_ACEOF
10348 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10349 _ACEOF
10351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10352 /* end confdefs.h. */
10353 #include <X11/Xlib.h>
10354 #include <X11/extensions/Xrandr.h>
10356 main ()
10358 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10360 return 0;
10362 _ACEOF
10363 if ac_fn_c_try_compile "$LINENO"; then :
10365 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10373 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10374 case "x$with_xrandr" in
10375 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10376 xno) ;;
10377 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10378 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10379 esac
10383 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10384 then
10385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10386 /* end confdefs.h. */
10387 #include <X11/Xlib.h>
10388 #include <X11/extensions/Xinerama.h>
10390 main ()
10392 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10394 return 0;
10396 _ACEOF
10397 if ac_fn_c_try_compile "$LINENO"; then :
10398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10399 $as_echo_n "checking for -lXinerama... " >&6; }
10400 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10401 $as_echo_n "(cached) " >&6
10402 else
10403 ac_check_soname_save_LIBS=$LIBS
10404 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10406 /* end confdefs.h. */
10408 /* Override any GCC internal prototype to avoid an error.
10409 Use char because int might match the return type of a GCC
10410 builtin and then its argument prototype would still apply. */
10411 #ifdef __cplusplus
10412 extern "C"
10413 #endif
10414 char XineramaQueryScreens ();
10416 main ()
10418 return XineramaQueryScreens ();
10420 return 0;
10422 _ACEOF
10423 if ac_fn_c_try_link "$LINENO"; then :
10424 case "$LIBEXT" in
10425 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10426 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'` ;;
10427 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10428 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10429 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10430 fi ;;
10431 esac
10433 rm -f core conftest.err conftest.$ac_objext \
10434 conftest$ac_exeext conftest.$ac_ext
10435 LIBS=$ac_check_soname_save_LIBS
10437 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10439 $as_echo "not found" >&6; }
10441 else
10442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10443 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10445 cat >>confdefs.h <<_ACEOF
10446 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10447 _ACEOF
10452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10454 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10455 case "x$with_xinerama" in
10456 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10457 xno) ;;
10458 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10459 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10460 esac
10464 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10465 then
10466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10467 $as_echo_n "checking for -lXcomposite... " >&6; }
10468 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10469 $as_echo_n "(cached) " >&6
10470 else
10471 ac_check_soname_save_LIBS=$LIBS
10472 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10474 /* end confdefs.h. */
10476 /* Override any GCC internal prototype to avoid an error.
10477 Use char because int might match the return type of a GCC
10478 builtin and then its argument prototype would still apply. */
10479 #ifdef __cplusplus
10480 extern "C"
10481 #endif
10482 char XCompositeRedirectWindow ();
10484 main ()
10486 return XCompositeRedirectWindow ();
10488 return 0;
10490 _ACEOF
10491 if ac_fn_c_try_link "$LINENO"; then :
10492 case "$LIBEXT" in
10493 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10494 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'` ;;
10495 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10496 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10497 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10498 fi ;;
10499 esac
10501 rm -f core conftest.err conftest.$ac_objext \
10502 conftest$ac_exeext conftest.$ac_ext
10503 LIBS=$ac_check_soname_save_LIBS
10505 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10507 $as_echo "not found" >&6; }
10509 else
10510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10511 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10513 cat >>confdefs.h <<_ACEOF
10514 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10515 _ACEOF
10520 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10521 case "x$with_xcomposite" in
10522 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10523 xno) ;;
10524 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10525 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10526 esac
10530 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10531 #include <X11/Xlib.h>
10532 #endif
10534 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10536 cat >>confdefs.h <<_ACEOF
10537 #define HAVE_XICCALLBACK_CALLBACK 1
10538 _ACEOF
10542 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10543 #include <X11/Xlib.h>
10544 #endif
10546 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10548 cat >>confdefs.h <<_ACEOF
10549 #define HAVE_XEVENT_XCOOKIE 1
10550 _ACEOF
10557 opengl_msg=""
10558 if test "x$with_opengl" != "xno"
10559 then
10560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10561 $as_echo_n "checking for -lGL... " >&6; }
10562 if ${ac_cv_lib_soname_GL+:} false; then :
10563 $as_echo_n "(cached) " >&6
10564 else
10565 ac_check_soname_save_LIBS=$LIBS
10566 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10568 /* end confdefs.h. */
10570 /* Override any GCC internal prototype to avoid an error.
10571 Use char because int might match the return type of a GCC
10572 builtin and then its argument prototype would still apply. */
10573 #ifdef __cplusplus
10574 extern "C"
10575 #endif
10576 char glXCreateContext ();
10578 main ()
10580 return glXCreateContext ();
10582 return 0;
10584 _ACEOF
10585 if ac_fn_c_try_link "$LINENO"; then :
10586 case "$LIBEXT" in
10587 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10588 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'` ;;
10589 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10590 if ${ac_cv_lib_soname_GL:+false} :; then :
10591 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10592 fi ;;
10593 esac
10595 rm -f core conftest.err conftest.$ac_objext \
10596 conftest$ac_exeext conftest.$ac_ext
10597 LIBS=$ac_check_soname_save_LIBS
10599 if ${ac_cv_lib_soname_GL:+false} :; then :
10600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10601 $as_echo "not found" >&6; }
10602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10603 $as_echo_n "checking for -lGL... " >&6; }
10604 if ${ac_cv_lib_soname_GL+:} false; then :
10605 $as_echo_n "(cached) " >&6
10606 else
10607 ac_check_soname_save_LIBS=$LIBS
10608 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"
10609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10610 /* end confdefs.h. */
10612 /* Override any GCC internal prototype to avoid an error.
10613 Use char because int might match the return type of a GCC
10614 builtin and then its argument prototype would still apply. */
10615 #ifdef __cplusplus
10616 extern "C"
10617 #endif
10618 char glXCreateContext ();
10620 main ()
10622 return glXCreateContext ();
10624 return 0;
10626 _ACEOF
10627 if ac_fn_c_try_link "$LINENO"; then :
10628 case "$LIBEXT" in
10629 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10630 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'` ;;
10631 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10632 if ${ac_cv_lib_soname_GL:+false} :; then :
10633 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10634 fi ;;
10635 esac
10637 rm -f core conftest.err conftest.$ac_objext \
10638 conftest$ac_exeext conftest.$ac_ext
10639 LIBS=$ac_check_soname_save_LIBS
10641 if ${ac_cv_lib_soname_GL:+false} :; then :
10642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10643 $as_echo "not found" >&6; }
10644 if test -f /usr/X11R6/lib/libGL.a
10645 then
10646 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10647 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10648 else
10649 opengl_msg="No OpenGL library found on this system."
10651 else
10652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10653 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10655 cat >>confdefs.h <<_ACEOF
10656 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10657 _ACEOF
10659 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"
10661 else
10662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10663 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10665 cat >>confdefs.h <<_ACEOF
10666 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10667 _ACEOF
10669 OPENGL_LIBS="-lGL"
10671 if test "x$with_glu" != "xno"
10672 then
10673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10674 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10675 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10676 $as_echo_n "(cached) " >&6
10677 else
10678 ac_check_lib_save_LIBS=$LIBS
10679 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10681 /* end confdefs.h. */
10683 /* Override any GCC internal prototype to avoid an error.
10684 Use char because int might match the return type of a GCC
10685 builtin and then its argument prototype would still apply. */
10686 #ifdef __cplusplus
10687 extern "C"
10688 #endif
10689 char gluLookAt ();
10691 main ()
10693 return gluLookAt ();
10695 return 0;
10697 _ACEOF
10698 if ac_fn_c_try_link "$LINENO"; then :
10699 ac_cv_lib_GLU_gluLookAt=yes
10700 else
10701 ac_cv_lib_GLU_gluLookAt=no
10703 rm -f core conftest.err conftest.$ac_objext \
10704 conftest$ac_exeext conftest.$ac_ext
10705 LIBS=$ac_check_lib_save_LIBS
10707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10708 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10709 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10713 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10714 case "x$with_glu" in
10715 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10716 xno) ;;
10717 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10718 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10719 esac
10724 if test "x$with_osmesa" != "xno"
10725 then
10726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10727 $as_echo_n "checking for -lOSMesa... " >&6; }
10728 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10729 $as_echo_n "(cached) " >&6
10730 else
10731 ac_check_soname_save_LIBS=$LIBS
10732 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10734 /* end confdefs.h. */
10736 /* Override any GCC internal prototype to avoid an error.
10737 Use char because int might match the return type of a GCC
10738 builtin and then its argument prototype would still apply. */
10739 #ifdef __cplusplus
10740 extern "C"
10741 #endif
10742 char glAccum ();
10744 main ()
10746 return glAccum ();
10748 return 0;
10750 _ACEOF
10751 if ac_fn_c_try_link "$LINENO"; then :
10752 case "$LIBEXT" in
10753 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10754 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'` ;;
10755 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10756 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10757 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10758 fi ;;
10759 esac
10761 rm -f core conftest.err conftest.$ac_objext \
10762 conftest$ac_exeext conftest.$ac_ext
10763 LIBS=$ac_check_soname_save_LIBS
10765 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10767 $as_echo "not found" >&6; }
10769 else
10770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10771 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10773 cat >>confdefs.h <<_ACEOF
10774 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10775 _ACEOF
10779 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10780 case "x$with_osmesa" in
10781 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10782 xno) ;;
10783 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10784 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10785 esac
10790 if test -n "$opengl_msg"; then :
10791 case "x$with_opengl" in
10792 x) as_fn_append wine_warnings "|$opengl_msg
10793 OpenGL and Direct3D won't be supported." ;;
10794 xno) ;;
10795 *) as_fn_error $? "$opengl_msg
10796 OpenGL and Direct3D won't be supported.
10797 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10798 esac
10802 CPPFLAGS="$ac_save_CPPFLAGS"
10803 else
10804 X_CFLAGS=""
10805 X_LIBS=""
10807 if test "x$X_LIBS" = "x"; then :
10808 case "x$with_x" in
10809 xno) ;;
10810 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10811 without X support, which probably isn't what you want. You will need
10812 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10813 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10814 esac
10815 enable_winex11_drv=${enable_winex11_drv:-no}
10818 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10820 if test "$ac_cv_header_CL_cl_h" = "yes"
10821 then
10822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10823 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10824 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10825 $as_echo_n "(cached) " >&6
10826 else
10827 ac_check_lib_save_LIBS=$LIBS
10828 LIBS="-lOpenCL $LIBS"
10829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10830 /* end confdefs.h. */
10832 /* Override any GCC internal prototype to avoid an error.
10833 Use char because int might match the return type of a GCC
10834 builtin and then its argument prototype would still apply. */
10835 #ifdef __cplusplus
10836 extern "C"
10837 #endif
10838 char clGetPlatformInfo ();
10840 main ()
10842 return clGetPlatformInfo ();
10844 return 0;
10846 _ACEOF
10847 if ac_fn_c_try_link "$LINENO"; then :
10848 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10849 else
10850 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10852 rm -f core conftest.err conftest.$ac_objext \
10853 conftest$ac_exeext conftest.$ac_ext
10854 LIBS=$ac_check_lib_save_LIBS
10856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10857 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10858 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10859 OPENCL_LIBS="-lOpenCL"
10864 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10865 case "x$with_opencl" in
10866 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10867 xno) ;;
10868 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10869 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10870 esac
10871 enable_opencl=${enable_opencl:-no}
10874 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10875 then
10876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10877 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10878 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10879 $as_echo_n "(cached) " >&6
10880 else
10881 ac_check_lib_save_LIBS=$LIBS
10882 LIBS="-lpcap $LIBS"
10883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10884 /* end confdefs.h. */
10886 /* Override any GCC internal prototype to avoid an error.
10887 Use char because int might match the return type of a GCC
10888 builtin and then its argument prototype would still apply. */
10889 #ifdef __cplusplus
10890 extern "C"
10891 #endif
10892 char pcap_create ();
10894 main ()
10896 return pcap_create ();
10898 return 0;
10900 _ACEOF
10901 if ac_fn_c_try_link "$LINENO"; then :
10902 ac_cv_lib_pcap_pcap_create=yes
10903 else
10904 ac_cv_lib_pcap_pcap_create=no
10906 rm -f core conftest.err conftest.$ac_objext \
10907 conftest$ac_exeext conftest.$ac_ext
10908 LIBS=$ac_check_lib_save_LIBS
10910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10911 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10912 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10913 PCAP_LIBS="-lpcap"
10918 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10919 case "x$with_pcap" in
10920 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10921 xno) ;;
10922 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10923 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10924 esac
10925 enable_wpcap=${enable_wpcap:-no}
10929 if test "x$with_xml" != "xno"
10930 then
10931 if ${XML2_CFLAGS:+false} :; then :
10932 if ${PKG_CONFIG+:} false; then :
10933 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10936 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
10937 if ${XML2_LIBS:+false} :; then :
10938 if ${PKG_CONFIG+:} false; then :
10939 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10942 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
10943 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10944 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10945 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10946 ac_save_CPPFLAGS=$CPPFLAGS
10947 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10948 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10949 do :
10950 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10951 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10952 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10953 cat >>confdefs.h <<_ACEOF
10954 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10955 _ACEOF
10959 done
10961 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"
10962 then
10963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10964 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10965 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10966 $as_echo_n "(cached) " >&6
10967 else
10968 ac_check_lib_save_LIBS=$LIBS
10969 LIBS="-lxml2 $XML2_LIBS $LIBS"
10970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10971 /* end confdefs.h. */
10973 /* Override any GCC internal prototype to avoid an error.
10974 Use char because int might match the return type of a GCC
10975 builtin and then its argument prototype would still apply. */
10976 #ifdef __cplusplus
10977 extern "C"
10978 #endif
10979 char xmlParseMemory ();
10981 main ()
10983 return xmlParseMemory ();
10985 return 0;
10987 _ACEOF
10988 if ac_fn_c_try_link "$LINENO"; then :
10989 ac_cv_lib_xml2_xmlParseMemory=yes
10990 else
10991 ac_cv_lib_xml2_xmlParseMemory=no
10993 rm -f core conftest.err conftest.$ac_objext \
10994 conftest$ac_exeext conftest.$ac_ext
10995 LIBS=$ac_check_lib_save_LIBS
10997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10998 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10999 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11001 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11003 else
11004 XML2_LIBS=""
11007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11008 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11009 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11010 $as_echo_n "(cached) " >&6
11011 else
11012 ac_check_lib_save_LIBS=$LIBS
11013 LIBS="-lxml2 $XML2_LIBS $LIBS"
11014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11015 /* end confdefs.h. */
11017 /* Override any GCC internal prototype to avoid an error.
11018 Use char because int might match the return type of a GCC
11019 builtin and then its argument prototype would still apply. */
11020 #ifdef __cplusplus
11021 extern "C"
11022 #endif
11023 char xmlReadMemory ();
11025 main ()
11027 return xmlReadMemory ();
11029 return 0;
11031 _ACEOF
11032 if ac_fn_c_try_link "$LINENO"; then :
11033 ac_cv_lib_xml2_xmlReadMemory=yes
11034 else
11035 ac_cv_lib_xml2_xmlReadMemory=no
11037 rm -f core conftest.err conftest.$ac_objext \
11038 conftest$ac_exeext conftest.$ac_ext
11039 LIBS=$ac_check_lib_save_LIBS
11041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11042 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11043 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11045 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11050 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11051 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11052 $as_echo_n "(cached) " >&6
11053 else
11054 ac_check_lib_save_LIBS=$LIBS
11055 LIBS="-lxml2 $XML2_LIBS $LIBS"
11056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11057 /* end confdefs.h. */
11059 /* Override any GCC internal prototype to avoid an error.
11060 Use char because int might match the return type of a GCC
11061 builtin and then its argument prototype would still apply. */
11062 #ifdef __cplusplus
11063 extern "C"
11064 #endif
11065 char xmlNewDocPI ();
11067 main ()
11069 return xmlNewDocPI ();
11071 return 0;
11073 _ACEOF
11074 if ac_fn_c_try_link "$LINENO"; then :
11075 ac_cv_lib_xml2_xmlNewDocPI=yes
11076 else
11077 ac_cv_lib_xml2_xmlNewDocPI=no
11079 rm -f core conftest.err conftest.$ac_objext \
11080 conftest$ac_exeext conftest.$ac_ext
11081 LIBS=$ac_check_lib_save_LIBS
11083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11084 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11085 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11087 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11092 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11093 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11094 $as_echo_n "(cached) " >&6
11095 else
11096 ac_check_lib_save_LIBS=$LIBS
11097 LIBS="-lxml2 $XML2_LIBS $LIBS"
11098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11099 /* end confdefs.h. */
11101 /* Override any GCC internal prototype to avoid an error.
11102 Use char because int might match the return type of a GCC
11103 builtin and then its argument prototype would still apply. */
11104 #ifdef __cplusplus
11105 extern "C"
11106 #endif
11107 char xmlSchemaSetParserStructuredErrors ();
11109 main ()
11111 return xmlSchemaSetParserStructuredErrors ();
11113 return 0;
11115 _ACEOF
11116 if ac_fn_c_try_link "$LINENO"; then :
11117 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11118 else
11119 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11121 rm -f core conftest.err conftest.$ac_objext \
11122 conftest$ac_exeext conftest.$ac_ext
11123 LIBS=$ac_check_lib_save_LIBS
11125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11126 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11127 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11129 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11134 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11135 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11136 $as_echo_n "(cached) " >&6
11137 else
11138 ac_check_lib_save_LIBS=$LIBS
11139 LIBS="-lxml2 $XML2_LIBS $LIBS"
11140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11141 /* end confdefs.h. */
11143 /* Override any GCC internal prototype to avoid an error.
11144 Use char because int might match the return type of a GCC
11145 builtin and then its argument prototype would still apply. */
11146 #ifdef __cplusplus
11147 extern "C"
11148 #endif
11149 char xmlSchemaSetValidStructuredErrors ();
11151 main ()
11153 return xmlSchemaSetValidStructuredErrors ();
11155 return 0;
11157 _ACEOF
11158 if ac_fn_c_try_link "$LINENO"; then :
11159 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11160 else
11161 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11163 rm -f core conftest.err conftest.$ac_objext \
11164 conftest$ac_exeext conftest.$ac_ext
11165 LIBS=$ac_check_lib_save_LIBS
11167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11168 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11169 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11171 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11176 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11177 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11178 $as_echo_n "(cached) " >&6
11179 else
11180 ac_check_lib_save_LIBS=$LIBS
11181 LIBS="-lxml2 $XML2_LIBS $LIBS"
11182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11183 /* end confdefs.h. */
11185 /* Override any GCC internal prototype to avoid an error.
11186 Use char because int might match the return type of a GCC
11187 builtin and then its argument prototype would still apply. */
11188 #ifdef __cplusplus
11189 extern "C"
11190 #endif
11191 char xmlFirstElementChild ();
11193 main ()
11195 return xmlFirstElementChild ();
11197 return 0;
11199 _ACEOF
11200 if ac_fn_c_try_link "$LINENO"; then :
11201 ac_cv_lib_xml2_xmlFirstElementChild=yes
11202 else
11203 ac_cv_lib_xml2_xmlFirstElementChild=no
11205 rm -f core conftest.err conftest.$ac_objext \
11206 conftest$ac_exeext conftest.$ac_ext
11207 LIBS=$ac_check_lib_save_LIBS
11209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11210 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11211 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11213 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11217 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11219 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11221 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11225 else
11226 XML2_CFLAGS=""
11227 XML2_LIBS=""
11229 CPPFLAGS=$ac_save_CPPFLAGS
11230 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11231 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11234 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11235 case "x$with_xml" in
11236 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11237 xno) ;;
11238 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11239 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11240 esac
11244 if test "x$with_xslt" != "xno"
11245 then
11246 if ${XSLT_CFLAGS:+false} :; then :
11247 if ${PKG_CONFIG+:} false; then :
11248 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11251 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11252 if ${XSLT_LIBS:+false} :; then :
11253 if ${PKG_CONFIG+:} false; then :
11254 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11257 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11258 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11259 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11260 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11261 ac_save_CPPFLAGS=$CPPFLAGS
11262 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11263 for ac_header in libxslt/pattern.h libxslt/transform.h
11264 do :
11265 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11266 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11267 # include <libxslt/pattern.h>
11268 #endif
11270 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11271 cat >>confdefs.h <<_ACEOF
11272 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11273 _ACEOF
11277 done
11279 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11280 then
11281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11282 $as_echo_n "checking for -lxslt... " >&6; }
11283 if ${ac_cv_lib_soname_xslt+:} false; then :
11284 $as_echo_n "(cached) " >&6
11285 else
11286 ac_check_soname_save_LIBS=$LIBS
11287 LIBS="-lxslt $XSLT_LIBS $LIBS"
11288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11289 /* end confdefs.h. */
11291 /* Override any GCC internal prototype to avoid an error.
11292 Use char because int might match the return type of a GCC
11293 builtin and then its argument prototype would still apply. */
11294 #ifdef __cplusplus
11295 extern "C"
11296 #endif
11297 char xsltCompilePattern ();
11299 main ()
11301 return xsltCompilePattern ();
11303 return 0;
11305 _ACEOF
11306 if ac_fn_c_try_link "$LINENO"; then :
11307 case "$LIBEXT" in
11308 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11309 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'` ;;
11310 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11311 if ${ac_cv_lib_soname_xslt:+false} :; then :
11312 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11313 fi ;;
11314 esac
11316 rm -f core conftest.err conftest.$ac_objext \
11317 conftest$ac_exeext conftest.$ac_ext
11318 LIBS=$ac_check_soname_save_LIBS
11320 if ${ac_cv_lib_soname_xslt:+false} :; then :
11321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11322 $as_echo "not found" >&6; }
11324 else
11325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11326 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11328 cat >>confdefs.h <<_ACEOF
11329 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11330 _ACEOF
11334 else
11335 XSLT_CFLAGS=""
11337 CPPFLAGS=$ac_save_CPPFLAGS
11338 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11339 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11342 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11343 case "x$with_xslt" in
11344 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11345 xno) ;;
11346 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11347 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11348 esac
11352 if test "x$with_dbus" != "xno"
11353 then
11354 if ${DBUS_CFLAGS:+false} :; then :
11355 if ${PKG_CONFIG+:} false; then :
11356 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11360 if ${DBUS_LIBS:+false} :; then :
11361 if ${PKG_CONFIG+:} false; then :
11362 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11367 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11368 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11369 ac_save_CPPFLAGS=$CPPFLAGS
11370 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11371 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11372 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11374 $as_echo_n "checking for -ldbus-1... " >&6; }
11375 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11376 $as_echo_n "(cached) " >&6
11377 else
11378 ac_check_soname_save_LIBS=$LIBS
11379 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11381 /* end confdefs.h. */
11383 /* Override any GCC internal prototype to avoid an error.
11384 Use char because int might match the return type of a GCC
11385 builtin and then its argument prototype would still apply. */
11386 #ifdef __cplusplus
11387 extern "C"
11388 #endif
11389 char dbus_connection_close ();
11391 main ()
11393 return dbus_connection_close ();
11395 return 0;
11397 _ACEOF
11398 if ac_fn_c_try_link "$LINENO"; then :
11399 case "$LIBEXT" in
11400 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11401 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'` ;;
11402 *) 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'`
11403 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11404 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11405 fi ;;
11406 esac
11408 rm -f core conftest.err conftest.$ac_objext \
11409 conftest$ac_exeext conftest.$ac_ext
11410 LIBS=$ac_check_soname_save_LIBS
11412 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11414 $as_echo "not found" >&6; }
11415 DBUS_CFLAGS=""
11416 else
11417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11418 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11420 cat >>confdefs.h <<_ACEOF
11421 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11422 _ACEOF
11426 else
11427 DBUS_CFLAGS=""
11431 CPPFLAGS=$ac_save_CPPFLAGS
11432 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11433 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11436 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11437 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11438 case "x$with_dbus" in
11439 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11440 xno) ;;
11441 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11442 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11443 esac
11447 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11448 then
11449 if ${HAL_CFLAGS:+false} :; then :
11450 if ${PKG_CONFIG+:} false; then :
11451 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11455 if ${HAL_LIBS:+false} :; then :
11456 if ${PKG_CONFIG+:} false; then :
11457 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11461 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11462 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11463 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11464 ac_save_CPPFLAGS=$CPPFLAGS
11465 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11466 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11467 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11469 $as_echo_n "checking for -lhal... " >&6; }
11470 if ${ac_cv_lib_soname_hal+:} false; then :
11471 $as_echo_n "(cached) " >&6
11472 else
11473 ac_check_soname_save_LIBS=$LIBS
11474 LIBS="-lhal $HAL_LIBS $LIBS"
11475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11476 /* end confdefs.h. */
11478 /* Override any GCC internal prototype to avoid an error.
11479 Use char because int might match the return type of a GCC
11480 builtin and then its argument prototype would still apply. */
11481 #ifdef __cplusplus
11482 extern "C"
11483 #endif
11484 char libhal_ctx_new ();
11486 main ()
11488 return libhal_ctx_new ();
11490 return 0;
11492 _ACEOF
11493 if ac_fn_c_try_link "$LINENO"; then :
11494 case "$LIBEXT" in
11495 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11496 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'` ;;
11497 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11498 if ${ac_cv_lib_soname_hal:+false} :; then :
11499 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11500 fi ;;
11501 esac
11503 rm -f core conftest.err conftest.$ac_objext \
11504 conftest$ac_exeext conftest.$ac_ext
11505 LIBS=$ac_check_soname_save_LIBS
11507 if ${ac_cv_lib_soname_hal:+false} :; then :
11508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11509 $as_echo "not found" >&6; }
11510 HAL_CFLAGS=""
11511 else
11512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11513 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11515 cat >>confdefs.h <<_ACEOF
11516 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11517 _ACEOF
11521 else
11522 HAL_CFLAGS=""
11526 CPPFLAGS=$ac_save_CPPFLAGS
11527 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11528 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11530 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11531 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11532 case "x$with_hal" in
11533 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11534 xno) ;;
11535 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11536 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11537 esac
11542 if test "x$with_gnutls" != "xno"
11543 then
11544 if ${GNUTLS_CFLAGS:+false} :; then :
11545 if ${PKG_CONFIG+:} false; then :
11546 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11550 if ${GNUTLS_LIBS:+false} :; then :
11551 if ${PKG_CONFIG+:} false; then :
11552 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11557 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11558 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11559 ac_save_CPPFLAGS=$CPPFLAGS
11560 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11561 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11562 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11564 /* end confdefs.h. */
11565 #include <gnutls/gnutls.h>
11566 #include <gnutls/crypto.h>
11568 main ()
11570 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11572 return 0;
11574 _ACEOF
11575 if ac_fn_c_try_compile "$LINENO"; then :
11576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11577 $as_echo_n "checking for -lgnutls... " >&6; }
11578 if ${ac_cv_lib_soname_gnutls+:} false; then :
11579 $as_echo_n "(cached) " >&6
11580 else
11581 ac_check_soname_save_LIBS=$LIBS
11582 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11584 /* end confdefs.h. */
11586 /* Override any GCC internal prototype to avoid an error.
11587 Use char because int might match the return type of a GCC
11588 builtin and then its argument prototype would still apply. */
11589 #ifdef __cplusplus
11590 extern "C"
11591 #endif
11592 char gnutls_global_init ();
11594 main ()
11596 return gnutls_global_init ();
11598 return 0;
11600 _ACEOF
11601 if ac_fn_c_try_link "$LINENO"; then :
11602 case "$LIBEXT" in
11603 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11604 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'` ;;
11605 *) 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'`
11606 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11607 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'`
11608 fi ;;
11609 esac
11611 rm -f core conftest.err conftest.$ac_objext \
11612 conftest$ac_exeext conftest.$ac_ext
11613 LIBS=$ac_check_soname_save_LIBS
11615 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11617 $as_echo "not found" >&6; }
11618 GNUTLS_CFLAGS=""
11619 else
11620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11621 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11623 cat >>confdefs.h <<_ACEOF
11624 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11625 _ACEOF
11629 ac_wine_check_funcs_save_LIBS="$LIBS"
11630 LIBS="$LIBS $GNUTLS_LIBS"
11631 for ac_func in gnutls_hash
11632 do :
11633 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11634 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11635 cat >>confdefs.h <<_ACEOF
11636 #define HAVE_GNUTLS_HASH 1
11637 _ACEOF
11639 else
11640 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11642 done
11644 LIBS="$ac_wine_check_funcs_save_LIBS"
11646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11647 else
11648 GNUTLS_CFLAGS=""
11652 CPPFLAGS=$ac_save_CPPFLAGS
11653 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11654 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11657 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11658 case "x$with_gnutls" in
11659 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11660 xno) ;;
11661 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11662 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11663 esac
11667 CURSES_LIBS=""
11668 if test "$ac_cv_header_ncurses_h" = "yes"
11669 then
11670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11671 $as_echo_n "checking for -lncurses... " >&6; }
11672 if ${ac_cv_lib_soname_ncurses+:} false; then :
11673 $as_echo_n "(cached) " >&6
11674 else
11675 ac_check_soname_save_LIBS=$LIBS
11676 LIBS="-lncurses $LIBS"
11677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11678 /* end confdefs.h. */
11680 /* Override any GCC internal prototype to avoid an error.
11681 Use char because int might match the return type of a GCC
11682 builtin and then its argument prototype would still apply. */
11683 #ifdef __cplusplus
11684 extern "C"
11685 #endif
11686 char waddch ();
11688 main ()
11690 return waddch ();
11692 return 0;
11694 _ACEOF
11695 if ac_fn_c_try_link "$LINENO"; then :
11696 case "$LIBEXT" in
11697 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11698 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'` ;;
11699 *) 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'`
11700 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11701 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11702 fi ;;
11703 esac
11705 rm -f core conftest.err conftest.$ac_objext \
11706 conftest$ac_exeext conftest.$ac_ext
11707 LIBS=$ac_check_soname_save_LIBS
11709 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11711 $as_echo "not found" >&6; }
11713 else
11714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11715 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11717 cat >>confdefs.h <<_ACEOF
11718 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11719 _ACEOF
11721 CURSES_LIBS="-lncurses"
11723 elif test "$ac_cv_header_curses_h" = "yes"
11724 then
11725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11726 $as_echo_n "checking for -lcurses... " >&6; }
11727 if ${ac_cv_lib_soname_curses+:} false; then :
11728 $as_echo_n "(cached) " >&6
11729 else
11730 ac_check_soname_save_LIBS=$LIBS
11731 LIBS="-lcurses $LIBS"
11732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11733 /* end confdefs.h. */
11735 /* Override any GCC internal prototype to avoid an error.
11736 Use char because int might match the return type of a GCC
11737 builtin and then its argument prototype would still apply. */
11738 #ifdef __cplusplus
11739 extern "C"
11740 #endif
11741 char waddch ();
11743 main ()
11745 return waddch ();
11747 return 0;
11749 _ACEOF
11750 if ac_fn_c_try_link "$LINENO"; then :
11751 case "$LIBEXT" in
11752 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11753 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'` ;;
11754 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11755 if ${ac_cv_lib_soname_curses:+false} :; then :
11756 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11757 fi ;;
11758 esac
11760 rm -f core conftest.err conftest.$ac_objext \
11761 conftest$ac_exeext conftest.$ac_ext
11762 LIBS=$ac_check_soname_save_LIBS
11764 if ${ac_cv_lib_soname_curses:+false} :; then :
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11766 $as_echo "not found" >&6; }
11768 else
11769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11770 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11772 cat >>confdefs.h <<_ACEOF
11773 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11774 _ACEOF
11776 CURSES_LIBS="-lcurses"
11779 ac_save_LIBS="$LIBS"
11780 LIBS="$LIBS $CURSES_LIBS"
11781 for ac_func in mousemask
11782 do :
11783 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11784 if test "x$ac_cv_func_mousemask" = xyes; then :
11785 cat >>confdefs.h <<_ACEOF
11786 #define HAVE_MOUSEMASK 1
11787 _ACEOF
11790 done
11792 LIBS="$ac_save_LIBS"
11793 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11794 case "x$with_curses" in
11795 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11796 xno) ;;
11797 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11798 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11799 esac
11803 if test "x$with_sane" != "xno"
11804 then
11805 if ${SANE_CFLAGS:+false} :; then :
11806 if ${PKG_CONFIG+:} false; then :
11807 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11810 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11811 if ${SANE_LIBS:+false} :; then :
11812 if ${PKG_CONFIG+:} false; then :
11813 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11816 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11818 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11819 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11820 ac_save_CPPFLAGS=$CPPFLAGS
11821 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11822 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11823 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11825 $as_echo_n "checking for -lsane... " >&6; }
11826 if ${ac_cv_lib_soname_sane+:} false; then :
11827 $as_echo_n "(cached) " >&6
11828 else
11829 ac_check_soname_save_LIBS=$LIBS
11830 LIBS="-lsane $SANE_LIBS $LIBS"
11831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11832 /* end confdefs.h. */
11834 /* Override any GCC internal prototype to avoid an error.
11835 Use char because int might match the return type of a GCC
11836 builtin and then its argument prototype would still apply. */
11837 #ifdef __cplusplus
11838 extern "C"
11839 #endif
11840 char sane_init ();
11842 main ()
11844 return sane_init ();
11846 return 0;
11848 _ACEOF
11849 if ac_fn_c_try_link "$LINENO"; then :
11850 case "$LIBEXT" in
11851 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11852 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'` ;;
11853 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11854 if ${ac_cv_lib_soname_sane:+false} :; then :
11855 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11856 fi ;;
11857 esac
11859 rm -f core conftest.err conftest.$ac_objext \
11860 conftest$ac_exeext conftest.$ac_ext
11861 LIBS=$ac_check_soname_save_LIBS
11863 if ${ac_cv_lib_soname_sane:+false} :; then :
11864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11865 $as_echo "not found" >&6; }
11866 SANE_CFLAGS=""
11867 else
11868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11869 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11871 cat >>confdefs.h <<_ACEOF
11872 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11873 _ACEOF
11877 else
11878 SANE_CFLAGS=""
11882 CPPFLAGS=$ac_save_CPPFLAGS
11883 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11884 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11887 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11888 case "x$with_sane" in
11889 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11890 xno) ;;
11891 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11892 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11893 esac
11897 if test "x$with_v4l" != "xno"
11898 then
11899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11900 $as_echo_n "checking for -lv4l1... " >&6; }
11901 if ${ac_cv_lib_soname_v4l1+:} false; then :
11902 $as_echo_n "(cached) " >&6
11903 else
11904 ac_check_soname_save_LIBS=$LIBS
11905 LIBS="-lv4l1 $LIBS"
11906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11907 /* end confdefs.h. */
11909 /* Override any GCC internal prototype to avoid an error.
11910 Use char because int might match the return type of a GCC
11911 builtin and then its argument prototype would still apply. */
11912 #ifdef __cplusplus
11913 extern "C"
11914 #endif
11915 char v4l1_open ();
11917 main ()
11919 return v4l1_open ();
11921 return 0;
11923 _ACEOF
11924 if ac_fn_c_try_link "$LINENO"; then :
11925 case "$LIBEXT" in
11926 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11927 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'` ;;
11928 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11929 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11930 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11931 fi ;;
11932 esac
11934 rm -f core conftest.err conftest.$ac_objext \
11935 conftest$ac_exeext conftest.$ac_ext
11936 LIBS=$ac_check_soname_save_LIBS
11938 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11940 $as_echo "not found" >&6; }
11942 else
11943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11944 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11946 cat >>confdefs.h <<_ACEOF
11947 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11948 _ACEOF
11953 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11954 case "x$with_v4l" in
11955 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11956 xno) ;;
11957 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11958 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11959 esac
11963 if test "x$with_gphoto" != "xno"
11964 then
11965 if ${GPHOTO2_CFLAGS:+false} :; then :
11966 if ${PKG_CONFIG+:} false; then :
11967 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11970 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
11971 if ${GPHOTO2_LIBS:+false} :; then :
11972 if ${PKG_CONFIG+:} false; then :
11973 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11976 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
11977 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11978 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11979 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11980 ac_save_CPPFLAGS=$CPPFLAGS
11981 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11982 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11983 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11985 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11986 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11987 $as_echo_n "(cached) " >&6
11988 else
11989 ac_check_lib_save_LIBS=$LIBS
11990 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11992 /* end confdefs.h. */
11994 /* Override any GCC internal prototype to avoid an error.
11995 Use char because int might match the return type of a GCC
11996 builtin and then its argument prototype would still apply. */
11997 #ifdef __cplusplus
11998 extern "C"
11999 #endif
12000 char gp_camera_new ();
12002 main ()
12004 return gp_camera_new ();
12006 return 0;
12008 _ACEOF
12009 if ac_fn_c_try_link "$LINENO"; then :
12010 ac_cv_lib_gphoto2_gp_camera_new=yes
12011 else
12012 ac_cv_lib_gphoto2_gp_camera_new=no
12014 rm -f core conftest.err conftest.$ac_objext \
12015 conftest$ac_exeext conftest.$ac_ext
12016 LIBS=$ac_check_lib_save_LIBS
12018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12019 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12020 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12022 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12024 else
12025 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12028 else
12029 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12033 CPPFLAGS=$ac_save_CPPFLAGS
12034 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12035 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12037 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12038 if ${PKG_CONFIG+:} false; then :
12039 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12042 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12043 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12044 if ${PKG_CONFIG+:} false; then :
12045 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12048 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12049 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12050 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12051 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12052 ac_save_CPPFLAGS=$CPPFLAGS
12053 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12054 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12055 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12057 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12058 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12059 $as_echo_n "(cached) " >&6
12060 else
12061 ac_check_lib_save_LIBS=$LIBS
12062 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12064 /* end confdefs.h. */
12066 /* Override any GCC internal prototype to avoid an error.
12067 Use char because int might match the return type of a GCC
12068 builtin and then its argument prototype would still apply. */
12069 #ifdef __cplusplus
12070 extern "C"
12071 #endif
12072 char gp_port_info_list_new ();
12074 main ()
12076 return gp_port_info_list_new ();
12078 return 0;
12080 _ACEOF
12081 if ac_fn_c_try_link "$LINENO"; then :
12082 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12083 else
12084 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12086 rm -f core conftest.err conftest.$ac_objext \
12087 conftest$ac_exeext conftest.$ac_ext
12088 LIBS=$ac_check_lib_save_LIBS
12090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12091 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12092 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12094 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12096 else
12097 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12100 else
12101 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12105 CPPFLAGS=$ac_save_CPPFLAGS
12106 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12107 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12110 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12111 case "x$with_gphoto" in
12112 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12113 xno) ;;
12114 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12115 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12116 esac
12119 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12120 case "x$with_gphoto" in
12121 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12122 xno) ;;
12123 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12124 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12125 esac
12130 if test "$ac_cv_header_resolv_h" = "yes"
12131 then
12132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12133 $as_echo_n "checking for resolver library... " >&6; }
12134 if ${ac_cv_have_resolv+:} false; then :
12135 $as_echo_n "(cached) " >&6
12136 else
12137 ac_save_LIBS="$LIBS"
12138 for lib in '' -lresolv
12140 LIBS="$lib $ac_save_LIBS"
12141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12142 /* end confdefs.h. */
12143 #ifdef HAVE_NETINET_IN_H
12144 #include <netinet/in.h>
12145 #endif
12146 #include <resolv.h>
12148 main ()
12150 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12152 return 0;
12154 _ACEOF
12155 if ac_fn_c_try_link "$LINENO"; then :
12156 ac_cv_have_resolv=${lib:-"none required"}
12157 else
12158 ac_cv_have_resolv="not found"
12160 rm -f core conftest.err conftest.$ac_objext \
12161 conftest$ac_exeext conftest.$ac_ext
12162 test "x$ac_cv_have_resolv" = "xnot found" || break
12163 done
12164 LIBS="$ac_save_LIBS"
12166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12167 $as_echo "$ac_cv_have_resolv" >&6; }
12169 case "$ac_cv_have_resolv" in
12170 "not found") ;;
12171 "none required")
12173 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12176 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12178 RESOLV_LIBS=$ac_cv_have_resolv
12180 esac
12183 if test "x$with_cms" != "xno"
12184 then
12185 if ${LCMS2_CFLAGS:+false} :; then :
12186 if ${PKG_CONFIG+:} false; then :
12187 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12191 if ${LCMS2_LIBS:+false} :; then :
12192 if ${PKG_CONFIG+:} false; then :
12193 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12197 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12198 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12199 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12200 ac_save_CPPFLAGS=$CPPFLAGS
12201 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12202 for ac_header in lcms2.h
12203 do :
12204 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12205 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12206 cat >>confdefs.h <<_ACEOF
12207 #define HAVE_LCMS2_H 1
12208 _ACEOF
12212 done
12214 if test "$ac_cv_header_lcms2_h" = "yes"
12215 then
12216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12217 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12218 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12219 $as_echo_n "(cached) " >&6
12220 else
12221 ac_check_lib_save_LIBS=$LIBS
12222 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12224 /* end confdefs.h. */
12226 /* Override any GCC internal prototype to avoid an error.
12227 Use char because int might match the return type of a GCC
12228 builtin and then its argument prototype would still apply. */
12229 #ifdef __cplusplus
12230 extern "C"
12231 #endif
12232 char cmsOpenProfileFromFile ();
12234 main ()
12236 return cmsOpenProfileFromFile ();
12238 return 0;
12240 _ACEOF
12241 if ac_fn_c_try_link "$LINENO"; then :
12242 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12243 else
12244 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12246 rm -f core conftest.err conftest.$ac_objext \
12247 conftest$ac_exeext conftest.$ac_ext
12248 LIBS=$ac_check_lib_save_LIBS
12250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12251 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12252 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12254 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12256 else
12257 LCMS2_LIBS=""
12260 else
12261 LCMS2_CFLAGS=""
12262 LCMS2_LIBS=""
12264 CPPFLAGS=$ac_save_CPPFLAGS
12265 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12266 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12269 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12270 case "x$with_cms" in
12271 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12272 xno) ;;
12273 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12274 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12275 esac
12279 if test "x$with_freetype" != "xno"
12280 then
12281 if ${FREETYPE_CFLAGS:+false} :; then :
12282 if ${PKG_CONFIG+:} false; then :
12283 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12286 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12287 if ${FREETYPE_LIBS:+false} :; then :
12288 if ${PKG_CONFIG+:} false; then :
12289 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12292 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12293 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12294 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12295 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12296 ac_save_CPPFLAGS=$CPPFLAGS
12297 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12298 for ac_header in ft2build.h
12299 do :
12300 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12301 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12302 cat >>confdefs.h <<_ACEOF
12303 #define HAVE_FT2BUILD_H 1
12304 _ACEOF
12308 done
12310 if test "$ac_cv_header_ft2build_h" = "yes"
12311 then
12312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12313 $as_echo_n "checking for -lfreetype... " >&6; }
12314 if ${ac_cv_lib_soname_freetype+:} false; then :
12315 $as_echo_n "(cached) " >&6
12316 else
12317 ac_check_soname_save_LIBS=$LIBS
12318 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12320 /* end confdefs.h. */
12322 /* Override any GCC internal prototype to avoid an error.
12323 Use char because int might match the return type of a GCC
12324 builtin and then its argument prototype would still apply. */
12325 #ifdef __cplusplus
12326 extern "C"
12327 #endif
12328 char FT_Init_FreeType ();
12330 main ()
12332 return FT_Init_FreeType ();
12334 return 0;
12336 _ACEOF
12337 if ac_fn_c_try_link "$LINENO"; then :
12338 case "$LIBEXT" in
12339 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12340 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'` ;;
12341 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12342 if ${ac_cv_lib_soname_freetype:+false} :; then :
12343 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12344 fi ;;
12345 esac
12347 rm -f core conftest.err conftest.$ac_objext \
12348 conftest$ac_exeext conftest.$ac_ext
12349 LIBS=$ac_check_soname_save_LIBS
12351 if ${ac_cv_lib_soname_freetype:+false} :; then :
12352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12353 $as_echo "not found" >&6; }
12354 FREETYPE_LIBS=""
12355 else
12356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12357 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12359 cat >>confdefs.h <<_ACEOF
12360 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12361 _ACEOF
12364 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12366 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12367 #include FT_MODULE_H
12369 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12371 cat >>confdefs.h <<_ACEOF
12372 #define HAVE_FT_TRUETYPEENGINETYPE 1
12373 _ACEOF
12379 else
12380 FREETYPE_CFLAGS=""
12381 FREETYPE_LIBS=""
12383 CPPFLAGS=$ac_save_CPPFLAGS
12384 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12385 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12388 if test "x$ac_cv_lib_soname_freetype" = x; then :
12389 case "x$with_freetype" in
12390 xno) ;;
12391 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12392 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12393 esac
12394 enable_fonts=${enable_fonts:-no}
12397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12398 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12399 if ${ac_cv_c_ppdev+:} false; then :
12400 $as_echo_n "(cached) " >&6
12401 else
12402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12403 /* end confdefs.h. */
12404 #ifdef HAVE_SYS_IOCTL_H
12405 # include <sys/ioctl.h>
12406 #endif
12407 #include <linux/ppdev.h>
12409 main ()
12411 ioctl (1,PPCLAIM,0)
12413 return 0;
12415 _ACEOF
12416 if ac_fn_c_try_compile "$LINENO"; then :
12417 ac_cv_c_ppdev="yes"
12418 else
12419 ac_cv_c_ppdev="no"
12421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12424 $as_echo "$ac_cv_c_ppdev" >&6; }
12425 if test "$ac_cv_c_ppdev" = "yes"
12426 then
12428 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12432 ac_wine_check_funcs_save_LIBS="$LIBS"
12433 LIBS="$LIBS $PTHREAD_LIBS"
12434 for ac_func in \
12435 pthread_attr_get_np \
12436 pthread_getattr_np \
12437 pthread_getthreadid_np \
12438 pthread_get_stackaddr_np \
12439 pthread_get_stacksize_np
12440 do :
12441 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12442 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12443 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12444 cat >>confdefs.h <<_ACEOF
12445 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12446 _ACEOF
12449 done
12451 LIBS="$ac_wine_check_funcs_save_LIBS"
12453 if test "$ac_cv_header_zlib_h" = "yes"
12454 then
12455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12456 $as_echo_n "checking for inflate in -lz... " >&6; }
12457 if ${ac_cv_lib_z_inflate+:} false; then :
12458 $as_echo_n "(cached) " >&6
12459 else
12460 ac_check_lib_save_LIBS=$LIBS
12461 LIBS="-lz $LIBS"
12462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12463 /* end confdefs.h. */
12465 /* Override any GCC internal prototype to avoid an error.
12466 Use char because int might match the return type of a GCC
12467 builtin and then its argument prototype would still apply. */
12468 #ifdef __cplusplus
12469 extern "C"
12470 #endif
12471 char inflate ();
12473 main ()
12475 return inflate ();
12477 return 0;
12479 _ACEOF
12480 if ac_fn_c_try_link "$LINENO"; then :
12481 ac_cv_lib_z_inflate=yes
12482 else
12483 ac_cv_lib_z_inflate=no
12485 rm -f core conftest.err conftest.$ac_objext \
12486 conftest$ac_exeext conftest.$ac_ext
12487 LIBS=$ac_check_lib_save_LIBS
12489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12490 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12491 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12493 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12495 Z_LIBS="-lz"
12500 if test "x$Z_LIBS" = "x"; then :
12501 case "x$with_zlib" in
12502 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12503 xno) ;;
12504 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12505 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12506 esac
12510 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12511 then
12512 if test "$ac_cv_header_gettext_po_h" = "yes"
12513 then
12514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12515 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12516 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12517 $as_echo_n "(cached) " >&6
12518 else
12519 ac_check_lib_save_LIBS=$LIBS
12520 LIBS="-lgettextpo $LIBS"
12521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12522 /* end confdefs.h. */
12524 /* Override any GCC internal prototype to avoid an error.
12525 Use char because int might match the return type of a GCC
12526 builtin and then its argument prototype would still apply. */
12527 #ifdef __cplusplus
12528 extern "C"
12529 #endif
12530 char po_message_msgctxt ();
12532 main ()
12534 return po_message_msgctxt ();
12536 return 0;
12538 _ACEOF
12539 if ac_fn_c_try_link "$LINENO"; then :
12540 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12541 else
12542 ac_cv_lib_gettextpo_po_message_msgctxt=no
12544 rm -f core conftest.err conftest.$ac_objext \
12545 conftest$ac_exeext conftest.$ac_ext
12546 LIBS=$ac_check_lib_save_LIBS
12548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12549 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12550 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12552 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12554 GETTEXTPO_LIBS="-lgettextpo"
12559 if test "x$GETTEXTPO_LIBS" = "x"; then :
12560 case "x$with_gettextpo" in
12561 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12562 xno) ;;
12563 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12564 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12565 esac
12568 if test "$srcdir" != .; then :
12569 case "x$with_gettextpo" in
12570 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12571 xno) ;;
12572 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12573 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12574 esac
12579 if test "x$with_pulse" != "xno";
12580 then
12581 if ${PULSE_CFLAGS:+false} :; then :
12582 if ${PKG_CONFIG+:} false; then :
12583 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12587 if ${PULSE_LIBS:+false} :; then :
12588 if ${PKG_CONFIG+:} false; then :
12589 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12594 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12595 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12596 ac_save_CPPFLAGS=$CPPFLAGS
12597 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12598 for ac_header in pulse/pulseaudio.h
12599 do :
12600 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12601 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12602 cat >>confdefs.h <<_ACEOF
12603 #define HAVE_PULSE_PULSEAUDIO_H 1
12604 _ACEOF
12605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12606 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12607 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12608 $as_echo_n "(cached) " >&6
12609 else
12610 ac_check_lib_save_LIBS=$LIBS
12611 LIBS="-lpulse $PULSE_LIBS $LIBS"
12612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12613 /* end confdefs.h. */
12615 /* Override any GCC internal prototype to avoid an error.
12616 Use char because int might match the return type of a GCC
12617 builtin and then its argument prototype would still apply. */
12618 #ifdef __cplusplus
12619 extern "C"
12620 #endif
12621 char pa_stream_is_corked ();
12623 main ()
12625 return pa_stream_is_corked ();
12627 return 0;
12629 _ACEOF
12630 if ac_fn_c_try_link "$LINENO"; then :
12631 ac_cv_lib_pulse_pa_stream_is_corked=yes
12632 else
12633 ac_cv_lib_pulse_pa_stream_is_corked=no
12635 rm -f core conftest.err conftest.$ac_objext \
12636 conftest$ac_exeext conftest.$ac_ext
12637 LIBS=$ac_check_lib_save_LIBS
12639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12640 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12641 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12643 else
12644 PULSE_LIBS=""
12647 else
12648 PULSE_LIBS=""
12651 done
12653 CPPFLAGS=$ac_save_CPPFLAGS
12654 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12655 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12658 if test -z "$PULSE_LIBS"; then :
12659 case "x$with_pulse" in
12660 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12661 xno) ;;
12662 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12663 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12664 esac
12665 enable_winepulse_drv=${enable_winepulse_drv:-no}
12668 if test "x$with_gstreamer" != "xno"
12669 then
12670 if ${GSTREAMER_CFLAGS:+false} :; then :
12671 if ${PKG_CONFIG+:} false; then :
12672 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12676 if ${GSTREAMER_LIBS:+false} :; then :
12677 if ${PKG_CONFIG+:} false; then :
12678 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12683 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12684 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12685 ac_save_CPPFLAGS=$CPPFLAGS
12686 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12687 ac_gst_incl=""
12688 for i in $GSTREAMER_CFLAGS
12690 case "$i" in
12691 -I*) ac_gst_incl="$ac_gst_incl $i";;
12692 esac
12693 done
12694 GSTREAMER_CFLAGS=$ac_gst_incl
12695 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12696 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12697 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12699 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12701 /* end confdefs.h. */
12702 #include <gst/gst.h>
12704 main ()
12706 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12708 return 0;
12710 _ACEOF
12711 if ac_fn_c_try_compile "$LINENO"; then :
12712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12713 $as_echo "yes" >&6; }
12714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12715 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12716 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12717 $as_echo_n "(cached) " >&6
12718 else
12719 ac_check_lib_save_LIBS=$LIBS
12720 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12722 /* end confdefs.h. */
12724 /* Override any GCC internal prototype to avoid an error.
12725 Use char because int might match the return type of a GCC
12726 builtin and then its argument prototype would still apply. */
12727 #ifdef __cplusplus
12728 extern "C"
12729 #endif
12730 char gst_pad_new ();
12732 main ()
12734 return gst_pad_new ();
12736 return 0;
12738 _ACEOF
12739 if ac_fn_c_try_link "$LINENO"; then :
12740 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12741 else
12742 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12744 rm -f core conftest.err conftest.$ac_objext \
12745 conftest$ac_exeext conftest.$ac_ext
12746 LIBS=$ac_check_lib_save_LIBS
12748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12749 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12750 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12754 else
12755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12756 $as_echo "no" >&6; }
12757 ac_glib2_broken=yes
12758 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12764 CPPFLAGS=$ac_save_CPPFLAGS
12765 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12766 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12769 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 :
12770 case "x$with_gstreamer" in
12771 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12772 xno) ;;
12773 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12774 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12775 esac
12778 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12780 ALSA_LIBS=""
12782 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12783 then
12784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12785 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12786 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12787 $as_echo_n "(cached) " >&6
12788 else
12789 ac_check_lib_save_LIBS=$LIBS
12790 LIBS="-lasound $LIBS"
12791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12792 /* end confdefs.h. */
12794 /* Override any GCC internal prototype to avoid an error.
12795 Use char because int might match the return type of a GCC
12796 builtin and then its argument prototype would still apply. */
12797 #ifdef __cplusplus
12798 extern "C"
12799 #endif
12800 char snd_pcm_hw_params_get_access_mask ();
12802 main ()
12804 return snd_pcm_hw_params_get_access_mask ();
12806 return 0;
12808 _ACEOF
12809 if ac_fn_c_try_link "$LINENO"; then :
12810 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12811 else
12812 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12814 rm -f core conftest.err conftest.$ac_objext \
12815 conftest$ac_exeext conftest.$ac_ext
12816 LIBS=$ac_check_lib_save_LIBS
12818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12819 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12820 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12822 /* end confdefs.h. */
12823 #ifdef HAVE_ALSA_ASOUNDLIB_H
12824 #include <alsa/asoundlib.h>
12825 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12826 #include <sys/asoundlib.h>
12827 #endif
12829 main ()
12831 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12833 return 0;
12835 _ACEOF
12836 if ac_fn_c_try_compile "$LINENO"; then :
12837 ALSA_LIBS="-lasound"
12839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12843 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12845 if test "x$with_oss" != xno
12846 then
12847 ac_save_CPPFLAGS="$CPPFLAGS"
12848 if test -f /etc/oss.conf
12849 then
12850 . /etc/oss.conf
12852 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12853 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12854 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12855 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12856 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12858 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12860 cat >>confdefs.h <<_ACEOF
12861 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12862 _ACEOF
12864 OSS4_CFLAGS="$ac_oss_incl"
12871 CPPFLAGS="$ac_save_CPPFLAGS"
12873 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
12874 case "x$with_oss" in
12875 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
12876 xno) ;;
12877 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
12878 This is an error since --with-oss was requested." "$LINENO" 5 ;;
12879 esac
12880 enable_wineoss_drv=${enable_wineoss_drv:-no}
12883 if test "x$with_capi" != "xno"
12884 then
12885 if ${CAPI20_CFLAGS:+false} :; then :
12886 if ${PKG_CONFIG+:} false; then :
12887 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12891 if ${CAPI20_LIBS:+false} :; then :
12892 if ${PKG_CONFIG+:} false; then :
12893 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12898 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12899 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12900 ac_save_CPPFLAGS=$CPPFLAGS
12901 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12902 for ac_header in capi20.h linux/capi.h
12903 do :
12904 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12905 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12907 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12908 cat >>confdefs.h <<_ACEOF
12909 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12910 _ACEOF
12914 done
12916 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12917 then
12918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12919 $as_echo_n "checking for -lcapi20... " >&6; }
12920 if ${ac_cv_lib_soname_capi20+:} false; then :
12921 $as_echo_n "(cached) " >&6
12922 else
12923 ac_check_soname_save_LIBS=$LIBS
12924 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12926 /* end confdefs.h. */
12928 /* Override any GCC internal prototype to avoid an error.
12929 Use char because int might match the return type of a GCC
12930 builtin and then its argument prototype would still apply. */
12931 #ifdef __cplusplus
12932 extern "C"
12933 #endif
12934 char capi20_register ();
12936 main ()
12938 return capi20_register ();
12940 return 0;
12942 _ACEOF
12943 if ac_fn_c_try_link "$LINENO"; then :
12944 case "$LIBEXT" in
12945 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12946 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'` ;;
12947 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12948 if ${ac_cv_lib_soname_capi20:+false} :; then :
12949 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12950 fi ;;
12951 esac
12953 rm -f core conftest.err conftest.$ac_objext \
12954 conftest$ac_exeext conftest.$ac_ext
12955 LIBS=$ac_check_soname_save_LIBS
12957 if ${ac_cv_lib_soname_capi20:+false} :; then :
12958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12959 $as_echo "not found" >&6; }
12961 else
12962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12963 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12965 cat >>confdefs.h <<_ACEOF
12966 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12967 _ACEOF
12972 CPPFLAGS=$ac_save_CPPFLAGS
12973 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12974 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12977 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12978 case "x$with_capi" in
12979 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12980 xno) ;;
12981 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12982 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12983 esac
12987 CUPS_CFLAGS=""
12989 if test "x$with_cups" != "xno"
12990 then
12991 ac_save_CPPFLAGS="$CPPFLAGS"
12992 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
12993 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
12994 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12995 for ac_header in cups/cups.h
12996 do :
12997 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12998 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12999 cat >>confdefs.h <<_ACEOF
13000 #define HAVE_CUPS_CUPS_H 1
13001 _ACEOF
13002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13003 $as_echo_n "checking for -lcups... " >&6; }
13004 if ${ac_cv_lib_soname_cups+:} false; then :
13005 $as_echo_n "(cached) " >&6
13006 else
13007 ac_check_soname_save_LIBS=$LIBS
13008 LIBS="-lcups $ac_cups_libs $LIBS"
13009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13010 /* end confdefs.h. */
13012 /* Override any GCC internal prototype to avoid an error.
13013 Use char because int might match the return type of a GCC
13014 builtin and then its argument prototype would still apply. */
13015 #ifdef __cplusplus
13016 extern "C"
13017 #endif
13018 char cupsGetDefault ();
13020 main ()
13022 return cupsGetDefault ();
13024 return 0;
13026 _ACEOF
13027 if ac_fn_c_try_link "$LINENO"; then :
13028 case "$LIBEXT" in
13029 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13030 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'` ;;
13031 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13032 if ${ac_cv_lib_soname_cups:+false} :; then :
13033 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13034 fi ;;
13035 esac
13037 rm -f core conftest.err conftest.$ac_objext \
13038 conftest$ac_exeext conftest.$ac_ext
13039 LIBS=$ac_check_soname_save_LIBS
13041 if ${ac_cv_lib_soname_cups:+false} :; then :
13042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13043 $as_echo "not found" >&6; }
13045 else
13046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13047 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13049 cat >>confdefs.h <<_ACEOF
13050 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13051 _ACEOF
13053 CUPS_CFLAGS="$ac_cups_cflags"
13057 done
13059 CPPFLAGS="$ac_save_CPPFLAGS"
13061 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13062 case "x$with_cups" in
13063 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13064 xno) ;;
13065 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13066 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13067 esac
13071 if test "x$with_fontconfig" != "xno"
13072 then
13073 if ${FONTCONFIG_CFLAGS:+false} :; then :
13074 if ${PKG_CONFIG+:} false; then :
13075 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13078 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13079 if ${FONTCONFIG_LIBS:+false} :; then :
13080 if ${PKG_CONFIG+:} false; then :
13081 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13084 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13086 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13087 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13088 ac_save_CPPFLAGS=$CPPFLAGS
13089 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13090 for ac_header in fontconfig/fontconfig.h
13091 do :
13092 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13093 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13094 cat >>confdefs.h <<_ACEOF
13095 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13096 _ACEOF
13100 done
13102 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13103 then
13104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13105 $as_echo_n "checking for -lfontconfig... " >&6; }
13106 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13107 $as_echo_n "(cached) " >&6
13108 else
13109 ac_check_soname_save_LIBS=$LIBS
13110 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13112 /* end confdefs.h. */
13114 /* Override any GCC internal prototype to avoid an error.
13115 Use char because int might match the return type of a GCC
13116 builtin and then its argument prototype would still apply. */
13117 #ifdef __cplusplus
13118 extern "C"
13119 #endif
13120 char FcInit ();
13122 main ()
13124 return FcInit ();
13126 return 0;
13128 _ACEOF
13129 if ac_fn_c_try_link "$LINENO"; then :
13130 case "$LIBEXT" in
13131 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13132 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'` ;;
13133 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13134 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13135 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13136 fi ;;
13137 esac
13139 rm -f core conftest.err conftest.$ac_objext \
13140 conftest$ac_exeext conftest.$ac_ext
13141 LIBS=$ac_check_soname_save_LIBS
13143 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13145 $as_echo "not found" >&6; }
13146 FONTCONFIG_CFLAGS=""
13147 else
13148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13149 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13151 cat >>confdefs.h <<_ACEOF
13152 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13153 _ACEOF
13157 else
13158 FONTCONFIG_CFLAGS=""
13160 CPPFLAGS=$ac_save_CPPFLAGS
13161 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13162 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13165 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13166 case "x$with_fontconfig" in
13167 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13168 xno) ;;
13169 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13170 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13171 esac
13175 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13176 then
13177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13178 $as_echo_n "checking for -lgsm... " >&6; }
13179 if ${ac_cv_lib_soname_gsm+:} false; then :
13180 $as_echo_n "(cached) " >&6
13181 else
13182 ac_check_soname_save_LIBS=$LIBS
13183 LIBS="-lgsm $LIBS"
13184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13185 /* end confdefs.h. */
13187 /* Override any GCC internal prototype to avoid an error.
13188 Use char because int might match the return type of a GCC
13189 builtin and then its argument prototype would still apply. */
13190 #ifdef __cplusplus
13191 extern "C"
13192 #endif
13193 char gsm_create ();
13195 main ()
13197 return gsm_create ();
13199 return 0;
13201 _ACEOF
13202 if ac_fn_c_try_link "$LINENO"; then :
13203 case "$LIBEXT" in
13204 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13205 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'` ;;
13206 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13207 if ${ac_cv_lib_soname_gsm:+false} :; then :
13208 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13209 fi ;;
13210 esac
13212 rm -f core conftest.err conftest.$ac_objext \
13213 conftest$ac_exeext conftest.$ac_ext
13214 LIBS=$ac_check_soname_save_LIBS
13216 if ${ac_cv_lib_soname_gsm:+false} :; then :
13217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13218 $as_echo "not found" >&6; }
13220 else
13221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13222 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13224 cat >>confdefs.h <<_ACEOF
13225 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13226 _ACEOF
13231 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13232 case "x$with_gsm" in
13233 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13234 xno) ;;
13235 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13236 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13237 esac
13241 if test "x$with_jpeg" != "xno"
13242 then
13243 if ${JPEG_CFLAGS:+false} :; then :
13244 if ${PKG_CONFIG+:} false; then :
13245 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13249 if ${JPEG_LIBS:+false} :; then :
13250 if ${PKG_CONFIG+:} false; then :
13251 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13256 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13257 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13258 ac_save_CPPFLAGS=$CPPFLAGS
13259 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13260 for ac_header in jpeglib.h
13261 do :
13262 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13263 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13264 cat >>confdefs.h <<_ACEOF
13265 #define HAVE_JPEGLIB_H 1
13266 _ACEOF
13270 done
13272 if test "$ac_cv_header_jpeglib_h" = "yes"
13273 then
13274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13275 $as_echo_n "checking for -ljpeg... " >&6; }
13276 if ${ac_cv_lib_soname_jpeg+:} false; then :
13277 $as_echo_n "(cached) " >&6
13278 else
13279 ac_check_soname_save_LIBS=$LIBS
13280 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13282 /* end confdefs.h. */
13284 /* Override any GCC internal prototype to avoid an error.
13285 Use char because int might match the return type of a GCC
13286 builtin and then its argument prototype would still apply. */
13287 #ifdef __cplusplus
13288 extern "C"
13289 #endif
13290 char jpeg_start_decompress ();
13292 main ()
13294 return jpeg_start_decompress ();
13296 return 0;
13298 _ACEOF
13299 if ac_fn_c_try_link "$LINENO"; then :
13300 case "$LIBEXT" in
13301 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13302 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'` ;;
13303 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13304 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13305 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13306 fi ;;
13307 esac
13309 rm -f core conftest.err conftest.$ac_objext \
13310 conftest$ac_exeext conftest.$ac_ext
13311 LIBS=$ac_check_soname_save_LIBS
13313 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13315 $as_echo "not found" >&6; }
13316 JPEG_CFLAGS=""
13317 else
13318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13319 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13321 cat >>confdefs.h <<_ACEOF
13322 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13323 _ACEOF
13327 else
13328 JPEG_CFLAGS=""
13330 CPPFLAGS=$ac_save_CPPFLAGS
13331 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13332 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13335 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13336 case "x$with_jpeg" in
13337 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13338 xno) ;;
13339 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13340 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13341 esac
13345 if test "x$with_png" != "xno"
13346 then
13347 if ${PNG_CFLAGS:+false} :; then :
13348 if ${PKG_CONFIG+:} false; then :
13349 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13352 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13353 if ${PNG_LIBS:+false} :; then :
13354 if ${PKG_CONFIG+:} false; then :
13355 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13358 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13360 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13361 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13362 ac_save_CPPFLAGS=$CPPFLAGS
13363 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13364 for ac_header in png.h
13365 do :
13366 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13367 if test "x$ac_cv_header_png_h" = xyes; then :
13368 cat >>confdefs.h <<_ACEOF
13369 #define HAVE_PNG_H 1
13370 _ACEOF
13374 done
13376 if test "$ac_cv_header_png_h" = "yes"
13377 then
13378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13379 $as_echo_n "checking for -lpng... " >&6; }
13380 if ${ac_cv_lib_soname_png+:} false; then :
13381 $as_echo_n "(cached) " >&6
13382 else
13383 ac_check_soname_save_LIBS=$LIBS
13384 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13386 /* end confdefs.h. */
13388 /* Override any GCC internal prototype to avoid an error.
13389 Use char because int might match the return type of a GCC
13390 builtin and then its argument prototype would still apply. */
13391 #ifdef __cplusplus
13392 extern "C"
13393 #endif
13394 char png_create_read_struct ();
13396 main ()
13398 return png_create_read_struct ();
13400 return 0;
13402 _ACEOF
13403 if ac_fn_c_try_link "$LINENO"; then :
13404 case "$LIBEXT" in
13405 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13406 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'` ;;
13407 *) 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'`
13408 if ${ac_cv_lib_soname_png:+false} :; then :
13409 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13410 fi ;;
13411 esac
13413 rm -f core conftest.err conftest.$ac_objext \
13414 conftest$ac_exeext conftest.$ac_ext
13415 LIBS=$ac_check_soname_save_LIBS
13417 if ${ac_cv_lib_soname_png:+false} :; then :
13418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13419 $as_echo "not found" >&6; }
13420 PNG_CFLAGS=""
13421 else
13422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13423 $as_echo "$ac_cv_lib_soname_png" >&6; }
13425 cat >>confdefs.h <<_ACEOF
13426 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13427 _ACEOF
13429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13430 /* end confdefs.h. */
13431 #include <png.h>
13433 main ()
13435 typeof(png_set_expand_gray_1_2_4_to_8) *p
13437 return 0;
13439 _ACEOF
13440 if ac_fn_c_try_compile "$LINENO"; then :
13442 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13447 else
13448 PNG_CFLAGS=""
13450 CPPFLAGS=$ac_save_CPPFLAGS
13451 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13452 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13455 if test "x$ac_cv_lib_soname_png" = "x"; then :
13456 case "x$with_png" in
13457 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13458 xno) ;;
13459 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13460 This is an error since --with-png was requested." "$LINENO" 5 ;;
13461 esac
13465 if test "x$with_tiff" != "xno"
13466 then
13467 if ${TIFF_CFLAGS:+false} :; then :
13468 if ${PKG_CONFIG+:} false; then :
13469 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13473 if ${TIFF_LIBS:+false} :; then :
13474 if ${PKG_CONFIG+:} false; then :
13475 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13480 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13481 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13482 ac_save_CPPFLAGS=$CPPFLAGS
13483 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13484 for ac_header in tiffio.h
13485 do :
13486 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13487 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13488 cat >>confdefs.h <<_ACEOF
13489 #define HAVE_TIFFIO_H 1
13490 _ACEOF
13494 done
13496 if test "$ac_cv_header_tiffio_h" = "yes"
13497 then
13498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13499 $as_echo_n "checking for -ltiff... " >&6; }
13500 if ${ac_cv_lib_soname_tiff+:} false; then :
13501 $as_echo_n "(cached) " >&6
13502 else
13503 ac_check_soname_save_LIBS=$LIBS
13504 LIBS="-ltiff $TIFF_LIBS $LIBS"
13505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13506 /* end confdefs.h. */
13508 /* Override any GCC internal prototype to avoid an error.
13509 Use char because int might match the return type of a GCC
13510 builtin and then its argument prototype would still apply. */
13511 #ifdef __cplusplus
13512 extern "C"
13513 #endif
13514 char TIFFClientOpen ();
13516 main ()
13518 return TIFFClientOpen ();
13520 return 0;
13522 _ACEOF
13523 if ac_fn_c_try_link "$LINENO"; then :
13524 case "$LIBEXT" in
13525 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13526 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'` ;;
13527 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13528 if ${ac_cv_lib_soname_tiff:+false} :; then :
13529 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13530 fi ;;
13531 esac
13533 rm -f core conftest.err conftest.$ac_objext \
13534 conftest$ac_exeext conftest.$ac_ext
13535 LIBS=$ac_check_soname_save_LIBS
13537 if ${ac_cv_lib_soname_tiff:+false} :; then :
13538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13539 $as_echo "not found" >&6; }
13541 else
13542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13543 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13545 cat >>confdefs.h <<_ACEOF
13546 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13547 _ACEOF
13552 CPPFLAGS=$ac_save_CPPFLAGS
13553 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13554 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13557 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13558 case "x$with_tiff" in
13559 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13560 xno) ;;
13561 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13562 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13563 esac
13567 if test "x$with_mpg123" != "xno"
13568 then
13569 if ${MPG123_CFLAGS:+false} :; then :
13570 if ${PKG_CONFIG+:} false; then :
13571 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13575 if ${MPG123_LIBS:+false} :; then :
13576 if ${PKG_CONFIG+:} false; then :
13577 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13581 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13582 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13583 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13584 ac_save_CPPFLAGS=$CPPFLAGS
13585 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13586 for ac_header in mpg123.h
13587 do :
13588 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13589 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13590 cat >>confdefs.h <<_ACEOF
13591 #define HAVE_MPG123_H 1
13592 _ACEOF
13596 done
13598 if test "$ac_cv_header_mpg123_h" = "yes"
13599 then
13600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13601 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13602 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13603 $as_echo_n "(cached) " >&6
13604 else
13605 ac_check_lib_save_LIBS=$LIBS
13606 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13608 /* end confdefs.h. */
13610 /* Override any GCC internal prototype to avoid an error.
13611 Use char because int might match the return type of a GCC
13612 builtin and then its argument prototype would still apply. */
13613 #ifdef __cplusplus
13614 extern "C"
13615 #endif
13616 char mpg123_feed ();
13618 main ()
13620 return mpg123_feed ();
13622 return 0;
13624 _ACEOF
13625 if ac_fn_c_try_link "$LINENO"; then :
13626 ac_cv_lib_mpg123_mpg123_feed=yes
13627 else
13628 ac_cv_lib_mpg123_mpg123_feed=no
13630 rm -f core conftest.err conftest.$ac_objext \
13631 conftest$ac_exeext conftest.$ac_ext
13632 LIBS=$ac_check_lib_save_LIBS
13634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13635 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13636 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13638 else
13639 MPG123_LIBS=""
13642 else
13643 MPG123_CFLAGS=""
13644 MPG123_LIBS=""
13646 CPPFLAGS=$ac_save_CPPFLAGS
13647 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13648 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13651 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13652 case "x$with_mpg123" in
13653 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13654 xno) ;;
13655 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13656 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13657 esac
13658 enable_winemp3_acm=${enable_winemp3_acm:-no}
13661 if test "$ac_cv_header_AL_al_h" = "yes"
13662 then
13663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13664 $as_echo_n "checking for -lopenal... " >&6; }
13665 if ${ac_cv_lib_soname_openal+:} false; then :
13666 $as_echo_n "(cached) " >&6
13667 else
13668 ac_check_soname_save_LIBS=$LIBS
13669 LIBS="-lopenal $LIBS"
13670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13671 /* end confdefs.h. */
13673 /* Override any GCC internal prototype to avoid an error.
13674 Use char because int might match the return type of a GCC
13675 builtin and then its argument prototype would still apply. */
13676 #ifdef __cplusplus
13677 extern "C"
13678 #endif
13679 char alGetSource3i ();
13681 main ()
13683 return alGetSource3i ();
13685 return 0;
13687 _ACEOF
13688 if ac_fn_c_try_link "$LINENO"; then :
13689 case "$LIBEXT" in
13690 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13691 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'` ;;
13692 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13693 if ${ac_cv_lib_soname_openal:+false} :; then :
13694 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13695 fi ;;
13696 esac
13698 rm -f core conftest.err conftest.$ac_objext \
13699 conftest$ac_exeext conftest.$ac_ext
13700 LIBS=$ac_check_soname_save_LIBS
13702 if ${ac_cv_lib_soname_openal:+false} :; then :
13703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13704 $as_echo "not found" >&6; }
13706 else
13707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13708 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13710 cat >>confdefs.h <<_ACEOF
13711 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13712 _ACEOF
13714 OPENAL_LIBS="-lopenal"
13716 ac_cv_lib_openal=yes
13718 cat >>confdefs.h <<_ACEOF
13719 #define HAVE_OPENAL 1
13720 _ACEOF
13724 if test "x$ac_cv_lib_openal" != xyes; then :
13725 case "x$with_openal" in
13726 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13727 xno) ;;
13728 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13729 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13730 esac
13731 enable_openal32=${enable_openal32:-no}
13734 if test "x$ac_cv_lib_openal" = xyes
13735 then
13736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13737 $as_echo_n "checking for openal-soft... " >&6; }
13738 if ${ac_cv_have_openalsoft+:} false; then :
13739 $as_echo_n "(cached) " >&6
13740 else
13741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13742 /* end confdefs.h. */
13743 #include <AL/al.h>
13744 #include <AL/alc.h>
13745 #include <AL/alext.h>
13746 LPALCRENDERSAMPLESSOFT x;
13748 main ()
13752 return 0;
13754 _ACEOF
13755 if ac_fn_c_try_compile "$LINENO"; then :
13756 ac_cv_have_openalsoft=yes
13757 else
13758 ac_cv_have_openalsoft=no
13760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13763 $as_echo "$ac_cv_have_openalsoft" >&6; }
13765 if test "x$ac_cv_have_openalsoft" != xyes
13766 then
13767 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13768 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
13769 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
13770 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
13771 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
13772 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
13773 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
13774 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
13775 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
13776 enable_xapofx1_1=${enable_xapofx1_1:-no}
13777 enable_xapofx1_2=${enable_xapofx1_2:-no}
13778 enable_xapofx1_3=${enable_xapofx1_3:-no}
13779 enable_xapofx1_4=${enable_xapofx1_4:-no}
13780 enable_xapofx1_5=${enable_xapofx1_5:-no}
13781 enable_xaudio2_0=${enable_xaudio2_0:-no}
13782 enable_xaudio2_1=${enable_xaudio2_1:-no}
13783 enable_xaudio2_2=${enable_xaudio2_2:-no}
13784 enable_xaudio2_3=${enable_xaudio2_3:-no}
13785 enable_xaudio2_4=${enable_xaudio2_4:-no}
13786 enable_xaudio2_5=${enable_xaudio2_5:-no}
13787 enable_xaudio2_6=${enable_xaudio2_6:-no}
13788 enable_xaudio2_7=${enable_xaudio2_7:-no}
13789 enable_xaudio2_8=${enable_xaudio2_8:-no}
13790 enable_xaudio2_9=${enable_xaudio2_9:-no}
13793 if test "$ac_cv_header_kstat_h" = "yes"
13794 then
13795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13796 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13797 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13798 $as_echo_n "(cached) " >&6
13799 else
13800 ac_check_lib_save_LIBS=$LIBS
13801 LIBS="-lkstat $LIBS"
13802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13803 /* end confdefs.h. */
13805 /* Override any GCC internal prototype to avoid an error.
13806 Use char because int might match the return type of a GCC
13807 builtin and then its argument prototype would still apply. */
13808 #ifdef __cplusplus
13809 extern "C"
13810 #endif
13811 char kstat_open ();
13813 main ()
13815 return kstat_open ();
13817 return 0;
13819 _ACEOF
13820 if ac_fn_c_try_link "$LINENO"; then :
13821 ac_cv_lib_kstat_kstat_open=yes
13822 else
13823 ac_cv_lib_kstat_kstat_open=no
13825 rm -f core conftest.err conftest.$ac_objext \
13826 conftest$ac_exeext conftest.$ac_ext
13827 LIBS=$ac_check_lib_save_LIBS
13829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13830 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13831 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13833 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13835 KSTAT_LIBS="-lkstat"
13841 if test "$ac_cv_header_libprocstat_h" = "yes"
13842 then
13843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13844 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13845 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13846 $as_echo_n "(cached) " >&6
13847 else
13848 ac_check_lib_save_LIBS=$LIBS
13849 LIBS="-lprocstat $LIBS"
13850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13851 /* end confdefs.h. */
13853 /* Override any GCC internal prototype to avoid an error.
13854 Use char because int might match the return type of a GCC
13855 builtin and then its argument prototype would still apply. */
13856 #ifdef __cplusplus
13857 extern "C"
13858 #endif
13859 char procstat_open_sysctl ();
13861 main ()
13863 return procstat_open_sysctl ();
13865 return 0;
13867 _ACEOF
13868 if ac_fn_c_try_link "$LINENO"; then :
13869 ac_cv_lib_procstat_procstat_open_sysctl=yes
13870 else
13871 ac_cv_lib_procstat_procstat_open_sysctl=no
13873 rm -f core conftest.err conftest.$ac_objext \
13874 conftest$ac_exeext conftest.$ac_ext
13875 LIBS=$ac_check_lib_save_LIBS
13877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13878 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13879 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13881 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13883 PROCSTAT_LIBS="-lprocstat"
13889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13890 $as_echo_n "checking for -lodbc... " >&6; }
13891 if ${ac_cv_lib_soname_odbc+:} false; then :
13892 $as_echo_n "(cached) " >&6
13893 else
13894 ac_check_soname_save_LIBS=$LIBS
13895 LIBS="-lodbc $LIBS"
13896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13897 /* end confdefs.h. */
13899 /* Override any GCC internal prototype to avoid an error.
13900 Use char because int might match the return type of a GCC
13901 builtin and then its argument prototype would still apply. */
13902 #ifdef __cplusplus
13903 extern "C"
13904 #endif
13905 char SQLConnect ();
13907 main ()
13909 return SQLConnect ();
13911 return 0;
13913 _ACEOF
13914 if ac_fn_c_try_link "$LINENO"; then :
13915 case "$LIBEXT" in
13916 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13917 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'` ;;
13918 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13919 if ${ac_cv_lib_soname_odbc:+false} :; then :
13920 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13921 fi ;;
13922 esac
13924 rm -f core conftest.err conftest.$ac_objext \
13925 conftest$ac_exeext conftest.$ac_ext
13926 LIBS=$ac_check_soname_save_LIBS
13928 if ${ac_cv_lib_soname_odbc:+false} :; then :
13929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13930 $as_echo "not found" >&6; }
13931 cat >>confdefs.h <<_ACEOF
13932 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13933 _ACEOF
13935 else
13936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13937 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13939 cat >>confdefs.h <<_ACEOF
13940 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13941 _ACEOF
13946 if test "x$with_netapi" != "xno"
13947 then
13948 if ${NETAPI_CFLAGS:+false} :; then :
13949 if ${PKG_CONFIG+:} false; then :
13950 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
13954 if ${NETAPI_LIBS:+false} :; then :
13955 if ${PKG_CONFIG+:} false; then :
13956 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
13961 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
13962 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
13963 ac_save_CPPFLAGS=$CPPFLAGS
13964 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
13965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13966 $as_echo_n "checking for -lnetapi... " >&6; }
13967 if ${ac_cv_lib_soname_netapi+:} false; then :
13968 $as_echo_n "(cached) " >&6
13969 else
13970 ac_check_soname_save_LIBS=$LIBS
13971 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
13972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13973 /* end confdefs.h. */
13975 /* Override any GCC internal prototype to avoid an error.
13976 Use char because int might match the return type of a GCC
13977 builtin and then its argument prototype would still apply. */
13978 #ifdef __cplusplus
13979 extern "C"
13980 #endif
13981 char libnetapi_init ();
13983 main ()
13985 return libnetapi_init ();
13987 return 0;
13989 _ACEOF
13990 if ac_fn_c_try_link "$LINENO"; then :
13991 case "$LIBEXT" in
13992 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13993 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'` ;;
13994 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13995 if ${ac_cv_lib_soname_netapi:+false} :; then :
13996 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13997 fi ;;
13998 esac
14000 rm -f core conftest.err conftest.$ac_objext \
14001 conftest$ac_exeext conftest.$ac_ext
14002 LIBS=$ac_check_soname_save_LIBS
14004 if ${ac_cv_lib_soname_netapi:+false} :; then :
14005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14006 $as_echo "not found" >&6; }
14007 cat >>confdefs.h <<_ACEOF
14008 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14009 _ACEOF
14011 else
14012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14013 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14015 cat >>confdefs.h <<_ACEOF
14016 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14017 _ACEOF
14021 CPPFLAGS=$ac_save_CPPFLAGS
14022 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14023 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14027 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
14028 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14029 then
14030 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14034 EXTRACFLAGS=""
14036 if test "x${GCC}" = "xyes"
14037 then
14038 EXTRACFLAGS="-Wall -pipe"
14040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14041 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14042 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14043 $as_echo_n "(cached) " >&6
14044 else
14045 if test "$cross_compiling" = yes; then :
14046 ac_cv_c_gcc_strength_bug="no"
14047 else
14048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14049 /* end confdefs.h. */
14050 int L[4] = {0,1,2,3};
14052 main ()
14054 static int Array[3];
14055 unsigned int B = 3;
14056 int i;
14057 for(i=0; i<B; i++) Array[i] = i - 3;
14058 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14059 L[i] = 4;
14060 return (Array[1] != -2 || L[2] != 3)
14062 return 0;
14064 _ACEOF
14065 if ac_fn_c_try_run "$LINENO"; then :
14066 ac_cv_c_gcc_strength_bug="no"
14067 else
14068 ac_cv_c_gcc_strength_bug="yes"
14070 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14071 conftest.$ac_objext conftest.beam conftest.$ac_ext
14075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14076 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14077 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14078 then
14079 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14083 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14084 if ${ac_cv_cflags__fno_builtin+:} false; then :
14085 $as_echo_n "(cached) " >&6
14086 else
14087 ac_wine_try_cflags_saved=$CFLAGS
14088 CFLAGS="$CFLAGS -fno-builtin"
14089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14090 /* end confdefs.h. */
14091 int main(int argc, char **argv) { return 0; }
14092 _ACEOF
14093 if ac_fn_c_try_link "$LINENO"; then :
14094 ac_cv_cflags__fno_builtin=yes
14095 else
14096 ac_cv_cflags__fno_builtin=no
14098 rm -f core conftest.err conftest.$ac_objext \
14099 conftest$ac_exeext conftest.$ac_ext
14100 CFLAGS=$ac_wine_try_cflags_saved
14102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14103 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14104 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14105 BUILTINFLAG="-fno-builtin"
14108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14109 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14110 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14111 $as_echo_n "(cached) " >&6
14112 else
14113 ac_wine_try_cflags_saved=$CFLAGS
14114 CFLAGS="$CFLAGS -fno-strict-aliasing"
14115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14116 /* end confdefs.h. */
14117 int main(int argc, char **argv) { return 0; }
14118 _ACEOF
14119 if ac_fn_c_try_link "$LINENO"; then :
14120 ac_cv_cflags__fno_strict_aliasing=yes
14121 else
14122 ac_cv_cflags__fno_strict_aliasing=no
14124 rm -f core conftest.err conftest.$ac_objext \
14125 conftest$ac_exeext conftest.$ac_ext
14126 CFLAGS=$ac_wine_try_cflags_saved
14128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14129 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14130 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14131 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14134 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14135 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14136 $as_echo_n "(cached) " >&6
14137 else
14138 ac_wine_try_cflags_saved=$CFLAGS
14139 CFLAGS="$CFLAGS -fexcess-precision=standard"
14140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14141 /* end confdefs.h. */
14142 int main(int argc, char **argv) { return 0; }
14143 _ACEOF
14144 if ac_fn_c_try_link "$LINENO"; then :
14145 ac_cv_cflags__fexcess_precision_standard=yes
14146 else
14147 ac_cv_cflags__fexcess_precision_standard=no
14149 rm -f core conftest.err conftest.$ac_objext \
14150 conftest$ac_exeext conftest.$ac_ext
14151 CFLAGS=$ac_wine_try_cflags_saved
14153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14154 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14155 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14156 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14159 saved_CFLAGS=$CFLAGS
14160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14161 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14162 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14163 $as_echo_n "(cached) " >&6
14164 else
14165 ac_wine_try_cflags_saved=$CFLAGS
14166 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14168 /* end confdefs.h. */
14169 int main(int argc, char **argv) { return 0; }
14170 _ACEOF
14171 if ac_fn_c_try_link "$LINENO"; then :
14172 ac_cv_cflags__Werror_unknown_warning_option=yes
14173 else
14174 ac_cv_cflags__Werror_unknown_warning_option=no
14176 rm -f core conftest.err conftest.$ac_objext \
14177 conftest$ac_exeext conftest.$ac_ext
14178 CFLAGS=$ac_wine_try_cflags_saved
14180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14181 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14182 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14183 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14186 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14187 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14188 $as_echo_n "(cached) " >&6
14189 else
14190 ac_wine_try_cflags_saved=$CFLAGS
14191 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14193 /* end confdefs.h. */
14194 int main(int argc, char **argv) { return 0; }
14195 _ACEOF
14196 if ac_fn_c_try_link "$LINENO"; then :
14197 ac_cv_cflags__Wdeclaration_after_statement=yes
14198 else
14199 ac_cv_cflags__Wdeclaration_after_statement=no
14201 rm -f core conftest.err conftest.$ac_objext \
14202 conftest$ac_exeext conftest.$ac_ext
14203 CFLAGS=$ac_wine_try_cflags_saved
14205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14206 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14207 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14208 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14211 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14212 if ${ac_cv_cflags__Wempty_body+:} false; then :
14213 $as_echo_n "(cached) " >&6
14214 else
14215 ac_wine_try_cflags_saved=$CFLAGS
14216 CFLAGS="$CFLAGS -Wempty-body"
14217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14218 /* end confdefs.h. */
14219 int main(int argc, char **argv) { return 0; }
14220 _ACEOF
14221 if ac_fn_c_try_link "$LINENO"; then :
14222 ac_cv_cflags__Wempty_body=yes
14223 else
14224 ac_cv_cflags__Wempty_body=no
14226 rm -f core conftest.err conftest.$ac_objext \
14227 conftest$ac_exeext conftest.$ac_ext
14228 CFLAGS=$ac_wine_try_cflags_saved
14230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14231 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14232 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14233 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14236 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14237 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14238 $as_echo_n "(cached) " >&6
14239 else
14240 ac_wine_try_cflags_saved=$CFLAGS
14241 CFLAGS="$CFLAGS -Wignored-qualifiers"
14242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14243 /* end confdefs.h. */
14244 int main(int argc, char **argv) { return 0; }
14245 _ACEOF
14246 if ac_fn_c_try_link "$LINENO"; then :
14247 ac_cv_cflags__Wignored_qualifiers=yes
14248 else
14249 ac_cv_cflags__Wignored_qualifiers=no
14251 rm -f core conftest.err conftest.$ac_objext \
14252 conftest$ac_exeext conftest.$ac_ext
14253 CFLAGS=$ac_wine_try_cflags_saved
14255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14256 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14257 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14258 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14261 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14262 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14263 $as_echo_n "(cached) " >&6
14264 else
14265 ac_wine_try_cflags_saved=$CFLAGS
14266 CFLAGS="$CFLAGS -Wshift-overflow=2"
14267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14268 /* end confdefs.h. */
14269 int main(int argc, char **argv) { return 0; }
14270 _ACEOF
14271 if ac_fn_c_try_link "$LINENO"; then :
14272 ac_cv_cflags__Wshift_overflow_2=yes
14273 else
14274 ac_cv_cflags__Wshift_overflow_2=no
14276 rm -f core conftest.err conftest.$ac_objext \
14277 conftest$ac_exeext conftest.$ac_ext
14278 CFLAGS=$ac_wine_try_cflags_saved
14280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14281 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14282 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14283 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14286 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14287 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14288 $as_echo_n "(cached) " >&6
14289 else
14290 ac_wine_try_cflags_saved=$CFLAGS
14291 CFLAGS="$CFLAGS -Wstrict-prototypes"
14292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14293 /* end confdefs.h. */
14294 int main(int argc, char **argv) { return 0; }
14295 _ACEOF
14296 if ac_fn_c_try_link "$LINENO"; then :
14297 ac_cv_cflags__Wstrict_prototypes=yes
14298 else
14299 ac_cv_cflags__Wstrict_prototypes=no
14301 rm -f core conftest.err conftest.$ac_objext \
14302 conftest$ac_exeext conftest.$ac_ext
14303 CFLAGS=$ac_wine_try_cflags_saved
14305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14306 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14307 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14308 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14311 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14312 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14313 $as_echo_n "(cached) " >&6
14314 else
14315 ac_wine_try_cflags_saved=$CFLAGS
14316 CFLAGS="$CFLAGS -Wtype-limits"
14317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14318 /* end confdefs.h. */
14319 int main(int argc, char **argv) { return 0; }
14320 _ACEOF
14321 if ac_fn_c_try_link "$LINENO"; then :
14322 ac_cv_cflags__Wtype_limits=yes
14323 else
14324 ac_cv_cflags__Wtype_limits=no
14326 rm -f core conftest.err conftest.$ac_objext \
14327 conftest$ac_exeext conftest.$ac_ext
14328 CFLAGS=$ac_wine_try_cflags_saved
14330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14331 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14332 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14333 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14336 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14337 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14338 $as_echo_n "(cached) " >&6
14339 else
14340 ac_wine_try_cflags_saved=$CFLAGS
14341 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14343 /* end confdefs.h. */
14344 int main(int argc, char **argv) { return 0; }
14345 _ACEOF
14346 if ac_fn_c_try_link "$LINENO"; then :
14347 ac_cv_cflags__Wunused_but_set_parameter=yes
14348 else
14349 ac_cv_cflags__Wunused_but_set_parameter=no
14351 rm -f core conftest.err conftest.$ac_objext \
14352 conftest$ac_exeext conftest.$ac_ext
14353 CFLAGS=$ac_wine_try_cflags_saved
14355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14356 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14357 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14358 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14361 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14362 if ${ac_cv_cflags__Wvla+:} false; then :
14363 $as_echo_n "(cached) " >&6
14364 else
14365 ac_wine_try_cflags_saved=$CFLAGS
14366 CFLAGS="$CFLAGS -Wvla"
14367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14368 /* end confdefs.h. */
14369 int main(int argc, char **argv) { return 0; }
14370 _ACEOF
14371 if ac_fn_c_try_link "$LINENO"; then :
14372 ac_cv_cflags__Wvla=yes
14373 else
14374 ac_cv_cflags__Wvla=no
14376 rm -f core conftest.err conftest.$ac_objext \
14377 conftest$ac_exeext conftest.$ac_ext
14378 CFLAGS=$ac_wine_try_cflags_saved
14380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14381 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14382 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14383 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14386 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14387 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14388 $as_echo_n "(cached) " >&6
14389 else
14390 ac_wine_try_cflags_saved=$CFLAGS
14391 CFLAGS="$CFLAGS -Wwrite-strings"
14392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14393 /* end confdefs.h. */
14394 int main(int argc, char **argv) { return 0; }
14395 _ACEOF
14396 if ac_fn_c_try_link "$LINENO"; then :
14397 ac_cv_cflags__Wwrite_strings=yes
14398 else
14399 ac_cv_cflags__Wwrite_strings=no
14401 rm -f core conftest.err conftest.$ac_objext \
14402 conftest$ac_exeext conftest.$ac_ext
14403 CFLAGS=$ac_wine_try_cflags_saved
14405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14406 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14407 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14408 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14412 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14413 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14414 $as_echo_n "(cached) " >&6
14415 else
14416 ac_wine_try_cflags_saved=$CFLAGS
14417 CFLAGS="$CFLAGS -Wpointer-arith"
14418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14419 /* end confdefs.h. */
14420 int main(int argc, char **argv) { return 0; }
14421 _ACEOF
14422 if ac_fn_c_try_link "$LINENO"; then :
14423 ac_cv_cflags__Wpointer_arith=yes
14424 else
14425 ac_cv_cflags__Wpointer_arith=no
14427 rm -f core conftest.err conftest.$ac_objext \
14428 conftest$ac_exeext conftest.$ac_ext
14429 CFLAGS=$ac_wine_try_cflags_saved
14431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14432 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14433 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14434 saved_string_h_CFLAGS=$CFLAGS
14435 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14437 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14438 if ${ac_cv_c_string_h_warnings+:} false; then :
14439 $as_echo_n "(cached) " >&6
14440 else
14441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14442 /* end confdefs.h. */
14443 #include <string.h>
14445 main ()
14449 return 0;
14451 _ACEOF
14452 if ac_fn_c_try_compile "$LINENO"; then :
14453 ac_cv_c_string_h_warnings=no
14454 else
14455 ac_cv_c_string_h_warnings=yes
14457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14460 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14461 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14462 CFLAGS=$saved_string_h_CFLAGS
14465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14466 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14467 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14468 $as_echo_n "(cached) " >&6
14469 else
14470 ac_wine_try_cflags_saved=$CFLAGS
14471 CFLAGS="$CFLAGS -Wlogical-op"
14472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14473 /* end confdefs.h. */
14474 int main(int argc, char **argv) { return 0; }
14475 _ACEOF
14476 if ac_fn_c_try_link "$LINENO"; then :
14477 ac_cv_cflags__Wlogical_op=yes
14478 else
14479 ac_cv_cflags__Wlogical_op=no
14481 rm -f core conftest.err conftest.$ac_objext \
14482 conftest$ac_exeext conftest.$ac_ext
14483 CFLAGS=$ac_wine_try_cflags_saved
14485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14486 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14487 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14488 saved_string_h_CFLAGS=$CFLAGS
14489 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14491 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14492 if ${ac_cv_c_logicalop_noisy+:} false; then :
14493 $as_echo_n "(cached) " >&6
14494 else
14495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14496 /* end confdefs.h. */
14497 #include <string.h>
14498 char*f(const char *h,char n) {return strchr(h,n);}
14500 main ()
14504 return 0;
14506 _ACEOF
14507 if ac_fn_c_try_compile "$LINENO"; then :
14508 ac_cv_c_logicalop_noisy=no
14509 else
14510 ac_cv_c_logicalop_noisy=yes
14512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14515 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14516 CFLAGS=$saved_string_h_CFLAGS
14517 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14520 CFLAGS=$saved_CFLAGS
14522 for ac_flag in $CFLAGS; do
14523 case $ac_flag in
14524 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14525 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14526 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14527 $as_echo_n "(cached) " >&6
14528 else
14529 ac_wine_try_cflags_saved=$CFLAGS
14530 CFLAGS="$CFLAGS -gdwarf-2"
14531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14532 /* end confdefs.h. */
14533 int main(int argc, char **argv) { return 0; }
14534 _ACEOF
14535 if ac_fn_c_try_link "$LINENO"; then :
14536 ac_cv_cflags__gdwarf_2=yes
14537 else
14538 ac_cv_cflags__gdwarf_2=no
14540 rm -f core conftest.err conftest.$ac_objext \
14541 conftest$ac_exeext conftest.$ac_ext
14542 CFLAGS=$ac_wine_try_cflags_saved
14544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14545 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14546 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14547 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14550 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14551 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14552 $as_echo_n "(cached) " >&6
14553 else
14554 ac_wine_try_cflags_saved=$CFLAGS
14555 CFLAGS="$CFLAGS -gstrict-dwarf"
14556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14557 /* end confdefs.h. */
14558 int main(int argc, char **argv) { return 0; }
14559 _ACEOF
14560 if ac_fn_c_try_link "$LINENO"; then :
14561 ac_cv_cflags__gstrict_dwarf=yes
14562 else
14563 ac_cv_cflags__gstrict_dwarf=no
14565 rm -f core conftest.err conftest.$ac_objext \
14566 conftest$ac_exeext conftest.$ac_ext
14567 CFLAGS=$ac_wine_try_cflags_saved
14569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14570 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14571 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14572 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14573 fi ;;
14574 esac
14575 done
14577 case $host_cpu in
14578 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14579 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14580 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14581 $as_echo_n "(cached) " >&6
14582 else
14583 ac_wine_try_cflags_saved=$CFLAGS
14584 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14586 /* end confdefs.h. */
14587 int main(int argc, char **argv) { return 0; }
14588 _ACEOF
14589 if ac_fn_c_try_link "$LINENO"; then :
14590 ac_cv_cflags__fno_omit_frame_pointer=yes
14591 else
14592 ac_cv_cflags__fno_omit_frame_pointer=no
14594 rm -f core conftest.err conftest.$ac_objext \
14595 conftest$ac_exeext conftest.$ac_ext
14596 CFLAGS=$ac_wine_try_cflags_saved
14598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14599 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14600 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14601 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14602 fi ;;
14603 esac
14605 case $host in
14606 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14607 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14608 if ${ac_cv_cflags__Wno_format+:} false; then :
14609 $as_echo_n "(cached) " >&6
14610 else
14611 ac_wine_try_cflags_saved=$CFLAGS
14612 CFLAGS="$CFLAGS -Wno-format"
14613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14614 /* end confdefs.h. */
14615 int main(int argc, char **argv) { return 0; }
14616 _ACEOF
14617 if ac_fn_c_try_link "$LINENO"; then :
14618 ac_cv_cflags__Wno_format=yes
14619 else
14620 ac_cv_cflags__Wno_format=no
14622 rm -f core conftest.err conftest.$ac_objext \
14623 conftest$ac_exeext conftest.$ac_ext
14624 CFLAGS=$ac_wine_try_cflags_saved
14626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14627 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14628 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14629 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14630 fi ;;
14631 esac
14633 if test "x$enable_maintainer_mode" = "xyes"
14634 then
14635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14636 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14637 if ${ac_cv_cflags__Werror+:} false; then :
14638 $as_echo_n "(cached) " >&6
14639 else
14640 ac_wine_try_cflags_saved=$CFLAGS
14641 CFLAGS="$CFLAGS -Werror"
14642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14643 /* end confdefs.h. */
14644 int main(int argc, char **argv) { return 0; }
14645 _ACEOF
14646 if ac_fn_c_try_link "$LINENO"; then :
14647 ac_cv_cflags__Werror=yes
14648 else
14649 ac_cv_cflags__Werror=no
14651 rm -f core conftest.err conftest.$ac_objext \
14652 conftest$ac_exeext conftest.$ac_ext
14653 CFLAGS=$ac_wine_try_cflags_saved
14655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14656 $as_echo "$ac_cv_cflags__Werror" >&6; }
14657 if test "x$ac_cv_cflags__Werror" = xyes; then :
14658 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14662 saved_CFLAGS="$CFLAGS"
14663 CFLAGS="$CFLAGS -Werror"
14664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14665 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14666 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14667 $as_echo_n "(cached) " >&6
14668 else
14669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14670 /* end confdefs.h. */
14671 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14673 main ()
14677 return 0;
14679 _ACEOF
14680 if ac_fn_c_try_compile "$LINENO"; then :
14681 ac_cv_have_ms_hook_prologue="yes"
14682 else
14683 ac_cv_have_ms_hook_prologue="no"
14685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14688 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14689 CFLAGS="$saved_CFLAGS"
14690 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14691 then
14693 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14695 else
14696 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14703 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14704 if ${ac_cv_c_fortify_enabled+:} false; then :
14705 $as_echo_n "(cached) " >&6
14706 else
14707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14708 /* end confdefs.h. */
14709 #include <string.h>
14711 main ()
14713 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14714 #error Fortify enabled
14715 #endif
14717 return 0;
14719 _ACEOF
14720 if ac_fn_c_try_compile "$LINENO"; then :
14721 ac_cv_c_fortify_enabled=no
14722 else
14723 ac_cv_c_fortify_enabled=yes
14725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14728 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14729 if test "$ac_cv_c_fortify_enabled" = yes
14730 then
14731 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14736 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14737 if ${ac_cv_c_extern_prefix+:} false; then :
14738 $as_echo_n "(cached) " >&6
14739 else
14740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14741 /* end confdefs.h. */
14742 extern int ac_test;
14744 main ()
14746 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14748 return 0;
14750 _ACEOF
14751 if ac_fn_c_try_link "$LINENO"; then :
14752 ac_cv_c_extern_prefix="yes"
14753 else
14754 ac_cv_c_extern_prefix="no"
14756 rm -f core conftest.err conftest.$ac_objext \
14757 conftest$ac_exeext conftest.$ac_ext
14759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14760 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14762 case $host_cpu in
14763 *i[3456789]86*)
14764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14765 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14766 if ${ac_cv_c_stdcall_suffix+:} false; then :
14767 $as_echo_n "(cached) " >&6
14768 else
14769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14770 /* end confdefs.h. */
14771 #ifndef _MSC_VER
14772 #define __stdcall __attribute__((__stdcall__))
14773 #endif
14774 int __stdcall ac_test(int i) { return i; }
14776 main ()
14778 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14780 return 0;
14782 _ACEOF
14783 if ac_fn_c_try_link "$LINENO"; then :
14784 ac_cv_c_stdcall_suffix="yes"
14785 else
14786 ac_cv_c_stdcall_suffix="no"
14788 rm -f core conftest.err conftest.$ac_objext \
14789 conftest$ac_exeext conftest.$ac_ext
14791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14792 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14793 *) ac_cv_c_stdcall_suffix="no" ;;
14794 esac
14797 if test "$ac_cv_c_extern_prefix" = "yes"
14798 then
14799 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14801 asm_name_prefix="_"
14802 else
14803 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14805 asm_name_prefix=""
14809 if test "$ac_cv_c_stdcall_suffix" = "yes"
14810 then
14811 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14813 else
14814 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14820 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14821 if ${ac_cv_asm_func_def+:} false; then :
14822 $as_echo_n "(cached) " >&6
14823 else
14824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14825 /* end confdefs.h. */
14828 main ()
14830 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14832 return 0;
14834 _ACEOF
14835 if ac_fn_c_try_link "$LINENO"; then :
14836 ac_cv_asm_func_def=".def"
14837 else
14838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14839 /* end confdefs.h. */
14842 main ()
14844 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14846 return 0;
14848 _ACEOF
14849 if ac_fn_c_try_link "$LINENO"; then :
14850 ac_cv_asm_func_def=".type @function"
14851 else
14852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14853 /* end confdefs.h. */
14856 main ()
14858 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14860 return 0;
14862 _ACEOF
14863 if ac_fn_c_try_link "$LINENO"; then :
14864 ac_cv_asm_func_def=".type 2"
14865 else
14866 ac_cv_asm_func_def="unknown"
14868 rm -f core conftest.err conftest.$ac_objext \
14869 conftest$ac_exeext conftest.$ac_ext
14871 rm -f core conftest.err conftest.$ac_objext \
14872 conftest$ac_exeext conftest.$ac_ext
14874 rm -f core conftest.err conftest.$ac_objext \
14875 conftest$ac_exeext conftest.$ac_ext
14877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14878 $as_echo "$ac_cv_asm_func_def" >&6; }
14881 case "$ac_cv_asm_func_def" in
14882 ".def")
14883 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14885 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14886 ".type @function")
14887 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14889 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14890 ".type 2")
14891 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14893 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14895 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14897 asm_func_header="" ;;
14898 esac
14900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14901 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14902 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14903 $as_echo_n "(cached) " >&6
14904 else
14905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14906 /* end confdefs.h. */
14907 asm(".text\n\t.long 0");
14909 main ()
14913 return 0;
14915 _ACEOF
14916 if ac_fn_c_try_compile "$LINENO"; then :
14917 ac_cv_c_asm_outside_funcs="yes"
14918 else
14919 ac_cv_c_asm_outside_funcs="no"
14921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14924 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14927 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14928 if ${ac_cv_c_dot_previous+:} false; then :
14929 $as_echo_n "(cached) " >&6
14930 else
14931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14932 /* end confdefs.h. */
14935 main ()
14937 asm(".text\nac_test:\t.long 0\n\t.previous");
14939 return 0;
14941 _ACEOF
14942 if ac_fn_c_try_link "$LINENO"; then :
14943 ac_cv_c_dot_previous="yes"
14944 else
14945 ac_cv_c_dot_previous="no"
14947 rm -f core conftest.err conftest.$ac_objext \
14948 conftest$ac_exeext conftest.$ac_ext
14950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14951 $as_echo "$ac_cv_c_dot_previous" >&6; }
14953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14954 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14955 if ${ac_cv_c_cfi_support+:} false; then :
14956 $as_echo_n "(cached) " >&6
14957 else
14958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14959 /* end confdefs.h. */
14960 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14962 main ()
14966 return 0;
14968 _ACEOF
14969 if ac_fn_c_try_compile "$LINENO"; then :
14970 ac_cv_c_cfi_support="yes"
14971 else
14972 ac_cv_c_cfi_support="no"
14974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14977 $as_echo "$ac_cv_c_cfi_support" >&6; }
14979 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14980 asm_func_trailer=""
14981 if test "$ac_cv_c_dot_previous" = "yes"
14982 then
14983 asm_func_trailer="\\n\\t.previous"
14985 if test "$ac_cv_c_cfi_support" = "yes"
14986 then
14987 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14988 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14990 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14992 UNWINDFLAGS=-fasynchronous-unwind-tables
14994 else
14995 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14997 if test "x$enable_win64" = "xyes"
14998 then
14999 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15003 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15006 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15007 then
15008 cat >>confdefs.h <<_ACEOF
15009 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15010 _ACEOF
15012 else
15013 cat >>confdefs.h <<_ACEOF
15014 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15015 _ACEOF
15019 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15022 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15026 case $build_os in
15027 cygwin*|mingw32*) TOOLSEXT=".exe"
15029 esac
15031 case $host_os in
15032 linux-android*) ;;
15033 linux*)
15034 case $host_cpu in
15035 *i[3456789]86*|x86_64*)
15036 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15037 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15039 esac
15041 esac
15044 ac_save_CFLAGS="$CFLAGS"
15045 CFLAGS="$CFLAGS $BUILTINFLAG"
15046 for ac_func in \
15047 __res_get_state \
15048 __res_getservers \
15049 _finite \
15050 _isnan \
15051 _pclose \
15052 _popen \
15053 _snprintf \
15054 _spawnvp \
15055 _strdup \
15056 _stricmp \
15057 _strnicmp \
15058 _strtoi64 \
15059 _strtoui64 \
15060 _vsnprintf \
15061 asctime_r \
15062 chsize \
15063 dlopen \
15064 epoll_create \
15065 ffs \
15066 finitef \
15067 fnmatch \
15068 fork \
15069 fpclass \
15070 fstatfs \
15071 fstatvfs \
15072 ftruncate \
15073 futimens \
15074 futimes \
15075 futimesat \
15076 getattrlist \
15077 getdirentries \
15078 getopt_long_only \
15079 getpwuid \
15080 gettimeofday \
15081 getuid \
15082 if_nameindex \
15083 isnanf \
15084 kqueue \
15085 lstat \
15086 memmove \
15087 mmap \
15088 pclose \
15089 pipe2 \
15090 poll \
15091 popen \
15092 port_create \
15093 prctl \
15094 pread \
15095 proc_pidinfo \
15096 pwrite \
15097 readdir \
15098 readlink \
15099 sched_yield \
15100 select \
15101 setproctitle \
15102 setprogname \
15103 setrlimit \
15104 settimeofday \
15105 sigaltstack \
15106 sigprocmask \
15107 snprintf \
15108 statfs \
15109 statvfs \
15110 strcasecmp \
15111 strdup \
15112 strerror \
15113 strncasecmp \
15114 strtold \
15115 strtoll \
15116 strtoull \
15117 symlink \
15118 tcdrain \
15119 thr_kill2 \
15120 timegm \
15121 usleep \
15122 vsnprintf
15124 do :
15125 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15126 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15127 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15128 cat >>confdefs.h <<_ACEOF
15129 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15130 _ACEOF
15133 done
15135 CFLAGS="$ac_save_CFLAGS"
15137 if test "$ac_cv_func_dlopen" = no
15138 then
15139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15140 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15141 if ${ac_cv_lib_dl_dlopen+:} false; then :
15142 $as_echo_n "(cached) " >&6
15143 else
15144 ac_check_lib_save_LIBS=$LIBS
15145 LIBS="-ldl $LIBS"
15146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15147 /* end confdefs.h. */
15149 /* Override any GCC internal prototype to avoid an error.
15150 Use char because int might match the return type of a GCC
15151 builtin and then its argument prototype would still apply. */
15152 #ifdef __cplusplus
15153 extern "C"
15154 #endif
15155 char dlopen ();
15157 main ()
15159 return dlopen ();
15161 return 0;
15163 _ACEOF
15164 if ac_fn_c_try_link "$LINENO"; then :
15165 ac_cv_lib_dl_dlopen=yes
15166 else
15167 ac_cv_lib_dl_dlopen=no
15169 rm -f core conftest.err conftest.$ac_objext \
15170 conftest$ac_exeext conftest.$ac_ext
15171 LIBS=$ac_check_lib_save_LIBS
15173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15174 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15175 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15176 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15177 DL_LIBS="-ldl"
15182 ac_wine_check_funcs_save_LIBS="$LIBS"
15183 LIBS="$LIBS $DL_LIBS"
15184 for ac_func in dladdr
15185 do :
15186 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15187 if test "x$ac_cv_func_dladdr" = xyes; then :
15188 cat >>confdefs.h <<_ACEOF
15189 #define HAVE_DLADDR 1
15190 _ACEOF
15193 done
15195 LIBS="$ac_wine_check_funcs_save_LIBS"
15197 if test "$ac_cv_func_poll" = no
15198 then
15199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15200 $as_echo_n "checking for poll in -lpoll... " >&6; }
15201 if ${ac_cv_lib_poll_poll+:} false; then :
15202 $as_echo_n "(cached) " >&6
15203 else
15204 ac_check_lib_save_LIBS=$LIBS
15205 LIBS="-lpoll $LIBS"
15206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15207 /* end confdefs.h. */
15209 /* Override any GCC internal prototype to avoid an error.
15210 Use char because int might match the return type of a GCC
15211 builtin and then its argument prototype would still apply. */
15212 #ifdef __cplusplus
15213 extern "C"
15214 #endif
15215 char poll ();
15217 main ()
15219 return poll ();
15221 return 0;
15223 _ACEOF
15224 if ac_fn_c_try_link "$LINENO"; then :
15225 ac_cv_lib_poll_poll=yes
15226 else
15227 ac_cv_lib_poll_poll=no
15229 rm -f core conftest.err conftest.$ac_objext \
15230 conftest$ac_exeext conftest.$ac_ext
15231 LIBS=$ac_check_lib_save_LIBS
15233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15234 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15235 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15236 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15237 POLL_LIBS="-lpoll"
15243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15244 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15245 if ${ac_cv_search_gethostbyname+:} false; then :
15246 $as_echo_n "(cached) " >&6
15247 else
15248 ac_func_search_save_LIBS=$LIBS
15249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15250 /* end confdefs.h. */
15252 /* Override any GCC internal prototype to avoid an error.
15253 Use char because int might match the return type of a GCC
15254 builtin and then its argument prototype would still apply. */
15255 #ifdef __cplusplus
15256 extern "C"
15257 #endif
15258 char gethostbyname ();
15260 main ()
15262 return gethostbyname ();
15264 return 0;
15266 _ACEOF
15267 for ac_lib in '' nsl; do
15268 if test -z "$ac_lib"; then
15269 ac_res="none required"
15270 else
15271 ac_res=-l$ac_lib
15272 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15274 if ac_fn_c_try_link "$LINENO"; then :
15275 ac_cv_search_gethostbyname=$ac_res
15277 rm -f core conftest.err conftest.$ac_objext \
15278 conftest$ac_exeext
15279 if ${ac_cv_search_gethostbyname+:} false; then :
15280 break
15282 done
15283 if ${ac_cv_search_gethostbyname+:} false; then :
15285 else
15286 ac_cv_search_gethostbyname=no
15288 rm conftest.$ac_ext
15289 LIBS=$ac_func_search_save_LIBS
15291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15292 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15293 ac_res=$ac_cv_search_gethostbyname
15294 if test "$ac_res" != no; then :
15295 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15301 $as_echo_n "checking for library containing connect... " >&6; }
15302 if ${ac_cv_search_connect+:} false; then :
15303 $as_echo_n "(cached) " >&6
15304 else
15305 ac_func_search_save_LIBS=$LIBS
15306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15307 /* end confdefs.h. */
15309 /* Override any GCC internal prototype to avoid an error.
15310 Use char because int might match the return type of a GCC
15311 builtin and then its argument prototype would still apply. */
15312 #ifdef __cplusplus
15313 extern "C"
15314 #endif
15315 char connect ();
15317 main ()
15319 return connect ();
15321 return 0;
15323 _ACEOF
15324 for ac_lib in '' socket; do
15325 if test -z "$ac_lib"; then
15326 ac_res="none required"
15327 else
15328 ac_res=-l$ac_lib
15329 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15331 if ac_fn_c_try_link "$LINENO"; then :
15332 ac_cv_search_connect=$ac_res
15334 rm -f core conftest.err conftest.$ac_objext \
15335 conftest$ac_exeext
15336 if ${ac_cv_search_connect+:} false; then :
15337 break
15339 done
15340 if ${ac_cv_search_connect+:} false; then :
15342 else
15343 ac_cv_search_connect=no
15345 rm conftest.$ac_ext
15346 LIBS=$ac_func_search_save_LIBS
15348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15349 $as_echo "$ac_cv_search_connect" >&6; }
15350 ac_res=$ac_cv_search_connect
15351 if test "$ac_res" != no; then :
15352 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15358 $as_echo_n "checking for library containing inet_aton... " >&6; }
15359 if ${ac_cv_search_inet_aton+:} false; then :
15360 $as_echo_n "(cached) " >&6
15361 else
15362 ac_func_search_save_LIBS=$LIBS
15363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15364 /* end confdefs.h. */
15366 /* Override any GCC internal prototype to avoid an error.
15367 Use char because int might match the return type of a GCC
15368 builtin and then its argument prototype would still apply. */
15369 #ifdef __cplusplus
15370 extern "C"
15371 #endif
15372 char inet_aton ();
15374 main ()
15376 return inet_aton ();
15378 return 0;
15380 _ACEOF
15381 for ac_lib in '' resolv; do
15382 if test -z "$ac_lib"; then
15383 ac_res="none required"
15384 else
15385 ac_res=-l$ac_lib
15386 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15388 if ac_fn_c_try_link "$LINENO"; then :
15389 ac_cv_search_inet_aton=$ac_res
15391 rm -f core conftest.err conftest.$ac_objext \
15392 conftest$ac_exeext
15393 if ${ac_cv_search_inet_aton+:} false; then :
15394 break
15396 done
15397 if ${ac_cv_search_inet_aton+:} false; then :
15399 else
15400 ac_cv_search_inet_aton=no
15402 rm conftest.$ac_ext
15403 LIBS=$ac_func_search_save_LIBS
15405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15406 $as_echo "$ac_cv_search_inet_aton" >&6; }
15407 ac_res=$ac_cv_search_inet_aton
15408 if test "$ac_res" != no; then :
15409 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15414 for ac_func in \
15415 getaddrinfo \
15416 getnameinfo \
15417 getnetbyname \
15418 getprotobyname \
15419 getprotobynumber \
15420 getservbyport \
15421 inet_addr \
15422 inet_network \
15423 inet_ntop \
15424 inet_pton \
15425 sendmsg \
15426 socketpair \
15428 do :
15429 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15430 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15431 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15432 cat >>confdefs.h <<_ACEOF
15433 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15434 _ACEOF
15437 done
15440 ac_save_LIBS=$LIBS
15441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15442 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15443 if ${ac_cv_search_clock_gettime+:} false; then :
15444 $as_echo_n "(cached) " >&6
15445 else
15446 ac_func_search_save_LIBS=$LIBS
15447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15448 /* end confdefs.h. */
15450 /* Override any GCC internal prototype to avoid an error.
15451 Use char because int might match the return type of a GCC
15452 builtin and then its argument prototype would still apply. */
15453 #ifdef __cplusplus
15454 extern "C"
15455 #endif
15456 char clock_gettime ();
15458 main ()
15460 return clock_gettime ();
15462 return 0;
15464 _ACEOF
15465 for ac_lib in '' rt; do
15466 if test -z "$ac_lib"; then
15467 ac_res="none required"
15468 else
15469 ac_res=-l$ac_lib
15470 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15472 if ac_fn_c_try_link "$LINENO"; then :
15473 ac_cv_search_clock_gettime=$ac_res
15475 rm -f core conftest.err conftest.$ac_objext \
15476 conftest$ac_exeext
15477 if ${ac_cv_search_clock_gettime+:} false; then :
15478 break
15480 done
15481 if ${ac_cv_search_clock_gettime+:} false; then :
15483 else
15484 ac_cv_search_clock_gettime=no
15486 rm conftest.$ac_ext
15487 LIBS=$ac_func_search_save_LIBS
15489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15490 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15491 ac_res=$ac_cv_search_clock_gettime
15492 if test "$ac_res" != no; then :
15493 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15495 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15497 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15501 LIBS=$ac_save_LIBS
15503 LDAP_LIBS=""
15505 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15506 then
15507 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15509 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15511 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15512 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15513 $as_echo_n "(cached) " >&6
15514 else
15515 ac_check_lib_save_LIBS=$LIBS
15516 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15518 /* end confdefs.h. */
15520 /* Override any GCC internal prototype to avoid an error.
15521 Use char because int might match the return type of a GCC
15522 builtin and then its argument prototype would still apply. */
15523 #ifdef __cplusplus
15524 extern "C"
15525 #endif
15526 char ldap_initialize ();
15528 main ()
15530 return ldap_initialize ();
15532 return 0;
15534 _ACEOF
15535 if ac_fn_c_try_link "$LINENO"; then :
15536 ac_cv_lib_ldap_r_ldap_initialize=yes
15537 else
15538 ac_cv_lib_ldap_r_ldap_initialize=no
15540 rm -f core conftest.err conftest.$ac_objext \
15541 conftest$ac_exeext conftest.$ac_ext
15542 LIBS=$ac_check_lib_save_LIBS
15544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15545 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15546 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15548 $as_echo_n "checking for ber_init in -llber... " >&6; }
15549 if ${ac_cv_lib_lber_ber_init+:} false; then :
15550 $as_echo_n "(cached) " >&6
15551 else
15552 ac_check_lib_save_LIBS=$LIBS
15553 LIBS="-llber $PTHREAD_LIBS $LIBS"
15554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15555 /* end confdefs.h. */
15557 /* Override any GCC internal prototype to avoid an error.
15558 Use char because int might match the return type of a GCC
15559 builtin and then its argument prototype would still apply. */
15560 #ifdef __cplusplus
15561 extern "C"
15562 #endif
15563 char ber_init ();
15565 main ()
15567 return ber_init ();
15569 return 0;
15571 _ACEOF
15572 if ac_fn_c_try_link "$LINENO"; then :
15573 ac_cv_lib_lber_ber_init=yes
15574 else
15575 ac_cv_lib_lber_ber_init=no
15577 rm -f core conftest.err conftest.$ac_objext \
15578 conftest$ac_exeext conftest.$ac_ext
15579 LIBS=$ac_check_lib_save_LIBS
15581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15582 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15583 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15585 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15587 LDAP_LIBS="-lldap_r -llber"
15594 ac_wine_check_funcs_save_LIBS="$LIBS"
15595 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15596 for ac_func in \
15597 ldap_count_references \
15598 ldap_first_reference \
15599 ldap_next_reference \
15600 ldap_parse_reference \
15601 ldap_parse_sort_control \
15602 ldap_parse_sortresponse_control \
15603 ldap_parse_vlv_control \
15604 ldap_parse_vlvresponse_control
15605 do :
15606 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15607 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15608 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15609 cat >>confdefs.h <<_ACEOF
15610 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15611 _ACEOF
15614 done
15616 LIBS="$ac_wine_check_funcs_save_LIBS"
15618 if test "x$LDAP_LIBS" = "x"; then :
15619 case "x$with_ldap" in
15620 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15621 xno) ;;
15622 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15623 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15624 esac
15628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15629 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15630 if ${wine_cv_one_arg_mkdir+:} false; then :
15631 $as_echo_n "(cached) " >&6
15632 else
15633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15634 /* end confdefs.h. */
15635 #include <sys/stat.h>
15637 main ()
15639 mkdir("foo");
15641 return 0;
15643 _ACEOF
15644 if ac_fn_c_try_compile "$LINENO"; then :
15645 wine_cv_one_arg_mkdir=yes
15646 else
15647 wine_cv_one_arg_mkdir=no
15649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15652 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15653 if test "$wine_cv_one_arg_mkdir" = "yes"
15654 then
15656 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15661 $as_echo_n "checking for sched_setaffinity... " >&6; }
15662 if ${wine_cv_have_sched_setaffinity+:} false; then :
15663 $as_echo_n "(cached) " >&6
15664 else
15665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15666 /* end confdefs.h. */
15667 #define _GNU_SOURCE
15668 #include <sched.h>
15670 main ()
15672 sched_setaffinity(0, 0, 0);
15674 return 0;
15676 _ACEOF
15677 if ac_fn_c_try_link "$LINENO"; then :
15678 wine_cv_have_sched_setaffinity=yes
15679 else
15680 wine_cv_have_sched_setaffinity=no
15682 rm -f core conftest.err conftest.$ac_objext \
15683 conftest$ac_exeext conftest.$ac_ext
15685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15686 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15687 if test "$wine_cv_have_sched_setaffinity" = "yes"
15688 then
15690 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15695 $as_echo_n "checking for fallocate... " >&6; }
15696 if ${wine_cv_have_fallocate+:} false; then :
15697 $as_echo_n "(cached) " >&6
15698 else
15699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15700 /* end confdefs.h. */
15701 #define _GNU_SOURCE
15702 #include <fcntl.h>
15704 main ()
15706 fallocate(-1, 0, 0, 0);
15708 return 0;
15710 _ACEOF
15711 if ac_fn_c_try_link "$LINENO"; then :
15712 wine_cv_have_fallocate=yes
15713 else
15714 wine_cv_have_fallocate=no
15716 rm -f core conftest.err conftest.$ac_objext \
15717 conftest$ac_exeext conftest.$ac_ext
15719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15720 $as_echo "$wine_cv_have_fallocate" >&6; }
15721 if test "$wine_cv_have_fallocate" = "yes"
15722 then
15724 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15730 $as_echo_n "checking for inline... " >&6; }
15731 if ${ac_cv_c_inline+:} false; then :
15732 $as_echo_n "(cached) " >&6
15733 else
15734 ac_cv_c_inline=no
15735 for ac_kw in inline __inline__ __inline; do
15736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15737 /* end confdefs.h. */
15738 #ifndef __cplusplus
15739 typedef int foo_t;
15740 static $ac_kw foo_t static_foo () {return 0; }
15741 $ac_kw foo_t foo () {return 0; }
15742 #endif
15744 _ACEOF
15745 if ac_fn_c_try_compile "$LINENO"; then :
15746 ac_cv_c_inline=$ac_kw
15748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15749 test "$ac_cv_c_inline" != no && break
15750 done
15753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15754 $as_echo "$ac_cv_c_inline" >&6; }
15756 case $ac_cv_c_inline in
15757 inline | yes) ;;
15759 case $ac_cv_c_inline in
15760 no) ac_val=;;
15761 *) ac_val=$ac_cv_c_inline;;
15762 esac
15763 cat >>confdefs.h <<_ACEOF
15764 #ifndef __cplusplus
15765 #define inline $ac_val
15766 #endif
15767 _ACEOF
15769 esac
15771 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15772 if test "x$ac_cv_type_mode_t" = xyes; then :
15774 cat >>confdefs.h <<_ACEOF
15775 #define HAVE_MODE_T 1
15776 _ACEOF
15780 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15781 if test "x$ac_cv_type_off_t" = xyes; then :
15783 cat >>confdefs.h <<_ACEOF
15784 #define HAVE_OFF_T 1
15785 _ACEOF
15789 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15790 if test "x$ac_cv_type_pid_t" = xyes; then :
15792 cat >>confdefs.h <<_ACEOF
15793 #define HAVE_PID_T 1
15794 _ACEOF
15798 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15799 if test "x$ac_cv_type_size_t" = xyes; then :
15801 cat >>confdefs.h <<_ACEOF
15802 #define HAVE_SIZE_T 1
15803 _ACEOF
15807 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15808 if test "x$ac_cv_type_ssize_t" = xyes; then :
15810 cat >>confdefs.h <<_ACEOF
15811 #define HAVE_SSIZE_T 1
15812 _ACEOF
15816 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15817 if test "x$ac_cv_type_long_long" = xyes; then :
15819 cat >>confdefs.h <<_ACEOF
15820 #define HAVE_LONG_LONG 1
15821 _ACEOF
15825 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15826 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15828 cat >>confdefs.h <<_ACEOF
15829 #define HAVE_FSBLKCNT_T 1
15830 _ACEOF
15834 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15835 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15837 cat >>confdefs.h <<_ACEOF
15838 #define HAVE_FSFILCNT_T 1
15839 _ACEOF
15844 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15845 #include <signal.h>
15847 if test "x$ac_cv_type_sigset_t" = xyes; then :
15849 cat >>confdefs.h <<_ACEOF
15850 #define HAVE_SIGSET_T 1
15851 _ACEOF
15856 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15858 if test "x$ac_cv_type_request_sense" = xyes; then :
15860 cat >>confdefs.h <<_ACEOF
15861 #define HAVE_REQUEST_SENSE 1
15862 _ACEOF
15868 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15869 #ifdef HAVE_SYS_SOCKET_H
15870 #include <sys/socket.h>
15871 #endif
15872 #ifdef HAVE_SYS_SOCKETVAR_H
15873 #include <sys/socketvar.h>
15874 #endif
15875 #ifdef HAVE_NET_ROUTE_H
15876 #include <net/route.h>
15877 #endif
15878 #ifdef HAVE_NETINET_IN_H
15879 #include <netinet/in.h>
15880 #endif
15881 #ifdef HAVE_NETINET_IN_SYSTM_H
15882 #include <netinet/in_systm.h>
15883 #endif
15884 #ifdef HAVE_NETINET_IP_H
15885 #include <netinet/ip.h>
15886 #endif
15887 #ifdef HAVE_NETINET_IN_PCB_H
15888 #include <netinet/in_pcb.h>
15889 #endif
15891 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15893 cat >>confdefs.h <<_ACEOF
15894 #define HAVE_STRUCT_XINPGEN 1
15895 _ACEOF
15901 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15902 #include <link.h>
15903 #endif
15904 #ifdef HAVE_SYS_LINK_H
15905 #include <sys/link.h>
15906 #endif
15908 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15910 cat >>confdefs.h <<_ACEOF
15911 #define HAVE_STRUCT_R_DEBUG 1
15912 _ACEOF
15916 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15917 #include <link.h>
15918 #endif
15919 #ifdef HAVE_SYS_LINK_H
15920 #include <sys/link.h>
15921 #endif
15923 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15925 cat >>confdefs.h <<_ACEOF
15926 #define HAVE_STRUCT_LINK_MAP 1
15927 _ACEOF
15933 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15934 #include <linux/input.h>
15935 #endif
15937 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15939 cat >>confdefs.h <<_ACEOF
15940 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15941 _ACEOF
15947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15948 $as_echo_n "checking for sigaddset... " >&6; }
15949 if ${wine_cv_have_sigaddset+:} false; then :
15950 $as_echo_n "(cached) " >&6
15951 else
15952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15953 /* end confdefs.h. */
15954 #include <signal.h>
15956 main ()
15958 sigset_t set; sigaddset(&set,SIGTERM);
15960 return 0;
15962 _ACEOF
15963 if ac_fn_c_try_link "$LINENO"; then :
15964 wine_cv_have_sigaddset=yes
15965 else
15966 wine_cv_have_sigaddset=no
15968 rm -f core conftest.err conftest.$ac_objext \
15969 conftest$ac_exeext conftest.$ac_ext
15971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15972 $as_echo "$wine_cv_have_sigaddset" >&6; }
15973 if test "$wine_cv_have_sigaddset" = "yes"
15974 then
15976 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15982 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15983 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15984 $as_echo_n "(cached) " >&6
15985 else
15986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15987 /* end confdefs.h. */
15988 #include <netdb.h>
15990 main ()
15993 char *name=0;
15994 struct hostent he;
15995 struct hostent *result;
15996 char *buf=0;
15997 int bufsize=0;
15998 int errnr;
15999 char *addr=0;
16000 int addrlen=0;
16001 int addrtype=0;
16002 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16003 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16006 return 0;
16008 _ACEOF
16009 if ac_fn_c_try_link "$LINENO"; then :
16010 wine_cv_linux_gethostbyname_r_6=yes
16011 else
16012 wine_cv_linux_gethostbyname_r_6=no
16015 rm -f core conftest.err conftest.$ac_objext \
16016 conftest$ac_exeext conftest.$ac_ext
16019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16020 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16021 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16022 then
16024 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16028 if test "$ac_cv_header_linux_joystick_h" = "yes"
16029 then
16030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16031 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16032 if ${wine_cv_linux_joystick_22_api+:} false; then :
16033 $as_echo_n "(cached) " >&6
16034 else
16035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16036 /* end confdefs.h. */
16038 #include <sys/ioctl.h>
16039 #include <sys/types.h>
16040 #include <linux/joystick.h>
16042 struct js_event blub;
16043 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16044 #error "no 2.2 header"
16045 #endif
16048 main ()
16050 /*empty*/
16052 return 0;
16054 _ACEOF
16055 if ac_fn_c_try_compile "$LINENO"; then :
16056 wine_cv_linux_joystick_22_api=yes
16057 else
16058 wine_cv_linux_joystick_22_api=no
16060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16064 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16065 if test "$wine_cv_linux_joystick_22_api" = "yes"
16066 then
16068 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16074 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16075 #ifdef HAVE_SYS_PARAM_H
16076 # include <sys/param.h>
16077 #endif
16078 #ifdef HAVE_SYS_MOUNT_H
16079 # include <sys/mount.h>
16080 #endif
16081 #ifdef HAVE_SYS_VFS_H
16082 # include <sys/vfs.h>
16083 #endif
16084 #ifdef HAVE_SYS_STATFS_H
16085 # include <sys/statfs.h>
16086 #endif
16088 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16090 cat >>confdefs.h <<_ACEOF
16091 #define HAVE_STRUCT_STATFS_F_BFREE 1
16092 _ACEOF
16096 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16097 #ifdef HAVE_SYS_PARAM_H
16098 # include <sys/param.h>
16099 #endif
16100 #ifdef HAVE_SYS_MOUNT_H
16101 # include <sys/mount.h>
16102 #endif
16103 #ifdef HAVE_SYS_VFS_H
16104 # include <sys/vfs.h>
16105 #endif
16106 #ifdef HAVE_SYS_STATFS_H
16107 # include <sys/statfs.h>
16108 #endif
16110 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16112 cat >>confdefs.h <<_ACEOF
16113 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16114 _ACEOF
16118 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16119 #ifdef HAVE_SYS_PARAM_H
16120 # include <sys/param.h>
16121 #endif
16122 #ifdef HAVE_SYS_MOUNT_H
16123 # include <sys/mount.h>
16124 #endif
16125 #ifdef HAVE_SYS_VFS_H
16126 # include <sys/vfs.h>
16127 #endif
16128 #ifdef HAVE_SYS_STATFS_H
16129 # include <sys/statfs.h>
16130 #endif
16132 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16134 cat >>confdefs.h <<_ACEOF
16135 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16136 _ACEOF
16140 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16141 #ifdef HAVE_SYS_PARAM_H
16142 # include <sys/param.h>
16143 #endif
16144 #ifdef HAVE_SYS_MOUNT_H
16145 # include <sys/mount.h>
16146 #endif
16147 #ifdef HAVE_SYS_VFS_H
16148 # include <sys/vfs.h>
16149 #endif
16150 #ifdef HAVE_SYS_STATFS_H
16151 # include <sys/statfs.h>
16152 #endif
16154 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16156 cat >>confdefs.h <<_ACEOF
16157 #define HAVE_STRUCT_STATFS_F_FFREE 1
16158 _ACEOF
16162 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16163 #ifdef HAVE_SYS_PARAM_H
16164 # include <sys/param.h>
16165 #endif
16166 #ifdef HAVE_SYS_MOUNT_H
16167 # include <sys/mount.h>
16168 #endif
16169 #ifdef HAVE_SYS_VFS_H
16170 # include <sys/vfs.h>
16171 #endif
16172 #ifdef HAVE_SYS_STATFS_H
16173 # include <sys/statfs.h>
16174 #endif
16176 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16178 cat >>confdefs.h <<_ACEOF
16179 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16180 _ACEOF
16184 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16185 #ifdef HAVE_SYS_PARAM_H
16186 # include <sys/param.h>
16187 #endif
16188 #ifdef HAVE_SYS_MOUNT_H
16189 # include <sys/mount.h>
16190 #endif
16191 #ifdef HAVE_SYS_VFS_H
16192 # include <sys/vfs.h>
16193 #endif
16194 #ifdef HAVE_SYS_STATFS_H
16195 # include <sys/statfs.h>
16196 #endif
16198 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16200 cat >>confdefs.h <<_ACEOF
16201 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16202 _ACEOF
16208 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16209 #include <sys/statvfs.h>
16210 #endif
16212 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16214 cat >>confdefs.h <<_ACEOF
16215 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16216 _ACEOF
16222 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16223 #include <dirent.h>
16224 #endif
16226 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16228 cat >>confdefs.h <<_ACEOF
16229 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16230 _ACEOF
16236 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16237 #ifdef HAVE_SYS_SOCKET_H
16238 # include <sys/socket.h>
16239 #endif
16240 #ifdef HAVE_SYS_UN_H
16241 # include <sys/un.h>
16242 #endif
16244 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16246 cat >>confdefs.h <<_ACEOF
16247 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16248 _ACEOF
16252 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16253 #ifdef HAVE_SYS_SOCKET_H
16254 # include <sys/socket.h>
16255 #endif
16256 #ifdef HAVE_SYS_UN_H
16257 # include <sys/un.h>
16258 #endif
16260 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16262 cat >>confdefs.h <<_ACEOF
16263 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16264 _ACEOF
16268 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16269 #ifdef HAVE_SYS_SOCKET_H
16270 # include <sys/socket.h>
16271 #endif
16272 #ifdef HAVE_SYS_UN_H
16273 # include <sys/un.h>
16274 #endif
16276 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16278 cat >>confdefs.h <<_ACEOF
16279 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16280 _ACEOF
16286 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16287 #ifdef HAVE_SCSI_SG_H
16288 #include <scsi/sg.h>
16289 #endif
16291 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16293 cat >>confdefs.h <<_ACEOF
16294 #define HAVE_SCSIREQ_T_CMD 1
16295 _ACEOF
16299 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>
16300 #ifdef HAVE_SCSI_SG_H
16301 #include <scsi/sg.h>
16302 #endif
16304 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16306 cat >>confdefs.h <<_ACEOF
16307 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16308 _ACEOF
16314 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16316 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16318 cat >>confdefs.h <<_ACEOF
16319 #define HAVE_SIGINFO_T_SI_FD 1
16320 _ACEOF
16326 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16327 #ifdef HAVE_SYS_MTIO_H
16328 #include <sys/mtio.h>
16329 #endif
16331 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16333 cat >>confdefs.h <<_ACEOF
16334 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16335 _ACEOF
16339 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16340 #ifdef HAVE_SYS_MTIO_H
16341 #include <sys/mtio.h>
16342 #endif
16344 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16346 cat >>confdefs.h <<_ACEOF
16347 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16348 _ACEOF
16352 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16353 #ifdef HAVE_SYS_MTIO_H
16354 #include <sys/mtio.h>
16355 #endif
16357 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16359 cat >>confdefs.h <<_ACEOF
16360 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16361 _ACEOF
16367 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16368 #include <getopt.h>
16369 #endif
16371 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16373 cat >>confdefs.h <<_ACEOF
16374 #define HAVE_STRUCT_OPTION_NAME 1
16375 _ACEOF
16381 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16382 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16384 cat >>confdefs.h <<_ACEOF
16385 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16386 _ACEOF
16390 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16391 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16393 cat >>confdefs.h <<_ACEOF
16394 #define HAVE_STRUCT_STAT_ST_MTIM 1
16395 _ACEOF
16399 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16400 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16402 cat >>confdefs.h <<_ACEOF
16403 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16404 _ACEOF
16408 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16409 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16411 cat >>confdefs.h <<_ACEOF
16412 #define HAVE_STRUCT_STAT_ST_CTIM 1
16413 _ACEOF
16417 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16418 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16420 cat >>confdefs.h <<_ACEOF
16421 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16422 _ACEOF
16426 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16427 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16429 cat >>confdefs.h <<_ACEOF
16430 #define HAVE_STRUCT_STAT_ST_ATIM 1
16431 _ACEOF
16435 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16436 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16438 cat >>confdefs.h <<_ACEOF
16439 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16440 _ACEOF
16444 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16445 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16447 cat >>confdefs.h <<_ACEOF
16448 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16449 _ACEOF
16453 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16454 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16456 cat >>confdefs.h <<_ACEOF
16457 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16458 _ACEOF
16462 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16463 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16465 cat >>confdefs.h <<_ACEOF
16466 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16467 _ACEOF
16471 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16472 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16474 cat >>confdefs.h <<_ACEOF
16475 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16476 _ACEOF
16480 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16481 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16483 cat >>confdefs.h <<_ACEOF
16484 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16485 _ACEOF
16491 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
16492 #include <sys/types.h>
16493 #endif
16494 #ifdef HAVE_NETINET_IN_H
16495 #include <netinet/in.h>
16496 #endif
16498 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16500 cat >>confdefs.h <<_ACEOF
16501 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16502 _ACEOF
16508 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16509 #include <resolv.h>
16510 #endif
16512 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16514 cat >>confdefs.h <<_ACEOF
16515 #define HAVE_STRUCT___RES_STATE 1
16516 _ACEOF
16522 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
16523 #include <resolv.h>
16524 #endif
16526 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16528 cat >>confdefs.h <<_ACEOF
16529 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16530 _ACEOF
16536 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16537 #include <sys/types.h>
16538 #endif
16539 #ifdef HAVE_NETINET_IN_H
16540 # include <netinet/in.h>
16541 #endif
16542 #ifdef HAVE_ARPA_NAMESER_H
16543 # include <arpa/nameser.h>
16544 #endif
16546 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16548 cat >>confdefs.h <<_ACEOF
16549 #define HAVE_NS_MSG__MSG_PTR 1
16550 _ACEOF
16556 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16557 #include <sys/types.h>
16558 #endif
16559 #ifdef HAVE_NETINET_IP_H
16560 #include <netinet/ip.h>
16561 #endif
16562 #ifdef HAVE_NETINET_IP_ICMP_H
16563 #include <netinet/ip_icmp.h>
16564 #endif
16565 #ifdef HAVE_NETINET_ICMP_VAR_H
16566 #include <netinet/icmp_var.h>
16567 #endif
16569 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16571 cat >>confdefs.h <<_ACEOF
16572 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16573 _ACEOF
16579 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16580 #include <sys/types.h>
16581 #endif
16582 #ifdef HAVE_ALIAS_H
16583 #include <alias.h>
16584 #endif
16585 #ifdef HAVE_SYS_SOCKET_H
16586 #include <sys/socket.h>
16587 #endif
16588 #ifdef HAVE_SYS_SOCKETVAR_H
16589 #include <sys/socketvar.h>
16590 #endif
16591 #ifdef HAVE_SYS_TIMEOUT_H
16592 #include <sys/timeout.h>
16593 #endif
16594 #ifdef HAVE_NETINET_IN_H
16595 #include <netinet/in.h>
16596 #endif
16597 #ifdef HAVE_NETINET_IN_SYSTM_H
16598 #include <netinet/in_systm.h>
16599 #endif
16600 #ifdef HAVE_NETINET_IP_H
16601 #include <netinet/ip.h>
16602 #endif
16603 #ifdef HAVE_NETINET_IP_VAR_H
16604 #include <netinet/ip_var.h>
16605 #endif
16606 #ifdef HAVE_NETINET_IP_ICMP_H
16607 #include <netinet/ip_icmp.h>
16608 #endif
16609 #ifdef HAVE_NETINET_ICMP_VAR_H
16610 #include <netinet/icmp_var.h>
16611 #endif
16613 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16615 cat >>confdefs.h <<_ACEOF
16616 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16617 _ACEOF
16623 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16624 #include <sys/types.h>
16625 #endif
16626 #ifdef HAVE_SYS_SOCKETVAR_H
16627 #include <sys/socketvar.h>
16628 #endif
16629 #ifdef HAVE_NETINET_IN_H
16630 #include <netinet/in.h>
16631 #endif
16632 #ifdef HAVE_NETINET_IP_VAR_H
16633 #include <netinet/ip_var.h>
16634 #endif
16636 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16638 cat >>confdefs.h <<_ACEOF
16639 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16640 _ACEOF
16646 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
16647 #include <netinet/ip_var.h>
16648 #endif
16650 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16652 cat >>confdefs.h <<_ACEOF
16653 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16654 _ACEOF
16660 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16661 #include <sys/types.h>
16662 #endif
16663 #ifdef HAVE_SYS_SOCKETVAR_H
16664 #include <sys/socketvar.h>
16665 #endif
16666 #ifdef HAVE_NETINET_IN_H
16667 #include <netinet/in.h>
16668 #endif
16669 #ifdef HAVE_NETINET_TCP_H
16670 #include <netinet/tcp.h>
16671 #endif
16672 #ifdef HAVE_NETINET_TCP_VAR_H
16673 #include <netinet/tcp_var.h>
16674 #endif
16676 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16678 cat >>confdefs.h <<_ACEOF
16679 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16680 _ACEOF
16686 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
16687 #include <netinet/tcp_var.h>
16688 #endif
16690 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16692 cat >>confdefs.h <<_ACEOF
16693 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16694 _ACEOF
16700 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16701 #include <sys/types.h>
16702 #endif
16703 #ifdef HAVE_NETINET_IN_H
16704 #include <netinet/in.h>
16705 #endif
16706 #ifdef HAVE_NETINET_IP_VAR_H
16707 #include <netinet/ip_var.h>
16708 #endif
16709 #ifdef HAVE_NETINET_UDP_H
16710 #include <netinet/udp.h>
16711 #endif
16712 #ifdef HAVE_NETINET_UDP_VAR_H
16713 #include <netinet/udp_var.h>
16714 #endif
16716 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16718 cat >>confdefs.h <<_ACEOF
16719 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16720 _ACEOF
16726 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16727 #include <sys/types.h>
16728 #endif
16729 #ifdef HAVE_NET_IF_H
16730 # include <net/if.h>
16731 #endif
16733 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16735 cat >>confdefs.h <<_ACEOF
16736 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16737 _ACEOF
16743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16744 $as_echo_n "checking for timezone variable... " >&6; }
16745 if ${ac_cv_have_timezone+:} false; then :
16746 $as_echo_n "(cached) " >&6
16747 else
16748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16749 /* end confdefs.h. */
16750 #include <time.h>
16752 main ()
16754 timezone = 1
16756 return 0;
16758 _ACEOF
16759 if ac_fn_c_try_link "$LINENO"; then :
16760 ac_cv_have_timezone="yes"
16761 else
16762 ac_cv_have_timezone="no"
16764 rm -f core conftest.err conftest.$ac_objext \
16765 conftest$ac_exeext conftest.$ac_ext
16767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16768 $as_echo "$ac_cv_have_timezone" >&6; }
16769 if test "$ac_cv_have_timezone" = "yes"
16770 then
16772 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16776 $as_echo_n "checking for daylight variable... " >&6; }
16777 if ${ac_cv_have_daylight+:} false; then :
16778 $as_echo_n "(cached) " >&6
16779 else
16780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16781 /* end confdefs.h. */
16782 #include <time.h>
16784 main ()
16786 daylight = 1
16788 return 0;
16790 _ACEOF
16791 if ac_fn_c_try_link "$LINENO"; then :
16792 ac_cv_have_daylight="yes"
16793 else
16794 ac_cv_have_daylight="no"
16796 rm -f core conftest.err conftest.$ac_objext \
16797 conftest$ac_exeext conftest.$ac_ext
16799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16800 $as_echo "$ac_cv_have_daylight" >&6; }
16801 if test "$ac_cv_have_daylight" = "yes"
16802 then
16804 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16808 ac_save_LIBS="$LIBS"
16809 LIBS="$LIBS -lm"
16810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16811 $as_echo_n "checking for isfinite... " >&6; }
16812 if ${ac_cv_have_isfinite+:} false; then :
16813 $as_echo_n "(cached) " >&6
16814 else
16815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16816 /* end confdefs.h. */
16817 #define _GNU_SOURCE
16818 #include <math.h>
16820 main ()
16822 float f = 0.0; return isfinite(f)
16824 return 0;
16826 _ACEOF
16827 if ac_fn_c_try_link "$LINENO"; then :
16828 ac_cv_have_isfinite="yes"
16829 else
16830 ac_cv_have_isfinite="no"
16832 rm -f core conftest.err conftest.$ac_objext \
16833 conftest$ac_exeext conftest.$ac_ext
16835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16836 $as_echo "$ac_cv_have_isfinite" >&6; }
16837 if test "$ac_cv_have_isfinite" = "yes"
16838 then
16840 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16845 $as_echo_n "checking for isinf... " >&6; }
16846 if ${ac_cv_have_isinf+:} false; then :
16847 $as_echo_n "(cached) " >&6
16848 else
16849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16850 /* end confdefs.h. */
16851 #include <math.h>
16853 main ()
16855 float f = 0.0; return isinf(f)
16857 return 0;
16859 _ACEOF
16860 if ac_fn_c_try_link "$LINENO"; then :
16861 ac_cv_have_isinf="yes"
16862 else
16863 ac_cv_have_isinf="no"
16865 rm -f core conftest.err conftest.$ac_objext \
16866 conftest$ac_exeext conftest.$ac_ext
16868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16869 $as_echo "$ac_cv_have_isinf" >&6; }
16870 if test "$ac_cv_have_isinf" = "yes"
16871 then
16873 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16878 $as_echo_n "checking for isnan... " >&6; }
16879 if ${ac_cv_have_isnan+:} false; then :
16880 $as_echo_n "(cached) " >&6
16881 else
16882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16883 /* end confdefs.h. */
16884 #include <math.h>
16886 main ()
16888 float f = 0.0; return isnan(f)
16890 return 0;
16892 _ACEOF
16893 if ac_fn_c_try_link "$LINENO"; then :
16894 ac_cv_have_isnan="yes"
16895 else
16896 ac_cv_have_isnan="no"
16898 rm -f core conftest.err conftest.$ac_objext \
16899 conftest$ac_exeext conftest.$ac_ext
16901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16902 $as_echo "$ac_cv_have_isnan" >&6; }
16903 if test "$ac_cv_have_isnan" = "yes"
16904 then
16906 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16910 for ac_func in \
16911 asinh \
16912 asinhf \
16913 cbrt \
16914 cbrtf \
16915 erf \
16916 erff \
16917 exp2 \
16918 exp2f \
16919 llrint \
16920 llrintf \
16921 llround \
16922 llroundf \
16923 log2 \
16924 log2f \
16925 lrint \
16926 lrintf \
16927 lround \
16928 lroundf \
16929 remainder \
16930 remainderf \
16931 rint \
16932 rintf \
16933 round \
16934 roundf \
16935 trunc \
16936 truncf
16938 do :
16939 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16940 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16941 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16942 cat >>confdefs.h <<_ACEOF
16943 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16944 _ACEOF
16947 done
16949 LIBS="$ac_save_LIBS"
16951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16952 $as_echo_n "checking for __builtin_clz... " >&6; }
16953 if ${ac_cv_have___builtin_clz+:} false; then :
16954 $as_echo_n "(cached) " >&6
16955 else
16956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16957 /* end confdefs.h. */
16960 main ()
16962 return __builtin_clz(1)
16964 return 0;
16966 _ACEOF
16967 if ac_fn_c_try_link "$LINENO"; then :
16968 ac_cv_have___builtin_clz="yes"
16969 else
16970 ac_cv_have___builtin_clz="no"
16972 rm -f core conftest.err conftest.$ac_objext \
16973 conftest$ac_exeext conftest.$ac_ext
16975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16976 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16977 if test "$ac_cv_have___builtin_clz" = "yes"
16978 then
16980 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
16985 $as_echo_n "checking for __builtin_popcount... " >&6; }
16986 if ${ac_cv_have___builtin_popcount+:} false; then :
16987 $as_echo_n "(cached) " >&6
16988 else
16989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16990 /* end confdefs.h. */
16993 main ()
16995 return __builtin_popcount(1)
16997 return 0;
16999 _ACEOF
17000 if ac_fn_c_try_link "$LINENO"; then :
17001 ac_cv_have___builtin_popcount="yes"
17002 else
17003 ac_cv_have___builtin_popcount="no"
17005 rm -f core conftest.err conftest.$ac_objext \
17006 conftest$ac_exeext conftest.$ac_ext
17008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17009 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17010 if test "$ac_cv_have___builtin_popcount" = "yes"
17011 then
17013 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17018 case $host_cpu in
17019 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17020 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17021 if ${ac_cv_cpp_def___i386__+:} false; then :
17022 $as_echo_n "(cached) " >&6
17023 else
17024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17025 /* end confdefs.h. */
17026 #ifndef __i386__
17028 #endif
17029 _ACEOF
17030 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17031 $EGREP "yes" >/dev/null 2>&1; then :
17032 ac_cv_cpp_def___i386__=yes
17033 else
17034 ac_cv_cpp_def___i386__=no
17036 rm -f conftest*
17039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17040 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17041 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17042 CFLAGS="$CFLAGS -D__i386__"
17043 LINTFLAGS="$LINTFLAGS -D__i386__"
17044 fi ;;
17045 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17046 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17047 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17048 $as_echo_n "(cached) " >&6
17049 else
17050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17051 /* end confdefs.h. */
17052 #ifndef __x86_64__
17054 #endif
17055 _ACEOF
17056 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17057 $EGREP "yes" >/dev/null 2>&1; then :
17058 ac_cv_cpp_def___x86_64__=yes
17059 else
17060 ac_cv_cpp_def___x86_64__=no
17062 rm -f conftest*
17065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17066 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17067 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17068 CFLAGS="$CFLAGS -D__x86_64__"
17069 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17070 fi ;;
17071 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17072 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17073 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17074 $as_echo_n "(cached) " >&6
17075 else
17076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17077 /* end confdefs.h. */
17078 #ifndef __sparc64__
17080 #endif
17081 _ACEOF
17082 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17083 $EGREP "yes" >/dev/null 2>&1; then :
17084 ac_cv_cpp_def___sparc64__=yes
17085 else
17086 ac_cv_cpp_def___sparc64__=no
17088 rm -f conftest*
17091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17092 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17093 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17094 CFLAGS="$CFLAGS -D__sparc64__"
17095 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17096 fi ;;
17097 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17098 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17099 if ${ac_cv_cpp_def___sparc__+:} false; then :
17100 $as_echo_n "(cached) " >&6
17101 else
17102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17103 /* end confdefs.h. */
17104 #ifndef __sparc__
17106 #endif
17107 _ACEOF
17108 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17109 $EGREP "yes" >/dev/null 2>&1; then :
17110 ac_cv_cpp_def___sparc__=yes
17111 else
17112 ac_cv_cpp_def___sparc__=no
17114 rm -f conftest*
17117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17118 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17119 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17120 CFLAGS="$CFLAGS -D__sparc__"
17121 LINTFLAGS="$LINTFLAGS -D__sparc__"
17122 fi ;;
17123 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17124 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17125 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17126 $as_echo_n "(cached) " >&6
17127 else
17128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17129 /* end confdefs.h. */
17130 #ifndef __powerpc64__
17132 #endif
17133 _ACEOF
17134 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17135 $EGREP "yes" >/dev/null 2>&1; then :
17136 ac_cv_cpp_def___powerpc64__=yes
17137 else
17138 ac_cv_cpp_def___powerpc64__=no
17140 rm -f conftest*
17143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17144 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17145 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17146 CFLAGS="$CFLAGS -D__powerpc64__"
17147 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17148 fi ;;
17149 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17150 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17151 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17152 $as_echo_n "(cached) " >&6
17153 else
17154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17155 /* end confdefs.h. */
17156 #ifndef __powerpc__
17158 #endif
17159 _ACEOF
17160 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17161 $EGREP "yes" >/dev/null 2>&1; then :
17162 ac_cv_cpp_def___powerpc__=yes
17163 else
17164 ac_cv_cpp_def___powerpc__=no
17166 rm -f conftest*
17169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17170 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17171 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17172 CFLAGS="$CFLAGS -D__powerpc__"
17173 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17174 fi ;;
17175 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17176 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17177 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17178 $as_echo_n "(cached) " >&6
17179 else
17180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17181 /* end confdefs.h. */
17182 #ifndef __aarch64__
17184 #endif
17185 _ACEOF
17186 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17187 $EGREP "yes" >/dev/null 2>&1; then :
17188 ac_cv_cpp_def___aarch64__=yes
17189 else
17190 ac_cv_cpp_def___aarch64__=no
17192 rm -f conftest*
17195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17196 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17197 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17198 CFLAGS="$CFLAGS -D__aarch64__"
17199 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17200 fi ;;
17201 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17202 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17203 if ${ac_cv_cpp_def___arm__+:} false; then :
17204 $as_echo_n "(cached) " >&6
17205 else
17206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17207 /* end confdefs.h. */
17208 #ifndef __arm__
17210 #endif
17211 _ACEOF
17212 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17213 $EGREP "yes" >/dev/null 2>&1; then :
17214 ac_cv_cpp_def___arm__=yes
17215 else
17216 ac_cv_cpp_def___arm__=no
17218 rm -f conftest*
17221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17222 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17223 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17224 CFLAGS="$CFLAGS -D__arm__"
17225 LINTFLAGS="$LINTFLAGS -D__arm__"
17226 fi ;;
17227 esac
17229 case $host_vendor in
17230 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17231 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17232 if ${ac_cv_cpp_def___sun__+:} false; then :
17233 $as_echo_n "(cached) " >&6
17234 else
17235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17236 /* end confdefs.h. */
17237 #ifndef __sun__
17239 #endif
17240 _ACEOF
17241 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17242 $EGREP "yes" >/dev/null 2>&1; then :
17243 ac_cv_cpp_def___sun__=yes
17244 else
17245 ac_cv_cpp_def___sun__=no
17247 rm -f conftest*
17250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17251 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17252 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17253 CFLAGS="$CFLAGS -D__sun__"
17254 LINTFLAGS="$LINTFLAGS -D__sun__"
17255 fi ;;
17256 esac
17262 ac_config_commands="$ac_config_commands include/stamp-h"
17264 $as_echo_n "creating Makefile rules..." >&6
17266 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17267 SOCKET_LIBS = $SOCKET_LIBS
17268 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17269 IOKIT_LIBS = $IOKIT_LIBS
17270 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17271 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17272 CORESERVICES_LIBS = $CORESERVICES_LIBS
17273 APPKIT_LIBS = $APPKIT_LIBS
17274 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17275 SECURITY_LIBS = $SECURITY_LIBS
17276 COREAUDIO_LIBS = $COREAUDIO_LIBS
17277 OPENAL_LIBS = $OPENAL_LIBS
17278 OPENCL_LIBS = $OPENCL_LIBS
17279 QUICKTIME_LIBS = $QUICKTIME_LIBS
17280 CARBON_LIBS = $CARBON_LIBS
17281 PTHREAD_LIBS = $PTHREAD_LIBS
17282 X_CFLAGS = $X_CFLAGS
17283 X_PRE_LIBS = $X_PRE_LIBS
17284 X_LIBS = $X_LIBS
17285 X_EXTRA_LIBS = $X_EXTRA_LIBS
17286 PCAP_LIBS = $PCAP_LIBS
17287 XML2_CFLAGS = $XML2_CFLAGS
17288 XML2_LIBS = $XML2_LIBS
17289 XSLT_CFLAGS = $XSLT_CFLAGS
17290 XSLT_LIBS = $XSLT_LIBS
17291 DBUS_CFLAGS = $DBUS_CFLAGS
17292 DBUS_LIBS = $DBUS_LIBS
17293 HAL_CFLAGS = $HAL_CFLAGS
17294 HAL_LIBS = $HAL_LIBS
17295 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17296 GNUTLS_LIBS = $GNUTLS_LIBS
17297 SANE_CFLAGS = $SANE_CFLAGS
17298 SANE_LIBS = $SANE_LIBS
17299 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17300 GPHOTO2_LIBS = $GPHOTO2_LIBS
17301 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17302 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17303 RESOLV_LIBS = $RESOLV_LIBS
17304 LCMS2_CFLAGS = $LCMS2_CFLAGS
17305 LCMS2_LIBS = $LCMS2_LIBS
17306 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17307 FREETYPE_LIBS = $FREETYPE_LIBS
17308 Z_LIBS = $Z_LIBS
17309 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17310 PULSE_CFLAGS = $PULSE_CFLAGS
17311 PULSE_LIBS = $PULSE_LIBS
17312 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17313 GSTREAMER_LIBS = $GSTREAMER_LIBS
17314 ALSA_LIBS = $ALSA_LIBS
17315 OSS4_CFLAGS = $OSS4_CFLAGS
17316 CAPI20_CFLAGS = $CAPI20_CFLAGS
17317 CAPI20_LIBS = $CAPI20_LIBS
17318 CUPS_CFLAGS = $CUPS_CFLAGS
17319 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17320 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17321 JPEG_CFLAGS = $JPEG_CFLAGS
17322 JPEG_LIBS = $JPEG_LIBS
17323 PNG_CFLAGS = $PNG_CFLAGS
17324 PNG_LIBS = $PNG_LIBS
17325 TIFF_CFLAGS = $TIFF_CFLAGS
17326 TIFF_LIBS = $TIFF_LIBS
17327 MPG123_CFLAGS = $MPG123_CFLAGS
17328 MPG123_LIBS = $MPG123_LIBS
17329 KSTAT_LIBS = $KSTAT_LIBS
17330 PROCSTAT_LIBS = $PROCSTAT_LIBS
17331 NETAPI_CFLAGS = $NETAPI_CFLAGS
17332 NETAPI_LIBS = $NETAPI_LIBS
17333 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17334 DL_LIBS = $DL_LIBS
17335 POLL_LIBS = $POLL_LIBS
17336 RT_LIBS = $RT_LIBS
17337 LDAP_LIBS = $LDAP_LIBS
17342 wine_fn_append_rule "
17343 # Rules automatically generated by configure
17345 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17347 .INIT: Makefile
17348 .MAKEFILEDEPS:
17349 all: Makefile
17350 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17351 @./config.status Make.tmp Makefile
17352 depend: \$(MAKEDEP) dummy
17353 \$(MAKEDEP)"
17355 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17356 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17358 if test "x$enable_fonts" != xno; then
17359 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17360 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17361 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17362 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17363 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17364 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17366 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17367 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17368 ac_config_links="$ac_config_links wine:tools/winewrapper"
17369 wine_fn_config_symlink wine
17370 if test "x$enable_win64" != xno; then
17371 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17372 wine_fn_config_symlink wine64
17375 wine_fn_config_dll acledit enable_acledit
17376 wine_fn_config_dll aclui enable_aclui implib
17377 wine_fn_config_dll activeds enable_activeds implib
17378 wine_fn_config_dll actxprxy enable_actxprxy clean
17379 wine_fn_config_lib adsiid
17380 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17381 wine_fn_config_test dlls/advapi32/tests advapi32_test
17382 wine_fn_config_dll advpack enable_advpack implib
17383 wine_fn_config_test dlls/advpack/tests advpack_test
17384 wine_fn_config_dll amstream enable_amstream clean
17385 wine_fn_config_test dlls/amstream/tests amstream_test
17386 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17387 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17388 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17389 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17390 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17391 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17392 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17393 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17394 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17395 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17396 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17397 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17398 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17399 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17400 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17401 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17402 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17403 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17404 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17405 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17406 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17407 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17408 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17409 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17410 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17411 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17412 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17413 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17414 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17415 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17416 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17417 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17418 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17419 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17420 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17421 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17422 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17423 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17424 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17425 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17426 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17427 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17428 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17429 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17430 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17431 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17432 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17433 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17434 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17435 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17436 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17437 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17438 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17439 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17440 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17441 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17442 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17443 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17444 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17445 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17446 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17447 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17448 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17449 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17450 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17451 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17452 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17453 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17454 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17455 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17456 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17457 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17458 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17459 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17460 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17461 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17462 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17463 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17464 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17465 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17466 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17467 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17468 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17469 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17470 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17471 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17472 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17473 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17474 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17475 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17476 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17477 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17478 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17479 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17480 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17481 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17482 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17483 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17484 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17485 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17486 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17487 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17488 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17489 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17490 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17491 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17492 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17493 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17494 wine_fn_config_dll apphelp enable_apphelp
17495 wine_fn_config_test dlls/apphelp/tests apphelp_test
17496 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17497 wine_fn_config_dll atl enable_atl clean,implib
17498 wine_fn_config_test dlls/atl/tests atl_test
17499 wine_fn_config_dll atl100 enable_atl100 clean,implib
17500 wine_fn_config_test dlls/atl100/tests atl100_test
17501 wine_fn_config_dll atl110 enable_atl110 clean
17502 wine_fn_config_dll atl80 enable_atl80 clean,implib
17503 wine_fn_config_test dlls/atl80/tests atl80_test
17504 wine_fn_config_dll atl90 enable_atl90 clean
17505 wine_fn_config_dll authz enable_authz
17506 wine_fn_config_dll avicap32 enable_avicap32 implib
17507 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
17508 wine_fn_config_test dlls/avifil32/tests avifil32_test
17509 wine_fn_config_dll avifile.dll16 enable_win16
17510 wine_fn_config_dll avrt enable_avrt implib
17511 wine_fn_config_dll bcrypt enable_bcrypt implib
17512 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17513 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17514 wine_fn_config_dll browseui enable_browseui clean
17515 wine_fn_config_test dlls/browseui/tests browseui_test
17516 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17517 wine_fn_config_dll cabinet enable_cabinet implib
17518 wine_fn_config_test dlls/cabinet/tests cabinet_test
17519 wine_fn_config_dll capi2032 enable_capi2032 implib
17520 wine_fn_config_dll cards enable_cards implib
17521 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17522 wine_fn_config_dll clusapi enable_clusapi implib
17523 wine_fn_config_dll combase enable_combase
17524 wine_fn_config_test dlls/combase/tests combase_test
17525 wine_fn_config_dll comcat enable_comcat
17526 wine_fn_config_test dlls/comcat/tests comcat_test
17527 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
17528 wine_fn_config_test dlls/comctl32/tests comctl32_test
17529 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
17530 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17531 wine_fn_config_dll comm.drv16 enable_win16
17532 wine_fn_config_dll commdlg.dll16 enable_win16
17533 wine_fn_config_dll compobj.dll16 enable_win16
17534 wine_fn_config_dll compstui enable_compstui implib
17535 wine_fn_config_dll comsvcs enable_comsvcs implib
17536 wine_fn_config_dll connect enable_connect
17537 wine_fn_config_dll credui enable_credui clean,implib
17538 wine_fn_config_test dlls/credui/tests credui_test
17539 wine_fn_config_dll crtdll enable_crtdll implib
17540 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
17541 wine_fn_config_test dlls/crypt32/tests crypt32_test
17542 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17543 wine_fn_config_dll cryptdll enable_cryptdll implib
17544 wine_fn_config_dll cryptext enable_cryptext
17545 wine_fn_config_dll cryptnet enable_cryptnet implib
17546 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17547 wine_fn_config_dll cryptui enable_cryptui clean,implib
17548 wine_fn_config_test dlls/cryptui/tests cryptui_test
17549 wine_fn_config_dll ctapi32 enable_ctapi32
17550 wine_fn_config_dll ctl3d.dll16 enable_win16
17551 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17552 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17553 wine_fn_config_dll d2d1 enable_d2d1 implib
17554 wine_fn_config_test dlls/d2d1/tests d2d1_test
17555 wine_fn_config_dll d3d10 enable_d3d10 implib
17556 wine_fn_config_test dlls/d3d10/tests d3d10_test
17557 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17558 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17559 wine_fn_config_dll d3d10core enable_d3d10core implib
17560 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17561 wine_fn_config_dll d3d11 enable_d3d11 implib
17562 wine_fn_config_test dlls/d3d11/tests d3d11_test
17563 wine_fn_config_dll d3d8 enable_d3d8 implib
17564 wine_fn_config_test dlls/d3d8/tests d3d8_test
17565 wine_fn_config_dll d3d9 enable_d3d9 implib
17566 wine_fn_config_test dlls/d3d9/tests d3d9_test
17567 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17568 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17569 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17570 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17571 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17572 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17573 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17574 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17575 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17576 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17577 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17578 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17579 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17580 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17581 wine_fn_config_dll d3dim enable_d3dim implib
17582 wine_fn_config_dll d3drm enable_d3drm implib
17583 wine_fn_config_test dlls/d3drm/tests d3drm_test
17584 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17585 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17586 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17587 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17588 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17589 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17590 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17591 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17592 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17593 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17594 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17595 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17596 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17597 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17598 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17599 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17600 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17601 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17602 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17603 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17604 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17605 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17606 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17607 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17608 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17609 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17610 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17611 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17612 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17613 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17614 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17615 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17616 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17617 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17618 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17619 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17620 wine_fn_config_dll davclnt enable_davclnt
17621 wine_fn_config_dll dbgeng enable_dbgeng implib
17622 wine_fn_config_dll dbghelp enable_dbghelp implib
17623 wine_fn_config_dll dciman32 enable_dciman32 implib
17624 wine_fn_config_dll ddeml.dll16 enable_win16
17625 wine_fn_config_dll ddraw enable_ddraw clean,implib
17626 wine_fn_config_test dlls/ddraw/tests ddraw_test
17627 wine_fn_config_dll ddrawex enable_ddrawex clean
17628 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17629 wine_fn_config_dll devenum enable_devenum clean
17630 wine_fn_config_test dlls/devenum/tests devenum_test
17631 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17632 wine_fn_config_dll difxapi enable_difxapi
17633 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
17634 wine_fn_config_test dlls/dinput/tests dinput_test
17635 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17636 wine_fn_config_test dlls/dinput8/tests dinput8_test
17637 wine_fn_config_dll dispdib.dll16 enable_win16
17638 wine_fn_config_dll dispex enable_dispex clean
17639 wine_fn_config_test dlls/dispex/tests dispex_test
17640 wine_fn_config_dll display.drv16 enable_win16
17641 wine_fn_config_dll dmband enable_dmband clean
17642 wine_fn_config_test dlls/dmband/tests dmband_test
17643 wine_fn_config_dll dmcompos enable_dmcompos clean
17644 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17645 wine_fn_config_dll dmime enable_dmime clean
17646 wine_fn_config_test dlls/dmime/tests dmime_test
17647 wine_fn_config_dll dmloader enable_dmloader clean
17648 wine_fn_config_test dlls/dmloader/tests dmloader_test
17649 wine_fn_config_dll dmscript enable_dmscript clean
17650 wine_fn_config_test dlls/dmscript/tests dmscript_test
17651 wine_fn_config_dll dmstyle enable_dmstyle clean
17652 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17653 wine_fn_config_dll dmsynth enable_dmsynth clean
17654 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17655 wine_fn_config_dll dmusic enable_dmusic clean
17656 wine_fn_config_test dlls/dmusic/tests dmusic_test
17657 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17658 wine_fn_config_dll dnsapi enable_dnsapi implib
17659 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17660 wine_fn_config_dll dplay enable_dplay implib
17661 wine_fn_config_dll dplayx enable_dplayx clean,implib
17662 wine_fn_config_test dlls/dplayx/tests dplayx_test
17663 wine_fn_config_dll dpnaddr enable_dpnaddr
17664 wine_fn_config_dll dpnet enable_dpnet clean,implib
17665 wine_fn_config_test dlls/dpnet/tests dpnet_test
17666 wine_fn_config_dll dpnhpast enable_dpnhpast
17667 wine_fn_config_dll dpnlobby enable_dpnlobby
17668 wine_fn_config_dll dpvoice enable_dpvoice clean
17669 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17670 wine_fn_config_dll dpwsockx enable_dpwsockx
17671 wine_fn_config_dll drmclien enable_drmclien
17672 wine_fn_config_dll dsound enable_dsound clean,implib
17673 wine_fn_config_test dlls/dsound/tests dsound_test
17674 wine_fn_config_dll dssenh enable_dssenh
17675 wine_fn_config_test dlls/dssenh/tests dssenh_test
17676 wine_fn_config_dll dswave enable_dswave clean
17677 wine_fn_config_test dlls/dswave/tests dswave_test
17678 wine_fn_config_dll dwmapi enable_dwmapi implib
17679 wine_fn_config_dll dwrite enable_dwrite implib
17680 wine_fn_config_test dlls/dwrite/tests dwrite_test
17681 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17682 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17683 wine_fn_config_lib dxerr8
17684 wine_fn_config_lib dxerr9
17685 wine_fn_config_dll dxgi enable_dxgi implib
17686 wine_fn_config_test dlls/dxgi/tests dxgi_test
17687 wine_fn_config_lib dxguid
17688 wine_fn_config_dll dxva2 enable_dxva2
17689 wine_fn_config_dll esent enable_esent
17690 wine_fn_config_dll evr enable_evr
17691 wine_fn_config_dll explorerframe enable_explorerframe clean
17692 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17693 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17694 wine_fn_config_dll faultrep enable_faultrep implib
17695 wine_fn_config_test dlls/faultrep/tests faultrep_test
17696 wine_fn_config_dll fltlib enable_fltlib
17697 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17698 wine_fn_config_dll fntcache enable_fntcache
17699 wine_fn_config_dll fontsub enable_fontsub
17700 wine_fn_config_dll fusion enable_fusion
17701 wine_fn_config_test dlls/fusion/tests fusion_test
17702 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17703 wine_fn_config_dll gameux enable_gameux clean
17704 wine_fn_config_test dlls/gameux/tests gameux_test
17705 wine_fn_config_dll gdi.exe16 enable_win16
17706 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
17707 wine_fn_config_test dlls/gdi32/tests gdi32_test
17708 wine_fn_config_dll gdiplus enable_gdiplus implib
17709 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17710 wine_fn_config_dll glu32 enable_glu32 implib
17711 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
17712 wine_fn_config_dll gpkcsp enable_gpkcsp
17713 wine_fn_config_dll hal enable_hal
17714 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
17715 wine_fn_config_dll hid enable_hid implib
17716 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17717 wine_fn_config_dll hlink enable_hlink clean,implib
17718 wine_fn_config_test dlls/hlink/tests hlink_test
17719 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17720 wine_fn_config_dll httpapi enable_httpapi
17721 wine_fn_config_dll iccvid enable_iccvid clean
17722 wine_fn_config_dll icmp enable_icmp
17723 wine_fn_config_dll ieframe enable_ieframe clean,implib
17724 wine_fn_config_test dlls/ieframe/tests ieframe_test
17725 wine_fn_config_dll ifsmgr.vxd enable_win16
17726 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17727 wine_fn_config_dll imagehlp enable_imagehlp implib
17728 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17729 wine_fn_config_dll imm.dll16 enable_win16
17730 wine_fn_config_dll imm32 enable_imm32 implib
17731 wine_fn_config_test dlls/imm32/tests imm32_test
17732 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17733 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17734 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
17735 wine_fn_config_dll inetmib1 enable_inetmib1
17736 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17737 wine_fn_config_dll infosoft enable_infosoft clean
17738 wine_fn_config_test dlls/infosoft/tests infosoft_test
17739 wine_fn_config_dll initpki enable_initpki
17740 wine_fn_config_dll inkobj enable_inkobj
17741 wine_fn_config_dll inseng enable_inseng clean
17742 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17743 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17744 wine_fn_config_dll irprops.cpl enable_irprops_cpl
17745 wine_fn_config_dll itircl enable_itircl
17746 wine_fn_config_dll itss enable_itss clean
17747 wine_fn_config_test dlls/itss/tests itss_test
17748 wine_fn_config_dll joy.cpl enable_joy_cpl clean
17749 wine_fn_config_dll jscript enable_jscript clean
17750 wine_fn_config_test dlls/jscript/tests jscript_test
17751 wine_fn_config_dll jsproxy enable_jsproxy implib
17752 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
17753 wine_fn_config_test dlls/kernel32/tests kernel32_test
17754 wine_fn_config_dll kernelbase enable_kernelbase
17755 wine_fn_config_dll keyboard.drv16 enable_win16
17756 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17757 wine_fn_config_dll ksuser enable_ksuser
17758 wine_fn_config_dll ktmw32 enable_ktmw32
17759 wine_fn_config_dll loadperf enable_loadperf implib
17760 wine_fn_config_dll localspl enable_localspl clean
17761 wine_fn_config_test dlls/localspl/tests localspl_test
17762 wine_fn_config_dll localui enable_localui clean
17763 wine_fn_config_test dlls/localui/tests localui_test
17764 wine_fn_config_dll lz32 enable_lz32 implib
17765 wine_fn_config_test dlls/lz32/tests lz32_test
17766 wine_fn_config_dll lzexpand.dll16 enable_win16
17767 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
17768 wine_fn_config_test dlls/mapi32/tests mapi32_test
17769 wine_fn_config_dll mapistub enable_mapistub
17770 wine_fn_config_dll mciavi32 enable_mciavi32
17771 wine_fn_config_dll mcicda enable_mcicda
17772 wine_fn_config_dll mciqtz32 enable_mciqtz32
17773 wine_fn_config_dll mciseq enable_mciseq
17774 wine_fn_config_dll mciwave enable_mciwave
17775 wine_fn_config_dll mf enable_mf
17776 wine_fn_config_dll mfplat enable_mfplat
17777 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17778 wine_fn_config_dll mgmtapi enable_mgmtapi
17779 wine_fn_config_dll midimap enable_midimap
17780 wine_fn_config_dll mlang enable_mlang clean,implib
17781 wine_fn_config_test dlls/mlang/tests mlang_test
17782 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17783 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17784 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17785 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17786 wine_fn_config_dll mmdevldr.vxd enable_win16
17787 wine_fn_config_dll mmsystem.dll16 enable_win16
17788 wine_fn_config_dll monodebg.vxd enable_win16
17789 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17790 wine_fn_config_dll mouse.drv16 enable_win16
17791 wine_fn_config_dll mpr enable_mpr clean,implib
17792 wine_fn_config_test dlls/mpr/tests mpr_test
17793 wine_fn_config_dll mprapi enable_mprapi implib
17794 wine_fn_config_dll msacm.dll16 enable_win16
17795 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17796 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
17797 wine_fn_config_test dlls/msacm32/tests msacm32_test
17798 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17799 wine_fn_config_dll msasn1 enable_msasn1 implib
17800 wine_fn_config_dll mscat32 enable_mscat32
17801 wine_fn_config_dll mscms enable_mscms implib
17802 wine_fn_config_test dlls/mscms/tests mscms_test
17803 wine_fn_config_dll mscoree enable_mscoree clean
17804 wine_fn_config_test dlls/mscoree/tests mscoree_test
17805 wine_fn_config_dll msctf enable_msctf clean
17806 wine_fn_config_test dlls/msctf/tests msctf_test
17807 wine_fn_config_dll msctfp enable_msctfp clean
17808 wine_fn_config_dll msdaps enable_msdaps clean
17809 wine_fn_config_dll msdelta enable_msdelta
17810 wine_fn_config_dll msdmo enable_msdmo implib
17811 wine_fn_config_test dlls/msdmo/tests msdmo_test
17812 wine_fn_config_dll msdrm enable_msdrm
17813 wine_fn_config_dll msftedit enable_msftedit
17814 wine_fn_config_dll msg711.acm enable_msg711_acm
17815 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17816 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17817 wine_fn_config_dll mshtml enable_mshtml clean,implib
17818 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17819 wine_fn_config_dll msi enable_msi clean,implib
17820 wine_fn_config_test dlls/msi/tests msi_test
17821 wine_fn_config_dll msident enable_msident clean
17822 wine_fn_config_dll msimg32 enable_msimg32 implib
17823 wine_fn_config_dll msimsg enable_msimsg
17824 wine_fn_config_dll msimtf enable_msimtf clean
17825 wine_fn_config_dll msisip enable_msisip
17826 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17827 wine_fn_config_dll msls31 enable_msls31
17828 wine_fn_config_dll msnet32 enable_msnet32
17829 wine_fn_config_dll mspatcha enable_mspatcha implib
17830 wine_fn_config_dll msrle32 enable_msrle32 clean
17831 wine_fn_config_test dlls/msrle32/tests msrle32_test
17832 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
17833 wine_fn_config_dll mssign32 enable_mssign32
17834 wine_fn_config_dll mssip32 enable_mssip32
17835 wine_fn_config_dll mstask enable_mstask clean
17836 wine_fn_config_test dlls/mstask/tests mstask_test
17837 wine_fn_config_dll msvcirt enable_msvcirt
17838 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
17839 wine_fn_config_dll msvcm80 enable_msvcm80
17840 wine_fn_config_dll msvcm90 enable_msvcm90
17841 wine_fn_config_dll msvcp100 enable_msvcp100
17842 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17843 wine_fn_config_dll msvcp110 enable_msvcp110
17844 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
17845 wine_fn_config_dll msvcp120 enable_msvcp120
17846 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
17847 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17848 wine_fn_config_dll msvcp60 enable_msvcp60
17849 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17850 wine_fn_config_dll msvcp70 enable_msvcp70
17851 wine_fn_config_dll msvcp71 enable_msvcp71
17852 wine_fn_config_dll msvcp80 enable_msvcp80
17853 wine_fn_config_dll msvcp90 enable_msvcp90
17854 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17855 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17856 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17857 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17858 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17859 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17860 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17861 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17862 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17863 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17864 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17865 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17866 wine_fn_config_dll msvcrt enable_msvcrt implib
17867 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17868 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17869 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17870 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17871 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17872 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
17873 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17874 wine_fn_config_dll msvidc32 enable_msvidc32 clean
17875 wine_fn_config_dll msvideo.dll16 enable_win16
17876 wine_fn_config_dll mswsock enable_mswsock implib
17877 wine_fn_config_dll msxml enable_msxml clean
17878 wine_fn_config_dll msxml2 enable_msxml2 clean
17879 wine_fn_config_dll msxml3 enable_msxml3 clean
17880 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17881 wine_fn_config_dll msxml4 enable_msxml4 clean
17882 wine_fn_config_dll msxml6 enable_msxml6 clean
17883 wine_fn_config_dll nddeapi enable_nddeapi implib
17884 wine_fn_config_dll ndis.sys enable_ndis_sys
17885 wine_fn_config_dll netapi32 enable_netapi32 implib
17886 wine_fn_config_test dlls/netapi32/tests netapi32_test
17887 wine_fn_config_dll netcfgx enable_netcfgx clean
17888 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17889 wine_fn_config_dll netprofm enable_netprofm clean
17890 wine_fn_config_test dlls/netprofm/tests netprofm_test
17891 wine_fn_config_dll newdev enable_newdev implib
17892 wine_fn_config_dll normaliz enable_normaliz implib
17893 wine_fn_config_dll npmshtml enable_npmshtml
17894 wine_fn_config_dll npptools enable_npptools
17895 wine_fn_config_dll ntdll enable_ntdll implib
17896 wine_fn_config_test dlls/ntdll/tests ntdll_test
17897 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17898 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17899 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17900 wine_fn_config_dll ntprint enable_ntprint
17901 wine_fn_config_test dlls/ntprint/tests ntprint_test
17902 wine_fn_config_dll objsel enable_objsel clean
17903 wine_fn_config_dll odbc32 enable_odbc32 implib
17904 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17905 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17906 wine_fn_config_dll odbccu32 enable_odbccu32
17907 wine_fn_config_dll ole2.dll16 enable_win16
17908 wine_fn_config_dll ole2conv.dll16 enable_win16
17909 wine_fn_config_dll ole2disp.dll16 enable_win16
17910 wine_fn_config_dll ole2nls.dll16 enable_win16
17911 wine_fn_config_dll ole2prox.dll16 enable_win16
17912 wine_fn_config_dll ole2thk.dll16 enable_win16
17913 wine_fn_config_dll ole32 enable_ole32 clean,implib
17914 wine_fn_config_test dlls/ole32/tests ole32_test
17915 wine_fn_config_dll oleacc enable_oleacc clean,implib
17916 wine_fn_config_test dlls/oleacc/tests oleacc_test
17917 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
17918 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17919 wine_fn_config_dll olecli.dll16 enable_win16
17920 wine_fn_config_dll olecli32 enable_olecli32 implib
17921 wine_fn_config_dll oledb32 enable_oledb32 clean
17922 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17923 wine_fn_config_dll oledlg enable_oledlg clean,implib
17924 wine_fn_config_test dlls/oledlg/tests oledlg_test
17925 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
17926 wine_fn_config_dll olesvr.dll16 enable_win16
17927 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17928 wine_fn_config_dll olethk32 enable_olethk32
17929 wine_fn_config_dll openal32 enable_openal32
17930 wine_fn_config_dll opencl enable_opencl
17931 wine_fn_config_dll opengl32 enable_opengl32 implib
17932 wine_fn_config_test dlls/opengl32/tests opengl32_test
17933 wine_fn_config_dll packager enable_packager clean
17934 wine_fn_config_test dlls/packager/tests packager_test
17935 wine_fn_config_dll pdh enable_pdh implib
17936 wine_fn_config_test dlls/pdh/tests pdh_test
17937 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17938 wine_fn_config_dll pidgen enable_pidgen
17939 wine_fn_config_dll powrprof enable_powrprof implib
17940 wine_fn_config_dll printui enable_printui
17941 wine_fn_config_dll prntvpt enable_prntvpt
17942 wine_fn_config_dll propsys enable_propsys clean,implib
17943 wine_fn_config_test dlls/propsys/tests propsys_test
17944 wine_fn_config_dll psapi enable_psapi implib
17945 wine_fn_config_test dlls/psapi/tests psapi_test
17946 wine_fn_config_dll pstorec enable_pstorec clean
17947 wine_fn_config_dll qcap enable_qcap
17948 wine_fn_config_test dlls/qcap/tests qcap_test
17949 wine_fn_config_dll qedit enable_qedit clean
17950 wine_fn_config_test dlls/qedit/tests qedit_test
17951 wine_fn_config_dll qmgr enable_qmgr clean
17952 wine_fn_config_test dlls/qmgr/tests qmgr_test
17953 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17954 wine_fn_config_dll quartz enable_quartz clean,implib
17955 wine_fn_config_test dlls/quartz/tests quartz_test clean
17956 wine_fn_config_dll query enable_query
17957 wine_fn_config_dll rasapi16.dll16 enable_win16
17958 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17959 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17960 wine_fn_config_dll rasdlg enable_rasdlg implib
17961 wine_fn_config_dll regapi enable_regapi
17962 wine_fn_config_dll resutils enable_resutils implib
17963 wine_fn_config_dll riched20 enable_riched20 clean,implib
17964 wine_fn_config_test dlls/riched20/tests riched20_test
17965 wine_fn_config_dll riched32 enable_riched32
17966 wine_fn_config_test dlls/riched32/tests riched32_test
17967 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17968 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17969 wine_fn_config_dll rsabase enable_rsabase
17970 wine_fn_config_dll rsaenh enable_rsaenh implib
17971 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17972 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17973 wine_fn_config_dll rtutils enable_rtutils implib
17974 wine_fn_config_dll samlib enable_samlib
17975 wine_fn_config_dll sane.ds enable_sane_ds clean
17976 wine_fn_config_dll scarddlg enable_scarddlg
17977 wine_fn_config_dll sccbase enable_sccbase
17978 wine_fn_config_dll schannel enable_schannel
17979 wine_fn_config_test dlls/schannel/tests schannel_test
17980 wine_fn_config_dll schedsvc enable_schedsvc clean
17981 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17982 wine_fn_config_dll scrrun enable_scrrun clean
17983 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17984 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17985 wine_fn_config_dll secur32 enable_secur32 implib
17986 wine_fn_config_test dlls/secur32/tests secur32_test
17987 wine_fn_config_dll security enable_security
17988 wine_fn_config_dll sensapi enable_sensapi implib
17989 wine_fn_config_dll serialui enable_serialui clean,implib
17990 wine_fn_config_test dlls/serialui/tests serialui_test
17991 wine_fn_config_dll setupapi enable_setupapi clean,implib
17992 wine_fn_config_test dlls/setupapi/tests setupapi_test
17993 wine_fn_config_dll setupx.dll16 enable_win16
17994 wine_fn_config_dll sfc enable_sfc implib
17995 wine_fn_config_dll sfc_os enable_sfc_os implib
17996 wine_fn_config_dll shdoclc enable_shdoclc clean
17997 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17998 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17999 wine_fn_config_dll shell.dll16 enable_win16
18000 wine_fn_config_dll shell32 enable_shell32 clean,implib
18001 wine_fn_config_test dlls/shell32/tests shell32_test
18002 wine_fn_config_dll shfolder enable_shfolder implib
18003 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18004 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18005 wine_fn_config_dll slbcsp enable_slbcsp
18006 wine_fn_config_dll slc enable_slc implib
18007 wine_fn_config_test dlls/slc/tests slc_test
18008 wine_fn_config_dll snmpapi enable_snmpapi implib
18009 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18010 wine_fn_config_dll softpub enable_softpub
18011 wine_fn_config_dll sound.drv16 enable_win16
18012 wine_fn_config_dll spoolss enable_spoolss implib
18013 wine_fn_config_test dlls/spoolss/tests spoolss_test
18014 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18015 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18016 wine_fn_config_dll sti enable_sti clean,implib
18017 wine_fn_config_test dlls/sti/tests sti_test
18018 wine_fn_config_dll storage.dll16 enable_win16
18019 wine_fn_config_dll stress.dll16 enable_win16
18020 wine_fn_config_lib strmbase
18021 wine_fn_config_lib strmiids
18022 wine_fn_config_dll svrapi enable_svrapi
18023 wine_fn_config_dll sxs enable_sxs implib
18024 wine_fn_config_test dlls/sxs/tests sxs_test
18025 wine_fn_config_dll system.drv16 enable_win16
18026 wine_fn_config_dll t2embed enable_t2embed implib
18027 wine_fn_config_test dlls/t2embed/tests t2embed_test
18028 wine_fn_config_dll tapi32 enable_tapi32 implib
18029 wine_fn_config_dll taskschd enable_taskschd clean
18030 wine_fn_config_test dlls/taskschd/tests taskschd_test
18031 wine_fn_config_dll tdi.sys enable_tdi_sys
18032 wine_fn_config_dll toolhelp.dll16 enable_win16
18033 wine_fn_config_dll traffic enable_traffic
18034 wine_fn_config_dll twain.dll16 enable_win16
18035 wine_fn_config_dll twain_32 enable_twain_32
18036 wine_fn_config_test dlls/twain_32/tests twain_32_test
18037 wine_fn_config_dll typelib.dll16 enable_win16
18038 wine_fn_config_dll ucrtbase enable_ucrtbase
18039 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18040 wine_fn_config_dll unicows enable_unicows implib
18041 wine_fn_config_dll updspapi enable_updspapi
18042 wine_fn_config_dll url enable_url implib
18043 wine_fn_config_dll urlmon enable_urlmon clean,implib
18044 wine_fn_config_test dlls/urlmon/tests urlmon_test
18045 wine_fn_config_dll usbd.sys enable_usbd_sys implib
18046 wine_fn_config_dll user.exe16 enable_win16
18047 wine_fn_config_dll user32 enable_user32 clean,implib
18048 wine_fn_config_test dlls/user32/tests user32_test
18049 wine_fn_config_dll userenv enable_userenv implib
18050 wine_fn_config_test dlls/userenv/tests userenv_test
18051 wine_fn_config_dll usp10 enable_usp10 implib
18052 wine_fn_config_test dlls/usp10/tests usp10_test
18053 wine_fn_config_lib uuid
18054 wine_fn_config_dll uxtheme enable_uxtheme implib
18055 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18056 wine_fn_config_dll vbscript enable_vbscript clean
18057 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18058 wine_fn_config_dll vcomp enable_vcomp
18059 wine_fn_config_test dlls/vcomp/tests vcomp_test
18060 wine_fn_config_dll vcomp100 enable_vcomp100
18061 wine_fn_config_dll vcomp110 enable_vcomp110
18062 wine_fn_config_dll vcomp120 enable_vcomp120
18063 wine_fn_config_dll vcomp90 enable_vcomp90
18064 wine_fn_config_dll vcruntime140 enable_vcruntime140
18065 wine_fn_config_dll vdhcp.vxd enable_win16
18066 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18067 wine_fn_config_dll ver.dll16 enable_win16
18068 wine_fn_config_dll version enable_version implib
18069 wine_fn_config_test dlls/version/tests version_test
18070 wine_fn_config_dll vmm.vxd enable_win16
18071 wine_fn_config_dll vnbt.vxd enable_win16
18072 wine_fn_config_dll vnetbios.vxd enable_win16
18073 wine_fn_config_dll vssapi enable_vssapi
18074 wine_fn_config_dll vtdapi.vxd enable_win16
18075 wine_fn_config_dll vwin32.vxd enable_win16
18076 wine_fn_config_dll w32skrnl enable_win16
18077 wine_fn_config_dll w32sys.dll16 enable_win16
18078 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18079 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18080 wine_fn_config_dll wbemprox enable_wbemprox clean
18081 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18082 wine_fn_config_dll webservices enable_webservices implib
18083 wine_fn_config_test dlls/webservices/tests webservices_test
18084 wine_fn_config_dll wer enable_wer implib
18085 wine_fn_config_test dlls/wer/tests wer_test
18086 wine_fn_config_dll wevtapi enable_wevtapi
18087 wine_fn_config_dll wiaservc enable_wiaservc clean
18088 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18089 wine_fn_config_dll wimgapi enable_wimgapi
18090 wine_fn_config_dll win32s16.dll16 enable_win16
18091 wine_fn_config_dll win87em.dll16 enable_win16
18092 wine_fn_config_dll winaspi.dll16 enable_win16
18093 wine_fn_config_dll windebug.dll16 enable_win16
18094 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18095 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18096 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18097 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18098 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18099 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18100 wine_fn_config_lib winecrt0
18101 wine_fn_config_dll wined3d enable_wined3d implib
18102 wine_fn_config_dll winegstreamer enable_winegstreamer
18103 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18104 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18105 wine_fn_config_dll winemapi enable_winemapi
18106 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18107 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18108 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18109 wine_fn_config_dll wineps16.drv16 enable_win16
18110 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18111 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18112 wine_fn_config_dll winex11.drv enable_winex11_drv
18113 wine_fn_config_dll wing.dll16 enable_win16
18114 wine_fn_config_dll wing32 enable_wing32
18115 wine_fn_config_dll winhttp enable_winhttp clean,implib
18116 wine_fn_config_test dlls/winhttp/tests winhttp_test
18117 wine_fn_config_dll wininet enable_wininet clean,implib
18118 wine_fn_config_test dlls/wininet/tests wininet_test
18119 wine_fn_config_dll winmm enable_winmm clean,implib
18120 wine_fn_config_test dlls/winmm/tests winmm_test
18121 wine_fn_config_dll winnls.dll16 enable_win16
18122 wine_fn_config_dll winnls32 enable_winnls32 implib
18123 wine_fn_config_dll winscard enable_winscard implib
18124 wine_fn_config_dll winsock.dll16 enable_win16
18125 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18126 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18127 wine_fn_config_dll winsta enable_winsta
18128 wine_fn_config_dll wintab.dll16 enable_win16
18129 wine_fn_config_dll wintab32 enable_wintab32 implib
18130 wine_fn_config_test dlls/wintab32/tests wintab32_test
18131 wine_fn_config_dll wintrust enable_wintrust implib
18132 wine_fn_config_test dlls/wintrust/tests wintrust_test
18133 wine_fn_config_dll wlanapi enable_wlanapi
18134 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18135 wine_fn_config_test dlls/wldap32/tests wldap32_test
18136 wine_fn_config_dll wmasf enable_wmasf
18137 wine_fn_config_dll wmi enable_wmi
18138 wine_fn_config_dll wmiutils enable_wmiutils clean
18139 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18140 wine_fn_config_dll wmp enable_wmp clean
18141 wine_fn_config_test dlls/wmp/tests wmp_test
18142 wine_fn_config_dll wmvcore enable_wmvcore
18143 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18144 wine_fn_config_dll wow32 enable_win16 implib
18145 wine_fn_config_dll wpcap enable_wpcap
18146 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18147 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18148 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18149 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18150 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18151 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18152 wine_fn_config_dll wsock32 enable_wsock32 implib
18153 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18154 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18155 wine_fn_config_dll wuapi enable_wuapi clean
18156 wine_fn_config_dll wuaueng enable_wuaueng
18157 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18158 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18159 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18160 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18161 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18162 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18163 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18164 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18165 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18166 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18167 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18168 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18169 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18170 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18171 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18172 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18173 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18174 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18175 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18176 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18177 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18178 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18179 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18180 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18181 wine_fn_config_dll xinput1_1 enable_xinput1_1
18182 wine_fn_config_dll xinput1_2 enable_xinput1_2
18183 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18184 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18185 wine_fn_config_dll xinput1_4 enable_xinput1_4
18186 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18187 wine_fn_config_dll xmllite enable_xmllite implib
18188 wine_fn_config_test dlls/xmllite/tests xmllite_test
18189 wine_fn_config_dll xolehlp enable_xolehlp
18190 wine_fn_config_dll xpsprint enable_xpsprint
18191 wine_fn_config_dll xpssvcs enable_xpssvcs
18192 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18193 wine_fn_config_makefile include enable_include clean,install-dev
18194 wine_fn_config_makefile libs/port enable_libs_port
18195 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18196 wine_fn_config_makefile libs/wpp enable_libs_wpp
18197 wine_fn_config_makefile loader enable_loader clean,install-lib
18198 wine_fn_config_makefile po enable_po clean
18199 wine_fn_config_program arp enable_arp install
18200 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18201 wine_fn_config_program attrib enable_attrib clean,install
18202 wine_fn_config_program cabarc enable_cabarc install
18203 wine_fn_config_program cacls enable_cacls install
18204 wine_fn_config_program clock enable_clock clean,install
18205 wine_fn_config_program cmd enable_cmd clean,install
18206 wine_fn_config_test programs/cmd/tests cmd.exe_test
18207 wine_fn_config_program conhost enable_conhost install
18208 wine_fn_config_program control enable_control install
18209 wine_fn_config_program cscript enable_cscript clean,install
18210 wine_fn_config_program dpnsvr enable_dpnsvr install
18211 wine_fn_config_program dxdiag enable_dxdiag clean,install
18212 wine_fn_config_program eject enable_eject install
18213 wine_fn_config_program expand enable_expand install
18214 wine_fn_config_program explorer enable_explorer clean,install
18215 wine_fn_config_program extrac32 enable_extrac32 install
18216 wine_fn_config_program findstr enable_findstr install
18217 wine_fn_config_program hh enable_hh install
18218 wine_fn_config_program hostname enable_hostname clean,install
18219 wine_fn_config_program icacls enable_icacls install
18220 wine_fn_config_program icinfo enable_icinfo install
18221 wine_fn_config_program iexplore enable_iexplore install
18222 wine_fn_config_program ipconfig enable_ipconfig clean,install
18223 wine_fn_config_program lodctr enable_lodctr install
18224 wine_fn_config_program mofcomp enable_mofcomp install
18225 wine_fn_config_program mshta enable_mshta install
18226 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18227 wine_fn_config_program net enable_net clean,install
18228 wine_fn_config_program netsh enable_netsh install
18229 wine_fn_config_program netstat enable_netstat clean,install
18230 wine_fn_config_program ngen enable_ngen install
18231 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18232 wine_fn_config_program oleview enable_oleview clean,install
18233 wine_fn_config_program ping enable_ping install
18234 wine_fn_config_program plugplay enable_plugplay install
18235 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18236 wine_fn_config_program progman enable_progman clean,install
18237 wine_fn_config_program reg enable_reg clean,install
18238 wine_fn_config_test programs/reg/tests reg.exe_test
18239 wine_fn_config_program regasm enable_regasm install
18240 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18241 wine_fn_config_test programs/regedit/tests regedit.exe_test
18242 wine_fn_config_program regsvcs enable_regsvcs install
18243 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18244 wine_fn_config_program rpcss enable_rpcss clean,install
18245 wine_fn_config_program rundll.exe16 enable_win16 install
18246 wine_fn_config_program rundll32 enable_rundll32 install
18247 wine_fn_config_program sc enable_sc install
18248 wine_fn_config_program schtasks enable_schtasks install
18249 wine_fn_config_program sdbinst enable_sdbinst install
18250 wine_fn_config_program secedit enable_secedit install
18251 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18252 wine_fn_config_program services enable_services clean,install
18253 wine_fn_config_test programs/services/tests services.exe_test
18254 wine_fn_config_program shutdown enable_shutdown install
18255 wine_fn_config_program spoolsv enable_spoolsv install
18256 wine_fn_config_program start enable_start clean,install
18257 wine_fn_config_program svchost enable_svchost install
18258 wine_fn_config_program systeminfo enable_systeminfo install
18259 wine_fn_config_program taskkill enable_taskkill clean,install
18260 wine_fn_config_program tasklist enable_tasklist install
18261 wine_fn_config_program taskmgr enable_taskmgr clean,install
18262 wine_fn_config_program termsv enable_termsv install
18263 wine_fn_config_program uninstaller enable_uninstaller clean,install
18264 wine_fn_config_program unlodctr enable_unlodctr install
18265 wine_fn_config_program view enable_view clean,install
18266 wine_fn_config_program wevtutil enable_wevtutil install
18267 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18268 wine_fn_config_program winebrowser enable_winebrowser install
18269 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18270 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18271 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18272 wine_fn_config_program winedevice enable_winedevice install
18273 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18274 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18275 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18276 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18277 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18278 wine_fn_config_program winetest enable_winetest clean
18279 wine_fn_config_program winevdm enable_win16 install
18280 wine_fn_config_program winhelp.exe16 enable_win16 install
18281 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18282 wine_fn_config_program winoldap.mod16 enable_win16 install
18283 wine_fn_config_program winver enable_winver install
18284 wine_fn_config_program wmic enable_wmic clean,install
18285 wine_fn_config_program wmplayer enable_wmplayer install
18286 wine_fn_config_program wordpad enable_wordpad clean,install
18287 wine_fn_config_program write enable_write clean,install
18288 wine_fn_config_program wscript enable_wscript clean,install
18289 wine_fn_config_test programs/wscript/tests wscript.exe_test
18290 wine_fn_config_program wusa enable_wusa install
18291 wine_fn_config_program xcopy enable_xcopy clean,install
18292 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18293 wine_fn_config_makefile server enable_server clean,install-lib
18294 wine_fn_config_tool tools clean
18295 wine_fn_config_tool tools/sfnt2fon clean
18296 wine_fn_config_tool tools/widl clean,install-dev
18297 wine_fn_config_tool tools/winebuild clean,install-dev
18298 wine_fn_config_tool tools/winedump clean,install-dev
18299 wine_fn_config_tool tools/winegcc clean,install-dev
18300 wine_fn_config_tool tools/winemaker clean,install-dev
18301 wine_fn_config_tool tools/wmc clean,install-dev
18302 wine_fn_config_tool tools/wrc clean,install-dev
18305 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
18306 wine_fn_append_file CONFIGURE_TARGETS "tags"
18307 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
18308 wine_fn_append_file CONFIGURE_TARGETS "config.log"
18309 wine_fn_append_file CONFIGURE_TARGETS "config.status"
18310 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
18311 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
18312 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
18314 if test "x$enable_tools" != xno
18315 then
18316 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
18317 ac_config_commands="$ac_config_commands tools/makedep"
18321 ac_config_commands="$ac_config_commands Makefile"
18324 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18328 if test "x$enable_maintainer_mode" = xyes
18329 then
18330 wine_fn_append_rule "configure: configure.ac aclocal.m4
18331 autoconf --warnings=all
18332 include/config.h.in: include/stamp-h.in
18333 include/stamp-h.in: configure.ac aclocal.m4
18334 autoheader --warnings=all
18335 @echo timestamp > \$@"
18338 if test "x$enable_tools" != xno
18339 then
18340 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18341 @./config.status tools/makedep
18342 Makefile: tools/makedep$ac_exeext"
18343 else
18344 wine_fn_append_rule "\$(MAKEDEP):
18345 @echo \"You need to run make in $TOOLSDIR first\" && false"
18348 if test -n "$with_wine64"
18349 then
18350 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18351 fonts server:
18352 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18353 $with_wine64/loader/wine:
18354 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18355 $with_wine64/loader/wine-preloader:
18356 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18357 clean::
18358 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18359 else
18360 WINELOADER_INSTALL="wine.inf"
18362 wine_fn_append_rule "install install-lib::
18363 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18364 uninstall::
18365 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18366 case $host_os in
18367 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18368 *) wine_fn_append_rule "install install-lib::
18369 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18370 uninstall::
18371 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18372 esac
18375 $as_echo " done" >&6
18376 cat >confcache <<\_ACEOF
18377 # This file is a shell script that caches the results of configure
18378 # tests run on this system so they can be shared between configure
18379 # scripts and configure runs, see configure's option --config-cache.
18380 # It is not useful on other systems. If it contains results you don't
18381 # want to keep, you may remove or edit it.
18383 # config.status only pays attention to the cache file if you give it
18384 # the --recheck option to rerun configure.
18386 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18387 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18388 # following values.
18390 _ACEOF
18392 # The following way of writing the cache mishandles newlines in values,
18393 # but we know of no workaround that is simple, portable, and efficient.
18394 # So, we kill variables containing newlines.
18395 # Ultrix sh set writes to stderr and can't be redirected directly,
18396 # and sets the high bit in the cache file unless we assign to the vars.
18398 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18399 eval ac_val=\$$ac_var
18400 case $ac_val in #(
18401 *${as_nl}*)
18402 case $ac_var in #(
18403 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18404 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18405 esac
18406 case $ac_var in #(
18407 _ | IFS | as_nl) ;; #(
18408 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18409 *) { eval $ac_var=; unset $ac_var;} ;;
18410 esac ;;
18411 esac
18412 done
18414 (set) 2>&1 |
18415 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18416 *${as_nl}ac_space=\ *)
18417 # `set' does not quote correctly, so add quotes: double-quote
18418 # substitution turns \\\\ into \\, and sed turns \\ into \.
18419 sed -n \
18420 "s/'/'\\\\''/g;
18421 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18422 ;; #(
18424 # `set' quotes correctly as required by POSIX, so do not add quotes.
18425 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18427 esac |
18428 sort
18430 sed '
18431 /^ac_cv_env_/b end
18432 t clear
18433 :clear
18434 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18435 t end
18436 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18437 :end' >>confcache
18438 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18439 if test -w "$cache_file"; then
18440 if test "x$cache_file" != "x/dev/null"; then
18441 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18442 $as_echo "$as_me: updating cache $cache_file" >&6;}
18443 if test ! -f "$cache_file" || test -h "$cache_file"; then
18444 cat confcache >"$cache_file"
18445 else
18446 case $cache_file in #(
18447 */* | ?:*)
18448 mv -f confcache "$cache_file"$$ &&
18449 mv -f "$cache_file"$$ "$cache_file" ;; #(
18451 mv -f confcache "$cache_file" ;;
18452 esac
18455 else
18456 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18457 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18460 rm -f confcache
18462 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18463 # Let make expand exec_prefix.
18464 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18466 DEFS=-DHAVE_CONFIG_H
18468 ac_libobjs=
18469 ac_ltlibobjs=
18471 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18472 # 1. Remove the extension, and $U if already installed.
18473 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18474 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18475 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18476 # will be set to the directory where LIBOBJS objects are built.
18477 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18478 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18479 done
18480 LIBOBJS=$ac_libobjs
18482 LTLIBOBJS=$ac_ltlibobjs
18486 : "${CONFIG_STATUS=./config.status}"
18487 ac_write_fail=0
18488 ac_clean_files_save=$ac_clean_files
18489 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18490 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18491 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18492 as_write_fail=0
18493 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18494 #! $SHELL
18495 # Generated by $as_me.
18496 # Run this file to recreate the current configuration.
18497 # Compiler output produced by configure, useful for debugging
18498 # configure, is in config.log if it exists.
18500 debug=false
18501 ac_cs_recheck=false
18502 ac_cs_silent=false
18504 SHELL=\${CONFIG_SHELL-$SHELL}
18505 export SHELL
18506 _ASEOF
18507 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18508 ## -------------------- ##
18509 ## M4sh Initialization. ##
18510 ## -------------------- ##
18512 # Be more Bourne compatible
18513 DUALCASE=1; export DUALCASE # for MKS sh
18514 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18515 emulate sh
18516 NULLCMD=:
18517 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18518 # is contrary to our usage. Disable this feature.
18519 alias -g '${1+"$@"}'='"$@"'
18520 setopt NO_GLOB_SUBST
18521 else
18522 case `(set -o) 2>/dev/null` in #(
18523 *posix*) :
18524 set -o posix ;; #(
18525 *) :
18527 esac
18531 as_nl='
18533 export as_nl
18534 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18535 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18536 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18537 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18538 # Prefer a ksh shell builtin over an external printf program on Solaris,
18539 # but without wasting forks for bash or zsh.
18540 if test -z "$BASH_VERSION$ZSH_VERSION" \
18541 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18542 as_echo='print -r --'
18543 as_echo_n='print -rn --'
18544 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18545 as_echo='printf %s\n'
18546 as_echo_n='printf %s'
18547 else
18548 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18549 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18550 as_echo_n='/usr/ucb/echo -n'
18551 else
18552 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18553 as_echo_n_body='eval
18554 arg=$1;
18555 case $arg in #(
18556 *"$as_nl"*)
18557 expr "X$arg" : "X\\(.*\\)$as_nl";
18558 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18559 esac;
18560 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18562 export as_echo_n_body
18563 as_echo_n='sh -c $as_echo_n_body as_echo'
18565 export as_echo_body
18566 as_echo='sh -c $as_echo_body as_echo'
18569 # The user is always right.
18570 if test "${PATH_SEPARATOR+set}" != set; then
18571 PATH_SEPARATOR=:
18572 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18573 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18574 PATH_SEPARATOR=';'
18579 # IFS
18580 # We need space, tab and new line, in precisely that order. Quoting is
18581 # there to prevent editors from complaining about space-tab.
18582 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18583 # splitting by setting IFS to empty value.)
18584 IFS=" "" $as_nl"
18586 # Find who we are. Look in the path if we contain no directory separator.
18587 as_myself=
18588 case $0 in #((
18589 *[\\/]* ) as_myself=$0 ;;
18590 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18591 for as_dir in $PATH
18593 IFS=$as_save_IFS
18594 test -z "$as_dir" && as_dir=.
18595 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18596 done
18597 IFS=$as_save_IFS
18600 esac
18601 # We did not find ourselves, most probably we were run as `sh COMMAND'
18602 # in which case we are not to be found in the path.
18603 if test "x$as_myself" = x; then
18604 as_myself=$0
18606 if test ! -f "$as_myself"; then
18607 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18608 exit 1
18611 # Unset variables that we do not need and which cause bugs (e.g. in
18612 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18613 # suppresses any "Segmentation fault" message there. '((' could
18614 # trigger a bug in pdksh 5.2.14.
18615 for as_var in BASH_ENV ENV MAIL MAILPATH
18616 do eval test x\${$as_var+set} = xset \
18617 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18618 done
18619 PS1='$ '
18620 PS2='> '
18621 PS4='+ '
18623 # NLS nuisances.
18624 LC_ALL=C
18625 export LC_ALL
18626 LANGUAGE=C
18627 export LANGUAGE
18629 # CDPATH.
18630 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18633 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18634 # ----------------------------------------
18635 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18636 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18637 # script with STATUS, using 1 if that was 0.
18638 as_fn_error ()
18640 as_status=$1; test $as_status -eq 0 && as_status=1
18641 if test "$4"; then
18642 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18643 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18645 $as_echo "$as_me: error: $2" >&2
18646 as_fn_exit $as_status
18647 } # as_fn_error
18650 # as_fn_set_status STATUS
18651 # -----------------------
18652 # Set $? to STATUS, without forking.
18653 as_fn_set_status ()
18655 return $1
18656 } # as_fn_set_status
18658 # as_fn_exit STATUS
18659 # -----------------
18660 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18661 as_fn_exit ()
18663 set +e
18664 as_fn_set_status $1
18665 exit $1
18666 } # as_fn_exit
18668 # as_fn_unset VAR
18669 # ---------------
18670 # Portably unset VAR.
18671 as_fn_unset ()
18673 { eval $1=; unset $1;}
18675 as_unset=as_fn_unset
18676 # as_fn_append VAR VALUE
18677 # ----------------------
18678 # Append the text in VALUE to the end of the definition contained in VAR. Take
18679 # advantage of any shell optimizations that allow amortized linear growth over
18680 # repeated appends, instead of the typical quadratic growth present in naive
18681 # implementations.
18682 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18683 eval 'as_fn_append ()
18685 eval $1+=\$2
18687 else
18688 as_fn_append ()
18690 eval $1=\$$1\$2
18692 fi # as_fn_append
18694 # as_fn_arith ARG...
18695 # ------------------
18696 # Perform arithmetic evaluation on the ARGs, and store the result in the
18697 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18698 # must be portable across $(()) and expr.
18699 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18700 eval 'as_fn_arith ()
18702 as_val=$(( $* ))
18704 else
18705 as_fn_arith ()
18707 as_val=`expr "$@" || test $? -eq 1`
18709 fi # as_fn_arith
18712 if expr a : '\(a\)' >/dev/null 2>&1 &&
18713 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18714 as_expr=expr
18715 else
18716 as_expr=false
18719 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18720 as_basename=basename
18721 else
18722 as_basename=false
18725 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18726 as_dirname=dirname
18727 else
18728 as_dirname=false
18731 as_me=`$as_basename -- "$0" ||
18732 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18733 X"$0" : 'X\(//\)$' \| \
18734 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18735 $as_echo X/"$0" |
18736 sed '/^.*\/\([^/][^/]*\)\/*$/{
18737 s//\1/
18740 /^X\/\(\/\/\)$/{
18741 s//\1/
18744 /^X\/\(\/\).*/{
18745 s//\1/
18748 s/.*/./; q'`
18750 # Avoid depending upon Character Ranges.
18751 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18752 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18753 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18754 as_cr_digits='0123456789'
18755 as_cr_alnum=$as_cr_Letters$as_cr_digits
18757 ECHO_C= ECHO_N= ECHO_T=
18758 case `echo -n x` in #(((((
18759 -n*)
18760 case `echo 'xy\c'` in
18761 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18762 xy) ECHO_C='\c';;
18763 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18764 ECHO_T=' ';;
18765 esac;;
18767 ECHO_N='-n';;
18768 esac
18770 rm -f conf$$ conf$$.exe conf$$.file
18771 if test -d conf$$.dir; then
18772 rm -f conf$$.dir/conf$$.file
18773 else
18774 rm -f conf$$.dir
18775 mkdir conf$$.dir 2>/dev/null
18777 if (echo >conf$$.file) 2>/dev/null; then
18778 if ln -s conf$$.file conf$$ 2>/dev/null; then
18779 as_ln_s='ln -s'
18780 # ... but there are two gotchas:
18781 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18782 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18783 # In both cases, we have to default to `cp -pR'.
18784 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18785 as_ln_s='cp -pR'
18786 elif ln conf$$.file conf$$ 2>/dev/null; then
18787 as_ln_s=ln
18788 else
18789 as_ln_s='cp -pR'
18791 else
18792 as_ln_s='cp -pR'
18794 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18795 rmdir conf$$.dir 2>/dev/null
18798 # as_fn_mkdir_p
18799 # -------------
18800 # Create "$as_dir" as a directory, including parents if necessary.
18801 as_fn_mkdir_p ()
18804 case $as_dir in #(
18805 -*) as_dir=./$as_dir;;
18806 esac
18807 test -d "$as_dir" || eval $as_mkdir_p || {
18808 as_dirs=
18809 while :; do
18810 case $as_dir in #(
18811 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18812 *) as_qdir=$as_dir;;
18813 esac
18814 as_dirs="'$as_qdir' $as_dirs"
18815 as_dir=`$as_dirname -- "$as_dir" ||
18816 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18817 X"$as_dir" : 'X\(//\)[^/]' \| \
18818 X"$as_dir" : 'X\(//\)$' \| \
18819 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18820 $as_echo X"$as_dir" |
18821 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18822 s//\1/
18825 /^X\(\/\/\)[^/].*/{
18826 s//\1/
18829 /^X\(\/\/\)$/{
18830 s//\1/
18833 /^X\(\/\).*/{
18834 s//\1/
18837 s/.*/./; q'`
18838 test -d "$as_dir" && break
18839 done
18840 test -z "$as_dirs" || eval "mkdir $as_dirs"
18841 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18844 } # as_fn_mkdir_p
18845 if mkdir -p . 2>/dev/null; then
18846 as_mkdir_p='mkdir -p "$as_dir"'
18847 else
18848 test -d ./-p && rmdir ./-p
18849 as_mkdir_p=false
18853 # as_fn_executable_p FILE
18854 # -----------------------
18855 # Test if FILE is an executable regular file.
18856 as_fn_executable_p ()
18858 test -f "$1" && test -x "$1"
18859 } # as_fn_executable_p
18860 as_test_x='test -x'
18861 as_executable_p=as_fn_executable_p
18863 # Sed expression to map a string onto a valid CPP name.
18864 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18866 # Sed expression to map a string onto a valid variable name.
18867 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18870 exec 6>&1
18871 ## ----------------------------------- ##
18872 ## Main body of $CONFIG_STATUS script. ##
18873 ## ----------------------------------- ##
18874 _ASEOF
18875 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18877 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18878 # Save the log message, to keep $0 and so on meaningful, and to
18879 # report actual input values of CONFIG_FILES etc. instead of their
18880 # values after options handling.
18881 ac_log="
18882 This file was extended by Wine $as_me 1.9.8, which was
18883 generated by GNU Autoconf 2.69. Invocation command line was
18885 CONFIG_FILES = $CONFIG_FILES
18886 CONFIG_HEADERS = $CONFIG_HEADERS
18887 CONFIG_LINKS = $CONFIG_LINKS
18888 CONFIG_COMMANDS = $CONFIG_COMMANDS
18889 $ $0 $@
18891 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18894 _ACEOF
18896 case $ac_config_files in *"
18897 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18898 esac
18900 case $ac_config_headers in *"
18901 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18902 esac
18905 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18906 # Files that config.status was made for.
18907 config_files="$ac_config_files"
18908 config_headers="$ac_config_headers"
18909 config_links="$ac_config_links"
18910 config_commands="$ac_config_commands"
18912 _ACEOF
18914 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18915 ac_cs_usage="\
18916 \`$as_me' instantiates files and other configuration actions
18917 from templates according to the current configuration. Unless the files
18918 and actions are specified as TAGs, all are instantiated by default.
18920 Usage: $0 [OPTION]... [TAG]...
18922 -h, --help print this help, then exit
18923 -V, --version print version number and configuration settings, then exit
18924 --config print configuration, then exit
18925 -q, --quiet, --silent
18926 do not print progress messages
18927 -d, --debug don't remove temporary files
18928 --recheck update $as_me by reconfiguring in the same conditions
18929 --file=FILE[:TEMPLATE]
18930 instantiate the configuration file FILE
18931 --header=FILE[:TEMPLATE]
18932 instantiate the configuration header FILE
18934 Configuration files:
18935 $config_files
18937 Configuration headers:
18938 $config_headers
18940 Configuration links:
18941 $config_links
18943 Configuration commands:
18944 $config_commands
18946 Report bugs to <wine-devel@winehq.org>.
18947 Wine home page: <http://www.winehq.org>."
18949 _ACEOF
18950 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18951 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18952 ac_cs_version="\\
18953 Wine config.status 1.9.8
18954 configured by $0, generated by GNU Autoconf 2.69,
18955 with options \\"\$ac_cs_config\\"
18957 Copyright (C) 2012 Free Software Foundation, Inc.
18958 This config.status script is free software; the Free Software Foundation
18959 gives unlimited permission to copy, distribute and modify it."
18961 ac_pwd='$ac_pwd'
18962 srcdir='$srcdir'
18963 test -n "\$AWK" || AWK=awk
18964 _ACEOF
18966 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18967 # The default lists apply if the user does not specify any file.
18968 ac_need_defaults=:
18969 while test $# != 0
18971 case $1 in
18972 --*=?*)
18973 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18974 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18975 ac_shift=:
18977 --*=)
18978 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18979 ac_optarg=
18980 ac_shift=:
18983 ac_option=$1
18984 ac_optarg=$2
18985 ac_shift=shift
18987 esac
18989 case $ac_option in
18990 # Handling of the options.
18991 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18992 ac_cs_recheck=: ;;
18993 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18994 $as_echo "$ac_cs_version"; exit ;;
18995 --config | --confi | --conf | --con | --co | --c )
18996 $as_echo "$ac_cs_config"; exit ;;
18997 --debug | --debu | --deb | --de | --d | -d )
18998 debug=: ;;
18999 --file | --fil | --fi | --f )
19000 $ac_shift
19001 case $ac_optarg in
19002 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19003 '') as_fn_error $? "missing file argument" ;;
19004 esac
19005 as_fn_append CONFIG_FILES " '$ac_optarg'"
19006 ac_need_defaults=false;;
19007 --header | --heade | --head | --hea )
19008 $ac_shift
19009 case $ac_optarg in
19010 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19011 esac
19012 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19013 ac_need_defaults=false;;
19014 --he | --h)
19015 # Conflict between --help and --header
19016 as_fn_error $? "ambiguous option: \`$1'
19017 Try \`$0 --help' for more information.";;
19018 --help | --hel | -h )
19019 $as_echo "$ac_cs_usage"; exit ;;
19020 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19021 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19022 ac_cs_silent=: ;;
19024 # This is an error.
19025 -*) as_fn_error $? "unrecognized option: \`$1'
19026 Try \`$0 --help' for more information." ;;
19028 *) as_fn_append ac_config_targets " $1"
19029 ac_need_defaults=false ;;
19031 esac
19032 shift
19033 done
19035 ac_configure_extra_args=
19037 if $ac_cs_silent; then
19038 exec 6>/dev/null
19039 ac_configure_extra_args="$ac_configure_extra_args --silent"
19042 _ACEOF
19043 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19044 if \$ac_cs_recheck; then
19045 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19046 shift
19047 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19048 CONFIG_SHELL='$SHELL'
19049 export CONFIG_SHELL
19050 exec "\$@"
19053 _ACEOF
19054 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19055 exec 5>>config.log
19057 echo
19058 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19059 ## Running $as_me. ##
19060 _ASBOX
19061 $as_echo "$ac_log"
19062 } >&5
19064 _ACEOF
19065 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19067 # INIT-COMMANDS
19069 wine_fn_output_makedep ()
19071 as_dir=tools; as_fn_mkdir_p
19072 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19074 wine_fn_output_makefile ()
19076 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19077 `cat $wine_rules_file`
19078 _WINE_EOF
19079 as_fn_error $? "could not create Makefile" "$LINENO" 5
19082 _ACEOF
19084 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19086 # Handling of arguments.
19087 for ac_config_target in $ac_config_targets
19089 case $ac_config_target in
19090 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19091 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19092 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19093 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19094 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19095 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19096 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19097 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19098 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19099 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19100 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19101 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19102 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19104 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19105 esac
19106 done
19109 # If the user did not use the arguments to specify the items to instantiate,
19110 # then the envvar interface is used. Set only those that are not.
19111 # We use the long form for the default assignment because of an extremely
19112 # bizarre bug on SunOS 4.1.3.
19113 if $ac_need_defaults; then
19114 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19115 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19116 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19117 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19120 # Have a temporary directory for convenience. Make it in the build tree
19121 # simply because there is no reason against having it here, and in addition,
19122 # creating and moving files from /tmp can sometimes cause problems.
19123 # Hook for its removal unless debugging.
19124 # Note that there is a small window in which the directory will not be cleaned:
19125 # after its creation but before its name has been assigned to `$tmp'.
19126 $debug ||
19128 tmp= ac_tmp=
19129 trap 'exit_status=$?
19130 : "${ac_tmp:=$tmp}"
19131 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19133 trap 'as_fn_exit 1' 1 2 13 15
19135 # Create a (secure) tmp directory for tmp files.
19138 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19139 test -d "$tmp"
19140 } ||
19142 tmp=./conf$$-$RANDOM
19143 (umask 077 && mkdir "$tmp")
19144 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19145 ac_tmp=$tmp
19147 # Set up the scripts for CONFIG_FILES section.
19148 # No need to generate them if there are no CONFIG_FILES.
19149 # This happens for instance with `./config.status config.h'.
19150 if test -n "$CONFIG_FILES"; then
19153 ac_cr=`echo X | tr X '\015'`
19154 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19155 # But we know of no other shell where ac_cr would be empty at this
19156 # point, so we can use a bashism as a fallback.
19157 if test "x$ac_cr" = x; then
19158 eval ac_cr=\$\'\\r\'
19160 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19161 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19162 ac_cs_awk_cr='\\r'
19163 else
19164 ac_cs_awk_cr=$ac_cr
19167 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19168 _ACEOF
19172 echo "cat >conf$$subs.awk <<_ACEOF" &&
19173 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19174 echo "_ACEOF"
19175 } >conf$$subs.sh ||
19176 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19177 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19178 ac_delim='%!_!# '
19179 for ac_last_try in false false false false false :; do
19180 . ./conf$$subs.sh ||
19181 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19183 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19184 if test $ac_delim_n = $ac_delim_num; then
19185 break
19186 elif $ac_last_try; then
19187 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19188 else
19189 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19191 done
19192 rm -f conf$$subs.sh
19194 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19195 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19196 _ACEOF
19197 sed -n '
19199 s/^/S["/; s/!.*/"]=/
19202 s/^[^!]*!//
19203 :repl
19204 t repl
19205 s/'"$ac_delim"'$//
19206 t delim
19209 s/\(.\{148\}\)..*/\1/
19210 t more1
19211 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19214 b repl
19215 :more1
19216 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19219 s/.\{148\}//
19220 t nl
19221 :delim
19223 s/\(.\{148\}\)..*/\1/
19224 t more2
19225 s/["\\]/\\&/g; s/^/"/; s/$/"/
19228 :more2
19229 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19232 s/.\{148\}//
19233 t delim
19234 ' <conf$$subs.awk | sed '
19235 /^[^""]/{
19237 s/\n//
19239 ' >>$CONFIG_STATUS || ac_write_fail=1
19240 rm -f conf$$subs.awk
19241 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19242 _ACAWK
19243 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19244 for (key in S) S_is_set[key] = 1
19245 FS = "\a"
19249 line = $ 0
19250 nfields = split(line, field, "@")
19251 substed = 0
19252 len = length(field[1])
19253 for (i = 2; i < nfields; i++) {
19254 key = field[i]
19255 keylen = length(key)
19256 if (S_is_set[key]) {
19257 value = S[key]
19258 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19259 len += length(value) + length(field[++i])
19260 substed = 1
19261 } else
19262 len += 1 + keylen
19265 print line
19268 _ACAWK
19269 _ACEOF
19270 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19271 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19272 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19273 else
19275 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19276 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19277 _ACEOF
19279 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19280 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19281 # trailing colons and then remove the whole line if VPATH becomes empty
19282 # (actually we leave an empty line to preserve line numbers).
19283 if test "x$srcdir" = x.; then
19284 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19286 s///
19287 s/^/:/
19288 s/[ ]*$/:/
19289 s/:\$(srcdir):/:/g
19290 s/:\${srcdir}:/:/g
19291 s/:@srcdir@:/:/g
19292 s/^:*//
19293 s/:*$//
19295 s/\(=[ ]*\).*/\1/
19297 s/\n//
19298 s/^[^=]*=[ ]*$//
19302 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19303 fi # test -n "$CONFIG_FILES"
19305 # Set up the scripts for CONFIG_HEADERS section.
19306 # No need to generate them if there are no CONFIG_HEADERS.
19307 # This happens for instance with `./config.status Makefile'.
19308 if test -n "$CONFIG_HEADERS"; then
19309 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19310 BEGIN {
19311 _ACEOF
19313 # Transform confdefs.h into an awk script `defines.awk', embedded as
19314 # here-document in config.status, that substitutes the proper values into
19315 # config.h.in to produce config.h.
19317 # Create a delimiter string that does not exist in confdefs.h, to ease
19318 # handling of long lines.
19319 ac_delim='%!_!# '
19320 for ac_last_try in false false :; do
19321 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19322 if test -z "$ac_tt"; then
19323 break
19324 elif $ac_last_try; then
19325 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19326 else
19327 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19329 done
19331 # For the awk script, D is an array of macro values keyed by name,
19332 # likewise P contains macro parameters if any. Preserve backslash
19333 # newline sequences.
19335 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19336 sed -n '
19337 s/.\{148\}/&'"$ac_delim"'/g
19338 t rset
19339 :rset
19340 s/^[ ]*#[ ]*define[ ][ ]*/ /
19341 t def
19343 :def
19344 s/\\$//
19345 t bsnl
19346 s/["\\]/\\&/g
19347 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19348 D["\1"]=" \3"/p
19349 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19351 :bsnl
19352 s/["\\]/\\&/g
19353 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19354 D["\1"]=" \3\\\\\\n"\\/p
19355 t cont
19356 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19357 t cont
19359 :cont
19361 s/.\{148\}/&'"$ac_delim"'/g
19362 t clear
19363 :clear
19364 s/\\$//
19365 t bsnlc
19366 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19368 :bsnlc
19369 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19370 b cont
19371 ' <confdefs.h | sed '
19372 s/'"$ac_delim"'/"\\\
19373 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19375 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19376 for (key in D) D_is_set[key] = 1
19377 FS = "\a"
19379 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19380 line = \$ 0
19381 split(line, arg, " ")
19382 if (arg[1] == "#") {
19383 defundef = arg[2]
19384 mac1 = arg[3]
19385 } else {
19386 defundef = substr(arg[1], 2)
19387 mac1 = arg[2]
19389 split(mac1, mac2, "(") #)
19390 macro = mac2[1]
19391 prefix = substr(line, 1, index(line, defundef) - 1)
19392 if (D_is_set[macro]) {
19393 # Preserve the white space surrounding the "#".
19394 print prefix "define", macro P[macro] D[macro]
19395 next
19396 } else {
19397 # Replace #undef with comments. This is necessary, for example,
19398 # in the case of _POSIX_SOURCE, which is predefined and required
19399 # on some systems where configure will not decide to define it.
19400 if (defundef == "undef") {
19401 print "/*", prefix defundef, macro, "*/"
19402 next
19406 { print }
19407 _ACAWK
19408 _ACEOF
19409 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19410 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19411 fi # test -n "$CONFIG_HEADERS"
19414 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19415 shift
19416 for ac_tag
19418 case $ac_tag in
19419 :[FHLC]) ac_mode=$ac_tag; continue;;
19420 esac
19421 case $ac_mode$ac_tag in
19422 :[FHL]*:*);;
19423 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19424 :[FH]-) ac_tag=-:-;;
19425 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19426 esac
19427 ac_save_IFS=$IFS
19428 IFS=:
19429 set x $ac_tag
19430 IFS=$ac_save_IFS
19431 shift
19432 ac_file=$1
19433 shift
19435 case $ac_mode in
19436 :L) ac_source=$1;;
19437 :[FH])
19438 ac_file_inputs=
19439 for ac_f
19441 case $ac_f in
19442 -) ac_f="$ac_tmp/stdin";;
19443 *) # Look for the file first in the build tree, then in the source tree
19444 # (if the path is not absolute). The absolute path cannot be DOS-style,
19445 # because $ac_f cannot contain `:'.
19446 test -f "$ac_f" ||
19447 case $ac_f in
19448 [\\/$]*) false;;
19449 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19450 esac ||
19451 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19452 esac
19453 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19454 as_fn_append ac_file_inputs " '$ac_f'"
19455 done
19457 # Let's still pretend it is `configure' which instantiates (i.e., don't
19458 # use $as_me), people would be surprised to read:
19459 # /* config.h. Generated by config.status. */
19460 configure_input='Generated from '`
19461 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19462 `' by configure.'
19463 if test x"$ac_file" != x-; then
19464 configure_input="$ac_file. $configure_input"
19465 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19466 $as_echo "$as_me: creating $ac_file" >&6;}
19468 # Neutralize special characters interpreted by sed in replacement strings.
19469 case $configure_input in #(
19470 *\&* | *\|* | *\\* )
19471 ac_sed_conf_input=`$as_echo "$configure_input" |
19472 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19473 *) ac_sed_conf_input=$configure_input;;
19474 esac
19476 case $ac_tag in
19477 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19478 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19479 esac
19481 esac
19483 ac_dir=`$as_dirname -- "$ac_file" ||
19484 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19485 X"$ac_file" : 'X\(//\)[^/]' \| \
19486 X"$ac_file" : 'X\(//\)$' \| \
19487 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19488 $as_echo X"$ac_file" |
19489 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19490 s//\1/
19493 /^X\(\/\/\)[^/].*/{
19494 s//\1/
19497 /^X\(\/\/\)$/{
19498 s//\1/
19501 /^X\(\/\).*/{
19502 s//\1/
19505 s/.*/./; q'`
19506 as_dir="$ac_dir"; as_fn_mkdir_p
19507 ac_builddir=.
19509 case "$ac_dir" in
19510 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19512 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19513 # A ".." for each directory in $ac_dir_suffix.
19514 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19515 case $ac_top_builddir_sub in
19516 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19517 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19518 esac ;;
19519 esac
19520 ac_abs_top_builddir=$ac_pwd
19521 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19522 # for backward compatibility:
19523 ac_top_builddir=$ac_top_build_prefix
19525 case $srcdir in
19526 .) # We are building in place.
19527 ac_srcdir=.
19528 ac_top_srcdir=$ac_top_builddir_sub
19529 ac_abs_top_srcdir=$ac_pwd ;;
19530 [\\/]* | ?:[\\/]* ) # Absolute name.
19531 ac_srcdir=$srcdir$ac_dir_suffix;
19532 ac_top_srcdir=$srcdir
19533 ac_abs_top_srcdir=$srcdir ;;
19534 *) # Relative name.
19535 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19536 ac_top_srcdir=$ac_top_build_prefix$srcdir
19537 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19538 esac
19539 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19542 case $ac_mode in
19545 # CONFIG_FILE
19548 _ACEOF
19550 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19551 # If the template does not know about datarootdir, expand it.
19552 # FIXME: This hack should be removed a few years after 2.60.
19553 ac_datarootdir_hack=; ac_datarootdir_seen=
19554 ac_sed_dataroot='
19555 /datarootdir/ {
19559 /@datadir@/p
19560 /@docdir@/p
19561 /@infodir@/p
19562 /@localedir@/p
19563 /@mandir@/p'
19564 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19565 *datarootdir*) ac_datarootdir_seen=yes;;
19566 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19568 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19569 _ACEOF
19570 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19571 ac_datarootdir_hack='
19572 s&@datadir@&$datadir&g
19573 s&@docdir@&$docdir&g
19574 s&@infodir@&$infodir&g
19575 s&@localedir@&$localedir&g
19576 s&@mandir@&$mandir&g
19577 s&\\\${datarootdir}&$datarootdir&g' ;;
19578 esac
19579 _ACEOF
19581 # Neutralize VPATH when `$srcdir' = `.'.
19582 # Shell code in configure.ac might set extrasub.
19583 # FIXME: do we really want to maintain this feature?
19584 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19585 ac_sed_extra="$ac_vpsub
19586 $extrasub
19587 _ACEOF
19588 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19590 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19591 s|@configure_input@|$ac_sed_conf_input|;t t
19592 s&@top_builddir@&$ac_top_builddir_sub&;t t
19593 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19594 s&@srcdir@&$ac_srcdir&;t t
19595 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19596 s&@top_srcdir@&$ac_top_srcdir&;t t
19597 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19598 s&@builddir@&$ac_builddir&;t t
19599 s&@abs_builddir@&$ac_abs_builddir&;t t
19600 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19601 $ac_datarootdir_hack
19603 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19604 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19606 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19607 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19608 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19609 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19610 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19611 which seems to be undefined. Please make sure it is defined" >&5
19612 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19613 which seems to be undefined. Please make sure it is defined" >&2;}
19615 rm -f "$ac_tmp/stdin"
19616 case $ac_file in
19617 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19618 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19619 esac \
19620 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19624 # CONFIG_HEADER
19626 if test x"$ac_file" != x-; then
19628 $as_echo "/* $configure_input */" \
19629 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19630 } >"$ac_tmp/config.h" \
19631 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19632 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19633 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19634 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19635 else
19636 rm -f "$ac_file"
19637 mv "$ac_tmp/config.h" "$ac_file" \
19638 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19640 else
19641 $as_echo "/* $configure_input */" \
19642 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19643 || as_fn_error $? "could not create -" "$LINENO" 5
19648 # CONFIG_LINK
19651 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19653 else
19654 # Prefer the file from the source tree if names are identical.
19655 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19656 ac_source=$srcdir/$ac_source
19659 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19660 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19662 if test ! -r "$ac_source"; then
19663 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19665 rm -f "$ac_file"
19667 # Try a relative symlink, then a hard link, then a copy.
19668 case $ac_source in
19669 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19670 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19671 esac
19672 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19673 ln "$ac_source" "$ac_file" 2>/dev/null ||
19674 cp -p "$ac_source" "$ac_file" ||
19675 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19678 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19679 $as_echo "$as_me: executing $ac_file commands" >&6;}
19681 esac
19684 case $ac_file$ac_mode in
19685 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19686 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19687 "Makefile":C) wine_fn_output_makefile Makefile ;;
19689 esac
19690 done # for ac_tag
19693 as_fn_exit 0
19694 _ACEOF
19695 ac_clean_files=$ac_clean_files_save
19697 test $ac_write_fail = 0 ||
19698 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19701 # configure is writing to config.log, and then calls config.status.
19702 # config.status does its own redirection, appending to config.log.
19703 # Unfortunately, on DOS this fails, as config.log is still kept open
19704 # by configure, so config.status won't be able to write to it; its
19705 # output is simply discarded. So we exec the FD to /dev/null,
19706 # effectively closing config.log, so it can be properly (re)opened and
19707 # appended to by config.status. When coming back to configure, we
19708 # need to make the FD available again.
19709 if test "$no_create" != yes; then
19710 ac_cs_success=:
19711 ac_config_status_args=
19712 test "$silent" = yes &&
19713 ac_config_status_args="$ac_config_status_args --quiet"
19714 exec 5>/dev/null
19715 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19716 exec 5>>config.log
19717 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19718 # would make configure fail if this is the last instruction.
19719 $ac_cs_success || as_fn_exit 1
19721 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19723 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19727 if test "$no_create" = "yes"
19728 then
19729 exit 0
19732 ac_save_IFS="$IFS"
19733 if test "x$wine_notices" != x; then
19734 echo >&6
19735 IFS="|"
19736 for msg in $wine_notices; do
19737 IFS="$ac_save_IFS"
19738 if ${msg:+false} :; then :
19740 else
19741 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19742 $as_echo "$as_me: $msg" >&6;}
19744 done
19746 IFS="|"
19747 for msg in $wine_warnings; do
19748 IFS="$ac_save_IFS"
19749 if ${msg:+false} :; then :
19751 else
19752 echo >&2
19753 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19754 $as_echo "$as_me: WARNING: $msg" >&2;}
19756 done
19757 IFS="$ac_save_IFS"
19759 $as_echo "
19760 $as_me: Finished. Do '${ac_make}' to compile Wine.
19761 " >&6