wpcap: Fix crash on pcap_loop.
[wine.git] / configure
bloba17b9c9109dbccd7d6a1ef8c820f1ea4ebffaa06
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.9.3.
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.3'
584 PACKAGE_STRING='Wine 1.9.3'
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 LINGUAS
629 ALL_VARS_RULES
630 LDAP_LIBS
631 RT_LIBS
632 POLL_LIBS
633 DL_LIBS
634 TOOLSEXT
635 UNWINDFLAGS
636 EXCESS_PRECISION_CFLAGS
637 BUILTINFLAG
638 EXTRACFLAGS
639 NETAPI_LIBS
640 NETAPI_CFLAGS
641 PROCSTAT_LIBS
642 KSTAT_LIBS
643 MPG123_LIBS
644 MPG123_CFLAGS
645 TIFF_LIBS
646 TIFF_CFLAGS
647 PNG_LIBS
648 PNG_CFLAGS
649 JPEG_LIBS
650 JPEG_CFLAGS
651 FONTCONFIG_LIBS
652 FONTCONFIG_CFLAGS
653 CUPS_CFLAGS
654 CAPI20_LIBS
655 CAPI20_CFLAGS
656 OSS4_CFLAGS
657 ALSA_LIBS
658 GSTREAMER_LIBS
659 GSTREAMER_CFLAGS
660 PULSE_LIBS
661 PULSE_CFLAGS
662 GETTEXTPO_LIBS
663 Z_LIBS
664 FREETYPE_LIBS
665 FREETYPE_CFLAGS
666 LCMS2_LIBS
667 LCMS2_CFLAGS
668 RESOLV_LIBS
669 GPHOTO2_PORT_LIBS
670 GPHOTO2_PORT_CFLAGS
671 GPHOTO2_LIBS
672 GPHOTO2_CFLAGS
673 SANE_LIBS
674 SANE_CFLAGS
675 GNUTLS_LIBS
676 GNUTLS_CFLAGS
677 HAL_LIBS
678 HAL_CFLAGS
679 DBUS_LIBS
680 DBUS_CFLAGS
681 XSLT_LIBS
682 XSLT_CFLAGS
683 XML2_LIBS
684 XML2_CFLAGS
685 PCAP_LIBS
686 X_EXTRA_LIBS
687 X_LIBS
688 X_PRE_LIBS
689 X_CFLAGS
690 XMKMF
691 PTHREAD_LIBS
692 CROSSCC
693 CROSSTARGET
694 PRELINK
695 WINELOADER_DEPENDS
696 CARBON_LIBS
697 QUICKTIME_LIBS
698 OPENCL_LIBS
699 OPENAL_LIBS
700 COREAUDIO_LIBS
701 SECURITY_LIBS
702 DISKARBITRATION_LIBS
703 APPKIT_LIBS
704 CORESERVICES_LIBS
705 APPLICATIONSERVICES_LIBS
706 FORCEFEEDBACK_LIBS
707 IOKIT_LIBS
708 COREFOUNDATION_LIBS
709 LIBWINE_DEPENDS
710 LIBWINE_LDFLAGS
711 LIBWINE_INSTALL_DEV
712 LIBWINE_INSTALL_LIB
713 LIBWINE_IMPORTLIB
714 LIBWINE_SHAREDLIB
715 SOCKET_LIBS
716 DLLTOOL
717 WINELOADER_PROGRAMS
718 ALL_TEST_RESOURCES
719 SUBDIRS
720 READELF
721 OTOOL
723 LDEXECFLAGS
724 LDRPATH_LOCAL
725 LDRPATH_INSTALL
726 DLLFLAGS
727 dlldir
729 OPENGL_LIBS
730 ICOTOOL
731 CONVERT
732 RSVG
733 FONTFORGE
734 PKG_CONFIG
735 MSGFMT
736 LDCONFIG
737 EGREP
738 GREP
739 LN_S
740 RANLIB
741 ARFLAGS
742 STRIP
743 ac_ct_AR
745 BISON
746 FLEX
747 TOOLSDIR
748 TARGETFLAGS
750 CPPBIN
751 ac_ct_CXX
752 CXXFLAGS
754 OBJEXT
755 EXEEXT
756 ac_ct_CC
757 CPPFLAGS
758 LDFLAGS
759 CFLAGS
761 SET_MAKE
762 host_os
763 host_vendor
764 host_cpu
765 host
766 build_os
767 build_vendor
768 build_cpu
769 build
770 target_alias
771 host_alias
772 build_alias
773 LIBS
774 ECHO_T
775 ECHO_N
776 ECHO_C
777 DEFS
778 mandir
779 localedir
780 libdir
781 psdir
782 pdfdir
783 dvidir
784 htmldir
785 infodir
786 docdir
787 oldincludedir
788 includedir
789 runstatedir
790 localstatedir
791 sharedstatedir
792 sysconfdir
793 datadir
794 datarootdir
795 libexecdir
796 sbindir
797 bindir
798 program_transform_name
799 prefix
800 exec_prefix
801 PACKAGE_URL
802 PACKAGE_BUGREPORT
803 PACKAGE_STRING
804 PACKAGE_VERSION
805 PACKAGE_TARNAME
806 PACKAGE_NAME
807 PATH_SEPARATOR
808 SHELL'
809 ac_subst_files=''
810 ac_user_opts='
811 enable_option_checking
812 enable_win16
813 enable_win64
814 enable_tests
815 enable_maintainer_mode
816 with_alsa
817 with_capi
818 with_cms
819 with_coreaudio
820 with_cups
821 with_curses
822 with_dbus
823 with_fontconfig
824 with_freetype
825 with_gettext
826 with_gettextpo
827 with_gphoto
828 with_glu
829 with_gnutls
830 with_gsm
831 with_gstreamer
832 with_hal
833 with_jpeg
834 with_ldap
835 with_mpg123
836 with_netapi
837 with_openal
838 with_opencl
839 with_opengl
840 with_osmesa
841 with_oss
842 with_pcap
843 with_png
844 with_pthread
845 with_pulse
846 with_sane
847 with_tiff
848 with_v4l
849 with_xcomposite
850 with_xcursor
851 with_xinerama
852 with_xinput
853 with_xinput2
854 with_xml
855 with_xrandr
856 with_xrender
857 with_xshape
858 with_xshm
859 with_xslt
860 with_xxf86vm
861 with_zlib
862 with_wine_tools
863 with_wine64
864 enable_largefile
865 with_x
866 enable_acledit
867 enable_aclui
868 enable_activeds
869 enable_actxprxy
870 enable_advapi32
871 enable_advpack
872 enable_amstream
873 enable_api_ms_win_core_com_l1_1_0
874 enable_api_ms_win_core_com_l1_1_1
875 enable_api_ms_win_core_console_l1_1_0
876 enable_api_ms_win_core_datetime_l1_1_0
877 enable_api_ms_win_core_datetime_l1_1_1
878 enable_api_ms_win_core_debug_l1_1_0
879 enable_api_ms_win_core_debug_l1_1_1
880 enable_api_ms_win_core_delayload_l1_1_1
881 enable_api_ms_win_core_errorhandling_l1_1_0
882 enable_api_ms_win_core_errorhandling_l1_1_1
883 enable_api_ms_win_core_errorhandling_l1_1_2
884 enable_api_ms_win_core_fibers_l1_1_0
885 enable_api_ms_win_core_fibers_l1_1_1
886 enable_api_ms_win_core_file_l1_1_0
887 enable_api_ms_win_core_file_l1_2_0
888 enable_api_ms_win_core_file_l2_1_0
889 enable_api_ms_win_core_file_l2_1_1
890 enable_api_ms_win_core_handle_l1_1_0
891 enable_api_ms_win_core_heap_l1_1_0
892 enable_api_ms_win_core_heap_l1_2_0
893 enable_api_ms_win_core_heap_obsolete_l1_1_0
894 enable_api_ms_win_core_interlocked_l1_1_0
895 enable_api_ms_win_core_interlocked_l1_2_0
896 enable_api_ms_win_core_io_l1_1_1
897 enable_api_ms_win_core_kernel32_legacy_l1_1_0
898 enable_api_ms_win_core_kernel32_legacy_l1_1_1
899 enable_api_ms_win_core_libraryloader_l1_1_0
900 enable_api_ms_win_core_libraryloader_l1_1_1
901 enable_api_ms_win_core_libraryloader_l1_2_0
902 enable_api_ms_win_core_localization_l1_1_0
903 enable_api_ms_win_core_localization_l1_2_0
904 enable_api_ms_win_core_localization_l1_2_1
905 enable_api_ms_win_core_localization_obsolete_l1_1_0
906 enable_api_ms_win_core_localregistry_l1_1_0
907 enable_api_ms_win_core_memory_l1_1_0
908 enable_api_ms_win_core_memory_l1_1_1
909 enable_api_ms_win_core_misc_l1_1_0
910 enable_api_ms_win_core_namedpipe_l1_1_0
911 enable_api_ms_win_core_namedpipe_l1_2_0
912 enable_api_ms_win_core_path_l1_1_0
913 enable_api_ms_win_core_processenvironment_l1_1_0
914 enable_api_ms_win_core_processenvironment_l1_2_0
915 enable_api_ms_win_core_processthreads_l1_1_0
916 enable_api_ms_win_core_processthreads_l1_1_1
917 enable_api_ms_win_core_processthreads_l1_1_2
918 enable_api_ms_win_core_profile_l1_1_0
919 enable_api_ms_win_core_psapi_l1_1_0
920 enable_api_ms_win_core_registry_l1_1_0
921 enable_api_ms_win_core_rtlsupport_l1_1_0
922 enable_api_ms_win_core_rtlsupport_l1_2_0
923 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
924 enable_api_ms_win_core_string_l1_1_0
925 enable_api_ms_win_core_synch_l1_1_0
926 enable_api_ms_win_core_synch_l1_2_0
927 enable_api_ms_win_core_sysinfo_l1_1_0
928 enable_api_ms_win_core_sysinfo_l1_2_0
929 enable_api_ms_win_core_sysinfo_l1_2_1
930 enable_api_ms_win_core_threadpool_legacy_l1_1_0
931 enable_api_ms_win_core_timezone_l1_1_0
932 enable_api_ms_win_core_url_l1_1_0
933 enable_api_ms_win_core_util_l1_1_0
934 enable_api_ms_win_core_winrt_error_l1_1_0
935 enable_api_ms_win_core_winrt_error_l1_1_1
936 enable_api_ms_win_core_winrt_l1_1_0
937 enable_api_ms_win_core_winrt_registration_l1_1_0
938 enable_api_ms_win_core_winrt_string_l1_1_0
939 enable_api_ms_win_core_xstate_l2_1_0
940 enable_api_ms_win_crt_conio_l1_1_0
941 enable_api_ms_win_crt_convert_l1_1_0
942 enable_api_ms_win_crt_environment_l1_1_0
943 enable_api_ms_win_crt_filesystem_l1_1_0
944 enable_api_ms_win_crt_heap_l1_1_0
945 enable_api_ms_win_crt_locale_l1_1_0
946 enable_api_ms_win_crt_math_l1_1_0
947 enable_api_ms_win_crt_multibyte_l1_1_0
948 enable_api_ms_win_crt_private_l1_1_0
949 enable_api_ms_win_crt_process_l1_1_0
950 enable_api_ms_win_crt_runtime_l1_1_0
951 enable_api_ms_win_crt_stdio_l1_1_0
952 enable_api_ms_win_crt_string_l1_1_0
953 enable_api_ms_win_crt_time_l1_1_0
954 enable_api_ms_win_crt_utility_l1_1_0
955 enable_api_ms_win_downlevel_advapi32_l1_1_0
956 enable_api_ms_win_downlevel_advapi32_l2_1_0
957 enable_api_ms_win_downlevel_normaliz_l1_1_0
958 enable_api_ms_win_downlevel_ole32_l1_1_0
959 enable_api_ms_win_downlevel_shell32_l1_1_0
960 enable_api_ms_win_downlevel_shlwapi_l1_1_0
961 enable_api_ms_win_downlevel_shlwapi_l2_1_0
962 enable_api_ms_win_downlevel_user32_l1_1_0
963 enable_api_ms_win_downlevel_version_l1_1_0
964 enable_api_ms_win_eventing_classicprovider_l1_1_0
965 enable_api_ms_win_eventing_provider_l1_1_0
966 enable_api_ms_win_ntuser_dc_access_l1_1_0
967 enable_api_ms_win_security_base_l1_1_0
968 enable_api_ms_win_security_base_l1_2_0
969 enable_api_ms_win_security_lsalookup_l1_1_0
970 enable_api_ms_win_security_lsalookup_l1_1_1
971 enable_api_ms_win_security_sddl_l1_1_0
972 enable_api_ms_win_service_core_l1_1_1
973 enable_api_ms_win_service_management_l1_1_0
974 enable_api_ms_win_service_winsvc_l1_2_0
975 enable_apphelp
976 enable_appwiz_cpl
977 enable_atl
978 enable_atl100
979 enable_atl110
980 enable_atl80
981 enable_atl90
982 enable_authz
983 enable_avicap32
984 enable_avifil32
985 enable_avrt
986 enable_bcrypt
987 enable_bluetoothapis
988 enable_browseui
989 enable_bthprops_cpl
990 enable_cabinet
991 enable_capi2032
992 enable_cards
993 enable_cfgmgr32
994 enable_clusapi
995 enable_combase
996 enable_comcat
997 enable_comctl32
998 enable_comdlg32
999 enable_compstui
1000 enable_comsvcs
1001 enable_connect
1002 enable_credui
1003 enable_crtdll
1004 enable_crypt32
1005 enable_cryptdlg
1006 enable_cryptdll
1007 enable_cryptext
1008 enable_cryptnet
1009 enable_cryptui
1010 enable_ctapi32
1011 enable_ctl3d32
1012 enable_d2d1
1013 enable_d3d10
1014 enable_d3d10_1
1015 enable_d3d10core
1016 enable_d3d11
1017 enable_d3d8
1018 enable_d3d9
1019 enable_d3dcompiler_33
1020 enable_d3dcompiler_34
1021 enable_d3dcompiler_35
1022 enable_d3dcompiler_36
1023 enable_d3dcompiler_37
1024 enable_d3dcompiler_38
1025 enable_d3dcompiler_39
1026 enable_d3dcompiler_40
1027 enable_d3dcompiler_41
1028 enable_d3dcompiler_42
1029 enable_d3dcompiler_43
1030 enable_d3dcompiler_46
1031 enable_d3dcompiler_47
1032 enable_d3dim
1033 enable_d3drm
1034 enable_d3dx10_33
1035 enable_d3dx10_34
1036 enable_d3dx10_35
1037 enable_d3dx10_36
1038 enable_d3dx10_37
1039 enable_d3dx10_38
1040 enable_d3dx10_39
1041 enable_d3dx10_40
1042 enable_d3dx10_41
1043 enable_d3dx10_42
1044 enable_d3dx10_43
1045 enable_d3dx11_42
1046 enable_d3dx11_43
1047 enable_d3dx9_24
1048 enable_d3dx9_25
1049 enable_d3dx9_26
1050 enable_d3dx9_27
1051 enable_d3dx9_28
1052 enable_d3dx9_29
1053 enable_d3dx9_30
1054 enable_d3dx9_31
1055 enable_d3dx9_32
1056 enable_d3dx9_33
1057 enable_d3dx9_34
1058 enable_d3dx9_35
1059 enable_d3dx9_36
1060 enable_d3dx9_37
1061 enable_d3dx9_38
1062 enable_d3dx9_39
1063 enable_d3dx9_40
1064 enable_d3dx9_41
1065 enable_d3dx9_42
1066 enable_d3dx9_43
1067 enable_d3dxof
1068 enable_davclnt
1069 enable_dbgeng
1070 enable_dbghelp
1071 enable_dciman32
1072 enable_ddraw
1073 enable_ddrawex
1074 enable_devenum
1075 enable_dhcpcsvc
1076 enable_difxapi
1077 enable_dinput
1078 enable_dinput8
1079 enable_dispex
1080 enable_dmband
1081 enable_dmcompos
1082 enable_dmime
1083 enable_dmloader
1084 enable_dmscript
1085 enable_dmstyle
1086 enable_dmsynth
1087 enable_dmusic
1088 enable_dmusic32
1089 enable_dnsapi
1090 enable_dplay
1091 enable_dplayx
1092 enable_dpnaddr
1093 enable_dpnet
1094 enable_dpnhpast
1095 enable_dpnlobby
1096 enable_dpvoice
1097 enable_dpwsockx
1098 enable_drmclien
1099 enable_dsound
1100 enable_dssenh
1101 enable_dswave
1102 enable_dwmapi
1103 enable_dwrite
1104 enable_dxdiagn
1105 enable_dxgi
1106 enable_dxva2
1107 enable_esent
1108 enable_evr
1109 enable_explorerframe
1110 enable_ext_ms_win_gdi_devcaps_l1_1_0
1111 enable_faultrep
1112 enable_fltlib
1113 enable_fltmgr_sys
1114 enable_fntcache
1115 enable_fontsub
1116 enable_fusion
1117 enable_fwpuclnt
1118 enable_gameux
1119 enable_gdi32
1120 enable_gdiplus
1121 enable_glu32
1122 enable_gphoto2_ds
1123 enable_gpkcsp
1124 enable_hal
1125 enable_hhctrl_ocx
1126 enable_hid
1127 enable_hidclass_sys
1128 enable_hlink
1129 enable_hnetcfg
1130 enable_httpapi
1131 enable_iccvid
1132 enable_icmp
1133 enable_ieframe
1134 enable_imaadp32_acm
1135 enable_imagehlp
1136 enable_imm32
1137 enable_inetcomm
1138 enable_inetcpl_cpl
1139 enable_inetmib1
1140 enable_infosoft
1141 enable_initpki
1142 enable_inkobj
1143 enable_inseng
1144 enable_iphlpapi
1145 enable_irprops_cpl
1146 enable_itircl
1147 enable_itss
1148 enable_joy_cpl
1149 enable_jscript
1150 enable_jsproxy
1151 enable_kernel32
1152 enable_ksuser
1153 enable_ktmw32
1154 enable_loadperf
1155 enable_localspl
1156 enable_localui
1157 enable_lz32
1158 enable_mapi32
1159 enable_mapistub
1160 enable_mciavi32
1161 enable_mcicda
1162 enable_mciqtz32
1163 enable_mciseq
1164 enable_mciwave
1165 enable_mf
1166 enable_mfplat
1167 enable_mfreadwrite
1168 enable_mgmtapi
1169 enable_midimap
1170 enable_mlang
1171 enable_mmcndmgr
1172 enable_mmdevapi
1173 enable_mountmgr_sys
1174 enable_mpr
1175 enable_mprapi
1176 enable_msacm32_drv
1177 enable_msacm32
1178 enable_msadp32_acm
1179 enable_msasn1
1180 enable_mscat32
1181 enable_mscms
1182 enable_mscoree
1183 enable_msctf
1184 enable_msctfp
1185 enable_msdaps
1186 enable_msdelta
1187 enable_msdmo
1188 enable_msdrm
1189 enable_msftedit
1190 enable_msg711_acm
1191 enable_msgsm32_acm
1192 enable_mshtml_tlb
1193 enable_mshtml
1194 enable_msi
1195 enable_msident
1196 enable_msimg32
1197 enable_msimsg
1198 enable_msimtf
1199 enable_msisip
1200 enable_msisys_ocx
1201 enable_msls31
1202 enable_msnet32
1203 enable_mspatcha
1204 enable_msrle32
1205 enable_msscript_ocx
1206 enable_mssign32
1207 enable_mssip32
1208 enable_mstask
1209 enable_msvcirt
1210 enable_msvcm80
1211 enable_msvcm90
1212 enable_msvcp100
1213 enable_msvcp110
1214 enable_msvcp120
1215 enable_msvcp120_app
1216 enable_msvcp60
1217 enable_msvcp70
1218 enable_msvcp71
1219 enable_msvcp80
1220 enable_msvcp90
1221 enable_msvcr100
1222 enable_msvcr110
1223 enable_msvcr120
1224 enable_msvcr120_app
1225 enable_msvcr70
1226 enable_msvcr71
1227 enable_msvcr80
1228 enable_msvcr90
1229 enable_msvcrt
1230 enable_msvcrt20
1231 enable_msvcrt40
1232 enable_msvcrtd
1233 enable_msvfw32
1234 enable_msvidc32
1235 enable_mswsock
1236 enable_msxml
1237 enable_msxml2
1238 enable_msxml3
1239 enable_msxml4
1240 enable_msxml6
1241 enable_nddeapi
1242 enable_ndis_sys
1243 enable_netapi32
1244 enable_netcfgx
1245 enable_netprofm
1246 enable_newdev
1247 enable_normaliz
1248 enable_npmshtml
1249 enable_npptools
1250 enable_ntdll
1251 enable_ntdsapi
1252 enable_ntoskrnl_exe
1253 enable_ntprint
1254 enable_objsel
1255 enable_odbc32
1256 enable_odbccp32
1257 enable_odbccu32
1258 enable_ole32
1259 enable_oleacc
1260 enable_oleaut32
1261 enable_olecli32
1262 enable_oledb32
1263 enable_oledlg
1264 enable_olepro32
1265 enable_olesvr32
1266 enable_olethk32
1267 enable_openal32
1268 enable_opencl
1269 enable_opengl32
1270 enable_packager
1271 enable_pdh
1272 enable_photometadatahandler
1273 enable_pidgen
1274 enable_powrprof
1275 enable_printui
1276 enable_prntvpt
1277 enable_propsys
1278 enable_psapi
1279 enable_pstorec
1280 enable_qcap
1281 enable_qedit
1282 enable_qmgr
1283 enable_qmgrprxy
1284 enable_quartz
1285 enable_query
1286 enable_rasapi32
1287 enable_rasdlg
1288 enable_regapi
1289 enable_resutils
1290 enable_riched20
1291 enable_riched32
1292 enable_rpcrt4
1293 enable_rsabase
1294 enable_rsaenh
1295 enable_rstrtmgr
1296 enable_rtutils
1297 enable_samlib
1298 enable_sane_ds
1299 enable_scarddlg
1300 enable_sccbase
1301 enable_schannel
1302 enable_schedsvc
1303 enable_scrrun
1304 enable_scsiport_sys
1305 enable_secur32
1306 enable_security
1307 enable_sensapi
1308 enable_serialui
1309 enable_setupapi
1310 enable_sfc
1311 enable_sfc_os
1312 enable_shdoclc
1313 enable_shdocvw
1314 enable_shell32
1315 enable_shfolder
1316 enable_shlwapi
1317 enable_slbcsp
1318 enable_slc
1319 enable_snmpapi
1320 enable_softpub
1321 enable_spoolss
1322 enable_stdole2_tlb
1323 enable_stdole32_tlb
1324 enable_sti
1325 enable_svrapi
1326 enable_sxs
1327 enable_t2embed
1328 enable_tapi32
1329 enable_taskschd
1330 enable_tdi_sys
1331 enable_traffic
1332 enable_twain_32
1333 enable_ucrtbase
1334 enable_unicows
1335 enable_updspapi
1336 enable_url
1337 enable_urlmon
1338 enable_usbd_sys
1339 enable_user32
1340 enable_userenv
1341 enable_usp10
1342 enable_uxtheme
1343 enable_vbscript
1344 enable_vcomp
1345 enable_vcomp100
1346 enable_vcomp110
1347 enable_vcomp120
1348 enable_vcomp90
1349 enable_vcruntime140
1350 enable_vdmdbg
1351 enable_version
1352 enable_vssapi
1353 enable_wbemdisp
1354 enable_wbemprox
1355 enable_webservices
1356 enable_wer
1357 enable_wevtapi
1358 enable_wiaservc
1359 enable_wimgapi
1360 enable_windowscodecs
1361 enable_windowscodecsext
1362 enable_winealsa_drv
1363 enable_winecoreaudio_drv
1364 enable_wined3d
1365 enable_winegstreamer
1366 enable_winejoystick_drv
1367 enable_winemac_drv
1368 enable_winemapi
1369 enable_winemp3_acm
1370 enable_wineoss_drv
1371 enable_wineps_drv
1372 enable_winepulse_drv
1373 enable_wineqtdecoder
1374 enable_winex11_drv
1375 enable_wing32
1376 enable_winhttp
1377 enable_wininet
1378 enable_winmm
1379 enable_winnls32
1380 enable_winscard
1381 enable_winspool_drv
1382 enable_winsta
1383 enable_wintab32
1384 enable_wintrust
1385 enable_wlanapi
1386 enable_wldap32
1387 enable_wmi
1388 enable_wmiutils
1389 enable_wmp
1390 enable_wmvcore
1391 enable_wnaspi32
1392 enable_wpcap
1393 enable_ws2_32
1394 enable_wshom_ocx
1395 enable_wsnmp32
1396 enable_wsock32
1397 enable_wtsapi32
1398 enable_wuapi
1399 enable_wuaueng
1400 enable_x3daudio1_0
1401 enable_x3daudio1_1
1402 enable_x3daudio1_2
1403 enable_x3daudio1_3
1404 enable_x3daudio1_4
1405 enable_x3daudio1_5
1406 enable_x3daudio1_6
1407 enable_x3daudio1_7
1408 enable_xapofx1_1
1409 enable_xapofx1_2
1410 enable_xapofx1_3
1411 enable_xapofx1_4
1412 enable_xapofx1_5
1413 enable_xaudio2_0
1414 enable_xaudio2_1
1415 enable_xaudio2_2
1416 enable_xaudio2_3
1417 enable_xaudio2_4
1418 enable_xaudio2_5
1419 enable_xaudio2_6
1420 enable_xaudio2_7
1421 enable_xaudio2_8
1422 enable_xaudio2_9
1423 enable_xinput1_1
1424 enable_xinput1_2
1425 enable_xinput1_3
1426 enable_xinput1_4
1427 enable_xinput9_1_0
1428 enable_xmllite
1429 enable_xolehlp
1430 enable_xpsprint
1431 enable_xpssvcs
1432 enable_fonts
1433 enable_include
1434 enable_libs_port
1435 enable_libs_wine
1436 enable_libs_wpp
1437 enable_loader
1438 enable_arp
1439 enable_aspnet_regiis
1440 enable_attrib
1441 enable_cabarc
1442 enable_cacls
1443 enable_clock
1444 enable_cmd
1445 enable_conhost
1446 enable_control
1447 enable_cscript
1448 enable_dpnsvr
1449 enable_dxdiag
1450 enable_eject
1451 enable_expand
1452 enable_explorer
1453 enable_extrac32
1454 enable_findstr
1455 enable_hh
1456 enable_hostname
1457 enable_icacls
1458 enable_icinfo
1459 enable_iexplore
1460 enable_ipconfig
1461 enable_lodctr
1462 enable_mofcomp
1463 enable_mshta
1464 enable_msiexec
1465 enable_net
1466 enable_netsh
1467 enable_netstat
1468 enable_ngen
1469 enable_notepad
1470 enable_oleview
1471 enable_ping
1472 enable_plugplay
1473 enable_presentationfontcache
1474 enable_progman
1475 enable_reg
1476 enable_regasm
1477 enable_regedit
1478 enable_regsvcs
1479 enable_regsvr32
1480 enable_rpcss
1481 enable_rundll32
1482 enable_sc
1483 enable_schtasks
1484 enable_sdbinst
1485 enable_secedit
1486 enable_servicemodelreg
1487 enable_services
1488 enable_spoolsv
1489 enable_start
1490 enable_svchost
1491 enable_systeminfo
1492 enable_taskkill
1493 enable_tasklist
1494 enable_taskmgr
1495 enable_termsv
1496 enable_uninstaller
1497 enable_unlodctr
1498 enable_view
1499 enable_wevtutil
1500 enable_wineboot
1501 enable_winebrowser
1502 enable_winecfg
1503 enable_wineconsole
1504 enable_winedbg
1505 enable_winedevice
1506 enable_winefile
1507 enable_winemenubuilder
1508 enable_winemine
1509 enable_winemsibuilder
1510 enable_winepath
1511 enable_winetest
1512 enable_winhlp32
1513 enable_winver
1514 enable_wmic
1515 enable_wmplayer
1516 enable_wordpad
1517 enable_write
1518 enable_wscript
1519 enable_wusa
1520 enable_xcopy
1521 enable_server
1522 enable_tools
1524 ac_precious_vars='build_alias
1525 host_alias
1526 target_alias
1528 CFLAGS
1529 LDFLAGS
1530 LIBS
1531 CPPFLAGS
1533 CXXFLAGS
1536 XMKMF
1537 XML2_CFLAGS
1538 XML2_LIBS
1539 XSLT_CFLAGS
1540 XSLT_LIBS
1541 DBUS_CFLAGS
1542 DBUS_LIBS
1543 HAL_CFLAGS
1544 HAL_LIBS
1545 GNUTLS_CFLAGS
1546 GNUTLS_LIBS
1547 SANE_CFLAGS
1548 SANE_LIBS
1549 GPHOTO2_CFLAGS
1550 GPHOTO2_LIBS
1551 GPHOTO2_PORT_CFLAGS
1552 GPHOTO2_PORT_LIBS
1553 LCMS2_CFLAGS
1554 LCMS2_LIBS
1555 FREETYPE_CFLAGS
1556 FREETYPE_LIBS
1557 PULSE_CFLAGS
1558 PULSE_LIBS
1559 GSTREAMER_CFLAGS
1560 GSTREAMER_LIBS
1561 CAPI20_CFLAGS
1562 CAPI20_LIBS
1563 FONTCONFIG_CFLAGS
1564 FONTCONFIG_LIBS
1565 JPEG_CFLAGS
1566 JPEG_LIBS
1567 PNG_CFLAGS
1568 PNG_LIBS
1569 TIFF_CFLAGS
1570 TIFF_LIBS
1571 MPG123_CFLAGS
1572 MPG123_LIBS
1573 NETAPI_CFLAGS
1574 NETAPI_LIBS'
1577 # Initialize some variables set by options.
1578 ac_init_help=
1579 ac_init_version=false
1580 ac_unrecognized_opts=
1581 ac_unrecognized_sep=
1582 # The variables have the same names as the options, with
1583 # dashes changed to underlines.
1584 cache_file=/dev/null
1585 exec_prefix=NONE
1586 no_create=
1587 no_recursion=
1588 prefix=NONE
1589 program_prefix=NONE
1590 program_suffix=NONE
1591 program_transform_name=s,x,x,
1592 silent=
1593 site=
1594 srcdir=
1595 verbose=
1596 x_includes=NONE
1597 x_libraries=NONE
1599 # Installation directory options.
1600 # These are left unexpanded so users can "make install exec_prefix=/foo"
1601 # and all the variables that are supposed to be based on exec_prefix
1602 # by default will actually change.
1603 # Use braces instead of parens because sh, perl, etc. also accept them.
1604 # (The list follows the same order as the GNU Coding Standards.)
1605 bindir='${exec_prefix}/bin'
1606 sbindir='${exec_prefix}/sbin'
1607 libexecdir='${exec_prefix}/libexec'
1608 datarootdir='${prefix}/share'
1609 datadir='${datarootdir}'
1610 sysconfdir='${prefix}/etc'
1611 sharedstatedir='${prefix}/com'
1612 localstatedir='${prefix}/var'
1613 runstatedir='${localstatedir}/run'
1614 includedir='${prefix}/include'
1615 oldincludedir='/usr/include'
1616 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1617 infodir='${datarootdir}/info'
1618 htmldir='${docdir}'
1619 dvidir='${docdir}'
1620 pdfdir='${docdir}'
1621 psdir='${docdir}'
1622 libdir='${exec_prefix}/lib'
1623 localedir='${datarootdir}/locale'
1624 mandir='${datarootdir}/man'
1626 ac_prev=
1627 ac_dashdash=
1628 for ac_option
1630 # If the previous option needs an argument, assign it.
1631 if test -n "$ac_prev"; then
1632 eval $ac_prev=\$ac_option
1633 ac_prev=
1634 continue
1637 case $ac_option in
1638 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1639 *=) ac_optarg= ;;
1640 *) ac_optarg=yes ;;
1641 esac
1643 # Accept the important Cygnus configure options, so we can diagnose typos.
1645 case $ac_dashdash$ac_option in
1647 ac_dashdash=yes ;;
1649 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1650 ac_prev=bindir ;;
1651 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1652 bindir=$ac_optarg ;;
1654 -build | --build | --buil | --bui | --bu)
1655 ac_prev=build_alias ;;
1656 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1657 build_alias=$ac_optarg ;;
1659 -cache-file | --cache-file | --cache-fil | --cache-fi \
1660 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1661 ac_prev=cache_file ;;
1662 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1663 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1664 cache_file=$ac_optarg ;;
1666 --config-cache | -C)
1667 cache_file=config.cache ;;
1669 -datadir | --datadir | --datadi | --datad)
1670 ac_prev=datadir ;;
1671 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1672 datadir=$ac_optarg ;;
1674 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1675 | --dataroo | --dataro | --datar)
1676 ac_prev=datarootdir ;;
1677 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1678 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1679 datarootdir=$ac_optarg ;;
1681 -disable-* | --disable-*)
1682 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1683 # Reject names that are not valid shell variable names.
1684 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1685 as_fn_error $? "invalid feature name: $ac_useropt"
1686 ac_useropt_orig=$ac_useropt
1687 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1688 case $ac_user_opts in
1690 "enable_$ac_useropt"
1691 "*) ;;
1692 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1693 ac_unrecognized_sep=', ';;
1694 esac
1695 eval enable_$ac_useropt=no ;;
1697 -docdir | --docdir | --docdi | --doc | --do)
1698 ac_prev=docdir ;;
1699 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1700 docdir=$ac_optarg ;;
1702 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1703 ac_prev=dvidir ;;
1704 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1705 dvidir=$ac_optarg ;;
1707 -enable-* | --enable-*)
1708 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1709 # Reject names that are not valid shell variable names.
1710 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1711 as_fn_error $? "invalid feature name: $ac_useropt"
1712 ac_useropt_orig=$ac_useropt
1713 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1714 case $ac_user_opts in
1716 "enable_$ac_useropt"
1717 "*) ;;
1718 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1719 ac_unrecognized_sep=', ';;
1720 esac
1721 eval enable_$ac_useropt=\$ac_optarg ;;
1723 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1724 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1725 | --exec | --exe | --ex)
1726 ac_prev=exec_prefix ;;
1727 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1728 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1729 | --exec=* | --exe=* | --ex=*)
1730 exec_prefix=$ac_optarg ;;
1732 -gas | --gas | --ga | --g)
1733 # Obsolete; use --with-gas.
1734 with_gas=yes ;;
1736 -help | --help | --hel | --he | -h)
1737 ac_init_help=long ;;
1738 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1739 ac_init_help=recursive ;;
1740 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1741 ac_init_help=short ;;
1743 -host | --host | --hos | --ho)
1744 ac_prev=host_alias ;;
1745 -host=* | --host=* | --hos=* | --ho=*)
1746 host_alias=$ac_optarg ;;
1748 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1749 ac_prev=htmldir ;;
1750 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1751 | --ht=*)
1752 htmldir=$ac_optarg ;;
1754 -includedir | --includedir | --includedi | --included | --include \
1755 | --includ | --inclu | --incl | --inc)
1756 ac_prev=includedir ;;
1757 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1758 | --includ=* | --inclu=* | --incl=* | --inc=*)
1759 includedir=$ac_optarg ;;
1761 -infodir | --infodir | --infodi | --infod | --info | --inf)
1762 ac_prev=infodir ;;
1763 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1764 infodir=$ac_optarg ;;
1766 -libdir | --libdir | --libdi | --libd)
1767 ac_prev=libdir ;;
1768 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1769 libdir=$ac_optarg ;;
1771 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1772 | --libexe | --libex | --libe)
1773 ac_prev=libexecdir ;;
1774 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1775 | --libexe=* | --libex=* | --libe=*)
1776 libexecdir=$ac_optarg ;;
1778 -localedir | --localedir | --localedi | --localed | --locale)
1779 ac_prev=localedir ;;
1780 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1781 localedir=$ac_optarg ;;
1783 -localstatedir | --localstatedir | --localstatedi | --localstated \
1784 | --localstate | --localstat | --localsta | --localst | --locals)
1785 ac_prev=localstatedir ;;
1786 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1787 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1788 localstatedir=$ac_optarg ;;
1790 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1791 ac_prev=mandir ;;
1792 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1793 mandir=$ac_optarg ;;
1795 -nfp | --nfp | --nf)
1796 # Obsolete; use --without-fp.
1797 with_fp=no ;;
1799 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1800 | --no-cr | --no-c | -n)
1801 no_create=yes ;;
1803 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1804 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1805 no_recursion=yes ;;
1807 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1808 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1809 | --oldin | --oldi | --old | --ol | --o)
1810 ac_prev=oldincludedir ;;
1811 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1812 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1813 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1814 oldincludedir=$ac_optarg ;;
1816 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1817 ac_prev=prefix ;;
1818 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1819 prefix=$ac_optarg ;;
1821 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1822 | --program-pre | --program-pr | --program-p)
1823 ac_prev=program_prefix ;;
1824 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1825 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1826 program_prefix=$ac_optarg ;;
1828 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1829 | --program-suf | --program-su | --program-s)
1830 ac_prev=program_suffix ;;
1831 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1832 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1833 program_suffix=$ac_optarg ;;
1835 -program-transform-name | --program-transform-name \
1836 | --program-transform-nam | --program-transform-na \
1837 | --program-transform-n | --program-transform- \
1838 | --program-transform | --program-transfor \
1839 | --program-transfo | --program-transf \
1840 | --program-trans | --program-tran \
1841 | --progr-tra | --program-tr | --program-t)
1842 ac_prev=program_transform_name ;;
1843 -program-transform-name=* | --program-transform-name=* \
1844 | --program-transform-nam=* | --program-transform-na=* \
1845 | --program-transform-n=* | --program-transform-=* \
1846 | --program-transform=* | --program-transfor=* \
1847 | --program-transfo=* | --program-transf=* \
1848 | --program-trans=* | --program-tran=* \
1849 | --progr-tra=* | --program-tr=* | --program-t=*)
1850 program_transform_name=$ac_optarg ;;
1852 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1853 ac_prev=pdfdir ;;
1854 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1855 pdfdir=$ac_optarg ;;
1857 -psdir | --psdir | --psdi | --psd | --ps)
1858 ac_prev=psdir ;;
1859 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1860 psdir=$ac_optarg ;;
1862 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1863 | -silent | --silent | --silen | --sile | --sil)
1864 silent=yes ;;
1866 -runstatedir | --runstatedir | --runstatedi | --runstated \
1867 | --runstate | --runstat | --runsta | --runst | --runs \
1868 | --run | --ru | --r)
1869 ac_prev=runstatedir ;;
1870 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1871 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1872 | --run=* | --ru=* | --r=*)
1873 runstatedir=$ac_optarg ;;
1875 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1876 ac_prev=sbindir ;;
1877 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1878 | --sbi=* | --sb=*)
1879 sbindir=$ac_optarg ;;
1881 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1882 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1883 | --sharedst | --shareds | --shared | --share | --shar \
1884 | --sha | --sh)
1885 ac_prev=sharedstatedir ;;
1886 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1887 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1888 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1889 | --sha=* | --sh=*)
1890 sharedstatedir=$ac_optarg ;;
1892 -site | --site | --sit)
1893 ac_prev=site ;;
1894 -site=* | --site=* | --sit=*)
1895 site=$ac_optarg ;;
1897 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1898 ac_prev=srcdir ;;
1899 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1900 srcdir=$ac_optarg ;;
1902 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1903 | --syscon | --sysco | --sysc | --sys | --sy)
1904 ac_prev=sysconfdir ;;
1905 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1906 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1907 sysconfdir=$ac_optarg ;;
1909 -target | --target | --targe | --targ | --tar | --ta | --t)
1910 ac_prev=target_alias ;;
1911 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1912 target_alias=$ac_optarg ;;
1914 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1915 verbose=yes ;;
1917 -version | --version | --versio | --versi | --vers | -V)
1918 ac_init_version=: ;;
1920 -with-* | --with-*)
1921 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1922 # Reject names that are not valid shell variable names.
1923 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1924 as_fn_error $? "invalid package name: $ac_useropt"
1925 ac_useropt_orig=$ac_useropt
1926 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1927 case $ac_user_opts in
1929 "with_$ac_useropt"
1930 "*) ;;
1931 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1932 ac_unrecognized_sep=', ';;
1933 esac
1934 eval with_$ac_useropt=\$ac_optarg ;;
1936 -without-* | --without-*)
1937 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1938 # Reject names that are not valid shell variable names.
1939 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1940 as_fn_error $? "invalid package name: $ac_useropt"
1941 ac_useropt_orig=$ac_useropt
1942 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1943 case $ac_user_opts in
1945 "with_$ac_useropt"
1946 "*) ;;
1947 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1948 ac_unrecognized_sep=', ';;
1949 esac
1950 eval with_$ac_useropt=no ;;
1952 --x)
1953 # Obsolete; use --with-x.
1954 with_x=yes ;;
1956 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1957 | --x-incl | --x-inc | --x-in | --x-i)
1958 ac_prev=x_includes ;;
1959 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1960 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1961 x_includes=$ac_optarg ;;
1963 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1964 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1965 ac_prev=x_libraries ;;
1966 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1967 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1968 x_libraries=$ac_optarg ;;
1970 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1971 Try \`$0 --help' for more information"
1974 *=*)
1975 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1976 # Reject names that are not valid shell variable names.
1977 case $ac_envvar in #(
1978 '' | [0-9]* | *[!_$as_cr_alnum]* )
1979 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1980 esac
1981 eval $ac_envvar=\$ac_optarg
1982 export $ac_envvar ;;
1985 # FIXME: should be removed in autoconf 3.0.
1986 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1987 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1988 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1989 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1992 esac
1993 done
1995 if test -n "$ac_prev"; then
1996 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1997 as_fn_error $? "missing argument to $ac_option"
2000 if test -n "$ac_unrecognized_opts"; then
2001 case $enable_option_checking in
2002 no) ;;
2003 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2004 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2005 esac
2008 # Check all directory arguments for consistency.
2009 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2010 datadir sysconfdir sharedstatedir localstatedir includedir \
2011 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2012 libdir localedir mandir runstatedir
2014 eval ac_val=\$$ac_var
2015 # Remove trailing slashes.
2016 case $ac_val in
2017 */ )
2018 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2019 eval $ac_var=\$ac_val;;
2020 esac
2021 # Be sure to have absolute directory names.
2022 case $ac_val in
2023 [\\/$]* | ?:[\\/]* ) continue;;
2024 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2025 esac
2026 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2027 done
2029 # There might be people who depend on the old broken behavior: `$host'
2030 # used to hold the argument of --host etc.
2031 # FIXME: To remove some day.
2032 build=$build_alias
2033 host=$host_alias
2034 target=$target_alias
2036 # FIXME: To remove some day.
2037 if test "x$host_alias" != x; then
2038 if test "x$build_alias" = x; then
2039 cross_compiling=maybe
2040 elif test "x$build_alias" != "x$host_alias"; then
2041 cross_compiling=yes
2045 ac_tool_prefix=
2046 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2048 test "$silent" = yes && exec 6>/dev/null
2051 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2052 ac_ls_di=`ls -di .` &&
2053 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2054 as_fn_error $? "working directory cannot be determined"
2055 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2056 as_fn_error $? "pwd does not report name of working directory"
2059 # Find the source files, if location was not specified.
2060 if test -z "$srcdir"; then
2061 ac_srcdir_defaulted=yes
2062 # Try the directory containing this script, then the parent directory.
2063 ac_confdir=`$as_dirname -- "$as_myself" ||
2064 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2065 X"$as_myself" : 'X\(//\)[^/]' \| \
2066 X"$as_myself" : 'X\(//\)$' \| \
2067 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2068 $as_echo X"$as_myself" |
2069 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2070 s//\1/
2073 /^X\(\/\/\)[^/].*/{
2074 s//\1/
2077 /^X\(\/\/\)$/{
2078 s//\1/
2081 /^X\(\/\).*/{
2082 s//\1/
2085 s/.*/./; q'`
2086 srcdir=$ac_confdir
2087 if test ! -r "$srcdir/$ac_unique_file"; then
2088 srcdir=..
2090 else
2091 ac_srcdir_defaulted=no
2093 if test ! -r "$srcdir/$ac_unique_file"; then
2094 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2095 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2097 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2098 ac_abs_confdir=`(
2099 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2100 pwd)`
2101 # When building in place, set srcdir=.
2102 if test "$ac_abs_confdir" = "$ac_pwd"; then
2103 srcdir=.
2105 # Remove unnecessary trailing slashes from srcdir.
2106 # Double slashes in file names in object file debugging info
2107 # mess up M-x gdb in Emacs.
2108 case $srcdir in
2109 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2110 esac
2111 for ac_var in $ac_precious_vars; do
2112 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2113 eval ac_env_${ac_var}_value=\$${ac_var}
2114 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2115 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2116 done
2119 # Report the --help message.
2121 if test "$ac_init_help" = "long"; then
2122 # Omit some internal or obsolete options to make the list less imposing.
2123 # This message is too long to be a string in the A/UX 3.1 sh.
2124 cat <<_ACEOF
2125 \`configure' configures Wine 1.9.3 to adapt to many kinds of systems.
2127 Usage: $0 [OPTION]... [VAR=VALUE]...
2129 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2130 VAR=VALUE. See below for descriptions of some of the useful variables.
2132 Defaults for the options are specified in brackets.
2134 Configuration:
2135 -h, --help display this help and exit
2136 --help=short display options specific to this package
2137 --help=recursive display the short help of all the included packages
2138 -V, --version display version information and exit
2139 -q, --quiet, --silent do not print \`checking ...' messages
2140 --cache-file=FILE cache test results in FILE [disabled]
2141 -C, --config-cache alias for \`--cache-file=config.cache'
2142 -n, --no-create do not create output files
2143 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2145 Installation directories:
2146 --prefix=PREFIX install architecture-independent files in PREFIX
2147 [$ac_default_prefix]
2148 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2149 [PREFIX]
2151 By default, \`make install' will install all the files in
2152 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2153 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2154 for instance \`--prefix=\$HOME'.
2156 For better control, use the options below.
2158 Fine tuning of the installation directories:
2159 --bindir=DIR user executables [EPREFIX/bin]
2160 --sbindir=DIR system admin executables [EPREFIX/sbin]
2161 --libexecdir=DIR program executables [EPREFIX/libexec]
2162 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2163 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2164 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2165 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2166 --libdir=DIR object code libraries [EPREFIX/lib]
2167 --includedir=DIR C header files [PREFIX/include]
2168 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2169 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2170 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2171 --infodir=DIR info documentation [DATAROOTDIR/info]
2172 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2173 --mandir=DIR man documentation [DATAROOTDIR/man]
2174 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2175 --htmldir=DIR html documentation [DOCDIR]
2176 --dvidir=DIR dvi documentation [DOCDIR]
2177 --pdfdir=DIR pdf documentation [DOCDIR]
2178 --psdir=DIR ps documentation [DOCDIR]
2179 _ACEOF
2181 cat <<\_ACEOF
2183 X features:
2184 --x-includes=DIR X include files are in DIR
2185 --x-libraries=DIR X library files are in DIR
2187 System types:
2188 --build=BUILD configure for building on BUILD [guessed]
2189 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2190 _ACEOF
2193 if test -n "$ac_init_help"; then
2194 case $ac_init_help in
2195 short | recursive ) echo "Configuration of Wine 1.9.3:";;
2196 esac
2197 cat <<\_ACEOF
2199 Optional Features:
2200 --disable-option-checking ignore unrecognized --enable/--with options
2201 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2202 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2203 --disable-win16 do not include Win16 support
2204 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2205 binaries)
2206 --disable-tests do not build the regression tests
2207 --enable-maintainer-mode
2208 enable maintainer-specific build rules
2209 --disable-largefile omit support for large files
2211 Optional Packages:
2212 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2213 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2214 --without-alsa do not use the Alsa sound support
2215 --without-capi do not use CAPI (ISDN support)
2216 --without-cms do not use CMS (color management support)
2217 --without-coreaudio do not use the CoreAudio sound support
2218 --without-cups do not use CUPS
2219 --without-curses do not use (n)curses
2220 --without-dbus do not use DBus (dynamic device support)
2221 --without-fontconfig do not use fontconfig
2222 --without-freetype do not use the FreeType library
2223 --without-gettext do not use gettext
2224 --with-gettextpo use the GetTextPO library to rebuild po files
2225 --without-gphoto do not use gphoto (Digital Camera support)
2226 --without-glu do not use the GLU library
2227 --without-gnutls do not use GnuTLS (schannel support)
2228 --without-gsm do not use libgsm (GSM 06.10 codec support)
2229 --without-gstreamer do not use GStreamer (codecs support)
2230 --without-hal do not use HAL (dynamic device support)
2231 --without-jpeg do not use JPEG
2232 --without-ldap do not use LDAP
2233 --without-mpg123 do not use the mpg123 library
2234 --without-netapi do not use the Samba NetAPI library
2235 --without-openal do not use OpenAL
2236 --without-opencl do not use OpenCL
2237 --without-opengl do not use OpenGL
2238 --without-osmesa do not use the OSMesa library
2239 --without-oss do not use the OSS sound support
2240 --without-pcap do not use the Packet Capture library
2241 --without-png do not use PNG
2242 --without-pthread do not use the pthread library
2243 --without-pulse do not use PulseAudio sound support
2244 --without-sane do not use SANE (scanner support)
2245 --without-tiff do not use TIFF
2246 --without-v4l do not use v4l1 (v4l support)
2247 --without-xcomposite do not use the Xcomposite extension
2248 --without-xcursor do not use the Xcursor extension
2249 --without-xinerama do not use Xinerama (multi-monitor support)
2250 --without-xinput do not use the Xinput extension
2251 --without-xinput2 do not use the Xinput 2 extension
2252 --without-xml do not use XML
2253 --without-xrandr do not use Xrandr (resolution changes)
2254 --without-xrender do not use the Xrender extension
2255 --without-xshape do not use the Xshape extension
2256 --without-xshm do not use XShm (shared memory extension)
2257 --without-xslt do not use XSLT
2258 --without-xxf86vm do not use XFree video mode extension
2259 --without-zlib do not use Zlib (data compression)
2260 --with-wine-tools=DIR use Wine tools from directory DIR
2261 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2262 --with-x use the X Window System
2264 Some influential environment variables:
2265 CC C compiler command
2266 CFLAGS C compiler flags
2267 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2268 nonstandard directory <lib dir>
2269 LIBS libraries to pass to the linker, e.g. -l<library>
2270 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2271 you have headers in a nonstandard directory <include dir>
2272 CXX C++ compiler command
2273 CXXFLAGS C++ compiler flags
2274 CPP C preprocessor
2275 XMKMF Path to xmkmf, Makefile generator for X Window System
2276 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2277 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2278 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2279 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2280 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2281 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2282 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2283 HAL_LIBS Linker flags for hal, overriding pkg-config
2284 GNUTLS_CFLAGS
2285 C compiler flags for gnutls, overriding pkg-config
2286 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2287 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2288 SANE_LIBS Linker flags for libsane, overriding pkg-config
2289 GPHOTO2_CFLAGS
2290 C compiler flags for libgphoto2, overriding pkg-config
2291 GPHOTO2_LIBS
2292 Linker flags for libgphoto2, overriding pkg-config
2293 GPHOTO2_PORT_CFLAGS
2294 C compiler flags for libgphoto2_port, overriding pkg-config
2295 GPHOTO2_PORT_LIBS
2296 Linker flags for libgphoto2_port, overriding pkg-config
2297 LCMS2_CFLAGS
2298 C compiler flags for lcms2, overriding pkg-config
2299 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2300 FREETYPE_CFLAGS
2301 C compiler flags for freetype2, overriding pkg-config
2302 FREETYPE_LIBS
2303 Linker flags for freetype2, overriding pkg-config
2304 PULSE_CFLAGS
2305 C compiler flags for libpulse, overriding pkg-config
2306 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2307 GSTREAMER_CFLAGS
2308 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2309 gstreamer-audio-1.0, overriding pkg-config
2310 GSTREAMER_LIBS
2311 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2312 gstreamer-audio-1.0, overriding pkg-config
2313 CAPI20_CFLAGS
2314 C compiler flags for capi20, overriding pkg-config
2315 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2316 FONTCONFIG_CFLAGS
2317 C compiler flags for fontconfig, overriding pkg-config
2318 FONTCONFIG_LIBS
2319 Linker flags for fontconfig, overriding pkg-config
2320 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2321 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2322 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2323 PNG_LIBS Linker flags for libpng, overriding pkg-config
2324 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2325 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2326 MPG123_CFLAGS
2327 C compiler flags for libmpg123, overriding pkg-config
2328 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2329 NETAPI_CFLAGS
2330 C compiler flags for netapi, overriding pkg-config
2331 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2333 Use these variables to override the choices made by `configure' or to help
2334 it to find libraries and programs with nonstandard names/locations.
2336 Report bugs to <wine-devel@winehq.org>.
2337 Wine home page: <http://www.winehq.org>.
2338 _ACEOF
2339 ac_status=$?
2342 if test "$ac_init_help" = "recursive"; then
2343 # If there are subdirs, report their specific --help.
2344 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2345 test -d "$ac_dir" ||
2346 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2347 continue
2348 ac_builddir=.
2350 case "$ac_dir" in
2351 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2353 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2354 # A ".." for each directory in $ac_dir_suffix.
2355 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2356 case $ac_top_builddir_sub in
2357 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2358 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2359 esac ;;
2360 esac
2361 ac_abs_top_builddir=$ac_pwd
2362 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2363 # for backward compatibility:
2364 ac_top_builddir=$ac_top_build_prefix
2366 case $srcdir in
2367 .) # We are building in place.
2368 ac_srcdir=.
2369 ac_top_srcdir=$ac_top_builddir_sub
2370 ac_abs_top_srcdir=$ac_pwd ;;
2371 [\\/]* | ?:[\\/]* ) # Absolute name.
2372 ac_srcdir=$srcdir$ac_dir_suffix;
2373 ac_top_srcdir=$srcdir
2374 ac_abs_top_srcdir=$srcdir ;;
2375 *) # Relative name.
2376 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2377 ac_top_srcdir=$ac_top_build_prefix$srcdir
2378 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2379 esac
2380 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2382 cd "$ac_dir" || { ac_status=$?; continue; }
2383 # Check for guested configure.
2384 if test -f "$ac_srcdir/configure.gnu"; then
2385 echo &&
2386 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2387 elif test -f "$ac_srcdir/configure"; then
2388 echo &&
2389 $SHELL "$ac_srcdir/configure" --help=recursive
2390 else
2391 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2392 fi || ac_status=$?
2393 cd "$ac_pwd" || { ac_status=$?; break; }
2394 done
2397 test -n "$ac_init_help" && exit $ac_status
2398 if $ac_init_version; then
2399 cat <<\_ACEOF
2400 Wine configure 1.9.3
2401 generated by GNU Autoconf 2.69
2403 Copyright (C) 2012 Free Software Foundation, Inc.
2404 This configure script is free software; the Free Software Foundation
2405 gives unlimited permission to copy, distribute and modify it.
2406 _ACEOF
2407 exit
2410 ## ------------------------ ##
2411 ## Autoconf initialization. ##
2412 ## ------------------------ ##
2414 # ac_fn_c_try_compile LINENO
2415 # --------------------------
2416 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2417 ac_fn_c_try_compile ()
2419 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2420 rm -f conftest.$ac_objext
2421 if { { ac_try="$ac_compile"
2422 case "(($ac_try" in
2423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2424 *) ac_try_echo=$ac_try;;
2425 esac
2426 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2427 $as_echo "$ac_try_echo"; } >&5
2428 (eval "$ac_compile") 2>conftest.err
2429 ac_status=$?
2430 if test -s conftest.err; then
2431 grep -v '^ *+' conftest.err >conftest.er1
2432 cat conftest.er1 >&5
2433 mv -f conftest.er1 conftest.err
2435 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2436 test $ac_status = 0; } && {
2437 test -z "$ac_c_werror_flag" ||
2438 test ! -s conftest.err
2439 } && test -s conftest.$ac_objext; then :
2440 ac_retval=0
2441 else
2442 $as_echo "$as_me: failed program was:" >&5
2443 sed 's/^/| /' conftest.$ac_ext >&5
2445 ac_retval=1
2447 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2448 as_fn_set_status $ac_retval
2450 } # ac_fn_c_try_compile
2452 # ac_fn_cxx_try_compile LINENO
2453 # ----------------------------
2454 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2455 ac_fn_cxx_try_compile ()
2457 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2458 rm -f conftest.$ac_objext
2459 if { { ac_try="$ac_compile"
2460 case "(($ac_try" in
2461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2462 *) ac_try_echo=$ac_try;;
2463 esac
2464 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2465 $as_echo "$ac_try_echo"; } >&5
2466 (eval "$ac_compile") 2>conftest.err
2467 ac_status=$?
2468 if test -s conftest.err; then
2469 grep -v '^ *+' conftest.err >conftest.er1
2470 cat conftest.er1 >&5
2471 mv -f conftest.er1 conftest.err
2473 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2474 test $ac_status = 0; } && {
2475 test -z "$ac_cxx_werror_flag" ||
2476 test ! -s conftest.err
2477 } && test -s conftest.$ac_objext; then :
2478 ac_retval=0
2479 else
2480 $as_echo "$as_me: failed program was:" >&5
2481 sed 's/^/| /' conftest.$ac_ext >&5
2483 ac_retval=1
2485 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2486 as_fn_set_status $ac_retval
2488 } # ac_fn_cxx_try_compile
2490 # ac_fn_c_try_link LINENO
2491 # -----------------------
2492 # Try to link conftest.$ac_ext, and return whether this succeeded.
2493 ac_fn_c_try_link ()
2495 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2496 rm -f conftest.$ac_objext conftest$ac_exeext
2497 if { { ac_try="$ac_link"
2498 case "(($ac_try" in
2499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2500 *) ac_try_echo=$ac_try;;
2501 esac
2502 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2503 $as_echo "$ac_try_echo"; } >&5
2504 (eval "$ac_link") 2>conftest.err
2505 ac_status=$?
2506 if test -s conftest.err; then
2507 grep -v '^ *+' conftest.err >conftest.er1
2508 cat conftest.er1 >&5
2509 mv -f conftest.er1 conftest.err
2511 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2512 test $ac_status = 0; } && {
2513 test -z "$ac_c_werror_flag" ||
2514 test ! -s conftest.err
2515 } && test -s conftest$ac_exeext && {
2516 test "$cross_compiling" = yes ||
2517 test -x conftest$ac_exeext
2518 }; then :
2519 ac_retval=0
2520 else
2521 $as_echo "$as_me: failed program was:" >&5
2522 sed 's/^/| /' conftest.$ac_ext >&5
2524 ac_retval=1
2526 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2527 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2528 # interfere with the next link command; also delete a directory that is
2529 # left behind by Apple's compiler. We do this before executing the actions.
2530 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2531 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2532 as_fn_set_status $ac_retval
2534 } # ac_fn_c_try_link
2536 # ac_fn_c_try_cpp LINENO
2537 # ----------------------
2538 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2539 ac_fn_c_try_cpp ()
2541 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2542 if { { ac_try="$ac_cpp conftest.$ac_ext"
2543 case "(($ac_try" in
2544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2545 *) ac_try_echo=$ac_try;;
2546 esac
2547 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2548 $as_echo "$ac_try_echo"; } >&5
2549 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2550 ac_status=$?
2551 if test -s conftest.err; then
2552 grep -v '^ *+' conftest.err >conftest.er1
2553 cat conftest.er1 >&5
2554 mv -f conftest.er1 conftest.err
2556 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2557 test $ac_status = 0; } > conftest.i && {
2558 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2559 test ! -s conftest.err
2560 }; then :
2561 ac_retval=0
2562 else
2563 $as_echo "$as_me: failed program was:" >&5
2564 sed 's/^/| /' conftest.$ac_ext >&5
2566 ac_retval=1
2568 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2569 as_fn_set_status $ac_retval
2571 } # ac_fn_c_try_cpp
2573 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2574 # -------------------------------------------------------
2575 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2576 # the include files in INCLUDES and setting the cache variable VAR
2577 # accordingly.
2578 ac_fn_c_check_header_mongrel ()
2580 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2581 if eval \${$3+:} false; then :
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2583 $as_echo_n "checking for $2... " >&6; }
2584 if eval \${$3+:} false; then :
2585 $as_echo_n "(cached) " >&6
2587 eval ac_res=\$$3
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2589 $as_echo "$ac_res" >&6; }
2590 else
2591 # Is the header compilable?
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2593 $as_echo_n "checking $2 usability... " >&6; }
2594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2595 /* end confdefs.h. */
2597 #include <$2>
2598 _ACEOF
2599 if ac_fn_c_try_compile "$LINENO"; then :
2600 ac_header_compiler=yes
2601 else
2602 ac_header_compiler=no
2604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2606 $as_echo "$ac_header_compiler" >&6; }
2608 # Is the header present?
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2610 $as_echo_n "checking $2 presence... " >&6; }
2611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2612 /* end confdefs.h. */
2613 #include <$2>
2614 _ACEOF
2615 if ac_fn_c_try_cpp "$LINENO"; then :
2616 ac_header_preproc=yes
2617 else
2618 ac_header_preproc=no
2620 rm -f conftest.err conftest.i conftest.$ac_ext
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2622 $as_echo "$ac_header_preproc" >&6; }
2624 # So? What about this header?
2625 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2626 yes:no: )
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2628 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2630 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2632 no:yes:* )
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2634 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2636 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2638 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2640 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2642 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2643 ( $as_echo "## ------------------------------------ ##
2644 ## Report this to wine-devel@winehq.org ##
2645 ## ------------------------------------ ##"
2646 ) | sed "s/^/$as_me: WARNING: /" >&2
2648 esac
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2650 $as_echo_n "checking for $2... " >&6; }
2651 if eval \${$3+:} false; then :
2652 $as_echo_n "(cached) " >&6
2653 else
2654 eval "$3=\$ac_header_compiler"
2656 eval ac_res=\$$3
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2658 $as_echo "$ac_res" >&6; }
2660 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2662 } # ac_fn_c_check_header_mongrel
2664 # ac_fn_c_try_run LINENO
2665 # ----------------------
2666 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2667 # that executables *can* be run.
2668 ac_fn_c_try_run ()
2670 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2671 if { { ac_try="$ac_link"
2672 case "(($ac_try" in
2673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2674 *) ac_try_echo=$ac_try;;
2675 esac
2676 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2677 $as_echo "$ac_try_echo"; } >&5
2678 (eval "$ac_link") 2>&5
2679 ac_status=$?
2680 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2681 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2682 { { case "(($ac_try" in
2683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2684 *) ac_try_echo=$ac_try;;
2685 esac
2686 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2687 $as_echo "$ac_try_echo"; } >&5
2688 (eval "$ac_try") 2>&5
2689 ac_status=$?
2690 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2691 test $ac_status = 0; }; }; then :
2692 ac_retval=0
2693 else
2694 $as_echo "$as_me: program exited with status $ac_status" >&5
2695 $as_echo "$as_me: failed program was:" >&5
2696 sed 's/^/| /' conftest.$ac_ext >&5
2698 ac_retval=$ac_status
2700 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2701 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2702 as_fn_set_status $ac_retval
2704 } # ac_fn_c_try_run
2706 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2707 # -------------------------------------------------------
2708 # Tests whether HEADER exists and can be compiled using the include files in
2709 # INCLUDES, setting the cache variable VAR accordingly.
2710 ac_fn_c_check_header_compile ()
2712 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2714 $as_echo_n "checking for $2... " >&6; }
2715 if eval \${$3+:} false; then :
2716 $as_echo_n "(cached) " >&6
2717 else
2718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2719 /* end confdefs.h. */
2721 #include <$2>
2722 _ACEOF
2723 if ac_fn_c_try_compile "$LINENO"; then :
2724 eval "$3=yes"
2725 else
2726 eval "$3=no"
2728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2730 eval ac_res=\$$3
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2732 $as_echo "$ac_res" >&6; }
2733 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2735 } # ac_fn_c_check_header_compile
2737 # ac_fn_c_check_func LINENO FUNC VAR
2738 # ----------------------------------
2739 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2740 ac_fn_c_check_func ()
2742 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2744 $as_echo_n "checking for $2... " >&6; }
2745 if eval \${$3+:} false; then :
2746 $as_echo_n "(cached) " >&6
2747 else
2748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2749 /* end confdefs.h. */
2750 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2751 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2752 #define $2 innocuous_$2
2754 /* System header to define __stub macros and hopefully few prototypes,
2755 which can conflict with char $2 (); below.
2756 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2757 <limits.h> exists even on freestanding compilers. */
2759 #ifdef __STDC__
2760 # include <limits.h>
2761 #else
2762 # include <assert.h>
2763 #endif
2765 #undef $2
2767 /* Override any GCC internal prototype to avoid an error.
2768 Use char because int might match the return type of a GCC
2769 builtin and then its argument prototype would still apply. */
2770 #ifdef __cplusplus
2771 extern "C"
2772 #endif
2773 char $2 ();
2774 /* The GNU C library defines this for functions which it implements
2775 to always fail with ENOSYS. Some functions are actually named
2776 something starting with __ and the normal name is an alias. */
2777 #if defined __stub_$2 || defined __stub___$2
2778 choke me
2779 #endif
2782 main ()
2784 return $2 ();
2786 return 0;
2788 _ACEOF
2789 if ac_fn_c_try_link "$LINENO"; then :
2790 eval "$3=yes"
2791 else
2792 eval "$3=no"
2794 rm -f core conftest.err conftest.$ac_objext \
2795 conftest$ac_exeext conftest.$ac_ext
2797 eval ac_res=\$$3
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2799 $as_echo "$ac_res" >&6; }
2800 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2802 } # ac_fn_c_check_func
2804 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2805 # ----------------------------------------------------
2806 # Tries to find if the field MEMBER exists in type AGGR, after including
2807 # INCLUDES, setting cache variable VAR accordingly.
2808 ac_fn_c_check_member ()
2810 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2812 $as_echo_n "checking for $2.$3... " >&6; }
2813 if eval \${$4+:} false; then :
2814 $as_echo_n "(cached) " >&6
2815 else
2816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2817 /* end confdefs.h. */
2820 main ()
2822 static $2 ac_aggr;
2823 if (ac_aggr.$3)
2824 return 0;
2826 return 0;
2828 _ACEOF
2829 if ac_fn_c_try_compile "$LINENO"; then :
2830 eval "$4=yes"
2831 else
2832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2833 /* end confdefs.h. */
2836 main ()
2838 static $2 ac_aggr;
2839 if (sizeof ac_aggr.$3)
2840 return 0;
2842 return 0;
2844 _ACEOF
2845 if ac_fn_c_try_compile "$LINENO"; then :
2846 eval "$4=yes"
2847 else
2848 eval "$4=no"
2850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2854 eval ac_res=\$$4
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2856 $as_echo "$ac_res" >&6; }
2857 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2859 } # ac_fn_c_check_member
2861 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2862 # -------------------------------------------
2863 # Tests whether TYPE exists after having included INCLUDES, setting cache
2864 # variable VAR accordingly.
2865 ac_fn_c_check_type ()
2867 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2869 $as_echo_n "checking for $2... " >&6; }
2870 if eval \${$3+:} false; then :
2871 $as_echo_n "(cached) " >&6
2872 else
2873 eval "$3=no"
2874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2875 /* end confdefs.h. */
2878 main ()
2880 if (sizeof ($2))
2881 return 0;
2883 return 0;
2885 _ACEOF
2886 if ac_fn_c_try_compile "$LINENO"; then :
2887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2888 /* end confdefs.h. */
2891 main ()
2893 if (sizeof (($2)))
2894 return 0;
2896 return 0;
2898 _ACEOF
2899 if ac_fn_c_try_compile "$LINENO"; then :
2901 else
2902 eval "$3=yes"
2904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2908 eval ac_res=\$$3
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2910 $as_echo "$ac_res" >&6; }
2911 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2913 } # ac_fn_c_check_type
2914 cat >config.log <<_ACEOF
2915 This file contains any messages produced by compilers while
2916 running configure, to aid debugging if configure makes a mistake.
2918 It was created by Wine $as_me 1.9.3, which was
2919 generated by GNU Autoconf 2.69. Invocation command line was
2921 $ $0 $@
2923 _ACEOF
2924 exec 5>>config.log
2926 cat <<_ASUNAME
2927 ## --------- ##
2928 ## Platform. ##
2929 ## --------- ##
2931 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2932 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2933 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2934 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2935 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2937 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2938 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2940 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2941 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2942 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2943 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2944 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2945 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2946 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2948 _ASUNAME
2950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2951 for as_dir in $PATH
2953 IFS=$as_save_IFS
2954 test -z "$as_dir" && as_dir=.
2955 $as_echo "PATH: $as_dir"
2956 done
2957 IFS=$as_save_IFS
2959 } >&5
2961 cat >&5 <<_ACEOF
2964 ## ----------- ##
2965 ## Core tests. ##
2966 ## ----------- ##
2968 _ACEOF
2971 # Keep a trace of the command line.
2972 # Strip out --no-create and --no-recursion so they do not pile up.
2973 # Strip out --silent because we don't want to record it for future runs.
2974 # Also quote any args containing shell meta-characters.
2975 # Make two passes to allow for proper duplicate-argument suppression.
2976 ac_configure_args=
2977 ac_configure_args0=
2978 ac_configure_args1=
2979 ac_must_keep_next=false
2980 for ac_pass in 1 2
2982 for ac_arg
2984 case $ac_arg in
2985 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2986 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2987 | -silent | --silent | --silen | --sile | --sil)
2988 continue ;;
2989 *\'*)
2990 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2991 esac
2992 case $ac_pass in
2993 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2995 as_fn_append ac_configure_args1 " '$ac_arg'"
2996 if test $ac_must_keep_next = true; then
2997 ac_must_keep_next=false # Got value, back to normal.
2998 else
2999 case $ac_arg in
3000 *=* | --config-cache | -C | -disable-* | --disable-* \
3001 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3002 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3003 | -with-* | --with-* | -without-* | --without-* | --x)
3004 case "$ac_configure_args0 " in
3005 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3006 esac
3008 -* ) ac_must_keep_next=true ;;
3009 esac
3011 as_fn_append ac_configure_args " '$ac_arg'"
3013 esac
3014 done
3015 done
3016 { ac_configure_args0=; unset ac_configure_args0;}
3017 { ac_configure_args1=; unset ac_configure_args1;}
3019 # When interrupted or exit'd, cleanup temporary files, and complete
3020 # config.log. We remove comments because anyway the quotes in there
3021 # would cause problems or look ugly.
3022 # WARNING: Use '\'' to represent an apostrophe within the trap.
3023 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3024 trap 'exit_status=$?
3025 # Save into config.log some information that might help in debugging.
3027 echo
3029 $as_echo "## ---------------- ##
3030 ## Cache variables. ##
3031 ## ---------------- ##"
3032 echo
3033 # The following way of writing the cache mishandles newlines in values,
3035 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3036 eval ac_val=\$$ac_var
3037 case $ac_val in #(
3038 *${as_nl}*)
3039 case $ac_var in #(
3040 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3041 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3042 esac
3043 case $ac_var in #(
3044 _ | IFS | as_nl) ;; #(
3045 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3046 *) { eval $ac_var=; unset $ac_var;} ;;
3047 esac ;;
3048 esac
3049 done
3050 (set) 2>&1 |
3051 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3052 *${as_nl}ac_space=\ *)
3053 sed -n \
3054 "s/'\''/'\''\\\\'\'''\''/g;
3055 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3056 ;; #(
3058 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3060 esac |
3061 sort
3063 echo
3065 $as_echo "## ----------------- ##
3066 ## Output variables. ##
3067 ## ----------------- ##"
3068 echo
3069 for ac_var in $ac_subst_vars
3071 eval ac_val=\$$ac_var
3072 case $ac_val in
3073 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3074 esac
3075 $as_echo "$ac_var='\''$ac_val'\''"
3076 done | sort
3077 echo
3079 if test -n "$ac_subst_files"; then
3080 $as_echo "## ------------------- ##
3081 ## File substitutions. ##
3082 ## ------------------- ##"
3083 echo
3084 for ac_var in $ac_subst_files
3086 eval ac_val=\$$ac_var
3087 case $ac_val in
3088 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3089 esac
3090 $as_echo "$ac_var='\''$ac_val'\''"
3091 done | sort
3092 echo
3095 if test -s confdefs.h; then
3096 $as_echo "## ----------- ##
3097 ## confdefs.h. ##
3098 ## ----------- ##"
3099 echo
3100 cat confdefs.h
3101 echo
3103 test "$ac_signal" != 0 &&
3104 $as_echo "$as_me: caught signal $ac_signal"
3105 $as_echo "$as_me: exit $exit_status"
3106 } >&5
3107 rm -f core *.core core.conftest.* &&
3108 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3109 exit $exit_status
3111 for ac_signal in 1 2 13 15; do
3112 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3113 done
3114 ac_signal=0
3116 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3117 rm -f -r conftest* confdefs.h
3119 $as_echo "/* confdefs.h */" > confdefs.h
3121 # Predefined preprocessor variables.
3123 cat >>confdefs.h <<_ACEOF
3124 #define PACKAGE_NAME "$PACKAGE_NAME"
3125 _ACEOF
3127 cat >>confdefs.h <<_ACEOF
3128 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3129 _ACEOF
3131 cat >>confdefs.h <<_ACEOF
3132 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3133 _ACEOF
3135 cat >>confdefs.h <<_ACEOF
3136 #define PACKAGE_STRING "$PACKAGE_STRING"
3137 _ACEOF
3139 cat >>confdefs.h <<_ACEOF
3140 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3141 _ACEOF
3143 cat >>confdefs.h <<_ACEOF
3144 #define PACKAGE_URL "$PACKAGE_URL"
3145 _ACEOF
3148 # Let the site file select an alternate cache file if it wants to.
3149 # Prefer an explicitly selected file to automatically selected ones.
3150 ac_site_file1=NONE
3151 ac_site_file2=NONE
3152 if test -n "$CONFIG_SITE"; then
3153 # We do not want a PATH search for config.site.
3154 case $CONFIG_SITE in #((
3155 -*) ac_site_file1=./$CONFIG_SITE;;
3156 */*) ac_site_file1=$CONFIG_SITE;;
3157 *) ac_site_file1=./$CONFIG_SITE;;
3158 esac
3159 elif test "x$prefix" != xNONE; then
3160 ac_site_file1=$prefix/share/config.site
3161 ac_site_file2=$prefix/etc/config.site
3162 else
3163 ac_site_file1=$ac_default_prefix/share/config.site
3164 ac_site_file2=$ac_default_prefix/etc/config.site
3166 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3168 test "x$ac_site_file" = xNONE && continue
3169 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3171 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3172 sed 's/^/| /' "$ac_site_file" >&5
3173 . "$ac_site_file" \
3174 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3175 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3176 as_fn_error $? "failed to load site script $ac_site_file
3177 See \`config.log' for more details" "$LINENO" 5; }
3179 done
3181 if test -r "$cache_file"; then
3182 # Some versions of bash will fail to source /dev/null (special files
3183 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3184 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3185 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3186 $as_echo "$as_me: loading cache $cache_file" >&6;}
3187 case $cache_file in
3188 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3189 *) . "./$cache_file";;
3190 esac
3192 else
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3194 $as_echo "$as_me: creating cache $cache_file" >&6;}
3195 >$cache_file
3198 # Check that the precious variables saved in the cache have kept the same
3199 # value.
3200 ac_cache_corrupted=false
3201 for ac_var in $ac_precious_vars; do
3202 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3203 eval ac_new_set=\$ac_env_${ac_var}_set
3204 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3205 eval ac_new_val=\$ac_env_${ac_var}_value
3206 case $ac_old_set,$ac_new_set in
3207 set,)
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3209 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3210 ac_cache_corrupted=: ;;
3211 ,set)
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3213 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3214 ac_cache_corrupted=: ;;
3215 ,);;
3217 if test "x$ac_old_val" != "x$ac_new_val"; then
3218 # differences in whitespace do not lead to failure.
3219 ac_old_val_w=`echo x $ac_old_val`
3220 ac_new_val_w=`echo x $ac_new_val`
3221 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3223 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3224 ac_cache_corrupted=:
3225 else
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3227 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3228 eval $ac_var=\$ac_old_val
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3231 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3233 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3234 fi;;
3235 esac
3236 # Pass precious variables to config.status.
3237 if test "$ac_new_set" = set; then
3238 case $ac_new_val in
3239 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3240 *) ac_arg=$ac_var=$ac_new_val ;;
3241 esac
3242 case " $ac_configure_args " in
3243 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3244 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3245 esac
3247 done
3248 if $ac_cache_corrupted; then
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3250 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3252 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3253 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3255 ## -------------------- ##
3256 ## Main body of script. ##
3257 ## -------------------- ##
3259 ac_ext=c
3260 ac_cpp='$CPP $CPPFLAGS'
3261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3267 ac_config_headers="$ac_config_headers include/config.h"
3269 ac_aux_dir=
3270 for ac_dir in tools "$srcdir"/tools; do
3271 if test -f "$ac_dir/install-sh"; then
3272 ac_aux_dir=$ac_dir
3273 ac_install_sh="$ac_aux_dir/install-sh -c"
3274 break
3275 elif test -f "$ac_dir/install.sh"; then
3276 ac_aux_dir=$ac_dir
3277 ac_install_sh="$ac_aux_dir/install.sh -c"
3278 break
3279 elif test -f "$ac_dir/shtool"; then
3280 ac_aux_dir=$ac_dir
3281 ac_install_sh="$ac_aux_dir/shtool install -c"
3282 break
3284 done
3285 if test -z "$ac_aux_dir"; then
3286 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3289 # These three variables are undocumented and unsupported,
3290 # and are intended to be withdrawn in a future Autoconf release.
3291 # They can cause serious problems if a builder's source tree is in a directory
3292 # whose full name contains unusual characters.
3293 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3294 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3295 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3299 libwine_version="1.0"
3303 # Check whether --enable-win16 was given.
3304 if test "${enable_win16+set}" = set; then :
3305 enableval=$enable_win16;
3308 # Check whether --enable-win64 was given.
3309 if test "${enable_win64+set}" = set; then :
3310 enableval=$enable_win64;
3313 # Check whether --enable-tests was given.
3314 if test "${enable_tests+set}" = set; then :
3315 enableval=$enable_tests;
3318 # Check whether --enable-maintainer-mode was given.
3319 if test "${enable_maintainer_mode+set}" = set; then :
3320 enableval=$enable_maintainer_mode;
3325 # Check whether --with-alsa was given.
3326 if test "${with_alsa+set}" = set; then :
3327 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3331 # Check whether --with-capi was given.
3332 if test "${with_capi+set}" = set; then :
3333 withval=$with_capi;
3337 # Check whether --with-cms was given.
3338 if test "${with_cms+set}" = set; then :
3339 withval=$with_cms;
3343 # Check whether --with-coreaudio was given.
3344 if test "${with_coreaudio+set}" = set; then :
3345 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3349 # Check whether --with-cups was given.
3350 if test "${with_cups+set}" = set; then :
3351 withval=$with_cups;
3355 # Check whether --with-curses was given.
3356 if test "${with_curses+set}" = set; then :
3357 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3361 # Check whether --with-dbus was given.
3362 if test "${with_dbus+set}" = set; then :
3363 withval=$with_dbus;
3367 # Check whether --with-fontconfig was given.
3368 if test "${with_fontconfig+set}" = set; then :
3369 withval=$with_fontconfig;
3373 # Check whether --with-freetype was given.
3374 if test "${with_freetype+set}" = set; then :
3375 withval=$with_freetype;
3379 # Check whether --with-gettext was given.
3380 if test "${with_gettext+set}" = set; then :
3381 withval=$with_gettext;
3385 # Check whether --with-gettextpo was given.
3386 if test "${with_gettextpo+set}" = set; then :
3387 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3391 # Check whether --with-gphoto was given.
3392 if test "${with_gphoto+set}" = set; then :
3393 withval=$with_gphoto;
3397 # Check whether --with-glu was given.
3398 if test "${with_glu+set}" = set; then :
3399 withval=$with_glu;
3403 # Check whether --with-gnutls was given.
3404 if test "${with_gnutls+set}" = set; then :
3405 withval=$with_gnutls;
3409 # Check whether --with-gsm was given.
3410 if test "${with_gsm+set}" = set; then :
3411 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3415 # Check whether --with-gstreamer was given.
3416 if test "${with_gstreamer+set}" = set; then :
3417 withval=$with_gstreamer;
3421 # Check whether --with-hal was given.
3422 if test "${with_hal+set}" = set; then :
3423 withval=$with_hal;
3427 # Check whether --with-jpeg was given.
3428 if test "${with_jpeg+set}" = set; then :
3429 withval=$with_jpeg;
3433 # Check whether --with-ldap was given.
3434 if test "${with_ldap+set}" = set; then :
3435 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3439 # Check whether --with-mpg123 was given.
3440 if test "${with_mpg123+set}" = set; then :
3441 withval=$with_mpg123;
3445 # Check whether --with-netapi was given.
3446 if test "${with_netapi+set}" = set; then :
3447 withval=$with_netapi;
3451 # Check whether --with-openal was given.
3452 if test "${with_openal+set}" = set; then :
3453 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3457 # Check whether --with-opencl was given.
3458 if test "${with_opencl+set}" = set; then :
3459 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3463 # Check whether --with-opengl was given.
3464 if test "${with_opengl+set}" = set; then :
3465 withval=$with_opengl;
3469 # Check whether --with-osmesa was given.
3470 if test "${with_osmesa+set}" = set; then :
3471 withval=$with_osmesa;
3475 # Check whether --with-oss was given.
3476 if test "${with_oss+set}" = set; then :
3477 withval=$with_oss;
3481 # Check whether --with-pcap was given.
3482 if test "${with_pcap+set}" = set; then :
3483 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3487 # Check whether --with-png was given.
3488 if test "${with_png+set}" = set; then :
3489 withval=$with_png;
3493 # Check whether --with-pthread was given.
3494 if test "${with_pthread+set}" = set; then :
3495 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3499 # Check whether --with-pulse was given.
3500 if test "${with_pulse+set}" = set; then :
3501 withval=$with_pulse;
3505 # Check whether --with-sane was given.
3506 if test "${with_sane+set}" = set; then :
3507 withval=$with_sane;
3511 # Check whether --with-tiff was given.
3512 if test "${with_tiff+set}" = set; then :
3513 withval=$with_tiff;
3517 # Check whether --with-v4l was given.
3518 if test "${with_v4l+set}" = set; then :
3519 withval=$with_v4l;
3523 # Check whether --with-xcomposite was given.
3524 if test "${with_xcomposite+set}" = set; then :
3525 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3529 # Check whether --with-xcursor was given.
3530 if test "${with_xcursor+set}" = set; then :
3531 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3535 # Check whether --with-xinerama was given.
3536 if test "${with_xinerama+set}" = set; then :
3537 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3541 # Check whether --with-xinput was given.
3542 if test "${with_xinput+set}" = set; then :
3543 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3547 # Check whether --with-xinput2 was given.
3548 if test "${with_xinput2+set}" = set; then :
3549 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3553 # Check whether --with-xml was given.
3554 if test "${with_xml+set}" = set; then :
3555 withval=$with_xml;
3559 # Check whether --with-xrandr was given.
3560 if test "${with_xrandr+set}" = set; then :
3561 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3565 # Check whether --with-xrender was given.
3566 if test "${with_xrender+set}" = set; then :
3567 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3571 # Check whether --with-xshape was given.
3572 if test "${with_xshape+set}" = set; then :
3573 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3577 # Check whether --with-xshm was given.
3578 if test "${with_xshm+set}" = set; then :
3579 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3583 # Check whether --with-xslt was given.
3584 if test "${with_xslt+set}" = set; then :
3585 withval=$with_xslt;
3589 # Check whether --with-xxf86vm was given.
3590 if test "${with_xxf86vm+set}" = set; then :
3591 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
3595 # Check whether --with-zlib was given.
3596 if test "${with_zlib+set}" = set; then :
3597 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3602 # Check whether --with-wine-tools was given.
3603 if test "${with_wine_tools+set}" = set; then :
3604 withval=$with_wine_tools;
3608 # Check whether --with-wine64 was given.
3609 if test "${with_wine64+set}" = set; then :
3610 withval=$with_wine64;
3614 # Make sure we can run config.sub.
3615 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3616 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3619 $as_echo_n "checking build system type... " >&6; }
3620 if ${ac_cv_build+:} false; then :
3621 $as_echo_n "(cached) " >&6
3622 else
3623 ac_build_alias=$build_alias
3624 test "x$ac_build_alias" = x &&
3625 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3626 test "x$ac_build_alias" = x &&
3627 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3628 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3629 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3633 $as_echo "$ac_cv_build" >&6; }
3634 case $ac_cv_build in
3635 *-*-*) ;;
3636 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3637 esac
3638 build=$ac_cv_build
3639 ac_save_IFS=$IFS; IFS='-'
3640 set x $ac_cv_build
3641 shift
3642 build_cpu=$1
3643 build_vendor=$2
3644 shift; shift
3645 # Remember, the first character of IFS is used to create $*,
3646 # except with old shells:
3647 build_os=$*
3648 IFS=$ac_save_IFS
3649 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3653 $as_echo_n "checking host system type... " >&6; }
3654 if ${ac_cv_host+:} false; then :
3655 $as_echo_n "(cached) " >&6
3656 else
3657 if test "x$host_alias" = x; then
3658 ac_cv_host=$ac_cv_build
3659 else
3660 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3661 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3666 $as_echo "$ac_cv_host" >&6; }
3667 case $ac_cv_host in
3668 *-*-*) ;;
3669 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3670 esac
3671 host=$ac_cv_host
3672 ac_save_IFS=$IFS; IFS='-'
3673 set x $ac_cv_host
3674 shift
3675 host_cpu=$1
3676 host_vendor=$2
3677 shift; shift
3678 # Remember, the first character of IFS is used to create $*,
3679 # except with old shells:
3680 host_os=$*
3681 IFS=$ac_save_IFS
3682 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3686 case "$srcdir" in
3687 .) ;;
3688 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3689 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3690 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3691 fi ;;
3692 esac
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3696 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3697 set x ${MAKE-make}
3698 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3699 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3700 $as_echo_n "(cached) " >&6
3701 else
3702 cat >conftest.make <<\_ACEOF
3703 SHELL = /bin/sh
3704 all:
3705 @echo '@@@%%%=$(MAKE)=@@@%%%'
3706 _ACEOF
3707 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3708 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3709 *@@@%%%=?*=@@@%%%*)
3710 eval ac_cv_prog_make_${ac_make}_set=yes;;
3712 eval ac_cv_prog_make_${ac_make}_set=no;;
3713 esac
3714 rm -f conftest.make
3716 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3718 $as_echo "yes" >&6; }
3719 SET_MAKE=
3720 else
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3722 $as_echo "no" >&6; }
3723 SET_MAKE="MAKE=${MAKE-make}"
3726 ac_ext=c
3727 ac_cpp='$CPP $CPPFLAGS'
3728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3731 if test -n "$ac_tool_prefix"; then
3732 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3733 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3735 $as_echo_n "checking for $ac_word... " >&6; }
3736 if ${ac_cv_prog_CC+:} false; then :
3737 $as_echo_n "(cached) " >&6
3738 else
3739 if test -n "$CC"; then
3740 ac_cv_prog_CC="$CC" # Let the user override the test.
3741 else
3742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3743 for as_dir in $PATH
3745 IFS=$as_save_IFS
3746 test -z "$as_dir" && as_dir=.
3747 for ac_exec_ext in '' $ac_executable_extensions; do
3748 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3749 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3751 break 2
3753 done
3754 done
3755 IFS=$as_save_IFS
3759 CC=$ac_cv_prog_CC
3760 if test -n "$CC"; then
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3762 $as_echo "$CC" >&6; }
3763 else
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3765 $as_echo "no" >&6; }
3770 if test -z "$ac_cv_prog_CC"; then
3771 ac_ct_CC=$CC
3772 # Extract the first word of "gcc", so it can be a program name with args.
3773 set dummy gcc; ac_word=$2
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3775 $as_echo_n "checking for $ac_word... " >&6; }
3776 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3777 $as_echo_n "(cached) " >&6
3778 else
3779 if test -n "$ac_ct_CC"; then
3780 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3781 else
3782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3783 for as_dir in $PATH
3785 IFS=$as_save_IFS
3786 test -z "$as_dir" && as_dir=.
3787 for ac_exec_ext in '' $ac_executable_extensions; do
3788 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3789 ac_cv_prog_ac_ct_CC="gcc"
3790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3791 break 2
3793 done
3794 done
3795 IFS=$as_save_IFS
3799 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3800 if test -n "$ac_ct_CC"; then
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3802 $as_echo "$ac_ct_CC" >&6; }
3803 else
3804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3805 $as_echo "no" >&6; }
3808 if test "x$ac_ct_CC" = x; then
3809 CC=""
3810 else
3811 case $cross_compiling:$ac_tool_warned in
3812 yes:)
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3814 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3815 ac_tool_warned=yes ;;
3816 esac
3817 CC=$ac_ct_CC
3819 else
3820 CC="$ac_cv_prog_CC"
3823 if test -z "$CC"; then
3824 if test -n "$ac_tool_prefix"; then
3825 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3826 set dummy ${ac_tool_prefix}cc; ac_word=$2
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3828 $as_echo_n "checking for $ac_word... " >&6; }
3829 if ${ac_cv_prog_CC+:} false; then :
3830 $as_echo_n "(cached) " >&6
3831 else
3832 if test -n "$CC"; then
3833 ac_cv_prog_CC="$CC" # Let the user override the test.
3834 else
3835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3836 for as_dir in $PATH
3838 IFS=$as_save_IFS
3839 test -z "$as_dir" && as_dir=.
3840 for ac_exec_ext in '' $ac_executable_extensions; do
3841 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3842 ac_cv_prog_CC="${ac_tool_prefix}cc"
3843 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3844 break 2
3846 done
3847 done
3848 IFS=$as_save_IFS
3852 CC=$ac_cv_prog_CC
3853 if test -n "$CC"; then
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3855 $as_echo "$CC" >&6; }
3856 else
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3858 $as_echo "no" >&6; }
3864 if test -z "$CC"; then
3865 # Extract the first word of "cc", so it can be a program name with args.
3866 set dummy cc; ac_word=$2
3867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3868 $as_echo_n "checking for $ac_word... " >&6; }
3869 if ${ac_cv_prog_CC+:} false; then :
3870 $as_echo_n "(cached) " >&6
3871 else
3872 if test -n "$CC"; then
3873 ac_cv_prog_CC="$CC" # Let the user override the test.
3874 else
3875 ac_prog_rejected=no
3876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3877 for as_dir in $PATH
3879 IFS=$as_save_IFS
3880 test -z "$as_dir" && as_dir=.
3881 for ac_exec_ext in '' $ac_executable_extensions; do
3882 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3883 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3884 ac_prog_rejected=yes
3885 continue
3887 ac_cv_prog_CC="cc"
3888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3889 break 2
3891 done
3892 done
3893 IFS=$as_save_IFS
3895 if test $ac_prog_rejected = yes; then
3896 # We found a bogon in the path, so make sure we never use it.
3897 set dummy $ac_cv_prog_CC
3898 shift
3899 if test $# != 0; then
3900 # We chose a different compiler from the bogus one.
3901 # However, it has the same basename, so the bogon will be chosen
3902 # first if we set CC to just the basename; use the full file name.
3903 shift
3904 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3909 CC=$ac_cv_prog_CC
3910 if test -n "$CC"; then
3911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3912 $as_echo "$CC" >&6; }
3913 else
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3915 $as_echo "no" >&6; }
3920 if test -z "$CC"; then
3921 if test -n "$ac_tool_prefix"; then
3922 for ac_prog in cl.exe
3924 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3925 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3927 $as_echo_n "checking for $ac_word... " >&6; }
3928 if ${ac_cv_prog_CC+:} false; then :
3929 $as_echo_n "(cached) " >&6
3930 else
3931 if test -n "$CC"; then
3932 ac_cv_prog_CC="$CC" # Let the user override the test.
3933 else
3934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3935 for as_dir in $PATH
3937 IFS=$as_save_IFS
3938 test -z "$as_dir" && as_dir=.
3939 for ac_exec_ext in '' $ac_executable_extensions; do
3940 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3941 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3943 break 2
3945 done
3946 done
3947 IFS=$as_save_IFS
3951 CC=$ac_cv_prog_CC
3952 if test -n "$CC"; then
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3954 $as_echo "$CC" >&6; }
3955 else
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3957 $as_echo "no" >&6; }
3961 test -n "$CC" && break
3962 done
3964 if test -z "$CC"; then
3965 ac_ct_CC=$CC
3966 for ac_prog in cl.exe
3968 # Extract the first word of "$ac_prog", so it can be a program name with args.
3969 set dummy $ac_prog; ac_word=$2
3970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3971 $as_echo_n "checking for $ac_word... " >&6; }
3972 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3973 $as_echo_n "(cached) " >&6
3974 else
3975 if test -n "$ac_ct_CC"; then
3976 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3977 else
3978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3979 for as_dir in $PATH
3981 IFS=$as_save_IFS
3982 test -z "$as_dir" && as_dir=.
3983 for ac_exec_ext in '' $ac_executable_extensions; do
3984 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3985 ac_cv_prog_ac_ct_CC="$ac_prog"
3986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3987 break 2
3989 done
3990 done
3991 IFS=$as_save_IFS
3995 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3996 if test -n "$ac_ct_CC"; then
3997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3998 $as_echo "$ac_ct_CC" >&6; }
3999 else
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4001 $as_echo "no" >&6; }
4005 test -n "$ac_ct_CC" && break
4006 done
4008 if test "x$ac_ct_CC" = x; then
4009 CC=""
4010 else
4011 case $cross_compiling:$ac_tool_warned in
4012 yes:)
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4014 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4015 ac_tool_warned=yes ;;
4016 esac
4017 CC=$ac_ct_CC
4024 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4025 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4026 as_fn_error $? "no acceptable C compiler found in \$PATH
4027 See \`config.log' for more details" "$LINENO" 5; }
4029 # Provide some information about the compiler.
4030 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4031 set X $ac_compile
4032 ac_compiler=$2
4033 for ac_option in --version -v -V -qversion; do
4034 { { ac_try="$ac_compiler $ac_option >&5"
4035 case "(($ac_try" in
4036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4037 *) ac_try_echo=$ac_try;;
4038 esac
4039 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4040 $as_echo "$ac_try_echo"; } >&5
4041 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4042 ac_status=$?
4043 if test -s conftest.err; then
4044 sed '10a\
4045 ... rest of stderr output deleted ...
4046 10q' conftest.err >conftest.er1
4047 cat conftest.er1 >&5
4049 rm -f conftest.er1 conftest.err
4050 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4051 test $ac_status = 0; }
4052 done
4054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4055 /* end confdefs.h. */
4058 main ()
4062 return 0;
4064 _ACEOF
4065 ac_clean_files_save=$ac_clean_files
4066 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4067 # Try to create an executable without -o first, disregard a.out.
4068 # It will help us diagnose broken compilers, and finding out an intuition
4069 # of exeext.
4070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4071 $as_echo_n "checking whether the C compiler works... " >&6; }
4072 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4074 # The possible output files:
4075 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4077 ac_rmfiles=
4078 for ac_file in $ac_files
4080 case $ac_file in
4081 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4082 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4083 esac
4084 done
4085 rm -f $ac_rmfiles
4087 if { { ac_try="$ac_link_default"
4088 case "(($ac_try" in
4089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4090 *) ac_try_echo=$ac_try;;
4091 esac
4092 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4093 $as_echo "$ac_try_echo"; } >&5
4094 (eval "$ac_link_default") 2>&5
4095 ac_status=$?
4096 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4097 test $ac_status = 0; }; then :
4098 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4099 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4100 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4101 # so that the user can short-circuit this test for compilers unknown to
4102 # Autoconf.
4103 for ac_file in $ac_files ''
4105 test -f "$ac_file" || continue
4106 case $ac_file in
4107 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4109 [ab].out )
4110 # We found the default executable, but exeext='' is most
4111 # certainly right.
4112 break;;
4113 *.* )
4114 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4115 then :; else
4116 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4118 # We set ac_cv_exeext here because the later test for it is not
4119 # safe: cross compilers may not add the suffix if given an `-o'
4120 # argument, so we may need to know it at that point already.
4121 # Even if this section looks crufty: it has the advantage of
4122 # actually working.
4123 break;;
4125 break;;
4126 esac
4127 done
4128 test "$ac_cv_exeext" = no && ac_cv_exeext=
4130 else
4131 ac_file=''
4133 if test -z "$ac_file"; then :
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4135 $as_echo "no" >&6; }
4136 $as_echo "$as_me: failed program was:" >&5
4137 sed 's/^/| /' conftest.$ac_ext >&5
4139 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4140 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4141 as_fn_error 77 "C compiler cannot create executables
4142 See \`config.log' for more details" "$LINENO" 5; }
4143 else
4144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4145 $as_echo "yes" >&6; }
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4148 $as_echo_n "checking for C compiler default output file name... " >&6; }
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4150 $as_echo "$ac_file" >&6; }
4151 ac_exeext=$ac_cv_exeext
4153 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4154 ac_clean_files=$ac_clean_files_save
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4156 $as_echo_n "checking for suffix of executables... " >&6; }
4157 if { { ac_try="$ac_link"
4158 case "(($ac_try" in
4159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4160 *) ac_try_echo=$ac_try;;
4161 esac
4162 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4163 $as_echo "$ac_try_echo"; } >&5
4164 (eval "$ac_link") 2>&5
4165 ac_status=$?
4166 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4167 test $ac_status = 0; }; then :
4168 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4169 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4170 # work properly (i.e., refer to `conftest.exe'), while it won't with
4171 # `rm'.
4172 for ac_file in conftest.exe conftest conftest.*; do
4173 test -f "$ac_file" || continue
4174 case $ac_file in
4175 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4176 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4177 break;;
4178 * ) break;;
4179 esac
4180 done
4181 else
4182 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4183 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4184 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4185 See \`config.log' for more details" "$LINENO" 5; }
4187 rm -f conftest conftest$ac_cv_exeext
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4189 $as_echo "$ac_cv_exeext" >&6; }
4191 rm -f conftest.$ac_ext
4192 EXEEXT=$ac_cv_exeext
4193 ac_exeext=$EXEEXT
4194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4195 /* end confdefs.h. */
4196 #include <stdio.h>
4198 main ()
4200 FILE *f = fopen ("conftest.out", "w");
4201 return ferror (f) || fclose (f) != 0;
4204 return 0;
4206 _ACEOF
4207 ac_clean_files="$ac_clean_files conftest.out"
4208 # Check that the compiler produces executables we can run. If not, either
4209 # the compiler is broken, or we cross compile.
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4211 $as_echo_n "checking whether we are cross compiling... " >&6; }
4212 if test "$cross_compiling" != yes; then
4213 { { ac_try="$ac_link"
4214 case "(($ac_try" in
4215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4216 *) ac_try_echo=$ac_try;;
4217 esac
4218 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4219 $as_echo "$ac_try_echo"; } >&5
4220 (eval "$ac_link") 2>&5
4221 ac_status=$?
4222 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4223 test $ac_status = 0; }
4224 if { ac_try='./conftest$ac_cv_exeext'
4225 { { case "(($ac_try" in
4226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4227 *) ac_try_echo=$ac_try;;
4228 esac
4229 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4230 $as_echo "$ac_try_echo"; } >&5
4231 (eval "$ac_try") 2>&5
4232 ac_status=$?
4233 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4234 test $ac_status = 0; }; }; then
4235 cross_compiling=no
4236 else
4237 if test "$cross_compiling" = maybe; then
4238 cross_compiling=yes
4239 else
4240 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4241 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4242 as_fn_error $? "cannot run C compiled programs.
4243 If you meant to cross compile, use \`--host'.
4244 See \`config.log' for more details" "$LINENO" 5; }
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4249 $as_echo "$cross_compiling" >&6; }
4251 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4252 ac_clean_files=$ac_clean_files_save
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4254 $as_echo_n "checking for suffix of object files... " >&6; }
4255 if ${ac_cv_objext+:} false; then :
4256 $as_echo_n "(cached) " >&6
4257 else
4258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4259 /* end confdefs.h. */
4262 main ()
4266 return 0;
4268 _ACEOF
4269 rm -f conftest.o conftest.obj
4270 if { { ac_try="$ac_compile"
4271 case "(($ac_try" in
4272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4273 *) ac_try_echo=$ac_try;;
4274 esac
4275 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4276 $as_echo "$ac_try_echo"; } >&5
4277 (eval "$ac_compile") 2>&5
4278 ac_status=$?
4279 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4280 test $ac_status = 0; }; then :
4281 for ac_file in conftest.o conftest.obj conftest.*; do
4282 test -f "$ac_file" || continue;
4283 case $ac_file in
4284 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4285 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4286 break;;
4287 esac
4288 done
4289 else
4290 $as_echo "$as_me: failed program was:" >&5
4291 sed 's/^/| /' conftest.$ac_ext >&5
4293 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4294 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4295 as_fn_error $? "cannot compute suffix of object files: cannot compile
4296 See \`config.log' for more details" "$LINENO" 5; }
4298 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4301 $as_echo "$ac_cv_objext" >&6; }
4302 OBJEXT=$ac_cv_objext
4303 ac_objext=$OBJEXT
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4305 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4306 if ${ac_cv_c_compiler_gnu+:} false; then :
4307 $as_echo_n "(cached) " >&6
4308 else
4309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4310 /* end confdefs.h. */
4313 main ()
4315 #ifndef __GNUC__
4316 choke me
4317 #endif
4320 return 0;
4322 _ACEOF
4323 if ac_fn_c_try_compile "$LINENO"; then :
4324 ac_compiler_gnu=yes
4325 else
4326 ac_compiler_gnu=no
4328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4329 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4333 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4334 if test $ac_compiler_gnu = yes; then
4335 GCC=yes
4336 else
4337 GCC=
4339 ac_test_CFLAGS=${CFLAGS+set}
4340 ac_save_CFLAGS=$CFLAGS
4341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4342 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4343 if ${ac_cv_prog_cc_g+:} false; then :
4344 $as_echo_n "(cached) " >&6
4345 else
4346 ac_save_c_werror_flag=$ac_c_werror_flag
4347 ac_c_werror_flag=yes
4348 ac_cv_prog_cc_g=no
4349 CFLAGS="-g"
4350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4351 /* end confdefs.h. */
4354 main ()
4358 return 0;
4360 _ACEOF
4361 if ac_fn_c_try_compile "$LINENO"; then :
4362 ac_cv_prog_cc_g=yes
4363 else
4364 CFLAGS=""
4365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4366 /* end confdefs.h. */
4369 main ()
4373 return 0;
4375 _ACEOF
4376 if ac_fn_c_try_compile "$LINENO"; then :
4378 else
4379 ac_c_werror_flag=$ac_save_c_werror_flag
4380 CFLAGS="-g"
4381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4382 /* end confdefs.h. */
4385 main ()
4389 return 0;
4391 _ACEOF
4392 if ac_fn_c_try_compile "$LINENO"; then :
4393 ac_cv_prog_cc_g=yes
4395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4400 ac_c_werror_flag=$ac_save_c_werror_flag
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4403 $as_echo "$ac_cv_prog_cc_g" >&6; }
4404 if test "$ac_test_CFLAGS" = set; then
4405 CFLAGS=$ac_save_CFLAGS
4406 elif test $ac_cv_prog_cc_g = yes; then
4407 if test "$GCC" = yes; then
4408 CFLAGS="-g -O2"
4409 else
4410 CFLAGS="-g"
4412 else
4413 if test "$GCC" = yes; then
4414 CFLAGS="-O2"
4415 else
4416 CFLAGS=
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4420 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4421 if ${ac_cv_prog_cc_c89+:} false; then :
4422 $as_echo_n "(cached) " >&6
4423 else
4424 ac_cv_prog_cc_c89=no
4425 ac_save_CC=$CC
4426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4427 /* end confdefs.h. */
4428 #include <stdarg.h>
4429 #include <stdio.h>
4430 struct stat;
4431 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4432 struct buf { int x; };
4433 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4434 static char *e (p, i)
4435 char **p;
4436 int i;
4438 return p[i];
4440 static char *f (char * (*g) (char **, int), char **p, ...)
4442 char *s;
4443 va_list v;
4444 va_start (v,p);
4445 s = g (p, va_arg (v,int));
4446 va_end (v);
4447 return s;
4450 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4451 function prototypes and stuff, but not '\xHH' hex character constants.
4452 These don't provoke an error unfortunately, instead are silently treated
4453 as 'x'. The following induces an error, until -std is added to get
4454 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4455 array size at least. It's necessary to write '\x00'==0 to get something
4456 that's true only with -std. */
4457 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4459 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4460 inside strings and character constants. */
4461 #define FOO(x) 'x'
4462 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4464 int test (int i, double x);
4465 struct s1 {int (*f) (int a);};
4466 struct s2 {int (*f) (double a);};
4467 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4468 int argc;
4469 char **argv;
4471 main ()
4473 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4475 return 0;
4477 _ACEOF
4478 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4479 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4481 CC="$ac_save_CC $ac_arg"
4482 if ac_fn_c_try_compile "$LINENO"; then :
4483 ac_cv_prog_cc_c89=$ac_arg
4485 rm -f core conftest.err conftest.$ac_objext
4486 test "x$ac_cv_prog_cc_c89" != "xno" && break
4487 done
4488 rm -f conftest.$ac_ext
4489 CC=$ac_save_CC
4492 # AC_CACHE_VAL
4493 case "x$ac_cv_prog_cc_c89" in
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4496 $as_echo "none needed" >&6; } ;;
4497 xno)
4498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4499 $as_echo "unsupported" >&6; } ;;
4501 CC="$CC $ac_cv_prog_cc_c89"
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4503 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4504 esac
4505 if test "x$ac_cv_prog_cc_c89" != xno; then :
4509 ac_ext=c
4510 ac_cpp='$CPP $CPPFLAGS'
4511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4515 ac_ext=cpp
4516 ac_cpp='$CXXCPP $CPPFLAGS'
4517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4520 if test -z "$CXX"; then
4521 if test -n "$CCC"; then
4522 CXX=$CCC
4523 else
4524 if test -n "$ac_tool_prefix"; then
4525 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4527 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4528 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4530 $as_echo_n "checking for $ac_word... " >&6; }
4531 if ${ac_cv_prog_CXX+:} false; then :
4532 $as_echo_n "(cached) " >&6
4533 else
4534 if test -n "$CXX"; then
4535 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4536 else
4537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4538 for as_dir in $PATH
4540 IFS=$as_save_IFS
4541 test -z "$as_dir" && as_dir=.
4542 for ac_exec_ext in '' $ac_executable_extensions; do
4543 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4544 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4545 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4546 break 2
4548 done
4549 done
4550 IFS=$as_save_IFS
4554 CXX=$ac_cv_prog_CXX
4555 if test -n "$CXX"; then
4556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4557 $as_echo "$CXX" >&6; }
4558 else
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4560 $as_echo "no" >&6; }
4564 test -n "$CXX" && break
4565 done
4567 if test -z "$CXX"; then
4568 ac_ct_CXX=$CXX
4569 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4571 # Extract the first word of "$ac_prog", so it can be a program name with args.
4572 set dummy $ac_prog; ac_word=$2
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4574 $as_echo_n "checking for $ac_word... " >&6; }
4575 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4576 $as_echo_n "(cached) " >&6
4577 else
4578 if test -n "$ac_ct_CXX"; then
4579 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4580 else
4581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4582 for as_dir in $PATH
4584 IFS=$as_save_IFS
4585 test -z "$as_dir" && as_dir=.
4586 for ac_exec_ext in '' $ac_executable_extensions; do
4587 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4588 ac_cv_prog_ac_ct_CXX="$ac_prog"
4589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4590 break 2
4592 done
4593 done
4594 IFS=$as_save_IFS
4598 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4599 if test -n "$ac_ct_CXX"; then
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4601 $as_echo "$ac_ct_CXX" >&6; }
4602 else
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4604 $as_echo "no" >&6; }
4608 test -n "$ac_ct_CXX" && break
4609 done
4611 if test "x$ac_ct_CXX" = x; then
4612 CXX="g++"
4613 else
4614 case $cross_compiling:$ac_tool_warned in
4615 yes:)
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4617 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4618 ac_tool_warned=yes ;;
4619 esac
4620 CXX=$ac_ct_CXX
4626 # Provide some information about the compiler.
4627 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4628 set X $ac_compile
4629 ac_compiler=$2
4630 for ac_option in --version -v -V -qversion; do
4631 { { ac_try="$ac_compiler $ac_option >&5"
4632 case "(($ac_try" in
4633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4634 *) ac_try_echo=$ac_try;;
4635 esac
4636 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4637 $as_echo "$ac_try_echo"; } >&5
4638 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4639 ac_status=$?
4640 if test -s conftest.err; then
4641 sed '10a\
4642 ... rest of stderr output deleted ...
4643 10q' conftest.err >conftest.er1
4644 cat conftest.er1 >&5
4646 rm -f conftest.er1 conftest.err
4647 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4648 test $ac_status = 0; }
4649 done
4651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4652 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4653 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4654 $as_echo_n "(cached) " >&6
4655 else
4656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4657 /* end confdefs.h. */
4660 main ()
4662 #ifndef __GNUC__
4663 choke me
4664 #endif
4667 return 0;
4669 _ACEOF
4670 if ac_fn_cxx_try_compile "$LINENO"; then :
4671 ac_compiler_gnu=yes
4672 else
4673 ac_compiler_gnu=no
4675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4676 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4680 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4681 if test $ac_compiler_gnu = yes; then
4682 GXX=yes
4683 else
4684 GXX=
4686 ac_test_CXXFLAGS=${CXXFLAGS+set}
4687 ac_save_CXXFLAGS=$CXXFLAGS
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4689 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4690 if ${ac_cv_prog_cxx_g+:} false; then :
4691 $as_echo_n "(cached) " >&6
4692 else
4693 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4694 ac_cxx_werror_flag=yes
4695 ac_cv_prog_cxx_g=no
4696 CXXFLAGS="-g"
4697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4698 /* end confdefs.h. */
4701 main ()
4705 return 0;
4707 _ACEOF
4708 if ac_fn_cxx_try_compile "$LINENO"; then :
4709 ac_cv_prog_cxx_g=yes
4710 else
4711 CXXFLAGS=""
4712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4713 /* end confdefs.h. */
4716 main ()
4720 return 0;
4722 _ACEOF
4723 if ac_fn_cxx_try_compile "$LINENO"; then :
4725 else
4726 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4727 CXXFLAGS="-g"
4728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4729 /* end confdefs.h. */
4732 main ()
4736 return 0;
4738 _ACEOF
4739 if ac_fn_cxx_try_compile "$LINENO"; then :
4740 ac_cv_prog_cxx_g=yes
4742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4747 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4750 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4751 if test "$ac_test_CXXFLAGS" = set; then
4752 CXXFLAGS=$ac_save_CXXFLAGS
4753 elif test $ac_cv_prog_cxx_g = yes; then
4754 if test "$GXX" = yes; then
4755 CXXFLAGS="-g -O2"
4756 else
4757 CXXFLAGS="-g"
4759 else
4760 if test "$GXX" = yes; then
4761 CXXFLAGS="-O2"
4762 else
4763 CXXFLAGS=
4766 ac_ext=c
4767 ac_cpp='$CPP $CPPFLAGS'
4768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4772 if test -n "$ac_tool_prefix"; then
4773 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4774 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4776 $as_echo_n "checking for $ac_word... " >&6; }
4777 if ${ac_cv_prog_CPPBIN+:} false; then :
4778 $as_echo_n "(cached) " >&6
4779 else
4780 if test -n "$CPPBIN"; then
4781 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4782 else
4783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4784 for as_dir in $PATH
4786 IFS=$as_save_IFS
4787 test -z "$as_dir" && as_dir=.
4788 for ac_exec_ext in '' $ac_executable_extensions; do
4789 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4790 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4791 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4792 break 2
4794 done
4795 done
4796 IFS=$as_save_IFS
4800 CPPBIN=$ac_cv_prog_CPPBIN
4801 if test -n "$CPPBIN"; then
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4803 $as_echo "$CPPBIN" >&6; }
4804 else
4805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4806 $as_echo "no" >&6; }
4811 if test -z "$ac_cv_prog_CPPBIN"; then
4812 ac_ct_CPPBIN=$CPPBIN
4813 # Extract the first word of "cpp", so it can be a program name with args.
4814 set dummy cpp; ac_word=$2
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4816 $as_echo_n "checking for $ac_word... " >&6; }
4817 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4818 $as_echo_n "(cached) " >&6
4819 else
4820 if test -n "$ac_ct_CPPBIN"; then
4821 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4822 else
4823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4824 for as_dir in $PATH
4826 IFS=$as_save_IFS
4827 test -z "$as_dir" && as_dir=.
4828 for ac_exec_ext in '' $ac_executable_extensions; do
4829 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4830 ac_cv_prog_ac_ct_CPPBIN="cpp"
4831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4832 break 2
4834 done
4835 done
4836 IFS=$as_save_IFS
4840 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4841 if test -n "$ac_ct_CPPBIN"; then
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4843 $as_echo "$ac_ct_CPPBIN" >&6; }
4844 else
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4846 $as_echo "no" >&6; }
4849 if test "x$ac_ct_CPPBIN" = x; then
4850 CPPBIN="cpp"
4851 else
4852 case $cross_compiling:$ac_tool_warned in
4853 yes:)
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4855 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4856 ac_tool_warned=yes ;;
4857 esac
4858 CPPBIN=$ac_ct_CPPBIN
4860 else
4861 CPPBIN="$ac_cv_prog_CPPBIN"
4865 cat >>confdefs.h <<_ACEOF
4866 #define EXEEXT "$ac_exeext"
4867 _ACEOF
4869 if test -n "$ac_tool_prefix"; then
4870 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4871 set dummy ${ac_tool_prefix}ld; ac_word=$2
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4873 $as_echo_n "checking for $ac_word... " >&6; }
4874 if ${ac_cv_prog_LD+:} false; then :
4875 $as_echo_n "(cached) " >&6
4876 else
4877 if test -n "$LD"; then
4878 ac_cv_prog_LD="$LD" # Let the user override the test.
4879 else
4880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4881 for as_dir in $PATH
4883 IFS=$as_save_IFS
4884 test -z "$as_dir" && as_dir=.
4885 for ac_exec_ext in '' $ac_executable_extensions; do
4886 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4887 ac_cv_prog_LD="${ac_tool_prefix}ld"
4888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4889 break 2
4891 done
4892 done
4893 IFS=$as_save_IFS
4897 LD=$ac_cv_prog_LD
4898 if test -n "$LD"; then
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4900 $as_echo "$LD" >&6; }
4901 else
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4903 $as_echo "no" >&6; }
4908 if test -z "$ac_cv_prog_LD"; then
4909 ac_ct_LD=$LD
4910 # Extract the first word of "ld", so it can be a program name with args.
4911 set dummy ld; ac_word=$2
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4913 $as_echo_n "checking for $ac_word... " >&6; }
4914 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4915 $as_echo_n "(cached) " >&6
4916 else
4917 if test -n "$ac_ct_LD"; then
4918 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4919 else
4920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4921 for as_dir in $PATH
4923 IFS=$as_save_IFS
4924 test -z "$as_dir" && as_dir=.
4925 for ac_exec_ext in '' $ac_executable_extensions; do
4926 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4927 ac_cv_prog_ac_ct_LD="ld"
4928 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4929 break 2
4931 done
4932 done
4933 IFS=$as_save_IFS
4937 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4938 if test -n "$ac_ct_LD"; then
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4940 $as_echo "$ac_ct_LD" >&6; }
4941 else
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4943 $as_echo "no" >&6; }
4946 if test "x$ac_ct_LD" = x; then
4947 LD=""
4948 else
4949 case $cross_compiling:$ac_tool_warned in
4950 yes:)
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4952 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4953 ac_tool_warned=yes ;;
4954 esac
4955 LD=$ac_ct_LD
4957 else
4958 LD="$ac_cv_prog_LD"
4962 case $host in
4963 *-darwin*)
4964 if test "x$enable_win64" = "xyes"
4965 then
4966 CC="$CC -m64"
4967 CXX="$CXX -m64"
4968 host_cpu="x86_64"
4969 notice_platform="64-bit "
4970 TARGETFLAGS="-m64"
4972 else
4973 CC="$CC -m32"
4974 CXX="$CXX -m32"
4975 host_cpu="i386"
4976 notice_platform="32-bit "
4977 TARGETFLAGS="-m32"
4979 enable_win16=${enable_win16:-yes}
4981 with_fontconfig=${with_fontconfig:-no}
4983 x86_64*|amd64*)
4984 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4985 then
4986 CC="$CC -m32"
4987 CXX="$CXX -m32"
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4989 $as_echo_n "checking whether $CC works... " >&6; }
4991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4992 /* end confdefs.h. */
4995 main ()
4999 return 0;
5001 _ACEOF
5002 if ac_fn_c_try_link "$LINENO"; then :
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5004 $as_echo "yes" >&6; }
5005 else
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5007 $as_echo "no" >&6; }
5008 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5010 rm -f core conftest.err conftest.$ac_objext \
5011 conftest$ac_exeext conftest.$ac_ext
5012 host_cpu="i386"
5013 notice_platform="32-bit "
5014 TARGETFLAGS="-m32"
5016 enable_win16=${enable_win16:-yes}
5017 else
5018 if test "x${GCC}" = "xyes"
5019 then
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5021 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5023 /* end confdefs.h. */
5024 #include <stdarg.h>
5026 main ()
5028 void func(__builtin_ms_va_list *args);
5030 return 0;
5032 _ACEOF
5033 if ac_fn_c_try_compile "$LINENO"; then :
5034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5035 $as_echo "yes" >&6; }
5036 else
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5038 $as_echo "no" >&6; }
5039 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
5041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5043 host_cpu="x86_64"
5044 TARGETFLAGS="-m64"
5048 arm*)
5049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5050 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5052 /* end confdefs.h. */
5053 int ac_test(int i) { return i; }
5055 main ()
5057 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5059 return 0;
5061 _ACEOF
5062 if ac_fn_c_try_link "$LINENO"; then :
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5064 $as_echo "yes" >&6; }
5065 else
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5067 $as_echo "no" >&6; }
5068 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5070 rm -f core conftest.err conftest.$ac_objext \
5071 conftest$ac_exeext conftest.$ac_ext
5072 CFLAGS="$CFLAGS -marm"
5073 TARGETFLAGS="-marm"
5076 *-mingw32*|*-cygwin*)
5077 enable_win16=${enable_win16:-no}
5078 CFLAGS="$CFLAGS -D_WIN32"
5080 i[3456789]86*)
5081 enable_win16=${enable_win16:-yes}
5083 esac
5085 enable_win16=${enable_win16:-no}
5086 enable_win64=${enable_win64:-no}
5088 enable_winetest=${enable_winetest:-$enable_tests}
5090 if test -n "$with_wine64"
5091 then
5092 if test "x$enable_win64" = "xyes"
5093 then
5094 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5095 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5097 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5098 You should create a separate build directory and run configure from there." "$LINENO" 5
5099 enable_fonts=${enable_fonts:-no}
5100 enable_server=${enable_server:-no}
5101 elif test "x$enable_win64" = "xyes"
5102 then
5103 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5107 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5108 if ${wine_cv_toolsdir+:} false; then :
5109 $as_echo_n "(cached) " >&6
5110 else
5111 wine_cv_toolsdir="$with_wine_tools"
5112 if test -z "$with_wine_tools"; then
5113 if test "$cross_compiling" = "yes"; then
5114 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5115 elif test -n "$with_wine64"; then
5116 wine_cv_toolsdir="$with_wine64"
5119 if test -z "$wine_cv_toolsdir"; then
5120 wine_makedep=tools/makedep
5121 wine_cv_toolsdir="\$(top_builddir)"
5122 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5123 wine_makedep=$wine_cv_toolsdir/tools/makedep
5124 case "$wine_cv_toolsdir" in
5125 /*) ;;
5126 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5127 esac
5128 enable_tools=${enable_tools:-no}
5129 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5130 else
5131 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5135 $as_echo "$wine_cv_toolsdir" >&6; }
5136 TOOLSDIR=$wine_cv_toolsdir
5138 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5139 then
5140 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5144 for ac_prog in flex
5146 # Extract the first word of "$ac_prog", so it can be a program name with args.
5147 set dummy $ac_prog; ac_word=$2
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5149 $as_echo_n "checking for $ac_word... " >&6; }
5150 if ${ac_cv_prog_FLEX+:} false; then :
5151 $as_echo_n "(cached) " >&6
5152 else
5153 if test -n "$FLEX"; then
5154 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5155 else
5156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5157 for as_dir in $PATH
5159 IFS=$as_save_IFS
5160 test -z "$as_dir" && as_dir=.
5161 for ac_exec_ext in '' $ac_executable_extensions; do
5162 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5163 ac_cv_prog_FLEX="$ac_prog"
5164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5165 break 2
5167 done
5168 done
5169 IFS=$as_save_IFS
5173 FLEX=$ac_cv_prog_FLEX
5174 if test -n "$FLEX"; then
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5176 $as_echo "$FLEX" >&6; }
5177 else
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5179 $as_echo "no" >&6; }
5183 test -n "$FLEX" && break
5184 done
5185 test -n "$FLEX" || FLEX="none"
5187 if test "$FLEX" = "none"
5188 then
5189 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5192 $as_echo_n "checking whether flex is recent enough... " >&6; }
5193 cat >conftest.l <<EOF
5194 %top{
5195 #include "prediluvian.h"
5199 if $FLEX -t conftest.l >/dev/null 2>&5
5200 then
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5202 $as_echo "yes" >&6; }
5203 else
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5205 $as_echo "no" >&6; }
5206 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5209 for ac_prog in bison
5211 # Extract the first word of "$ac_prog", so it can be a program name with args.
5212 set dummy $ac_prog; ac_word=$2
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5214 $as_echo_n "checking for $ac_word... " >&6; }
5215 if ${ac_cv_prog_BISON+:} false; then :
5216 $as_echo_n "(cached) " >&6
5217 else
5218 if test -n "$BISON"; then
5219 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5220 else
5221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5222 for as_dir in $PATH
5224 IFS=$as_save_IFS
5225 test -z "$as_dir" && as_dir=.
5226 for ac_exec_ext in '' $ac_executable_extensions; do
5227 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5228 ac_cv_prog_BISON="$ac_prog"
5229 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5230 break 2
5232 done
5233 done
5234 IFS=$as_save_IFS
5238 BISON=$ac_cv_prog_BISON
5239 if test -n "$BISON"; then
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5241 $as_echo "$BISON" >&6; }
5242 else
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5244 $as_echo "no" >&6; }
5248 test -n "$BISON" && break
5249 done
5250 test -n "$BISON" || BISON="none"
5252 if test "$BISON" = "none"
5253 then
5254 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5257 if test -n "$ac_tool_prefix"; then
5258 for ac_prog in ar gar
5260 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5261 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5263 $as_echo_n "checking for $ac_word... " >&6; }
5264 if ${ac_cv_prog_AR+:} false; then :
5265 $as_echo_n "(cached) " >&6
5266 else
5267 if test -n "$AR"; then
5268 ac_cv_prog_AR="$AR" # Let the user override the test.
5269 else
5270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5271 for as_dir in $PATH
5273 IFS=$as_save_IFS
5274 test -z "$as_dir" && as_dir=.
5275 for ac_exec_ext in '' $ac_executable_extensions; do
5276 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5277 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5279 break 2
5281 done
5282 done
5283 IFS=$as_save_IFS
5287 AR=$ac_cv_prog_AR
5288 if test -n "$AR"; then
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5290 $as_echo "$AR" >&6; }
5291 else
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5293 $as_echo "no" >&6; }
5297 test -n "$AR" && break
5298 done
5300 if test -z "$AR"; then
5301 ac_ct_AR=$AR
5302 for ac_prog in ar gar
5304 # Extract the first word of "$ac_prog", so it can be a program name with args.
5305 set dummy $ac_prog; ac_word=$2
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5307 $as_echo_n "checking for $ac_word... " >&6; }
5308 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5309 $as_echo_n "(cached) " >&6
5310 else
5311 if test -n "$ac_ct_AR"; then
5312 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5313 else
5314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5315 for as_dir in $PATH
5317 IFS=$as_save_IFS
5318 test -z "$as_dir" && as_dir=.
5319 for ac_exec_ext in '' $ac_executable_extensions; do
5320 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5321 ac_cv_prog_ac_ct_AR="$ac_prog"
5322 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5323 break 2
5325 done
5326 done
5327 IFS=$as_save_IFS
5331 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5332 if test -n "$ac_ct_AR"; then
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5334 $as_echo "$ac_ct_AR" >&6; }
5335 else
5336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5337 $as_echo "no" >&6; }
5341 test -n "$ac_ct_AR" && break
5342 done
5344 if test "x$ac_ct_AR" = x; then
5345 AR="ar"
5346 else
5347 case $cross_compiling:$ac_tool_warned in
5348 yes:)
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5350 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5351 ac_tool_warned=yes ;;
5352 esac
5353 AR=$ac_ct_AR
5357 if test -n "$ac_tool_prefix"; then
5358 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5359 set dummy ${ac_tool_prefix}strip; ac_word=$2
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5361 $as_echo_n "checking for $ac_word... " >&6; }
5362 if ${ac_cv_prog_STRIP+:} false; then :
5363 $as_echo_n "(cached) " >&6
5364 else
5365 if test -n "$STRIP"; then
5366 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5367 else
5368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5369 for as_dir in $PATH
5371 IFS=$as_save_IFS
5372 test -z "$as_dir" && as_dir=.
5373 for ac_exec_ext in '' $ac_executable_extensions; do
5374 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5375 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5376 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5377 break 2
5379 done
5380 done
5381 IFS=$as_save_IFS
5385 STRIP=$ac_cv_prog_STRIP
5386 if test -n "$STRIP"; then
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5388 $as_echo "$STRIP" >&6; }
5389 else
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5391 $as_echo "no" >&6; }
5396 if test -z "$ac_cv_prog_STRIP"; then
5397 ac_ct_STRIP=$STRIP
5398 # Extract the first word of "strip", so it can be a program name with args.
5399 set dummy strip; ac_word=$2
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5401 $as_echo_n "checking for $ac_word... " >&6; }
5402 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5403 $as_echo_n "(cached) " >&6
5404 else
5405 if test -n "$ac_ct_STRIP"; then
5406 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5407 else
5408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5409 for as_dir in $PATH
5411 IFS=$as_save_IFS
5412 test -z "$as_dir" && as_dir=.
5413 for ac_exec_ext in '' $ac_executable_extensions; do
5414 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5415 ac_cv_prog_ac_ct_STRIP="strip"
5416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5417 break 2
5419 done
5420 done
5421 IFS=$as_save_IFS
5425 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5426 if test -n "$ac_ct_STRIP"; then
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5428 $as_echo "$ac_ct_STRIP" >&6; }
5429 else
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5431 $as_echo "no" >&6; }
5434 if test "x$ac_ct_STRIP" = x; then
5435 STRIP="strip"
5436 else
5437 case $cross_compiling:$ac_tool_warned in
5438 yes:)
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5440 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5441 ac_tool_warned=yes ;;
5442 esac
5443 STRIP=$ac_ct_STRIP
5445 else
5446 STRIP="$ac_cv_prog_STRIP"
5449 ARFLAGS=rc
5451 if test -n "$ac_tool_prefix"; then
5452 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5453 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5455 $as_echo_n "checking for $ac_word... " >&6; }
5456 if ${ac_cv_prog_RANLIB+:} false; then :
5457 $as_echo_n "(cached) " >&6
5458 else
5459 if test -n "$RANLIB"; then
5460 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5461 else
5462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5463 for as_dir in $PATH
5465 IFS=$as_save_IFS
5466 test -z "$as_dir" && as_dir=.
5467 for ac_exec_ext in '' $ac_executable_extensions; do
5468 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5469 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5470 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5471 break 2
5473 done
5474 done
5475 IFS=$as_save_IFS
5479 RANLIB=$ac_cv_prog_RANLIB
5480 if test -n "$RANLIB"; then
5481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5482 $as_echo "$RANLIB" >&6; }
5483 else
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5485 $as_echo "no" >&6; }
5490 if test -z "$ac_cv_prog_RANLIB"; then
5491 ac_ct_RANLIB=$RANLIB
5492 # Extract the first word of "ranlib", so it can be a program name with args.
5493 set dummy ranlib; ac_word=$2
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5495 $as_echo_n "checking for $ac_word... " >&6; }
5496 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5497 $as_echo_n "(cached) " >&6
5498 else
5499 if test -n "$ac_ct_RANLIB"; then
5500 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5501 else
5502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5503 for as_dir in $PATH
5505 IFS=$as_save_IFS
5506 test -z "$as_dir" && as_dir=.
5507 for ac_exec_ext in '' $ac_executable_extensions; do
5508 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5509 ac_cv_prog_ac_ct_RANLIB="ranlib"
5510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5511 break 2
5513 done
5514 done
5515 IFS=$as_save_IFS
5519 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5520 if test -n "$ac_ct_RANLIB"; then
5521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5522 $as_echo "$ac_ct_RANLIB" >&6; }
5523 else
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5525 $as_echo "no" >&6; }
5528 if test "x$ac_ct_RANLIB" = x; then
5529 RANLIB=":"
5530 else
5531 case $cross_compiling:$ac_tool_warned in
5532 yes:)
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5534 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5535 ac_tool_warned=yes ;;
5536 esac
5537 RANLIB=$ac_ct_RANLIB
5539 else
5540 RANLIB="$ac_cv_prog_RANLIB"
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5544 $as_echo_n "checking whether ln -s works... " >&6; }
5545 LN_S=$as_ln_s
5546 if test "$LN_S" = "ln -s"; then
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5548 $as_echo "yes" >&6; }
5549 else
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5551 $as_echo "no, using $LN_S" >&6; }
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5555 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5556 if ${ac_cv_path_GREP+:} false; then :
5557 $as_echo_n "(cached) " >&6
5558 else
5559 if test -z "$GREP"; then
5560 ac_path_GREP_found=false
5561 # Loop through the user's path and test for each of PROGNAME-LIST
5562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5563 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5565 IFS=$as_save_IFS
5566 test -z "$as_dir" && as_dir=.
5567 for ac_prog in grep ggrep; do
5568 for ac_exec_ext in '' $ac_executable_extensions; do
5569 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5570 as_fn_executable_p "$ac_path_GREP" || continue
5571 # Check for GNU ac_path_GREP and select it if it is found.
5572 # Check for GNU $ac_path_GREP
5573 case `"$ac_path_GREP" --version 2>&1` in
5574 *GNU*)
5575 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5577 ac_count=0
5578 $as_echo_n 0123456789 >"conftest.in"
5579 while :
5581 cat "conftest.in" "conftest.in" >"conftest.tmp"
5582 mv "conftest.tmp" "conftest.in"
5583 cp "conftest.in" "conftest.nl"
5584 $as_echo 'GREP' >> "conftest.nl"
5585 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5586 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5587 as_fn_arith $ac_count + 1 && ac_count=$as_val
5588 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5589 # Best one so far, save it but keep looking for a better one
5590 ac_cv_path_GREP="$ac_path_GREP"
5591 ac_path_GREP_max=$ac_count
5593 # 10*(2^10) chars as input seems more than enough
5594 test $ac_count -gt 10 && break
5595 done
5596 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5597 esac
5599 $ac_path_GREP_found && break 3
5600 done
5601 done
5602 done
5603 IFS=$as_save_IFS
5604 if test -z "$ac_cv_path_GREP"; then
5605 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5607 else
5608 ac_cv_path_GREP=$GREP
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5613 $as_echo "$ac_cv_path_GREP" >&6; }
5614 GREP="$ac_cv_path_GREP"
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5618 $as_echo_n "checking for egrep... " >&6; }
5619 if ${ac_cv_path_EGREP+:} false; then :
5620 $as_echo_n "(cached) " >&6
5621 else
5622 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5623 then ac_cv_path_EGREP="$GREP -E"
5624 else
5625 if test -z "$EGREP"; then
5626 ac_path_EGREP_found=false
5627 # Loop through the user's path and test for each of PROGNAME-LIST
5628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5629 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5631 IFS=$as_save_IFS
5632 test -z "$as_dir" && as_dir=.
5633 for ac_prog in egrep; do
5634 for ac_exec_ext in '' $ac_executable_extensions; do
5635 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5636 as_fn_executable_p "$ac_path_EGREP" || continue
5637 # Check for GNU ac_path_EGREP and select it if it is found.
5638 # Check for GNU $ac_path_EGREP
5639 case `"$ac_path_EGREP" --version 2>&1` in
5640 *GNU*)
5641 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5643 ac_count=0
5644 $as_echo_n 0123456789 >"conftest.in"
5645 while :
5647 cat "conftest.in" "conftest.in" >"conftest.tmp"
5648 mv "conftest.tmp" "conftest.in"
5649 cp "conftest.in" "conftest.nl"
5650 $as_echo 'EGREP' >> "conftest.nl"
5651 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5652 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5653 as_fn_arith $ac_count + 1 && ac_count=$as_val
5654 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5655 # Best one so far, save it but keep looking for a better one
5656 ac_cv_path_EGREP="$ac_path_EGREP"
5657 ac_path_EGREP_max=$ac_count
5659 # 10*(2^10) chars as input seems more than enough
5660 test $ac_count -gt 10 && break
5661 done
5662 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5663 esac
5665 $ac_path_EGREP_found && break 3
5666 done
5667 done
5668 done
5669 IFS=$as_save_IFS
5670 if test -z "$ac_cv_path_EGREP"; then
5671 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5673 else
5674 ac_cv_path_EGREP=$EGREP
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5680 $as_echo "$ac_cv_path_EGREP" >&6; }
5681 EGREP="$ac_cv_path_EGREP"
5684 # Extract the first word of "ldconfig", so it can be a program name with args.
5685 set dummy ldconfig; ac_word=$2
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5687 $as_echo_n "checking for $ac_word... " >&6; }
5688 if ${ac_cv_path_LDCONFIG+:} false; then :
5689 $as_echo_n "(cached) " >&6
5690 else
5691 case $LDCONFIG in
5692 [\\/]* | ?:[\\/]*)
5693 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5697 for as_dir in /sbin /usr/sbin $PATH
5699 IFS=$as_save_IFS
5700 test -z "$as_dir" && as_dir=.
5701 for ac_exec_ext in '' $ac_executable_extensions; do
5702 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5703 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5705 break 2
5707 done
5708 done
5709 IFS=$as_save_IFS
5711 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5713 esac
5715 LDCONFIG=$ac_cv_path_LDCONFIG
5716 if test -n "$LDCONFIG"; then
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5718 $as_echo "$LDCONFIG" >&6; }
5719 else
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5721 $as_echo "no" >&6; }
5725 for ac_prog in msgfmt
5727 # Extract the first word of "$ac_prog", so it can be a program name with args.
5728 set dummy $ac_prog; ac_word=$2
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5730 $as_echo_n "checking for $ac_word... " >&6; }
5731 if ${ac_cv_prog_MSGFMT+:} false; then :
5732 $as_echo_n "(cached) " >&6
5733 else
5734 if test -n "$MSGFMT"; then
5735 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5736 else
5737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5738 for as_dir in $PATH
5740 IFS=$as_save_IFS
5741 test -z "$as_dir" && as_dir=.
5742 for ac_exec_ext in '' $ac_executable_extensions; do
5743 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5744 ac_cv_prog_MSGFMT="$ac_prog"
5745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5746 break 2
5748 done
5749 done
5750 IFS=$as_save_IFS
5754 MSGFMT=$ac_cv_prog_MSGFMT
5755 if test -n "$MSGFMT"; then
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5757 $as_echo "$MSGFMT" >&6; }
5758 else
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5760 $as_echo "no" >&6; }
5764 test -n "$MSGFMT" && break
5765 done
5766 test -n "$MSGFMT" || MSGFMT="false"
5768 if ${ac_tool_prefix+:} false; then :
5769 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5770 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5772 $as_echo_n "checking for $ac_word... " >&6; }
5773 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5774 $as_echo_n "(cached) " >&6
5775 else
5776 if test -n "$PKG_CONFIG"; then
5777 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5778 else
5779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5780 for as_dir in $PATH
5782 IFS=$as_save_IFS
5783 test -z "$as_dir" && as_dir=.
5784 for ac_exec_ext in '' $ac_executable_extensions; do
5785 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5786 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5788 break 2
5790 done
5791 done
5792 IFS=$as_save_IFS
5796 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5797 if test -n "$PKG_CONFIG"; then
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5799 $as_echo "$PKG_CONFIG" >&6; }
5800 else
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5802 $as_echo "no" >&6; }
5807 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5808 if test "x$cross_compiling" = xyes; then :
5810 else
5811 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5812 # Extract the first word of "pkg-config", so it can be a program name with args.
5813 set dummy pkg-config; ac_word=$2
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5815 $as_echo_n "checking for $ac_word... " >&6; }
5816 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5817 $as_echo_n "(cached) " >&6
5818 else
5819 if test -n "$PKG_CONFIG"; then
5820 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5821 else
5822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5823 for as_dir in $PATH
5825 IFS=$as_save_IFS
5826 test -z "$as_dir" && as_dir=.
5827 for ac_exec_ext in '' $ac_executable_extensions; do
5828 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5829 ac_cv_prog_PKG_CONFIG="pkg-config"
5830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5831 break 2
5833 done
5834 done
5835 IFS=$as_save_IFS
5839 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5840 if test -n "$PKG_CONFIG"; then
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5842 $as_echo "$PKG_CONFIG" >&6; }
5843 else
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5845 $as_echo "no" >&6; }
5850 else
5851 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5854 if test "x$enable_maintainer_mode" != "xyes"
5855 then
5856 FONTFORGE=""
5857 RSVG=""
5858 CONVERT=""
5859 ICOTOOL=""
5860 else
5861 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5862 for ac_prog in fontforge
5864 # Extract the first word of "$ac_prog", so it can be a program name with args.
5865 set dummy $ac_prog; ac_word=$2
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5867 $as_echo_n "checking for $ac_word... " >&6; }
5868 if ${ac_cv_prog_FONTFORGE+:} false; then :
5869 $as_echo_n "(cached) " >&6
5870 else
5871 if test -n "$FONTFORGE"; then
5872 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5873 else
5874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5875 for as_dir in $PATH
5877 IFS=$as_save_IFS
5878 test -z "$as_dir" && as_dir=.
5879 for ac_exec_ext in '' $ac_executable_extensions; do
5880 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5881 ac_cv_prog_FONTFORGE="$ac_prog"
5882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5883 break 2
5885 done
5886 done
5887 IFS=$as_save_IFS
5891 FONTFORGE=$ac_cv_prog_FONTFORGE
5892 if test -n "$FONTFORGE"; then
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5894 $as_echo "$FONTFORGE" >&6; }
5895 else
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5897 $as_echo "no" >&6; }
5901 test -n "$FONTFORGE" && break
5902 done
5903 test -n "$FONTFORGE" || FONTFORGE="false"
5905 for ac_prog in rsvg-convert rsvg
5907 # Extract the first word of "$ac_prog", so it can be a program name with args.
5908 set dummy $ac_prog; ac_word=$2
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5910 $as_echo_n "checking for $ac_word... " >&6; }
5911 if ${ac_cv_prog_RSVG+:} false; then :
5912 $as_echo_n "(cached) " >&6
5913 else
5914 if test -n "$RSVG"; then
5915 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5916 else
5917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5918 for as_dir in $PATH
5920 IFS=$as_save_IFS
5921 test -z "$as_dir" && as_dir=.
5922 for ac_exec_ext in '' $ac_executable_extensions; do
5923 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5924 ac_cv_prog_RSVG="$ac_prog"
5925 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5926 break 2
5928 done
5929 done
5930 IFS=$as_save_IFS
5934 RSVG=$ac_cv_prog_RSVG
5935 if test -n "$RSVG"; then
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5937 $as_echo "$RSVG" >&6; }
5938 else
5939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5940 $as_echo "no" >&6; }
5944 test -n "$RSVG" && break
5945 done
5946 test -n "$RSVG" || RSVG="false"
5948 for ac_prog in convert
5950 # Extract the first word of "$ac_prog", so it can be a program name with args.
5951 set dummy $ac_prog; ac_word=$2
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5953 $as_echo_n "checking for $ac_word... " >&6; }
5954 if ${ac_cv_prog_CONVERT+:} false; then :
5955 $as_echo_n "(cached) " >&6
5956 else
5957 if test -n "$CONVERT"; then
5958 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5959 else
5960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5961 for as_dir in $PATH
5963 IFS=$as_save_IFS
5964 test -z "$as_dir" && as_dir=.
5965 for ac_exec_ext in '' $ac_executable_extensions; do
5966 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5967 ac_cv_prog_CONVERT="$ac_prog"
5968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5969 break 2
5971 done
5972 done
5973 IFS=$as_save_IFS
5977 CONVERT=$ac_cv_prog_CONVERT
5978 if test -n "$CONVERT"; then
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5980 $as_echo "$CONVERT" >&6; }
5981 else
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5983 $as_echo "no" >&6; }
5987 test -n "$CONVERT" && break
5988 done
5989 test -n "$CONVERT" || CONVERT="false"
5991 for ac_prog in icotool
5993 # Extract the first word of "$ac_prog", so it can be a program name with args.
5994 set dummy $ac_prog; ac_word=$2
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5996 $as_echo_n "checking for $ac_word... " >&6; }
5997 if ${ac_cv_prog_ICOTOOL+:} false; then :
5998 $as_echo_n "(cached) " >&6
5999 else
6000 if test -n "$ICOTOOL"; then
6001 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6002 else
6003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6004 for as_dir in $PATH
6006 IFS=$as_save_IFS
6007 test -z "$as_dir" && as_dir=.
6008 for ac_exec_ext in '' $ac_executable_extensions; do
6009 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6010 ac_cv_prog_ICOTOOL="$ac_prog"
6011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6012 break 2
6014 done
6015 done
6016 IFS=$as_save_IFS
6020 ICOTOOL=$ac_cv_prog_ICOTOOL
6021 if test -n "$ICOTOOL"; then
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6023 $as_echo "$ICOTOOL" >&6; }
6024 else
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6026 $as_echo "no" >&6; }
6030 test -n "$ICOTOOL" && break
6031 done
6032 test -n "$ICOTOOL" || ICOTOOL="false"
6034 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6035 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6037 if test "$CONVERT" = false
6038 then
6039 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6040 else
6041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6042 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6043 convert_version=`convert --version | head -n1`
6044 if test "x$convert_version" != "x"
6045 then
6046 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6047 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6048 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6049 then
6050 CONVERT=false
6053 if test "$CONVERT" = false
6054 then
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6056 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6057 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6058 else
6059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6060 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6064 if test "$ICOTOOL" = false
6065 then
6066 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6067 else
6068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6069 $as_echo_n "checking for recent enough icotool... " >&6; }
6070 icotool_version=`icotool --version | head -n1`
6071 if test "x$icotool_version" != "x"
6072 then
6073 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6074 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6075 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6076 then
6077 ICOTOOL=false
6078 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6081 if test "$ICOTOOL" = false
6082 then
6083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6084 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6085 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6086 else
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6088 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6092 with_gettext=yes
6093 with_gettextpo=yes
6094 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6097 test "x$with_gettext" != xno || MSGFMT=false
6098 if test "$MSGFMT" != "false"
6099 then
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6101 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6102 cat >conftest.po <<EOF
6103 # comment
6104 msgctxt "ctxt"
6105 msgid "id"
6106 msgstr "str"
6108 if $MSGFMT -o /dev/null conftest.po 2>&5
6109 then
6110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6111 $as_echo "yes" >&6; }
6112 else
6113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6114 $as_echo "no" >&6; }
6115 MSGFMT=false
6118 if test "$MSGFMT" = false; then :
6119 case "x$with_gettext" in
6120 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6121 xno) ;;
6122 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6123 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6124 esac
6128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6129 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6130 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6131 $as_echo_n "(cached) " >&6
6132 else
6133 ac_check_lib_save_LIBS=$LIBS
6134 LIBS="-li386 $LIBS"
6135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6136 /* end confdefs.h. */
6138 /* Override any GCC internal prototype to avoid an error.
6139 Use char because int might match the return type of a GCC
6140 builtin and then its argument prototype would still apply. */
6141 #ifdef __cplusplus
6142 extern "C"
6143 #endif
6144 char i386_set_ldt ();
6146 main ()
6148 return i386_set_ldt ();
6150 return 0;
6152 _ACEOF
6153 if ac_fn_c_try_link "$LINENO"; then :
6154 ac_cv_lib_i386_i386_set_ldt=yes
6155 else
6156 ac_cv_lib_i386_i386_set_ldt=no
6158 rm -f core conftest.err conftest.$ac_objext \
6159 conftest$ac_exeext conftest.$ac_ext
6160 LIBS=$ac_check_lib_save_LIBS
6162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6163 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6164 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6165 cat >>confdefs.h <<_ACEOF
6166 #define HAVE_LIBI386 1
6167 _ACEOF
6169 LIBS="-li386 $LIBS"
6173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6174 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6175 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6176 $as_echo_n "(cached) " >&6
6177 else
6178 ac_check_lib_save_LIBS=$LIBS
6179 LIBS="-lossaudio $LIBS"
6180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6181 /* end confdefs.h. */
6183 /* Override any GCC internal prototype to avoid an error.
6184 Use char because int might match the return type of a GCC
6185 builtin and then its argument prototype would still apply. */
6186 #ifdef __cplusplus
6187 extern "C"
6188 #endif
6189 char _oss_ioctl ();
6191 main ()
6193 return _oss_ioctl ();
6195 return 0;
6197 _ACEOF
6198 if ac_fn_c_try_link "$LINENO"; then :
6199 ac_cv_lib_ossaudio__oss_ioctl=yes
6200 else
6201 ac_cv_lib_ossaudio__oss_ioctl=no
6203 rm -f core conftest.err conftest.$ac_objext \
6204 conftest$ac_exeext conftest.$ac_ext
6205 LIBS=$ac_check_lib_save_LIBS
6207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6208 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6209 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6210 cat >>confdefs.h <<_ACEOF
6211 #define HAVE_LIBOSSAUDIO 1
6212 _ACEOF
6214 LIBS="-lossaudio $LIBS"
6219 OPENGL_LIBS=""
6223 # Check whether --enable-largefile was given.
6224 if test "${enable_largefile+set}" = set; then :
6225 enableval=$enable_largefile;
6228 if test "$enable_largefile" != no; then
6230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6231 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6232 if ${ac_cv_sys_largefile_CC+:} false; then :
6233 $as_echo_n "(cached) " >&6
6234 else
6235 ac_cv_sys_largefile_CC=no
6236 if test "$GCC" != yes; then
6237 ac_save_CC=$CC
6238 while :; do
6239 # IRIX 6.2 and later do not support large files by default,
6240 # so use the C compiler's -n32 option if that helps.
6241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6242 /* end confdefs.h. */
6243 #include <sys/types.h>
6244 /* Check that off_t can represent 2**63 - 1 correctly.
6245 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6246 since some C++ compilers masquerading as C compilers
6247 incorrectly reject 9223372036854775807. */
6248 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6249 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6250 && LARGE_OFF_T % 2147483647 == 1)
6251 ? 1 : -1];
6253 main ()
6257 return 0;
6259 _ACEOF
6260 if ac_fn_c_try_compile "$LINENO"; then :
6261 break
6263 rm -f core conftest.err conftest.$ac_objext
6264 CC="$CC -n32"
6265 if ac_fn_c_try_compile "$LINENO"; then :
6266 ac_cv_sys_largefile_CC=' -n32'; break
6268 rm -f core conftest.err conftest.$ac_objext
6269 break
6270 done
6271 CC=$ac_save_CC
6272 rm -f conftest.$ac_ext
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6276 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6277 if test "$ac_cv_sys_largefile_CC" != no; then
6278 CC=$CC$ac_cv_sys_largefile_CC
6281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6282 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6283 if ${ac_cv_sys_file_offset_bits+:} false; then :
6284 $as_echo_n "(cached) " >&6
6285 else
6286 while :; do
6287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6288 /* end confdefs.h. */
6289 #include <sys/types.h>
6290 /* Check that off_t can represent 2**63 - 1 correctly.
6291 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6292 since some C++ compilers masquerading as C compilers
6293 incorrectly reject 9223372036854775807. */
6294 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6295 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6296 && LARGE_OFF_T % 2147483647 == 1)
6297 ? 1 : -1];
6299 main ()
6303 return 0;
6305 _ACEOF
6306 if ac_fn_c_try_compile "$LINENO"; then :
6307 ac_cv_sys_file_offset_bits=no; break
6309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6311 /* end confdefs.h. */
6312 #define _FILE_OFFSET_BITS 64
6313 #include <sys/types.h>
6314 /* Check that off_t can represent 2**63 - 1 correctly.
6315 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6316 since some C++ compilers masquerading as C compilers
6317 incorrectly reject 9223372036854775807. */
6318 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6319 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6320 && LARGE_OFF_T % 2147483647 == 1)
6321 ? 1 : -1];
6323 main ()
6327 return 0;
6329 _ACEOF
6330 if ac_fn_c_try_compile "$LINENO"; then :
6331 ac_cv_sys_file_offset_bits=64; break
6333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6334 ac_cv_sys_file_offset_bits=unknown
6335 break
6336 done
6338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6339 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6340 case $ac_cv_sys_file_offset_bits in #(
6341 no | unknown) ;;
6343 cat >>confdefs.h <<_ACEOF
6344 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6345 _ACEOF
6347 esac
6348 rm -rf conftest*
6349 if test $ac_cv_sys_file_offset_bits = unknown; then
6350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6351 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6352 if ${ac_cv_sys_large_files+:} false; then :
6353 $as_echo_n "(cached) " >&6
6354 else
6355 while :; do
6356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6357 /* end confdefs.h. */
6358 #include <sys/types.h>
6359 /* Check that off_t can represent 2**63 - 1 correctly.
6360 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6361 since some C++ compilers masquerading as C compilers
6362 incorrectly reject 9223372036854775807. */
6363 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6364 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6365 && LARGE_OFF_T % 2147483647 == 1)
6366 ? 1 : -1];
6368 main ()
6372 return 0;
6374 _ACEOF
6375 if ac_fn_c_try_compile "$LINENO"; then :
6376 ac_cv_sys_large_files=no; break
6378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6380 /* end confdefs.h. */
6381 #define _LARGE_FILES 1
6382 #include <sys/types.h>
6383 /* Check that off_t can represent 2**63 - 1 correctly.
6384 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6385 since some C++ compilers masquerading as C compilers
6386 incorrectly reject 9223372036854775807. */
6387 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6388 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6389 && LARGE_OFF_T % 2147483647 == 1)
6390 ? 1 : -1];
6392 main ()
6396 return 0;
6398 _ACEOF
6399 if ac_fn_c_try_compile "$LINENO"; then :
6400 ac_cv_sys_large_files=1; break
6402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6403 ac_cv_sys_large_files=unknown
6404 break
6405 done
6407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6408 $as_echo "$ac_cv_sys_large_files" >&6; }
6409 case $ac_cv_sys_large_files in #(
6410 no | unknown) ;;
6412 cat >>confdefs.h <<_ACEOF
6413 #define _LARGE_FILES $ac_cv_sys_large_files
6414 _ACEOF
6416 esac
6417 rm -rf conftest*
6424 ac_ext=c
6425 ac_cpp='$CPP $CPPFLAGS'
6426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6430 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6431 # On Suns, sometimes $CPP names a directory.
6432 if test -n "$CPP" && test -d "$CPP"; then
6433 CPP=
6435 if test -z "$CPP"; then
6436 if ${ac_cv_prog_CPP+:} false; then :
6437 $as_echo_n "(cached) " >&6
6438 else
6439 # Double quotes because CPP needs to be expanded
6440 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6442 ac_preproc_ok=false
6443 for ac_c_preproc_warn_flag in '' yes
6445 # Use a header file that comes with gcc, so configuring glibc
6446 # with a fresh cross-compiler works.
6447 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6448 # <limits.h> exists even on freestanding compilers.
6449 # On the NeXT, cc -E runs the code through the compiler's parser,
6450 # not just through cpp. "Syntax error" is here to catch this case.
6451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6452 /* end confdefs.h. */
6453 #ifdef __STDC__
6454 # include <limits.h>
6455 #else
6456 # include <assert.h>
6457 #endif
6458 Syntax error
6459 _ACEOF
6460 if ac_fn_c_try_cpp "$LINENO"; then :
6462 else
6463 # Broken: fails on valid input.
6464 continue
6466 rm -f conftest.err conftest.i conftest.$ac_ext
6468 # OK, works on sane cases. Now check whether nonexistent headers
6469 # can be detected and how.
6470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6471 /* end confdefs.h. */
6472 #include <ac_nonexistent.h>
6473 _ACEOF
6474 if ac_fn_c_try_cpp "$LINENO"; then :
6475 # Broken: success on invalid input.
6476 continue
6477 else
6478 # Passes both tests.
6479 ac_preproc_ok=:
6480 break
6482 rm -f conftest.err conftest.i conftest.$ac_ext
6484 done
6485 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6486 rm -f conftest.i conftest.err conftest.$ac_ext
6487 if $ac_preproc_ok; then :
6488 break
6491 done
6492 ac_cv_prog_CPP=$CPP
6495 CPP=$ac_cv_prog_CPP
6496 else
6497 ac_cv_prog_CPP=$CPP
6499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6500 $as_echo "$CPP" >&6; }
6501 ac_preproc_ok=false
6502 for ac_c_preproc_warn_flag in '' yes
6504 # Use a header file that comes with gcc, so configuring glibc
6505 # with a fresh cross-compiler works.
6506 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6507 # <limits.h> exists even on freestanding compilers.
6508 # On the NeXT, cc -E runs the code through the compiler's parser,
6509 # not just through cpp. "Syntax error" is here to catch this case.
6510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6511 /* end confdefs.h. */
6512 #ifdef __STDC__
6513 # include <limits.h>
6514 #else
6515 # include <assert.h>
6516 #endif
6517 Syntax error
6518 _ACEOF
6519 if ac_fn_c_try_cpp "$LINENO"; then :
6521 else
6522 # Broken: fails on valid input.
6523 continue
6525 rm -f conftest.err conftest.i conftest.$ac_ext
6527 # OK, works on sane cases. Now check whether nonexistent headers
6528 # can be detected and how.
6529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6530 /* end confdefs.h. */
6531 #include <ac_nonexistent.h>
6532 _ACEOF
6533 if ac_fn_c_try_cpp "$LINENO"; then :
6534 # Broken: success on invalid input.
6535 continue
6536 else
6537 # Passes both tests.
6538 ac_preproc_ok=:
6539 break
6541 rm -f conftest.err conftest.i conftest.$ac_ext
6543 done
6544 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6545 rm -f conftest.i conftest.err conftest.$ac_ext
6546 if $ac_preproc_ok; then :
6548 else
6549 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6550 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6551 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6552 See \`config.log' for more details" "$LINENO" 5; }
6555 ac_ext=c
6556 ac_cpp='$CPP $CPPFLAGS'
6557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6563 $as_echo_n "checking for ANSI C header files... " >&6; }
6564 if ${ac_cv_header_stdc+:} false; then :
6565 $as_echo_n "(cached) " >&6
6566 else
6567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6568 /* end confdefs.h. */
6569 #include <stdlib.h>
6570 #include <stdarg.h>
6571 #include <string.h>
6572 #include <float.h>
6575 main ()
6579 return 0;
6581 _ACEOF
6582 if ac_fn_c_try_compile "$LINENO"; then :
6583 ac_cv_header_stdc=yes
6584 else
6585 ac_cv_header_stdc=no
6587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6589 if test $ac_cv_header_stdc = yes; then
6590 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6592 /* end confdefs.h. */
6593 #include <string.h>
6595 _ACEOF
6596 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6597 $EGREP "memchr" >/dev/null 2>&1; then :
6599 else
6600 ac_cv_header_stdc=no
6602 rm -f conftest*
6606 if test $ac_cv_header_stdc = yes; then
6607 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6609 /* end confdefs.h. */
6610 #include <stdlib.h>
6612 _ACEOF
6613 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6614 $EGREP "free" >/dev/null 2>&1; then :
6616 else
6617 ac_cv_header_stdc=no
6619 rm -f conftest*
6623 if test $ac_cv_header_stdc = yes; then
6624 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6625 if test "$cross_compiling" = yes; then :
6627 else
6628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6629 /* end confdefs.h. */
6630 #include <ctype.h>
6631 #include <stdlib.h>
6632 #if ((' ' & 0x0FF) == 0x020)
6633 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6634 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6635 #else
6636 # define ISLOWER(c) \
6637 (('a' <= (c) && (c) <= 'i') \
6638 || ('j' <= (c) && (c) <= 'r') \
6639 || ('s' <= (c) && (c) <= 'z'))
6640 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6641 #endif
6643 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6645 main ()
6647 int i;
6648 for (i = 0; i < 256; i++)
6649 if (XOR (islower (i), ISLOWER (i))
6650 || toupper (i) != TOUPPER (i))
6651 return 2;
6652 return 0;
6654 _ACEOF
6655 if ac_fn_c_try_run "$LINENO"; then :
6657 else
6658 ac_cv_header_stdc=no
6660 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6661 conftest.$ac_objext conftest.beam conftest.$ac_ext
6666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6667 $as_echo "$ac_cv_header_stdc" >&6; }
6668 if test $ac_cv_header_stdc = yes; then
6670 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6674 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6675 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6676 inttypes.h stdint.h unistd.h
6677 do :
6678 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6679 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6681 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6682 cat >>confdefs.h <<_ACEOF
6683 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6684 _ACEOF
6688 done
6691 for ac_header in \
6692 AL/al.h \
6693 ApplicationServices/ApplicationServices.h \
6694 AudioToolbox/AudioConverter.h \
6695 AudioUnit/AudioUnit.h \
6696 AudioUnit/AudioComponent.h \
6697 CL/cl.h \
6698 Carbon/Carbon.h \
6699 CommonCrypto/CommonDigest.h \
6700 CoreAudio/CoreAudio.h \
6701 CoreServices/CoreServices.h \
6702 DiskArbitration/DiskArbitration.h \
6703 IOKit/IOKitLib.h \
6704 IOKit/hid/IOHIDLib.h \
6705 OpenAL/al.h \
6706 OpenCL/opencl.h \
6707 QuickTime/ImageCompression.h \
6708 Security/Security.h \
6709 alias.h \
6710 alsa/asoundlib.h \
6711 arpa/inet.h \
6712 arpa/nameser.h \
6713 asm/types.h \
6714 asm/user.h \
6715 curses.h \
6716 direct.h \
6717 dirent.h \
6718 dlfcn.h \
6719 elf.h \
6720 float.h \
6721 fnmatch.h \
6722 getopt.h \
6723 gettext-po.h \
6724 grp.h \
6725 gsm.h \
6726 gsm/gsm.h \
6727 ieeefp.h \
6728 inet/mib2.h \
6729 io.h \
6730 kstat.h \
6731 lber.h \
6732 ldap.h \
6733 libproc.h \
6734 link.h \
6735 linux/cdrom.h \
6736 linux/compiler.h \
6737 linux/filter.h \
6738 linux/hdreg.h \
6739 linux/input.h \
6740 linux/ioctl.h \
6741 linux/joystick.h \
6742 linux/major.h \
6743 linux/param.h \
6744 linux/serial.h \
6745 linux/types.h \
6746 linux/ucdrom.h \
6747 lwp.h \
6748 mach-o/nlist.h \
6749 mach-o/loader.h \
6750 mach/mach.h \
6751 mach/machine.h \
6752 machine/cpu.h \
6753 machine/limits.h \
6754 machine/sysarch.h \
6755 mntent.h \
6756 ncurses.h \
6757 netdb.h \
6758 netinet/in.h \
6759 netinet/in_systm.h \
6760 netinet/tcp.h \
6761 netinet/tcp_fsm.h \
6762 pcap/pcap.h \
6763 poll.h \
6764 port.h \
6765 process.h \
6766 pthread.h \
6767 pwd.h \
6768 sched.h \
6769 scsi/scsi.h \
6770 scsi/scsi_ioctl.h \
6771 scsi/sg.h \
6772 stdbool.h \
6773 stdint.h \
6774 stropts.h \
6775 sys/asoundlib.h \
6776 sys/attr.h \
6777 sys/cdio.h \
6778 sys/elf32.h \
6779 sys/epoll.h \
6780 sys/event.h \
6781 sys/exec_elf.h \
6782 sys/filio.h \
6783 sys/inotify.h \
6784 sys/ioctl.h \
6785 sys/ipc.h \
6786 sys/limits.h \
6787 sys/link.h \
6788 sys/mman.h \
6789 sys/modem.h \
6790 sys/msg.h \
6791 sys/mtio.h \
6792 sys/param.h \
6793 sys/poll.h \
6794 sys/prctl.h \
6795 sys/protosw.h \
6796 sys/ptrace.h \
6797 sys/queue.h \
6798 sys/resource.h \
6799 sys/scsiio.h \
6800 sys/shm.h \
6801 sys/signal.h \
6802 sys/socket.h \
6803 sys/socketvar.h \
6804 sys/sockio.h \
6805 sys/statvfs.h \
6806 sys/strtio.h \
6807 sys/syscall.h \
6808 sys/tihdr.h \
6809 sys/time.h \
6810 sys/timeout.h \
6811 sys/times.h \
6812 sys/uio.h \
6813 sys/user.h \
6814 sys/utsname.h \
6815 sys/vm86.h \
6816 sys/vnode.h \
6817 sys/wait.h \
6818 syscall.h \
6819 termios.h \
6820 unistd.h \
6821 utime.h \
6822 valgrind/memcheck.h \
6823 valgrind/valgrind.h \
6824 zlib.h
6826 do :
6827 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6828 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6829 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6830 cat >>confdefs.h <<_ACEOF
6831 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6832 _ACEOF
6836 done
6838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6839 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6840 if ${ac_cv_header_stat_broken+:} false; then :
6841 $as_echo_n "(cached) " >&6
6842 else
6843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6844 /* end confdefs.h. */
6845 #include <sys/types.h>
6846 #include <sys/stat.h>
6848 #if defined S_ISBLK && defined S_IFDIR
6849 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6850 #endif
6852 #if defined S_ISBLK && defined S_IFCHR
6853 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6854 #endif
6856 #if defined S_ISLNK && defined S_IFREG
6857 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6858 #endif
6860 #if defined S_ISSOCK && defined S_IFREG
6861 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6862 #endif
6864 _ACEOF
6865 if ac_fn_c_try_compile "$LINENO"; then :
6866 ac_cv_header_stat_broken=no
6867 else
6868 ac_cv_header_stat_broken=yes
6870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6873 $as_echo "$ac_cv_header_stat_broken" >&6; }
6874 if test $ac_cv_header_stat_broken = yes; then
6876 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6882 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6883 do :
6884 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6885 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6886 #ifdef HAVE_SYS_PARAM_H
6887 # include <sys/param.h>
6888 #endif
6890 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6891 cat >>confdefs.h <<_ACEOF
6892 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6893 _ACEOF
6897 done
6900 for ac_header in \
6901 netinet/ip.h \
6902 net/if.h \
6903 net/if_arp.h \
6904 net/if_dl.h \
6905 net/if_types.h \
6906 net/route.h \
6907 netinet/if_ether.h \
6908 netinet/if_inarp.h \
6909 netinet/in_pcb.h \
6910 netinet/ip_icmp.h \
6911 netinet/ip_var.h \
6912 netinet/udp.h \
6913 netipx/ipx.h \
6914 sys/un.h \
6916 do :
6917 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6918 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6919 #ifdef HAVE_SYS_SOCKET_H
6920 # include <sys/socket.h>
6921 #endif
6922 #ifdef HAVE_SYS_SOCKETVAR_H
6923 # include <sys/socketvar.h>
6924 #endif
6925 #ifdef HAVE_NET_ROUTE_H
6926 # include <net/route.h>
6927 #endif
6928 #ifdef HAVE_NETINET_IN_H
6929 # include <netinet/in.h>
6930 #endif
6931 #ifdef HAVE_NETINET_IN_SYSTM_H
6932 # include <netinet/in_systm.h>
6933 #endif
6934 #ifdef HAVE_NET_IF_H
6935 # include <net/if.h>
6936 #endif
6937 #ifdef HAVE_NETINET_IP_H
6938 # include <netinet/ip.h>
6939 #endif
6941 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6942 cat >>confdefs.h <<_ACEOF
6943 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6944 _ACEOF
6948 done
6951 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6952 do :
6953 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6954 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6955 #ifdef HAVE_ALIAS_H
6956 # include <alias.h>
6957 #endif
6958 #ifdef HAVE_SYS_SOCKET_H
6959 # include <sys/socket.h>
6960 #endif
6961 #ifdef HAVE_SYS_SOCKETVAR_H
6962 # include <sys/socketvar.h>
6963 #endif
6964 #ifdef HAVE_SYS_TIMEOUT_H
6965 # include <sys/timeout.h>
6966 #endif
6967 #ifdef HAVE_NETINET_IN_H
6968 # include <netinet/in.h>
6969 #endif
6970 #ifdef HAVE_NETINET_IN_SYSTM_H
6971 # include <netinet/in_systm.h>
6972 #endif
6973 #ifdef HAVE_NETINET_IP_H
6974 # include <netinet/ip.h>
6975 #endif
6976 #ifdef HAVE_NETINET_IP_VAR_H
6977 # include <netinet/ip_var.h>
6978 #endif
6979 #ifdef HAVE_NETINET_IP_ICMP_H
6980 # include <netinet/ip_icmp.h>
6981 #endif
6982 #ifdef HAVE_NETINET_UDP_H
6983 # include <netinet/udp.h>
6984 #endif
6985 #ifdef HAVE_NETINET_TCP_H
6986 # include <netinet/tcp.h>
6987 #endif
6988 #ifdef HAVE_NETINET_TCP_TIMER_H
6989 #include <netinet/tcp_timer.h>
6990 #endif
6992 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6993 cat >>confdefs.h <<_ACEOF
6994 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6995 _ACEOF
6999 done
7002 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7003 do :
7004 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7005 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7006 #ifdef HAVE_ASM_TYPES_H
7007 # include <asm/types.h>
7008 #endif
7009 #ifdef HAVE_SYS_SOCKET_H
7010 # include <sys/socket.h>
7011 #endif
7012 #ifdef HAVE_LINUX_TYPES_H
7013 # include <linux/types.h>
7014 #endif
7016 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7017 cat >>confdefs.h <<_ACEOF
7018 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7019 _ACEOF
7023 done
7026 for ac_header in mach-o/dyld_images.h
7027 do :
7028 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7029 # include <stdbool.h>
7030 #endif
7031 #ifdef HAVE_STDINT_H
7032 # include <stdint.h>
7033 #endif
7035 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7036 cat >>confdefs.h <<_ACEOF
7037 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7038 _ACEOF
7042 done
7045 for ac_header in resolv.h
7046 do :
7047 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7048 #ifdef HAVE_SYS_SOCKET_H
7049 # include <sys/socket.h>
7050 #endif
7051 #ifdef HAVE_NETINET_IN_H
7052 # include <netinet/in.h>
7053 #endif
7054 #ifdef HAVE_ARPA_NAMESER_H
7055 # include <arpa/nameser.h>
7056 #endif
7058 if test "x$ac_cv_header_resolv_h" = xyes; then :
7059 cat >>confdefs.h <<_ACEOF
7060 #define HAVE_RESOLV_H 1
7061 _ACEOF
7065 done
7068 for ac_header in ifaddrs.h
7069 do :
7070 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7072 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7073 cat >>confdefs.h <<_ACEOF
7074 #define HAVE_IFADDRS_H 1
7075 _ACEOF
7079 done
7082 for ac_header in sys/ucontext.h
7083 do :
7084 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7086 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7087 cat >>confdefs.h <<_ACEOF
7088 #define HAVE_SYS_UCONTEXT_H 1
7089 _ACEOF
7093 done
7096 for ac_header in sys/thr.h
7097 do :
7098 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7099 #ifdef HAVE_SYS_UCONTEXT_H
7100 #include <sys/ucontext.h>
7101 #endif
7103 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7104 cat >>confdefs.h <<_ACEOF
7105 #define HAVE_SYS_THR_H 1
7106 _ACEOF
7110 done
7113 for ac_header in pthread_np.h
7114 do :
7115 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7116 #include <pthread.h>
7117 #endif
7119 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7120 cat >>confdefs.h <<_ACEOF
7121 #define HAVE_PTHREAD_NP_H 1
7122 _ACEOF
7126 done
7129 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7130 do :
7131 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7132 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7133 #include <sys/time.h>
7134 #endif
7135 #include <sys/types.h>
7136 #ifdef HAVE_ASM_TYPES_H
7137 #include <asm/types.h>
7138 #endif
7140 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7141 cat >>confdefs.h <<_ACEOF
7142 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7143 _ACEOF
7147 done
7150 for ac_header in libprocstat.h
7151 do :
7152 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7153 #include <sys/param.h>
7154 #endif
7155 #ifdef HAVE_SYS_QUEUE_H
7156 #include <sys/queue.h>
7157 #endif
7158 #ifdef HAVE_SYS_SOCKET_H
7159 #include <sys/socket.h>
7160 #endif
7162 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7163 cat >>confdefs.h <<_ACEOF
7164 #define HAVE_LIBPROCSTAT_H 1
7165 _ACEOF
7169 done
7173 dlldir="\${libdir}/wine"
7175 DLLFLAGS="-D_REENTRANT"
7177 LDRPATH_INSTALL=""
7179 LDRPATH_LOCAL=""
7181 LDEXECFLAGS=""
7183 LIBEXT="so"
7184 DLLEXT=".so"
7185 IMPLIBEXT="def"
7186 STATIC_IMPLIBEXT="def.a"
7187 # Extract the first word of "ldd", so it can be a program name with args.
7188 set dummy ldd; ac_word=$2
7189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7190 $as_echo_n "checking for $ac_word... " >&6; }
7191 if ${ac_cv_path_LDD+:} false; then :
7192 $as_echo_n "(cached) " >&6
7193 else
7194 case $LDD in
7195 [\\/]* | ?:[\\/]*)
7196 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7200 as_dummy="/sbin:/usr/sbin:$PATH"
7201 for as_dir in $as_dummy
7203 IFS=$as_save_IFS
7204 test -z "$as_dir" && as_dir=.
7205 for ac_exec_ext in '' $ac_executable_extensions; do
7206 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7207 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7208 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7209 break 2
7211 done
7212 done
7213 IFS=$as_save_IFS
7215 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7217 esac
7219 LDD=$ac_cv_path_LDD
7220 if test -n "$LDD"; then
7221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7222 $as_echo "$LDD" >&6; }
7223 else
7224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7225 $as_echo "no" >&6; }
7229 if test -n "$ac_tool_prefix"; then
7230 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7231 set dummy ${ac_tool_prefix}otool; ac_word=$2
7232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7233 $as_echo_n "checking for $ac_word... " >&6; }
7234 if ${ac_cv_prog_OTOOL+:} false; then :
7235 $as_echo_n "(cached) " >&6
7236 else
7237 if test -n "$OTOOL"; then
7238 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7239 else
7240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7241 for as_dir in $PATH
7243 IFS=$as_save_IFS
7244 test -z "$as_dir" && as_dir=.
7245 for ac_exec_ext in '' $ac_executable_extensions; do
7246 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7247 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7249 break 2
7251 done
7252 done
7253 IFS=$as_save_IFS
7257 OTOOL=$ac_cv_prog_OTOOL
7258 if test -n "$OTOOL"; then
7259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7260 $as_echo "$OTOOL" >&6; }
7261 else
7262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7263 $as_echo "no" >&6; }
7268 if test -z "$ac_cv_prog_OTOOL"; then
7269 ac_ct_OTOOL=$OTOOL
7270 # Extract the first word of "otool", so it can be a program name with args.
7271 set dummy otool; ac_word=$2
7272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7273 $as_echo_n "checking for $ac_word... " >&6; }
7274 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7275 $as_echo_n "(cached) " >&6
7276 else
7277 if test -n "$ac_ct_OTOOL"; then
7278 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7279 else
7280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7281 for as_dir in $PATH
7283 IFS=$as_save_IFS
7284 test -z "$as_dir" && as_dir=.
7285 for ac_exec_ext in '' $ac_executable_extensions; do
7286 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7287 ac_cv_prog_ac_ct_OTOOL="otool"
7288 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7289 break 2
7291 done
7292 done
7293 IFS=$as_save_IFS
7297 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7298 if test -n "$ac_ct_OTOOL"; then
7299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7300 $as_echo "$ac_ct_OTOOL" >&6; }
7301 else
7302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7303 $as_echo "no" >&6; }
7306 if test "x$ac_ct_OTOOL" = x; then
7307 OTOOL="otool"
7308 else
7309 case $cross_compiling:$ac_tool_warned in
7310 yes:)
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7312 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7313 ac_tool_warned=yes ;;
7314 esac
7315 OTOOL=$ac_ct_OTOOL
7317 else
7318 OTOOL="$ac_cv_prog_OTOOL"
7321 if test -n "$ac_tool_prefix"; then
7322 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7323 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7325 $as_echo_n "checking for $ac_word... " >&6; }
7326 if ${ac_cv_prog_READELF+:} false; then :
7327 $as_echo_n "(cached) " >&6
7328 else
7329 if test -n "$READELF"; then
7330 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7331 else
7332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7333 for as_dir in $PATH
7335 IFS=$as_save_IFS
7336 test -z "$as_dir" && as_dir=.
7337 for ac_exec_ext in '' $ac_executable_extensions; do
7338 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7339 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7341 break 2
7343 done
7344 done
7345 IFS=$as_save_IFS
7349 READELF=$ac_cv_prog_READELF
7350 if test -n "$READELF"; then
7351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7352 $as_echo "$READELF" >&6; }
7353 else
7354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7355 $as_echo "no" >&6; }
7360 if test -z "$ac_cv_prog_READELF"; then
7361 ac_ct_READELF=$READELF
7362 # Extract the first word of "readelf", so it can be a program name with args.
7363 set dummy readelf; ac_word=$2
7364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7365 $as_echo_n "checking for $ac_word... " >&6; }
7366 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7367 $as_echo_n "(cached) " >&6
7368 else
7369 if test -n "$ac_ct_READELF"; then
7370 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7371 else
7372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7373 for as_dir in $PATH
7375 IFS=$as_save_IFS
7376 test -z "$as_dir" && as_dir=.
7377 for ac_exec_ext in '' $ac_executable_extensions; do
7378 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7379 ac_cv_prog_ac_ct_READELF="readelf"
7380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7381 break 2
7383 done
7384 done
7385 IFS=$as_save_IFS
7389 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7390 if test -n "$ac_ct_READELF"; then
7391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7392 $as_echo "$ac_ct_READELF" >&6; }
7393 else
7394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7395 $as_echo "no" >&6; }
7398 if test "x$ac_ct_READELF" = x; then
7399 READELF="true"
7400 else
7401 case $cross_compiling:$ac_tool_warned in
7402 yes:)
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7404 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7405 ac_tool_warned=yes ;;
7406 esac
7407 READELF=$ac_ct_READELF
7409 else
7410 READELF="$ac_cv_prog_READELF"
7413 wine_rules_file=conf$$rules.make
7414 rm -f $wine_rules_file
7415 ALL_POT_FILES=""
7416 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7417 SUBDIRS=""
7419 ALL_TEST_RESOURCES=""
7422 wine_fn_append_file ()
7424 as_fn_append $1 " \\$as_nl $2"
7427 wine_fn_ignore_file ()
7429 case "$1" in
7430 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7431 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7432 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7433 esac
7436 wine_fn_append_rule ()
7438 $as_echo "$1" >>$wine_rules_file
7441 wine_fn_has_flag ()
7443 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7446 wine_fn_depend_rules ()
7448 wine_fn_append_file SUBDIRS $ac_dir
7451 wine_fn_pot_rules ()
7453 test "x$with_gettextpo" = xyes || return
7455 if wine_fn_has_flag mc
7456 then
7457 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7458 wine_fn_append_rule \
7459 "$ac_dir/msg.pot: dummy
7460 @cd $ac_dir && \$(MAKE) msg.pot
7461 $ac_dir/msg.pot: tools/wmc include"
7463 if wine_fn_has_flag po
7464 then
7465 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7466 wine_fn_append_rule \
7467 "$ac_dir/rsrc.pot: dummy
7468 @cd $ac_dir && \$(MAKE) rsrc.pot
7469 $ac_dir/rsrc.pot: tools/wrc include"
7473 wine_fn_all_rules ()
7475 wine_fn_depend_rules
7476 wine_fn_append_rule \
7477 "all: $ac_dir
7478 .PHONY: $ac_dir
7479 $ac_dir: dummy
7480 @cd $ac_dir && \$(MAKE)"
7483 wine_fn_install_rules ()
7485 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7487 wine_fn_append_rule \
7488 ".PHONY: $ac_dir/install $ac_dir/uninstall
7489 $ac_dir/install:: $ac_dir
7490 @cd $ac_dir && \$(MAKE) install
7491 $ac_dir/uninstall::
7492 @cd $ac_dir && \$(MAKE) uninstall
7493 install:: $ac_dir/install
7494 __uninstall__: $ac_dir/uninstall"
7496 if wine_fn_has_flag install-lib
7497 then
7498 wine_fn_append_rule \
7499 ".PHONY: $ac_dir/install-lib
7500 $ac_dir/install-lib:: $ac_dir
7501 @cd $ac_dir && \$(MAKE) install-lib
7502 install-lib:: $ac_dir/install-lib"
7505 if wine_fn_has_flag install-dev
7506 then
7507 wine_fn_append_rule \
7508 ".PHONY: $ac_dir/install-dev
7509 $ac_dir/install-dev:: $ac_dir
7510 @cd $ac_dir && \$(MAKE) install-dev
7511 install-dev:: $ac_dir/install-dev"
7515 wine_fn_clean_rules ()
7517 ac_clean=$@
7519 if wine_fn_has_flag clean
7520 then
7521 wine_fn_append_rule \
7522 "$ac_dir/clean: dummy
7523 @cd $ac_dir && \$(MAKE) clean"
7524 else
7525 wine_fn_append_rule \
7526 "$ac_dir/clean: dummy
7527 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7529 wine_fn_append_rule \
7530 "__clean__: $ac_dir/clean
7531 .PHONY: $ac_dir/clean"
7534 wine_fn_disabled_rules ()
7536 ac_clean=$@
7538 wine_fn_append_rule \
7539 "__clean__: $ac_dir/clean
7540 .PHONY: $ac_dir/clean
7541 $ac_dir/clean: dummy
7542 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7545 wine_fn_config_makefile ()
7547 ac_dir=$1
7548 ac_enable=$2
7549 ac_flags=$3
7551 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7552 wine_fn_disabled_rules; return
7554 wine_fn_all_rules
7555 wine_fn_install_rules
7556 wine_fn_clean_rules
7559 wine_fn_config_lib ()
7561 ac_name=$1
7562 ac_flags=$2
7563 ac_dir=dlls/$ac_name
7564 ac_deps="include"
7566 if test "x$enable_tools" = xno; then :
7568 else
7569 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7571 wine_fn_all_rules
7572 wine_fn_clean_rules
7574 wine_fn_append_rule \
7575 ".PHONY: $ac_dir/install $ac_dir/uninstall
7576 $ac_dir/install:: $ac_dir
7577 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7578 $ac_dir/uninstall::
7579 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7580 install install-dev:: $ac_dir/install
7581 __uninstall__: $ac_dir/uninstall
7582 __builddeps__: $ac_dir
7583 $ac_dir: $ac_deps"
7586 wine_fn_config_dll ()
7588 ac_name=$1
7589 ac_dir=dlls/$ac_name
7590 ac_enable=$2
7591 ac_flags=$3
7592 ac_implib=${4:-$ac_name}
7593 ac_file=$ac_dir/lib$ac_implib
7594 ac_dll=$ac_name
7595 ac_deps="include"
7596 ac_implibflags=""
7598 if test "x$enable_tools" = xno; then :
7600 else
7601 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7603 case $ac_name in
7604 *16) ac_implibflags=" -m16" ;;
7605 *.*) ;;
7606 *) ac_dll=$ac_dll.dll ;;
7607 esac
7609 ac_clean=
7610 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7611 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7612 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7613 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7615 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7616 if test "$ac_enable" != enable_win16
7617 then
7618 wine_fn_depend_rules
7619 wine_fn_clean_rules $ac_clean
7620 wine_fn_pot_rules
7621 else
7622 wine_fn_disabled_rules $ac_clean
7623 return
7625 else
7626 wine_fn_all_rules
7627 wine_fn_clean_rules $ac_clean
7628 wine_fn_append_rule \
7629 "$ac_dir: __builddeps__
7630 manpages htmlpages sgmlpages xmlpages::
7631 @cd $ac_dir && \$(MAKE) \$@
7632 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7633 install install-lib:: $ac_dir/install-lib
7634 __uninstall__: $ac_dir/uninstall"
7635 if test -n "$DLLEXT"
7636 then
7637 wine_fn_append_rule \
7638 "$ac_dir/install-lib:: $ac_dir
7639 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7640 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7641 $ac_dir/uninstall::
7642 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7643 else
7644 wine_fn_append_rule \
7645 "$ac_dir/install-lib:: $ac_dir
7646 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7647 $ac_dir/uninstall::
7648 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7651 wine_fn_pot_rules
7654 if wine_fn_has_flag staticimplib
7655 then
7656 wine_fn_append_rule \
7657 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7658 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7659 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7660 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7661 $ac_file.$STATIC_IMPLIBEXT: dummy
7662 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7663 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7664 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7665 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7666 $ac_dir/uninstall::
7667 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7668 install install-dev:: $ac_dir/install-dev
7669 __uninstall__: $ac_dir/uninstall"
7671 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7672 then
7673 wine_fn_append_rule \
7674 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7675 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7676 $ac_dir/uninstall::
7677 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7680 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7681 then
7682 wine_fn_append_rule \
7683 "__builddeps__: $ac_file.cross.a
7684 $ac_file.cross.a: dummy
7685 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7688 elif wine_fn_has_flag implib
7689 then
7690 wine_fn_append_rule \
7691 "__builddeps__: $ac_file.$IMPLIBEXT
7692 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7693 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7694 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7695 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7696 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7697 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7698 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7699 $ac_dir/uninstall::
7700 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7701 install install-dev:: $ac_dir/install-dev
7702 __uninstall__: $ac_dir/uninstall"
7703 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7704 then
7705 wine_fn_append_rule \
7706 "__builddeps__: $ac_file.cross.a
7707 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7708 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7711 if test "$ac_name" != "$ac_implib"
7712 then
7713 wine_fn_append_rule \
7714 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7715 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7716 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7717 clean::
7718 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7719 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7720 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7721 then
7722 wine_fn_append_rule \
7723 "__builddeps__: dlls/lib$ac_implib.cross.a
7724 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7725 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7726 clean::
7727 \$(RM) dlls/lib$ac_implib.cross.a"
7728 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7734 wine_fn_config_program ()
7736 ac_name=$1
7737 ac_dir=programs/$ac_name
7738 ac_enable=$2
7739 ac_flags=$3
7740 ac_program=$ac_name
7742 case $ac_name in
7743 *.*) ;;
7744 *) ac_program=$ac_program.exe ;;
7745 esac
7747 ac_clean=
7748 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7749 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7750 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7751 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7753 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7754 wine_fn_disabled_rules $ac_clean; return
7757 wine_fn_all_rules
7758 wine_fn_clean_rules $ac_clean
7759 wine_fn_append_rule "$ac_dir: __builddeps__"
7760 wine_fn_pot_rules
7762 wine_fn_has_flag install || return
7763 wine_fn_append_rule \
7764 ".PHONY: $ac_dir/install $ac_dir/uninstall
7765 install install-lib:: $ac_dir/install
7766 __uninstall__: $ac_dir/uninstall"
7768 if test -n "$DLLEXT"
7769 then
7770 wine_fn_append_rule \
7771 "$ac_dir/install:: $ac_dir
7772 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7773 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7774 $ac_dir/uninstall::
7775 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7777 if test -z "$with_wine64" && wine_fn_has_flag installbin
7778 then
7779 wine_fn_append_rule \
7780 "$ac_dir/install:: __tooldeps__
7781 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7782 $ac_dir/uninstall::
7783 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7785 else
7786 wine_fn_append_rule \
7787 "$ac_dir/install:: $ac_dir
7788 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7789 $ac_dir/uninstall::
7790 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7793 if test -z "$with_wine64" && wine_fn_has_flag manpage
7794 then
7795 wine_fn_append_rule \
7796 "$ac_dir/install:: $ac_dir
7797 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7798 $ac_dir/uninstall::
7799 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7803 wine_fn_config_test ()
7805 ac_dir=$1
7806 ac_name=$2
7807 ac_flags=$3
7809 ac_clean=
7810 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7811 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7813 if test "x$enable_tests" = xno; then :
7814 wine_fn_disabled_rules $ac_clean; return
7817 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7818 wine_fn_all_rules
7819 wine_fn_clean_rules $ac_clean
7821 wine_fn_append_rule \
7822 "$ac_dir: __builddeps__
7823 programs/winetest: $ac_dir
7824 check test: $ac_dir/test
7825 .PHONY: $ac_dir/test
7826 $ac_dir/test: dummy
7827 @cd $ac_dir && \$(MAKE) test
7828 testclean::
7829 \$(RM) $ac_dir/*.ok"
7831 if test -n "$CROSSTARGET"
7832 then
7833 wine_fn_append_rule \
7834 "crosstest: $ac_dir/crosstest
7835 .PHONY: $ac_dir/crosstest
7836 $ac_dir/crosstest: __builddeps__ dummy
7837 @cd $ac_dir && \$(MAKE) crosstest"
7841 wine_fn_config_tool ()
7843 ac_dir=$1
7844 ac_flags=$2
7845 if test "x$enable_tools" = xno; then :
7846 return
7849 wine_fn_all_rules
7850 wine_fn_install_rules
7851 wine_fn_clean_rules
7853 wine_fn_append_rule "__tooldeps__: $ac_dir"
7854 wine_fn_append_rule "$ac_dir: libs/port"
7855 case $ac_dir in
7856 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7857 esac
7860 wine_fn_config_symlink ()
7862 ac_linkdir=
7863 if test "x$1" = "x-d"
7864 then
7865 ac_linkdir=$2
7866 shift; shift
7868 ac_links=$@
7869 wine_fn_append_rule \
7870 "$ac_links:
7871 @./config.status \$@
7872 distclean::
7873 \$(RM) $ac_links"
7874 for f in $ac_links; do wine_fn_ignore_file $f; done
7875 test -n "$ac_linkdir" || return
7876 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7879 wine_binary="wine"
7880 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7881 WINELOADER_PROGRAMS="$wine_binary"
7883 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7885 case $host_os in
7886 cygwin*|mingw32*)
7887 if test -n "$ac_tool_prefix"; then
7888 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7889 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7891 $as_echo_n "checking for $ac_word... " >&6; }
7892 if ${ac_cv_prog_DLLTOOL+:} false; then :
7893 $as_echo_n "(cached) " >&6
7894 else
7895 if test -n "$DLLTOOL"; then
7896 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7897 else
7898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7899 for as_dir in $PATH
7901 IFS=$as_save_IFS
7902 test -z "$as_dir" && as_dir=.
7903 for ac_exec_ext in '' $ac_executable_extensions; do
7904 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7905 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7906 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7907 break 2
7909 done
7910 done
7911 IFS=$as_save_IFS
7915 DLLTOOL=$ac_cv_prog_DLLTOOL
7916 if test -n "$DLLTOOL"; then
7917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7918 $as_echo "$DLLTOOL" >&6; }
7919 else
7920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7921 $as_echo "no" >&6; }
7926 if test -z "$ac_cv_prog_DLLTOOL"; then
7927 ac_ct_DLLTOOL=$DLLTOOL
7928 # Extract the first word of "dlltool", so it can be a program name with args.
7929 set dummy dlltool; ac_word=$2
7930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7931 $as_echo_n "checking for $ac_word... " >&6; }
7932 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7933 $as_echo_n "(cached) " >&6
7934 else
7935 if test -n "$ac_ct_DLLTOOL"; then
7936 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7937 else
7938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7939 for as_dir in $PATH
7941 IFS=$as_save_IFS
7942 test -z "$as_dir" && as_dir=.
7943 for ac_exec_ext in '' $ac_executable_extensions; do
7944 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7945 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7947 break 2
7949 done
7950 done
7951 IFS=$as_save_IFS
7955 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7956 if test -n "$ac_ct_DLLTOOL"; then
7957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7958 $as_echo "$ac_ct_DLLTOOL" >&6; }
7959 else
7960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7961 $as_echo "no" >&6; }
7964 if test "x$ac_ct_DLLTOOL" = x; then
7965 DLLTOOL="false"
7966 else
7967 case $cross_compiling:$ac_tool_warned in
7968 yes:)
7969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7970 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7971 ac_tool_warned=yes ;;
7972 esac
7973 DLLTOOL=$ac_ct_DLLTOOL
7975 else
7976 DLLTOOL="$ac_cv_prog_DLLTOOL"
7979 LIBEXT="dll"
7980 DLLEXT=""
7981 IMPLIBEXT="a"
7982 STATIC_IMPLIBEXT="a"
7983 enable_iphlpapi=${enable_iphlpapi:-no}
7984 enable_kernel32=${enable_kernel32:-no}
7985 enable_msvcrt=${enable_msvcrt:-no}
7986 enable_ntdll=${enable_ntdll:-no}
7987 enable_ws2_32=${enable_ws2_32:-no}
7988 enable_loader=${enable_loader:-no}
7989 enable_server=${enable_server:-no}
7990 with_x=${with_x:-no}
7991 with_pthread=${with_pthread:-no}
7993 crtlibs=""
7994 case $host_os in
7995 mingw32*)
7996 crtlibs="-lmsvcrt"
7997 SOCKET_LIBS="-lws2_32"
7999 esac
8001 LIBWINE_SHAREDLIB="libwine.dll"
8003 LIBWINE_IMPORTLIB="libwine.a"
8005 LIBWINE_INSTALL_LIB="libwine.dll"
8007 LIBWINE_INSTALL_DEV="libwine.a"
8009 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8011 LIBWINE_DEPENDS="wine.def"
8015 darwin*|macosx*)
8016 for ac_header in libunwind.h
8017 do :
8018 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8019 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8020 cat >>confdefs.h <<_ACEOF
8021 #define HAVE_LIBUNWIND_H 1
8022 _ACEOF
8026 done
8028 LIBEXT="dylib"
8029 DLLFLAGS="$DLLFLAGS -fPIC"
8030 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8031 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8032 COREFOUNDATION_LIBS="-framework CoreFoundation"
8034 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8036 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8038 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8040 CORESERVICES_LIBS="-framework CoreServices"
8042 APPKIT_LIBS="-framework AppKit"
8044 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8046 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8047 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8048 $as_echo_n "(cached) " >&6
8049 else
8050 ac_wine_try_cflags_saved=$CFLAGS
8051 CFLAGS="$CFLAGS -Wl,-no_pie"
8052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8053 /* end confdefs.h. */
8054 int main(int argc, char **argv) { return 0; }
8055 _ACEOF
8056 if ac_fn_c_try_link "$LINENO"; then :
8057 ac_cv_cflags__Wl__no_pie=yes
8058 else
8059 ac_cv_cflags__Wl__no_pie=no
8061 rm -f core conftest.err conftest.$ac_objext \
8062 conftest$ac_exeext conftest.$ac_ext
8063 CFLAGS=$ac_wine_try_cflags_saved
8065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8066 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8067 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8068 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8070 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8071 then
8072 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8075 if test "$ac_cv_header_Security_Security_h" = "yes"
8076 then
8077 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8079 ac_save_LIBS="$LIBS"
8080 LIBS="$LIBS $SECURITY_LIBS"
8081 for ac_func in SSLCopyPeerCertificates
8082 do :
8083 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8084 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8085 cat >>confdefs.h <<_ACEOF
8086 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8087 _ACEOF
8090 done
8092 LIBS="$ac_save_LIBS"
8093 with_gnutls=${with_gnutls:-no}
8095 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8096 then
8097 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8098 then
8099 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8101 else
8102 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8105 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8106 ac_save_LIBS="$LIBS"
8107 LIBS="$LIBS $COREAUDIO_LIBS"
8108 for ac_func in AUGraphAddNode
8109 do :
8110 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8111 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8112 cat >>confdefs.h <<_ACEOF
8113 #define HAVE_AUGRAPHADDNODE 1
8114 _ACEOF
8117 done
8119 LIBS="$ac_save_LIBS"
8121 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8122 then
8123 OPENAL_LIBS="-framework OpenAL"
8126 cat >>confdefs.h <<_ACEOF
8127 #define HAVE_OPENAL 1
8128 _ACEOF
8130 ac_cv_lib_openal=yes
8132 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8133 then
8134 OPENCL_LIBS="-framework OpenCL"
8136 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8138 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8139 then
8140 ac_save_LIBS="$LIBS"
8141 LIBS="$LIBS $IOKIT_LIBS"
8142 for ac_func in IOHIDManagerCreate
8143 do :
8144 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8145 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8146 cat >>confdefs.h <<_ACEOF
8147 #define HAVE_IOHIDMANAGERCREATE 1
8148 _ACEOF
8151 done
8153 LIBS="$ac_save_LIBS"
8155 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8156 then
8157 ac_save_LIBS="$LIBS"
8158 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8160 $as_echo_n "checking for the QuickTime framework... " >&6; }
8161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8162 /* end confdefs.h. */
8163 #include <QuickTime/ImageCompression.h>
8165 main ()
8167 CodecManagerVersion(NULL);
8169 return 0;
8171 _ACEOF
8172 if ac_fn_c_try_link "$LINENO"; then :
8173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8174 $as_echo "yes" >&6; }
8175 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8177 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8178 else
8179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8180 $as_echo "no" >&6; }
8181 ac_cv_header_QuickTime_ImageCompression_h=no
8183 rm -f core conftest.err conftest.$ac_objext \
8184 conftest$ac_exeext conftest.$ac_ext
8185 LIBS="$ac_save_LIBS"
8187 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8188 then
8189 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8191 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8192 then
8193 CARBON_LIBS="-framework Carbon"
8197 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8198 then
8199 ac_save_LIBS="$LIBS"
8200 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8201 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8202 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8203 enable_winemac_drv=${enable_winemac_drv:-yes}
8206 LIBS="$ac_save_LIBS"
8209 if test "x$enable_win16" = "xyes"
8210 then
8211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8212 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8213 if test "$cross_compiling" = yes; then :
8214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8215 $as_echo "cross-compiling, assuming yes" >&6; }
8216 else
8217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8218 /* end confdefs.h. */
8219 asm(".text\n"
8220 "bad:\tnop;nop\n"
8221 "good:\tnop;nop\n\t"
8222 ".globl _testfunc\n"
8223 "_testfunc:\tcallw good");
8224 extern void testfunc();
8226 main ()
8228 unsigned short *p = (unsigned short *)testfunc;
8229 return p[0] != 0xe866 || p[1] != 0xfffa
8231 return 0;
8233 _ACEOF
8234 if ac_fn_c_try_run "$LINENO"; then :
8235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8236 $as_echo "yes" >&6; }
8237 else
8238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8239 $as_echo "no" >&6; }
8240 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
8242 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8243 conftest.$ac_objext conftest.beam conftest.$ac_ext
8248 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8250 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8252 LIBWINE_INSTALL_DEV="libwine.dylib"
8254 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8256 WINELOADER_DEPENDS="wine_info.plist"
8260 linux-android*)
8261 DLLFLAGS="$DLLFLAGS -fPIC"
8262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8263 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8264 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8265 $as_echo_n "(cached) " >&6
8266 else
8267 ac_wine_try_cflags_saved=$CFLAGS
8268 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8270 /* end confdefs.h. */
8271 int main(int argc, char **argv) { return 0; }
8272 _ACEOF
8273 if ac_fn_c_try_link "$LINENO"; then :
8274 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8275 else
8276 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8278 rm -f core conftest.err conftest.$ac_objext \
8279 conftest$ac_exeext conftest.$ac_ext
8280 CFLAGS=$ac_wine_try_cflags_saved
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8283 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8284 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8285 LDEXECFLAGS="-Wl,--export-dynamic"
8287 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8289 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8290 if eval \${$as_ac_var+:} false; then :
8291 $as_echo_n "(cached) " >&6
8292 else
8293 ac_wine_try_cflags_saved=$CFLAGS
8294 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8296 /* end confdefs.h. */
8297 int main(int argc, char **argv) { return 0; }
8298 _ACEOF
8299 if ac_fn_c_try_link "$LINENO"; then :
8300 eval "$as_ac_var=yes"
8301 else
8302 eval "$as_ac_var=no"
8304 rm -f core conftest.err conftest.$ac_objext \
8305 conftest$ac_exeext conftest.$ac_ext
8306 CFLAGS=$ac_wine_try_cflags_saved
8308 eval ac_res=\$$as_ac_var
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8310 $as_echo "$ac_res" >&6; }
8311 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8312 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8313 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8314 else
8315 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8317 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8318 if eval \${$as_ac_var+:} false; then :
8319 $as_echo_n "(cached) " >&6
8320 else
8321 ac_wine_try_cflags_saved=$CFLAGS
8322 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8324 /* end confdefs.h. */
8325 int main(int argc, char **argv) { return 0; }
8326 _ACEOF
8327 if ac_fn_c_try_link "$LINENO"; then :
8328 eval "$as_ac_var=yes"
8329 else
8330 eval "$as_ac_var=no"
8332 rm -f core conftest.err conftest.$ac_objext \
8333 conftest$ac_exeext conftest.$ac_ext
8334 CFLAGS=$ac_wine_try_cflags_saved
8336 eval ac_res=\$$as_ac_var
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8338 $as_echo "$ac_res" >&6; }
8339 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8340 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8341 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8346 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8347 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8348 $as_echo_n "(cached) " >&6
8349 else
8350 ac_wine_try_cflags_saved=$CFLAGS
8351 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8353 /* end confdefs.h. */
8354 int main(int argc, char **argv) { return 0; }
8355 _ACEOF
8356 if ac_fn_c_try_link "$LINENO"; then :
8357 ac_cv_cflags__Wl___enable_new_dtags=yes
8358 else
8359 ac_cv_cflags__Wl___enable_new_dtags=no
8361 rm -f core conftest.err conftest.$ac_objext \
8362 conftest$ac_exeext conftest.$ac_ext
8363 CFLAGS=$ac_wine_try_cflags_saved
8365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8366 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8367 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8368 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8371 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8372 if ${ac_cv_cflags__Wl__pie+:} false; then :
8373 $as_echo_n "(cached) " >&6
8374 else
8375 ac_wine_try_cflags_saved=$CFLAGS
8376 CFLAGS="$CFLAGS -Wl,-pie"
8377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8378 /* end confdefs.h. */
8379 int main(int argc, char **argv) { return 0; }
8380 _ACEOF
8381 if ac_fn_c_try_link "$LINENO"; then :
8382 ac_cv_cflags__Wl__pie=yes
8383 else
8384 ac_cv_cflags__Wl__pie=no
8386 rm -f core conftest.err conftest.$ac_objext \
8387 conftest$ac_exeext conftest.$ac_ext
8388 CFLAGS=$ac_wine_try_cflags_saved
8390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8391 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8392 if test "x$ac_cv_cflags__Wl__pie" = xyes; then :
8393 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,-pie"
8396 LIBWINE_SHAREDLIB="libwine.so"
8398 LIBWINE_INSTALL_LIB="libwine.so"
8400 LIBWINE_LDFLAGS="-shared"
8405 DLLFLAGS="$DLLFLAGS -fPIC"
8406 LDEXECFLAGS=""
8407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8408 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8409 if ${ac_cv_c_dll_gnuelf+:} false; then :
8410 $as_echo_n "(cached) " >&6
8411 else
8412 ac_wine_try_cflags_saved=$CFLAGS
8413 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8415 /* end confdefs.h. */
8416 void myfunc() {}
8417 _ACEOF
8418 if ac_fn_c_try_link "$LINENO"; then :
8419 ac_cv_c_dll_gnuelf="yes"
8420 else
8421 ac_cv_c_dll_gnuelf="no"
8423 rm -f core conftest.err conftest.$ac_objext \
8424 conftest$ac_exeext conftest.$ac_ext
8425 CFLAGS=$ac_wine_try_cflags_saved
8427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8428 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8429 if test "$ac_cv_c_dll_gnuelf" = "yes"
8430 then
8431 LIBWINE_LDFLAGS="-shared"
8432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8433 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8434 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8435 $as_echo_n "(cached) " >&6
8436 else
8437 ac_wine_try_cflags_saved=$CFLAGS
8438 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8440 /* end confdefs.h. */
8441 int main(int argc, char **argv) { return 0; }
8442 _ACEOF
8443 if ac_fn_c_try_link "$LINENO"; then :
8444 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8445 else
8446 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8448 rm -f core conftest.err conftest.$ac_objext \
8449 conftest$ac_exeext conftest.$ac_ext
8450 CFLAGS=$ac_wine_try_cflags_saved
8452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8453 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8454 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8455 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8456 else
8457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8458 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8459 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8460 $as_echo_n "(cached) " >&6
8461 else
8462 ac_wine_try_cflags_saved=$CFLAGS
8463 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8465 /* end confdefs.h. */
8466 int main(int argc, char **argv) { return 0; }
8467 _ACEOF
8468 if ac_fn_c_try_link "$LINENO"; then :
8469 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8470 else
8471 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8473 rm -f core conftest.err conftest.$ac_objext \
8474 conftest$ac_exeext conftest.$ac_ext
8475 CFLAGS=$ac_wine_try_cflags_saved
8477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8478 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8479 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8480 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8484 echo '{ global: *; };' >conftest.map
8485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8486 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8487 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8488 $as_echo_n "(cached) " >&6
8489 else
8490 ac_wine_try_cflags_saved=$CFLAGS
8491 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8493 /* end confdefs.h. */
8494 int main(int argc, char **argv) { return 0; }
8495 _ACEOF
8496 if ac_fn_c_try_link "$LINENO"; then :
8497 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8498 else
8499 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8501 rm -f core conftest.err conftest.$ac_objext \
8502 conftest$ac_exeext conftest.$ac_ext
8503 CFLAGS=$ac_wine_try_cflags_saved
8505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8506 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8507 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8508 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8510 rm -f conftest.map
8512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8513 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8514 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8515 $as_echo_n "(cached) " >&6
8516 else
8517 ac_wine_try_cflags_saved=$CFLAGS
8518 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8520 /* end confdefs.h. */
8521 int main(int argc, char **argv) { return 0; }
8522 _ACEOF
8523 if ac_fn_c_try_link "$LINENO"; then :
8524 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8525 else
8526 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8528 rm -f core conftest.err conftest.$ac_objext \
8529 conftest$ac_exeext conftest.$ac_ext
8530 CFLAGS=$ac_wine_try_cflags_saved
8532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8533 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8534 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8535 LDEXECFLAGS="-Wl,--export-dynamic"
8538 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8540 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8541 if eval \${$as_ac_var+:} false; then :
8542 $as_echo_n "(cached) " >&6
8543 else
8544 ac_wine_try_cflags_saved=$CFLAGS
8545 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8547 /* end confdefs.h. */
8548 int main(int argc, char **argv) { return 0; }
8549 _ACEOF
8550 if ac_fn_c_try_link "$LINENO"; then :
8551 eval "$as_ac_var=yes"
8552 else
8553 eval "$as_ac_var=no"
8555 rm -f core conftest.err conftest.$ac_objext \
8556 conftest$ac_exeext conftest.$ac_ext
8557 CFLAGS=$ac_wine_try_cflags_saved
8559 eval ac_res=\$$as_ac_var
8560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8561 $as_echo "$ac_res" >&6; }
8562 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8563 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8564 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8565 else
8566 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8568 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8569 if eval \${$as_ac_var+:} false; then :
8570 $as_echo_n "(cached) " >&6
8571 else
8572 ac_wine_try_cflags_saved=$CFLAGS
8573 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8575 /* end confdefs.h. */
8576 int main(int argc, char **argv) { return 0; }
8577 _ACEOF
8578 if ac_fn_c_try_link "$LINENO"; then :
8579 eval "$as_ac_var=yes"
8580 else
8581 eval "$as_ac_var=no"
8583 rm -f core conftest.err conftest.$ac_objext \
8584 conftest$ac_exeext conftest.$ac_ext
8585 CFLAGS=$ac_wine_try_cflags_saved
8587 eval ac_res=\$$as_ac_var
8588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8589 $as_echo "$ac_res" >&6; }
8590 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8591 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8592 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8597 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8598 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8599 $as_echo_n "(cached) " >&6
8600 else
8601 ac_wine_try_cflags_saved=$CFLAGS
8602 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8604 /* end confdefs.h. */
8605 int main(int argc, char **argv) { return 0; }
8606 _ACEOF
8607 if ac_fn_c_try_link "$LINENO"; then :
8608 ac_cv_cflags__Wl___enable_new_dtags=yes
8609 else
8610 ac_cv_cflags__Wl___enable_new_dtags=no
8612 rm -f core conftest.err conftest.$ac_objext \
8613 conftest$ac_exeext conftest.$ac_ext
8614 CFLAGS=$ac_wine_try_cflags_saved
8616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8617 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8618 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8619 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8622 case $host_cpu in
8623 *i[3456789]86* | x86_64)
8624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8625 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8626 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8627 $as_echo_n "(cached) " >&6
8628 else
8629 ac_wine_try_cflags_saved=$CFLAGS
8630 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8632 /* end confdefs.h. */
8633 int main(int argc, char **argv) { return 0; }
8634 _ACEOF
8635 if ac_fn_c_try_link "$LINENO"; then :
8636 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8637 else
8638 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8640 rm -f core conftest.err conftest.$ac_objext \
8641 conftest$ac_exeext conftest.$ac_ext
8642 CFLAGS=$ac_wine_try_cflags_saved
8644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8645 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8646 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8647 case $host_os in
8648 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8649 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8650 esac
8653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8654 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8655 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8656 $as_echo_n "(cached) " >&6
8657 else
8658 ac_wine_try_cflags_saved=$CFLAGS
8659 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8661 /* end confdefs.h. */
8662 int main(int argc, char **argv) { return 0; }
8663 _ACEOF
8664 if ac_fn_c_try_link "$LINENO"; then :
8665 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8666 else
8667 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8669 rm -f core conftest.err conftest.$ac_objext \
8670 conftest$ac_exeext conftest.$ac_ext
8671 CFLAGS=$ac_wine_try_cflags_saved
8673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8674 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8675 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8677 else
8678 # Extract the first word of "prelink", so it can be a program name with args.
8679 set dummy prelink; ac_word=$2
8680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8681 $as_echo_n "checking for $ac_word... " >&6; }
8682 if ${ac_cv_path_PRELINK+:} false; then :
8683 $as_echo_n "(cached) " >&6
8684 else
8685 case $PRELINK in
8686 [\\/]* | ?:[\\/]*)
8687 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8691 for as_dir in /sbin /usr/sbin $PATH
8693 IFS=$as_save_IFS
8694 test -z "$as_dir" && as_dir=.
8695 for ac_exec_ext in '' $ac_executable_extensions; do
8696 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8697 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8698 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8699 break 2
8701 done
8702 done
8703 IFS=$as_save_IFS
8705 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8707 esac
8709 PRELINK=$ac_cv_path_PRELINK
8710 if test -n "$PRELINK"; then
8711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8712 $as_echo "$PRELINK" >&6; }
8713 else
8714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8715 $as_echo "no" >&6; }
8719 if test "x$PRELINK" = xfalse
8720 then
8721 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8725 esac
8727 else
8728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8729 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8730 if ${ac_cv_c_dll_unixware+:} false; then :
8731 $as_echo_n "(cached) " >&6
8732 else
8733 ac_wine_try_cflags_saved=$CFLAGS
8734 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8736 /* end confdefs.h. */
8737 void myfunc() {}
8738 _ACEOF
8739 if ac_fn_c_try_link "$LINENO"; then :
8740 ac_cv_c_dll_unixware="yes"
8741 else
8742 ac_cv_c_dll_unixware="no"
8744 rm -f core conftest.err conftest.$ac_objext \
8745 conftest$ac_exeext conftest.$ac_ext
8746 CFLAGS=$ac_wine_try_cflags_saved
8748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8749 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8750 if test "$ac_cv_c_dll_unixware" = "yes"
8751 then
8752 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8755 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8757 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8759 LIBWINE_INSTALL_DEV="libwine.so"
8761 LIBWINE_DEPENDS="wine.map"
8764 esac
8766 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8767 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8768 enable_winemac_drv=${enable_winemac_drv:-no}
8769 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8771 CROSSTARGET=""
8773 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8774 then
8775 case "$host_cpu" in
8776 arm*)
8777 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8778 i[3456789]86*)
8779 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
8780 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8781 mingw32-gcc" ;;
8782 x86_64)
8783 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
8784 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8786 ac_prefix_list="" ;;
8787 esac
8788 for ac_prog in $ac_prefix_list
8790 # Extract the first word of "$ac_prog", so it can be a program name with args.
8791 set dummy $ac_prog; ac_word=$2
8792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8793 $as_echo_n "checking for $ac_word... " >&6; }
8794 if ${ac_cv_prog_CROSSCC+:} false; then :
8795 $as_echo_n "(cached) " >&6
8796 else
8797 if test -n "$CROSSCC"; then
8798 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8799 else
8800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8801 for as_dir in $PATH
8803 IFS=$as_save_IFS
8804 test -z "$as_dir" && as_dir=.
8805 for ac_exec_ext in '' $ac_executable_extensions; do
8806 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8807 ac_cv_prog_CROSSCC="$ac_prog"
8808 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8809 break 2
8811 done
8812 done
8813 IFS=$as_save_IFS
8817 CROSSCC=$ac_cv_prog_CROSSCC
8818 if test -n "$CROSSCC"; then
8819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8820 $as_echo "$CROSSCC" >&6; }
8821 else
8822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8823 $as_echo "no" >&6; }
8827 test -n "$CROSSCC" && break
8828 done
8829 test -n "$CROSSCC" || CROSSCC="false"
8831 if test "$CROSSCC" != "false"
8832 then
8833 ac_save_CC="$CC"
8834 CC="$CROSSCC"
8835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8836 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8838 /* end confdefs.h. */
8841 main ()
8845 return 0;
8847 _ACEOF
8848 if ac_fn_c_try_compile "$LINENO"; then :
8849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8850 $as_echo "yes" >&6; }
8851 set x $CROSSCC
8852 shift
8853 while test $# -ge 1
8855 case "$1" in
8856 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8857 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8858 esac
8859 shift
8860 done
8861 else
8862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8863 $as_echo "no" >&6; }
8865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8866 CC="$ac_save_CC"
8871 if test "$ac_cv_header_pthread_h" = "yes"
8872 then
8873 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8874 if test "x$ac_cv_func_pthread_create" = xyes; then :
8876 else
8877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8878 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8879 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8880 $as_echo_n "(cached) " >&6
8881 else
8882 ac_check_lib_save_LIBS=$LIBS
8883 LIBS="-lpthread $LIBS"
8884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8885 /* end confdefs.h. */
8887 /* Override any GCC internal prototype to avoid an error.
8888 Use char because int might match the return type of a GCC
8889 builtin and then its argument prototype would still apply. */
8890 #ifdef __cplusplus
8891 extern "C"
8892 #endif
8893 char pthread_create ();
8895 main ()
8897 return pthread_create ();
8899 return 0;
8901 _ACEOF
8902 if ac_fn_c_try_link "$LINENO"; then :
8903 ac_cv_lib_pthread_pthread_create=yes
8904 else
8905 ac_cv_lib_pthread_pthread_create=no
8907 rm -f core conftest.err conftest.$ac_objext \
8908 conftest$ac_exeext conftest.$ac_ext
8909 LIBS=$ac_check_lib_save_LIBS
8911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8912 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8913 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8914 PTHREAD_LIBS="-lpthread"
8921 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8922 case "x$with_pthread" in
8923 xno) ;;
8924 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8925 Wine cannot support threads without libpthread.
8926 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8927 esac
8931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8932 $as_echo_n "checking for X... " >&6; }
8935 # Check whether --with-x was given.
8936 if test "${with_x+set}" = set; then :
8937 withval=$with_x;
8940 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8941 if test "x$with_x" = xno; then
8942 # The user explicitly disabled X.
8943 have_x=disabled
8944 else
8945 case $x_includes,$x_libraries in #(
8946 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8947 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8948 $as_echo_n "(cached) " >&6
8949 else
8950 # One or both of the vars are not set, and there is no cached value.
8951 ac_x_includes=no ac_x_libraries=no
8952 rm -f -r conftest.dir
8953 if mkdir conftest.dir; then
8954 cd conftest.dir
8955 cat >Imakefile <<'_ACEOF'
8956 incroot:
8957 @echo incroot='${INCROOT}'
8958 usrlibdir:
8959 @echo usrlibdir='${USRLIBDIR}'
8960 libdir:
8961 @echo libdir='${LIBDIR}'
8962 _ACEOF
8963 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8964 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8965 for ac_var in incroot usrlibdir libdir; do
8966 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8967 done
8968 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8969 for ac_extension in a so sl dylib la dll; do
8970 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8971 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8972 ac_im_usrlibdir=$ac_im_libdir; break
8974 done
8975 # Screen out bogus values from the imake configuration. They are
8976 # bogus both because they are the default anyway, and because
8977 # using them would break gcc on systems where it needs fixed includes.
8978 case $ac_im_incroot in
8979 /usr/include) ac_x_includes= ;;
8980 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8981 esac
8982 case $ac_im_usrlibdir in
8983 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8984 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8985 esac
8987 cd ..
8988 rm -f -r conftest.dir
8991 # Standard set of common directories for X headers.
8992 # Check X11 before X11Rn because it is often a symlink to the current release.
8993 ac_x_header_dirs='
8994 /usr/X11/include
8995 /usr/X11R7/include
8996 /usr/X11R6/include
8997 /usr/X11R5/include
8998 /usr/X11R4/include
9000 /usr/include/X11
9001 /usr/include/X11R7
9002 /usr/include/X11R6
9003 /usr/include/X11R5
9004 /usr/include/X11R4
9006 /usr/local/X11/include
9007 /usr/local/X11R7/include
9008 /usr/local/X11R6/include
9009 /usr/local/X11R5/include
9010 /usr/local/X11R4/include
9012 /usr/local/include/X11
9013 /usr/local/include/X11R7
9014 /usr/local/include/X11R6
9015 /usr/local/include/X11R5
9016 /usr/local/include/X11R4
9018 /usr/X386/include
9019 /usr/x386/include
9020 /usr/XFree86/include/X11
9022 /usr/include
9023 /usr/local/include
9024 /usr/unsupported/include
9025 /usr/athena/include
9026 /usr/local/x11r5/include
9027 /usr/lpp/Xamples/include
9029 /usr/openwin/include
9030 /usr/openwin/share/include'
9032 if test "$ac_x_includes" = no; then
9033 # Guess where to find include files, by looking for Xlib.h.
9034 # First, try using that file with no special directory specified.
9035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9036 /* end confdefs.h. */
9037 #include <X11/Xlib.h>
9038 _ACEOF
9039 if ac_fn_c_try_cpp "$LINENO"; then :
9040 # We can compile using X headers with no special include directory.
9041 ac_x_includes=
9042 else
9043 for ac_dir in $ac_x_header_dirs; do
9044 if test -r "$ac_dir/X11/Xlib.h"; then
9045 ac_x_includes=$ac_dir
9046 break
9048 done
9050 rm -f conftest.err conftest.i conftest.$ac_ext
9051 fi # $ac_x_includes = no
9053 if test "$ac_x_libraries" = no; then
9054 # Check for the libraries.
9055 # See if we find them without any special options.
9056 # Don't add to $LIBS permanently.
9057 ac_save_LIBS=$LIBS
9058 LIBS="-lX11 $LIBS"
9059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9060 /* end confdefs.h. */
9061 #include <X11/Xlib.h>
9063 main ()
9065 XrmInitialize ()
9067 return 0;
9069 _ACEOF
9070 if ac_fn_c_try_link "$LINENO"; then :
9071 LIBS=$ac_save_LIBS
9072 # We can link X programs with no special library path.
9073 ac_x_libraries=
9074 else
9075 LIBS=$ac_save_LIBS
9076 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9078 # Don't even attempt the hair of trying to link an X program!
9079 for ac_extension in a so sl dylib la dll; do
9080 if test -r "$ac_dir/libX11.$ac_extension"; then
9081 ac_x_libraries=$ac_dir
9082 break 2
9084 done
9085 done
9087 rm -f core conftest.err conftest.$ac_objext \
9088 conftest$ac_exeext conftest.$ac_ext
9089 fi # $ac_x_libraries = no
9091 case $ac_x_includes,$ac_x_libraries in #(
9092 no,* | *,no | *\'*)
9093 # Didn't find X, or a directory has "'" in its name.
9094 ac_cv_have_x="have_x=no";; #(
9096 # Record where we found X for the cache.
9097 ac_cv_have_x="have_x=yes\
9098 ac_x_includes='$ac_x_includes'\
9099 ac_x_libraries='$ac_x_libraries'"
9100 esac
9102 ;; #(
9103 *) have_x=yes;;
9104 esac
9105 eval "$ac_cv_have_x"
9106 fi # $with_x != no
9108 if test "$have_x" != yes; then
9109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9110 $as_echo "$have_x" >&6; }
9111 no_x=yes
9112 else
9113 # If each of the values was on the command line, it overrides each guess.
9114 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9115 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9116 # Update the cache value to reflect the command line values.
9117 ac_cv_have_x="have_x=yes\
9118 ac_x_includes='$x_includes'\
9119 ac_x_libraries='$x_libraries'"
9120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9121 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9124 if test "$no_x" = yes; then
9125 # Not all programs may use this symbol, but it does not hurt to define it.
9127 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9129 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9130 else
9131 if test -n "$x_includes"; then
9132 X_CFLAGS="$X_CFLAGS -I$x_includes"
9135 # It would also be nice to do this for all -L options, not just this one.
9136 if test -n "$x_libraries"; then
9137 X_LIBS="$X_LIBS -L$x_libraries"
9138 # For Solaris; some versions of Sun CC require a space after -R and
9139 # others require no space. Words are not sufficient . . . .
9140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9141 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9142 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9143 ac_xsave_c_werror_flag=$ac_c_werror_flag
9144 ac_c_werror_flag=yes
9145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9146 /* end confdefs.h. */
9149 main ()
9153 return 0;
9155 _ACEOF
9156 if ac_fn_c_try_link "$LINENO"; then :
9157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9158 $as_echo "no" >&6; }
9159 X_LIBS="$X_LIBS -R$x_libraries"
9160 else
9161 LIBS="$ac_xsave_LIBS -R $x_libraries"
9162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9163 /* end confdefs.h. */
9166 main ()
9170 return 0;
9172 _ACEOF
9173 if ac_fn_c_try_link "$LINENO"; then :
9174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9175 $as_echo "yes" >&6; }
9176 X_LIBS="$X_LIBS -R $x_libraries"
9177 else
9178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9179 $as_echo "neither works" >&6; }
9181 rm -f core conftest.err conftest.$ac_objext \
9182 conftest$ac_exeext conftest.$ac_ext
9184 rm -f core conftest.err conftest.$ac_objext \
9185 conftest$ac_exeext conftest.$ac_ext
9186 ac_c_werror_flag=$ac_xsave_c_werror_flag
9187 LIBS=$ac_xsave_LIBS
9190 # Check for system-dependent libraries X programs must link with.
9191 # Do this before checking for the system-independent R6 libraries
9192 # (-lICE), since we may need -lsocket or whatever for X linking.
9194 if test "$ISC" = yes; then
9195 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9196 else
9197 # Martyn Johnson says this is needed for Ultrix, if the X
9198 # libraries were built with DECnet support. And Karl Berry says
9199 # the Alpha needs dnet_stub (dnet does not exist).
9200 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9202 /* end confdefs.h. */
9204 /* Override any GCC internal prototype to avoid an error.
9205 Use char because int might match the return type of a GCC
9206 builtin and then its argument prototype would still apply. */
9207 #ifdef __cplusplus
9208 extern "C"
9209 #endif
9210 char XOpenDisplay ();
9212 main ()
9214 return XOpenDisplay ();
9216 return 0;
9218 _ACEOF
9219 if ac_fn_c_try_link "$LINENO"; then :
9221 else
9222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9223 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9224 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9225 $as_echo_n "(cached) " >&6
9226 else
9227 ac_check_lib_save_LIBS=$LIBS
9228 LIBS="-ldnet $LIBS"
9229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9230 /* end confdefs.h. */
9232 /* Override any GCC internal prototype to avoid an error.
9233 Use char because int might match the return type of a GCC
9234 builtin and then its argument prototype would still apply. */
9235 #ifdef __cplusplus
9236 extern "C"
9237 #endif
9238 char dnet_ntoa ();
9240 main ()
9242 return dnet_ntoa ();
9244 return 0;
9246 _ACEOF
9247 if ac_fn_c_try_link "$LINENO"; then :
9248 ac_cv_lib_dnet_dnet_ntoa=yes
9249 else
9250 ac_cv_lib_dnet_dnet_ntoa=no
9252 rm -f core conftest.err conftest.$ac_objext \
9253 conftest$ac_exeext conftest.$ac_ext
9254 LIBS=$ac_check_lib_save_LIBS
9256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9257 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9258 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9259 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9262 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9264 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9265 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9266 $as_echo_n "(cached) " >&6
9267 else
9268 ac_check_lib_save_LIBS=$LIBS
9269 LIBS="-ldnet_stub $LIBS"
9270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9271 /* end confdefs.h. */
9273 /* Override any GCC internal prototype to avoid an error.
9274 Use char because int might match the return type of a GCC
9275 builtin and then its argument prototype would still apply. */
9276 #ifdef __cplusplus
9277 extern "C"
9278 #endif
9279 char dnet_ntoa ();
9281 main ()
9283 return dnet_ntoa ();
9285 return 0;
9287 _ACEOF
9288 if ac_fn_c_try_link "$LINENO"; then :
9289 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9290 else
9291 ac_cv_lib_dnet_stub_dnet_ntoa=no
9293 rm -f core conftest.err conftest.$ac_objext \
9294 conftest$ac_exeext conftest.$ac_ext
9295 LIBS=$ac_check_lib_save_LIBS
9297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9298 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9299 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9300 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9305 rm -f core conftest.err conftest.$ac_objext \
9306 conftest$ac_exeext conftest.$ac_ext
9307 LIBS="$ac_xsave_LIBS"
9309 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9310 # to get the SysV transport functions.
9311 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9312 # needs -lnsl.
9313 # The nsl library prevents programs from opening the X display
9314 # on Irix 5.2, according to T.E. Dickey.
9315 # The functions gethostbyname, getservbyname, and inet_addr are
9316 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9317 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9318 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9322 if test $ac_cv_func_gethostbyname = no; then
9323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9324 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9325 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9326 $as_echo_n "(cached) " >&6
9327 else
9328 ac_check_lib_save_LIBS=$LIBS
9329 LIBS="-lnsl $LIBS"
9330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9331 /* end confdefs.h. */
9333 /* Override any GCC internal prototype to avoid an error.
9334 Use char because int might match the return type of a GCC
9335 builtin and then its argument prototype would still apply. */
9336 #ifdef __cplusplus
9337 extern "C"
9338 #endif
9339 char gethostbyname ();
9341 main ()
9343 return gethostbyname ();
9345 return 0;
9347 _ACEOF
9348 if ac_fn_c_try_link "$LINENO"; then :
9349 ac_cv_lib_nsl_gethostbyname=yes
9350 else
9351 ac_cv_lib_nsl_gethostbyname=no
9353 rm -f core conftest.err conftest.$ac_objext \
9354 conftest$ac_exeext conftest.$ac_ext
9355 LIBS=$ac_check_lib_save_LIBS
9357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9358 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9359 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9360 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9363 if test $ac_cv_lib_nsl_gethostbyname = no; then
9364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9365 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9366 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9367 $as_echo_n "(cached) " >&6
9368 else
9369 ac_check_lib_save_LIBS=$LIBS
9370 LIBS="-lbsd $LIBS"
9371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9372 /* end confdefs.h. */
9374 /* Override any GCC internal prototype to avoid an error.
9375 Use char because int might match the return type of a GCC
9376 builtin and then its argument prototype would still apply. */
9377 #ifdef __cplusplus
9378 extern "C"
9379 #endif
9380 char gethostbyname ();
9382 main ()
9384 return gethostbyname ();
9386 return 0;
9388 _ACEOF
9389 if ac_fn_c_try_link "$LINENO"; then :
9390 ac_cv_lib_bsd_gethostbyname=yes
9391 else
9392 ac_cv_lib_bsd_gethostbyname=no
9394 rm -f core conftest.err conftest.$ac_objext \
9395 conftest$ac_exeext conftest.$ac_ext
9396 LIBS=$ac_check_lib_save_LIBS
9398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9399 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9400 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9401 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9407 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9408 # socket/setsockopt and other routines are undefined under SCO ODT
9409 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9410 # on later versions), says Simon Leinen: it contains gethostby*
9411 # variants that don't use the name server (or something). -lsocket
9412 # must be given before -lnsl if both are needed. We assume that
9413 # if connect needs -lnsl, so does gethostbyname.
9414 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9415 if test "x$ac_cv_func_connect" = xyes; then :
9419 if test $ac_cv_func_connect = no; then
9420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9421 $as_echo_n "checking for connect in -lsocket... " >&6; }
9422 if ${ac_cv_lib_socket_connect+:} false; then :
9423 $as_echo_n "(cached) " >&6
9424 else
9425 ac_check_lib_save_LIBS=$LIBS
9426 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9428 /* end confdefs.h. */
9430 /* Override any GCC internal prototype to avoid an error.
9431 Use char because int might match the return type of a GCC
9432 builtin and then its argument prototype would still apply. */
9433 #ifdef __cplusplus
9434 extern "C"
9435 #endif
9436 char connect ();
9438 main ()
9440 return connect ();
9442 return 0;
9444 _ACEOF
9445 if ac_fn_c_try_link "$LINENO"; then :
9446 ac_cv_lib_socket_connect=yes
9447 else
9448 ac_cv_lib_socket_connect=no
9450 rm -f core conftest.err conftest.$ac_objext \
9451 conftest$ac_exeext conftest.$ac_ext
9452 LIBS=$ac_check_lib_save_LIBS
9454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9455 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9456 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9457 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9462 # Guillermo Gomez says -lposix is necessary on A/UX.
9463 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9464 if test "x$ac_cv_func_remove" = xyes; then :
9468 if test $ac_cv_func_remove = no; then
9469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9470 $as_echo_n "checking for remove in -lposix... " >&6; }
9471 if ${ac_cv_lib_posix_remove+:} false; then :
9472 $as_echo_n "(cached) " >&6
9473 else
9474 ac_check_lib_save_LIBS=$LIBS
9475 LIBS="-lposix $LIBS"
9476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9477 /* end confdefs.h. */
9479 /* Override any GCC internal prototype to avoid an error.
9480 Use char because int might match the return type of a GCC
9481 builtin and then its argument prototype would still apply. */
9482 #ifdef __cplusplus
9483 extern "C"
9484 #endif
9485 char remove ();
9487 main ()
9489 return remove ();
9491 return 0;
9493 _ACEOF
9494 if ac_fn_c_try_link "$LINENO"; then :
9495 ac_cv_lib_posix_remove=yes
9496 else
9497 ac_cv_lib_posix_remove=no
9499 rm -f core conftest.err conftest.$ac_objext \
9500 conftest$ac_exeext conftest.$ac_ext
9501 LIBS=$ac_check_lib_save_LIBS
9503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9504 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9505 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9506 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9511 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9512 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9513 if test "x$ac_cv_func_shmat" = xyes; then :
9517 if test $ac_cv_func_shmat = no; then
9518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9519 $as_echo_n "checking for shmat in -lipc... " >&6; }
9520 if ${ac_cv_lib_ipc_shmat+:} false; then :
9521 $as_echo_n "(cached) " >&6
9522 else
9523 ac_check_lib_save_LIBS=$LIBS
9524 LIBS="-lipc $LIBS"
9525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9526 /* end confdefs.h. */
9528 /* Override any GCC internal prototype to avoid an error.
9529 Use char because int might match the return type of a GCC
9530 builtin and then its argument prototype would still apply. */
9531 #ifdef __cplusplus
9532 extern "C"
9533 #endif
9534 char shmat ();
9536 main ()
9538 return shmat ();
9540 return 0;
9542 _ACEOF
9543 if ac_fn_c_try_link "$LINENO"; then :
9544 ac_cv_lib_ipc_shmat=yes
9545 else
9546 ac_cv_lib_ipc_shmat=no
9548 rm -f core conftest.err conftest.$ac_objext \
9549 conftest$ac_exeext conftest.$ac_ext
9550 LIBS=$ac_check_lib_save_LIBS
9552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9553 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9554 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9555 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9561 # Check for libraries that X11R6 Xt/Xaw programs need.
9562 ac_save_LDFLAGS=$LDFLAGS
9563 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9564 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9565 # check for ICE first), but we must link in the order -lSM -lICE or
9566 # we get undefined symbols. So assume we have SM if we have ICE.
9567 # These have to be linked with before -lX11, unlike the other
9568 # libraries we check for below, so use a different variable.
9569 # John Interrante, Karl Berry
9570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9571 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9572 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9573 $as_echo_n "(cached) " >&6
9574 else
9575 ac_check_lib_save_LIBS=$LIBS
9576 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9578 /* end confdefs.h. */
9580 /* Override any GCC internal prototype to avoid an error.
9581 Use char because int might match the return type of a GCC
9582 builtin and then its argument prototype would still apply. */
9583 #ifdef __cplusplus
9584 extern "C"
9585 #endif
9586 char IceConnectionNumber ();
9588 main ()
9590 return IceConnectionNumber ();
9592 return 0;
9594 _ACEOF
9595 if ac_fn_c_try_link "$LINENO"; then :
9596 ac_cv_lib_ICE_IceConnectionNumber=yes
9597 else
9598 ac_cv_lib_ICE_IceConnectionNumber=no
9600 rm -f core conftest.err conftest.$ac_objext \
9601 conftest$ac_exeext conftest.$ac_ext
9602 LIBS=$ac_check_lib_save_LIBS
9604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9605 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9606 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9607 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9610 LDFLAGS=$ac_save_LDFLAGS
9615 if test "$have_x" = "yes"
9616 then
9617 ac_save_CPPFLAGS="$CPPFLAGS"
9618 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9621 $as_echo_n "checking for -lX11... " >&6; }
9622 if ${ac_cv_lib_soname_X11+:} false; then :
9623 $as_echo_n "(cached) " >&6
9624 else
9625 ac_check_soname_save_LIBS=$LIBS
9626 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9628 /* end confdefs.h. */
9630 /* Override any GCC internal prototype to avoid an error.
9631 Use char because int might match the return type of a GCC
9632 builtin and then its argument prototype would still apply. */
9633 #ifdef __cplusplus
9634 extern "C"
9635 #endif
9636 char XCreateWindow ();
9638 main ()
9640 return XCreateWindow ();
9642 return 0;
9644 _ACEOF
9645 if ac_fn_c_try_link "$LINENO"; then :
9646 case "$LIBEXT" in
9647 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9648 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'` ;;
9649 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9650 if ${ac_cv_lib_soname_X11:+false} :; then :
9651 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9652 fi ;;
9653 esac
9655 rm -f core conftest.err conftest.$ac_objext \
9656 conftest$ac_exeext conftest.$ac_ext
9657 LIBS=$ac_check_soname_save_LIBS
9659 if ${ac_cv_lib_soname_X11:+false} :; then :
9660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9661 $as_echo "not found" >&6; }
9663 else
9664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9665 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9667 cat >>confdefs.h <<_ACEOF
9668 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9669 _ACEOF
9673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9674 $as_echo_n "checking for -lXext... " >&6; }
9675 if ${ac_cv_lib_soname_Xext+:} false; then :
9676 $as_echo_n "(cached) " >&6
9677 else
9678 ac_check_soname_save_LIBS=$LIBS
9679 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9681 /* end confdefs.h. */
9683 /* Override any GCC internal prototype to avoid an error.
9684 Use char because int might match the return type of a GCC
9685 builtin and then its argument prototype would still apply. */
9686 #ifdef __cplusplus
9687 extern "C"
9688 #endif
9689 char XextCreateExtension ();
9691 main ()
9693 return XextCreateExtension ();
9695 return 0;
9697 _ACEOF
9698 if ac_fn_c_try_link "$LINENO"; then :
9699 case "$LIBEXT" in
9700 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9701 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'` ;;
9702 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9703 if ${ac_cv_lib_soname_Xext:+false} :; then :
9704 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9705 fi ;;
9706 esac
9708 rm -f core conftest.err conftest.$ac_objext \
9709 conftest$ac_exeext conftest.$ac_ext
9710 LIBS=$ac_check_soname_save_LIBS
9712 if ${ac_cv_lib_soname_Xext:+false} :; then :
9713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9714 $as_echo "not found" >&6; }
9716 else
9717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9718 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9720 cat >>confdefs.h <<_ACEOF
9721 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9722 _ACEOF
9724 X_LIBS="$X_LIBS -lXext"
9726 X_LIBS="$X_LIBS -lX11"
9728 for ac_header in X11/Xlib.h \
9729 X11/XKBlib.h \
9730 X11/Xutil.h \
9731 X11/Xcursor/Xcursor.h \
9732 X11/extensions/shape.h \
9733 X11/extensions/XInput.h \
9734 X11/extensions/XInput2.h \
9735 X11/extensions/XShm.h \
9736 X11/extensions/Xcomposite.h \
9737 X11/extensions/Xinerama.h \
9738 X11/extensions/Xrandr.h \
9739 X11/extensions/Xrender.h \
9740 X11/extensions/xf86vmode.h \
9741 X11/extensions/xf86vmproto.h
9742 do :
9743 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9744 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9745 # include <X11/Xlib.h>
9746 #endif
9747 #ifdef HAVE_X11_XUTIL_H
9748 # include <X11/Xutil.h>
9749 #endif
9751 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9752 cat >>confdefs.h <<_ACEOF
9753 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9754 _ACEOF
9758 done
9761 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9762 then
9763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9764 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9765 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9766 $as_echo_n "(cached) " >&6
9767 else
9768 ac_check_lib_save_LIBS=$LIBS
9769 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9771 /* end confdefs.h. */
9773 /* Override any GCC internal prototype to avoid an error.
9774 Use char because int might match the return type of a GCC
9775 builtin and then its argument prototype would still apply. */
9776 #ifdef __cplusplus
9777 extern "C"
9778 #endif
9779 char XkbQueryExtension ();
9781 main ()
9783 return XkbQueryExtension ();
9785 return 0;
9787 _ACEOF
9788 if ac_fn_c_try_link "$LINENO"; then :
9789 ac_cv_lib_X11_XkbQueryExtension=yes
9790 else
9791 ac_cv_lib_X11_XkbQueryExtension=no
9793 rm -f core conftest.err conftest.$ac_objext \
9794 conftest$ac_exeext conftest.$ac_ext
9795 LIBS=$ac_check_lib_save_LIBS
9797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9798 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9799 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9801 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9807 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9808 then
9809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9810 $as_echo_n "checking for -lXcursor... " >&6; }
9811 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9812 $as_echo_n "(cached) " >&6
9813 else
9814 ac_check_soname_save_LIBS=$LIBS
9815 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9817 /* end confdefs.h. */
9819 /* Override any GCC internal prototype to avoid an error.
9820 Use char because int might match the return type of a GCC
9821 builtin and then its argument prototype would still apply. */
9822 #ifdef __cplusplus
9823 extern "C"
9824 #endif
9825 char XcursorImageLoadCursor ();
9827 main ()
9829 return XcursorImageLoadCursor ();
9831 return 0;
9833 _ACEOF
9834 if ac_fn_c_try_link "$LINENO"; then :
9835 case "$LIBEXT" in
9836 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9837 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'` ;;
9838 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9839 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9840 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9841 fi ;;
9842 esac
9844 rm -f core conftest.err conftest.$ac_objext \
9845 conftest$ac_exeext conftest.$ac_ext
9846 LIBS=$ac_check_soname_save_LIBS
9848 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9850 $as_echo "not found" >&6; }
9852 else
9853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9854 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9856 cat >>confdefs.h <<_ACEOF
9857 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9858 _ACEOF
9863 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9864 case "x$with_xcursor" in
9865 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9866 xno) ;;
9867 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9868 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9869 esac
9872 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9873 then
9874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9875 $as_echo_n "checking for -lXi... " >&6; }
9876 if ${ac_cv_lib_soname_Xi+:} false; then :
9877 $as_echo_n "(cached) " >&6
9878 else
9879 ac_check_soname_save_LIBS=$LIBS
9880 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9882 /* end confdefs.h. */
9884 /* Override any GCC internal prototype to avoid an error.
9885 Use char because int might match the return type of a GCC
9886 builtin and then its argument prototype would still apply. */
9887 #ifdef __cplusplus
9888 extern "C"
9889 #endif
9890 char XOpenDevice ();
9892 main ()
9894 return XOpenDevice ();
9896 return 0;
9898 _ACEOF
9899 if ac_fn_c_try_link "$LINENO"; then :
9900 case "$LIBEXT" in
9901 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9902 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'` ;;
9903 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9904 if ${ac_cv_lib_soname_Xi:+false} :; then :
9905 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9906 fi ;;
9907 esac
9909 rm -f core conftest.err conftest.$ac_objext \
9910 conftest$ac_exeext conftest.$ac_ext
9911 LIBS=$ac_check_soname_save_LIBS
9913 if ${ac_cv_lib_soname_Xi:+false} :; then :
9914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9915 $as_echo "not found" >&6; }
9917 else
9918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9919 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9921 cat >>confdefs.h <<_ACEOF
9922 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9923 _ACEOF
9928 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9929 case "x$with_xinput" in
9930 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9931 xno) ;;
9932 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9933 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9934 esac
9937 if test "x$ac_cv_lib_soname_Xi" != x
9938 then
9939 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9940 case "x$with_xinput2" in
9941 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9942 xno) ;;
9943 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9944 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9945 esac
9949 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9950 then
9951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9952 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9953 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9954 $as_echo_n "(cached) " >&6
9955 else
9956 ac_check_lib_save_LIBS=$LIBS
9957 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9959 /* end confdefs.h. */
9961 /* Override any GCC internal prototype to avoid an error.
9962 Use char because int might match the return type of a GCC
9963 builtin and then its argument prototype would still apply. */
9964 #ifdef __cplusplus
9965 extern "C"
9966 #endif
9967 char XShmQueryExtension ();
9969 main ()
9971 return XShmQueryExtension ();
9973 return 0;
9975 _ACEOF
9976 if ac_fn_c_try_link "$LINENO"; then :
9977 ac_cv_lib_Xext_XShmQueryExtension=yes
9978 else
9979 ac_cv_lib_Xext_XShmQueryExtension=no
9981 rm -f core conftest.err conftest.$ac_objext \
9982 conftest$ac_exeext conftest.$ac_ext
9983 LIBS=$ac_check_lib_save_LIBS
9985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9986 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9987 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9989 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9994 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9995 case "x$with_xshm" in
9996 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9997 xno) ;;
9998 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9999 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10000 esac
10003 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10004 then
10005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10006 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10007 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10008 $as_echo_n "(cached) " >&6
10009 else
10010 ac_check_lib_save_LIBS=$LIBS
10011 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10013 /* end confdefs.h. */
10015 /* Override any GCC internal prototype to avoid an error.
10016 Use char because int might match the return type of a GCC
10017 builtin and then its argument prototype would still apply. */
10018 #ifdef __cplusplus
10019 extern "C"
10020 #endif
10021 char XShapeQueryExtension ();
10023 main ()
10025 return XShapeQueryExtension ();
10027 return 0;
10029 _ACEOF
10030 if ac_fn_c_try_link "$LINENO"; then :
10031 ac_cv_lib_Xext_XShapeQueryExtension=yes
10032 else
10033 ac_cv_lib_Xext_XShapeQueryExtension=no
10035 rm -f core conftest.err conftest.$ac_objext \
10036 conftest$ac_exeext conftest.$ac_ext
10037 LIBS=$ac_check_lib_save_LIBS
10039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10040 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10041 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10043 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10048 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10049 case "x$with_xshape" in
10050 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10051 xno) ;;
10052 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10053 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10054 esac
10057 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10058 then
10059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10060 $as_echo_n "checking for -lXxf86vm... " >&6; }
10061 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10062 $as_echo_n "(cached) " >&6
10063 else
10064 ac_check_soname_save_LIBS=$LIBS
10065 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10067 /* end confdefs.h. */
10069 /* Override any GCC internal prototype to avoid an error.
10070 Use char because int might match the return type of a GCC
10071 builtin and then its argument prototype would still apply. */
10072 #ifdef __cplusplus
10073 extern "C"
10074 #endif
10075 char XF86VidModeQueryExtension ();
10077 main ()
10079 return XF86VidModeQueryExtension ();
10081 return 0;
10083 _ACEOF
10084 if ac_fn_c_try_link "$LINENO"; then :
10085 case "$LIBEXT" in
10086 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10087 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'` ;;
10088 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10089 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10090 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10091 fi ;;
10092 esac
10094 rm -f core conftest.err conftest.$ac_objext \
10095 conftest$ac_exeext conftest.$ac_ext
10096 LIBS=$ac_check_soname_save_LIBS
10098 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10100 $as_echo "not found" >&6; }
10102 else
10103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10104 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10106 cat >>confdefs.h <<_ACEOF
10107 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10108 _ACEOF
10113 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10114 case "x$with_xxf86vm" in
10115 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10116 xno) ;;
10117 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10118 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10119 esac
10122 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10123 then
10124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10125 $as_echo_n "checking for -lXrender... " >&6; }
10126 if ${ac_cv_lib_soname_Xrender+:} false; then :
10127 $as_echo_n "(cached) " >&6
10128 else
10129 ac_check_soname_save_LIBS=$LIBS
10130 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10132 /* end confdefs.h. */
10134 /* Override any GCC internal prototype to avoid an error.
10135 Use char because int might match the return type of a GCC
10136 builtin and then its argument prototype would still apply. */
10137 #ifdef __cplusplus
10138 extern "C"
10139 #endif
10140 char XRenderQueryExtension ();
10142 main ()
10144 return XRenderQueryExtension ();
10146 return 0;
10148 _ACEOF
10149 if ac_fn_c_try_link "$LINENO"; then :
10150 case "$LIBEXT" in
10151 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10152 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'` ;;
10153 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10154 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10155 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10156 fi ;;
10157 esac
10159 rm -f core conftest.err conftest.$ac_objext \
10160 conftest$ac_exeext conftest.$ac_ext
10161 LIBS=$ac_check_soname_save_LIBS
10163 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10165 $as_echo "not found" >&6; }
10167 else
10168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10169 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10171 cat >>confdefs.h <<_ACEOF
10172 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10173 _ACEOF
10175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10176 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10177 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10178 $as_echo_n "(cached) " >&6
10179 else
10180 ac_check_lib_save_LIBS=$LIBS
10181 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10183 /* end confdefs.h. */
10185 /* Override any GCC internal prototype to avoid an error.
10186 Use char because int might match the return type of a GCC
10187 builtin and then its argument prototype would still apply. */
10188 #ifdef __cplusplus
10189 extern "C"
10190 #endif
10191 char XRenderSetPictureTransform ();
10193 main ()
10195 return XRenderSetPictureTransform ();
10197 return 0;
10199 _ACEOF
10200 if ac_fn_c_try_link "$LINENO"; then :
10201 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10202 else
10203 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10205 rm -f core conftest.err conftest.$ac_objext \
10206 conftest$ac_exeext conftest.$ac_ext
10207 LIBS=$ac_check_lib_save_LIBS
10209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10210 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10211 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10213 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10218 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10219 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10220 $as_echo_n "(cached) " >&6
10221 else
10222 ac_check_lib_save_LIBS=$LIBS
10223 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10225 /* end confdefs.h. */
10227 /* Override any GCC internal prototype to avoid an error.
10228 Use char because int might match the return type of a GCC
10229 builtin and then its argument prototype would still apply. */
10230 #ifdef __cplusplus
10231 extern "C"
10232 #endif
10233 char XRenderCreateLinearGradient ();
10235 main ()
10237 return XRenderCreateLinearGradient ();
10239 return 0;
10241 _ACEOF
10242 if ac_fn_c_try_link "$LINENO"; then :
10243 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10244 else
10245 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10247 rm -f core conftest.err conftest.$ac_objext \
10248 conftest$ac_exeext conftest.$ac_ext
10249 LIBS=$ac_check_lib_save_LIBS
10251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10252 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10253 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10255 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10262 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10263 case "x$with_xrender" in
10264 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10265 xno) ;;
10266 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10267 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10268 esac
10271 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10272 then
10273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10274 /* end confdefs.h. */
10275 #include <X11/Xlib.h>
10276 #include <X11/extensions/Xrandr.h>
10278 main ()
10280 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10282 return 0;
10284 _ACEOF
10285 if ac_fn_c_try_compile "$LINENO"; then :
10286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10287 $as_echo_n "checking for -lXrandr... " >&6; }
10288 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10289 $as_echo_n "(cached) " >&6
10290 else
10291 ac_check_soname_save_LIBS=$LIBS
10292 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10294 /* end confdefs.h. */
10296 /* Override any GCC internal prototype to avoid an error.
10297 Use char because int might match the return type of a GCC
10298 builtin and then its argument prototype would still apply. */
10299 #ifdef __cplusplus
10300 extern "C"
10301 #endif
10302 char XRRQueryExtension ();
10304 main ()
10306 return XRRQueryExtension ();
10308 return 0;
10310 _ACEOF
10311 if ac_fn_c_try_link "$LINENO"; then :
10312 case "$LIBEXT" in
10313 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10314 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'` ;;
10315 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10316 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10317 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10318 fi ;;
10319 esac
10321 rm -f core conftest.err conftest.$ac_objext \
10322 conftest$ac_exeext conftest.$ac_ext
10323 LIBS=$ac_check_soname_save_LIBS
10325 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10327 $as_echo "not found" >&6; }
10329 else
10330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10331 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10333 cat >>confdefs.h <<_ACEOF
10334 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10335 _ACEOF
10337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10338 /* end confdefs.h. */
10339 #include <X11/Xlib.h>
10340 #include <X11/extensions/Xrandr.h>
10342 main ()
10344 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10346 return 0;
10348 _ACEOF
10349 if ac_fn_c_try_compile "$LINENO"; then :
10351 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10359 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10360 case "x$with_xrandr" in
10361 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10362 xno) ;;
10363 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10364 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10365 esac
10368 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10369 then
10370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10371 /* end confdefs.h. */
10372 #include <X11/Xlib.h>
10373 #include <X11/extensions/Xinerama.h>
10375 main ()
10377 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10379 return 0;
10381 _ACEOF
10382 if ac_fn_c_try_compile "$LINENO"; then :
10383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10384 $as_echo_n "checking for -lXinerama... " >&6; }
10385 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10386 $as_echo_n "(cached) " >&6
10387 else
10388 ac_check_soname_save_LIBS=$LIBS
10389 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10391 /* end confdefs.h. */
10393 /* Override any GCC internal prototype to avoid an error.
10394 Use char because int might match the return type of a GCC
10395 builtin and then its argument prototype would still apply. */
10396 #ifdef __cplusplus
10397 extern "C"
10398 #endif
10399 char XineramaQueryScreens ();
10401 main ()
10403 return XineramaQueryScreens ();
10405 return 0;
10407 _ACEOF
10408 if ac_fn_c_try_link "$LINENO"; then :
10409 case "$LIBEXT" in
10410 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10411 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'` ;;
10412 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10413 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10414 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10415 fi ;;
10416 esac
10418 rm -f core conftest.err conftest.$ac_objext \
10419 conftest$ac_exeext conftest.$ac_ext
10420 LIBS=$ac_check_soname_save_LIBS
10422 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10424 $as_echo "not found" >&6; }
10426 else
10427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10428 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10430 cat >>confdefs.h <<_ACEOF
10431 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10432 _ACEOF
10437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10439 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10440 case "x$with_xinerama" in
10441 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10442 xno) ;;
10443 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10444 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10445 esac
10448 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10449 then
10450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10451 $as_echo_n "checking for -lXcomposite... " >&6; }
10452 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10453 $as_echo_n "(cached) " >&6
10454 else
10455 ac_check_soname_save_LIBS=$LIBS
10456 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10458 /* end confdefs.h. */
10460 /* Override any GCC internal prototype to avoid an error.
10461 Use char because int might match the return type of a GCC
10462 builtin and then its argument prototype would still apply. */
10463 #ifdef __cplusplus
10464 extern "C"
10465 #endif
10466 char XCompositeRedirectWindow ();
10468 main ()
10470 return XCompositeRedirectWindow ();
10472 return 0;
10474 _ACEOF
10475 if ac_fn_c_try_link "$LINENO"; then :
10476 case "$LIBEXT" in
10477 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10478 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'` ;;
10479 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10480 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10481 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10482 fi ;;
10483 esac
10485 rm -f core conftest.err conftest.$ac_objext \
10486 conftest$ac_exeext conftest.$ac_ext
10487 LIBS=$ac_check_soname_save_LIBS
10489 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10491 $as_echo "not found" >&6; }
10493 else
10494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10495 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10497 cat >>confdefs.h <<_ACEOF
10498 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10499 _ACEOF
10504 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10505 case "x$with_xcomposite" in
10506 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10507 xno) ;;
10508 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10509 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10510 esac
10513 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10514 #include <X11/Xlib.h>
10515 #endif
10517 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10519 cat >>confdefs.h <<_ACEOF
10520 #define HAVE_XICCALLBACK_CALLBACK 1
10521 _ACEOF
10525 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10526 #include <X11/Xlib.h>
10527 #endif
10529 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10531 cat >>confdefs.h <<_ACEOF
10532 #define HAVE_XEVENT_XCOOKIE 1
10533 _ACEOF
10540 opengl_msg=""
10541 if test "x$with_opengl" != "xno"
10542 then
10543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10544 $as_echo_n "checking for -lGL... " >&6; }
10545 if ${ac_cv_lib_soname_GL+:} false; then :
10546 $as_echo_n "(cached) " >&6
10547 else
10548 ac_check_soname_save_LIBS=$LIBS
10549 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10551 /* end confdefs.h. */
10553 /* Override any GCC internal prototype to avoid an error.
10554 Use char because int might match the return type of a GCC
10555 builtin and then its argument prototype would still apply. */
10556 #ifdef __cplusplus
10557 extern "C"
10558 #endif
10559 char glXCreateContext ();
10561 main ()
10563 return glXCreateContext ();
10565 return 0;
10567 _ACEOF
10568 if ac_fn_c_try_link "$LINENO"; then :
10569 case "$LIBEXT" in
10570 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10571 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'` ;;
10572 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10573 if ${ac_cv_lib_soname_GL:+false} :; then :
10574 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10575 fi ;;
10576 esac
10578 rm -f core conftest.err conftest.$ac_objext \
10579 conftest$ac_exeext conftest.$ac_ext
10580 LIBS=$ac_check_soname_save_LIBS
10582 if ${ac_cv_lib_soname_GL:+false} :; then :
10583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10584 $as_echo "not found" >&6; }
10585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10586 $as_echo_n "checking for -lGL... " >&6; }
10587 if ${ac_cv_lib_soname_GL+:} false; then :
10588 $as_echo_n "(cached) " >&6
10589 else
10590 ac_check_soname_save_LIBS=$LIBS
10591 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"
10592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10593 /* end confdefs.h. */
10595 /* Override any GCC internal prototype to avoid an error.
10596 Use char because int might match the return type of a GCC
10597 builtin and then its argument prototype would still apply. */
10598 #ifdef __cplusplus
10599 extern "C"
10600 #endif
10601 char glXCreateContext ();
10603 main ()
10605 return glXCreateContext ();
10607 return 0;
10609 _ACEOF
10610 if ac_fn_c_try_link "$LINENO"; then :
10611 case "$LIBEXT" in
10612 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10613 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'` ;;
10614 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10615 if ${ac_cv_lib_soname_GL:+false} :; then :
10616 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10617 fi ;;
10618 esac
10620 rm -f core conftest.err conftest.$ac_objext \
10621 conftest$ac_exeext conftest.$ac_ext
10622 LIBS=$ac_check_soname_save_LIBS
10624 if ${ac_cv_lib_soname_GL:+false} :; then :
10625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10626 $as_echo "not found" >&6; }
10627 if test -f /usr/X11R6/lib/libGL.a
10628 then
10629 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10630 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10631 else
10632 opengl_msg="No OpenGL library found on this system."
10634 else
10635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10636 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10638 cat >>confdefs.h <<_ACEOF
10639 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10640 _ACEOF
10642 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"
10644 else
10645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10646 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10648 cat >>confdefs.h <<_ACEOF
10649 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10650 _ACEOF
10652 OPENGL_LIBS="-lGL"
10654 if test "x$with_glu" != "xno"
10655 then
10656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10657 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10658 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10659 $as_echo_n "(cached) " >&6
10660 else
10661 ac_check_lib_save_LIBS=$LIBS
10662 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10664 /* end confdefs.h. */
10666 /* Override any GCC internal prototype to avoid an error.
10667 Use char because int might match the return type of a GCC
10668 builtin and then its argument prototype would still apply. */
10669 #ifdef __cplusplus
10670 extern "C"
10671 #endif
10672 char gluLookAt ();
10674 main ()
10676 return gluLookAt ();
10678 return 0;
10680 _ACEOF
10681 if ac_fn_c_try_link "$LINENO"; then :
10682 ac_cv_lib_GLU_gluLookAt=yes
10683 else
10684 ac_cv_lib_GLU_gluLookAt=no
10686 rm -f core conftest.err conftest.$ac_objext \
10687 conftest$ac_exeext conftest.$ac_ext
10688 LIBS=$ac_check_lib_save_LIBS
10690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10691 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10692 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10696 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10697 case "x$with_glu" in
10698 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10699 xno) ;;
10700 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10701 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10702 esac
10706 if test "x$with_osmesa" != "xno"
10707 then
10708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10709 $as_echo_n "checking for -lOSMesa... " >&6; }
10710 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10711 $as_echo_n "(cached) " >&6
10712 else
10713 ac_check_soname_save_LIBS=$LIBS
10714 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10716 /* end confdefs.h. */
10718 /* Override any GCC internal prototype to avoid an error.
10719 Use char because int might match the return type of a GCC
10720 builtin and then its argument prototype would still apply. */
10721 #ifdef __cplusplus
10722 extern "C"
10723 #endif
10724 char glAccum ();
10726 main ()
10728 return glAccum ();
10730 return 0;
10732 _ACEOF
10733 if ac_fn_c_try_link "$LINENO"; then :
10734 case "$LIBEXT" in
10735 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10736 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'` ;;
10737 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10738 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10739 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10740 fi ;;
10741 esac
10743 rm -f core conftest.err conftest.$ac_objext \
10744 conftest$ac_exeext conftest.$ac_ext
10745 LIBS=$ac_check_soname_save_LIBS
10747 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10749 $as_echo "not found" >&6; }
10751 else
10752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10753 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10755 cat >>confdefs.h <<_ACEOF
10756 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10757 _ACEOF
10761 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10762 case "x$with_osmesa" in
10763 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10764 xno) ;;
10765 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10766 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10767 esac
10771 if test -n "$opengl_msg"; then :
10772 case "x$with_opengl" in
10773 x) as_fn_append wine_warnings "|$opengl_msg
10774 OpenGL and Direct3D won't be supported." ;;
10775 xno) ;;
10776 *) as_fn_error $? "$opengl_msg
10777 OpenGL and Direct3D won't be supported.
10778 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10779 esac
10782 CPPFLAGS="$ac_save_CPPFLAGS"
10783 else
10784 X_CFLAGS=""
10785 X_LIBS=""
10786 enable_winex11_drv=${enable_winex11_drv:-no}
10788 if test "x$X_LIBS" = "x"; then :
10789 case "x$with_x" in
10790 xno) ;;
10791 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10792 without X support, which probably isn't what you want. You will need
10793 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10794 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10795 esac
10798 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10800 if test "$ac_cv_header_CL_cl_h" = "yes"
10801 then
10802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10803 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10804 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10805 $as_echo_n "(cached) " >&6
10806 else
10807 ac_check_lib_save_LIBS=$LIBS
10808 LIBS="-lOpenCL $LIBS"
10809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10810 /* end confdefs.h. */
10812 /* Override any GCC internal prototype to avoid an error.
10813 Use char because int might match the return type of a GCC
10814 builtin and then its argument prototype would still apply. */
10815 #ifdef __cplusplus
10816 extern "C"
10817 #endif
10818 char clGetPlatformInfo ();
10820 main ()
10822 return clGetPlatformInfo ();
10824 return 0;
10826 _ACEOF
10827 if ac_fn_c_try_link "$LINENO"; then :
10828 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10829 else
10830 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10832 rm -f core conftest.err conftest.$ac_objext \
10833 conftest$ac_exeext conftest.$ac_ext
10834 LIBS=$ac_check_lib_save_LIBS
10836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10837 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10838 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10839 OPENCL_LIBS="-lOpenCL"
10844 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10845 case "x$with_opencl" in
10846 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10847 xno) ;;
10848 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10849 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10850 esac
10852 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10854 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10855 then
10856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10857 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10858 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10859 $as_echo_n "(cached) " >&6
10860 else
10861 ac_check_lib_save_LIBS=$LIBS
10862 LIBS="-lpcap $LIBS"
10863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10864 /* end confdefs.h. */
10866 /* Override any GCC internal prototype to avoid an error.
10867 Use char because int might match the return type of a GCC
10868 builtin and then its argument prototype would still apply. */
10869 #ifdef __cplusplus
10870 extern "C"
10871 #endif
10872 char pcap_create ();
10874 main ()
10876 return pcap_create ();
10878 return 0;
10880 _ACEOF
10881 if ac_fn_c_try_link "$LINENO"; then :
10882 ac_cv_lib_pcap_pcap_create=yes
10883 else
10884 ac_cv_lib_pcap_pcap_create=no
10886 rm -f core conftest.err conftest.$ac_objext \
10887 conftest$ac_exeext conftest.$ac_ext
10888 LIBS=$ac_check_lib_save_LIBS
10890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10891 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10892 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10893 PCAP_LIBS="-lpcap"
10898 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10899 case "x$with_pcap" in
10900 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10901 xno) ;;
10902 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10903 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10904 esac
10906 test "x$ac_cv_lib_pcap_pcap_create" != xyes && enable_wpcap=${enable_wpcap:-no}
10909 if test "x$with_xml" != "xno"
10910 then
10911 if ${XML2_CFLAGS:+false} :; then :
10912 if ${PKG_CONFIG+:} false; then :
10913 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10916 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
10917 if ${XML2_LIBS:+false} :; then :
10918 if ${PKG_CONFIG+:} false; then :
10919 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10922 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
10923 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10924 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10925 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10926 ac_save_CPPFLAGS=$CPPFLAGS
10927 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10928 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10929 do :
10930 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10931 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10932 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10933 cat >>confdefs.h <<_ACEOF
10934 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10935 _ACEOF
10939 done
10941 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"
10942 then
10943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10944 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10945 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10946 $as_echo_n "(cached) " >&6
10947 else
10948 ac_check_lib_save_LIBS=$LIBS
10949 LIBS="-lxml2 $XML2_LIBS $LIBS"
10950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10951 /* end confdefs.h. */
10953 /* Override any GCC internal prototype to avoid an error.
10954 Use char because int might match the return type of a GCC
10955 builtin and then its argument prototype would still apply. */
10956 #ifdef __cplusplus
10957 extern "C"
10958 #endif
10959 char xmlParseMemory ();
10961 main ()
10963 return xmlParseMemory ();
10965 return 0;
10967 _ACEOF
10968 if ac_fn_c_try_link "$LINENO"; then :
10969 ac_cv_lib_xml2_xmlParseMemory=yes
10970 else
10971 ac_cv_lib_xml2_xmlParseMemory=no
10973 rm -f core conftest.err conftest.$ac_objext \
10974 conftest$ac_exeext conftest.$ac_ext
10975 LIBS=$ac_check_lib_save_LIBS
10977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10978 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10979 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10981 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10983 else
10984 XML2_LIBS=""
10987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10988 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10989 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10990 $as_echo_n "(cached) " >&6
10991 else
10992 ac_check_lib_save_LIBS=$LIBS
10993 LIBS="-lxml2 $XML2_LIBS $LIBS"
10994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10995 /* end confdefs.h. */
10997 /* Override any GCC internal prototype to avoid an error.
10998 Use char because int might match the return type of a GCC
10999 builtin and then its argument prototype would still apply. */
11000 #ifdef __cplusplus
11001 extern "C"
11002 #endif
11003 char xmlReadMemory ();
11005 main ()
11007 return xmlReadMemory ();
11009 return 0;
11011 _ACEOF
11012 if ac_fn_c_try_link "$LINENO"; then :
11013 ac_cv_lib_xml2_xmlReadMemory=yes
11014 else
11015 ac_cv_lib_xml2_xmlReadMemory=no
11017 rm -f core conftest.err conftest.$ac_objext \
11018 conftest$ac_exeext conftest.$ac_ext
11019 LIBS=$ac_check_lib_save_LIBS
11021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11022 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11023 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11025 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11030 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11031 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11032 $as_echo_n "(cached) " >&6
11033 else
11034 ac_check_lib_save_LIBS=$LIBS
11035 LIBS="-lxml2 $XML2_LIBS $LIBS"
11036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11037 /* end confdefs.h. */
11039 /* Override any GCC internal prototype to avoid an error.
11040 Use char because int might match the return type of a GCC
11041 builtin and then its argument prototype would still apply. */
11042 #ifdef __cplusplus
11043 extern "C"
11044 #endif
11045 char xmlNewDocPI ();
11047 main ()
11049 return xmlNewDocPI ();
11051 return 0;
11053 _ACEOF
11054 if ac_fn_c_try_link "$LINENO"; then :
11055 ac_cv_lib_xml2_xmlNewDocPI=yes
11056 else
11057 ac_cv_lib_xml2_xmlNewDocPI=no
11059 rm -f core conftest.err conftest.$ac_objext \
11060 conftest$ac_exeext conftest.$ac_ext
11061 LIBS=$ac_check_lib_save_LIBS
11063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11064 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11065 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11067 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11072 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11073 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11074 $as_echo_n "(cached) " >&6
11075 else
11076 ac_check_lib_save_LIBS=$LIBS
11077 LIBS="-lxml2 $XML2_LIBS $LIBS"
11078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11079 /* end confdefs.h. */
11081 /* Override any GCC internal prototype to avoid an error.
11082 Use char because int might match the return type of a GCC
11083 builtin and then its argument prototype would still apply. */
11084 #ifdef __cplusplus
11085 extern "C"
11086 #endif
11087 char xmlSchemaSetParserStructuredErrors ();
11089 main ()
11091 return xmlSchemaSetParserStructuredErrors ();
11093 return 0;
11095 _ACEOF
11096 if ac_fn_c_try_link "$LINENO"; then :
11097 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11098 else
11099 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11101 rm -f core conftest.err conftest.$ac_objext \
11102 conftest$ac_exeext conftest.$ac_ext
11103 LIBS=$ac_check_lib_save_LIBS
11105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11106 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11107 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11109 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11114 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11115 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11116 $as_echo_n "(cached) " >&6
11117 else
11118 ac_check_lib_save_LIBS=$LIBS
11119 LIBS="-lxml2 $XML2_LIBS $LIBS"
11120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11121 /* end confdefs.h. */
11123 /* Override any GCC internal prototype to avoid an error.
11124 Use char because int might match the return type of a GCC
11125 builtin and then its argument prototype would still apply. */
11126 #ifdef __cplusplus
11127 extern "C"
11128 #endif
11129 char xmlSchemaSetValidStructuredErrors ();
11131 main ()
11133 return xmlSchemaSetValidStructuredErrors ();
11135 return 0;
11137 _ACEOF
11138 if ac_fn_c_try_link "$LINENO"; then :
11139 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11140 else
11141 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11143 rm -f core conftest.err conftest.$ac_objext \
11144 conftest$ac_exeext conftest.$ac_ext
11145 LIBS=$ac_check_lib_save_LIBS
11147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11148 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11149 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11151 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11156 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11157 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11158 $as_echo_n "(cached) " >&6
11159 else
11160 ac_check_lib_save_LIBS=$LIBS
11161 LIBS="-lxml2 $XML2_LIBS $LIBS"
11162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11163 /* end confdefs.h. */
11165 /* Override any GCC internal prototype to avoid an error.
11166 Use char because int might match the return type of a GCC
11167 builtin and then its argument prototype would still apply. */
11168 #ifdef __cplusplus
11169 extern "C"
11170 #endif
11171 char xmlFirstElementChild ();
11173 main ()
11175 return xmlFirstElementChild ();
11177 return 0;
11179 _ACEOF
11180 if ac_fn_c_try_link "$LINENO"; then :
11181 ac_cv_lib_xml2_xmlFirstElementChild=yes
11182 else
11183 ac_cv_lib_xml2_xmlFirstElementChild=no
11185 rm -f core conftest.err conftest.$ac_objext \
11186 conftest$ac_exeext conftest.$ac_ext
11187 LIBS=$ac_check_lib_save_LIBS
11189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11190 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11191 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11193 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11197 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11199 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11201 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11205 else
11206 XML2_CFLAGS=""
11207 XML2_LIBS=""
11209 CPPFLAGS=$ac_save_CPPFLAGS
11210 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11211 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11214 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11215 case "x$with_xml" in
11216 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11217 xno) ;;
11218 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11219 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11220 esac
11223 if test "x$with_xslt" != "xno"
11224 then
11225 if ${XSLT_CFLAGS:+false} :; then :
11226 if ${PKG_CONFIG+:} false; then :
11227 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11230 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11231 if ${XSLT_LIBS:+false} :; then :
11232 if ${PKG_CONFIG+:} false; then :
11233 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11236 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11237 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11238 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11239 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11240 ac_save_CPPFLAGS=$CPPFLAGS
11241 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11242 for ac_header in libxslt/pattern.h libxslt/transform.h
11243 do :
11244 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11245 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11246 # include <libxslt/pattern.h>
11247 #endif
11249 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11250 cat >>confdefs.h <<_ACEOF
11251 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11252 _ACEOF
11256 done
11258 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11259 then
11260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11261 $as_echo_n "checking for -lxslt... " >&6; }
11262 if ${ac_cv_lib_soname_xslt+:} false; then :
11263 $as_echo_n "(cached) " >&6
11264 else
11265 ac_check_soname_save_LIBS=$LIBS
11266 LIBS="-lxslt $XSLT_LIBS $LIBS"
11267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11268 /* end confdefs.h. */
11270 /* Override any GCC internal prototype to avoid an error.
11271 Use char because int might match the return type of a GCC
11272 builtin and then its argument prototype would still apply. */
11273 #ifdef __cplusplus
11274 extern "C"
11275 #endif
11276 char xsltCompilePattern ();
11278 main ()
11280 return xsltCompilePattern ();
11282 return 0;
11284 _ACEOF
11285 if ac_fn_c_try_link "$LINENO"; then :
11286 case "$LIBEXT" in
11287 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11288 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'` ;;
11289 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11290 if ${ac_cv_lib_soname_xslt:+false} :; then :
11291 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11292 fi ;;
11293 esac
11295 rm -f core conftest.err conftest.$ac_objext \
11296 conftest$ac_exeext conftest.$ac_ext
11297 LIBS=$ac_check_soname_save_LIBS
11299 if ${ac_cv_lib_soname_xslt:+false} :; then :
11300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11301 $as_echo "not found" >&6; }
11303 else
11304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11305 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11307 cat >>confdefs.h <<_ACEOF
11308 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11309 _ACEOF
11313 else
11314 XSLT_CFLAGS=""
11316 CPPFLAGS=$ac_save_CPPFLAGS
11317 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11318 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11321 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11322 case "x$with_xslt" in
11323 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11324 xno) ;;
11325 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11326 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11327 esac
11330 if test "x$with_dbus" != "xno"
11331 then
11332 if ${DBUS_CFLAGS:+false} :; then :
11333 if ${PKG_CONFIG+:} false; then :
11334 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11338 if ${DBUS_LIBS:+false} :; then :
11339 if ${PKG_CONFIG+:} false; then :
11340 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11345 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11346 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11347 ac_save_CPPFLAGS=$CPPFLAGS
11348 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11349 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11350 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11352 $as_echo_n "checking for -ldbus-1... " >&6; }
11353 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11354 $as_echo_n "(cached) " >&6
11355 else
11356 ac_check_soname_save_LIBS=$LIBS
11357 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11359 /* end confdefs.h. */
11361 /* Override any GCC internal prototype to avoid an error.
11362 Use char because int might match the return type of a GCC
11363 builtin and then its argument prototype would still apply. */
11364 #ifdef __cplusplus
11365 extern "C"
11366 #endif
11367 char dbus_connection_close ();
11369 main ()
11371 return dbus_connection_close ();
11373 return 0;
11375 _ACEOF
11376 if ac_fn_c_try_link "$LINENO"; then :
11377 case "$LIBEXT" in
11378 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11379 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'` ;;
11380 *) 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'`
11381 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11382 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11383 fi ;;
11384 esac
11386 rm -f core conftest.err conftest.$ac_objext \
11387 conftest$ac_exeext conftest.$ac_ext
11388 LIBS=$ac_check_soname_save_LIBS
11390 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11392 $as_echo "not found" >&6; }
11393 DBUS_CFLAGS=""
11394 else
11395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11396 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11398 cat >>confdefs.h <<_ACEOF
11399 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11400 _ACEOF
11404 else
11405 DBUS_CFLAGS=""
11409 CPPFLAGS=$ac_save_CPPFLAGS
11410 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11411 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11414 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11415 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11416 case "x$with_dbus" in
11417 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11418 xno) ;;
11419 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11420 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11421 esac
11424 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11425 then
11426 if ${HAL_CFLAGS:+false} :; then :
11427 if ${PKG_CONFIG+:} false; then :
11428 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11432 if ${HAL_LIBS:+false} :; then :
11433 if ${PKG_CONFIG+:} false; then :
11434 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11438 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11439 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11440 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11441 ac_save_CPPFLAGS=$CPPFLAGS
11442 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11443 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11444 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11446 $as_echo_n "checking for -lhal... " >&6; }
11447 if ${ac_cv_lib_soname_hal+:} false; then :
11448 $as_echo_n "(cached) " >&6
11449 else
11450 ac_check_soname_save_LIBS=$LIBS
11451 LIBS="-lhal $HAL_LIBS $LIBS"
11452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11453 /* end confdefs.h. */
11455 /* Override any GCC internal prototype to avoid an error.
11456 Use char because int might match the return type of a GCC
11457 builtin and then its argument prototype would still apply. */
11458 #ifdef __cplusplus
11459 extern "C"
11460 #endif
11461 char libhal_ctx_new ();
11463 main ()
11465 return libhal_ctx_new ();
11467 return 0;
11469 _ACEOF
11470 if ac_fn_c_try_link "$LINENO"; then :
11471 case "$LIBEXT" in
11472 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11473 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'` ;;
11474 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11475 if ${ac_cv_lib_soname_hal:+false} :; then :
11476 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11477 fi ;;
11478 esac
11480 rm -f core conftest.err conftest.$ac_objext \
11481 conftest$ac_exeext conftest.$ac_ext
11482 LIBS=$ac_check_soname_save_LIBS
11484 if ${ac_cv_lib_soname_hal:+false} :; then :
11485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11486 $as_echo "not found" >&6; }
11487 HAL_CFLAGS=""
11488 else
11489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11490 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11492 cat >>confdefs.h <<_ACEOF
11493 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11494 _ACEOF
11498 else
11499 HAL_CFLAGS=""
11503 CPPFLAGS=$ac_save_CPPFLAGS
11504 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11505 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11507 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11508 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11509 case "x$with_hal" in
11510 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11511 xno) ;;
11512 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11513 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11514 esac
11518 if test "x$with_gnutls" != "xno"
11519 then
11520 if ${GNUTLS_CFLAGS:+false} :; then :
11521 if ${PKG_CONFIG+:} false; then :
11522 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11526 if ${GNUTLS_LIBS:+false} :; then :
11527 if ${PKG_CONFIG+:} false; then :
11528 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11533 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11534 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11535 ac_save_CPPFLAGS=$CPPFLAGS
11536 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11537 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11538 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11540 /* end confdefs.h. */
11541 #include <gnutls/gnutls.h>
11542 #include <gnutls/crypto.h>
11544 main ()
11546 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11548 return 0;
11550 _ACEOF
11551 if ac_fn_c_try_compile "$LINENO"; then :
11552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11553 $as_echo_n "checking for -lgnutls... " >&6; }
11554 if ${ac_cv_lib_soname_gnutls+:} false; then :
11555 $as_echo_n "(cached) " >&6
11556 else
11557 ac_check_soname_save_LIBS=$LIBS
11558 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11560 /* end confdefs.h. */
11562 /* Override any GCC internal prototype to avoid an error.
11563 Use char because int might match the return type of a GCC
11564 builtin and then its argument prototype would still apply. */
11565 #ifdef __cplusplus
11566 extern "C"
11567 #endif
11568 char gnutls_global_init ();
11570 main ()
11572 return gnutls_global_init ();
11574 return 0;
11576 _ACEOF
11577 if ac_fn_c_try_link "$LINENO"; then :
11578 case "$LIBEXT" in
11579 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11580 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'` ;;
11581 *) 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'`
11582 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11583 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'`
11584 fi ;;
11585 esac
11587 rm -f core conftest.err conftest.$ac_objext \
11588 conftest$ac_exeext conftest.$ac_ext
11589 LIBS=$ac_check_soname_save_LIBS
11591 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11593 $as_echo "not found" >&6; }
11594 GNUTLS_CFLAGS=""
11595 else
11596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11597 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11599 cat >>confdefs.h <<_ACEOF
11600 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11601 _ACEOF
11605 ac_wine_check_funcs_save_LIBS="$LIBS"
11606 LIBS="$LIBS $GNUTLS_LIBS"
11607 for ac_func in gnutls_hash
11608 do :
11609 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11610 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11611 cat >>confdefs.h <<_ACEOF
11612 #define HAVE_GNUTLS_HASH 1
11613 _ACEOF
11615 else
11616 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11618 done
11620 LIBS="$ac_wine_check_funcs_save_LIBS"
11622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11623 else
11624 GNUTLS_CFLAGS=""
11628 CPPFLAGS=$ac_save_CPPFLAGS
11629 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11630 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11633 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11634 case "x$with_gnutls" in
11635 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11636 xno) ;;
11637 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11638 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11639 esac
11642 CURSES_LIBS=""
11643 if test "$ac_cv_header_ncurses_h" = "yes"
11644 then
11645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11646 $as_echo_n "checking for -lncurses... " >&6; }
11647 if ${ac_cv_lib_soname_ncurses+:} false; then :
11648 $as_echo_n "(cached) " >&6
11649 else
11650 ac_check_soname_save_LIBS=$LIBS
11651 LIBS="-lncurses $LIBS"
11652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11653 /* end confdefs.h. */
11655 /* Override any GCC internal prototype to avoid an error.
11656 Use char because int might match the return type of a GCC
11657 builtin and then its argument prototype would still apply. */
11658 #ifdef __cplusplus
11659 extern "C"
11660 #endif
11661 char waddch ();
11663 main ()
11665 return waddch ();
11667 return 0;
11669 _ACEOF
11670 if ac_fn_c_try_link "$LINENO"; then :
11671 case "$LIBEXT" in
11672 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11673 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'` ;;
11674 *) 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'`
11675 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11676 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11677 fi ;;
11678 esac
11680 rm -f core conftest.err conftest.$ac_objext \
11681 conftest$ac_exeext conftest.$ac_ext
11682 LIBS=$ac_check_soname_save_LIBS
11684 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11686 $as_echo "not found" >&6; }
11688 else
11689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11690 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11692 cat >>confdefs.h <<_ACEOF
11693 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11694 _ACEOF
11696 CURSES_LIBS="-lncurses"
11698 elif test "$ac_cv_header_curses_h" = "yes"
11699 then
11700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11701 $as_echo_n "checking for -lcurses... " >&6; }
11702 if ${ac_cv_lib_soname_curses+:} false; then :
11703 $as_echo_n "(cached) " >&6
11704 else
11705 ac_check_soname_save_LIBS=$LIBS
11706 LIBS="-lcurses $LIBS"
11707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11708 /* end confdefs.h. */
11710 /* Override any GCC internal prototype to avoid an error.
11711 Use char because int might match the return type of a GCC
11712 builtin and then its argument prototype would still apply. */
11713 #ifdef __cplusplus
11714 extern "C"
11715 #endif
11716 char waddch ();
11718 main ()
11720 return waddch ();
11722 return 0;
11724 _ACEOF
11725 if ac_fn_c_try_link "$LINENO"; then :
11726 case "$LIBEXT" in
11727 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11728 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'` ;;
11729 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11730 if ${ac_cv_lib_soname_curses:+false} :; then :
11731 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11732 fi ;;
11733 esac
11735 rm -f core conftest.err conftest.$ac_objext \
11736 conftest$ac_exeext conftest.$ac_ext
11737 LIBS=$ac_check_soname_save_LIBS
11739 if ${ac_cv_lib_soname_curses:+false} :; then :
11740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11741 $as_echo "not found" >&6; }
11743 else
11744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11745 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11747 cat >>confdefs.h <<_ACEOF
11748 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11749 _ACEOF
11751 CURSES_LIBS="-lcurses"
11754 ac_save_LIBS="$LIBS"
11755 LIBS="$LIBS $CURSES_LIBS"
11756 for ac_func in mousemask
11757 do :
11758 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11759 if test "x$ac_cv_func_mousemask" = xyes; then :
11760 cat >>confdefs.h <<_ACEOF
11761 #define HAVE_MOUSEMASK 1
11762 _ACEOF
11765 done
11767 LIBS="$ac_save_LIBS"
11768 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11769 case "x$with_curses" in
11770 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11771 xno) ;;
11772 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11773 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11774 esac
11777 if test "x$with_sane" != "xno"
11778 then
11779 if ${SANE_CFLAGS:+false} :; then :
11780 if ${PKG_CONFIG+:} false; then :
11781 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11784 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11785 if ${SANE_LIBS:+false} :; then :
11786 if ${PKG_CONFIG+:} false; then :
11787 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11790 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11792 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11793 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11794 ac_save_CPPFLAGS=$CPPFLAGS
11795 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11796 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11797 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11799 $as_echo_n "checking for -lsane... " >&6; }
11800 if ${ac_cv_lib_soname_sane+:} false; then :
11801 $as_echo_n "(cached) " >&6
11802 else
11803 ac_check_soname_save_LIBS=$LIBS
11804 LIBS="-lsane $SANE_LIBS $LIBS"
11805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11806 /* end confdefs.h. */
11808 /* Override any GCC internal prototype to avoid an error.
11809 Use char because int might match the return type of a GCC
11810 builtin and then its argument prototype would still apply. */
11811 #ifdef __cplusplus
11812 extern "C"
11813 #endif
11814 char sane_init ();
11816 main ()
11818 return sane_init ();
11820 return 0;
11822 _ACEOF
11823 if ac_fn_c_try_link "$LINENO"; then :
11824 case "$LIBEXT" in
11825 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11826 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'` ;;
11827 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11828 if ${ac_cv_lib_soname_sane:+false} :; then :
11829 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11830 fi ;;
11831 esac
11833 rm -f core conftest.err conftest.$ac_objext \
11834 conftest$ac_exeext conftest.$ac_ext
11835 LIBS=$ac_check_soname_save_LIBS
11837 if ${ac_cv_lib_soname_sane:+false} :; then :
11838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11839 $as_echo "not found" >&6; }
11840 SANE_CFLAGS=""
11841 else
11842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11843 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11845 cat >>confdefs.h <<_ACEOF
11846 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11847 _ACEOF
11851 else
11852 SANE_CFLAGS=""
11856 CPPFLAGS=$ac_save_CPPFLAGS
11857 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11858 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11861 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11862 case "x$with_sane" in
11863 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11864 xno) ;;
11865 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11866 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11867 esac
11870 if test "x$with_v4l" != "xno"
11871 then
11872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11873 $as_echo_n "checking for -lv4l1... " >&6; }
11874 if ${ac_cv_lib_soname_v4l1+:} false; then :
11875 $as_echo_n "(cached) " >&6
11876 else
11877 ac_check_soname_save_LIBS=$LIBS
11878 LIBS="-lv4l1 $LIBS"
11879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11880 /* end confdefs.h. */
11882 /* Override any GCC internal prototype to avoid an error.
11883 Use char because int might match the return type of a GCC
11884 builtin and then its argument prototype would still apply. */
11885 #ifdef __cplusplus
11886 extern "C"
11887 #endif
11888 char v4l1_open ();
11890 main ()
11892 return v4l1_open ();
11894 return 0;
11896 _ACEOF
11897 if ac_fn_c_try_link "$LINENO"; then :
11898 case "$LIBEXT" in
11899 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11900 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'` ;;
11901 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11902 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11903 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11904 fi ;;
11905 esac
11907 rm -f core conftest.err conftest.$ac_objext \
11908 conftest$ac_exeext conftest.$ac_ext
11909 LIBS=$ac_check_soname_save_LIBS
11911 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11913 $as_echo "not found" >&6; }
11915 else
11916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11917 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11919 cat >>confdefs.h <<_ACEOF
11920 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11921 _ACEOF
11926 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11927 case "x$with_v4l" in
11928 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11929 xno) ;;
11930 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11931 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11932 esac
11935 if test "x$with_gphoto" != "xno"
11936 then
11937 if ${GPHOTO2_CFLAGS:+false} :; then :
11938 if ${PKG_CONFIG+:} false; then :
11939 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11942 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
11943 if ${GPHOTO2_LIBS:+false} :; then :
11944 if ${PKG_CONFIG+:} false; then :
11945 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11948 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
11949 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11950 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11951 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11952 ac_save_CPPFLAGS=$CPPFLAGS
11953 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11954 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11955 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11957 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11958 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11959 $as_echo_n "(cached) " >&6
11960 else
11961 ac_check_lib_save_LIBS=$LIBS
11962 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11964 /* end confdefs.h. */
11966 /* Override any GCC internal prototype to avoid an error.
11967 Use char because int might match the return type of a GCC
11968 builtin and then its argument prototype would still apply. */
11969 #ifdef __cplusplus
11970 extern "C"
11971 #endif
11972 char gp_camera_new ();
11974 main ()
11976 return gp_camera_new ();
11978 return 0;
11980 _ACEOF
11981 if ac_fn_c_try_link "$LINENO"; then :
11982 ac_cv_lib_gphoto2_gp_camera_new=yes
11983 else
11984 ac_cv_lib_gphoto2_gp_camera_new=no
11986 rm -f core conftest.err conftest.$ac_objext \
11987 conftest$ac_exeext conftest.$ac_ext
11988 LIBS=$ac_check_lib_save_LIBS
11990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11991 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11992 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11994 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11996 else
11997 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12000 else
12001 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12005 CPPFLAGS=$ac_save_CPPFLAGS
12006 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12007 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12009 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12010 if ${PKG_CONFIG+:} false; then :
12011 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12014 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12015 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12016 if ${PKG_CONFIG+:} false; then :
12017 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12020 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12021 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12022 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12023 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12024 ac_save_CPPFLAGS=$CPPFLAGS
12025 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12026 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12027 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12029 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12030 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12031 $as_echo_n "(cached) " >&6
12032 else
12033 ac_check_lib_save_LIBS=$LIBS
12034 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12036 /* end confdefs.h. */
12038 /* Override any GCC internal prototype to avoid an error.
12039 Use char because int might match the return type of a GCC
12040 builtin and then its argument prototype would still apply. */
12041 #ifdef __cplusplus
12042 extern "C"
12043 #endif
12044 char gp_port_info_list_new ();
12046 main ()
12048 return gp_port_info_list_new ();
12050 return 0;
12052 _ACEOF
12053 if ac_fn_c_try_link "$LINENO"; then :
12054 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12055 else
12056 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12058 rm -f core conftest.err conftest.$ac_objext \
12059 conftest$ac_exeext conftest.$ac_ext
12060 LIBS=$ac_check_lib_save_LIBS
12062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12063 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12064 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12066 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12068 else
12069 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12072 else
12073 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12077 CPPFLAGS=$ac_save_CPPFLAGS
12078 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12079 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12082 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12083 case "x$with_gphoto" in
12084 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12085 xno) ;;
12086 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12087 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12088 esac
12090 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12091 case "x$with_gphoto" in
12092 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12093 xno) ;;
12094 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12095 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12096 esac
12100 if test "$ac_cv_header_resolv_h" = "yes"
12101 then
12102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12103 $as_echo_n "checking for resolver library... " >&6; }
12104 if ${ac_cv_have_resolv+:} false; then :
12105 $as_echo_n "(cached) " >&6
12106 else
12107 ac_save_LIBS="$LIBS"
12108 for lib in '' -lresolv
12110 LIBS="$lib $ac_save_LIBS"
12111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12112 /* end confdefs.h. */
12113 #ifdef HAVE_NETINET_IN_H
12114 #include <netinet/in.h>
12115 #endif
12116 #include <resolv.h>
12118 main ()
12120 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12122 return 0;
12124 _ACEOF
12125 if ac_fn_c_try_link "$LINENO"; then :
12126 ac_cv_have_resolv=${lib:-"none required"}
12127 else
12128 ac_cv_have_resolv="not found"
12130 rm -f core conftest.err conftest.$ac_objext \
12131 conftest$ac_exeext conftest.$ac_ext
12132 test "x$ac_cv_have_resolv" = "xnot found" || break
12133 done
12134 LIBS="$ac_save_LIBS"
12136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12137 $as_echo "$ac_cv_have_resolv" >&6; }
12139 case "$ac_cv_have_resolv" in
12140 "not found") ;;
12141 "none required")
12143 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12146 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12148 RESOLV_LIBS=$ac_cv_have_resolv
12150 esac
12153 if test "x$with_cms" != "xno"
12154 then
12155 if ${LCMS2_CFLAGS:+false} :; then :
12156 if ${PKG_CONFIG+:} false; then :
12157 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12161 if ${LCMS2_LIBS:+false} :; then :
12162 if ${PKG_CONFIG+:} false; then :
12163 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12167 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12168 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12169 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12170 ac_save_CPPFLAGS=$CPPFLAGS
12171 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12172 for ac_header in lcms2.h
12173 do :
12174 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12175 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12176 cat >>confdefs.h <<_ACEOF
12177 #define HAVE_LCMS2_H 1
12178 _ACEOF
12182 done
12184 if test "$ac_cv_header_lcms2_h" = "yes"
12185 then
12186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12187 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12188 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12189 $as_echo_n "(cached) " >&6
12190 else
12191 ac_check_lib_save_LIBS=$LIBS
12192 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12194 /* end confdefs.h. */
12196 /* Override any GCC internal prototype to avoid an error.
12197 Use char because int might match the return type of a GCC
12198 builtin and then its argument prototype would still apply. */
12199 #ifdef __cplusplus
12200 extern "C"
12201 #endif
12202 char cmsOpenProfileFromFile ();
12204 main ()
12206 return cmsOpenProfileFromFile ();
12208 return 0;
12210 _ACEOF
12211 if ac_fn_c_try_link "$LINENO"; then :
12212 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12213 else
12214 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12216 rm -f core conftest.err conftest.$ac_objext \
12217 conftest$ac_exeext conftest.$ac_ext
12218 LIBS=$ac_check_lib_save_LIBS
12220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12221 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12222 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12224 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12226 else
12227 LCMS2_LIBS=""
12230 else
12231 LCMS2_CFLAGS=""
12232 LCMS2_LIBS=""
12234 CPPFLAGS=$ac_save_CPPFLAGS
12235 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12236 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12239 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12240 case "x$with_cms" in
12241 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12242 xno) ;;
12243 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12244 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12245 esac
12248 if test "x$with_freetype" != "xno"
12249 then
12250 if ${FREETYPE_CFLAGS:+false} :; then :
12251 if ${PKG_CONFIG+:} false; then :
12252 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12255 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12256 if ${FREETYPE_LIBS:+false} :; then :
12257 if ${PKG_CONFIG+:} false; then :
12258 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12261 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12262 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12263 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12264 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12265 ac_save_CPPFLAGS=$CPPFLAGS
12266 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12267 for ac_header in ft2build.h
12268 do :
12269 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12270 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12271 cat >>confdefs.h <<_ACEOF
12272 #define HAVE_FT2BUILD_H 1
12273 _ACEOF
12277 done
12279 if test "$ac_cv_header_ft2build_h" = "yes"
12280 then
12281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12282 $as_echo_n "checking for -lfreetype... " >&6; }
12283 if ${ac_cv_lib_soname_freetype+:} false; then :
12284 $as_echo_n "(cached) " >&6
12285 else
12286 ac_check_soname_save_LIBS=$LIBS
12287 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12289 /* end confdefs.h. */
12291 /* Override any GCC internal prototype to avoid an error.
12292 Use char because int might match the return type of a GCC
12293 builtin and then its argument prototype would still apply. */
12294 #ifdef __cplusplus
12295 extern "C"
12296 #endif
12297 char FT_Init_FreeType ();
12299 main ()
12301 return FT_Init_FreeType ();
12303 return 0;
12305 _ACEOF
12306 if ac_fn_c_try_link "$LINENO"; then :
12307 case "$LIBEXT" in
12308 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12309 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'` ;;
12310 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12311 if ${ac_cv_lib_soname_freetype:+false} :; then :
12312 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12313 fi ;;
12314 esac
12316 rm -f core conftest.err conftest.$ac_objext \
12317 conftest$ac_exeext conftest.$ac_ext
12318 LIBS=$ac_check_soname_save_LIBS
12320 if ${ac_cv_lib_soname_freetype:+false} :; then :
12321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12322 $as_echo "not found" >&6; }
12323 FREETYPE_LIBS=""
12324 else
12325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12326 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12328 cat >>confdefs.h <<_ACEOF
12329 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12330 _ACEOF
12333 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12335 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12336 #include FT_MODULE_H
12338 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12340 cat >>confdefs.h <<_ACEOF
12341 #define HAVE_FT_TRUETYPEENGINETYPE 1
12342 _ACEOF
12348 else
12349 FREETYPE_CFLAGS=""
12350 FREETYPE_LIBS=""
12352 CPPFLAGS=$ac_save_CPPFLAGS
12353 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12354 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12357 if test "x$ac_cv_lib_soname_freetype" = x; then :
12358 case "x$with_freetype" in
12359 xno) ;;
12360 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12361 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12362 esac
12364 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
12366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12367 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12368 if ${ac_cv_c_ppdev+:} false; then :
12369 $as_echo_n "(cached) " >&6
12370 else
12371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12372 /* end confdefs.h. */
12373 #ifdef HAVE_SYS_IOCTL_H
12374 # include <sys/ioctl.h>
12375 #endif
12376 #include <linux/ppdev.h>
12378 main ()
12380 ioctl (1,PPCLAIM,0)
12382 return 0;
12384 _ACEOF
12385 if ac_fn_c_try_compile "$LINENO"; then :
12386 ac_cv_c_ppdev="yes"
12387 else
12388 ac_cv_c_ppdev="no"
12390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12393 $as_echo "$ac_cv_c_ppdev" >&6; }
12394 if test "$ac_cv_c_ppdev" = "yes"
12395 then
12397 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12401 ac_wine_check_funcs_save_LIBS="$LIBS"
12402 LIBS="$LIBS $PTHREAD_LIBS"
12403 for ac_func in \
12404 pthread_attr_get_np \
12405 pthread_getattr_np \
12406 pthread_getthreadid_np \
12407 pthread_get_stackaddr_np \
12408 pthread_get_stacksize_np
12409 do :
12410 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12411 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12412 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12413 cat >>confdefs.h <<_ACEOF
12414 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12415 _ACEOF
12418 done
12420 LIBS="$ac_wine_check_funcs_save_LIBS"
12422 if test "$ac_cv_header_zlib_h" = "yes"
12423 then
12424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12425 $as_echo_n "checking for inflate in -lz... " >&6; }
12426 if ${ac_cv_lib_z_inflate+:} false; then :
12427 $as_echo_n "(cached) " >&6
12428 else
12429 ac_check_lib_save_LIBS=$LIBS
12430 LIBS="-lz $LIBS"
12431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12432 /* end confdefs.h. */
12434 /* Override any GCC internal prototype to avoid an error.
12435 Use char because int might match the return type of a GCC
12436 builtin and then its argument prototype would still apply. */
12437 #ifdef __cplusplus
12438 extern "C"
12439 #endif
12440 char inflate ();
12442 main ()
12444 return inflate ();
12446 return 0;
12448 _ACEOF
12449 if ac_fn_c_try_link "$LINENO"; then :
12450 ac_cv_lib_z_inflate=yes
12451 else
12452 ac_cv_lib_z_inflate=no
12454 rm -f core conftest.err conftest.$ac_objext \
12455 conftest$ac_exeext conftest.$ac_ext
12456 LIBS=$ac_check_lib_save_LIBS
12458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12459 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12460 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12462 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12464 Z_LIBS="-lz"
12469 if test "x$Z_LIBS" = "x"; then :
12470 case "x$with_zlib" in
12471 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12472 xno) ;;
12473 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12474 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12475 esac
12478 if test "x$enable_tools" != xno
12479 then
12480 if test "$ac_cv_header_gettext_po_h" = "yes"
12481 then
12482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12483 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12484 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12485 $as_echo_n "(cached) " >&6
12486 else
12487 ac_check_lib_save_LIBS=$LIBS
12488 LIBS="-lgettextpo $LIBS"
12489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12490 /* end confdefs.h. */
12492 /* Override any GCC internal prototype to avoid an error.
12493 Use char because int might match the return type of a GCC
12494 builtin and then its argument prototype would still apply. */
12495 #ifdef __cplusplus
12496 extern "C"
12497 #endif
12498 char po_message_msgctxt ();
12500 main ()
12502 return po_message_msgctxt ();
12504 return 0;
12506 _ACEOF
12507 if ac_fn_c_try_link "$LINENO"; then :
12508 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12509 else
12510 ac_cv_lib_gettextpo_po_message_msgctxt=no
12512 rm -f core conftest.err conftest.$ac_objext \
12513 conftest$ac_exeext conftest.$ac_ext
12514 LIBS=$ac_check_lib_save_LIBS
12516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12517 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12518 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12520 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12522 GETTEXTPO_LIBS="-lgettextpo"
12527 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12528 case "x$with_gettextpo" in
12529 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12530 xno) ;;
12531 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12532 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12533 esac
12537 if test "x$with_pulse" != "xno";
12538 then
12539 if ${PULSE_CFLAGS:+false} :; then :
12540 if ${PKG_CONFIG+:} false; then :
12541 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12545 if ${PULSE_LIBS:+false} :; then :
12546 if ${PKG_CONFIG+:} false; then :
12547 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12552 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12553 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12554 ac_save_CPPFLAGS=$CPPFLAGS
12555 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12556 for ac_header in pulse/pulseaudio.h
12557 do :
12558 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12559 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12560 cat >>confdefs.h <<_ACEOF
12561 #define HAVE_PULSE_PULSEAUDIO_H 1
12562 _ACEOF
12563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12564 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12565 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12566 $as_echo_n "(cached) " >&6
12567 else
12568 ac_check_lib_save_LIBS=$LIBS
12569 LIBS="-lpulse $PULSE_LIBS $LIBS"
12570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12571 /* end confdefs.h. */
12573 /* Override any GCC internal prototype to avoid an error.
12574 Use char because int might match the return type of a GCC
12575 builtin and then its argument prototype would still apply. */
12576 #ifdef __cplusplus
12577 extern "C"
12578 #endif
12579 char pa_stream_is_corked ();
12581 main ()
12583 return pa_stream_is_corked ();
12585 return 0;
12587 _ACEOF
12588 if ac_fn_c_try_link "$LINENO"; then :
12589 ac_cv_lib_pulse_pa_stream_is_corked=yes
12590 else
12591 ac_cv_lib_pulse_pa_stream_is_corked=no
12593 rm -f core conftest.err conftest.$ac_objext \
12594 conftest$ac_exeext conftest.$ac_ext
12595 LIBS=$ac_check_lib_save_LIBS
12597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12598 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12599 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12601 else
12602 PULSE_LIBS=""
12605 else
12606 PULSE_LIBS=""
12609 done
12611 CPPFLAGS=$ac_save_CPPFLAGS
12612 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12613 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12616 if test -z "$PULSE_LIBS"; then :
12617 case "x$with_pulse" in
12618 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12619 xno) ;;
12620 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12621 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12622 esac
12624 test -n "$PULSE_LIBS" || enable_winepulse_drv=${enable_winepulse_drv:-no}
12626 if test "x$with_gstreamer" != "xno"
12627 then
12628 if ${GSTREAMER_CFLAGS:+false} :; then :
12629 if ${PKG_CONFIG+:} false; then :
12630 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12634 if ${GSTREAMER_LIBS:+false} :; then :
12635 if ${PKG_CONFIG+:} false; then :
12636 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12641 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12642 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12643 ac_save_CPPFLAGS=$CPPFLAGS
12644 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12645 ac_gst_incl=""
12646 for i in $GSTREAMER_CFLAGS
12648 case "$i" in
12649 -I*) ac_gst_incl="$ac_gst_incl $i";;
12650 esac
12651 done
12652 GSTREAMER_CFLAGS=$ac_gst_incl
12653 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12654 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12655 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12657 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12659 /* end confdefs.h. */
12660 #include <gst/gst.h>
12662 main ()
12664 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12666 return 0;
12668 _ACEOF
12669 if ac_fn_c_try_compile "$LINENO"; then :
12670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12671 $as_echo "yes" >&6; }
12672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12673 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12674 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12675 $as_echo_n "(cached) " >&6
12676 else
12677 ac_check_lib_save_LIBS=$LIBS
12678 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12680 /* end confdefs.h. */
12682 /* Override any GCC internal prototype to avoid an error.
12683 Use char because int might match the return type of a GCC
12684 builtin and then its argument prototype would still apply. */
12685 #ifdef __cplusplus
12686 extern "C"
12687 #endif
12688 char gst_pad_new ();
12690 main ()
12692 return gst_pad_new ();
12694 return 0;
12696 _ACEOF
12697 if ac_fn_c_try_link "$LINENO"; then :
12698 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12699 else
12700 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12702 rm -f core conftest.err conftest.$ac_objext \
12703 conftest$ac_exeext conftest.$ac_ext
12704 LIBS=$ac_check_lib_save_LIBS
12706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12707 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12708 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12712 else
12713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12714 $as_echo "no" >&6; }
12715 ac_glib2_broken=yes
12716 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12722 CPPFLAGS=$ac_save_CPPFLAGS
12723 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12724 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12727 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 :
12728 case "x$with_gstreamer" in
12729 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12730 xno) ;;
12731 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12732 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12733 esac
12735 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12737 ALSA_LIBS=""
12739 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12740 then
12741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12742 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12743 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12744 $as_echo_n "(cached) " >&6
12745 else
12746 ac_check_lib_save_LIBS=$LIBS
12747 LIBS="-lasound $LIBS"
12748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12749 /* end confdefs.h. */
12751 /* Override any GCC internal prototype to avoid an error.
12752 Use char because int might match the return type of a GCC
12753 builtin and then its argument prototype would still apply. */
12754 #ifdef __cplusplus
12755 extern "C"
12756 #endif
12757 char snd_pcm_hw_params_get_access_mask ();
12759 main ()
12761 return snd_pcm_hw_params_get_access_mask ();
12763 return 0;
12765 _ACEOF
12766 if ac_fn_c_try_link "$LINENO"; then :
12767 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12768 else
12769 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12771 rm -f core conftest.err conftest.$ac_objext \
12772 conftest$ac_exeext conftest.$ac_ext
12773 LIBS=$ac_check_lib_save_LIBS
12775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12776 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12777 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12779 /* end confdefs.h. */
12780 #ifdef HAVE_ALSA_ASOUNDLIB_H
12781 #include <alsa/asoundlib.h>
12782 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12783 #include <sys/asoundlib.h>
12784 #endif
12786 main ()
12788 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12790 return 0;
12792 _ACEOF
12793 if ac_fn_c_try_compile "$LINENO"; then :
12794 ALSA_LIBS="-lasound"
12796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12800 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12802 if test "x$with_oss" != xno
12803 then
12804 ac_save_CPPFLAGS="$CPPFLAGS"
12805 if test -f /etc/oss.conf
12806 then
12807 . /etc/oss.conf
12809 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12810 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12811 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12812 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12813 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12815 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12817 cat >>confdefs.h <<_ACEOF
12818 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12819 _ACEOF
12821 OSS4_CFLAGS="$ac_oss_incl"
12828 CPPFLAGS="$ac_save_CPPFLAGS"
12829 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12830 then
12831 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12834 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
12836 if test "x$with_capi" != "xno"
12837 then
12838 if ${CAPI20_CFLAGS:+false} :; then :
12839 if ${PKG_CONFIG+:} false; then :
12840 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12844 if ${CAPI20_LIBS:+false} :; then :
12845 if ${PKG_CONFIG+:} false; then :
12846 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12851 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12852 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12853 ac_save_CPPFLAGS=$CPPFLAGS
12854 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12855 for ac_header in capi20.h linux/capi.h
12856 do :
12857 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12858 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12860 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12861 cat >>confdefs.h <<_ACEOF
12862 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12863 _ACEOF
12867 done
12869 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12870 then
12871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12872 $as_echo_n "checking for -lcapi20... " >&6; }
12873 if ${ac_cv_lib_soname_capi20+:} false; then :
12874 $as_echo_n "(cached) " >&6
12875 else
12876 ac_check_soname_save_LIBS=$LIBS
12877 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12879 /* end confdefs.h. */
12881 /* Override any GCC internal prototype to avoid an error.
12882 Use char because int might match the return type of a GCC
12883 builtin and then its argument prototype would still apply. */
12884 #ifdef __cplusplus
12885 extern "C"
12886 #endif
12887 char capi20_register ();
12889 main ()
12891 return capi20_register ();
12893 return 0;
12895 _ACEOF
12896 if ac_fn_c_try_link "$LINENO"; then :
12897 case "$LIBEXT" in
12898 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12899 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'` ;;
12900 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12901 if ${ac_cv_lib_soname_capi20:+false} :; then :
12902 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12903 fi ;;
12904 esac
12906 rm -f core conftest.err conftest.$ac_objext \
12907 conftest$ac_exeext conftest.$ac_ext
12908 LIBS=$ac_check_soname_save_LIBS
12910 if ${ac_cv_lib_soname_capi20:+false} :; then :
12911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12912 $as_echo "not found" >&6; }
12914 else
12915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12916 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12918 cat >>confdefs.h <<_ACEOF
12919 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12920 _ACEOF
12925 CPPFLAGS=$ac_save_CPPFLAGS
12926 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12927 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12930 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12931 case "x$with_capi" in
12932 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12933 xno) ;;
12934 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12935 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12936 esac
12939 CUPS_CFLAGS=""
12941 if test "x$with_cups" != "xno"
12942 then
12943 ac_save_CPPFLAGS="$CPPFLAGS"
12944 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
12945 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
12946 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12947 for ac_header in cups/cups.h
12948 do :
12949 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12950 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12951 cat >>confdefs.h <<_ACEOF
12952 #define HAVE_CUPS_CUPS_H 1
12953 _ACEOF
12954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12955 $as_echo_n "checking for -lcups... " >&6; }
12956 if ${ac_cv_lib_soname_cups+:} false; then :
12957 $as_echo_n "(cached) " >&6
12958 else
12959 ac_check_soname_save_LIBS=$LIBS
12960 LIBS="-lcups $ac_cups_libs $LIBS"
12961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12962 /* end confdefs.h. */
12964 /* Override any GCC internal prototype to avoid an error.
12965 Use char because int might match the return type of a GCC
12966 builtin and then its argument prototype would still apply. */
12967 #ifdef __cplusplus
12968 extern "C"
12969 #endif
12970 char cupsGetDefault ();
12972 main ()
12974 return cupsGetDefault ();
12976 return 0;
12978 _ACEOF
12979 if ac_fn_c_try_link "$LINENO"; then :
12980 case "$LIBEXT" in
12981 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12982 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'` ;;
12983 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12984 if ${ac_cv_lib_soname_cups:+false} :; then :
12985 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12986 fi ;;
12987 esac
12989 rm -f core conftest.err conftest.$ac_objext \
12990 conftest$ac_exeext conftest.$ac_ext
12991 LIBS=$ac_check_soname_save_LIBS
12993 if ${ac_cv_lib_soname_cups:+false} :; then :
12994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12995 $as_echo "not found" >&6; }
12997 else
12998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12999 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13001 cat >>confdefs.h <<_ACEOF
13002 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13003 _ACEOF
13005 CUPS_CFLAGS="$ac_cups_cflags"
13009 done
13011 CPPFLAGS="$ac_save_CPPFLAGS"
13013 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13014 case "x$with_cups" in
13015 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13016 xno) ;;
13017 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13018 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13019 esac
13022 if test "x$with_fontconfig" != "xno"
13023 then
13024 if ${FONTCONFIG_CFLAGS:+false} :; then :
13025 if ${PKG_CONFIG+:} false; then :
13026 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13029 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13030 if ${FONTCONFIG_LIBS:+false} :; then :
13031 if ${PKG_CONFIG+:} false; then :
13032 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13035 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13037 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13038 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13039 ac_save_CPPFLAGS=$CPPFLAGS
13040 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13041 for ac_header in fontconfig/fontconfig.h
13042 do :
13043 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13044 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13045 cat >>confdefs.h <<_ACEOF
13046 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13047 _ACEOF
13051 done
13053 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13054 then
13055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13056 $as_echo_n "checking for -lfontconfig... " >&6; }
13057 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13058 $as_echo_n "(cached) " >&6
13059 else
13060 ac_check_soname_save_LIBS=$LIBS
13061 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13063 /* end confdefs.h. */
13065 /* Override any GCC internal prototype to avoid an error.
13066 Use char because int might match the return type of a GCC
13067 builtin and then its argument prototype would still apply. */
13068 #ifdef __cplusplus
13069 extern "C"
13070 #endif
13071 char FcInit ();
13073 main ()
13075 return FcInit ();
13077 return 0;
13079 _ACEOF
13080 if ac_fn_c_try_link "$LINENO"; then :
13081 case "$LIBEXT" in
13082 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13083 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'` ;;
13084 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13085 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13086 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13087 fi ;;
13088 esac
13090 rm -f core conftest.err conftest.$ac_objext \
13091 conftest$ac_exeext conftest.$ac_ext
13092 LIBS=$ac_check_soname_save_LIBS
13094 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13096 $as_echo "not found" >&6; }
13097 FONTCONFIG_CFLAGS=""
13098 else
13099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13100 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13102 cat >>confdefs.h <<_ACEOF
13103 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13104 _ACEOF
13108 else
13109 FONTCONFIG_CFLAGS=""
13111 CPPFLAGS=$ac_save_CPPFLAGS
13112 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13113 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13116 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13117 case "x$with_fontconfig" in
13118 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13119 xno) ;;
13120 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13121 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13122 esac
13125 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13126 then
13127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13128 $as_echo_n "checking for -lgsm... " >&6; }
13129 if ${ac_cv_lib_soname_gsm+:} false; then :
13130 $as_echo_n "(cached) " >&6
13131 else
13132 ac_check_soname_save_LIBS=$LIBS
13133 LIBS="-lgsm $LIBS"
13134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13135 /* end confdefs.h. */
13137 /* Override any GCC internal prototype to avoid an error.
13138 Use char because int might match the return type of a GCC
13139 builtin and then its argument prototype would still apply. */
13140 #ifdef __cplusplus
13141 extern "C"
13142 #endif
13143 char gsm_create ();
13145 main ()
13147 return gsm_create ();
13149 return 0;
13151 _ACEOF
13152 if ac_fn_c_try_link "$LINENO"; then :
13153 case "$LIBEXT" in
13154 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13155 dylib) ac_cv_lib_soname_gsm=`$OTOOL -L conftest$ac_exeext | grep "libgsm\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libgsm\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
13156 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13157 if ${ac_cv_lib_soname_gsm:+false} :; then :
13158 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13159 fi ;;
13160 esac
13162 rm -f core conftest.err conftest.$ac_objext \
13163 conftest$ac_exeext conftest.$ac_ext
13164 LIBS=$ac_check_soname_save_LIBS
13166 if ${ac_cv_lib_soname_gsm:+false} :; then :
13167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13168 $as_echo "not found" >&6; }
13170 else
13171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13172 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13174 cat >>confdefs.h <<_ACEOF
13175 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13176 _ACEOF
13181 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13182 case "x$with_gsm" in
13183 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13184 xno) ;;
13185 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13186 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13187 esac
13190 if test "x$with_jpeg" != "xno"
13191 then
13192 if ${JPEG_CFLAGS:+false} :; then :
13193 if ${PKG_CONFIG+:} false; then :
13194 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13198 if ${JPEG_LIBS:+false} :; then :
13199 if ${PKG_CONFIG+:} false; then :
13200 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13205 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13206 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13207 ac_save_CPPFLAGS=$CPPFLAGS
13208 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13209 for ac_header in jpeglib.h
13210 do :
13211 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13212 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13213 cat >>confdefs.h <<_ACEOF
13214 #define HAVE_JPEGLIB_H 1
13215 _ACEOF
13219 done
13221 if test "$ac_cv_header_jpeglib_h" = "yes"
13222 then
13223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13224 $as_echo_n "checking for -ljpeg... " >&6; }
13225 if ${ac_cv_lib_soname_jpeg+:} false; then :
13226 $as_echo_n "(cached) " >&6
13227 else
13228 ac_check_soname_save_LIBS=$LIBS
13229 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13231 /* end confdefs.h. */
13233 /* Override any GCC internal prototype to avoid an error.
13234 Use char because int might match the return type of a GCC
13235 builtin and then its argument prototype would still apply. */
13236 #ifdef __cplusplus
13237 extern "C"
13238 #endif
13239 char jpeg_start_decompress ();
13241 main ()
13243 return jpeg_start_decompress ();
13245 return 0;
13247 _ACEOF
13248 if ac_fn_c_try_link "$LINENO"; then :
13249 case "$LIBEXT" in
13250 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13251 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'` ;;
13252 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13253 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13254 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13255 fi ;;
13256 esac
13258 rm -f core conftest.err conftest.$ac_objext \
13259 conftest$ac_exeext conftest.$ac_ext
13260 LIBS=$ac_check_soname_save_LIBS
13262 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13264 $as_echo "not found" >&6; }
13265 JPEG_CFLAGS=""
13266 else
13267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13268 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13270 cat >>confdefs.h <<_ACEOF
13271 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13272 _ACEOF
13276 else
13277 JPEG_CFLAGS=""
13279 CPPFLAGS=$ac_save_CPPFLAGS
13280 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13281 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13284 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13285 case "x$with_jpeg" in
13286 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13287 xno) ;;
13288 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13289 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13290 esac
13293 if test "x$with_png" != "xno"
13294 then
13295 if ${PNG_CFLAGS:+false} :; then :
13296 if ${PKG_CONFIG+:} false; then :
13297 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13300 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13301 if ${PNG_LIBS:+false} :; then :
13302 if ${PKG_CONFIG+:} false; then :
13303 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13306 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13308 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13309 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13310 ac_save_CPPFLAGS=$CPPFLAGS
13311 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13312 for ac_header in png.h
13313 do :
13314 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13315 if test "x$ac_cv_header_png_h" = xyes; then :
13316 cat >>confdefs.h <<_ACEOF
13317 #define HAVE_PNG_H 1
13318 _ACEOF
13322 done
13324 if test "$ac_cv_header_png_h" = "yes"
13325 then
13326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13327 $as_echo_n "checking for -lpng... " >&6; }
13328 if ${ac_cv_lib_soname_png+:} false; then :
13329 $as_echo_n "(cached) " >&6
13330 else
13331 ac_check_soname_save_LIBS=$LIBS
13332 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13334 /* end confdefs.h. */
13336 /* Override any GCC internal prototype to avoid an error.
13337 Use char because int might match the return type of a GCC
13338 builtin and then its argument prototype would still apply. */
13339 #ifdef __cplusplus
13340 extern "C"
13341 #endif
13342 char png_create_read_struct ();
13344 main ()
13346 return png_create_read_struct ();
13348 return 0;
13350 _ACEOF
13351 if ac_fn_c_try_link "$LINENO"; then :
13352 case "$LIBEXT" in
13353 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13354 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'` ;;
13355 *) 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'`
13356 if ${ac_cv_lib_soname_png:+false} :; then :
13357 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13358 fi ;;
13359 esac
13361 rm -f core conftest.err conftest.$ac_objext \
13362 conftest$ac_exeext conftest.$ac_ext
13363 LIBS=$ac_check_soname_save_LIBS
13365 if ${ac_cv_lib_soname_png:+false} :; then :
13366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13367 $as_echo "not found" >&6; }
13368 PNG_CFLAGS=""
13369 else
13370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13371 $as_echo "$ac_cv_lib_soname_png" >&6; }
13373 cat >>confdefs.h <<_ACEOF
13374 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13375 _ACEOF
13377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13378 /* end confdefs.h. */
13379 #include <png.h>
13381 main ()
13383 typeof(png_set_expand_gray_1_2_4_to_8) *p
13385 return 0;
13387 _ACEOF
13388 if ac_fn_c_try_compile "$LINENO"; then :
13390 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13395 else
13396 PNG_CFLAGS=""
13398 CPPFLAGS=$ac_save_CPPFLAGS
13399 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13400 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13403 if test "x$ac_cv_lib_soname_png" = "x"; then :
13404 case "x$with_png" in
13405 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13406 xno) ;;
13407 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13408 This is an error since --with-png was requested." "$LINENO" 5 ;;
13409 esac
13412 if test "x$with_tiff" != "xno"
13413 then
13414 if ${TIFF_CFLAGS:+false} :; then :
13415 if ${PKG_CONFIG+:} false; then :
13416 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13420 if ${TIFF_LIBS:+false} :; then :
13421 if ${PKG_CONFIG+:} false; then :
13422 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13427 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13428 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13429 ac_save_CPPFLAGS=$CPPFLAGS
13430 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13431 for ac_header in tiffio.h
13432 do :
13433 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13434 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13435 cat >>confdefs.h <<_ACEOF
13436 #define HAVE_TIFFIO_H 1
13437 _ACEOF
13441 done
13443 if test "$ac_cv_header_tiffio_h" = "yes"
13444 then
13445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13446 $as_echo_n "checking for -ltiff... " >&6; }
13447 if ${ac_cv_lib_soname_tiff+:} false; then :
13448 $as_echo_n "(cached) " >&6
13449 else
13450 ac_check_soname_save_LIBS=$LIBS
13451 LIBS="-ltiff $TIFF_LIBS $LIBS"
13452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13453 /* end confdefs.h. */
13455 /* Override any GCC internal prototype to avoid an error.
13456 Use char because int might match the return type of a GCC
13457 builtin and then its argument prototype would still apply. */
13458 #ifdef __cplusplus
13459 extern "C"
13460 #endif
13461 char TIFFClientOpen ();
13463 main ()
13465 return TIFFClientOpen ();
13467 return 0;
13469 _ACEOF
13470 if ac_fn_c_try_link "$LINENO"; then :
13471 case "$LIBEXT" in
13472 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13473 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'` ;;
13474 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13475 if ${ac_cv_lib_soname_tiff:+false} :; then :
13476 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13477 fi ;;
13478 esac
13480 rm -f core conftest.err conftest.$ac_objext \
13481 conftest$ac_exeext conftest.$ac_ext
13482 LIBS=$ac_check_soname_save_LIBS
13484 if ${ac_cv_lib_soname_tiff:+false} :; then :
13485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13486 $as_echo "not found" >&6; }
13488 else
13489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13490 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13492 cat >>confdefs.h <<_ACEOF
13493 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13494 _ACEOF
13499 CPPFLAGS=$ac_save_CPPFLAGS
13500 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13501 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13504 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13505 case "x$with_tiff" in
13506 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13507 xno) ;;
13508 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13509 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13510 esac
13513 if test "x$with_mpg123" != "xno"
13514 then
13515 if ${MPG123_CFLAGS:+false} :; then :
13516 if ${PKG_CONFIG+:} false; then :
13517 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13521 if ${MPG123_LIBS:+false} :; then :
13522 if ${PKG_CONFIG+:} false; then :
13523 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13527 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13528 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13529 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13530 ac_save_CPPFLAGS=$CPPFLAGS
13531 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13532 for ac_header in mpg123.h
13533 do :
13534 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13535 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13536 cat >>confdefs.h <<_ACEOF
13537 #define HAVE_MPG123_H 1
13538 _ACEOF
13542 done
13544 if test "$ac_cv_header_mpg123_h" = "yes"
13545 then
13546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13547 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13548 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13549 $as_echo_n "(cached) " >&6
13550 else
13551 ac_check_lib_save_LIBS=$LIBS
13552 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13554 /* end confdefs.h. */
13556 /* Override any GCC internal prototype to avoid an error.
13557 Use char because int might match the return type of a GCC
13558 builtin and then its argument prototype would still apply. */
13559 #ifdef __cplusplus
13560 extern "C"
13561 #endif
13562 char mpg123_feed ();
13564 main ()
13566 return mpg123_feed ();
13568 return 0;
13570 _ACEOF
13571 if ac_fn_c_try_link "$LINENO"; then :
13572 ac_cv_lib_mpg123_mpg123_feed=yes
13573 else
13574 ac_cv_lib_mpg123_mpg123_feed=no
13576 rm -f core conftest.err conftest.$ac_objext \
13577 conftest$ac_exeext conftest.$ac_ext
13578 LIBS=$ac_check_lib_save_LIBS
13580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13581 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13582 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13584 else
13585 MPG123_LIBS=""
13588 else
13589 MPG123_CFLAGS=""
13590 MPG123_LIBS=""
13592 CPPFLAGS=$ac_save_CPPFLAGS
13593 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13594 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13597 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13598 case "x$with_mpg123" in
13599 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13600 xno) ;;
13601 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13602 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13603 esac
13605 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes -o "x$ac_cv_header_AudioToolbox_AudioConverter_h" = xyes || enable_winemp3_acm=${enable_winemp3_acm:-no}
13607 if test "$ac_cv_header_AL_al_h" = "yes"
13608 then
13609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13610 $as_echo_n "checking for -lopenal... " >&6; }
13611 if ${ac_cv_lib_soname_openal+:} false; then :
13612 $as_echo_n "(cached) " >&6
13613 else
13614 ac_check_soname_save_LIBS=$LIBS
13615 LIBS="-lopenal $LIBS"
13616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13617 /* end confdefs.h. */
13619 /* Override any GCC internal prototype to avoid an error.
13620 Use char because int might match the return type of a GCC
13621 builtin and then its argument prototype would still apply. */
13622 #ifdef __cplusplus
13623 extern "C"
13624 #endif
13625 char alGetSource3i ();
13627 main ()
13629 return alGetSource3i ();
13631 return 0;
13633 _ACEOF
13634 if ac_fn_c_try_link "$LINENO"; then :
13635 case "$LIBEXT" in
13636 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13637 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'` ;;
13638 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13639 if ${ac_cv_lib_soname_openal:+false} :; then :
13640 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13641 fi ;;
13642 esac
13644 rm -f core conftest.err conftest.$ac_objext \
13645 conftest$ac_exeext conftest.$ac_ext
13646 LIBS=$ac_check_soname_save_LIBS
13648 if ${ac_cv_lib_soname_openal:+false} :; then :
13649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13650 $as_echo "not found" >&6; }
13652 else
13653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13654 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13656 cat >>confdefs.h <<_ACEOF
13657 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13658 _ACEOF
13660 OPENAL_LIBS="-lopenal"
13662 ac_cv_lib_openal=yes
13664 cat >>confdefs.h <<_ACEOF
13665 #define HAVE_OPENAL 1
13666 _ACEOF
13670 if test "x$ac_cv_lib_openal" != xyes; then :
13671 case "x$with_openal" in
13672 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13673 xno) ;;
13674 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13675 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13676 esac
13678 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13680 if test "x$ac_cv_lib_openal" = xyes
13681 then
13682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13683 $as_echo_n "checking for openal-soft... " >&6; }
13684 if ${ac_cv_have_openalsoft+:} false; then :
13685 $as_echo_n "(cached) " >&6
13686 else
13687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13688 /* end confdefs.h. */
13689 #include <AL/al.h>
13690 #include <AL/alc.h>
13691 #include <AL/alext.h>
13692 LPALCRENDERSAMPLESSOFT x;
13694 main ()
13698 return 0;
13700 _ACEOF
13701 if ac_fn_c_try_compile "$LINENO"; then :
13702 ac_cv_have_openalsoft=yes
13703 else
13704 ac_cv_have_openalsoft=no
13706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13709 $as_echo "$ac_cv_have_openalsoft" >&6; }
13711 if test "x$ac_cv_have_openalsoft" != xyes
13712 then
13713 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13714 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
13715 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
13716 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
13717 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
13718 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
13719 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
13720 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
13721 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
13722 enable_xapofx1_1=${enable_xapofx1_1:-no}
13723 enable_xapofx1_2=${enable_xapofx1_2:-no}
13724 enable_xapofx1_3=${enable_xapofx1_3:-no}
13725 enable_xapofx1_4=${enable_xapofx1_4:-no}
13726 enable_xapofx1_5=${enable_xapofx1_5:-no}
13727 enable_xaudio2_0=${enable_xaudio2_0:-no}
13728 enable_xaudio2_1=${enable_xaudio2_1:-no}
13729 enable_xaudio2_2=${enable_xaudio2_2:-no}
13730 enable_xaudio2_3=${enable_xaudio2_3:-no}
13731 enable_xaudio2_4=${enable_xaudio2_4:-no}
13732 enable_xaudio2_5=${enable_xaudio2_5:-no}
13733 enable_xaudio2_6=${enable_xaudio2_6:-no}
13734 enable_xaudio2_7=${enable_xaudio2_7:-no}
13735 enable_xaudio2_8=${enable_xaudio2_8:-no}
13736 enable_xaudio2_9=${enable_xaudio2_9:-no}
13739 if test "$ac_cv_header_kstat_h" = "yes"
13740 then
13741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13742 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13743 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13744 $as_echo_n "(cached) " >&6
13745 else
13746 ac_check_lib_save_LIBS=$LIBS
13747 LIBS="-lkstat $LIBS"
13748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13749 /* end confdefs.h. */
13751 /* Override any GCC internal prototype to avoid an error.
13752 Use char because int might match the return type of a GCC
13753 builtin and then its argument prototype would still apply. */
13754 #ifdef __cplusplus
13755 extern "C"
13756 #endif
13757 char kstat_open ();
13759 main ()
13761 return kstat_open ();
13763 return 0;
13765 _ACEOF
13766 if ac_fn_c_try_link "$LINENO"; then :
13767 ac_cv_lib_kstat_kstat_open=yes
13768 else
13769 ac_cv_lib_kstat_kstat_open=no
13771 rm -f core conftest.err conftest.$ac_objext \
13772 conftest$ac_exeext conftest.$ac_ext
13773 LIBS=$ac_check_lib_save_LIBS
13775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13776 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13777 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13779 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13781 KSTAT_LIBS="-lkstat"
13787 if test "$ac_cv_header_libprocstat_h" = "yes"
13788 then
13789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13790 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13791 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13792 $as_echo_n "(cached) " >&6
13793 else
13794 ac_check_lib_save_LIBS=$LIBS
13795 LIBS="-lprocstat $LIBS"
13796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13797 /* end confdefs.h. */
13799 /* Override any GCC internal prototype to avoid an error.
13800 Use char because int might match the return type of a GCC
13801 builtin and then its argument prototype would still apply. */
13802 #ifdef __cplusplus
13803 extern "C"
13804 #endif
13805 char procstat_open_sysctl ();
13807 main ()
13809 return procstat_open_sysctl ();
13811 return 0;
13813 _ACEOF
13814 if ac_fn_c_try_link "$LINENO"; then :
13815 ac_cv_lib_procstat_procstat_open_sysctl=yes
13816 else
13817 ac_cv_lib_procstat_procstat_open_sysctl=no
13819 rm -f core conftest.err conftest.$ac_objext \
13820 conftest$ac_exeext conftest.$ac_ext
13821 LIBS=$ac_check_lib_save_LIBS
13823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13824 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13825 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13827 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13829 PROCSTAT_LIBS="-lprocstat"
13835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13836 $as_echo_n "checking for -lodbc... " >&6; }
13837 if ${ac_cv_lib_soname_odbc+:} false; then :
13838 $as_echo_n "(cached) " >&6
13839 else
13840 ac_check_soname_save_LIBS=$LIBS
13841 LIBS="-lodbc $LIBS"
13842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13843 /* end confdefs.h. */
13845 /* Override any GCC internal prototype to avoid an error.
13846 Use char because int might match the return type of a GCC
13847 builtin and then its argument prototype would still apply. */
13848 #ifdef __cplusplus
13849 extern "C"
13850 #endif
13851 char SQLConnect ();
13853 main ()
13855 return SQLConnect ();
13857 return 0;
13859 _ACEOF
13860 if ac_fn_c_try_link "$LINENO"; then :
13861 case "$LIBEXT" in
13862 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13863 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'` ;;
13864 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13865 if ${ac_cv_lib_soname_odbc:+false} :; then :
13866 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13867 fi ;;
13868 esac
13870 rm -f core conftest.err conftest.$ac_objext \
13871 conftest$ac_exeext conftest.$ac_ext
13872 LIBS=$ac_check_soname_save_LIBS
13874 if ${ac_cv_lib_soname_odbc:+false} :; then :
13875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13876 $as_echo "not found" >&6; }
13877 cat >>confdefs.h <<_ACEOF
13878 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13879 _ACEOF
13881 else
13882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13883 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13885 cat >>confdefs.h <<_ACEOF
13886 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13887 _ACEOF
13892 if test "x$with_netapi" != "xno"
13893 then
13894 if ${NETAPI_CFLAGS:+false} :; then :
13895 if ${PKG_CONFIG+:} false; then :
13896 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
13900 if ${NETAPI_LIBS:+false} :; then :
13901 if ${PKG_CONFIG+:} false; then :
13902 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
13907 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
13908 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
13909 ac_save_CPPFLAGS=$CPPFLAGS
13910 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
13911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13912 $as_echo_n "checking for -lnetapi... " >&6; }
13913 if ${ac_cv_lib_soname_netapi+:} false; then :
13914 $as_echo_n "(cached) " >&6
13915 else
13916 ac_check_soname_save_LIBS=$LIBS
13917 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
13918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13919 /* end confdefs.h. */
13921 /* Override any GCC internal prototype to avoid an error.
13922 Use char because int might match the return type of a GCC
13923 builtin and then its argument prototype would still apply. */
13924 #ifdef __cplusplus
13925 extern "C"
13926 #endif
13927 char libnetapi_init ();
13929 main ()
13931 return libnetapi_init ();
13933 return 0;
13935 _ACEOF
13936 if ac_fn_c_try_link "$LINENO"; then :
13937 case "$LIBEXT" in
13938 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13939 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'` ;;
13940 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13941 if ${ac_cv_lib_soname_netapi:+false} :; then :
13942 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13943 fi ;;
13944 esac
13946 rm -f core conftest.err conftest.$ac_objext \
13947 conftest$ac_exeext conftest.$ac_ext
13948 LIBS=$ac_check_soname_save_LIBS
13950 if ${ac_cv_lib_soname_netapi:+false} :; then :
13951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13952 $as_echo "not found" >&6; }
13953 cat >>confdefs.h <<_ACEOF
13954 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13955 _ACEOF
13957 else
13958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13959 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13961 cat >>confdefs.h <<_ACEOF
13962 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13963 _ACEOF
13967 CPPFLAGS=$ac_save_CPPFLAGS
13968 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13969 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13973 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
13974 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
13975 then
13976 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13980 EXTRACFLAGS=""
13982 if test "x${GCC}" = "xyes"
13983 then
13984 EXTRACFLAGS="-Wall -pipe"
13986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13987 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13988 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13989 $as_echo_n "(cached) " >&6
13990 else
13991 if test "$cross_compiling" = yes; then :
13992 ac_cv_c_gcc_strength_bug="no"
13993 else
13994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13995 /* end confdefs.h. */
13996 int L[4] = {0,1,2,3};
13998 main ()
14000 static int Array[3];
14001 unsigned int B = 3;
14002 int i;
14003 for(i=0; i<B; i++) Array[i] = i - 3;
14004 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14005 L[i] = 4;
14006 return (Array[1] != -2 || L[2] != 3)
14008 return 0;
14010 _ACEOF
14011 if ac_fn_c_try_run "$LINENO"; then :
14012 ac_cv_c_gcc_strength_bug="no"
14013 else
14014 ac_cv_c_gcc_strength_bug="yes"
14016 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14017 conftest.$ac_objext conftest.beam conftest.$ac_ext
14021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14022 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14023 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14024 then
14025 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14029 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14030 if ${ac_cv_cflags__fno_builtin+:} false; then :
14031 $as_echo_n "(cached) " >&6
14032 else
14033 ac_wine_try_cflags_saved=$CFLAGS
14034 CFLAGS="$CFLAGS -fno-builtin"
14035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14036 /* end confdefs.h. */
14037 int main(int argc, char **argv) { return 0; }
14038 _ACEOF
14039 if ac_fn_c_try_link "$LINENO"; then :
14040 ac_cv_cflags__fno_builtin=yes
14041 else
14042 ac_cv_cflags__fno_builtin=no
14044 rm -f core conftest.err conftest.$ac_objext \
14045 conftest$ac_exeext conftest.$ac_ext
14046 CFLAGS=$ac_wine_try_cflags_saved
14048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14049 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14050 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14051 BUILTINFLAG="-fno-builtin"
14054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14055 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14056 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14057 $as_echo_n "(cached) " >&6
14058 else
14059 ac_wine_try_cflags_saved=$CFLAGS
14060 CFLAGS="$CFLAGS -fno-strict-aliasing"
14061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14062 /* end confdefs.h. */
14063 int main(int argc, char **argv) { return 0; }
14064 _ACEOF
14065 if ac_fn_c_try_link "$LINENO"; then :
14066 ac_cv_cflags__fno_strict_aliasing=yes
14067 else
14068 ac_cv_cflags__fno_strict_aliasing=no
14070 rm -f core conftest.err conftest.$ac_objext \
14071 conftest$ac_exeext conftest.$ac_ext
14072 CFLAGS=$ac_wine_try_cflags_saved
14074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14075 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14076 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14077 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14080 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14081 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14082 $as_echo_n "(cached) " >&6
14083 else
14084 ac_wine_try_cflags_saved=$CFLAGS
14085 CFLAGS="$CFLAGS -fexcess-precision=standard"
14086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14087 /* end confdefs.h. */
14088 int main(int argc, char **argv) { return 0; }
14089 _ACEOF
14090 if ac_fn_c_try_link "$LINENO"; then :
14091 ac_cv_cflags__fexcess_precision_standard=yes
14092 else
14093 ac_cv_cflags__fexcess_precision_standard=no
14095 rm -f core conftest.err conftest.$ac_objext \
14096 conftest$ac_exeext conftest.$ac_ext
14097 CFLAGS=$ac_wine_try_cflags_saved
14099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14100 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14101 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14102 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14105 saved_CFLAGS=$CFLAGS
14106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14107 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14108 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14109 $as_echo_n "(cached) " >&6
14110 else
14111 ac_wine_try_cflags_saved=$CFLAGS
14112 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14114 /* end confdefs.h. */
14115 int main(int argc, char **argv) { return 0; }
14116 _ACEOF
14117 if ac_fn_c_try_link "$LINENO"; then :
14118 ac_cv_cflags__Werror_unknown_warning_option=yes
14119 else
14120 ac_cv_cflags__Werror_unknown_warning_option=no
14122 rm -f core conftest.err conftest.$ac_objext \
14123 conftest$ac_exeext conftest.$ac_ext
14124 CFLAGS=$ac_wine_try_cflags_saved
14126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14127 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14128 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14129 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14132 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14133 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14134 $as_echo_n "(cached) " >&6
14135 else
14136 ac_wine_try_cflags_saved=$CFLAGS
14137 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14139 /* end confdefs.h. */
14140 int main(int argc, char **argv) { return 0; }
14141 _ACEOF
14142 if ac_fn_c_try_link "$LINENO"; then :
14143 ac_cv_cflags__Wdeclaration_after_statement=yes
14144 else
14145 ac_cv_cflags__Wdeclaration_after_statement=no
14147 rm -f core conftest.err conftest.$ac_objext \
14148 conftest$ac_exeext conftest.$ac_ext
14149 CFLAGS=$ac_wine_try_cflags_saved
14151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14152 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14153 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14154 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14157 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14158 if ${ac_cv_cflags__Wempty_body+:} false; then :
14159 $as_echo_n "(cached) " >&6
14160 else
14161 ac_wine_try_cflags_saved=$CFLAGS
14162 CFLAGS="$CFLAGS -Wempty-body"
14163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14164 /* end confdefs.h. */
14165 int main(int argc, char **argv) { return 0; }
14166 _ACEOF
14167 if ac_fn_c_try_link "$LINENO"; then :
14168 ac_cv_cflags__Wempty_body=yes
14169 else
14170 ac_cv_cflags__Wempty_body=no
14172 rm -f core conftest.err conftest.$ac_objext \
14173 conftest$ac_exeext conftest.$ac_ext
14174 CFLAGS=$ac_wine_try_cflags_saved
14176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14177 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14178 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14179 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14182 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14183 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14184 $as_echo_n "(cached) " >&6
14185 else
14186 ac_wine_try_cflags_saved=$CFLAGS
14187 CFLAGS="$CFLAGS -Wignored-qualifiers"
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__Wignored_qualifiers=yes
14194 else
14195 ac_cv_cflags__Wignored_qualifiers=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__Wignored_qualifiers" >&5
14202 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14203 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14204 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14207 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14208 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14209 $as_echo_n "(cached) " >&6
14210 else
14211 ac_wine_try_cflags_saved=$CFLAGS
14212 CFLAGS="$CFLAGS -Wshift-overflow=2"
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__Wshift_overflow_2=yes
14219 else
14220 ac_cv_cflags__Wshift_overflow_2=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__Wshift_overflow_2" >&5
14227 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14228 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14229 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14232 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14233 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14234 $as_echo_n "(cached) " >&6
14235 else
14236 ac_wine_try_cflags_saved=$CFLAGS
14237 CFLAGS="$CFLAGS -Wstrict-prototypes"
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__Wstrict_prototypes=yes
14244 else
14245 ac_cv_cflags__Wstrict_prototypes=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__Wstrict_prototypes" >&5
14252 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14253 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14254 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14257 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14258 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14259 $as_echo_n "(cached) " >&6
14260 else
14261 ac_wine_try_cflags_saved=$CFLAGS
14262 CFLAGS="$CFLAGS -Wtype-limits"
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__Wtype_limits=yes
14269 else
14270 ac_cv_cflags__Wtype_limits=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__Wtype_limits" >&5
14277 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14278 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14279 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14282 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14283 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14284 $as_echo_n "(cached) " >&6
14285 else
14286 ac_wine_try_cflags_saved=$CFLAGS
14287 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
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__Wunused_but_set_parameter=yes
14294 else
14295 ac_cv_cflags__Wunused_but_set_parameter=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__Wunused_but_set_parameter" >&5
14302 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14303 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14304 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14307 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14308 if ${ac_cv_cflags__Wvla+:} false; then :
14309 $as_echo_n "(cached) " >&6
14310 else
14311 ac_wine_try_cflags_saved=$CFLAGS
14312 CFLAGS="$CFLAGS -Wvla"
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__Wvla=yes
14319 else
14320 ac_cv_cflags__Wvla=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__Wvla" >&5
14327 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14328 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14329 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14332 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14333 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14334 $as_echo_n "(cached) " >&6
14335 else
14336 ac_wine_try_cflags_saved=$CFLAGS
14337 CFLAGS="$CFLAGS -Wwrite-strings"
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__Wwrite_strings=yes
14344 else
14345 ac_cv_cflags__Wwrite_strings=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__Wwrite_strings" >&5
14352 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14353 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14354 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14358 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14359 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14360 $as_echo_n "(cached) " >&6
14361 else
14362 ac_wine_try_cflags_saved=$CFLAGS
14363 CFLAGS="$CFLAGS -Wpointer-arith"
14364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14365 /* end confdefs.h. */
14366 int main(int argc, char **argv) { return 0; }
14367 _ACEOF
14368 if ac_fn_c_try_link "$LINENO"; then :
14369 ac_cv_cflags__Wpointer_arith=yes
14370 else
14371 ac_cv_cflags__Wpointer_arith=no
14373 rm -f core conftest.err conftest.$ac_objext \
14374 conftest$ac_exeext conftest.$ac_ext
14375 CFLAGS=$ac_wine_try_cflags_saved
14377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14378 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14379 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14380 saved_string_h_CFLAGS=$CFLAGS
14381 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14383 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14384 if ${ac_cv_c_string_h_warnings+:} false; then :
14385 $as_echo_n "(cached) " >&6
14386 else
14387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14388 /* end confdefs.h. */
14389 #include <string.h>
14391 main ()
14395 return 0;
14397 _ACEOF
14398 if ac_fn_c_try_compile "$LINENO"; then :
14399 ac_cv_c_string_h_warnings=no
14400 else
14401 ac_cv_c_string_h_warnings=yes
14403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14406 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14407 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14408 CFLAGS=$saved_string_h_CFLAGS
14411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14412 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14413 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14414 $as_echo_n "(cached) " >&6
14415 else
14416 ac_wine_try_cflags_saved=$CFLAGS
14417 CFLAGS="$CFLAGS -Wlogical-op"
14418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14419 /* end confdefs.h. */
14420 int main(int argc, char **argv) { return 0; }
14421 _ACEOF
14422 if ac_fn_c_try_link "$LINENO"; then :
14423 ac_cv_cflags__Wlogical_op=yes
14424 else
14425 ac_cv_cflags__Wlogical_op=no
14427 rm -f core conftest.err conftest.$ac_objext \
14428 conftest$ac_exeext conftest.$ac_ext
14429 CFLAGS=$ac_wine_try_cflags_saved
14431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14432 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14433 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14434 saved_string_h_CFLAGS=$CFLAGS
14435 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14437 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14438 if ${ac_cv_c_logicalop_noisy+:} false; then :
14439 $as_echo_n "(cached) " >&6
14440 else
14441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14442 /* end confdefs.h. */
14443 #include <string.h>
14444 char*f(const char *h,char n) {return strchr(h,n);}
14446 main ()
14450 return 0;
14452 _ACEOF
14453 if ac_fn_c_try_compile "$LINENO"; then :
14454 ac_cv_c_logicalop_noisy=no
14455 else
14456 ac_cv_c_logicalop_noisy=yes
14458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14461 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14462 CFLAGS=$saved_string_h_CFLAGS
14463 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14466 CFLAGS=$saved_CFLAGS
14468 for ac_flag in $CFLAGS; do
14469 case $ac_flag in
14470 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14471 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14472 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14473 $as_echo_n "(cached) " >&6
14474 else
14475 ac_wine_try_cflags_saved=$CFLAGS
14476 CFLAGS="$CFLAGS -gdwarf-2"
14477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14478 /* end confdefs.h. */
14479 int main(int argc, char **argv) { return 0; }
14480 _ACEOF
14481 if ac_fn_c_try_link "$LINENO"; then :
14482 ac_cv_cflags__gdwarf_2=yes
14483 else
14484 ac_cv_cflags__gdwarf_2=no
14486 rm -f core conftest.err conftest.$ac_objext \
14487 conftest$ac_exeext conftest.$ac_ext
14488 CFLAGS=$ac_wine_try_cflags_saved
14490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14491 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14492 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14493 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14496 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14497 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14498 $as_echo_n "(cached) " >&6
14499 else
14500 ac_wine_try_cflags_saved=$CFLAGS
14501 CFLAGS="$CFLAGS -gstrict-dwarf"
14502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14503 /* end confdefs.h. */
14504 int main(int argc, char **argv) { return 0; }
14505 _ACEOF
14506 if ac_fn_c_try_link "$LINENO"; then :
14507 ac_cv_cflags__gstrict_dwarf=yes
14508 else
14509 ac_cv_cflags__gstrict_dwarf=no
14511 rm -f core conftest.err conftest.$ac_objext \
14512 conftest$ac_exeext conftest.$ac_ext
14513 CFLAGS=$ac_wine_try_cflags_saved
14515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14516 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14517 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14518 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14519 fi ;;
14520 esac
14521 done
14523 case $host_cpu in
14524 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14525 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14526 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14527 $as_echo_n "(cached) " >&6
14528 else
14529 ac_wine_try_cflags_saved=$CFLAGS
14530 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14532 /* end confdefs.h. */
14533 int main(int argc, char **argv) { return 0; }
14534 _ACEOF
14535 if ac_fn_c_try_link "$LINENO"; then :
14536 ac_cv_cflags__fno_omit_frame_pointer=yes
14537 else
14538 ac_cv_cflags__fno_omit_frame_pointer=no
14540 rm -f core conftest.err conftest.$ac_objext \
14541 conftest$ac_exeext conftest.$ac_ext
14542 CFLAGS=$ac_wine_try_cflags_saved
14544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14545 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14546 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14547 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14548 fi ;;
14549 esac
14551 case $host in
14552 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14553 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14554 if ${ac_cv_cflags__Wno_format+:} false; then :
14555 $as_echo_n "(cached) " >&6
14556 else
14557 ac_wine_try_cflags_saved=$CFLAGS
14558 CFLAGS="$CFLAGS -Wno-format"
14559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14560 /* end confdefs.h. */
14561 int main(int argc, char **argv) { return 0; }
14562 _ACEOF
14563 if ac_fn_c_try_link "$LINENO"; then :
14564 ac_cv_cflags__Wno_format=yes
14565 else
14566 ac_cv_cflags__Wno_format=no
14568 rm -f core conftest.err conftest.$ac_objext \
14569 conftest$ac_exeext conftest.$ac_ext
14570 CFLAGS=$ac_wine_try_cflags_saved
14572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14573 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14574 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14575 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14576 fi ;;
14577 esac
14579 if test "x$enable_maintainer_mode" = "xyes"
14580 then
14581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14582 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14583 if ${ac_cv_cflags__Werror+:} false; then :
14584 $as_echo_n "(cached) " >&6
14585 else
14586 ac_wine_try_cflags_saved=$CFLAGS
14587 CFLAGS="$CFLAGS -Werror"
14588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14589 /* end confdefs.h. */
14590 int main(int argc, char **argv) { return 0; }
14591 _ACEOF
14592 if ac_fn_c_try_link "$LINENO"; then :
14593 ac_cv_cflags__Werror=yes
14594 else
14595 ac_cv_cflags__Werror=no
14597 rm -f core conftest.err conftest.$ac_objext \
14598 conftest$ac_exeext conftest.$ac_ext
14599 CFLAGS=$ac_wine_try_cflags_saved
14601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14602 $as_echo "$ac_cv_cflags__Werror" >&6; }
14603 if test "x$ac_cv_cflags__Werror" = xyes; then :
14604 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14608 saved_CFLAGS="$CFLAGS"
14609 CFLAGS="$CFLAGS -Werror"
14610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14611 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14612 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14613 $as_echo_n "(cached) " >&6
14614 else
14615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14616 /* end confdefs.h. */
14617 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14619 main ()
14623 return 0;
14625 _ACEOF
14626 if ac_fn_c_try_compile "$LINENO"; then :
14627 ac_cv_have_ms_hook_prologue="yes"
14628 else
14629 ac_cv_have_ms_hook_prologue="no"
14631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14634 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14635 CFLAGS="$saved_CFLAGS"
14636 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14637 then
14639 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14641 else
14642 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14649 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14650 if ${ac_cv_c_fortify_enabled+:} false; then :
14651 $as_echo_n "(cached) " >&6
14652 else
14653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14654 /* end confdefs.h. */
14655 #include <string.h>
14657 main ()
14659 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14660 #error Fortify enabled
14661 #endif
14663 return 0;
14665 _ACEOF
14666 if ac_fn_c_try_compile "$LINENO"; then :
14667 ac_cv_c_fortify_enabled=no
14668 else
14669 ac_cv_c_fortify_enabled=yes
14671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14674 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14675 if test "$ac_cv_c_fortify_enabled" = yes
14676 then
14677 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14682 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14683 if ${ac_cv_c_extern_prefix+:} false; then :
14684 $as_echo_n "(cached) " >&6
14685 else
14686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14687 /* end confdefs.h. */
14688 extern int ac_test;
14690 main ()
14692 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14694 return 0;
14696 _ACEOF
14697 if ac_fn_c_try_link "$LINENO"; then :
14698 ac_cv_c_extern_prefix="yes"
14699 else
14700 ac_cv_c_extern_prefix="no"
14702 rm -f core conftest.err conftest.$ac_objext \
14703 conftest$ac_exeext conftest.$ac_ext
14705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14706 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14708 case $host_cpu in
14709 *i[3456789]86*)
14710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14711 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14712 if ${ac_cv_c_stdcall_suffix+:} false; then :
14713 $as_echo_n "(cached) " >&6
14714 else
14715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14716 /* end confdefs.h. */
14717 #ifndef _MSC_VER
14718 #define __stdcall __attribute__((__stdcall__))
14719 #endif
14720 int __stdcall ac_test(int i) { return i; }
14722 main ()
14724 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14726 return 0;
14728 _ACEOF
14729 if ac_fn_c_try_link "$LINENO"; then :
14730 ac_cv_c_stdcall_suffix="yes"
14731 else
14732 ac_cv_c_stdcall_suffix="no"
14734 rm -f core conftest.err conftest.$ac_objext \
14735 conftest$ac_exeext conftest.$ac_ext
14737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14738 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14739 *) ac_cv_c_stdcall_suffix="no" ;;
14740 esac
14743 if test "$ac_cv_c_extern_prefix" = "yes"
14744 then
14745 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14747 asm_name_prefix="_"
14748 else
14749 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14751 asm_name_prefix=""
14755 if test "$ac_cv_c_stdcall_suffix" = "yes"
14756 then
14757 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14759 else
14760 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14766 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14767 if ${ac_cv_asm_func_def+:} false; then :
14768 $as_echo_n "(cached) " >&6
14769 else
14770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14771 /* end confdefs.h. */
14774 main ()
14776 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14778 return 0;
14780 _ACEOF
14781 if ac_fn_c_try_link "$LINENO"; then :
14782 ac_cv_asm_func_def=".def"
14783 else
14784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14785 /* end confdefs.h. */
14788 main ()
14790 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14792 return 0;
14794 _ACEOF
14795 if ac_fn_c_try_link "$LINENO"; then :
14796 ac_cv_asm_func_def=".type @function"
14797 else
14798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14799 /* end confdefs.h. */
14802 main ()
14804 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14806 return 0;
14808 _ACEOF
14809 if ac_fn_c_try_link "$LINENO"; then :
14810 ac_cv_asm_func_def=".type 2"
14811 else
14812 ac_cv_asm_func_def="unknown"
14814 rm -f core conftest.err conftest.$ac_objext \
14815 conftest$ac_exeext conftest.$ac_ext
14817 rm -f core conftest.err conftest.$ac_objext \
14818 conftest$ac_exeext conftest.$ac_ext
14820 rm -f core conftest.err conftest.$ac_objext \
14821 conftest$ac_exeext conftest.$ac_ext
14823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14824 $as_echo "$ac_cv_asm_func_def" >&6; }
14827 case "$ac_cv_asm_func_def" in
14828 ".def")
14829 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14831 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14832 ".type @function")
14833 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14835 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14836 ".type 2")
14837 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14839 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14841 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14843 asm_func_header="" ;;
14844 esac
14846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14847 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14848 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14849 $as_echo_n "(cached) " >&6
14850 else
14851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14852 /* end confdefs.h. */
14853 asm(".text\n\t.long 0");
14855 main ()
14859 return 0;
14861 _ACEOF
14862 if ac_fn_c_try_compile "$LINENO"; then :
14863 ac_cv_c_asm_outside_funcs="yes"
14864 else
14865 ac_cv_c_asm_outside_funcs="no"
14867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14870 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14873 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14874 if ${ac_cv_c_dot_previous+:} false; then :
14875 $as_echo_n "(cached) " >&6
14876 else
14877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14878 /* end confdefs.h. */
14881 main ()
14883 asm(".text\nac_test:\t.long 0\n\t.previous");
14885 return 0;
14887 _ACEOF
14888 if ac_fn_c_try_link "$LINENO"; then :
14889 ac_cv_c_dot_previous="yes"
14890 else
14891 ac_cv_c_dot_previous="no"
14893 rm -f core conftest.err conftest.$ac_objext \
14894 conftest$ac_exeext conftest.$ac_ext
14896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14897 $as_echo "$ac_cv_c_dot_previous" >&6; }
14899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14900 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14901 if ${ac_cv_c_cfi_support+:} false; then :
14902 $as_echo_n "(cached) " >&6
14903 else
14904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14905 /* end confdefs.h. */
14906 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14908 main ()
14912 return 0;
14914 _ACEOF
14915 if ac_fn_c_try_compile "$LINENO"; then :
14916 ac_cv_c_cfi_support="yes"
14917 else
14918 ac_cv_c_cfi_support="no"
14920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14923 $as_echo "$ac_cv_c_cfi_support" >&6; }
14925 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14926 asm_func_trailer=""
14927 if test "$ac_cv_c_dot_previous" = "yes"
14928 then
14929 asm_func_trailer="\\n\\t.previous"
14931 if test "$ac_cv_c_cfi_support" = "yes"
14932 then
14933 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14934 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14936 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14938 UNWINDFLAGS=-fasynchronous-unwind-tables
14940 else
14941 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14943 if test "x$enable_win64" = "xyes"
14944 then
14945 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
14949 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14952 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14953 then
14954 cat >>confdefs.h <<_ACEOF
14955 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14956 _ACEOF
14958 else
14959 cat >>confdefs.h <<_ACEOF
14960 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14961 _ACEOF
14965 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14968 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14972 case $build_os in
14973 cygwin*|mingw32*) TOOLSEXT=".exe"
14975 esac
14977 case $host_os in
14978 linux-android*) ;;
14979 linux*)
14980 case $host_cpu in
14981 *i[3456789]86*|x86_64*)
14982 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14983 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
14985 esac
14987 esac
14990 ac_save_CFLAGS="$CFLAGS"
14991 CFLAGS="$CFLAGS $BUILTINFLAG"
14992 for ac_func in \
14993 __res_get_state \
14994 __res_getservers \
14995 _finite \
14996 _isnan \
14997 _pclose \
14998 _popen \
14999 _snprintf \
15000 _spawnvp \
15001 _strdup \
15002 _stricmp \
15003 _strnicmp \
15004 _strtoi64 \
15005 _strtoui64 \
15006 _vsnprintf \
15007 asctime_r \
15008 chsize \
15009 dlopen \
15010 epoll_create \
15011 ffs \
15012 finitef \
15013 fnmatch \
15014 fork \
15015 fpclass \
15016 fstatfs \
15017 fstatvfs \
15018 ftruncate \
15019 futimens \
15020 futimes \
15021 futimesat \
15022 getattrlist \
15023 getdirentries \
15024 getopt_long_only \
15025 getpwuid \
15026 gettimeofday \
15027 getuid \
15028 if_nameindex \
15029 isnanf \
15030 kqueue \
15031 lstat \
15032 memmove \
15033 mmap \
15034 pclose \
15035 pipe2 \
15036 poll \
15037 popen \
15038 port_create \
15039 prctl \
15040 pread \
15041 proc_pidinfo \
15042 pwrite \
15043 readdir \
15044 readlink \
15045 sched_yield \
15046 select \
15047 setproctitle \
15048 setrlimit \
15049 settimeofday \
15050 sigaltstack \
15051 sigprocmask \
15052 snprintf \
15053 statfs \
15054 statvfs \
15055 strcasecmp \
15056 strdup \
15057 strerror \
15058 strncasecmp \
15059 strtold \
15060 strtoll \
15061 strtoull \
15062 symlink \
15063 tcdrain \
15064 thr_kill2 \
15065 timegm \
15066 usleep \
15067 vsnprintf
15069 do :
15070 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15071 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15072 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15073 cat >>confdefs.h <<_ACEOF
15074 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15075 _ACEOF
15078 done
15080 CFLAGS="$ac_save_CFLAGS"
15082 if test "$ac_cv_func_dlopen" = no
15083 then
15084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15085 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15086 if ${ac_cv_lib_dl_dlopen+:} false; then :
15087 $as_echo_n "(cached) " >&6
15088 else
15089 ac_check_lib_save_LIBS=$LIBS
15090 LIBS="-ldl $LIBS"
15091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15092 /* end confdefs.h. */
15094 /* Override any GCC internal prototype to avoid an error.
15095 Use char because int might match the return type of a GCC
15096 builtin and then its argument prototype would still apply. */
15097 #ifdef __cplusplus
15098 extern "C"
15099 #endif
15100 char dlopen ();
15102 main ()
15104 return dlopen ();
15106 return 0;
15108 _ACEOF
15109 if ac_fn_c_try_link "$LINENO"; then :
15110 ac_cv_lib_dl_dlopen=yes
15111 else
15112 ac_cv_lib_dl_dlopen=no
15114 rm -f core conftest.err conftest.$ac_objext \
15115 conftest$ac_exeext conftest.$ac_ext
15116 LIBS=$ac_check_lib_save_LIBS
15118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15119 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15120 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15121 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15122 DL_LIBS="-ldl"
15127 ac_wine_check_funcs_save_LIBS="$LIBS"
15128 LIBS="$LIBS $DL_LIBS"
15129 for ac_func in dladdr
15130 do :
15131 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15132 if test "x$ac_cv_func_dladdr" = xyes; then :
15133 cat >>confdefs.h <<_ACEOF
15134 #define HAVE_DLADDR 1
15135 _ACEOF
15138 done
15140 LIBS="$ac_wine_check_funcs_save_LIBS"
15142 if test "$ac_cv_func_poll" = no
15143 then
15144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15145 $as_echo_n "checking for poll in -lpoll... " >&6; }
15146 if ${ac_cv_lib_poll_poll+:} false; then :
15147 $as_echo_n "(cached) " >&6
15148 else
15149 ac_check_lib_save_LIBS=$LIBS
15150 LIBS="-lpoll $LIBS"
15151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15152 /* end confdefs.h. */
15154 /* Override any GCC internal prototype to avoid an error.
15155 Use char because int might match the return type of a GCC
15156 builtin and then its argument prototype would still apply. */
15157 #ifdef __cplusplus
15158 extern "C"
15159 #endif
15160 char poll ();
15162 main ()
15164 return poll ();
15166 return 0;
15168 _ACEOF
15169 if ac_fn_c_try_link "$LINENO"; then :
15170 ac_cv_lib_poll_poll=yes
15171 else
15172 ac_cv_lib_poll_poll=no
15174 rm -f core conftest.err conftest.$ac_objext \
15175 conftest$ac_exeext conftest.$ac_ext
15176 LIBS=$ac_check_lib_save_LIBS
15178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15179 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15180 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15181 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15182 POLL_LIBS="-lpoll"
15188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15189 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15190 if ${ac_cv_search_gethostbyname+:} false; then :
15191 $as_echo_n "(cached) " >&6
15192 else
15193 ac_func_search_save_LIBS=$LIBS
15194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15195 /* end confdefs.h. */
15197 /* Override any GCC internal prototype to avoid an error.
15198 Use char because int might match the return type of a GCC
15199 builtin and then its argument prototype would still apply. */
15200 #ifdef __cplusplus
15201 extern "C"
15202 #endif
15203 char gethostbyname ();
15205 main ()
15207 return gethostbyname ();
15209 return 0;
15211 _ACEOF
15212 for ac_lib in '' nsl; do
15213 if test -z "$ac_lib"; then
15214 ac_res="none required"
15215 else
15216 ac_res=-l$ac_lib
15217 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15219 if ac_fn_c_try_link "$LINENO"; then :
15220 ac_cv_search_gethostbyname=$ac_res
15222 rm -f core conftest.err conftest.$ac_objext \
15223 conftest$ac_exeext
15224 if ${ac_cv_search_gethostbyname+:} false; then :
15225 break
15227 done
15228 if ${ac_cv_search_gethostbyname+:} false; then :
15230 else
15231 ac_cv_search_gethostbyname=no
15233 rm conftest.$ac_ext
15234 LIBS=$ac_func_search_save_LIBS
15236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15237 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15238 ac_res=$ac_cv_search_gethostbyname
15239 if test "$ac_res" != no; then :
15240 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15246 $as_echo_n "checking for library containing connect... " >&6; }
15247 if ${ac_cv_search_connect+:} false; then :
15248 $as_echo_n "(cached) " >&6
15249 else
15250 ac_func_search_save_LIBS=$LIBS
15251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15252 /* end confdefs.h. */
15254 /* Override any GCC internal prototype to avoid an error.
15255 Use char because int might match the return type of a GCC
15256 builtin and then its argument prototype would still apply. */
15257 #ifdef __cplusplus
15258 extern "C"
15259 #endif
15260 char connect ();
15262 main ()
15264 return connect ();
15266 return 0;
15268 _ACEOF
15269 for ac_lib in '' socket; do
15270 if test -z "$ac_lib"; then
15271 ac_res="none required"
15272 else
15273 ac_res=-l$ac_lib
15274 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15276 if ac_fn_c_try_link "$LINENO"; then :
15277 ac_cv_search_connect=$ac_res
15279 rm -f core conftest.err conftest.$ac_objext \
15280 conftest$ac_exeext
15281 if ${ac_cv_search_connect+:} false; then :
15282 break
15284 done
15285 if ${ac_cv_search_connect+:} false; then :
15287 else
15288 ac_cv_search_connect=no
15290 rm conftest.$ac_ext
15291 LIBS=$ac_func_search_save_LIBS
15293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15294 $as_echo "$ac_cv_search_connect" >&6; }
15295 ac_res=$ac_cv_search_connect
15296 if test "$ac_res" != no; then :
15297 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15303 $as_echo_n "checking for library containing inet_aton... " >&6; }
15304 if ${ac_cv_search_inet_aton+:} false; then :
15305 $as_echo_n "(cached) " >&6
15306 else
15307 ac_func_search_save_LIBS=$LIBS
15308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15309 /* end confdefs.h. */
15311 /* Override any GCC internal prototype to avoid an error.
15312 Use char because int might match the return type of a GCC
15313 builtin and then its argument prototype would still apply. */
15314 #ifdef __cplusplus
15315 extern "C"
15316 #endif
15317 char inet_aton ();
15319 main ()
15321 return inet_aton ();
15323 return 0;
15325 _ACEOF
15326 for ac_lib in '' resolv; do
15327 if test -z "$ac_lib"; then
15328 ac_res="none required"
15329 else
15330 ac_res=-l$ac_lib
15331 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15333 if ac_fn_c_try_link "$LINENO"; then :
15334 ac_cv_search_inet_aton=$ac_res
15336 rm -f core conftest.err conftest.$ac_objext \
15337 conftest$ac_exeext
15338 if ${ac_cv_search_inet_aton+:} false; then :
15339 break
15341 done
15342 if ${ac_cv_search_inet_aton+:} false; then :
15344 else
15345 ac_cv_search_inet_aton=no
15347 rm conftest.$ac_ext
15348 LIBS=$ac_func_search_save_LIBS
15350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15351 $as_echo "$ac_cv_search_inet_aton" >&6; }
15352 ac_res=$ac_cv_search_inet_aton
15353 if test "$ac_res" != no; then :
15354 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15359 for ac_func in \
15360 getaddrinfo \
15361 getnameinfo \
15362 getnetbyname \
15363 getprotobyname \
15364 getprotobynumber \
15365 getservbyport \
15366 inet_addr \
15367 inet_network \
15368 inet_ntop \
15369 inet_pton \
15370 sendmsg \
15371 socketpair \
15373 do :
15374 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15375 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15376 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15377 cat >>confdefs.h <<_ACEOF
15378 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15379 _ACEOF
15382 done
15385 ac_save_LIBS=$LIBS
15386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15387 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15388 if ${ac_cv_search_clock_gettime+:} false; then :
15389 $as_echo_n "(cached) " >&6
15390 else
15391 ac_func_search_save_LIBS=$LIBS
15392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15393 /* end confdefs.h. */
15395 /* Override any GCC internal prototype to avoid an error.
15396 Use char because int might match the return type of a GCC
15397 builtin and then its argument prototype would still apply. */
15398 #ifdef __cplusplus
15399 extern "C"
15400 #endif
15401 char clock_gettime ();
15403 main ()
15405 return clock_gettime ();
15407 return 0;
15409 _ACEOF
15410 for ac_lib in '' rt; do
15411 if test -z "$ac_lib"; then
15412 ac_res="none required"
15413 else
15414 ac_res=-l$ac_lib
15415 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15417 if ac_fn_c_try_link "$LINENO"; then :
15418 ac_cv_search_clock_gettime=$ac_res
15420 rm -f core conftest.err conftest.$ac_objext \
15421 conftest$ac_exeext
15422 if ${ac_cv_search_clock_gettime+:} false; then :
15423 break
15425 done
15426 if ${ac_cv_search_clock_gettime+:} false; then :
15428 else
15429 ac_cv_search_clock_gettime=no
15431 rm conftest.$ac_ext
15432 LIBS=$ac_func_search_save_LIBS
15434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15435 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15436 ac_res=$ac_cv_search_clock_gettime
15437 if test "$ac_res" != no; then :
15438 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15440 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15442 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15446 LIBS=$ac_save_LIBS
15448 LDAP_LIBS=""
15450 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15451 then
15452 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15454 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15456 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15457 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15458 $as_echo_n "(cached) " >&6
15459 else
15460 ac_check_lib_save_LIBS=$LIBS
15461 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15463 /* end confdefs.h. */
15465 /* Override any GCC internal prototype to avoid an error.
15466 Use char because int might match the return type of a GCC
15467 builtin and then its argument prototype would still apply. */
15468 #ifdef __cplusplus
15469 extern "C"
15470 #endif
15471 char ldap_initialize ();
15473 main ()
15475 return ldap_initialize ();
15477 return 0;
15479 _ACEOF
15480 if ac_fn_c_try_link "$LINENO"; then :
15481 ac_cv_lib_ldap_r_ldap_initialize=yes
15482 else
15483 ac_cv_lib_ldap_r_ldap_initialize=no
15485 rm -f core conftest.err conftest.$ac_objext \
15486 conftest$ac_exeext conftest.$ac_ext
15487 LIBS=$ac_check_lib_save_LIBS
15489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15490 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15491 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15493 $as_echo_n "checking for ber_init in -llber... " >&6; }
15494 if ${ac_cv_lib_lber_ber_init+:} false; then :
15495 $as_echo_n "(cached) " >&6
15496 else
15497 ac_check_lib_save_LIBS=$LIBS
15498 LIBS="-llber $PTHREAD_LIBS $LIBS"
15499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15500 /* end confdefs.h. */
15502 /* Override any GCC internal prototype to avoid an error.
15503 Use char because int might match the return type of a GCC
15504 builtin and then its argument prototype would still apply. */
15505 #ifdef __cplusplus
15506 extern "C"
15507 #endif
15508 char ber_init ();
15510 main ()
15512 return ber_init ();
15514 return 0;
15516 _ACEOF
15517 if ac_fn_c_try_link "$LINENO"; then :
15518 ac_cv_lib_lber_ber_init=yes
15519 else
15520 ac_cv_lib_lber_ber_init=no
15522 rm -f core conftest.err conftest.$ac_objext \
15523 conftest$ac_exeext conftest.$ac_ext
15524 LIBS=$ac_check_lib_save_LIBS
15526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15527 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15528 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15530 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15532 LDAP_LIBS="-lldap_r -llber"
15539 ac_wine_check_funcs_save_LIBS="$LIBS"
15540 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15541 for ac_func in \
15542 ldap_count_references \
15543 ldap_first_reference \
15544 ldap_next_reference \
15545 ldap_parse_reference \
15546 ldap_parse_sort_control \
15547 ldap_parse_sortresponse_control \
15548 ldap_parse_vlv_control \
15549 ldap_parse_vlvresponse_control
15550 do :
15551 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15552 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15553 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15554 cat >>confdefs.h <<_ACEOF
15555 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15556 _ACEOF
15559 done
15561 LIBS="$ac_wine_check_funcs_save_LIBS"
15563 if test "x$LDAP_LIBS" = "x"; then :
15564 case "x$with_ldap" in
15565 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15566 xno) ;;
15567 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15568 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15569 esac
15572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15573 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15574 if ${wine_cv_one_arg_mkdir+:} false; then :
15575 $as_echo_n "(cached) " >&6
15576 else
15577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15578 /* end confdefs.h. */
15579 #include <sys/stat.h>
15581 main ()
15583 mkdir("foo");
15585 return 0;
15587 _ACEOF
15588 if ac_fn_c_try_compile "$LINENO"; then :
15589 wine_cv_one_arg_mkdir=yes
15590 else
15591 wine_cv_one_arg_mkdir=no
15593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15596 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15597 if test "$wine_cv_one_arg_mkdir" = "yes"
15598 then
15600 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15605 $as_echo_n "checking for sched_setaffinity... " >&6; }
15606 if ${wine_cv_have_sched_setaffinity+:} false; then :
15607 $as_echo_n "(cached) " >&6
15608 else
15609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15610 /* end confdefs.h. */
15611 #define _GNU_SOURCE
15612 #include <sched.h>
15614 main ()
15616 sched_setaffinity(0, 0, 0);
15618 return 0;
15620 _ACEOF
15621 if ac_fn_c_try_link "$LINENO"; then :
15622 wine_cv_have_sched_setaffinity=yes
15623 else
15624 wine_cv_have_sched_setaffinity=no
15626 rm -f core conftest.err conftest.$ac_objext \
15627 conftest$ac_exeext conftest.$ac_ext
15629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15630 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15631 if test "$wine_cv_have_sched_setaffinity" = "yes"
15632 then
15634 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15639 $as_echo_n "checking for fallocate... " >&6; }
15640 if ${wine_cv_have_fallocate+:} false; then :
15641 $as_echo_n "(cached) " >&6
15642 else
15643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15644 /* end confdefs.h. */
15645 #define _GNU_SOURCE
15646 #include <fcntl.h>
15648 main ()
15650 fallocate(-1, 0, 0, 0);
15652 return 0;
15654 _ACEOF
15655 if ac_fn_c_try_link "$LINENO"; then :
15656 wine_cv_have_fallocate=yes
15657 else
15658 wine_cv_have_fallocate=no
15660 rm -f core conftest.err conftest.$ac_objext \
15661 conftest$ac_exeext conftest.$ac_ext
15663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15664 $as_echo "$wine_cv_have_fallocate" >&6; }
15665 if test "$wine_cv_have_fallocate" = "yes"
15666 then
15668 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15674 $as_echo_n "checking for inline... " >&6; }
15675 if ${ac_cv_c_inline+:} false; then :
15676 $as_echo_n "(cached) " >&6
15677 else
15678 ac_cv_c_inline=no
15679 for ac_kw in inline __inline__ __inline; do
15680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15681 /* end confdefs.h. */
15682 #ifndef __cplusplus
15683 typedef int foo_t;
15684 static $ac_kw foo_t static_foo () {return 0; }
15685 $ac_kw foo_t foo () {return 0; }
15686 #endif
15688 _ACEOF
15689 if ac_fn_c_try_compile "$LINENO"; then :
15690 ac_cv_c_inline=$ac_kw
15692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15693 test "$ac_cv_c_inline" != no && break
15694 done
15697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15698 $as_echo "$ac_cv_c_inline" >&6; }
15700 case $ac_cv_c_inline in
15701 inline | yes) ;;
15703 case $ac_cv_c_inline in
15704 no) ac_val=;;
15705 *) ac_val=$ac_cv_c_inline;;
15706 esac
15707 cat >>confdefs.h <<_ACEOF
15708 #ifndef __cplusplus
15709 #define inline $ac_val
15710 #endif
15711 _ACEOF
15713 esac
15715 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15716 if test "x$ac_cv_type_mode_t" = xyes; then :
15718 cat >>confdefs.h <<_ACEOF
15719 #define HAVE_MODE_T 1
15720 _ACEOF
15724 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15725 if test "x$ac_cv_type_off_t" = xyes; then :
15727 cat >>confdefs.h <<_ACEOF
15728 #define HAVE_OFF_T 1
15729 _ACEOF
15733 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15734 if test "x$ac_cv_type_pid_t" = xyes; then :
15736 cat >>confdefs.h <<_ACEOF
15737 #define HAVE_PID_T 1
15738 _ACEOF
15742 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15743 if test "x$ac_cv_type_size_t" = xyes; then :
15745 cat >>confdefs.h <<_ACEOF
15746 #define HAVE_SIZE_T 1
15747 _ACEOF
15751 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15752 if test "x$ac_cv_type_ssize_t" = xyes; then :
15754 cat >>confdefs.h <<_ACEOF
15755 #define HAVE_SSIZE_T 1
15756 _ACEOF
15760 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15761 if test "x$ac_cv_type_long_long" = xyes; then :
15763 cat >>confdefs.h <<_ACEOF
15764 #define HAVE_LONG_LONG 1
15765 _ACEOF
15769 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15770 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15772 cat >>confdefs.h <<_ACEOF
15773 #define HAVE_FSBLKCNT_T 1
15774 _ACEOF
15778 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15779 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15781 cat >>confdefs.h <<_ACEOF
15782 #define HAVE_FSFILCNT_T 1
15783 _ACEOF
15788 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15789 #include <signal.h>
15791 if test "x$ac_cv_type_sigset_t" = xyes; then :
15793 cat >>confdefs.h <<_ACEOF
15794 #define HAVE_SIGSET_T 1
15795 _ACEOF
15800 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15802 if test "x$ac_cv_type_request_sense" = xyes; then :
15804 cat >>confdefs.h <<_ACEOF
15805 #define HAVE_REQUEST_SENSE 1
15806 _ACEOF
15812 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15813 #ifdef HAVE_SYS_SOCKET_H
15814 #include <sys/socket.h>
15815 #endif
15816 #ifdef HAVE_SYS_SOCKETVAR_H
15817 #include <sys/socketvar.h>
15818 #endif
15819 #ifdef HAVE_NET_ROUTE_H
15820 #include <net/route.h>
15821 #endif
15822 #ifdef HAVE_NETINET_IN_H
15823 #include <netinet/in.h>
15824 #endif
15825 #ifdef HAVE_NETINET_IN_SYSTM_H
15826 #include <netinet/in_systm.h>
15827 #endif
15828 #ifdef HAVE_NETINET_IP_H
15829 #include <netinet/ip.h>
15830 #endif
15831 #ifdef HAVE_NETINET_IN_PCB_H
15832 #include <netinet/in_pcb.h>
15833 #endif
15835 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15837 cat >>confdefs.h <<_ACEOF
15838 #define HAVE_STRUCT_XINPGEN 1
15839 _ACEOF
15845 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15846 #include <link.h>
15847 #endif
15848 #ifdef HAVE_SYS_LINK_H
15849 #include <sys/link.h>
15850 #endif
15852 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15854 cat >>confdefs.h <<_ACEOF
15855 #define HAVE_STRUCT_R_DEBUG 1
15856 _ACEOF
15860 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15861 #include <link.h>
15862 #endif
15863 #ifdef HAVE_SYS_LINK_H
15864 #include <sys/link.h>
15865 #endif
15867 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15869 cat >>confdefs.h <<_ACEOF
15870 #define HAVE_STRUCT_LINK_MAP 1
15871 _ACEOF
15877 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15878 #include <linux/input.h>
15879 #endif
15881 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15883 cat >>confdefs.h <<_ACEOF
15884 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15885 _ACEOF
15891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15892 $as_echo_n "checking for sigaddset... " >&6; }
15893 if ${wine_cv_have_sigaddset+:} false; then :
15894 $as_echo_n "(cached) " >&6
15895 else
15896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15897 /* end confdefs.h. */
15898 #include <signal.h>
15900 main ()
15902 sigset_t set; sigaddset(&set,SIGTERM);
15904 return 0;
15906 _ACEOF
15907 if ac_fn_c_try_link "$LINENO"; then :
15908 wine_cv_have_sigaddset=yes
15909 else
15910 wine_cv_have_sigaddset=no
15912 rm -f core conftest.err conftest.$ac_objext \
15913 conftest$ac_exeext conftest.$ac_ext
15915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15916 $as_echo "$wine_cv_have_sigaddset" >&6; }
15917 if test "$wine_cv_have_sigaddset" = "yes"
15918 then
15920 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15926 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15927 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15928 $as_echo_n "(cached) " >&6
15929 else
15930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15931 /* end confdefs.h. */
15932 #include <netdb.h>
15934 main ()
15937 char *name=0;
15938 struct hostent he;
15939 struct hostent *result;
15940 char *buf=0;
15941 int bufsize=0;
15942 int errnr;
15943 char *addr=0;
15944 int addrlen=0;
15945 int addrtype=0;
15946 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15947 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15950 return 0;
15952 _ACEOF
15953 if ac_fn_c_try_link "$LINENO"; then :
15954 wine_cv_linux_gethostbyname_r_6=yes
15955 else
15956 wine_cv_linux_gethostbyname_r_6=no
15959 rm -f core conftest.err conftest.$ac_objext \
15960 conftest$ac_exeext conftest.$ac_ext
15963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15964 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15965 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15966 then
15968 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15972 if test "$ac_cv_header_linux_joystick_h" = "yes"
15973 then
15974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15975 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15976 if ${wine_cv_linux_joystick_22_api+:} false; then :
15977 $as_echo_n "(cached) " >&6
15978 else
15979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15980 /* end confdefs.h. */
15982 #include <sys/ioctl.h>
15983 #include <sys/types.h>
15984 #include <linux/joystick.h>
15986 struct js_event blub;
15987 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15988 #error "no 2.2 header"
15989 #endif
15992 main ()
15994 /*empty*/
15996 return 0;
15998 _ACEOF
15999 if ac_fn_c_try_compile "$LINENO"; then :
16000 wine_cv_linux_joystick_22_api=yes
16001 else
16002 wine_cv_linux_joystick_22_api=no
16004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16008 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16009 if test "$wine_cv_linux_joystick_22_api" = "yes"
16010 then
16012 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16018 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16019 #ifdef HAVE_SYS_PARAM_H
16020 # include <sys/param.h>
16021 #endif
16022 #ifdef HAVE_SYS_MOUNT_H
16023 # include <sys/mount.h>
16024 #endif
16025 #ifdef HAVE_SYS_VFS_H
16026 # include <sys/vfs.h>
16027 #endif
16028 #ifdef HAVE_SYS_STATFS_H
16029 # include <sys/statfs.h>
16030 #endif
16032 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16034 cat >>confdefs.h <<_ACEOF
16035 #define HAVE_STRUCT_STATFS_F_BFREE 1
16036 _ACEOF
16040 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16041 #ifdef HAVE_SYS_PARAM_H
16042 # include <sys/param.h>
16043 #endif
16044 #ifdef HAVE_SYS_MOUNT_H
16045 # include <sys/mount.h>
16046 #endif
16047 #ifdef HAVE_SYS_VFS_H
16048 # include <sys/vfs.h>
16049 #endif
16050 #ifdef HAVE_SYS_STATFS_H
16051 # include <sys/statfs.h>
16052 #endif
16054 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16056 cat >>confdefs.h <<_ACEOF
16057 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16058 _ACEOF
16062 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16063 #ifdef HAVE_SYS_PARAM_H
16064 # include <sys/param.h>
16065 #endif
16066 #ifdef HAVE_SYS_MOUNT_H
16067 # include <sys/mount.h>
16068 #endif
16069 #ifdef HAVE_SYS_VFS_H
16070 # include <sys/vfs.h>
16071 #endif
16072 #ifdef HAVE_SYS_STATFS_H
16073 # include <sys/statfs.h>
16074 #endif
16076 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16078 cat >>confdefs.h <<_ACEOF
16079 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16080 _ACEOF
16084 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16085 #ifdef HAVE_SYS_PARAM_H
16086 # include <sys/param.h>
16087 #endif
16088 #ifdef HAVE_SYS_MOUNT_H
16089 # include <sys/mount.h>
16090 #endif
16091 #ifdef HAVE_SYS_VFS_H
16092 # include <sys/vfs.h>
16093 #endif
16094 #ifdef HAVE_SYS_STATFS_H
16095 # include <sys/statfs.h>
16096 #endif
16098 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16100 cat >>confdefs.h <<_ACEOF
16101 #define HAVE_STRUCT_STATFS_F_FFREE 1
16102 _ACEOF
16106 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16107 #ifdef HAVE_SYS_PARAM_H
16108 # include <sys/param.h>
16109 #endif
16110 #ifdef HAVE_SYS_MOUNT_H
16111 # include <sys/mount.h>
16112 #endif
16113 #ifdef HAVE_SYS_VFS_H
16114 # include <sys/vfs.h>
16115 #endif
16116 #ifdef HAVE_SYS_STATFS_H
16117 # include <sys/statfs.h>
16118 #endif
16120 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16122 cat >>confdefs.h <<_ACEOF
16123 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16124 _ACEOF
16128 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16129 #ifdef HAVE_SYS_PARAM_H
16130 # include <sys/param.h>
16131 #endif
16132 #ifdef HAVE_SYS_MOUNT_H
16133 # include <sys/mount.h>
16134 #endif
16135 #ifdef HAVE_SYS_VFS_H
16136 # include <sys/vfs.h>
16137 #endif
16138 #ifdef HAVE_SYS_STATFS_H
16139 # include <sys/statfs.h>
16140 #endif
16142 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16144 cat >>confdefs.h <<_ACEOF
16145 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16146 _ACEOF
16152 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16153 #include <sys/statvfs.h>
16154 #endif
16156 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16158 cat >>confdefs.h <<_ACEOF
16159 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16160 _ACEOF
16166 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16167 #include <dirent.h>
16168 #endif
16170 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16172 cat >>confdefs.h <<_ACEOF
16173 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16174 _ACEOF
16180 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16181 #ifdef HAVE_SYS_SOCKET_H
16182 # include <sys/socket.h>
16183 #endif
16184 #ifdef HAVE_SYS_UN_H
16185 # include <sys/un.h>
16186 #endif
16188 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16190 cat >>confdefs.h <<_ACEOF
16191 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16192 _ACEOF
16196 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16197 #ifdef HAVE_SYS_SOCKET_H
16198 # include <sys/socket.h>
16199 #endif
16200 #ifdef HAVE_SYS_UN_H
16201 # include <sys/un.h>
16202 #endif
16204 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16206 cat >>confdefs.h <<_ACEOF
16207 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16208 _ACEOF
16212 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16213 #ifdef HAVE_SYS_SOCKET_H
16214 # include <sys/socket.h>
16215 #endif
16216 #ifdef HAVE_SYS_UN_H
16217 # include <sys/un.h>
16218 #endif
16220 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16222 cat >>confdefs.h <<_ACEOF
16223 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16224 _ACEOF
16230 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16231 #ifdef HAVE_SCSI_SG_H
16232 #include <scsi/sg.h>
16233 #endif
16235 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16237 cat >>confdefs.h <<_ACEOF
16238 #define HAVE_SCSIREQ_T_CMD 1
16239 _ACEOF
16243 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>
16244 #ifdef HAVE_SCSI_SG_H
16245 #include <scsi/sg.h>
16246 #endif
16248 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16250 cat >>confdefs.h <<_ACEOF
16251 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16252 _ACEOF
16258 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16260 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16262 cat >>confdefs.h <<_ACEOF
16263 #define HAVE_SIGINFO_T_SI_FD 1
16264 _ACEOF
16270 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16271 #ifdef HAVE_SYS_MTIO_H
16272 #include <sys/mtio.h>
16273 #endif
16275 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16277 cat >>confdefs.h <<_ACEOF
16278 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16279 _ACEOF
16283 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16284 #ifdef HAVE_SYS_MTIO_H
16285 #include <sys/mtio.h>
16286 #endif
16288 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16290 cat >>confdefs.h <<_ACEOF
16291 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16292 _ACEOF
16296 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16297 #ifdef HAVE_SYS_MTIO_H
16298 #include <sys/mtio.h>
16299 #endif
16301 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16303 cat >>confdefs.h <<_ACEOF
16304 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16305 _ACEOF
16311 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16312 #include <getopt.h>
16313 #endif
16315 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16317 cat >>confdefs.h <<_ACEOF
16318 #define HAVE_STRUCT_OPTION_NAME 1
16319 _ACEOF
16325 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16326 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16328 cat >>confdefs.h <<_ACEOF
16329 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16330 _ACEOF
16334 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16335 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16337 cat >>confdefs.h <<_ACEOF
16338 #define HAVE_STRUCT_STAT_ST_MTIM 1
16339 _ACEOF
16343 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16344 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16346 cat >>confdefs.h <<_ACEOF
16347 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16348 _ACEOF
16352 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16353 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16355 cat >>confdefs.h <<_ACEOF
16356 #define HAVE_STRUCT_STAT_ST_CTIM 1
16357 _ACEOF
16361 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16362 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16364 cat >>confdefs.h <<_ACEOF
16365 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16366 _ACEOF
16370 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16371 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16373 cat >>confdefs.h <<_ACEOF
16374 #define HAVE_STRUCT_STAT_ST_ATIM 1
16375 _ACEOF
16379 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16380 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16382 cat >>confdefs.h <<_ACEOF
16383 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16384 _ACEOF
16388 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16389 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16391 cat >>confdefs.h <<_ACEOF
16392 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16393 _ACEOF
16397 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16398 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16400 cat >>confdefs.h <<_ACEOF
16401 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16402 _ACEOF
16406 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16407 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16409 cat >>confdefs.h <<_ACEOF
16410 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16411 _ACEOF
16415 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16416 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16418 cat >>confdefs.h <<_ACEOF
16419 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16420 _ACEOF
16424 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16425 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16427 cat >>confdefs.h <<_ACEOF
16428 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16429 _ACEOF
16435 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
16436 #include <sys/types.h>
16437 #endif
16438 #ifdef HAVE_NETINET_IN_H
16439 #include <netinet/in.h>
16440 #endif
16442 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16444 cat >>confdefs.h <<_ACEOF
16445 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16446 _ACEOF
16452 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16453 #include <resolv.h>
16454 #endif
16456 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16458 cat >>confdefs.h <<_ACEOF
16459 #define HAVE_STRUCT___RES_STATE 1
16460 _ACEOF
16466 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
16467 #include <resolv.h>
16468 #endif
16470 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16472 cat >>confdefs.h <<_ACEOF
16473 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16474 _ACEOF
16480 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16481 #include <sys/types.h>
16482 #endif
16483 #ifdef HAVE_NETINET_IN_H
16484 # include <netinet/in.h>
16485 #endif
16486 #ifdef HAVE_ARPA_NAMESER_H
16487 # include <arpa/nameser.h>
16488 #endif
16490 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16492 cat >>confdefs.h <<_ACEOF
16493 #define HAVE_NS_MSG__MSG_PTR 1
16494 _ACEOF
16500 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16501 #include <sys/types.h>
16502 #endif
16503 #ifdef HAVE_NETINET_IP_H
16504 #include <netinet/ip.h>
16505 #endif
16506 #ifdef HAVE_NETINET_IP_ICMP_H
16507 #include <netinet/ip_icmp.h>
16508 #endif
16509 #ifdef HAVE_NETINET_ICMP_VAR_H
16510 #include <netinet/icmp_var.h>
16511 #endif
16513 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16515 cat >>confdefs.h <<_ACEOF
16516 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16517 _ACEOF
16523 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16524 #include <sys/types.h>
16525 #endif
16526 #ifdef HAVE_ALIAS_H
16527 #include <alias.h>
16528 #endif
16529 #ifdef HAVE_SYS_SOCKET_H
16530 #include <sys/socket.h>
16531 #endif
16532 #ifdef HAVE_SYS_SOCKETVAR_H
16533 #include <sys/socketvar.h>
16534 #endif
16535 #ifdef HAVE_SYS_TIMEOUT_H
16536 #include <sys/timeout.h>
16537 #endif
16538 #ifdef HAVE_NETINET_IN_H
16539 #include <netinet/in.h>
16540 #endif
16541 #ifdef HAVE_NETINET_IN_SYSTM_H
16542 #include <netinet/in_systm.h>
16543 #endif
16544 #ifdef HAVE_NETINET_IP_H
16545 #include <netinet/ip.h>
16546 #endif
16547 #ifdef HAVE_NETINET_IP_VAR_H
16548 #include <netinet/ip_var.h>
16549 #endif
16550 #ifdef HAVE_NETINET_IP_ICMP_H
16551 #include <netinet/ip_icmp.h>
16552 #endif
16553 #ifdef HAVE_NETINET_ICMP_VAR_H
16554 #include <netinet/icmp_var.h>
16555 #endif
16557 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16559 cat >>confdefs.h <<_ACEOF
16560 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16561 _ACEOF
16567 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16568 #include <sys/types.h>
16569 #endif
16570 #ifdef HAVE_SYS_SOCKETVAR_H
16571 #include <sys/socketvar.h>
16572 #endif
16573 #ifdef HAVE_NETINET_IN_H
16574 #include <netinet/in.h>
16575 #endif
16576 #ifdef HAVE_NETINET_IP_VAR_H
16577 #include <netinet/ip_var.h>
16578 #endif
16580 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16582 cat >>confdefs.h <<_ACEOF
16583 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16584 _ACEOF
16590 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
16591 #include <netinet/ip_var.h>
16592 #endif
16594 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16596 cat >>confdefs.h <<_ACEOF
16597 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16598 _ACEOF
16604 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16605 #include <sys/types.h>
16606 #endif
16607 #ifdef HAVE_SYS_SOCKETVAR_H
16608 #include <sys/socketvar.h>
16609 #endif
16610 #ifdef HAVE_NETINET_IN_H
16611 #include <netinet/in.h>
16612 #endif
16613 #ifdef HAVE_NETINET_TCP_H
16614 #include <netinet/tcp.h>
16615 #endif
16616 #ifdef HAVE_NETINET_TCP_VAR_H
16617 #include <netinet/tcp_var.h>
16618 #endif
16620 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16622 cat >>confdefs.h <<_ACEOF
16623 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16624 _ACEOF
16630 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
16631 #include <netinet/tcp_var.h>
16632 #endif
16634 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16636 cat >>confdefs.h <<_ACEOF
16637 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16638 _ACEOF
16644 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16645 #include <sys/types.h>
16646 #endif
16647 #ifdef HAVE_NETINET_IN_H
16648 #include <netinet/in.h>
16649 #endif
16650 #ifdef HAVE_NETINET_IP_VAR_H
16651 #include <netinet/ip_var.h>
16652 #endif
16653 #ifdef HAVE_NETINET_UDP_H
16654 #include <netinet/udp.h>
16655 #endif
16656 #ifdef HAVE_NETINET_UDP_VAR_H
16657 #include <netinet/udp_var.h>
16658 #endif
16660 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16662 cat >>confdefs.h <<_ACEOF
16663 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16664 _ACEOF
16670 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16671 #include <sys/types.h>
16672 #endif
16673 #ifdef HAVE_NET_IF_H
16674 # include <net/if.h>
16675 #endif
16677 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16679 cat >>confdefs.h <<_ACEOF
16680 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16681 _ACEOF
16687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16688 $as_echo_n "checking for timezone variable... " >&6; }
16689 if ${ac_cv_have_timezone+:} false; then :
16690 $as_echo_n "(cached) " >&6
16691 else
16692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16693 /* end confdefs.h. */
16694 #include <time.h>
16696 main ()
16698 timezone = 1
16700 return 0;
16702 _ACEOF
16703 if ac_fn_c_try_link "$LINENO"; then :
16704 ac_cv_have_timezone="yes"
16705 else
16706 ac_cv_have_timezone="no"
16708 rm -f core conftest.err conftest.$ac_objext \
16709 conftest$ac_exeext conftest.$ac_ext
16711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16712 $as_echo "$ac_cv_have_timezone" >&6; }
16713 if test "$ac_cv_have_timezone" = "yes"
16714 then
16716 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16720 $as_echo_n "checking for daylight variable... " >&6; }
16721 if ${ac_cv_have_daylight+:} false; then :
16722 $as_echo_n "(cached) " >&6
16723 else
16724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16725 /* end confdefs.h. */
16726 #include <time.h>
16728 main ()
16730 daylight = 1
16732 return 0;
16734 _ACEOF
16735 if ac_fn_c_try_link "$LINENO"; then :
16736 ac_cv_have_daylight="yes"
16737 else
16738 ac_cv_have_daylight="no"
16740 rm -f core conftest.err conftest.$ac_objext \
16741 conftest$ac_exeext conftest.$ac_ext
16743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16744 $as_echo "$ac_cv_have_daylight" >&6; }
16745 if test "$ac_cv_have_daylight" = "yes"
16746 then
16748 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16752 ac_save_LIBS="$LIBS"
16753 LIBS="$LIBS -lm"
16754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16755 $as_echo_n "checking for isfinite... " >&6; }
16756 if ${ac_cv_have_isfinite+:} false; then :
16757 $as_echo_n "(cached) " >&6
16758 else
16759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16760 /* end confdefs.h. */
16761 #define _GNU_SOURCE
16762 #include <math.h>
16764 main ()
16766 float f = 0.0; return isfinite(f)
16768 return 0;
16770 _ACEOF
16771 if ac_fn_c_try_link "$LINENO"; then :
16772 ac_cv_have_isfinite="yes"
16773 else
16774 ac_cv_have_isfinite="no"
16776 rm -f core conftest.err conftest.$ac_objext \
16777 conftest$ac_exeext conftest.$ac_ext
16779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16780 $as_echo "$ac_cv_have_isfinite" >&6; }
16781 if test "$ac_cv_have_isfinite" = "yes"
16782 then
16784 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16789 $as_echo_n "checking for isinf... " >&6; }
16790 if ${ac_cv_have_isinf+:} false; then :
16791 $as_echo_n "(cached) " >&6
16792 else
16793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16794 /* end confdefs.h. */
16795 #include <math.h>
16797 main ()
16799 float f = 0.0; return isinf(f)
16801 return 0;
16803 _ACEOF
16804 if ac_fn_c_try_link "$LINENO"; then :
16805 ac_cv_have_isinf="yes"
16806 else
16807 ac_cv_have_isinf="no"
16809 rm -f core conftest.err conftest.$ac_objext \
16810 conftest$ac_exeext conftest.$ac_ext
16812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16813 $as_echo "$ac_cv_have_isinf" >&6; }
16814 if test "$ac_cv_have_isinf" = "yes"
16815 then
16817 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16822 $as_echo_n "checking for isnan... " >&6; }
16823 if ${ac_cv_have_isnan+:} false; then :
16824 $as_echo_n "(cached) " >&6
16825 else
16826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16827 /* end confdefs.h. */
16828 #include <math.h>
16830 main ()
16832 float f = 0.0; return isnan(f)
16834 return 0;
16836 _ACEOF
16837 if ac_fn_c_try_link "$LINENO"; then :
16838 ac_cv_have_isnan="yes"
16839 else
16840 ac_cv_have_isnan="no"
16842 rm -f core conftest.err conftest.$ac_objext \
16843 conftest$ac_exeext conftest.$ac_ext
16845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16846 $as_echo "$ac_cv_have_isnan" >&6; }
16847 if test "$ac_cv_have_isnan" = "yes"
16848 then
16850 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16854 for ac_func in \
16855 cbrt \
16856 cbrtf \
16857 erf \
16858 erff \
16859 exp2 \
16860 exp2f \
16861 llrint \
16862 llrintf \
16863 llround \
16864 llroundf \
16865 log2 \
16866 log2f \
16867 lrint \
16868 lrintf \
16869 lround \
16870 lroundf \
16871 rint \
16872 rintf \
16873 round \
16874 roundf \
16875 trunc \
16876 truncf
16878 do :
16879 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16880 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16881 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16882 cat >>confdefs.h <<_ACEOF
16883 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16884 _ACEOF
16887 done
16889 LIBS="$ac_save_LIBS"
16891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16892 $as_echo_n "checking for __builtin_clz... " >&6; }
16893 if ${ac_cv_have___builtin_clz+:} false; then :
16894 $as_echo_n "(cached) " >&6
16895 else
16896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16897 /* end confdefs.h. */
16900 main ()
16902 return __builtin_clz(1)
16904 return 0;
16906 _ACEOF
16907 if ac_fn_c_try_link "$LINENO"; then :
16908 ac_cv_have___builtin_clz="yes"
16909 else
16910 ac_cv_have___builtin_clz="no"
16912 rm -f core conftest.err conftest.$ac_objext \
16913 conftest$ac_exeext conftest.$ac_ext
16915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16916 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16917 if test "$ac_cv_have___builtin_clz" = "yes"
16918 then
16920 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
16925 $as_echo_n "checking for __builtin_popcount... " >&6; }
16926 if ${ac_cv_have___builtin_popcount+:} false; then :
16927 $as_echo_n "(cached) " >&6
16928 else
16929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16930 /* end confdefs.h. */
16933 main ()
16935 return __builtin_popcount(1)
16937 return 0;
16939 _ACEOF
16940 if ac_fn_c_try_link "$LINENO"; then :
16941 ac_cv_have___builtin_popcount="yes"
16942 else
16943 ac_cv_have___builtin_popcount="no"
16945 rm -f core conftest.err conftest.$ac_objext \
16946 conftest$ac_exeext conftest.$ac_ext
16948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
16949 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
16950 if test "$ac_cv_have___builtin_popcount" = "yes"
16951 then
16953 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
16958 case $host_cpu in
16959 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16960 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16961 if ${ac_cv_cpp_def___i386__+:} false; then :
16962 $as_echo_n "(cached) " >&6
16963 else
16964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16965 /* end confdefs.h. */
16966 #ifndef __i386__
16968 #endif
16969 _ACEOF
16970 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16971 $EGREP "yes" >/dev/null 2>&1; then :
16972 ac_cv_cpp_def___i386__=yes
16973 else
16974 ac_cv_cpp_def___i386__=no
16976 rm -f conftest*
16979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16980 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16981 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16982 CFLAGS="$CFLAGS -D__i386__"
16983 LINTFLAGS="$LINTFLAGS -D__i386__"
16984 fi ;;
16985 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16986 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16987 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16988 $as_echo_n "(cached) " >&6
16989 else
16990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16991 /* end confdefs.h. */
16992 #ifndef __x86_64__
16994 #endif
16995 _ACEOF
16996 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16997 $EGREP "yes" >/dev/null 2>&1; then :
16998 ac_cv_cpp_def___x86_64__=yes
16999 else
17000 ac_cv_cpp_def___x86_64__=no
17002 rm -f conftest*
17005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17006 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17007 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17008 CFLAGS="$CFLAGS -D__x86_64__"
17009 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17010 fi ;;
17011 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17012 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17013 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17014 $as_echo_n "(cached) " >&6
17015 else
17016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17017 /* end confdefs.h. */
17018 #ifndef __sparc64__
17020 #endif
17021 _ACEOF
17022 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17023 $EGREP "yes" >/dev/null 2>&1; then :
17024 ac_cv_cpp_def___sparc64__=yes
17025 else
17026 ac_cv_cpp_def___sparc64__=no
17028 rm -f conftest*
17031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17032 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17033 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17034 CFLAGS="$CFLAGS -D__sparc64__"
17035 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17036 fi ;;
17037 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17038 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17039 if ${ac_cv_cpp_def___sparc__+:} false; then :
17040 $as_echo_n "(cached) " >&6
17041 else
17042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17043 /* end confdefs.h. */
17044 #ifndef __sparc__
17046 #endif
17047 _ACEOF
17048 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17049 $EGREP "yes" >/dev/null 2>&1; then :
17050 ac_cv_cpp_def___sparc__=yes
17051 else
17052 ac_cv_cpp_def___sparc__=no
17054 rm -f conftest*
17057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17058 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17059 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17060 CFLAGS="$CFLAGS -D__sparc__"
17061 LINTFLAGS="$LINTFLAGS -D__sparc__"
17062 fi ;;
17063 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17064 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17065 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17066 $as_echo_n "(cached) " >&6
17067 else
17068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17069 /* end confdefs.h. */
17070 #ifndef __powerpc64__
17072 #endif
17073 _ACEOF
17074 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17075 $EGREP "yes" >/dev/null 2>&1; then :
17076 ac_cv_cpp_def___powerpc64__=yes
17077 else
17078 ac_cv_cpp_def___powerpc64__=no
17080 rm -f conftest*
17083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17084 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17085 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17086 CFLAGS="$CFLAGS -D__powerpc64__"
17087 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17088 fi ;;
17089 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17090 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17091 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17092 $as_echo_n "(cached) " >&6
17093 else
17094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17095 /* end confdefs.h. */
17096 #ifndef __powerpc__
17098 #endif
17099 _ACEOF
17100 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17101 $EGREP "yes" >/dev/null 2>&1; then :
17102 ac_cv_cpp_def___powerpc__=yes
17103 else
17104 ac_cv_cpp_def___powerpc__=no
17106 rm -f conftest*
17109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17110 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17111 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17112 CFLAGS="$CFLAGS -D__powerpc__"
17113 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17114 fi ;;
17115 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17116 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17117 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17118 $as_echo_n "(cached) " >&6
17119 else
17120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17121 /* end confdefs.h. */
17122 #ifndef __aarch64__
17124 #endif
17125 _ACEOF
17126 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17127 $EGREP "yes" >/dev/null 2>&1; then :
17128 ac_cv_cpp_def___aarch64__=yes
17129 else
17130 ac_cv_cpp_def___aarch64__=no
17132 rm -f conftest*
17135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17136 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17137 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17138 CFLAGS="$CFLAGS -D__aarch64__"
17139 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17140 fi ;;
17141 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17142 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17143 if ${ac_cv_cpp_def___arm__+:} false; then :
17144 $as_echo_n "(cached) " >&6
17145 else
17146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17147 /* end confdefs.h. */
17148 #ifndef __arm__
17150 #endif
17151 _ACEOF
17152 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17153 $EGREP "yes" >/dev/null 2>&1; then :
17154 ac_cv_cpp_def___arm__=yes
17155 else
17156 ac_cv_cpp_def___arm__=no
17158 rm -f conftest*
17161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17162 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17163 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17164 CFLAGS="$CFLAGS -D__arm__"
17165 LINTFLAGS="$LINTFLAGS -D__arm__"
17166 fi ;;
17167 esac
17169 case $host_vendor in
17170 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17171 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17172 if ${ac_cv_cpp_def___sun__+:} false; then :
17173 $as_echo_n "(cached) " >&6
17174 else
17175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17176 /* end confdefs.h. */
17177 #ifndef __sun__
17179 #endif
17180 _ACEOF
17181 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17182 $EGREP "yes" >/dev/null 2>&1; then :
17183 ac_cv_cpp_def___sun__=yes
17184 else
17185 ac_cv_cpp_def___sun__=no
17187 rm -f conftest*
17190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17191 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17192 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17193 CFLAGS="$CFLAGS -D__sun__"
17194 LINTFLAGS="$LINTFLAGS -D__sun__"
17195 fi ;;
17196 esac
17202 ac_config_commands="$ac_config_commands include/stamp-h"
17204 $as_echo_n "creating Makefile rules..." >&6
17206 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17207 SOCKET_LIBS = $SOCKET_LIBS
17208 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17209 IOKIT_LIBS = $IOKIT_LIBS
17210 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17211 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17212 CORESERVICES_LIBS = $CORESERVICES_LIBS
17213 APPKIT_LIBS = $APPKIT_LIBS
17214 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17215 SECURITY_LIBS = $SECURITY_LIBS
17216 COREAUDIO_LIBS = $COREAUDIO_LIBS
17217 OPENAL_LIBS = $OPENAL_LIBS
17218 OPENCL_LIBS = $OPENCL_LIBS
17219 QUICKTIME_LIBS = $QUICKTIME_LIBS
17220 CARBON_LIBS = $CARBON_LIBS
17221 PTHREAD_LIBS = $PTHREAD_LIBS
17222 X_CFLAGS = $X_CFLAGS
17223 X_PRE_LIBS = $X_PRE_LIBS
17224 X_LIBS = $X_LIBS
17225 X_EXTRA_LIBS = $X_EXTRA_LIBS
17226 PCAP_LIBS = $PCAP_LIBS
17227 XML2_CFLAGS = $XML2_CFLAGS
17228 XML2_LIBS = $XML2_LIBS
17229 XSLT_CFLAGS = $XSLT_CFLAGS
17230 XSLT_LIBS = $XSLT_LIBS
17231 DBUS_CFLAGS = $DBUS_CFLAGS
17232 DBUS_LIBS = $DBUS_LIBS
17233 HAL_CFLAGS = $HAL_CFLAGS
17234 HAL_LIBS = $HAL_LIBS
17235 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17236 GNUTLS_LIBS = $GNUTLS_LIBS
17237 SANE_CFLAGS = $SANE_CFLAGS
17238 SANE_LIBS = $SANE_LIBS
17239 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17240 GPHOTO2_LIBS = $GPHOTO2_LIBS
17241 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17242 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17243 RESOLV_LIBS = $RESOLV_LIBS
17244 LCMS2_CFLAGS = $LCMS2_CFLAGS
17245 LCMS2_LIBS = $LCMS2_LIBS
17246 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17247 FREETYPE_LIBS = $FREETYPE_LIBS
17248 Z_LIBS = $Z_LIBS
17249 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17250 PULSE_CFLAGS = $PULSE_CFLAGS
17251 PULSE_LIBS = $PULSE_LIBS
17252 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17253 GSTREAMER_LIBS = $GSTREAMER_LIBS
17254 ALSA_LIBS = $ALSA_LIBS
17255 OSS4_CFLAGS = $OSS4_CFLAGS
17256 CAPI20_CFLAGS = $CAPI20_CFLAGS
17257 CAPI20_LIBS = $CAPI20_LIBS
17258 CUPS_CFLAGS = $CUPS_CFLAGS
17259 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17260 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17261 JPEG_CFLAGS = $JPEG_CFLAGS
17262 JPEG_LIBS = $JPEG_LIBS
17263 PNG_CFLAGS = $PNG_CFLAGS
17264 PNG_LIBS = $PNG_LIBS
17265 TIFF_CFLAGS = $TIFF_CFLAGS
17266 TIFF_LIBS = $TIFF_LIBS
17267 MPG123_CFLAGS = $MPG123_CFLAGS
17268 MPG123_LIBS = $MPG123_LIBS
17269 KSTAT_LIBS = $KSTAT_LIBS
17270 PROCSTAT_LIBS = $PROCSTAT_LIBS
17271 NETAPI_CFLAGS = $NETAPI_CFLAGS
17272 NETAPI_LIBS = $NETAPI_LIBS
17273 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17274 DL_LIBS = $DL_LIBS
17275 POLL_LIBS = $POLL_LIBS
17276 RT_LIBS = $RT_LIBS
17277 LDAP_LIBS = $LDAP_LIBS
17282 wine_fn_append_rule "
17283 # Rules automatically generated by configure
17285 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17287 .INIT: Makefile
17288 .MAKEFILEDEPS:
17289 all: Makefile
17290 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17291 @./config.status Make.tmp Makefile
17292 depend: \$(MAKEDEP) dummy
17293 \$(MAKEDEP)"
17295 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
17296 .gitignore: config.status
17297 @./config.status .gitignore"
17299 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17300 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17302 if test "x$enable_fonts" != xno; then
17303 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17304 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17305 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17306 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17307 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17308 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17310 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17311 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17312 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
17313 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
17314 ac_config_links="$ac_config_links wine:tools/winewrapper"
17315 wine_fn_config_symlink wine
17316 if test "x$enable_win64" != xno; then
17317 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17318 wine_fn_config_symlink wine64
17321 wine_fn_config_dll acledit enable_acledit
17322 wine_fn_config_dll aclui enable_aclui implib
17323 wine_fn_config_dll activeds enable_activeds implib
17324 wine_fn_config_dll actxprxy enable_actxprxy clean
17325 wine_fn_config_lib adsiid
17326 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17327 wine_fn_config_test dlls/advapi32/tests advapi32_test
17328 wine_fn_config_dll advpack enable_advpack implib
17329 wine_fn_config_test dlls/advpack/tests advpack_test
17330 wine_fn_config_dll amstream enable_amstream clean
17331 wine_fn_config_test dlls/amstream/tests amstream_test
17332 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17333 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17334 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17335 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17336 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17337 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17338 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17339 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17340 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17341 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17342 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17343 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17344 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17345 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17346 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17347 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17348 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17349 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17350 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17351 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17352 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17353 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17354 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17355 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17356 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17357 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17358 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17359 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17360 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17361 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17362 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17363 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17364 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17365 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17366 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17367 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17368 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17369 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17370 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17371 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17372 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17373 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17374 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17375 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17376 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17377 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17378 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17379 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17380 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17381 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17382 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17383 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17384 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17385 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17386 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17387 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17388 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17389 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17390 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17391 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17392 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17393 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17394 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17395 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17396 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17397 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17398 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17399 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17400 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17401 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17402 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17403 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17404 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17405 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17406 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17407 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17408 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17409 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17410 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17411 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17412 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17413 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17414 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17415 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17416 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17417 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17418 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17419 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17420 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17421 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17422 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17423 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17424 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17425 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17426 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17427 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17428 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17429 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17430 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17431 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17432 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17433 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17434 wine_fn_config_dll apphelp enable_apphelp
17435 wine_fn_config_test dlls/apphelp/tests apphelp_test
17436 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
17437 wine_fn_config_dll atl enable_atl clean,implib
17438 wine_fn_config_test dlls/atl/tests atl_test
17439 wine_fn_config_dll atl100 enable_atl100 clean,implib
17440 wine_fn_config_test dlls/atl100/tests atl100_test
17441 wine_fn_config_dll atl110 enable_atl110 clean
17442 wine_fn_config_dll atl80 enable_atl80 clean,implib
17443 wine_fn_config_test dlls/atl80/tests atl80_test
17444 wine_fn_config_dll atl90 enable_atl90 clean
17445 wine_fn_config_dll authz enable_authz
17446 wine_fn_config_dll avicap32 enable_avicap32 implib
17447 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
17448 wine_fn_config_test dlls/avifil32/tests avifil32_test
17449 wine_fn_config_dll avifile.dll16 enable_win16
17450 wine_fn_config_dll avrt enable_avrt implib
17451 wine_fn_config_dll bcrypt enable_bcrypt implib
17452 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17453 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17454 wine_fn_config_dll browseui enable_browseui clean,po
17455 wine_fn_config_test dlls/browseui/tests browseui_test
17456 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17457 wine_fn_config_dll cabinet enable_cabinet implib
17458 wine_fn_config_test dlls/cabinet/tests cabinet_test
17459 wine_fn_config_dll capi2032 enable_capi2032 implib
17460 wine_fn_config_dll cards enable_cards implib
17461 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17462 wine_fn_config_dll clusapi enable_clusapi implib
17463 wine_fn_config_dll combase enable_combase
17464 wine_fn_config_test dlls/combase/tests combase_test
17465 wine_fn_config_dll comcat enable_comcat
17466 wine_fn_config_test dlls/comcat/tests comcat_test
17467 wine_fn_config_dll comctl32 enable_comctl32 implib,po
17468 wine_fn_config_test dlls/comctl32/tests comctl32_test
17469 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
17470 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17471 wine_fn_config_dll comm.drv16 enable_win16
17472 wine_fn_config_dll commdlg.dll16 enable_win16
17473 wine_fn_config_dll compobj.dll16 enable_win16
17474 wine_fn_config_dll compstui enable_compstui implib
17475 wine_fn_config_dll comsvcs enable_comsvcs implib
17476 wine_fn_config_dll connect enable_connect
17477 wine_fn_config_dll credui enable_credui implib,po
17478 wine_fn_config_test dlls/credui/tests credui_test
17479 wine_fn_config_dll crtdll enable_crtdll implib
17480 wine_fn_config_dll crypt32 enable_crypt32 implib,po
17481 wine_fn_config_test dlls/crypt32/tests crypt32_test
17482 wine_fn_config_dll cryptdlg enable_cryptdlg po
17483 wine_fn_config_dll cryptdll enable_cryptdll implib
17484 wine_fn_config_dll cryptext enable_cryptext
17485 wine_fn_config_dll cryptnet enable_cryptnet implib
17486 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17487 wine_fn_config_dll cryptui enable_cryptui implib,po
17488 wine_fn_config_test dlls/cryptui/tests cryptui_test
17489 wine_fn_config_dll ctapi32 enable_ctapi32
17490 wine_fn_config_dll ctl3d.dll16 enable_win16
17491 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17492 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17493 wine_fn_config_dll d2d1 enable_d2d1 implib
17494 wine_fn_config_test dlls/d2d1/tests d2d1_test
17495 wine_fn_config_dll d3d10 enable_d3d10 implib
17496 wine_fn_config_test dlls/d3d10/tests d3d10_test
17497 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17498 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17499 wine_fn_config_dll d3d10core enable_d3d10core implib
17500 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17501 wine_fn_config_dll d3d11 enable_d3d11 implib
17502 wine_fn_config_test dlls/d3d11/tests d3d11_test
17503 wine_fn_config_dll d3d8 enable_d3d8 implib
17504 wine_fn_config_test dlls/d3d8/tests d3d8_test
17505 wine_fn_config_dll d3d9 enable_d3d9 implib
17506 wine_fn_config_test dlls/d3d9/tests d3d9_test
17507 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17508 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17509 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17510 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17511 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17512 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17513 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17514 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17515 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17516 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17517 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17518 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17519 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17520 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17521 wine_fn_config_dll d3dim enable_d3dim implib
17522 wine_fn_config_dll d3drm enable_d3drm implib
17523 wine_fn_config_test dlls/d3drm/tests d3drm_test
17524 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17525 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17526 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17527 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17528 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17529 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17530 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17531 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17532 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17533 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17534 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17535 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17536 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17537 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17538 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17539 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17540 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17541 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17542 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17543 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17544 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17545 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17546 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17547 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17548 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17549 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17550 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17551 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17552 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17553 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17554 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17555 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17556 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17557 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17558 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17559 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17560 wine_fn_config_dll davclnt enable_davclnt
17561 wine_fn_config_dll dbgeng enable_dbgeng implib
17562 wine_fn_config_dll dbghelp enable_dbghelp implib
17563 wine_fn_config_dll dciman32 enable_dciman32 implib
17564 wine_fn_config_dll ddeml.dll16 enable_win16
17565 wine_fn_config_dll ddraw enable_ddraw clean,implib
17566 wine_fn_config_test dlls/ddraw/tests ddraw_test
17567 wine_fn_config_dll ddrawex enable_ddrawex clean
17568 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17569 wine_fn_config_dll devenum enable_devenum clean,po
17570 wine_fn_config_test dlls/devenum/tests devenum_test
17571 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17572 wine_fn_config_dll difxapi enable_difxapi
17573 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
17574 wine_fn_config_test dlls/dinput/tests dinput_test
17575 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17576 wine_fn_config_test dlls/dinput8/tests dinput8_test
17577 wine_fn_config_dll dispdib.dll16 enable_win16
17578 wine_fn_config_dll dispex enable_dispex clean
17579 wine_fn_config_test dlls/dispex/tests dispex_test
17580 wine_fn_config_dll display.drv16 enable_win16
17581 wine_fn_config_dll dmband enable_dmband clean
17582 wine_fn_config_test dlls/dmband/tests dmband_test
17583 wine_fn_config_dll dmcompos enable_dmcompos clean
17584 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17585 wine_fn_config_dll dmime enable_dmime clean
17586 wine_fn_config_test dlls/dmime/tests dmime_test
17587 wine_fn_config_dll dmloader enable_dmloader clean
17588 wine_fn_config_test dlls/dmloader/tests dmloader_test
17589 wine_fn_config_dll dmscript enable_dmscript clean
17590 wine_fn_config_test dlls/dmscript/tests dmscript_test
17591 wine_fn_config_dll dmstyle enable_dmstyle clean
17592 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17593 wine_fn_config_dll dmsynth enable_dmsynth clean
17594 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17595 wine_fn_config_dll dmusic enable_dmusic clean
17596 wine_fn_config_test dlls/dmusic/tests dmusic_test
17597 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17598 wine_fn_config_dll dnsapi enable_dnsapi implib
17599 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17600 wine_fn_config_dll dplay enable_dplay implib
17601 wine_fn_config_dll dplayx enable_dplayx clean,implib
17602 wine_fn_config_test dlls/dplayx/tests dplayx_test
17603 wine_fn_config_dll dpnaddr enable_dpnaddr
17604 wine_fn_config_dll dpnet enable_dpnet clean,implib
17605 wine_fn_config_test dlls/dpnet/tests dpnet_test
17606 wine_fn_config_dll dpnhpast enable_dpnhpast
17607 wine_fn_config_dll dpnlobby enable_dpnlobby
17608 wine_fn_config_dll dpvoice enable_dpvoice clean
17609 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17610 wine_fn_config_dll dpwsockx enable_dpwsockx
17611 wine_fn_config_dll drmclien enable_drmclien
17612 wine_fn_config_dll dsound enable_dsound clean,implib
17613 wine_fn_config_test dlls/dsound/tests dsound_test
17614 wine_fn_config_dll dssenh enable_dssenh
17615 wine_fn_config_test dlls/dssenh/tests dssenh_test
17616 wine_fn_config_dll dswave enable_dswave clean
17617 wine_fn_config_test dlls/dswave/tests dswave_test
17618 wine_fn_config_dll dwmapi enable_dwmapi implib
17619 wine_fn_config_dll dwrite enable_dwrite implib
17620 wine_fn_config_test dlls/dwrite/tests dwrite_test
17621 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
17622 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17623 wine_fn_config_lib dxerr8
17624 wine_fn_config_lib dxerr9
17625 wine_fn_config_dll dxgi enable_dxgi implib
17626 wine_fn_config_test dlls/dxgi/tests dxgi_test
17627 wine_fn_config_lib dxguid
17628 wine_fn_config_dll dxva2 enable_dxva2
17629 wine_fn_config_dll esent enable_esent
17630 wine_fn_config_dll evr enable_evr
17631 wine_fn_config_dll explorerframe enable_explorerframe clean
17632 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17633 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17634 wine_fn_config_dll faultrep enable_faultrep implib
17635 wine_fn_config_test dlls/faultrep/tests faultrep_test
17636 wine_fn_config_dll fltlib enable_fltlib
17637 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17638 wine_fn_config_dll fntcache enable_fntcache
17639 wine_fn_config_dll fontsub enable_fontsub
17640 wine_fn_config_dll fusion enable_fusion
17641 wine_fn_config_test dlls/fusion/tests fusion_test
17642 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17643 wine_fn_config_dll gameux enable_gameux clean
17644 wine_fn_config_test dlls/gameux/tests gameux_test
17645 wine_fn_config_dll gdi.exe16 enable_win16
17646 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
17647 wine_fn_config_test dlls/gdi32/tests gdi32_test
17648 wine_fn_config_dll gdiplus enable_gdiplus implib
17649 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17650 wine_fn_config_dll glu32 enable_glu32 implib
17651 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17652 wine_fn_config_dll gpkcsp enable_gpkcsp
17653 wine_fn_config_dll hal enable_hal
17654 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
17655 wine_fn_config_dll hid enable_hid implib
17656 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17657 wine_fn_config_dll hlink enable_hlink clean,implib
17658 wine_fn_config_test dlls/hlink/tests hlink_test
17659 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17660 wine_fn_config_dll httpapi enable_httpapi
17661 wine_fn_config_dll iccvid enable_iccvid po
17662 wine_fn_config_dll icmp enable_icmp
17663 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
17664 wine_fn_config_test dlls/ieframe/tests ieframe_test
17665 wine_fn_config_dll ifsmgr.vxd enable_win16
17666 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17667 wine_fn_config_dll imagehlp enable_imagehlp implib
17668 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17669 wine_fn_config_dll imm.dll16 enable_win16
17670 wine_fn_config_dll imm32 enable_imm32 implib
17671 wine_fn_config_test dlls/imm32/tests imm32_test
17672 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17673 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17674 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17675 wine_fn_config_dll inetmib1 enable_inetmib1
17676 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17677 wine_fn_config_dll infosoft enable_infosoft clean
17678 wine_fn_config_test dlls/infosoft/tests infosoft_test
17679 wine_fn_config_dll initpki enable_initpki
17680 wine_fn_config_dll inkobj enable_inkobj
17681 wine_fn_config_dll inseng enable_inseng clean
17682 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17683 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17684 wine_fn_config_dll irprops.cpl enable_irprops_cpl
17685 wine_fn_config_dll itircl enable_itircl
17686 wine_fn_config_dll itss enable_itss clean
17687 wine_fn_config_test dlls/itss/tests itss_test
17688 wine_fn_config_dll joy.cpl enable_joy_cpl po
17689 wine_fn_config_dll jscript enable_jscript clean,po
17690 wine_fn_config_test dlls/jscript/tests jscript_test
17691 wine_fn_config_dll jsproxy enable_jsproxy implib
17692 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
17693 wine_fn_config_test dlls/kernel32/tests kernel32_test
17694 wine_fn_config_dll keyboard.drv16 enable_win16
17695 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17696 wine_fn_config_dll ksuser enable_ksuser
17697 wine_fn_config_dll ktmw32 enable_ktmw32
17698 wine_fn_config_dll loadperf enable_loadperf implib
17699 wine_fn_config_dll localspl enable_localspl po
17700 wine_fn_config_test dlls/localspl/tests localspl_test
17701 wine_fn_config_dll localui enable_localui po
17702 wine_fn_config_test dlls/localui/tests localui_test
17703 wine_fn_config_dll lz32 enable_lz32 implib
17704 wine_fn_config_test dlls/lz32/tests lz32_test
17705 wine_fn_config_dll lzexpand.dll16 enable_win16
17706 wine_fn_config_dll mapi32 enable_mapi32 implib,po
17707 wine_fn_config_test dlls/mapi32/tests mapi32_test
17708 wine_fn_config_dll mapistub enable_mapistub
17709 wine_fn_config_dll mciavi32 enable_mciavi32
17710 wine_fn_config_dll mcicda enable_mcicda
17711 wine_fn_config_dll mciqtz32 enable_mciqtz32
17712 wine_fn_config_dll mciseq enable_mciseq
17713 wine_fn_config_dll mciwave enable_mciwave
17714 wine_fn_config_dll mf enable_mf
17715 wine_fn_config_dll mfplat enable_mfplat
17716 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17717 wine_fn_config_dll mgmtapi enable_mgmtapi
17718 wine_fn_config_dll midimap enable_midimap
17719 wine_fn_config_dll mlang enable_mlang clean,implib
17720 wine_fn_config_test dlls/mlang/tests mlang_test
17721 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17722 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17723 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17724 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17725 wine_fn_config_dll mmdevldr.vxd enable_win16
17726 wine_fn_config_dll mmsystem.dll16 enable_win16
17727 wine_fn_config_dll monodebg.vxd enable_win16
17728 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17729 wine_fn_config_dll mouse.drv16 enable_win16
17730 wine_fn_config_dll mpr enable_mpr implib,po
17731 wine_fn_config_test dlls/mpr/tests mpr_test
17732 wine_fn_config_dll mprapi enable_mprapi implib
17733 wine_fn_config_dll msacm.dll16 enable_win16
17734 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17735 wine_fn_config_dll msacm32 enable_msacm32 implib,po
17736 wine_fn_config_test dlls/msacm32/tests msacm32_test
17737 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17738 wine_fn_config_dll msasn1 enable_msasn1 implib
17739 wine_fn_config_dll mscat32 enable_mscat32
17740 wine_fn_config_dll mscms enable_mscms implib
17741 wine_fn_config_test dlls/mscms/tests mscms_test
17742 wine_fn_config_dll mscoree enable_mscoree clean
17743 wine_fn_config_test dlls/mscoree/tests mscoree_test
17744 wine_fn_config_dll msctf enable_msctf clean
17745 wine_fn_config_test dlls/msctf/tests msctf_test
17746 wine_fn_config_dll msctfp enable_msctfp clean
17747 wine_fn_config_dll msdaps enable_msdaps clean
17748 wine_fn_config_dll msdelta enable_msdelta
17749 wine_fn_config_dll msdmo enable_msdmo implib
17750 wine_fn_config_test dlls/msdmo/tests msdmo_test
17751 wine_fn_config_dll msdrm enable_msdrm
17752 wine_fn_config_dll msftedit enable_msftedit
17753 wine_fn_config_dll msg711.acm enable_msg711_acm
17754 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17755 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17756 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
17757 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17758 wine_fn_config_dll msi enable_msi clean,implib,po
17759 wine_fn_config_test dlls/msi/tests msi_test
17760 wine_fn_config_dll msident enable_msident clean
17761 wine_fn_config_dll msimg32 enable_msimg32 implib
17762 wine_fn_config_dll msimsg enable_msimsg
17763 wine_fn_config_dll msimtf enable_msimtf clean
17764 wine_fn_config_dll msisip enable_msisip
17765 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17766 wine_fn_config_dll msls31 enable_msls31
17767 wine_fn_config_dll msnet32 enable_msnet32
17768 wine_fn_config_dll mspatcha enable_mspatcha implib
17769 wine_fn_config_dll msrle32 enable_msrle32 po
17770 wine_fn_config_test dlls/msrle32/tests msrle32_test
17771 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
17772 wine_fn_config_dll mssign32 enable_mssign32
17773 wine_fn_config_dll mssip32 enable_mssip32
17774 wine_fn_config_dll mstask enable_mstask clean
17775 wine_fn_config_test dlls/mstask/tests mstask_test
17776 wine_fn_config_dll msvcirt enable_msvcirt
17777 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
17778 wine_fn_config_dll msvcm80 enable_msvcm80
17779 wine_fn_config_dll msvcm90 enable_msvcm90
17780 wine_fn_config_dll msvcp100 enable_msvcp100
17781 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17782 wine_fn_config_dll msvcp110 enable_msvcp110
17783 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
17784 wine_fn_config_dll msvcp120 enable_msvcp120
17785 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
17786 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17787 wine_fn_config_dll msvcp60 enable_msvcp60
17788 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17789 wine_fn_config_dll msvcp70 enable_msvcp70
17790 wine_fn_config_dll msvcp71 enable_msvcp71
17791 wine_fn_config_dll msvcp80 enable_msvcp80
17792 wine_fn_config_dll msvcp90 enable_msvcp90
17793 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17794 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17795 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17796 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17797 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17798 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17799 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17800 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17801 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17802 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17803 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17804 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17805 wine_fn_config_dll msvcrt enable_msvcrt implib
17806 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17807 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17808 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17809 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17810 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17811 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17812 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17813 wine_fn_config_dll msvidc32 enable_msvidc32 po
17814 wine_fn_config_dll msvideo.dll16 enable_win16
17815 wine_fn_config_dll mswsock enable_mswsock implib
17816 wine_fn_config_dll msxml enable_msxml clean
17817 wine_fn_config_dll msxml2 enable_msxml2 clean
17818 wine_fn_config_dll msxml3 enable_msxml3 clean
17819 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17820 wine_fn_config_dll msxml4 enable_msxml4 clean
17821 wine_fn_config_dll msxml6 enable_msxml6 clean
17822 wine_fn_config_dll nddeapi enable_nddeapi implib
17823 wine_fn_config_dll ndis.sys enable_ndis_sys
17824 wine_fn_config_dll netapi32 enable_netapi32 implib
17825 wine_fn_config_test dlls/netapi32/tests netapi32_test
17826 wine_fn_config_dll netcfgx enable_netcfgx clean
17827 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17828 wine_fn_config_dll netprofm enable_netprofm clean
17829 wine_fn_config_test dlls/netprofm/tests netprofm_test
17830 wine_fn_config_dll newdev enable_newdev implib
17831 wine_fn_config_dll normaliz enable_normaliz implib
17832 wine_fn_config_dll npmshtml enable_npmshtml
17833 wine_fn_config_dll npptools enable_npptools
17834 wine_fn_config_dll ntdll enable_ntdll implib
17835 wine_fn_config_test dlls/ntdll/tests ntdll_test
17836 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17837 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17838 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17839 wine_fn_config_dll ntprint enable_ntprint
17840 wine_fn_config_test dlls/ntprint/tests ntprint_test
17841 wine_fn_config_dll objsel enable_objsel clean
17842 wine_fn_config_dll odbc32 enable_odbc32 implib
17843 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17844 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17845 wine_fn_config_dll odbccu32 enable_odbccu32
17846 wine_fn_config_dll ole2.dll16 enable_win16
17847 wine_fn_config_dll ole2conv.dll16 enable_win16
17848 wine_fn_config_dll ole2disp.dll16 enable_win16
17849 wine_fn_config_dll ole2nls.dll16 enable_win16
17850 wine_fn_config_dll ole2prox.dll16 enable_win16
17851 wine_fn_config_dll ole2thk.dll16 enable_win16
17852 wine_fn_config_dll ole32 enable_ole32 clean,implib
17853 wine_fn_config_test dlls/ole32/tests ole32_test
17854 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17855 wine_fn_config_test dlls/oleacc/tests oleacc_test
17856 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17857 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17858 wine_fn_config_dll olecli.dll16 enable_win16
17859 wine_fn_config_dll olecli32 enable_olecli32 implib
17860 wine_fn_config_dll oledb32 enable_oledb32 clean
17861 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17862 wine_fn_config_dll oledlg enable_oledlg implib,po
17863 wine_fn_config_test dlls/oledlg/tests oledlg_test
17864 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
17865 wine_fn_config_dll olesvr.dll16 enable_win16
17866 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17867 wine_fn_config_dll olethk32 enable_olethk32
17868 wine_fn_config_dll openal32 enable_openal32
17869 wine_fn_config_dll opencl enable_opencl
17870 wine_fn_config_dll opengl32 enable_opengl32 implib
17871 wine_fn_config_test dlls/opengl32/tests opengl32_test
17872 wine_fn_config_dll packager enable_packager clean
17873 wine_fn_config_test dlls/packager/tests packager_test
17874 wine_fn_config_dll pdh enable_pdh implib
17875 wine_fn_config_test dlls/pdh/tests pdh_test
17876 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17877 wine_fn_config_dll pidgen enable_pidgen
17878 wine_fn_config_dll powrprof enable_powrprof implib
17879 wine_fn_config_dll printui enable_printui
17880 wine_fn_config_dll prntvpt enable_prntvpt
17881 wine_fn_config_dll propsys enable_propsys clean,implib
17882 wine_fn_config_test dlls/propsys/tests propsys_test
17883 wine_fn_config_dll psapi enable_psapi implib
17884 wine_fn_config_test dlls/psapi/tests psapi_test
17885 wine_fn_config_dll pstorec enable_pstorec clean
17886 wine_fn_config_dll qcap enable_qcap
17887 wine_fn_config_test dlls/qcap/tests qcap_test
17888 wine_fn_config_dll qedit enable_qedit clean
17889 wine_fn_config_test dlls/qedit/tests qedit_test
17890 wine_fn_config_dll qmgr enable_qmgr clean
17891 wine_fn_config_test dlls/qmgr/tests qmgr_test
17892 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17893 wine_fn_config_dll quartz enable_quartz clean,implib
17894 wine_fn_config_test dlls/quartz/tests quartz_test clean
17895 wine_fn_config_dll query enable_query
17896 wine_fn_config_dll rasapi16.dll16 enable_win16
17897 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17898 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17899 wine_fn_config_dll rasdlg enable_rasdlg implib
17900 wine_fn_config_dll regapi enable_regapi
17901 wine_fn_config_dll resutils enable_resutils implib
17902 wine_fn_config_dll riched20 enable_riched20 clean,implib
17903 wine_fn_config_test dlls/riched20/tests riched20_test
17904 wine_fn_config_dll riched32 enable_riched32
17905 wine_fn_config_test dlls/riched32/tests riched32_test
17906 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17907 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17908 wine_fn_config_dll rsabase enable_rsabase
17909 wine_fn_config_dll rsaenh enable_rsaenh implib
17910 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17911 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17912 wine_fn_config_dll rtutils enable_rtutils implib
17913 wine_fn_config_dll samlib enable_samlib
17914 wine_fn_config_dll sane.ds enable_sane_ds po
17915 wine_fn_config_dll scarddlg enable_scarddlg
17916 wine_fn_config_dll sccbase enable_sccbase
17917 wine_fn_config_dll schannel enable_schannel
17918 wine_fn_config_test dlls/schannel/tests schannel_test
17919 wine_fn_config_dll schedsvc enable_schedsvc clean
17920 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17921 wine_fn_config_dll scrrun enable_scrrun clean
17922 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17923 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17924 wine_fn_config_dll secur32 enable_secur32 implib
17925 wine_fn_config_test dlls/secur32/tests secur32_test
17926 wine_fn_config_dll security enable_security
17927 wine_fn_config_dll sensapi enable_sensapi implib
17928 wine_fn_config_dll serialui enable_serialui implib,po
17929 wine_fn_config_test dlls/serialui/tests serialui_test
17930 wine_fn_config_dll setupapi enable_setupapi implib,po
17931 wine_fn_config_test dlls/setupapi/tests setupapi_test
17932 wine_fn_config_dll setupx.dll16 enable_win16
17933 wine_fn_config_dll sfc enable_sfc implib
17934 wine_fn_config_dll sfc_os enable_sfc_os implib
17935 wine_fn_config_dll shdoclc enable_shdoclc po
17936 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17937 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17938 wine_fn_config_dll shell.dll16 enable_win16
17939 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17940 wine_fn_config_test dlls/shell32/tests shell32_test
17941 wine_fn_config_dll shfolder enable_shfolder implib
17942 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17943 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17944 wine_fn_config_dll slbcsp enable_slbcsp
17945 wine_fn_config_dll slc enable_slc implib
17946 wine_fn_config_test dlls/slc/tests slc_test
17947 wine_fn_config_dll snmpapi enable_snmpapi implib
17948 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17949 wine_fn_config_dll softpub enable_softpub
17950 wine_fn_config_dll sound.drv16 enable_win16
17951 wine_fn_config_dll spoolss enable_spoolss implib
17952 wine_fn_config_test dlls/spoolss/tests spoolss_test
17953 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17954 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17955 wine_fn_config_dll sti enable_sti clean,implib
17956 wine_fn_config_test dlls/sti/tests sti_test
17957 wine_fn_config_dll storage.dll16 enable_win16
17958 wine_fn_config_dll stress.dll16 enable_win16
17959 wine_fn_config_lib strmbase
17960 wine_fn_config_lib strmiids
17961 wine_fn_config_dll svrapi enable_svrapi
17962 wine_fn_config_dll sxs enable_sxs implib
17963 wine_fn_config_test dlls/sxs/tests sxs_test
17964 wine_fn_config_dll system.drv16 enable_win16
17965 wine_fn_config_dll t2embed enable_t2embed
17966 wine_fn_config_dll tapi32 enable_tapi32 implib
17967 wine_fn_config_dll taskschd enable_taskschd clean
17968 wine_fn_config_test dlls/taskschd/tests taskschd_test
17969 wine_fn_config_dll tdi.sys enable_tdi_sys
17970 wine_fn_config_dll toolhelp.dll16 enable_win16
17971 wine_fn_config_dll traffic enable_traffic
17972 wine_fn_config_dll twain.dll16 enable_win16
17973 wine_fn_config_dll twain_32 enable_twain_32
17974 wine_fn_config_test dlls/twain_32/tests twain_32_test
17975 wine_fn_config_dll typelib.dll16 enable_win16
17976 wine_fn_config_dll ucrtbase enable_ucrtbase
17977 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
17978 wine_fn_config_dll unicows enable_unicows implib
17979 wine_fn_config_dll updspapi enable_updspapi
17980 wine_fn_config_dll url enable_url implib
17981 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17982 wine_fn_config_test dlls/urlmon/tests urlmon_test
17983 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17984 wine_fn_config_dll user.exe16 enable_win16
17985 wine_fn_config_dll user32 enable_user32 clean,implib,po
17986 wine_fn_config_test dlls/user32/tests user32_test
17987 wine_fn_config_dll userenv enable_userenv implib
17988 wine_fn_config_test dlls/userenv/tests userenv_test
17989 wine_fn_config_dll usp10 enable_usp10 implib
17990 wine_fn_config_test dlls/usp10/tests usp10_test
17991 wine_fn_config_lib uuid
17992 wine_fn_config_dll uxtheme enable_uxtheme implib
17993 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17994 wine_fn_config_dll vbscript enable_vbscript clean
17995 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17996 wine_fn_config_dll vcomp enable_vcomp
17997 wine_fn_config_test dlls/vcomp/tests vcomp_test
17998 wine_fn_config_dll vcomp100 enable_vcomp100
17999 wine_fn_config_dll vcomp110 enable_vcomp110
18000 wine_fn_config_dll vcomp120 enable_vcomp120
18001 wine_fn_config_dll vcomp90 enable_vcomp90
18002 wine_fn_config_dll vcruntime140 enable_vcruntime140
18003 wine_fn_config_dll vdhcp.vxd enable_win16
18004 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18005 wine_fn_config_dll ver.dll16 enable_win16
18006 wine_fn_config_dll version enable_version implib
18007 wine_fn_config_test dlls/version/tests version_test
18008 wine_fn_config_dll vmm.vxd enable_win16
18009 wine_fn_config_dll vnbt.vxd enable_win16
18010 wine_fn_config_dll vnetbios.vxd enable_win16
18011 wine_fn_config_dll vssapi enable_vssapi
18012 wine_fn_config_dll vtdapi.vxd enable_win16
18013 wine_fn_config_dll vwin32.vxd enable_win16
18014 wine_fn_config_dll w32skrnl enable_win16
18015 wine_fn_config_dll w32sys.dll16 enable_win16
18016 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18017 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18018 wine_fn_config_dll wbemprox enable_wbemprox clean
18019 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18020 wine_fn_config_dll webservices enable_webservices implib
18021 wine_fn_config_test dlls/webservices/tests webservices_test
18022 wine_fn_config_dll wer enable_wer implib
18023 wine_fn_config_test dlls/wer/tests wer_test
18024 wine_fn_config_dll wevtapi enable_wevtapi
18025 wine_fn_config_dll wiaservc enable_wiaservc clean
18026 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18027 wine_fn_config_dll wimgapi enable_wimgapi
18028 wine_fn_config_dll win32s16.dll16 enable_win16
18029 wine_fn_config_dll win87em.dll16 enable_win16
18030 wine_fn_config_dll winaspi.dll16 enable_win16
18031 wine_fn_config_dll windebug.dll16 enable_win16
18032 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18033 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18034 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18035 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18036 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18037 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18038 wine_fn_config_lib winecrt0
18039 wine_fn_config_dll wined3d enable_wined3d implib
18040 wine_fn_config_dll winegstreamer enable_winegstreamer
18041 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18042 wine_fn_config_dll winemac.drv enable_winemac_drv po
18043 wine_fn_config_dll winemapi enable_winemapi
18044 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18045 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18046 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
18047 wine_fn_config_dll wineps16.drv16 enable_win16
18048 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18049 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18050 wine_fn_config_dll winex11.drv enable_winex11_drv
18051 wine_fn_config_dll wing.dll16 enable_win16
18052 wine_fn_config_dll wing32 enable_wing32
18053 wine_fn_config_dll winhttp enable_winhttp clean,implib
18054 wine_fn_config_test dlls/winhttp/tests winhttp_test
18055 wine_fn_config_dll wininet enable_wininet implib,po
18056 wine_fn_config_test dlls/wininet/tests wininet_test
18057 wine_fn_config_dll winmm enable_winmm implib,po
18058 wine_fn_config_test dlls/winmm/tests winmm_test
18059 wine_fn_config_dll winnls.dll16 enable_win16
18060 wine_fn_config_dll winnls32 enable_winnls32 implib
18061 wine_fn_config_dll winscard enable_winscard implib
18062 wine_fn_config_dll winsock.dll16 enable_win16
18063 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
18064 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18065 wine_fn_config_dll winsta enable_winsta
18066 wine_fn_config_dll wintab.dll16 enable_win16
18067 wine_fn_config_dll wintab32 enable_wintab32 implib
18068 wine_fn_config_test dlls/wintab32/tests wintab32_test
18069 wine_fn_config_dll wintrust enable_wintrust implib
18070 wine_fn_config_test dlls/wintrust/tests wintrust_test
18071 wine_fn_config_dll wlanapi enable_wlanapi
18072 wine_fn_config_dll wldap32 enable_wldap32 implib,po
18073 wine_fn_config_test dlls/wldap32/tests wldap32_test
18074 wine_fn_config_dll wmi enable_wmi
18075 wine_fn_config_dll wmiutils enable_wmiutils clean
18076 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18077 wine_fn_config_dll wmp enable_wmp clean
18078 wine_fn_config_test dlls/wmp/tests wmp_test
18079 wine_fn_config_dll wmvcore enable_wmvcore
18080 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18081 wine_fn_config_dll wow32 enable_win16 implib
18082 wine_fn_config_dll wpcap enable_wpcap
18083 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18084 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18085 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18086 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18087 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18088 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18089 wine_fn_config_dll wsock32 enable_wsock32 implib
18090 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18091 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18092 wine_fn_config_dll wuapi enable_wuapi clean
18093 wine_fn_config_dll wuaueng enable_wuaueng
18094 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18095 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18096 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18097 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18098 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18099 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18100 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18101 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18102 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18103 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18104 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18105 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18106 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18107 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18108 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18109 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18110 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18111 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18112 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18113 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18114 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18115 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18116 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18117 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18118 wine_fn_config_dll xinput1_1 enable_xinput1_1
18119 wine_fn_config_dll xinput1_2 enable_xinput1_2
18120 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18121 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18122 wine_fn_config_dll xinput1_4 enable_xinput1_4
18123 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18124 wine_fn_config_dll xmllite enable_xmllite implib
18125 wine_fn_config_test dlls/xmllite/tests xmllite_test
18126 wine_fn_config_dll xolehlp enable_xolehlp
18127 wine_fn_config_dll xpsprint enable_xpsprint
18128 wine_fn_config_dll xpssvcs enable_xpssvcs
18129 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18130 wine_fn_config_makefile include enable_include clean,install-dev
18131 wine_fn_config_makefile libs/port enable_libs_port
18132 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18133 wine_fn_config_makefile libs/wpp enable_libs_wpp
18134 wine_fn_config_makefile loader enable_loader clean,install-lib
18135 wine_fn_config_program arp enable_arp install
18136 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18137 wine_fn_config_program attrib enable_attrib install,po
18138 wine_fn_config_program cabarc enable_cabarc install
18139 wine_fn_config_program cacls enable_cacls install
18140 wine_fn_config_program clock enable_clock install,po
18141 wine_fn_config_program cmd enable_cmd install,po
18142 wine_fn_config_test programs/cmd/tests cmd.exe_test
18143 wine_fn_config_program conhost enable_conhost install
18144 wine_fn_config_program control enable_control install
18145 wine_fn_config_program cscript enable_cscript clean,install
18146 wine_fn_config_program dpnsvr enable_dpnsvr install
18147 wine_fn_config_program dxdiag enable_dxdiag install,po
18148 wine_fn_config_program eject enable_eject install
18149 wine_fn_config_program expand enable_expand install
18150 wine_fn_config_program explorer enable_explorer install,po
18151 wine_fn_config_program extrac32 enable_extrac32 install
18152 wine_fn_config_program findstr enable_findstr install
18153 wine_fn_config_program hh enable_hh install
18154 wine_fn_config_program hostname enable_hostname install,po
18155 wine_fn_config_program icacls enable_icacls install
18156 wine_fn_config_program icinfo enable_icinfo install
18157 wine_fn_config_program iexplore enable_iexplore install
18158 wine_fn_config_program ipconfig enable_ipconfig install,po
18159 wine_fn_config_program lodctr enable_lodctr install
18160 wine_fn_config_program mofcomp enable_mofcomp install
18161 wine_fn_config_program mshta enable_mshta install
18162 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18163 wine_fn_config_program net enable_net install,po
18164 wine_fn_config_program netsh enable_netsh install
18165 wine_fn_config_program netstat enable_netstat install,po
18166 wine_fn_config_program ngen enable_ngen install
18167 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
18168 wine_fn_config_program oleview enable_oleview install,po
18169 wine_fn_config_program ping enable_ping install
18170 wine_fn_config_program plugplay enable_plugplay install
18171 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18172 wine_fn_config_program progman enable_progman install,po
18173 wine_fn_config_program reg enable_reg install,po
18174 wine_fn_config_test programs/reg/tests reg.exe_test
18175 wine_fn_config_program regasm enable_regasm install
18176 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
18177 wine_fn_config_test programs/regedit/tests regedit.exe_test
18178 wine_fn_config_program regsvcs enable_regsvcs install
18179 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage,po
18180 wine_fn_config_program rpcss enable_rpcss clean,install
18181 wine_fn_config_program rundll.exe16 enable_win16 install
18182 wine_fn_config_program rundll32 enable_rundll32 install
18183 wine_fn_config_program sc enable_sc install
18184 wine_fn_config_program schtasks enable_schtasks install
18185 wine_fn_config_program sdbinst enable_sdbinst install
18186 wine_fn_config_program secedit enable_secedit install
18187 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18188 wine_fn_config_program services enable_services clean,install
18189 wine_fn_config_test programs/services/tests services.exe_test
18190 wine_fn_config_program spoolsv enable_spoolsv install
18191 wine_fn_config_program start enable_start install,po
18192 wine_fn_config_program svchost enable_svchost install
18193 wine_fn_config_program systeminfo enable_systeminfo install
18194 wine_fn_config_program taskkill enable_taskkill install,po
18195 wine_fn_config_program tasklist enable_tasklist install
18196 wine_fn_config_program taskmgr enable_taskmgr install,po
18197 wine_fn_config_program termsv enable_termsv install
18198 wine_fn_config_program uninstaller enable_uninstaller install,po
18199 wine_fn_config_program unlodctr enable_unlodctr install
18200 wine_fn_config_program view enable_view install,po
18201 wine_fn_config_program wevtutil enable_wevtutil install
18202 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
18203 wine_fn_config_program winebrowser enable_winebrowser install
18204 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
18205 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
18206 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
18207 wine_fn_config_program winedevice enable_winedevice install
18208 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
18209 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18210 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
18211 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18212 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18213 wine_fn_config_program winetest enable_winetest clean
18214 wine_fn_config_program winevdm enable_win16 install
18215 wine_fn_config_program winhelp.exe16 enable_win16 install
18216 wine_fn_config_program winhlp32 enable_winhlp32 install,po
18217 wine_fn_config_program winoldap.mod16 enable_win16 install
18218 wine_fn_config_program winver enable_winver install
18219 wine_fn_config_program wmic enable_wmic install,po
18220 wine_fn_config_program wmplayer enable_wmplayer install
18221 wine_fn_config_program wordpad enable_wordpad install,po
18222 wine_fn_config_program write enable_write install,po
18223 wine_fn_config_program wscript enable_wscript clean,install
18224 wine_fn_config_test programs/wscript/tests wscript.exe_test
18225 wine_fn_config_program wusa enable_wusa install
18226 wine_fn_config_program xcopy enable_xcopy install,po
18227 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18228 wine_fn_config_makefile server enable_server clean,install-lib
18229 wine_fn_config_tool tools clean
18230 wine_fn_config_tool tools/sfnt2fon clean
18231 wine_fn_config_tool tools/widl clean,install-dev
18232 wine_fn_config_tool tools/winebuild clean,install-dev
18233 wine_fn_config_tool tools/winedump clean,install-dev
18234 wine_fn_config_tool tools/winegcc clean,install-dev
18235 wine_fn_config_tool tools/winemaker clean,install-dev
18236 wine_fn_config_tool tools/wmc clean,install-dev
18237 wine_fn_config_tool tools/wrc clean,install-dev
18239 LINGUAS="\
18240 ar \
18241 bg \
18242 ca \
18243 cs \
18244 da \
18245 de \
18246 el \
18247 en \
18248 en_US \
18249 eo \
18250 es \
18251 fa \
18252 fi \
18253 fr \
18254 he \
18255 hi \
18256 hr \
18257 hu \
18258 it \
18259 ja \
18260 ko \
18261 lt \
18262 ml \
18263 nb_NO \
18264 nl \
18265 or \
18266 pa \
18267 pl \
18268 pt_BR \
18269 pt_PT \
18270 rm \
18271 ro \
18272 ru \
18273 sk \
18274 sl \
18275 sr_RS@cyrillic \
18276 sr_RS@latin \
18277 sv \
18278 te \
18279 th \
18280 tr \
18281 uk \
18282 wa \
18283 zh_CN \
18284 zh_TW"
18289 wine_fn_ignore_file ".gitignore"
18290 wine_fn_ignore_file "Makefile"
18291 wine_fn_ignore_file "TAGS"
18292 wine_fn_ignore_file "tags"
18293 wine_fn_ignore_file "autom4te.cache"
18294 wine_fn_ignore_file "config.cache"
18295 wine_fn_ignore_file "config.log"
18296 wine_fn_ignore_file "config.status"
18297 wine_fn_ignore_file "configure.lineno"
18298 wine_fn_ignore_file "include/config.h"
18299 wine_fn_ignore_file "include/stamp-h"
18300 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
18302 if test "x$enable_tools" != xno
18303 then
18304 wine_fn_ignore_file "tools/makedep$ac_exeext"
18305 ac_config_commands="$ac_config_commands tools/makedep"
18309 ac_config_commands="$ac_config_commands Makefile"
18312 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18316 if test "x$enable_maintainer_mode" = xyes
18317 then
18318 wine_fn_append_rule "configure: configure.ac aclocal.m4
18319 autoconf --warnings=all
18320 include/config.h.in: include/stamp-h.in
18321 include/stamp-h.in: configure.ac aclocal.m4
18322 autoheader --warnings=all
18323 @echo timestamp > \$@"
18326 if test "x$with_gettextpo" = xyes
18327 then
18328 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
18329 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
18330 \$(LINGUAS:%=po/%.po): po/wine.pot
18331 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
18332 po/wine.pot: \$(ALL_POT_FILES)
18333 msgcat -o \$@ \$(ALL_POT_FILES)"
18336 if test "$MSGFMT" != false
18337 then
18338 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
18339 clean::
18340 \$(RM) \$(LINGUAS:%=po/%.mo)"
18342 posrc="po"
18343 test "$srcdir" = . || posrc="$srcdir/po"
18344 for i in $LINGUAS
18346 wine_fn_ignore_file "po/$i.mo"
18347 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
18348 \$(MSGFMT) -o \$@ $posrc/$i.po"
18349 done
18350 else
18351 LINGUAS=
18354 if test "x$enable_tools" != xno
18355 then
18356 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18357 @./config.status tools/makedep
18358 Makefile: tools/makedep$ac_exeext
18359 distclean:: clean
18360 \$(RM) tools/makedep$ac_exeext"
18361 else
18362 wine_fn_append_rule "\$(MAKEDEP):
18363 @echo \"You need to run make in $TOOLSDIR first\" && false"
18366 if test -n "$with_wine64"
18367 then
18368 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18369 fonts server tools:
18370 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18371 $with_wine64/loader/wine:
18372 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18373 $with_wine64/loader/wine-preloader:
18374 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18375 clean::
18376 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18377 else
18378 WINELOADER_INSTALL="wine.inf"
18380 wine_fn_append_rule "install install-lib::
18381 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18382 uninstall::
18383 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18384 case $host_os in
18385 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18386 *) wine_fn_append_rule "install install-lib::
18387 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18388 uninstall::
18389 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18390 esac
18393 if test "$srcdir" = .
18394 then
18395 ac_config_commands="$ac_config_commands .gitignore"
18399 $as_echo " done" >&6
18400 cat >confcache <<\_ACEOF
18401 # This file is a shell script that caches the results of configure
18402 # tests run on this system so they can be shared between configure
18403 # scripts and configure runs, see configure's option --config-cache.
18404 # It is not useful on other systems. If it contains results you don't
18405 # want to keep, you may remove or edit it.
18407 # config.status only pays attention to the cache file if you give it
18408 # the --recheck option to rerun configure.
18410 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18411 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18412 # following values.
18414 _ACEOF
18416 # The following way of writing the cache mishandles newlines in values,
18417 # but we know of no workaround that is simple, portable, and efficient.
18418 # So, we kill variables containing newlines.
18419 # Ultrix sh set writes to stderr and can't be redirected directly,
18420 # and sets the high bit in the cache file unless we assign to the vars.
18422 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18423 eval ac_val=\$$ac_var
18424 case $ac_val in #(
18425 *${as_nl}*)
18426 case $ac_var in #(
18427 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18428 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18429 esac
18430 case $ac_var in #(
18431 _ | IFS | as_nl) ;; #(
18432 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18433 *) { eval $ac_var=; unset $ac_var;} ;;
18434 esac ;;
18435 esac
18436 done
18438 (set) 2>&1 |
18439 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18440 *${as_nl}ac_space=\ *)
18441 # `set' does not quote correctly, so add quotes: double-quote
18442 # substitution turns \\\\ into \\, and sed turns \\ into \.
18443 sed -n \
18444 "s/'/'\\\\''/g;
18445 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18446 ;; #(
18448 # `set' quotes correctly as required by POSIX, so do not add quotes.
18449 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18451 esac |
18452 sort
18454 sed '
18455 /^ac_cv_env_/b end
18456 t clear
18457 :clear
18458 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18459 t end
18460 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18461 :end' >>confcache
18462 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18463 if test -w "$cache_file"; then
18464 if test "x$cache_file" != "x/dev/null"; then
18465 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18466 $as_echo "$as_me: updating cache $cache_file" >&6;}
18467 if test ! -f "$cache_file" || test -h "$cache_file"; then
18468 cat confcache >"$cache_file"
18469 else
18470 case $cache_file in #(
18471 */* | ?:*)
18472 mv -f confcache "$cache_file"$$ &&
18473 mv -f "$cache_file"$$ "$cache_file" ;; #(
18475 mv -f confcache "$cache_file" ;;
18476 esac
18479 else
18480 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18481 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18484 rm -f confcache
18486 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18487 # Let make expand exec_prefix.
18488 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18490 DEFS=-DHAVE_CONFIG_H
18492 ac_libobjs=
18493 ac_ltlibobjs=
18495 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18496 # 1. Remove the extension, and $U if already installed.
18497 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18498 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18499 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18500 # will be set to the directory where LIBOBJS objects are built.
18501 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18502 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18503 done
18504 LIBOBJS=$ac_libobjs
18506 LTLIBOBJS=$ac_ltlibobjs
18510 : "${CONFIG_STATUS=./config.status}"
18511 ac_write_fail=0
18512 ac_clean_files_save=$ac_clean_files
18513 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18514 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18515 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18516 as_write_fail=0
18517 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18518 #! $SHELL
18519 # Generated by $as_me.
18520 # Run this file to recreate the current configuration.
18521 # Compiler output produced by configure, useful for debugging
18522 # configure, is in config.log if it exists.
18524 debug=false
18525 ac_cs_recheck=false
18526 ac_cs_silent=false
18528 SHELL=\${CONFIG_SHELL-$SHELL}
18529 export SHELL
18530 _ASEOF
18531 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18532 ## -------------------- ##
18533 ## M4sh Initialization. ##
18534 ## -------------------- ##
18536 # Be more Bourne compatible
18537 DUALCASE=1; export DUALCASE # for MKS sh
18538 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18539 emulate sh
18540 NULLCMD=:
18541 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18542 # is contrary to our usage. Disable this feature.
18543 alias -g '${1+"$@"}'='"$@"'
18544 setopt NO_GLOB_SUBST
18545 else
18546 case `(set -o) 2>/dev/null` in #(
18547 *posix*) :
18548 set -o posix ;; #(
18549 *) :
18551 esac
18555 as_nl='
18557 export as_nl
18558 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18559 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18560 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18561 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18562 # Prefer a ksh shell builtin over an external printf program on Solaris,
18563 # but without wasting forks for bash or zsh.
18564 if test -z "$BASH_VERSION$ZSH_VERSION" \
18565 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18566 as_echo='print -r --'
18567 as_echo_n='print -rn --'
18568 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18569 as_echo='printf %s\n'
18570 as_echo_n='printf %s'
18571 else
18572 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18573 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18574 as_echo_n='/usr/ucb/echo -n'
18575 else
18576 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18577 as_echo_n_body='eval
18578 arg=$1;
18579 case $arg in #(
18580 *"$as_nl"*)
18581 expr "X$arg" : "X\\(.*\\)$as_nl";
18582 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18583 esac;
18584 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18586 export as_echo_n_body
18587 as_echo_n='sh -c $as_echo_n_body as_echo'
18589 export as_echo_body
18590 as_echo='sh -c $as_echo_body as_echo'
18593 # The user is always right.
18594 if test "${PATH_SEPARATOR+set}" != set; then
18595 PATH_SEPARATOR=:
18596 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18597 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18598 PATH_SEPARATOR=';'
18603 # IFS
18604 # We need space, tab and new line, in precisely that order. Quoting is
18605 # there to prevent editors from complaining about space-tab.
18606 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18607 # splitting by setting IFS to empty value.)
18608 IFS=" "" $as_nl"
18610 # Find who we are. Look in the path if we contain no directory separator.
18611 as_myself=
18612 case $0 in #((
18613 *[\\/]* ) as_myself=$0 ;;
18614 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18615 for as_dir in $PATH
18617 IFS=$as_save_IFS
18618 test -z "$as_dir" && as_dir=.
18619 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18620 done
18621 IFS=$as_save_IFS
18624 esac
18625 # We did not find ourselves, most probably we were run as `sh COMMAND'
18626 # in which case we are not to be found in the path.
18627 if test "x$as_myself" = x; then
18628 as_myself=$0
18630 if test ! -f "$as_myself"; then
18631 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18632 exit 1
18635 # Unset variables that we do not need and which cause bugs (e.g. in
18636 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18637 # suppresses any "Segmentation fault" message there. '((' could
18638 # trigger a bug in pdksh 5.2.14.
18639 for as_var in BASH_ENV ENV MAIL MAILPATH
18640 do eval test x\${$as_var+set} = xset \
18641 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18642 done
18643 PS1='$ '
18644 PS2='> '
18645 PS4='+ '
18647 # NLS nuisances.
18648 LC_ALL=C
18649 export LC_ALL
18650 LANGUAGE=C
18651 export LANGUAGE
18653 # CDPATH.
18654 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18657 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18658 # ----------------------------------------
18659 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18660 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18661 # script with STATUS, using 1 if that was 0.
18662 as_fn_error ()
18664 as_status=$1; test $as_status -eq 0 && as_status=1
18665 if test "$4"; then
18666 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18667 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18669 $as_echo "$as_me: error: $2" >&2
18670 as_fn_exit $as_status
18671 } # as_fn_error
18674 # as_fn_set_status STATUS
18675 # -----------------------
18676 # Set $? to STATUS, without forking.
18677 as_fn_set_status ()
18679 return $1
18680 } # as_fn_set_status
18682 # as_fn_exit STATUS
18683 # -----------------
18684 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18685 as_fn_exit ()
18687 set +e
18688 as_fn_set_status $1
18689 exit $1
18690 } # as_fn_exit
18692 # as_fn_unset VAR
18693 # ---------------
18694 # Portably unset VAR.
18695 as_fn_unset ()
18697 { eval $1=; unset $1;}
18699 as_unset=as_fn_unset
18700 # as_fn_append VAR VALUE
18701 # ----------------------
18702 # Append the text in VALUE to the end of the definition contained in VAR. Take
18703 # advantage of any shell optimizations that allow amortized linear growth over
18704 # repeated appends, instead of the typical quadratic growth present in naive
18705 # implementations.
18706 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18707 eval 'as_fn_append ()
18709 eval $1+=\$2
18711 else
18712 as_fn_append ()
18714 eval $1=\$$1\$2
18716 fi # as_fn_append
18718 # as_fn_arith ARG...
18719 # ------------------
18720 # Perform arithmetic evaluation on the ARGs, and store the result in the
18721 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18722 # must be portable across $(()) and expr.
18723 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18724 eval 'as_fn_arith ()
18726 as_val=$(( $* ))
18728 else
18729 as_fn_arith ()
18731 as_val=`expr "$@" || test $? -eq 1`
18733 fi # as_fn_arith
18736 if expr a : '\(a\)' >/dev/null 2>&1 &&
18737 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18738 as_expr=expr
18739 else
18740 as_expr=false
18743 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18744 as_basename=basename
18745 else
18746 as_basename=false
18749 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18750 as_dirname=dirname
18751 else
18752 as_dirname=false
18755 as_me=`$as_basename -- "$0" ||
18756 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18757 X"$0" : 'X\(//\)$' \| \
18758 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18759 $as_echo X/"$0" |
18760 sed '/^.*\/\([^/][^/]*\)\/*$/{
18761 s//\1/
18764 /^X\/\(\/\/\)$/{
18765 s//\1/
18768 /^X\/\(\/\).*/{
18769 s//\1/
18772 s/.*/./; q'`
18774 # Avoid depending upon Character Ranges.
18775 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18776 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18777 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18778 as_cr_digits='0123456789'
18779 as_cr_alnum=$as_cr_Letters$as_cr_digits
18781 ECHO_C= ECHO_N= ECHO_T=
18782 case `echo -n x` in #(((((
18783 -n*)
18784 case `echo 'xy\c'` in
18785 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18786 xy) ECHO_C='\c';;
18787 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18788 ECHO_T=' ';;
18789 esac;;
18791 ECHO_N='-n';;
18792 esac
18794 rm -f conf$$ conf$$.exe conf$$.file
18795 if test -d conf$$.dir; then
18796 rm -f conf$$.dir/conf$$.file
18797 else
18798 rm -f conf$$.dir
18799 mkdir conf$$.dir 2>/dev/null
18801 if (echo >conf$$.file) 2>/dev/null; then
18802 if ln -s conf$$.file conf$$ 2>/dev/null; then
18803 as_ln_s='ln -s'
18804 # ... but there are two gotchas:
18805 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18806 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18807 # In both cases, we have to default to `cp -pR'.
18808 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18809 as_ln_s='cp -pR'
18810 elif ln conf$$.file conf$$ 2>/dev/null; then
18811 as_ln_s=ln
18812 else
18813 as_ln_s='cp -pR'
18815 else
18816 as_ln_s='cp -pR'
18818 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18819 rmdir conf$$.dir 2>/dev/null
18822 # as_fn_mkdir_p
18823 # -------------
18824 # Create "$as_dir" as a directory, including parents if necessary.
18825 as_fn_mkdir_p ()
18828 case $as_dir in #(
18829 -*) as_dir=./$as_dir;;
18830 esac
18831 test -d "$as_dir" || eval $as_mkdir_p || {
18832 as_dirs=
18833 while :; do
18834 case $as_dir in #(
18835 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18836 *) as_qdir=$as_dir;;
18837 esac
18838 as_dirs="'$as_qdir' $as_dirs"
18839 as_dir=`$as_dirname -- "$as_dir" ||
18840 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18841 X"$as_dir" : 'X\(//\)[^/]' \| \
18842 X"$as_dir" : 'X\(//\)$' \| \
18843 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18844 $as_echo X"$as_dir" |
18845 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18846 s//\1/
18849 /^X\(\/\/\)[^/].*/{
18850 s//\1/
18853 /^X\(\/\/\)$/{
18854 s//\1/
18857 /^X\(\/\).*/{
18858 s//\1/
18861 s/.*/./; q'`
18862 test -d "$as_dir" && break
18863 done
18864 test -z "$as_dirs" || eval "mkdir $as_dirs"
18865 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18868 } # as_fn_mkdir_p
18869 if mkdir -p . 2>/dev/null; then
18870 as_mkdir_p='mkdir -p "$as_dir"'
18871 else
18872 test -d ./-p && rmdir ./-p
18873 as_mkdir_p=false
18877 # as_fn_executable_p FILE
18878 # -----------------------
18879 # Test if FILE is an executable regular file.
18880 as_fn_executable_p ()
18882 test -f "$1" && test -x "$1"
18883 } # as_fn_executable_p
18884 as_test_x='test -x'
18885 as_executable_p=as_fn_executable_p
18887 # Sed expression to map a string onto a valid CPP name.
18888 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18890 # Sed expression to map a string onto a valid variable name.
18891 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18894 exec 6>&1
18895 ## ----------------------------------- ##
18896 ## Main body of $CONFIG_STATUS script. ##
18897 ## ----------------------------------- ##
18898 _ASEOF
18899 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18901 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18902 # Save the log message, to keep $0 and so on meaningful, and to
18903 # report actual input values of CONFIG_FILES etc. instead of their
18904 # values after options handling.
18905 ac_log="
18906 This file was extended by Wine $as_me 1.9.3, which was
18907 generated by GNU Autoconf 2.69. Invocation command line was
18909 CONFIG_FILES = $CONFIG_FILES
18910 CONFIG_HEADERS = $CONFIG_HEADERS
18911 CONFIG_LINKS = $CONFIG_LINKS
18912 CONFIG_COMMANDS = $CONFIG_COMMANDS
18913 $ $0 $@
18915 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18918 _ACEOF
18920 case $ac_config_files in *"
18921 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18922 esac
18924 case $ac_config_headers in *"
18925 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18926 esac
18929 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18930 # Files that config.status was made for.
18931 config_files="$ac_config_files"
18932 config_headers="$ac_config_headers"
18933 config_links="$ac_config_links"
18934 config_commands="$ac_config_commands"
18936 _ACEOF
18938 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18939 ac_cs_usage="\
18940 \`$as_me' instantiates files and other configuration actions
18941 from templates according to the current configuration. Unless the files
18942 and actions are specified as TAGs, all are instantiated by default.
18944 Usage: $0 [OPTION]... [TAG]...
18946 -h, --help print this help, then exit
18947 -V, --version print version number and configuration settings, then exit
18948 --config print configuration, then exit
18949 -q, --quiet, --silent
18950 do not print progress messages
18951 -d, --debug don't remove temporary files
18952 --recheck update $as_me by reconfiguring in the same conditions
18953 --file=FILE[:TEMPLATE]
18954 instantiate the configuration file FILE
18955 --header=FILE[:TEMPLATE]
18956 instantiate the configuration header FILE
18958 Configuration files:
18959 $config_files
18961 Configuration headers:
18962 $config_headers
18964 Configuration links:
18965 $config_links
18967 Configuration commands:
18968 $config_commands
18970 Report bugs to <wine-devel@winehq.org>.
18971 Wine home page: <http://www.winehq.org>."
18973 _ACEOF
18974 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18975 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18976 ac_cs_version="\\
18977 Wine config.status 1.9.3
18978 configured by $0, generated by GNU Autoconf 2.69,
18979 with options \\"\$ac_cs_config\\"
18981 Copyright (C) 2012 Free Software Foundation, Inc.
18982 This config.status script is free software; the Free Software Foundation
18983 gives unlimited permission to copy, distribute and modify it."
18985 ac_pwd='$ac_pwd'
18986 srcdir='$srcdir'
18987 test -n "\$AWK" || AWK=awk
18988 _ACEOF
18990 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18991 # The default lists apply if the user does not specify any file.
18992 ac_need_defaults=:
18993 while test $# != 0
18995 case $1 in
18996 --*=?*)
18997 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18998 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18999 ac_shift=:
19001 --*=)
19002 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19003 ac_optarg=
19004 ac_shift=:
19007 ac_option=$1
19008 ac_optarg=$2
19009 ac_shift=shift
19011 esac
19013 case $ac_option in
19014 # Handling of the options.
19015 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19016 ac_cs_recheck=: ;;
19017 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19018 $as_echo "$ac_cs_version"; exit ;;
19019 --config | --confi | --conf | --con | --co | --c )
19020 $as_echo "$ac_cs_config"; exit ;;
19021 --debug | --debu | --deb | --de | --d | -d )
19022 debug=: ;;
19023 --file | --fil | --fi | --f )
19024 $ac_shift
19025 case $ac_optarg in
19026 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19027 '') as_fn_error $? "missing file argument" ;;
19028 esac
19029 as_fn_append CONFIG_FILES " '$ac_optarg'"
19030 ac_need_defaults=false;;
19031 --header | --heade | --head | --hea )
19032 $ac_shift
19033 case $ac_optarg in
19034 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19035 esac
19036 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19037 ac_need_defaults=false;;
19038 --he | --h)
19039 # Conflict between --help and --header
19040 as_fn_error $? "ambiguous option: \`$1'
19041 Try \`$0 --help' for more information.";;
19042 --help | --hel | -h )
19043 $as_echo "$ac_cs_usage"; exit ;;
19044 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19045 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19046 ac_cs_silent=: ;;
19048 # This is an error.
19049 -*) as_fn_error $? "unrecognized option: \`$1'
19050 Try \`$0 --help' for more information." ;;
19052 *) as_fn_append ac_config_targets " $1"
19053 ac_need_defaults=false ;;
19055 esac
19056 shift
19057 done
19059 ac_configure_extra_args=
19061 if $ac_cs_silent; then
19062 exec 6>/dev/null
19063 ac_configure_extra_args="$ac_configure_extra_args --silent"
19066 _ACEOF
19067 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19068 if \$ac_cs_recheck; then
19069 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19070 shift
19071 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19072 CONFIG_SHELL='$SHELL'
19073 export CONFIG_SHELL
19074 exec "\$@"
19077 _ACEOF
19078 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19079 exec 5>>config.log
19081 echo
19082 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19083 ## Running $as_me. ##
19084 _ASBOX
19085 $as_echo "$ac_log"
19086 } >&5
19088 _ACEOF
19089 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19091 # INIT-COMMANDS
19093 wine_fn_output_makedep ()
19095 as_dir=tools; as_fn_mkdir_p
19096 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19098 wine_fn_output_makefile ()
19100 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19101 `cat $wine_rules_file`
19102 _WINE_EOF
19103 as_fn_error $? "could not create Makefile" "$LINENO" 5
19105 wine_fn_output_gitignore ()
19107 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
19108 $GITIGNORE
19109 _WINE_EOF
19110 as_fn_error $? "could not create .gitignore" "$LINENO" 5
19113 _ACEOF
19115 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19117 # Handling of arguments.
19118 for ac_config_target in $ac_config_targets
19120 case $ac_config_target in
19121 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19122 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19123 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19124 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19125 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19126 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19127 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19128 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19129 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
19130 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19131 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19132 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19133 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19134 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19135 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
19137 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19138 esac
19139 done
19142 # If the user did not use the arguments to specify the items to instantiate,
19143 # then the envvar interface is used. Set only those that are not.
19144 # We use the long form for the default assignment because of an extremely
19145 # bizarre bug on SunOS 4.1.3.
19146 if $ac_need_defaults; then
19147 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19148 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19149 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19150 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19153 # Have a temporary directory for convenience. Make it in the build tree
19154 # simply because there is no reason against having it here, and in addition,
19155 # creating and moving files from /tmp can sometimes cause problems.
19156 # Hook for its removal unless debugging.
19157 # Note that there is a small window in which the directory will not be cleaned:
19158 # after its creation but before its name has been assigned to `$tmp'.
19159 $debug ||
19161 tmp= ac_tmp=
19162 trap 'exit_status=$?
19163 : "${ac_tmp:=$tmp}"
19164 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19166 trap 'as_fn_exit 1' 1 2 13 15
19168 # Create a (secure) tmp directory for tmp files.
19171 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19172 test -d "$tmp"
19173 } ||
19175 tmp=./conf$$-$RANDOM
19176 (umask 077 && mkdir "$tmp")
19177 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19178 ac_tmp=$tmp
19180 # Set up the scripts for CONFIG_FILES section.
19181 # No need to generate them if there are no CONFIG_FILES.
19182 # This happens for instance with `./config.status config.h'.
19183 if test -n "$CONFIG_FILES"; then
19186 ac_cr=`echo X | tr X '\015'`
19187 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19188 # But we know of no other shell where ac_cr would be empty at this
19189 # point, so we can use a bashism as a fallback.
19190 if test "x$ac_cr" = x; then
19191 eval ac_cr=\$\'\\r\'
19193 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19194 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19195 ac_cs_awk_cr='\\r'
19196 else
19197 ac_cs_awk_cr=$ac_cr
19200 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19201 _ACEOF
19205 echo "cat >conf$$subs.awk <<_ACEOF" &&
19206 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19207 echo "_ACEOF"
19208 } >conf$$subs.sh ||
19209 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19210 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19211 ac_delim='%!_!# '
19212 for ac_last_try in false false false false false :; do
19213 . ./conf$$subs.sh ||
19214 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19216 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19217 if test $ac_delim_n = $ac_delim_num; then
19218 break
19219 elif $ac_last_try; then
19220 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19221 else
19222 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19224 done
19225 rm -f conf$$subs.sh
19227 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19228 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19229 _ACEOF
19230 sed -n '
19232 s/^/S["/; s/!.*/"]=/
19235 s/^[^!]*!//
19236 :repl
19237 t repl
19238 s/'"$ac_delim"'$//
19239 t delim
19242 s/\(.\{148\}\)..*/\1/
19243 t more1
19244 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19247 b repl
19248 :more1
19249 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19252 s/.\{148\}//
19253 t nl
19254 :delim
19256 s/\(.\{148\}\)..*/\1/
19257 t more2
19258 s/["\\]/\\&/g; s/^/"/; s/$/"/
19261 :more2
19262 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19265 s/.\{148\}//
19266 t delim
19267 ' <conf$$subs.awk | sed '
19268 /^[^""]/{
19270 s/\n//
19272 ' >>$CONFIG_STATUS || ac_write_fail=1
19273 rm -f conf$$subs.awk
19274 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19275 _ACAWK
19276 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19277 for (key in S) S_is_set[key] = 1
19278 FS = "\a"
19282 line = $ 0
19283 nfields = split(line, field, "@")
19284 substed = 0
19285 len = length(field[1])
19286 for (i = 2; i < nfields; i++) {
19287 key = field[i]
19288 keylen = length(key)
19289 if (S_is_set[key]) {
19290 value = S[key]
19291 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19292 len += length(value) + length(field[++i])
19293 substed = 1
19294 } else
19295 len += 1 + keylen
19298 print line
19301 _ACAWK
19302 _ACEOF
19303 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19304 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19305 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19306 else
19308 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19309 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19310 _ACEOF
19312 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19313 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19314 # trailing colons and then remove the whole line if VPATH becomes empty
19315 # (actually we leave an empty line to preserve line numbers).
19316 if test "x$srcdir" = x.; then
19317 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19319 s///
19320 s/^/:/
19321 s/[ ]*$/:/
19322 s/:\$(srcdir):/:/g
19323 s/:\${srcdir}:/:/g
19324 s/:@srcdir@:/:/g
19325 s/^:*//
19326 s/:*$//
19328 s/\(=[ ]*\).*/\1/
19330 s/\n//
19331 s/^[^=]*=[ ]*$//
19335 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19336 fi # test -n "$CONFIG_FILES"
19338 # Set up the scripts for CONFIG_HEADERS section.
19339 # No need to generate them if there are no CONFIG_HEADERS.
19340 # This happens for instance with `./config.status Makefile'.
19341 if test -n "$CONFIG_HEADERS"; then
19342 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19343 BEGIN {
19344 _ACEOF
19346 # Transform confdefs.h into an awk script `defines.awk', embedded as
19347 # here-document in config.status, that substitutes the proper values into
19348 # config.h.in to produce config.h.
19350 # Create a delimiter string that does not exist in confdefs.h, to ease
19351 # handling of long lines.
19352 ac_delim='%!_!# '
19353 for ac_last_try in false false :; do
19354 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19355 if test -z "$ac_tt"; then
19356 break
19357 elif $ac_last_try; then
19358 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19359 else
19360 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19362 done
19364 # For the awk script, D is an array of macro values keyed by name,
19365 # likewise P contains macro parameters if any. Preserve backslash
19366 # newline sequences.
19368 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19369 sed -n '
19370 s/.\{148\}/&'"$ac_delim"'/g
19371 t rset
19372 :rset
19373 s/^[ ]*#[ ]*define[ ][ ]*/ /
19374 t def
19376 :def
19377 s/\\$//
19378 t bsnl
19379 s/["\\]/\\&/g
19380 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19381 D["\1"]=" \3"/p
19382 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19384 :bsnl
19385 s/["\\]/\\&/g
19386 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19387 D["\1"]=" \3\\\\\\n"\\/p
19388 t cont
19389 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19390 t cont
19392 :cont
19394 s/.\{148\}/&'"$ac_delim"'/g
19395 t clear
19396 :clear
19397 s/\\$//
19398 t bsnlc
19399 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19401 :bsnlc
19402 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19403 b cont
19404 ' <confdefs.h | sed '
19405 s/'"$ac_delim"'/"\\\
19406 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19408 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19409 for (key in D) D_is_set[key] = 1
19410 FS = "\a"
19412 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19413 line = \$ 0
19414 split(line, arg, " ")
19415 if (arg[1] == "#") {
19416 defundef = arg[2]
19417 mac1 = arg[3]
19418 } else {
19419 defundef = substr(arg[1], 2)
19420 mac1 = arg[2]
19422 split(mac1, mac2, "(") #)
19423 macro = mac2[1]
19424 prefix = substr(line, 1, index(line, defundef) - 1)
19425 if (D_is_set[macro]) {
19426 # Preserve the white space surrounding the "#".
19427 print prefix "define", macro P[macro] D[macro]
19428 next
19429 } else {
19430 # Replace #undef with comments. This is necessary, for example,
19431 # in the case of _POSIX_SOURCE, which is predefined and required
19432 # on some systems where configure will not decide to define it.
19433 if (defundef == "undef") {
19434 print "/*", prefix defundef, macro, "*/"
19435 next
19439 { print }
19440 _ACAWK
19441 _ACEOF
19442 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19443 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19444 fi # test -n "$CONFIG_HEADERS"
19447 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19448 shift
19449 for ac_tag
19451 case $ac_tag in
19452 :[FHLC]) ac_mode=$ac_tag; continue;;
19453 esac
19454 case $ac_mode$ac_tag in
19455 :[FHL]*:*);;
19456 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19457 :[FH]-) ac_tag=-:-;;
19458 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19459 esac
19460 ac_save_IFS=$IFS
19461 IFS=:
19462 set x $ac_tag
19463 IFS=$ac_save_IFS
19464 shift
19465 ac_file=$1
19466 shift
19468 case $ac_mode in
19469 :L) ac_source=$1;;
19470 :[FH])
19471 ac_file_inputs=
19472 for ac_f
19474 case $ac_f in
19475 -) ac_f="$ac_tmp/stdin";;
19476 *) # Look for the file first in the build tree, then in the source tree
19477 # (if the path is not absolute). The absolute path cannot be DOS-style,
19478 # because $ac_f cannot contain `:'.
19479 test -f "$ac_f" ||
19480 case $ac_f in
19481 [\\/$]*) false;;
19482 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19483 esac ||
19484 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19485 esac
19486 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19487 as_fn_append ac_file_inputs " '$ac_f'"
19488 done
19490 # Let's still pretend it is `configure' which instantiates (i.e., don't
19491 # use $as_me), people would be surprised to read:
19492 # /* config.h. Generated by config.status. */
19493 configure_input='Generated from '`
19494 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19495 `' by configure.'
19496 if test x"$ac_file" != x-; then
19497 configure_input="$ac_file. $configure_input"
19498 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19499 $as_echo "$as_me: creating $ac_file" >&6;}
19501 # Neutralize special characters interpreted by sed in replacement strings.
19502 case $configure_input in #(
19503 *\&* | *\|* | *\\* )
19504 ac_sed_conf_input=`$as_echo "$configure_input" |
19505 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19506 *) ac_sed_conf_input=$configure_input;;
19507 esac
19509 case $ac_tag in
19510 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19511 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19512 esac
19514 esac
19516 ac_dir=`$as_dirname -- "$ac_file" ||
19517 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19518 X"$ac_file" : 'X\(//\)[^/]' \| \
19519 X"$ac_file" : 'X\(//\)$' \| \
19520 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19521 $as_echo X"$ac_file" |
19522 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19523 s//\1/
19526 /^X\(\/\/\)[^/].*/{
19527 s//\1/
19530 /^X\(\/\/\)$/{
19531 s//\1/
19534 /^X\(\/\).*/{
19535 s//\1/
19538 s/.*/./; q'`
19539 as_dir="$ac_dir"; as_fn_mkdir_p
19540 ac_builddir=.
19542 case "$ac_dir" in
19543 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19545 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19546 # A ".." for each directory in $ac_dir_suffix.
19547 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19548 case $ac_top_builddir_sub in
19549 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19550 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19551 esac ;;
19552 esac
19553 ac_abs_top_builddir=$ac_pwd
19554 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19555 # for backward compatibility:
19556 ac_top_builddir=$ac_top_build_prefix
19558 case $srcdir in
19559 .) # We are building in place.
19560 ac_srcdir=.
19561 ac_top_srcdir=$ac_top_builddir_sub
19562 ac_abs_top_srcdir=$ac_pwd ;;
19563 [\\/]* | ?:[\\/]* ) # Absolute name.
19564 ac_srcdir=$srcdir$ac_dir_suffix;
19565 ac_top_srcdir=$srcdir
19566 ac_abs_top_srcdir=$srcdir ;;
19567 *) # Relative name.
19568 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19569 ac_top_srcdir=$ac_top_build_prefix$srcdir
19570 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19571 esac
19572 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19575 case $ac_mode in
19578 # CONFIG_FILE
19581 _ACEOF
19583 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19584 # If the template does not know about datarootdir, expand it.
19585 # FIXME: This hack should be removed a few years after 2.60.
19586 ac_datarootdir_hack=; ac_datarootdir_seen=
19587 ac_sed_dataroot='
19588 /datarootdir/ {
19592 /@datadir@/p
19593 /@docdir@/p
19594 /@infodir@/p
19595 /@localedir@/p
19596 /@mandir@/p'
19597 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19598 *datarootdir*) ac_datarootdir_seen=yes;;
19599 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19600 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19601 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19602 _ACEOF
19603 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19604 ac_datarootdir_hack='
19605 s&@datadir@&$datadir&g
19606 s&@docdir@&$docdir&g
19607 s&@infodir@&$infodir&g
19608 s&@localedir@&$localedir&g
19609 s&@mandir@&$mandir&g
19610 s&\\\${datarootdir}&$datarootdir&g' ;;
19611 esac
19612 _ACEOF
19614 # Neutralize VPATH when `$srcdir' = `.'.
19615 # Shell code in configure.ac might set extrasub.
19616 # FIXME: do we really want to maintain this feature?
19617 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19618 ac_sed_extra="$ac_vpsub
19619 $extrasub
19620 _ACEOF
19621 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19623 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19624 s|@configure_input@|$ac_sed_conf_input|;t t
19625 s&@top_builddir@&$ac_top_builddir_sub&;t t
19626 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19627 s&@srcdir@&$ac_srcdir&;t t
19628 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19629 s&@top_srcdir@&$ac_top_srcdir&;t t
19630 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19631 s&@builddir@&$ac_builddir&;t t
19632 s&@abs_builddir@&$ac_abs_builddir&;t t
19633 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19634 $ac_datarootdir_hack
19636 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19637 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19639 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19640 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19641 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19642 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19644 which seems to be undefined. Please make sure it is defined" >&5
19645 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19646 which seems to be undefined. Please make sure it is defined" >&2;}
19648 rm -f "$ac_tmp/stdin"
19649 case $ac_file in
19650 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19651 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19652 esac \
19653 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19657 # CONFIG_HEADER
19659 if test x"$ac_file" != x-; then
19661 $as_echo "/* $configure_input */" \
19662 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19663 } >"$ac_tmp/config.h" \
19664 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19665 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19666 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19667 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19668 else
19669 rm -f "$ac_file"
19670 mv "$ac_tmp/config.h" "$ac_file" \
19671 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19673 else
19674 $as_echo "/* $configure_input */" \
19675 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19676 || as_fn_error $? "could not create -" "$LINENO" 5
19681 # CONFIG_LINK
19684 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19686 else
19687 # Prefer the file from the source tree if names are identical.
19688 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19689 ac_source=$srcdir/$ac_source
19692 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19693 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19695 if test ! -r "$ac_source"; then
19696 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19698 rm -f "$ac_file"
19700 # Try a relative symlink, then a hard link, then a copy.
19701 case $ac_source in
19702 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19703 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19704 esac
19705 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19706 ln "$ac_source" "$ac_file" 2>/dev/null ||
19707 cp -p "$ac_source" "$ac_file" ||
19708 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19711 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19712 $as_echo "$as_me: executing $ac_file commands" >&6;}
19714 esac
19717 case $ac_file$ac_mode in
19718 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19719 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19720 "Makefile":C) wine_fn_output_makefile Makefile ;;
19721 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19723 esac
19724 done # for ac_tag
19727 as_fn_exit 0
19728 _ACEOF
19729 ac_clean_files=$ac_clean_files_save
19731 test $ac_write_fail = 0 ||
19732 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19735 # configure is writing to config.log, and then calls config.status.
19736 # config.status does its own redirection, appending to config.log.
19737 # Unfortunately, on DOS this fails, as config.log is still kept open
19738 # by configure, so config.status won't be able to write to it; its
19739 # output is simply discarded. So we exec the FD to /dev/null,
19740 # effectively closing config.log, so it can be properly (re)opened and
19741 # appended to by config.status. When coming back to configure, we
19742 # need to make the FD available again.
19743 if test "$no_create" != yes; then
19744 ac_cs_success=:
19745 ac_config_status_args=
19746 test "$silent" = yes &&
19747 ac_config_status_args="$ac_config_status_args --quiet"
19748 exec 5>/dev/null
19749 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19750 exec 5>>config.log
19751 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19752 # would make configure fail if this is the last instruction.
19753 $ac_cs_success || as_fn_exit 1
19755 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19756 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19757 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19761 if test "$no_create" = "yes"
19762 then
19763 exit 0
19766 ac_save_IFS="$IFS"
19767 if test "x$wine_notices" != x; then
19768 echo >&6
19769 IFS="|"
19770 for msg in $wine_notices; do
19771 IFS="$ac_save_IFS"
19772 if ${msg:+false} :; then :
19774 else
19775 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19776 $as_echo "$as_me: $msg" >&6;}
19778 done
19780 IFS="|"
19781 for msg in $wine_warnings; do
19782 IFS="$ac_save_IFS"
19783 if ${msg:+false} :; then :
19785 else
19786 echo >&2
19787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19788 $as_echo "$as_me: WARNING: $msg" >&2;}
19790 done
19791 IFS="$ac_save_IFS"
19793 $as_echo "
19794 $as_me: Finished. Do '${ac_make}' to compile Wine.
19795 " >&6