user32: Don't disallow delayed rendering even when not the clipboard owner.
[wine.git] / configure
blob0211b2029f3e960aeb7e021327b8ed7b7e5db312
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.9.17.
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.17'
584 PACKAGE_STRING='Wine 1.9.17'
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_console_l2_1_0
878 enable_api_ms_win_core_datetime_l1_1_0
879 enable_api_ms_win_core_datetime_l1_1_1
880 enable_api_ms_win_core_debug_l1_1_0
881 enable_api_ms_win_core_debug_l1_1_1
882 enable_api_ms_win_core_delayload_l1_1_1
883 enable_api_ms_win_core_errorhandling_l1_1_0
884 enable_api_ms_win_core_errorhandling_l1_1_1
885 enable_api_ms_win_core_errorhandling_l1_1_2
886 enable_api_ms_win_core_fibers_l1_1_0
887 enable_api_ms_win_core_fibers_l1_1_1
888 enable_api_ms_win_core_file_l1_1_0
889 enable_api_ms_win_core_file_l1_2_0
890 enable_api_ms_win_core_file_l1_2_1
891 enable_api_ms_win_core_file_l2_1_0
892 enable_api_ms_win_core_file_l2_1_1
893 enable_api_ms_win_core_handle_l1_1_0
894 enable_api_ms_win_core_heap_l1_1_0
895 enable_api_ms_win_core_heap_l1_2_0
896 enable_api_ms_win_core_heap_obsolete_l1_1_0
897 enable_api_ms_win_core_interlocked_l1_1_0
898 enable_api_ms_win_core_interlocked_l1_2_0
899 enable_api_ms_win_core_io_l1_1_1
900 enable_api_ms_win_core_kernel32_legacy_l1_1_0
901 enable_api_ms_win_core_kernel32_legacy_l1_1_1
902 enable_api_ms_win_core_libraryloader_l1_1_0
903 enable_api_ms_win_core_libraryloader_l1_1_1
904 enable_api_ms_win_core_libraryloader_l1_2_0
905 enable_api_ms_win_core_localization_l1_1_0
906 enable_api_ms_win_core_localization_l1_2_0
907 enable_api_ms_win_core_localization_l1_2_1
908 enable_api_ms_win_core_localization_obsolete_l1_1_0
909 enable_api_ms_win_core_localregistry_l1_1_0
910 enable_api_ms_win_core_memory_l1_1_0
911 enable_api_ms_win_core_memory_l1_1_1
912 enable_api_ms_win_core_memory_l1_1_2
913 enable_api_ms_win_core_misc_l1_1_0
914 enable_api_ms_win_core_namedpipe_l1_1_0
915 enable_api_ms_win_core_namedpipe_l1_2_0
916 enable_api_ms_win_core_path_l1_1_0
917 enable_api_ms_win_core_processenvironment_l1_1_0
918 enable_api_ms_win_core_processenvironment_l1_2_0
919 enable_api_ms_win_core_processthreads_l1_1_0
920 enable_api_ms_win_core_processthreads_l1_1_1
921 enable_api_ms_win_core_processthreads_l1_1_2
922 enable_api_ms_win_core_profile_l1_1_0
923 enable_api_ms_win_core_psapi_l1_1_0
924 enable_api_ms_win_core_registry_l1_1_0
925 enable_api_ms_win_core_rtlsupport_l1_1_0
926 enable_api_ms_win_core_rtlsupport_l1_2_0
927 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
928 enable_api_ms_win_core_string_l1_1_0
929 enable_api_ms_win_core_string_l2_1_0
930 enable_api_ms_win_core_synch_l1_1_0
931 enable_api_ms_win_core_synch_l1_2_0
932 enable_api_ms_win_core_sysinfo_l1_1_0
933 enable_api_ms_win_core_sysinfo_l1_2_0
934 enable_api_ms_win_core_sysinfo_l1_2_1
935 enable_api_ms_win_core_threadpool_l1_2_0
936 enable_api_ms_win_core_threadpool_legacy_l1_1_0
937 enable_api_ms_win_core_timezone_l1_1_0
938 enable_api_ms_win_core_url_l1_1_0
939 enable_api_ms_win_core_util_l1_1_0
940 enable_api_ms_win_core_version_l1_1_0
941 enable_api_ms_win_core_winrt_error_l1_1_0
942 enable_api_ms_win_core_winrt_error_l1_1_1
943 enable_api_ms_win_core_winrt_l1_1_0
944 enable_api_ms_win_core_winrt_registration_l1_1_0
945 enable_api_ms_win_core_winrt_string_l1_1_0
946 enable_api_ms_win_core_wow64_l1_1_0
947 enable_api_ms_win_core_xstate_l2_1_0
948 enable_api_ms_win_crt_conio_l1_1_0
949 enable_api_ms_win_crt_convert_l1_1_0
950 enable_api_ms_win_crt_environment_l1_1_0
951 enable_api_ms_win_crt_filesystem_l1_1_0
952 enable_api_ms_win_crt_heap_l1_1_0
953 enable_api_ms_win_crt_locale_l1_1_0
954 enable_api_ms_win_crt_math_l1_1_0
955 enable_api_ms_win_crt_multibyte_l1_1_0
956 enable_api_ms_win_crt_private_l1_1_0
957 enable_api_ms_win_crt_process_l1_1_0
958 enable_api_ms_win_crt_runtime_l1_1_0
959 enable_api_ms_win_crt_stdio_l1_1_0
960 enable_api_ms_win_crt_string_l1_1_0
961 enable_api_ms_win_crt_time_l1_1_0
962 enable_api_ms_win_crt_utility_l1_1_0
963 enable_api_ms_win_downlevel_advapi32_l1_1_0
964 enable_api_ms_win_downlevel_advapi32_l2_1_0
965 enable_api_ms_win_downlevel_normaliz_l1_1_0
966 enable_api_ms_win_downlevel_ole32_l1_1_0
967 enable_api_ms_win_downlevel_shell32_l1_1_0
968 enable_api_ms_win_downlevel_shlwapi_l1_1_0
969 enable_api_ms_win_downlevel_shlwapi_l2_1_0
970 enable_api_ms_win_downlevel_user32_l1_1_0
971 enable_api_ms_win_downlevel_version_l1_1_0
972 enable_api_ms_win_eventing_classicprovider_l1_1_0
973 enable_api_ms_win_eventing_provider_l1_1_0
974 enable_api_ms_win_ntuser_dc_access_l1_1_0
975 enable_api_ms_win_security_base_l1_1_0
976 enable_api_ms_win_security_base_l1_2_0
977 enable_api_ms_win_security_lsalookup_l1_1_0
978 enable_api_ms_win_security_lsalookup_l1_1_1
979 enable_api_ms_win_security_sddl_l1_1_0
980 enable_api_ms_win_service_core_l1_1_1
981 enable_api_ms_win_service_management_l1_1_0
982 enable_api_ms_win_service_winsvc_l1_2_0
983 enable_apphelp
984 enable_appwiz_cpl
985 enable_atl
986 enable_atl100
987 enable_atl110
988 enable_atl80
989 enable_atl90
990 enable_authz
991 enable_avicap32
992 enable_avifil32
993 enable_avrt
994 enable_bcrypt
995 enable_bluetoothapis
996 enable_browseui
997 enable_bthprops_cpl
998 enable_cabinet
999 enable_capi2032
1000 enable_cards
1001 enable_cfgmgr32
1002 enable_clusapi
1003 enable_combase
1004 enable_comcat
1005 enable_comctl32
1006 enable_comdlg32
1007 enable_compstui
1008 enable_comsvcs
1009 enable_concrt140
1010 enable_connect
1011 enable_credui
1012 enable_crtdll
1013 enable_crypt32
1014 enable_cryptdlg
1015 enable_cryptdll
1016 enable_cryptext
1017 enable_cryptnet
1018 enable_cryptui
1019 enable_ctapi32
1020 enable_ctl3d32
1021 enable_d2d1
1022 enable_d3d10
1023 enable_d3d10_1
1024 enable_d3d10core
1025 enable_d3d11
1026 enable_d3d8
1027 enable_d3d9
1028 enable_d3dcompiler_33
1029 enable_d3dcompiler_34
1030 enable_d3dcompiler_35
1031 enable_d3dcompiler_36
1032 enable_d3dcompiler_37
1033 enable_d3dcompiler_38
1034 enable_d3dcompiler_39
1035 enable_d3dcompiler_40
1036 enable_d3dcompiler_41
1037 enable_d3dcompiler_42
1038 enable_d3dcompiler_43
1039 enable_d3dcompiler_46
1040 enable_d3dcompiler_47
1041 enable_d3dim
1042 enable_d3drm
1043 enable_d3dx10_33
1044 enable_d3dx10_34
1045 enable_d3dx10_35
1046 enable_d3dx10_36
1047 enable_d3dx10_37
1048 enable_d3dx10_38
1049 enable_d3dx10_39
1050 enable_d3dx10_40
1051 enable_d3dx10_41
1052 enable_d3dx10_42
1053 enable_d3dx10_43
1054 enable_d3dx11_42
1055 enable_d3dx11_43
1056 enable_d3dx9_24
1057 enable_d3dx9_25
1058 enable_d3dx9_26
1059 enable_d3dx9_27
1060 enable_d3dx9_28
1061 enable_d3dx9_29
1062 enable_d3dx9_30
1063 enable_d3dx9_31
1064 enable_d3dx9_32
1065 enable_d3dx9_33
1066 enable_d3dx9_34
1067 enable_d3dx9_35
1068 enable_d3dx9_36
1069 enable_d3dx9_37
1070 enable_d3dx9_38
1071 enable_d3dx9_39
1072 enable_d3dx9_40
1073 enable_d3dx9_41
1074 enable_d3dx9_42
1075 enable_d3dx9_43
1076 enable_d3dxof
1077 enable_davclnt
1078 enable_dbgeng
1079 enable_dbghelp
1080 enable_dciman32
1081 enable_ddraw
1082 enable_ddrawex
1083 enable_devenum
1084 enable_dhcpcsvc
1085 enable_difxapi
1086 enable_dinput
1087 enable_dinput8
1088 enable_dispex
1089 enable_dmband
1090 enable_dmcompos
1091 enable_dmime
1092 enable_dmloader
1093 enable_dmscript
1094 enable_dmstyle
1095 enable_dmsynth
1096 enable_dmusic
1097 enable_dmusic32
1098 enable_dnsapi
1099 enable_dplay
1100 enable_dplayx
1101 enable_dpnaddr
1102 enable_dpnet
1103 enable_dpnhpast
1104 enable_dpnlobby
1105 enable_dpvoice
1106 enable_dpwsockx
1107 enable_drmclien
1108 enable_dsound
1109 enable_dssenh
1110 enable_dswave
1111 enable_dwmapi
1112 enable_dwrite
1113 enable_dxdiagn
1114 enable_dxgi
1115 enable_dxva2
1116 enable_esent
1117 enable_evr
1118 enable_explorerframe
1119 enable_ext_ms_win_gdi_devcaps_l1_1_0
1120 enable_faultrep
1121 enable_fltlib
1122 enable_fltmgr_sys
1123 enable_fntcache
1124 enable_fontsub
1125 enable_fusion
1126 enable_fwpuclnt
1127 enable_gameux
1128 enable_gdi32
1129 enable_gdiplus
1130 enable_glu32
1131 enable_gphoto2_ds
1132 enable_gpkcsp
1133 enable_hal
1134 enable_hhctrl_ocx
1135 enable_hid
1136 enable_hidclass_sys
1137 enable_hlink
1138 enable_hnetcfg
1139 enable_httpapi
1140 enable_iccvid
1141 enable_icmp
1142 enable_ieframe
1143 enable_imaadp32_acm
1144 enable_imagehlp
1145 enable_imm32
1146 enable_inetcomm
1147 enable_inetcpl_cpl
1148 enable_inetmib1
1149 enable_infosoft
1150 enable_initpki
1151 enable_inkobj
1152 enable_inseng
1153 enable_iphlpapi
1154 enable_irprops_cpl
1155 enable_itircl
1156 enable_itss
1157 enable_joy_cpl
1158 enable_jscript
1159 enable_jsproxy
1160 enable_kernel32
1161 enable_kernelbase
1162 enable_ksuser
1163 enable_ktmw32
1164 enable_loadperf
1165 enable_localspl
1166 enable_localui
1167 enable_lz32
1168 enable_mapi32
1169 enable_mapistub
1170 enable_mciavi32
1171 enable_mcicda
1172 enable_mciqtz32
1173 enable_mciseq
1174 enable_mciwave
1175 enable_mf
1176 enable_mfplat
1177 enable_mfreadwrite
1178 enable_mgmtapi
1179 enable_midimap
1180 enable_mlang
1181 enable_mmcndmgr
1182 enable_mmdevapi
1183 enable_mountmgr_sys
1184 enable_mpr
1185 enable_mprapi
1186 enable_msacm32_drv
1187 enable_msacm32
1188 enable_msadp32_acm
1189 enable_msasn1
1190 enable_mscat32
1191 enable_mscms
1192 enable_mscoree
1193 enable_msctf
1194 enable_msctfp
1195 enable_msdaps
1196 enable_msdelta
1197 enable_msdmo
1198 enable_msdrm
1199 enable_msftedit
1200 enable_msg711_acm
1201 enable_msgsm32_acm
1202 enable_mshtml_tlb
1203 enable_mshtml
1204 enable_msi
1205 enable_msident
1206 enable_msimg32
1207 enable_msimsg
1208 enable_msimtf
1209 enable_msisip
1210 enable_msisys_ocx
1211 enable_msls31
1212 enable_msnet32
1213 enable_mspatcha
1214 enable_msrle32
1215 enable_msscript_ocx
1216 enable_mssign32
1217 enable_mssip32
1218 enable_mstask
1219 enable_msvcirt
1220 enable_msvcm80
1221 enable_msvcm90
1222 enable_msvcp100
1223 enable_msvcp110
1224 enable_msvcp120
1225 enable_msvcp120_app
1226 enable_msvcp140
1227 enable_msvcp60
1228 enable_msvcp70
1229 enable_msvcp71
1230 enable_msvcp80
1231 enable_msvcp90
1232 enable_msvcr100
1233 enable_msvcr110
1234 enable_msvcr120
1235 enable_msvcr120_app
1236 enable_msvcr70
1237 enable_msvcr71
1238 enable_msvcr80
1239 enable_msvcr90
1240 enable_msvcrt
1241 enable_msvcrt20
1242 enable_msvcrt40
1243 enable_msvcrtd
1244 enable_msvfw32
1245 enable_msvidc32
1246 enable_mswsock
1247 enable_msxml
1248 enable_msxml2
1249 enable_msxml3
1250 enable_msxml4
1251 enable_msxml6
1252 enable_ncrypt
1253 enable_nddeapi
1254 enable_ndis_sys
1255 enable_netapi32
1256 enable_netcfgx
1257 enable_netprofm
1258 enable_newdev
1259 enable_normaliz
1260 enable_npmshtml
1261 enable_npptools
1262 enable_ntdll
1263 enable_ntdsapi
1264 enable_ntoskrnl_exe
1265 enable_ntprint
1266 enable_objsel
1267 enable_odbc32
1268 enable_odbccp32
1269 enable_odbccu32
1270 enable_ole32
1271 enable_oleacc
1272 enable_oleaut32
1273 enable_olecli32
1274 enable_oledb32
1275 enable_oledlg
1276 enable_olepro32
1277 enable_olesvr32
1278 enable_olethk32
1279 enable_openal32
1280 enable_opencl
1281 enable_opengl32
1282 enable_packager
1283 enable_pdh
1284 enable_photometadatahandler
1285 enable_pidgen
1286 enable_powrprof
1287 enable_printui
1288 enable_prntvpt
1289 enable_propsys
1290 enable_psapi
1291 enable_pstorec
1292 enable_qcap
1293 enable_qedit
1294 enable_qmgr
1295 enable_qmgrprxy
1296 enable_quartz
1297 enable_query
1298 enable_rasapi32
1299 enable_rasdlg
1300 enable_regapi
1301 enable_resutils
1302 enable_riched20
1303 enable_riched32
1304 enable_rpcrt4
1305 enable_rsabase
1306 enable_rsaenh
1307 enable_rstrtmgr
1308 enable_rtutils
1309 enable_samlib
1310 enable_sane_ds
1311 enable_scarddlg
1312 enable_sccbase
1313 enable_schannel
1314 enable_schedsvc
1315 enable_scrrun
1316 enable_scsiport_sys
1317 enable_secur32
1318 enable_security
1319 enable_sensapi
1320 enable_serialui
1321 enable_setupapi
1322 enable_sfc
1323 enable_sfc_os
1324 enable_shdoclc
1325 enable_shdocvw
1326 enable_shell32
1327 enable_shfolder
1328 enable_shlwapi
1329 enable_slbcsp
1330 enable_slc
1331 enable_snmpapi
1332 enable_softpub
1333 enable_spoolss
1334 enable_sspicli
1335 enable_stdole2_tlb
1336 enable_stdole32_tlb
1337 enable_sti
1338 enable_svrapi
1339 enable_sxs
1340 enable_t2embed
1341 enable_tapi32
1342 enable_taskschd
1343 enable_tdi_sys
1344 enable_traffic
1345 enable_twain_32
1346 enable_ucrtbase
1347 enable_unicows
1348 enable_updspapi
1349 enable_url
1350 enable_urlmon
1351 enable_usbd_sys
1352 enable_user32
1353 enable_userenv
1354 enable_usp10
1355 enable_uxtheme
1356 enable_vbscript
1357 enable_vcomp
1358 enable_vcomp100
1359 enable_vcomp110
1360 enable_vcomp120
1361 enable_vcomp140
1362 enable_vcomp90
1363 enable_vcruntime140
1364 enable_vdmdbg
1365 enable_version
1366 enable_vssapi
1367 enable_wbemdisp
1368 enable_wbemprox
1369 enable_webservices
1370 enable_wer
1371 enable_wevtapi
1372 enable_wiaservc
1373 enable_wimgapi
1374 enable_windowscodecs
1375 enable_windowscodecsext
1376 enable_winealsa_drv
1377 enable_winecoreaudio_drv
1378 enable_wined3d
1379 enable_winegstreamer
1380 enable_winejoystick_drv
1381 enable_winemac_drv
1382 enable_winemapi
1383 enable_winemp3_acm
1384 enable_wineoss_drv
1385 enable_wineps_drv
1386 enable_winepulse_drv
1387 enable_wineqtdecoder
1388 enable_winex11_drv
1389 enable_wing32
1390 enable_winhttp
1391 enable_wininet
1392 enable_winmm
1393 enable_winnls32
1394 enable_winscard
1395 enable_winspool_drv
1396 enable_winsta
1397 enable_wintab32
1398 enable_wintrust
1399 enable_wlanapi
1400 enable_wldap32
1401 enable_wmasf
1402 enable_wmi
1403 enable_wmiutils
1404 enable_wmp
1405 enable_wmvcore
1406 enable_wnaspi32
1407 enable_wpc
1408 enable_wpcap
1409 enable_ws2_32
1410 enable_wshom_ocx
1411 enable_wsnmp32
1412 enable_wsock32
1413 enable_wtsapi32
1414 enable_wuapi
1415 enable_wuaueng
1416 enable_x3daudio1_0
1417 enable_x3daudio1_1
1418 enable_x3daudio1_2
1419 enable_x3daudio1_3
1420 enable_x3daudio1_4
1421 enable_x3daudio1_5
1422 enable_x3daudio1_6
1423 enable_x3daudio1_7
1424 enable_xapofx1_1
1425 enable_xapofx1_2
1426 enable_xapofx1_3
1427 enable_xapofx1_4
1428 enable_xapofx1_5
1429 enable_xaudio2_0
1430 enable_xaudio2_1
1431 enable_xaudio2_2
1432 enable_xaudio2_3
1433 enable_xaudio2_4
1434 enable_xaudio2_5
1435 enable_xaudio2_6
1436 enable_xaudio2_7
1437 enable_xaudio2_8
1438 enable_xaudio2_9
1439 enable_xinput1_1
1440 enable_xinput1_2
1441 enable_xinput1_3
1442 enable_xinput1_4
1443 enable_xinput9_1_0
1444 enable_xmllite
1445 enable_xolehlp
1446 enable_xpsprint
1447 enable_xpssvcs
1448 enable_fonts
1449 enable_include
1450 enable_libs_port
1451 enable_libs_wine
1452 enable_libs_wpp
1453 enable_loader
1454 enable_po
1455 enable_arp
1456 enable_aspnet_regiis
1457 enable_attrib
1458 enable_cabarc
1459 enable_cacls
1460 enable_clock
1461 enable_cmd
1462 enable_conhost
1463 enable_control
1464 enable_cscript
1465 enable_dpnsvr
1466 enable_dxdiag
1467 enable_eject
1468 enable_expand
1469 enable_explorer
1470 enable_extrac32
1471 enable_findstr
1472 enable_fsutil
1473 enable_hh
1474 enable_hostname
1475 enable_icacls
1476 enable_icinfo
1477 enable_iexplore
1478 enable_ipconfig
1479 enable_lodctr
1480 enable_mofcomp
1481 enable_mshta
1482 enable_msiexec
1483 enable_net
1484 enable_netsh
1485 enable_netstat
1486 enable_ngen
1487 enable_notepad
1488 enable_oleview
1489 enable_ping
1490 enable_plugplay
1491 enable_presentationfontcache
1492 enable_progman
1493 enable_reg
1494 enable_regasm
1495 enable_regedit
1496 enable_regsvcs
1497 enable_regsvr32
1498 enable_rpcss
1499 enable_rundll32
1500 enable_sc
1501 enable_schtasks
1502 enable_sdbinst
1503 enable_secedit
1504 enable_servicemodelreg
1505 enable_services
1506 enable_shutdown
1507 enable_spoolsv
1508 enable_start
1509 enable_svchost
1510 enable_systeminfo
1511 enable_taskkill
1512 enable_tasklist
1513 enable_taskmgr
1514 enable_termsv
1515 enable_uninstaller
1516 enable_unlodctr
1517 enable_view
1518 enable_wevtutil
1519 enable_wineboot
1520 enable_winebrowser
1521 enable_winecfg
1522 enable_wineconsole
1523 enable_winedbg
1524 enable_winedevice
1525 enable_winefile
1526 enable_winemenubuilder
1527 enable_winemine
1528 enable_winemsibuilder
1529 enable_winepath
1530 enable_winetest
1531 enable_winhlp32
1532 enable_winver
1533 enable_wmic
1534 enable_wmplayer
1535 enable_wordpad
1536 enable_write
1537 enable_wscript
1538 enable_wusa
1539 enable_xcopy
1540 enable_server
1541 enable_tools
1543 ac_precious_vars='build_alias
1544 host_alias
1545 target_alias
1547 CFLAGS
1548 LDFLAGS
1549 LIBS
1550 CPPFLAGS
1552 CXXFLAGS
1555 XMKMF
1556 XML2_CFLAGS
1557 XML2_LIBS
1558 XSLT_CFLAGS
1559 XSLT_LIBS
1560 DBUS_CFLAGS
1561 DBUS_LIBS
1562 HAL_CFLAGS
1563 HAL_LIBS
1564 GNUTLS_CFLAGS
1565 GNUTLS_LIBS
1566 SANE_CFLAGS
1567 SANE_LIBS
1568 GPHOTO2_CFLAGS
1569 GPHOTO2_LIBS
1570 GPHOTO2_PORT_CFLAGS
1571 GPHOTO2_PORT_LIBS
1572 LCMS2_CFLAGS
1573 LCMS2_LIBS
1574 FREETYPE_CFLAGS
1575 FREETYPE_LIBS
1576 PULSE_CFLAGS
1577 PULSE_LIBS
1578 GSTREAMER_CFLAGS
1579 GSTREAMER_LIBS
1580 CAPI20_CFLAGS
1581 CAPI20_LIBS
1582 FONTCONFIG_CFLAGS
1583 FONTCONFIG_LIBS
1584 JPEG_CFLAGS
1585 JPEG_LIBS
1586 PNG_CFLAGS
1587 PNG_LIBS
1588 TIFF_CFLAGS
1589 TIFF_LIBS
1590 MPG123_CFLAGS
1591 MPG123_LIBS
1592 NETAPI_CFLAGS
1593 NETAPI_LIBS'
1596 # Initialize some variables set by options.
1597 ac_init_help=
1598 ac_init_version=false
1599 ac_unrecognized_opts=
1600 ac_unrecognized_sep=
1601 # The variables have the same names as the options, with
1602 # dashes changed to underlines.
1603 cache_file=/dev/null
1604 exec_prefix=NONE
1605 no_create=
1606 no_recursion=
1607 prefix=NONE
1608 program_prefix=NONE
1609 program_suffix=NONE
1610 program_transform_name=s,x,x,
1611 silent=
1612 site=
1613 srcdir=
1614 verbose=
1615 x_includes=NONE
1616 x_libraries=NONE
1618 # Installation directory options.
1619 # These are left unexpanded so users can "make install exec_prefix=/foo"
1620 # and all the variables that are supposed to be based on exec_prefix
1621 # by default will actually change.
1622 # Use braces instead of parens because sh, perl, etc. also accept them.
1623 # (The list follows the same order as the GNU Coding Standards.)
1624 bindir='${exec_prefix}/bin'
1625 sbindir='${exec_prefix}/sbin'
1626 libexecdir='${exec_prefix}/libexec'
1627 datarootdir='${prefix}/share'
1628 datadir='${datarootdir}'
1629 sysconfdir='${prefix}/etc'
1630 sharedstatedir='${prefix}/com'
1631 localstatedir='${prefix}/var'
1632 runstatedir='${localstatedir}/run'
1633 includedir='${prefix}/include'
1634 oldincludedir='/usr/include'
1635 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1636 infodir='${datarootdir}/info'
1637 htmldir='${docdir}'
1638 dvidir='${docdir}'
1639 pdfdir='${docdir}'
1640 psdir='${docdir}'
1641 libdir='${exec_prefix}/lib'
1642 localedir='${datarootdir}/locale'
1643 mandir='${datarootdir}/man'
1645 ac_prev=
1646 ac_dashdash=
1647 for ac_option
1649 # If the previous option needs an argument, assign it.
1650 if test -n "$ac_prev"; then
1651 eval $ac_prev=\$ac_option
1652 ac_prev=
1653 continue
1656 case $ac_option in
1657 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1658 *=) ac_optarg= ;;
1659 *) ac_optarg=yes ;;
1660 esac
1662 # Accept the important Cygnus configure options, so we can diagnose typos.
1664 case $ac_dashdash$ac_option in
1666 ac_dashdash=yes ;;
1668 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1669 ac_prev=bindir ;;
1670 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1671 bindir=$ac_optarg ;;
1673 -build | --build | --buil | --bui | --bu)
1674 ac_prev=build_alias ;;
1675 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1676 build_alias=$ac_optarg ;;
1678 -cache-file | --cache-file | --cache-fil | --cache-fi \
1679 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1680 ac_prev=cache_file ;;
1681 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1682 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1683 cache_file=$ac_optarg ;;
1685 --config-cache | -C)
1686 cache_file=config.cache ;;
1688 -datadir | --datadir | --datadi | --datad)
1689 ac_prev=datadir ;;
1690 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1691 datadir=$ac_optarg ;;
1693 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1694 | --dataroo | --dataro | --datar)
1695 ac_prev=datarootdir ;;
1696 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1697 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1698 datarootdir=$ac_optarg ;;
1700 -disable-* | --disable-*)
1701 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1702 # Reject names that are not valid shell variable names.
1703 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1704 as_fn_error $? "invalid feature name: $ac_useropt"
1705 ac_useropt_orig=$ac_useropt
1706 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1707 case $ac_user_opts in
1709 "enable_$ac_useropt"
1710 "*) ;;
1711 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1712 ac_unrecognized_sep=', ';;
1713 esac
1714 eval enable_$ac_useropt=no ;;
1716 -docdir | --docdir | --docdi | --doc | --do)
1717 ac_prev=docdir ;;
1718 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1719 docdir=$ac_optarg ;;
1721 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1722 ac_prev=dvidir ;;
1723 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1724 dvidir=$ac_optarg ;;
1726 -enable-* | --enable-*)
1727 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1728 # Reject names that are not valid shell variable names.
1729 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1730 as_fn_error $? "invalid feature name: $ac_useropt"
1731 ac_useropt_orig=$ac_useropt
1732 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1733 case $ac_user_opts in
1735 "enable_$ac_useropt"
1736 "*) ;;
1737 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1738 ac_unrecognized_sep=', ';;
1739 esac
1740 eval enable_$ac_useropt=\$ac_optarg ;;
1742 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1743 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1744 | --exec | --exe | --ex)
1745 ac_prev=exec_prefix ;;
1746 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1747 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1748 | --exec=* | --exe=* | --ex=*)
1749 exec_prefix=$ac_optarg ;;
1751 -gas | --gas | --ga | --g)
1752 # Obsolete; use --with-gas.
1753 with_gas=yes ;;
1755 -help | --help | --hel | --he | -h)
1756 ac_init_help=long ;;
1757 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1758 ac_init_help=recursive ;;
1759 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1760 ac_init_help=short ;;
1762 -host | --host | --hos | --ho)
1763 ac_prev=host_alias ;;
1764 -host=* | --host=* | --hos=* | --ho=*)
1765 host_alias=$ac_optarg ;;
1767 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1768 ac_prev=htmldir ;;
1769 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1770 | --ht=*)
1771 htmldir=$ac_optarg ;;
1773 -includedir | --includedir | --includedi | --included | --include \
1774 | --includ | --inclu | --incl | --inc)
1775 ac_prev=includedir ;;
1776 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1777 | --includ=* | --inclu=* | --incl=* | --inc=*)
1778 includedir=$ac_optarg ;;
1780 -infodir | --infodir | --infodi | --infod | --info | --inf)
1781 ac_prev=infodir ;;
1782 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1783 infodir=$ac_optarg ;;
1785 -libdir | --libdir | --libdi | --libd)
1786 ac_prev=libdir ;;
1787 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1788 libdir=$ac_optarg ;;
1790 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1791 | --libexe | --libex | --libe)
1792 ac_prev=libexecdir ;;
1793 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1794 | --libexe=* | --libex=* | --libe=*)
1795 libexecdir=$ac_optarg ;;
1797 -localedir | --localedir | --localedi | --localed | --locale)
1798 ac_prev=localedir ;;
1799 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1800 localedir=$ac_optarg ;;
1802 -localstatedir | --localstatedir | --localstatedi | --localstated \
1803 | --localstate | --localstat | --localsta | --localst | --locals)
1804 ac_prev=localstatedir ;;
1805 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1806 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1807 localstatedir=$ac_optarg ;;
1809 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1810 ac_prev=mandir ;;
1811 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1812 mandir=$ac_optarg ;;
1814 -nfp | --nfp | --nf)
1815 # Obsolete; use --without-fp.
1816 with_fp=no ;;
1818 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1819 | --no-cr | --no-c | -n)
1820 no_create=yes ;;
1822 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1823 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1824 no_recursion=yes ;;
1826 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1827 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1828 | --oldin | --oldi | --old | --ol | --o)
1829 ac_prev=oldincludedir ;;
1830 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1831 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1832 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1833 oldincludedir=$ac_optarg ;;
1835 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1836 ac_prev=prefix ;;
1837 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1838 prefix=$ac_optarg ;;
1840 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1841 | --program-pre | --program-pr | --program-p)
1842 ac_prev=program_prefix ;;
1843 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1844 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1845 program_prefix=$ac_optarg ;;
1847 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1848 | --program-suf | --program-su | --program-s)
1849 ac_prev=program_suffix ;;
1850 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1851 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1852 program_suffix=$ac_optarg ;;
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 ac_prev=program_transform_name ;;
1862 -program-transform-name=* | --program-transform-name=* \
1863 | --program-transform-nam=* | --program-transform-na=* \
1864 | --program-transform-n=* | --program-transform-=* \
1865 | --program-transform=* | --program-transfor=* \
1866 | --program-transfo=* | --program-transf=* \
1867 | --program-trans=* | --program-tran=* \
1868 | --progr-tra=* | --program-tr=* | --program-t=*)
1869 program_transform_name=$ac_optarg ;;
1871 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1872 ac_prev=pdfdir ;;
1873 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1874 pdfdir=$ac_optarg ;;
1876 -psdir | --psdir | --psdi | --psd | --ps)
1877 ac_prev=psdir ;;
1878 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1879 psdir=$ac_optarg ;;
1881 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1882 | -silent | --silent | --silen | --sile | --sil)
1883 silent=yes ;;
1885 -runstatedir | --runstatedir | --runstatedi | --runstated \
1886 | --runstate | --runstat | --runsta | --runst | --runs \
1887 | --run | --ru | --r)
1888 ac_prev=runstatedir ;;
1889 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1890 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1891 | --run=* | --ru=* | --r=*)
1892 runstatedir=$ac_optarg ;;
1894 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1895 ac_prev=sbindir ;;
1896 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1897 | --sbi=* | --sb=*)
1898 sbindir=$ac_optarg ;;
1900 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1901 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1902 | --sharedst | --shareds | --shared | --share | --shar \
1903 | --sha | --sh)
1904 ac_prev=sharedstatedir ;;
1905 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1906 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1907 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1908 | --sha=* | --sh=*)
1909 sharedstatedir=$ac_optarg ;;
1911 -site | --site | --sit)
1912 ac_prev=site ;;
1913 -site=* | --site=* | --sit=*)
1914 site=$ac_optarg ;;
1916 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1917 ac_prev=srcdir ;;
1918 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1919 srcdir=$ac_optarg ;;
1921 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1922 | --syscon | --sysco | --sysc | --sys | --sy)
1923 ac_prev=sysconfdir ;;
1924 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1925 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1926 sysconfdir=$ac_optarg ;;
1928 -target | --target | --targe | --targ | --tar | --ta | --t)
1929 ac_prev=target_alias ;;
1930 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1931 target_alias=$ac_optarg ;;
1933 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1934 verbose=yes ;;
1936 -version | --version | --versio | --versi | --vers | -V)
1937 ac_init_version=: ;;
1939 -with-* | --with-*)
1940 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1941 # Reject names that are not valid shell variable names.
1942 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1943 as_fn_error $? "invalid package name: $ac_useropt"
1944 ac_useropt_orig=$ac_useropt
1945 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1946 case $ac_user_opts in
1948 "with_$ac_useropt"
1949 "*) ;;
1950 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1951 ac_unrecognized_sep=', ';;
1952 esac
1953 eval with_$ac_useropt=\$ac_optarg ;;
1955 -without-* | --without-*)
1956 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1957 # Reject names that are not valid shell variable names.
1958 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1959 as_fn_error $? "invalid package name: $ac_useropt"
1960 ac_useropt_orig=$ac_useropt
1961 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1962 case $ac_user_opts in
1964 "with_$ac_useropt"
1965 "*) ;;
1966 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1967 ac_unrecognized_sep=', ';;
1968 esac
1969 eval with_$ac_useropt=no ;;
1971 --x)
1972 # Obsolete; use --with-x.
1973 with_x=yes ;;
1975 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1976 | --x-incl | --x-inc | --x-in | --x-i)
1977 ac_prev=x_includes ;;
1978 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1979 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1980 x_includes=$ac_optarg ;;
1982 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1983 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1984 ac_prev=x_libraries ;;
1985 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1986 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1987 x_libraries=$ac_optarg ;;
1989 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1990 Try \`$0 --help' for more information"
1993 *=*)
1994 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1995 # Reject names that are not valid shell variable names.
1996 case $ac_envvar in #(
1997 '' | [0-9]* | *[!_$as_cr_alnum]* )
1998 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1999 esac
2000 eval $ac_envvar=\$ac_optarg
2001 export $ac_envvar ;;
2004 # FIXME: should be removed in autoconf 3.0.
2005 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2006 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2007 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2008 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2011 esac
2012 done
2014 if test -n "$ac_prev"; then
2015 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2016 as_fn_error $? "missing argument to $ac_option"
2019 if test -n "$ac_unrecognized_opts"; then
2020 case $enable_option_checking in
2021 no) ;;
2022 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2023 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2024 esac
2027 # Check all directory arguments for consistency.
2028 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2029 datadir sysconfdir sharedstatedir localstatedir includedir \
2030 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2031 libdir localedir mandir runstatedir
2033 eval ac_val=\$$ac_var
2034 # Remove trailing slashes.
2035 case $ac_val in
2036 */ )
2037 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2038 eval $ac_var=\$ac_val;;
2039 esac
2040 # Be sure to have absolute directory names.
2041 case $ac_val in
2042 [\\/$]* | ?:[\\/]* ) continue;;
2043 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2044 esac
2045 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2046 done
2048 # There might be people who depend on the old broken behavior: `$host'
2049 # used to hold the argument of --host etc.
2050 # FIXME: To remove some day.
2051 build=$build_alias
2052 host=$host_alias
2053 target=$target_alias
2055 # FIXME: To remove some day.
2056 if test "x$host_alias" != x; then
2057 if test "x$build_alias" = x; then
2058 cross_compiling=maybe
2059 elif test "x$build_alias" != "x$host_alias"; then
2060 cross_compiling=yes
2064 ac_tool_prefix=
2065 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2067 test "$silent" = yes && exec 6>/dev/null
2070 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2071 ac_ls_di=`ls -di .` &&
2072 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2073 as_fn_error $? "working directory cannot be determined"
2074 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2075 as_fn_error $? "pwd does not report name of working directory"
2078 # Find the source files, if location was not specified.
2079 if test -z "$srcdir"; then
2080 ac_srcdir_defaulted=yes
2081 # Try the directory containing this script, then the parent directory.
2082 ac_confdir=`$as_dirname -- "$as_myself" ||
2083 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2084 X"$as_myself" : 'X\(//\)[^/]' \| \
2085 X"$as_myself" : 'X\(//\)$' \| \
2086 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2087 $as_echo X"$as_myself" |
2088 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2089 s//\1/
2092 /^X\(\/\/\)[^/].*/{
2093 s//\1/
2096 /^X\(\/\/\)$/{
2097 s//\1/
2100 /^X\(\/\).*/{
2101 s//\1/
2104 s/.*/./; q'`
2105 srcdir=$ac_confdir
2106 if test ! -r "$srcdir/$ac_unique_file"; then
2107 srcdir=..
2109 else
2110 ac_srcdir_defaulted=no
2112 if test ! -r "$srcdir/$ac_unique_file"; then
2113 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2114 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2116 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2117 ac_abs_confdir=`(
2118 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2119 pwd)`
2120 # When building in place, set srcdir=.
2121 if test "$ac_abs_confdir" = "$ac_pwd"; then
2122 srcdir=.
2124 # Remove unnecessary trailing slashes from srcdir.
2125 # Double slashes in file names in object file debugging info
2126 # mess up M-x gdb in Emacs.
2127 case $srcdir in
2128 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2129 esac
2130 for ac_var in $ac_precious_vars; do
2131 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2132 eval ac_env_${ac_var}_value=\$${ac_var}
2133 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2134 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2135 done
2138 # Report the --help message.
2140 if test "$ac_init_help" = "long"; then
2141 # Omit some internal or obsolete options to make the list less imposing.
2142 # This message is too long to be a string in the A/UX 3.1 sh.
2143 cat <<_ACEOF
2144 \`configure' configures Wine 1.9.17 to adapt to many kinds of systems.
2146 Usage: $0 [OPTION]... [VAR=VALUE]...
2148 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2149 VAR=VALUE. See below for descriptions of some of the useful variables.
2151 Defaults for the options are specified in brackets.
2153 Configuration:
2154 -h, --help display this help and exit
2155 --help=short display options specific to this package
2156 --help=recursive display the short help of all the included packages
2157 -V, --version display version information and exit
2158 -q, --quiet, --silent do not print \`checking ...' messages
2159 --cache-file=FILE cache test results in FILE [disabled]
2160 -C, --config-cache alias for \`--cache-file=config.cache'
2161 -n, --no-create do not create output files
2162 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2164 Installation directories:
2165 --prefix=PREFIX install architecture-independent files in PREFIX
2166 [$ac_default_prefix]
2167 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2168 [PREFIX]
2170 By default, \`make install' will install all the files in
2171 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2172 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2173 for instance \`--prefix=\$HOME'.
2175 For better control, use the options below.
2177 Fine tuning of the installation directories:
2178 --bindir=DIR user executables [EPREFIX/bin]
2179 --sbindir=DIR system admin executables [EPREFIX/sbin]
2180 --libexecdir=DIR program executables [EPREFIX/libexec]
2181 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2182 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2183 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2184 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2185 --libdir=DIR object code libraries [EPREFIX/lib]
2186 --includedir=DIR C header files [PREFIX/include]
2187 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2188 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2189 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2190 --infodir=DIR info documentation [DATAROOTDIR/info]
2191 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2192 --mandir=DIR man documentation [DATAROOTDIR/man]
2193 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2194 --htmldir=DIR html documentation [DOCDIR]
2195 --dvidir=DIR dvi documentation [DOCDIR]
2196 --pdfdir=DIR pdf documentation [DOCDIR]
2197 --psdir=DIR ps documentation [DOCDIR]
2198 _ACEOF
2200 cat <<\_ACEOF
2202 X features:
2203 --x-includes=DIR X include files are in DIR
2204 --x-libraries=DIR X library files are in DIR
2206 System types:
2207 --build=BUILD configure for building on BUILD [guessed]
2208 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2209 _ACEOF
2212 if test -n "$ac_init_help"; then
2213 case $ac_init_help in
2214 short | recursive ) echo "Configuration of Wine 1.9.17:";;
2215 esac
2216 cat <<\_ACEOF
2218 Optional Features:
2219 --disable-option-checking ignore unrecognized --enable/--with options
2220 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2221 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2222 --disable-win16 do not include Win16 support
2223 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2224 binaries)
2225 --disable-tests do not build the regression tests
2226 --enable-maintainer-mode
2227 enable maintainer-specific build rules
2228 --disable-largefile omit support for large files
2230 Optional Packages:
2231 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2232 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2233 --without-alsa do not use the Alsa sound support
2234 --without-capi do not use CAPI (ISDN support)
2235 --without-cms do not use CMS (color management support)
2236 --without-coreaudio do not use the CoreAudio sound support
2237 --without-cups do not use CUPS
2238 --without-curses do not use (n)curses
2239 --without-dbus do not use DBus (dynamic device support)
2240 --without-fontconfig do not use fontconfig
2241 --without-freetype do not use the FreeType library
2242 --without-gettext do not use gettext
2243 --with-gettextpo use the GetTextPO library to rebuild po files
2244 --without-gphoto do not use gphoto (Digital Camera support)
2245 --without-glu do not use the GLU library
2246 --without-gnutls do not use GnuTLS (schannel support)
2247 --without-gsm do not use libgsm (GSM 06.10 codec support)
2248 --without-gstreamer do not use GStreamer (codecs support)
2249 --without-hal do not use HAL (dynamic device support)
2250 --without-jpeg do not use JPEG
2251 --without-ldap do not use LDAP
2252 --without-mpg123 do not use the mpg123 library
2253 --without-netapi do not use the Samba NetAPI library
2254 --without-openal do not use OpenAL
2255 --without-opencl do not use OpenCL
2256 --without-opengl do not use OpenGL
2257 --without-osmesa do not use the OSMesa library
2258 --without-oss do not use the OSS sound support
2259 --without-pcap do not use the Packet Capture library
2260 --without-png do not use PNG
2261 --without-pthread do not use the pthread library
2262 --without-pulse do not use PulseAudio sound support
2263 --without-sane do not use SANE (scanner support)
2264 --without-tiff do not use TIFF
2265 --without-v4l do not use v4l1 (v4l support)
2266 --without-xcomposite do not use the Xcomposite extension
2267 --without-xcursor do not use the Xcursor extension
2268 --without-xinerama do not use Xinerama (multi-monitor support)
2269 --without-xinput do not use the Xinput extension
2270 --without-xinput2 do not use the Xinput 2 extension
2271 --without-xml do not use XML
2272 --without-xrandr do not use Xrandr (resolution changes)
2273 --without-xrender do not use the Xrender extension
2274 --without-xshape do not use the Xshape extension
2275 --without-xshm do not use XShm (shared memory extension)
2276 --without-xslt do not use XSLT
2277 --without-xxf86vm do not use XFree video mode extension
2278 --without-zlib do not use Zlib (data compression)
2279 --with-wine-tools=DIR use Wine tools from directory DIR
2280 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2281 --with-x use the X Window System
2283 Some influential environment variables:
2284 CC C compiler command
2285 CFLAGS C compiler flags
2286 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2287 nonstandard directory <lib dir>
2288 LIBS libraries to pass to the linker, e.g. -l<library>
2289 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2290 you have headers in a nonstandard directory <include dir>
2291 CXX C++ compiler command
2292 CXXFLAGS C++ compiler flags
2293 CPP C preprocessor
2294 XMKMF Path to xmkmf, Makefile generator for X Window System
2295 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2296 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2297 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2298 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2299 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2300 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2301 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2302 HAL_LIBS Linker flags for hal, overriding pkg-config
2303 GNUTLS_CFLAGS
2304 C compiler flags for gnutls, overriding pkg-config
2305 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2306 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2307 SANE_LIBS Linker flags for libsane, overriding pkg-config
2308 GPHOTO2_CFLAGS
2309 C compiler flags for libgphoto2, overriding pkg-config
2310 GPHOTO2_LIBS
2311 Linker flags for libgphoto2, overriding pkg-config
2312 GPHOTO2_PORT_CFLAGS
2313 C compiler flags for libgphoto2_port, overriding pkg-config
2314 GPHOTO2_PORT_LIBS
2315 Linker flags for libgphoto2_port, overriding pkg-config
2316 LCMS2_CFLAGS
2317 C compiler flags for lcms2, overriding pkg-config
2318 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2319 FREETYPE_CFLAGS
2320 C compiler flags for freetype2, overriding pkg-config
2321 FREETYPE_LIBS
2322 Linker flags for freetype2, overriding pkg-config
2323 PULSE_CFLAGS
2324 C compiler flags for libpulse, overriding pkg-config
2325 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2326 GSTREAMER_CFLAGS
2327 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2328 gstreamer-audio-1.0, overriding pkg-config
2329 GSTREAMER_LIBS
2330 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2331 gstreamer-audio-1.0, overriding pkg-config
2332 CAPI20_CFLAGS
2333 C compiler flags for capi20, overriding pkg-config
2334 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2335 FONTCONFIG_CFLAGS
2336 C compiler flags for fontconfig, overriding pkg-config
2337 FONTCONFIG_LIBS
2338 Linker flags for fontconfig, overriding pkg-config
2339 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2340 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2341 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2342 PNG_LIBS Linker flags for libpng, overriding pkg-config
2343 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2344 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2345 MPG123_CFLAGS
2346 C compiler flags for libmpg123, overriding pkg-config
2347 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2348 NETAPI_CFLAGS
2349 C compiler flags for netapi, overriding pkg-config
2350 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2352 Use these variables to override the choices made by `configure' or to help
2353 it to find libraries and programs with nonstandard names/locations.
2355 Report bugs to <wine-devel@winehq.org>.
2356 Wine home page: <http://www.winehq.org>.
2357 _ACEOF
2358 ac_status=$?
2361 if test "$ac_init_help" = "recursive"; then
2362 # If there are subdirs, report their specific --help.
2363 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2364 test -d "$ac_dir" ||
2365 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2366 continue
2367 ac_builddir=.
2369 case "$ac_dir" in
2370 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2372 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2373 # A ".." for each directory in $ac_dir_suffix.
2374 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2375 case $ac_top_builddir_sub in
2376 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2377 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2378 esac ;;
2379 esac
2380 ac_abs_top_builddir=$ac_pwd
2381 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2382 # for backward compatibility:
2383 ac_top_builddir=$ac_top_build_prefix
2385 case $srcdir in
2386 .) # We are building in place.
2387 ac_srcdir=.
2388 ac_top_srcdir=$ac_top_builddir_sub
2389 ac_abs_top_srcdir=$ac_pwd ;;
2390 [\\/]* | ?:[\\/]* ) # Absolute name.
2391 ac_srcdir=$srcdir$ac_dir_suffix;
2392 ac_top_srcdir=$srcdir
2393 ac_abs_top_srcdir=$srcdir ;;
2394 *) # Relative name.
2395 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2396 ac_top_srcdir=$ac_top_build_prefix$srcdir
2397 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2398 esac
2399 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2401 cd "$ac_dir" || { ac_status=$?; continue; }
2402 # Check for guested configure.
2403 if test -f "$ac_srcdir/configure.gnu"; then
2404 echo &&
2405 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2406 elif test -f "$ac_srcdir/configure"; then
2407 echo &&
2408 $SHELL "$ac_srcdir/configure" --help=recursive
2409 else
2410 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2411 fi || ac_status=$?
2412 cd "$ac_pwd" || { ac_status=$?; break; }
2413 done
2416 test -n "$ac_init_help" && exit $ac_status
2417 if $ac_init_version; then
2418 cat <<\_ACEOF
2419 Wine configure 1.9.17
2420 generated by GNU Autoconf 2.69
2422 Copyright (C) 2012 Free Software Foundation, Inc.
2423 This configure script is free software; the Free Software Foundation
2424 gives unlimited permission to copy, distribute and modify it.
2425 _ACEOF
2426 exit
2429 ## ------------------------ ##
2430 ## Autoconf initialization. ##
2431 ## ------------------------ ##
2433 # ac_fn_c_try_compile LINENO
2434 # --------------------------
2435 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2436 ac_fn_c_try_compile ()
2438 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2439 rm -f conftest.$ac_objext
2440 if { { ac_try="$ac_compile"
2441 case "(($ac_try" in
2442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2443 *) ac_try_echo=$ac_try;;
2444 esac
2445 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2446 $as_echo "$ac_try_echo"; } >&5
2447 (eval "$ac_compile") 2>conftest.err
2448 ac_status=$?
2449 if test -s conftest.err; then
2450 grep -v '^ *+' conftest.err >conftest.er1
2451 cat conftest.er1 >&5
2452 mv -f conftest.er1 conftest.err
2454 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2455 test $ac_status = 0; } && {
2456 test -z "$ac_c_werror_flag" ||
2457 test ! -s conftest.err
2458 } && test -s conftest.$ac_objext; then :
2459 ac_retval=0
2460 else
2461 $as_echo "$as_me: failed program was:" >&5
2462 sed 's/^/| /' conftest.$ac_ext >&5
2464 ac_retval=1
2466 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2467 as_fn_set_status $ac_retval
2469 } # ac_fn_c_try_compile
2471 # ac_fn_cxx_try_compile LINENO
2472 # ----------------------------
2473 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2474 ac_fn_cxx_try_compile ()
2476 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2477 rm -f conftest.$ac_objext
2478 if { { ac_try="$ac_compile"
2479 case "(($ac_try" in
2480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2481 *) ac_try_echo=$ac_try;;
2482 esac
2483 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2484 $as_echo "$ac_try_echo"; } >&5
2485 (eval "$ac_compile") 2>conftest.err
2486 ac_status=$?
2487 if test -s conftest.err; then
2488 grep -v '^ *+' conftest.err >conftest.er1
2489 cat conftest.er1 >&5
2490 mv -f conftest.er1 conftest.err
2492 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2493 test $ac_status = 0; } && {
2494 test -z "$ac_cxx_werror_flag" ||
2495 test ! -s conftest.err
2496 } && test -s conftest.$ac_objext; then :
2497 ac_retval=0
2498 else
2499 $as_echo "$as_me: failed program was:" >&5
2500 sed 's/^/| /' conftest.$ac_ext >&5
2502 ac_retval=1
2504 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2505 as_fn_set_status $ac_retval
2507 } # ac_fn_cxx_try_compile
2509 # ac_fn_c_try_link LINENO
2510 # -----------------------
2511 # Try to link conftest.$ac_ext, and return whether this succeeded.
2512 ac_fn_c_try_link ()
2514 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2515 rm -f conftest.$ac_objext conftest$ac_exeext
2516 if { { ac_try="$ac_link"
2517 case "(($ac_try" in
2518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2519 *) ac_try_echo=$ac_try;;
2520 esac
2521 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2522 $as_echo "$ac_try_echo"; } >&5
2523 (eval "$ac_link") 2>conftest.err
2524 ac_status=$?
2525 if test -s conftest.err; then
2526 grep -v '^ *+' conftest.err >conftest.er1
2527 cat conftest.er1 >&5
2528 mv -f conftest.er1 conftest.err
2530 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2531 test $ac_status = 0; } && {
2532 test -z "$ac_c_werror_flag" ||
2533 test ! -s conftest.err
2534 } && test -s conftest$ac_exeext && {
2535 test "$cross_compiling" = yes ||
2536 test -x conftest$ac_exeext
2537 }; then :
2538 ac_retval=0
2539 else
2540 $as_echo "$as_me: failed program was:" >&5
2541 sed 's/^/| /' conftest.$ac_ext >&5
2543 ac_retval=1
2545 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2546 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2547 # interfere with the next link command; also delete a directory that is
2548 # left behind by Apple's compiler. We do this before executing the actions.
2549 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2550 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2551 as_fn_set_status $ac_retval
2553 } # ac_fn_c_try_link
2555 # ac_fn_c_try_cpp LINENO
2556 # ----------------------
2557 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2558 ac_fn_c_try_cpp ()
2560 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2561 if { { ac_try="$ac_cpp conftest.$ac_ext"
2562 case "(($ac_try" in
2563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2564 *) ac_try_echo=$ac_try;;
2565 esac
2566 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2567 $as_echo "$ac_try_echo"; } >&5
2568 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2569 ac_status=$?
2570 if test -s conftest.err; then
2571 grep -v '^ *+' conftest.err >conftest.er1
2572 cat conftest.er1 >&5
2573 mv -f conftest.er1 conftest.err
2575 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2576 test $ac_status = 0; } > conftest.i && {
2577 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2578 test ! -s conftest.err
2579 }; then :
2580 ac_retval=0
2581 else
2582 $as_echo "$as_me: failed program was:" >&5
2583 sed 's/^/| /' conftest.$ac_ext >&5
2585 ac_retval=1
2587 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2588 as_fn_set_status $ac_retval
2590 } # ac_fn_c_try_cpp
2592 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2593 # -------------------------------------------------------
2594 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2595 # the include files in INCLUDES and setting the cache variable VAR
2596 # accordingly.
2597 ac_fn_c_check_header_mongrel ()
2599 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2600 if eval \${$3+:} false; then :
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2602 $as_echo_n "checking for $2... " >&6; }
2603 if eval \${$3+:} false; then :
2604 $as_echo_n "(cached) " >&6
2606 eval ac_res=\$$3
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2608 $as_echo "$ac_res" >&6; }
2609 else
2610 # Is the header compilable?
2611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2612 $as_echo_n "checking $2 usability... " >&6; }
2613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2614 /* end confdefs.h. */
2616 #include <$2>
2617 _ACEOF
2618 if ac_fn_c_try_compile "$LINENO"; then :
2619 ac_header_compiler=yes
2620 else
2621 ac_header_compiler=no
2623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2625 $as_echo "$ac_header_compiler" >&6; }
2627 # Is the header present?
2628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2629 $as_echo_n "checking $2 presence... " >&6; }
2630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2631 /* end confdefs.h. */
2632 #include <$2>
2633 _ACEOF
2634 if ac_fn_c_try_cpp "$LINENO"; then :
2635 ac_header_preproc=yes
2636 else
2637 ac_header_preproc=no
2639 rm -f conftest.err conftest.i conftest.$ac_ext
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2641 $as_echo "$ac_header_preproc" >&6; }
2643 # So? What about this header?
2644 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2645 yes:no: )
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2647 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2649 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2651 no:yes:* )
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2653 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2655 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2657 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2659 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2661 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2662 ( $as_echo "## ------------------------------------ ##
2663 ## Report this to wine-devel@winehq.org ##
2664 ## ------------------------------------ ##"
2665 ) | sed "s/^/$as_me: WARNING: /" >&2
2667 esac
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2669 $as_echo_n "checking for $2... " >&6; }
2670 if eval \${$3+:} false; then :
2671 $as_echo_n "(cached) " >&6
2672 else
2673 eval "$3=\$ac_header_compiler"
2675 eval ac_res=\$$3
2676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2677 $as_echo "$ac_res" >&6; }
2679 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2681 } # ac_fn_c_check_header_mongrel
2683 # ac_fn_c_try_run LINENO
2684 # ----------------------
2685 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2686 # that executables *can* be run.
2687 ac_fn_c_try_run ()
2689 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2690 if { { ac_try="$ac_link"
2691 case "(($ac_try" in
2692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2693 *) ac_try_echo=$ac_try;;
2694 esac
2695 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2696 $as_echo "$ac_try_echo"; } >&5
2697 (eval "$ac_link") 2>&5
2698 ac_status=$?
2699 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2700 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2701 { { case "(($ac_try" in
2702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2703 *) ac_try_echo=$ac_try;;
2704 esac
2705 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2706 $as_echo "$ac_try_echo"; } >&5
2707 (eval "$ac_try") 2>&5
2708 ac_status=$?
2709 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2710 test $ac_status = 0; }; }; then :
2711 ac_retval=0
2712 else
2713 $as_echo "$as_me: program exited with status $ac_status" >&5
2714 $as_echo "$as_me: failed program was:" >&5
2715 sed 's/^/| /' conftest.$ac_ext >&5
2717 ac_retval=$ac_status
2719 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2720 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2721 as_fn_set_status $ac_retval
2723 } # ac_fn_c_try_run
2725 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2726 # -------------------------------------------------------
2727 # Tests whether HEADER exists and can be compiled using the include files in
2728 # INCLUDES, setting the cache variable VAR accordingly.
2729 ac_fn_c_check_header_compile ()
2731 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2733 $as_echo_n "checking for $2... " >&6; }
2734 if eval \${$3+:} false; then :
2735 $as_echo_n "(cached) " >&6
2736 else
2737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2738 /* end confdefs.h. */
2740 #include <$2>
2741 _ACEOF
2742 if ac_fn_c_try_compile "$LINENO"; then :
2743 eval "$3=yes"
2744 else
2745 eval "$3=no"
2747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2749 eval ac_res=\$$3
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2751 $as_echo "$ac_res" >&6; }
2752 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2754 } # ac_fn_c_check_header_compile
2756 # ac_fn_c_check_func LINENO FUNC VAR
2757 # ----------------------------------
2758 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2759 ac_fn_c_check_func ()
2761 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2763 $as_echo_n "checking for $2... " >&6; }
2764 if eval \${$3+:} false; then :
2765 $as_echo_n "(cached) " >&6
2766 else
2767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2768 /* end confdefs.h. */
2769 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2770 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2771 #define $2 innocuous_$2
2773 /* System header to define __stub macros and hopefully few prototypes,
2774 which can conflict with char $2 (); below.
2775 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2776 <limits.h> exists even on freestanding compilers. */
2778 #ifdef __STDC__
2779 # include <limits.h>
2780 #else
2781 # include <assert.h>
2782 #endif
2784 #undef $2
2786 /* Override any GCC internal prototype to avoid an error.
2787 Use char because int might match the return type of a GCC
2788 builtin and then its argument prototype would still apply. */
2789 #ifdef __cplusplus
2790 extern "C"
2791 #endif
2792 char $2 ();
2793 /* The GNU C library defines this for functions which it implements
2794 to always fail with ENOSYS. Some functions are actually named
2795 something starting with __ and the normal name is an alias. */
2796 #if defined __stub_$2 || defined __stub___$2
2797 choke me
2798 #endif
2801 main ()
2803 return $2 ();
2805 return 0;
2807 _ACEOF
2808 if ac_fn_c_try_link "$LINENO"; then :
2809 eval "$3=yes"
2810 else
2811 eval "$3=no"
2813 rm -f core conftest.err conftest.$ac_objext \
2814 conftest$ac_exeext conftest.$ac_ext
2816 eval ac_res=\$$3
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2818 $as_echo "$ac_res" >&6; }
2819 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2821 } # ac_fn_c_check_func
2823 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2824 # ----------------------------------------------------
2825 # Tries to find if the field MEMBER exists in type AGGR, after including
2826 # INCLUDES, setting cache variable VAR accordingly.
2827 ac_fn_c_check_member ()
2829 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2831 $as_echo_n "checking for $2.$3... " >&6; }
2832 if eval \${$4+:} false; then :
2833 $as_echo_n "(cached) " >&6
2834 else
2835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2836 /* end confdefs.h. */
2839 main ()
2841 static $2 ac_aggr;
2842 if (ac_aggr.$3)
2843 return 0;
2845 return 0;
2847 _ACEOF
2848 if ac_fn_c_try_compile "$LINENO"; then :
2849 eval "$4=yes"
2850 else
2851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2852 /* end confdefs.h. */
2855 main ()
2857 static $2 ac_aggr;
2858 if (sizeof ac_aggr.$3)
2859 return 0;
2861 return 0;
2863 _ACEOF
2864 if ac_fn_c_try_compile "$LINENO"; then :
2865 eval "$4=yes"
2866 else
2867 eval "$4=no"
2869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2873 eval ac_res=\$$4
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2875 $as_echo "$ac_res" >&6; }
2876 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2878 } # ac_fn_c_check_member
2880 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2881 # -------------------------------------------
2882 # Tests whether TYPE exists after having included INCLUDES, setting cache
2883 # variable VAR accordingly.
2884 ac_fn_c_check_type ()
2886 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2888 $as_echo_n "checking for $2... " >&6; }
2889 if eval \${$3+:} false; then :
2890 $as_echo_n "(cached) " >&6
2891 else
2892 eval "$3=no"
2893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2894 /* end confdefs.h. */
2897 main ()
2899 if (sizeof ($2))
2900 return 0;
2902 return 0;
2904 _ACEOF
2905 if ac_fn_c_try_compile "$LINENO"; then :
2906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2907 /* end confdefs.h. */
2910 main ()
2912 if (sizeof (($2)))
2913 return 0;
2915 return 0;
2917 _ACEOF
2918 if ac_fn_c_try_compile "$LINENO"; then :
2920 else
2921 eval "$3=yes"
2923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2927 eval ac_res=\$$3
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2929 $as_echo "$ac_res" >&6; }
2930 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2932 } # ac_fn_c_check_type
2933 cat >config.log <<_ACEOF
2934 This file contains any messages produced by compilers while
2935 running configure, to aid debugging if configure makes a mistake.
2937 It was created by Wine $as_me 1.9.17, which was
2938 generated by GNU Autoconf 2.69. Invocation command line was
2940 $ $0 $@
2942 _ACEOF
2943 exec 5>>config.log
2945 cat <<_ASUNAME
2946 ## --------- ##
2947 ## Platform. ##
2948 ## --------- ##
2950 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2951 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2952 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2953 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2954 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2956 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2957 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2959 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2960 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2961 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2962 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2963 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2964 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2965 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2967 _ASUNAME
2969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2970 for as_dir in $PATH
2972 IFS=$as_save_IFS
2973 test -z "$as_dir" && as_dir=.
2974 $as_echo "PATH: $as_dir"
2975 done
2976 IFS=$as_save_IFS
2978 } >&5
2980 cat >&5 <<_ACEOF
2983 ## ----------- ##
2984 ## Core tests. ##
2985 ## ----------- ##
2987 _ACEOF
2990 # Keep a trace of the command line.
2991 # Strip out --no-create and --no-recursion so they do not pile up.
2992 # Strip out --silent because we don't want to record it for future runs.
2993 # Also quote any args containing shell meta-characters.
2994 # Make two passes to allow for proper duplicate-argument suppression.
2995 ac_configure_args=
2996 ac_configure_args0=
2997 ac_configure_args1=
2998 ac_must_keep_next=false
2999 for ac_pass in 1 2
3001 for ac_arg
3003 case $ac_arg in
3004 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3005 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3006 | -silent | --silent | --silen | --sile | --sil)
3007 continue ;;
3008 *\'*)
3009 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3010 esac
3011 case $ac_pass in
3012 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3014 as_fn_append ac_configure_args1 " '$ac_arg'"
3015 if test $ac_must_keep_next = true; then
3016 ac_must_keep_next=false # Got value, back to normal.
3017 else
3018 case $ac_arg in
3019 *=* | --config-cache | -C | -disable-* | --disable-* \
3020 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3021 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3022 | -with-* | --with-* | -without-* | --without-* | --x)
3023 case "$ac_configure_args0 " in
3024 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3025 esac
3027 -* ) ac_must_keep_next=true ;;
3028 esac
3030 as_fn_append ac_configure_args " '$ac_arg'"
3032 esac
3033 done
3034 done
3035 { ac_configure_args0=; unset ac_configure_args0;}
3036 { ac_configure_args1=; unset ac_configure_args1;}
3038 # When interrupted or exit'd, cleanup temporary files, and complete
3039 # config.log. We remove comments because anyway the quotes in there
3040 # would cause problems or look ugly.
3041 # WARNING: Use '\'' to represent an apostrophe within the trap.
3042 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3043 trap 'exit_status=$?
3044 # Save into config.log some information that might help in debugging.
3046 echo
3048 $as_echo "## ---------------- ##
3049 ## Cache variables. ##
3050 ## ---------------- ##"
3051 echo
3052 # The following way of writing the cache mishandles newlines in values,
3054 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3055 eval ac_val=\$$ac_var
3056 case $ac_val in #(
3057 *${as_nl}*)
3058 case $ac_var in #(
3059 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3060 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3061 esac
3062 case $ac_var in #(
3063 _ | IFS | as_nl) ;; #(
3064 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3065 *) { eval $ac_var=; unset $ac_var;} ;;
3066 esac ;;
3067 esac
3068 done
3069 (set) 2>&1 |
3070 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3071 *${as_nl}ac_space=\ *)
3072 sed -n \
3073 "s/'\''/'\''\\\\'\'''\''/g;
3074 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3075 ;; #(
3077 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3079 esac |
3080 sort
3082 echo
3084 $as_echo "## ----------------- ##
3085 ## Output variables. ##
3086 ## ----------------- ##"
3087 echo
3088 for ac_var in $ac_subst_vars
3090 eval ac_val=\$$ac_var
3091 case $ac_val in
3092 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3093 esac
3094 $as_echo "$ac_var='\''$ac_val'\''"
3095 done | sort
3096 echo
3098 if test -n "$ac_subst_files"; then
3099 $as_echo "## ------------------- ##
3100 ## File substitutions. ##
3101 ## ------------------- ##"
3102 echo
3103 for ac_var in $ac_subst_files
3105 eval ac_val=\$$ac_var
3106 case $ac_val in
3107 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3108 esac
3109 $as_echo "$ac_var='\''$ac_val'\''"
3110 done | sort
3111 echo
3114 if test -s confdefs.h; then
3115 $as_echo "## ----------- ##
3116 ## confdefs.h. ##
3117 ## ----------- ##"
3118 echo
3119 cat confdefs.h
3120 echo
3122 test "$ac_signal" != 0 &&
3123 $as_echo "$as_me: caught signal $ac_signal"
3124 $as_echo "$as_me: exit $exit_status"
3125 } >&5
3126 rm -f core *.core core.conftest.* &&
3127 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3128 exit $exit_status
3130 for ac_signal in 1 2 13 15; do
3131 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3132 done
3133 ac_signal=0
3135 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3136 rm -f -r conftest* confdefs.h
3138 $as_echo "/* confdefs.h */" > confdefs.h
3140 # Predefined preprocessor variables.
3142 cat >>confdefs.h <<_ACEOF
3143 #define PACKAGE_NAME "$PACKAGE_NAME"
3144 _ACEOF
3146 cat >>confdefs.h <<_ACEOF
3147 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3148 _ACEOF
3150 cat >>confdefs.h <<_ACEOF
3151 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3152 _ACEOF
3154 cat >>confdefs.h <<_ACEOF
3155 #define PACKAGE_STRING "$PACKAGE_STRING"
3156 _ACEOF
3158 cat >>confdefs.h <<_ACEOF
3159 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3160 _ACEOF
3162 cat >>confdefs.h <<_ACEOF
3163 #define PACKAGE_URL "$PACKAGE_URL"
3164 _ACEOF
3167 # Let the site file select an alternate cache file if it wants to.
3168 # Prefer an explicitly selected file to automatically selected ones.
3169 ac_site_file1=NONE
3170 ac_site_file2=NONE
3171 if test -n "$CONFIG_SITE"; then
3172 # We do not want a PATH search for config.site.
3173 case $CONFIG_SITE in #((
3174 -*) ac_site_file1=./$CONFIG_SITE;;
3175 */*) ac_site_file1=$CONFIG_SITE;;
3176 *) ac_site_file1=./$CONFIG_SITE;;
3177 esac
3178 elif test "x$prefix" != xNONE; then
3179 ac_site_file1=$prefix/share/config.site
3180 ac_site_file2=$prefix/etc/config.site
3181 else
3182 ac_site_file1=$ac_default_prefix/share/config.site
3183 ac_site_file2=$ac_default_prefix/etc/config.site
3185 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3187 test "x$ac_site_file" = xNONE && continue
3188 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3190 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3191 sed 's/^/| /' "$ac_site_file" >&5
3192 . "$ac_site_file" \
3193 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3194 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3195 as_fn_error $? "failed to load site script $ac_site_file
3196 See \`config.log' for more details" "$LINENO" 5; }
3198 done
3200 if test -r "$cache_file"; then
3201 # Some versions of bash will fail to source /dev/null (special files
3202 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3203 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3205 $as_echo "$as_me: loading cache $cache_file" >&6;}
3206 case $cache_file in
3207 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3208 *) . "./$cache_file";;
3209 esac
3211 else
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3213 $as_echo "$as_me: creating cache $cache_file" >&6;}
3214 >$cache_file
3217 # Check that the precious variables saved in the cache have kept the same
3218 # value.
3219 ac_cache_corrupted=false
3220 for ac_var in $ac_precious_vars; do
3221 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3222 eval ac_new_set=\$ac_env_${ac_var}_set
3223 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3224 eval ac_new_val=\$ac_env_${ac_var}_value
3225 case $ac_old_set,$ac_new_set in
3226 set,)
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3228 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3229 ac_cache_corrupted=: ;;
3230 ,set)
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3232 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3233 ac_cache_corrupted=: ;;
3234 ,);;
3236 if test "x$ac_old_val" != "x$ac_new_val"; then
3237 # differences in whitespace do not lead to failure.
3238 ac_old_val_w=`echo x $ac_old_val`
3239 ac_new_val_w=`echo x $ac_new_val`
3240 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3242 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3243 ac_cache_corrupted=:
3244 else
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3246 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3247 eval $ac_var=\$ac_old_val
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3250 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3252 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3253 fi;;
3254 esac
3255 # Pass precious variables to config.status.
3256 if test "$ac_new_set" = set; then
3257 case $ac_new_val in
3258 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3259 *) ac_arg=$ac_var=$ac_new_val ;;
3260 esac
3261 case " $ac_configure_args " in
3262 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3263 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3264 esac
3266 done
3267 if $ac_cache_corrupted; then
3268 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3269 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3271 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3272 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3274 ## -------------------- ##
3275 ## Main body of script. ##
3276 ## -------------------- ##
3278 ac_ext=c
3279 ac_cpp='$CPP $CPPFLAGS'
3280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3286 ac_config_headers="$ac_config_headers include/config.h"
3288 ac_aux_dir=
3289 for ac_dir in tools "$srcdir"/tools; do
3290 if test -f "$ac_dir/install-sh"; then
3291 ac_aux_dir=$ac_dir
3292 ac_install_sh="$ac_aux_dir/install-sh -c"
3293 break
3294 elif test -f "$ac_dir/install.sh"; then
3295 ac_aux_dir=$ac_dir
3296 ac_install_sh="$ac_aux_dir/install.sh -c"
3297 break
3298 elif test -f "$ac_dir/shtool"; then
3299 ac_aux_dir=$ac_dir
3300 ac_install_sh="$ac_aux_dir/shtool install -c"
3301 break
3303 done
3304 if test -z "$ac_aux_dir"; then
3305 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3308 # These three variables are undocumented and unsupported,
3309 # and are intended to be withdrawn in a future Autoconf release.
3310 # They can cause serious problems if a builder's source tree is in a directory
3311 # whose full name contains unusual characters.
3312 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3313 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3314 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3318 libwine_version="1.0"
3322 # Check whether --enable-win16 was given.
3323 if test "${enable_win16+set}" = set; then :
3324 enableval=$enable_win16;
3327 # Check whether --enable-win64 was given.
3328 if test "${enable_win64+set}" = set; then :
3329 enableval=$enable_win64;
3332 # Check whether --enable-tests was given.
3333 if test "${enable_tests+set}" = set; then :
3334 enableval=$enable_tests;
3337 # Check whether --enable-maintainer-mode was given.
3338 if test "${enable_maintainer_mode+set}" = set; then :
3339 enableval=$enable_maintainer_mode;
3344 # Check whether --with-alsa was given.
3345 if test "${with_alsa+set}" = set; then :
3346 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3350 # Check whether --with-capi was given.
3351 if test "${with_capi+set}" = set; then :
3352 withval=$with_capi;
3356 # Check whether --with-cms was given.
3357 if test "${with_cms+set}" = set; then :
3358 withval=$with_cms;
3362 # Check whether --with-coreaudio was given.
3363 if test "${with_coreaudio+set}" = set; then :
3364 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3368 # Check whether --with-cups was given.
3369 if test "${with_cups+set}" = set; then :
3370 withval=$with_cups;
3374 # Check whether --with-curses was given.
3375 if test "${with_curses+set}" = set; then :
3376 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3380 # Check whether --with-dbus was given.
3381 if test "${with_dbus+set}" = set; then :
3382 withval=$with_dbus;
3386 # Check whether --with-fontconfig was given.
3387 if test "${with_fontconfig+set}" = set; then :
3388 withval=$with_fontconfig;
3392 # Check whether --with-freetype was given.
3393 if test "${with_freetype+set}" = set; then :
3394 withval=$with_freetype;
3398 # Check whether --with-gettext was given.
3399 if test "${with_gettext+set}" = set; then :
3400 withval=$with_gettext;
3404 # Check whether --with-gettextpo was given.
3405 if test "${with_gettextpo+set}" = set; then :
3406 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3410 # Check whether --with-gphoto was given.
3411 if test "${with_gphoto+set}" = set; then :
3412 withval=$with_gphoto;
3416 # Check whether --with-glu was given.
3417 if test "${with_glu+set}" = set; then :
3418 withval=$with_glu;
3422 # Check whether --with-gnutls was given.
3423 if test "${with_gnutls+set}" = set; then :
3424 withval=$with_gnutls;
3428 # Check whether --with-gsm was given.
3429 if test "${with_gsm+set}" = set; then :
3430 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3434 # Check whether --with-gstreamer was given.
3435 if test "${with_gstreamer+set}" = set; then :
3436 withval=$with_gstreamer;
3440 # Check whether --with-hal was given.
3441 if test "${with_hal+set}" = set; then :
3442 withval=$with_hal;
3446 # Check whether --with-jpeg was given.
3447 if test "${with_jpeg+set}" = set; then :
3448 withval=$with_jpeg;
3452 # Check whether --with-ldap was given.
3453 if test "${with_ldap+set}" = set; then :
3454 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3458 # Check whether --with-mpg123 was given.
3459 if test "${with_mpg123+set}" = set; then :
3460 withval=$with_mpg123;
3464 # Check whether --with-netapi was given.
3465 if test "${with_netapi+set}" = set; then :
3466 withval=$with_netapi;
3470 # Check whether --with-openal was given.
3471 if test "${with_openal+set}" = set; then :
3472 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3476 # Check whether --with-opencl was given.
3477 if test "${with_opencl+set}" = set; then :
3478 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3482 # Check whether --with-opengl was given.
3483 if test "${with_opengl+set}" = set; then :
3484 withval=$with_opengl;
3488 # Check whether --with-osmesa was given.
3489 if test "${with_osmesa+set}" = set; then :
3490 withval=$with_osmesa;
3494 # Check whether --with-oss was given.
3495 if test "${with_oss+set}" = set; then :
3496 withval=$with_oss;
3500 # Check whether --with-pcap was given.
3501 if test "${with_pcap+set}" = set; then :
3502 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3506 # Check whether --with-png was given.
3507 if test "${with_png+set}" = set; then :
3508 withval=$with_png;
3512 # Check whether --with-pthread was given.
3513 if test "${with_pthread+set}" = set; then :
3514 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3518 # Check whether --with-pulse was given.
3519 if test "${with_pulse+set}" = set; then :
3520 withval=$with_pulse;
3524 # Check whether --with-sane was given.
3525 if test "${with_sane+set}" = set; then :
3526 withval=$with_sane;
3530 # Check whether --with-tiff was given.
3531 if test "${with_tiff+set}" = set; then :
3532 withval=$with_tiff;
3536 # Check whether --with-v4l was given.
3537 if test "${with_v4l+set}" = set; then :
3538 withval=$with_v4l;
3542 # Check whether --with-xcomposite was given.
3543 if test "${with_xcomposite+set}" = set; then :
3544 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3548 # Check whether --with-xcursor was given.
3549 if test "${with_xcursor+set}" = set; then :
3550 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3554 # Check whether --with-xinerama was given.
3555 if test "${with_xinerama+set}" = set; then :
3556 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3560 # Check whether --with-xinput was given.
3561 if test "${with_xinput+set}" = set; then :
3562 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3566 # Check whether --with-xinput2 was given.
3567 if test "${with_xinput2+set}" = set; then :
3568 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3572 # Check whether --with-xml was given.
3573 if test "${with_xml+set}" = set; then :
3574 withval=$with_xml;
3578 # Check whether --with-xrandr was given.
3579 if test "${with_xrandr+set}" = set; then :
3580 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3584 # Check whether --with-xrender was given.
3585 if test "${with_xrender+set}" = set; then :
3586 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3590 # Check whether --with-xshape was given.
3591 if test "${with_xshape+set}" = set; then :
3592 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3596 # Check whether --with-xshm was given.
3597 if test "${with_xshm+set}" = set; then :
3598 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3602 # Check whether --with-xslt was given.
3603 if test "${with_xslt+set}" = set; then :
3604 withval=$with_xslt;
3608 # Check whether --with-xxf86vm was given.
3609 if test "${with_xxf86vm+set}" = set; then :
3610 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
3614 # Check whether --with-zlib was given.
3615 if test "${with_zlib+set}" = set; then :
3616 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3621 # Check whether --with-wine-tools was given.
3622 if test "${with_wine_tools+set}" = set; then :
3623 withval=$with_wine_tools;
3627 # Check whether --with-wine64 was given.
3628 if test "${with_wine64+set}" = set; then :
3629 withval=$with_wine64;
3633 # Make sure we can run config.sub.
3634 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3635 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3638 $as_echo_n "checking build system type... " >&6; }
3639 if ${ac_cv_build+:} false; then :
3640 $as_echo_n "(cached) " >&6
3641 else
3642 ac_build_alias=$build_alias
3643 test "x$ac_build_alias" = x &&
3644 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3645 test "x$ac_build_alias" = x &&
3646 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3647 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3648 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3652 $as_echo "$ac_cv_build" >&6; }
3653 case $ac_cv_build in
3654 *-*-*) ;;
3655 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3656 esac
3657 build=$ac_cv_build
3658 ac_save_IFS=$IFS; IFS='-'
3659 set x $ac_cv_build
3660 shift
3661 build_cpu=$1
3662 build_vendor=$2
3663 shift; shift
3664 # Remember, the first character of IFS is used to create $*,
3665 # except with old shells:
3666 build_os=$*
3667 IFS=$ac_save_IFS
3668 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3672 $as_echo_n "checking host system type... " >&6; }
3673 if ${ac_cv_host+:} false; then :
3674 $as_echo_n "(cached) " >&6
3675 else
3676 if test "x$host_alias" = x; then
3677 ac_cv_host=$ac_cv_build
3678 else
3679 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3680 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3685 $as_echo "$ac_cv_host" >&6; }
3686 case $ac_cv_host in
3687 *-*-*) ;;
3688 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3689 esac
3690 host=$ac_cv_host
3691 ac_save_IFS=$IFS; IFS='-'
3692 set x $ac_cv_host
3693 shift
3694 host_cpu=$1
3695 host_vendor=$2
3696 shift; shift
3697 # Remember, the first character of IFS is used to create $*,
3698 # except with old shells:
3699 host_os=$*
3700 IFS=$ac_save_IFS
3701 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3705 case "$srcdir" in
3706 .) ;;
3707 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3708 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3709 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3710 fi ;;
3711 esac
3714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3715 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3716 set x ${MAKE-make}
3717 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3718 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3719 $as_echo_n "(cached) " >&6
3720 else
3721 cat >conftest.make <<\_ACEOF
3722 SHELL = /bin/sh
3723 all:
3724 @echo '@@@%%%=$(MAKE)=@@@%%%'
3725 _ACEOF
3726 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3727 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3728 *@@@%%%=?*=@@@%%%*)
3729 eval ac_cv_prog_make_${ac_make}_set=yes;;
3731 eval ac_cv_prog_make_${ac_make}_set=no;;
3732 esac
3733 rm -f conftest.make
3735 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3737 $as_echo "yes" >&6; }
3738 SET_MAKE=
3739 else
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3741 $as_echo "no" >&6; }
3742 SET_MAKE="MAKE=${MAKE-make}"
3745 ac_ext=c
3746 ac_cpp='$CPP $CPPFLAGS'
3747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3750 if test -n "$ac_tool_prefix"; then
3751 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3752 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3754 $as_echo_n "checking for $ac_word... " >&6; }
3755 if ${ac_cv_prog_CC+:} false; then :
3756 $as_echo_n "(cached) " >&6
3757 else
3758 if test -n "$CC"; then
3759 ac_cv_prog_CC="$CC" # Let the user override the test.
3760 else
3761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3762 for as_dir in $PATH
3764 IFS=$as_save_IFS
3765 test -z "$as_dir" && as_dir=.
3766 for ac_exec_ext in '' $ac_executable_extensions; do
3767 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3768 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3769 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3770 break 2
3772 done
3773 done
3774 IFS=$as_save_IFS
3778 CC=$ac_cv_prog_CC
3779 if test -n "$CC"; then
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3781 $as_echo "$CC" >&6; }
3782 else
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3784 $as_echo "no" >&6; }
3789 if test -z "$ac_cv_prog_CC"; then
3790 ac_ct_CC=$CC
3791 # Extract the first word of "gcc", so it can be a program name with args.
3792 set dummy gcc; ac_word=$2
3793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3794 $as_echo_n "checking for $ac_word... " >&6; }
3795 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3796 $as_echo_n "(cached) " >&6
3797 else
3798 if test -n "$ac_ct_CC"; then
3799 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3800 else
3801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3802 for as_dir in $PATH
3804 IFS=$as_save_IFS
3805 test -z "$as_dir" && as_dir=.
3806 for ac_exec_ext in '' $ac_executable_extensions; do
3807 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3808 ac_cv_prog_ac_ct_CC="gcc"
3809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3810 break 2
3812 done
3813 done
3814 IFS=$as_save_IFS
3818 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3819 if test -n "$ac_ct_CC"; then
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3821 $as_echo "$ac_ct_CC" >&6; }
3822 else
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3824 $as_echo "no" >&6; }
3827 if test "x$ac_ct_CC" = x; then
3828 CC=""
3829 else
3830 case $cross_compiling:$ac_tool_warned in
3831 yes:)
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3833 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3834 ac_tool_warned=yes ;;
3835 esac
3836 CC=$ac_ct_CC
3838 else
3839 CC="$ac_cv_prog_CC"
3842 if test -z "$CC"; then
3843 if test -n "$ac_tool_prefix"; then
3844 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3845 set dummy ${ac_tool_prefix}cc; ac_word=$2
3846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3847 $as_echo_n "checking for $ac_word... " >&6; }
3848 if ${ac_cv_prog_CC+:} false; then :
3849 $as_echo_n "(cached) " >&6
3850 else
3851 if test -n "$CC"; then
3852 ac_cv_prog_CC="$CC" # Let the user override the test.
3853 else
3854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3855 for as_dir in $PATH
3857 IFS=$as_save_IFS
3858 test -z "$as_dir" && as_dir=.
3859 for ac_exec_ext in '' $ac_executable_extensions; do
3860 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3861 ac_cv_prog_CC="${ac_tool_prefix}cc"
3862 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3863 break 2
3865 done
3866 done
3867 IFS=$as_save_IFS
3871 CC=$ac_cv_prog_CC
3872 if test -n "$CC"; then
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3874 $as_echo "$CC" >&6; }
3875 else
3876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3877 $as_echo "no" >&6; }
3883 if test -z "$CC"; then
3884 # Extract the first word of "cc", so it can be a program name with args.
3885 set dummy cc; ac_word=$2
3886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3887 $as_echo_n "checking for $ac_word... " >&6; }
3888 if ${ac_cv_prog_CC+:} false; then :
3889 $as_echo_n "(cached) " >&6
3890 else
3891 if test -n "$CC"; then
3892 ac_cv_prog_CC="$CC" # Let the user override the test.
3893 else
3894 ac_prog_rejected=no
3895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3896 for as_dir in $PATH
3898 IFS=$as_save_IFS
3899 test -z "$as_dir" && as_dir=.
3900 for ac_exec_ext in '' $ac_executable_extensions; do
3901 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3902 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3903 ac_prog_rejected=yes
3904 continue
3906 ac_cv_prog_CC="cc"
3907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3908 break 2
3910 done
3911 done
3912 IFS=$as_save_IFS
3914 if test $ac_prog_rejected = yes; then
3915 # We found a bogon in the path, so make sure we never use it.
3916 set dummy $ac_cv_prog_CC
3917 shift
3918 if test $# != 0; then
3919 # We chose a different compiler from the bogus one.
3920 # However, it has the same basename, so the bogon will be chosen
3921 # first if we set CC to just the basename; use the full file name.
3922 shift
3923 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3928 CC=$ac_cv_prog_CC
3929 if test -n "$CC"; then
3930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3931 $as_echo "$CC" >&6; }
3932 else
3933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3934 $as_echo "no" >&6; }
3939 if test -z "$CC"; then
3940 if test -n "$ac_tool_prefix"; then
3941 for ac_prog in cl.exe
3943 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3944 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3946 $as_echo_n "checking for $ac_word... " >&6; }
3947 if ${ac_cv_prog_CC+:} false; then :
3948 $as_echo_n "(cached) " >&6
3949 else
3950 if test -n "$CC"; then
3951 ac_cv_prog_CC="$CC" # Let the user override the test.
3952 else
3953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3954 for as_dir in $PATH
3956 IFS=$as_save_IFS
3957 test -z "$as_dir" && as_dir=.
3958 for ac_exec_ext in '' $ac_executable_extensions; do
3959 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3960 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3962 break 2
3964 done
3965 done
3966 IFS=$as_save_IFS
3970 CC=$ac_cv_prog_CC
3971 if test -n "$CC"; then
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3973 $as_echo "$CC" >&6; }
3974 else
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3976 $as_echo "no" >&6; }
3980 test -n "$CC" && break
3981 done
3983 if test -z "$CC"; then
3984 ac_ct_CC=$CC
3985 for ac_prog in cl.exe
3987 # Extract the first word of "$ac_prog", so it can be a program name with args.
3988 set dummy $ac_prog; ac_word=$2
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3990 $as_echo_n "checking for $ac_word... " >&6; }
3991 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3992 $as_echo_n "(cached) " >&6
3993 else
3994 if test -n "$ac_ct_CC"; then
3995 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3996 else
3997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3998 for as_dir in $PATH
4000 IFS=$as_save_IFS
4001 test -z "$as_dir" && as_dir=.
4002 for ac_exec_ext in '' $ac_executable_extensions; do
4003 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4004 ac_cv_prog_ac_ct_CC="$ac_prog"
4005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4006 break 2
4008 done
4009 done
4010 IFS=$as_save_IFS
4014 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4015 if test -n "$ac_ct_CC"; then
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4017 $as_echo "$ac_ct_CC" >&6; }
4018 else
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4020 $as_echo "no" >&6; }
4024 test -n "$ac_ct_CC" && break
4025 done
4027 if test "x$ac_ct_CC" = x; then
4028 CC=""
4029 else
4030 case $cross_compiling:$ac_tool_warned in
4031 yes:)
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4033 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4034 ac_tool_warned=yes ;;
4035 esac
4036 CC=$ac_ct_CC
4043 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4044 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4045 as_fn_error $? "no acceptable C compiler found in \$PATH
4046 See \`config.log' for more details" "$LINENO" 5; }
4048 # Provide some information about the compiler.
4049 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4050 set X $ac_compile
4051 ac_compiler=$2
4052 for ac_option in --version -v -V -qversion; do
4053 { { ac_try="$ac_compiler $ac_option >&5"
4054 case "(($ac_try" in
4055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4056 *) ac_try_echo=$ac_try;;
4057 esac
4058 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4059 $as_echo "$ac_try_echo"; } >&5
4060 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4061 ac_status=$?
4062 if test -s conftest.err; then
4063 sed '10a\
4064 ... rest of stderr output deleted ...
4065 10q' conftest.err >conftest.er1
4066 cat conftest.er1 >&5
4068 rm -f conftest.er1 conftest.err
4069 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4070 test $ac_status = 0; }
4071 done
4073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4074 /* end confdefs.h. */
4077 main ()
4081 return 0;
4083 _ACEOF
4084 ac_clean_files_save=$ac_clean_files
4085 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4086 # Try to create an executable without -o first, disregard a.out.
4087 # It will help us diagnose broken compilers, and finding out an intuition
4088 # of exeext.
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4090 $as_echo_n "checking whether the C compiler works... " >&6; }
4091 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4093 # The possible output files:
4094 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4096 ac_rmfiles=
4097 for ac_file in $ac_files
4099 case $ac_file in
4100 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4101 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4102 esac
4103 done
4104 rm -f $ac_rmfiles
4106 if { { ac_try="$ac_link_default"
4107 case "(($ac_try" in
4108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4109 *) ac_try_echo=$ac_try;;
4110 esac
4111 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4112 $as_echo "$ac_try_echo"; } >&5
4113 (eval "$ac_link_default") 2>&5
4114 ac_status=$?
4115 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4116 test $ac_status = 0; }; then :
4117 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4118 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4119 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4120 # so that the user can short-circuit this test for compilers unknown to
4121 # Autoconf.
4122 for ac_file in $ac_files ''
4124 test -f "$ac_file" || continue
4125 case $ac_file in
4126 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4128 [ab].out )
4129 # We found the default executable, but exeext='' is most
4130 # certainly right.
4131 break;;
4132 *.* )
4133 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4134 then :; else
4135 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4137 # We set ac_cv_exeext here because the later test for it is not
4138 # safe: cross compilers may not add the suffix if given an `-o'
4139 # argument, so we may need to know it at that point already.
4140 # Even if this section looks crufty: it has the advantage of
4141 # actually working.
4142 break;;
4144 break;;
4145 esac
4146 done
4147 test "$ac_cv_exeext" = no && ac_cv_exeext=
4149 else
4150 ac_file=''
4152 if test -z "$ac_file"; then :
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4154 $as_echo "no" >&6; }
4155 $as_echo "$as_me: failed program was:" >&5
4156 sed 's/^/| /' conftest.$ac_ext >&5
4158 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4159 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4160 as_fn_error 77 "C compiler cannot create executables
4161 See \`config.log' for more details" "$LINENO" 5; }
4162 else
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4164 $as_echo "yes" >&6; }
4166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4167 $as_echo_n "checking for C compiler default output file name... " >&6; }
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4169 $as_echo "$ac_file" >&6; }
4170 ac_exeext=$ac_cv_exeext
4172 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4173 ac_clean_files=$ac_clean_files_save
4174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4175 $as_echo_n "checking for suffix of executables... " >&6; }
4176 if { { ac_try="$ac_link"
4177 case "(($ac_try" in
4178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4179 *) ac_try_echo=$ac_try;;
4180 esac
4181 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4182 $as_echo "$ac_try_echo"; } >&5
4183 (eval "$ac_link") 2>&5
4184 ac_status=$?
4185 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4186 test $ac_status = 0; }; then :
4187 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4188 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4189 # work properly (i.e., refer to `conftest.exe'), while it won't with
4190 # `rm'.
4191 for ac_file in conftest.exe conftest conftest.*; do
4192 test -f "$ac_file" || continue
4193 case $ac_file in
4194 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4195 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4196 break;;
4197 * ) break;;
4198 esac
4199 done
4200 else
4201 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4202 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4203 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4204 See \`config.log' for more details" "$LINENO" 5; }
4206 rm -f conftest conftest$ac_cv_exeext
4207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4208 $as_echo "$ac_cv_exeext" >&6; }
4210 rm -f conftest.$ac_ext
4211 EXEEXT=$ac_cv_exeext
4212 ac_exeext=$EXEEXT
4213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4214 /* end confdefs.h. */
4215 #include <stdio.h>
4217 main ()
4219 FILE *f = fopen ("conftest.out", "w");
4220 return ferror (f) || fclose (f) != 0;
4223 return 0;
4225 _ACEOF
4226 ac_clean_files="$ac_clean_files conftest.out"
4227 # Check that the compiler produces executables we can run. If not, either
4228 # the compiler is broken, or we cross compile.
4229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4230 $as_echo_n "checking whether we are cross compiling... " >&6; }
4231 if test "$cross_compiling" != yes; then
4232 { { ac_try="$ac_link"
4233 case "(($ac_try" in
4234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4235 *) ac_try_echo=$ac_try;;
4236 esac
4237 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4238 $as_echo "$ac_try_echo"; } >&5
4239 (eval "$ac_link") 2>&5
4240 ac_status=$?
4241 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4242 test $ac_status = 0; }
4243 if { ac_try='./conftest$ac_cv_exeext'
4244 { { case "(($ac_try" in
4245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4246 *) ac_try_echo=$ac_try;;
4247 esac
4248 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4249 $as_echo "$ac_try_echo"; } >&5
4250 (eval "$ac_try") 2>&5
4251 ac_status=$?
4252 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4253 test $ac_status = 0; }; }; then
4254 cross_compiling=no
4255 else
4256 if test "$cross_compiling" = maybe; then
4257 cross_compiling=yes
4258 else
4259 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4260 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4261 as_fn_error $? "cannot run C compiled programs.
4262 If you meant to cross compile, use \`--host'.
4263 See \`config.log' for more details" "$LINENO" 5; }
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4268 $as_echo "$cross_compiling" >&6; }
4270 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4271 ac_clean_files=$ac_clean_files_save
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4273 $as_echo_n "checking for suffix of object files... " >&6; }
4274 if ${ac_cv_objext+:} false; then :
4275 $as_echo_n "(cached) " >&6
4276 else
4277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4278 /* end confdefs.h. */
4281 main ()
4285 return 0;
4287 _ACEOF
4288 rm -f conftest.o conftest.obj
4289 if { { ac_try="$ac_compile"
4290 case "(($ac_try" in
4291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4292 *) ac_try_echo=$ac_try;;
4293 esac
4294 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4295 $as_echo "$ac_try_echo"; } >&5
4296 (eval "$ac_compile") 2>&5
4297 ac_status=$?
4298 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4299 test $ac_status = 0; }; then :
4300 for ac_file in conftest.o conftest.obj conftest.*; do
4301 test -f "$ac_file" || continue;
4302 case $ac_file in
4303 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4304 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4305 break;;
4306 esac
4307 done
4308 else
4309 $as_echo "$as_me: failed program was:" >&5
4310 sed 's/^/| /' conftest.$ac_ext >&5
4312 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4313 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4314 as_fn_error $? "cannot compute suffix of object files: cannot compile
4315 See \`config.log' for more details" "$LINENO" 5; }
4317 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4320 $as_echo "$ac_cv_objext" >&6; }
4321 OBJEXT=$ac_cv_objext
4322 ac_objext=$OBJEXT
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4324 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4325 if ${ac_cv_c_compiler_gnu+:} false; then :
4326 $as_echo_n "(cached) " >&6
4327 else
4328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4329 /* end confdefs.h. */
4332 main ()
4334 #ifndef __GNUC__
4335 choke me
4336 #endif
4339 return 0;
4341 _ACEOF
4342 if ac_fn_c_try_compile "$LINENO"; then :
4343 ac_compiler_gnu=yes
4344 else
4345 ac_compiler_gnu=no
4347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4348 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4352 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4353 if test $ac_compiler_gnu = yes; then
4354 GCC=yes
4355 else
4356 GCC=
4358 ac_test_CFLAGS=${CFLAGS+set}
4359 ac_save_CFLAGS=$CFLAGS
4360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4361 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4362 if ${ac_cv_prog_cc_g+:} false; then :
4363 $as_echo_n "(cached) " >&6
4364 else
4365 ac_save_c_werror_flag=$ac_c_werror_flag
4366 ac_c_werror_flag=yes
4367 ac_cv_prog_cc_g=no
4368 CFLAGS="-g"
4369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4370 /* end confdefs.h. */
4373 main ()
4377 return 0;
4379 _ACEOF
4380 if ac_fn_c_try_compile "$LINENO"; then :
4381 ac_cv_prog_cc_g=yes
4382 else
4383 CFLAGS=""
4384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4385 /* end confdefs.h. */
4388 main ()
4392 return 0;
4394 _ACEOF
4395 if ac_fn_c_try_compile "$LINENO"; then :
4397 else
4398 ac_c_werror_flag=$ac_save_c_werror_flag
4399 CFLAGS="-g"
4400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4401 /* end confdefs.h. */
4404 main ()
4408 return 0;
4410 _ACEOF
4411 if ac_fn_c_try_compile "$LINENO"; then :
4412 ac_cv_prog_cc_g=yes
4414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4419 ac_c_werror_flag=$ac_save_c_werror_flag
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4422 $as_echo "$ac_cv_prog_cc_g" >&6; }
4423 if test "$ac_test_CFLAGS" = set; then
4424 CFLAGS=$ac_save_CFLAGS
4425 elif test $ac_cv_prog_cc_g = yes; then
4426 if test "$GCC" = yes; then
4427 CFLAGS="-g -O2"
4428 else
4429 CFLAGS="-g"
4431 else
4432 if test "$GCC" = yes; then
4433 CFLAGS="-O2"
4434 else
4435 CFLAGS=
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4439 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4440 if ${ac_cv_prog_cc_c89+:} false; then :
4441 $as_echo_n "(cached) " >&6
4442 else
4443 ac_cv_prog_cc_c89=no
4444 ac_save_CC=$CC
4445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4446 /* end confdefs.h. */
4447 #include <stdarg.h>
4448 #include <stdio.h>
4449 struct stat;
4450 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4451 struct buf { int x; };
4452 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4453 static char *e (p, i)
4454 char **p;
4455 int i;
4457 return p[i];
4459 static char *f (char * (*g) (char **, int), char **p, ...)
4461 char *s;
4462 va_list v;
4463 va_start (v,p);
4464 s = g (p, va_arg (v,int));
4465 va_end (v);
4466 return s;
4469 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4470 function prototypes and stuff, but not '\xHH' hex character constants.
4471 These don't provoke an error unfortunately, instead are silently treated
4472 as 'x'. The following induces an error, until -std is added to get
4473 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4474 array size at least. It's necessary to write '\x00'==0 to get something
4475 that's true only with -std. */
4476 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4478 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4479 inside strings and character constants. */
4480 #define FOO(x) 'x'
4481 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4483 int test (int i, double x);
4484 struct s1 {int (*f) (int a);};
4485 struct s2 {int (*f) (double a);};
4486 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4487 int argc;
4488 char **argv;
4490 main ()
4492 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4494 return 0;
4496 _ACEOF
4497 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4498 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4500 CC="$ac_save_CC $ac_arg"
4501 if ac_fn_c_try_compile "$LINENO"; then :
4502 ac_cv_prog_cc_c89=$ac_arg
4504 rm -f core conftest.err conftest.$ac_objext
4505 test "x$ac_cv_prog_cc_c89" != "xno" && break
4506 done
4507 rm -f conftest.$ac_ext
4508 CC=$ac_save_CC
4511 # AC_CACHE_VAL
4512 case "x$ac_cv_prog_cc_c89" in
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4515 $as_echo "none needed" >&6; } ;;
4516 xno)
4517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4518 $as_echo "unsupported" >&6; } ;;
4520 CC="$CC $ac_cv_prog_cc_c89"
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4522 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4523 esac
4524 if test "x$ac_cv_prog_cc_c89" != xno; then :
4528 ac_ext=c
4529 ac_cpp='$CPP $CPPFLAGS'
4530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4534 ac_ext=cpp
4535 ac_cpp='$CXXCPP $CPPFLAGS'
4536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4539 if test -z "$CXX"; then
4540 if test -n "$CCC"; then
4541 CXX=$CCC
4542 else
4543 if test -n "$ac_tool_prefix"; then
4544 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4546 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4547 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4549 $as_echo_n "checking for $ac_word... " >&6; }
4550 if ${ac_cv_prog_CXX+:} false; then :
4551 $as_echo_n "(cached) " >&6
4552 else
4553 if test -n "$CXX"; then
4554 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4555 else
4556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4557 for as_dir in $PATH
4559 IFS=$as_save_IFS
4560 test -z "$as_dir" && as_dir=.
4561 for ac_exec_ext in '' $ac_executable_extensions; do
4562 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4563 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4565 break 2
4567 done
4568 done
4569 IFS=$as_save_IFS
4573 CXX=$ac_cv_prog_CXX
4574 if test -n "$CXX"; then
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4576 $as_echo "$CXX" >&6; }
4577 else
4578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4579 $as_echo "no" >&6; }
4583 test -n "$CXX" && break
4584 done
4586 if test -z "$CXX"; then
4587 ac_ct_CXX=$CXX
4588 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4590 # Extract the first word of "$ac_prog", so it can be a program name with args.
4591 set dummy $ac_prog; ac_word=$2
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4593 $as_echo_n "checking for $ac_word... " >&6; }
4594 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4595 $as_echo_n "(cached) " >&6
4596 else
4597 if test -n "$ac_ct_CXX"; then
4598 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4599 else
4600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4601 for as_dir in $PATH
4603 IFS=$as_save_IFS
4604 test -z "$as_dir" && as_dir=.
4605 for ac_exec_ext in '' $ac_executable_extensions; do
4606 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4607 ac_cv_prog_ac_ct_CXX="$ac_prog"
4608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4609 break 2
4611 done
4612 done
4613 IFS=$as_save_IFS
4617 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4618 if test -n "$ac_ct_CXX"; then
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4620 $as_echo "$ac_ct_CXX" >&6; }
4621 else
4622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4623 $as_echo "no" >&6; }
4627 test -n "$ac_ct_CXX" && break
4628 done
4630 if test "x$ac_ct_CXX" = x; then
4631 CXX="g++"
4632 else
4633 case $cross_compiling:$ac_tool_warned in
4634 yes:)
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4636 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4637 ac_tool_warned=yes ;;
4638 esac
4639 CXX=$ac_ct_CXX
4645 # Provide some information about the compiler.
4646 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4647 set X $ac_compile
4648 ac_compiler=$2
4649 for ac_option in --version -v -V -qversion; do
4650 { { ac_try="$ac_compiler $ac_option >&5"
4651 case "(($ac_try" in
4652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4653 *) ac_try_echo=$ac_try;;
4654 esac
4655 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4656 $as_echo "$ac_try_echo"; } >&5
4657 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4658 ac_status=$?
4659 if test -s conftest.err; then
4660 sed '10a\
4661 ... rest of stderr output deleted ...
4662 10q' conftest.err >conftest.er1
4663 cat conftest.er1 >&5
4665 rm -f conftest.er1 conftest.err
4666 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4667 test $ac_status = 0; }
4668 done
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4671 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4672 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4673 $as_echo_n "(cached) " >&6
4674 else
4675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4676 /* end confdefs.h. */
4679 main ()
4681 #ifndef __GNUC__
4682 choke me
4683 #endif
4686 return 0;
4688 _ACEOF
4689 if ac_fn_cxx_try_compile "$LINENO"; then :
4690 ac_compiler_gnu=yes
4691 else
4692 ac_compiler_gnu=no
4694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4695 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4699 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4700 if test $ac_compiler_gnu = yes; then
4701 GXX=yes
4702 else
4703 GXX=
4705 ac_test_CXXFLAGS=${CXXFLAGS+set}
4706 ac_save_CXXFLAGS=$CXXFLAGS
4707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4708 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4709 if ${ac_cv_prog_cxx_g+:} false; then :
4710 $as_echo_n "(cached) " >&6
4711 else
4712 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4713 ac_cxx_werror_flag=yes
4714 ac_cv_prog_cxx_g=no
4715 CXXFLAGS="-g"
4716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4717 /* end confdefs.h. */
4720 main ()
4724 return 0;
4726 _ACEOF
4727 if ac_fn_cxx_try_compile "$LINENO"; then :
4728 ac_cv_prog_cxx_g=yes
4729 else
4730 CXXFLAGS=""
4731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4732 /* end confdefs.h. */
4735 main ()
4739 return 0;
4741 _ACEOF
4742 if ac_fn_cxx_try_compile "$LINENO"; then :
4744 else
4745 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4746 CXXFLAGS="-g"
4747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4748 /* end confdefs.h. */
4751 main ()
4755 return 0;
4757 _ACEOF
4758 if ac_fn_cxx_try_compile "$LINENO"; then :
4759 ac_cv_prog_cxx_g=yes
4761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4766 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4769 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4770 if test "$ac_test_CXXFLAGS" = set; then
4771 CXXFLAGS=$ac_save_CXXFLAGS
4772 elif test $ac_cv_prog_cxx_g = yes; then
4773 if test "$GXX" = yes; then
4774 CXXFLAGS="-g -O2"
4775 else
4776 CXXFLAGS="-g"
4778 else
4779 if test "$GXX" = yes; then
4780 CXXFLAGS="-O2"
4781 else
4782 CXXFLAGS=
4785 ac_ext=c
4786 ac_cpp='$CPP $CPPFLAGS'
4787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4791 if test -n "$ac_tool_prefix"; then
4792 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4793 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4795 $as_echo_n "checking for $ac_word... " >&6; }
4796 if ${ac_cv_prog_CPPBIN+:} false; then :
4797 $as_echo_n "(cached) " >&6
4798 else
4799 if test -n "$CPPBIN"; then
4800 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4801 else
4802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4803 for as_dir in $PATH
4805 IFS=$as_save_IFS
4806 test -z "$as_dir" && as_dir=.
4807 for ac_exec_ext in '' $ac_executable_extensions; do
4808 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4809 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4810 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4811 break 2
4813 done
4814 done
4815 IFS=$as_save_IFS
4819 CPPBIN=$ac_cv_prog_CPPBIN
4820 if test -n "$CPPBIN"; then
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4822 $as_echo "$CPPBIN" >&6; }
4823 else
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4825 $as_echo "no" >&6; }
4830 if test -z "$ac_cv_prog_CPPBIN"; then
4831 ac_ct_CPPBIN=$CPPBIN
4832 # Extract the first word of "cpp", so it can be a program name with args.
4833 set dummy cpp; ac_word=$2
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4835 $as_echo_n "checking for $ac_word... " >&6; }
4836 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4837 $as_echo_n "(cached) " >&6
4838 else
4839 if test -n "$ac_ct_CPPBIN"; then
4840 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4841 else
4842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4843 for as_dir in $PATH
4845 IFS=$as_save_IFS
4846 test -z "$as_dir" && as_dir=.
4847 for ac_exec_ext in '' $ac_executable_extensions; do
4848 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4849 ac_cv_prog_ac_ct_CPPBIN="cpp"
4850 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4851 break 2
4853 done
4854 done
4855 IFS=$as_save_IFS
4859 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4860 if test -n "$ac_ct_CPPBIN"; then
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4862 $as_echo "$ac_ct_CPPBIN" >&6; }
4863 else
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4865 $as_echo "no" >&6; }
4868 if test "x$ac_ct_CPPBIN" = x; then
4869 CPPBIN="cpp"
4870 else
4871 case $cross_compiling:$ac_tool_warned in
4872 yes:)
4873 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4874 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4875 ac_tool_warned=yes ;;
4876 esac
4877 CPPBIN=$ac_ct_CPPBIN
4879 else
4880 CPPBIN="$ac_cv_prog_CPPBIN"
4884 cat >>confdefs.h <<_ACEOF
4885 #define EXEEXT "$ac_exeext"
4886 _ACEOF
4888 if test -n "$ac_tool_prefix"; then
4889 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4890 set dummy ${ac_tool_prefix}ld; ac_word=$2
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4892 $as_echo_n "checking for $ac_word... " >&6; }
4893 if ${ac_cv_prog_LD+:} false; then :
4894 $as_echo_n "(cached) " >&6
4895 else
4896 if test -n "$LD"; then
4897 ac_cv_prog_LD="$LD" # Let the user override the test.
4898 else
4899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4900 for as_dir in $PATH
4902 IFS=$as_save_IFS
4903 test -z "$as_dir" && as_dir=.
4904 for ac_exec_ext in '' $ac_executable_extensions; do
4905 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4906 ac_cv_prog_LD="${ac_tool_prefix}ld"
4907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4908 break 2
4910 done
4911 done
4912 IFS=$as_save_IFS
4916 LD=$ac_cv_prog_LD
4917 if test -n "$LD"; then
4918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4919 $as_echo "$LD" >&6; }
4920 else
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4922 $as_echo "no" >&6; }
4927 if test -z "$ac_cv_prog_LD"; then
4928 ac_ct_LD=$LD
4929 # Extract the first word of "ld", so it can be a program name with args.
4930 set dummy ld; ac_word=$2
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4932 $as_echo_n "checking for $ac_word... " >&6; }
4933 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4934 $as_echo_n "(cached) " >&6
4935 else
4936 if test -n "$ac_ct_LD"; then
4937 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4938 else
4939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4940 for as_dir in $PATH
4942 IFS=$as_save_IFS
4943 test -z "$as_dir" && as_dir=.
4944 for ac_exec_ext in '' $ac_executable_extensions; do
4945 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4946 ac_cv_prog_ac_ct_LD="ld"
4947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4948 break 2
4950 done
4951 done
4952 IFS=$as_save_IFS
4956 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4957 if test -n "$ac_ct_LD"; then
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4959 $as_echo "$ac_ct_LD" >&6; }
4960 else
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4962 $as_echo "no" >&6; }
4965 if test "x$ac_ct_LD" = x; then
4966 LD=""
4967 else
4968 case $cross_compiling:$ac_tool_warned in
4969 yes:)
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4971 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4972 ac_tool_warned=yes ;;
4973 esac
4974 LD=$ac_ct_LD
4976 else
4977 LD="$ac_cv_prog_LD"
4981 case $host in
4982 *-darwin*)
4983 with_fontconfig=${with_fontconfig:-no}
4985 *-mingw32*|*-cygwin*)
4986 enable_win16=${enable_win16:-no}
4987 CFLAGS="$CFLAGS -D_WIN32"
4989 esac
4991 case $host in
4992 x86_64*|amd64*)
4993 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4994 then
4995 CC="$CC -m32"
4996 CXX="$CXX -m32"
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4998 $as_echo_n "checking whether $CC works... " >&6; }
5000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5001 /* end confdefs.h. */
5004 main ()
5008 return 0;
5010 _ACEOF
5011 if ac_fn_c_try_link "$LINENO"; then :
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5013 $as_echo "yes" >&6; }
5014 else
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5016 $as_echo "no" >&6; }
5017 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5019 rm -f core conftest.err conftest.$ac_objext \
5020 conftest$ac_exeext conftest.$ac_ext
5021 host_cpu="i386"
5022 notice_platform="32-bit "
5023 TARGETFLAGS="-m32"
5025 enable_win16=${enable_win16:-yes}
5026 else
5027 if test "x${GCC}" = "xyes"
5028 then
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5030 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5032 /* end confdefs.h. */
5033 #include <stdarg.h>
5035 main ()
5037 void func(__builtin_ms_va_list *args);
5039 return 0;
5041 _ACEOF
5042 if ac_fn_c_try_compile "$LINENO"; then :
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5044 $as_echo "yes" >&6; }
5045 else
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5047 $as_echo "no" >&6; }
5048 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5052 CC="$CC -m64"
5053 CXX="$CXX -m64"
5054 host_cpu="x86_64"
5055 notice_platform="64-bit "
5056 TARGETFLAGS="-m64"
5060 arm*)
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5062 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5064 /* end confdefs.h. */
5065 int ac_test(int i) { return i; }
5067 main ()
5069 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5071 return 0;
5073 _ACEOF
5074 if ac_fn_c_try_link "$LINENO"; then :
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5076 $as_echo "yes" >&6; }
5077 else
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5079 $as_echo "no" >&6; }
5080 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5082 rm -f core conftest.err conftest.$ac_objext \
5083 conftest$ac_exeext conftest.$ac_ext
5084 CFLAGS="$CFLAGS -marm"
5085 TARGETFLAGS="-marm"
5088 i[3456789]86*)
5089 enable_win16=${enable_win16:-yes}
5091 esac
5093 enable_win16=${enable_win16:-no}
5094 enable_win64=${enable_win64:-no}
5096 enable_winetest=${enable_winetest:-$enable_tests}
5098 if test -n "$with_wine64"
5099 then
5100 if test "x$enable_win64" = "xyes"
5101 then
5102 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5103 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5105 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5106 You should create a separate build directory and run configure from there." "$LINENO" 5
5107 enable_fonts=${enable_fonts:-no}
5108 enable_server=${enable_server:-no}
5109 elif test "x$enable_win64" = "xyes"
5110 then
5111 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5115 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5116 if ${wine_cv_toolsdir+:} false; then :
5117 $as_echo_n "(cached) " >&6
5118 else
5119 wine_cv_toolsdir="$with_wine_tools"
5120 if test -z "$with_wine_tools"; then
5121 if test "$cross_compiling" = "yes"; then
5122 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5123 elif test -n "$with_wine64"; then
5124 wine_cv_toolsdir="$with_wine64"
5127 if test -z "$wine_cv_toolsdir"; then
5128 wine_makedep=tools/makedep
5129 wine_cv_toolsdir="\$(top_builddir)"
5130 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5131 wine_makedep=$wine_cv_toolsdir/tools/makedep
5132 case "$wine_cv_toolsdir" in
5133 /*) ;;
5134 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5135 esac
5136 enable_tools=${enable_tools:-no}
5137 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5138 else
5139 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5143 $as_echo "$wine_cv_toolsdir" >&6; }
5144 TOOLSDIR=$wine_cv_toolsdir
5146 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5147 then
5148 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5152 for ac_prog in flex
5154 # Extract the first word of "$ac_prog", so it can be a program name with args.
5155 set dummy $ac_prog; ac_word=$2
5156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5157 $as_echo_n "checking for $ac_word... " >&6; }
5158 if ${ac_cv_prog_FLEX+:} false; then :
5159 $as_echo_n "(cached) " >&6
5160 else
5161 if test -n "$FLEX"; then
5162 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5163 else
5164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5165 for as_dir in $PATH
5167 IFS=$as_save_IFS
5168 test -z "$as_dir" && as_dir=.
5169 for ac_exec_ext in '' $ac_executable_extensions; do
5170 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5171 ac_cv_prog_FLEX="$ac_prog"
5172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5173 break 2
5175 done
5176 done
5177 IFS=$as_save_IFS
5181 FLEX=$ac_cv_prog_FLEX
5182 if test -n "$FLEX"; then
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5184 $as_echo "$FLEX" >&6; }
5185 else
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5187 $as_echo "no" >&6; }
5191 test -n "$FLEX" && break
5192 done
5193 test -n "$FLEX" || FLEX="none"
5195 if test "$FLEX" = "none"
5196 then
5197 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5200 $as_echo_n "checking whether flex is recent enough... " >&6; }
5201 cat >conftest.l <<EOF
5202 %top{
5203 #include "prediluvian.h"
5207 if $FLEX -t conftest.l >/dev/null 2>&5
5208 then
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5210 $as_echo "yes" >&6; }
5211 else
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5213 $as_echo "no" >&6; }
5214 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5217 for ac_prog in bison
5219 # Extract the first word of "$ac_prog", so it can be a program name with args.
5220 set dummy $ac_prog; ac_word=$2
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5222 $as_echo_n "checking for $ac_word... " >&6; }
5223 if ${ac_cv_prog_BISON+:} false; then :
5224 $as_echo_n "(cached) " >&6
5225 else
5226 if test -n "$BISON"; then
5227 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5228 else
5229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5230 for as_dir in $PATH
5232 IFS=$as_save_IFS
5233 test -z "$as_dir" && as_dir=.
5234 for ac_exec_ext in '' $ac_executable_extensions; do
5235 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5236 ac_cv_prog_BISON="$ac_prog"
5237 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5238 break 2
5240 done
5241 done
5242 IFS=$as_save_IFS
5246 BISON=$ac_cv_prog_BISON
5247 if test -n "$BISON"; then
5248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5249 $as_echo "$BISON" >&6; }
5250 else
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5252 $as_echo "no" >&6; }
5256 test -n "$BISON" && break
5257 done
5258 test -n "$BISON" || BISON="none"
5260 if test "$BISON" = "none"
5261 then
5262 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5265 if test -n "$ac_tool_prefix"; then
5266 for ac_prog in ar gar
5268 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5269 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5271 $as_echo_n "checking for $ac_word... " >&6; }
5272 if ${ac_cv_prog_AR+:} false; then :
5273 $as_echo_n "(cached) " >&6
5274 else
5275 if test -n "$AR"; then
5276 ac_cv_prog_AR="$AR" # Let the user override the test.
5277 else
5278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5279 for as_dir in $PATH
5281 IFS=$as_save_IFS
5282 test -z "$as_dir" && as_dir=.
5283 for ac_exec_ext in '' $ac_executable_extensions; do
5284 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5285 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5287 break 2
5289 done
5290 done
5291 IFS=$as_save_IFS
5295 AR=$ac_cv_prog_AR
5296 if test -n "$AR"; then
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5298 $as_echo "$AR" >&6; }
5299 else
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5301 $as_echo "no" >&6; }
5305 test -n "$AR" && break
5306 done
5308 if test -z "$AR"; then
5309 ac_ct_AR=$AR
5310 for ac_prog in ar gar
5312 # Extract the first word of "$ac_prog", so it can be a program name with args.
5313 set dummy $ac_prog; ac_word=$2
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5315 $as_echo_n "checking for $ac_word... " >&6; }
5316 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5317 $as_echo_n "(cached) " >&6
5318 else
5319 if test -n "$ac_ct_AR"; then
5320 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5321 else
5322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5323 for as_dir in $PATH
5325 IFS=$as_save_IFS
5326 test -z "$as_dir" && as_dir=.
5327 for ac_exec_ext in '' $ac_executable_extensions; do
5328 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5329 ac_cv_prog_ac_ct_AR="$ac_prog"
5330 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5331 break 2
5333 done
5334 done
5335 IFS=$as_save_IFS
5339 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5340 if test -n "$ac_ct_AR"; then
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5342 $as_echo "$ac_ct_AR" >&6; }
5343 else
5344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5345 $as_echo "no" >&6; }
5349 test -n "$ac_ct_AR" && break
5350 done
5352 if test "x$ac_ct_AR" = x; then
5353 AR="ar"
5354 else
5355 case $cross_compiling:$ac_tool_warned in
5356 yes:)
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5358 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5359 ac_tool_warned=yes ;;
5360 esac
5361 AR=$ac_ct_AR
5365 if test -n "$ac_tool_prefix"; then
5366 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5367 set dummy ${ac_tool_prefix}strip; ac_word=$2
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5369 $as_echo_n "checking for $ac_word... " >&6; }
5370 if ${ac_cv_prog_STRIP+:} false; then :
5371 $as_echo_n "(cached) " >&6
5372 else
5373 if test -n "$STRIP"; then
5374 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5375 else
5376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5377 for as_dir in $PATH
5379 IFS=$as_save_IFS
5380 test -z "$as_dir" && as_dir=.
5381 for ac_exec_ext in '' $ac_executable_extensions; do
5382 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5383 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5384 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5385 break 2
5387 done
5388 done
5389 IFS=$as_save_IFS
5393 STRIP=$ac_cv_prog_STRIP
5394 if test -n "$STRIP"; then
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5396 $as_echo "$STRIP" >&6; }
5397 else
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5399 $as_echo "no" >&6; }
5404 if test -z "$ac_cv_prog_STRIP"; then
5405 ac_ct_STRIP=$STRIP
5406 # Extract the first word of "strip", so it can be a program name with args.
5407 set dummy strip; ac_word=$2
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5409 $as_echo_n "checking for $ac_word... " >&6; }
5410 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5411 $as_echo_n "(cached) " >&6
5412 else
5413 if test -n "$ac_ct_STRIP"; then
5414 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5415 else
5416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5417 for as_dir in $PATH
5419 IFS=$as_save_IFS
5420 test -z "$as_dir" && as_dir=.
5421 for ac_exec_ext in '' $ac_executable_extensions; do
5422 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5423 ac_cv_prog_ac_ct_STRIP="strip"
5424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5425 break 2
5427 done
5428 done
5429 IFS=$as_save_IFS
5433 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5434 if test -n "$ac_ct_STRIP"; then
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5436 $as_echo "$ac_ct_STRIP" >&6; }
5437 else
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5439 $as_echo "no" >&6; }
5442 if test "x$ac_ct_STRIP" = x; then
5443 STRIP="strip"
5444 else
5445 case $cross_compiling:$ac_tool_warned in
5446 yes:)
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5448 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5449 ac_tool_warned=yes ;;
5450 esac
5451 STRIP=$ac_ct_STRIP
5453 else
5454 STRIP="$ac_cv_prog_STRIP"
5457 ARFLAGS=rc
5459 if test -n "$ac_tool_prefix"; then
5460 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5461 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5463 $as_echo_n "checking for $ac_word... " >&6; }
5464 if ${ac_cv_prog_RANLIB+:} false; then :
5465 $as_echo_n "(cached) " >&6
5466 else
5467 if test -n "$RANLIB"; then
5468 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5469 else
5470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5471 for as_dir in $PATH
5473 IFS=$as_save_IFS
5474 test -z "$as_dir" && as_dir=.
5475 for ac_exec_ext in '' $ac_executable_extensions; do
5476 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5477 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5478 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5479 break 2
5481 done
5482 done
5483 IFS=$as_save_IFS
5487 RANLIB=$ac_cv_prog_RANLIB
5488 if test -n "$RANLIB"; then
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5490 $as_echo "$RANLIB" >&6; }
5491 else
5492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5493 $as_echo "no" >&6; }
5498 if test -z "$ac_cv_prog_RANLIB"; then
5499 ac_ct_RANLIB=$RANLIB
5500 # Extract the first word of "ranlib", so it can be a program name with args.
5501 set dummy ranlib; ac_word=$2
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5503 $as_echo_n "checking for $ac_word... " >&6; }
5504 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5505 $as_echo_n "(cached) " >&6
5506 else
5507 if test -n "$ac_ct_RANLIB"; then
5508 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5509 else
5510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5511 for as_dir in $PATH
5513 IFS=$as_save_IFS
5514 test -z "$as_dir" && as_dir=.
5515 for ac_exec_ext in '' $ac_executable_extensions; do
5516 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5517 ac_cv_prog_ac_ct_RANLIB="ranlib"
5518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5519 break 2
5521 done
5522 done
5523 IFS=$as_save_IFS
5527 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5528 if test -n "$ac_ct_RANLIB"; then
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5530 $as_echo "$ac_ct_RANLIB" >&6; }
5531 else
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5533 $as_echo "no" >&6; }
5536 if test "x$ac_ct_RANLIB" = x; then
5537 RANLIB=":"
5538 else
5539 case $cross_compiling:$ac_tool_warned in
5540 yes:)
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5542 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5543 ac_tool_warned=yes ;;
5544 esac
5545 RANLIB=$ac_ct_RANLIB
5547 else
5548 RANLIB="$ac_cv_prog_RANLIB"
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5552 $as_echo_n "checking whether ln -s works... " >&6; }
5553 LN_S=$as_ln_s
5554 if test "$LN_S" = "ln -s"; then
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5556 $as_echo "yes" >&6; }
5557 else
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5559 $as_echo "no, using $LN_S" >&6; }
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5563 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5564 if ${ac_cv_path_GREP+:} false; then :
5565 $as_echo_n "(cached) " >&6
5566 else
5567 if test -z "$GREP"; then
5568 ac_path_GREP_found=false
5569 # Loop through the user's path and test for each of PROGNAME-LIST
5570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5571 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5573 IFS=$as_save_IFS
5574 test -z "$as_dir" && as_dir=.
5575 for ac_prog in grep ggrep; do
5576 for ac_exec_ext in '' $ac_executable_extensions; do
5577 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5578 as_fn_executable_p "$ac_path_GREP" || continue
5579 # Check for GNU ac_path_GREP and select it if it is found.
5580 # Check for GNU $ac_path_GREP
5581 case `"$ac_path_GREP" --version 2>&1` in
5582 *GNU*)
5583 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5585 ac_count=0
5586 $as_echo_n 0123456789 >"conftest.in"
5587 while :
5589 cat "conftest.in" "conftest.in" >"conftest.tmp"
5590 mv "conftest.tmp" "conftest.in"
5591 cp "conftest.in" "conftest.nl"
5592 $as_echo 'GREP' >> "conftest.nl"
5593 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5594 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5595 as_fn_arith $ac_count + 1 && ac_count=$as_val
5596 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5597 # Best one so far, save it but keep looking for a better one
5598 ac_cv_path_GREP="$ac_path_GREP"
5599 ac_path_GREP_max=$ac_count
5601 # 10*(2^10) chars as input seems more than enough
5602 test $ac_count -gt 10 && break
5603 done
5604 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5605 esac
5607 $ac_path_GREP_found && break 3
5608 done
5609 done
5610 done
5611 IFS=$as_save_IFS
5612 if test -z "$ac_cv_path_GREP"; then
5613 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5615 else
5616 ac_cv_path_GREP=$GREP
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5621 $as_echo "$ac_cv_path_GREP" >&6; }
5622 GREP="$ac_cv_path_GREP"
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5626 $as_echo_n "checking for egrep... " >&6; }
5627 if ${ac_cv_path_EGREP+:} false; then :
5628 $as_echo_n "(cached) " >&6
5629 else
5630 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5631 then ac_cv_path_EGREP="$GREP -E"
5632 else
5633 if test -z "$EGREP"; then
5634 ac_path_EGREP_found=false
5635 # Loop through the user's path and test for each of PROGNAME-LIST
5636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5637 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5639 IFS=$as_save_IFS
5640 test -z "$as_dir" && as_dir=.
5641 for ac_prog in egrep; do
5642 for ac_exec_ext in '' $ac_executable_extensions; do
5643 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5644 as_fn_executable_p "$ac_path_EGREP" || continue
5645 # Check for GNU ac_path_EGREP and select it if it is found.
5646 # Check for GNU $ac_path_EGREP
5647 case `"$ac_path_EGREP" --version 2>&1` in
5648 *GNU*)
5649 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5651 ac_count=0
5652 $as_echo_n 0123456789 >"conftest.in"
5653 while :
5655 cat "conftest.in" "conftest.in" >"conftest.tmp"
5656 mv "conftest.tmp" "conftest.in"
5657 cp "conftest.in" "conftest.nl"
5658 $as_echo 'EGREP' >> "conftest.nl"
5659 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5660 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5661 as_fn_arith $ac_count + 1 && ac_count=$as_val
5662 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5663 # Best one so far, save it but keep looking for a better one
5664 ac_cv_path_EGREP="$ac_path_EGREP"
5665 ac_path_EGREP_max=$ac_count
5667 # 10*(2^10) chars as input seems more than enough
5668 test $ac_count -gt 10 && break
5669 done
5670 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5671 esac
5673 $ac_path_EGREP_found && break 3
5674 done
5675 done
5676 done
5677 IFS=$as_save_IFS
5678 if test -z "$ac_cv_path_EGREP"; then
5679 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5681 else
5682 ac_cv_path_EGREP=$EGREP
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5688 $as_echo "$ac_cv_path_EGREP" >&6; }
5689 EGREP="$ac_cv_path_EGREP"
5692 # Extract the first word of "ldconfig", so it can be a program name with args.
5693 set dummy ldconfig; ac_word=$2
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5695 $as_echo_n "checking for $ac_word... " >&6; }
5696 if ${ac_cv_path_LDCONFIG+:} false; then :
5697 $as_echo_n "(cached) " >&6
5698 else
5699 case $LDCONFIG in
5700 [\\/]* | ?:[\\/]*)
5701 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5705 for as_dir in /sbin /usr/sbin $PATH
5707 IFS=$as_save_IFS
5708 test -z "$as_dir" && as_dir=.
5709 for ac_exec_ext in '' $ac_executable_extensions; do
5710 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5711 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5713 break 2
5715 done
5716 done
5717 IFS=$as_save_IFS
5719 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5721 esac
5723 LDCONFIG=$ac_cv_path_LDCONFIG
5724 if test -n "$LDCONFIG"; then
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5726 $as_echo "$LDCONFIG" >&6; }
5727 else
5728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5729 $as_echo "no" >&6; }
5733 for ac_prog in msgfmt
5735 # Extract the first word of "$ac_prog", so it can be a program name with args.
5736 set dummy $ac_prog; ac_word=$2
5737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5738 $as_echo_n "checking for $ac_word... " >&6; }
5739 if ${ac_cv_prog_MSGFMT+:} false; then :
5740 $as_echo_n "(cached) " >&6
5741 else
5742 if test -n "$MSGFMT"; then
5743 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5744 else
5745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5746 for as_dir in $PATH
5748 IFS=$as_save_IFS
5749 test -z "$as_dir" && as_dir=.
5750 for ac_exec_ext in '' $ac_executable_extensions; do
5751 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5752 ac_cv_prog_MSGFMT="$ac_prog"
5753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5754 break 2
5756 done
5757 done
5758 IFS=$as_save_IFS
5762 MSGFMT=$ac_cv_prog_MSGFMT
5763 if test -n "$MSGFMT"; then
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5765 $as_echo "$MSGFMT" >&6; }
5766 else
5767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5768 $as_echo "no" >&6; }
5772 test -n "$MSGFMT" && break
5773 done
5774 test -n "$MSGFMT" || MSGFMT="false"
5776 if ${ac_tool_prefix+:} false; then :
5777 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5778 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5780 $as_echo_n "checking for $ac_word... " >&6; }
5781 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5782 $as_echo_n "(cached) " >&6
5783 else
5784 if test -n "$PKG_CONFIG"; then
5785 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5786 else
5787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5788 for as_dir in $PATH
5790 IFS=$as_save_IFS
5791 test -z "$as_dir" && as_dir=.
5792 for ac_exec_ext in '' $ac_executable_extensions; do
5793 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5794 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5795 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5796 break 2
5798 done
5799 done
5800 IFS=$as_save_IFS
5804 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5805 if test -n "$PKG_CONFIG"; then
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5807 $as_echo "$PKG_CONFIG" >&6; }
5808 else
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5810 $as_echo "no" >&6; }
5815 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5816 if test "x$cross_compiling" = xyes; then :
5818 else
5819 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5820 # Extract the first word of "pkg-config", so it can be a program name with args.
5821 set dummy pkg-config; ac_word=$2
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5823 $as_echo_n "checking for $ac_word... " >&6; }
5824 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5825 $as_echo_n "(cached) " >&6
5826 else
5827 if test -n "$PKG_CONFIG"; then
5828 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5829 else
5830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5831 for as_dir in $PATH
5833 IFS=$as_save_IFS
5834 test -z "$as_dir" && as_dir=.
5835 for ac_exec_ext in '' $ac_executable_extensions; do
5836 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5837 ac_cv_prog_PKG_CONFIG="pkg-config"
5838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5839 break 2
5841 done
5842 done
5843 IFS=$as_save_IFS
5847 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5848 if test -n "$PKG_CONFIG"; then
5849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5850 $as_echo "$PKG_CONFIG" >&6; }
5851 else
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5853 $as_echo "no" >&6; }
5858 else
5859 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5862 if test "x$enable_maintainer_mode" != "xyes"
5863 then
5864 FONTFORGE=""
5865 RSVG=""
5866 CONVERT=""
5867 ICOTOOL=""
5868 else
5869 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5870 for ac_prog in fontforge
5872 # Extract the first word of "$ac_prog", so it can be a program name with args.
5873 set dummy $ac_prog; ac_word=$2
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5875 $as_echo_n "checking for $ac_word... " >&6; }
5876 if ${ac_cv_prog_FONTFORGE+:} false; then :
5877 $as_echo_n "(cached) " >&6
5878 else
5879 if test -n "$FONTFORGE"; then
5880 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5881 else
5882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5883 for as_dir in $PATH
5885 IFS=$as_save_IFS
5886 test -z "$as_dir" && as_dir=.
5887 for ac_exec_ext in '' $ac_executable_extensions; do
5888 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5889 ac_cv_prog_FONTFORGE="$ac_prog"
5890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5891 break 2
5893 done
5894 done
5895 IFS=$as_save_IFS
5899 FONTFORGE=$ac_cv_prog_FONTFORGE
5900 if test -n "$FONTFORGE"; then
5901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5902 $as_echo "$FONTFORGE" >&6; }
5903 else
5904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5905 $as_echo "no" >&6; }
5909 test -n "$FONTFORGE" && break
5910 done
5911 test -n "$FONTFORGE" || FONTFORGE="false"
5913 for ac_prog in rsvg-convert rsvg
5915 # Extract the first word of "$ac_prog", so it can be a program name with args.
5916 set dummy $ac_prog; ac_word=$2
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5918 $as_echo_n "checking for $ac_word... " >&6; }
5919 if ${ac_cv_prog_RSVG+:} false; then :
5920 $as_echo_n "(cached) " >&6
5921 else
5922 if test -n "$RSVG"; then
5923 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5924 else
5925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5926 for as_dir in $PATH
5928 IFS=$as_save_IFS
5929 test -z "$as_dir" && as_dir=.
5930 for ac_exec_ext in '' $ac_executable_extensions; do
5931 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5932 ac_cv_prog_RSVG="$ac_prog"
5933 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5934 break 2
5936 done
5937 done
5938 IFS=$as_save_IFS
5942 RSVG=$ac_cv_prog_RSVG
5943 if test -n "$RSVG"; then
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5945 $as_echo "$RSVG" >&6; }
5946 else
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5948 $as_echo "no" >&6; }
5952 test -n "$RSVG" && break
5953 done
5954 test -n "$RSVG" || RSVG="false"
5956 for ac_prog in convert
5958 # Extract the first word of "$ac_prog", so it can be a program name with args.
5959 set dummy $ac_prog; ac_word=$2
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5961 $as_echo_n "checking for $ac_word... " >&6; }
5962 if ${ac_cv_prog_CONVERT+:} false; then :
5963 $as_echo_n "(cached) " >&6
5964 else
5965 if test -n "$CONVERT"; then
5966 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5967 else
5968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5969 for as_dir in $PATH
5971 IFS=$as_save_IFS
5972 test -z "$as_dir" && as_dir=.
5973 for ac_exec_ext in '' $ac_executable_extensions; do
5974 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5975 ac_cv_prog_CONVERT="$ac_prog"
5976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5977 break 2
5979 done
5980 done
5981 IFS=$as_save_IFS
5985 CONVERT=$ac_cv_prog_CONVERT
5986 if test -n "$CONVERT"; then
5987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5988 $as_echo "$CONVERT" >&6; }
5989 else
5990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5991 $as_echo "no" >&6; }
5995 test -n "$CONVERT" && break
5996 done
5997 test -n "$CONVERT" || CONVERT="false"
5999 for ac_prog in icotool
6001 # Extract the first word of "$ac_prog", so it can be a program name with args.
6002 set dummy $ac_prog; ac_word=$2
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6004 $as_echo_n "checking for $ac_word... " >&6; }
6005 if ${ac_cv_prog_ICOTOOL+:} false; then :
6006 $as_echo_n "(cached) " >&6
6007 else
6008 if test -n "$ICOTOOL"; then
6009 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6010 else
6011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6012 for as_dir in $PATH
6014 IFS=$as_save_IFS
6015 test -z "$as_dir" && as_dir=.
6016 for ac_exec_ext in '' $ac_executable_extensions; do
6017 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6018 ac_cv_prog_ICOTOOL="$ac_prog"
6019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6020 break 2
6022 done
6023 done
6024 IFS=$as_save_IFS
6028 ICOTOOL=$ac_cv_prog_ICOTOOL
6029 if test -n "$ICOTOOL"; then
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6031 $as_echo "$ICOTOOL" >&6; }
6032 else
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6034 $as_echo "no" >&6; }
6038 test -n "$ICOTOOL" && break
6039 done
6040 test -n "$ICOTOOL" || ICOTOOL="false"
6042 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6043 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6045 if test "$CONVERT" = false
6046 then
6047 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6048 else
6049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6050 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6051 convert_version=`convert --version | head -n1`
6052 if test "x$convert_version" != "x"
6053 then
6054 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6055 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6056 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6057 then
6058 CONVERT=false
6061 if test "$CONVERT" = false
6062 then
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6064 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6065 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6066 else
6067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6068 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6072 if test "$ICOTOOL" = false
6073 then
6074 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6075 else
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6077 $as_echo_n "checking for recent enough icotool... " >&6; }
6078 icotool_version=`icotool --version | head -n1`
6079 if test "x$icotool_version" != "x"
6080 then
6081 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6082 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6083 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6084 then
6085 ICOTOOL=false
6086 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6089 if test "$ICOTOOL" = false
6090 then
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6092 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6093 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6094 else
6095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6096 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6100 with_gettext=yes
6101 with_gettextpo=yes
6102 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6105 test "x$with_gettext" != xno || MSGFMT=false
6106 if test "$MSGFMT" != "false"
6107 then
6108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6109 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6110 cat >conftest.po <<EOF
6111 # comment
6112 msgctxt "ctxt"
6113 msgid "id"
6114 msgstr "str"
6116 if $MSGFMT -o /dev/null conftest.po 2>&5
6117 then
6118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6119 $as_echo "yes" >&6; }
6120 else
6121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6122 $as_echo "no" >&6; }
6123 MSGFMT=false
6126 if test "$MSGFMT" = false; then :
6127 case "x$with_gettext" in
6128 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6129 xno) ;;
6130 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6131 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6132 esac
6133 enable_po=${enable_po:-no}
6137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6138 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6139 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6140 $as_echo_n "(cached) " >&6
6141 else
6142 ac_check_lib_save_LIBS=$LIBS
6143 LIBS="-li386 $LIBS"
6144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6145 /* end confdefs.h. */
6147 /* Override any GCC internal prototype to avoid an error.
6148 Use char because int might match the return type of a GCC
6149 builtin and then its argument prototype would still apply. */
6150 #ifdef __cplusplus
6151 extern "C"
6152 #endif
6153 char i386_set_ldt ();
6155 main ()
6157 return i386_set_ldt ();
6159 return 0;
6161 _ACEOF
6162 if ac_fn_c_try_link "$LINENO"; then :
6163 ac_cv_lib_i386_i386_set_ldt=yes
6164 else
6165 ac_cv_lib_i386_i386_set_ldt=no
6167 rm -f core conftest.err conftest.$ac_objext \
6168 conftest$ac_exeext conftest.$ac_ext
6169 LIBS=$ac_check_lib_save_LIBS
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6172 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6173 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6174 cat >>confdefs.h <<_ACEOF
6175 #define HAVE_LIBI386 1
6176 _ACEOF
6178 LIBS="-li386 $LIBS"
6182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6183 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6184 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6185 $as_echo_n "(cached) " >&6
6186 else
6187 ac_check_lib_save_LIBS=$LIBS
6188 LIBS="-lossaudio $LIBS"
6189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6190 /* end confdefs.h. */
6192 /* Override any GCC internal prototype to avoid an error.
6193 Use char because int might match the return type of a GCC
6194 builtin and then its argument prototype would still apply. */
6195 #ifdef __cplusplus
6196 extern "C"
6197 #endif
6198 char _oss_ioctl ();
6200 main ()
6202 return _oss_ioctl ();
6204 return 0;
6206 _ACEOF
6207 if ac_fn_c_try_link "$LINENO"; then :
6208 ac_cv_lib_ossaudio__oss_ioctl=yes
6209 else
6210 ac_cv_lib_ossaudio__oss_ioctl=no
6212 rm -f core conftest.err conftest.$ac_objext \
6213 conftest$ac_exeext conftest.$ac_ext
6214 LIBS=$ac_check_lib_save_LIBS
6216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6217 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6218 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6219 cat >>confdefs.h <<_ACEOF
6220 #define HAVE_LIBOSSAUDIO 1
6221 _ACEOF
6223 LIBS="-lossaudio $LIBS"
6228 OPENGL_LIBS=""
6232 # Check whether --enable-largefile was given.
6233 if test "${enable_largefile+set}" = set; then :
6234 enableval=$enable_largefile;
6237 if test "$enable_largefile" != no; then
6239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6240 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6241 if ${ac_cv_sys_largefile_CC+:} false; then :
6242 $as_echo_n "(cached) " >&6
6243 else
6244 ac_cv_sys_largefile_CC=no
6245 if test "$GCC" != yes; then
6246 ac_save_CC=$CC
6247 while :; do
6248 # IRIX 6.2 and later do not support large files by default,
6249 # so use the C compiler's -n32 option if that helps.
6250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6251 /* end confdefs.h. */
6252 #include <sys/types.h>
6253 /* Check that off_t can represent 2**63 - 1 correctly.
6254 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6255 since some C++ compilers masquerading as C compilers
6256 incorrectly reject 9223372036854775807. */
6257 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6258 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6259 && LARGE_OFF_T % 2147483647 == 1)
6260 ? 1 : -1];
6262 main ()
6266 return 0;
6268 _ACEOF
6269 if ac_fn_c_try_compile "$LINENO"; then :
6270 break
6272 rm -f core conftest.err conftest.$ac_objext
6273 CC="$CC -n32"
6274 if ac_fn_c_try_compile "$LINENO"; then :
6275 ac_cv_sys_largefile_CC=' -n32'; break
6277 rm -f core conftest.err conftest.$ac_objext
6278 break
6279 done
6280 CC=$ac_save_CC
6281 rm -f conftest.$ac_ext
6284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6285 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6286 if test "$ac_cv_sys_largefile_CC" != no; then
6287 CC=$CC$ac_cv_sys_largefile_CC
6290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6291 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6292 if ${ac_cv_sys_file_offset_bits+:} false; then :
6293 $as_echo_n "(cached) " >&6
6294 else
6295 while :; do
6296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6297 /* end confdefs.h. */
6298 #include <sys/types.h>
6299 /* Check that off_t can represent 2**63 - 1 correctly.
6300 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6301 since some C++ compilers masquerading as C compilers
6302 incorrectly reject 9223372036854775807. */
6303 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6304 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6305 && LARGE_OFF_T % 2147483647 == 1)
6306 ? 1 : -1];
6308 main ()
6312 return 0;
6314 _ACEOF
6315 if ac_fn_c_try_compile "$LINENO"; then :
6316 ac_cv_sys_file_offset_bits=no; break
6318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6320 /* end confdefs.h. */
6321 #define _FILE_OFFSET_BITS 64
6322 #include <sys/types.h>
6323 /* Check that off_t can represent 2**63 - 1 correctly.
6324 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6325 since some C++ compilers masquerading as C compilers
6326 incorrectly reject 9223372036854775807. */
6327 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6328 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6329 && LARGE_OFF_T % 2147483647 == 1)
6330 ? 1 : -1];
6332 main ()
6336 return 0;
6338 _ACEOF
6339 if ac_fn_c_try_compile "$LINENO"; then :
6340 ac_cv_sys_file_offset_bits=64; break
6342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6343 ac_cv_sys_file_offset_bits=unknown
6344 break
6345 done
6347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6348 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6349 case $ac_cv_sys_file_offset_bits in #(
6350 no | unknown) ;;
6352 cat >>confdefs.h <<_ACEOF
6353 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6354 _ACEOF
6356 esac
6357 rm -rf conftest*
6358 if test $ac_cv_sys_file_offset_bits = unknown; then
6359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6360 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6361 if ${ac_cv_sys_large_files+:} false; then :
6362 $as_echo_n "(cached) " >&6
6363 else
6364 while :; do
6365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6366 /* end confdefs.h. */
6367 #include <sys/types.h>
6368 /* Check that off_t can represent 2**63 - 1 correctly.
6369 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6370 since some C++ compilers masquerading as C compilers
6371 incorrectly reject 9223372036854775807. */
6372 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6373 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6374 && LARGE_OFF_T % 2147483647 == 1)
6375 ? 1 : -1];
6377 main ()
6381 return 0;
6383 _ACEOF
6384 if ac_fn_c_try_compile "$LINENO"; then :
6385 ac_cv_sys_large_files=no; break
6387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6389 /* end confdefs.h. */
6390 #define _LARGE_FILES 1
6391 #include <sys/types.h>
6392 /* Check that off_t can represent 2**63 - 1 correctly.
6393 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6394 since some C++ compilers masquerading as C compilers
6395 incorrectly reject 9223372036854775807. */
6396 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6397 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6398 && LARGE_OFF_T % 2147483647 == 1)
6399 ? 1 : -1];
6401 main ()
6405 return 0;
6407 _ACEOF
6408 if ac_fn_c_try_compile "$LINENO"; then :
6409 ac_cv_sys_large_files=1; break
6411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6412 ac_cv_sys_large_files=unknown
6413 break
6414 done
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6417 $as_echo "$ac_cv_sys_large_files" >&6; }
6418 case $ac_cv_sys_large_files in #(
6419 no | unknown) ;;
6421 cat >>confdefs.h <<_ACEOF
6422 #define _LARGE_FILES $ac_cv_sys_large_files
6423 _ACEOF
6425 esac
6426 rm -rf conftest*
6433 ac_ext=c
6434 ac_cpp='$CPP $CPPFLAGS'
6435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6439 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6440 # On Suns, sometimes $CPP names a directory.
6441 if test -n "$CPP" && test -d "$CPP"; then
6442 CPP=
6444 if test -z "$CPP"; then
6445 if ${ac_cv_prog_CPP+:} false; then :
6446 $as_echo_n "(cached) " >&6
6447 else
6448 # Double quotes because CPP needs to be expanded
6449 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6451 ac_preproc_ok=false
6452 for ac_c_preproc_warn_flag in '' yes
6454 # Use a header file that comes with gcc, so configuring glibc
6455 # with a fresh cross-compiler works.
6456 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6457 # <limits.h> exists even on freestanding compilers.
6458 # On the NeXT, cc -E runs the code through the compiler's parser,
6459 # not just through cpp. "Syntax error" is here to catch this case.
6460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6461 /* end confdefs.h. */
6462 #ifdef __STDC__
6463 # include <limits.h>
6464 #else
6465 # include <assert.h>
6466 #endif
6467 Syntax error
6468 _ACEOF
6469 if ac_fn_c_try_cpp "$LINENO"; then :
6471 else
6472 # Broken: fails on valid input.
6473 continue
6475 rm -f conftest.err conftest.i conftest.$ac_ext
6477 # OK, works on sane cases. Now check whether nonexistent headers
6478 # can be detected and how.
6479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6480 /* end confdefs.h. */
6481 #include <ac_nonexistent.h>
6482 _ACEOF
6483 if ac_fn_c_try_cpp "$LINENO"; then :
6484 # Broken: success on invalid input.
6485 continue
6486 else
6487 # Passes both tests.
6488 ac_preproc_ok=:
6489 break
6491 rm -f conftest.err conftest.i conftest.$ac_ext
6493 done
6494 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6495 rm -f conftest.i conftest.err conftest.$ac_ext
6496 if $ac_preproc_ok; then :
6497 break
6500 done
6501 ac_cv_prog_CPP=$CPP
6504 CPP=$ac_cv_prog_CPP
6505 else
6506 ac_cv_prog_CPP=$CPP
6508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6509 $as_echo "$CPP" >&6; }
6510 ac_preproc_ok=false
6511 for ac_c_preproc_warn_flag in '' yes
6513 # Use a header file that comes with gcc, so configuring glibc
6514 # with a fresh cross-compiler works.
6515 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6516 # <limits.h> exists even on freestanding compilers.
6517 # On the NeXT, cc -E runs the code through the compiler's parser,
6518 # not just through cpp. "Syntax error" is here to catch this case.
6519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6520 /* end confdefs.h. */
6521 #ifdef __STDC__
6522 # include <limits.h>
6523 #else
6524 # include <assert.h>
6525 #endif
6526 Syntax error
6527 _ACEOF
6528 if ac_fn_c_try_cpp "$LINENO"; then :
6530 else
6531 # Broken: fails on valid input.
6532 continue
6534 rm -f conftest.err conftest.i conftest.$ac_ext
6536 # OK, works on sane cases. Now check whether nonexistent headers
6537 # can be detected and how.
6538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6539 /* end confdefs.h. */
6540 #include <ac_nonexistent.h>
6541 _ACEOF
6542 if ac_fn_c_try_cpp "$LINENO"; then :
6543 # Broken: success on invalid input.
6544 continue
6545 else
6546 # Passes both tests.
6547 ac_preproc_ok=:
6548 break
6550 rm -f conftest.err conftest.i conftest.$ac_ext
6552 done
6553 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6554 rm -f conftest.i conftest.err conftest.$ac_ext
6555 if $ac_preproc_ok; then :
6557 else
6558 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6559 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6560 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6561 See \`config.log' for more details" "$LINENO" 5; }
6564 ac_ext=c
6565 ac_cpp='$CPP $CPPFLAGS'
6566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6572 $as_echo_n "checking for ANSI C header files... " >&6; }
6573 if ${ac_cv_header_stdc+:} false; then :
6574 $as_echo_n "(cached) " >&6
6575 else
6576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6577 /* end confdefs.h. */
6578 #include <stdlib.h>
6579 #include <stdarg.h>
6580 #include <string.h>
6581 #include <float.h>
6584 main ()
6588 return 0;
6590 _ACEOF
6591 if ac_fn_c_try_compile "$LINENO"; then :
6592 ac_cv_header_stdc=yes
6593 else
6594 ac_cv_header_stdc=no
6596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6598 if test $ac_cv_header_stdc = yes; then
6599 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6601 /* end confdefs.h. */
6602 #include <string.h>
6604 _ACEOF
6605 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6606 $EGREP "memchr" >/dev/null 2>&1; then :
6608 else
6609 ac_cv_header_stdc=no
6611 rm -f conftest*
6615 if test $ac_cv_header_stdc = yes; then
6616 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6618 /* end confdefs.h. */
6619 #include <stdlib.h>
6621 _ACEOF
6622 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6623 $EGREP "free" >/dev/null 2>&1; then :
6625 else
6626 ac_cv_header_stdc=no
6628 rm -f conftest*
6632 if test $ac_cv_header_stdc = yes; then
6633 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6634 if test "$cross_compiling" = yes; then :
6636 else
6637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6638 /* end confdefs.h. */
6639 #include <ctype.h>
6640 #include <stdlib.h>
6641 #if ((' ' & 0x0FF) == 0x020)
6642 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6643 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6644 #else
6645 # define ISLOWER(c) \
6646 (('a' <= (c) && (c) <= 'i') \
6647 || ('j' <= (c) && (c) <= 'r') \
6648 || ('s' <= (c) && (c) <= 'z'))
6649 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6650 #endif
6652 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6654 main ()
6656 int i;
6657 for (i = 0; i < 256; i++)
6658 if (XOR (islower (i), ISLOWER (i))
6659 || toupper (i) != TOUPPER (i))
6660 return 2;
6661 return 0;
6663 _ACEOF
6664 if ac_fn_c_try_run "$LINENO"; then :
6666 else
6667 ac_cv_header_stdc=no
6669 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6670 conftest.$ac_objext conftest.beam conftest.$ac_ext
6675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6676 $as_echo "$ac_cv_header_stdc" >&6; }
6677 if test $ac_cv_header_stdc = yes; then
6679 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6683 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6684 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6685 inttypes.h stdint.h unistd.h
6686 do :
6687 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6688 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6690 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6691 cat >>confdefs.h <<_ACEOF
6692 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6693 _ACEOF
6697 done
6700 for ac_header in \
6701 AL/al.h \
6702 ApplicationServices/ApplicationServices.h \
6703 AudioToolbox/AudioConverter.h \
6704 AudioUnit/AudioUnit.h \
6705 AudioUnit/AudioComponent.h \
6706 CL/cl.h \
6707 Carbon/Carbon.h \
6708 CommonCrypto/CommonDigest.h \
6709 CoreAudio/CoreAudio.h \
6710 CoreServices/CoreServices.h \
6711 DiskArbitration/DiskArbitration.h \
6712 IOKit/IOKitLib.h \
6713 IOKit/hid/IOHIDLib.h \
6714 OpenAL/al.h \
6715 OpenCL/opencl.h \
6716 QuickTime/ImageCompression.h \
6717 Security/Security.h \
6718 alias.h \
6719 alsa/asoundlib.h \
6720 arpa/inet.h \
6721 arpa/nameser.h \
6722 asm/types.h \
6723 asm/user.h \
6724 curses.h \
6725 direct.h \
6726 dirent.h \
6727 dlfcn.h \
6728 elf.h \
6729 float.h \
6730 fnmatch.h \
6731 getopt.h \
6732 gettext-po.h \
6733 grp.h \
6734 gsm.h \
6735 gsm/gsm.h \
6736 ieeefp.h \
6737 inet/mib2.h \
6738 io.h \
6739 kstat.h \
6740 lber.h \
6741 ldap.h \
6742 libproc.h \
6743 link.h \
6744 linux/cdrom.h \
6745 linux/compiler.h \
6746 linux/filter.h \
6747 linux/hdreg.h \
6748 linux/input.h \
6749 linux/ioctl.h \
6750 linux/joystick.h \
6751 linux/major.h \
6752 linux/param.h \
6753 linux/serial.h \
6754 linux/types.h \
6755 linux/ucdrom.h \
6756 lwp.h \
6757 mach-o/nlist.h \
6758 mach-o/loader.h \
6759 mach/mach.h \
6760 mach/machine.h \
6761 machine/cpu.h \
6762 machine/limits.h \
6763 machine/sysarch.h \
6764 mntent.h \
6765 ncurses.h \
6766 netdb.h \
6767 netinet/in.h \
6768 netinet/in_systm.h \
6769 netinet/tcp.h \
6770 netinet/tcp_fsm.h \
6771 pcap/pcap.h \
6772 poll.h \
6773 port.h \
6774 process.h \
6775 pthread.h \
6776 pwd.h \
6777 sched.h \
6778 scsi/scsi.h \
6779 scsi/scsi_ioctl.h \
6780 scsi/sg.h \
6781 stdbool.h \
6782 stdint.h \
6783 stropts.h \
6784 sys/asoundlib.h \
6785 sys/attr.h \
6786 sys/cdio.h \
6787 sys/elf32.h \
6788 sys/epoll.h \
6789 sys/event.h \
6790 sys/exec_elf.h \
6791 sys/filio.h \
6792 sys/inotify.h \
6793 sys/ioctl.h \
6794 sys/ipc.h \
6795 sys/limits.h \
6796 sys/link.h \
6797 sys/mman.h \
6798 sys/modem.h \
6799 sys/msg.h \
6800 sys/mtio.h \
6801 sys/param.h \
6802 sys/poll.h \
6803 sys/prctl.h \
6804 sys/protosw.h \
6805 sys/ptrace.h \
6806 sys/queue.h \
6807 sys/resource.h \
6808 sys/scsiio.h \
6809 sys/shm.h \
6810 sys/signal.h \
6811 sys/socket.h \
6812 sys/socketvar.h \
6813 sys/sockio.h \
6814 sys/statvfs.h \
6815 sys/strtio.h \
6816 sys/syscall.h \
6817 sys/sysinfo.h \
6818 sys/tihdr.h \
6819 sys/time.h \
6820 sys/timeout.h \
6821 sys/times.h \
6822 sys/uio.h \
6823 sys/user.h \
6824 sys/utsname.h \
6825 sys/vm86.h \
6826 sys/vnode.h \
6827 sys/wait.h \
6828 syscall.h \
6829 termios.h \
6830 unistd.h \
6831 utime.h \
6832 valgrind/memcheck.h \
6833 valgrind/valgrind.h \
6834 zlib.h
6836 do :
6837 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6838 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6839 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6840 cat >>confdefs.h <<_ACEOF
6841 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6842 _ACEOF
6846 done
6848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6849 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6850 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
6851 $as_echo_n "(cached) " >&6
6852 else
6853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6854 /* end confdefs.h. */
6855 #include <sys/types.h>
6857 main ()
6859 return makedev(0, 0);
6861 return 0;
6863 _ACEOF
6864 if ac_fn_c_try_link "$LINENO"; then :
6865 ac_cv_header_sys_types_h_makedev=yes
6866 else
6867 ac_cv_header_sys_types_h_makedev=no
6869 rm -f core conftest.err conftest.$ac_objext \
6870 conftest$ac_exeext conftest.$ac_ext
6873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
6874 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
6876 if test $ac_cv_header_sys_types_h_makedev = no; then
6877 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
6878 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
6880 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
6886 if test $ac_cv_header_sys_mkdev_h = no; then
6887 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
6888 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
6890 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
6898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6899 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6900 if ${ac_cv_header_stat_broken+:} false; then :
6901 $as_echo_n "(cached) " >&6
6902 else
6903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6904 /* end confdefs.h. */
6905 #include <sys/types.h>
6906 #include <sys/stat.h>
6908 #if defined S_ISBLK && defined S_IFDIR
6909 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6910 #endif
6912 #if defined S_ISBLK && defined S_IFCHR
6913 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6914 #endif
6916 #if defined S_ISLNK && defined S_IFREG
6917 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6918 #endif
6920 #if defined S_ISSOCK && defined S_IFREG
6921 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6922 #endif
6924 _ACEOF
6925 if ac_fn_c_try_compile "$LINENO"; then :
6926 ac_cv_header_stat_broken=no
6927 else
6928 ac_cv_header_stat_broken=yes
6930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6933 $as_echo "$ac_cv_header_stat_broken" >&6; }
6934 if test $ac_cv_header_stat_broken = yes; then
6936 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6942 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6943 do :
6944 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6945 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6946 #ifdef HAVE_SYS_PARAM_H
6947 # include <sys/param.h>
6948 #endif
6950 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6951 cat >>confdefs.h <<_ACEOF
6952 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6953 _ACEOF
6957 done
6960 for ac_header in \
6961 netinet/ip.h \
6962 net/if.h \
6963 net/if_arp.h \
6964 net/if_dl.h \
6965 net/if_types.h \
6966 net/route.h \
6967 netinet/if_ether.h \
6968 netinet/if_inarp.h \
6969 netinet/in_pcb.h \
6970 netinet/ip_icmp.h \
6971 netinet/ip_var.h \
6972 netinet/udp.h \
6973 netipx/ipx.h \
6974 sys/un.h \
6976 do :
6977 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6978 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6979 #ifdef HAVE_SYS_SOCKET_H
6980 # include <sys/socket.h>
6981 #endif
6982 #ifdef HAVE_SYS_SOCKETVAR_H
6983 # include <sys/socketvar.h>
6984 #endif
6985 #ifdef HAVE_NET_ROUTE_H
6986 # include <net/route.h>
6987 #endif
6988 #ifdef HAVE_NETINET_IN_H
6989 # include <netinet/in.h>
6990 #endif
6991 #ifdef HAVE_NETINET_IN_SYSTM_H
6992 # include <netinet/in_systm.h>
6993 #endif
6994 #ifdef HAVE_NET_IF_H
6995 # include <net/if.h>
6996 #endif
6997 #ifdef HAVE_NETINET_IP_H
6998 # include <netinet/ip.h>
6999 #endif
7001 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7002 cat >>confdefs.h <<_ACEOF
7003 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7004 _ACEOF
7008 done
7011 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7012 do :
7013 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7014 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7015 #ifdef HAVE_ALIAS_H
7016 # include <alias.h>
7017 #endif
7018 #ifdef HAVE_SYS_SOCKET_H
7019 # include <sys/socket.h>
7020 #endif
7021 #ifdef HAVE_SYS_SOCKETVAR_H
7022 # include <sys/socketvar.h>
7023 #endif
7024 #ifdef HAVE_SYS_TIMEOUT_H
7025 # include <sys/timeout.h>
7026 #endif
7027 #ifdef HAVE_NETINET_IN_H
7028 # include <netinet/in.h>
7029 #endif
7030 #ifdef HAVE_NETINET_IN_SYSTM_H
7031 # include <netinet/in_systm.h>
7032 #endif
7033 #ifdef HAVE_NETINET_IP_H
7034 # include <netinet/ip.h>
7035 #endif
7036 #ifdef HAVE_NETINET_IP_VAR_H
7037 # include <netinet/ip_var.h>
7038 #endif
7039 #ifdef HAVE_NETINET_IP_ICMP_H
7040 # include <netinet/ip_icmp.h>
7041 #endif
7042 #ifdef HAVE_NETINET_UDP_H
7043 # include <netinet/udp.h>
7044 #endif
7045 #ifdef HAVE_NETINET_TCP_H
7046 # include <netinet/tcp.h>
7047 #endif
7048 #ifdef HAVE_NETINET_TCP_TIMER_H
7049 #include <netinet/tcp_timer.h>
7050 #endif
7052 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7053 cat >>confdefs.h <<_ACEOF
7054 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7055 _ACEOF
7059 done
7062 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7063 do :
7064 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7065 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7066 #ifdef HAVE_ASM_TYPES_H
7067 # include <asm/types.h>
7068 #endif
7069 #ifdef HAVE_SYS_SOCKET_H
7070 # include <sys/socket.h>
7071 #endif
7072 #ifdef HAVE_LINUX_TYPES_H
7073 # include <linux/types.h>
7074 #endif
7076 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7077 cat >>confdefs.h <<_ACEOF
7078 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7079 _ACEOF
7083 done
7086 for ac_header in mach-o/dyld_images.h
7087 do :
7088 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7089 # include <stdbool.h>
7090 #endif
7091 #ifdef HAVE_STDINT_H
7092 # include <stdint.h>
7093 #endif
7095 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7096 cat >>confdefs.h <<_ACEOF
7097 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7098 _ACEOF
7102 done
7105 for ac_header in resolv.h
7106 do :
7107 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7108 #ifdef HAVE_SYS_SOCKET_H
7109 # include <sys/socket.h>
7110 #endif
7111 #ifdef HAVE_NETINET_IN_H
7112 # include <netinet/in.h>
7113 #endif
7114 #ifdef HAVE_ARPA_NAMESER_H
7115 # include <arpa/nameser.h>
7116 #endif
7118 if test "x$ac_cv_header_resolv_h" = xyes; then :
7119 cat >>confdefs.h <<_ACEOF
7120 #define HAVE_RESOLV_H 1
7121 _ACEOF
7125 done
7128 for ac_header in ifaddrs.h
7129 do :
7130 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7132 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7133 cat >>confdefs.h <<_ACEOF
7134 #define HAVE_IFADDRS_H 1
7135 _ACEOF
7139 done
7142 for ac_header in sys/ucontext.h
7143 do :
7144 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7146 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7147 cat >>confdefs.h <<_ACEOF
7148 #define HAVE_SYS_UCONTEXT_H 1
7149 _ACEOF
7153 done
7156 for ac_header in sys/thr.h
7157 do :
7158 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7159 #ifdef HAVE_SYS_UCONTEXT_H
7160 #include <sys/ucontext.h>
7161 #endif
7163 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7164 cat >>confdefs.h <<_ACEOF
7165 #define HAVE_SYS_THR_H 1
7166 _ACEOF
7170 done
7173 for ac_header in pthread_np.h
7174 do :
7175 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7176 #include <pthread.h>
7177 #endif
7179 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7180 cat >>confdefs.h <<_ACEOF
7181 #define HAVE_PTHREAD_NP_H 1
7182 _ACEOF
7186 done
7189 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7190 do :
7191 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7192 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7193 #include <sys/time.h>
7194 #endif
7195 #include <sys/types.h>
7196 #ifdef HAVE_ASM_TYPES_H
7197 #include <asm/types.h>
7198 #endif
7200 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7201 cat >>confdefs.h <<_ACEOF
7202 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7203 _ACEOF
7207 done
7210 for ac_header in libprocstat.h
7211 do :
7212 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7213 #include <sys/param.h>
7214 #endif
7215 #ifdef HAVE_SYS_QUEUE_H
7216 #include <sys/queue.h>
7217 #endif
7218 #ifdef HAVE_SYS_SOCKET_H
7219 #include <sys/socket.h>
7220 #endif
7222 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7223 cat >>confdefs.h <<_ACEOF
7224 #define HAVE_LIBPROCSTAT_H 1
7225 _ACEOF
7229 done
7233 dlldir="\${libdir}/wine"
7235 DLLFLAGS="-D_REENTRANT"
7237 LDRPATH_INSTALL=""
7239 LDRPATH_LOCAL=""
7241 LDEXECFLAGS=""
7243 LIBEXT="so"
7244 DLLEXT=".so"
7245 IMPLIBEXT="def"
7246 # Extract the first word of "ldd", so it can be a program name with args.
7247 set dummy ldd; ac_word=$2
7248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7249 $as_echo_n "checking for $ac_word... " >&6; }
7250 if ${ac_cv_path_LDD+:} false; then :
7251 $as_echo_n "(cached) " >&6
7252 else
7253 case $LDD in
7254 [\\/]* | ?:[\\/]*)
7255 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7259 as_dummy="/sbin:/usr/sbin:$PATH"
7260 for as_dir in $as_dummy
7262 IFS=$as_save_IFS
7263 test -z "$as_dir" && as_dir=.
7264 for ac_exec_ext in '' $ac_executable_extensions; do
7265 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7266 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7267 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7268 break 2
7270 done
7271 done
7272 IFS=$as_save_IFS
7274 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7276 esac
7278 LDD=$ac_cv_path_LDD
7279 if test -n "$LDD"; then
7280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7281 $as_echo "$LDD" >&6; }
7282 else
7283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7284 $as_echo "no" >&6; }
7288 if test -n "$ac_tool_prefix"; then
7289 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7290 set dummy ${ac_tool_prefix}otool; ac_word=$2
7291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7292 $as_echo_n "checking for $ac_word... " >&6; }
7293 if ${ac_cv_prog_OTOOL+:} false; then :
7294 $as_echo_n "(cached) " >&6
7295 else
7296 if test -n "$OTOOL"; then
7297 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7298 else
7299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7300 for as_dir in $PATH
7302 IFS=$as_save_IFS
7303 test -z "$as_dir" && as_dir=.
7304 for ac_exec_ext in '' $ac_executable_extensions; do
7305 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7306 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7307 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7308 break 2
7310 done
7311 done
7312 IFS=$as_save_IFS
7316 OTOOL=$ac_cv_prog_OTOOL
7317 if test -n "$OTOOL"; then
7318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7319 $as_echo "$OTOOL" >&6; }
7320 else
7321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7322 $as_echo "no" >&6; }
7327 if test -z "$ac_cv_prog_OTOOL"; then
7328 ac_ct_OTOOL=$OTOOL
7329 # Extract the first word of "otool", so it can be a program name with args.
7330 set dummy otool; ac_word=$2
7331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7332 $as_echo_n "checking for $ac_word... " >&6; }
7333 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7334 $as_echo_n "(cached) " >&6
7335 else
7336 if test -n "$ac_ct_OTOOL"; then
7337 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7338 else
7339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7340 for as_dir in $PATH
7342 IFS=$as_save_IFS
7343 test -z "$as_dir" && as_dir=.
7344 for ac_exec_ext in '' $ac_executable_extensions; do
7345 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7346 ac_cv_prog_ac_ct_OTOOL="otool"
7347 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7348 break 2
7350 done
7351 done
7352 IFS=$as_save_IFS
7356 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7357 if test -n "$ac_ct_OTOOL"; then
7358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7359 $as_echo "$ac_ct_OTOOL" >&6; }
7360 else
7361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7362 $as_echo "no" >&6; }
7365 if test "x$ac_ct_OTOOL" = x; then
7366 OTOOL="otool"
7367 else
7368 case $cross_compiling:$ac_tool_warned in
7369 yes:)
7370 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7371 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7372 ac_tool_warned=yes ;;
7373 esac
7374 OTOOL=$ac_ct_OTOOL
7376 else
7377 OTOOL="$ac_cv_prog_OTOOL"
7380 if test -n "$ac_tool_prefix"; then
7381 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7382 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7384 $as_echo_n "checking for $ac_word... " >&6; }
7385 if ${ac_cv_prog_READELF+:} false; then :
7386 $as_echo_n "(cached) " >&6
7387 else
7388 if test -n "$READELF"; then
7389 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7390 else
7391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7392 for as_dir in $PATH
7394 IFS=$as_save_IFS
7395 test -z "$as_dir" && as_dir=.
7396 for ac_exec_ext in '' $ac_executable_extensions; do
7397 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7398 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7399 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7400 break 2
7402 done
7403 done
7404 IFS=$as_save_IFS
7408 READELF=$ac_cv_prog_READELF
7409 if test -n "$READELF"; then
7410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7411 $as_echo "$READELF" >&6; }
7412 else
7413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7414 $as_echo "no" >&6; }
7419 if test -z "$ac_cv_prog_READELF"; then
7420 ac_ct_READELF=$READELF
7421 # Extract the first word of "readelf", so it can be a program name with args.
7422 set dummy readelf; ac_word=$2
7423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7424 $as_echo_n "checking for $ac_word... " >&6; }
7425 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7426 $as_echo_n "(cached) " >&6
7427 else
7428 if test -n "$ac_ct_READELF"; then
7429 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7430 else
7431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7432 for as_dir in $PATH
7434 IFS=$as_save_IFS
7435 test -z "$as_dir" && as_dir=.
7436 for ac_exec_ext in '' $ac_executable_extensions; do
7437 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7438 ac_cv_prog_ac_ct_READELF="readelf"
7439 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7440 break 2
7442 done
7443 done
7444 IFS=$as_save_IFS
7448 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7449 if test -n "$ac_ct_READELF"; then
7450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7451 $as_echo "$ac_ct_READELF" >&6; }
7452 else
7453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7454 $as_echo "no" >&6; }
7457 if test "x$ac_ct_READELF" = x; then
7458 READELF="true"
7459 else
7460 case $cross_compiling:$ac_tool_warned in
7461 yes:)
7462 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7463 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7464 ac_tool_warned=yes ;;
7465 esac
7466 READELF=$ac_ct_READELF
7468 else
7469 READELF="$ac_cv_prog_READELF"
7472 wine_rules_file=conf$$rules.make
7473 rm -f $wine_rules_file
7474 SUBDIRS=""
7476 DISABLED_SUBDIRS=""
7478 CONFIGURE_TARGETS=""
7480 ALL_TEST_RESOURCES=""
7483 wine_fn_append_file ()
7485 as_fn_append $1 " \\$as_nl $2"
7488 wine_fn_append_rule ()
7490 $as_echo "$1" >>$wine_rules_file
7493 wine_fn_has_flag ()
7495 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7498 wine_fn_all_rules ()
7500 wine_fn_append_file SUBDIRS $ac_dir
7501 wine_fn_append_rule \
7502 "all: $ac_dir
7503 .PHONY: $ac_dir
7504 $ac_dir: dummy
7505 @cd $ac_dir && \$(MAKE)"
7508 wine_fn_install_rules ()
7510 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7512 wine_fn_append_rule \
7513 ".PHONY: $ac_dir/install $ac_dir/uninstall
7514 $ac_dir/install:: $ac_dir
7515 @cd $ac_dir && \$(MAKE) install
7516 $ac_dir/uninstall::
7517 @cd $ac_dir && \$(MAKE) uninstall
7518 install:: $ac_dir/install
7519 __uninstall__: $ac_dir/uninstall"
7521 if wine_fn_has_flag install-lib
7522 then
7523 wine_fn_append_rule \
7524 ".PHONY: $ac_dir/install-lib
7525 $ac_dir/install-lib:: $ac_dir
7526 @cd $ac_dir && \$(MAKE) install-lib
7527 install-lib:: $ac_dir/install-lib"
7530 if wine_fn_has_flag install-dev
7531 then
7532 wine_fn_append_rule \
7533 ".PHONY: $ac_dir/install-dev
7534 $ac_dir/install-dev:: $ac_dir
7535 @cd $ac_dir && \$(MAKE) install-dev
7536 install-dev:: $ac_dir/install-dev"
7540 wine_fn_clean_rules ()
7542 ac_clean=$@
7544 if wine_fn_has_flag clean
7545 then
7546 wine_fn_append_rule \
7547 "$ac_dir/clean: dummy
7548 @cd $ac_dir && \$(MAKE) clean"
7549 else
7550 wine_fn_append_rule \
7551 "$ac_dir/clean: dummy
7552 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7554 wine_fn_append_rule \
7555 "__clean__: $ac_dir/clean
7556 .PHONY: $ac_dir/clean"
7559 wine_fn_disabled_rules ()
7561 ac_clean=$@
7563 wine_fn_append_file SUBDIRS $ac_dir
7564 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7565 wine_fn_append_rule \
7566 "__clean__: $ac_dir/clean
7567 .PHONY: $ac_dir/clean
7568 $ac_dir/clean: dummy
7569 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7572 wine_fn_config_makefile ()
7574 ac_dir=$1
7575 ac_enable=$2
7576 ac_flags=$3
7578 case $ac_dir in
7579 fonts|server) test -z "$with_wine64" || return ;;
7580 esac
7581 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7582 wine_fn_disabled_rules; return
7584 wine_fn_all_rules
7585 wine_fn_install_rules
7586 wine_fn_clean_rules
7589 wine_fn_config_lib ()
7591 ac_name=$1
7592 ac_flags=$2
7593 ac_dir=dlls/$ac_name
7594 ac_deps="include"
7596 if test "x$enable_tools" = xno; then :
7598 else
7599 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7601 wine_fn_all_rules
7602 wine_fn_clean_rules
7604 wine_fn_append_rule \
7605 ".PHONY: $ac_dir/install $ac_dir/uninstall
7606 $ac_dir/install:: $ac_dir
7607 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7608 $ac_dir/uninstall::
7609 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7610 install install-dev:: $ac_dir/install
7611 __uninstall__: $ac_dir/uninstall
7612 __builddeps__: $ac_dir
7613 $ac_dir: $ac_deps"
7616 wine_fn_config_dll ()
7618 ac_name=$1
7619 ac_dir=dlls/$ac_name
7620 ac_enable=$2
7621 ac_flags=$3
7622 ac_implib=${4:-$ac_name}
7623 ac_file=$ac_dir/lib$ac_implib
7624 ac_dll=$ac_name
7625 ac_deps="include"
7626 ac_implibflags=""
7628 if test "x$enable_tools" = xno; then :
7630 else
7631 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7633 case $ac_name in
7634 *16) ac_implibflags=" -m16" ;;
7635 *.*) ;;
7636 *) ac_dll=$ac_dll.dll ;;
7637 esac
7639 ac_clean=
7640 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7641 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7643 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7644 if test "$ac_enable" != enable_win16
7645 then
7646 wine_fn_clean_rules $ac_clean
7647 wine_fn_append_file SUBDIRS $ac_dir
7648 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7649 else
7650 wine_fn_disabled_rules $ac_clean
7651 return
7653 else
7654 wine_fn_all_rules
7655 wine_fn_clean_rules $ac_clean
7656 wine_fn_append_rule \
7657 "$ac_dir: __builddeps__
7658 manpages htmlpages sgmlpages xmlpages::
7659 @cd $ac_dir && \$(MAKE) \$@
7660 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7661 install install-lib:: $ac_dir/install-lib
7662 __uninstall__: $ac_dir/uninstall"
7663 if test -n "$DLLEXT"
7664 then
7665 wine_fn_append_rule \
7666 "$ac_dir/install-lib:: $ac_dir
7667 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7668 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7669 $ac_dir/uninstall::
7670 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7671 else
7672 wine_fn_append_rule \
7673 "$ac_dir/install-lib:: $ac_dir
7674 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7675 $ac_dir/uninstall::
7676 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7680 if wine_fn_has_flag staticimplib
7681 then
7682 wine_fn_append_rule \
7683 "__builddeps__: $ac_file.a
7684 $ac_file.a $ac_file.cross.a: $ac_deps
7685 $ac_file.a: dummy
7686 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7687 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7688 $ac_dir/install-dev:: $ac_file.a
7689 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7690 $ac_dir/uninstall::
7691 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7692 install install-dev:: $ac_dir/install-dev
7693 __uninstall__: $ac_dir/uninstall"
7695 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7696 then
7697 wine_fn_append_rule \
7698 "__builddeps__: $ac_file.cross.a
7699 $ac_file.cross.a: dummy
7700 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7703 elif wine_fn_has_flag implib
7704 then
7705 wine_fn_append_rule \
7706 "__builddeps__: $ac_file.$IMPLIBEXT
7707 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7708 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7709 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7710 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7711 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7712 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7713 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7714 $ac_dir/uninstall::
7715 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7716 install install-dev:: $ac_dir/install-dev
7717 __uninstall__: $ac_dir/uninstall"
7718 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7719 then
7720 wine_fn_append_rule \
7721 "__builddeps__: $ac_file.cross.a
7722 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7723 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7728 wine_fn_config_program ()
7730 ac_name=$1
7731 ac_dir=programs/$ac_name
7732 ac_enable=$2
7733 ac_flags=$3
7734 ac_program=$ac_name
7736 case $ac_name in
7737 *.*) ;;
7738 *) ac_program=$ac_program.exe ;;
7739 esac
7741 ac_clean=
7742 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7743 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7745 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7746 wine_fn_disabled_rules $ac_clean; return
7749 wine_fn_all_rules
7750 wine_fn_clean_rules $ac_clean
7751 wine_fn_append_rule "$ac_dir: __builddeps__"
7753 wine_fn_has_flag install || return
7754 wine_fn_append_rule \
7755 ".PHONY: $ac_dir/install $ac_dir/uninstall
7756 install install-lib:: $ac_dir/install
7757 __uninstall__: $ac_dir/uninstall"
7759 if test -n "$DLLEXT"
7760 then
7761 wine_fn_append_rule \
7762 "$ac_dir/install:: $ac_dir
7763 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7764 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7765 $ac_dir/uninstall::
7766 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7768 if test -z "$with_wine64" && wine_fn_has_flag installbin
7769 then
7770 wine_fn_append_rule \
7771 "$ac_dir/install:: __tooldeps__
7772 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7773 $ac_dir/uninstall::
7774 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7776 else
7777 wine_fn_append_rule \
7778 "$ac_dir/install:: $ac_dir
7779 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7780 $ac_dir/uninstall::
7781 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7784 if test -z "$with_wine64" && wine_fn_has_flag manpage
7785 then
7786 wine_fn_append_rule \
7787 "$ac_dir/install:: $ac_dir
7788 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7789 $ac_dir/uninstall::
7790 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7794 wine_fn_config_test ()
7796 ac_dir=$1
7797 ac_name=$2
7798 ac_flags=$3
7800 ac_clean=
7801 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7802 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7804 if test "x$enable_tests" = xno; then :
7805 wine_fn_disabled_rules $ac_clean; return
7808 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7809 wine_fn_all_rules
7810 wine_fn_clean_rules $ac_clean
7812 wine_fn_append_rule \
7813 "$ac_dir: __builddeps__
7814 programs/winetest: $ac_dir
7815 check test: $ac_dir/test
7816 .PHONY: $ac_dir/test
7817 $ac_dir/test: dummy
7818 @cd $ac_dir && \$(MAKE) test
7819 testclean::
7820 \$(RM) $ac_dir/*.ok"
7822 if test -n "$CROSSTARGET"
7823 then
7824 wine_fn_append_rule \
7825 "crosstest: $ac_dir/crosstest
7826 .PHONY: $ac_dir/crosstest
7827 $ac_dir/crosstest: __builddeps__ dummy
7828 @cd $ac_dir && \$(MAKE) crosstest"
7832 wine_fn_config_tool ()
7834 ac_dir=$1
7835 ac_flags=$2
7836 if test "x$enable_tools" = xno; then :
7837 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7840 wine_fn_all_rules
7841 wine_fn_install_rules
7842 wine_fn_clean_rules
7844 wine_fn_append_rule "__tooldeps__: $ac_dir"
7845 wine_fn_append_rule "$ac_dir: libs/port"
7846 case $ac_dir in
7847 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7848 esac
7851 wine_fn_config_symlink ()
7853 ac_linkdir=
7854 if test "x$1" = "x-d"
7855 then
7856 ac_linkdir=$2
7857 shift; shift
7859 ac_links=$@
7860 wine_fn_append_rule \
7861 "$ac_links:
7862 @./config.status \$@"
7863 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7864 test -n "$ac_linkdir" || return
7865 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7868 wine_binary="wine"
7869 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7870 WINELOADER_PROGRAMS="$wine_binary"
7872 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7874 case $host_os in
7875 cygwin*|mingw32*)
7876 if test -n "$ac_tool_prefix"; then
7877 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7878 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7880 $as_echo_n "checking for $ac_word... " >&6; }
7881 if ${ac_cv_prog_DLLTOOL+:} false; then :
7882 $as_echo_n "(cached) " >&6
7883 else
7884 if test -n "$DLLTOOL"; then
7885 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7886 else
7887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7888 for as_dir in $PATH
7890 IFS=$as_save_IFS
7891 test -z "$as_dir" && as_dir=.
7892 for ac_exec_ext in '' $ac_executable_extensions; do
7893 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7894 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7896 break 2
7898 done
7899 done
7900 IFS=$as_save_IFS
7904 DLLTOOL=$ac_cv_prog_DLLTOOL
7905 if test -n "$DLLTOOL"; then
7906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7907 $as_echo "$DLLTOOL" >&6; }
7908 else
7909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7910 $as_echo "no" >&6; }
7915 if test -z "$ac_cv_prog_DLLTOOL"; then
7916 ac_ct_DLLTOOL=$DLLTOOL
7917 # Extract the first word of "dlltool", so it can be a program name with args.
7918 set dummy dlltool; ac_word=$2
7919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7920 $as_echo_n "checking for $ac_word... " >&6; }
7921 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7922 $as_echo_n "(cached) " >&6
7923 else
7924 if test -n "$ac_ct_DLLTOOL"; then
7925 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7926 else
7927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7928 for as_dir in $PATH
7930 IFS=$as_save_IFS
7931 test -z "$as_dir" && as_dir=.
7932 for ac_exec_ext in '' $ac_executable_extensions; do
7933 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7934 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7936 break 2
7938 done
7939 done
7940 IFS=$as_save_IFS
7944 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7945 if test -n "$ac_ct_DLLTOOL"; then
7946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7947 $as_echo "$ac_ct_DLLTOOL" >&6; }
7948 else
7949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7950 $as_echo "no" >&6; }
7953 if test "x$ac_ct_DLLTOOL" = x; then
7954 DLLTOOL="false"
7955 else
7956 case $cross_compiling:$ac_tool_warned in
7957 yes:)
7958 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7959 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7960 ac_tool_warned=yes ;;
7961 esac
7962 DLLTOOL=$ac_ct_DLLTOOL
7964 else
7965 DLLTOOL="$ac_cv_prog_DLLTOOL"
7968 LIBEXT="dll"
7969 DLLEXT=""
7970 IMPLIBEXT="a"
7971 enable_iphlpapi=${enable_iphlpapi:-no}
7972 enable_kernel32=${enable_kernel32:-no}
7973 enable_msvcrt=${enable_msvcrt:-no}
7974 enable_ntdll=${enable_ntdll:-no}
7975 enable_ws2_32=${enable_ws2_32:-no}
7976 enable_loader=${enable_loader:-no}
7977 enable_server=${enable_server:-no}
7978 with_x=${with_x:-no}
7979 with_pthread=${with_pthread:-no}
7981 crtlibs=""
7982 case $host_os in
7983 mingw32*)
7984 crtlibs="-lmsvcrt"
7985 SOCKET_LIBS="-lws2_32"
7987 esac
7989 LIBWINE_SHAREDLIB="libwine.dll"
7991 LIBWINE_IMPORTLIB="libwine.a"
7993 LIBWINE_INSTALL_LIB="libwine.dll"
7995 LIBWINE_INSTALL_DEV="libwine.a"
7997 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
7999 LIBWINE_DEPENDS="wine.def"
8003 darwin*|macosx*)
8004 for ac_header in libunwind.h
8005 do :
8006 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8007 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8008 cat >>confdefs.h <<_ACEOF
8009 #define HAVE_LIBUNWIND_H 1
8010 _ACEOF
8014 done
8016 LIBEXT="dylib"
8017 DLLFLAGS="$DLLFLAGS -fPIC"
8018 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8019 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8020 COREFOUNDATION_LIBS="-framework CoreFoundation"
8022 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8024 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8026 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8028 CORESERVICES_LIBS="-framework CoreServices"
8030 APPKIT_LIBS="-framework AppKit"
8032 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8034 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8035 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8036 $as_echo_n "(cached) " >&6
8037 else
8038 ac_wine_try_cflags_saved=$CFLAGS
8039 CFLAGS="$CFLAGS -Wl,-no_pie"
8040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8041 /* end confdefs.h. */
8042 int main(int argc, char **argv) { return 0; }
8043 _ACEOF
8044 if ac_fn_c_try_link "$LINENO"; then :
8045 ac_cv_cflags__Wl__no_pie=yes
8046 else
8047 ac_cv_cflags__Wl__no_pie=no
8049 rm -f core conftest.err conftest.$ac_objext \
8050 conftest$ac_exeext conftest.$ac_ext
8051 CFLAGS=$ac_wine_try_cflags_saved
8053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8054 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8055 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8056 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8058 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8059 then
8060 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8063 if test "$ac_cv_header_Security_Security_h" = "yes"
8064 then
8065 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8067 ac_save_LIBS="$LIBS"
8068 LIBS="$LIBS $SECURITY_LIBS"
8069 for ac_func in SSLCopyPeerCertificates
8070 do :
8071 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8072 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8073 cat >>confdefs.h <<_ACEOF
8074 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8075 _ACEOF
8078 done
8080 LIBS="$ac_save_LIBS"
8081 with_gnutls=${with_gnutls:-no}
8083 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8084 then
8085 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8086 then
8087 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8089 else
8090 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8093 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8094 ac_save_LIBS="$LIBS"
8095 LIBS="$LIBS $COREAUDIO_LIBS"
8096 for ac_func in AUGraphAddNode
8097 do :
8098 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8099 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8100 cat >>confdefs.h <<_ACEOF
8101 #define HAVE_AUGRAPHADDNODE 1
8102 _ACEOF
8105 done
8107 LIBS="$ac_save_LIBS"
8109 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8110 then
8111 OPENAL_LIBS="-framework OpenAL"
8114 cat >>confdefs.h <<_ACEOF
8115 #define HAVE_OPENAL 1
8116 _ACEOF
8118 ac_cv_lib_openal=yes
8120 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8121 then
8122 OPENCL_LIBS="-framework OpenCL"
8124 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8126 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8127 then
8128 ac_save_LIBS="$LIBS"
8129 LIBS="$LIBS $IOKIT_LIBS"
8130 for ac_func in IOHIDManagerCreate
8131 do :
8132 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8133 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8134 cat >>confdefs.h <<_ACEOF
8135 #define HAVE_IOHIDMANAGERCREATE 1
8136 _ACEOF
8139 done
8141 LIBS="$ac_save_LIBS"
8143 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8144 then
8145 ac_save_LIBS="$LIBS"
8146 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8148 $as_echo_n "checking for the QuickTime framework... " >&6; }
8149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8150 /* end confdefs.h. */
8151 #include <QuickTime/ImageCompression.h>
8153 main ()
8155 CodecManagerVersion(NULL);
8157 return 0;
8159 _ACEOF
8160 if ac_fn_c_try_link "$LINENO"; then :
8161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8162 $as_echo "yes" >&6; }
8163 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8165 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8166 else
8167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8168 $as_echo "no" >&6; }
8169 ac_cv_header_QuickTime_ImageCompression_h=no
8171 rm -f core conftest.err conftest.$ac_objext \
8172 conftest$ac_exeext conftest.$ac_ext
8173 LIBS="$ac_save_LIBS"
8175 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8176 then
8177 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8179 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8180 then
8181 CARBON_LIBS="-framework Carbon"
8185 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8186 then
8187 ac_save_LIBS="$LIBS"
8188 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8189 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8190 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8191 enable_winemac_drv=${enable_winemac_drv:-yes}
8194 LIBS="$ac_save_LIBS"
8197 if test "x$enable_win16" = "xyes"
8198 then
8199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8200 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8201 if test "$cross_compiling" = yes; then :
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8203 $as_echo "cross-compiling, assuming yes" >&6; }
8204 else
8205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8206 /* end confdefs.h. */
8207 asm(".text\n"
8208 "bad:\tnop;nop\n"
8209 "good:\tnop;nop\n\t"
8210 ".globl _testfunc\n"
8211 "_testfunc:\tcallw good");
8212 extern void testfunc();
8214 main ()
8216 unsigned short *p = (unsigned short *)testfunc;
8217 return p[0] != 0xe866 || p[1] != 0xfffa
8219 return 0;
8221 _ACEOF
8222 if ac_fn_c_try_run "$LINENO"; then :
8223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8224 $as_echo "yes" >&6; }
8225 else
8226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8227 $as_echo "no" >&6; }
8228 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
8230 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8231 conftest.$ac_objext conftest.beam conftest.$ac_ext
8236 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8238 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8240 LIBWINE_INSTALL_DEV="libwine.dylib"
8242 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8244 WINELOADER_DEPENDS="wine_info.plist"
8248 linux-android*)
8249 DLLFLAGS="$DLLFLAGS -fPIC"
8250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8251 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8252 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8253 $as_echo_n "(cached) " >&6
8254 else
8255 ac_wine_try_cflags_saved=$CFLAGS
8256 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8258 /* end confdefs.h. */
8259 int main(int argc, char **argv) { return 0; }
8260 _ACEOF
8261 if ac_fn_c_try_link "$LINENO"; then :
8262 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8263 else
8264 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8266 rm -f core conftest.err conftest.$ac_objext \
8267 conftest$ac_exeext conftest.$ac_ext
8268 CFLAGS=$ac_wine_try_cflags_saved
8270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8271 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8272 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8273 LDEXECFLAGS="-Wl,--export-dynamic"
8275 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8277 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8278 if eval \${$as_ac_var+:} false; then :
8279 $as_echo_n "(cached) " >&6
8280 else
8281 ac_wine_try_cflags_saved=$CFLAGS
8282 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8284 /* end confdefs.h. */
8285 int main(int argc, char **argv) { return 0; }
8286 _ACEOF
8287 if ac_fn_c_try_link "$LINENO"; then :
8288 eval "$as_ac_var=yes"
8289 else
8290 eval "$as_ac_var=no"
8292 rm -f core conftest.err conftest.$ac_objext \
8293 conftest$ac_exeext conftest.$ac_ext
8294 CFLAGS=$ac_wine_try_cflags_saved
8296 eval ac_res=\$$as_ac_var
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8298 $as_echo "$ac_res" >&6; }
8299 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8300 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8301 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8302 else
8303 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8305 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8306 if eval \${$as_ac_var+:} false; then :
8307 $as_echo_n "(cached) " >&6
8308 else
8309 ac_wine_try_cflags_saved=$CFLAGS
8310 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8312 /* end confdefs.h. */
8313 int main(int argc, char **argv) { return 0; }
8314 _ACEOF
8315 if ac_fn_c_try_link "$LINENO"; then :
8316 eval "$as_ac_var=yes"
8317 else
8318 eval "$as_ac_var=no"
8320 rm -f core conftest.err conftest.$ac_objext \
8321 conftest$ac_exeext conftest.$ac_ext
8322 CFLAGS=$ac_wine_try_cflags_saved
8324 eval ac_res=\$$as_ac_var
8325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8326 $as_echo "$ac_res" >&6; }
8327 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8328 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8329 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8334 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8335 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8336 $as_echo_n "(cached) " >&6
8337 else
8338 ac_wine_try_cflags_saved=$CFLAGS
8339 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8341 /* end confdefs.h. */
8342 int main(int argc, char **argv) { return 0; }
8343 _ACEOF
8344 if ac_fn_c_try_link "$LINENO"; then :
8345 ac_cv_cflags__Wl___enable_new_dtags=yes
8346 else
8347 ac_cv_cflags__Wl___enable_new_dtags=no
8349 rm -f core conftest.err conftest.$ac_objext \
8350 conftest$ac_exeext conftest.$ac_ext
8351 CFLAGS=$ac_wine_try_cflags_saved
8353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8354 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8355 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8356 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8359 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8360 if ${ac_cv_cflags__Wl__pie+:} false; then :
8361 $as_echo_n "(cached) " >&6
8362 else
8363 ac_wine_try_cflags_saved=$CFLAGS
8364 CFLAGS="$CFLAGS -Wl,-pie"
8365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8366 /* end confdefs.h. */
8367 int main(int argc, char **argv) { return 0; }
8368 _ACEOF
8369 if ac_fn_c_try_link "$LINENO"; then :
8370 ac_cv_cflags__Wl__pie=yes
8371 else
8372 ac_cv_cflags__Wl__pie=no
8374 rm -f core conftest.err conftest.$ac_objext \
8375 conftest$ac_exeext conftest.$ac_ext
8376 CFLAGS=$ac_wine_try_cflags_saved
8378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8379 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8380 if test "x$ac_cv_cflags__Wl__pie" = xyes; then :
8381 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,-pie"
8384 LIBWINE_SHAREDLIB="libwine.so"
8386 LIBWINE_INSTALL_LIB="libwine.so"
8388 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8393 DLLFLAGS="$DLLFLAGS -fPIC"
8394 LDEXECFLAGS=""
8395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8396 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8397 if ${ac_cv_c_dll_gnuelf+:} false; then :
8398 $as_echo_n "(cached) " >&6
8399 else
8400 ac_wine_try_cflags_saved=$CFLAGS
8401 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8403 /* end confdefs.h. */
8404 void myfunc() {}
8405 _ACEOF
8406 if ac_fn_c_try_link "$LINENO"; then :
8407 ac_cv_c_dll_gnuelf="yes"
8408 else
8409 ac_cv_c_dll_gnuelf="no"
8411 rm -f core conftest.err conftest.$ac_objext \
8412 conftest$ac_exeext conftest.$ac_ext
8413 CFLAGS=$ac_wine_try_cflags_saved
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8416 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8417 if test "$ac_cv_c_dll_gnuelf" = "yes"
8418 then
8419 LIBWINE_LDFLAGS="-shared"
8420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8421 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8422 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8423 $as_echo_n "(cached) " >&6
8424 else
8425 ac_wine_try_cflags_saved=$CFLAGS
8426 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8428 /* end confdefs.h. */
8429 int main(int argc, char **argv) { return 0; }
8430 _ACEOF
8431 if ac_fn_c_try_link "$LINENO"; then :
8432 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8433 else
8434 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8436 rm -f core conftest.err conftest.$ac_objext \
8437 conftest$ac_exeext conftest.$ac_ext
8438 CFLAGS=$ac_wine_try_cflags_saved
8440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8441 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8442 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8443 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8444 else
8445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8446 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8447 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8448 $as_echo_n "(cached) " >&6
8449 else
8450 ac_wine_try_cflags_saved=$CFLAGS
8451 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8453 /* end confdefs.h. */
8454 int main(int argc, char **argv) { return 0; }
8455 _ACEOF
8456 if ac_fn_c_try_link "$LINENO"; then :
8457 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8458 else
8459 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8461 rm -f core conftest.err conftest.$ac_objext \
8462 conftest$ac_exeext conftest.$ac_ext
8463 CFLAGS=$ac_wine_try_cflags_saved
8465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8466 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8467 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8468 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8472 echo '{ global: *; };' >conftest.map
8473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8474 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8475 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8476 $as_echo_n "(cached) " >&6
8477 else
8478 ac_wine_try_cflags_saved=$CFLAGS
8479 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8481 /* end confdefs.h. */
8482 int main(int argc, char **argv) { return 0; }
8483 _ACEOF
8484 if ac_fn_c_try_link "$LINENO"; then :
8485 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8486 else
8487 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8489 rm -f core conftest.err conftest.$ac_objext \
8490 conftest$ac_exeext conftest.$ac_ext
8491 CFLAGS=$ac_wine_try_cflags_saved
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8494 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8495 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8496 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8498 rm -f conftest.map
8500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8501 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8502 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8503 $as_echo_n "(cached) " >&6
8504 else
8505 ac_wine_try_cflags_saved=$CFLAGS
8506 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8508 /* end confdefs.h. */
8509 int main(int argc, char **argv) { return 0; }
8510 _ACEOF
8511 if ac_fn_c_try_link "$LINENO"; then :
8512 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8513 else
8514 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8516 rm -f core conftest.err conftest.$ac_objext \
8517 conftest$ac_exeext conftest.$ac_ext
8518 CFLAGS=$ac_wine_try_cflags_saved
8520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8521 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8522 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8523 LDEXECFLAGS="-Wl,--export-dynamic"
8526 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8528 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8529 if eval \${$as_ac_var+:} false; then :
8530 $as_echo_n "(cached) " >&6
8531 else
8532 ac_wine_try_cflags_saved=$CFLAGS
8533 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8535 /* end confdefs.h. */
8536 int main(int argc, char **argv) { return 0; }
8537 _ACEOF
8538 if ac_fn_c_try_link "$LINENO"; then :
8539 eval "$as_ac_var=yes"
8540 else
8541 eval "$as_ac_var=no"
8543 rm -f core conftest.err conftest.$ac_objext \
8544 conftest$ac_exeext conftest.$ac_ext
8545 CFLAGS=$ac_wine_try_cflags_saved
8547 eval ac_res=\$$as_ac_var
8548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8549 $as_echo "$ac_res" >&6; }
8550 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8551 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8552 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8553 else
8554 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8556 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8557 if eval \${$as_ac_var+:} false; then :
8558 $as_echo_n "(cached) " >&6
8559 else
8560 ac_wine_try_cflags_saved=$CFLAGS
8561 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8563 /* end confdefs.h. */
8564 int main(int argc, char **argv) { return 0; }
8565 _ACEOF
8566 if ac_fn_c_try_link "$LINENO"; then :
8567 eval "$as_ac_var=yes"
8568 else
8569 eval "$as_ac_var=no"
8571 rm -f core conftest.err conftest.$ac_objext \
8572 conftest$ac_exeext conftest.$ac_ext
8573 CFLAGS=$ac_wine_try_cflags_saved
8575 eval ac_res=\$$as_ac_var
8576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8577 $as_echo "$ac_res" >&6; }
8578 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8579 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8580 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8585 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8586 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8587 $as_echo_n "(cached) " >&6
8588 else
8589 ac_wine_try_cflags_saved=$CFLAGS
8590 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8592 /* end confdefs.h. */
8593 int main(int argc, char **argv) { return 0; }
8594 _ACEOF
8595 if ac_fn_c_try_link "$LINENO"; then :
8596 ac_cv_cflags__Wl___enable_new_dtags=yes
8597 else
8598 ac_cv_cflags__Wl___enable_new_dtags=no
8600 rm -f core conftest.err conftest.$ac_objext \
8601 conftest$ac_exeext conftest.$ac_ext
8602 CFLAGS=$ac_wine_try_cflags_saved
8604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8605 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8606 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8607 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8610 case $host_cpu in
8611 *i[3456789]86* | x86_64)
8612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8613 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8614 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8615 $as_echo_n "(cached) " >&6
8616 else
8617 ac_wine_try_cflags_saved=$CFLAGS
8618 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8620 /* end confdefs.h. */
8621 int main(int argc, char **argv) { return 0; }
8622 _ACEOF
8623 if ac_fn_c_try_link "$LINENO"; then :
8624 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8625 else
8626 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8628 rm -f core conftest.err conftest.$ac_objext \
8629 conftest$ac_exeext conftest.$ac_ext
8630 CFLAGS=$ac_wine_try_cflags_saved
8632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8633 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8634 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8635 case $host_os in
8636 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8637 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8638 esac
8639 else
8640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8641 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8642 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8643 $as_echo_n "(cached) " >&6
8644 else
8645 ac_wine_try_cflags_saved=$CFLAGS
8646 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8648 /* end confdefs.h. */
8649 int main(int argc, char **argv) { return 0; }
8650 _ACEOF
8651 if ac_fn_c_try_link "$LINENO"; then :
8652 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8653 else
8654 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8656 rm -f core conftest.err conftest.$ac_objext \
8657 conftest$ac_exeext conftest.$ac_ext
8658 CFLAGS=$ac_wine_try_cflags_saved
8660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8661 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8662 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8663 case $host_os in
8664 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8665 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8666 esac
8668 # Extract the first word of "prelink", so it can be a program name with args.
8669 set dummy prelink; ac_word=$2
8670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8671 $as_echo_n "checking for $ac_word... " >&6; }
8672 if ${ac_cv_path_PRELINK+:} false; then :
8673 $as_echo_n "(cached) " >&6
8674 else
8675 case $PRELINK in
8676 [\\/]* | ?:[\\/]*)
8677 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8681 for as_dir in /sbin /usr/sbin $PATH
8683 IFS=$as_save_IFS
8684 test -z "$as_dir" && as_dir=.
8685 for ac_exec_ext in '' $ac_executable_extensions; do
8686 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8687 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8689 break 2
8691 done
8692 done
8693 IFS=$as_save_IFS
8695 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8697 esac
8699 PRELINK=$ac_cv_path_PRELINK
8700 if test -n "$PRELINK"; then
8701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8702 $as_echo "$PRELINK" >&6; }
8703 else
8704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8705 $as_echo "no" >&6; }
8709 if test "x$PRELINK" = xfalse
8710 then
8711 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8715 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8716 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8717 $as_echo_n "(cached) " >&6
8718 else
8719 ac_wine_try_cflags_saved=$CFLAGS
8720 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8722 /* end confdefs.h. */
8723 int main(int argc, char **argv) { return 0; }
8724 _ACEOF
8725 if ac_fn_c_try_link "$LINENO"; then :
8726 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8727 else
8728 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8730 rm -f core conftest.err conftest.$ac_objext \
8731 conftest$ac_exeext conftest.$ac_ext
8732 CFLAGS=$ac_wine_try_cflags_saved
8734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8735 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8736 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8737 LDEXECFLAGS="$LDEXECFLAGS -Wl,-z,max-page-size=0x1000"
8740 esac
8742 else
8743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8744 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8745 if ${ac_cv_c_dll_unixware+:} false; then :
8746 $as_echo_n "(cached) " >&6
8747 else
8748 ac_wine_try_cflags_saved=$CFLAGS
8749 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8751 /* end confdefs.h. */
8752 void myfunc() {}
8753 _ACEOF
8754 if ac_fn_c_try_link "$LINENO"; then :
8755 ac_cv_c_dll_unixware="yes"
8756 else
8757 ac_cv_c_dll_unixware="no"
8759 rm -f core conftest.err conftest.$ac_objext \
8760 conftest$ac_exeext conftest.$ac_ext
8761 CFLAGS=$ac_wine_try_cflags_saved
8763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8764 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8765 if test "$ac_cv_c_dll_unixware" = "yes"
8766 then
8767 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8770 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8772 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8774 LIBWINE_INSTALL_DEV="libwine.so"
8776 LIBWINE_DEPENDS="wine.map"
8779 esac
8781 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8782 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8783 enable_winemac_drv=${enable_winemac_drv:-no}
8784 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8786 CROSSTARGET=""
8788 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8789 then
8790 case "$host_cpu" in
8791 arm*)
8792 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8793 i[3456789]86*)
8794 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
8795 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8796 mingw32-gcc" ;;
8797 x86_64)
8798 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
8799 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8801 ac_prefix_list="" ;;
8802 esac
8803 for ac_prog in $ac_prefix_list
8805 # Extract the first word of "$ac_prog", so it can be a program name with args.
8806 set dummy $ac_prog; ac_word=$2
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8808 $as_echo_n "checking for $ac_word... " >&6; }
8809 if ${ac_cv_prog_CROSSCC+:} false; then :
8810 $as_echo_n "(cached) " >&6
8811 else
8812 if test -n "$CROSSCC"; then
8813 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8814 else
8815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8816 for as_dir in $PATH
8818 IFS=$as_save_IFS
8819 test -z "$as_dir" && as_dir=.
8820 for ac_exec_ext in '' $ac_executable_extensions; do
8821 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8822 ac_cv_prog_CROSSCC="$ac_prog"
8823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8824 break 2
8826 done
8827 done
8828 IFS=$as_save_IFS
8832 CROSSCC=$ac_cv_prog_CROSSCC
8833 if test -n "$CROSSCC"; then
8834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8835 $as_echo "$CROSSCC" >&6; }
8836 else
8837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8838 $as_echo "no" >&6; }
8842 test -n "$CROSSCC" && break
8843 done
8844 test -n "$CROSSCC" || CROSSCC="false"
8846 if test "$CROSSCC" != "false"
8847 then
8848 ac_save_CC="$CC"
8849 CC="$CROSSCC"
8850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8851 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8853 /* end confdefs.h. */
8856 main ()
8860 return 0;
8862 _ACEOF
8863 if ac_fn_c_try_compile "$LINENO"; then :
8864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8865 $as_echo "yes" >&6; }
8866 set x $CROSSCC
8867 shift
8868 while test $# -ge 1
8870 case "$1" in
8871 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8872 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8873 esac
8874 shift
8875 done
8876 else
8877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8878 $as_echo "no" >&6; }
8880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8881 CC="$ac_save_CC"
8886 if test "$ac_cv_header_pthread_h" = "yes"
8887 then
8888 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8889 if test "x$ac_cv_func_pthread_create" = xyes; then :
8891 else
8892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8893 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8894 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8895 $as_echo_n "(cached) " >&6
8896 else
8897 ac_check_lib_save_LIBS=$LIBS
8898 LIBS="-lpthread $LIBS"
8899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8900 /* end confdefs.h. */
8902 /* Override any GCC internal prototype to avoid an error.
8903 Use char because int might match the return type of a GCC
8904 builtin and then its argument prototype would still apply. */
8905 #ifdef __cplusplus
8906 extern "C"
8907 #endif
8908 char pthread_create ();
8910 main ()
8912 return pthread_create ();
8914 return 0;
8916 _ACEOF
8917 if ac_fn_c_try_link "$LINENO"; then :
8918 ac_cv_lib_pthread_pthread_create=yes
8919 else
8920 ac_cv_lib_pthread_pthread_create=no
8922 rm -f core conftest.err conftest.$ac_objext \
8923 conftest$ac_exeext conftest.$ac_ext
8924 LIBS=$ac_check_lib_save_LIBS
8926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8927 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8928 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8929 PTHREAD_LIBS="-lpthread"
8936 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8937 case "x$with_pthread" in
8938 xno) ;;
8939 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8940 Wine cannot support threads without libpthread.
8941 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8942 esac
8947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8948 $as_echo_n "checking for X... " >&6; }
8951 # Check whether --with-x was given.
8952 if test "${with_x+set}" = set; then :
8953 withval=$with_x;
8956 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8957 if test "x$with_x" = xno; then
8958 # The user explicitly disabled X.
8959 have_x=disabled
8960 else
8961 case $x_includes,$x_libraries in #(
8962 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8963 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8964 $as_echo_n "(cached) " >&6
8965 else
8966 # One or both of the vars are not set, and there is no cached value.
8967 ac_x_includes=no ac_x_libraries=no
8968 rm -f -r conftest.dir
8969 if mkdir conftest.dir; then
8970 cd conftest.dir
8971 cat >Imakefile <<'_ACEOF'
8972 incroot:
8973 @echo incroot='${INCROOT}'
8974 usrlibdir:
8975 @echo usrlibdir='${USRLIBDIR}'
8976 libdir:
8977 @echo libdir='${LIBDIR}'
8978 _ACEOF
8979 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8980 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8981 for ac_var in incroot usrlibdir libdir; do
8982 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8983 done
8984 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8985 for ac_extension in a so sl dylib la dll; do
8986 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8987 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8988 ac_im_usrlibdir=$ac_im_libdir; break
8990 done
8991 # Screen out bogus values from the imake configuration. They are
8992 # bogus both because they are the default anyway, and because
8993 # using them would break gcc on systems where it needs fixed includes.
8994 case $ac_im_incroot in
8995 /usr/include) ac_x_includes= ;;
8996 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8997 esac
8998 case $ac_im_usrlibdir in
8999 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9000 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9001 esac
9003 cd ..
9004 rm -f -r conftest.dir
9007 # Standard set of common directories for X headers.
9008 # Check X11 before X11Rn because it is often a symlink to the current release.
9009 ac_x_header_dirs='
9010 /usr/X11/include
9011 /usr/X11R7/include
9012 /usr/X11R6/include
9013 /usr/X11R5/include
9014 /usr/X11R4/include
9016 /usr/include/X11
9017 /usr/include/X11R7
9018 /usr/include/X11R6
9019 /usr/include/X11R5
9020 /usr/include/X11R4
9022 /usr/local/X11/include
9023 /usr/local/X11R7/include
9024 /usr/local/X11R6/include
9025 /usr/local/X11R5/include
9026 /usr/local/X11R4/include
9028 /usr/local/include/X11
9029 /usr/local/include/X11R7
9030 /usr/local/include/X11R6
9031 /usr/local/include/X11R5
9032 /usr/local/include/X11R4
9034 /usr/X386/include
9035 /usr/x386/include
9036 /usr/XFree86/include/X11
9038 /usr/include
9039 /usr/local/include
9040 /usr/unsupported/include
9041 /usr/athena/include
9042 /usr/local/x11r5/include
9043 /usr/lpp/Xamples/include
9045 /usr/openwin/include
9046 /usr/openwin/share/include'
9048 if test "$ac_x_includes" = no; then
9049 # Guess where to find include files, by looking for Xlib.h.
9050 # First, try using that file with no special directory specified.
9051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9052 /* end confdefs.h. */
9053 #include <X11/Xlib.h>
9054 _ACEOF
9055 if ac_fn_c_try_cpp "$LINENO"; then :
9056 # We can compile using X headers with no special include directory.
9057 ac_x_includes=
9058 else
9059 for ac_dir in $ac_x_header_dirs; do
9060 if test -r "$ac_dir/X11/Xlib.h"; then
9061 ac_x_includes=$ac_dir
9062 break
9064 done
9066 rm -f conftest.err conftest.i conftest.$ac_ext
9067 fi # $ac_x_includes = no
9069 if test "$ac_x_libraries" = no; then
9070 # Check for the libraries.
9071 # See if we find them without any special options.
9072 # Don't add to $LIBS permanently.
9073 ac_save_LIBS=$LIBS
9074 LIBS="-lX11 $LIBS"
9075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9076 /* end confdefs.h. */
9077 #include <X11/Xlib.h>
9079 main ()
9081 XrmInitialize ()
9083 return 0;
9085 _ACEOF
9086 if ac_fn_c_try_link "$LINENO"; then :
9087 LIBS=$ac_save_LIBS
9088 # We can link X programs with no special library path.
9089 ac_x_libraries=
9090 else
9091 LIBS=$ac_save_LIBS
9092 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9094 # Don't even attempt the hair of trying to link an X program!
9095 for ac_extension in a so sl dylib la dll; do
9096 if test -r "$ac_dir/libX11.$ac_extension"; then
9097 ac_x_libraries=$ac_dir
9098 break 2
9100 done
9101 done
9103 rm -f core conftest.err conftest.$ac_objext \
9104 conftest$ac_exeext conftest.$ac_ext
9105 fi # $ac_x_libraries = no
9107 case $ac_x_includes,$ac_x_libraries in #(
9108 no,* | *,no | *\'*)
9109 # Didn't find X, or a directory has "'" in its name.
9110 ac_cv_have_x="have_x=no";; #(
9112 # Record where we found X for the cache.
9113 ac_cv_have_x="have_x=yes\
9114 ac_x_includes='$ac_x_includes'\
9115 ac_x_libraries='$ac_x_libraries'"
9116 esac
9118 ;; #(
9119 *) have_x=yes;;
9120 esac
9121 eval "$ac_cv_have_x"
9122 fi # $with_x != no
9124 if test "$have_x" != yes; then
9125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9126 $as_echo "$have_x" >&6; }
9127 no_x=yes
9128 else
9129 # If each of the values was on the command line, it overrides each guess.
9130 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9131 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9132 # Update the cache value to reflect the command line values.
9133 ac_cv_have_x="have_x=yes\
9134 ac_x_includes='$x_includes'\
9135 ac_x_libraries='$x_libraries'"
9136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9137 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9140 if test "$no_x" = yes; then
9141 # Not all programs may use this symbol, but it does not hurt to define it.
9143 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9145 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9146 else
9147 if test -n "$x_includes"; then
9148 X_CFLAGS="$X_CFLAGS -I$x_includes"
9151 # It would also be nice to do this for all -L options, not just this one.
9152 if test -n "$x_libraries"; then
9153 X_LIBS="$X_LIBS -L$x_libraries"
9154 # For Solaris; some versions of Sun CC require a space after -R and
9155 # others require no space. Words are not sufficient . . . .
9156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9157 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9158 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9159 ac_xsave_c_werror_flag=$ac_c_werror_flag
9160 ac_c_werror_flag=yes
9161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9162 /* end confdefs.h. */
9165 main ()
9169 return 0;
9171 _ACEOF
9172 if ac_fn_c_try_link "$LINENO"; then :
9173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9174 $as_echo "no" >&6; }
9175 X_LIBS="$X_LIBS -R$x_libraries"
9176 else
9177 LIBS="$ac_xsave_LIBS -R $x_libraries"
9178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9179 /* end confdefs.h. */
9182 main ()
9186 return 0;
9188 _ACEOF
9189 if ac_fn_c_try_link "$LINENO"; then :
9190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9191 $as_echo "yes" >&6; }
9192 X_LIBS="$X_LIBS -R $x_libraries"
9193 else
9194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9195 $as_echo "neither works" >&6; }
9197 rm -f core conftest.err conftest.$ac_objext \
9198 conftest$ac_exeext conftest.$ac_ext
9200 rm -f core conftest.err conftest.$ac_objext \
9201 conftest$ac_exeext conftest.$ac_ext
9202 ac_c_werror_flag=$ac_xsave_c_werror_flag
9203 LIBS=$ac_xsave_LIBS
9206 # Check for system-dependent libraries X programs must link with.
9207 # Do this before checking for the system-independent R6 libraries
9208 # (-lICE), since we may need -lsocket or whatever for X linking.
9210 if test "$ISC" = yes; then
9211 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9212 else
9213 # Martyn Johnson says this is needed for Ultrix, if the X
9214 # libraries were built with DECnet support. And Karl Berry says
9215 # the Alpha needs dnet_stub (dnet does not exist).
9216 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9218 /* end confdefs.h. */
9220 /* Override any GCC internal prototype to avoid an error.
9221 Use char because int might match the return type of a GCC
9222 builtin and then its argument prototype would still apply. */
9223 #ifdef __cplusplus
9224 extern "C"
9225 #endif
9226 char XOpenDisplay ();
9228 main ()
9230 return XOpenDisplay ();
9232 return 0;
9234 _ACEOF
9235 if ac_fn_c_try_link "$LINENO"; then :
9237 else
9238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9239 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9240 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9241 $as_echo_n "(cached) " >&6
9242 else
9243 ac_check_lib_save_LIBS=$LIBS
9244 LIBS="-ldnet $LIBS"
9245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9246 /* end confdefs.h. */
9248 /* Override any GCC internal prototype to avoid an error.
9249 Use char because int might match the return type of a GCC
9250 builtin and then its argument prototype would still apply. */
9251 #ifdef __cplusplus
9252 extern "C"
9253 #endif
9254 char dnet_ntoa ();
9256 main ()
9258 return dnet_ntoa ();
9260 return 0;
9262 _ACEOF
9263 if ac_fn_c_try_link "$LINENO"; then :
9264 ac_cv_lib_dnet_dnet_ntoa=yes
9265 else
9266 ac_cv_lib_dnet_dnet_ntoa=no
9268 rm -f core conftest.err conftest.$ac_objext \
9269 conftest$ac_exeext conftest.$ac_ext
9270 LIBS=$ac_check_lib_save_LIBS
9272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9273 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9274 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9275 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9278 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9280 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9281 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9282 $as_echo_n "(cached) " >&6
9283 else
9284 ac_check_lib_save_LIBS=$LIBS
9285 LIBS="-ldnet_stub $LIBS"
9286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9287 /* end confdefs.h. */
9289 /* Override any GCC internal prototype to avoid an error.
9290 Use char because int might match the return type of a GCC
9291 builtin and then its argument prototype would still apply. */
9292 #ifdef __cplusplus
9293 extern "C"
9294 #endif
9295 char dnet_ntoa ();
9297 main ()
9299 return dnet_ntoa ();
9301 return 0;
9303 _ACEOF
9304 if ac_fn_c_try_link "$LINENO"; then :
9305 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9306 else
9307 ac_cv_lib_dnet_stub_dnet_ntoa=no
9309 rm -f core conftest.err conftest.$ac_objext \
9310 conftest$ac_exeext conftest.$ac_ext
9311 LIBS=$ac_check_lib_save_LIBS
9313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9314 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9315 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9316 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9321 rm -f core conftest.err conftest.$ac_objext \
9322 conftest$ac_exeext conftest.$ac_ext
9323 LIBS="$ac_xsave_LIBS"
9325 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9326 # to get the SysV transport functions.
9327 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9328 # needs -lnsl.
9329 # The nsl library prevents programs from opening the X display
9330 # on Irix 5.2, according to T.E. Dickey.
9331 # The functions gethostbyname, getservbyname, and inet_addr are
9332 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9333 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9334 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9338 if test $ac_cv_func_gethostbyname = no; then
9339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9340 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9341 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9342 $as_echo_n "(cached) " >&6
9343 else
9344 ac_check_lib_save_LIBS=$LIBS
9345 LIBS="-lnsl $LIBS"
9346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9347 /* end confdefs.h. */
9349 /* Override any GCC internal prototype to avoid an error.
9350 Use char because int might match the return type of a GCC
9351 builtin and then its argument prototype would still apply. */
9352 #ifdef __cplusplus
9353 extern "C"
9354 #endif
9355 char gethostbyname ();
9357 main ()
9359 return gethostbyname ();
9361 return 0;
9363 _ACEOF
9364 if ac_fn_c_try_link "$LINENO"; then :
9365 ac_cv_lib_nsl_gethostbyname=yes
9366 else
9367 ac_cv_lib_nsl_gethostbyname=no
9369 rm -f core conftest.err conftest.$ac_objext \
9370 conftest$ac_exeext conftest.$ac_ext
9371 LIBS=$ac_check_lib_save_LIBS
9373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9374 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9375 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9376 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9379 if test $ac_cv_lib_nsl_gethostbyname = no; then
9380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9381 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9382 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9383 $as_echo_n "(cached) " >&6
9384 else
9385 ac_check_lib_save_LIBS=$LIBS
9386 LIBS="-lbsd $LIBS"
9387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9388 /* end confdefs.h. */
9390 /* Override any GCC internal prototype to avoid an error.
9391 Use char because int might match the return type of a GCC
9392 builtin and then its argument prototype would still apply. */
9393 #ifdef __cplusplus
9394 extern "C"
9395 #endif
9396 char gethostbyname ();
9398 main ()
9400 return gethostbyname ();
9402 return 0;
9404 _ACEOF
9405 if ac_fn_c_try_link "$LINENO"; then :
9406 ac_cv_lib_bsd_gethostbyname=yes
9407 else
9408 ac_cv_lib_bsd_gethostbyname=no
9410 rm -f core conftest.err conftest.$ac_objext \
9411 conftest$ac_exeext conftest.$ac_ext
9412 LIBS=$ac_check_lib_save_LIBS
9414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9415 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9416 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9417 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9423 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9424 # socket/setsockopt and other routines are undefined under SCO ODT
9425 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9426 # on later versions), says Simon Leinen: it contains gethostby*
9427 # variants that don't use the name server (or something). -lsocket
9428 # must be given before -lnsl if both are needed. We assume that
9429 # if connect needs -lnsl, so does gethostbyname.
9430 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9431 if test "x$ac_cv_func_connect" = xyes; then :
9435 if test $ac_cv_func_connect = no; then
9436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9437 $as_echo_n "checking for connect in -lsocket... " >&6; }
9438 if ${ac_cv_lib_socket_connect+:} false; then :
9439 $as_echo_n "(cached) " >&6
9440 else
9441 ac_check_lib_save_LIBS=$LIBS
9442 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9444 /* end confdefs.h. */
9446 /* Override any GCC internal prototype to avoid an error.
9447 Use char because int might match the return type of a GCC
9448 builtin and then its argument prototype would still apply. */
9449 #ifdef __cplusplus
9450 extern "C"
9451 #endif
9452 char connect ();
9454 main ()
9456 return connect ();
9458 return 0;
9460 _ACEOF
9461 if ac_fn_c_try_link "$LINENO"; then :
9462 ac_cv_lib_socket_connect=yes
9463 else
9464 ac_cv_lib_socket_connect=no
9466 rm -f core conftest.err conftest.$ac_objext \
9467 conftest$ac_exeext conftest.$ac_ext
9468 LIBS=$ac_check_lib_save_LIBS
9470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9471 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9472 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9473 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9478 # Guillermo Gomez says -lposix is necessary on A/UX.
9479 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9480 if test "x$ac_cv_func_remove" = xyes; then :
9484 if test $ac_cv_func_remove = no; then
9485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9486 $as_echo_n "checking for remove in -lposix... " >&6; }
9487 if ${ac_cv_lib_posix_remove+:} false; then :
9488 $as_echo_n "(cached) " >&6
9489 else
9490 ac_check_lib_save_LIBS=$LIBS
9491 LIBS="-lposix $LIBS"
9492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9493 /* end confdefs.h. */
9495 /* Override any GCC internal prototype to avoid an error.
9496 Use char because int might match the return type of a GCC
9497 builtin and then its argument prototype would still apply. */
9498 #ifdef __cplusplus
9499 extern "C"
9500 #endif
9501 char remove ();
9503 main ()
9505 return remove ();
9507 return 0;
9509 _ACEOF
9510 if ac_fn_c_try_link "$LINENO"; then :
9511 ac_cv_lib_posix_remove=yes
9512 else
9513 ac_cv_lib_posix_remove=no
9515 rm -f core conftest.err conftest.$ac_objext \
9516 conftest$ac_exeext conftest.$ac_ext
9517 LIBS=$ac_check_lib_save_LIBS
9519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9520 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9521 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9522 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9527 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9528 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9529 if test "x$ac_cv_func_shmat" = xyes; then :
9533 if test $ac_cv_func_shmat = no; then
9534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9535 $as_echo_n "checking for shmat in -lipc... " >&6; }
9536 if ${ac_cv_lib_ipc_shmat+:} false; then :
9537 $as_echo_n "(cached) " >&6
9538 else
9539 ac_check_lib_save_LIBS=$LIBS
9540 LIBS="-lipc $LIBS"
9541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9542 /* end confdefs.h. */
9544 /* Override any GCC internal prototype to avoid an error.
9545 Use char because int might match the return type of a GCC
9546 builtin and then its argument prototype would still apply. */
9547 #ifdef __cplusplus
9548 extern "C"
9549 #endif
9550 char shmat ();
9552 main ()
9554 return shmat ();
9556 return 0;
9558 _ACEOF
9559 if ac_fn_c_try_link "$LINENO"; then :
9560 ac_cv_lib_ipc_shmat=yes
9561 else
9562 ac_cv_lib_ipc_shmat=no
9564 rm -f core conftest.err conftest.$ac_objext \
9565 conftest$ac_exeext conftest.$ac_ext
9566 LIBS=$ac_check_lib_save_LIBS
9568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9569 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9570 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9571 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9577 # Check for libraries that X11R6 Xt/Xaw programs need.
9578 ac_save_LDFLAGS=$LDFLAGS
9579 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9580 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9581 # check for ICE first), but we must link in the order -lSM -lICE or
9582 # we get undefined symbols. So assume we have SM if we have ICE.
9583 # These have to be linked with before -lX11, unlike the other
9584 # libraries we check for below, so use a different variable.
9585 # John Interrante, Karl Berry
9586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9587 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9588 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9589 $as_echo_n "(cached) " >&6
9590 else
9591 ac_check_lib_save_LIBS=$LIBS
9592 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9594 /* end confdefs.h. */
9596 /* Override any GCC internal prototype to avoid an error.
9597 Use char because int might match the return type of a GCC
9598 builtin and then its argument prototype would still apply. */
9599 #ifdef __cplusplus
9600 extern "C"
9601 #endif
9602 char IceConnectionNumber ();
9604 main ()
9606 return IceConnectionNumber ();
9608 return 0;
9610 _ACEOF
9611 if ac_fn_c_try_link "$LINENO"; then :
9612 ac_cv_lib_ICE_IceConnectionNumber=yes
9613 else
9614 ac_cv_lib_ICE_IceConnectionNumber=no
9616 rm -f core conftest.err conftest.$ac_objext \
9617 conftest$ac_exeext conftest.$ac_ext
9618 LIBS=$ac_check_lib_save_LIBS
9620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9621 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9622 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9623 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9626 LDFLAGS=$ac_save_LDFLAGS
9631 if test "$have_x" = "yes"
9632 then
9633 ac_save_CPPFLAGS="$CPPFLAGS"
9634 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9637 $as_echo_n "checking for -lX11... " >&6; }
9638 if ${ac_cv_lib_soname_X11+:} false; then :
9639 $as_echo_n "(cached) " >&6
9640 else
9641 ac_check_soname_save_LIBS=$LIBS
9642 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9644 /* end confdefs.h. */
9646 /* Override any GCC internal prototype to avoid an error.
9647 Use char because int might match the return type of a GCC
9648 builtin and then its argument prototype would still apply. */
9649 #ifdef __cplusplus
9650 extern "C"
9651 #endif
9652 char XCreateWindow ();
9654 main ()
9656 return XCreateWindow ();
9658 return 0;
9660 _ACEOF
9661 if ac_fn_c_try_link "$LINENO"; then :
9662 case "$LIBEXT" in
9663 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9664 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'` ;;
9665 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9666 if ${ac_cv_lib_soname_X11:+false} :; then :
9667 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9668 fi ;;
9669 esac
9671 rm -f core conftest.err conftest.$ac_objext \
9672 conftest$ac_exeext conftest.$ac_ext
9673 LIBS=$ac_check_soname_save_LIBS
9675 if ${ac_cv_lib_soname_X11:+false} :; then :
9676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9677 $as_echo "not found" >&6; }
9679 else
9680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9681 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9683 cat >>confdefs.h <<_ACEOF
9684 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9685 _ACEOF
9689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9690 $as_echo_n "checking for -lXext... " >&6; }
9691 if ${ac_cv_lib_soname_Xext+:} false; then :
9692 $as_echo_n "(cached) " >&6
9693 else
9694 ac_check_soname_save_LIBS=$LIBS
9695 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9697 /* end confdefs.h. */
9699 /* Override any GCC internal prototype to avoid an error.
9700 Use char because int might match the return type of a GCC
9701 builtin and then its argument prototype would still apply. */
9702 #ifdef __cplusplus
9703 extern "C"
9704 #endif
9705 char XextCreateExtension ();
9707 main ()
9709 return XextCreateExtension ();
9711 return 0;
9713 _ACEOF
9714 if ac_fn_c_try_link "$LINENO"; then :
9715 case "$LIBEXT" in
9716 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9717 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'` ;;
9718 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9719 if ${ac_cv_lib_soname_Xext:+false} :; then :
9720 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9721 fi ;;
9722 esac
9724 rm -f core conftest.err conftest.$ac_objext \
9725 conftest$ac_exeext conftest.$ac_ext
9726 LIBS=$ac_check_soname_save_LIBS
9728 if ${ac_cv_lib_soname_Xext:+false} :; then :
9729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9730 $as_echo "not found" >&6; }
9732 else
9733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9734 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9736 cat >>confdefs.h <<_ACEOF
9737 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9738 _ACEOF
9740 X_LIBS="$X_LIBS -lXext"
9742 X_LIBS="$X_LIBS -lX11"
9744 for ac_header in X11/Xlib.h \
9745 X11/XKBlib.h \
9746 X11/Xutil.h \
9747 X11/Xcursor/Xcursor.h \
9748 X11/extensions/shape.h \
9749 X11/extensions/XInput.h \
9750 X11/extensions/XInput2.h \
9751 X11/extensions/XShm.h \
9752 X11/extensions/Xcomposite.h \
9753 X11/extensions/Xinerama.h \
9754 X11/extensions/Xrandr.h \
9755 X11/extensions/Xrender.h \
9756 X11/extensions/xf86vmode.h \
9757 X11/extensions/xf86vmproto.h
9758 do :
9759 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9760 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9761 # include <X11/Xlib.h>
9762 #endif
9763 #ifdef HAVE_X11_XUTIL_H
9764 # include <X11/Xutil.h>
9765 #endif
9767 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9768 cat >>confdefs.h <<_ACEOF
9769 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9770 _ACEOF
9774 done
9777 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9778 then
9779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9780 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9781 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9782 $as_echo_n "(cached) " >&6
9783 else
9784 ac_check_lib_save_LIBS=$LIBS
9785 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9787 /* end confdefs.h. */
9789 /* Override any GCC internal prototype to avoid an error.
9790 Use char because int might match the return type of a GCC
9791 builtin and then its argument prototype would still apply. */
9792 #ifdef __cplusplus
9793 extern "C"
9794 #endif
9795 char XkbQueryExtension ();
9797 main ()
9799 return XkbQueryExtension ();
9801 return 0;
9803 _ACEOF
9804 if ac_fn_c_try_link "$LINENO"; then :
9805 ac_cv_lib_X11_XkbQueryExtension=yes
9806 else
9807 ac_cv_lib_X11_XkbQueryExtension=no
9809 rm -f core conftest.err conftest.$ac_objext \
9810 conftest$ac_exeext conftest.$ac_ext
9811 LIBS=$ac_check_lib_save_LIBS
9813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9814 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9815 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9817 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9823 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9824 then
9825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9826 $as_echo_n "checking for -lXcursor... " >&6; }
9827 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9828 $as_echo_n "(cached) " >&6
9829 else
9830 ac_check_soname_save_LIBS=$LIBS
9831 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9833 /* end confdefs.h. */
9835 /* Override any GCC internal prototype to avoid an error.
9836 Use char because int might match the return type of a GCC
9837 builtin and then its argument prototype would still apply. */
9838 #ifdef __cplusplus
9839 extern "C"
9840 #endif
9841 char XcursorImageLoadCursor ();
9843 main ()
9845 return XcursorImageLoadCursor ();
9847 return 0;
9849 _ACEOF
9850 if ac_fn_c_try_link "$LINENO"; then :
9851 case "$LIBEXT" in
9852 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9853 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'` ;;
9854 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9855 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9856 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9857 fi ;;
9858 esac
9860 rm -f core conftest.err conftest.$ac_objext \
9861 conftest$ac_exeext conftest.$ac_ext
9862 LIBS=$ac_check_soname_save_LIBS
9864 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9866 $as_echo "not found" >&6; }
9868 else
9869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9870 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9872 cat >>confdefs.h <<_ACEOF
9873 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9874 _ACEOF
9879 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9880 case "x$with_xcursor" in
9881 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9882 xno) ;;
9883 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9884 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9885 esac
9889 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9890 then
9891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9892 $as_echo_n "checking for -lXi... " >&6; }
9893 if ${ac_cv_lib_soname_Xi+:} false; then :
9894 $as_echo_n "(cached) " >&6
9895 else
9896 ac_check_soname_save_LIBS=$LIBS
9897 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9899 /* end confdefs.h. */
9901 /* Override any GCC internal prototype to avoid an error.
9902 Use char because int might match the return type of a GCC
9903 builtin and then its argument prototype would still apply. */
9904 #ifdef __cplusplus
9905 extern "C"
9906 #endif
9907 char XOpenDevice ();
9909 main ()
9911 return XOpenDevice ();
9913 return 0;
9915 _ACEOF
9916 if ac_fn_c_try_link "$LINENO"; then :
9917 case "$LIBEXT" in
9918 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9919 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'` ;;
9920 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9921 if ${ac_cv_lib_soname_Xi:+false} :; then :
9922 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9923 fi ;;
9924 esac
9926 rm -f core conftest.err conftest.$ac_objext \
9927 conftest$ac_exeext conftest.$ac_ext
9928 LIBS=$ac_check_soname_save_LIBS
9930 if ${ac_cv_lib_soname_Xi:+false} :; then :
9931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9932 $as_echo "not found" >&6; }
9934 else
9935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9936 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9938 cat >>confdefs.h <<_ACEOF
9939 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9940 _ACEOF
9945 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9946 case "x$with_xinput" in
9947 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9948 xno) ;;
9949 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9950 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9951 esac
9955 if test "x$ac_cv_lib_soname_Xi" != x
9956 then
9957 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9958 case "x$with_xinput2" in
9959 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9960 xno) ;;
9961 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9962 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9963 esac
9968 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9969 then
9970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9971 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9972 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9973 $as_echo_n "(cached) " >&6
9974 else
9975 ac_check_lib_save_LIBS=$LIBS
9976 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9978 /* end confdefs.h. */
9980 /* Override any GCC internal prototype to avoid an error.
9981 Use char because int might match the return type of a GCC
9982 builtin and then its argument prototype would still apply. */
9983 #ifdef __cplusplus
9984 extern "C"
9985 #endif
9986 char XShmQueryExtension ();
9988 main ()
9990 return XShmQueryExtension ();
9992 return 0;
9994 _ACEOF
9995 if ac_fn_c_try_link "$LINENO"; then :
9996 ac_cv_lib_Xext_XShmQueryExtension=yes
9997 else
9998 ac_cv_lib_Xext_XShmQueryExtension=no
10000 rm -f core conftest.err conftest.$ac_objext \
10001 conftest$ac_exeext conftest.$ac_ext
10002 LIBS=$ac_check_lib_save_LIBS
10004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10005 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10006 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10008 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10013 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10014 case "x$with_xshm" in
10015 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10016 xno) ;;
10017 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10018 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10019 esac
10023 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10024 then
10025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10026 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10027 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10028 $as_echo_n "(cached) " >&6
10029 else
10030 ac_check_lib_save_LIBS=$LIBS
10031 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10033 /* end confdefs.h. */
10035 /* Override any GCC internal prototype to avoid an error.
10036 Use char because int might match the return type of a GCC
10037 builtin and then its argument prototype would still apply. */
10038 #ifdef __cplusplus
10039 extern "C"
10040 #endif
10041 char XShapeQueryExtension ();
10043 main ()
10045 return XShapeQueryExtension ();
10047 return 0;
10049 _ACEOF
10050 if ac_fn_c_try_link "$LINENO"; then :
10051 ac_cv_lib_Xext_XShapeQueryExtension=yes
10052 else
10053 ac_cv_lib_Xext_XShapeQueryExtension=no
10055 rm -f core conftest.err conftest.$ac_objext \
10056 conftest$ac_exeext conftest.$ac_ext
10057 LIBS=$ac_check_lib_save_LIBS
10059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10060 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10061 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10063 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10068 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10069 case "x$with_xshape" in
10070 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10071 xno) ;;
10072 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10073 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10074 esac
10078 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10079 then
10080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10081 $as_echo_n "checking for -lXxf86vm... " >&6; }
10082 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10083 $as_echo_n "(cached) " >&6
10084 else
10085 ac_check_soname_save_LIBS=$LIBS
10086 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10088 /* end confdefs.h. */
10090 /* Override any GCC internal prototype to avoid an error.
10091 Use char because int might match the return type of a GCC
10092 builtin and then its argument prototype would still apply. */
10093 #ifdef __cplusplus
10094 extern "C"
10095 #endif
10096 char XF86VidModeQueryExtension ();
10098 main ()
10100 return XF86VidModeQueryExtension ();
10102 return 0;
10104 _ACEOF
10105 if ac_fn_c_try_link "$LINENO"; then :
10106 case "$LIBEXT" in
10107 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10108 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'` ;;
10109 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10110 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10111 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10112 fi ;;
10113 esac
10115 rm -f core conftest.err conftest.$ac_objext \
10116 conftest$ac_exeext conftest.$ac_ext
10117 LIBS=$ac_check_soname_save_LIBS
10119 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10121 $as_echo "not found" >&6; }
10123 else
10124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10125 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10127 cat >>confdefs.h <<_ACEOF
10128 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10129 _ACEOF
10134 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10135 case "x$with_xxf86vm" in
10136 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10137 xno) ;;
10138 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10139 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10140 esac
10144 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10145 then
10146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10147 $as_echo_n "checking for -lXrender... " >&6; }
10148 if ${ac_cv_lib_soname_Xrender+:} false; then :
10149 $as_echo_n "(cached) " >&6
10150 else
10151 ac_check_soname_save_LIBS=$LIBS
10152 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10154 /* end confdefs.h. */
10156 /* Override any GCC internal prototype to avoid an error.
10157 Use char because int might match the return type of a GCC
10158 builtin and then its argument prototype would still apply. */
10159 #ifdef __cplusplus
10160 extern "C"
10161 #endif
10162 char XRenderQueryExtension ();
10164 main ()
10166 return XRenderQueryExtension ();
10168 return 0;
10170 _ACEOF
10171 if ac_fn_c_try_link "$LINENO"; then :
10172 case "$LIBEXT" in
10173 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10174 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'` ;;
10175 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10176 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10177 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10178 fi ;;
10179 esac
10181 rm -f core conftest.err conftest.$ac_objext \
10182 conftest$ac_exeext conftest.$ac_ext
10183 LIBS=$ac_check_soname_save_LIBS
10185 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10187 $as_echo "not found" >&6; }
10189 else
10190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10191 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10193 cat >>confdefs.h <<_ACEOF
10194 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10195 _ACEOF
10197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10198 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10199 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10200 $as_echo_n "(cached) " >&6
10201 else
10202 ac_check_lib_save_LIBS=$LIBS
10203 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10205 /* end confdefs.h. */
10207 /* Override any GCC internal prototype to avoid an error.
10208 Use char because int might match the return type of a GCC
10209 builtin and then its argument prototype would still apply. */
10210 #ifdef __cplusplus
10211 extern "C"
10212 #endif
10213 char XRenderSetPictureTransform ();
10215 main ()
10217 return XRenderSetPictureTransform ();
10219 return 0;
10221 _ACEOF
10222 if ac_fn_c_try_link "$LINENO"; then :
10223 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10224 else
10225 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10227 rm -f core conftest.err conftest.$ac_objext \
10228 conftest$ac_exeext conftest.$ac_ext
10229 LIBS=$ac_check_lib_save_LIBS
10231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10232 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10233 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10235 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10240 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10241 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10242 $as_echo_n "(cached) " >&6
10243 else
10244 ac_check_lib_save_LIBS=$LIBS
10245 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10247 /* end confdefs.h. */
10249 /* Override any GCC internal prototype to avoid an error.
10250 Use char because int might match the return type of a GCC
10251 builtin and then its argument prototype would still apply. */
10252 #ifdef __cplusplus
10253 extern "C"
10254 #endif
10255 char XRenderCreateLinearGradient ();
10257 main ()
10259 return XRenderCreateLinearGradient ();
10261 return 0;
10263 _ACEOF
10264 if ac_fn_c_try_link "$LINENO"; then :
10265 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10266 else
10267 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10269 rm -f core conftest.err conftest.$ac_objext \
10270 conftest$ac_exeext conftest.$ac_ext
10271 LIBS=$ac_check_lib_save_LIBS
10273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10274 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10275 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10277 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10284 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10285 case "x$with_xrender" in
10286 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10287 xno) ;;
10288 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10289 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10290 esac
10294 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10295 then
10296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10297 /* end confdefs.h. */
10298 #include <X11/Xlib.h>
10299 #include <X11/extensions/Xrandr.h>
10301 main ()
10303 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10305 return 0;
10307 _ACEOF
10308 if ac_fn_c_try_compile "$LINENO"; then :
10309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10310 $as_echo_n "checking for -lXrandr... " >&6; }
10311 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10312 $as_echo_n "(cached) " >&6
10313 else
10314 ac_check_soname_save_LIBS=$LIBS
10315 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10317 /* end confdefs.h. */
10319 /* Override any GCC internal prototype to avoid an error.
10320 Use char because int might match the return type of a GCC
10321 builtin and then its argument prototype would still apply. */
10322 #ifdef __cplusplus
10323 extern "C"
10324 #endif
10325 char XRRQueryExtension ();
10327 main ()
10329 return XRRQueryExtension ();
10331 return 0;
10333 _ACEOF
10334 if ac_fn_c_try_link "$LINENO"; then :
10335 case "$LIBEXT" in
10336 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10337 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'` ;;
10338 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10339 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10340 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10341 fi ;;
10342 esac
10344 rm -f core conftest.err conftest.$ac_objext \
10345 conftest$ac_exeext conftest.$ac_ext
10346 LIBS=$ac_check_soname_save_LIBS
10348 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10350 $as_echo "not found" >&6; }
10352 else
10353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10354 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10356 cat >>confdefs.h <<_ACEOF
10357 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10358 _ACEOF
10360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10361 /* end confdefs.h. */
10362 #include <X11/Xlib.h>
10363 #include <X11/extensions/Xrandr.h>
10365 main ()
10367 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10369 return 0;
10371 _ACEOF
10372 if ac_fn_c_try_compile "$LINENO"; then :
10374 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10382 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10383 case "x$with_xrandr" in
10384 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10385 xno) ;;
10386 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10387 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10388 esac
10392 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10393 then
10394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10395 /* end confdefs.h. */
10396 #include <X11/Xlib.h>
10397 #include <X11/extensions/Xinerama.h>
10399 main ()
10401 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10403 return 0;
10405 _ACEOF
10406 if ac_fn_c_try_compile "$LINENO"; then :
10407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10408 $as_echo_n "checking for -lXinerama... " >&6; }
10409 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10410 $as_echo_n "(cached) " >&6
10411 else
10412 ac_check_soname_save_LIBS=$LIBS
10413 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10415 /* end confdefs.h. */
10417 /* Override any GCC internal prototype to avoid an error.
10418 Use char because int might match the return type of a GCC
10419 builtin and then its argument prototype would still apply. */
10420 #ifdef __cplusplus
10421 extern "C"
10422 #endif
10423 char XineramaQueryScreens ();
10425 main ()
10427 return XineramaQueryScreens ();
10429 return 0;
10431 _ACEOF
10432 if ac_fn_c_try_link "$LINENO"; then :
10433 case "$LIBEXT" in
10434 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10435 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'` ;;
10436 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10437 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10438 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10439 fi ;;
10440 esac
10442 rm -f core conftest.err conftest.$ac_objext \
10443 conftest$ac_exeext conftest.$ac_ext
10444 LIBS=$ac_check_soname_save_LIBS
10446 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10448 $as_echo "not found" >&6; }
10450 else
10451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10452 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10454 cat >>confdefs.h <<_ACEOF
10455 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10456 _ACEOF
10461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10463 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10464 case "x$with_xinerama" in
10465 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10466 xno) ;;
10467 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10468 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10469 esac
10473 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10474 then
10475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10476 $as_echo_n "checking for -lXcomposite... " >&6; }
10477 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10478 $as_echo_n "(cached) " >&6
10479 else
10480 ac_check_soname_save_LIBS=$LIBS
10481 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10483 /* end confdefs.h. */
10485 /* Override any GCC internal prototype to avoid an error.
10486 Use char because int might match the return type of a GCC
10487 builtin and then its argument prototype would still apply. */
10488 #ifdef __cplusplus
10489 extern "C"
10490 #endif
10491 char XCompositeRedirectWindow ();
10493 main ()
10495 return XCompositeRedirectWindow ();
10497 return 0;
10499 _ACEOF
10500 if ac_fn_c_try_link "$LINENO"; then :
10501 case "$LIBEXT" in
10502 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10503 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'` ;;
10504 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10505 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10506 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10507 fi ;;
10508 esac
10510 rm -f core conftest.err conftest.$ac_objext \
10511 conftest$ac_exeext conftest.$ac_ext
10512 LIBS=$ac_check_soname_save_LIBS
10514 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10516 $as_echo "not found" >&6; }
10518 else
10519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10520 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10522 cat >>confdefs.h <<_ACEOF
10523 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10524 _ACEOF
10529 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10530 case "x$with_xcomposite" in
10531 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10532 xno) ;;
10533 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10534 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10535 esac
10539 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10540 #include <X11/Xlib.h>
10541 #endif
10543 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10545 cat >>confdefs.h <<_ACEOF
10546 #define HAVE_XICCALLBACK_CALLBACK 1
10547 _ACEOF
10551 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10552 #include <X11/Xlib.h>
10553 #endif
10555 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10557 cat >>confdefs.h <<_ACEOF
10558 #define HAVE_XEVENT_XCOOKIE 1
10559 _ACEOF
10566 opengl_msg=""
10567 if test "x$with_opengl" != "xno"
10568 then
10569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10570 $as_echo_n "checking for -lGL... " >&6; }
10571 if ${ac_cv_lib_soname_GL+:} false; then :
10572 $as_echo_n "(cached) " >&6
10573 else
10574 ac_check_soname_save_LIBS=$LIBS
10575 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10577 /* end confdefs.h. */
10579 /* Override any GCC internal prototype to avoid an error.
10580 Use char because int might match the return type of a GCC
10581 builtin and then its argument prototype would still apply. */
10582 #ifdef __cplusplus
10583 extern "C"
10584 #endif
10585 char glXCreateContext ();
10587 main ()
10589 return glXCreateContext ();
10591 return 0;
10593 _ACEOF
10594 if ac_fn_c_try_link "$LINENO"; then :
10595 case "$LIBEXT" in
10596 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10597 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'` ;;
10598 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10599 if ${ac_cv_lib_soname_GL:+false} :; then :
10600 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10601 fi ;;
10602 esac
10604 rm -f core conftest.err conftest.$ac_objext \
10605 conftest$ac_exeext conftest.$ac_ext
10606 LIBS=$ac_check_soname_save_LIBS
10608 if ${ac_cv_lib_soname_GL:+false} :; then :
10609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10610 $as_echo "not found" >&6; }
10611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10612 $as_echo_n "checking for -lGL... " >&6; }
10613 if ${ac_cv_lib_soname_GL+:} false; then :
10614 $as_echo_n "(cached) " >&6
10615 else
10616 ac_check_soname_save_LIBS=$LIBS
10617 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"
10618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10619 /* end confdefs.h. */
10621 /* Override any GCC internal prototype to avoid an error.
10622 Use char because int might match the return type of a GCC
10623 builtin and then its argument prototype would still apply. */
10624 #ifdef __cplusplus
10625 extern "C"
10626 #endif
10627 char glXCreateContext ();
10629 main ()
10631 return glXCreateContext ();
10633 return 0;
10635 _ACEOF
10636 if ac_fn_c_try_link "$LINENO"; then :
10637 case "$LIBEXT" in
10638 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10639 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'` ;;
10640 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10641 if ${ac_cv_lib_soname_GL:+false} :; then :
10642 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10643 fi ;;
10644 esac
10646 rm -f core conftest.err conftest.$ac_objext \
10647 conftest$ac_exeext conftest.$ac_ext
10648 LIBS=$ac_check_soname_save_LIBS
10650 if ${ac_cv_lib_soname_GL:+false} :; then :
10651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10652 $as_echo "not found" >&6; }
10653 if test -f /usr/X11R6/lib/libGL.a
10654 then
10655 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10656 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10657 else
10658 opengl_msg="No OpenGL library found on this system."
10660 else
10661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10662 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10664 cat >>confdefs.h <<_ACEOF
10665 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10666 _ACEOF
10668 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"
10670 else
10671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10672 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10674 cat >>confdefs.h <<_ACEOF
10675 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10676 _ACEOF
10678 OPENGL_LIBS="-lGL"
10680 if test "x$with_glu" != "xno"
10681 then
10682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10683 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10684 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10685 $as_echo_n "(cached) " >&6
10686 else
10687 ac_check_lib_save_LIBS=$LIBS
10688 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10690 /* end confdefs.h. */
10692 /* Override any GCC internal prototype to avoid an error.
10693 Use char because int might match the return type of a GCC
10694 builtin and then its argument prototype would still apply. */
10695 #ifdef __cplusplus
10696 extern "C"
10697 #endif
10698 char gluLookAt ();
10700 main ()
10702 return gluLookAt ();
10704 return 0;
10706 _ACEOF
10707 if ac_fn_c_try_link "$LINENO"; then :
10708 ac_cv_lib_GLU_gluLookAt=yes
10709 else
10710 ac_cv_lib_GLU_gluLookAt=no
10712 rm -f core conftest.err conftest.$ac_objext \
10713 conftest$ac_exeext conftest.$ac_ext
10714 LIBS=$ac_check_lib_save_LIBS
10716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10717 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10718 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10722 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10723 case "x$with_glu" in
10724 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10725 xno) ;;
10726 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10727 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10728 esac
10733 if test "x$with_osmesa" != "xno"
10734 then
10735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10736 $as_echo_n "checking for -lOSMesa... " >&6; }
10737 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10738 $as_echo_n "(cached) " >&6
10739 else
10740 ac_check_soname_save_LIBS=$LIBS
10741 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10743 /* end confdefs.h. */
10745 /* Override any GCC internal prototype to avoid an error.
10746 Use char because int might match the return type of a GCC
10747 builtin and then its argument prototype would still apply. */
10748 #ifdef __cplusplus
10749 extern "C"
10750 #endif
10751 char glAccum ();
10753 main ()
10755 return glAccum ();
10757 return 0;
10759 _ACEOF
10760 if ac_fn_c_try_link "$LINENO"; then :
10761 case "$LIBEXT" in
10762 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10763 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'` ;;
10764 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10765 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10766 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10767 fi ;;
10768 esac
10770 rm -f core conftest.err conftest.$ac_objext \
10771 conftest$ac_exeext conftest.$ac_ext
10772 LIBS=$ac_check_soname_save_LIBS
10774 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10776 $as_echo "not found" >&6; }
10778 else
10779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10780 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10782 cat >>confdefs.h <<_ACEOF
10783 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10784 _ACEOF
10788 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10789 case "x$with_osmesa" in
10790 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10791 xno) ;;
10792 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10793 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10794 esac
10799 if test -n "$opengl_msg"; then :
10800 case "x$with_opengl" in
10801 x) as_fn_append wine_warnings "|$opengl_msg
10802 OpenGL and Direct3D won't be supported." ;;
10803 xno) ;;
10804 *) as_fn_error $? "$opengl_msg
10805 OpenGL and Direct3D won't be supported.
10806 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10807 esac
10811 CPPFLAGS="$ac_save_CPPFLAGS"
10812 else
10813 X_CFLAGS=""
10814 X_LIBS=""
10816 if test "x$X_LIBS" = "x"; then :
10817 case "x$with_x" in
10818 xno) ;;
10819 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10820 without X support, which probably isn't what you want. You will need
10821 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10822 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10823 esac
10824 enable_winex11_drv=${enable_winex11_drv:-no}
10827 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10829 if test "$ac_cv_header_CL_cl_h" = "yes"
10830 then
10831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10832 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10833 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10834 $as_echo_n "(cached) " >&6
10835 else
10836 ac_check_lib_save_LIBS=$LIBS
10837 LIBS="-lOpenCL $LIBS"
10838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10839 /* end confdefs.h. */
10841 /* Override any GCC internal prototype to avoid an error.
10842 Use char because int might match the return type of a GCC
10843 builtin and then its argument prototype would still apply. */
10844 #ifdef __cplusplus
10845 extern "C"
10846 #endif
10847 char clGetPlatformInfo ();
10849 main ()
10851 return clGetPlatformInfo ();
10853 return 0;
10855 _ACEOF
10856 if ac_fn_c_try_link "$LINENO"; then :
10857 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10858 else
10859 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10861 rm -f core conftest.err conftest.$ac_objext \
10862 conftest$ac_exeext conftest.$ac_ext
10863 LIBS=$ac_check_lib_save_LIBS
10865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10866 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10867 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10868 OPENCL_LIBS="-lOpenCL"
10873 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10874 case "x$with_opencl" in
10875 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10876 xno) ;;
10877 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10878 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10879 esac
10880 enable_opencl=${enable_opencl:-no}
10883 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10884 then
10885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10886 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10887 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10888 $as_echo_n "(cached) " >&6
10889 else
10890 ac_check_lib_save_LIBS=$LIBS
10891 LIBS="-lpcap $LIBS"
10892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10893 /* end confdefs.h. */
10895 /* Override any GCC internal prototype to avoid an error.
10896 Use char because int might match the return type of a GCC
10897 builtin and then its argument prototype would still apply. */
10898 #ifdef __cplusplus
10899 extern "C"
10900 #endif
10901 char pcap_create ();
10903 main ()
10905 return pcap_create ();
10907 return 0;
10909 _ACEOF
10910 if ac_fn_c_try_link "$LINENO"; then :
10911 ac_cv_lib_pcap_pcap_create=yes
10912 else
10913 ac_cv_lib_pcap_pcap_create=no
10915 rm -f core conftest.err conftest.$ac_objext \
10916 conftest$ac_exeext conftest.$ac_ext
10917 LIBS=$ac_check_lib_save_LIBS
10919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10920 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10921 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10922 PCAP_LIBS="-lpcap"
10927 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10928 case "x$with_pcap" in
10929 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10930 xno) ;;
10931 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10932 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10933 esac
10934 enable_wpcap=${enable_wpcap:-no}
10938 if test "x$with_xml" != "xno"
10939 then
10940 if ${XML2_CFLAGS:+false} :; then :
10941 if ${PKG_CONFIG+:} false; then :
10942 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10945 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
10946 if ${XML2_LIBS:+false} :; then :
10947 if ${PKG_CONFIG+:} false; then :
10948 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10951 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
10952 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10953 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10954 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10955 ac_save_CPPFLAGS=$CPPFLAGS
10956 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10957 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10958 do :
10959 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10960 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10961 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10962 cat >>confdefs.h <<_ACEOF
10963 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10964 _ACEOF
10968 done
10970 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"
10971 then
10972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10973 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10974 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10975 $as_echo_n "(cached) " >&6
10976 else
10977 ac_check_lib_save_LIBS=$LIBS
10978 LIBS="-lxml2 $XML2_LIBS $LIBS"
10979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10980 /* end confdefs.h. */
10982 /* Override any GCC internal prototype to avoid an error.
10983 Use char because int might match the return type of a GCC
10984 builtin and then its argument prototype would still apply. */
10985 #ifdef __cplusplus
10986 extern "C"
10987 #endif
10988 char xmlParseMemory ();
10990 main ()
10992 return xmlParseMemory ();
10994 return 0;
10996 _ACEOF
10997 if ac_fn_c_try_link "$LINENO"; then :
10998 ac_cv_lib_xml2_xmlParseMemory=yes
10999 else
11000 ac_cv_lib_xml2_xmlParseMemory=no
11002 rm -f core conftest.err conftest.$ac_objext \
11003 conftest$ac_exeext conftest.$ac_ext
11004 LIBS=$ac_check_lib_save_LIBS
11006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11007 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11008 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11010 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11012 else
11013 XML2_LIBS=""
11016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11017 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11018 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11019 $as_echo_n "(cached) " >&6
11020 else
11021 ac_check_lib_save_LIBS=$LIBS
11022 LIBS="-lxml2 $XML2_LIBS $LIBS"
11023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11024 /* end confdefs.h. */
11026 /* Override any GCC internal prototype to avoid an error.
11027 Use char because int might match the return type of a GCC
11028 builtin and then its argument prototype would still apply. */
11029 #ifdef __cplusplus
11030 extern "C"
11031 #endif
11032 char xmlReadMemory ();
11034 main ()
11036 return xmlReadMemory ();
11038 return 0;
11040 _ACEOF
11041 if ac_fn_c_try_link "$LINENO"; then :
11042 ac_cv_lib_xml2_xmlReadMemory=yes
11043 else
11044 ac_cv_lib_xml2_xmlReadMemory=no
11046 rm -f core conftest.err conftest.$ac_objext \
11047 conftest$ac_exeext conftest.$ac_ext
11048 LIBS=$ac_check_lib_save_LIBS
11050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11051 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11052 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11054 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11059 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11060 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11061 $as_echo_n "(cached) " >&6
11062 else
11063 ac_check_lib_save_LIBS=$LIBS
11064 LIBS="-lxml2 $XML2_LIBS $LIBS"
11065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11066 /* end confdefs.h. */
11068 /* Override any GCC internal prototype to avoid an error.
11069 Use char because int might match the return type of a GCC
11070 builtin and then its argument prototype would still apply. */
11071 #ifdef __cplusplus
11072 extern "C"
11073 #endif
11074 char xmlNewDocPI ();
11076 main ()
11078 return xmlNewDocPI ();
11080 return 0;
11082 _ACEOF
11083 if ac_fn_c_try_link "$LINENO"; then :
11084 ac_cv_lib_xml2_xmlNewDocPI=yes
11085 else
11086 ac_cv_lib_xml2_xmlNewDocPI=no
11088 rm -f core conftest.err conftest.$ac_objext \
11089 conftest$ac_exeext conftest.$ac_ext
11090 LIBS=$ac_check_lib_save_LIBS
11092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11093 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11094 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11096 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11101 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11102 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11103 $as_echo_n "(cached) " >&6
11104 else
11105 ac_check_lib_save_LIBS=$LIBS
11106 LIBS="-lxml2 $XML2_LIBS $LIBS"
11107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11108 /* end confdefs.h. */
11110 /* Override any GCC internal prototype to avoid an error.
11111 Use char because int might match the return type of a GCC
11112 builtin and then its argument prototype would still apply. */
11113 #ifdef __cplusplus
11114 extern "C"
11115 #endif
11116 char xmlSchemaSetParserStructuredErrors ();
11118 main ()
11120 return xmlSchemaSetParserStructuredErrors ();
11122 return 0;
11124 _ACEOF
11125 if ac_fn_c_try_link "$LINENO"; then :
11126 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11127 else
11128 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11130 rm -f core conftest.err conftest.$ac_objext \
11131 conftest$ac_exeext conftest.$ac_ext
11132 LIBS=$ac_check_lib_save_LIBS
11134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11135 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11136 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11138 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11143 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11144 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11145 $as_echo_n "(cached) " >&6
11146 else
11147 ac_check_lib_save_LIBS=$LIBS
11148 LIBS="-lxml2 $XML2_LIBS $LIBS"
11149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11150 /* end confdefs.h. */
11152 /* Override any GCC internal prototype to avoid an error.
11153 Use char because int might match the return type of a GCC
11154 builtin and then its argument prototype would still apply. */
11155 #ifdef __cplusplus
11156 extern "C"
11157 #endif
11158 char xmlSchemaSetValidStructuredErrors ();
11160 main ()
11162 return xmlSchemaSetValidStructuredErrors ();
11164 return 0;
11166 _ACEOF
11167 if ac_fn_c_try_link "$LINENO"; then :
11168 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11169 else
11170 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11172 rm -f core conftest.err conftest.$ac_objext \
11173 conftest$ac_exeext conftest.$ac_ext
11174 LIBS=$ac_check_lib_save_LIBS
11176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11177 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11178 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11180 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11185 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11186 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11187 $as_echo_n "(cached) " >&6
11188 else
11189 ac_check_lib_save_LIBS=$LIBS
11190 LIBS="-lxml2 $XML2_LIBS $LIBS"
11191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11192 /* end confdefs.h. */
11194 /* Override any GCC internal prototype to avoid an error.
11195 Use char because int might match the return type of a GCC
11196 builtin and then its argument prototype would still apply. */
11197 #ifdef __cplusplus
11198 extern "C"
11199 #endif
11200 char xmlFirstElementChild ();
11202 main ()
11204 return xmlFirstElementChild ();
11206 return 0;
11208 _ACEOF
11209 if ac_fn_c_try_link "$LINENO"; then :
11210 ac_cv_lib_xml2_xmlFirstElementChild=yes
11211 else
11212 ac_cv_lib_xml2_xmlFirstElementChild=no
11214 rm -f core conftest.err conftest.$ac_objext \
11215 conftest$ac_exeext conftest.$ac_ext
11216 LIBS=$ac_check_lib_save_LIBS
11218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11219 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11220 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11222 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11226 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11228 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11230 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11234 else
11235 XML2_CFLAGS=""
11236 XML2_LIBS=""
11238 CPPFLAGS=$ac_save_CPPFLAGS
11239 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11240 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11243 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11244 case "x$with_xml" in
11245 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11246 xno) ;;
11247 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11248 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11249 esac
11253 if test "x$with_xslt" != "xno"
11254 then
11255 if ${XSLT_CFLAGS:+false} :; then :
11256 if ${PKG_CONFIG+:} false; then :
11257 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11260 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11261 if ${XSLT_LIBS:+false} :; then :
11262 if ${PKG_CONFIG+:} false; then :
11263 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11266 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11267 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11268 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11269 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11270 ac_save_CPPFLAGS=$CPPFLAGS
11271 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11272 for ac_header in libxslt/pattern.h libxslt/transform.h
11273 do :
11274 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11275 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11276 # include <libxslt/pattern.h>
11277 #endif
11279 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11280 cat >>confdefs.h <<_ACEOF
11281 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11282 _ACEOF
11286 done
11288 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11289 then
11290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11291 $as_echo_n "checking for -lxslt... " >&6; }
11292 if ${ac_cv_lib_soname_xslt+:} false; then :
11293 $as_echo_n "(cached) " >&6
11294 else
11295 ac_check_soname_save_LIBS=$LIBS
11296 LIBS="-lxslt $XSLT_LIBS $LIBS"
11297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11298 /* end confdefs.h. */
11300 /* Override any GCC internal prototype to avoid an error.
11301 Use char because int might match the return type of a GCC
11302 builtin and then its argument prototype would still apply. */
11303 #ifdef __cplusplus
11304 extern "C"
11305 #endif
11306 char xsltCompilePattern ();
11308 main ()
11310 return xsltCompilePattern ();
11312 return 0;
11314 _ACEOF
11315 if ac_fn_c_try_link "$LINENO"; then :
11316 case "$LIBEXT" in
11317 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11318 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'` ;;
11319 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11320 if ${ac_cv_lib_soname_xslt:+false} :; then :
11321 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11322 fi ;;
11323 esac
11325 rm -f core conftest.err conftest.$ac_objext \
11326 conftest$ac_exeext conftest.$ac_ext
11327 LIBS=$ac_check_soname_save_LIBS
11329 if ${ac_cv_lib_soname_xslt:+false} :; then :
11330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11331 $as_echo "not found" >&6; }
11333 else
11334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11335 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11337 cat >>confdefs.h <<_ACEOF
11338 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11339 _ACEOF
11343 else
11344 XSLT_CFLAGS=""
11346 CPPFLAGS=$ac_save_CPPFLAGS
11347 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11348 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11351 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11352 case "x$with_xslt" in
11353 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11354 xno) ;;
11355 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11356 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11357 esac
11361 if test "x$with_dbus" != "xno"
11362 then
11363 if ${DBUS_CFLAGS:+false} :; then :
11364 if ${PKG_CONFIG+:} false; then :
11365 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11369 if ${DBUS_LIBS:+false} :; then :
11370 if ${PKG_CONFIG+:} false; then :
11371 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11376 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11377 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11378 ac_save_CPPFLAGS=$CPPFLAGS
11379 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11380 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11381 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11383 $as_echo_n "checking for -ldbus-1... " >&6; }
11384 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11385 $as_echo_n "(cached) " >&6
11386 else
11387 ac_check_soname_save_LIBS=$LIBS
11388 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11390 /* end confdefs.h. */
11392 /* Override any GCC internal prototype to avoid an error.
11393 Use char because int might match the return type of a GCC
11394 builtin and then its argument prototype would still apply. */
11395 #ifdef __cplusplus
11396 extern "C"
11397 #endif
11398 char dbus_connection_close ();
11400 main ()
11402 return dbus_connection_close ();
11404 return 0;
11406 _ACEOF
11407 if ac_fn_c_try_link "$LINENO"; then :
11408 case "$LIBEXT" in
11409 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11410 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'` ;;
11411 *) 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'`
11412 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11413 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11414 fi ;;
11415 esac
11417 rm -f core conftest.err conftest.$ac_objext \
11418 conftest$ac_exeext conftest.$ac_ext
11419 LIBS=$ac_check_soname_save_LIBS
11421 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11423 $as_echo "not found" >&6; }
11424 DBUS_CFLAGS=""
11425 else
11426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11427 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11429 cat >>confdefs.h <<_ACEOF
11430 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11431 _ACEOF
11435 else
11436 DBUS_CFLAGS=""
11440 CPPFLAGS=$ac_save_CPPFLAGS
11441 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11442 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11445 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11446 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11447 case "x$with_dbus" in
11448 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11449 xno) ;;
11450 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11451 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11452 esac
11456 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11457 then
11458 if ${HAL_CFLAGS:+false} :; then :
11459 if ${PKG_CONFIG+:} false; then :
11460 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11464 if ${HAL_LIBS:+false} :; then :
11465 if ${PKG_CONFIG+:} false; then :
11466 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11470 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11471 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11472 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11473 ac_save_CPPFLAGS=$CPPFLAGS
11474 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11475 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11476 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11478 $as_echo_n "checking for -lhal... " >&6; }
11479 if ${ac_cv_lib_soname_hal+:} false; then :
11480 $as_echo_n "(cached) " >&6
11481 else
11482 ac_check_soname_save_LIBS=$LIBS
11483 LIBS="-lhal $HAL_LIBS $LIBS"
11484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11485 /* end confdefs.h. */
11487 /* Override any GCC internal prototype to avoid an error.
11488 Use char because int might match the return type of a GCC
11489 builtin and then its argument prototype would still apply. */
11490 #ifdef __cplusplus
11491 extern "C"
11492 #endif
11493 char libhal_ctx_new ();
11495 main ()
11497 return libhal_ctx_new ();
11499 return 0;
11501 _ACEOF
11502 if ac_fn_c_try_link "$LINENO"; then :
11503 case "$LIBEXT" in
11504 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11505 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'` ;;
11506 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11507 if ${ac_cv_lib_soname_hal:+false} :; then :
11508 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11509 fi ;;
11510 esac
11512 rm -f core conftest.err conftest.$ac_objext \
11513 conftest$ac_exeext conftest.$ac_ext
11514 LIBS=$ac_check_soname_save_LIBS
11516 if ${ac_cv_lib_soname_hal:+false} :; then :
11517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11518 $as_echo "not found" >&6; }
11519 HAL_CFLAGS=""
11520 else
11521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11522 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11524 cat >>confdefs.h <<_ACEOF
11525 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11526 _ACEOF
11530 else
11531 HAL_CFLAGS=""
11535 CPPFLAGS=$ac_save_CPPFLAGS
11536 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11537 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11539 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11540 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11541 case "x$with_hal" in
11542 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11543 xno) ;;
11544 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11545 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11546 esac
11551 if test "x$with_gnutls" != "xno"
11552 then
11553 if ${GNUTLS_CFLAGS:+false} :; then :
11554 if ${PKG_CONFIG+:} false; then :
11555 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11559 if ${GNUTLS_LIBS:+false} :; then :
11560 if ${PKG_CONFIG+:} false; then :
11561 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11566 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11567 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11568 ac_save_CPPFLAGS=$CPPFLAGS
11569 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11570 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11571 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11573 /* end confdefs.h. */
11574 #include <gnutls/gnutls.h>
11575 #include <gnutls/crypto.h>
11577 main ()
11579 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11581 return 0;
11583 _ACEOF
11584 if ac_fn_c_try_compile "$LINENO"; then :
11585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11586 $as_echo_n "checking for -lgnutls... " >&6; }
11587 if ${ac_cv_lib_soname_gnutls+:} false; then :
11588 $as_echo_n "(cached) " >&6
11589 else
11590 ac_check_soname_save_LIBS=$LIBS
11591 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11593 /* end confdefs.h. */
11595 /* Override any GCC internal prototype to avoid an error.
11596 Use char because int might match the return type of a GCC
11597 builtin and then its argument prototype would still apply. */
11598 #ifdef __cplusplus
11599 extern "C"
11600 #endif
11601 char gnutls_global_init ();
11603 main ()
11605 return gnutls_global_init ();
11607 return 0;
11609 _ACEOF
11610 if ac_fn_c_try_link "$LINENO"; then :
11611 case "$LIBEXT" in
11612 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11613 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'` ;;
11614 *) 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'`
11615 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11616 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'`
11617 fi ;;
11618 esac
11620 rm -f core conftest.err conftest.$ac_objext \
11621 conftest$ac_exeext conftest.$ac_ext
11622 LIBS=$ac_check_soname_save_LIBS
11624 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11626 $as_echo "not found" >&6; }
11627 GNUTLS_CFLAGS=""
11628 else
11629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11630 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11632 cat >>confdefs.h <<_ACEOF
11633 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11634 _ACEOF
11638 ac_wine_check_funcs_save_LIBS="$LIBS"
11639 LIBS="$LIBS $GNUTLS_LIBS"
11640 for ac_func in gnutls_hash
11641 do :
11642 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11643 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11644 cat >>confdefs.h <<_ACEOF
11645 #define HAVE_GNUTLS_HASH 1
11646 _ACEOF
11648 else
11649 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11651 done
11653 LIBS="$ac_wine_check_funcs_save_LIBS"
11655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11656 else
11657 GNUTLS_CFLAGS=""
11661 CPPFLAGS=$ac_save_CPPFLAGS
11662 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11663 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11666 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11667 case "x$with_gnutls" in
11668 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11669 xno) ;;
11670 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11671 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11672 esac
11676 CURSES_LIBS=""
11677 if test "$ac_cv_header_ncurses_h" = "yes"
11678 then
11679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11680 $as_echo_n "checking for -lncurses... " >&6; }
11681 if ${ac_cv_lib_soname_ncurses+:} false; then :
11682 $as_echo_n "(cached) " >&6
11683 else
11684 ac_check_soname_save_LIBS=$LIBS
11685 LIBS="-lncurses $LIBS"
11686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11687 /* end confdefs.h. */
11689 /* Override any GCC internal prototype to avoid an error.
11690 Use char because int might match the return type of a GCC
11691 builtin and then its argument prototype would still apply. */
11692 #ifdef __cplusplus
11693 extern "C"
11694 #endif
11695 char waddch ();
11697 main ()
11699 return waddch ();
11701 return 0;
11703 _ACEOF
11704 if ac_fn_c_try_link "$LINENO"; then :
11705 case "$LIBEXT" in
11706 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11707 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'` ;;
11708 *) 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'`
11709 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11710 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11711 fi ;;
11712 esac
11714 rm -f core conftest.err conftest.$ac_objext \
11715 conftest$ac_exeext conftest.$ac_ext
11716 LIBS=$ac_check_soname_save_LIBS
11718 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11720 $as_echo "not found" >&6; }
11722 else
11723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11724 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11726 cat >>confdefs.h <<_ACEOF
11727 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11728 _ACEOF
11730 CURSES_LIBS="-lncurses"
11732 elif test "$ac_cv_header_curses_h" = "yes"
11733 then
11734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11735 $as_echo_n "checking for -lcurses... " >&6; }
11736 if ${ac_cv_lib_soname_curses+:} false; then :
11737 $as_echo_n "(cached) " >&6
11738 else
11739 ac_check_soname_save_LIBS=$LIBS
11740 LIBS="-lcurses $LIBS"
11741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11742 /* end confdefs.h. */
11744 /* Override any GCC internal prototype to avoid an error.
11745 Use char because int might match the return type of a GCC
11746 builtin and then its argument prototype would still apply. */
11747 #ifdef __cplusplus
11748 extern "C"
11749 #endif
11750 char waddch ();
11752 main ()
11754 return waddch ();
11756 return 0;
11758 _ACEOF
11759 if ac_fn_c_try_link "$LINENO"; then :
11760 case "$LIBEXT" in
11761 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11762 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'` ;;
11763 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11764 if ${ac_cv_lib_soname_curses:+false} :; then :
11765 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11766 fi ;;
11767 esac
11769 rm -f core conftest.err conftest.$ac_objext \
11770 conftest$ac_exeext conftest.$ac_ext
11771 LIBS=$ac_check_soname_save_LIBS
11773 if ${ac_cv_lib_soname_curses:+false} :; then :
11774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11775 $as_echo "not found" >&6; }
11777 else
11778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11779 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11781 cat >>confdefs.h <<_ACEOF
11782 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11783 _ACEOF
11785 CURSES_LIBS="-lcurses"
11788 ac_save_LIBS="$LIBS"
11789 LIBS="$LIBS $CURSES_LIBS"
11790 for ac_func in mousemask
11791 do :
11792 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11793 if test "x$ac_cv_func_mousemask" = xyes; then :
11794 cat >>confdefs.h <<_ACEOF
11795 #define HAVE_MOUSEMASK 1
11796 _ACEOF
11799 done
11801 LIBS="$ac_save_LIBS"
11802 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11803 case "x$with_curses" in
11804 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11805 xno) ;;
11806 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11807 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11808 esac
11812 if test "x$with_sane" != "xno"
11813 then
11814 if ${SANE_CFLAGS:+false} :; then :
11815 if ${PKG_CONFIG+:} false; then :
11816 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11819 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11820 if ${SANE_LIBS:+false} :; then :
11821 if ${PKG_CONFIG+:} false; then :
11822 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11825 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11827 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11828 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11829 ac_save_CPPFLAGS=$CPPFLAGS
11830 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11831 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11832 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11834 $as_echo_n "checking for -lsane... " >&6; }
11835 if ${ac_cv_lib_soname_sane+:} false; then :
11836 $as_echo_n "(cached) " >&6
11837 else
11838 ac_check_soname_save_LIBS=$LIBS
11839 LIBS="-lsane $SANE_LIBS $LIBS"
11840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11841 /* end confdefs.h. */
11843 /* Override any GCC internal prototype to avoid an error.
11844 Use char because int might match the return type of a GCC
11845 builtin and then its argument prototype would still apply. */
11846 #ifdef __cplusplus
11847 extern "C"
11848 #endif
11849 char sane_init ();
11851 main ()
11853 return sane_init ();
11855 return 0;
11857 _ACEOF
11858 if ac_fn_c_try_link "$LINENO"; then :
11859 case "$LIBEXT" in
11860 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11861 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'` ;;
11862 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11863 if ${ac_cv_lib_soname_sane:+false} :; then :
11864 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11865 fi ;;
11866 esac
11868 rm -f core conftest.err conftest.$ac_objext \
11869 conftest$ac_exeext conftest.$ac_ext
11870 LIBS=$ac_check_soname_save_LIBS
11872 if ${ac_cv_lib_soname_sane:+false} :; then :
11873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11874 $as_echo "not found" >&6; }
11875 SANE_CFLAGS=""
11876 else
11877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11878 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11880 cat >>confdefs.h <<_ACEOF
11881 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11882 _ACEOF
11886 else
11887 SANE_CFLAGS=""
11891 CPPFLAGS=$ac_save_CPPFLAGS
11892 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11893 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11896 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11897 case "x$with_sane" in
11898 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11899 xno) ;;
11900 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11901 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11902 esac
11906 if test "x$with_v4l" != "xno"
11907 then
11908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11909 $as_echo_n "checking for -lv4l1... " >&6; }
11910 if ${ac_cv_lib_soname_v4l1+:} false; then :
11911 $as_echo_n "(cached) " >&6
11912 else
11913 ac_check_soname_save_LIBS=$LIBS
11914 LIBS="-lv4l1 $LIBS"
11915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11916 /* end confdefs.h. */
11918 /* Override any GCC internal prototype to avoid an error.
11919 Use char because int might match the return type of a GCC
11920 builtin and then its argument prototype would still apply. */
11921 #ifdef __cplusplus
11922 extern "C"
11923 #endif
11924 char v4l1_open ();
11926 main ()
11928 return v4l1_open ();
11930 return 0;
11932 _ACEOF
11933 if ac_fn_c_try_link "$LINENO"; then :
11934 case "$LIBEXT" in
11935 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11936 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'` ;;
11937 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11938 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11939 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11940 fi ;;
11941 esac
11943 rm -f core conftest.err conftest.$ac_objext \
11944 conftest$ac_exeext conftest.$ac_ext
11945 LIBS=$ac_check_soname_save_LIBS
11947 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11949 $as_echo "not found" >&6; }
11951 else
11952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11953 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11955 cat >>confdefs.h <<_ACEOF
11956 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11957 _ACEOF
11962 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11963 case "x$with_v4l" in
11964 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11965 xno) ;;
11966 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11967 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11968 esac
11972 if test "x$with_gphoto" != "xno"
11973 then
11974 if ${GPHOTO2_CFLAGS:+false} :; then :
11975 if ${PKG_CONFIG+:} false; then :
11976 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11979 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
11980 if ${GPHOTO2_LIBS:+false} :; then :
11981 if ${PKG_CONFIG+:} false; then :
11982 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11985 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
11986 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11987 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11988 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11989 ac_save_CPPFLAGS=$CPPFLAGS
11990 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11991 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11992 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11994 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11995 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11996 $as_echo_n "(cached) " >&6
11997 else
11998 ac_check_lib_save_LIBS=$LIBS
11999 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12001 /* end confdefs.h. */
12003 /* Override any GCC internal prototype to avoid an error.
12004 Use char because int might match the return type of a GCC
12005 builtin and then its argument prototype would still apply. */
12006 #ifdef __cplusplus
12007 extern "C"
12008 #endif
12009 char gp_camera_new ();
12011 main ()
12013 return gp_camera_new ();
12015 return 0;
12017 _ACEOF
12018 if ac_fn_c_try_link "$LINENO"; then :
12019 ac_cv_lib_gphoto2_gp_camera_new=yes
12020 else
12021 ac_cv_lib_gphoto2_gp_camera_new=no
12023 rm -f core conftest.err conftest.$ac_objext \
12024 conftest$ac_exeext conftest.$ac_ext
12025 LIBS=$ac_check_lib_save_LIBS
12027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12028 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12029 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12031 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12033 else
12034 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12037 else
12038 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12042 CPPFLAGS=$ac_save_CPPFLAGS
12043 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12044 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12046 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12047 if ${PKG_CONFIG+:} false; then :
12048 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12051 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12052 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12053 if ${PKG_CONFIG+:} false; then :
12054 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12057 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12058 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12059 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12060 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12061 ac_save_CPPFLAGS=$CPPFLAGS
12062 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12063 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12064 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12066 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12067 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12068 $as_echo_n "(cached) " >&6
12069 else
12070 ac_check_lib_save_LIBS=$LIBS
12071 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12073 /* end confdefs.h. */
12075 /* Override any GCC internal prototype to avoid an error.
12076 Use char because int might match the return type of a GCC
12077 builtin and then its argument prototype would still apply. */
12078 #ifdef __cplusplus
12079 extern "C"
12080 #endif
12081 char gp_port_info_list_new ();
12083 main ()
12085 return gp_port_info_list_new ();
12087 return 0;
12089 _ACEOF
12090 if ac_fn_c_try_link "$LINENO"; then :
12091 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12092 else
12093 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12095 rm -f core conftest.err conftest.$ac_objext \
12096 conftest$ac_exeext conftest.$ac_ext
12097 LIBS=$ac_check_lib_save_LIBS
12099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12100 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12101 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12103 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12105 else
12106 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12109 else
12110 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12114 CPPFLAGS=$ac_save_CPPFLAGS
12115 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12116 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12119 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12120 case "x$with_gphoto" in
12121 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12122 xno) ;;
12123 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12124 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12125 esac
12128 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12129 case "x$with_gphoto" in
12130 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12131 xno) ;;
12132 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12133 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12134 esac
12139 if test "$ac_cv_header_resolv_h" = "yes"
12140 then
12141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12142 $as_echo_n "checking for resolver library... " >&6; }
12143 if ${ac_cv_have_resolv+:} false; then :
12144 $as_echo_n "(cached) " >&6
12145 else
12146 ac_save_LIBS="$LIBS"
12147 for lib in '' -lresolv
12149 LIBS="$lib $ac_save_LIBS"
12150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12151 /* end confdefs.h. */
12152 #ifdef HAVE_NETINET_IN_H
12153 #include <netinet/in.h>
12154 #endif
12155 #include <resolv.h>
12157 main ()
12159 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12161 return 0;
12163 _ACEOF
12164 if ac_fn_c_try_link "$LINENO"; then :
12165 ac_cv_have_resolv=${lib:-"none required"}
12166 else
12167 ac_cv_have_resolv="not found"
12169 rm -f core conftest.err conftest.$ac_objext \
12170 conftest$ac_exeext conftest.$ac_ext
12171 test "x$ac_cv_have_resolv" = "xnot found" || break
12172 done
12173 LIBS="$ac_save_LIBS"
12175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12176 $as_echo "$ac_cv_have_resolv" >&6; }
12178 case "$ac_cv_have_resolv" in
12179 "not found") ;;
12180 "none required")
12182 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12185 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12187 RESOLV_LIBS=$ac_cv_have_resolv
12189 esac
12192 if test "x$with_cms" != "xno"
12193 then
12194 if ${LCMS2_CFLAGS:+false} :; then :
12195 if ${PKG_CONFIG+:} false; then :
12196 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12200 if ${LCMS2_LIBS:+false} :; then :
12201 if ${PKG_CONFIG+:} false; then :
12202 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12206 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12207 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12208 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12209 ac_save_CPPFLAGS=$CPPFLAGS
12210 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12211 for ac_header in lcms2.h
12212 do :
12213 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12214 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12215 cat >>confdefs.h <<_ACEOF
12216 #define HAVE_LCMS2_H 1
12217 _ACEOF
12221 done
12223 if test "$ac_cv_header_lcms2_h" = "yes"
12224 then
12225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12226 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12227 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12228 $as_echo_n "(cached) " >&6
12229 else
12230 ac_check_lib_save_LIBS=$LIBS
12231 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12233 /* end confdefs.h. */
12235 /* Override any GCC internal prototype to avoid an error.
12236 Use char because int might match the return type of a GCC
12237 builtin and then its argument prototype would still apply. */
12238 #ifdef __cplusplus
12239 extern "C"
12240 #endif
12241 char cmsOpenProfileFromFile ();
12243 main ()
12245 return cmsOpenProfileFromFile ();
12247 return 0;
12249 _ACEOF
12250 if ac_fn_c_try_link "$LINENO"; then :
12251 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12252 else
12253 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12255 rm -f core conftest.err conftest.$ac_objext \
12256 conftest$ac_exeext conftest.$ac_ext
12257 LIBS=$ac_check_lib_save_LIBS
12259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12260 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12261 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12263 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12265 else
12266 LCMS2_LIBS=""
12269 else
12270 LCMS2_CFLAGS=""
12271 LCMS2_LIBS=""
12273 CPPFLAGS=$ac_save_CPPFLAGS
12274 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12275 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12278 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12279 case "x$with_cms" in
12280 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12281 xno) ;;
12282 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12283 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12284 esac
12288 if test "x$with_freetype" != "xno"
12289 then
12290 if ${FREETYPE_CFLAGS:+false} :; then :
12291 if ${PKG_CONFIG+:} false; then :
12292 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12295 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12296 if ${FREETYPE_LIBS:+false} :; then :
12297 if ${PKG_CONFIG+:} false; then :
12298 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12301 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12302 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12303 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12304 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12305 ac_save_CPPFLAGS=$CPPFLAGS
12306 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12307 for ac_header in ft2build.h
12308 do :
12309 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12310 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12311 cat >>confdefs.h <<_ACEOF
12312 #define HAVE_FT2BUILD_H 1
12313 _ACEOF
12317 done
12319 if test "$ac_cv_header_ft2build_h" = "yes"
12320 then
12321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12322 $as_echo_n "checking for -lfreetype... " >&6; }
12323 if ${ac_cv_lib_soname_freetype+:} false; then :
12324 $as_echo_n "(cached) " >&6
12325 else
12326 ac_check_soname_save_LIBS=$LIBS
12327 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12329 /* end confdefs.h. */
12331 /* Override any GCC internal prototype to avoid an error.
12332 Use char because int might match the return type of a GCC
12333 builtin and then its argument prototype would still apply. */
12334 #ifdef __cplusplus
12335 extern "C"
12336 #endif
12337 char FT_Init_FreeType ();
12339 main ()
12341 return FT_Init_FreeType ();
12343 return 0;
12345 _ACEOF
12346 if ac_fn_c_try_link "$LINENO"; then :
12347 case "$LIBEXT" in
12348 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12349 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'` ;;
12350 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12351 if ${ac_cv_lib_soname_freetype:+false} :; then :
12352 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12353 fi ;;
12354 esac
12356 rm -f core conftest.err conftest.$ac_objext \
12357 conftest$ac_exeext conftest.$ac_ext
12358 LIBS=$ac_check_soname_save_LIBS
12360 if ${ac_cv_lib_soname_freetype:+false} :; then :
12361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12362 $as_echo "not found" >&6; }
12363 FREETYPE_LIBS=""
12364 else
12365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12366 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12368 cat >>confdefs.h <<_ACEOF
12369 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12370 _ACEOF
12373 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12375 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12376 #include FT_MODULE_H
12378 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12380 cat >>confdefs.h <<_ACEOF
12381 #define HAVE_FT_TRUETYPEENGINETYPE 1
12382 _ACEOF
12388 else
12389 FREETYPE_CFLAGS=""
12390 FREETYPE_LIBS=""
12392 CPPFLAGS=$ac_save_CPPFLAGS
12393 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12394 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12397 if test "x$ac_cv_lib_soname_freetype" = x; then :
12398 case "x$with_freetype" in
12399 xno) ;;
12400 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12401 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12402 esac
12403 enable_fonts=${enable_fonts:-no}
12406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12407 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12408 if ${ac_cv_c_ppdev+:} false; then :
12409 $as_echo_n "(cached) " >&6
12410 else
12411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12412 /* end confdefs.h. */
12413 #ifdef HAVE_SYS_IOCTL_H
12414 # include <sys/ioctl.h>
12415 #endif
12416 #include <linux/ppdev.h>
12418 main ()
12420 ioctl (1,PPCLAIM,0)
12422 return 0;
12424 _ACEOF
12425 if ac_fn_c_try_compile "$LINENO"; then :
12426 ac_cv_c_ppdev="yes"
12427 else
12428 ac_cv_c_ppdev="no"
12430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12433 $as_echo "$ac_cv_c_ppdev" >&6; }
12434 if test "$ac_cv_c_ppdev" = "yes"
12435 then
12437 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12441 ac_wine_check_funcs_save_LIBS="$LIBS"
12442 LIBS="$LIBS $PTHREAD_LIBS"
12443 for ac_func in \
12444 pthread_attr_get_np \
12445 pthread_getattr_np \
12446 pthread_getthreadid_np \
12447 pthread_get_stackaddr_np \
12448 pthread_get_stacksize_np
12449 do :
12450 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12451 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12452 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12453 cat >>confdefs.h <<_ACEOF
12454 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12455 _ACEOF
12458 done
12460 LIBS="$ac_wine_check_funcs_save_LIBS"
12462 if test "$ac_cv_header_zlib_h" = "yes"
12463 then
12464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12465 $as_echo_n "checking for inflate in -lz... " >&6; }
12466 if ${ac_cv_lib_z_inflate+:} false; then :
12467 $as_echo_n "(cached) " >&6
12468 else
12469 ac_check_lib_save_LIBS=$LIBS
12470 LIBS="-lz $LIBS"
12471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12472 /* end confdefs.h. */
12474 /* Override any GCC internal prototype to avoid an error.
12475 Use char because int might match the return type of a GCC
12476 builtin and then its argument prototype would still apply. */
12477 #ifdef __cplusplus
12478 extern "C"
12479 #endif
12480 char inflate ();
12482 main ()
12484 return inflate ();
12486 return 0;
12488 _ACEOF
12489 if ac_fn_c_try_link "$LINENO"; then :
12490 ac_cv_lib_z_inflate=yes
12491 else
12492 ac_cv_lib_z_inflate=no
12494 rm -f core conftest.err conftest.$ac_objext \
12495 conftest$ac_exeext conftest.$ac_ext
12496 LIBS=$ac_check_lib_save_LIBS
12498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12499 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12500 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12502 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12504 Z_LIBS="-lz"
12509 if test "x$Z_LIBS" = "x"; then :
12510 case "x$with_zlib" in
12511 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12512 xno) ;;
12513 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12514 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12515 esac
12519 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12520 then
12521 if test "$ac_cv_header_gettext_po_h" = "yes"
12522 then
12523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12524 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12525 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12526 $as_echo_n "(cached) " >&6
12527 else
12528 ac_check_lib_save_LIBS=$LIBS
12529 LIBS="-lgettextpo $LIBS"
12530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12531 /* end confdefs.h. */
12533 /* Override any GCC internal prototype to avoid an error.
12534 Use char because int might match the return type of a GCC
12535 builtin and then its argument prototype would still apply. */
12536 #ifdef __cplusplus
12537 extern "C"
12538 #endif
12539 char po_message_msgctxt ();
12541 main ()
12543 return po_message_msgctxt ();
12545 return 0;
12547 _ACEOF
12548 if ac_fn_c_try_link "$LINENO"; then :
12549 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12550 else
12551 ac_cv_lib_gettextpo_po_message_msgctxt=no
12553 rm -f core conftest.err conftest.$ac_objext \
12554 conftest$ac_exeext conftest.$ac_ext
12555 LIBS=$ac_check_lib_save_LIBS
12557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12558 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12559 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12561 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12563 GETTEXTPO_LIBS="-lgettextpo"
12568 if test "x$GETTEXTPO_LIBS" = "x"; then :
12569 case "x$with_gettextpo" in
12570 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12571 xno) ;;
12572 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12573 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12574 esac
12577 if test "$srcdir" != .; then :
12578 case "x$with_gettextpo" in
12579 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12580 xno) ;;
12581 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12582 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12583 esac
12588 if test "x$with_pulse" != "xno";
12589 then
12590 if ${PULSE_CFLAGS:+false} :; then :
12591 if ${PKG_CONFIG+:} false; then :
12592 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12596 if ${PULSE_LIBS:+false} :; then :
12597 if ${PKG_CONFIG+:} false; then :
12598 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12603 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12604 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12605 ac_save_CPPFLAGS=$CPPFLAGS
12606 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12607 for ac_header in pulse/pulseaudio.h
12608 do :
12609 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12610 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12611 cat >>confdefs.h <<_ACEOF
12612 #define HAVE_PULSE_PULSEAUDIO_H 1
12613 _ACEOF
12614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12615 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12616 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12617 $as_echo_n "(cached) " >&6
12618 else
12619 ac_check_lib_save_LIBS=$LIBS
12620 LIBS="-lpulse $PULSE_LIBS $LIBS"
12621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12622 /* end confdefs.h. */
12624 /* Override any GCC internal prototype to avoid an error.
12625 Use char because int might match the return type of a GCC
12626 builtin and then its argument prototype would still apply. */
12627 #ifdef __cplusplus
12628 extern "C"
12629 #endif
12630 char pa_stream_is_corked ();
12632 main ()
12634 return pa_stream_is_corked ();
12636 return 0;
12638 _ACEOF
12639 if ac_fn_c_try_link "$LINENO"; then :
12640 ac_cv_lib_pulse_pa_stream_is_corked=yes
12641 else
12642 ac_cv_lib_pulse_pa_stream_is_corked=no
12644 rm -f core conftest.err conftest.$ac_objext \
12645 conftest$ac_exeext conftest.$ac_ext
12646 LIBS=$ac_check_lib_save_LIBS
12648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12649 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12650 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12652 else
12653 PULSE_LIBS=""
12656 else
12657 PULSE_LIBS=""
12660 done
12662 CPPFLAGS=$ac_save_CPPFLAGS
12663 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12664 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12667 if test -z "$PULSE_LIBS"; then :
12668 case "x$with_pulse" in
12669 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12670 xno) ;;
12671 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12672 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12673 esac
12674 enable_winepulse_drv=${enable_winepulse_drv:-no}
12677 if test "x$with_gstreamer" != "xno"
12678 then
12679 if ${GSTREAMER_CFLAGS:+false} :; then :
12680 if ${PKG_CONFIG+:} false; then :
12681 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12685 if ${GSTREAMER_LIBS:+false} :; then :
12686 if ${PKG_CONFIG+:} false; then :
12687 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12692 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12693 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12694 ac_save_CPPFLAGS=$CPPFLAGS
12695 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12696 ac_gst_incl=""
12697 for i in $GSTREAMER_CFLAGS
12699 case "$i" in
12700 -I*) ac_gst_incl="$ac_gst_incl $i";;
12701 esac
12702 done
12703 GSTREAMER_CFLAGS=$ac_gst_incl
12704 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12705 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12706 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12708 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12710 /* end confdefs.h. */
12711 #include <gst/gst.h>
12713 main ()
12715 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12717 return 0;
12719 _ACEOF
12720 if ac_fn_c_try_compile "$LINENO"; then :
12721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12722 $as_echo "yes" >&6; }
12723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12724 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12725 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12726 $as_echo_n "(cached) " >&6
12727 else
12728 ac_check_lib_save_LIBS=$LIBS
12729 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12731 /* end confdefs.h. */
12733 /* Override any GCC internal prototype to avoid an error.
12734 Use char because int might match the return type of a GCC
12735 builtin and then its argument prototype would still apply. */
12736 #ifdef __cplusplus
12737 extern "C"
12738 #endif
12739 char gst_pad_new ();
12741 main ()
12743 return gst_pad_new ();
12745 return 0;
12747 _ACEOF
12748 if ac_fn_c_try_link "$LINENO"; then :
12749 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12750 else
12751 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12753 rm -f core conftest.err conftest.$ac_objext \
12754 conftest$ac_exeext conftest.$ac_ext
12755 LIBS=$ac_check_lib_save_LIBS
12757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12758 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12759 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12763 else
12764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12765 $as_echo "no" >&6; }
12766 ac_glib2_broken=yes
12767 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12773 CPPFLAGS=$ac_save_CPPFLAGS
12774 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12775 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12778 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 :
12779 case "x$with_gstreamer" in
12780 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12781 xno) ;;
12782 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12783 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12784 esac
12787 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12789 ALSA_LIBS=""
12791 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12792 then
12793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12794 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12795 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12796 $as_echo_n "(cached) " >&6
12797 else
12798 ac_check_lib_save_LIBS=$LIBS
12799 LIBS="-lasound $LIBS"
12800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12801 /* end confdefs.h. */
12803 /* Override any GCC internal prototype to avoid an error.
12804 Use char because int might match the return type of a GCC
12805 builtin and then its argument prototype would still apply. */
12806 #ifdef __cplusplus
12807 extern "C"
12808 #endif
12809 char snd_pcm_hw_params_get_access_mask ();
12811 main ()
12813 return snd_pcm_hw_params_get_access_mask ();
12815 return 0;
12817 _ACEOF
12818 if ac_fn_c_try_link "$LINENO"; then :
12819 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12820 else
12821 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12823 rm -f core conftest.err conftest.$ac_objext \
12824 conftest$ac_exeext conftest.$ac_ext
12825 LIBS=$ac_check_lib_save_LIBS
12827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12828 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12829 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12831 /* end confdefs.h. */
12832 #ifdef HAVE_ALSA_ASOUNDLIB_H
12833 #include <alsa/asoundlib.h>
12834 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12835 #include <sys/asoundlib.h>
12836 #endif
12838 main ()
12840 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12842 return 0;
12844 _ACEOF
12845 if ac_fn_c_try_compile "$LINENO"; then :
12846 ALSA_LIBS="-lasound"
12848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12852 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12854 if test "x$with_oss" != xno
12855 then
12856 ac_save_CPPFLAGS="$CPPFLAGS"
12857 if test -f /etc/oss.conf
12858 then
12859 . /etc/oss.conf
12861 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12862 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12863 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12864 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12865 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12867 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12869 cat >>confdefs.h <<_ACEOF
12870 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12871 _ACEOF
12873 OSS4_CFLAGS="$ac_oss_incl"
12880 CPPFLAGS="$ac_save_CPPFLAGS"
12882 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
12883 case "x$with_oss" in
12884 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
12885 xno) ;;
12886 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
12887 This is an error since --with-oss was requested." "$LINENO" 5 ;;
12888 esac
12889 enable_wineoss_drv=${enable_wineoss_drv:-no}
12892 if test "x$with_capi" != "xno"
12893 then
12894 if ${CAPI20_CFLAGS:+false} :; then :
12895 if ${PKG_CONFIG+:} false; then :
12896 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12900 if ${CAPI20_LIBS:+false} :; then :
12901 if ${PKG_CONFIG+:} false; then :
12902 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12907 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12908 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12909 ac_save_CPPFLAGS=$CPPFLAGS
12910 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12911 for ac_header in capi20.h linux/capi.h
12912 do :
12913 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12914 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12916 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12917 cat >>confdefs.h <<_ACEOF
12918 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12919 _ACEOF
12923 done
12925 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12926 then
12927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12928 $as_echo_n "checking for -lcapi20... " >&6; }
12929 if ${ac_cv_lib_soname_capi20+:} false; then :
12930 $as_echo_n "(cached) " >&6
12931 else
12932 ac_check_soname_save_LIBS=$LIBS
12933 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12935 /* end confdefs.h. */
12937 /* Override any GCC internal prototype to avoid an error.
12938 Use char because int might match the return type of a GCC
12939 builtin and then its argument prototype would still apply. */
12940 #ifdef __cplusplus
12941 extern "C"
12942 #endif
12943 char capi20_register ();
12945 main ()
12947 return capi20_register ();
12949 return 0;
12951 _ACEOF
12952 if ac_fn_c_try_link "$LINENO"; then :
12953 case "$LIBEXT" in
12954 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12955 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'` ;;
12956 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12957 if ${ac_cv_lib_soname_capi20:+false} :; then :
12958 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12959 fi ;;
12960 esac
12962 rm -f core conftest.err conftest.$ac_objext \
12963 conftest$ac_exeext conftest.$ac_ext
12964 LIBS=$ac_check_soname_save_LIBS
12966 if ${ac_cv_lib_soname_capi20:+false} :; then :
12967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12968 $as_echo "not found" >&6; }
12970 else
12971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12972 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12974 cat >>confdefs.h <<_ACEOF
12975 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12976 _ACEOF
12981 CPPFLAGS=$ac_save_CPPFLAGS
12982 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12983 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12986 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12987 case "x$with_capi" in
12988 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12989 xno) ;;
12990 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12991 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12992 esac
12996 CUPS_CFLAGS=""
12998 if test "x$with_cups" != "xno"
12999 then
13000 ac_save_CPPFLAGS="$CPPFLAGS"
13001 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13002 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13003 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
13004 for ac_header in cups/cups.h
13005 do :
13006 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13007 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
13008 cat >>confdefs.h <<_ACEOF
13009 #define HAVE_CUPS_CUPS_H 1
13010 _ACEOF
13011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13012 $as_echo_n "checking for -lcups... " >&6; }
13013 if ${ac_cv_lib_soname_cups+:} false; then :
13014 $as_echo_n "(cached) " >&6
13015 else
13016 ac_check_soname_save_LIBS=$LIBS
13017 LIBS="-lcups $ac_cups_libs $LIBS"
13018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13019 /* end confdefs.h. */
13021 /* Override any GCC internal prototype to avoid an error.
13022 Use char because int might match the return type of a GCC
13023 builtin and then its argument prototype would still apply. */
13024 #ifdef __cplusplus
13025 extern "C"
13026 #endif
13027 char cupsGetDefault ();
13029 main ()
13031 return cupsGetDefault ();
13033 return 0;
13035 _ACEOF
13036 if ac_fn_c_try_link "$LINENO"; then :
13037 case "$LIBEXT" in
13038 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13039 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'` ;;
13040 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13041 if ${ac_cv_lib_soname_cups:+false} :; then :
13042 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13043 fi ;;
13044 esac
13046 rm -f core conftest.err conftest.$ac_objext \
13047 conftest$ac_exeext conftest.$ac_ext
13048 LIBS=$ac_check_soname_save_LIBS
13050 if ${ac_cv_lib_soname_cups:+false} :; then :
13051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13052 $as_echo "not found" >&6; }
13054 else
13055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13056 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13058 cat >>confdefs.h <<_ACEOF
13059 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13060 _ACEOF
13062 CUPS_CFLAGS="$ac_cups_cflags"
13064 for ac_header in cups/ppd.h
13065 do :
13066 ac_fn_c_check_header_mongrel "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13067 if test "x$ac_cv_header_cups_ppd_h" = xyes; then :
13068 cat >>confdefs.h <<_ACEOF
13069 #define HAVE_CUPS_PPD_H 1
13070 _ACEOF
13074 done
13078 done
13080 CPPFLAGS="$ac_save_CPPFLAGS"
13082 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13083 case "x$with_cups" in
13084 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13085 xno) ;;
13086 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13087 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13088 esac
13092 if test "x$with_fontconfig" != "xno"
13093 then
13094 if ${FONTCONFIG_CFLAGS:+false} :; then :
13095 if ${PKG_CONFIG+:} false; then :
13096 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13099 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13100 if ${FONTCONFIG_LIBS:+false} :; then :
13101 if ${PKG_CONFIG+:} false; then :
13102 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13105 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13107 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13108 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13109 ac_save_CPPFLAGS=$CPPFLAGS
13110 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13111 for ac_header in fontconfig/fontconfig.h
13112 do :
13113 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13114 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13115 cat >>confdefs.h <<_ACEOF
13116 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13117 _ACEOF
13121 done
13123 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13124 then
13125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13126 $as_echo_n "checking for -lfontconfig... " >&6; }
13127 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13128 $as_echo_n "(cached) " >&6
13129 else
13130 ac_check_soname_save_LIBS=$LIBS
13131 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13133 /* end confdefs.h. */
13135 /* Override any GCC internal prototype to avoid an error.
13136 Use char because int might match the return type of a GCC
13137 builtin and then its argument prototype would still apply. */
13138 #ifdef __cplusplus
13139 extern "C"
13140 #endif
13141 char FcInit ();
13143 main ()
13145 return FcInit ();
13147 return 0;
13149 _ACEOF
13150 if ac_fn_c_try_link "$LINENO"; then :
13151 case "$LIBEXT" in
13152 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13153 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'` ;;
13154 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13155 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13156 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13157 fi ;;
13158 esac
13160 rm -f core conftest.err conftest.$ac_objext \
13161 conftest$ac_exeext conftest.$ac_ext
13162 LIBS=$ac_check_soname_save_LIBS
13164 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13166 $as_echo "not found" >&6; }
13167 FONTCONFIG_CFLAGS=""
13168 else
13169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13170 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13172 cat >>confdefs.h <<_ACEOF
13173 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13174 _ACEOF
13178 else
13179 FONTCONFIG_CFLAGS=""
13181 CPPFLAGS=$ac_save_CPPFLAGS
13182 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13183 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13186 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13187 case "x$with_fontconfig" in
13188 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13189 xno) ;;
13190 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13191 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13192 esac
13196 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13197 then
13198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13199 $as_echo_n "checking for -lgsm... " >&6; }
13200 if ${ac_cv_lib_soname_gsm+:} false; then :
13201 $as_echo_n "(cached) " >&6
13202 else
13203 ac_check_soname_save_LIBS=$LIBS
13204 LIBS="-lgsm $LIBS"
13205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13206 /* end confdefs.h. */
13208 /* Override any GCC internal prototype to avoid an error.
13209 Use char because int might match the return type of a GCC
13210 builtin and then its argument prototype would still apply. */
13211 #ifdef __cplusplus
13212 extern "C"
13213 #endif
13214 char gsm_create ();
13216 main ()
13218 return gsm_create ();
13220 return 0;
13222 _ACEOF
13223 if ac_fn_c_try_link "$LINENO"; then :
13224 case "$LIBEXT" in
13225 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13226 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'` ;;
13227 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13228 if ${ac_cv_lib_soname_gsm:+false} :; then :
13229 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13230 fi ;;
13231 esac
13233 rm -f core conftest.err conftest.$ac_objext \
13234 conftest$ac_exeext conftest.$ac_ext
13235 LIBS=$ac_check_soname_save_LIBS
13237 if ${ac_cv_lib_soname_gsm:+false} :; then :
13238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13239 $as_echo "not found" >&6; }
13241 else
13242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13243 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13245 cat >>confdefs.h <<_ACEOF
13246 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13247 _ACEOF
13252 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13253 case "x$with_gsm" in
13254 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13255 xno) ;;
13256 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13257 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13258 esac
13262 if test "x$with_jpeg" != "xno"
13263 then
13264 if ${JPEG_CFLAGS:+false} :; then :
13265 if ${PKG_CONFIG+:} false; then :
13266 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13270 if ${JPEG_LIBS:+false} :; then :
13271 if ${PKG_CONFIG+:} false; then :
13272 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13277 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13278 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13279 ac_save_CPPFLAGS=$CPPFLAGS
13280 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13281 for ac_header in jpeglib.h
13282 do :
13283 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13284 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13285 cat >>confdefs.h <<_ACEOF
13286 #define HAVE_JPEGLIB_H 1
13287 _ACEOF
13291 done
13293 if test "$ac_cv_header_jpeglib_h" = "yes"
13294 then
13295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13296 $as_echo_n "checking for -ljpeg... " >&6; }
13297 if ${ac_cv_lib_soname_jpeg+:} false; then :
13298 $as_echo_n "(cached) " >&6
13299 else
13300 ac_check_soname_save_LIBS=$LIBS
13301 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13303 /* end confdefs.h. */
13305 /* Override any GCC internal prototype to avoid an error.
13306 Use char because int might match the return type of a GCC
13307 builtin and then its argument prototype would still apply. */
13308 #ifdef __cplusplus
13309 extern "C"
13310 #endif
13311 char jpeg_start_decompress ();
13313 main ()
13315 return jpeg_start_decompress ();
13317 return 0;
13319 _ACEOF
13320 if ac_fn_c_try_link "$LINENO"; then :
13321 case "$LIBEXT" in
13322 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13323 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'` ;;
13324 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13325 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13326 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13327 fi ;;
13328 esac
13330 rm -f core conftest.err conftest.$ac_objext \
13331 conftest$ac_exeext conftest.$ac_ext
13332 LIBS=$ac_check_soname_save_LIBS
13334 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13336 $as_echo "not found" >&6; }
13337 JPEG_CFLAGS=""
13338 else
13339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13340 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13342 cat >>confdefs.h <<_ACEOF
13343 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13344 _ACEOF
13348 else
13349 JPEG_CFLAGS=""
13351 CPPFLAGS=$ac_save_CPPFLAGS
13352 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13353 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13356 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13357 case "x$with_jpeg" in
13358 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13359 xno) ;;
13360 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13361 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13362 esac
13366 if test "x$with_png" != "xno"
13367 then
13368 if ${PNG_CFLAGS:+false} :; then :
13369 if ${PKG_CONFIG+:} false; then :
13370 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13373 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13374 if ${PNG_LIBS:+false} :; then :
13375 if ${PKG_CONFIG+:} false; then :
13376 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13379 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13381 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13382 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13383 ac_save_CPPFLAGS=$CPPFLAGS
13384 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13385 for ac_header in png.h
13386 do :
13387 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13388 if test "x$ac_cv_header_png_h" = xyes; then :
13389 cat >>confdefs.h <<_ACEOF
13390 #define HAVE_PNG_H 1
13391 _ACEOF
13395 done
13397 if test "$ac_cv_header_png_h" = "yes"
13398 then
13399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13400 $as_echo_n "checking for -lpng... " >&6; }
13401 if ${ac_cv_lib_soname_png+:} false; then :
13402 $as_echo_n "(cached) " >&6
13403 else
13404 ac_check_soname_save_LIBS=$LIBS
13405 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13407 /* end confdefs.h. */
13409 /* Override any GCC internal prototype to avoid an error.
13410 Use char because int might match the return type of a GCC
13411 builtin and then its argument prototype would still apply. */
13412 #ifdef __cplusplus
13413 extern "C"
13414 #endif
13415 char png_create_read_struct ();
13417 main ()
13419 return png_create_read_struct ();
13421 return 0;
13423 _ACEOF
13424 if ac_fn_c_try_link "$LINENO"; then :
13425 case "$LIBEXT" in
13426 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13427 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'` ;;
13428 *) 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'`
13429 if ${ac_cv_lib_soname_png:+false} :; then :
13430 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13431 fi ;;
13432 esac
13434 rm -f core conftest.err conftest.$ac_objext \
13435 conftest$ac_exeext conftest.$ac_ext
13436 LIBS=$ac_check_soname_save_LIBS
13438 if ${ac_cv_lib_soname_png:+false} :; then :
13439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13440 $as_echo "not found" >&6; }
13441 PNG_CFLAGS=""
13442 else
13443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13444 $as_echo "$ac_cv_lib_soname_png" >&6; }
13446 cat >>confdefs.h <<_ACEOF
13447 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13448 _ACEOF
13450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13451 /* end confdefs.h. */
13452 #include <png.h>
13454 main ()
13456 typeof(png_set_expand_gray_1_2_4_to_8) *p
13458 return 0;
13460 _ACEOF
13461 if ac_fn_c_try_compile "$LINENO"; then :
13463 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13468 else
13469 PNG_CFLAGS=""
13471 CPPFLAGS=$ac_save_CPPFLAGS
13472 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13473 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13476 if test "x$ac_cv_lib_soname_png" = "x"; then :
13477 case "x$with_png" in
13478 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13479 xno) ;;
13480 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13481 This is an error since --with-png was requested." "$LINENO" 5 ;;
13482 esac
13486 if test "x$with_tiff" != "xno"
13487 then
13488 if ${TIFF_CFLAGS:+false} :; then :
13489 if ${PKG_CONFIG+:} false; then :
13490 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13494 if ${TIFF_LIBS:+false} :; then :
13495 if ${PKG_CONFIG+:} false; then :
13496 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13501 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13502 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13503 ac_save_CPPFLAGS=$CPPFLAGS
13504 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13505 for ac_header in tiffio.h
13506 do :
13507 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13508 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13509 cat >>confdefs.h <<_ACEOF
13510 #define HAVE_TIFFIO_H 1
13511 _ACEOF
13515 done
13517 if test "$ac_cv_header_tiffio_h" = "yes"
13518 then
13519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13520 $as_echo_n "checking for -ltiff... " >&6; }
13521 if ${ac_cv_lib_soname_tiff+:} false; then :
13522 $as_echo_n "(cached) " >&6
13523 else
13524 ac_check_soname_save_LIBS=$LIBS
13525 LIBS="-ltiff $TIFF_LIBS $LIBS"
13526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13527 /* end confdefs.h. */
13529 /* Override any GCC internal prototype to avoid an error.
13530 Use char because int might match the return type of a GCC
13531 builtin and then its argument prototype would still apply. */
13532 #ifdef __cplusplus
13533 extern "C"
13534 #endif
13535 char TIFFClientOpen ();
13537 main ()
13539 return TIFFClientOpen ();
13541 return 0;
13543 _ACEOF
13544 if ac_fn_c_try_link "$LINENO"; then :
13545 case "$LIBEXT" in
13546 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13547 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'` ;;
13548 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13549 if ${ac_cv_lib_soname_tiff:+false} :; then :
13550 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13551 fi ;;
13552 esac
13554 rm -f core conftest.err conftest.$ac_objext \
13555 conftest$ac_exeext conftest.$ac_ext
13556 LIBS=$ac_check_soname_save_LIBS
13558 if ${ac_cv_lib_soname_tiff:+false} :; then :
13559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13560 $as_echo "not found" >&6; }
13562 else
13563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13564 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13566 cat >>confdefs.h <<_ACEOF
13567 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13568 _ACEOF
13573 CPPFLAGS=$ac_save_CPPFLAGS
13574 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13575 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13578 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13579 case "x$with_tiff" in
13580 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13581 xno) ;;
13582 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13583 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13584 esac
13588 if test "x$with_mpg123" != "xno"
13589 then
13590 if ${MPG123_CFLAGS:+false} :; then :
13591 if ${PKG_CONFIG+:} false; then :
13592 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13596 if ${MPG123_LIBS:+false} :; then :
13597 if ${PKG_CONFIG+:} false; then :
13598 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13602 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13603 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13604 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13605 ac_save_CPPFLAGS=$CPPFLAGS
13606 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13607 for ac_header in mpg123.h
13608 do :
13609 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13610 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13611 cat >>confdefs.h <<_ACEOF
13612 #define HAVE_MPG123_H 1
13613 _ACEOF
13617 done
13619 if test "$ac_cv_header_mpg123_h" = "yes"
13620 then
13621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13622 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13623 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13624 $as_echo_n "(cached) " >&6
13625 else
13626 ac_check_lib_save_LIBS=$LIBS
13627 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13629 /* end confdefs.h. */
13631 /* Override any GCC internal prototype to avoid an error.
13632 Use char because int might match the return type of a GCC
13633 builtin and then its argument prototype would still apply. */
13634 #ifdef __cplusplus
13635 extern "C"
13636 #endif
13637 char mpg123_feed ();
13639 main ()
13641 return mpg123_feed ();
13643 return 0;
13645 _ACEOF
13646 if ac_fn_c_try_link "$LINENO"; then :
13647 ac_cv_lib_mpg123_mpg123_feed=yes
13648 else
13649 ac_cv_lib_mpg123_mpg123_feed=no
13651 rm -f core conftest.err conftest.$ac_objext \
13652 conftest$ac_exeext conftest.$ac_ext
13653 LIBS=$ac_check_lib_save_LIBS
13655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13656 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13657 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13659 else
13660 MPG123_LIBS=""
13663 else
13664 MPG123_CFLAGS=""
13665 MPG123_LIBS=""
13667 CPPFLAGS=$ac_save_CPPFLAGS
13668 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13669 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13672 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13673 case "x$with_mpg123" in
13674 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13675 xno) ;;
13676 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13677 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13678 esac
13679 enable_winemp3_acm=${enable_winemp3_acm:-no}
13682 if test "$ac_cv_header_AL_al_h" = "yes"
13683 then
13684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13685 $as_echo_n "checking for -lopenal... " >&6; }
13686 if ${ac_cv_lib_soname_openal+:} false; then :
13687 $as_echo_n "(cached) " >&6
13688 else
13689 ac_check_soname_save_LIBS=$LIBS
13690 LIBS="-lopenal $LIBS"
13691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13692 /* end confdefs.h. */
13694 /* Override any GCC internal prototype to avoid an error.
13695 Use char because int might match the return type of a GCC
13696 builtin and then its argument prototype would still apply. */
13697 #ifdef __cplusplus
13698 extern "C"
13699 #endif
13700 char alGetSource3i ();
13702 main ()
13704 return alGetSource3i ();
13706 return 0;
13708 _ACEOF
13709 if ac_fn_c_try_link "$LINENO"; then :
13710 case "$LIBEXT" in
13711 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13712 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'` ;;
13713 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13714 if ${ac_cv_lib_soname_openal:+false} :; then :
13715 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13716 fi ;;
13717 esac
13719 rm -f core conftest.err conftest.$ac_objext \
13720 conftest$ac_exeext conftest.$ac_ext
13721 LIBS=$ac_check_soname_save_LIBS
13723 if ${ac_cv_lib_soname_openal:+false} :; then :
13724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13725 $as_echo "not found" >&6; }
13727 else
13728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13729 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13731 cat >>confdefs.h <<_ACEOF
13732 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13733 _ACEOF
13735 OPENAL_LIBS="-lopenal"
13737 ac_cv_lib_openal=yes
13739 cat >>confdefs.h <<_ACEOF
13740 #define HAVE_OPENAL 1
13741 _ACEOF
13745 if test "x$ac_cv_lib_openal" != xyes; then :
13746 case "x$with_openal" in
13747 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13748 xno) ;;
13749 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13750 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13751 esac
13752 enable_openal32=${enable_openal32:-no}
13755 if test "x$ac_cv_lib_openal" = xyes
13756 then
13757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13758 $as_echo_n "checking for openal-soft... " >&6; }
13759 if ${ac_cv_have_openalsoft+:} false; then :
13760 $as_echo_n "(cached) " >&6
13761 else
13762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13763 /* end confdefs.h. */
13764 #include <AL/al.h>
13765 #include <AL/alc.h>
13766 #include <AL/alext.h>
13767 LPALCRENDERSAMPLESSOFT x;
13769 main ()
13773 return 0;
13775 _ACEOF
13776 if ac_fn_c_try_compile "$LINENO"; then :
13777 ac_cv_have_openalsoft=yes
13778 else
13779 ac_cv_have_openalsoft=no
13781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13784 $as_echo "$ac_cv_have_openalsoft" >&6; }
13786 if test "x$ac_cv_have_openalsoft" != xyes
13787 then
13788 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13789 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
13790 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
13791 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
13792 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
13793 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
13794 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
13795 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
13796 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
13797 enable_xapofx1_1=${enable_xapofx1_1:-no}
13798 enable_xapofx1_2=${enable_xapofx1_2:-no}
13799 enable_xapofx1_3=${enable_xapofx1_3:-no}
13800 enable_xapofx1_4=${enable_xapofx1_4:-no}
13801 enable_xapofx1_5=${enable_xapofx1_5:-no}
13802 enable_xaudio2_0=${enable_xaudio2_0:-no}
13803 enable_xaudio2_1=${enable_xaudio2_1:-no}
13804 enable_xaudio2_2=${enable_xaudio2_2:-no}
13805 enable_xaudio2_3=${enable_xaudio2_3:-no}
13806 enable_xaudio2_4=${enable_xaudio2_4:-no}
13807 enable_xaudio2_5=${enable_xaudio2_5:-no}
13808 enable_xaudio2_6=${enable_xaudio2_6:-no}
13809 enable_xaudio2_7=${enable_xaudio2_7:-no}
13810 enable_xaudio2_8=${enable_xaudio2_8:-no}
13811 enable_xaudio2_9=${enable_xaudio2_9:-no}
13814 if test "$ac_cv_header_kstat_h" = "yes"
13815 then
13816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13817 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13818 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13819 $as_echo_n "(cached) " >&6
13820 else
13821 ac_check_lib_save_LIBS=$LIBS
13822 LIBS="-lkstat $LIBS"
13823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13824 /* end confdefs.h. */
13826 /* Override any GCC internal prototype to avoid an error.
13827 Use char because int might match the return type of a GCC
13828 builtin and then its argument prototype would still apply. */
13829 #ifdef __cplusplus
13830 extern "C"
13831 #endif
13832 char kstat_open ();
13834 main ()
13836 return kstat_open ();
13838 return 0;
13840 _ACEOF
13841 if ac_fn_c_try_link "$LINENO"; then :
13842 ac_cv_lib_kstat_kstat_open=yes
13843 else
13844 ac_cv_lib_kstat_kstat_open=no
13846 rm -f core conftest.err conftest.$ac_objext \
13847 conftest$ac_exeext conftest.$ac_ext
13848 LIBS=$ac_check_lib_save_LIBS
13850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13851 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13852 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13854 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13856 KSTAT_LIBS="-lkstat"
13862 if test "$ac_cv_header_libprocstat_h" = "yes"
13863 then
13864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13865 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13866 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13867 $as_echo_n "(cached) " >&6
13868 else
13869 ac_check_lib_save_LIBS=$LIBS
13870 LIBS="-lprocstat $LIBS"
13871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13872 /* end confdefs.h. */
13874 /* Override any GCC internal prototype to avoid an error.
13875 Use char because int might match the return type of a GCC
13876 builtin and then its argument prototype would still apply. */
13877 #ifdef __cplusplus
13878 extern "C"
13879 #endif
13880 char procstat_open_sysctl ();
13882 main ()
13884 return procstat_open_sysctl ();
13886 return 0;
13888 _ACEOF
13889 if ac_fn_c_try_link "$LINENO"; then :
13890 ac_cv_lib_procstat_procstat_open_sysctl=yes
13891 else
13892 ac_cv_lib_procstat_procstat_open_sysctl=no
13894 rm -f core conftest.err conftest.$ac_objext \
13895 conftest$ac_exeext conftest.$ac_ext
13896 LIBS=$ac_check_lib_save_LIBS
13898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13899 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13900 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13902 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13904 PROCSTAT_LIBS="-lprocstat"
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13911 $as_echo_n "checking for -lodbc... " >&6; }
13912 if ${ac_cv_lib_soname_odbc+:} false; then :
13913 $as_echo_n "(cached) " >&6
13914 else
13915 ac_check_soname_save_LIBS=$LIBS
13916 LIBS="-lodbc $LIBS"
13917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13918 /* end confdefs.h. */
13920 /* Override any GCC internal prototype to avoid an error.
13921 Use char because int might match the return type of a GCC
13922 builtin and then its argument prototype would still apply. */
13923 #ifdef __cplusplus
13924 extern "C"
13925 #endif
13926 char SQLConnect ();
13928 main ()
13930 return SQLConnect ();
13932 return 0;
13934 _ACEOF
13935 if ac_fn_c_try_link "$LINENO"; then :
13936 case "$LIBEXT" in
13937 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13938 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'` ;;
13939 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13940 if ${ac_cv_lib_soname_odbc:+false} :; then :
13941 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13942 fi ;;
13943 esac
13945 rm -f core conftest.err conftest.$ac_objext \
13946 conftest$ac_exeext conftest.$ac_ext
13947 LIBS=$ac_check_soname_save_LIBS
13949 if ${ac_cv_lib_soname_odbc:+false} :; then :
13950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13951 $as_echo "not found" >&6; }
13952 cat >>confdefs.h <<_ACEOF
13953 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13954 _ACEOF
13956 else
13957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13958 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13960 cat >>confdefs.h <<_ACEOF
13961 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13962 _ACEOF
13967 if test "x$with_netapi" != "xno"
13968 then
13969 if ${NETAPI_CFLAGS:+false} :; then :
13970 if ${PKG_CONFIG+:} false; then :
13971 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
13975 if ${NETAPI_LIBS:+false} :; then :
13976 if ${PKG_CONFIG+:} false; then :
13977 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
13982 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
13983 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
13984 ac_save_CPPFLAGS=$CPPFLAGS
13985 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
13986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13987 $as_echo_n "checking for -lnetapi... " >&6; }
13988 if ${ac_cv_lib_soname_netapi+:} false; then :
13989 $as_echo_n "(cached) " >&6
13990 else
13991 ac_check_soname_save_LIBS=$LIBS
13992 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
13993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13994 /* end confdefs.h. */
13996 /* Override any GCC internal prototype to avoid an error.
13997 Use char because int might match the return type of a GCC
13998 builtin and then its argument prototype would still apply. */
13999 #ifdef __cplusplus
14000 extern "C"
14001 #endif
14002 char libnetapi_init ();
14004 main ()
14006 return libnetapi_init ();
14008 return 0;
14010 _ACEOF
14011 if ac_fn_c_try_link "$LINENO"; then :
14012 case "$LIBEXT" in
14013 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14014 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'` ;;
14015 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14016 if ${ac_cv_lib_soname_netapi:+false} :; then :
14017 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14018 fi ;;
14019 esac
14021 rm -f core conftest.err conftest.$ac_objext \
14022 conftest$ac_exeext conftest.$ac_ext
14023 LIBS=$ac_check_soname_save_LIBS
14025 if ${ac_cv_lib_soname_netapi:+false} :; then :
14026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14027 $as_echo "not found" >&6; }
14028 cat >>confdefs.h <<_ACEOF
14029 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14030 _ACEOF
14032 else
14033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14034 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14036 cat >>confdefs.h <<_ACEOF
14037 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14038 _ACEOF
14042 CPPFLAGS=$ac_save_CPPFLAGS
14043 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14044 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14048 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
14049 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14050 then
14051 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14055 EXTRACFLAGS=""
14057 if test "x${GCC}" = "xyes"
14058 then
14059 EXTRACFLAGS="-Wall -pipe"
14061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14062 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14063 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14064 $as_echo_n "(cached) " >&6
14065 else
14066 if test "$cross_compiling" = yes; then :
14067 ac_cv_c_gcc_strength_bug="no"
14068 else
14069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14070 /* end confdefs.h. */
14071 int L[4] = {0,1,2,3};
14073 main ()
14075 static int Array[3];
14076 unsigned int B = 3;
14077 int i;
14078 for(i=0; i<B; i++) Array[i] = i - 3;
14079 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14080 L[i] = 4;
14081 return (Array[1] != -2 || L[2] != 3)
14083 return 0;
14085 _ACEOF
14086 if ac_fn_c_try_run "$LINENO"; then :
14087 ac_cv_c_gcc_strength_bug="no"
14088 else
14089 ac_cv_c_gcc_strength_bug="yes"
14091 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14092 conftest.$ac_objext conftest.beam conftest.$ac_ext
14096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14097 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14098 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14099 then
14100 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14104 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14105 if ${ac_cv_cflags__fno_builtin+:} false; then :
14106 $as_echo_n "(cached) " >&6
14107 else
14108 ac_wine_try_cflags_saved=$CFLAGS
14109 CFLAGS="$CFLAGS -fno-builtin"
14110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14111 /* end confdefs.h. */
14112 int main(int argc, char **argv) { return 0; }
14113 _ACEOF
14114 if ac_fn_c_try_link "$LINENO"; then :
14115 ac_cv_cflags__fno_builtin=yes
14116 else
14117 ac_cv_cflags__fno_builtin=no
14119 rm -f core conftest.err conftest.$ac_objext \
14120 conftest$ac_exeext conftest.$ac_ext
14121 CFLAGS=$ac_wine_try_cflags_saved
14123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14124 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14125 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14126 BUILTINFLAG="-fno-builtin"
14129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14130 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14131 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14132 $as_echo_n "(cached) " >&6
14133 else
14134 ac_wine_try_cflags_saved=$CFLAGS
14135 CFLAGS="$CFLAGS -fno-strict-aliasing"
14136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14137 /* end confdefs.h. */
14138 int main(int argc, char **argv) { return 0; }
14139 _ACEOF
14140 if ac_fn_c_try_link "$LINENO"; then :
14141 ac_cv_cflags__fno_strict_aliasing=yes
14142 else
14143 ac_cv_cflags__fno_strict_aliasing=no
14145 rm -f core conftest.err conftest.$ac_objext \
14146 conftest$ac_exeext conftest.$ac_ext
14147 CFLAGS=$ac_wine_try_cflags_saved
14149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14150 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14151 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14152 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14155 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14156 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14157 $as_echo_n "(cached) " >&6
14158 else
14159 ac_wine_try_cflags_saved=$CFLAGS
14160 CFLAGS="$CFLAGS -fexcess-precision=standard"
14161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14162 /* end confdefs.h. */
14163 int main(int argc, char **argv) { return 0; }
14164 _ACEOF
14165 if ac_fn_c_try_link "$LINENO"; then :
14166 ac_cv_cflags__fexcess_precision_standard=yes
14167 else
14168 ac_cv_cflags__fexcess_precision_standard=no
14170 rm -f core conftest.err conftest.$ac_objext \
14171 conftest$ac_exeext conftest.$ac_ext
14172 CFLAGS=$ac_wine_try_cflags_saved
14174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14175 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14176 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14177 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14180 saved_CFLAGS=$CFLAGS
14181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14182 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14183 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14184 $as_echo_n "(cached) " >&6
14185 else
14186 ac_wine_try_cflags_saved=$CFLAGS
14187 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14189 /* end confdefs.h. */
14190 int main(int argc, char **argv) { return 0; }
14191 _ACEOF
14192 if ac_fn_c_try_link "$LINENO"; then :
14193 ac_cv_cflags__Werror_unknown_warning_option=yes
14194 else
14195 ac_cv_cflags__Werror_unknown_warning_option=no
14197 rm -f core conftest.err conftest.$ac_objext \
14198 conftest$ac_exeext conftest.$ac_ext
14199 CFLAGS=$ac_wine_try_cflags_saved
14201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14202 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14203 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14204 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14207 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14208 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14209 $as_echo_n "(cached) " >&6
14210 else
14211 ac_wine_try_cflags_saved=$CFLAGS
14212 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14214 /* end confdefs.h. */
14215 int main(int argc, char **argv) { return 0; }
14216 _ACEOF
14217 if ac_fn_c_try_link "$LINENO"; then :
14218 ac_cv_cflags__Wdeclaration_after_statement=yes
14219 else
14220 ac_cv_cflags__Wdeclaration_after_statement=no
14222 rm -f core conftest.err conftest.$ac_objext \
14223 conftest$ac_exeext conftest.$ac_ext
14224 CFLAGS=$ac_wine_try_cflags_saved
14226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14227 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14228 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14229 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14232 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14233 if ${ac_cv_cflags__Wempty_body+:} false; then :
14234 $as_echo_n "(cached) " >&6
14235 else
14236 ac_wine_try_cflags_saved=$CFLAGS
14237 CFLAGS="$CFLAGS -Wempty-body"
14238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14239 /* end confdefs.h. */
14240 int main(int argc, char **argv) { return 0; }
14241 _ACEOF
14242 if ac_fn_c_try_link "$LINENO"; then :
14243 ac_cv_cflags__Wempty_body=yes
14244 else
14245 ac_cv_cflags__Wempty_body=no
14247 rm -f core conftest.err conftest.$ac_objext \
14248 conftest$ac_exeext conftest.$ac_ext
14249 CFLAGS=$ac_wine_try_cflags_saved
14251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14252 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14253 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14254 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14257 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14258 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14259 $as_echo_n "(cached) " >&6
14260 else
14261 ac_wine_try_cflags_saved=$CFLAGS
14262 CFLAGS="$CFLAGS -Wignored-qualifiers"
14263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14264 /* end confdefs.h. */
14265 int main(int argc, char **argv) { return 0; }
14266 _ACEOF
14267 if ac_fn_c_try_link "$LINENO"; then :
14268 ac_cv_cflags__Wignored_qualifiers=yes
14269 else
14270 ac_cv_cflags__Wignored_qualifiers=no
14272 rm -f core conftest.err conftest.$ac_objext \
14273 conftest$ac_exeext conftest.$ac_ext
14274 CFLAGS=$ac_wine_try_cflags_saved
14276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14277 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14278 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14279 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14282 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14283 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14284 $as_echo_n "(cached) " >&6
14285 else
14286 ac_wine_try_cflags_saved=$CFLAGS
14287 CFLAGS="$CFLAGS -Wshift-overflow=2"
14288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14289 /* end confdefs.h. */
14290 int main(int argc, char **argv) { return 0; }
14291 _ACEOF
14292 if ac_fn_c_try_link "$LINENO"; then :
14293 ac_cv_cflags__Wshift_overflow_2=yes
14294 else
14295 ac_cv_cflags__Wshift_overflow_2=no
14297 rm -f core conftest.err conftest.$ac_objext \
14298 conftest$ac_exeext conftest.$ac_ext
14299 CFLAGS=$ac_wine_try_cflags_saved
14301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14302 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14303 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14304 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14307 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14308 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14309 $as_echo_n "(cached) " >&6
14310 else
14311 ac_wine_try_cflags_saved=$CFLAGS
14312 CFLAGS="$CFLAGS -Wstrict-prototypes"
14313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14314 /* end confdefs.h. */
14315 int main(int argc, char **argv) { return 0; }
14316 _ACEOF
14317 if ac_fn_c_try_link "$LINENO"; then :
14318 ac_cv_cflags__Wstrict_prototypes=yes
14319 else
14320 ac_cv_cflags__Wstrict_prototypes=no
14322 rm -f core conftest.err conftest.$ac_objext \
14323 conftest$ac_exeext conftest.$ac_ext
14324 CFLAGS=$ac_wine_try_cflags_saved
14326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14327 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14328 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14329 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14332 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14333 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14334 $as_echo_n "(cached) " >&6
14335 else
14336 ac_wine_try_cflags_saved=$CFLAGS
14337 CFLAGS="$CFLAGS -Wtype-limits"
14338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14339 /* end confdefs.h. */
14340 int main(int argc, char **argv) { return 0; }
14341 _ACEOF
14342 if ac_fn_c_try_link "$LINENO"; then :
14343 ac_cv_cflags__Wtype_limits=yes
14344 else
14345 ac_cv_cflags__Wtype_limits=no
14347 rm -f core conftest.err conftest.$ac_objext \
14348 conftest$ac_exeext conftest.$ac_ext
14349 CFLAGS=$ac_wine_try_cflags_saved
14351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14352 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14353 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14354 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14357 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14358 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14359 $as_echo_n "(cached) " >&6
14360 else
14361 ac_wine_try_cflags_saved=$CFLAGS
14362 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14364 /* end confdefs.h. */
14365 int main(int argc, char **argv) { return 0; }
14366 _ACEOF
14367 if ac_fn_c_try_link "$LINENO"; then :
14368 ac_cv_cflags__Wunused_but_set_parameter=yes
14369 else
14370 ac_cv_cflags__Wunused_but_set_parameter=no
14372 rm -f core conftest.err conftest.$ac_objext \
14373 conftest$ac_exeext conftest.$ac_ext
14374 CFLAGS=$ac_wine_try_cflags_saved
14376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14377 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14378 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14379 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14382 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14383 if ${ac_cv_cflags__Wvla+:} false; then :
14384 $as_echo_n "(cached) " >&6
14385 else
14386 ac_wine_try_cflags_saved=$CFLAGS
14387 CFLAGS="$CFLAGS -Wvla"
14388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14389 /* end confdefs.h. */
14390 int main(int argc, char **argv) { return 0; }
14391 _ACEOF
14392 if ac_fn_c_try_link "$LINENO"; then :
14393 ac_cv_cflags__Wvla=yes
14394 else
14395 ac_cv_cflags__Wvla=no
14397 rm -f core conftest.err conftest.$ac_objext \
14398 conftest$ac_exeext conftest.$ac_ext
14399 CFLAGS=$ac_wine_try_cflags_saved
14401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14402 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14403 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14404 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14407 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14408 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14409 $as_echo_n "(cached) " >&6
14410 else
14411 ac_wine_try_cflags_saved=$CFLAGS
14412 CFLAGS="$CFLAGS -Wwrite-strings"
14413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14414 /* end confdefs.h. */
14415 int main(int argc, char **argv) { return 0; }
14416 _ACEOF
14417 if ac_fn_c_try_link "$LINENO"; then :
14418 ac_cv_cflags__Wwrite_strings=yes
14419 else
14420 ac_cv_cflags__Wwrite_strings=no
14422 rm -f core conftest.err conftest.$ac_objext \
14423 conftest$ac_exeext conftest.$ac_ext
14424 CFLAGS=$ac_wine_try_cflags_saved
14426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14427 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14428 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14429 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14433 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14434 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14435 $as_echo_n "(cached) " >&6
14436 else
14437 ac_wine_try_cflags_saved=$CFLAGS
14438 CFLAGS="$CFLAGS -Wpointer-arith"
14439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14440 /* end confdefs.h. */
14441 int main(int argc, char **argv) { return 0; }
14442 _ACEOF
14443 if ac_fn_c_try_link "$LINENO"; then :
14444 ac_cv_cflags__Wpointer_arith=yes
14445 else
14446 ac_cv_cflags__Wpointer_arith=no
14448 rm -f core conftest.err conftest.$ac_objext \
14449 conftest$ac_exeext conftest.$ac_ext
14450 CFLAGS=$ac_wine_try_cflags_saved
14452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14453 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14454 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14455 saved_string_h_CFLAGS=$CFLAGS
14456 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14458 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14459 if ${ac_cv_c_string_h_warnings+:} false; then :
14460 $as_echo_n "(cached) " >&6
14461 else
14462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14463 /* end confdefs.h. */
14464 #include <string.h>
14466 main ()
14470 return 0;
14472 _ACEOF
14473 if ac_fn_c_try_compile "$LINENO"; then :
14474 ac_cv_c_string_h_warnings=no
14475 else
14476 ac_cv_c_string_h_warnings=yes
14478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14481 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14482 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14483 CFLAGS=$saved_string_h_CFLAGS
14486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14487 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14488 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14489 $as_echo_n "(cached) " >&6
14490 else
14491 ac_wine_try_cflags_saved=$CFLAGS
14492 CFLAGS="$CFLAGS -Wlogical-op"
14493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14494 /* end confdefs.h. */
14495 int main(int argc, char **argv) { return 0; }
14496 _ACEOF
14497 if ac_fn_c_try_link "$LINENO"; then :
14498 ac_cv_cflags__Wlogical_op=yes
14499 else
14500 ac_cv_cflags__Wlogical_op=no
14502 rm -f core conftest.err conftest.$ac_objext \
14503 conftest$ac_exeext conftest.$ac_ext
14504 CFLAGS=$ac_wine_try_cflags_saved
14506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14507 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14508 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14509 saved_string_h_CFLAGS=$CFLAGS
14510 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14512 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14513 if ${ac_cv_c_logicalop_noisy+:} false; then :
14514 $as_echo_n "(cached) " >&6
14515 else
14516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14517 /* end confdefs.h. */
14518 #include <string.h>
14519 char*f(const char *h,char n) {return strchr(h,n);}
14521 main ()
14525 return 0;
14527 _ACEOF
14528 if ac_fn_c_try_compile "$LINENO"; then :
14529 ac_cv_c_logicalop_noisy=no
14530 else
14531 ac_cv_c_logicalop_noisy=yes
14533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14536 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14537 CFLAGS=$saved_string_h_CFLAGS
14538 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14541 CFLAGS=$saved_CFLAGS
14543 for ac_flag in $CFLAGS; do
14544 case $ac_flag in
14545 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14546 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14547 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14548 $as_echo_n "(cached) " >&6
14549 else
14550 ac_wine_try_cflags_saved=$CFLAGS
14551 CFLAGS="$CFLAGS -gdwarf-2"
14552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14553 /* end confdefs.h. */
14554 int main(int argc, char **argv) { return 0; }
14555 _ACEOF
14556 if ac_fn_c_try_link "$LINENO"; then :
14557 ac_cv_cflags__gdwarf_2=yes
14558 else
14559 ac_cv_cflags__gdwarf_2=no
14561 rm -f core conftest.err conftest.$ac_objext \
14562 conftest$ac_exeext conftest.$ac_ext
14563 CFLAGS=$ac_wine_try_cflags_saved
14565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14566 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14567 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14568 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14571 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14572 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14573 $as_echo_n "(cached) " >&6
14574 else
14575 ac_wine_try_cflags_saved=$CFLAGS
14576 CFLAGS="$CFLAGS -gstrict-dwarf"
14577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14578 /* end confdefs.h. */
14579 int main(int argc, char **argv) { return 0; }
14580 _ACEOF
14581 if ac_fn_c_try_link "$LINENO"; then :
14582 ac_cv_cflags__gstrict_dwarf=yes
14583 else
14584 ac_cv_cflags__gstrict_dwarf=no
14586 rm -f core conftest.err conftest.$ac_objext \
14587 conftest$ac_exeext conftest.$ac_ext
14588 CFLAGS=$ac_wine_try_cflags_saved
14590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14591 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14592 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14593 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14594 fi ;;
14595 esac
14596 done
14598 case $host_cpu in
14599 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14600 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14601 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14602 $as_echo_n "(cached) " >&6
14603 else
14604 ac_wine_try_cflags_saved=$CFLAGS
14605 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14607 /* end confdefs.h. */
14608 int main(int argc, char **argv) { return 0; }
14609 _ACEOF
14610 if ac_fn_c_try_link "$LINENO"; then :
14611 ac_cv_cflags__fno_omit_frame_pointer=yes
14612 else
14613 ac_cv_cflags__fno_omit_frame_pointer=no
14615 rm -f core conftest.err conftest.$ac_objext \
14616 conftest$ac_exeext conftest.$ac_ext
14617 CFLAGS=$ac_wine_try_cflags_saved
14619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14620 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14621 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14622 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14623 fi ;;
14624 esac
14626 case $host in
14627 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14628 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14629 if ${ac_cv_cflags__Wno_format+:} false; then :
14630 $as_echo_n "(cached) " >&6
14631 else
14632 ac_wine_try_cflags_saved=$CFLAGS
14633 CFLAGS="$CFLAGS -Wno-format"
14634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14635 /* end confdefs.h. */
14636 int main(int argc, char **argv) { return 0; }
14637 _ACEOF
14638 if ac_fn_c_try_link "$LINENO"; then :
14639 ac_cv_cflags__Wno_format=yes
14640 else
14641 ac_cv_cflags__Wno_format=no
14643 rm -f core conftest.err conftest.$ac_objext \
14644 conftest$ac_exeext conftest.$ac_ext
14645 CFLAGS=$ac_wine_try_cflags_saved
14647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14648 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14649 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14650 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14651 fi ;;
14652 esac
14654 if test "x$enable_maintainer_mode" = "xyes"
14655 then
14656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14657 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14658 if ${ac_cv_cflags__Werror+:} false; then :
14659 $as_echo_n "(cached) " >&6
14660 else
14661 ac_wine_try_cflags_saved=$CFLAGS
14662 CFLAGS="$CFLAGS -Werror"
14663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14664 /* end confdefs.h. */
14665 int main(int argc, char **argv) { return 0; }
14666 _ACEOF
14667 if ac_fn_c_try_link "$LINENO"; then :
14668 ac_cv_cflags__Werror=yes
14669 else
14670 ac_cv_cflags__Werror=no
14672 rm -f core conftest.err conftest.$ac_objext \
14673 conftest$ac_exeext conftest.$ac_ext
14674 CFLAGS=$ac_wine_try_cflags_saved
14676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14677 $as_echo "$ac_cv_cflags__Werror" >&6; }
14678 if test "x$ac_cv_cflags__Werror" = xyes; then :
14679 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14683 saved_CFLAGS="$CFLAGS"
14684 CFLAGS="$CFLAGS -Werror"
14685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14686 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14687 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14688 $as_echo_n "(cached) " >&6
14689 else
14690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14691 /* end confdefs.h. */
14692 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14694 main ()
14698 return 0;
14700 _ACEOF
14701 if ac_fn_c_try_compile "$LINENO"; then :
14702 ac_cv_have_ms_hook_prologue="yes"
14703 else
14704 ac_cv_have_ms_hook_prologue="no"
14706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14709 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14710 CFLAGS="$saved_CFLAGS"
14711 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14712 then
14714 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14716 else
14717 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14724 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14725 if ${ac_cv_c_fortify_enabled+:} false; then :
14726 $as_echo_n "(cached) " >&6
14727 else
14728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14729 /* end confdefs.h. */
14730 #include <string.h>
14732 main ()
14734 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14735 #error Fortify enabled
14736 #endif
14738 return 0;
14740 _ACEOF
14741 if ac_fn_c_try_compile "$LINENO"; then :
14742 ac_cv_c_fortify_enabled=no
14743 else
14744 ac_cv_c_fortify_enabled=yes
14746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14749 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14750 if test "$ac_cv_c_fortify_enabled" = yes
14751 then
14752 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14757 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14758 if ${ac_cv_c_extern_prefix+:} false; then :
14759 $as_echo_n "(cached) " >&6
14760 else
14761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14762 /* end confdefs.h. */
14763 extern int ac_test;
14765 main ()
14767 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14769 return 0;
14771 _ACEOF
14772 if ac_fn_c_try_link "$LINENO"; then :
14773 ac_cv_c_extern_prefix="yes"
14774 else
14775 ac_cv_c_extern_prefix="no"
14777 rm -f core conftest.err conftest.$ac_objext \
14778 conftest$ac_exeext conftest.$ac_ext
14780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14781 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14783 case $host_cpu in
14784 *i[3456789]86*)
14785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14786 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14787 if ${ac_cv_c_stdcall_suffix+:} false; then :
14788 $as_echo_n "(cached) " >&6
14789 else
14790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14791 /* end confdefs.h. */
14792 #ifndef _MSC_VER
14793 #define __stdcall __attribute__((__stdcall__))
14794 #endif
14795 int __stdcall ac_test(int i) { return i; }
14797 main ()
14799 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14801 return 0;
14803 _ACEOF
14804 if ac_fn_c_try_link "$LINENO"; then :
14805 ac_cv_c_stdcall_suffix="yes"
14806 else
14807 ac_cv_c_stdcall_suffix="no"
14809 rm -f core conftest.err conftest.$ac_objext \
14810 conftest$ac_exeext conftest.$ac_ext
14812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14813 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14814 *) ac_cv_c_stdcall_suffix="no" ;;
14815 esac
14818 if test "$ac_cv_c_extern_prefix" = "yes"
14819 then
14820 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14822 asm_name_prefix="_"
14823 else
14824 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14826 asm_name_prefix=""
14830 if test "$ac_cv_c_stdcall_suffix" = "yes"
14831 then
14832 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14834 else
14835 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14841 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14842 if ${ac_cv_asm_func_def+:} false; then :
14843 $as_echo_n "(cached) " >&6
14844 else
14845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14846 /* end confdefs.h. */
14849 main ()
14851 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14853 return 0;
14855 _ACEOF
14856 if ac_fn_c_try_link "$LINENO"; then :
14857 ac_cv_asm_func_def=".def"
14858 else
14859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14860 /* end confdefs.h. */
14863 main ()
14865 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14867 return 0;
14869 _ACEOF
14870 if ac_fn_c_try_link "$LINENO"; then :
14871 ac_cv_asm_func_def=".type @function"
14872 else
14873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14874 /* end confdefs.h. */
14877 main ()
14879 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14881 return 0;
14883 _ACEOF
14884 if ac_fn_c_try_link "$LINENO"; then :
14885 ac_cv_asm_func_def=".type 2"
14886 else
14887 ac_cv_asm_func_def="unknown"
14889 rm -f core conftest.err conftest.$ac_objext \
14890 conftest$ac_exeext conftest.$ac_ext
14892 rm -f core conftest.err conftest.$ac_objext \
14893 conftest$ac_exeext conftest.$ac_ext
14895 rm -f core conftest.err conftest.$ac_objext \
14896 conftest$ac_exeext conftest.$ac_ext
14898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14899 $as_echo "$ac_cv_asm_func_def" >&6; }
14902 case "$ac_cv_asm_func_def" in
14903 ".def")
14904 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14906 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14907 ".type @function")
14908 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14910 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14911 ".type 2")
14912 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14914 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14916 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14918 asm_func_header="" ;;
14919 esac
14921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14922 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14923 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14924 $as_echo_n "(cached) " >&6
14925 else
14926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14927 /* end confdefs.h. */
14928 asm(".text\n\t.long 0");
14930 main ()
14934 return 0;
14936 _ACEOF
14937 if ac_fn_c_try_compile "$LINENO"; then :
14938 ac_cv_c_asm_outside_funcs="yes"
14939 else
14940 ac_cv_c_asm_outside_funcs="no"
14942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14945 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14948 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14949 if ${ac_cv_c_dot_previous+:} false; then :
14950 $as_echo_n "(cached) " >&6
14951 else
14952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14953 /* end confdefs.h. */
14956 main ()
14958 asm(".text\nac_test:\t.long 0\n\t.previous");
14960 return 0;
14962 _ACEOF
14963 if ac_fn_c_try_link "$LINENO"; then :
14964 ac_cv_c_dot_previous="yes"
14965 else
14966 ac_cv_c_dot_previous="no"
14968 rm -f core conftest.err conftest.$ac_objext \
14969 conftest$ac_exeext conftest.$ac_ext
14971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14972 $as_echo "$ac_cv_c_dot_previous" >&6; }
14974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14975 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14976 if ${ac_cv_c_cfi_support+:} false; then :
14977 $as_echo_n "(cached) " >&6
14978 else
14979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14980 /* end confdefs.h. */
14981 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14983 main ()
14987 return 0;
14989 _ACEOF
14990 if ac_fn_c_try_compile "$LINENO"; then :
14991 ac_cv_c_cfi_support="yes"
14992 else
14993 ac_cv_c_cfi_support="no"
14995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14998 $as_echo "$ac_cv_c_cfi_support" >&6; }
15000 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15001 asm_func_trailer=""
15002 if test "$ac_cv_c_dot_previous" = "yes"
15003 then
15004 asm_func_trailer="\\n\\t.previous"
15006 if test "$ac_cv_c_cfi_support" = "yes"
15007 then
15008 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15009 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15011 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15013 UNWINDFLAGS=-fasynchronous-unwind-tables
15015 else
15016 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15018 if test "x$enable_win64" = "xyes"
15019 then
15020 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15024 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15027 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15028 then
15029 cat >>confdefs.h <<_ACEOF
15030 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15031 _ACEOF
15033 else
15034 cat >>confdefs.h <<_ACEOF
15035 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15036 _ACEOF
15040 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15043 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15047 case $build_os in
15048 cygwin*|mingw32*) TOOLSEXT=".exe"
15050 esac
15052 case $host_os in
15053 linux-android*) ;;
15054 linux*)
15055 case $host_cpu in
15056 *i[3456789]86*|x86_64*)
15057 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15058 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15060 esac
15062 esac
15065 ac_save_CFLAGS="$CFLAGS"
15066 CFLAGS="$CFLAGS $BUILTINFLAG"
15067 for ac_func in \
15068 __res_get_state \
15069 __res_getservers \
15070 _finite \
15071 _isnan \
15072 _pclose \
15073 _popen \
15074 _snprintf \
15075 _spawnvp \
15076 _strdup \
15077 _stricmp \
15078 _strnicmp \
15079 _strtoi64 \
15080 _strtoui64 \
15081 _vsnprintf \
15082 asctime_r \
15083 chsize \
15084 dlopen \
15085 epoll_create \
15086 ffs \
15087 finitef \
15088 fnmatch \
15089 fork \
15090 fpclass \
15091 fstatfs \
15092 fstatvfs \
15093 ftruncate \
15094 futimens \
15095 futimes \
15096 futimesat \
15097 getattrlist \
15098 getopt_long_only \
15099 getpwuid \
15100 gettimeofday \
15101 getuid \
15102 if_nameindex \
15103 isnanf \
15104 kqueue \
15105 lstat \
15106 memmove \
15107 mmap \
15108 pclose \
15109 pipe2 \
15110 poll \
15111 popen \
15112 port_create \
15113 prctl \
15114 pread \
15115 proc_pidinfo \
15116 pwrite \
15117 readdir \
15118 readlink \
15119 sched_yield \
15120 select \
15121 setproctitle \
15122 setprogname \
15123 setrlimit \
15124 settimeofday \
15125 sigaltstack \
15126 sigprocmask \
15127 snprintf \
15128 statfs \
15129 statvfs \
15130 strcasecmp \
15131 strdup \
15132 strerror \
15133 strncasecmp \
15134 strtold \
15135 strtoll \
15136 strtoull \
15137 symlink \
15138 sysinfo \
15139 tcdrain \
15140 thr_kill2 \
15141 timegm \
15142 usleep \
15143 vsnprintf
15145 do :
15146 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15147 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15148 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15149 cat >>confdefs.h <<_ACEOF
15150 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15151 _ACEOF
15154 done
15156 CFLAGS="$ac_save_CFLAGS"
15158 if test "$ac_cv_func_dlopen" = no
15159 then
15160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15161 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15162 if ${ac_cv_lib_dl_dlopen+:} false; then :
15163 $as_echo_n "(cached) " >&6
15164 else
15165 ac_check_lib_save_LIBS=$LIBS
15166 LIBS="-ldl $LIBS"
15167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15168 /* end confdefs.h. */
15170 /* Override any GCC internal prototype to avoid an error.
15171 Use char because int might match the return type of a GCC
15172 builtin and then its argument prototype would still apply. */
15173 #ifdef __cplusplus
15174 extern "C"
15175 #endif
15176 char dlopen ();
15178 main ()
15180 return dlopen ();
15182 return 0;
15184 _ACEOF
15185 if ac_fn_c_try_link "$LINENO"; then :
15186 ac_cv_lib_dl_dlopen=yes
15187 else
15188 ac_cv_lib_dl_dlopen=no
15190 rm -f core conftest.err conftest.$ac_objext \
15191 conftest$ac_exeext conftest.$ac_ext
15192 LIBS=$ac_check_lib_save_LIBS
15194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15195 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15196 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15197 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15198 DL_LIBS="-ldl"
15203 ac_wine_check_funcs_save_LIBS="$LIBS"
15204 LIBS="$LIBS $DL_LIBS"
15205 for ac_func in dladdr
15206 do :
15207 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15208 if test "x$ac_cv_func_dladdr" = xyes; then :
15209 cat >>confdefs.h <<_ACEOF
15210 #define HAVE_DLADDR 1
15211 _ACEOF
15214 done
15216 LIBS="$ac_wine_check_funcs_save_LIBS"
15218 if test "$ac_cv_func_poll" = no
15219 then
15220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15221 $as_echo_n "checking for poll in -lpoll... " >&6; }
15222 if ${ac_cv_lib_poll_poll+:} false; then :
15223 $as_echo_n "(cached) " >&6
15224 else
15225 ac_check_lib_save_LIBS=$LIBS
15226 LIBS="-lpoll $LIBS"
15227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15228 /* end confdefs.h. */
15230 /* Override any GCC internal prototype to avoid an error.
15231 Use char because int might match the return type of a GCC
15232 builtin and then its argument prototype would still apply. */
15233 #ifdef __cplusplus
15234 extern "C"
15235 #endif
15236 char poll ();
15238 main ()
15240 return poll ();
15242 return 0;
15244 _ACEOF
15245 if ac_fn_c_try_link "$LINENO"; then :
15246 ac_cv_lib_poll_poll=yes
15247 else
15248 ac_cv_lib_poll_poll=no
15250 rm -f core conftest.err conftest.$ac_objext \
15251 conftest$ac_exeext conftest.$ac_ext
15252 LIBS=$ac_check_lib_save_LIBS
15254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15255 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15256 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15257 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15258 POLL_LIBS="-lpoll"
15264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15265 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15266 if ${ac_cv_search_gethostbyname+:} false; then :
15267 $as_echo_n "(cached) " >&6
15268 else
15269 ac_func_search_save_LIBS=$LIBS
15270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15271 /* end confdefs.h. */
15273 /* Override any GCC internal prototype to avoid an error.
15274 Use char because int might match the return type of a GCC
15275 builtin and then its argument prototype would still apply. */
15276 #ifdef __cplusplus
15277 extern "C"
15278 #endif
15279 char gethostbyname ();
15281 main ()
15283 return gethostbyname ();
15285 return 0;
15287 _ACEOF
15288 for ac_lib in '' nsl; do
15289 if test -z "$ac_lib"; then
15290 ac_res="none required"
15291 else
15292 ac_res=-l$ac_lib
15293 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15295 if ac_fn_c_try_link "$LINENO"; then :
15296 ac_cv_search_gethostbyname=$ac_res
15298 rm -f core conftest.err conftest.$ac_objext \
15299 conftest$ac_exeext
15300 if ${ac_cv_search_gethostbyname+:} false; then :
15301 break
15303 done
15304 if ${ac_cv_search_gethostbyname+:} false; then :
15306 else
15307 ac_cv_search_gethostbyname=no
15309 rm conftest.$ac_ext
15310 LIBS=$ac_func_search_save_LIBS
15312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15313 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15314 ac_res=$ac_cv_search_gethostbyname
15315 if test "$ac_res" != no; then :
15316 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15322 $as_echo_n "checking for library containing connect... " >&6; }
15323 if ${ac_cv_search_connect+:} false; then :
15324 $as_echo_n "(cached) " >&6
15325 else
15326 ac_func_search_save_LIBS=$LIBS
15327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15328 /* end confdefs.h. */
15330 /* Override any GCC internal prototype to avoid an error.
15331 Use char because int might match the return type of a GCC
15332 builtin and then its argument prototype would still apply. */
15333 #ifdef __cplusplus
15334 extern "C"
15335 #endif
15336 char connect ();
15338 main ()
15340 return connect ();
15342 return 0;
15344 _ACEOF
15345 for ac_lib in '' socket; do
15346 if test -z "$ac_lib"; then
15347 ac_res="none required"
15348 else
15349 ac_res=-l$ac_lib
15350 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15352 if ac_fn_c_try_link "$LINENO"; then :
15353 ac_cv_search_connect=$ac_res
15355 rm -f core conftest.err conftest.$ac_objext \
15356 conftest$ac_exeext
15357 if ${ac_cv_search_connect+:} false; then :
15358 break
15360 done
15361 if ${ac_cv_search_connect+:} false; then :
15363 else
15364 ac_cv_search_connect=no
15366 rm conftest.$ac_ext
15367 LIBS=$ac_func_search_save_LIBS
15369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15370 $as_echo "$ac_cv_search_connect" >&6; }
15371 ac_res=$ac_cv_search_connect
15372 if test "$ac_res" != no; then :
15373 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15379 $as_echo_n "checking for library containing inet_aton... " >&6; }
15380 if ${ac_cv_search_inet_aton+:} false; then :
15381 $as_echo_n "(cached) " >&6
15382 else
15383 ac_func_search_save_LIBS=$LIBS
15384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15385 /* end confdefs.h. */
15387 /* Override any GCC internal prototype to avoid an error.
15388 Use char because int might match the return type of a GCC
15389 builtin and then its argument prototype would still apply. */
15390 #ifdef __cplusplus
15391 extern "C"
15392 #endif
15393 char inet_aton ();
15395 main ()
15397 return inet_aton ();
15399 return 0;
15401 _ACEOF
15402 for ac_lib in '' resolv; do
15403 if test -z "$ac_lib"; then
15404 ac_res="none required"
15405 else
15406 ac_res=-l$ac_lib
15407 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15409 if ac_fn_c_try_link "$LINENO"; then :
15410 ac_cv_search_inet_aton=$ac_res
15412 rm -f core conftest.err conftest.$ac_objext \
15413 conftest$ac_exeext
15414 if ${ac_cv_search_inet_aton+:} false; then :
15415 break
15417 done
15418 if ${ac_cv_search_inet_aton+:} false; then :
15420 else
15421 ac_cv_search_inet_aton=no
15423 rm conftest.$ac_ext
15424 LIBS=$ac_func_search_save_LIBS
15426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15427 $as_echo "$ac_cv_search_inet_aton" >&6; }
15428 ac_res=$ac_cv_search_inet_aton
15429 if test "$ac_res" != no; then :
15430 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15435 for ac_func in \
15436 getaddrinfo \
15437 getnameinfo \
15438 getnetbyname \
15439 getprotobyname \
15440 getprotobynumber \
15441 getservbyport \
15442 inet_addr \
15443 inet_network \
15444 inet_ntop \
15445 inet_pton \
15446 sendmsg \
15447 socketpair \
15449 do :
15450 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15451 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15452 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15453 cat >>confdefs.h <<_ACEOF
15454 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15455 _ACEOF
15458 done
15461 ac_save_LIBS=$LIBS
15462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15463 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15464 if ${ac_cv_search_clock_gettime+:} false; then :
15465 $as_echo_n "(cached) " >&6
15466 else
15467 ac_func_search_save_LIBS=$LIBS
15468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15469 /* end confdefs.h. */
15471 /* Override any GCC internal prototype to avoid an error.
15472 Use char because int might match the return type of a GCC
15473 builtin and then its argument prototype would still apply. */
15474 #ifdef __cplusplus
15475 extern "C"
15476 #endif
15477 char clock_gettime ();
15479 main ()
15481 return clock_gettime ();
15483 return 0;
15485 _ACEOF
15486 for ac_lib in '' rt; do
15487 if test -z "$ac_lib"; then
15488 ac_res="none required"
15489 else
15490 ac_res=-l$ac_lib
15491 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15493 if ac_fn_c_try_link "$LINENO"; then :
15494 ac_cv_search_clock_gettime=$ac_res
15496 rm -f core conftest.err conftest.$ac_objext \
15497 conftest$ac_exeext
15498 if ${ac_cv_search_clock_gettime+:} false; then :
15499 break
15501 done
15502 if ${ac_cv_search_clock_gettime+:} false; then :
15504 else
15505 ac_cv_search_clock_gettime=no
15507 rm conftest.$ac_ext
15508 LIBS=$ac_func_search_save_LIBS
15510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15511 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15512 ac_res=$ac_cv_search_clock_gettime
15513 if test "$ac_res" != no; then :
15514 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15516 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15518 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15522 LIBS=$ac_save_LIBS
15524 LDAP_LIBS=""
15526 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15527 then
15528 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15530 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15532 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15533 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15534 $as_echo_n "(cached) " >&6
15535 else
15536 ac_check_lib_save_LIBS=$LIBS
15537 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15539 /* end confdefs.h. */
15541 /* Override any GCC internal prototype to avoid an error.
15542 Use char because int might match the return type of a GCC
15543 builtin and then its argument prototype would still apply. */
15544 #ifdef __cplusplus
15545 extern "C"
15546 #endif
15547 char ldap_initialize ();
15549 main ()
15551 return ldap_initialize ();
15553 return 0;
15555 _ACEOF
15556 if ac_fn_c_try_link "$LINENO"; then :
15557 ac_cv_lib_ldap_r_ldap_initialize=yes
15558 else
15559 ac_cv_lib_ldap_r_ldap_initialize=no
15561 rm -f core conftest.err conftest.$ac_objext \
15562 conftest$ac_exeext conftest.$ac_ext
15563 LIBS=$ac_check_lib_save_LIBS
15565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15566 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15567 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15569 $as_echo_n "checking for ber_init in -llber... " >&6; }
15570 if ${ac_cv_lib_lber_ber_init+:} false; then :
15571 $as_echo_n "(cached) " >&6
15572 else
15573 ac_check_lib_save_LIBS=$LIBS
15574 LIBS="-llber $PTHREAD_LIBS $LIBS"
15575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15576 /* end confdefs.h. */
15578 /* Override any GCC internal prototype to avoid an error.
15579 Use char because int might match the return type of a GCC
15580 builtin and then its argument prototype would still apply. */
15581 #ifdef __cplusplus
15582 extern "C"
15583 #endif
15584 char ber_init ();
15586 main ()
15588 return ber_init ();
15590 return 0;
15592 _ACEOF
15593 if ac_fn_c_try_link "$LINENO"; then :
15594 ac_cv_lib_lber_ber_init=yes
15595 else
15596 ac_cv_lib_lber_ber_init=no
15598 rm -f core conftest.err conftest.$ac_objext \
15599 conftest$ac_exeext conftest.$ac_ext
15600 LIBS=$ac_check_lib_save_LIBS
15602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15603 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15604 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15606 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15608 LDAP_LIBS="-lldap_r -llber"
15615 ac_wine_check_funcs_save_LIBS="$LIBS"
15616 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15617 for ac_func in \
15618 ldap_count_references \
15619 ldap_first_reference \
15620 ldap_next_reference \
15621 ldap_parse_reference \
15622 ldap_parse_sort_control \
15623 ldap_parse_sortresponse_control \
15624 ldap_parse_vlv_control \
15625 ldap_parse_vlvresponse_control
15626 do :
15627 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15628 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15629 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15630 cat >>confdefs.h <<_ACEOF
15631 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15632 _ACEOF
15635 done
15637 LIBS="$ac_wine_check_funcs_save_LIBS"
15639 if test "x$LDAP_LIBS" = "x"; then :
15640 case "x$with_ldap" in
15641 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15642 xno) ;;
15643 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15644 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15645 esac
15649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15650 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15651 if ${wine_cv_one_arg_mkdir+:} false; then :
15652 $as_echo_n "(cached) " >&6
15653 else
15654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15655 /* end confdefs.h. */
15656 #include <sys/stat.h>
15658 main ()
15660 mkdir("foo");
15662 return 0;
15664 _ACEOF
15665 if ac_fn_c_try_compile "$LINENO"; then :
15666 wine_cv_one_arg_mkdir=yes
15667 else
15668 wine_cv_one_arg_mkdir=no
15670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15673 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15674 if test "$wine_cv_one_arg_mkdir" = "yes"
15675 then
15677 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15682 $as_echo_n "checking for sched_setaffinity... " >&6; }
15683 if ${wine_cv_have_sched_setaffinity+:} false; then :
15684 $as_echo_n "(cached) " >&6
15685 else
15686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15687 /* end confdefs.h. */
15688 #define _GNU_SOURCE
15689 #include <sched.h>
15691 main ()
15693 sched_setaffinity(0, 0, 0);
15695 return 0;
15697 _ACEOF
15698 if ac_fn_c_try_link "$LINENO"; then :
15699 wine_cv_have_sched_setaffinity=yes
15700 else
15701 wine_cv_have_sched_setaffinity=no
15703 rm -f core conftest.err conftest.$ac_objext \
15704 conftest$ac_exeext conftest.$ac_ext
15706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15707 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15708 if test "$wine_cv_have_sched_setaffinity" = "yes"
15709 then
15711 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15716 $as_echo_n "checking for fallocate... " >&6; }
15717 if ${wine_cv_have_fallocate+:} false; then :
15718 $as_echo_n "(cached) " >&6
15719 else
15720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15721 /* end confdefs.h. */
15722 #define _GNU_SOURCE
15723 #include <fcntl.h>
15725 main ()
15727 fallocate(-1, 0, 0, 0);
15729 return 0;
15731 _ACEOF
15732 if ac_fn_c_try_link "$LINENO"; then :
15733 wine_cv_have_fallocate=yes
15734 else
15735 wine_cv_have_fallocate=no
15737 rm -f core conftest.err conftest.$ac_objext \
15738 conftest$ac_exeext conftest.$ac_ext
15740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15741 $as_echo "$wine_cv_have_fallocate" >&6; }
15742 if test "$wine_cv_have_fallocate" = "yes"
15743 then
15745 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15751 $as_echo_n "checking for inline... " >&6; }
15752 if ${ac_cv_c_inline+:} false; then :
15753 $as_echo_n "(cached) " >&6
15754 else
15755 ac_cv_c_inline=no
15756 for ac_kw in inline __inline__ __inline; do
15757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15758 /* end confdefs.h. */
15759 #ifndef __cplusplus
15760 typedef int foo_t;
15761 static $ac_kw foo_t static_foo () {return 0; }
15762 $ac_kw foo_t foo () {return 0; }
15763 #endif
15765 _ACEOF
15766 if ac_fn_c_try_compile "$LINENO"; then :
15767 ac_cv_c_inline=$ac_kw
15769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15770 test "$ac_cv_c_inline" != no && break
15771 done
15774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15775 $as_echo "$ac_cv_c_inline" >&6; }
15777 case $ac_cv_c_inline in
15778 inline | yes) ;;
15780 case $ac_cv_c_inline in
15781 no) ac_val=;;
15782 *) ac_val=$ac_cv_c_inline;;
15783 esac
15784 cat >>confdefs.h <<_ACEOF
15785 #ifndef __cplusplus
15786 #define inline $ac_val
15787 #endif
15788 _ACEOF
15790 esac
15792 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15793 if test "x$ac_cv_type_mode_t" = xyes; then :
15795 cat >>confdefs.h <<_ACEOF
15796 #define HAVE_MODE_T 1
15797 _ACEOF
15801 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15802 if test "x$ac_cv_type_off_t" = xyes; then :
15804 cat >>confdefs.h <<_ACEOF
15805 #define HAVE_OFF_T 1
15806 _ACEOF
15810 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15811 if test "x$ac_cv_type_pid_t" = xyes; then :
15813 cat >>confdefs.h <<_ACEOF
15814 #define HAVE_PID_T 1
15815 _ACEOF
15819 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15820 if test "x$ac_cv_type_size_t" = xyes; then :
15822 cat >>confdefs.h <<_ACEOF
15823 #define HAVE_SIZE_T 1
15824 _ACEOF
15828 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15829 if test "x$ac_cv_type_ssize_t" = xyes; then :
15831 cat >>confdefs.h <<_ACEOF
15832 #define HAVE_SSIZE_T 1
15833 _ACEOF
15837 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15838 if test "x$ac_cv_type_long_long" = xyes; then :
15840 cat >>confdefs.h <<_ACEOF
15841 #define HAVE_LONG_LONG 1
15842 _ACEOF
15846 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15847 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15849 cat >>confdefs.h <<_ACEOF
15850 #define HAVE_FSBLKCNT_T 1
15851 _ACEOF
15855 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15856 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15858 cat >>confdefs.h <<_ACEOF
15859 #define HAVE_FSFILCNT_T 1
15860 _ACEOF
15865 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15866 #include <signal.h>
15868 if test "x$ac_cv_type_sigset_t" = xyes; then :
15870 cat >>confdefs.h <<_ACEOF
15871 #define HAVE_SIGSET_T 1
15872 _ACEOF
15877 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15879 if test "x$ac_cv_type_request_sense" = xyes; then :
15881 cat >>confdefs.h <<_ACEOF
15882 #define HAVE_REQUEST_SENSE 1
15883 _ACEOF
15889 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15890 #ifdef HAVE_SYS_SOCKET_H
15891 #include <sys/socket.h>
15892 #endif
15893 #ifdef HAVE_SYS_SOCKETVAR_H
15894 #include <sys/socketvar.h>
15895 #endif
15896 #ifdef HAVE_NET_ROUTE_H
15897 #include <net/route.h>
15898 #endif
15899 #ifdef HAVE_NETINET_IN_H
15900 #include <netinet/in.h>
15901 #endif
15902 #ifdef HAVE_NETINET_IN_SYSTM_H
15903 #include <netinet/in_systm.h>
15904 #endif
15905 #ifdef HAVE_NETINET_IP_H
15906 #include <netinet/ip.h>
15907 #endif
15908 #ifdef HAVE_NETINET_IN_PCB_H
15909 #include <netinet/in_pcb.h>
15910 #endif
15912 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15914 cat >>confdefs.h <<_ACEOF
15915 #define HAVE_STRUCT_XINPGEN 1
15916 _ACEOF
15922 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15923 #include <link.h>
15924 #endif
15925 #ifdef HAVE_SYS_LINK_H
15926 #include <sys/link.h>
15927 #endif
15929 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15931 cat >>confdefs.h <<_ACEOF
15932 #define HAVE_STRUCT_R_DEBUG 1
15933 _ACEOF
15937 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15938 #include <link.h>
15939 #endif
15940 #ifdef HAVE_SYS_LINK_H
15941 #include <sys/link.h>
15942 #endif
15944 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15946 cat >>confdefs.h <<_ACEOF
15947 #define HAVE_STRUCT_LINK_MAP 1
15948 _ACEOF
15954 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15955 #include <linux/input.h>
15956 #endif
15958 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15960 cat >>confdefs.h <<_ACEOF
15961 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15962 _ACEOF
15968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15969 $as_echo_n "checking for sigaddset... " >&6; }
15970 if ${wine_cv_have_sigaddset+:} false; then :
15971 $as_echo_n "(cached) " >&6
15972 else
15973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15974 /* end confdefs.h. */
15975 #include <signal.h>
15977 main ()
15979 sigset_t set; sigaddset(&set,SIGTERM);
15981 return 0;
15983 _ACEOF
15984 if ac_fn_c_try_link "$LINENO"; then :
15985 wine_cv_have_sigaddset=yes
15986 else
15987 wine_cv_have_sigaddset=no
15989 rm -f core conftest.err conftest.$ac_objext \
15990 conftest$ac_exeext conftest.$ac_ext
15992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15993 $as_echo "$wine_cv_have_sigaddset" >&6; }
15994 if test "$wine_cv_have_sigaddset" = "yes"
15995 then
15997 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16003 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16004 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16005 $as_echo_n "(cached) " >&6
16006 else
16007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16008 /* end confdefs.h. */
16009 #include <netdb.h>
16011 main ()
16014 char *name=0;
16015 struct hostent he;
16016 struct hostent *result;
16017 char *buf=0;
16018 int bufsize=0;
16019 int errnr;
16020 char *addr=0;
16021 int addrlen=0;
16022 int addrtype=0;
16023 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16024 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16027 return 0;
16029 _ACEOF
16030 if ac_fn_c_try_link "$LINENO"; then :
16031 wine_cv_linux_gethostbyname_r_6=yes
16032 else
16033 wine_cv_linux_gethostbyname_r_6=no
16036 rm -f core conftest.err conftest.$ac_objext \
16037 conftest$ac_exeext conftest.$ac_ext
16040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16041 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16042 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16043 then
16045 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16049 if test "$ac_cv_header_linux_joystick_h" = "yes"
16050 then
16051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16052 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16053 if ${wine_cv_linux_joystick_22_api+:} false; then :
16054 $as_echo_n "(cached) " >&6
16055 else
16056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16057 /* end confdefs.h. */
16059 #include <sys/ioctl.h>
16060 #include <sys/types.h>
16061 #include <linux/joystick.h>
16063 struct js_event blub;
16064 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16065 #error "no 2.2 header"
16066 #endif
16069 main ()
16071 /*empty*/
16073 return 0;
16075 _ACEOF
16076 if ac_fn_c_try_compile "$LINENO"; then :
16077 wine_cv_linux_joystick_22_api=yes
16078 else
16079 wine_cv_linux_joystick_22_api=no
16081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16085 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16086 if test "$wine_cv_linux_joystick_22_api" = "yes"
16087 then
16089 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16095 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16096 #ifdef HAVE_SYS_PARAM_H
16097 # include <sys/param.h>
16098 #endif
16099 #ifdef HAVE_SYS_MOUNT_H
16100 # include <sys/mount.h>
16101 #endif
16102 #ifdef HAVE_SYS_VFS_H
16103 # include <sys/vfs.h>
16104 #endif
16105 #ifdef HAVE_SYS_STATFS_H
16106 # include <sys/statfs.h>
16107 #endif
16109 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16111 cat >>confdefs.h <<_ACEOF
16112 #define HAVE_STRUCT_STATFS_F_BFREE 1
16113 _ACEOF
16117 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16118 #ifdef HAVE_SYS_PARAM_H
16119 # include <sys/param.h>
16120 #endif
16121 #ifdef HAVE_SYS_MOUNT_H
16122 # include <sys/mount.h>
16123 #endif
16124 #ifdef HAVE_SYS_VFS_H
16125 # include <sys/vfs.h>
16126 #endif
16127 #ifdef HAVE_SYS_STATFS_H
16128 # include <sys/statfs.h>
16129 #endif
16131 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16133 cat >>confdefs.h <<_ACEOF
16134 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16135 _ACEOF
16139 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16140 #ifdef HAVE_SYS_PARAM_H
16141 # include <sys/param.h>
16142 #endif
16143 #ifdef HAVE_SYS_MOUNT_H
16144 # include <sys/mount.h>
16145 #endif
16146 #ifdef HAVE_SYS_VFS_H
16147 # include <sys/vfs.h>
16148 #endif
16149 #ifdef HAVE_SYS_STATFS_H
16150 # include <sys/statfs.h>
16151 #endif
16153 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16155 cat >>confdefs.h <<_ACEOF
16156 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16157 _ACEOF
16161 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16162 #ifdef HAVE_SYS_PARAM_H
16163 # include <sys/param.h>
16164 #endif
16165 #ifdef HAVE_SYS_MOUNT_H
16166 # include <sys/mount.h>
16167 #endif
16168 #ifdef HAVE_SYS_VFS_H
16169 # include <sys/vfs.h>
16170 #endif
16171 #ifdef HAVE_SYS_STATFS_H
16172 # include <sys/statfs.h>
16173 #endif
16175 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16177 cat >>confdefs.h <<_ACEOF
16178 #define HAVE_STRUCT_STATFS_F_FFREE 1
16179 _ACEOF
16183 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16184 #ifdef HAVE_SYS_PARAM_H
16185 # include <sys/param.h>
16186 #endif
16187 #ifdef HAVE_SYS_MOUNT_H
16188 # include <sys/mount.h>
16189 #endif
16190 #ifdef HAVE_SYS_VFS_H
16191 # include <sys/vfs.h>
16192 #endif
16193 #ifdef HAVE_SYS_STATFS_H
16194 # include <sys/statfs.h>
16195 #endif
16197 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16199 cat >>confdefs.h <<_ACEOF
16200 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16201 _ACEOF
16205 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16206 #ifdef HAVE_SYS_PARAM_H
16207 # include <sys/param.h>
16208 #endif
16209 #ifdef HAVE_SYS_MOUNT_H
16210 # include <sys/mount.h>
16211 #endif
16212 #ifdef HAVE_SYS_VFS_H
16213 # include <sys/vfs.h>
16214 #endif
16215 #ifdef HAVE_SYS_STATFS_H
16216 # include <sys/statfs.h>
16217 #endif
16219 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16221 cat >>confdefs.h <<_ACEOF
16222 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16223 _ACEOF
16229 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16230 #include <sys/statvfs.h>
16231 #endif
16233 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16235 cat >>confdefs.h <<_ACEOF
16236 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16237 _ACEOF
16243 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16244 #include <dirent.h>
16245 #endif
16247 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16249 cat >>confdefs.h <<_ACEOF
16250 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16251 _ACEOF
16257 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16258 #ifdef HAVE_SYS_SOCKET_H
16259 # include <sys/socket.h>
16260 #endif
16261 #ifdef HAVE_SYS_UN_H
16262 # include <sys/un.h>
16263 #endif
16265 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16267 cat >>confdefs.h <<_ACEOF
16268 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16269 _ACEOF
16273 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16274 #ifdef HAVE_SYS_SOCKET_H
16275 # include <sys/socket.h>
16276 #endif
16277 #ifdef HAVE_SYS_UN_H
16278 # include <sys/un.h>
16279 #endif
16281 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16283 cat >>confdefs.h <<_ACEOF
16284 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16285 _ACEOF
16289 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16290 #ifdef HAVE_SYS_SOCKET_H
16291 # include <sys/socket.h>
16292 #endif
16293 #ifdef HAVE_SYS_UN_H
16294 # include <sys/un.h>
16295 #endif
16297 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16299 cat >>confdefs.h <<_ACEOF
16300 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16301 _ACEOF
16307 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16308 #ifdef HAVE_SCSI_SG_H
16309 #include <scsi/sg.h>
16310 #endif
16312 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16314 cat >>confdefs.h <<_ACEOF
16315 #define HAVE_SCSIREQ_T_CMD 1
16316 _ACEOF
16320 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>
16321 #ifdef HAVE_SCSI_SG_H
16322 #include <scsi/sg.h>
16323 #endif
16325 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16327 cat >>confdefs.h <<_ACEOF
16328 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16329 _ACEOF
16335 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16337 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16339 cat >>confdefs.h <<_ACEOF
16340 #define HAVE_SIGINFO_T_SI_FD 1
16341 _ACEOF
16347 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16348 #ifdef HAVE_SYS_MTIO_H
16349 #include <sys/mtio.h>
16350 #endif
16352 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16354 cat >>confdefs.h <<_ACEOF
16355 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16356 _ACEOF
16360 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16361 #ifdef HAVE_SYS_MTIO_H
16362 #include <sys/mtio.h>
16363 #endif
16365 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16367 cat >>confdefs.h <<_ACEOF
16368 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16369 _ACEOF
16373 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16374 #ifdef HAVE_SYS_MTIO_H
16375 #include <sys/mtio.h>
16376 #endif
16378 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16380 cat >>confdefs.h <<_ACEOF
16381 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16382 _ACEOF
16388 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16389 #include <getopt.h>
16390 #endif
16392 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16394 cat >>confdefs.h <<_ACEOF
16395 #define HAVE_STRUCT_OPTION_NAME 1
16396 _ACEOF
16402 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16403 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16405 cat >>confdefs.h <<_ACEOF
16406 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16407 _ACEOF
16411 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16412 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16414 cat >>confdefs.h <<_ACEOF
16415 #define HAVE_STRUCT_STAT_ST_MTIM 1
16416 _ACEOF
16420 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16421 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16423 cat >>confdefs.h <<_ACEOF
16424 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16425 _ACEOF
16429 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16430 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16432 cat >>confdefs.h <<_ACEOF
16433 #define HAVE_STRUCT_STAT_ST_CTIM 1
16434 _ACEOF
16438 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16439 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16441 cat >>confdefs.h <<_ACEOF
16442 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16443 _ACEOF
16447 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16448 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16450 cat >>confdefs.h <<_ACEOF
16451 #define HAVE_STRUCT_STAT_ST_ATIM 1
16452 _ACEOF
16456 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16457 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16459 cat >>confdefs.h <<_ACEOF
16460 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16461 _ACEOF
16465 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16466 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16468 cat >>confdefs.h <<_ACEOF
16469 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16470 _ACEOF
16474 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16475 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16477 cat >>confdefs.h <<_ACEOF
16478 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16479 _ACEOF
16483 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16484 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16486 cat >>confdefs.h <<_ACEOF
16487 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16488 _ACEOF
16492 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16493 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16495 cat >>confdefs.h <<_ACEOF
16496 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16497 _ACEOF
16501 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16502 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16504 cat >>confdefs.h <<_ACEOF
16505 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16506 _ACEOF
16512 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
16513 #include <sys/types.h>
16514 #endif
16515 #ifdef HAVE_NETINET_IN_H
16516 #include <netinet/in.h>
16517 #endif
16519 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16521 cat >>confdefs.h <<_ACEOF
16522 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16523 _ACEOF
16529 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16530 #include <resolv.h>
16531 #endif
16533 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16535 cat >>confdefs.h <<_ACEOF
16536 #define HAVE_STRUCT___RES_STATE 1
16537 _ACEOF
16543 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
16544 #include <resolv.h>
16545 #endif
16547 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16549 cat >>confdefs.h <<_ACEOF
16550 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16551 _ACEOF
16557 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16558 #include <sys/types.h>
16559 #endif
16560 #ifdef HAVE_NETINET_IN_H
16561 # include <netinet/in.h>
16562 #endif
16563 #ifdef HAVE_ARPA_NAMESER_H
16564 # include <arpa/nameser.h>
16565 #endif
16567 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16569 cat >>confdefs.h <<_ACEOF
16570 #define HAVE_NS_MSG__MSG_PTR 1
16571 _ACEOF
16577 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16578 #include <sys/types.h>
16579 #endif
16580 #ifdef HAVE_NETINET_IP_H
16581 #include <netinet/ip.h>
16582 #endif
16583 #ifdef HAVE_NETINET_IP_ICMP_H
16584 #include <netinet/ip_icmp.h>
16585 #endif
16586 #ifdef HAVE_NETINET_ICMP_VAR_H
16587 #include <netinet/icmp_var.h>
16588 #endif
16590 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16592 cat >>confdefs.h <<_ACEOF
16593 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16594 _ACEOF
16600 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16601 #include <sys/types.h>
16602 #endif
16603 #ifdef HAVE_ALIAS_H
16604 #include <alias.h>
16605 #endif
16606 #ifdef HAVE_SYS_SOCKET_H
16607 #include <sys/socket.h>
16608 #endif
16609 #ifdef HAVE_SYS_SOCKETVAR_H
16610 #include <sys/socketvar.h>
16611 #endif
16612 #ifdef HAVE_SYS_TIMEOUT_H
16613 #include <sys/timeout.h>
16614 #endif
16615 #ifdef HAVE_NETINET_IN_H
16616 #include <netinet/in.h>
16617 #endif
16618 #ifdef HAVE_NETINET_IN_SYSTM_H
16619 #include <netinet/in_systm.h>
16620 #endif
16621 #ifdef HAVE_NETINET_IP_H
16622 #include <netinet/ip.h>
16623 #endif
16624 #ifdef HAVE_NETINET_IP_VAR_H
16625 #include <netinet/ip_var.h>
16626 #endif
16627 #ifdef HAVE_NETINET_IP_ICMP_H
16628 #include <netinet/ip_icmp.h>
16629 #endif
16630 #ifdef HAVE_NETINET_ICMP_VAR_H
16631 #include <netinet/icmp_var.h>
16632 #endif
16634 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16636 cat >>confdefs.h <<_ACEOF
16637 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16638 _ACEOF
16644 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16645 #include <sys/types.h>
16646 #endif
16647 #ifdef HAVE_SYS_SOCKETVAR_H
16648 #include <sys/socketvar.h>
16649 #endif
16650 #ifdef HAVE_NETINET_IN_H
16651 #include <netinet/in.h>
16652 #endif
16653 #ifdef HAVE_NETINET_IP_VAR_H
16654 #include <netinet/ip_var.h>
16655 #endif
16657 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16659 cat >>confdefs.h <<_ACEOF
16660 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16661 _ACEOF
16667 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
16668 #include <netinet/ip_var.h>
16669 #endif
16671 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16673 cat >>confdefs.h <<_ACEOF
16674 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16675 _ACEOF
16681 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16682 #include <sys/types.h>
16683 #endif
16684 #ifdef HAVE_SYS_SOCKETVAR_H
16685 #include <sys/socketvar.h>
16686 #endif
16687 #ifdef HAVE_NETINET_IN_H
16688 #include <netinet/in.h>
16689 #endif
16690 #ifdef HAVE_NETINET_TCP_H
16691 #include <netinet/tcp.h>
16692 #endif
16693 #ifdef HAVE_NETINET_TCP_VAR_H
16694 #include <netinet/tcp_var.h>
16695 #endif
16697 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16699 cat >>confdefs.h <<_ACEOF
16700 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16701 _ACEOF
16707 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
16708 #include <netinet/tcp_var.h>
16709 #endif
16711 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16713 cat >>confdefs.h <<_ACEOF
16714 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16715 _ACEOF
16721 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16722 #include <sys/types.h>
16723 #endif
16724 #ifdef HAVE_NETINET_IN_H
16725 #include <netinet/in.h>
16726 #endif
16727 #ifdef HAVE_NETINET_IP_VAR_H
16728 #include <netinet/ip_var.h>
16729 #endif
16730 #ifdef HAVE_NETINET_UDP_H
16731 #include <netinet/udp.h>
16732 #endif
16733 #ifdef HAVE_NETINET_UDP_VAR_H
16734 #include <netinet/udp_var.h>
16735 #endif
16737 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16739 cat >>confdefs.h <<_ACEOF
16740 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16741 _ACEOF
16747 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16748 #include <sys/types.h>
16749 #endif
16750 #ifdef HAVE_NET_IF_H
16751 # include <net/if.h>
16752 #endif
16754 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16756 cat >>confdefs.h <<_ACEOF
16757 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16758 _ACEOF
16764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16765 $as_echo_n "checking for timezone variable... " >&6; }
16766 if ${ac_cv_have_timezone+:} false; then :
16767 $as_echo_n "(cached) " >&6
16768 else
16769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16770 /* end confdefs.h. */
16771 #include <time.h>
16773 main ()
16775 timezone = 1
16777 return 0;
16779 _ACEOF
16780 if ac_fn_c_try_link "$LINENO"; then :
16781 ac_cv_have_timezone="yes"
16782 else
16783 ac_cv_have_timezone="no"
16785 rm -f core conftest.err conftest.$ac_objext \
16786 conftest$ac_exeext conftest.$ac_ext
16788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16789 $as_echo "$ac_cv_have_timezone" >&6; }
16790 if test "$ac_cv_have_timezone" = "yes"
16791 then
16793 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16797 $as_echo_n "checking for daylight variable... " >&6; }
16798 if ${ac_cv_have_daylight+:} false; then :
16799 $as_echo_n "(cached) " >&6
16800 else
16801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16802 /* end confdefs.h. */
16803 #include <time.h>
16805 main ()
16807 daylight = 1
16809 return 0;
16811 _ACEOF
16812 if ac_fn_c_try_link "$LINENO"; then :
16813 ac_cv_have_daylight="yes"
16814 else
16815 ac_cv_have_daylight="no"
16817 rm -f core conftest.err conftest.$ac_objext \
16818 conftest$ac_exeext conftest.$ac_ext
16820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16821 $as_echo "$ac_cv_have_daylight" >&6; }
16822 if test "$ac_cv_have_daylight" = "yes"
16823 then
16825 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16829 ac_save_LIBS="$LIBS"
16830 LIBS="$LIBS -lm"
16831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16832 $as_echo_n "checking for isfinite... " >&6; }
16833 if ${ac_cv_have_isfinite+:} false; then :
16834 $as_echo_n "(cached) " >&6
16835 else
16836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16837 /* end confdefs.h. */
16838 #define _GNU_SOURCE
16839 #include <math.h>
16841 main ()
16843 float f = 0.0; return isfinite(f)
16845 return 0;
16847 _ACEOF
16848 if ac_fn_c_try_link "$LINENO"; then :
16849 ac_cv_have_isfinite="yes"
16850 else
16851 ac_cv_have_isfinite="no"
16853 rm -f core conftest.err conftest.$ac_objext \
16854 conftest$ac_exeext conftest.$ac_ext
16856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16857 $as_echo "$ac_cv_have_isfinite" >&6; }
16858 if test "$ac_cv_have_isfinite" = "yes"
16859 then
16861 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16866 $as_echo_n "checking for isinf... " >&6; }
16867 if ${ac_cv_have_isinf+:} false; then :
16868 $as_echo_n "(cached) " >&6
16869 else
16870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16871 /* end confdefs.h. */
16872 #include <math.h>
16874 main ()
16876 float f = 0.0; return isinf(f)
16878 return 0;
16880 _ACEOF
16881 if ac_fn_c_try_link "$LINENO"; then :
16882 ac_cv_have_isinf="yes"
16883 else
16884 ac_cv_have_isinf="no"
16886 rm -f core conftest.err conftest.$ac_objext \
16887 conftest$ac_exeext conftest.$ac_ext
16889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16890 $as_echo "$ac_cv_have_isinf" >&6; }
16891 if test "$ac_cv_have_isinf" = "yes"
16892 then
16894 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16899 $as_echo_n "checking for isnan... " >&6; }
16900 if ${ac_cv_have_isnan+:} false; then :
16901 $as_echo_n "(cached) " >&6
16902 else
16903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16904 /* end confdefs.h. */
16905 #include <math.h>
16907 main ()
16909 float f = 0.0; return isnan(f)
16911 return 0;
16913 _ACEOF
16914 if ac_fn_c_try_link "$LINENO"; then :
16915 ac_cv_have_isnan="yes"
16916 else
16917 ac_cv_have_isnan="no"
16919 rm -f core conftest.err conftest.$ac_objext \
16920 conftest$ac_exeext conftest.$ac_ext
16922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16923 $as_echo "$ac_cv_have_isnan" >&6; }
16924 if test "$ac_cv_have_isnan" = "yes"
16925 then
16927 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16931 for ac_func in \
16932 asinh \
16933 asinhf \
16934 cbrt \
16935 cbrtf \
16936 erf \
16937 erff \
16938 exp2 \
16939 exp2f \
16940 lgamma \
16941 lgammaf \
16942 llrint \
16943 llrintf \
16944 llround \
16945 llroundf \
16946 log2 \
16947 log2f \
16948 lrint \
16949 lrintf \
16950 lround \
16951 lroundf \
16952 powl \
16953 remainder \
16954 remainderf \
16955 rint \
16956 rintf \
16957 round \
16958 roundf \
16959 trunc \
16960 truncf
16962 do :
16963 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16964 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16965 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16966 cat >>confdefs.h <<_ACEOF
16967 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16968 _ACEOF
16971 done
16973 LIBS="$ac_save_LIBS"
16975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16976 $as_echo_n "checking for __builtin_clz... " >&6; }
16977 if ${ac_cv_have___builtin_clz+:} false; then :
16978 $as_echo_n "(cached) " >&6
16979 else
16980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16981 /* end confdefs.h. */
16984 main ()
16986 return __builtin_clz(1)
16988 return 0;
16990 _ACEOF
16991 if ac_fn_c_try_link "$LINENO"; then :
16992 ac_cv_have___builtin_clz="yes"
16993 else
16994 ac_cv_have___builtin_clz="no"
16996 rm -f core conftest.err conftest.$ac_objext \
16997 conftest$ac_exeext conftest.$ac_ext
16999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17000 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17001 if test "$ac_cv_have___builtin_clz" = "yes"
17002 then
17004 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17009 $as_echo_n "checking for __builtin_popcount... " >&6; }
17010 if ${ac_cv_have___builtin_popcount+:} false; then :
17011 $as_echo_n "(cached) " >&6
17012 else
17013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17014 /* end confdefs.h. */
17017 main ()
17019 return __builtin_popcount(1)
17021 return 0;
17023 _ACEOF
17024 if ac_fn_c_try_link "$LINENO"; then :
17025 ac_cv_have___builtin_popcount="yes"
17026 else
17027 ac_cv_have___builtin_popcount="no"
17029 rm -f core conftest.err conftest.$ac_objext \
17030 conftest$ac_exeext conftest.$ac_ext
17032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17033 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17034 if test "$ac_cv_have___builtin_popcount" = "yes"
17035 then
17037 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17042 case $host_cpu in
17043 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17044 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17045 if ${ac_cv_cpp_def___i386__+:} false; then :
17046 $as_echo_n "(cached) " >&6
17047 else
17048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17049 /* end confdefs.h. */
17050 #ifndef __i386__
17052 #endif
17053 _ACEOF
17054 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17055 $EGREP "yes" >/dev/null 2>&1; then :
17056 ac_cv_cpp_def___i386__=yes
17057 else
17058 ac_cv_cpp_def___i386__=no
17060 rm -f conftest*
17063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17064 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17065 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17066 CFLAGS="$CFLAGS -D__i386__"
17067 LINTFLAGS="$LINTFLAGS -D__i386__"
17068 fi ;;
17069 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17070 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17071 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17072 $as_echo_n "(cached) " >&6
17073 else
17074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17075 /* end confdefs.h. */
17076 #ifndef __x86_64__
17078 #endif
17079 _ACEOF
17080 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17081 $EGREP "yes" >/dev/null 2>&1; then :
17082 ac_cv_cpp_def___x86_64__=yes
17083 else
17084 ac_cv_cpp_def___x86_64__=no
17086 rm -f conftest*
17089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17090 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17091 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17092 CFLAGS="$CFLAGS -D__x86_64__"
17093 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17094 fi ;;
17095 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17096 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17097 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17098 $as_echo_n "(cached) " >&6
17099 else
17100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17101 /* end confdefs.h. */
17102 #ifndef __sparc64__
17104 #endif
17105 _ACEOF
17106 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17107 $EGREP "yes" >/dev/null 2>&1; then :
17108 ac_cv_cpp_def___sparc64__=yes
17109 else
17110 ac_cv_cpp_def___sparc64__=no
17112 rm -f conftest*
17115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17116 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17117 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17118 CFLAGS="$CFLAGS -D__sparc64__"
17119 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17120 fi ;;
17121 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17122 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17123 if ${ac_cv_cpp_def___sparc__+:} false; then :
17124 $as_echo_n "(cached) " >&6
17125 else
17126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17127 /* end confdefs.h. */
17128 #ifndef __sparc__
17130 #endif
17131 _ACEOF
17132 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17133 $EGREP "yes" >/dev/null 2>&1; then :
17134 ac_cv_cpp_def___sparc__=yes
17135 else
17136 ac_cv_cpp_def___sparc__=no
17138 rm -f conftest*
17141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17142 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17143 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17144 CFLAGS="$CFLAGS -D__sparc__"
17145 LINTFLAGS="$LINTFLAGS -D__sparc__"
17146 fi ;;
17147 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17148 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17149 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17150 $as_echo_n "(cached) " >&6
17151 else
17152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17153 /* end confdefs.h. */
17154 #ifndef __powerpc64__
17156 #endif
17157 _ACEOF
17158 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17159 $EGREP "yes" >/dev/null 2>&1; then :
17160 ac_cv_cpp_def___powerpc64__=yes
17161 else
17162 ac_cv_cpp_def___powerpc64__=no
17164 rm -f conftest*
17167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17168 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17169 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17170 CFLAGS="$CFLAGS -D__powerpc64__"
17171 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17172 fi ;;
17173 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17174 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17175 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17176 $as_echo_n "(cached) " >&6
17177 else
17178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17179 /* end confdefs.h. */
17180 #ifndef __powerpc__
17182 #endif
17183 _ACEOF
17184 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17185 $EGREP "yes" >/dev/null 2>&1; then :
17186 ac_cv_cpp_def___powerpc__=yes
17187 else
17188 ac_cv_cpp_def___powerpc__=no
17190 rm -f conftest*
17193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17194 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17195 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17196 CFLAGS="$CFLAGS -D__powerpc__"
17197 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17198 fi ;;
17199 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17200 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17201 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17202 $as_echo_n "(cached) " >&6
17203 else
17204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17205 /* end confdefs.h. */
17206 #ifndef __aarch64__
17208 #endif
17209 _ACEOF
17210 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17211 $EGREP "yes" >/dev/null 2>&1; then :
17212 ac_cv_cpp_def___aarch64__=yes
17213 else
17214 ac_cv_cpp_def___aarch64__=no
17216 rm -f conftest*
17219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17220 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17221 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17222 CFLAGS="$CFLAGS -D__aarch64__"
17223 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17224 fi ;;
17225 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17226 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17227 if ${ac_cv_cpp_def___arm__+:} false; then :
17228 $as_echo_n "(cached) " >&6
17229 else
17230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17231 /* end confdefs.h. */
17232 #ifndef __arm__
17234 #endif
17235 _ACEOF
17236 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17237 $EGREP "yes" >/dev/null 2>&1; then :
17238 ac_cv_cpp_def___arm__=yes
17239 else
17240 ac_cv_cpp_def___arm__=no
17242 rm -f conftest*
17245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17246 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17247 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17248 CFLAGS="$CFLAGS -D__arm__"
17249 LINTFLAGS="$LINTFLAGS -D__arm__"
17250 fi ;;
17251 esac
17253 case $host_vendor in
17254 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17255 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17256 if ${ac_cv_cpp_def___sun__+:} false; then :
17257 $as_echo_n "(cached) " >&6
17258 else
17259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17260 /* end confdefs.h. */
17261 #ifndef __sun__
17263 #endif
17264 _ACEOF
17265 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17266 $EGREP "yes" >/dev/null 2>&1; then :
17267 ac_cv_cpp_def___sun__=yes
17268 else
17269 ac_cv_cpp_def___sun__=no
17271 rm -f conftest*
17274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17275 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17276 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17277 CFLAGS="$CFLAGS -D__sun__"
17278 LINTFLAGS="$LINTFLAGS -D__sun__"
17279 fi ;;
17280 esac
17286 ac_config_commands="$ac_config_commands include/stamp-h"
17288 $as_echo_n "creating Makefile rules..." >&6
17290 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17291 SOCKET_LIBS = $SOCKET_LIBS
17292 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17293 IOKIT_LIBS = $IOKIT_LIBS
17294 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17295 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17296 CORESERVICES_LIBS = $CORESERVICES_LIBS
17297 APPKIT_LIBS = $APPKIT_LIBS
17298 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17299 SECURITY_LIBS = $SECURITY_LIBS
17300 COREAUDIO_LIBS = $COREAUDIO_LIBS
17301 OPENAL_LIBS = $OPENAL_LIBS
17302 OPENCL_LIBS = $OPENCL_LIBS
17303 QUICKTIME_LIBS = $QUICKTIME_LIBS
17304 CARBON_LIBS = $CARBON_LIBS
17305 PTHREAD_LIBS = $PTHREAD_LIBS
17306 X_CFLAGS = $X_CFLAGS
17307 X_PRE_LIBS = $X_PRE_LIBS
17308 X_LIBS = $X_LIBS
17309 X_EXTRA_LIBS = $X_EXTRA_LIBS
17310 PCAP_LIBS = $PCAP_LIBS
17311 XML2_CFLAGS = $XML2_CFLAGS
17312 XML2_LIBS = $XML2_LIBS
17313 XSLT_CFLAGS = $XSLT_CFLAGS
17314 XSLT_LIBS = $XSLT_LIBS
17315 DBUS_CFLAGS = $DBUS_CFLAGS
17316 DBUS_LIBS = $DBUS_LIBS
17317 HAL_CFLAGS = $HAL_CFLAGS
17318 HAL_LIBS = $HAL_LIBS
17319 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17320 GNUTLS_LIBS = $GNUTLS_LIBS
17321 SANE_CFLAGS = $SANE_CFLAGS
17322 SANE_LIBS = $SANE_LIBS
17323 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17324 GPHOTO2_LIBS = $GPHOTO2_LIBS
17325 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17326 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17327 RESOLV_LIBS = $RESOLV_LIBS
17328 LCMS2_CFLAGS = $LCMS2_CFLAGS
17329 LCMS2_LIBS = $LCMS2_LIBS
17330 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17331 FREETYPE_LIBS = $FREETYPE_LIBS
17332 Z_LIBS = $Z_LIBS
17333 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17334 PULSE_CFLAGS = $PULSE_CFLAGS
17335 PULSE_LIBS = $PULSE_LIBS
17336 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17337 GSTREAMER_LIBS = $GSTREAMER_LIBS
17338 ALSA_LIBS = $ALSA_LIBS
17339 OSS4_CFLAGS = $OSS4_CFLAGS
17340 CAPI20_CFLAGS = $CAPI20_CFLAGS
17341 CAPI20_LIBS = $CAPI20_LIBS
17342 CUPS_CFLAGS = $CUPS_CFLAGS
17343 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17344 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17345 JPEG_CFLAGS = $JPEG_CFLAGS
17346 JPEG_LIBS = $JPEG_LIBS
17347 PNG_CFLAGS = $PNG_CFLAGS
17348 PNG_LIBS = $PNG_LIBS
17349 TIFF_CFLAGS = $TIFF_CFLAGS
17350 TIFF_LIBS = $TIFF_LIBS
17351 MPG123_CFLAGS = $MPG123_CFLAGS
17352 MPG123_LIBS = $MPG123_LIBS
17353 KSTAT_LIBS = $KSTAT_LIBS
17354 PROCSTAT_LIBS = $PROCSTAT_LIBS
17355 NETAPI_CFLAGS = $NETAPI_CFLAGS
17356 NETAPI_LIBS = $NETAPI_LIBS
17357 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17358 DL_LIBS = $DL_LIBS
17359 POLL_LIBS = $POLL_LIBS
17360 RT_LIBS = $RT_LIBS
17361 LDAP_LIBS = $LDAP_LIBS
17366 wine_fn_append_rule "
17367 # Rules automatically generated by configure
17369 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17371 .INIT: Makefile
17372 .MAKEFILEDEPS:
17373 all: Makefile
17374 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17375 @./config.status Make.tmp Makefile
17376 depend: \$(MAKEDEP) dummy
17377 \$(MAKEDEP)"
17379 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17380 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17382 if test "x$enable_fonts" != xno; then
17383 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17384 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17385 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17386 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17387 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17388 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17390 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17391 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17392 ac_config_links="$ac_config_links wine:tools/winewrapper"
17393 wine_fn_config_symlink wine
17394 if test "x$enable_win64" != xno; then
17395 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17396 wine_fn_config_symlink wine64
17399 wine_fn_config_dll acledit enable_acledit
17400 wine_fn_config_dll aclui enable_aclui implib
17401 wine_fn_config_dll activeds enable_activeds implib
17402 wine_fn_config_dll actxprxy enable_actxprxy clean
17403 wine_fn_config_lib adsiid
17404 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17405 wine_fn_config_test dlls/advapi32/tests advapi32_test
17406 wine_fn_config_dll advpack enable_advpack implib
17407 wine_fn_config_test dlls/advpack/tests advpack_test
17408 wine_fn_config_dll amstream enable_amstream clean
17409 wine_fn_config_test dlls/amstream/tests amstream_test
17410 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17411 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17412 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17413 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17414 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17415 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17416 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17417 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17418 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17419 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17420 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17421 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17422 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17423 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17424 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17425 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17426 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17427 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17428 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17429 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17430 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17431 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17432 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17433 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17434 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17435 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17436 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17437 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17438 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17439 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17440 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17441 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17442 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17443 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17444 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17445 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17446 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17447 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17448 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17449 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17450 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17451 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17452 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17453 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17454 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17455 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17456 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17457 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17458 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17459 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17460 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17461 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17462 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17463 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17464 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17465 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17466 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17467 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17468 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17469 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17470 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17471 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17472 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17473 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17474 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17475 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17476 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17477 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17478 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17479 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17480 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17481 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17482 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17483 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17484 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17485 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17486 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17487 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17488 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17489 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17490 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17491 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17492 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17493 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17494 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17495 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17496 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17497 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17498 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17499 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17500 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17501 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17502 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17503 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17504 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17505 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17506 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17507 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17508 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17509 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17510 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17511 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17512 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17513 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17514 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17515 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17516 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17517 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17518 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17519 wine_fn_config_dll apphelp enable_apphelp
17520 wine_fn_config_test dlls/apphelp/tests apphelp_test
17521 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17522 wine_fn_config_dll atl enable_atl clean,implib
17523 wine_fn_config_test dlls/atl/tests atl_test
17524 wine_fn_config_dll atl100 enable_atl100 clean,implib
17525 wine_fn_config_test dlls/atl100/tests atl100_test
17526 wine_fn_config_dll atl110 enable_atl110 clean
17527 wine_fn_config_dll atl80 enable_atl80 clean,implib
17528 wine_fn_config_test dlls/atl80/tests atl80_test
17529 wine_fn_config_dll atl90 enable_atl90 clean
17530 wine_fn_config_dll authz enable_authz
17531 wine_fn_config_dll avicap32 enable_avicap32 implib
17532 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
17533 wine_fn_config_test dlls/avifil32/tests avifil32_test
17534 wine_fn_config_dll avifile.dll16 enable_win16
17535 wine_fn_config_dll avrt enable_avrt implib
17536 wine_fn_config_dll bcrypt enable_bcrypt implib
17537 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17538 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17539 wine_fn_config_dll browseui enable_browseui clean
17540 wine_fn_config_test dlls/browseui/tests browseui_test
17541 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17542 wine_fn_config_dll cabinet enable_cabinet implib
17543 wine_fn_config_test dlls/cabinet/tests cabinet_test
17544 wine_fn_config_dll capi2032 enable_capi2032 implib
17545 wine_fn_config_dll cards enable_cards implib
17546 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17547 wine_fn_config_dll clusapi enable_clusapi implib
17548 wine_fn_config_dll combase enable_combase
17549 wine_fn_config_test dlls/combase/tests combase_test
17550 wine_fn_config_dll comcat enable_comcat
17551 wine_fn_config_test dlls/comcat/tests comcat_test
17552 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
17553 wine_fn_config_test dlls/comctl32/tests comctl32_test
17554 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
17555 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17556 wine_fn_config_dll comm.drv16 enable_win16
17557 wine_fn_config_dll commdlg.dll16 enable_win16
17558 wine_fn_config_dll compobj.dll16 enable_win16
17559 wine_fn_config_dll compstui enable_compstui implib
17560 wine_fn_config_dll comsvcs enable_comsvcs implib
17561 wine_fn_config_dll concrt140 enable_concrt140
17562 wine_fn_config_dll connect enable_connect
17563 wine_fn_config_dll credui enable_credui clean,implib
17564 wine_fn_config_test dlls/credui/tests credui_test
17565 wine_fn_config_dll crtdll enable_crtdll
17566 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
17567 wine_fn_config_test dlls/crypt32/tests crypt32_test
17568 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17569 wine_fn_config_dll cryptdll enable_cryptdll implib
17570 wine_fn_config_dll cryptext enable_cryptext
17571 wine_fn_config_dll cryptnet enable_cryptnet implib
17572 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17573 wine_fn_config_dll cryptui enable_cryptui clean,implib
17574 wine_fn_config_test dlls/cryptui/tests cryptui_test
17575 wine_fn_config_dll ctapi32 enable_ctapi32
17576 wine_fn_config_dll ctl3d.dll16 enable_win16
17577 wine_fn_config_dll ctl3d32 enable_ctl3d32
17578 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17579 wine_fn_config_dll d2d1 enable_d2d1 implib
17580 wine_fn_config_test dlls/d2d1/tests d2d1_test
17581 wine_fn_config_dll d3d10 enable_d3d10 implib
17582 wine_fn_config_test dlls/d3d10/tests d3d10_test
17583 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17584 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17585 wine_fn_config_dll d3d10core enable_d3d10core implib
17586 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17587 wine_fn_config_dll d3d11 enable_d3d11 implib
17588 wine_fn_config_test dlls/d3d11/tests d3d11_test
17589 wine_fn_config_dll d3d8 enable_d3d8 implib
17590 wine_fn_config_test dlls/d3d8/tests d3d8_test
17591 wine_fn_config_dll d3d9 enable_d3d9 implib
17592 wine_fn_config_test dlls/d3d9/tests d3d9_test
17593 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17594 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17595 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17596 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17597 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17598 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17599 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17600 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17601 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17602 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17603 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17604 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17605 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17606 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17607 wine_fn_config_dll d3dim enable_d3dim
17608 wine_fn_config_dll d3drm enable_d3drm implib
17609 wine_fn_config_test dlls/d3drm/tests d3drm_test
17610 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17611 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17612 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17613 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17614 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17615 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17616 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17617 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17618 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17619 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17620 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17621 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
17622 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17623 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
17624 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17625 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17626 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17627 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17628 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17629 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17630 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17631 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17632 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17633 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17634 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17635 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17636 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17637 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17638 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17639 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17640 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17641 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17642 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17643 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17644 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17645 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17646 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17647 wine_fn_config_dll davclnt enable_davclnt
17648 wine_fn_config_dll dbgeng enable_dbgeng implib
17649 wine_fn_config_dll dbghelp enable_dbghelp implib
17650 wine_fn_config_dll dciman32 enable_dciman32 implib
17651 wine_fn_config_dll ddeml.dll16 enable_win16
17652 wine_fn_config_dll ddraw enable_ddraw clean,implib
17653 wine_fn_config_test dlls/ddraw/tests ddraw_test
17654 wine_fn_config_dll ddrawex enable_ddrawex clean
17655 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17656 wine_fn_config_dll devenum enable_devenum clean
17657 wine_fn_config_test dlls/devenum/tests devenum_test
17658 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17659 wine_fn_config_dll difxapi enable_difxapi
17660 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
17661 wine_fn_config_test dlls/dinput/tests dinput_test
17662 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17663 wine_fn_config_test dlls/dinput8/tests dinput8_test
17664 wine_fn_config_dll dispdib.dll16 enable_win16
17665 wine_fn_config_dll dispex enable_dispex clean
17666 wine_fn_config_test dlls/dispex/tests dispex_test
17667 wine_fn_config_dll display.drv16 enable_win16
17668 wine_fn_config_dll dmband enable_dmband clean
17669 wine_fn_config_test dlls/dmband/tests dmband_test
17670 wine_fn_config_dll dmcompos enable_dmcompos clean
17671 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17672 wine_fn_config_dll dmime enable_dmime clean
17673 wine_fn_config_test dlls/dmime/tests dmime_test
17674 wine_fn_config_dll dmloader enable_dmloader clean
17675 wine_fn_config_test dlls/dmloader/tests dmloader_test
17676 wine_fn_config_dll dmscript enable_dmscript clean
17677 wine_fn_config_test dlls/dmscript/tests dmscript_test
17678 wine_fn_config_dll dmstyle enable_dmstyle clean
17679 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17680 wine_fn_config_dll dmsynth enable_dmsynth clean
17681 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17682 wine_fn_config_dll dmusic enable_dmusic clean
17683 wine_fn_config_test dlls/dmusic/tests dmusic_test
17684 wine_fn_config_dll dmusic32 enable_dmusic32
17685 wine_fn_config_dll dnsapi enable_dnsapi implib
17686 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17687 wine_fn_config_dll dplay enable_dplay
17688 wine_fn_config_dll dplayx enable_dplayx clean,implib
17689 wine_fn_config_test dlls/dplayx/tests dplayx_test
17690 wine_fn_config_dll dpnaddr enable_dpnaddr
17691 wine_fn_config_dll dpnet enable_dpnet clean,implib
17692 wine_fn_config_test dlls/dpnet/tests dpnet_test
17693 wine_fn_config_dll dpnhpast enable_dpnhpast
17694 wine_fn_config_dll dpnlobby enable_dpnlobby
17695 wine_fn_config_dll dpvoice enable_dpvoice clean
17696 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17697 wine_fn_config_dll dpwsockx enable_dpwsockx
17698 wine_fn_config_dll drmclien enable_drmclien
17699 wine_fn_config_dll dsound enable_dsound clean,implib
17700 wine_fn_config_test dlls/dsound/tests dsound_test
17701 wine_fn_config_dll dssenh enable_dssenh
17702 wine_fn_config_test dlls/dssenh/tests dssenh_test
17703 wine_fn_config_dll dswave enable_dswave clean
17704 wine_fn_config_test dlls/dswave/tests dswave_test
17705 wine_fn_config_dll dwmapi enable_dwmapi implib
17706 wine_fn_config_dll dwrite enable_dwrite implib
17707 wine_fn_config_test dlls/dwrite/tests dwrite_test
17708 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17709 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17710 wine_fn_config_lib dxerr8
17711 wine_fn_config_lib dxerr9
17712 wine_fn_config_dll dxgi enable_dxgi implib
17713 wine_fn_config_test dlls/dxgi/tests dxgi_test
17714 wine_fn_config_lib dxguid
17715 wine_fn_config_dll dxva2 enable_dxva2
17716 wine_fn_config_dll esent enable_esent
17717 wine_fn_config_dll evr enable_evr
17718 wine_fn_config_dll explorerframe enable_explorerframe clean
17719 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17720 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17721 wine_fn_config_dll faultrep enable_faultrep implib
17722 wine_fn_config_test dlls/faultrep/tests faultrep_test
17723 wine_fn_config_dll fltlib enable_fltlib
17724 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17725 wine_fn_config_dll fntcache enable_fntcache
17726 wine_fn_config_dll fontsub enable_fontsub
17727 wine_fn_config_dll fusion enable_fusion
17728 wine_fn_config_test dlls/fusion/tests fusion_test
17729 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17730 wine_fn_config_dll gameux enable_gameux clean
17731 wine_fn_config_test dlls/gameux/tests gameux_test
17732 wine_fn_config_dll gdi.exe16 enable_win16
17733 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
17734 wine_fn_config_test dlls/gdi32/tests gdi32_test
17735 wine_fn_config_dll gdiplus enable_gdiplus implib
17736 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17737 wine_fn_config_dll glu32 enable_glu32 implib
17738 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
17739 wine_fn_config_dll gpkcsp enable_gpkcsp
17740 wine_fn_config_dll hal enable_hal
17741 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
17742 wine_fn_config_dll hid enable_hid implib
17743 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17744 wine_fn_config_dll hlink enable_hlink clean,implib
17745 wine_fn_config_test dlls/hlink/tests hlink_test
17746 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17747 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
17748 wine_fn_config_dll httpapi enable_httpapi
17749 wine_fn_config_dll iccvid enable_iccvid clean
17750 wine_fn_config_dll icmp enable_icmp
17751 wine_fn_config_dll ieframe enable_ieframe clean,implib
17752 wine_fn_config_test dlls/ieframe/tests ieframe_test
17753 wine_fn_config_dll ifsmgr.vxd enable_win16
17754 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17755 wine_fn_config_dll imagehlp enable_imagehlp implib
17756 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17757 wine_fn_config_dll imm.dll16 enable_win16
17758 wine_fn_config_dll imm32 enable_imm32 implib
17759 wine_fn_config_test dlls/imm32/tests imm32_test
17760 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17761 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17762 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
17763 wine_fn_config_dll inetmib1 enable_inetmib1
17764 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17765 wine_fn_config_dll infosoft enable_infosoft clean
17766 wine_fn_config_test dlls/infosoft/tests infosoft_test
17767 wine_fn_config_dll initpki enable_initpki
17768 wine_fn_config_dll inkobj enable_inkobj
17769 wine_fn_config_dll inseng enable_inseng clean
17770 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17771 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17772 wine_fn_config_dll irprops.cpl enable_irprops_cpl
17773 wine_fn_config_dll itircl enable_itircl
17774 wine_fn_config_dll itss enable_itss clean
17775 wine_fn_config_test dlls/itss/tests itss_test
17776 wine_fn_config_dll joy.cpl enable_joy_cpl clean
17777 wine_fn_config_dll jscript enable_jscript clean
17778 wine_fn_config_test dlls/jscript/tests jscript_test
17779 wine_fn_config_dll jsproxy enable_jsproxy implib
17780 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
17781 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
17782 wine_fn_config_test dlls/kernel32/tests kernel32_test
17783 wine_fn_config_dll kernelbase enable_kernelbase
17784 wine_fn_config_dll keyboard.drv16 enable_win16
17785 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17786 wine_fn_config_dll ksuser enable_ksuser
17787 wine_fn_config_dll ktmw32 enable_ktmw32
17788 wine_fn_config_dll loadperf enable_loadperf implib
17789 wine_fn_config_dll localspl enable_localspl clean
17790 wine_fn_config_test dlls/localspl/tests localspl_test
17791 wine_fn_config_dll localui enable_localui clean
17792 wine_fn_config_test dlls/localui/tests localui_test
17793 wine_fn_config_dll lz32 enable_lz32 implib
17794 wine_fn_config_test dlls/lz32/tests lz32_test
17795 wine_fn_config_dll lzexpand.dll16 enable_win16
17796 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
17797 wine_fn_config_test dlls/mapi32/tests mapi32_test
17798 wine_fn_config_dll mapistub enable_mapistub
17799 wine_fn_config_dll mciavi32 enable_mciavi32
17800 wine_fn_config_dll mcicda enable_mcicda
17801 wine_fn_config_dll mciqtz32 enable_mciqtz32
17802 wine_fn_config_dll mciseq enable_mciseq
17803 wine_fn_config_dll mciwave enable_mciwave
17804 wine_fn_config_dll mf enable_mf
17805 wine_fn_config_dll mfplat enable_mfplat
17806 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17807 wine_fn_config_dll mgmtapi enable_mgmtapi
17808 wine_fn_config_dll midimap enable_midimap
17809 wine_fn_config_dll mlang enable_mlang clean,implib
17810 wine_fn_config_test dlls/mlang/tests mlang_test
17811 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17812 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17813 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17814 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17815 wine_fn_config_dll mmdevldr.vxd enable_win16
17816 wine_fn_config_dll mmsystem.dll16 enable_win16
17817 wine_fn_config_dll monodebg.vxd enable_win16
17818 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17819 wine_fn_config_dll mouse.drv16 enable_win16
17820 wine_fn_config_dll mpr enable_mpr clean,implib
17821 wine_fn_config_test dlls/mpr/tests mpr_test
17822 wine_fn_config_dll mprapi enable_mprapi implib
17823 wine_fn_config_dll msacm.dll16 enable_win16
17824 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17825 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
17826 wine_fn_config_test dlls/msacm32/tests msacm32_test
17827 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17828 wine_fn_config_dll msasn1 enable_msasn1 implib
17829 wine_fn_config_dll mscat32 enable_mscat32
17830 wine_fn_config_dll mscms enable_mscms implib
17831 wine_fn_config_test dlls/mscms/tests mscms_test
17832 wine_fn_config_dll mscoree enable_mscoree clean
17833 wine_fn_config_test dlls/mscoree/tests mscoree_test
17834 wine_fn_config_dll msctf enable_msctf clean
17835 wine_fn_config_test dlls/msctf/tests msctf_test
17836 wine_fn_config_dll msctfp enable_msctfp clean
17837 wine_fn_config_dll msdaps enable_msdaps clean
17838 wine_fn_config_dll msdelta enable_msdelta
17839 wine_fn_config_dll msdmo enable_msdmo implib
17840 wine_fn_config_test dlls/msdmo/tests msdmo_test
17841 wine_fn_config_dll msdrm enable_msdrm
17842 wine_fn_config_dll msftedit enable_msftedit
17843 wine_fn_config_dll msg711.acm enable_msg711_acm
17844 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17845 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17846 wine_fn_config_dll mshtml enable_mshtml clean,implib
17847 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17848 wine_fn_config_dll msi enable_msi clean,implib
17849 wine_fn_config_test dlls/msi/tests msi_test
17850 wine_fn_config_dll msident enable_msident clean
17851 wine_fn_config_dll msimg32 enable_msimg32 implib
17852 wine_fn_config_dll msimsg enable_msimsg
17853 wine_fn_config_dll msimtf enable_msimtf clean
17854 wine_fn_config_dll msisip enable_msisip
17855 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17856 wine_fn_config_dll msls31 enable_msls31
17857 wine_fn_config_dll msnet32 enable_msnet32
17858 wine_fn_config_dll mspatcha enable_mspatcha implib
17859 wine_fn_config_dll msrle32 enable_msrle32 clean
17860 wine_fn_config_test dlls/msrle32/tests msrle32_test
17861 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
17862 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
17863 wine_fn_config_dll mssign32 enable_mssign32
17864 wine_fn_config_dll mssip32 enable_mssip32
17865 wine_fn_config_dll mstask enable_mstask clean
17866 wine_fn_config_test dlls/mstask/tests mstask_test
17867 wine_fn_config_dll msvcirt enable_msvcirt
17868 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
17869 wine_fn_config_dll msvcm80 enable_msvcm80
17870 wine_fn_config_dll msvcm90 enable_msvcm90
17871 wine_fn_config_dll msvcp100 enable_msvcp100
17872 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17873 wine_fn_config_dll msvcp110 enable_msvcp110
17874 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
17875 wine_fn_config_dll msvcp120 enable_msvcp120
17876 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
17877 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17878 wine_fn_config_dll msvcp140 enable_msvcp140
17879 wine_fn_config_dll msvcp60 enable_msvcp60
17880 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17881 wine_fn_config_dll msvcp70 enable_msvcp70
17882 wine_fn_config_dll msvcp71 enable_msvcp71
17883 wine_fn_config_dll msvcp80 enable_msvcp80
17884 wine_fn_config_dll msvcp90 enable_msvcp90
17885 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17886 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17887 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17888 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17889 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17890 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17891 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17892 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17893 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17894 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17895 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17896 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17897 wine_fn_config_dll msvcrt enable_msvcrt implib
17898 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17899 wine_fn_config_dll msvcrt20 enable_msvcrt20
17900 wine_fn_config_dll msvcrt40 enable_msvcrt40
17901 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17902 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17903 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
17904 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17905 wine_fn_config_dll msvidc32 enable_msvidc32 clean
17906 wine_fn_config_dll msvideo.dll16 enable_win16
17907 wine_fn_config_dll mswsock enable_mswsock implib
17908 wine_fn_config_dll msxml enable_msxml clean
17909 wine_fn_config_dll msxml2 enable_msxml2 clean
17910 wine_fn_config_dll msxml3 enable_msxml3 clean
17911 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17912 wine_fn_config_dll msxml4 enable_msxml4 clean
17913 wine_fn_config_dll msxml6 enable_msxml6 clean
17914 wine_fn_config_dll ncrypt enable_ncrypt
17915 wine_fn_config_dll nddeapi enable_nddeapi implib
17916 wine_fn_config_dll ndis.sys enable_ndis_sys
17917 wine_fn_config_dll netapi32 enable_netapi32 implib
17918 wine_fn_config_test dlls/netapi32/tests netapi32_test
17919 wine_fn_config_dll netcfgx enable_netcfgx clean
17920 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17921 wine_fn_config_dll netprofm enable_netprofm clean
17922 wine_fn_config_test dlls/netprofm/tests netprofm_test
17923 wine_fn_config_dll newdev enable_newdev implib
17924 wine_fn_config_dll normaliz enable_normaliz implib
17925 wine_fn_config_dll npmshtml enable_npmshtml
17926 wine_fn_config_dll npptools enable_npptools
17927 wine_fn_config_dll ntdll enable_ntdll implib
17928 wine_fn_config_test dlls/ntdll/tests ntdll_test
17929 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17930 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17931 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
17932 wine_fn_config_dll ntprint enable_ntprint
17933 wine_fn_config_test dlls/ntprint/tests ntprint_test
17934 wine_fn_config_dll objsel enable_objsel clean
17935 wine_fn_config_dll odbc32 enable_odbc32 implib
17936 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17937 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17938 wine_fn_config_dll odbccu32 enable_odbccu32
17939 wine_fn_config_dll ole2.dll16 enable_win16
17940 wine_fn_config_dll ole2conv.dll16 enable_win16
17941 wine_fn_config_dll ole2disp.dll16 enable_win16
17942 wine_fn_config_dll ole2nls.dll16 enable_win16
17943 wine_fn_config_dll ole2prox.dll16 enable_win16
17944 wine_fn_config_dll ole2thk.dll16 enable_win16
17945 wine_fn_config_dll ole32 enable_ole32 clean,implib
17946 wine_fn_config_test dlls/ole32/tests ole32_test
17947 wine_fn_config_dll oleacc enable_oleacc clean,implib
17948 wine_fn_config_test dlls/oleacc/tests oleacc_test
17949 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
17950 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17951 wine_fn_config_dll olecli.dll16 enable_win16
17952 wine_fn_config_dll olecli32 enable_olecli32 implib
17953 wine_fn_config_dll oledb32 enable_oledb32 clean
17954 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17955 wine_fn_config_dll oledlg enable_oledlg clean,implib
17956 wine_fn_config_test dlls/oledlg/tests oledlg_test
17957 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
17958 wine_fn_config_dll olesvr.dll16 enable_win16
17959 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17960 wine_fn_config_dll olethk32 enable_olethk32
17961 wine_fn_config_dll openal32 enable_openal32
17962 wine_fn_config_dll opencl enable_opencl
17963 wine_fn_config_dll opengl32 enable_opengl32 implib
17964 wine_fn_config_test dlls/opengl32/tests opengl32_test
17965 wine_fn_config_dll packager enable_packager clean
17966 wine_fn_config_test dlls/packager/tests packager_test
17967 wine_fn_config_dll pdh enable_pdh implib
17968 wine_fn_config_test dlls/pdh/tests pdh_test
17969 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17970 wine_fn_config_dll pidgen enable_pidgen
17971 wine_fn_config_dll powrprof enable_powrprof implib
17972 wine_fn_config_dll printui enable_printui
17973 wine_fn_config_dll prntvpt enable_prntvpt
17974 wine_fn_config_dll propsys enable_propsys clean,implib
17975 wine_fn_config_test dlls/propsys/tests propsys_test
17976 wine_fn_config_dll psapi enable_psapi implib
17977 wine_fn_config_test dlls/psapi/tests psapi_test
17978 wine_fn_config_dll pstorec enable_pstorec clean
17979 wine_fn_config_dll qcap enable_qcap
17980 wine_fn_config_test dlls/qcap/tests qcap_test
17981 wine_fn_config_dll qedit enable_qedit clean
17982 wine_fn_config_test dlls/qedit/tests qedit_test
17983 wine_fn_config_dll qmgr enable_qmgr clean
17984 wine_fn_config_test dlls/qmgr/tests qmgr_test
17985 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17986 wine_fn_config_dll quartz enable_quartz clean,implib
17987 wine_fn_config_test dlls/quartz/tests quartz_test clean
17988 wine_fn_config_dll query enable_query
17989 wine_fn_config_dll rasapi16.dll16 enable_win16
17990 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17991 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17992 wine_fn_config_dll rasdlg enable_rasdlg implib
17993 wine_fn_config_dll regapi enable_regapi
17994 wine_fn_config_dll resutils enable_resutils implib
17995 wine_fn_config_dll riched20 enable_riched20 clean,implib
17996 wine_fn_config_test dlls/riched20/tests riched20_test
17997 wine_fn_config_dll riched32 enable_riched32
17998 wine_fn_config_test dlls/riched32/tests riched32_test
17999 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
18000 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
18001 wine_fn_config_dll rsabase enable_rsabase
18002 wine_fn_config_dll rsaenh enable_rsaenh implib
18003 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18004 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18005 wine_fn_config_dll rtutils enable_rtutils implib
18006 wine_fn_config_dll samlib enable_samlib
18007 wine_fn_config_dll sane.ds enable_sane_ds clean
18008 wine_fn_config_dll scarddlg enable_scarddlg
18009 wine_fn_config_dll sccbase enable_sccbase
18010 wine_fn_config_dll schannel enable_schannel
18011 wine_fn_config_test dlls/schannel/tests schannel_test
18012 wine_fn_config_dll schedsvc enable_schedsvc clean
18013 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18014 wine_fn_config_dll scrrun enable_scrrun clean
18015 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18016 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18017 wine_fn_config_dll secur32 enable_secur32 implib
18018 wine_fn_config_test dlls/secur32/tests secur32_test
18019 wine_fn_config_dll security enable_security
18020 wine_fn_config_dll sensapi enable_sensapi implib
18021 wine_fn_config_dll serialui enable_serialui clean
18022 wine_fn_config_test dlls/serialui/tests serialui_test
18023 wine_fn_config_dll setupapi enable_setupapi clean,implib
18024 wine_fn_config_test dlls/setupapi/tests setupapi_test
18025 wine_fn_config_dll setupx.dll16 enable_win16
18026 wine_fn_config_dll sfc enable_sfc implib
18027 wine_fn_config_dll sfc_os enable_sfc_os implib
18028 wine_fn_config_dll shdoclc enable_shdoclc clean
18029 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18030 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18031 wine_fn_config_dll shell.dll16 enable_win16
18032 wine_fn_config_dll shell32 enable_shell32 clean,implib
18033 wine_fn_config_test dlls/shell32/tests shell32_test
18034 wine_fn_config_dll shfolder enable_shfolder implib
18035 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18036 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18037 wine_fn_config_dll slbcsp enable_slbcsp
18038 wine_fn_config_dll slc enable_slc implib
18039 wine_fn_config_test dlls/slc/tests slc_test
18040 wine_fn_config_dll snmpapi enable_snmpapi implib
18041 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18042 wine_fn_config_dll softpub enable_softpub
18043 wine_fn_config_dll sound.drv16 enable_win16
18044 wine_fn_config_dll spoolss enable_spoolss implib
18045 wine_fn_config_test dlls/spoolss/tests spoolss_test
18046 wine_fn_config_dll sspicli enable_sspicli
18047 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18048 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18049 wine_fn_config_dll sti enable_sti clean,implib
18050 wine_fn_config_test dlls/sti/tests sti_test
18051 wine_fn_config_dll storage.dll16 enable_win16
18052 wine_fn_config_dll stress.dll16 enable_win16
18053 wine_fn_config_lib strmbase
18054 wine_fn_config_lib strmiids
18055 wine_fn_config_dll svrapi enable_svrapi
18056 wine_fn_config_dll sxs enable_sxs implib
18057 wine_fn_config_test dlls/sxs/tests sxs_test
18058 wine_fn_config_dll system.drv16 enable_win16
18059 wine_fn_config_dll t2embed enable_t2embed implib
18060 wine_fn_config_test dlls/t2embed/tests t2embed_test
18061 wine_fn_config_dll tapi32 enable_tapi32 implib
18062 wine_fn_config_dll taskschd enable_taskschd clean
18063 wine_fn_config_test dlls/taskschd/tests taskschd_test
18064 wine_fn_config_dll tdi.sys enable_tdi_sys
18065 wine_fn_config_dll toolhelp.dll16 enable_win16
18066 wine_fn_config_dll traffic enable_traffic
18067 wine_fn_config_dll twain.dll16 enable_win16
18068 wine_fn_config_dll twain_32 enable_twain_32
18069 wine_fn_config_test dlls/twain_32/tests twain_32_test
18070 wine_fn_config_dll typelib.dll16 enable_win16
18071 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18072 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18073 wine_fn_config_dll unicows enable_unicows implib
18074 wine_fn_config_dll updspapi enable_updspapi
18075 wine_fn_config_dll url enable_url implib
18076 wine_fn_config_dll urlmon enable_urlmon clean,implib
18077 wine_fn_config_test dlls/urlmon/tests urlmon_test
18078 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18079 wine_fn_config_dll user.exe16 enable_win16
18080 wine_fn_config_dll user32 enable_user32 clean,implib
18081 wine_fn_config_test dlls/user32/tests user32_test
18082 wine_fn_config_dll userenv enable_userenv implib
18083 wine_fn_config_test dlls/userenv/tests userenv_test
18084 wine_fn_config_dll usp10 enable_usp10 implib
18085 wine_fn_config_test dlls/usp10/tests usp10_test
18086 wine_fn_config_lib uuid
18087 wine_fn_config_dll uxtheme enable_uxtheme implib
18088 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18089 wine_fn_config_dll vbscript enable_vbscript clean
18090 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18091 wine_fn_config_dll vcomp enable_vcomp
18092 wine_fn_config_test dlls/vcomp/tests vcomp_test
18093 wine_fn_config_dll vcomp100 enable_vcomp100
18094 wine_fn_config_dll vcomp110 enable_vcomp110
18095 wine_fn_config_dll vcomp120 enable_vcomp120
18096 wine_fn_config_dll vcomp140 enable_vcomp140
18097 wine_fn_config_dll vcomp90 enable_vcomp90
18098 wine_fn_config_dll vcruntime140 enable_vcruntime140
18099 wine_fn_config_dll vdhcp.vxd enable_win16
18100 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18101 wine_fn_config_dll ver.dll16 enable_win16
18102 wine_fn_config_dll version enable_version implib
18103 wine_fn_config_test dlls/version/tests version_test
18104 wine_fn_config_dll vmm.vxd enable_win16
18105 wine_fn_config_dll vnbt.vxd enable_win16
18106 wine_fn_config_dll vnetbios.vxd enable_win16
18107 wine_fn_config_dll vssapi enable_vssapi
18108 wine_fn_config_dll vtdapi.vxd enable_win16
18109 wine_fn_config_dll vwin32.vxd enable_win16
18110 wine_fn_config_dll w32skrnl enable_win16
18111 wine_fn_config_dll w32sys.dll16 enable_win16
18112 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18113 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18114 wine_fn_config_dll wbemprox enable_wbemprox clean
18115 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18116 wine_fn_config_dll webservices enable_webservices implib
18117 wine_fn_config_test dlls/webservices/tests webservices_test
18118 wine_fn_config_dll wer enable_wer implib
18119 wine_fn_config_test dlls/wer/tests wer_test
18120 wine_fn_config_dll wevtapi enable_wevtapi
18121 wine_fn_config_dll wiaservc enable_wiaservc clean
18122 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18123 wine_fn_config_dll wimgapi enable_wimgapi
18124 wine_fn_config_dll win32s16.dll16 enable_win16
18125 wine_fn_config_dll win87em.dll16 enable_win16
18126 wine_fn_config_dll winaspi.dll16 enable_win16
18127 wine_fn_config_dll windebug.dll16 enable_win16
18128 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18129 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18130 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18131 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18132 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18133 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18134 wine_fn_config_lib winecrt0
18135 wine_fn_config_dll wined3d enable_wined3d implib
18136 wine_fn_config_dll winegstreamer enable_winegstreamer
18137 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18138 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18139 wine_fn_config_dll winemapi enable_winemapi
18140 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18141 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18142 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18143 wine_fn_config_dll wineps16.drv16 enable_win16
18144 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18145 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18146 wine_fn_config_dll winex11.drv enable_winex11_drv
18147 wine_fn_config_dll wing.dll16 enable_win16
18148 wine_fn_config_dll wing32 enable_wing32
18149 wine_fn_config_dll winhttp enable_winhttp clean,implib
18150 wine_fn_config_test dlls/winhttp/tests winhttp_test
18151 wine_fn_config_dll wininet enable_wininet clean,implib
18152 wine_fn_config_test dlls/wininet/tests wininet_test
18153 wine_fn_config_dll winmm enable_winmm clean,implib
18154 wine_fn_config_test dlls/winmm/tests winmm_test
18155 wine_fn_config_dll winnls.dll16 enable_win16
18156 wine_fn_config_dll winnls32 enable_winnls32 implib
18157 wine_fn_config_dll winscard enable_winscard implib
18158 wine_fn_config_dll winsock.dll16 enable_win16
18159 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18160 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18161 wine_fn_config_dll winsta enable_winsta
18162 wine_fn_config_dll wintab.dll16 enable_win16
18163 wine_fn_config_dll wintab32 enable_wintab32 implib
18164 wine_fn_config_test dlls/wintab32/tests wintab32_test
18165 wine_fn_config_dll wintrust enable_wintrust implib
18166 wine_fn_config_test dlls/wintrust/tests wintrust_test
18167 wine_fn_config_dll wlanapi enable_wlanapi
18168 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18169 wine_fn_config_test dlls/wldap32/tests wldap32_test
18170 wine_fn_config_dll wmasf enable_wmasf
18171 wine_fn_config_dll wmi enable_wmi
18172 wine_fn_config_dll wmiutils enable_wmiutils clean
18173 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18174 wine_fn_config_dll wmp enable_wmp clean
18175 wine_fn_config_test dlls/wmp/tests wmp_test
18176 wine_fn_config_dll wmvcore enable_wmvcore
18177 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18178 wine_fn_config_dll wow32 enable_win16 implib
18179 wine_fn_config_dll wpc enable_wpc clean
18180 wine_fn_config_test dlls/wpc/tests wpc_test
18181 wine_fn_config_dll wpcap enable_wpcap
18182 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18183 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18184 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18185 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18186 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18187 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18188 wine_fn_config_dll wsock32 enable_wsock32 implib
18189 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18190 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18191 wine_fn_config_dll wuapi enable_wuapi clean
18192 wine_fn_config_dll wuaueng enable_wuaueng
18193 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18194 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18195 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18196 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18197 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18198 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18199 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18200 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18201 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18202 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18203 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18204 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18205 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18206 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18207 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18208 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18209 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18210 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18211 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18212 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18213 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18214 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18215 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18216 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18217 wine_fn_config_dll xinput1_1 enable_xinput1_1
18218 wine_fn_config_dll xinput1_2 enable_xinput1_2
18219 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18220 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18221 wine_fn_config_dll xinput1_4 enable_xinput1_4
18222 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18223 wine_fn_config_dll xmllite enable_xmllite implib
18224 wine_fn_config_test dlls/xmllite/tests xmllite_test
18225 wine_fn_config_dll xolehlp enable_xolehlp
18226 wine_fn_config_dll xpsprint enable_xpsprint
18227 wine_fn_config_dll xpssvcs enable_xpssvcs
18228 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18229 wine_fn_config_makefile include enable_include clean,install-dev
18230 wine_fn_config_makefile libs/port enable_libs_port
18231 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18232 wine_fn_config_makefile libs/wpp enable_libs_wpp
18233 wine_fn_config_makefile loader enable_loader clean,install-lib
18234 wine_fn_config_makefile po enable_po clean
18235 wine_fn_config_program arp enable_arp install
18236 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18237 wine_fn_config_program attrib enable_attrib clean,install
18238 wine_fn_config_program cabarc enable_cabarc install
18239 wine_fn_config_program cacls enable_cacls install
18240 wine_fn_config_program clock enable_clock clean,install
18241 wine_fn_config_program cmd enable_cmd clean,install
18242 wine_fn_config_test programs/cmd/tests cmd.exe_test
18243 wine_fn_config_program conhost enable_conhost install
18244 wine_fn_config_program control enable_control install
18245 wine_fn_config_program cscript enable_cscript clean,install
18246 wine_fn_config_program dpnsvr enable_dpnsvr install
18247 wine_fn_config_program dxdiag enable_dxdiag clean,install
18248 wine_fn_config_program eject enable_eject install
18249 wine_fn_config_program expand enable_expand install
18250 wine_fn_config_program explorer enable_explorer clean,install
18251 wine_fn_config_program extrac32 enable_extrac32 install
18252 wine_fn_config_program findstr enable_findstr install
18253 wine_fn_config_program fsutil enable_fsutil install
18254 wine_fn_config_program hh enable_hh install
18255 wine_fn_config_program hostname enable_hostname clean,install
18256 wine_fn_config_program icacls enable_icacls install
18257 wine_fn_config_program icinfo enable_icinfo install
18258 wine_fn_config_program iexplore enable_iexplore install
18259 wine_fn_config_program ipconfig enable_ipconfig clean,install
18260 wine_fn_config_program lodctr enable_lodctr install
18261 wine_fn_config_program mofcomp enable_mofcomp install
18262 wine_fn_config_program mshta enable_mshta install
18263 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18264 wine_fn_config_program net enable_net clean,install
18265 wine_fn_config_program netsh enable_netsh install
18266 wine_fn_config_program netstat enable_netstat clean,install
18267 wine_fn_config_program ngen enable_ngen install
18268 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18269 wine_fn_config_program oleview enable_oleview clean,install
18270 wine_fn_config_program ping enable_ping install
18271 wine_fn_config_program plugplay enable_plugplay install
18272 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18273 wine_fn_config_program progman enable_progman clean,install
18274 wine_fn_config_program reg enable_reg clean,install
18275 wine_fn_config_test programs/reg/tests reg.exe_test
18276 wine_fn_config_program regasm enable_regasm install
18277 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18278 wine_fn_config_test programs/regedit/tests regedit.exe_test
18279 wine_fn_config_program regsvcs enable_regsvcs install
18280 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18281 wine_fn_config_program rpcss enable_rpcss clean,install
18282 wine_fn_config_program rundll.exe16 enable_win16 install
18283 wine_fn_config_program rundll32 enable_rundll32 install
18284 wine_fn_config_program sc enable_sc install
18285 wine_fn_config_program schtasks enable_schtasks install
18286 wine_fn_config_program sdbinst enable_sdbinst install
18287 wine_fn_config_program secedit enable_secedit install
18288 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18289 wine_fn_config_program services enable_services clean,install
18290 wine_fn_config_test programs/services/tests services.exe_test
18291 wine_fn_config_program shutdown enable_shutdown install
18292 wine_fn_config_program spoolsv enable_spoolsv install
18293 wine_fn_config_program start enable_start clean,install
18294 wine_fn_config_program svchost enable_svchost install
18295 wine_fn_config_program systeminfo enable_systeminfo install
18296 wine_fn_config_program taskkill enable_taskkill clean,install
18297 wine_fn_config_program tasklist enable_tasklist install
18298 wine_fn_config_program taskmgr enable_taskmgr clean,install
18299 wine_fn_config_program termsv enable_termsv install
18300 wine_fn_config_program uninstaller enable_uninstaller clean,install
18301 wine_fn_config_program unlodctr enable_unlodctr install
18302 wine_fn_config_program view enable_view clean,install
18303 wine_fn_config_program wevtutil enable_wevtutil install
18304 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18305 wine_fn_config_program winebrowser enable_winebrowser install
18306 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18307 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18308 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18309 wine_fn_config_program winedevice enable_winedevice install
18310 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18311 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18312 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18313 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18314 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18315 wine_fn_config_program winetest enable_winetest clean
18316 wine_fn_config_program winevdm enable_win16 install
18317 wine_fn_config_program winhelp.exe16 enable_win16 install
18318 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18319 wine_fn_config_program winoldap.mod16 enable_win16 install
18320 wine_fn_config_program winver enable_winver install
18321 wine_fn_config_program wmic enable_wmic clean,install
18322 wine_fn_config_program wmplayer enable_wmplayer install
18323 wine_fn_config_program wordpad enable_wordpad clean,install
18324 wine_fn_config_program write enable_write clean,install
18325 wine_fn_config_program wscript enable_wscript clean,install
18326 wine_fn_config_test programs/wscript/tests wscript.exe_test
18327 wine_fn_config_program wusa enable_wusa install
18328 wine_fn_config_program xcopy enable_xcopy clean,install
18329 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18330 wine_fn_config_makefile server enable_server clean,install-lib
18331 wine_fn_config_tool tools clean
18332 wine_fn_config_tool tools/sfnt2fon clean
18333 wine_fn_config_tool tools/widl clean,install-dev
18334 wine_fn_config_tool tools/winebuild clean,install-dev
18335 wine_fn_config_tool tools/winedump clean,install-dev
18336 wine_fn_config_tool tools/winegcc clean,install-dev
18337 wine_fn_config_tool tools/winemaker clean,install-dev
18338 wine_fn_config_tool tools/wmc clean,install-dev
18339 wine_fn_config_tool tools/wrc clean,install-dev
18342 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
18343 wine_fn_append_file CONFIGURE_TARGETS "tags"
18344 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
18345 wine_fn_append_file CONFIGURE_TARGETS "config.log"
18346 wine_fn_append_file CONFIGURE_TARGETS "config.status"
18347 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
18348 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
18349 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
18351 if test "x$enable_tools" != xno
18352 then
18353 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
18354 ac_config_commands="$ac_config_commands tools/makedep"
18358 ac_config_commands="$ac_config_commands Makefile"
18361 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18365 if test "x$enable_maintainer_mode" = xyes
18366 then
18367 wine_fn_append_rule "configure: configure.ac aclocal.m4
18368 autoconf --warnings=all
18369 include/config.h.in: include/stamp-h.in
18370 include/stamp-h.in: configure.ac aclocal.m4
18371 autoheader --warnings=all
18372 @echo timestamp > \$@"
18375 if test "x$enable_tools" != xno
18376 then
18377 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18378 @./config.status tools/makedep
18379 Makefile: tools/makedep$ac_exeext"
18380 else
18381 wine_fn_append_rule "\$(MAKEDEP):
18382 @echo \"You need to run make in $TOOLSDIR first\" && false"
18385 if test -n "$with_wine64"
18386 then
18387 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18388 fonts server:
18389 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18390 $with_wine64/loader/wine:
18391 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18392 $with_wine64/loader/wine-preloader:
18393 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18394 clean::
18395 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18396 else
18397 WINELOADER_INSTALL="wine.inf"
18399 wine_fn_append_rule "install install-lib::
18400 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18401 uninstall::
18402 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18403 case $host_os in
18404 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18405 *) wine_fn_append_rule "install install-lib::
18406 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18407 uninstall::
18408 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18409 esac
18412 $as_echo " done" >&6
18413 cat >confcache <<\_ACEOF
18414 # This file is a shell script that caches the results of configure
18415 # tests run on this system so they can be shared between configure
18416 # scripts and configure runs, see configure's option --config-cache.
18417 # It is not useful on other systems. If it contains results you don't
18418 # want to keep, you may remove or edit it.
18420 # config.status only pays attention to the cache file if you give it
18421 # the --recheck option to rerun configure.
18423 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18424 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18425 # following values.
18427 _ACEOF
18429 # The following way of writing the cache mishandles newlines in values,
18430 # but we know of no workaround that is simple, portable, and efficient.
18431 # So, we kill variables containing newlines.
18432 # Ultrix sh set writes to stderr and can't be redirected directly,
18433 # and sets the high bit in the cache file unless we assign to the vars.
18435 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18436 eval ac_val=\$$ac_var
18437 case $ac_val in #(
18438 *${as_nl}*)
18439 case $ac_var in #(
18440 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18441 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18442 esac
18443 case $ac_var in #(
18444 _ | IFS | as_nl) ;; #(
18445 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18446 *) { eval $ac_var=; unset $ac_var;} ;;
18447 esac ;;
18448 esac
18449 done
18451 (set) 2>&1 |
18452 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18453 *${as_nl}ac_space=\ *)
18454 # `set' does not quote correctly, so add quotes: double-quote
18455 # substitution turns \\\\ into \\, and sed turns \\ into \.
18456 sed -n \
18457 "s/'/'\\\\''/g;
18458 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18459 ;; #(
18461 # `set' quotes correctly as required by POSIX, so do not add quotes.
18462 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18464 esac |
18465 sort
18467 sed '
18468 /^ac_cv_env_/b end
18469 t clear
18470 :clear
18471 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18472 t end
18473 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18474 :end' >>confcache
18475 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18476 if test -w "$cache_file"; then
18477 if test "x$cache_file" != "x/dev/null"; then
18478 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18479 $as_echo "$as_me: updating cache $cache_file" >&6;}
18480 if test ! -f "$cache_file" || test -h "$cache_file"; then
18481 cat confcache >"$cache_file"
18482 else
18483 case $cache_file in #(
18484 */* | ?:*)
18485 mv -f confcache "$cache_file"$$ &&
18486 mv -f "$cache_file"$$ "$cache_file" ;; #(
18488 mv -f confcache "$cache_file" ;;
18489 esac
18492 else
18493 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18494 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18497 rm -f confcache
18499 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18500 # Let make expand exec_prefix.
18501 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18503 DEFS=-DHAVE_CONFIG_H
18505 ac_libobjs=
18506 ac_ltlibobjs=
18508 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18509 # 1. Remove the extension, and $U if already installed.
18510 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18511 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18512 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18513 # will be set to the directory where LIBOBJS objects are built.
18514 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18515 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18516 done
18517 LIBOBJS=$ac_libobjs
18519 LTLIBOBJS=$ac_ltlibobjs
18523 : "${CONFIG_STATUS=./config.status}"
18524 ac_write_fail=0
18525 ac_clean_files_save=$ac_clean_files
18526 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18527 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18528 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18529 as_write_fail=0
18530 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18531 #! $SHELL
18532 # Generated by $as_me.
18533 # Run this file to recreate the current configuration.
18534 # Compiler output produced by configure, useful for debugging
18535 # configure, is in config.log if it exists.
18537 debug=false
18538 ac_cs_recheck=false
18539 ac_cs_silent=false
18541 SHELL=\${CONFIG_SHELL-$SHELL}
18542 export SHELL
18543 _ASEOF
18544 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18545 ## -------------------- ##
18546 ## M4sh Initialization. ##
18547 ## -------------------- ##
18549 # Be more Bourne compatible
18550 DUALCASE=1; export DUALCASE # for MKS sh
18551 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18552 emulate sh
18553 NULLCMD=:
18554 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18555 # is contrary to our usage. Disable this feature.
18556 alias -g '${1+"$@"}'='"$@"'
18557 setopt NO_GLOB_SUBST
18558 else
18559 case `(set -o) 2>/dev/null` in #(
18560 *posix*) :
18561 set -o posix ;; #(
18562 *) :
18564 esac
18568 as_nl='
18570 export as_nl
18571 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18572 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18573 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18574 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18575 # Prefer a ksh shell builtin over an external printf program on Solaris,
18576 # but without wasting forks for bash or zsh.
18577 if test -z "$BASH_VERSION$ZSH_VERSION" \
18578 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18579 as_echo='print -r --'
18580 as_echo_n='print -rn --'
18581 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18582 as_echo='printf %s\n'
18583 as_echo_n='printf %s'
18584 else
18585 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18586 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18587 as_echo_n='/usr/ucb/echo -n'
18588 else
18589 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18590 as_echo_n_body='eval
18591 arg=$1;
18592 case $arg in #(
18593 *"$as_nl"*)
18594 expr "X$arg" : "X\\(.*\\)$as_nl";
18595 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18596 esac;
18597 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18599 export as_echo_n_body
18600 as_echo_n='sh -c $as_echo_n_body as_echo'
18602 export as_echo_body
18603 as_echo='sh -c $as_echo_body as_echo'
18606 # The user is always right.
18607 if test "${PATH_SEPARATOR+set}" != set; then
18608 PATH_SEPARATOR=:
18609 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18610 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18611 PATH_SEPARATOR=';'
18616 # IFS
18617 # We need space, tab and new line, in precisely that order. Quoting is
18618 # there to prevent editors from complaining about space-tab.
18619 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18620 # splitting by setting IFS to empty value.)
18621 IFS=" "" $as_nl"
18623 # Find who we are. Look in the path if we contain no directory separator.
18624 as_myself=
18625 case $0 in #((
18626 *[\\/]* ) as_myself=$0 ;;
18627 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18628 for as_dir in $PATH
18630 IFS=$as_save_IFS
18631 test -z "$as_dir" && as_dir=.
18632 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18633 done
18634 IFS=$as_save_IFS
18637 esac
18638 # We did not find ourselves, most probably we were run as `sh COMMAND'
18639 # in which case we are not to be found in the path.
18640 if test "x$as_myself" = x; then
18641 as_myself=$0
18643 if test ! -f "$as_myself"; then
18644 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18645 exit 1
18648 # Unset variables that we do not need and which cause bugs (e.g. in
18649 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18650 # suppresses any "Segmentation fault" message there. '((' could
18651 # trigger a bug in pdksh 5.2.14.
18652 for as_var in BASH_ENV ENV MAIL MAILPATH
18653 do eval test x\${$as_var+set} = xset \
18654 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18655 done
18656 PS1='$ '
18657 PS2='> '
18658 PS4='+ '
18660 # NLS nuisances.
18661 LC_ALL=C
18662 export LC_ALL
18663 LANGUAGE=C
18664 export LANGUAGE
18666 # CDPATH.
18667 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18670 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18671 # ----------------------------------------
18672 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18673 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18674 # script with STATUS, using 1 if that was 0.
18675 as_fn_error ()
18677 as_status=$1; test $as_status -eq 0 && as_status=1
18678 if test "$4"; then
18679 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18680 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18682 $as_echo "$as_me: error: $2" >&2
18683 as_fn_exit $as_status
18684 } # as_fn_error
18687 # as_fn_set_status STATUS
18688 # -----------------------
18689 # Set $? to STATUS, without forking.
18690 as_fn_set_status ()
18692 return $1
18693 } # as_fn_set_status
18695 # as_fn_exit STATUS
18696 # -----------------
18697 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18698 as_fn_exit ()
18700 set +e
18701 as_fn_set_status $1
18702 exit $1
18703 } # as_fn_exit
18705 # as_fn_unset VAR
18706 # ---------------
18707 # Portably unset VAR.
18708 as_fn_unset ()
18710 { eval $1=; unset $1;}
18712 as_unset=as_fn_unset
18713 # as_fn_append VAR VALUE
18714 # ----------------------
18715 # Append the text in VALUE to the end of the definition contained in VAR. Take
18716 # advantage of any shell optimizations that allow amortized linear growth over
18717 # repeated appends, instead of the typical quadratic growth present in naive
18718 # implementations.
18719 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18720 eval 'as_fn_append ()
18722 eval $1+=\$2
18724 else
18725 as_fn_append ()
18727 eval $1=\$$1\$2
18729 fi # as_fn_append
18731 # as_fn_arith ARG...
18732 # ------------------
18733 # Perform arithmetic evaluation on the ARGs, and store the result in the
18734 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18735 # must be portable across $(()) and expr.
18736 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18737 eval 'as_fn_arith ()
18739 as_val=$(( $* ))
18741 else
18742 as_fn_arith ()
18744 as_val=`expr "$@" || test $? -eq 1`
18746 fi # as_fn_arith
18749 if expr a : '\(a\)' >/dev/null 2>&1 &&
18750 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18751 as_expr=expr
18752 else
18753 as_expr=false
18756 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18757 as_basename=basename
18758 else
18759 as_basename=false
18762 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18763 as_dirname=dirname
18764 else
18765 as_dirname=false
18768 as_me=`$as_basename -- "$0" ||
18769 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18770 X"$0" : 'X\(//\)$' \| \
18771 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18772 $as_echo X/"$0" |
18773 sed '/^.*\/\([^/][^/]*\)\/*$/{
18774 s//\1/
18777 /^X\/\(\/\/\)$/{
18778 s//\1/
18781 /^X\/\(\/\).*/{
18782 s//\1/
18785 s/.*/./; q'`
18787 # Avoid depending upon Character Ranges.
18788 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18789 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18790 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18791 as_cr_digits='0123456789'
18792 as_cr_alnum=$as_cr_Letters$as_cr_digits
18794 ECHO_C= ECHO_N= ECHO_T=
18795 case `echo -n x` in #(((((
18796 -n*)
18797 case `echo 'xy\c'` in
18798 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18799 xy) ECHO_C='\c';;
18800 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18801 ECHO_T=' ';;
18802 esac;;
18804 ECHO_N='-n';;
18805 esac
18807 rm -f conf$$ conf$$.exe conf$$.file
18808 if test -d conf$$.dir; then
18809 rm -f conf$$.dir/conf$$.file
18810 else
18811 rm -f conf$$.dir
18812 mkdir conf$$.dir 2>/dev/null
18814 if (echo >conf$$.file) 2>/dev/null; then
18815 if ln -s conf$$.file conf$$ 2>/dev/null; then
18816 as_ln_s='ln -s'
18817 # ... but there are two gotchas:
18818 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18819 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18820 # In both cases, we have to default to `cp -pR'.
18821 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18822 as_ln_s='cp -pR'
18823 elif ln conf$$.file conf$$ 2>/dev/null; then
18824 as_ln_s=ln
18825 else
18826 as_ln_s='cp -pR'
18828 else
18829 as_ln_s='cp -pR'
18831 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18832 rmdir conf$$.dir 2>/dev/null
18835 # as_fn_mkdir_p
18836 # -------------
18837 # Create "$as_dir" as a directory, including parents if necessary.
18838 as_fn_mkdir_p ()
18841 case $as_dir in #(
18842 -*) as_dir=./$as_dir;;
18843 esac
18844 test -d "$as_dir" || eval $as_mkdir_p || {
18845 as_dirs=
18846 while :; do
18847 case $as_dir in #(
18848 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18849 *) as_qdir=$as_dir;;
18850 esac
18851 as_dirs="'$as_qdir' $as_dirs"
18852 as_dir=`$as_dirname -- "$as_dir" ||
18853 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18854 X"$as_dir" : 'X\(//\)[^/]' \| \
18855 X"$as_dir" : 'X\(//\)$' \| \
18856 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18857 $as_echo X"$as_dir" |
18858 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18859 s//\1/
18862 /^X\(\/\/\)[^/].*/{
18863 s//\1/
18866 /^X\(\/\/\)$/{
18867 s//\1/
18870 /^X\(\/\).*/{
18871 s//\1/
18874 s/.*/./; q'`
18875 test -d "$as_dir" && break
18876 done
18877 test -z "$as_dirs" || eval "mkdir $as_dirs"
18878 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18881 } # as_fn_mkdir_p
18882 if mkdir -p . 2>/dev/null; then
18883 as_mkdir_p='mkdir -p "$as_dir"'
18884 else
18885 test -d ./-p && rmdir ./-p
18886 as_mkdir_p=false
18890 # as_fn_executable_p FILE
18891 # -----------------------
18892 # Test if FILE is an executable regular file.
18893 as_fn_executable_p ()
18895 test -f "$1" && test -x "$1"
18896 } # as_fn_executable_p
18897 as_test_x='test -x'
18898 as_executable_p=as_fn_executable_p
18900 # Sed expression to map a string onto a valid CPP name.
18901 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18903 # Sed expression to map a string onto a valid variable name.
18904 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18907 exec 6>&1
18908 ## ----------------------------------- ##
18909 ## Main body of $CONFIG_STATUS script. ##
18910 ## ----------------------------------- ##
18911 _ASEOF
18912 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18914 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18915 # Save the log message, to keep $0 and so on meaningful, and to
18916 # report actual input values of CONFIG_FILES etc. instead of their
18917 # values after options handling.
18918 ac_log="
18919 This file was extended by Wine $as_me 1.9.17, which was
18920 generated by GNU Autoconf 2.69. Invocation command line was
18922 CONFIG_FILES = $CONFIG_FILES
18923 CONFIG_HEADERS = $CONFIG_HEADERS
18924 CONFIG_LINKS = $CONFIG_LINKS
18925 CONFIG_COMMANDS = $CONFIG_COMMANDS
18926 $ $0 $@
18928 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18931 _ACEOF
18933 case $ac_config_files in *"
18934 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18935 esac
18937 case $ac_config_headers in *"
18938 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18939 esac
18942 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18943 # Files that config.status was made for.
18944 config_files="$ac_config_files"
18945 config_headers="$ac_config_headers"
18946 config_links="$ac_config_links"
18947 config_commands="$ac_config_commands"
18949 _ACEOF
18951 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18952 ac_cs_usage="\
18953 \`$as_me' instantiates files and other configuration actions
18954 from templates according to the current configuration. Unless the files
18955 and actions are specified as TAGs, all are instantiated by default.
18957 Usage: $0 [OPTION]... [TAG]...
18959 -h, --help print this help, then exit
18960 -V, --version print version number and configuration settings, then exit
18961 --config print configuration, then exit
18962 -q, --quiet, --silent
18963 do not print progress messages
18964 -d, --debug don't remove temporary files
18965 --recheck update $as_me by reconfiguring in the same conditions
18966 --file=FILE[:TEMPLATE]
18967 instantiate the configuration file FILE
18968 --header=FILE[:TEMPLATE]
18969 instantiate the configuration header FILE
18971 Configuration files:
18972 $config_files
18974 Configuration headers:
18975 $config_headers
18977 Configuration links:
18978 $config_links
18980 Configuration commands:
18981 $config_commands
18983 Report bugs to <wine-devel@winehq.org>.
18984 Wine home page: <http://www.winehq.org>."
18986 _ACEOF
18987 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18988 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18989 ac_cs_version="\\
18990 Wine config.status 1.9.17
18991 configured by $0, generated by GNU Autoconf 2.69,
18992 with options \\"\$ac_cs_config\\"
18994 Copyright (C) 2012 Free Software Foundation, Inc.
18995 This config.status script is free software; the Free Software Foundation
18996 gives unlimited permission to copy, distribute and modify it."
18998 ac_pwd='$ac_pwd'
18999 srcdir='$srcdir'
19000 test -n "\$AWK" || AWK=awk
19001 _ACEOF
19003 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19004 # The default lists apply if the user does not specify any file.
19005 ac_need_defaults=:
19006 while test $# != 0
19008 case $1 in
19009 --*=?*)
19010 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19011 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19012 ac_shift=:
19014 --*=)
19015 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19016 ac_optarg=
19017 ac_shift=:
19020 ac_option=$1
19021 ac_optarg=$2
19022 ac_shift=shift
19024 esac
19026 case $ac_option in
19027 # Handling of the options.
19028 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19029 ac_cs_recheck=: ;;
19030 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19031 $as_echo "$ac_cs_version"; exit ;;
19032 --config | --confi | --conf | --con | --co | --c )
19033 $as_echo "$ac_cs_config"; exit ;;
19034 --debug | --debu | --deb | --de | --d | -d )
19035 debug=: ;;
19036 --file | --fil | --fi | --f )
19037 $ac_shift
19038 case $ac_optarg in
19039 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19040 '') as_fn_error $? "missing file argument" ;;
19041 esac
19042 as_fn_append CONFIG_FILES " '$ac_optarg'"
19043 ac_need_defaults=false;;
19044 --header | --heade | --head | --hea )
19045 $ac_shift
19046 case $ac_optarg in
19047 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19048 esac
19049 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19050 ac_need_defaults=false;;
19051 --he | --h)
19052 # Conflict between --help and --header
19053 as_fn_error $? "ambiguous option: \`$1'
19054 Try \`$0 --help' for more information.";;
19055 --help | --hel | -h )
19056 $as_echo "$ac_cs_usage"; exit ;;
19057 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19058 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19059 ac_cs_silent=: ;;
19061 # This is an error.
19062 -*) as_fn_error $? "unrecognized option: \`$1'
19063 Try \`$0 --help' for more information." ;;
19065 *) as_fn_append ac_config_targets " $1"
19066 ac_need_defaults=false ;;
19068 esac
19069 shift
19070 done
19072 ac_configure_extra_args=
19074 if $ac_cs_silent; then
19075 exec 6>/dev/null
19076 ac_configure_extra_args="$ac_configure_extra_args --silent"
19079 _ACEOF
19080 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19081 if \$ac_cs_recheck; then
19082 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19083 shift
19084 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19085 CONFIG_SHELL='$SHELL'
19086 export CONFIG_SHELL
19087 exec "\$@"
19090 _ACEOF
19091 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19092 exec 5>>config.log
19094 echo
19095 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19096 ## Running $as_me. ##
19097 _ASBOX
19098 $as_echo "$ac_log"
19099 } >&5
19101 _ACEOF
19102 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19104 # INIT-COMMANDS
19106 wine_fn_output_makedep ()
19108 as_dir=tools; as_fn_mkdir_p
19109 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19111 wine_fn_output_makefile ()
19113 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19114 `cat $wine_rules_file`
19115 _WINE_EOF
19116 as_fn_error $? "could not create Makefile" "$LINENO" 5
19119 _ACEOF
19121 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19123 # Handling of arguments.
19124 for ac_config_target in $ac_config_targets
19126 case $ac_config_target in
19127 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19128 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19129 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19130 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19131 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19132 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19133 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19134 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19135 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19136 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19137 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19138 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19139 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19141 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19142 esac
19143 done
19146 # If the user did not use the arguments to specify the items to instantiate,
19147 # then the envvar interface is used. Set only those that are not.
19148 # We use the long form for the default assignment because of an extremely
19149 # bizarre bug on SunOS 4.1.3.
19150 if $ac_need_defaults; then
19151 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19152 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19153 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19154 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19157 # Have a temporary directory for convenience. Make it in the build tree
19158 # simply because there is no reason against having it here, and in addition,
19159 # creating and moving files from /tmp can sometimes cause problems.
19160 # Hook for its removal unless debugging.
19161 # Note that there is a small window in which the directory will not be cleaned:
19162 # after its creation but before its name has been assigned to `$tmp'.
19163 $debug ||
19165 tmp= ac_tmp=
19166 trap 'exit_status=$?
19167 : "${ac_tmp:=$tmp}"
19168 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19170 trap 'as_fn_exit 1' 1 2 13 15
19172 # Create a (secure) tmp directory for tmp files.
19175 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19176 test -d "$tmp"
19177 } ||
19179 tmp=./conf$$-$RANDOM
19180 (umask 077 && mkdir "$tmp")
19181 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19182 ac_tmp=$tmp
19184 # Set up the scripts for CONFIG_FILES section.
19185 # No need to generate them if there are no CONFIG_FILES.
19186 # This happens for instance with `./config.status config.h'.
19187 if test -n "$CONFIG_FILES"; then
19190 ac_cr=`echo X | tr X '\015'`
19191 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19192 # But we know of no other shell where ac_cr would be empty at this
19193 # point, so we can use a bashism as a fallback.
19194 if test "x$ac_cr" = x; then
19195 eval ac_cr=\$\'\\r\'
19197 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19198 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19199 ac_cs_awk_cr='\\r'
19200 else
19201 ac_cs_awk_cr=$ac_cr
19204 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19205 _ACEOF
19209 echo "cat >conf$$subs.awk <<_ACEOF" &&
19210 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19211 echo "_ACEOF"
19212 } >conf$$subs.sh ||
19213 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19214 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19215 ac_delim='%!_!# '
19216 for ac_last_try in false false false false false :; do
19217 . ./conf$$subs.sh ||
19218 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19220 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19221 if test $ac_delim_n = $ac_delim_num; then
19222 break
19223 elif $ac_last_try; then
19224 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19225 else
19226 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19228 done
19229 rm -f conf$$subs.sh
19231 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19232 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19233 _ACEOF
19234 sed -n '
19236 s/^/S["/; s/!.*/"]=/
19239 s/^[^!]*!//
19240 :repl
19241 t repl
19242 s/'"$ac_delim"'$//
19243 t delim
19246 s/\(.\{148\}\)..*/\1/
19247 t more1
19248 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19251 b repl
19252 :more1
19253 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19256 s/.\{148\}//
19257 t nl
19258 :delim
19260 s/\(.\{148\}\)..*/\1/
19261 t more2
19262 s/["\\]/\\&/g; s/^/"/; s/$/"/
19265 :more2
19266 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19269 s/.\{148\}//
19270 t delim
19271 ' <conf$$subs.awk | sed '
19272 /^[^""]/{
19274 s/\n//
19276 ' >>$CONFIG_STATUS || ac_write_fail=1
19277 rm -f conf$$subs.awk
19278 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19279 _ACAWK
19280 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19281 for (key in S) S_is_set[key] = 1
19282 FS = "\a"
19286 line = $ 0
19287 nfields = split(line, field, "@")
19288 substed = 0
19289 len = length(field[1])
19290 for (i = 2; i < nfields; i++) {
19291 key = field[i]
19292 keylen = length(key)
19293 if (S_is_set[key]) {
19294 value = S[key]
19295 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19296 len += length(value) + length(field[++i])
19297 substed = 1
19298 } else
19299 len += 1 + keylen
19302 print line
19305 _ACAWK
19306 _ACEOF
19307 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19308 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19309 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19310 else
19312 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19313 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19314 _ACEOF
19316 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19317 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19318 # trailing colons and then remove the whole line if VPATH becomes empty
19319 # (actually we leave an empty line to preserve line numbers).
19320 if test "x$srcdir" = x.; then
19321 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19323 s///
19324 s/^/:/
19325 s/[ ]*$/:/
19326 s/:\$(srcdir):/:/g
19327 s/:\${srcdir}:/:/g
19328 s/:@srcdir@:/:/g
19329 s/^:*//
19330 s/:*$//
19332 s/\(=[ ]*\).*/\1/
19334 s/\n//
19335 s/^[^=]*=[ ]*$//
19339 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19340 fi # test -n "$CONFIG_FILES"
19342 # Set up the scripts for CONFIG_HEADERS section.
19343 # No need to generate them if there are no CONFIG_HEADERS.
19344 # This happens for instance with `./config.status Makefile'.
19345 if test -n "$CONFIG_HEADERS"; then
19346 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19347 BEGIN {
19348 _ACEOF
19350 # Transform confdefs.h into an awk script `defines.awk', embedded as
19351 # here-document in config.status, that substitutes the proper values into
19352 # config.h.in to produce config.h.
19354 # Create a delimiter string that does not exist in confdefs.h, to ease
19355 # handling of long lines.
19356 ac_delim='%!_!# '
19357 for ac_last_try in false false :; do
19358 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19359 if test -z "$ac_tt"; then
19360 break
19361 elif $ac_last_try; then
19362 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19363 else
19364 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19366 done
19368 # For the awk script, D is an array of macro values keyed by name,
19369 # likewise P contains macro parameters if any. Preserve backslash
19370 # newline sequences.
19372 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19373 sed -n '
19374 s/.\{148\}/&'"$ac_delim"'/g
19375 t rset
19376 :rset
19377 s/^[ ]*#[ ]*define[ ][ ]*/ /
19378 t def
19380 :def
19381 s/\\$//
19382 t bsnl
19383 s/["\\]/\\&/g
19384 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19385 D["\1"]=" \3"/p
19386 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19388 :bsnl
19389 s/["\\]/\\&/g
19390 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19391 D["\1"]=" \3\\\\\\n"\\/p
19392 t cont
19393 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19394 t cont
19396 :cont
19398 s/.\{148\}/&'"$ac_delim"'/g
19399 t clear
19400 :clear
19401 s/\\$//
19402 t bsnlc
19403 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19405 :bsnlc
19406 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19407 b cont
19408 ' <confdefs.h | sed '
19409 s/'"$ac_delim"'/"\\\
19410 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19412 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19413 for (key in D) D_is_set[key] = 1
19414 FS = "\a"
19416 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19417 line = \$ 0
19418 split(line, arg, " ")
19419 if (arg[1] == "#") {
19420 defundef = arg[2]
19421 mac1 = arg[3]
19422 } else {
19423 defundef = substr(arg[1], 2)
19424 mac1 = arg[2]
19426 split(mac1, mac2, "(") #)
19427 macro = mac2[1]
19428 prefix = substr(line, 1, index(line, defundef) - 1)
19429 if (D_is_set[macro]) {
19430 # Preserve the white space surrounding the "#".
19431 print prefix "define", macro P[macro] D[macro]
19432 next
19433 } else {
19434 # Replace #undef with comments. This is necessary, for example,
19435 # in the case of _POSIX_SOURCE, which is predefined and required
19436 # on some systems where configure will not decide to define it.
19437 if (defundef == "undef") {
19438 print "/*", prefix defundef, macro, "*/"
19439 next
19443 { print }
19444 _ACAWK
19445 _ACEOF
19446 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19447 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19448 fi # test -n "$CONFIG_HEADERS"
19451 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19452 shift
19453 for ac_tag
19455 case $ac_tag in
19456 :[FHLC]) ac_mode=$ac_tag; continue;;
19457 esac
19458 case $ac_mode$ac_tag in
19459 :[FHL]*:*);;
19460 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19461 :[FH]-) ac_tag=-:-;;
19462 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19463 esac
19464 ac_save_IFS=$IFS
19465 IFS=:
19466 set x $ac_tag
19467 IFS=$ac_save_IFS
19468 shift
19469 ac_file=$1
19470 shift
19472 case $ac_mode in
19473 :L) ac_source=$1;;
19474 :[FH])
19475 ac_file_inputs=
19476 for ac_f
19478 case $ac_f in
19479 -) ac_f="$ac_tmp/stdin";;
19480 *) # Look for the file first in the build tree, then in the source tree
19481 # (if the path is not absolute). The absolute path cannot be DOS-style,
19482 # because $ac_f cannot contain `:'.
19483 test -f "$ac_f" ||
19484 case $ac_f in
19485 [\\/$]*) false;;
19486 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19487 esac ||
19488 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19489 esac
19490 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19491 as_fn_append ac_file_inputs " '$ac_f'"
19492 done
19494 # Let's still pretend it is `configure' which instantiates (i.e., don't
19495 # use $as_me), people would be surprised to read:
19496 # /* config.h. Generated by config.status. */
19497 configure_input='Generated from '`
19498 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19499 `' by configure.'
19500 if test x"$ac_file" != x-; then
19501 configure_input="$ac_file. $configure_input"
19502 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19503 $as_echo "$as_me: creating $ac_file" >&6;}
19505 # Neutralize special characters interpreted by sed in replacement strings.
19506 case $configure_input in #(
19507 *\&* | *\|* | *\\* )
19508 ac_sed_conf_input=`$as_echo "$configure_input" |
19509 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19510 *) ac_sed_conf_input=$configure_input;;
19511 esac
19513 case $ac_tag in
19514 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19515 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19516 esac
19518 esac
19520 ac_dir=`$as_dirname -- "$ac_file" ||
19521 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19522 X"$ac_file" : 'X\(//\)[^/]' \| \
19523 X"$ac_file" : 'X\(//\)$' \| \
19524 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19525 $as_echo X"$ac_file" |
19526 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19527 s//\1/
19530 /^X\(\/\/\)[^/].*/{
19531 s//\1/
19534 /^X\(\/\/\)$/{
19535 s//\1/
19538 /^X\(\/\).*/{
19539 s//\1/
19542 s/.*/./; q'`
19543 as_dir="$ac_dir"; as_fn_mkdir_p
19544 ac_builddir=.
19546 case "$ac_dir" in
19547 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19549 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19550 # A ".." for each directory in $ac_dir_suffix.
19551 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19552 case $ac_top_builddir_sub in
19553 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19554 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19555 esac ;;
19556 esac
19557 ac_abs_top_builddir=$ac_pwd
19558 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19559 # for backward compatibility:
19560 ac_top_builddir=$ac_top_build_prefix
19562 case $srcdir in
19563 .) # We are building in place.
19564 ac_srcdir=.
19565 ac_top_srcdir=$ac_top_builddir_sub
19566 ac_abs_top_srcdir=$ac_pwd ;;
19567 [\\/]* | ?:[\\/]* ) # Absolute name.
19568 ac_srcdir=$srcdir$ac_dir_suffix;
19569 ac_top_srcdir=$srcdir
19570 ac_abs_top_srcdir=$srcdir ;;
19571 *) # Relative name.
19572 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19573 ac_top_srcdir=$ac_top_build_prefix$srcdir
19574 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19575 esac
19576 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19579 case $ac_mode in
19582 # CONFIG_FILE
19585 _ACEOF
19587 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19588 # If the template does not know about datarootdir, expand it.
19589 # FIXME: This hack should be removed a few years after 2.60.
19590 ac_datarootdir_hack=; ac_datarootdir_seen=
19591 ac_sed_dataroot='
19592 /datarootdir/ {
19596 /@datadir@/p
19597 /@docdir@/p
19598 /@infodir@/p
19599 /@localedir@/p
19600 /@mandir@/p'
19601 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19602 *datarootdir*) ac_datarootdir_seen=yes;;
19603 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19604 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19605 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19606 _ACEOF
19607 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19608 ac_datarootdir_hack='
19609 s&@datadir@&$datadir&g
19610 s&@docdir@&$docdir&g
19611 s&@infodir@&$infodir&g
19612 s&@localedir@&$localedir&g
19613 s&@mandir@&$mandir&g
19614 s&\\\${datarootdir}&$datarootdir&g' ;;
19615 esac
19616 _ACEOF
19618 # Neutralize VPATH when `$srcdir' = `.'.
19619 # Shell code in configure.ac might set extrasub.
19620 # FIXME: do we really want to maintain this feature?
19621 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19622 ac_sed_extra="$ac_vpsub
19623 $extrasub
19624 _ACEOF
19625 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19627 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19628 s|@configure_input@|$ac_sed_conf_input|;t t
19629 s&@top_builddir@&$ac_top_builddir_sub&;t t
19630 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19631 s&@srcdir@&$ac_srcdir&;t t
19632 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19633 s&@top_srcdir@&$ac_top_srcdir&;t t
19634 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19635 s&@builddir@&$ac_builddir&;t t
19636 s&@abs_builddir@&$ac_abs_builddir&;t t
19637 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19638 $ac_datarootdir_hack
19640 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19641 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19643 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19644 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19645 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19646 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19648 which seems to be undefined. Please make sure it is defined" >&5
19649 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19650 which seems to be undefined. Please make sure it is defined" >&2;}
19652 rm -f "$ac_tmp/stdin"
19653 case $ac_file in
19654 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19655 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19656 esac \
19657 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19661 # CONFIG_HEADER
19663 if test x"$ac_file" != x-; then
19665 $as_echo "/* $configure_input */" \
19666 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19667 } >"$ac_tmp/config.h" \
19668 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19669 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19670 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19671 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19672 else
19673 rm -f "$ac_file"
19674 mv "$ac_tmp/config.h" "$ac_file" \
19675 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19677 else
19678 $as_echo "/* $configure_input */" \
19679 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19680 || as_fn_error $? "could not create -" "$LINENO" 5
19685 # CONFIG_LINK
19688 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19690 else
19691 # Prefer the file from the source tree if names are identical.
19692 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19693 ac_source=$srcdir/$ac_source
19696 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19697 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19699 if test ! -r "$ac_source"; then
19700 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19702 rm -f "$ac_file"
19704 # Try a relative symlink, then a hard link, then a copy.
19705 case $ac_source in
19706 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19707 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19708 esac
19709 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19710 ln "$ac_source" "$ac_file" 2>/dev/null ||
19711 cp -p "$ac_source" "$ac_file" ||
19712 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19715 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19716 $as_echo "$as_me: executing $ac_file commands" >&6;}
19718 esac
19721 case $ac_file$ac_mode in
19722 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19723 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19724 "Makefile":C) wine_fn_output_makefile Makefile ;;
19726 esac
19727 done # for ac_tag
19730 as_fn_exit 0
19731 _ACEOF
19732 ac_clean_files=$ac_clean_files_save
19734 test $ac_write_fail = 0 ||
19735 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19738 # configure is writing to config.log, and then calls config.status.
19739 # config.status does its own redirection, appending to config.log.
19740 # Unfortunately, on DOS this fails, as config.log is still kept open
19741 # by configure, so config.status won't be able to write to it; its
19742 # output is simply discarded. So we exec the FD to /dev/null,
19743 # effectively closing config.log, so it can be properly (re)opened and
19744 # appended to by config.status. When coming back to configure, we
19745 # need to make the FD available again.
19746 if test "$no_create" != yes; then
19747 ac_cs_success=:
19748 ac_config_status_args=
19749 test "$silent" = yes &&
19750 ac_config_status_args="$ac_config_status_args --quiet"
19751 exec 5>/dev/null
19752 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19753 exec 5>>config.log
19754 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19755 # would make configure fail if this is the last instruction.
19756 $ac_cs_success || as_fn_exit 1
19758 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19760 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19764 if test "$no_create" = "yes"
19765 then
19766 exit 0
19769 ac_save_IFS="$IFS"
19770 if test "x$wine_notices" != x; then
19771 echo >&6
19772 IFS="|"
19773 for msg in $wine_notices; do
19774 IFS="$ac_save_IFS"
19775 if ${msg:+false} :; then :
19777 else
19778 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19779 $as_echo "$as_me: $msg" >&6;}
19781 done
19783 IFS="|"
19784 for msg in $wine_warnings; do
19785 IFS="$ac_save_IFS"
19786 if ${msg:+false} :; then :
19788 else
19789 echo >&2
19790 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19791 $as_echo "$as_me: WARNING: $msg" >&2;}
19793 done
19794 IFS="$ac_save_IFS"
19796 $as_echo "
19797 $as_me: Finished. Do '${ac_make}' to compile Wine.
19798 " >&6