webservices/tests: Add tests for WsSetHeader.
[wine.git] / configure
blobb8eedc57c61f844fe3fc6d9f61ec9a9dd70eceba
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.9.16.
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.16'
584 PACKAGE_STRING='Wine 1.9.16'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='http://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 WINELOADER_INSTALL
628 ALL_VARS_RULES
629 LDAP_LIBS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 UNWINDFLAGS
635 EXCESS_PRECISION_CFLAGS
636 BUILTINFLAG
637 EXTRACFLAGS
638 NETAPI_LIBS
639 NETAPI_CFLAGS
640 PROCSTAT_LIBS
641 KSTAT_LIBS
642 MPG123_LIBS
643 MPG123_CFLAGS
644 TIFF_LIBS
645 TIFF_CFLAGS
646 PNG_LIBS
647 PNG_CFLAGS
648 JPEG_LIBS
649 JPEG_CFLAGS
650 FONTCONFIG_LIBS
651 FONTCONFIG_CFLAGS
652 CUPS_CFLAGS
653 CAPI20_LIBS
654 CAPI20_CFLAGS
655 OSS4_CFLAGS
656 ALSA_LIBS
657 GSTREAMER_LIBS
658 GSTREAMER_CFLAGS
659 PULSE_LIBS
660 PULSE_CFLAGS
661 GETTEXTPO_LIBS
662 Z_LIBS
663 FREETYPE_LIBS
664 FREETYPE_CFLAGS
665 LCMS2_LIBS
666 LCMS2_CFLAGS
667 RESOLV_LIBS
668 GPHOTO2_PORT_LIBS
669 GPHOTO2_PORT_CFLAGS
670 GPHOTO2_LIBS
671 GPHOTO2_CFLAGS
672 SANE_LIBS
673 SANE_CFLAGS
674 GNUTLS_LIBS
675 GNUTLS_CFLAGS
676 HAL_LIBS
677 HAL_CFLAGS
678 DBUS_LIBS
679 DBUS_CFLAGS
680 XSLT_LIBS
681 XSLT_CFLAGS
682 XML2_LIBS
683 XML2_CFLAGS
684 PCAP_LIBS
685 X_EXTRA_LIBS
686 X_LIBS
687 X_PRE_LIBS
688 X_CFLAGS
689 XMKMF
690 PTHREAD_LIBS
691 CROSSCC
692 CROSSTARGET
693 PRELINK
694 WINELOADER_DEPENDS
695 CARBON_LIBS
696 QUICKTIME_LIBS
697 OPENCL_LIBS
698 OPENAL_LIBS
699 COREAUDIO_LIBS
700 SECURITY_LIBS
701 DISKARBITRATION_LIBS
702 APPKIT_LIBS
703 CORESERVICES_LIBS
704 APPLICATIONSERVICES_LIBS
705 FORCEFEEDBACK_LIBS
706 IOKIT_LIBS
707 COREFOUNDATION_LIBS
708 LIBWINE_DEPENDS
709 LIBWINE_LDFLAGS
710 LIBWINE_INSTALL_DEV
711 LIBWINE_INSTALL_LIB
712 LIBWINE_IMPORTLIB
713 LIBWINE_SHAREDLIB
714 SOCKET_LIBS
715 DLLTOOL
716 WINELOADER_PROGRAMS
717 ALL_TEST_RESOURCES
718 CONFIGURE_TARGETS
719 DISABLED_SUBDIRS
720 SUBDIRS
721 READELF
722 OTOOL
724 LDEXECFLAGS
725 LDRPATH_LOCAL
726 LDRPATH_INSTALL
727 DLLFLAGS
728 dlldir
730 OPENGL_LIBS
731 ICOTOOL
732 CONVERT
733 RSVG
734 FONTFORGE
735 PKG_CONFIG
736 MSGFMT
737 LDCONFIG
738 EGREP
739 GREP
740 LN_S
741 RANLIB
742 ARFLAGS
743 STRIP
744 ac_ct_AR
746 BISON
747 FLEX
748 TOOLSDIR
749 TARGETFLAGS
751 CPPBIN
752 ac_ct_CXX
753 CXXFLAGS
755 OBJEXT
756 EXEEXT
757 ac_ct_CC
758 CPPFLAGS
759 LDFLAGS
760 CFLAGS
762 SET_MAKE
763 host_os
764 host_vendor
765 host_cpu
766 host
767 build_os
768 build_vendor
769 build_cpu
770 build
771 target_alias
772 host_alias
773 build_alias
774 LIBS
775 ECHO_T
776 ECHO_N
777 ECHO_C
778 DEFS
779 mandir
780 localedir
781 libdir
782 psdir
783 pdfdir
784 dvidir
785 htmldir
786 infodir
787 docdir
788 oldincludedir
789 includedir
790 runstatedir
791 localstatedir
792 sharedstatedir
793 sysconfdir
794 datadir
795 datarootdir
796 libexecdir
797 sbindir
798 bindir
799 program_transform_name
800 prefix
801 exec_prefix
802 PACKAGE_URL
803 PACKAGE_BUGREPORT
804 PACKAGE_STRING
805 PACKAGE_VERSION
806 PACKAGE_TARNAME
807 PACKAGE_NAME
808 PATH_SEPARATOR
809 SHELL'
810 ac_subst_files=''
811 ac_user_opts='
812 enable_option_checking
813 enable_win16
814 enable_win64
815 enable_tests
816 enable_maintainer_mode
817 with_alsa
818 with_capi
819 with_cms
820 with_coreaudio
821 with_cups
822 with_curses
823 with_dbus
824 with_fontconfig
825 with_freetype
826 with_gettext
827 with_gettextpo
828 with_gphoto
829 with_glu
830 with_gnutls
831 with_gsm
832 with_gstreamer
833 with_hal
834 with_jpeg
835 with_ldap
836 with_mpg123
837 with_netapi
838 with_openal
839 with_opencl
840 with_opengl
841 with_osmesa
842 with_oss
843 with_pcap
844 with_png
845 with_pthread
846 with_pulse
847 with_sane
848 with_tiff
849 with_v4l
850 with_xcomposite
851 with_xcursor
852 with_xinerama
853 with_xinput
854 with_xinput2
855 with_xml
856 with_xrandr
857 with_xrender
858 with_xshape
859 with_xshm
860 with_xslt
861 with_xxf86vm
862 with_zlib
863 with_wine_tools
864 with_wine64
865 enable_largefile
866 with_x
867 enable_acledit
868 enable_aclui
869 enable_activeds
870 enable_actxprxy
871 enable_advapi32
872 enable_advpack
873 enable_amstream
874 enable_api_ms_win_core_com_l1_1_0
875 enable_api_ms_win_core_com_l1_1_1
876 enable_api_ms_win_core_console_l1_1_0
877 enable_api_ms_win_core_datetime_l1_1_0
878 enable_api_ms_win_core_datetime_l1_1_1
879 enable_api_ms_win_core_debug_l1_1_0
880 enable_api_ms_win_core_debug_l1_1_1
881 enable_api_ms_win_core_delayload_l1_1_1
882 enable_api_ms_win_core_errorhandling_l1_1_0
883 enable_api_ms_win_core_errorhandling_l1_1_1
884 enable_api_ms_win_core_errorhandling_l1_1_2
885 enable_api_ms_win_core_fibers_l1_1_0
886 enable_api_ms_win_core_fibers_l1_1_1
887 enable_api_ms_win_core_file_l1_1_0
888 enable_api_ms_win_core_file_l1_2_0
889 enable_api_ms_win_core_file_l1_2_1
890 enable_api_ms_win_core_file_l2_1_0
891 enable_api_ms_win_core_file_l2_1_1
892 enable_api_ms_win_core_handle_l1_1_0
893 enable_api_ms_win_core_heap_l1_1_0
894 enable_api_ms_win_core_heap_l1_2_0
895 enable_api_ms_win_core_heap_obsolete_l1_1_0
896 enable_api_ms_win_core_interlocked_l1_1_0
897 enable_api_ms_win_core_interlocked_l1_2_0
898 enable_api_ms_win_core_io_l1_1_1
899 enable_api_ms_win_core_kernel32_legacy_l1_1_0
900 enable_api_ms_win_core_kernel32_legacy_l1_1_1
901 enable_api_ms_win_core_libraryloader_l1_1_0
902 enable_api_ms_win_core_libraryloader_l1_1_1
903 enable_api_ms_win_core_libraryloader_l1_2_0
904 enable_api_ms_win_core_localization_l1_1_0
905 enable_api_ms_win_core_localization_l1_2_0
906 enable_api_ms_win_core_localization_l1_2_1
907 enable_api_ms_win_core_localization_obsolete_l1_1_0
908 enable_api_ms_win_core_localregistry_l1_1_0
909 enable_api_ms_win_core_memory_l1_1_0
910 enable_api_ms_win_core_memory_l1_1_1
911 enable_api_ms_win_core_memory_l1_1_2
912 enable_api_ms_win_core_misc_l1_1_0
913 enable_api_ms_win_core_namedpipe_l1_1_0
914 enable_api_ms_win_core_namedpipe_l1_2_0
915 enable_api_ms_win_core_path_l1_1_0
916 enable_api_ms_win_core_processenvironment_l1_1_0
917 enable_api_ms_win_core_processenvironment_l1_2_0
918 enable_api_ms_win_core_processthreads_l1_1_0
919 enable_api_ms_win_core_processthreads_l1_1_1
920 enable_api_ms_win_core_processthreads_l1_1_2
921 enable_api_ms_win_core_profile_l1_1_0
922 enable_api_ms_win_core_psapi_l1_1_0
923 enable_api_ms_win_core_registry_l1_1_0
924 enable_api_ms_win_core_rtlsupport_l1_1_0
925 enable_api_ms_win_core_rtlsupport_l1_2_0
926 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
927 enable_api_ms_win_core_string_l1_1_0
928 enable_api_ms_win_core_string_l2_1_0
929 enable_api_ms_win_core_synch_l1_1_0
930 enable_api_ms_win_core_synch_l1_2_0
931 enable_api_ms_win_core_sysinfo_l1_1_0
932 enable_api_ms_win_core_sysinfo_l1_2_0
933 enable_api_ms_win_core_sysinfo_l1_2_1
934 enable_api_ms_win_core_threadpool_l1_2_0
935 enable_api_ms_win_core_threadpool_legacy_l1_1_0
936 enable_api_ms_win_core_timezone_l1_1_0
937 enable_api_ms_win_core_url_l1_1_0
938 enable_api_ms_win_core_util_l1_1_0
939 enable_api_ms_win_core_version_l1_1_0
940 enable_api_ms_win_core_winrt_error_l1_1_0
941 enable_api_ms_win_core_winrt_error_l1_1_1
942 enable_api_ms_win_core_winrt_l1_1_0
943 enable_api_ms_win_core_winrt_registration_l1_1_0
944 enable_api_ms_win_core_winrt_string_l1_1_0
945 enable_api_ms_win_core_wow64_l1_1_0
946 enable_api_ms_win_core_xstate_l2_1_0
947 enable_api_ms_win_crt_conio_l1_1_0
948 enable_api_ms_win_crt_convert_l1_1_0
949 enable_api_ms_win_crt_environment_l1_1_0
950 enable_api_ms_win_crt_filesystem_l1_1_0
951 enable_api_ms_win_crt_heap_l1_1_0
952 enable_api_ms_win_crt_locale_l1_1_0
953 enable_api_ms_win_crt_math_l1_1_0
954 enable_api_ms_win_crt_multibyte_l1_1_0
955 enable_api_ms_win_crt_private_l1_1_0
956 enable_api_ms_win_crt_process_l1_1_0
957 enable_api_ms_win_crt_runtime_l1_1_0
958 enable_api_ms_win_crt_stdio_l1_1_0
959 enable_api_ms_win_crt_string_l1_1_0
960 enable_api_ms_win_crt_time_l1_1_0
961 enable_api_ms_win_crt_utility_l1_1_0
962 enable_api_ms_win_downlevel_advapi32_l1_1_0
963 enable_api_ms_win_downlevel_advapi32_l2_1_0
964 enable_api_ms_win_downlevel_normaliz_l1_1_0
965 enable_api_ms_win_downlevel_ole32_l1_1_0
966 enable_api_ms_win_downlevel_shell32_l1_1_0
967 enable_api_ms_win_downlevel_shlwapi_l1_1_0
968 enable_api_ms_win_downlevel_shlwapi_l2_1_0
969 enable_api_ms_win_downlevel_user32_l1_1_0
970 enable_api_ms_win_downlevel_version_l1_1_0
971 enable_api_ms_win_eventing_classicprovider_l1_1_0
972 enable_api_ms_win_eventing_provider_l1_1_0
973 enable_api_ms_win_ntuser_dc_access_l1_1_0
974 enable_api_ms_win_security_base_l1_1_0
975 enable_api_ms_win_security_base_l1_2_0
976 enable_api_ms_win_security_lsalookup_l1_1_0
977 enable_api_ms_win_security_lsalookup_l1_1_1
978 enable_api_ms_win_security_sddl_l1_1_0
979 enable_api_ms_win_service_core_l1_1_1
980 enable_api_ms_win_service_management_l1_1_0
981 enable_api_ms_win_service_winsvc_l1_2_0
982 enable_apphelp
983 enable_appwiz_cpl
984 enable_atl
985 enable_atl100
986 enable_atl110
987 enable_atl80
988 enable_atl90
989 enable_authz
990 enable_avicap32
991 enable_avifil32
992 enable_avrt
993 enable_bcrypt
994 enable_bluetoothapis
995 enable_browseui
996 enable_bthprops_cpl
997 enable_cabinet
998 enable_capi2032
999 enable_cards
1000 enable_cfgmgr32
1001 enable_clusapi
1002 enable_combase
1003 enable_comcat
1004 enable_comctl32
1005 enable_comdlg32
1006 enable_compstui
1007 enable_comsvcs
1008 enable_concrt140
1009 enable_connect
1010 enable_credui
1011 enable_crtdll
1012 enable_crypt32
1013 enable_cryptdlg
1014 enable_cryptdll
1015 enable_cryptext
1016 enable_cryptnet
1017 enable_cryptui
1018 enable_ctapi32
1019 enable_ctl3d32
1020 enable_d2d1
1021 enable_d3d10
1022 enable_d3d10_1
1023 enable_d3d10core
1024 enable_d3d11
1025 enable_d3d8
1026 enable_d3d9
1027 enable_d3dcompiler_33
1028 enable_d3dcompiler_34
1029 enable_d3dcompiler_35
1030 enable_d3dcompiler_36
1031 enable_d3dcompiler_37
1032 enable_d3dcompiler_38
1033 enable_d3dcompiler_39
1034 enable_d3dcompiler_40
1035 enable_d3dcompiler_41
1036 enable_d3dcompiler_42
1037 enable_d3dcompiler_43
1038 enable_d3dcompiler_46
1039 enable_d3dcompiler_47
1040 enable_d3dim
1041 enable_d3drm
1042 enable_d3dx10_33
1043 enable_d3dx10_34
1044 enable_d3dx10_35
1045 enable_d3dx10_36
1046 enable_d3dx10_37
1047 enable_d3dx10_38
1048 enable_d3dx10_39
1049 enable_d3dx10_40
1050 enable_d3dx10_41
1051 enable_d3dx10_42
1052 enable_d3dx10_43
1053 enable_d3dx11_42
1054 enable_d3dx11_43
1055 enable_d3dx9_24
1056 enable_d3dx9_25
1057 enable_d3dx9_26
1058 enable_d3dx9_27
1059 enable_d3dx9_28
1060 enable_d3dx9_29
1061 enable_d3dx9_30
1062 enable_d3dx9_31
1063 enable_d3dx9_32
1064 enable_d3dx9_33
1065 enable_d3dx9_34
1066 enable_d3dx9_35
1067 enable_d3dx9_36
1068 enable_d3dx9_37
1069 enable_d3dx9_38
1070 enable_d3dx9_39
1071 enable_d3dx9_40
1072 enable_d3dx9_41
1073 enable_d3dx9_42
1074 enable_d3dx9_43
1075 enable_d3dxof
1076 enable_davclnt
1077 enable_dbgeng
1078 enable_dbghelp
1079 enable_dciman32
1080 enable_ddraw
1081 enable_ddrawex
1082 enable_devenum
1083 enable_dhcpcsvc
1084 enable_difxapi
1085 enable_dinput
1086 enable_dinput8
1087 enable_dispex
1088 enable_dmband
1089 enable_dmcompos
1090 enable_dmime
1091 enable_dmloader
1092 enable_dmscript
1093 enable_dmstyle
1094 enable_dmsynth
1095 enable_dmusic
1096 enable_dmusic32
1097 enable_dnsapi
1098 enable_dplay
1099 enable_dplayx
1100 enable_dpnaddr
1101 enable_dpnet
1102 enable_dpnhpast
1103 enable_dpnlobby
1104 enable_dpvoice
1105 enable_dpwsockx
1106 enable_drmclien
1107 enable_dsound
1108 enable_dssenh
1109 enable_dswave
1110 enable_dwmapi
1111 enable_dwrite
1112 enable_dxdiagn
1113 enable_dxgi
1114 enable_dxva2
1115 enable_esent
1116 enable_evr
1117 enable_explorerframe
1118 enable_ext_ms_win_gdi_devcaps_l1_1_0
1119 enable_faultrep
1120 enable_fltlib
1121 enable_fltmgr_sys
1122 enable_fntcache
1123 enable_fontsub
1124 enable_fusion
1125 enable_fwpuclnt
1126 enable_gameux
1127 enable_gdi32
1128 enable_gdiplus
1129 enable_glu32
1130 enable_gphoto2_ds
1131 enable_gpkcsp
1132 enable_hal
1133 enable_hhctrl_ocx
1134 enable_hid
1135 enable_hidclass_sys
1136 enable_hlink
1137 enable_hnetcfg
1138 enable_httpapi
1139 enable_iccvid
1140 enable_icmp
1141 enable_ieframe
1142 enable_imaadp32_acm
1143 enable_imagehlp
1144 enable_imm32
1145 enable_inetcomm
1146 enable_inetcpl_cpl
1147 enable_inetmib1
1148 enable_infosoft
1149 enable_initpki
1150 enable_inkobj
1151 enable_inseng
1152 enable_iphlpapi
1153 enable_irprops_cpl
1154 enable_itircl
1155 enable_itss
1156 enable_joy_cpl
1157 enable_jscript
1158 enable_jsproxy
1159 enable_kernel32
1160 enable_kernelbase
1161 enable_ksuser
1162 enable_ktmw32
1163 enable_loadperf
1164 enable_localspl
1165 enable_localui
1166 enable_lz32
1167 enable_mapi32
1168 enable_mapistub
1169 enable_mciavi32
1170 enable_mcicda
1171 enable_mciqtz32
1172 enable_mciseq
1173 enable_mciwave
1174 enable_mf
1175 enable_mfplat
1176 enable_mfreadwrite
1177 enable_mgmtapi
1178 enable_midimap
1179 enable_mlang
1180 enable_mmcndmgr
1181 enable_mmdevapi
1182 enable_mountmgr_sys
1183 enable_mpr
1184 enable_mprapi
1185 enable_msacm32_drv
1186 enable_msacm32
1187 enable_msadp32_acm
1188 enable_msasn1
1189 enable_mscat32
1190 enable_mscms
1191 enable_mscoree
1192 enable_msctf
1193 enable_msctfp
1194 enable_msdaps
1195 enable_msdelta
1196 enable_msdmo
1197 enable_msdrm
1198 enable_msftedit
1199 enable_msg711_acm
1200 enable_msgsm32_acm
1201 enable_mshtml_tlb
1202 enable_mshtml
1203 enable_msi
1204 enable_msident
1205 enable_msimg32
1206 enable_msimsg
1207 enable_msimtf
1208 enable_msisip
1209 enable_msisys_ocx
1210 enable_msls31
1211 enable_msnet32
1212 enable_mspatcha
1213 enable_msrle32
1214 enable_msscript_ocx
1215 enable_mssign32
1216 enable_mssip32
1217 enable_mstask
1218 enable_msvcirt
1219 enable_msvcm80
1220 enable_msvcm90
1221 enable_msvcp100
1222 enable_msvcp110
1223 enable_msvcp120
1224 enable_msvcp120_app
1225 enable_msvcp140
1226 enable_msvcp60
1227 enable_msvcp70
1228 enable_msvcp71
1229 enable_msvcp80
1230 enable_msvcp90
1231 enable_msvcr100
1232 enable_msvcr110
1233 enable_msvcr120
1234 enable_msvcr120_app
1235 enable_msvcr70
1236 enable_msvcr71
1237 enable_msvcr80
1238 enable_msvcr90
1239 enable_msvcrt
1240 enable_msvcrt20
1241 enable_msvcrt40
1242 enable_msvcrtd
1243 enable_msvfw32
1244 enable_msvidc32
1245 enable_mswsock
1246 enable_msxml
1247 enable_msxml2
1248 enable_msxml3
1249 enable_msxml4
1250 enable_msxml6
1251 enable_ncrypt
1252 enable_nddeapi
1253 enable_ndis_sys
1254 enable_netapi32
1255 enable_netcfgx
1256 enable_netprofm
1257 enable_newdev
1258 enable_normaliz
1259 enable_npmshtml
1260 enable_npptools
1261 enable_ntdll
1262 enable_ntdsapi
1263 enable_ntoskrnl_exe
1264 enable_ntprint
1265 enable_objsel
1266 enable_odbc32
1267 enable_odbccp32
1268 enable_odbccu32
1269 enable_ole32
1270 enable_oleacc
1271 enable_oleaut32
1272 enable_olecli32
1273 enable_oledb32
1274 enable_oledlg
1275 enable_olepro32
1276 enable_olesvr32
1277 enable_olethk32
1278 enable_openal32
1279 enable_opencl
1280 enable_opengl32
1281 enable_packager
1282 enable_pdh
1283 enable_photometadatahandler
1284 enable_pidgen
1285 enable_powrprof
1286 enable_printui
1287 enable_prntvpt
1288 enable_propsys
1289 enable_psapi
1290 enable_pstorec
1291 enable_qcap
1292 enable_qedit
1293 enable_qmgr
1294 enable_qmgrprxy
1295 enable_quartz
1296 enable_query
1297 enable_rasapi32
1298 enable_rasdlg
1299 enable_regapi
1300 enable_resutils
1301 enable_riched20
1302 enable_riched32
1303 enable_rpcrt4
1304 enable_rsabase
1305 enable_rsaenh
1306 enable_rstrtmgr
1307 enable_rtutils
1308 enable_samlib
1309 enable_sane_ds
1310 enable_scarddlg
1311 enable_sccbase
1312 enable_schannel
1313 enable_schedsvc
1314 enable_scrrun
1315 enable_scsiport_sys
1316 enable_secur32
1317 enable_security
1318 enable_sensapi
1319 enable_serialui
1320 enable_setupapi
1321 enable_sfc
1322 enable_sfc_os
1323 enable_shdoclc
1324 enable_shdocvw
1325 enable_shell32
1326 enable_shfolder
1327 enable_shlwapi
1328 enable_slbcsp
1329 enable_slc
1330 enable_snmpapi
1331 enable_softpub
1332 enable_spoolss
1333 enable_sspicli
1334 enable_stdole2_tlb
1335 enable_stdole32_tlb
1336 enable_sti
1337 enable_svrapi
1338 enable_sxs
1339 enable_t2embed
1340 enable_tapi32
1341 enable_taskschd
1342 enable_tdi_sys
1343 enable_traffic
1344 enable_twain_32
1345 enable_ucrtbase
1346 enable_unicows
1347 enable_updspapi
1348 enable_url
1349 enable_urlmon
1350 enable_usbd_sys
1351 enable_user32
1352 enable_userenv
1353 enable_usp10
1354 enable_uxtheme
1355 enable_vbscript
1356 enable_vcomp
1357 enable_vcomp100
1358 enable_vcomp110
1359 enable_vcomp120
1360 enable_vcomp140
1361 enable_vcomp90
1362 enable_vcruntime140
1363 enable_vdmdbg
1364 enable_version
1365 enable_vssapi
1366 enable_wbemdisp
1367 enable_wbemprox
1368 enable_webservices
1369 enable_wer
1370 enable_wevtapi
1371 enable_wiaservc
1372 enable_wimgapi
1373 enable_windowscodecs
1374 enable_windowscodecsext
1375 enable_winealsa_drv
1376 enable_winecoreaudio_drv
1377 enable_wined3d
1378 enable_winegstreamer
1379 enable_winejoystick_drv
1380 enable_winemac_drv
1381 enable_winemapi
1382 enable_winemp3_acm
1383 enable_wineoss_drv
1384 enable_wineps_drv
1385 enable_winepulse_drv
1386 enable_wineqtdecoder
1387 enable_winex11_drv
1388 enable_wing32
1389 enable_winhttp
1390 enable_wininet
1391 enable_winmm
1392 enable_winnls32
1393 enable_winscard
1394 enable_winspool_drv
1395 enable_winsta
1396 enable_wintab32
1397 enable_wintrust
1398 enable_wlanapi
1399 enable_wldap32
1400 enable_wmasf
1401 enable_wmi
1402 enable_wmiutils
1403 enable_wmp
1404 enable_wmvcore
1405 enable_wnaspi32
1406 enable_wpcap
1407 enable_ws2_32
1408 enable_wshom_ocx
1409 enable_wsnmp32
1410 enable_wsock32
1411 enable_wtsapi32
1412 enable_wuapi
1413 enable_wuaueng
1414 enable_x3daudio1_0
1415 enable_x3daudio1_1
1416 enable_x3daudio1_2
1417 enable_x3daudio1_3
1418 enable_x3daudio1_4
1419 enable_x3daudio1_5
1420 enable_x3daudio1_6
1421 enable_x3daudio1_7
1422 enable_xapofx1_1
1423 enable_xapofx1_2
1424 enable_xapofx1_3
1425 enable_xapofx1_4
1426 enable_xapofx1_5
1427 enable_xaudio2_0
1428 enable_xaudio2_1
1429 enable_xaudio2_2
1430 enable_xaudio2_3
1431 enable_xaudio2_4
1432 enable_xaudio2_5
1433 enable_xaudio2_6
1434 enable_xaudio2_7
1435 enable_xaudio2_8
1436 enable_xaudio2_9
1437 enable_xinput1_1
1438 enable_xinput1_2
1439 enable_xinput1_3
1440 enable_xinput1_4
1441 enable_xinput9_1_0
1442 enable_xmllite
1443 enable_xolehlp
1444 enable_xpsprint
1445 enable_xpssvcs
1446 enable_fonts
1447 enable_include
1448 enable_libs_port
1449 enable_libs_wine
1450 enable_libs_wpp
1451 enable_loader
1452 enable_po
1453 enable_arp
1454 enable_aspnet_regiis
1455 enable_attrib
1456 enable_cabarc
1457 enable_cacls
1458 enable_clock
1459 enable_cmd
1460 enable_conhost
1461 enable_control
1462 enable_cscript
1463 enable_dpnsvr
1464 enable_dxdiag
1465 enable_eject
1466 enable_expand
1467 enable_explorer
1468 enable_extrac32
1469 enable_findstr
1470 enable_fsutil
1471 enable_hh
1472 enable_hostname
1473 enable_icacls
1474 enable_icinfo
1475 enable_iexplore
1476 enable_ipconfig
1477 enable_lodctr
1478 enable_mofcomp
1479 enable_mshta
1480 enable_msiexec
1481 enable_net
1482 enable_netsh
1483 enable_netstat
1484 enable_ngen
1485 enable_notepad
1486 enable_oleview
1487 enable_ping
1488 enable_plugplay
1489 enable_presentationfontcache
1490 enable_progman
1491 enable_reg
1492 enable_regasm
1493 enable_regedit
1494 enable_regsvcs
1495 enable_regsvr32
1496 enable_rpcss
1497 enable_rundll32
1498 enable_sc
1499 enable_schtasks
1500 enable_sdbinst
1501 enable_secedit
1502 enable_servicemodelreg
1503 enable_services
1504 enable_shutdown
1505 enable_spoolsv
1506 enable_start
1507 enable_svchost
1508 enable_systeminfo
1509 enable_taskkill
1510 enable_tasklist
1511 enable_taskmgr
1512 enable_termsv
1513 enable_uninstaller
1514 enable_unlodctr
1515 enable_view
1516 enable_wevtutil
1517 enable_wineboot
1518 enable_winebrowser
1519 enable_winecfg
1520 enable_wineconsole
1521 enable_winedbg
1522 enable_winedevice
1523 enable_winefile
1524 enable_winemenubuilder
1525 enable_winemine
1526 enable_winemsibuilder
1527 enable_winepath
1528 enable_winetest
1529 enable_winhlp32
1530 enable_winver
1531 enable_wmic
1532 enable_wmplayer
1533 enable_wordpad
1534 enable_write
1535 enable_wscript
1536 enable_wusa
1537 enable_xcopy
1538 enable_server
1539 enable_tools
1541 ac_precious_vars='build_alias
1542 host_alias
1543 target_alias
1545 CFLAGS
1546 LDFLAGS
1547 LIBS
1548 CPPFLAGS
1550 CXXFLAGS
1553 XMKMF
1554 XML2_CFLAGS
1555 XML2_LIBS
1556 XSLT_CFLAGS
1557 XSLT_LIBS
1558 DBUS_CFLAGS
1559 DBUS_LIBS
1560 HAL_CFLAGS
1561 HAL_LIBS
1562 GNUTLS_CFLAGS
1563 GNUTLS_LIBS
1564 SANE_CFLAGS
1565 SANE_LIBS
1566 GPHOTO2_CFLAGS
1567 GPHOTO2_LIBS
1568 GPHOTO2_PORT_CFLAGS
1569 GPHOTO2_PORT_LIBS
1570 LCMS2_CFLAGS
1571 LCMS2_LIBS
1572 FREETYPE_CFLAGS
1573 FREETYPE_LIBS
1574 PULSE_CFLAGS
1575 PULSE_LIBS
1576 GSTREAMER_CFLAGS
1577 GSTREAMER_LIBS
1578 CAPI20_CFLAGS
1579 CAPI20_LIBS
1580 FONTCONFIG_CFLAGS
1581 FONTCONFIG_LIBS
1582 JPEG_CFLAGS
1583 JPEG_LIBS
1584 PNG_CFLAGS
1585 PNG_LIBS
1586 TIFF_CFLAGS
1587 TIFF_LIBS
1588 MPG123_CFLAGS
1589 MPG123_LIBS
1590 NETAPI_CFLAGS
1591 NETAPI_LIBS'
1594 # Initialize some variables set by options.
1595 ac_init_help=
1596 ac_init_version=false
1597 ac_unrecognized_opts=
1598 ac_unrecognized_sep=
1599 # The variables have the same names as the options, with
1600 # dashes changed to underlines.
1601 cache_file=/dev/null
1602 exec_prefix=NONE
1603 no_create=
1604 no_recursion=
1605 prefix=NONE
1606 program_prefix=NONE
1607 program_suffix=NONE
1608 program_transform_name=s,x,x,
1609 silent=
1610 site=
1611 srcdir=
1612 verbose=
1613 x_includes=NONE
1614 x_libraries=NONE
1616 # Installation directory options.
1617 # These are left unexpanded so users can "make install exec_prefix=/foo"
1618 # and all the variables that are supposed to be based on exec_prefix
1619 # by default will actually change.
1620 # Use braces instead of parens because sh, perl, etc. also accept them.
1621 # (The list follows the same order as the GNU Coding Standards.)
1622 bindir='${exec_prefix}/bin'
1623 sbindir='${exec_prefix}/sbin'
1624 libexecdir='${exec_prefix}/libexec'
1625 datarootdir='${prefix}/share'
1626 datadir='${datarootdir}'
1627 sysconfdir='${prefix}/etc'
1628 sharedstatedir='${prefix}/com'
1629 localstatedir='${prefix}/var'
1630 runstatedir='${localstatedir}/run'
1631 includedir='${prefix}/include'
1632 oldincludedir='/usr/include'
1633 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1634 infodir='${datarootdir}/info'
1635 htmldir='${docdir}'
1636 dvidir='${docdir}'
1637 pdfdir='${docdir}'
1638 psdir='${docdir}'
1639 libdir='${exec_prefix}/lib'
1640 localedir='${datarootdir}/locale'
1641 mandir='${datarootdir}/man'
1643 ac_prev=
1644 ac_dashdash=
1645 for ac_option
1647 # If the previous option needs an argument, assign it.
1648 if test -n "$ac_prev"; then
1649 eval $ac_prev=\$ac_option
1650 ac_prev=
1651 continue
1654 case $ac_option in
1655 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1656 *=) ac_optarg= ;;
1657 *) ac_optarg=yes ;;
1658 esac
1660 # Accept the important Cygnus configure options, so we can diagnose typos.
1662 case $ac_dashdash$ac_option in
1664 ac_dashdash=yes ;;
1666 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1667 ac_prev=bindir ;;
1668 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1669 bindir=$ac_optarg ;;
1671 -build | --build | --buil | --bui | --bu)
1672 ac_prev=build_alias ;;
1673 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1674 build_alias=$ac_optarg ;;
1676 -cache-file | --cache-file | --cache-fil | --cache-fi \
1677 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1678 ac_prev=cache_file ;;
1679 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1680 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1681 cache_file=$ac_optarg ;;
1683 --config-cache | -C)
1684 cache_file=config.cache ;;
1686 -datadir | --datadir | --datadi | --datad)
1687 ac_prev=datadir ;;
1688 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1689 datadir=$ac_optarg ;;
1691 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1692 | --dataroo | --dataro | --datar)
1693 ac_prev=datarootdir ;;
1694 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1695 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1696 datarootdir=$ac_optarg ;;
1698 -disable-* | --disable-*)
1699 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1700 # Reject names that are not valid shell variable names.
1701 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1702 as_fn_error $? "invalid feature name: $ac_useropt"
1703 ac_useropt_orig=$ac_useropt
1704 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1705 case $ac_user_opts in
1707 "enable_$ac_useropt"
1708 "*) ;;
1709 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1710 ac_unrecognized_sep=', ';;
1711 esac
1712 eval enable_$ac_useropt=no ;;
1714 -docdir | --docdir | --docdi | --doc | --do)
1715 ac_prev=docdir ;;
1716 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1717 docdir=$ac_optarg ;;
1719 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1720 ac_prev=dvidir ;;
1721 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1722 dvidir=$ac_optarg ;;
1724 -enable-* | --enable-*)
1725 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1726 # Reject names that are not valid shell variable names.
1727 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1728 as_fn_error $? "invalid feature name: $ac_useropt"
1729 ac_useropt_orig=$ac_useropt
1730 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1731 case $ac_user_opts in
1733 "enable_$ac_useropt"
1734 "*) ;;
1735 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1736 ac_unrecognized_sep=', ';;
1737 esac
1738 eval enable_$ac_useropt=\$ac_optarg ;;
1740 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1741 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1742 | --exec | --exe | --ex)
1743 ac_prev=exec_prefix ;;
1744 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1745 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1746 | --exec=* | --exe=* | --ex=*)
1747 exec_prefix=$ac_optarg ;;
1749 -gas | --gas | --ga | --g)
1750 # Obsolete; use --with-gas.
1751 with_gas=yes ;;
1753 -help | --help | --hel | --he | -h)
1754 ac_init_help=long ;;
1755 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1756 ac_init_help=recursive ;;
1757 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1758 ac_init_help=short ;;
1760 -host | --host | --hos | --ho)
1761 ac_prev=host_alias ;;
1762 -host=* | --host=* | --hos=* | --ho=*)
1763 host_alias=$ac_optarg ;;
1765 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1766 ac_prev=htmldir ;;
1767 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1768 | --ht=*)
1769 htmldir=$ac_optarg ;;
1771 -includedir | --includedir | --includedi | --included | --include \
1772 | --includ | --inclu | --incl | --inc)
1773 ac_prev=includedir ;;
1774 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1775 | --includ=* | --inclu=* | --incl=* | --inc=*)
1776 includedir=$ac_optarg ;;
1778 -infodir | --infodir | --infodi | --infod | --info | --inf)
1779 ac_prev=infodir ;;
1780 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1781 infodir=$ac_optarg ;;
1783 -libdir | --libdir | --libdi | --libd)
1784 ac_prev=libdir ;;
1785 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1786 libdir=$ac_optarg ;;
1788 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1789 | --libexe | --libex | --libe)
1790 ac_prev=libexecdir ;;
1791 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1792 | --libexe=* | --libex=* | --libe=*)
1793 libexecdir=$ac_optarg ;;
1795 -localedir | --localedir | --localedi | --localed | --locale)
1796 ac_prev=localedir ;;
1797 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1798 localedir=$ac_optarg ;;
1800 -localstatedir | --localstatedir | --localstatedi | --localstated \
1801 | --localstate | --localstat | --localsta | --localst | --locals)
1802 ac_prev=localstatedir ;;
1803 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1804 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1805 localstatedir=$ac_optarg ;;
1807 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1808 ac_prev=mandir ;;
1809 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1810 mandir=$ac_optarg ;;
1812 -nfp | --nfp | --nf)
1813 # Obsolete; use --without-fp.
1814 with_fp=no ;;
1816 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1817 | --no-cr | --no-c | -n)
1818 no_create=yes ;;
1820 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1821 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1822 no_recursion=yes ;;
1824 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1825 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1826 | --oldin | --oldi | --old | --ol | --o)
1827 ac_prev=oldincludedir ;;
1828 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1829 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1830 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1831 oldincludedir=$ac_optarg ;;
1833 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1834 ac_prev=prefix ;;
1835 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1836 prefix=$ac_optarg ;;
1838 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1839 | --program-pre | --program-pr | --program-p)
1840 ac_prev=program_prefix ;;
1841 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1842 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1843 program_prefix=$ac_optarg ;;
1845 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1846 | --program-suf | --program-su | --program-s)
1847 ac_prev=program_suffix ;;
1848 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1849 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1850 program_suffix=$ac_optarg ;;
1852 -program-transform-name | --program-transform-name \
1853 | --program-transform-nam | --program-transform-na \
1854 | --program-transform-n | --program-transform- \
1855 | --program-transform | --program-transfor \
1856 | --program-transfo | --program-transf \
1857 | --program-trans | --program-tran \
1858 | --progr-tra | --program-tr | --program-t)
1859 ac_prev=program_transform_name ;;
1860 -program-transform-name=* | --program-transform-name=* \
1861 | --program-transform-nam=* | --program-transform-na=* \
1862 | --program-transform-n=* | --program-transform-=* \
1863 | --program-transform=* | --program-transfor=* \
1864 | --program-transfo=* | --program-transf=* \
1865 | --program-trans=* | --program-tran=* \
1866 | --progr-tra=* | --program-tr=* | --program-t=*)
1867 program_transform_name=$ac_optarg ;;
1869 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1870 ac_prev=pdfdir ;;
1871 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1872 pdfdir=$ac_optarg ;;
1874 -psdir | --psdir | --psdi | --psd | --ps)
1875 ac_prev=psdir ;;
1876 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1877 psdir=$ac_optarg ;;
1879 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1880 | -silent | --silent | --silen | --sile | --sil)
1881 silent=yes ;;
1883 -runstatedir | --runstatedir | --runstatedi | --runstated \
1884 | --runstate | --runstat | --runsta | --runst | --runs \
1885 | --run | --ru | --r)
1886 ac_prev=runstatedir ;;
1887 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1888 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1889 | --run=* | --ru=* | --r=*)
1890 runstatedir=$ac_optarg ;;
1892 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1893 ac_prev=sbindir ;;
1894 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1895 | --sbi=* | --sb=*)
1896 sbindir=$ac_optarg ;;
1898 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1899 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1900 | --sharedst | --shareds | --shared | --share | --shar \
1901 | --sha | --sh)
1902 ac_prev=sharedstatedir ;;
1903 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1904 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1905 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1906 | --sha=* | --sh=*)
1907 sharedstatedir=$ac_optarg ;;
1909 -site | --site | --sit)
1910 ac_prev=site ;;
1911 -site=* | --site=* | --sit=*)
1912 site=$ac_optarg ;;
1914 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1915 ac_prev=srcdir ;;
1916 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1917 srcdir=$ac_optarg ;;
1919 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1920 | --syscon | --sysco | --sysc | --sys | --sy)
1921 ac_prev=sysconfdir ;;
1922 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1923 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1924 sysconfdir=$ac_optarg ;;
1926 -target | --target | --targe | --targ | --tar | --ta | --t)
1927 ac_prev=target_alias ;;
1928 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1929 target_alias=$ac_optarg ;;
1931 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1932 verbose=yes ;;
1934 -version | --version | --versio | --versi | --vers | -V)
1935 ac_init_version=: ;;
1937 -with-* | --with-*)
1938 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1939 # Reject names that are not valid shell variable names.
1940 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1941 as_fn_error $? "invalid package name: $ac_useropt"
1942 ac_useropt_orig=$ac_useropt
1943 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1944 case $ac_user_opts in
1946 "with_$ac_useropt"
1947 "*) ;;
1948 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1949 ac_unrecognized_sep=', ';;
1950 esac
1951 eval with_$ac_useropt=\$ac_optarg ;;
1953 -without-* | --without-*)
1954 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1955 # Reject names that are not valid shell variable names.
1956 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1957 as_fn_error $? "invalid package name: $ac_useropt"
1958 ac_useropt_orig=$ac_useropt
1959 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1960 case $ac_user_opts in
1962 "with_$ac_useropt"
1963 "*) ;;
1964 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1965 ac_unrecognized_sep=', ';;
1966 esac
1967 eval with_$ac_useropt=no ;;
1969 --x)
1970 # Obsolete; use --with-x.
1971 with_x=yes ;;
1973 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1974 | --x-incl | --x-inc | --x-in | --x-i)
1975 ac_prev=x_includes ;;
1976 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1977 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1978 x_includes=$ac_optarg ;;
1980 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1981 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1982 ac_prev=x_libraries ;;
1983 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1984 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1985 x_libraries=$ac_optarg ;;
1987 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1988 Try \`$0 --help' for more information"
1991 *=*)
1992 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1993 # Reject names that are not valid shell variable names.
1994 case $ac_envvar in #(
1995 '' | [0-9]* | *[!_$as_cr_alnum]* )
1996 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1997 esac
1998 eval $ac_envvar=\$ac_optarg
1999 export $ac_envvar ;;
2002 # FIXME: should be removed in autoconf 3.0.
2003 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2004 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2005 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2006 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2009 esac
2010 done
2012 if test -n "$ac_prev"; then
2013 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2014 as_fn_error $? "missing argument to $ac_option"
2017 if test -n "$ac_unrecognized_opts"; then
2018 case $enable_option_checking in
2019 no) ;;
2020 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2021 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2022 esac
2025 # Check all directory arguments for consistency.
2026 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2027 datadir sysconfdir sharedstatedir localstatedir includedir \
2028 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2029 libdir localedir mandir runstatedir
2031 eval ac_val=\$$ac_var
2032 # Remove trailing slashes.
2033 case $ac_val in
2034 */ )
2035 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2036 eval $ac_var=\$ac_val;;
2037 esac
2038 # Be sure to have absolute directory names.
2039 case $ac_val in
2040 [\\/$]* | ?:[\\/]* ) continue;;
2041 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2042 esac
2043 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2044 done
2046 # There might be people who depend on the old broken behavior: `$host'
2047 # used to hold the argument of --host etc.
2048 # FIXME: To remove some day.
2049 build=$build_alias
2050 host=$host_alias
2051 target=$target_alias
2053 # FIXME: To remove some day.
2054 if test "x$host_alias" != x; then
2055 if test "x$build_alias" = x; then
2056 cross_compiling=maybe
2057 elif test "x$build_alias" != "x$host_alias"; then
2058 cross_compiling=yes
2062 ac_tool_prefix=
2063 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2065 test "$silent" = yes && exec 6>/dev/null
2068 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2069 ac_ls_di=`ls -di .` &&
2070 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2071 as_fn_error $? "working directory cannot be determined"
2072 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2073 as_fn_error $? "pwd does not report name of working directory"
2076 # Find the source files, if location was not specified.
2077 if test -z "$srcdir"; then
2078 ac_srcdir_defaulted=yes
2079 # Try the directory containing this script, then the parent directory.
2080 ac_confdir=`$as_dirname -- "$as_myself" ||
2081 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2082 X"$as_myself" : 'X\(//\)[^/]' \| \
2083 X"$as_myself" : 'X\(//\)$' \| \
2084 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2085 $as_echo X"$as_myself" |
2086 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2087 s//\1/
2090 /^X\(\/\/\)[^/].*/{
2091 s//\1/
2094 /^X\(\/\/\)$/{
2095 s//\1/
2098 /^X\(\/\).*/{
2099 s//\1/
2102 s/.*/./; q'`
2103 srcdir=$ac_confdir
2104 if test ! -r "$srcdir/$ac_unique_file"; then
2105 srcdir=..
2107 else
2108 ac_srcdir_defaulted=no
2110 if test ! -r "$srcdir/$ac_unique_file"; then
2111 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2112 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2114 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2115 ac_abs_confdir=`(
2116 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2117 pwd)`
2118 # When building in place, set srcdir=.
2119 if test "$ac_abs_confdir" = "$ac_pwd"; then
2120 srcdir=.
2122 # Remove unnecessary trailing slashes from srcdir.
2123 # Double slashes in file names in object file debugging info
2124 # mess up M-x gdb in Emacs.
2125 case $srcdir in
2126 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2127 esac
2128 for ac_var in $ac_precious_vars; do
2129 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2130 eval ac_env_${ac_var}_value=\$${ac_var}
2131 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2132 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2133 done
2136 # Report the --help message.
2138 if test "$ac_init_help" = "long"; then
2139 # Omit some internal or obsolete options to make the list less imposing.
2140 # This message is too long to be a string in the A/UX 3.1 sh.
2141 cat <<_ACEOF
2142 \`configure' configures Wine 1.9.16 to adapt to many kinds of systems.
2144 Usage: $0 [OPTION]... [VAR=VALUE]...
2146 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2147 VAR=VALUE. See below for descriptions of some of the useful variables.
2149 Defaults for the options are specified in brackets.
2151 Configuration:
2152 -h, --help display this help and exit
2153 --help=short display options specific to this package
2154 --help=recursive display the short help of all the included packages
2155 -V, --version display version information and exit
2156 -q, --quiet, --silent do not print \`checking ...' messages
2157 --cache-file=FILE cache test results in FILE [disabled]
2158 -C, --config-cache alias for \`--cache-file=config.cache'
2159 -n, --no-create do not create output files
2160 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2162 Installation directories:
2163 --prefix=PREFIX install architecture-independent files in PREFIX
2164 [$ac_default_prefix]
2165 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2166 [PREFIX]
2168 By default, \`make install' will install all the files in
2169 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2170 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2171 for instance \`--prefix=\$HOME'.
2173 For better control, use the options below.
2175 Fine tuning of the installation directories:
2176 --bindir=DIR user executables [EPREFIX/bin]
2177 --sbindir=DIR system admin executables [EPREFIX/sbin]
2178 --libexecdir=DIR program executables [EPREFIX/libexec]
2179 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2180 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2181 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2182 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2183 --libdir=DIR object code libraries [EPREFIX/lib]
2184 --includedir=DIR C header files [PREFIX/include]
2185 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2186 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2187 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2188 --infodir=DIR info documentation [DATAROOTDIR/info]
2189 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2190 --mandir=DIR man documentation [DATAROOTDIR/man]
2191 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2192 --htmldir=DIR html documentation [DOCDIR]
2193 --dvidir=DIR dvi documentation [DOCDIR]
2194 --pdfdir=DIR pdf documentation [DOCDIR]
2195 --psdir=DIR ps documentation [DOCDIR]
2196 _ACEOF
2198 cat <<\_ACEOF
2200 X features:
2201 --x-includes=DIR X include files are in DIR
2202 --x-libraries=DIR X library files are in DIR
2204 System types:
2205 --build=BUILD configure for building on BUILD [guessed]
2206 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2207 _ACEOF
2210 if test -n "$ac_init_help"; then
2211 case $ac_init_help in
2212 short | recursive ) echo "Configuration of Wine 1.9.16:";;
2213 esac
2214 cat <<\_ACEOF
2216 Optional Features:
2217 --disable-option-checking ignore unrecognized --enable/--with options
2218 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2219 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2220 --disable-win16 do not include Win16 support
2221 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2222 binaries)
2223 --disable-tests do not build the regression tests
2224 --enable-maintainer-mode
2225 enable maintainer-specific build rules
2226 --disable-largefile omit support for large files
2228 Optional Packages:
2229 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2230 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2231 --without-alsa do not use the Alsa sound support
2232 --without-capi do not use CAPI (ISDN support)
2233 --without-cms do not use CMS (color management support)
2234 --without-coreaudio do not use the CoreAudio sound support
2235 --without-cups do not use CUPS
2236 --without-curses do not use (n)curses
2237 --without-dbus do not use DBus (dynamic device support)
2238 --without-fontconfig do not use fontconfig
2239 --without-freetype do not use the FreeType library
2240 --without-gettext do not use gettext
2241 --with-gettextpo use the GetTextPO library to rebuild po files
2242 --without-gphoto do not use gphoto (Digital Camera support)
2243 --without-glu do not use the GLU library
2244 --without-gnutls do not use GnuTLS (schannel support)
2245 --without-gsm do not use libgsm (GSM 06.10 codec support)
2246 --without-gstreamer do not use GStreamer (codecs support)
2247 --without-hal do not use HAL (dynamic device support)
2248 --without-jpeg do not use JPEG
2249 --without-ldap do not use LDAP
2250 --without-mpg123 do not use the mpg123 library
2251 --without-netapi do not use the Samba NetAPI library
2252 --without-openal do not use OpenAL
2253 --without-opencl do not use OpenCL
2254 --without-opengl do not use OpenGL
2255 --without-osmesa do not use the OSMesa library
2256 --without-oss do not use the OSS sound support
2257 --without-pcap do not use the Packet Capture library
2258 --without-png do not use PNG
2259 --without-pthread do not use the pthread library
2260 --without-pulse do not use PulseAudio sound support
2261 --without-sane do not use SANE (scanner support)
2262 --without-tiff do not use TIFF
2263 --without-v4l do not use v4l1 (v4l support)
2264 --without-xcomposite do not use the Xcomposite extension
2265 --without-xcursor do not use the Xcursor extension
2266 --without-xinerama do not use Xinerama (multi-monitor support)
2267 --without-xinput do not use the Xinput extension
2268 --without-xinput2 do not use the Xinput 2 extension
2269 --without-xml do not use XML
2270 --without-xrandr do not use Xrandr (resolution changes)
2271 --without-xrender do not use the Xrender extension
2272 --without-xshape do not use the Xshape extension
2273 --without-xshm do not use XShm (shared memory extension)
2274 --without-xslt do not use XSLT
2275 --without-xxf86vm do not use XFree video mode extension
2276 --without-zlib do not use Zlib (data compression)
2277 --with-wine-tools=DIR use Wine tools from directory DIR
2278 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2279 --with-x use the X Window System
2281 Some influential environment variables:
2282 CC C compiler command
2283 CFLAGS C compiler flags
2284 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2285 nonstandard directory <lib dir>
2286 LIBS libraries to pass to the linker, e.g. -l<library>
2287 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2288 you have headers in a nonstandard directory <include dir>
2289 CXX C++ compiler command
2290 CXXFLAGS C++ compiler flags
2291 CPP C preprocessor
2292 XMKMF Path to xmkmf, Makefile generator for X Window System
2293 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2294 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2295 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2296 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2297 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2298 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2299 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2300 HAL_LIBS Linker flags for hal, overriding pkg-config
2301 GNUTLS_CFLAGS
2302 C compiler flags for gnutls, overriding pkg-config
2303 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2304 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2305 SANE_LIBS Linker flags for libsane, overriding pkg-config
2306 GPHOTO2_CFLAGS
2307 C compiler flags for libgphoto2, overriding pkg-config
2308 GPHOTO2_LIBS
2309 Linker flags for libgphoto2, overriding pkg-config
2310 GPHOTO2_PORT_CFLAGS
2311 C compiler flags for libgphoto2_port, overriding pkg-config
2312 GPHOTO2_PORT_LIBS
2313 Linker flags for libgphoto2_port, overriding pkg-config
2314 LCMS2_CFLAGS
2315 C compiler flags for lcms2, overriding pkg-config
2316 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2317 FREETYPE_CFLAGS
2318 C compiler flags for freetype2, overriding pkg-config
2319 FREETYPE_LIBS
2320 Linker flags for freetype2, overriding pkg-config
2321 PULSE_CFLAGS
2322 C compiler flags for libpulse, overriding pkg-config
2323 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2324 GSTREAMER_CFLAGS
2325 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2326 gstreamer-audio-1.0, overriding pkg-config
2327 GSTREAMER_LIBS
2328 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2329 gstreamer-audio-1.0, overriding pkg-config
2330 CAPI20_CFLAGS
2331 C compiler flags for capi20, overriding pkg-config
2332 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2333 FONTCONFIG_CFLAGS
2334 C compiler flags for fontconfig, overriding pkg-config
2335 FONTCONFIG_LIBS
2336 Linker flags for fontconfig, overriding pkg-config
2337 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2338 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2339 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2340 PNG_LIBS Linker flags for libpng, overriding pkg-config
2341 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2342 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2343 MPG123_CFLAGS
2344 C compiler flags for libmpg123, overriding pkg-config
2345 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2346 NETAPI_CFLAGS
2347 C compiler flags for netapi, overriding pkg-config
2348 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2350 Use these variables to override the choices made by `configure' or to help
2351 it to find libraries and programs with nonstandard names/locations.
2353 Report bugs to <wine-devel@winehq.org>.
2354 Wine home page: <http://www.winehq.org>.
2355 _ACEOF
2356 ac_status=$?
2359 if test "$ac_init_help" = "recursive"; then
2360 # If there are subdirs, report their specific --help.
2361 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2362 test -d "$ac_dir" ||
2363 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2364 continue
2365 ac_builddir=.
2367 case "$ac_dir" in
2368 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2370 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2371 # A ".." for each directory in $ac_dir_suffix.
2372 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2373 case $ac_top_builddir_sub in
2374 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2375 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2376 esac ;;
2377 esac
2378 ac_abs_top_builddir=$ac_pwd
2379 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2380 # for backward compatibility:
2381 ac_top_builddir=$ac_top_build_prefix
2383 case $srcdir in
2384 .) # We are building in place.
2385 ac_srcdir=.
2386 ac_top_srcdir=$ac_top_builddir_sub
2387 ac_abs_top_srcdir=$ac_pwd ;;
2388 [\\/]* | ?:[\\/]* ) # Absolute name.
2389 ac_srcdir=$srcdir$ac_dir_suffix;
2390 ac_top_srcdir=$srcdir
2391 ac_abs_top_srcdir=$srcdir ;;
2392 *) # Relative name.
2393 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2394 ac_top_srcdir=$ac_top_build_prefix$srcdir
2395 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2396 esac
2397 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2399 cd "$ac_dir" || { ac_status=$?; continue; }
2400 # Check for guested configure.
2401 if test -f "$ac_srcdir/configure.gnu"; then
2402 echo &&
2403 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2404 elif test -f "$ac_srcdir/configure"; then
2405 echo &&
2406 $SHELL "$ac_srcdir/configure" --help=recursive
2407 else
2408 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2409 fi || ac_status=$?
2410 cd "$ac_pwd" || { ac_status=$?; break; }
2411 done
2414 test -n "$ac_init_help" && exit $ac_status
2415 if $ac_init_version; then
2416 cat <<\_ACEOF
2417 Wine configure 1.9.16
2418 generated by GNU Autoconf 2.69
2420 Copyright (C) 2012 Free Software Foundation, Inc.
2421 This configure script is free software; the Free Software Foundation
2422 gives unlimited permission to copy, distribute and modify it.
2423 _ACEOF
2424 exit
2427 ## ------------------------ ##
2428 ## Autoconf initialization. ##
2429 ## ------------------------ ##
2431 # ac_fn_c_try_compile LINENO
2432 # --------------------------
2433 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2434 ac_fn_c_try_compile ()
2436 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2437 rm -f conftest.$ac_objext
2438 if { { ac_try="$ac_compile"
2439 case "(($ac_try" in
2440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2441 *) ac_try_echo=$ac_try;;
2442 esac
2443 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2444 $as_echo "$ac_try_echo"; } >&5
2445 (eval "$ac_compile") 2>conftest.err
2446 ac_status=$?
2447 if test -s conftest.err; then
2448 grep -v '^ *+' conftest.err >conftest.er1
2449 cat conftest.er1 >&5
2450 mv -f conftest.er1 conftest.err
2452 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2453 test $ac_status = 0; } && {
2454 test -z "$ac_c_werror_flag" ||
2455 test ! -s conftest.err
2456 } && test -s conftest.$ac_objext; then :
2457 ac_retval=0
2458 else
2459 $as_echo "$as_me: failed program was:" >&5
2460 sed 's/^/| /' conftest.$ac_ext >&5
2462 ac_retval=1
2464 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2465 as_fn_set_status $ac_retval
2467 } # ac_fn_c_try_compile
2469 # ac_fn_cxx_try_compile LINENO
2470 # ----------------------------
2471 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2472 ac_fn_cxx_try_compile ()
2474 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2475 rm -f conftest.$ac_objext
2476 if { { ac_try="$ac_compile"
2477 case "(($ac_try" in
2478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2479 *) ac_try_echo=$ac_try;;
2480 esac
2481 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2482 $as_echo "$ac_try_echo"; } >&5
2483 (eval "$ac_compile") 2>conftest.err
2484 ac_status=$?
2485 if test -s conftest.err; then
2486 grep -v '^ *+' conftest.err >conftest.er1
2487 cat conftest.er1 >&5
2488 mv -f conftest.er1 conftest.err
2490 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2491 test $ac_status = 0; } && {
2492 test -z "$ac_cxx_werror_flag" ||
2493 test ! -s conftest.err
2494 } && test -s conftest.$ac_objext; then :
2495 ac_retval=0
2496 else
2497 $as_echo "$as_me: failed program was:" >&5
2498 sed 's/^/| /' conftest.$ac_ext >&5
2500 ac_retval=1
2502 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2503 as_fn_set_status $ac_retval
2505 } # ac_fn_cxx_try_compile
2507 # ac_fn_c_try_link LINENO
2508 # -----------------------
2509 # Try to link conftest.$ac_ext, and return whether this succeeded.
2510 ac_fn_c_try_link ()
2512 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2513 rm -f conftest.$ac_objext conftest$ac_exeext
2514 if { { ac_try="$ac_link"
2515 case "(($ac_try" in
2516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2517 *) ac_try_echo=$ac_try;;
2518 esac
2519 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2520 $as_echo "$ac_try_echo"; } >&5
2521 (eval "$ac_link") 2>conftest.err
2522 ac_status=$?
2523 if test -s conftest.err; then
2524 grep -v '^ *+' conftest.err >conftest.er1
2525 cat conftest.er1 >&5
2526 mv -f conftest.er1 conftest.err
2528 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2529 test $ac_status = 0; } && {
2530 test -z "$ac_c_werror_flag" ||
2531 test ! -s conftest.err
2532 } && test -s conftest$ac_exeext && {
2533 test "$cross_compiling" = yes ||
2534 test -x conftest$ac_exeext
2535 }; then :
2536 ac_retval=0
2537 else
2538 $as_echo "$as_me: failed program was:" >&5
2539 sed 's/^/| /' conftest.$ac_ext >&5
2541 ac_retval=1
2543 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2544 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2545 # interfere with the next link command; also delete a directory that is
2546 # left behind by Apple's compiler. We do this before executing the actions.
2547 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2548 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2549 as_fn_set_status $ac_retval
2551 } # ac_fn_c_try_link
2553 # ac_fn_c_try_cpp LINENO
2554 # ----------------------
2555 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2556 ac_fn_c_try_cpp ()
2558 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2559 if { { ac_try="$ac_cpp conftest.$ac_ext"
2560 case "(($ac_try" in
2561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2562 *) ac_try_echo=$ac_try;;
2563 esac
2564 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2565 $as_echo "$ac_try_echo"; } >&5
2566 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2567 ac_status=$?
2568 if test -s conftest.err; then
2569 grep -v '^ *+' conftest.err >conftest.er1
2570 cat conftest.er1 >&5
2571 mv -f conftest.er1 conftest.err
2573 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2574 test $ac_status = 0; } > conftest.i && {
2575 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2576 test ! -s conftest.err
2577 }; then :
2578 ac_retval=0
2579 else
2580 $as_echo "$as_me: failed program was:" >&5
2581 sed 's/^/| /' conftest.$ac_ext >&5
2583 ac_retval=1
2585 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2586 as_fn_set_status $ac_retval
2588 } # ac_fn_c_try_cpp
2590 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2591 # -------------------------------------------------------
2592 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2593 # the include files in INCLUDES and setting the cache variable VAR
2594 # accordingly.
2595 ac_fn_c_check_header_mongrel ()
2597 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2598 if eval \${$3+:} false; then :
2599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2600 $as_echo_n "checking for $2... " >&6; }
2601 if eval \${$3+:} false; then :
2602 $as_echo_n "(cached) " >&6
2604 eval ac_res=\$$3
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2606 $as_echo "$ac_res" >&6; }
2607 else
2608 # Is the header compilable?
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2610 $as_echo_n "checking $2 usability... " >&6; }
2611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2612 /* end confdefs.h. */
2614 #include <$2>
2615 _ACEOF
2616 if ac_fn_c_try_compile "$LINENO"; then :
2617 ac_header_compiler=yes
2618 else
2619 ac_header_compiler=no
2621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2623 $as_echo "$ac_header_compiler" >&6; }
2625 # Is the header present?
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2627 $as_echo_n "checking $2 presence... " >&6; }
2628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2629 /* end confdefs.h. */
2630 #include <$2>
2631 _ACEOF
2632 if ac_fn_c_try_cpp "$LINENO"; then :
2633 ac_header_preproc=yes
2634 else
2635 ac_header_preproc=no
2637 rm -f conftest.err conftest.i conftest.$ac_ext
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2639 $as_echo "$ac_header_preproc" >&6; }
2641 # So? What about this header?
2642 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2643 yes:no: )
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2645 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2647 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2649 no:yes:* )
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2651 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2653 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2655 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2657 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2659 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2660 ( $as_echo "## ------------------------------------ ##
2661 ## Report this to wine-devel@winehq.org ##
2662 ## ------------------------------------ ##"
2663 ) | sed "s/^/$as_me: WARNING: /" >&2
2665 esac
2666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2667 $as_echo_n "checking for $2... " >&6; }
2668 if eval \${$3+:} false; then :
2669 $as_echo_n "(cached) " >&6
2670 else
2671 eval "$3=\$ac_header_compiler"
2673 eval ac_res=\$$3
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2675 $as_echo "$ac_res" >&6; }
2677 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2679 } # ac_fn_c_check_header_mongrel
2681 # ac_fn_c_try_run LINENO
2682 # ----------------------
2683 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2684 # that executables *can* be run.
2685 ac_fn_c_try_run ()
2687 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2688 if { { ac_try="$ac_link"
2689 case "(($ac_try" in
2690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2691 *) ac_try_echo=$ac_try;;
2692 esac
2693 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2694 $as_echo "$ac_try_echo"; } >&5
2695 (eval "$ac_link") 2>&5
2696 ac_status=$?
2697 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2698 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2699 { { case "(($ac_try" in
2700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2701 *) ac_try_echo=$ac_try;;
2702 esac
2703 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2704 $as_echo "$ac_try_echo"; } >&5
2705 (eval "$ac_try") 2>&5
2706 ac_status=$?
2707 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2708 test $ac_status = 0; }; }; then :
2709 ac_retval=0
2710 else
2711 $as_echo "$as_me: program exited with status $ac_status" >&5
2712 $as_echo "$as_me: failed program was:" >&5
2713 sed 's/^/| /' conftest.$ac_ext >&5
2715 ac_retval=$ac_status
2717 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2718 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2719 as_fn_set_status $ac_retval
2721 } # ac_fn_c_try_run
2723 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2724 # -------------------------------------------------------
2725 # Tests whether HEADER exists and can be compiled using the include files in
2726 # INCLUDES, setting the cache variable VAR accordingly.
2727 ac_fn_c_check_header_compile ()
2729 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2731 $as_echo_n "checking for $2... " >&6; }
2732 if eval \${$3+:} false; then :
2733 $as_echo_n "(cached) " >&6
2734 else
2735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2736 /* end confdefs.h. */
2738 #include <$2>
2739 _ACEOF
2740 if ac_fn_c_try_compile "$LINENO"; then :
2741 eval "$3=yes"
2742 else
2743 eval "$3=no"
2745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2747 eval ac_res=\$$3
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2749 $as_echo "$ac_res" >&6; }
2750 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2752 } # ac_fn_c_check_header_compile
2754 # ac_fn_c_check_func LINENO FUNC VAR
2755 # ----------------------------------
2756 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2757 ac_fn_c_check_func ()
2759 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2761 $as_echo_n "checking for $2... " >&6; }
2762 if eval \${$3+:} false; then :
2763 $as_echo_n "(cached) " >&6
2764 else
2765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2766 /* end confdefs.h. */
2767 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2768 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2769 #define $2 innocuous_$2
2771 /* System header to define __stub macros and hopefully few prototypes,
2772 which can conflict with char $2 (); below.
2773 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2774 <limits.h> exists even on freestanding compilers. */
2776 #ifdef __STDC__
2777 # include <limits.h>
2778 #else
2779 # include <assert.h>
2780 #endif
2782 #undef $2
2784 /* Override any GCC internal prototype to avoid an error.
2785 Use char because int might match the return type of a GCC
2786 builtin and then its argument prototype would still apply. */
2787 #ifdef __cplusplus
2788 extern "C"
2789 #endif
2790 char $2 ();
2791 /* The GNU C library defines this for functions which it implements
2792 to always fail with ENOSYS. Some functions are actually named
2793 something starting with __ and the normal name is an alias. */
2794 #if defined __stub_$2 || defined __stub___$2
2795 choke me
2796 #endif
2799 main ()
2801 return $2 ();
2803 return 0;
2805 _ACEOF
2806 if ac_fn_c_try_link "$LINENO"; then :
2807 eval "$3=yes"
2808 else
2809 eval "$3=no"
2811 rm -f core conftest.err conftest.$ac_objext \
2812 conftest$ac_exeext conftest.$ac_ext
2814 eval ac_res=\$$3
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2816 $as_echo "$ac_res" >&6; }
2817 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2819 } # ac_fn_c_check_func
2821 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2822 # ----------------------------------------------------
2823 # Tries to find if the field MEMBER exists in type AGGR, after including
2824 # INCLUDES, setting cache variable VAR accordingly.
2825 ac_fn_c_check_member ()
2827 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2829 $as_echo_n "checking for $2.$3... " >&6; }
2830 if eval \${$4+:} false; then :
2831 $as_echo_n "(cached) " >&6
2832 else
2833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2834 /* end confdefs.h. */
2837 main ()
2839 static $2 ac_aggr;
2840 if (ac_aggr.$3)
2841 return 0;
2843 return 0;
2845 _ACEOF
2846 if ac_fn_c_try_compile "$LINENO"; then :
2847 eval "$4=yes"
2848 else
2849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2850 /* end confdefs.h. */
2853 main ()
2855 static $2 ac_aggr;
2856 if (sizeof ac_aggr.$3)
2857 return 0;
2859 return 0;
2861 _ACEOF
2862 if ac_fn_c_try_compile "$LINENO"; then :
2863 eval "$4=yes"
2864 else
2865 eval "$4=no"
2867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2871 eval ac_res=\$$4
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2873 $as_echo "$ac_res" >&6; }
2874 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2876 } # ac_fn_c_check_member
2878 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2879 # -------------------------------------------
2880 # Tests whether TYPE exists after having included INCLUDES, setting cache
2881 # variable VAR accordingly.
2882 ac_fn_c_check_type ()
2884 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2886 $as_echo_n "checking for $2... " >&6; }
2887 if eval \${$3+:} false; then :
2888 $as_echo_n "(cached) " >&6
2889 else
2890 eval "$3=no"
2891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2892 /* end confdefs.h. */
2895 main ()
2897 if (sizeof ($2))
2898 return 0;
2900 return 0;
2902 _ACEOF
2903 if ac_fn_c_try_compile "$LINENO"; then :
2904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2905 /* end confdefs.h. */
2908 main ()
2910 if (sizeof (($2)))
2911 return 0;
2913 return 0;
2915 _ACEOF
2916 if ac_fn_c_try_compile "$LINENO"; then :
2918 else
2919 eval "$3=yes"
2921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2925 eval ac_res=\$$3
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2927 $as_echo "$ac_res" >&6; }
2928 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2930 } # ac_fn_c_check_type
2931 cat >config.log <<_ACEOF
2932 This file contains any messages produced by compilers while
2933 running configure, to aid debugging if configure makes a mistake.
2935 It was created by Wine $as_me 1.9.16, which was
2936 generated by GNU Autoconf 2.69. Invocation command line was
2938 $ $0 $@
2940 _ACEOF
2941 exec 5>>config.log
2943 cat <<_ASUNAME
2944 ## --------- ##
2945 ## Platform. ##
2946 ## --------- ##
2948 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2949 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2950 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2951 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2952 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2954 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2955 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2957 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2958 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2959 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2960 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2961 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2962 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2963 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2965 _ASUNAME
2967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2968 for as_dir in $PATH
2970 IFS=$as_save_IFS
2971 test -z "$as_dir" && as_dir=.
2972 $as_echo "PATH: $as_dir"
2973 done
2974 IFS=$as_save_IFS
2976 } >&5
2978 cat >&5 <<_ACEOF
2981 ## ----------- ##
2982 ## Core tests. ##
2983 ## ----------- ##
2985 _ACEOF
2988 # Keep a trace of the command line.
2989 # Strip out --no-create and --no-recursion so they do not pile up.
2990 # Strip out --silent because we don't want to record it for future runs.
2991 # Also quote any args containing shell meta-characters.
2992 # Make two passes to allow for proper duplicate-argument suppression.
2993 ac_configure_args=
2994 ac_configure_args0=
2995 ac_configure_args1=
2996 ac_must_keep_next=false
2997 for ac_pass in 1 2
2999 for ac_arg
3001 case $ac_arg in
3002 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3003 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3004 | -silent | --silent | --silen | --sile | --sil)
3005 continue ;;
3006 *\'*)
3007 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3008 esac
3009 case $ac_pass in
3010 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3012 as_fn_append ac_configure_args1 " '$ac_arg'"
3013 if test $ac_must_keep_next = true; then
3014 ac_must_keep_next=false # Got value, back to normal.
3015 else
3016 case $ac_arg in
3017 *=* | --config-cache | -C | -disable-* | --disable-* \
3018 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3019 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3020 | -with-* | --with-* | -without-* | --without-* | --x)
3021 case "$ac_configure_args0 " in
3022 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3023 esac
3025 -* ) ac_must_keep_next=true ;;
3026 esac
3028 as_fn_append ac_configure_args " '$ac_arg'"
3030 esac
3031 done
3032 done
3033 { ac_configure_args0=; unset ac_configure_args0;}
3034 { ac_configure_args1=; unset ac_configure_args1;}
3036 # When interrupted or exit'd, cleanup temporary files, and complete
3037 # config.log. We remove comments because anyway the quotes in there
3038 # would cause problems or look ugly.
3039 # WARNING: Use '\'' to represent an apostrophe within the trap.
3040 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3041 trap 'exit_status=$?
3042 # Save into config.log some information that might help in debugging.
3044 echo
3046 $as_echo "## ---------------- ##
3047 ## Cache variables. ##
3048 ## ---------------- ##"
3049 echo
3050 # The following way of writing the cache mishandles newlines in values,
3052 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3053 eval ac_val=\$$ac_var
3054 case $ac_val in #(
3055 *${as_nl}*)
3056 case $ac_var in #(
3057 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3058 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3059 esac
3060 case $ac_var in #(
3061 _ | IFS | as_nl) ;; #(
3062 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3063 *) { eval $ac_var=; unset $ac_var;} ;;
3064 esac ;;
3065 esac
3066 done
3067 (set) 2>&1 |
3068 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3069 *${as_nl}ac_space=\ *)
3070 sed -n \
3071 "s/'\''/'\''\\\\'\'''\''/g;
3072 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3073 ;; #(
3075 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3077 esac |
3078 sort
3080 echo
3082 $as_echo "## ----------------- ##
3083 ## Output variables. ##
3084 ## ----------------- ##"
3085 echo
3086 for ac_var in $ac_subst_vars
3088 eval ac_val=\$$ac_var
3089 case $ac_val in
3090 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3091 esac
3092 $as_echo "$ac_var='\''$ac_val'\''"
3093 done | sort
3094 echo
3096 if test -n "$ac_subst_files"; then
3097 $as_echo "## ------------------- ##
3098 ## File substitutions. ##
3099 ## ------------------- ##"
3100 echo
3101 for ac_var in $ac_subst_files
3103 eval ac_val=\$$ac_var
3104 case $ac_val in
3105 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3106 esac
3107 $as_echo "$ac_var='\''$ac_val'\''"
3108 done | sort
3109 echo
3112 if test -s confdefs.h; then
3113 $as_echo "## ----------- ##
3114 ## confdefs.h. ##
3115 ## ----------- ##"
3116 echo
3117 cat confdefs.h
3118 echo
3120 test "$ac_signal" != 0 &&
3121 $as_echo "$as_me: caught signal $ac_signal"
3122 $as_echo "$as_me: exit $exit_status"
3123 } >&5
3124 rm -f core *.core core.conftest.* &&
3125 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3126 exit $exit_status
3128 for ac_signal in 1 2 13 15; do
3129 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3130 done
3131 ac_signal=0
3133 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3134 rm -f -r conftest* confdefs.h
3136 $as_echo "/* confdefs.h */" > confdefs.h
3138 # Predefined preprocessor variables.
3140 cat >>confdefs.h <<_ACEOF
3141 #define PACKAGE_NAME "$PACKAGE_NAME"
3142 _ACEOF
3144 cat >>confdefs.h <<_ACEOF
3145 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3146 _ACEOF
3148 cat >>confdefs.h <<_ACEOF
3149 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3150 _ACEOF
3152 cat >>confdefs.h <<_ACEOF
3153 #define PACKAGE_STRING "$PACKAGE_STRING"
3154 _ACEOF
3156 cat >>confdefs.h <<_ACEOF
3157 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3158 _ACEOF
3160 cat >>confdefs.h <<_ACEOF
3161 #define PACKAGE_URL "$PACKAGE_URL"
3162 _ACEOF
3165 # Let the site file select an alternate cache file if it wants to.
3166 # Prefer an explicitly selected file to automatically selected ones.
3167 ac_site_file1=NONE
3168 ac_site_file2=NONE
3169 if test -n "$CONFIG_SITE"; then
3170 # We do not want a PATH search for config.site.
3171 case $CONFIG_SITE in #((
3172 -*) ac_site_file1=./$CONFIG_SITE;;
3173 */*) ac_site_file1=$CONFIG_SITE;;
3174 *) ac_site_file1=./$CONFIG_SITE;;
3175 esac
3176 elif test "x$prefix" != xNONE; then
3177 ac_site_file1=$prefix/share/config.site
3178 ac_site_file2=$prefix/etc/config.site
3179 else
3180 ac_site_file1=$ac_default_prefix/share/config.site
3181 ac_site_file2=$ac_default_prefix/etc/config.site
3183 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3185 test "x$ac_site_file" = xNONE && continue
3186 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3188 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3189 sed 's/^/| /' "$ac_site_file" >&5
3190 . "$ac_site_file" \
3191 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3192 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3193 as_fn_error $? "failed to load site script $ac_site_file
3194 See \`config.log' for more details" "$LINENO" 5; }
3196 done
3198 if test -r "$cache_file"; then
3199 # Some versions of bash will fail to source /dev/null (special files
3200 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3201 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3203 $as_echo "$as_me: loading cache $cache_file" >&6;}
3204 case $cache_file in
3205 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3206 *) . "./$cache_file";;
3207 esac
3209 else
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3211 $as_echo "$as_me: creating cache $cache_file" >&6;}
3212 >$cache_file
3215 # Check that the precious variables saved in the cache have kept the same
3216 # value.
3217 ac_cache_corrupted=false
3218 for ac_var in $ac_precious_vars; do
3219 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3220 eval ac_new_set=\$ac_env_${ac_var}_set
3221 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3222 eval ac_new_val=\$ac_env_${ac_var}_value
3223 case $ac_old_set,$ac_new_set in
3224 set,)
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3226 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3227 ac_cache_corrupted=: ;;
3228 ,set)
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3230 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3231 ac_cache_corrupted=: ;;
3232 ,);;
3234 if test "x$ac_old_val" != "x$ac_new_val"; then
3235 # differences in whitespace do not lead to failure.
3236 ac_old_val_w=`echo x $ac_old_val`
3237 ac_new_val_w=`echo x $ac_new_val`
3238 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3240 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3241 ac_cache_corrupted=:
3242 else
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3244 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3245 eval $ac_var=\$ac_old_val
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3248 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3250 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3251 fi;;
3252 esac
3253 # Pass precious variables to config.status.
3254 if test "$ac_new_set" = set; then
3255 case $ac_new_val in
3256 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3257 *) ac_arg=$ac_var=$ac_new_val ;;
3258 esac
3259 case " $ac_configure_args " in
3260 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3261 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3262 esac
3264 done
3265 if $ac_cache_corrupted; then
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3267 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3268 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3269 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3270 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3272 ## -------------------- ##
3273 ## Main body of script. ##
3274 ## -------------------- ##
3276 ac_ext=c
3277 ac_cpp='$CPP $CPPFLAGS'
3278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3284 ac_config_headers="$ac_config_headers include/config.h"
3286 ac_aux_dir=
3287 for ac_dir in tools "$srcdir"/tools; do
3288 if test -f "$ac_dir/install-sh"; then
3289 ac_aux_dir=$ac_dir
3290 ac_install_sh="$ac_aux_dir/install-sh -c"
3291 break
3292 elif test -f "$ac_dir/install.sh"; then
3293 ac_aux_dir=$ac_dir
3294 ac_install_sh="$ac_aux_dir/install.sh -c"
3295 break
3296 elif test -f "$ac_dir/shtool"; then
3297 ac_aux_dir=$ac_dir
3298 ac_install_sh="$ac_aux_dir/shtool install -c"
3299 break
3301 done
3302 if test -z "$ac_aux_dir"; then
3303 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3306 # These three variables are undocumented and unsupported,
3307 # and are intended to be withdrawn in a future Autoconf release.
3308 # They can cause serious problems if a builder's source tree is in a directory
3309 # whose full name contains unusual characters.
3310 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3311 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3312 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3316 libwine_version="1.0"
3320 # Check whether --enable-win16 was given.
3321 if test "${enable_win16+set}" = set; then :
3322 enableval=$enable_win16;
3325 # Check whether --enable-win64 was given.
3326 if test "${enable_win64+set}" = set; then :
3327 enableval=$enable_win64;
3330 # Check whether --enable-tests was given.
3331 if test "${enable_tests+set}" = set; then :
3332 enableval=$enable_tests;
3335 # Check whether --enable-maintainer-mode was given.
3336 if test "${enable_maintainer_mode+set}" = set; then :
3337 enableval=$enable_maintainer_mode;
3342 # Check whether --with-alsa was given.
3343 if test "${with_alsa+set}" = set; then :
3344 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3348 # Check whether --with-capi was given.
3349 if test "${with_capi+set}" = set; then :
3350 withval=$with_capi;
3354 # Check whether --with-cms was given.
3355 if test "${with_cms+set}" = set; then :
3356 withval=$with_cms;
3360 # Check whether --with-coreaudio was given.
3361 if test "${with_coreaudio+set}" = set; then :
3362 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3366 # Check whether --with-cups was given.
3367 if test "${with_cups+set}" = set; then :
3368 withval=$with_cups;
3372 # Check whether --with-curses was given.
3373 if test "${with_curses+set}" = set; then :
3374 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3378 # Check whether --with-dbus was given.
3379 if test "${with_dbus+set}" = set; then :
3380 withval=$with_dbus;
3384 # Check whether --with-fontconfig was given.
3385 if test "${with_fontconfig+set}" = set; then :
3386 withval=$with_fontconfig;
3390 # Check whether --with-freetype was given.
3391 if test "${with_freetype+set}" = set; then :
3392 withval=$with_freetype;
3396 # Check whether --with-gettext was given.
3397 if test "${with_gettext+set}" = set; then :
3398 withval=$with_gettext;
3402 # Check whether --with-gettextpo was given.
3403 if test "${with_gettextpo+set}" = set; then :
3404 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3408 # Check whether --with-gphoto was given.
3409 if test "${with_gphoto+set}" = set; then :
3410 withval=$with_gphoto;
3414 # Check whether --with-glu was given.
3415 if test "${with_glu+set}" = set; then :
3416 withval=$with_glu;
3420 # Check whether --with-gnutls was given.
3421 if test "${with_gnutls+set}" = set; then :
3422 withval=$with_gnutls;
3426 # Check whether --with-gsm was given.
3427 if test "${with_gsm+set}" = set; then :
3428 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3432 # Check whether --with-gstreamer was given.
3433 if test "${with_gstreamer+set}" = set; then :
3434 withval=$with_gstreamer;
3438 # Check whether --with-hal was given.
3439 if test "${with_hal+set}" = set; then :
3440 withval=$with_hal;
3444 # Check whether --with-jpeg was given.
3445 if test "${with_jpeg+set}" = set; then :
3446 withval=$with_jpeg;
3450 # Check whether --with-ldap was given.
3451 if test "${with_ldap+set}" = set; then :
3452 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3456 # Check whether --with-mpg123 was given.
3457 if test "${with_mpg123+set}" = set; then :
3458 withval=$with_mpg123;
3462 # Check whether --with-netapi was given.
3463 if test "${with_netapi+set}" = set; then :
3464 withval=$with_netapi;
3468 # Check whether --with-openal was given.
3469 if test "${with_openal+set}" = set; then :
3470 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3474 # Check whether --with-opencl was given.
3475 if test "${with_opencl+set}" = set; then :
3476 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3480 # Check whether --with-opengl was given.
3481 if test "${with_opengl+set}" = set; then :
3482 withval=$with_opengl;
3486 # Check whether --with-osmesa was given.
3487 if test "${with_osmesa+set}" = set; then :
3488 withval=$with_osmesa;
3492 # Check whether --with-oss was given.
3493 if test "${with_oss+set}" = set; then :
3494 withval=$with_oss;
3498 # Check whether --with-pcap was given.
3499 if test "${with_pcap+set}" = set; then :
3500 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3504 # Check whether --with-png was given.
3505 if test "${with_png+set}" = set; then :
3506 withval=$with_png;
3510 # Check whether --with-pthread was given.
3511 if test "${with_pthread+set}" = set; then :
3512 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3516 # Check whether --with-pulse was given.
3517 if test "${with_pulse+set}" = set; then :
3518 withval=$with_pulse;
3522 # Check whether --with-sane was given.
3523 if test "${with_sane+set}" = set; then :
3524 withval=$with_sane;
3528 # Check whether --with-tiff was given.
3529 if test "${with_tiff+set}" = set; then :
3530 withval=$with_tiff;
3534 # Check whether --with-v4l was given.
3535 if test "${with_v4l+set}" = set; then :
3536 withval=$with_v4l;
3540 # Check whether --with-xcomposite was given.
3541 if test "${with_xcomposite+set}" = set; then :
3542 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3546 # Check whether --with-xcursor was given.
3547 if test "${with_xcursor+set}" = set; then :
3548 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3552 # Check whether --with-xinerama was given.
3553 if test "${with_xinerama+set}" = set; then :
3554 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3558 # Check whether --with-xinput was given.
3559 if test "${with_xinput+set}" = set; then :
3560 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3564 # Check whether --with-xinput2 was given.
3565 if test "${with_xinput2+set}" = set; then :
3566 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3570 # Check whether --with-xml was given.
3571 if test "${with_xml+set}" = set; then :
3572 withval=$with_xml;
3576 # Check whether --with-xrandr was given.
3577 if test "${with_xrandr+set}" = set; then :
3578 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3582 # Check whether --with-xrender was given.
3583 if test "${with_xrender+set}" = set; then :
3584 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3588 # Check whether --with-xshape was given.
3589 if test "${with_xshape+set}" = set; then :
3590 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3594 # Check whether --with-xshm was given.
3595 if test "${with_xshm+set}" = set; then :
3596 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3600 # Check whether --with-xslt was given.
3601 if test "${with_xslt+set}" = set; then :
3602 withval=$with_xslt;
3606 # Check whether --with-xxf86vm was given.
3607 if test "${with_xxf86vm+set}" = set; then :
3608 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
3612 # Check whether --with-zlib was given.
3613 if test "${with_zlib+set}" = set; then :
3614 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3619 # Check whether --with-wine-tools was given.
3620 if test "${with_wine_tools+set}" = set; then :
3621 withval=$with_wine_tools;
3625 # Check whether --with-wine64 was given.
3626 if test "${with_wine64+set}" = set; then :
3627 withval=$with_wine64;
3631 # Make sure we can run config.sub.
3632 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3633 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3636 $as_echo_n "checking build system type... " >&6; }
3637 if ${ac_cv_build+:} false; then :
3638 $as_echo_n "(cached) " >&6
3639 else
3640 ac_build_alias=$build_alias
3641 test "x$ac_build_alias" = x &&
3642 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3643 test "x$ac_build_alias" = x &&
3644 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3645 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3646 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3650 $as_echo "$ac_cv_build" >&6; }
3651 case $ac_cv_build in
3652 *-*-*) ;;
3653 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3654 esac
3655 build=$ac_cv_build
3656 ac_save_IFS=$IFS; IFS='-'
3657 set x $ac_cv_build
3658 shift
3659 build_cpu=$1
3660 build_vendor=$2
3661 shift; shift
3662 # Remember, the first character of IFS is used to create $*,
3663 # except with old shells:
3664 build_os=$*
3665 IFS=$ac_save_IFS
3666 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3670 $as_echo_n "checking host system type... " >&6; }
3671 if ${ac_cv_host+:} false; then :
3672 $as_echo_n "(cached) " >&6
3673 else
3674 if test "x$host_alias" = x; then
3675 ac_cv_host=$ac_cv_build
3676 else
3677 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3678 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3683 $as_echo "$ac_cv_host" >&6; }
3684 case $ac_cv_host in
3685 *-*-*) ;;
3686 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3687 esac
3688 host=$ac_cv_host
3689 ac_save_IFS=$IFS; IFS='-'
3690 set x $ac_cv_host
3691 shift
3692 host_cpu=$1
3693 host_vendor=$2
3694 shift; shift
3695 # Remember, the first character of IFS is used to create $*,
3696 # except with old shells:
3697 host_os=$*
3698 IFS=$ac_save_IFS
3699 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3703 case "$srcdir" in
3704 .) ;;
3705 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3706 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3707 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3708 fi ;;
3709 esac
3712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3713 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3714 set x ${MAKE-make}
3715 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3716 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3717 $as_echo_n "(cached) " >&6
3718 else
3719 cat >conftest.make <<\_ACEOF
3720 SHELL = /bin/sh
3721 all:
3722 @echo '@@@%%%=$(MAKE)=@@@%%%'
3723 _ACEOF
3724 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3725 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3726 *@@@%%%=?*=@@@%%%*)
3727 eval ac_cv_prog_make_${ac_make}_set=yes;;
3729 eval ac_cv_prog_make_${ac_make}_set=no;;
3730 esac
3731 rm -f conftest.make
3733 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3735 $as_echo "yes" >&6; }
3736 SET_MAKE=
3737 else
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3739 $as_echo "no" >&6; }
3740 SET_MAKE="MAKE=${MAKE-make}"
3743 ac_ext=c
3744 ac_cpp='$CPP $CPPFLAGS'
3745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3748 if test -n "$ac_tool_prefix"; then
3749 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3750 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3752 $as_echo_n "checking for $ac_word... " >&6; }
3753 if ${ac_cv_prog_CC+:} false; then :
3754 $as_echo_n "(cached) " >&6
3755 else
3756 if test -n "$CC"; then
3757 ac_cv_prog_CC="$CC" # Let the user override the test.
3758 else
3759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3760 for as_dir in $PATH
3762 IFS=$as_save_IFS
3763 test -z "$as_dir" && as_dir=.
3764 for ac_exec_ext in '' $ac_executable_extensions; do
3765 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3766 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3768 break 2
3770 done
3771 done
3772 IFS=$as_save_IFS
3776 CC=$ac_cv_prog_CC
3777 if test -n "$CC"; then
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3779 $as_echo "$CC" >&6; }
3780 else
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3782 $as_echo "no" >&6; }
3787 if test -z "$ac_cv_prog_CC"; then
3788 ac_ct_CC=$CC
3789 # Extract the first word of "gcc", so it can be a program name with args.
3790 set dummy gcc; ac_word=$2
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3792 $as_echo_n "checking for $ac_word... " >&6; }
3793 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3794 $as_echo_n "(cached) " >&6
3795 else
3796 if test -n "$ac_ct_CC"; then
3797 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3798 else
3799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3800 for as_dir in $PATH
3802 IFS=$as_save_IFS
3803 test -z "$as_dir" && as_dir=.
3804 for ac_exec_ext in '' $ac_executable_extensions; do
3805 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3806 ac_cv_prog_ac_ct_CC="gcc"
3807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3808 break 2
3810 done
3811 done
3812 IFS=$as_save_IFS
3816 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3817 if test -n "$ac_ct_CC"; then
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3819 $as_echo "$ac_ct_CC" >&6; }
3820 else
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3822 $as_echo "no" >&6; }
3825 if test "x$ac_ct_CC" = x; then
3826 CC=""
3827 else
3828 case $cross_compiling:$ac_tool_warned in
3829 yes:)
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3831 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3832 ac_tool_warned=yes ;;
3833 esac
3834 CC=$ac_ct_CC
3836 else
3837 CC="$ac_cv_prog_CC"
3840 if test -z "$CC"; then
3841 if test -n "$ac_tool_prefix"; then
3842 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3843 set dummy ${ac_tool_prefix}cc; ac_word=$2
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3845 $as_echo_n "checking for $ac_word... " >&6; }
3846 if ${ac_cv_prog_CC+:} false; then :
3847 $as_echo_n "(cached) " >&6
3848 else
3849 if test -n "$CC"; then
3850 ac_cv_prog_CC="$CC" # Let the user override the test.
3851 else
3852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3853 for as_dir in $PATH
3855 IFS=$as_save_IFS
3856 test -z "$as_dir" && as_dir=.
3857 for ac_exec_ext in '' $ac_executable_extensions; do
3858 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3859 ac_cv_prog_CC="${ac_tool_prefix}cc"
3860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3861 break 2
3863 done
3864 done
3865 IFS=$as_save_IFS
3869 CC=$ac_cv_prog_CC
3870 if test -n "$CC"; then
3871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3872 $as_echo "$CC" >&6; }
3873 else
3874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3875 $as_echo "no" >&6; }
3881 if test -z "$CC"; then
3882 # Extract the first word of "cc", so it can be a program name with args.
3883 set dummy cc; ac_word=$2
3884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3885 $as_echo_n "checking for $ac_word... " >&6; }
3886 if ${ac_cv_prog_CC+:} false; then :
3887 $as_echo_n "(cached) " >&6
3888 else
3889 if test -n "$CC"; then
3890 ac_cv_prog_CC="$CC" # Let the user override the test.
3891 else
3892 ac_prog_rejected=no
3893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3894 for as_dir in $PATH
3896 IFS=$as_save_IFS
3897 test -z "$as_dir" && as_dir=.
3898 for ac_exec_ext in '' $ac_executable_extensions; do
3899 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3900 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3901 ac_prog_rejected=yes
3902 continue
3904 ac_cv_prog_CC="cc"
3905 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3906 break 2
3908 done
3909 done
3910 IFS=$as_save_IFS
3912 if test $ac_prog_rejected = yes; then
3913 # We found a bogon in the path, so make sure we never use it.
3914 set dummy $ac_cv_prog_CC
3915 shift
3916 if test $# != 0; then
3917 # We chose a different compiler from the bogus one.
3918 # However, it has the same basename, so the bogon will be chosen
3919 # first if we set CC to just the basename; use the full file name.
3920 shift
3921 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3926 CC=$ac_cv_prog_CC
3927 if test -n "$CC"; then
3928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3929 $as_echo "$CC" >&6; }
3930 else
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3932 $as_echo "no" >&6; }
3937 if test -z "$CC"; then
3938 if test -n "$ac_tool_prefix"; then
3939 for ac_prog in cl.exe
3941 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3942 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3944 $as_echo_n "checking for $ac_word... " >&6; }
3945 if ${ac_cv_prog_CC+:} false; then :
3946 $as_echo_n "(cached) " >&6
3947 else
3948 if test -n "$CC"; then
3949 ac_cv_prog_CC="$CC" # Let the user override the test.
3950 else
3951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3952 for as_dir in $PATH
3954 IFS=$as_save_IFS
3955 test -z "$as_dir" && as_dir=.
3956 for ac_exec_ext in '' $ac_executable_extensions; do
3957 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3958 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3960 break 2
3962 done
3963 done
3964 IFS=$as_save_IFS
3968 CC=$ac_cv_prog_CC
3969 if test -n "$CC"; then
3970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3971 $as_echo "$CC" >&6; }
3972 else
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3974 $as_echo "no" >&6; }
3978 test -n "$CC" && break
3979 done
3981 if test -z "$CC"; then
3982 ac_ct_CC=$CC
3983 for ac_prog in cl.exe
3985 # Extract the first word of "$ac_prog", so it can be a program name with args.
3986 set dummy $ac_prog; ac_word=$2
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3988 $as_echo_n "checking for $ac_word... " >&6; }
3989 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3990 $as_echo_n "(cached) " >&6
3991 else
3992 if test -n "$ac_ct_CC"; then
3993 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3994 else
3995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3996 for as_dir in $PATH
3998 IFS=$as_save_IFS
3999 test -z "$as_dir" && as_dir=.
4000 for ac_exec_ext in '' $ac_executable_extensions; do
4001 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4002 ac_cv_prog_ac_ct_CC="$ac_prog"
4003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4004 break 2
4006 done
4007 done
4008 IFS=$as_save_IFS
4012 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4013 if test -n "$ac_ct_CC"; then
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4015 $as_echo "$ac_ct_CC" >&6; }
4016 else
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4018 $as_echo "no" >&6; }
4022 test -n "$ac_ct_CC" && break
4023 done
4025 if test "x$ac_ct_CC" = x; then
4026 CC=""
4027 else
4028 case $cross_compiling:$ac_tool_warned in
4029 yes:)
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4031 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4032 ac_tool_warned=yes ;;
4033 esac
4034 CC=$ac_ct_CC
4041 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4042 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4043 as_fn_error $? "no acceptable C compiler found in \$PATH
4044 See \`config.log' for more details" "$LINENO" 5; }
4046 # Provide some information about the compiler.
4047 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4048 set X $ac_compile
4049 ac_compiler=$2
4050 for ac_option in --version -v -V -qversion; do
4051 { { ac_try="$ac_compiler $ac_option >&5"
4052 case "(($ac_try" in
4053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4054 *) ac_try_echo=$ac_try;;
4055 esac
4056 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4057 $as_echo "$ac_try_echo"; } >&5
4058 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4059 ac_status=$?
4060 if test -s conftest.err; then
4061 sed '10a\
4062 ... rest of stderr output deleted ...
4063 10q' conftest.err >conftest.er1
4064 cat conftest.er1 >&5
4066 rm -f conftest.er1 conftest.err
4067 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4068 test $ac_status = 0; }
4069 done
4071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4072 /* end confdefs.h. */
4075 main ()
4079 return 0;
4081 _ACEOF
4082 ac_clean_files_save=$ac_clean_files
4083 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4084 # Try to create an executable without -o first, disregard a.out.
4085 # It will help us diagnose broken compilers, and finding out an intuition
4086 # of exeext.
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4088 $as_echo_n "checking whether the C compiler works... " >&6; }
4089 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4091 # The possible output files:
4092 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4094 ac_rmfiles=
4095 for ac_file in $ac_files
4097 case $ac_file in
4098 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4099 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4100 esac
4101 done
4102 rm -f $ac_rmfiles
4104 if { { ac_try="$ac_link_default"
4105 case "(($ac_try" in
4106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4107 *) ac_try_echo=$ac_try;;
4108 esac
4109 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4110 $as_echo "$ac_try_echo"; } >&5
4111 (eval "$ac_link_default") 2>&5
4112 ac_status=$?
4113 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4114 test $ac_status = 0; }; then :
4115 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4116 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4117 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4118 # so that the user can short-circuit this test for compilers unknown to
4119 # Autoconf.
4120 for ac_file in $ac_files ''
4122 test -f "$ac_file" || continue
4123 case $ac_file in
4124 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4126 [ab].out )
4127 # We found the default executable, but exeext='' is most
4128 # certainly right.
4129 break;;
4130 *.* )
4131 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4132 then :; else
4133 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4135 # We set ac_cv_exeext here because the later test for it is not
4136 # safe: cross compilers may not add the suffix if given an `-o'
4137 # argument, so we may need to know it at that point already.
4138 # Even if this section looks crufty: it has the advantage of
4139 # actually working.
4140 break;;
4142 break;;
4143 esac
4144 done
4145 test "$ac_cv_exeext" = no && ac_cv_exeext=
4147 else
4148 ac_file=''
4150 if test -z "$ac_file"; then :
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4152 $as_echo "no" >&6; }
4153 $as_echo "$as_me: failed program was:" >&5
4154 sed 's/^/| /' conftest.$ac_ext >&5
4156 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4157 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4158 as_fn_error 77 "C compiler cannot create executables
4159 See \`config.log' for more details" "$LINENO" 5; }
4160 else
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4162 $as_echo "yes" >&6; }
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4165 $as_echo_n "checking for C compiler default output file name... " >&6; }
4166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4167 $as_echo "$ac_file" >&6; }
4168 ac_exeext=$ac_cv_exeext
4170 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4171 ac_clean_files=$ac_clean_files_save
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4173 $as_echo_n "checking for suffix of executables... " >&6; }
4174 if { { ac_try="$ac_link"
4175 case "(($ac_try" in
4176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4177 *) ac_try_echo=$ac_try;;
4178 esac
4179 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4180 $as_echo "$ac_try_echo"; } >&5
4181 (eval "$ac_link") 2>&5
4182 ac_status=$?
4183 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4184 test $ac_status = 0; }; then :
4185 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4186 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4187 # work properly (i.e., refer to `conftest.exe'), while it won't with
4188 # `rm'.
4189 for ac_file in conftest.exe conftest conftest.*; do
4190 test -f "$ac_file" || continue
4191 case $ac_file in
4192 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4193 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4194 break;;
4195 * ) break;;
4196 esac
4197 done
4198 else
4199 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4200 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4201 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4202 See \`config.log' for more details" "$LINENO" 5; }
4204 rm -f conftest conftest$ac_cv_exeext
4205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4206 $as_echo "$ac_cv_exeext" >&6; }
4208 rm -f conftest.$ac_ext
4209 EXEEXT=$ac_cv_exeext
4210 ac_exeext=$EXEEXT
4211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4212 /* end confdefs.h. */
4213 #include <stdio.h>
4215 main ()
4217 FILE *f = fopen ("conftest.out", "w");
4218 return ferror (f) || fclose (f) != 0;
4221 return 0;
4223 _ACEOF
4224 ac_clean_files="$ac_clean_files conftest.out"
4225 # Check that the compiler produces executables we can run. If not, either
4226 # the compiler is broken, or we cross compile.
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4228 $as_echo_n "checking whether we are cross compiling... " >&6; }
4229 if test "$cross_compiling" != yes; then
4230 { { ac_try="$ac_link"
4231 case "(($ac_try" in
4232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4233 *) ac_try_echo=$ac_try;;
4234 esac
4235 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4236 $as_echo "$ac_try_echo"; } >&5
4237 (eval "$ac_link") 2>&5
4238 ac_status=$?
4239 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4240 test $ac_status = 0; }
4241 if { ac_try='./conftest$ac_cv_exeext'
4242 { { case "(($ac_try" in
4243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4244 *) ac_try_echo=$ac_try;;
4245 esac
4246 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4247 $as_echo "$ac_try_echo"; } >&5
4248 (eval "$ac_try") 2>&5
4249 ac_status=$?
4250 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4251 test $ac_status = 0; }; }; then
4252 cross_compiling=no
4253 else
4254 if test "$cross_compiling" = maybe; then
4255 cross_compiling=yes
4256 else
4257 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4258 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4259 as_fn_error $? "cannot run C compiled programs.
4260 If you meant to cross compile, use \`--host'.
4261 See \`config.log' for more details" "$LINENO" 5; }
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4266 $as_echo "$cross_compiling" >&6; }
4268 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4269 ac_clean_files=$ac_clean_files_save
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4271 $as_echo_n "checking for suffix of object files... " >&6; }
4272 if ${ac_cv_objext+:} false; then :
4273 $as_echo_n "(cached) " >&6
4274 else
4275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4276 /* end confdefs.h. */
4279 main ()
4283 return 0;
4285 _ACEOF
4286 rm -f conftest.o conftest.obj
4287 if { { ac_try="$ac_compile"
4288 case "(($ac_try" in
4289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4290 *) ac_try_echo=$ac_try;;
4291 esac
4292 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4293 $as_echo "$ac_try_echo"; } >&5
4294 (eval "$ac_compile") 2>&5
4295 ac_status=$?
4296 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4297 test $ac_status = 0; }; then :
4298 for ac_file in conftest.o conftest.obj conftest.*; do
4299 test -f "$ac_file" || continue;
4300 case $ac_file in
4301 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4302 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4303 break;;
4304 esac
4305 done
4306 else
4307 $as_echo "$as_me: failed program was:" >&5
4308 sed 's/^/| /' conftest.$ac_ext >&5
4310 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4311 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4312 as_fn_error $? "cannot compute suffix of object files: cannot compile
4313 See \`config.log' for more details" "$LINENO" 5; }
4315 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4318 $as_echo "$ac_cv_objext" >&6; }
4319 OBJEXT=$ac_cv_objext
4320 ac_objext=$OBJEXT
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4322 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4323 if ${ac_cv_c_compiler_gnu+:} false; then :
4324 $as_echo_n "(cached) " >&6
4325 else
4326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4327 /* end confdefs.h. */
4330 main ()
4332 #ifndef __GNUC__
4333 choke me
4334 #endif
4337 return 0;
4339 _ACEOF
4340 if ac_fn_c_try_compile "$LINENO"; then :
4341 ac_compiler_gnu=yes
4342 else
4343 ac_compiler_gnu=no
4345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4346 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4350 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4351 if test $ac_compiler_gnu = yes; then
4352 GCC=yes
4353 else
4354 GCC=
4356 ac_test_CFLAGS=${CFLAGS+set}
4357 ac_save_CFLAGS=$CFLAGS
4358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4359 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4360 if ${ac_cv_prog_cc_g+:} false; then :
4361 $as_echo_n "(cached) " >&6
4362 else
4363 ac_save_c_werror_flag=$ac_c_werror_flag
4364 ac_c_werror_flag=yes
4365 ac_cv_prog_cc_g=no
4366 CFLAGS="-g"
4367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4368 /* end confdefs.h. */
4371 main ()
4375 return 0;
4377 _ACEOF
4378 if ac_fn_c_try_compile "$LINENO"; then :
4379 ac_cv_prog_cc_g=yes
4380 else
4381 CFLAGS=""
4382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4383 /* end confdefs.h. */
4386 main ()
4390 return 0;
4392 _ACEOF
4393 if ac_fn_c_try_compile "$LINENO"; then :
4395 else
4396 ac_c_werror_flag=$ac_save_c_werror_flag
4397 CFLAGS="-g"
4398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4399 /* end confdefs.h. */
4402 main ()
4406 return 0;
4408 _ACEOF
4409 if ac_fn_c_try_compile "$LINENO"; then :
4410 ac_cv_prog_cc_g=yes
4412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4417 ac_c_werror_flag=$ac_save_c_werror_flag
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4420 $as_echo "$ac_cv_prog_cc_g" >&6; }
4421 if test "$ac_test_CFLAGS" = set; then
4422 CFLAGS=$ac_save_CFLAGS
4423 elif test $ac_cv_prog_cc_g = yes; then
4424 if test "$GCC" = yes; then
4425 CFLAGS="-g -O2"
4426 else
4427 CFLAGS="-g"
4429 else
4430 if test "$GCC" = yes; then
4431 CFLAGS="-O2"
4432 else
4433 CFLAGS=
4436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4437 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4438 if ${ac_cv_prog_cc_c89+:} false; then :
4439 $as_echo_n "(cached) " >&6
4440 else
4441 ac_cv_prog_cc_c89=no
4442 ac_save_CC=$CC
4443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4444 /* end confdefs.h. */
4445 #include <stdarg.h>
4446 #include <stdio.h>
4447 struct stat;
4448 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4449 struct buf { int x; };
4450 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4451 static char *e (p, i)
4452 char **p;
4453 int i;
4455 return p[i];
4457 static char *f (char * (*g) (char **, int), char **p, ...)
4459 char *s;
4460 va_list v;
4461 va_start (v,p);
4462 s = g (p, va_arg (v,int));
4463 va_end (v);
4464 return s;
4467 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4468 function prototypes and stuff, but not '\xHH' hex character constants.
4469 These don't provoke an error unfortunately, instead are silently treated
4470 as 'x'. The following induces an error, until -std is added to get
4471 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4472 array size at least. It's necessary to write '\x00'==0 to get something
4473 that's true only with -std. */
4474 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4476 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4477 inside strings and character constants. */
4478 #define FOO(x) 'x'
4479 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4481 int test (int i, double x);
4482 struct s1 {int (*f) (int a);};
4483 struct s2 {int (*f) (double a);};
4484 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4485 int argc;
4486 char **argv;
4488 main ()
4490 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4492 return 0;
4494 _ACEOF
4495 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4496 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4498 CC="$ac_save_CC $ac_arg"
4499 if ac_fn_c_try_compile "$LINENO"; then :
4500 ac_cv_prog_cc_c89=$ac_arg
4502 rm -f core conftest.err conftest.$ac_objext
4503 test "x$ac_cv_prog_cc_c89" != "xno" && break
4504 done
4505 rm -f conftest.$ac_ext
4506 CC=$ac_save_CC
4509 # AC_CACHE_VAL
4510 case "x$ac_cv_prog_cc_c89" in
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4513 $as_echo "none needed" >&6; } ;;
4514 xno)
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4516 $as_echo "unsupported" >&6; } ;;
4518 CC="$CC $ac_cv_prog_cc_c89"
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4520 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4521 esac
4522 if test "x$ac_cv_prog_cc_c89" != xno; then :
4526 ac_ext=c
4527 ac_cpp='$CPP $CPPFLAGS'
4528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4532 ac_ext=cpp
4533 ac_cpp='$CXXCPP $CPPFLAGS'
4534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4537 if test -z "$CXX"; then
4538 if test -n "$CCC"; then
4539 CXX=$CCC
4540 else
4541 if test -n "$ac_tool_prefix"; then
4542 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4544 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4545 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4547 $as_echo_n "checking for $ac_word... " >&6; }
4548 if ${ac_cv_prog_CXX+:} false; then :
4549 $as_echo_n "(cached) " >&6
4550 else
4551 if test -n "$CXX"; then
4552 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4553 else
4554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4555 for as_dir in $PATH
4557 IFS=$as_save_IFS
4558 test -z "$as_dir" && as_dir=.
4559 for ac_exec_ext in '' $ac_executable_extensions; do
4560 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4561 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4563 break 2
4565 done
4566 done
4567 IFS=$as_save_IFS
4571 CXX=$ac_cv_prog_CXX
4572 if test -n "$CXX"; then
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4574 $as_echo "$CXX" >&6; }
4575 else
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4577 $as_echo "no" >&6; }
4581 test -n "$CXX" && break
4582 done
4584 if test -z "$CXX"; then
4585 ac_ct_CXX=$CXX
4586 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4588 # Extract the first word of "$ac_prog", so it can be a program name with args.
4589 set dummy $ac_prog; ac_word=$2
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4591 $as_echo_n "checking for $ac_word... " >&6; }
4592 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4593 $as_echo_n "(cached) " >&6
4594 else
4595 if test -n "$ac_ct_CXX"; then
4596 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4597 else
4598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4599 for as_dir in $PATH
4601 IFS=$as_save_IFS
4602 test -z "$as_dir" && as_dir=.
4603 for ac_exec_ext in '' $ac_executable_extensions; do
4604 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4605 ac_cv_prog_ac_ct_CXX="$ac_prog"
4606 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4607 break 2
4609 done
4610 done
4611 IFS=$as_save_IFS
4615 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4616 if test -n "$ac_ct_CXX"; then
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4618 $as_echo "$ac_ct_CXX" >&6; }
4619 else
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4621 $as_echo "no" >&6; }
4625 test -n "$ac_ct_CXX" && break
4626 done
4628 if test "x$ac_ct_CXX" = x; then
4629 CXX="g++"
4630 else
4631 case $cross_compiling:$ac_tool_warned in
4632 yes:)
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4634 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4635 ac_tool_warned=yes ;;
4636 esac
4637 CXX=$ac_ct_CXX
4643 # Provide some information about the compiler.
4644 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4645 set X $ac_compile
4646 ac_compiler=$2
4647 for ac_option in --version -v -V -qversion; do
4648 { { ac_try="$ac_compiler $ac_option >&5"
4649 case "(($ac_try" in
4650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4651 *) ac_try_echo=$ac_try;;
4652 esac
4653 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4654 $as_echo "$ac_try_echo"; } >&5
4655 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4656 ac_status=$?
4657 if test -s conftest.err; then
4658 sed '10a\
4659 ... rest of stderr output deleted ...
4660 10q' conftest.err >conftest.er1
4661 cat conftest.er1 >&5
4663 rm -f conftest.er1 conftest.err
4664 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4665 test $ac_status = 0; }
4666 done
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4669 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4670 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4671 $as_echo_n "(cached) " >&6
4672 else
4673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4674 /* end confdefs.h. */
4677 main ()
4679 #ifndef __GNUC__
4680 choke me
4681 #endif
4684 return 0;
4686 _ACEOF
4687 if ac_fn_cxx_try_compile "$LINENO"; then :
4688 ac_compiler_gnu=yes
4689 else
4690 ac_compiler_gnu=no
4692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4693 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4697 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4698 if test $ac_compiler_gnu = yes; then
4699 GXX=yes
4700 else
4701 GXX=
4703 ac_test_CXXFLAGS=${CXXFLAGS+set}
4704 ac_save_CXXFLAGS=$CXXFLAGS
4705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4706 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4707 if ${ac_cv_prog_cxx_g+:} false; then :
4708 $as_echo_n "(cached) " >&6
4709 else
4710 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4711 ac_cxx_werror_flag=yes
4712 ac_cv_prog_cxx_g=no
4713 CXXFLAGS="-g"
4714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4715 /* end confdefs.h. */
4718 main ()
4722 return 0;
4724 _ACEOF
4725 if ac_fn_cxx_try_compile "$LINENO"; then :
4726 ac_cv_prog_cxx_g=yes
4727 else
4728 CXXFLAGS=""
4729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4730 /* end confdefs.h. */
4733 main ()
4737 return 0;
4739 _ACEOF
4740 if ac_fn_cxx_try_compile "$LINENO"; then :
4742 else
4743 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4744 CXXFLAGS="-g"
4745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4746 /* end confdefs.h. */
4749 main ()
4753 return 0;
4755 _ACEOF
4756 if ac_fn_cxx_try_compile "$LINENO"; then :
4757 ac_cv_prog_cxx_g=yes
4759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4764 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4767 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4768 if test "$ac_test_CXXFLAGS" = set; then
4769 CXXFLAGS=$ac_save_CXXFLAGS
4770 elif test $ac_cv_prog_cxx_g = yes; then
4771 if test "$GXX" = yes; then
4772 CXXFLAGS="-g -O2"
4773 else
4774 CXXFLAGS="-g"
4776 else
4777 if test "$GXX" = yes; then
4778 CXXFLAGS="-O2"
4779 else
4780 CXXFLAGS=
4783 ac_ext=c
4784 ac_cpp='$CPP $CPPFLAGS'
4785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4789 if test -n "$ac_tool_prefix"; then
4790 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4791 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4793 $as_echo_n "checking for $ac_word... " >&6; }
4794 if ${ac_cv_prog_CPPBIN+:} false; then :
4795 $as_echo_n "(cached) " >&6
4796 else
4797 if test -n "$CPPBIN"; then
4798 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4799 else
4800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4801 for as_dir in $PATH
4803 IFS=$as_save_IFS
4804 test -z "$as_dir" && as_dir=.
4805 for ac_exec_ext in '' $ac_executable_extensions; do
4806 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4807 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4808 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4809 break 2
4811 done
4812 done
4813 IFS=$as_save_IFS
4817 CPPBIN=$ac_cv_prog_CPPBIN
4818 if test -n "$CPPBIN"; then
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4820 $as_echo "$CPPBIN" >&6; }
4821 else
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4823 $as_echo "no" >&6; }
4828 if test -z "$ac_cv_prog_CPPBIN"; then
4829 ac_ct_CPPBIN=$CPPBIN
4830 # Extract the first word of "cpp", so it can be a program name with args.
4831 set dummy cpp; ac_word=$2
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4833 $as_echo_n "checking for $ac_word... " >&6; }
4834 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4835 $as_echo_n "(cached) " >&6
4836 else
4837 if test -n "$ac_ct_CPPBIN"; then
4838 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4839 else
4840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4841 for as_dir in $PATH
4843 IFS=$as_save_IFS
4844 test -z "$as_dir" && as_dir=.
4845 for ac_exec_ext in '' $ac_executable_extensions; do
4846 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4847 ac_cv_prog_ac_ct_CPPBIN="cpp"
4848 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4849 break 2
4851 done
4852 done
4853 IFS=$as_save_IFS
4857 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4858 if test -n "$ac_ct_CPPBIN"; then
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4860 $as_echo "$ac_ct_CPPBIN" >&6; }
4861 else
4862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4863 $as_echo "no" >&6; }
4866 if test "x$ac_ct_CPPBIN" = x; then
4867 CPPBIN="cpp"
4868 else
4869 case $cross_compiling:$ac_tool_warned in
4870 yes:)
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4872 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4873 ac_tool_warned=yes ;;
4874 esac
4875 CPPBIN=$ac_ct_CPPBIN
4877 else
4878 CPPBIN="$ac_cv_prog_CPPBIN"
4882 cat >>confdefs.h <<_ACEOF
4883 #define EXEEXT "$ac_exeext"
4884 _ACEOF
4886 if test -n "$ac_tool_prefix"; then
4887 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4888 set dummy ${ac_tool_prefix}ld; ac_word=$2
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4890 $as_echo_n "checking for $ac_word... " >&6; }
4891 if ${ac_cv_prog_LD+:} false; then :
4892 $as_echo_n "(cached) " >&6
4893 else
4894 if test -n "$LD"; then
4895 ac_cv_prog_LD="$LD" # Let the user override the test.
4896 else
4897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4898 for as_dir in $PATH
4900 IFS=$as_save_IFS
4901 test -z "$as_dir" && as_dir=.
4902 for ac_exec_ext in '' $ac_executable_extensions; do
4903 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4904 ac_cv_prog_LD="${ac_tool_prefix}ld"
4905 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4906 break 2
4908 done
4909 done
4910 IFS=$as_save_IFS
4914 LD=$ac_cv_prog_LD
4915 if test -n "$LD"; then
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4917 $as_echo "$LD" >&6; }
4918 else
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4920 $as_echo "no" >&6; }
4925 if test -z "$ac_cv_prog_LD"; then
4926 ac_ct_LD=$LD
4927 # Extract the first word of "ld", so it can be a program name with args.
4928 set dummy ld; ac_word=$2
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4930 $as_echo_n "checking for $ac_word... " >&6; }
4931 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4932 $as_echo_n "(cached) " >&6
4933 else
4934 if test -n "$ac_ct_LD"; then
4935 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4936 else
4937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4938 for as_dir in $PATH
4940 IFS=$as_save_IFS
4941 test -z "$as_dir" && as_dir=.
4942 for ac_exec_ext in '' $ac_executable_extensions; do
4943 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4944 ac_cv_prog_ac_ct_LD="ld"
4945 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4946 break 2
4948 done
4949 done
4950 IFS=$as_save_IFS
4954 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4955 if test -n "$ac_ct_LD"; then
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4957 $as_echo "$ac_ct_LD" >&6; }
4958 else
4959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4960 $as_echo "no" >&6; }
4963 if test "x$ac_ct_LD" = x; then
4964 LD=""
4965 else
4966 case $cross_compiling:$ac_tool_warned in
4967 yes:)
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4969 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4970 ac_tool_warned=yes ;;
4971 esac
4972 LD=$ac_ct_LD
4974 else
4975 LD="$ac_cv_prog_LD"
4979 case $host in
4980 *-darwin*)
4981 with_fontconfig=${with_fontconfig:-no}
4983 *-mingw32*|*-cygwin*)
4984 enable_win16=${enable_win16:-no}
4985 CFLAGS="$CFLAGS -D_WIN32"
4987 esac
4989 case $host in
4990 x86_64*|amd64*)
4991 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4992 then
4993 CC="$CC -m32"
4994 CXX="$CXX -m32"
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4996 $as_echo_n "checking whether $CC works... " >&6; }
4998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4999 /* end confdefs.h. */
5002 main ()
5006 return 0;
5008 _ACEOF
5009 if ac_fn_c_try_link "$LINENO"; then :
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5011 $as_echo "yes" >&6; }
5012 else
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5014 $as_echo "no" >&6; }
5015 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5017 rm -f core conftest.err conftest.$ac_objext \
5018 conftest$ac_exeext conftest.$ac_ext
5019 host_cpu="i386"
5020 notice_platform="32-bit "
5021 TARGETFLAGS="-m32"
5023 enable_win16=${enable_win16:-yes}
5024 else
5025 if test "x${GCC}" = "xyes"
5026 then
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5028 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5030 /* end confdefs.h. */
5031 #include <stdarg.h>
5033 main ()
5035 void func(__builtin_ms_va_list *args);
5037 return 0;
5039 _ACEOF
5040 if ac_fn_c_try_compile "$LINENO"; then :
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5042 $as_echo "yes" >&6; }
5043 else
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5045 $as_echo "no" >&6; }
5046 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5050 CC="$CC -m64"
5051 CXX="$CXX -m64"
5052 host_cpu="x86_64"
5053 notice_platform="64-bit "
5054 TARGETFLAGS="-m64"
5058 arm*)
5059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5060 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5062 /* end confdefs.h. */
5063 int ac_test(int i) { return i; }
5065 main ()
5067 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5069 return 0;
5071 _ACEOF
5072 if ac_fn_c_try_link "$LINENO"; then :
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5074 $as_echo "yes" >&6; }
5075 else
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5077 $as_echo "no" >&6; }
5078 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5080 rm -f core conftest.err conftest.$ac_objext \
5081 conftest$ac_exeext conftest.$ac_ext
5082 CFLAGS="$CFLAGS -marm"
5083 TARGETFLAGS="-marm"
5086 i[3456789]86*)
5087 enable_win16=${enable_win16:-yes}
5089 esac
5091 enable_win16=${enable_win16:-no}
5092 enable_win64=${enable_win64:-no}
5094 enable_winetest=${enable_winetest:-$enable_tests}
5096 if test -n "$with_wine64"
5097 then
5098 if test "x$enable_win64" = "xyes"
5099 then
5100 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5101 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5103 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5104 You should create a separate build directory and run configure from there." "$LINENO" 5
5105 enable_fonts=${enable_fonts:-no}
5106 enable_server=${enable_server:-no}
5107 elif test "x$enable_win64" = "xyes"
5108 then
5109 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5113 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5114 if ${wine_cv_toolsdir+:} false; then :
5115 $as_echo_n "(cached) " >&6
5116 else
5117 wine_cv_toolsdir="$with_wine_tools"
5118 if test -z "$with_wine_tools"; then
5119 if test "$cross_compiling" = "yes"; then
5120 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5121 elif test -n "$with_wine64"; then
5122 wine_cv_toolsdir="$with_wine64"
5125 if test -z "$wine_cv_toolsdir"; then
5126 wine_makedep=tools/makedep
5127 wine_cv_toolsdir="\$(top_builddir)"
5128 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5129 wine_makedep=$wine_cv_toolsdir/tools/makedep
5130 case "$wine_cv_toolsdir" in
5131 /*) ;;
5132 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5133 esac
5134 enable_tools=${enable_tools:-no}
5135 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5136 else
5137 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5141 $as_echo "$wine_cv_toolsdir" >&6; }
5142 TOOLSDIR=$wine_cv_toolsdir
5144 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5145 then
5146 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5150 for ac_prog in flex
5152 # Extract the first word of "$ac_prog", so it can be a program name with args.
5153 set dummy $ac_prog; ac_word=$2
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5155 $as_echo_n "checking for $ac_word... " >&6; }
5156 if ${ac_cv_prog_FLEX+:} false; then :
5157 $as_echo_n "(cached) " >&6
5158 else
5159 if test -n "$FLEX"; then
5160 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5161 else
5162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5163 for as_dir in $PATH
5165 IFS=$as_save_IFS
5166 test -z "$as_dir" && as_dir=.
5167 for ac_exec_ext in '' $ac_executable_extensions; do
5168 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5169 ac_cv_prog_FLEX="$ac_prog"
5170 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5171 break 2
5173 done
5174 done
5175 IFS=$as_save_IFS
5179 FLEX=$ac_cv_prog_FLEX
5180 if test -n "$FLEX"; then
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5182 $as_echo "$FLEX" >&6; }
5183 else
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5185 $as_echo "no" >&6; }
5189 test -n "$FLEX" && break
5190 done
5191 test -n "$FLEX" || FLEX="none"
5193 if test "$FLEX" = "none"
5194 then
5195 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5198 $as_echo_n "checking whether flex is recent enough... " >&6; }
5199 cat >conftest.l <<EOF
5200 %top{
5201 #include "prediluvian.h"
5205 if $FLEX -t conftest.l >/dev/null 2>&5
5206 then
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5208 $as_echo "yes" >&6; }
5209 else
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5211 $as_echo "no" >&6; }
5212 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5215 for ac_prog in bison
5217 # Extract the first word of "$ac_prog", so it can be a program name with args.
5218 set dummy $ac_prog; ac_word=$2
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5220 $as_echo_n "checking for $ac_word... " >&6; }
5221 if ${ac_cv_prog_BISON+:} false; then :
5222 $as_echo_n "(cached) " >&6
5223 else
5224 if test -n "$BISON"; then
5225 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5226 else
5227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5228 for as_dir in $PATH
5230 IFS=$as_save_IFS
5231 test -z "$as_dir" && as_dir=.
5232 for ac_exec_ext in '' $ac_executable_extensions; do
5233 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5234 ac_cv_prog_BISON="$ac_prog"
5235 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5236 break 2
5238 done
5239 done
5240 IFS=$as_save_IFS
5244 BISON=$ac_cv_prog_BISON
5245 if test -n "$BISON"; then
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5247 $as_echo "$BISON" >&6; }
5248 else
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5250 $as_echo "no" >&6; }
5254 test -n "$BISON" && break
5255 done
5256 test -n "$BISON" || BISON="none"
5258 if test "$BISON" = "none"
5259 then
5260 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5263 if test -n "$ac_tool_prefix"; then
5264 for ac_prog in ar gar
5266 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5267 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5269 $as_echo_n "checking for $ac_word... " >&6; }
5270 if ${ac_cv_prog_AR+:} false; then :
5271 $as_echo_n "(cached) " >&6
5272 else
5273 if test -n "$AR"; then
5274 ac_cv_prog_AR="$AR" # Let the user override the test.
5275 else
5276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5277 for as_dir in $PATH
5279 IFS=$as_save_IFS
5280 test -z "$as_dir" && as_dir=.
5281 for ac_exec_ext in '' $ac_executable_extensions; do
5282 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5283 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5285 break 2
5287 done
5288 done
5289 IFS=$as_save_IFS
5293 AR=$ac_cv_prog_AR
5294 if test -n "$AR"; then
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5296 $as_echo "$AR" >&6; }
5297 else
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5299 $as_echo "no" >&6; }
5303 test -n "$AR" && break
5304 done
5306 if test -z "$AR"; then
5307 ac_ct_AR=$AR
5308 for ac_prog in ar gar
5310 # Extract the first word of "$ac_prog", so it can be a program name with args.
5311 set dummy $ac_prog; ac_word=$2
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5313 $as_echo_n "checking for $ac_word... " >&6; }
5314 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5315 $as_echo_n "(cached) " >&6
5316 else
5317 if test -n "$ac_ct_AR"; then
5318 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5319 else
5320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5321 for as_dir in $PATH
5323 IFS=$as_save_IFS
5324 test -z "$as_dir" && as_dir=.
5325 for ac_exec_ext in '' $ac_executable_extensions; do
5326 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5327 ac_cv_prog_ac_ct_AR="$ac_prog"
5328 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5329 break 2
5331 done
5332 done
5333 IFS=$as_save_IFS
5337 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5338 if test -n "$ac_ct_AR"; then
5339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5340 $as_echo "$ac_ct_AR" >&6; }
5341 else
5342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5343 $as_echo "no" >&6; }
5347 test -n "$ac_ct_AR" && break
5348 done
5350 if test "x$ac_ct_AR" = x; then
5351 AR="ar"
5352 else
5353 case $cross_compiling:$ac_tool_warned in
5354 yes:)
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5356 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5357 ac_tool_warned=yes ;;
5358 esac
5359 AR=$ac_ct_AR
5363 if test -n "$ac_tool_prefix"; then
5364 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5365 set dummy ${ac_tool_prefix}strip; ac_word=$2
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5367 $as_echo_n "checking for $ac_word... " >&6; }
5368 if ${ac_cv_prog_STRIP+:} false; then :
5369 $as_echo_n "(cached) " >&6
5370 else
5371 if test -n "$STRIP"; then
5372 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5373 else
5374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5375 for as_dir in $PATH
5377 IFS=$as_save_IFS
5378 test -z "$as_dir" && as_dir=.
5379 for ac_exec_ext in '' $ac_executable_extensions; do
5380 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5381 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5382 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5383 break 2
5385 done
5386 done
5387 IFS=$as_save_IFS
5391 STRIP=$ac_cv_prog_STRIP
5392 if test -n "$STRIP"; then
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5394 $as_echo "$STRIP" >&6; }
5395 else
5396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5397 $as_echo "no" >&6; }
5402 if test -z "$ac_cv_prog_STRIP"; then
5403 ac_ct_STRIP=$STRIP
5404 # Extract the first word of "strip", so it can be a program name with args.
5405 set dummy strip; ac_word=$2
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5407 $as_echo_n "checking for $ac_word... " >&6; }
5408 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5409 $as_echo_n "(cached) " >&6
5410 else
5411 if test -n "$ac_ct_STRIP"; then
5412 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5413 else
5414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5415 for as_dir in $PATH
5417 IFS=$as_save_IFS
5418 test -z "$as_dir" && as_dir=.
5419 for ac_exec_ext in '' $ac_executable_extensions; do
5420 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5421 ac_cv_prog_ac_ct_STRIP="strip"
5422 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5423 break 2
5425 done
5426 done
5427 IFS=$as_save_IFS
5431 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5432 if test -n "$ac_ct_STRIP"; then
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5434 $as_echo "$ac_ct_STRIP" >&6; }
5435 else
5436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5437 $as_echo "no" >&6; }
5440 if test "x$ac_ct_STRIP" = x; then
5441 STRIP="strip"
5442 else
5443 case $cross_compiling:$ac_tool_warned in
5444 yes:)
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5446 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5447 ac_tool_warned=yes ;;
5448 esac
5449 STRIP=$ac_ct_STRIP
5451 else
5452 STRIP="$ac_cv_prog_STRIP"
5455 ARFLAGS=rc
5457 if test -n "$ac_tool_prefix"; then
5458 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5459 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5461 $as_echo_n "checking for $ac_word... " >&6; }
5462 if ${ac_cv_prog_RANLIB+:} false; then :
5463 $as_echo_n "(cached) " >&6
5464 else
5465 if test -n "$RANLIB"; then
5466 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5467 else
5468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5469 for as_dir in $PATH
5471 IFS=$as_save_IFS
5472 test -z "$as_dir" && as_dir=.
5473 for ac_exec_ext in '' $ac_executable_extensions; do
5474 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5475 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5476 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5477 break 2
5479 done
5480 done
5481 IFS=$as_save_IFS
5485 RANLIB=$ac_cv_prog_RANLIB
5486 if test -n "$RANLIB"; then
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5488 $as_echo "$RANLIB" >&6; }
5489 else
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5491 $as_echo "no" >&6; }
5496 if test -z "$ac_cv_prog_RANLIB"; then
5497 ac_ct_RANLIB=$RANLIB
5498 # Extract the first word of "ranlib", so it can be a program name with args.
5499 set dummy ranlib; ac_word=$2
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5501 $as_echo_n "checking for $ac_word... " >&6; }
5502 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5503 $as_echo_n "(cached) " >&6
5504 else
5505 if test -n "$ac_ct_RANLIB"; then
5506 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5507 else
5508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5509 for as_dir in $PATH
5511 IFS=$as_save_IFS
5512 test -z "$as_dir" && as_dir=.
5513 for ac_exec_ext in '' $ac_executable_extensions; do
5514 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5515 ac_cv_prog_ac_ct_RANLIB="ranlib"
5516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5517 break 2
5519 done
5520 done
5521 IFS=$as_save_IFS
5525 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5526 if test -n "$ac_ct_RANLIB"; then
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5528 $as_echo "$ac_ct_RANLIB" >&6; }
5529 else
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5531 $as_echo "no" >&6; }
5534 if test "x$ac_ct_RANLIB" = x; then
5535 RANLIB=":"
5536 else
5537 case $cross_compiling:$ac_tool_warned in
5538 yes:)
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5540 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5541 ac_tool_warned=yes ;;
5542 esac
5543 RANLIB=$ac_ct_RANLIB
5545 else
5546 RANLIB="$ac_cv_prog_RANLIB"
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5550 $as_echo_n "checking whether ln -s works... " >&6; }
5551 LN_S=$as_ln_s
5552 if test "$LN_S" = "ln -s"; then
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5554 $as_echo "yes" >&6; }
5555 else
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5557 $as_echo "no, using $LN_S" >&6; }
5560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5561 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5562 if ${ac_cv_path_GREP+:} false; then :
5563 $as_echo_n "(cached) " >&6
5564 else
5565 if test -z "$GREP"; then
5566 ac_path_GREP_found=false
5567 # Loop through the user's path and test for each of PROGNAME-LIST
5568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5569 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5571 IFS=$as_save_IFS
5572 test -z "$as_dir" && as_dir=.
5573 for ac_prog in grep ggrep; do
5574 for ac_exec_ext in '' $ac_executable_extensions; do
5575 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5576 as_fn_executable_p "$ac_path_GREP" || continue
5577 # Check for GNU ac_path_GREP and select it if it is found.
5578 # Check for GNU $ac_path_GREP
5579 case `"$ac_path_GREP" --version 2>&1` in
5580 *GNU*)
5581 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5583 ac_count=0
5584 $as_echo_n 0123456789 >"conftest.in"
5585 while :
5587 cat "conftest.in" "conftest.in" >"conftest.tmp"
5588 mv "conftest.tmp" "conftest.in"
5589 cp "conftest.in" "conftest.nl"
5590 $as_echo 'GREP' >> "conftest.nl"
5591 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5592 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5593 as_fn_arith $ac_count + 1 && ac_count=$as_val
5594 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5595 # Best one so far, save it but keep looking for a better one
5596 ac_cv_path_GREP="$ac_path_GREP"
5597 ac_path_GREP_max=$ac_count
5599 # 10*(2^10) chars as input seems more than enough
5600 test $ac_count -gt 10 && break
5601 done
5602 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5603 esac
5605 $ac_path_GREP_found && break 3
5606 done
5607 done
5608 done
5609 IFS=$as_save_IFS
5610 if test -z "$ac_cv_path_GREP"; then
5611 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5613 else
5614 ac_cv_path_GREP=$GREP
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5619 $as_echo "$ac_cv_path_GREP" >&6; }
5620 GREP="$ac_cv_path_GREP"
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5624 $as_echo_n "checking for egrep... " >&6; }
5625 if ${ac_cv_path_EGREP+:} false; then :
5626 $as_echo_n "(cached) " >&6
5627 else
5628 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5629 then ac_cv_path_EGREP="$GREP -E"
5630 else
5631 if test -z "$EGREP"; then
5632 ac_path_EGREP_found=false
5633 # Loop through the user's path and test for each of PROGNAME-LIST
5634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5635 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5637 IFS=$as_save_IFS
5638 test -z "$as_dir" && as_dir=.
5639 for ac_prog in egrep; do
5640 for ac_exec_ext in '' $ac_executable_extensions; do
5641 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5642 as_fn_executable_p "$ac_path_EGREP" || continue
5643 # Check for GNU ac_path_EGREP and select it if it is found.
5644 # Check for GNU $ac_path_EGREP
5645 case `"$ac_path_EGREP" --version 2>&1` in
5646 *GNU*)
5647 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5649 ac_count=0
5650 $as_echo_n 0123456789 >"conftest.in"
5651 while :
5653 cat "conftest.in" "conftest.in" >"conftest.tmp"
5654 mv "conftest.tmp" "conftest.in"
5655 cp "conftest.in" "conftest.nl"
5656 $as_echo 'EGREP' >> "conftest.nl"
5657 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5658 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5659 as_fn_arith $ac_count + 1 && ac_count=$as_val
5660 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5661 # Best one so far, save it but keep looking for a better one
5662 ac_cv_path_EGREP="$ac_path_EGREP"
5663 ac_path_EGREP_max=$ac_count
5665 # 10*(2^10) chars as input seems more than enough
5666 test $ac_count -gt 10 && break
5667 done
5668 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5669 esac
5671 $ac_path_EGREP_found && break 3
5672 done
5673 done
5674 done
5675 IFS=$as_save_IFS
5676 if test -z "$ac_cv_path_EGREP"; then
5677 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5679 else
5680 ac_cv_path_EGREP=$EGREP
5685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5686 $as_echo "$ac_cv_path_EGREP" >&6; }
5687 EGREP="$ac_cv_path_EGREP"
5690 # Extract the first word of "ldconfig", so it can be a program name with args.
5691 set dummy ldconfig; ac_word=$2
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5693 $as_echo_n "checking for $ac_word... " >&6; }
5694 if ${ac_cv_path_LDCONFIG+:} false; then :
5695 $as_echo_n "(cached) " >&6
5696 else
5697 case $LDCONFIG in
5698 [\\/]* | ?:[\\/]*)
5699 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5703 for as_dir in /sbin /usr/sbin $PATH
5705 IFS=$as_save_IFS
5706 test -z "$as_dir" && as_dir=.
5707 for ac_exec_ext in '' $ac_executable_extensions; do
5708 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5709 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5710 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5711 break 2
5713 done
5714 done
5715 IFS=$as_save_IFS
5717 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5719 esac
5721 LDCONFIG=$ac_cv_path_LDCONFIG
5722 if test -n "$LDCONFIG"; then
5723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5724 $as_echo "$LDCONFIG" >&6; }
5725 else
5726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5727 $as_echo "no" >&6; }
5731 for ac_prog in msgfmt
5733 # Extract the first word of "$ac_prog", so it can be a program name with args.
5734 set dummy $ac_prog; ac_word=$2
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5736 $as_echo_n "checking for $ac_word... " >&6; }
5737 if ${ac_cv_prog_MSGFMT+:} false; then :
5738 $as_echo_n "(cached) " >&6
5739 else
5740 if test -n "$MSGFMT"; then
5741 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5742 else
5743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5744 for as_dir in $PATH
5746 IFS=$as_save_IFS
5747 test -z "$as_dir" && as_dir=.
5748 for ac_exec_ext in '' $ac_executable_extensions; do
5749 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5750 ac_cv_prog_MSGFMT="$ac_prog"
5751 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5752 break 2
5754 done
5755 done
5756 IFS=$as_save_IFS
5760 MSGFMT=$ac_cv_prog_MSGFMT
5761 if test -n "$MSGFMT"; then
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5763 $as_echo "$MSGFMT" >&6; }
5764 else
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5766 $as_echo "no" >&6; }
5770 test -n "$MSGFMT" && break
5771 done
5772 test -n "$MSGFMT" || MSGFMT="false"
5774 if ${ac_tool_prefix+:} false; then :
5775 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5776 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5778 $as_echo_n "checking for $ac_word... " >&6; }
5779 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5780 $as_echo_n "(cached) " >&6
5781 else
5782 if test -n "$PKG_CONFIG"; then
5783 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5784 else
5785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5786 for as_dir in $PATH
5788 IFS=$as_save_IFS
5789 test -z "$as_dir" && as_dir=.
5790 for ac_exec_ext in '' $ac_executable_extensions; do
5791 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5792 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5794 break 2
5796 done
5797 done
5798 IFS=$as_save_IFS
5802 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5803 if test -n "$PKG_CONFIG"; then
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5805 $as_echo "$PKG_CONFIG" >&6; }
5806 else
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5808 $as_echo "no" >&6; }
5813 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5814 if test "x$cross_compiling" = xyes; then :
5816 else
5817 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5818 # Extract the first word of "pkg-config", so it can be a program name with args.
5819 set dummy pkg-config; ac_word=$2
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5821 $as_echo_n "checking for $ac_word... " >&6; }
5822 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5823 $as_echo_n "(cached) " >&6
5824 else
5825 if test -n "$PKG_CONFIG"; then
5826 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5827 else
5828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5829 for as_dir in $PATH
5831 IFS=$as_save_IFS
5832 test -z "$as_dir" && as_dir=.
5833 for ac_exec_ext in '' $ac_executable_extensions; do
5834 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5835 ac_cv_prog_PKG_CONFIG="pkg-config"
5836 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5837 break 2
5839 done
5840 done
5841 IFS=$as_save_IFS
5845 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5846 if test -n "$PKG_CONFIG"; then
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5848 $as_echo "$PKG_CONFIG" >&6; }
5849 else
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5851 $as_echo "no" >&6; }
5856 else
5857 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5860 if test "x$enable_maintainer_mode" != "xyes"
5861 then
5862 FONTFORGE=""
5863 RSVG=""
5864 CONVERT=""
5865 ICOTOOL=""
5866 else
5867 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5868 for ac_prog in fontforge
5870 # Extract the first word of "$ac_prog", so it can be a program name with args.
5871 set dummy $ac_prog; ac_word=$2
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5873 $as_echo_n "checking for $ac_word... " >&6; }
5874 if ${ac_cv_prog_FONTFORGE+:} false; then :
5875 $as_echo_n "(cached) " >&6
5876 else
5877 if test -n "$FONTFORGE"; then
5878 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5879 else
5880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5881 for as_dir in $PATH
5883 IFS=$as_save_IFS
5884 test -z "$as_dir" && as_dir=.
5885 for ac_exec_ext in '' $ac_executable_extensions; do
5886 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5887 ac_cv_prog_FONTFORGE="$ac_prog"
5888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5889 break 2
5891 done
5892 done
5893 IFS=$as_save_IFS
5897 FONTFORGE=$ac_cv_prog_FONTFORGE
5898 if test -n "$FONTFORGE"; then
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5900 $as_echo "$FONTFORGE" >&6; }
5901 else
5902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5903 $as_echo "no" >&6; }
5907 test -n "$FONTFORGE" && break
5908 done
5909 test -n "$FONTFORGE" || FONTFORGE="false"
5911 for ac_prog in rsvg-convert rsvg
5913 # Extract the first word of "$ac_prog", so it can be a program name with args.
5914 set dummy $ac_prog; ac_word=$2
5915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5916 $as_echo_n "checking for $ac_word... " >&6; }
5917 if ${ac_cv_prog_RSVG+:} false; then :
5918 $as_echo_n "(cached) " >&6
5919 else
5920 if test -n "$RSVG"; then
5921 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5922 else
5923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5924 for as_dir in $PATH
5926 IFS=$as_save_IFS
5927 test -z "$as_dir" && as_dir=.
5928 for ac_exec_ext in '' $ac_executable_extensions; do
5929 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5930 ac_cv_prog_RSVG="$ac_prog"
5931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5932 break 2
5934 done
5935 done
5936 IFS=$as_save_IFS
5940 RSVG=$ac_cv_prog_RSVG
5941 if test -n "$RSVG"; then
5942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5943 $as_echo "$RSVG" >&6; }
5944 else
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5946 $as_echo "no" >&6; }
5950 test -n "$RSVG" && break
5951 done
5952 test -n "$RSVG" || RSVG="false"
5954 for ac_prog in convert
5956 # Extract the first word of "$ac_prog", so it can be a program name with args.
5957 set dummy $ac_prog; ac_word=$2
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5959 $as_echo_n "checking for $ac_word... " >&6; }
5960 if ${ac_cv_prog_CONVERT+:} false; then :
5961 $as_echo_n "(cached) " >&6
5962 else
5963 if test -n "$CONVERT"; then
5964 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5965 else
5966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5967 for as_dir in $PATH
5969 IFS=$as_save_IFS
5970 test -z "$as_dir" && as_dir=.
5971 for ac_exec_ext in '' $ac_executable_extensions; do
5972 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5973 ac_cv_prog_CONVERT="$ac_prog"
5974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5975 break 2
5977 done
5978 done
5979 IFS=$as_save_IFS
5983 CONVERT=$ac_cv_prog_CONVERT
5984 if test -n "$CONVERT"; then
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5986 $as_echo "$CONVERT" >&6; }
5987 else
5988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5989 $as_echo "no" >&6; }
5993 test -n "$CONVERT" && break
5994 done
5995 test -n "$CONVERT" || CONVERT="false"
5997 for ac_prog in icotool
5999 # Extract the first word of "$ac_prog", so it can be a program name with args.
6000 set dummy $ac_prog; ac_word=$2
6001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6002 $as_echo_n "checking for $ac_word... " >&6; }
6003 if ${ac_cv_prog_ICOTOOL+:} false; then :
6004 $as_echo_n "(cached) " >&6
6005 else
6006 if test -n "$ICOTOOL"; then
6007 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6008 else
6009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6010 for as_dir in $PATH
6012 IFS=$as_save_IFS
6013 test -z "$as_dir" && as_dir=.
6014 for ac_exec_ext in '' $ac_executable_extensions; do
6015 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6016 ac_cv_prog_ICOTOOL="$ac_prog"
6017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6018 break 2
6020 done
6021 done
6022 IFS=$as_save_IFS
6026 ICOTOOL=$ac_cv_prog_ICOTOOL
6027 if test -n "$ICOTOOL"; then
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6029 $as_echo "$ICOTOOL" >&6; }
6030 else
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6032 $as_echo "no" >&6; }
6036 test -n "$ICOTOOL" && break
6037 done
6038 test -n "$ICOTOOL" || ICOTOOL="false"
6040 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6041 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6043 if test "$CONVERT" = false
6044 then
6045 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6046 else
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6048 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6049 convert_version=`convert --version | head -n1`
6050 if test "x$convert_version" != "x"
6051 then
6052 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6053 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6054 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6055 then
6056 CONVERT=false
6059 if test "$CONVERT" = false
6060 then
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6062 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6063 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6064 else
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6066 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6070 if test "$ICOTOOL" = false
6071 then
6072 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6073 else
6074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6075 $as_echo_n "checking for recent enough icotool... " >&6; }
6076 icotool_version=`icotool --version | head -n1`
6077 if test "x$icotool_version" != "x"
6078 then
6079 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6080 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6081 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6082 then
6083 ICOTOOL=false
6084 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6087 if test "$ICOTOOL" = false
6088 then
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6090 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6091 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6092 else
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6094 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6098 with_gettext=yes
6099 with_gettextpo=yes
6100 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6103 test "x$with_gettext" != xno || MSGFMT=false
6104 if test "$MSGFMT" != "false"
6105 then
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6107 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6108 cat >conftest.po <<EOF
6109 # comment
6110 msgctxt "ctxt"
6111 msgid "id"
6112 msgstr "str"
6114 if $MSGFMT -o /dev/null conftest.po 2>&5
6115 then
6116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6117 $as_echo "yes" >&6; }
6118 else
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6120 $as_echo "no" >&6; }
6121 MSGFMT=false
6124 if test "$MSGFMT" = false; then :
6125 case "x$with_gettext" in
6126 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6127 xno) ;;
6128 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6129 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6130 esac
6131 enable_po=${enable_po:-no}
6135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6136 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6137 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6138 $as_echo_n "(cached) " >&6
6139 else
6140 ac_check_lib_save_LIBS=$LIBS
6141 LIBS="-li386 $LIBS"
6142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6143 /* end confdefs.h. */
6145 /* Override any GCC internal prototype to avoid an error.
6146 Use char because int might match the return type of a GCC
6147 builtin and then its argument prototype would still apply. */
6148 #ifdef __cplusplus
6149 extern "C"
6150 #endif
6151 char i386_set_ldt ();
6153 main ()
6155 return i386_set_ldt ();
6157 return 0;
6159 _ACEOF
6160 if ac_fn_c_try_link "$LINENO"; then :
6161 ac_cv_lib_i386_i386_set_ldt=yes
6162 else
6163 ac_cv_lib_i386_i386_set_ldt=no
6165 rm -f core conftest.err conftest.$ac_objext \
6166 conftest$ac_exeext conftest.$ac_ext
6167 LIBS=$ac_check_lib_save_LIBS
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6170 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6171 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6172 cat >>confdefs.h <<_ACEOF
6173 #define HAVE_LIBI386 1
6174 _ACEOF
6176 LIBS="-li386 $LIBS"
6180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6181 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6182 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6183 $as_echo_n "(cached) " >&6
6184 else
6185 ac_check_lib_save_LIBS=$LIBS
6186 LIBS="-lossaudio $LIBS"
6187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6188 /* end confdefs.h. */
6190 /* Override any GCC internal prototype to avoid an error.
6191 Use char because int might match the return type of a GCC
6192 builtin and then its argument prototype would still apply. */
6193 #ifdef __cplusplus
6194 extern "C"
6195 #endif
6196 char _oss_ioctl ();
6198 main ()
6200 return _oss_ioctl ();
6202 return 0;
6204 _ACEOF
6205 if ac_fn_c_try_link "$LINENO"; then :
6206 ac_cv_lib_ossaudio__oss_ioctl=yes
6207 else
6208 ac_cv_lib_ossaudio__oss_ioctl=no
6210 rm -f core conftest.err conftest.$ac_objext \
6211 conftest$ac_exeext conftest.$ac_ext
6212 LIBS=$ac_check_lib_save_LIBS
6214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6215 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6216 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6217 cat >>confdefs.h <<_ACEOF
6218 #define HAVE_LIBOSSAUDIO 1
6219 _ACEOF
6221 LIBS="-lossaudio $LIBS"
6226 OPENGL_LIBS=""
6230 # Check whether --enable-largefile was given.
6231 if test "${enable_largefile+set}" = set; then :
6232 enableval=$enable_largefile;
6235 if test "$enable_largefile" != no; then
6237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6238 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6239 if ${ac_cv_sys_largefile_CC+:} false; then :
6240 $as_echo_n "(cached) " >&6
6241 else
6242 ac_cv_sys_largefile_CC=no
6243 if test "$GCC" != yes; then
6244 ac_save_CC=$CC
6245 while :; do
6246 # IRIX 6.2 and later do not support large files by default,
6247 # so use the C compiler's -n32 option if that helps.
6248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6249 /* end confdefs.h. */
6250 #include <sys/types.h>
6251 /* Check that off_t can represent 2**63 - 1 correctly.
6252 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6253 since some C++ compilers masquerading as C compilers
6254 incorrectly reject 9223372036854775807. */
6255 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6256 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6257 && LARGE_OFF_T % 2147483647 == 1)
6258 ? 1 : -1];
6260 main ()
6264 return 0;
6266 _ACEOF
6267 if ac_fn_c_try_compile "$LINENO"; then :
6268 break
6270 rm -f core conftest.err conftest.$ac_objext
6271 CC="$CC -n32"
6272 if ac_fn_c_try_compile "$LINENO"; then :
6273 ac_cv_sys_largefile_CC=' -n32'; break
6275 rm -f core conftest.err conftest.$ac_objext
6276 break
6277 done
6278 CC=$ac_save_CC
6279 rm -f conftest.$ac_ext
6282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6283 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6284 if test "$ac_cv_sys_largefile_CC" != no; then
6285 CC=$CC$ac_cv_sys_largefile_CC
6288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6289 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6290 if ${ac_cv_sys_file_offset_bits+:} false; then :
6291 $as_echo_n "(cached) " >&6
6292 else
6293 while :; do
6294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6295 /* end confdefs.h. */
6296 #include <sys/types.h>
6297 /* Check that off_t can represent 2**63 - 1 correctly.
6298 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6299 since some C++ compilers masquerading as C compilers
6300 incorrectly reject 9223372036854775807. */
6301 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6302 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6303 && LARGE_OFF_T % 2147483647 == 1)
6304 ? 1 : -1];
6306 main ()
6310 return 0;
6312 _ACEOF
6313 if ac_fn_c_try_compile "$LINENO"; then :
6314 ac_cv_sys_file_offset_bits=no; break
6316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6318 /* end confdefs.h. */
6319 #define _FILE_OFFSET_BITS 64
6320 #include <sys/types.h>
6321 /* Check that off_t can represent 2**63 - 1 correctly.
6322 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6323 since some C++ compilers masquerading as C compilers
6324 incorrectly reject 9223372036854775807. */
6325 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6326 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6327 && LARGE_OFF_T % 2147483647 == 1)
6328 ? 1 : -1];
6330 main ()
6334 return 0;
6336 _ACEOF
6337 if ac_fn_c_try_compile "$LINENO"; then :
6338 ac_cv_sys_file_offset_bits=64; break
6340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6341 ac_cv_sys_file_offset_bits=unknown
6342 break
6343 done
6345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6346 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6347 case $ac_cv_sys_file_offset_bits in #(
6348 no | unknown) ;;
6350 cat >>confdefs.h <<_ACEOF
6351 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6352 _ACEOF
6354 esac
6355 rm -rf conftest*
6356 if test $ac_cv_sys_file_offset_bits = unknown; then
6357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6358 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6359 if ${ac_cv_sys_large_files+:} false; then :
6360 $as_echo_n "(cached) " >&6
6361 else
6362 while :; do
6363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6364 /* end confdefs.h. */
6365 #include <sys/types.h>
6366 /* Check that off_t can represent 2**63 - 1 correctly.
6367 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6368 since some C++ compilers masquerading as C compilers
6369 incorrectly reject 9223372036854775807. */
6370 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6371 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6372 && LARGE_OFF_T % 2147483647 == 1)
6373 ? 1 : -1];
6375 main ()
6379 return 0;
6381 _ACEOF
6382 if ac_fn_c_try_compile "$LINENO"; then :
6383 ac_cv_sys_large_files=no; break
6385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6387 /* end confdefs.h. */
6388 #define _LARGE_FILES 1
6389 #include <sys/types.h>
6390 /* Check that off_t can represent 2**63 - 1 correctly.
6391 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6392 since some C++ compilers masquerading as C compilers
6393 incorrectly reject 9223372036854775807. */
6394 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6395 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6396 && LARGE_OFF_T % 2147483647 == 1)
6397 ? 1 : -1];
6399 main ()
6403 return 0;
6405 _ACEOF
6406 if ac_fn_c_try_compile "$LINENO"; then :
6407 ac_cv_sys_large_files=1; break
6409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6410 ac_cv_sys_large_files=unknown
6411 break
6412 done
6414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6415 $as_echo "$ac_cv_sys_large_files" >&6; }
6416 case $ac_cv_sys_large_files in #(
6417 no | unknown) ;;
6419 cat >>confdefs.h <<_ACEOF
6420 #define _LARGE_FILES $ac_cv_sys_large_files
6421 _ACEOF
6423 esac
6424 rm -rf conftest*
6431 ac_ext=c
6432 ac_cpp='$CPP $CPPFLAGS'
6433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6437 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6438 # On Suns, sometimes $CPP names a directory.
6439 if test -n "$CPP" && test -d "$CPP"; then
6440 CPP=
6442 if test -z "$CPP"; then
6443 if ${ac_cv_prog_CPP+:} false; then :
6444 $as_echo_n "(cached) " >&6
6445 else
6446 # Double quotes because CPP needs to be expanded
6447 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6449 ac_preproc_ok=false
6450 for ac_c_preproc_warn_flag in '' yes
6452 # Use a header file that comes with gcc, so configuring glibc
6453 # with a fresh cross-compiler works.
6454 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6455 # <limits.h> exists even on freestanding compilers.
6456 # On the NeXT, cc -E runs the code through the compiler's parser,
6457 # not just through cpp. "Syntax error" is here to catch this case.
6458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6459 /* end confdefs.h. */
6460 #ifdef __STDC__
6461 # include <limits.h>
6462 #else
6463 # include <assert.h>
6464 #endif
6465 Syntax error
6466 _ACEOF
6467 if ac_fn_c_try_cpp "$LINENO"; then :
6469 else
6470 # Broken: fails on valid input.
6471 continue
6473 rm -f conftest.err conftest.i conftest.$ac_ext
6475 # OK, works on sane cases. Now check whether nonexistent headers
6476 # can be detected and how.
6477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6478 /* end confdefs.h. */
6479 #include <ac_nonexistent.h>
6480 _ACEOF
6481 if ac_fn_c_try_cpp "$LINENO"; then :
6482 # Broken: success on invalid input.
6483 continue
6484 else
6485 # Passes both tests.
6486 ac_preproc_ok=:
6487 break
6489 rm -f conftest.err conftest.i conftest.$ac_ext
6491 done
6492 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6493 rm -f conftest.i conftest.err conftest.$ac_ext
6494 if $ac_preproc_ok; then :
6495 break
6498 done
6499 ac_cv_prog_CPP=$CPP
6502 CPP=$ac_cv_prog_CPP
6503 else
6504 ac_cv_prog_CPP=$CPP
6506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6507 $as_echo "$CPP" >&6; }
6508 ac_preproc_ok=false
6509 for ac_c_preproc_warn_flag in '' yes
6511 # Use a header file that comes with gcc, so configuring glibc
6512 # with a fresh cross-compiler works.
6513 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6514 # <limits.h> exists even on freestanding compilers.
6515 # On the NeXT, cc -E runs the code through the compiler's parser,
6516 # not just through cpp. "Syntax error" is here to catch this case.
6517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6518 /* end confdefs.h. */
6519 #ifdef __STDC__
6520 # include <limits.h>
6521 #else
6522 # include <assert.h>
6523 #endif
6524 Syntax error
6525 _ACEOF
6526 if ac_fn_c_try_cpp "$LINENO"; then :
6528 else
6529 # Broken: fails on valid input.
6530 continue
6532 rm -f conftest.err conftest.i conftest.$ac_ext
6534 # OK, works on sane cases. Now check whether nonexistent headers
6535 # can be detected and how.
6536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6537 /* end confdefs.h. */
6538 #include <ac_nonexistent.h>
6539 _ACEOF
6540 if ac_fn_c_try_cpp "$LINENO"; then :
6541 # Broken: success on invalid input.
6542 continue
6543 else
6544 # Passes both tests.
6545 ac_preproc_ok=:
6546 break
6548 rm -f conftest.err conftest.i conftest.$ac_ext
6550 done
6551 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6552 rm -f conftest.i conftest.err conftest.$ac_ext
6553 if $ac_preproc_ok; then :
6555 else
6556 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6557 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6558 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6559 See \`config.log' for more details" "$LINENO" 5; }
6562 ac_ext=c
6563 ac_cpp='$CPP $CPPFLAGS'
6564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6570 $as_echo_n "checking for ANSI C header files... " >&6; }
6571 if ${ac_cv_header_stdc+:} false; then :
6572 $as_echo_n "(cached) " >&6
6573 else
6574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6575 /* end confdefs.h. */
6576 #include <stdlib.h>
6577 #include <stdarg.h>
6578 #include <string.h>
6579 #include <float.h>
6582 main ()
6586 return 0;
6588 _ACEOF
6589 if ac_fn_c_try_compile "$LINENO"; then :
6590 ac_cv_header_stdc=yes
6591 else
6592 ac_cv_header_stdc=no
6594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6596 if test $ac_cv_header_stdc = yes; then
6597 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6599 /* end confdefs.h. */
6600 #include <string.h>
6602 _ACEOF
6603 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6604 $EGREP "memchr" >/dev/null 2>&1; then :
6606 else
6607 ac_cv_header_stdc=no
6609 rm -f conftest*
6613 if test $ac_cv_header_stdc = yes; then
6614 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6616 /* end confdefs.h. */
6617 #include <stdlib.h>
6619 _ACEOF
6620 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6621 $EGREP "free" >/dev/null 2>&1; then :
6623 else
6624 ac_cv_header_stdc=no
6626 rm -f conftest*
6630 if test $ac_cv_header_stdc = yes; then
6631 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6632 if test "$cross_compiling" = yes; then :
6634 else
6635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6636 /* end confdefs.h. */
6637 #include <ctype.h>
6638 #include <stdlib.h>
6639 #if ((' ' & 0x0FF) == 0x020)
6640 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6641 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6642 #else
6643 # define ISLOWER(c) \
6644 (('a' <= (c) && (c) <= 'i') \
6645 || ('j' <= (c) && (c) <= 'r') \
6646 || ('s' <= (c) && (c) <= 'z'))
6647 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6648 #endif
6650 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6652 main ()
6654 int i;
6655 for (i = 0; i < 256; i++)
6656 if (XOR (islower (i), ISLOWER (i))
6657 || toupper (i) != TOUPPER (i))
6658 return 2;
6659 return 0;
6661 _ACEOF
6662 if ac_fn_c_try_run "$LINENO"; then :
6664 else
6665 ac_cv_header_stdc=no
6667 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6668 conftest.$ac_objext conftest.beam conftest.$ac_ext
6673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6674 $as_echo "$ac_cv_header_stdc" >&6; }
6675 if test $ac_cv_header_stdc = yes; then
6677 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6681 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6682 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6683 inttypes.h stdint.h unistd.h
6684 do :
6685 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6686 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6688 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6689 cat >>confdefs.h <<_ACEOF
6690 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6691 _ACEOF
6695 done
6698 for ac_header in \
6699 AL/al.h \
6700 ApplicationServices/ApplicationServices.h \
6701 AudioToolbox/AudioConverter.h \
6702 AudioUnit/AudioUnit.h \
6703 AudioUnit/AudioComponent.h \
6704 CL/cl.h \
6705 Carbon/Carbon.h \
6706 CommonCrypto/CommonDigest.h \
6707 CoreAudio/CoreAudio.h \
6708 CoreServices/CoreServices.h \
6709 DiskArbitration/DiskArbitration.h \
6710 IOKit/IOKitLib.h \
6711 IOKit/hid/IOHIDLib.h \
6712 OpenAL/al.h \
6713 OpenCL/opencl.h \
6714 QuickTime/ImageCompression.h \
6715 Security/Security.h \
6716 alias.h \
6717 alsa/asoundlib.h \
6718 arpa/inet.h \
6719 arpa/nameser.h \
6720 asm/types.h \
6721 asm/user.h \
6722 curses.h \
6723 direct.h \
6724 dirent.h \
6725 dlfcn.h \
6726 elf.h \
6727 float.h \
6728 fnmatch.h \
6729 getopt.h \
6730 gettext-po.h \
6731 grp.h \
6732 gsm.h \
6733 gsm/gsm.h \
6734 ieeefp.h \
6735 inet/mib2.h \
6736 io.h \
6737 kstat.h \
6738 lber.h \
6739 ldap.h \
6740 libproc.h \
6741 link.h \
6742 linux/cdrom.h \
6743 linux/compiler.h \
6744 linux/filter.h \
6745 linux/hdreg.h \
6746 linux/input.h \
6747 linux/ioctl.h \
6748 linux/joystick.h \
6749 linux/major.h \
6750 linux/param.h \
6751 linux/serial.h \
6752 linux/types.h \
6753 linux/ucdrom.h \
6754 lwp.h \
6755 mach-o/nlist.h \
6756 mach-o/loader.h \
6757 mach/mach.h \
6758 mach/machine.h \
6759 machine/cpu.h \
6760 machine/limits.h \
6761 machine/sysarch.h \
6762 mntent.h \
6763 ncurses.h \
6764 netdb.h \
6765 netinet/in.h \
6766 netinet/in_systm.h \
6767 netinet/tcp.h \
6768 netinet/tcp_fsm.h \
6769 pcap/pcap.h \
6770 poll.h \
6771 port.h \
6772 process.h \
6773 pthread.h \
6774 pwd.h \
6775 sched.h \
6776 scsi/scsi.h \
6777 scsi/scsi_ioctl.h \
6778 scsi/sg.h \
6779 stdbool.h \
6780 stdint.h \
6781 stropts.h \
6782 sys/asoundlib.h \
6783 sys/attr.h \
6784 sys/cdio.h \
6785 sys/elf32.h \
6786 sys/epoll.h \
6787 sys/event.h \
6788 sys/exec_elf.h \
6789 sys/filio.h \
6790 sys/inotify.h \
6791 sys/ioctl.h \
6792 sys/ipc.h \
6793 sys/limits.h \
6794 sys/link.h \
6795 sys/mman.h \
6796 sys/modem.h \
6797 sys/msg.h \
6798 sys/mtio.h \
6799 sys/param.h \
6800 sys/poll.h \
6801 sys/prctl.h \
6802 sys/protosw.h \
6803 sys/ptrace.h \
6804 sys/queue.h \
6805 sys/resource.h \
6806 sys/scsiio.h \
6807 sys/shm.h \
6808 sys/signal.h \
6809 sys/socket.h \
6810 sys/socketvar.h \
6811 sys/sockio.h \
6812 sys/statvfs.h \
6813 sys/strtio.h \
6814 sys/syscall.h \
6815 sys/sysinfo.h \
6816 sys/tihdr.h \
6817 sys/time.h \
6818 sys/timeout.h \
6819 sys/times.h \
6820 sys/uio.h \
6821 sys/user.h \
6822 sys/utsname.h \
6823 sys/vm86.h \
6824 sys/vnode.h \
6825 sys/wait.h \
6826 syscall.h \
6827 termios.h \
6828 unistd.h \
6829 utime.h \
6830 valgrind/memcheck.h \
6831 valgrind/valgrind.h \
6832 zlib.h
6834 do :
6835 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6836 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6837 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6838 cat >>confdefs.h <<_ACEOF
6839 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6840 _ACEOF
6844 done
6846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6847 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6848 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
6849 $as_echo_n "(cached) " >&6
6850 else
6851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6852 /* end confdefs.h. */
6853 #include <sys/types.h>
6855 main ()
6857 return makedev(0, 0);
6859 return 0;
6861 _ACEOF
6862 if ac_fn_c_try_link "$LINENO"; then :
6863 ac_cv_header_sys_types_h_makedev=yes
6864 else
6865 ac_cv_header_sys_types_h_makedev=no
6867 rm -f core conftest.err conftest.$ac_objext \
6868 conftest$ac_exeext conftest.$ac_ext
6871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
6872 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
6874 if test $ac_cv_header_sys_types_h_makedev = no; then
6875 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
6876 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
6878 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
6884 if test $ac_cv_header_sys_mkdev_h = no; then
6885 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
6886 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
6888 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
6896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6897 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6898 if ${ac_cv_header_stat_broken+:} false; then :
6899 $as_echo_n "(cached) " >&6
6900 else
6901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6902 /* end confdefs.h. */
6903 #include <sys/types.h>
6904 #include <sys/stat.h>
6906 #if defined S_ISBLK && defined S_IFDIR
6907 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6908 #endif
6910 #if defined S_ISBLK && defined S_IFCHR
6911 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6912 #endif
6914 #if defined S_ISLNK && defined S_IFREG
6915 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6916 #endif
6918 #if defined S_ISSOCK && defined S_IFREG
6919 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6920 #endif
6922 _ACEOF
6923 if ac_fn_c_try_compile "$LINENO"; then :
6924 ac_cv_header_stat_broken=no
6925 else
6926 ac_cv_header_stat_broken=yes
6928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6931 $as_echo "$ac_cv_header_stat_broken" >&6; }
6932 if test $ac_cv_header_stat_broken = yes; then
6934 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6940 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6941 do :
6942 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6943 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6944 #ifdef HAVE_SYS_PARAM_H
6945 # include <sys/param.h>
6946 #endif
6948 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6949 cat >>confdefs.h <<_ACEOF
6950 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6951 _ACEOF
6955 done
6958 for ac_header in \
6959 netinet/ip.h \
6960 net/if.h \
6961 net/if_arp.h \
6962 net/if_dl.h \
6963 net/if_types.h \
6964 net/route.h \
6965 netinet/if_ether.h \
6966 netinet/if_inarp.h \
6967 netinet/in_pcb.h \
6968 netinet/ip_icmp.h \
6969 netinet/ip_var.h \
6970 netinet/udp.h \
6971 netipx/ipx.h \
6972 sys/un.h \
6974 do :
6975 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6976 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6977 #ifdef HAVE_SYS_SOCKET_H
6978 # include <sys/socket.h>
6979 #endif
6980 #ifdef HAVE_SYS_SOCKETVAR_H
6981 # include <sys/socketvar.h>
6982 #endif
6983 #ifdef HAVE_NET_ROUTE_H
6984 # include <net/route.h>
6985 #endif
6986 #ifdef HAVE_NETINET_IN_H
6987 # include <netinet/in.h>
6988 #endif
6989 #ifdef HAVE_NETINET_IN_SYSTM_H
6990 # include <netinet/in_systm.h>
6991 #endif
6992 #ifdef HAVE_NET_IF_H
6993 # include <net/if.h>
6994 #endif
6995 #ifdef HAVE_NETINET_IP_H
6996 # include <netinet/ip.h>
6997 #endif
6999 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7000 cat >>confdefs.h <<_ACEOF
7001 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7002 _ACEOF
7006 done
7009 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7010 do :
7011 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7012 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7013 #ifdef HAVE_ALIAS_H
7014 # include <alias.h>
7015 #endif
7016 #ifdef HAVE_SYS_SOCKET_H
7017 # include <sys/socket.h>
7018 #endif
7019 #ifdef HAVE_SYS_SOCKETVAR_H
7020 # include <sys/socketvar.h>
7021 #endif
7022 #ifdef HAVE_SYS_TIMEOUT_H
7023 # include <sys/timeout.h>
7024 #endif
7025 #ifdef HAVE_NETINET_IN_H
7026 # include <netinet/in.h>
7027 #endif
7028 #ifdef HAVE_NETINET_IN_SYSTM_H
7029 # include <netinet/in_systm.h>
7030 #endif
7031 #ifdef HAVE_NETINET_IP_H
7032 # include <netinet/ip.h>
7033 #endif
7034 #ifdef HAVE_NETINET_IP_VAR_H
7035 # include <netinet/ip_var.h>
7036 #endif
7037 #ifdef HAVE_NETINET_IP_ICMP_H
7038 # include <netinet/ip_icmp.h>
7039 #endif
7040 #ifdef HAVE_NETINET_UDP_H
7041 # include <netinet/udp.h>
7042 #endif
7043 #ifdef HAVE_NETINET_TCP_H
7044 # include <netinet/tcp.h>
7045 #endif
7046 #ifdef HAVE_NETINET_TCP_TIMER_H
7047 #include <netinet/tcp_timer.h>
7048 #endif
7050 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7051 cat >>confdefs.h <<_ACEOF
7052 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7053 _ACEOF
7057 done
7060 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7061 do :
7062 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7063 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7064 #ifdef HAVE_ASM_TYPES_H
7065 # include <asm/types.h>
7066 #endif
7067 #ifdef HAVE_SYS_SOCKET_H
7068 # include <sys/socket.h>
7069 #endif
7070 #ifdef HAVE_LINUX_TYPES_H
7071 # include <linux/types.h>
7072 #endif
7074 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7075 cat >>confdefs.h <<_ACEOF
7076 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7077 _ACEOF
7081 done
7084 for ac_header in mach-o/dyld_images.h
7085 do :
7086 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7087 # include <stdbool.h>
7088 #endif
7089 #ifdef HAVE_STDINT_H
7090 # include <stdint.h>
7091 #endif
7093 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7094 cat >>confdefs.h <<_ACEOF
7095 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7096 _ACEOF
7100 done
7103 for ac_header in resolv.h
7104 do :
7105 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7106 #ifdef HAVE_SYS_SOCKET_H
7107 # include <sys/socket.h>
7108 #endif
7109 #ifdef HAVE_NETINET_IN_H
7110 # include <netinet/in.h>
7111 #endif
7112 #ifdef HAVE_ARPA_NAMESER_H
7113 # include <arpa/nameser.h>
7114 #endif
7116 if test "x$ac_cv_header_resolv_h" = xyes; then :
7117 cat >>confdefs.h <<_ACEOF
7118 #define HAVE_RESOLV_H 1
7119 _ACEOF
7123 done
7126 for ac_header in ifaddrs.h
7127 do :
7128 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7130 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7131 cat >>confdefs.h <<_ACEOF
7132 #define HAVE_IFADDRS_H 1
7133 _ACEOF
7137 done
7140 for ac_header in sys/ucontext.h
7141 do :
7142 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7144 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7145 cat >>confdefs.h <<_ACEOF
7146 #define HAVE_SYS_UCONTEXT_H 1
7147 _ACEOF
7151 done
7154 for ac_header in sys/thr.h
7155 do :
7156 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7157 #ifdef HAVE_SYS_UCONTEXT_H
7158 #include <sys/ucontext.h>
7159 #endif
7161 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7162 cat >>confdefs.h <<_ACEOF
7163 #define HAVE_SYS_THR_H 1
7164 _ACEOF
7168 done
7171 for ac_header in pthread_np.h
7172 do :
7173 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7174 #include <pthread.h>
7175 #endif
7177 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7178 cat >>confdefs.h <<_ACEOF
7179 #define HAVE_PTHREAD_NP_H 1
7180 _ACEOF
7184 done
7187 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7188 do :
7189 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7190 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7191 #include <sys/time.h>
7192 #endif
7193 #include <sys/types.h>
7194 #ifdef HAVE_ASM_TYPES_H
7195 #include <asm/types.h>
7196 #endif
7198 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7199 cat >>confdefs.h <<_ACEOF
7200 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7201 _ACEOF
7205 done
7208 for ac_header in libprocstat.h
7209 do :
7210 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7211 #include <sys/param.h>
7212 #endif
7213 #ifdef HAVE_SYS_QUEUE_H
7214 #include <sys/queue.h>
7215 #endif
7216 #ifdef HAVE_SYS_SOCKET_H
7217 #include <sys/socket.h>
7218 #endif
7220 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7221 cat >>confdefs.h <<_ACEOF
7222 #define HAVE_LIBPROCSTAT_H 1
7223 _ACEOF
7227 done
7231 dlldir="\${libdir}/wine"
7233 DLLFLAGS="-D_REENTRANT"
7235 LDRPATH_INSTALL=""
7237 LDRPATH_LOCAL=""
7239 LDEXECFLAGS=""
7241 LIBEXT="so"
7242 DLLEXT=".so"
7243 IMPLIBEXT="def"
7244 # Extract the first word of "ldd", so it can be a program name with args.
7245 set dummy ldd; ac_word=$2
7246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7247 $as_echo_n "checking for $ac_word... " >&6; }
7248 if ${ac_cv_path_LDD+:} false; then :
7249 $as_echo_n "(cached) " >&6
7250 else
7251 case $LDD in
7252 [\\/]* | ?:[\\/]*)
7253 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7257 as_dummy="/sbin:/usr/sbin:$PATH"
7258 for as_dir in $as_dummy
7260 IFS=$as_save_IFS
7261 test -z "$as_dir" && as_dir=.
7262 for ac_exec_ext in '' $ac_executable_extensions; do
7263 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7264 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7266 break 2
7268 done
7269 done
7270 IFS=$as_save_IFS
7272 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7274 esac
7276 LDD=$ac_cv_path_LDD
7277 if test -n "$LDD"; then
7278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7279 $as_echo "$LDD" >&6; }
7280 else
7281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7282 $as_echo "no" >&6; }
7286 if test -n "$ac_tool_prefix"; then
7287 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7288 set dummy ${ac_tool_prefix}otool; ac_word=$2
7289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7290 $as_echo_n "checking for $ac_word... " >&6; }
7291 if ${ac_cv_prog_OTOOL+:} false; then :
7292 $as_echo_n "(cached) " >&6
7293 else
7294 if test -n "$OTOOL"; then
7295 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7296 else
7297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7298 for as_dir in $PATH
7300 IFS=$as_save_IFS
7301 test -z "$as_dir" && as_dir=.
7302 for ac_exec_ext in '' $ac_executable_extensions; do
7303 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7304 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7305 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7306 break 2
7308 done
7309 done
7310 IFS=$as_save_IFS
7314 OTOOL=$ac_cv_prog_OTOOL
7315 if test -n "$OTOOL"; then
7316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7317 $as_echo "$OTOOL" >&6; }
7318 else
7319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7320 $as_echo "no" >&6; }
7325 if test -z "$ac_cv_prog_OTOOL"; then
7326 ac_ct_OTOOL=$OTOOL
7327 # Extract the first word of "otool", so it can be a program name with args.
7328 set dummy otool; ac_word=$2
7329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7330 $as_echo_n "checking for $ac_word... " >&6; }
7331 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7332 $as_echo_n "(cached) " >&6
7333 else
7334 if test -n "$ac_ct_OTOOL"; then
7335 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7336 else
7337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7338 for as_dir in $PATH
7340 IFS=$as_save_IFS
7341 test -z "$as_dir" && as_dir=.
7342 for ac_exec_ext in '' $ac_executable_extensions; do
7343 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7344 ac_cv_prog_ac_ct_OTOOL="otool"
7345 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7346 break 2
7348 done
7349 done
7350 IFS=$as_save_IFS
7354 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7355 if test -n "$ac_ct_OTOOL"; then
7356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7357 $as_echo "$ac_ct_OTOOL" >&6; }
7358 else
7359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7360 $as_echo "no" >&6; }
7363 if test "x$ac_ct_OTOOL" = x; then
7364 OTOOL="otool"
7365 else
7366 case $cross_compiling:$ac_tool_warned in
7367 yes:)
7368 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7369 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7370 ac_tool_warned=yes ;;
7371 esac
7372 OTOOL=$ac_ct_OTOOL
7374 else
7375 OTOOL="$ac_cv_prog_OTOOL"
7378 if test -n "$ac_tool_prefix"; then
7379 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7380 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7382 $as_echo_n "checking for $ac_word... " >&6; }
7383 if ${ac_cv_prog_READELF+:} false; then :
7384 $as_echo_n "(cached) " >&6
7385 else
7386 if test -n "$READELF"; then
7387 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7388 else
7389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7390 for as_dir in $PATH
7392 IFS=$as_save_IFS
7393 test -z "$as_dir" && as_dir=.
7394 for ac_exec_ext in '' $ac_executable_extensions; do
7395 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7396 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7398 break 2
7400 done
7401 done
7402 IFS=$as_save_IFS
7406 READELF=$ac_cv_prog_READELF
7407 if test -n "$READELF"; then
7408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7409 $as_echo "$READELF" >&6; }
7410 else
7411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7412 $as_echo "no" >&6; }
7417 if test -z "$ac_cv_prog_READELF"; then
7418 ac_ct_READELF=$READELF
7419 # Extract the first word of "readelf", so it can be a program name with args.
7420 set dummy readelf; ac_word=$2
7421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7422 $as_echo_n "checking for $ac_word... " >&6; }
7423 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7424 $as_echo_n "(cached) " >&6
7425 else
7426 if test -n "$ac_ct_READELF"; then
7427 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7428 else
7429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7430 for as_dir in $PATH
7432 IFS=$as_save_IFS
7433 test -z "$as_dir" && as_dir=.
7434 for ac_exec_ext in '' $ac_executable_extensions; do
7435 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7436 ac_cv_prog_ac_ct_READELF="readelf"
7437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7438 break 2
7440 done
7441 done
7442 IFS=$as_save_IFS
7446 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7447 if test -n "$ac_ct_READELF"; then
7448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7449 $as_echo "$ac_ct_READELF" >&6; }
7450 else
7451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7452 $as_echo "no" >&6; }
7455 if test "x$ac_ct_READELF" = x; then
7456 READELF="true"
7457 else
7458 case $cross_compiling:$ac_tool_warned in
7459 yes:)
7460 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7461 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7462 ac_tool_warned=yes ;;
7463 esac
7464 READELF=$ac_ct_READELF
7466 else
7467 READELF="$ac_cv_prog_READELF"
7470 wine_rules_file=conf$$rules.make
7471 rm -f $wine_rules_file
7472 SUBDIRS=""
7474 DISABLED_SUBDIRS=""
7476 CONFIGURE_TARGETS=""
7478 ALL_TEST_RESOURCES=""
7481 wine_fn_append_file ()
7483 as_fn_append $1 " \\$as_nl $2"
7486 wine_fn_append_rule ()
7488 $as_echo "$1" >>$wine_rules_file
7491 wine_fn_has_flag ()
7493 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7496 wine_fn_all_rules ()
7498 wine_fn_append_file SUBDIRS $ac_dir
7499 wine_fn_append_rule \
7500 "all: $ac_dir
7501 .PHONY: $ac_dir
7502 $ac_dir: dummy
7503 @cd $ac_dir && \$(MAKE)"
7506 wine_fn_install_rules ()
7508 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7510 wine_fn_append_rule \
7511 ".PHONY: $ac_dir/install $ac_dir/uninstall
7512 $ac_dir/install:: $ac_dir
7513 @cd $ac_dir && \$(MAKE) install
7514 $ac_dir/uninstall::
7515 @cd $ac_dir && \$(MAKE) uninstall
7516 install:: $ac_dir/install
7517 __uninstall__: $ac_dir/uninstall"
7519 if wine_fn_has_flag install-lib
7520 then
7521 wine_fn_append_rule \
7522 ".PHONY: $ac_dir/install-lib
7523 $ac_dir/install-lib:: $ac_dir
7524 @cd $ac_dir && \$(MAKE) install-lib
7525 install-lib:: $ac_dir/install-lib"
7528 if wine_fn_has_flag install-dev
7529 then
7530 wine_fn_append_rule \
7531 ".PHONY: $ac_dir/install-dev
7532 $ac_dir/install-dev:: $ac_dir
7533 @cd $ac_dir && \$(MAKE) install-dev
7534 install-dev:: $ac_dir/install-dev"
7538 wine_fn_clean_rules ()
7540 ac_clean=$@
7542 if wine_fn_has_flag clean
7543 then
7544 wine_fn_append_rule \
7545 "$ac_dir/clean: dummy
7546 @cd $ac_dir && \$(MAKE) clean"
7547 else
7548 wine_fn_append_rule \
7549 "$ac_dir/clean: dummy
7550 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7552 wine_fn_append_rule \
7553 "__clean__: $ac_dir/clean
7554 .PHONY: $ac_dir/clean"
7557 wine_fn_disabled_rules ()
7559 ac_clean=$@
7561 wine_fn_append_file SUBDIRS $ac_dir
7562 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7563 wine_fn_append_rule \
7564 "__clean__: $ac_dir/clean
7565 .PHONY: $ac_dir/clean
7566 $ac_dir/clean: dummy
7567 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7570 wine_fn_config_makefile ()
7572 ac_dir=$1
7573 ac_enable=$2
7574 ac_flags=$3
7576 case $ac_dir in
7577 fonts|server) test -z "$with_wine64" || return ;;
7578 esac
7579 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7580 wine_fn_disabled_rules; return
7582 wine_fn_all_rules
7583 wine_fn_install_rules
7584 wine_fn_clean_rules
7587 wine_fn_config_lib ()
7589 ac_name=$1
7590 ac_flags=$2
7591 ac_dir=dlls/$ac_name
7592 ac_deps="include"
7594 if test "x$enable_tools" = xno; then :
7596 else
7597 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7599 wine_fn_all_rules
7600 wine_fn_clean_rules
7602 wine_fn_append_rule \
7603 ".PHONY: $ac_dir/install $ac_dir/uninstall
7604 $ac_dir/install:: $ac_dir
7605 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7606 $ac_dir/uninstall::
7607 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7608 install install-dev:: $ac_dir/install
7609 __uninstall__: $ac_dir/uninstall
7610 __builddeps__: $ac_dir
7611 $ac_dir: $ac_deps"
7614 wine_fn_config_dll ()
7616 ac_name=$1
7617 ac_dir=dlls/$ac_name
7618 ac_enable=$2
7619 ac_flags=$3
7620 ac_implib=${4:-$ac_name}
7621 ac_file=$ac_dir/lib$ac_implib
7622 ac_dll=$ac_name
7623 ac_deps="include"
7624 ac_implibflags=""
7626 if test "x$enable_tools" = xno; then :
7628 else
7629 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7631 case $ac_name in
7632 *16) ac_implibflags=" -m16" ;;
7633 *.*) ;;
7634 *) ac_dll=$ac_dll.dll ;;
7635 esac
7637 ac_clean=
7638 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7639 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7641 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7642 if test "$ac_enable" != enable_win16
7643 then
7644 wine_fn_clean_rules $ac_clean
7645 wine_fn_append_file SUBDIRS $ac_dir
7646 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7647 else
7648 wine_fn_disabled_rules $ac_clean
7649 return
7651 else
7652 wine_fn_all_rules
7653 wine_fn_clean_rules $ac_clean
7654 wine_fn_append_rule \
7655 "$ac_dir: __builddeps__
7656 manpages htmlpages sgmlpages xmlpages::
7657 @cd $ac_dir && \$(MAKE) \$@
7658 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7659 install install-lib:: $ac_dir/install-lib
7660 __uninstall__: $ac_dir/uninstall"
7661 if test -n "$DLLEXT"
7662 then
7663 wine_fn_append_rule \
7664 "$ac_dir/install-lib:: $ac_dir
7665 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7666 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7667 $ac_dir/uninstall::
7668 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7669 else
7670 wine_fn_append_rule \
7671 "$ac_dir/install-lib:: $ac_dir
7672 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7673 $ac_dir/uninstall::
7674 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7678 if wine_fn_has_flag staticimplib
7679 then
7680 wine_fn_append_rule \
7681 "__builddeps__: $ac_file.a
7682 $ac_file.a $ac_file.cross.a: $ac_deps
7683 $ac_file.a: dummy
7684 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7685 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7686 $ac_dir/install-dev:: $ac_file.a
7687 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7688 $ac_dir/uninstall::
7689 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7690 install install-dev:: $ac_dir/install-dev
7691 __uninstall__: $ac_dir/uninstall"
7693 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7694 then
7695 wine_fn_append_rule \
7696 "__builddeps__: $ac_file.cross.a
7697 $ac_file.cross.a: dummy
7698 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7701 elif wine_fn_has_flag implib
7702 then
7703 wine_fn_append_rule \
7704 "__builddeps__: $ac_file.$IMPLIBEXT
7705 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7706 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7707 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7708 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7709 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7710 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7711 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7712 $ac_dir/uninstall::
7713 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7714 install install-dev:: $ac_dir/install-dev
7715 __uninstall__: $ac_dir/uninstall"
7716 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7717 then
7718 wine_fn_append_rule \
7719 "__builddeps__: $ac_file.cross.a
7720 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7721 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7726 wine_fn_config_program ()
7728 ac_name=$1
7729 ac_dir=programs/$ac_name
7730 ac_enable=$2
7731 ac_flags=$3
7732 ac_program=$ac_name
7734 case $ac_name in
7735 *.*) ;;
7736 *) ac_program=$ac_program.exe ;;
7737 esac
7739 ac_clean=
7740 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7741 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7743 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7744 wine_fn_disabled_rules $ac_clean; return
7747 wine_fn_all_rules
7748 wine_fn_clean_rules $ac_clean
7749 wine_fn_append_rule "$ac_dir: __builddeps__"
7751 wine_fn_has_flag install || return
7752 wine_fn_append_rule \
7753 ".PHONY: $ac_dir/install $ac_dir/uninstall
7754 install install-lib:: $ac_dir/install
7755 __uninstall__: $ac_dir/uninstall"
7757 if test -n "$DLLEXT"
7758 then
7759 wine_fn_append_rule \
7760 "$ac_dir/install:: $ac_dir
7761 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7762 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7763 $ac_dir/uninstall::
7764 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7766 if test -z "$with_wine64" && wine_fn_has_flag installbin
7767 then
7768 wine_fn_append_rule \
7769 "$ac_dir/install:: __tooldeps__
7770 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7771 $ac_dir/uninstall::
7772 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7774 else
7775 wine_fn_append_rule \
7776 "$ac_dir/install:: $ac_dir
7777 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7778 $ac_dir/uninstall::
7779 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7782 if test -z "$with_wine64" && wine_fn_has_flag manpage
7783 then
7784 wine_fn_append_rule \
7785 "$ac_dir/install:: $ac_dir
7786 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7787 $ac_dir/uninstall::
7788 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7792 wine_fn_config_test ()
7794 ac_dir=$1
7795 ac_name=$2
7796 ac_flags=$3
7798 ac_clean=
7799 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7800 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7802 if test "x$enable_tests" = xno; then :
7803 wine_fn_disabled_rules $ac_clean; return
7806 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7807 wine_fn_all_rules
7808 wine_fn_clean_rules $ac_clean
7810 wine_fn_append_rule \
7811 "$ac_dir: __builddeps__
7812 programs/winetest: $ac_dir
7813 check test: $ac_dir/test
7814 .PHONY: $ac_dir/test
7815 $ac_dir/test: dummy
7816 @cd $ac_dir && \$(MAKE) test
7817 testclean::
7818 \$(RM) $ac_dir/*.ok"
7820 if test -n "$CROSSTARGET"
7821 then
7822 wine_fn_append_rule \
7823 "crosstest: $ac_dir/crosstest
7824 .PHONY: $ac_dir/crosstest
7825 $ac_dir/crosstest: __builddeps__ dummy
7826 @cd $ac_dir && \$(MAKE) crosstest"
7830 wine_fn_config_tool ()
7832 ac_dir=$1
7833 ac_flags=$2
7834 if test "x$enable_tools" = xno; then :
7835 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7838 wine_fn_all_rules
7839 wine_fn_install_rules
7840 wine_fn_clean_rules
7842 wine_fn_append_rule "__tooldeps__: $ac_dir"
7843 wine_fn_append_rule "$ac_dir: libs/port"
7844 case $ac_dir in
7845 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7846 esac
7849 wine_fn_config_symlink ()
7851 ac_linkdir=
7852 if test "x$1" = "x-d"
7853 then
7854 ac_linkdir=$2
7855 shift; shift
7857 ac_links=$@
7858 wine_fn_append_rule \
7859 "$ac_links:
7860 @./config.status \$@"
7861 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7862 test -n "$ac_linkdir" || return
7863 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7866 wine_binary="wine"
7867 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7868 WINELOADER_PROGRAMS="$wine_binary"
7870 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7872 case $host_os in
7873 cygwin*|mingw32*)
7874 if test -n "$ac_tool_prefix"; then
7875 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7876 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7878 $as_echo_n "checking for $ac_word... " >&6; }
7879 if ${ac_cv_prog_DLLTOOL+:} false; then :
7880 $as_echo_n "(cached) " >&6
7881 else
7882 if test -n "$DLLTOOL"; then
7883 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7884 else
7885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7886 for as_dir in $PATH
7888 IFS=$as_save_IFS
7889 test -z "$as_dir" && as_dir=.
7890 for ac_exec_ext in '' $ac_executable_extensions; do
7891 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7892 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7894 break 2
7896 done
7897 done
7898 IFS=$as_save_IFS
7902 DLLTOOL=$ac_cv_prog_DLLTOOL
7903 if test -n "$DLLTOOL"; then
7904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7905 $as_echo "$DLLTOOL" >&6; }
7906 else
7907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7908 $as_echo "no" >&6; }
7913 if test -z "$ac_cv_prog_DLLTOOL"; then
7914 ac_ct_DLLTOOL=$DLLTOOL
7915 # Extract the first word of "dlltool", so it can be a program name with args.
7916 set dummy dlltool; ac_word=$2
7917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7918 $as_echo_n "checking for $ac_word... " >&6; }
7919 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7920 $as_echo_n "(cached) " >&6
7921 else
7922 if test -n "$ac_ct_DLLTOOL"; then
7923 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7924 else
7925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7926 for as_dir in $PATH
7928 IFS=$as_save_IFS
7929 test -z "$as_dir" && as_dir=.
7930 for ac_exec_ext in '' $ac_executable_extensions; do
7931 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7932 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7933 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7934 break 2
7936 done
7937 done
7938 IFS=$as_save_IFS
7942 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7943 if test -n "$ac_ct_DLLTOOL"; then
7944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7945 $as_echo "$ac_ct_DLLTOOL" >&6; }
7946 else
7947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7948 $as_echo "no" >&6; }
7951 if test "x$ac_ct_DLLTOOL" = x; then
7952 DLLTOOL="false"
7953 else
7954 case $cross_compiling:$ac_tool_warned in
7955 yes:)
7956 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7957 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7958 ac_tool_warned=yes ;;
7959 esac
7960 DLLTOOL=$ac_ct_DLLTOOL
7962 else
7963 DLLTOOL="$ac_cv_prog_DLLTOOL"
7966 LIBEXT="dll"
7967 DLLEXT=""
7968 IMPLIBEXT="a"
7969 enable_iphlpapi=${enable_iphlpapi:-no}
7970 enable_kernel32=${enable_kernel32:-no}
7971 enable_msvcrt=${enable_msvcrt:-no}
7972 enable_ntdll=${enable_ntdll:-no}
7973 enable_ws2_32=${enable_ws2_32:-no}
7974 enable_loader=${enable_loader:-no}
7975 enable_server=${enable_server:-no}
7976 with_x=${with_x:-no}
7977 with_pthread=${with_pthread:-no}
7979 crtlibs=""
7980 case $host_os in
7981 mingw32*)
7982 crtlibs="-lmsvcrt"
7983 SOCKET_LIBS="-lws2_32"
7985 esac
7987 LIBWINE_SHAREDLIB="libwine.dll"
7989 LIBWINE_IMPORTLIB="libwine.a"
7991 LIBWINE_INSTALL_LIB="libwine.dll"
7993 LIBWINE_INSTALL_DEV="libwine.a"
7995 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
7997 LIBWINE_DEPENDS="wine.def"
8001 darwin*|macosx*)
8002 for ac_header in libunwind.h
8003 do :
8004 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8005 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8006 cat >>confdefs.h <<_ACEOF
8007 #define HAVE_LIBUNWIND_H 1
8008 _ACEOF
8012 done
8014 LIBEXT="dylib"
8015 DLLFLAGS="$DLLFLAGS -fPIC"
8016 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8017 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8018 COREFOUNDATION_LIBS="-framework CoreFoundation"
8020 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8022 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8024 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8026 CORESERVICES_LIBS="-framework CoreServices"
8028 APPKIT_LIBS="-framework AppKit"
8030 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8032 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8033 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8034 $as_echo_n "(cached) " >&6
8035 else
8036 ac_wine_try_cflags_saved=$CFLAGS
8037 CFLAGS="$CFLAGS -Wl,-no_pie"
8038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8039 /* end confdefs.h. */
8040 int main(int argc, char **argv) { return 0; }
8041 _ACEOF
8042 if ac_fn_c_try_link "$LINENO"; then :
8043 ac_cv_cflags__Wl__no_pie=yes
8044 else
8045 ac_cv_cflags__Wl__no_pie=no
8047 rm -f core conftest.err conftest.$ac_objext \
8048 conftest$ac_exeext conftest.$ac_ext
8049 CFLAGS=$ac_wine_try_cflags_saved
8051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8052 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8053 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8054 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8056 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8057 then
8058 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8061 if test "$ac_cv_header_Security_Security_h" = "yes"
8062 then
8063 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8065 ac_save_LIBS="$LIBS"
8066 LIBS="$LIBS $SECURITY_LIBS"
8067 for ac_func in SSLCopyPeerCertificates
8068 do :
8069 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8070 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8071 cat >>confdefs.h <<_ACEOF
8072 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8073 _ACEOF
8076 done
8078 LIBS="$ac_save_LIBS"
8079 with_gnutls=${with_gnutls:-no}
8081 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8082 then
8083 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8084 then
8085 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8087 else
8088 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8091 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8092 ac_save_LIBS="$LIBS"
8093 LIBS="$LIBS $COREAUDIO_LIBS"
8094 for ac_func in AUGraphAddNode
8095 do :
8096 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8097 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8098 cat >>confdefs.h <<_ACEOF
8099 #define HAVE_AUGRAPHADDNODE 1
8100 _ACEOF
8103 done
8105 LIBS="$ac_save_LIBS"
8107 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8108 then
8109 OPENAL_LIBS="-framework OpenAL"
8112 cat >>confdefs.h <<_ACEOF
8113 #define HAVE_OPENAL 1
8114 _ACEOF
8116 ac_cv_lib_openal=yes
8118 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8119 then
8120 OPENCL_LIBS="-framework OpenCL"
8122 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8124 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8125 then
8126 ac_save_LIBS="$LIBS"
8127 LIBS="$LIBS $IOKIT_LIBS"
8128 for ac_func in IOHIDManagerCreate
8129 do :
8130 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8131 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8132 cat >>confdefs.h <<_ACEOF
8133 #define HAVE_IOHIDMANAGERCREATE 1
8134 _ACEOF
8137 done
8139 LIBS="$ac_save_LIBS"
8141 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8142 then
8143 ac_save_LIBS="$LIBS"
8144 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8146 $as_echo_n "checking for the QuickTime framework... " >&6; }
8147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8148 /* end confdefs.h. */
8149 #include <QuickTime/ImageCompression.h>
8151 main ()
8153 CodecManagerVersion(NULL);
8155 return 0;
8157 _ACEOF
8158 if ac_fn_c_try_link "$LINENO"; then :
8159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8160 $as_echo "yes" >&6; }
8161 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8163 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8164 else
8165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8166 $as_echo "no" >&6; }
8167 ac_cv_header_QuickTime_ImageCompression_h=no
8169 rm -f core conftest.err conftest.$ac_objext \
8170 conftest$ac_exeext conftest.$ac_ext
8171 LIBS="$ac_save_LIBS"
8173 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8174 then
8175 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8177 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8178 then
8179 CARBON_LIBS="-framework Carbon"
8183 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8184 then
8185 ac_save_LIBS="$LIBS"
8186 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8187 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8188 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8189 enable_winemac_drv=${enable_winemac_drv:-yes}
8192 LIBS="$ac_save_LIBS"
8195 if test "x$enable_win16" = "xyes"
8196 then
8197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8198 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8199 if test "$cross_compiling" = yes; then :
8200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8201 $as_echo "cross-compiling, assuming yes" >&6; }
8202 else
8203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8204 /* end confdefs.h. */
8205 asm(".text\n"
8206 "bad:\tnop;nop\n"
8207 "good:\tnop;nop\n\t"
8208 ".globl _testfunc\n"
8209 "_testfunc:\tcallw good");
8210 extern void testfunc();
8212 main ()
8214 unsigned short *p = (unsigned short *)testfunc;
8215 return p[0] != 0xe866 || p[1] != 0xfffa
8217 return 0;
8219 _ACEOF
8220 if ac_fn_c_try_run "$LINENO"; then :
8221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8222 $as_echo "yes" >&6; }
8223 else
8224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8225 $as_echo "no" >&6; }
8226 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
8228 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8229 conftest.$ac_objext conftest.beam conftest.$ac_ext
8234 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8236 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8238 LIBWINE_INSTALL_DEV="libwine.dylib"
8240 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8242 WINELOADER_DEPENDS="wine_info.plist"
8246 linux-android*)
8247 DLLFLAGS="$DLLFLAGS -fPIC"
8248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8249 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8250 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8251 $as_echo_n "(cached) " >&6
8252 else
8253 ac_wine_try_cflags_saved=$CFLAGS
8254 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8256 /* end confdefs.h. */
8257 int main(int argc, char **argv) { return 0; }
8258 _ACEOF
8259 if ac_fn_c_try_link "$LINENO"; then :
8260 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8261 else
8262 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8264 rm -f core conftest.err conftest.$ac_objext \
8265 conftest$ac_exeext conftest.$ac_ext
8266 CFLAGS=$ac_wine_try_cflags_saved
8268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8269 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8270 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8271 LDEXECFLAGS="-Wl,--export-dynamic"
8273 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8275 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8276 if eval \${$as_ac_var+:} false; then :
8277 $as_echo_n "(cached) " >&6
8278 else
8279 ac_wine_try_cflags_saved=$CFLAGS
8280 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8282 /* end confdefs.h. */
8283 int main(int argc, char **argv) { return 0; }
8284 _ACEOF
8285 if ac_fn_c_try_link "$LINENO"; then :
8286 eval "$as_ac_var=yes"
8287 else
8288 eval "$as_ac_var=no"
8290 rm -f core conftest.err conftest.$ac_objext \
8291 conftest$ac_exeext conftest.$ac_ext
8292 CFLAGS=$ac_wine_try_cflags_saved
8294 eval ac_res=\$$as_ac_var
8295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8296 $as_echo "$ac_res" >&6; }
8297 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8298 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8299 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8300 else
8301 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8303 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8304 if eval \${$as_ac_var+:} false; then :
8305 $as_echo_n "(cached) " >&6
8306 else
8307 ac_wine_try_cflags_saved=$CFLAGS
8308 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8310 /* end confdefs.h. */
8311 int main(int argc, char **argv) { return 0; }
8312 _ACEOF
8313 if ac_fn_c_try_link "$LINENO"; then :
8314 eval "$as_ac_var=yes"
8315 else
8316 eval "$as_ac_var=no"
8318 rm -f core conftest.err conftest.$ac_objext \
8319 conftest$ac_exeext conftest.$ac_ext
8320 CFLAGS=$ac_wine_try_cflags_saved
8322 eval ac_res=\$$as_ac_var
8323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8324 $as_echo "$ac_res" >&6; }
8325 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8326 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8327 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8332 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8333 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8334 $as_echo_n "(cached) " >&6
8335 else
8336 ac_wine_try_cflags_saved=$CFLAGS
8337 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8339 /* end confdefs.h. */
8340 int main(int argc, char **argv) { return 0; }
8341 _ACEOF
8342 if ac_fn_c_try_link "$LINENO"; then :
8343 ac_cv_cflags__Wl___enable_new_dtags=yes
8344 else
8345 ac_cv_cflags__Wl___enable_new_dtags=no
8347 rm -f core conftest.err conftest.$ac_objext \
8348 conftest$ac_exeext conftest.$ac_ext
8349 CFLAGS=$ac_wine_try_cflags_saved
8351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8352 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8353 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8354 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8357 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8358 if ${ac_cv_cflags__Wl__pie+:} false; then :
8359 $as_echo_n "(cached) " >&6
8360 else
8361 ac_wine_try_cflags_saved=$CFLAGS
8362 CFLAGS="$CFLAGS -Wl,-pie"
8363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8364 /* end confdefs.h. */
8365 int main(int argc, char **argv) { return 0; }
8366 _ACEOF
8367 if ac_fn_c_try_link "$LINENO"; then :
8368 ac_cv_cflags__Wl__pie=yes
8369 else
8370 ac_cv_cflags__Wl__pie=no
8372 rm -f core conftest.err conftest.$ac_objext \
8373 conftest$ac_exeext conftest.$ac_ext
8374 CFLAGS=$ac_wine_try_cflags_saved
8376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8377 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8378 if test "x$ac_cv_cflags__Wl__pie" = xyes; then :
8379 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,-pie"
8382 LIBWINE_SHAREDLIB="libwine.so"
8384 LIBWINE_INSTALL_LIB="libwine.so"
8386 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8391 DLLFLAGS="$DLLFLAGS -fPIC"
8392 LDEXECFLAGS=""
8393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8394 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8395 if ${ac_cv_c_dll_gnuelf+:} false; then :
8396 $as_echo_n "(cached) " >&6
8397 else
8398 ac_wine_try_cflags_saved=$CFLAGS
8399 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8401 /* end confdefs.h. */
8402 void myfunc() {}
8403 _ACEOF
8404 if ac_fn_c_try_link "$LINENO"; then :
8405 ac_cv_c_dll_gnuelf="yes"
8406 else
8407 ac_cv_c_dll_gnuelf="no"
8409 rm -f core conftest.err conftest.$ac_objext \
8410 conftest$ac_exeext conftest.$ac_ext
8411 CFLAGS=$ac_wine_try_cflags_saved
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8414 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8415 if test "$ac_cv_c_dll_gnuelf" = "yes"
8416 then
8417 LIBWINE_LDFLAGS="-shared"
8418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8419 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8420 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8421 $as_echo_n "(cached) " >&6
8422 else
8423 ac_wine_try_cflags_saved=$CFLAGS
8424 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8426 /* end confdefs.h. */
8427 int main(int argc, char **argv) { return 0; }
8428 _ACEOF
8429 if ac_fn_c_try_link "$LINENO"; then :
8430 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8431 else
8432 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8434 rm -f core conftest.err conftest.$ac_objext \
8435 conftest$ac_exeext conftest.$ac_ext
8436 CFLAGS=$ac_wine_try_cflags_saved
8438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8439 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8440 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8441 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8442 else
8443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8444 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8445 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8446 $as_echo_n "(cached) " >&6
8447 else
8448 ac_wine_try_cflags_saved=$CFLAGS
8449 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8451 /* end confdefs.h. */
8452 int main(int argc, char **argv) { return 0; }
8453 _ACEOF
8454 if ac_fn_c_try_link "$LINENO"; then :
8455 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8456 else
8457 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8459 rm -f core conftest.err conftest.$ac_objext \
8460 conftest$ac_exeext conftest.$ac_ext
8461 CFLAGS=$ac_wine_try_cflags_saved
8463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8464 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8465 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8466 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8470 echo '{ global: *; };' >conftest.map
8471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8472 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8473 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8474 $as_echo_n "(cached) " >&6
8475 else
8476 ac_wine_try_cflags_saved=$CFLAGS
8477 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8479 /* end confdefs.h. */
8480 int main(int argc, char **argv) { return 0; }
8481 _ACEOF
8482 if ac_fn_c_try_link "$LINENO"; then :
8483 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8484 else
8485 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8487 rm -f core conftest.err conftest.$ac_objext \
8488 conftest$ac_exeext conftest.$ac_ext
8489 CFLAGS=$ac_wine_try_cflags_saved
8491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8492 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8493 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8494 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8496 rm -f conftest.map
8498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8499 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8500 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8501 $as_echo_n "(cached) " >&6
8502 else
8503 ac_wine_try_cflags_saved=$CFLAGS
8504 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8506 /* end confdefs.h. */
8507 int main(int argc, char **argv) { return 0; }
8508 _ACEOF
8509 if ac_fn_c_try_link "$LINENO"; then :
8510 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8511 else
8512 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8514 rm -f core conftest.err conftest.$ac_objext \
8515 conftest$ac_exeext conftest.$ac_ext
8516 CFLAGS=$ac_wine_try_cflags_saved
8518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8519 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8520 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8521 LDEXECFLAGS="-Wl,--export-dynamic"
8524 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8526 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8527 if eval \${$as_ac_var+:} false; then :
8528 $as_echo_n "(cached) " >&6
8529 else
8530 ac_wine_try_cflags_saved=$CFLAGS
8531 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8533 /* end confdefs.h. */
8534 int main(int argc, char **argv) { return 0; }
8535 _ACEOF
8536 if ac_fn_c_try_link "$LINENO"; then :
8537 eval "$as_ac_var=yes"
8538 else
8539 eval "$as_ac_var=no"
8541 rm -f core conftest.err conftest.$ac_objext \
8542 conftest$ac_exeext conftest.$ac_ext
8543 CFLAGS=$ac_wine_try_cflags_saved
8545 eval ac_res=\$$as_ac_var
8546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8547 $as_echo "$ac_res" >&6; }
8548 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8549 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8550 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8551 else
8552 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8554 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8555 if eval \${$as_ac_var+:} false; then :
8556 $as_echo_n "(cached) " >&6
8557 else
8558 ac_wine_try_cflags_saved=$CFLAGS
8559 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8561 /* end confdefs.h. */
8562 int main(int argc, char **argv) { return 0; }
8563 _ACEOF
8564 if ac_fn_c_try_link "$LINENO"; then :
8565 eval "$as_ac_var=yes"
8566 else
8567 eval "$as_ac_var=no"
8569 rm -f core conftest.err conftest.$ac_objext \
8570 conftest$ac_exeext conftest.$ac_ext
8571 CFLAGS=$ac_wine_try_cflags_saved
8573 eval ac_res=\$$as_ac_var
8574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8575 $as_echo "$ac_res" >&6; }
8576 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8577 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8578 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8583 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8584 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8585 $as_echo_n "(cached) " >&6
8586 else
8587 ac_wine_try_cflags_saved=$CFLAGS
8588 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8590 /* end confdefs.h. */
8591 int main(int argc, char **argv) { return 0; }
8592 _ACEOF
8593 if ac_fn_c_try_link "$LINENO"; then :
8594 ac_cv_cflags__Wl___enable_new_dtags=yes
8595 else
8596 ac_cv_cflags__Wl___enable_new_dtags=no
8598 rm -f core conftest.err conftest.$ac_objext \
8599 conftest$ac_exeext conftest.$ac_ext
8600 CFLAGS=$ac_wine_try_cflags_saved
8602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8603 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8604 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8605 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8608 case $host_cpu in
8609 *i[3456789]86* | x86_64)
8610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8611 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8612 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8613 $as_echo_n "(cached) " >&6
8614 else
8615 ac_wine_try_cflags_saved=$CFLAGS
8616 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8618 /* end confdefs.h. */
8619 int main(int argc, char **argv) { return 0; }
8620 _ACEOF
8621 if ac_fn_c_try_link "$LINENO"; then :
8622 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8623 else
8624 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8626 rm -f core conftest.err conftest.$ac_objext \
8627 conftest$ac_exeext conftest.$ac_ext
8628 CFLAGS=$ac_wine_try_cflags_saved
8630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8631 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8632 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8633 case $host_os in
8634 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8635 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8636 esac
8637 else
8638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8639 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8640 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8641 $as_echo_n "(cached) " >&6
8642 else
8643 ac_wine_try_cflags_saved=$CFLAGS
8644 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8646 /* end confdefs.h. */
8647 int main(int argc, char **argv) { return 0; }
8648 _ACEOF
8649 if ac_fn_c_try_link "$LINENO"; then :
8650 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8651 else
8652 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8654 rm -f core conftest.err conftest.$ac_objext \
8655 conftest$ac_exeext conftest.$ac_ext
8656 CFLAGS=$ac_wine_try_cflags_saved
8658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8659 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8660 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8661 case $host_os in
8662 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8663 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8664 esac
8666 # Extract the first word of "prelink", so it can be a program name with args.
8667 set dummy prelink; ac_word=$2
8668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8669 $as_echo_n "checking for $ac_word... " >&6; }
8670 if ${ac_cv_path_PRELINK+:} false; then :
8671 $as_echo_n "(cached) " >&6
8672 else
8673 case $PRELINK in
8674 [\\/]* | ?:[\\/]*)
8675 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8679 for as_dir in /sbin /usr/sbin $PATH
8681 IFS=$as_save_IFS
8682 test -z "$as_dir" && as_dir=.
8683 for ac_exec_ext in '' $ac_executable_extensions; do
8684 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8685 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8686 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8687 break 2
8689 done
8690 done
8691 IFS=$as_save_IFS
8693 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8695 esac
8697 PRELINK=$ac_cv_path_PRELINK
8698 if test -n "$PRELINK"; then
8699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8700 $as_echo "$PRELINK" >&6; }
8701 else
8702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8703 $as_echo "no" >&6; }
8707 if test "x$PRELINK" = xfalse
8708 then
8709 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8713 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8714 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8715 $as_echo_n "(cached) " >&6
8716 else
8717 ac_wine_try_cflags_saved=$CFLAGS
8718 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8720 /* end confdefs.h. */
8721 int main(int argc, char **argv) { return 0; }
8722 _ACEOF
8723 if ac_fn_c_try_link "$LINENO"; then :
8724 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8725 else
8726 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8728 rm -f core conftest.err conftest.$ac_objext \
8729 conftest$ac_exeext conftest.$ac_ext
8730 CFLAGS=$ac_wine_try_cflags_saved
8732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8733 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8734 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8735 LDEXECFLAGS="$LDEXECFLAGS -Wl,-z,max-page-size=0x1000"
8738 esac
8740 else
8741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8742 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8743 if ${ac_cv_c_dll_unixware+:} false; then :
8744 $as_echo_n "(cached) " >&6
8745 else
8746 ac_wine_try_cflags_saved=$CFLAGS
8747 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8749 /* end confdefs.h. */
8750 void myfunc() {}
8751 _ACEOF
8752 if ac_fn_c_try_link "$LINENO"; then :
8753 ac_cv_c_dll_unixware="yes"
8754 else
8755 ac_cv_c_dll_unixware="no"
8757 rm -f core conftest.err conftest.$ac_objext \
8758 conftest$ac_exeext conftest.$ac_ext
8759 CFLAGS=$ac_wine_try_cflags_saved
8761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8762 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8763 if test "$ac_cv_c_dll_unixware" = "yes"
8764 then
8765 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8768 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8770 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8772 LIBWINE_INSTALL_DEV="libwine.so"
8774 LIBWINE_DEPENDS="wine.map"
8777 esac
8779 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8780 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8781 enable_winemac_drv=${enable_winemac_drv:-no}
8782 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8784 CROSSTARGET=""
8786 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8787 then
8788 case "$host_cpu" in
8789 arm*)
8790 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8791 i[3456789]86*)
8792 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
8793 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8794 mingw32-gcc" ;;
8795 x86_64)
8796 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
8797 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8799 ac_prefix_list="" ;;
8800 esac
8801 for ac_prog in $ac_prefix_list
8803 # Extract the first word of "$ac_prog", so it can be a program name with args.
8804 set dummy $ac_prog; ac_word=$2
8805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8806 $as_echo_n "checking for $ac_word... " >&6; }
8807 if ${ac_cv_prog_CROSSCC+:} false; then :
8808 $as_echo_n "(cached) " >&6
8809 else
8810 if test -n "$CROSSCC"; then
8811 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8812 else
8813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8814 for as_dir in $PATH
8816 IFS=$as_save_IFS
8817 test -z "$as_dir" && as_dir=.
8818 for ac_exec_ext in '' $ac_executable_extensions; do
8819 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8820 ac_cv_prog_CROSSCC="$ac_prog"
8821 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8822 break 2
8824 done
8825 done
8826 IFS=$as_save_IFS
8830 CROSSCC=$ac_cv_prog_CROSSCC
8831 if test -n "$CROSSCC"; then
8832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8833 $as_echo "$CROSSCC" >&6; }
8834 else
8835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8836 $as_echo "no" >&6; }
8840 test -n "$CROSSCC" && break
8841 done
8842 test -n "$CROSSCC" || CROSSCC="false"
8844 if test "$CROSSCC" != "false"
8845 then
8846 ac_save_CC="$CC"
8847 CC="$CROSSCC"
8848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8849 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8851 /* end confdefs.h. */
8854 main ()
8858 return 0;
8860 _ACEOF
8861 if ac_fn_c_try_compile "$LINENO"; then :
8862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8863 $as_echo "yes" >&6; }
8864 set x $CROSSCC
8865 shift
8866 while test $# -ge 1
8868 case "$1" in
8869 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8870 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8871 esac
8872 shift
8873 done
8874 else
8875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8876 $as_echo "no" >&6; }
8878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8879 CC="$ac_save_CC"
8884 if test "$ac_cv_header_pthread_h" = "yes"
8885 then
8886 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8887 if test "x$ac_cv_func_pthread_create" = xyes; then :
8889 else
8890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8891 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8892 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8893 $as_echo_n "(cached) " >&6
8894 else
8895 ac_check_lib_save_LIBS=$LIBS
8896 LIBS="-lpthread $LIBS"
8897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8898 /* end confdefs.h. */
8900 /* Override any GCC internal prototype to avoid an error.
8901 Use char because int might match the return type of a GCC
8902 builtin and then its argument prototype would still apply. */
8903 #ifdef __cplusplus
8904 extern "C"
8905 #endif
8906 char pthread_create ();
8908 main ()
8910 return pthread_create ();
8912 return 0;
8914 _ACEOF
8915 if ac_fn_c_try_link "$LINENO"; then :
8916 ac_cv_lib_pthread_pthread_create=yes
8917 else
8918 ac_cv_lib_pthread_pthread_create=no
8920 rm -f core conftest.err conftest.$ac_objext \
8921 conftest$ac_exeext conftest.$ac_ext
8922 LIBS=$ac_check_lib_save_LIBS
8924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8925 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8926 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8927 PTHREAD_LIBS="-lpthread"
8934 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8935 case "x$with_pthread" in
8936 xno) ;;
8937 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8938 Wine cannot support threads without libpthread.
8939 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8940 esac
8945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8946 $as_echo_n "checking for X... " >&6; }
8949 # Check whether --with-x was given.
8950 if test "${with_x+set}" = set; then :
8951 withval=$with_x;
8954 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8955 if test "x$with_x" = xno; then
8956 # The user explicitly disabled X.
8957 have_x=disabled
8958 else
8959 case $x_includes,$x_libraries in #(
8960 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8961 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8962 $as_echo_n "(cached) " >&6
8963 else
8964 # One or both of the vars are not set, and there is no cached value.
8965 ac_x_includes=no ac_x_libraries=no
8966 rm -f -r conftest.dir
8967 if mkdir conftest.dir; then
8968 cd conftest.dir
8969 cat >Imakefile <<'_ACEOF'
8970 incroot:
8971 @echo incroot='${INCROOT}'
8972 usrlibdir:
8973 @echo usrlibdir='${USRLIBDIR}'
8974 libdir:
8975 @echo libdir='${LIBDIR}'
8976 _ACEOF
8977 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8978 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8979 for ac_var in incroot usrlibdir libdir; do
8980 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8981 done
8982 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8983 for ac_extension in a so sl dylib la dll; do
8984 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8985 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8986 ac_im_usrlibdir=$ac_im_libdir; break
8988 done
8989 # Screen out bogus values from the imake configuration. They are
8990 # bogus both because they are the default anyway, and because
8991 # using them would break gcc on systems where it needs fixed includes.
8992 case $ac_im_incroot in
8993 /usr/include) ac_x_includes= ;;
8994 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8995 esac
8996 case $ac_im_usrlibdir in
8997 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8998 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8999 esac
9001 cd ..
9002 rm -f -r conftest.dir
9005 # Standard set of common directories for X headers.
9006 # Check X11 before X11Rn because it is often a symlink to the current release.
9007 ac_x_header_dirs='
9008 /usr/X11/include
9009 /usr/X11R7/include
9010 /usr/X11R6/include
9011 /usr/X11R5/include
9012 /usr/X11R4/include
9014 /usr/include/X11
9015 /usr/include/X11R7
9016 /usr/include/X11R6
9017 /usr/include/X11R5
9018 /usr/include/X11R4
9020 /usr/local/X11/include
9021 /usr/local/X11R7/include
9022 /usr/local/X11R6/include
9023 /usr/local/X11R5/include
9024 /usr/local/X11R4/include
9026 /usr/local/include/X11
9027 /usr/local/include/X11R7
9028 /usr/local/include/X11R6
9029 /usr/local/include/X11R5
9030 /usr/local/include/X11R4
9032 /usr/X386/include
9033 /usr/x386/include
9034 /usr/XFree86/include/X11
9036 /usr/include
9037 /usr/local/include
9038 /usr/unsupported/include
9039 /usr/athena/include
9040 /usr/local/x11r5/include
9041 /usr/lpp/Xamples/include
9043 /usr/openwin/include
9044 /usr/openwin/share/include'
9046 if test "$ac_x_includes" = no; then
9047 # Guess where to find include files, by looking for Xlib.h.
9048 # First, try using that file with no special directory specified.
9049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9050 /* end confdefs.h. */
9051 #include <X11/Xlib.h>
9052 _ACEOF
9053 if ac_fn_c_try_cpp "$LINENO"; then :
9054 # We can compile using X headers with no special include directory.
9055 ac_x_includes=
9056 else
9057 for ac_dir in $ac_x_header_dirs; do
9058 if test -r "$ac_dir/X11/Xlib.h"; then
9059 ac_x_includes=$ac_dir
9060 break
9062 done
9064 rm -f conftest.err conftest.i conftest.$ac_ext
9065 fi # $ac_x_includes = no
9067 if test "$ac_x_libraries" = no; then
9068 # Check for the libraries.
9069 # See if we find them without any special options.
9070 # Don't add to $LIBS permanently.
9071 ac_save_LIBS=$LIBS
9072 LIBS="-lX11 $LIBS"
9073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9074 /* end confdefs.h. */
9075 #include <X11/Xlib.h>
9077 main ()
9079 XrmInitialize ()
9081 return 0;
9083 _ACEOF
9084 if ac_fn_c_try_link "$LINENO"; then :
9085 LIBS=$ac_save_LIBS
9086 # We can link X programs with no special library path.
9087 ac_x_libraries=
9088 else
9089 LIBS=$ac_save_LIBS
9090 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9092 # Don't even attempt the hair of trying to link an X program!
9093 for ac_extension in a so sl dylib la dll; do
9094 if test -r "$ac_dir/libX11.$ac_extension"; then
9095 ac_x_libraries=$ac_dir
9096 break 2
9098 done
9099 done
9101 rm -f core conftest.err conftest.$ac_objext \
9102 conftest$ac_exeext conftest.$ac_ext
9103 fi # $ac_x_libraries = no
9105 case $ac_x_includes,$ac_x_libraries in #(
9106 no,* | *,no | *\'*)
9107 # Didn't find X, or a directory has "'" in its name.
9108 ac_cv_have_x="have_x=no";; #(
9110 # Record where we found X for the cache.
9111 ac_cv_have_x="have_x=yes\
9112 ac_x_includes='$ac_x_includes'\
9113 ac_x_libraries='$ac_x_libraries'"
9114 esac
9116 ;; #(
9117 *) have_x=yes;;
9118 esac
9119 eval "$ac_cv_have_x"
9120 fi # $with_x != no
9122 if test "$have_x" != yes; then
9123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9124 $as_echo "$have_x" >&6; }
9125 no_x=yes
9126 else
9127 # If each of the values was on the command line, it overrides each guess.
9128 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9129 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9130 # Update the cache value to reflect the command line values.
9131 ac_cv_have_x="have_x=yes\
9132 ac_x_includes='$x_includes'\
9133 ac_x_libraries='$x_libraries'"
9134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9135 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9138 if test "$no_x" = yes; then
9139 # Not all programs may use this symbol, but it does not hurt to define it.
9141 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9143 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9144 else
9145 if test -n "$x_includes"; then
9146 X_CFLAGS="$X_CFLAGS -I$x_includes"
9149 # It would also be nice to do this for all -L options, not just this one.
9150 if test -n "$x_libraries"; then
9151 X_LIBS="$X_LIBS -L$x_libraries"
9152 # For Solaris; some versions of Sun CC require a space after -R and
9153 # others require no space. Words are not sufficient . . . .
9154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9155 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9156 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9157 ac_xsave_c_werror_flag=$ac_c_werror_flag
9158 ac_c_werror_flag=yes
9159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9160 /* end confdefs.h. */
9163 main ()
9167 return 0;
9169 _ACEOF
9170 if ac_fn_c_try_link "$LINENO"; then :
9171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9172 $as_echo "no" >&6; }
9173 X_LIBS="$X_LIBS -R$x_libraries"
9174 else
9175 LIBS="$ac_xsave_LIBS -R $x_libraries"
9176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9177 /* end confdefs.h. */
9180 main ()
9184 return 0;
9186 _ACEOF
9187 if ac_fn_c_try_link "$LINENO"; then :
9188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9189 $as_echo "yes" >&6; }
9190 X_LIBS="$X_LIBS -R $x_libraries"
9191 else
9192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9193 $as_echo "neither works" >&6; }
9195 rm -f core conftest.err conftest.$ac_objext \
9196 conftest$ac_exeext conftest.$ac_ext
9198 rm -f core conftest.err conftest.$ac_objext \
9199 conftest$ac_exeext conftest.$ac_ext
9200 ac_c_werror_flag=$ac_xsave_c_werror_flag
9201 LIBS=$ac_xsave_LIBS
9204 # Check for system-dependent libraries X programs must link with.
9205 # Do this before checking for the system-independent R6 libraries
9206 # (-lICE), since we may need -lsocket or whatever for X linking.
9208 if test "$ISC" = yes; then
9209 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9210 else
9211 # Martyn Johnson says this is needed for Ultrix, if the X
9212 # libraries were built with DECnet support. And Karl Berry says
9213 # the Alpha needs dnet_stub (dnet does not exist).
9214 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9216 /* end confdefs.h. */
9218 /* Override any GCC internal prototype to avoid an error.
9219 Use char because int might match the return type of a GCC
9220 builtin and then its argument prototype would still apply. */
9221 #ifdef __cplusplus
9222 extern "C"
9223 #endif
9224 char XOpenDisplay ();
9226 main ()
9228 return XOpenDisplay ();
9230 return 0;
9232 _ACEOF
9233 if ac_fn_c_try_link "$LINENO"; then :
9235 else
9236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9237 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9238 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9239 $as_echo_n "(cached) " >&6
9240 else
9241 ac_check_lib_save_LIBS=$LIBS
9242 LIBS="-ldnet $LIBS"
9243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9244 /* end confdefs.h. */
9246 /* Override any GCC internal prototype to avoid an error.
9247 Use char because int might match the return type of a GCC
9248 builtin and then its argument prototype would still apply. */
9249 #ifdef __cplusplus
9250 extern "C"
9251 #endif
9252 char dnet_ntoa ();
9254 main ()
9256 return dnet_ntoa ();
9258 return 0;
9260 _ACEOF
9261 if ac_fn_c_try_link "$LINENO"; then :
9262 ac_cv_lib_dnet_dnet_ntoa=yes
9263 else
9264 ac_cv_lib_dnet_dnet_ntoa=no
9266 rm -f core conftest.err conftest.$ac_objext \
9267 conftest$ac_exeext conftest.$ac_ext
9268 LIBS=$ac_check_lib_save_LIBS
9270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9271 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9272 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9273 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9276 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9278 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9279 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9280 $as_echo_n "(cached) " >&6
9281 else
9282 ac_check_lib_save_LIBS=$LIBS
9283 LIBS="-ldnet_stub $LIBS"
9284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9285 /* end confdefs.h. */
9287 /* Override any GCC internal prototype to avoid an error.
9288 Use char because int might match the return type of a GCC
9289 builtin and then its argument prototype would still apply. */
9290 #ifdef __cplusplus
9291 extern "C"
9292 #endif
9293 char dnet_ntoa ();
9295 main ()
9297 return dnet_ntoa ();
9299 return 0;
9301 _ACEOF
9302 if ac_fn_c_try_link "$LINENO"; then :
9303 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9304 else
9305 ac_cv_lib_dnet_stub_dnet_ntoa=no
9307 rm -f core conftest.err conftest.$ac_objext \
9308 conftest$ac_exeext conftest.$ac_ext
9309 LIBS=$ac_check_lib_save_LIBS
9311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9312 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9313 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9314 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9319 rm -f core conftest.err conftest.$ac_objext \
9320 conftest$ac_exeext conftest.$ac_ext
9321 LIBS="$ac_xsave_LIBS"
9323 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9324 # to get the SysV transport functions.
9325 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9326 # needs -lnsl.
9327 # The nsl library prevents programs from opening the X display
9328 # on Irix 5.2, according to T.E. Dickey.
9329 # The functions gethostbyname, getservbyname, and inet_addr are
9330 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9331 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9332 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9336 if test $ac_cv_func_gethostbyname = no; then
9337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9338 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9339 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9340 $as_echo_n "(cached) " >&6
9341 else
9342 ac_check_lib_save_LIBS=$LIBS
9343 LIBS="-lnsl $LIBS"
9344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9345 /* end confdefs.h. */
9347 /* Override any GCC internal prototype to avoid an error.
9348 Use char because int might match the return type of a GCC
9349 builtin and then its argument prototype would still apply. */
9350 #ifdef __cplusplus
9351 extern "C"
9352 #endif
9353 char gethostbyname ();
9355 main ()
9357 return gethostbyname ();
9359 return 0;
9361 _ACEOF
9362 if ac_fn_c_try_link "$LINENO"; then :
9363 ac_cv_lib_nsl_gethostbyname=yes
9364 else
9365 ac_cv_lib_nsl_gethostbyname=no
9367 rm -f core conftest.err conftest.$ac_objext \
9368 conftest$ac_exeext conftest.$ac_ext
9369 LIBS=$ac_check_lib_save_LIBS
9371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9372 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9373 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9374 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9377 if test $ac_cv_lib_nsl_gethostbyname = no; then
9378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9379 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9380 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9381 $as_echo_n "(cached) " >&6
9382 else
9383 ac_check_lib_save_LIBS=$LIBS
9384 LIBS="-lbsd $LIBS"
9385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9386 /* end confdefs.h. */
9388 /* Override any GCC internal prototype to avoid an error.
9389 Use char because int might match the return type of a GCC
9390 builtin and then its argument prototype would still apply. */
9391 #ifdef __cplusplus
9392 extern "C"
9393 #endif
9394 char gethostbyname ();
9396 main ()
9398 return gethostbyname ();
9400 return 0;
9402 _ACEOF
9403 if ac_fn_c_try_link "$LINENO"; then :
9404 ac_cv_lib_bsd_gethostbyname=yes
9405 else
9406 ac_cv_lib_bsd_gethostbyname=no
9408 rm -f core conftest.err conftest.$ac_objext \
9409 conftest$ac_exeext conftest.$ac_ext
9410 LIBS=$ac_check_lib_save_LIBS
9412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9413 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9414 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9415 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9421 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9422 # socket/setsockopt and other routines are undefined under SCO ODT
9423 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9424 # on later versions), says Simon Leinen: it contains gethostby*
9425 # variants that don't use the name server (or something). -lsocket
9426 # must be given before -lnsl if both are needed. We assume that
9427 # if connect needs -lnsl, so does gethostbyname.
9428 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9429 if test "x$ac_cv_func_connect" = xyes; then :
9433 if test $ac_cv_func_connect = no; then
9434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9435 $as_echo_n "checking for connect in -lsocket... " >&6; }
9436 if ${ac_cv_lib_socket_connect+:} false; then :
9437 $as_echo_n "(cached) " >&6
9438 else
9439 ac_check_lib_save_LIBS=$LIBS
9440 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9442 /* end confdefs.h. */
9444 /* Override any GCC internal prototype to avoid an error.
9445 Use char because int might match the return type of a GCC
9446 builtin and then its argument prototype would still apply. */
9447 #ifdef __cplusplus
9448 extern "C"
9449 #endif
9450 char connect ();
9452 main ()
9454 return connect ();
9456 return 0;
9458 _ACEOF
9459 if ac_fn_c_try_link "$LINENO"; then :
9460 ac_cv_lib_socket_connect=yes
9461 else
9462 ac_cv_lib_socket_connect=no
9464 rm -f core conftest.err conftest.$ac_objext \
9465 conftest$ac_exeext conftest.$ac_ext
9466 LIBS=$ac_check_lib_save_LIBS
9468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9469 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9470 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9471 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9476 # Guillermo Gomez says -lposix is necessary on A/UX.
9477 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9478 if test "x$ac_cv_func_remove" = xyes; then :
9482 if test $ac_cv_func_remove = no; then
9483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9484 $as_echo_n "checking for remove in -lposix... " >&6; }
9485 if ${ac_cv_lib_posix_remove+:} false; then :
9486 $as_echo_n "(cached) " >&6
9487 else
9488 ac_check_lib_save_LIBS=$LIBS
9489 LIBS="-lposix $LIBS"
9490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9491 /* end confdefs.h. */
9493 /* Override any GCC internal prototype to avoid an error.
9494 Use char because int might match the return type of a GCC
9495 builtin and then its argument prototype would still apply. */
9496 #ifdef __cplusplus
9497 extern "C"
9498 #endif
9499 char remove ();
9501 main ()
9503 return remove ();
9505 return 0;
9507 _ACEOF
9508 if ac_fn_c_try_link "$LINENO"; then :
9509 ac_cv_lib_posix_remove=yes
9510 else
9511 ac_cv_lib_posix_remove=no
9513 rm -f core conftest.err conftest.$ac_objext \
9514 conftest$ac_exeext conftest.$ac_ext
9515 LIBS=$ac_check_lib_save_LIBS
9517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9518 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9519 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9520 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9525 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9526 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9527 if test "x$ac_cv_func_shmat" = xyes; then :
9531 if test $ac_cv_func_shmat = no; then
9532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9533 $as_echo_n "checking for shmat in -lipc... " >&6; }
9534 if ${ac_cv_lib_ipc_shmat+:} false; then :
9535 $as_echo_n "(cached) " >&6
9536 else
9537 ac_check_lib_save_LIBS=$LIBS
9538 LIBS="-lipc $LIBS"
9539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9540 /* end confdefs.h. */
9542 /* Override any GCC internal prototype to avoid an error.
9543 Use char because int might match the return type of a GCC
9544 builtin and then its argument prototype would still apply. */
9545 #ifdef __cplusplus
9546 extern "C"
9547 #endif
9548 char shmat ();
9550 main ()
9552 return shmat ();
9554 return 0;
9556 _ACEOF
9557 if ac_fn_c_try_link "$LINENO"; then :
9558 ac_cv_lib_ipc_shmat=yes
9559 else
9560 ac_cv_lib_ipc_shmat=no
9562 rm -f core conftest.err conftest.$ac_objext \
9563 conftest$ac_exeext conftest.$ac_ext
9564 LIBS=$ac_check_lib_save_LIBS
9566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9567 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9568 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9569 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9575 # Check for libraries that X11R6 Xt/Xaw programs need.
9576 ac_save_LDFLAGS=$LDFLAGS
9577 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9578 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9579 # check for ICE first), but we must link in the order -lSM -lICE or
9580 # we get undefined symbols. So assume we have SM if we have ICE.
9581 # These have to be linked with before -lX11, unlike the other
9582 # libraries we check for below, so use a different variable.
9583 # John Interrante, Karl Berry
9584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9585 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9586 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9587 $as_echo_n "(cached) " >&6
9588 else
9589 ac_check_lib_save_LIBS=$LIBS
9590 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9592 /* end confdefs.h. */
9594 /* Override any GCC internal prototype to avoid an error.
9595 Use char because int might match the return type of a GCC
9596 builtin and then its argument prototype would still apply. */
9597 #ifdef __cplusplus
9598 extern "C"
9599 #endif
9600 char IceConnectionNumber ();
9602 main ()
9604 return IceConnectionNumber ();
9606 return 0;
9608 _ACEOF
9609 if ac_fn_c_try_link "$LINENO"; then :
9610 ac_cv_lib_ICE_IceConnectionNumber=yes
9611 else
9612 ac_cv_lib_ICE_IceConnectionNumber=no
9614 rm -f core conftest.err conftest.$ac_objext \
9615 conftest$ac_exeext conftest.$ac_ext
9616 LIBS=$ac_check_lib_save_LIBS
9618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9619 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9620 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9621 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9624 LDFLAGS=$ac_save_LDFLAGS
9629 if test "$have_x" = "yes"
9630 then
9631 ac_save_CPPFLAGS="$CPPFLAGS"
9632 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9635 $as_echo_n "checking for -lX11... " >&6; }
9636 if ${ac_cv_lib_soname_X11+:} false; then :
9637 $as_echo_n "(cached) " >&6
9638 else
9639 ac_check_soname_save_LIBS=$LIBS
9640 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9642 /* end confdefs.h. */
9644 /* Override any GCC internal prototype to avoid an error.
9645 Use char because int might match the return type of a GCC
9646 builtin and then its argument prototype would still apply. */
9647 #ifdef __cplusplus
9648 extern "C"
9649 #endif
9650 char XCreateWindow ();
9652 main ()
9654 return XCreateWindow ();
9656 return 0;
9658 _ACEOF
9659 if ac_fn_c_try_link "$LINENO"; then :
9660 case "$LIBEXT" in
9661 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9662 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'` ;;
9663 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9664 if ${ac_cv_lib_soname_X11:+false} :; then :
9665 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9666 fi ;;
9667 esac
9669 rm -f core conftest.err conftest.$ac_objext \
9670 conftest$ac_exeext conftest.$ac_ext
9671 LIBS=$ac_check_soname_save_LIBS
9673 if ${ac_cv_lib_soname_X11:+false} :; then :
9674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9675 $as_echo "not found" >&6; }
9677 else
9678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9679 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9681 cat >>confdefs.h <<_ACEOF
9682 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9683 _ACEOF
9687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9688 $as_echo_n "checking for -lXext... " >&6; }
9689 if ${ac_cv_lib_soname_Xext+:} false; then :
9690 $as_echo_n "(cached) " >&6
9691 else
9692 ac_check_soname_save_LIBS=$LIBS
9693 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9695 /* end confdefs.h. */
9697 /* Override any GCC internal prototype to avoid an error.
9698 Use char because int might match the return type of a GCC
9699 builtin and then its argument prototype would still apply. */
9700 #ifdef __cplusplus
9701 extern "C"
9702 #endif
9703 char XextCreateExtension ();
9705 main ()
9707 return XextCreateExtension ();
9709 return 0;
9711 _ACEOF
9712 if ac_fn_c_try_link "$LINENO"; then :
9713 case "$LIBEXT" in
9714 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9715 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'` ;;
9716 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9717 if ${ac_cv_lib_soname_Xext:+false} :; then :
9718 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9719 fi ;;
9720 esac
9722 rm -f core conftest.err conftest.$ac_objext \
9723 conftest$ac_exeext conftest.$ac_ext
9724 LIBS=$ac_check_soname_save_LIBS
9726 if ${ac_cv_lib_soname_Xext:+false} :; then :
9727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9728 $as_echo "not found" >&6; }
9730 else
9731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9732 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9734 cat >>confdefs.h <<_ACEOF
9735 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9736 _ACEOF
9738 X_LIBS="$X_LIBS -lXext"
9740 X_LIBS="$X_LIBS -lX11"
9742 for ac_header in X11/Xlib.h \
9743 X11/XKBlib.h \
9744 X11/Xutil.h \
9745 X11/Xcursor/Xcursor.h \
9746 X11/extensions/shape.h \
9747 X11/extensions/XInput.h \
9748 X11/extensions/XInput2.h \
9749 X11/extensions/XShm.h \
9750 X11/extensions/Xcomposite.h \
9751 X11/extensions/Xinerama.h \
9752 X11/extensions/Xrandr.h \
9753 X11/extensions/Xrender.h \
9754 X11/extensions/xf86vmode.h \
9755 X11/extensions/xf86vmproto.h
9756 do :
9757 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9758 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9759 # include <X11/Xlib.h>
9760 #endif
9761 #ifdef HAVE_X11_XUTIL_H
9762 # include <X11/Xutil.h>
9763 #endif
9765 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9766 cat >>confdefs.h <<_ACEOF
9767 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9768 _ACEOF
9772 done
9775 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9776 then
9777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9778 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9779 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9780 $as_echo_n "(cached) " >&6
9781 else
9782 ac_check_lib_save_LIBS=$LIBS
9783 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9785 /* end confdefs.h. */
9787 /* Override any GCC internal prototype to avoid an error.
9788 Use char because int might match the return type of a GCC
9789 builtin and then its argument prototype would still apply. */
9790 #ifdef __cplusplus
9791 extern "C"
9792 #endif
9793 char XkbQueryExtension ();
9795 main ()
9797 return XkbQueryExtension ();
9799 return 0;
9801 _ACEOF
9802 if ac_fn_c_try_link "$LINENO"; then :
9803 ac_cv_lib_X11_XkbQueryExtension=yes
9804 else
9805 ac_cv_lib_X11_XkbQueryExtension=no
9807 rm -f core conftest.err conftest.$ac_objext \
9808 conftest$ac_exeext conftest.$ac_ext
9809 LIBS=$ac_check_lib_save_LIBS
9811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9812 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9813 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9815 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9821 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9822 then
9823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9824 $as_echo_n "checking for -lXcursor... " >&6; }
9825 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9826 $as_echo_n "(cached) " >&6
9827 else
9828 ac_check_soname_save_LIBS=$LIBS
9829 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9831 /* end confdefs.h. */
9833 /* Override any GCC internal prototype to avoid an error.
9834 Use char because int might match the return type of a GCC
9835 builtin and then its argument prototype would still apply. */
9836 #ifdef __cplusplus
9837 extern "C"
9838 #endif
9839 char XcursorImageLoadCursor ();
9841 main ()
9843 return XcursorImageLoadCursor ();
9845 return 0;
9847 _ACEOF
9848 if ac_fn_c_try_link "$LINENO"; then :
9849 case "$LIBEXT" in
9850 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9851 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'` ;;
9852 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9853 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9854 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9855 fi ;;
9856 esac
9858 rm -f core conftest.err conftest.$ac_objext \
9859 conftest$ac_exeext conftest.$ac_ext
9860 LIBS=$ac_check_soname_save_LIBS
9862 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9864 $as_echo "not found" >&6; }
9866 else
9867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9868 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9870 cat >>confdefs.h <<_ACEOF
9871 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9872 _ACEOF
9877 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9878 case "x$with_xcursor" in
9879 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9880 xno) ;;
9881 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9882 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9883 esac
9887 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9888 then
9889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9890 $as_echo_n "checking for -lXi... " >&6; }
9891 if ${ac_cv_lib_soname_Xi+:} false; then :
9892 $as_echo_n "(cached) " >&6
9893 else
9894 ac_check_soname_save_LIBS=$LIBS
9895 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9897 /* end confdefs.h. */
9899 /* Override any GCC internal prototype to avoid an error.
9900 Use char because int might match the return type of a GCC
9901 builtin and then its argument prototype would still apply. */
9902 #ifdef __cplusplus
9903 extern "C"
9904 #endif
9905 char XOpenDevice ();
9907 main ()
9909 return XOpenDevice ();
9911 return 0;
9913 _ACEOF
9914 if ac_fn_c_try_link "$LINENO"; then :
9915 case "$LIBEXT" in
9916 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9917 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'` ;;
9918 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9919 if ${ac_cv_lib_soname_Xi:+false} :; then :
9920 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9921 fi ;;
9922 esac
9924 rm -f core conftest.err conftest.$ac_objext \
9925 conftest$ac_exeext conftest.$ac_ext
9926 LIBS=$ac_check_soname_save_LIBS
9928 if ${ac_cv_lib_soname_Xi:+false} :; then :
9929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9930 $as_echo "not found" >&6; }
9932 else
9933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9934 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9936 cat >>confdefs.h <<_ACEOF
9937 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9938 _ACEOF
9943 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9944 case "x$with_xinput" in
9945 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9946 xno) ;;
9947 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9948 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9949 esac
9953 if test "x$ac_cv_lib_soname_Xi" != x
9954 then
9955 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9956 case "x$with_xinput2" in
9957 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9958 xno) ;;
9959 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9960 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9961 esac
9966 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9967 then
9968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9969 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9970 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9971 $as_echo_n "(cached) " >&6
9972 else
9973 ac_check_lib_save_LIBS=$LIBS
9974 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9976 /* end confdefs.h. */
9978 /* Override any GCC internal prototype to avoid an error.
9979 Use char because int might match the return type of a GCC
9980 builtin and then its argument prototype would still apply. */
9981 #ifdef __cplusplus
9982 extern "C"
9983 #endif
9984 char XShmQueryExtension ();
9986 main ()
9988 return XShmQueryExtension ();
9990 return 0;
9992 _ACEOF
9993 if ac_fn_c_try_link "$LINENO"; then :
9994 ac_cv_lib_Xext_XShmQueryExtension=yes
9995 else
9996 ac_cv_lib_Xext_XShmQueryExtension=no
9998 rm -f core conftest.err conftest.$ac_objext \
9999 conftest$ac_exeext conftest.$ac_ext
10000 LIBS=$ac_check_lib_save_LIBS
10002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10003 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10004 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10006 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10011 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10012 case "x$with_xshm" in
10013 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10014 xno) ;;
10015 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10016 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10017 esac
10021 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10022 then
10023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10024 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10025 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10026 $as_echo_n "(cached) " >&6
10027 else
10028 ac_check_lib_save_LIBS=$LIBS
10029 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10031 /* end confdefs.h. */
10033 /* Override any GCC internal prototype to avoid an error.
10034 Use char because int might match the return type of a GCC
10035 builtin and then its argument prototype would still apply. */
10036 #ifdef __cplusplus
10037 extern "C"
10038 #endif
10039 char XShapeQueryExtension ();
10041 main ()
10043 return XShapeQueryExtension ();
10045 return 0;
10047 _ACEOF
10048 if ac_fn_c_try_link "$LINENO"; then :
10049 ac_cv_lib_Xext_XShapeQueryExtension=yes
10050 else
10051 ac_cv_lib_Xext_XShapeQueryExtension=no
10053 rm -f core conftest.err conftest.$ac_objext \
10054 conftest$ac_exeext conftest.$ac_ext
10055 LIBS=$ac_check_lib_save_LIBS
10057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10058 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10059 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10061 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10066 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10067 case "x$with_xshape" in
10068 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10069 xno) ;;
10070 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10071 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10072 esac
10076 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10077 then
10078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10079 $as_echo_n "checking for -lXxf86vm... " >&6; }
10080 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10081 $as_echo_n "(cached) " >&6
10082 else
10083 ac_check_soname_save_LIBS=$LIBS
10084 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10086 /* end confdefs.h. */
10088 /* Override any GCC internal prototype to avoid an error.
10089 Use char because int might match the return type of a GCC
10090 builtin and then its argument prototype would still apply. */
10091 #ifdef __cplusplus
10092 extern "C"
10093 #endif
10094 char XF86VidModeQueryExtension ();
10096 main ()
10098 return XF86VidModeQueryExtension ();
10100 return 0;
10102 _ACEOF
10103 if ac_fn_c_try_link "$LINENO"; then :
10104 case "$LIBEXT" in
10105 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10106 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'` ;;
10107 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10108 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10109 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10110 fi ;;
10111 esac
10113 rm -f core conftest.err conftest.$ac_objext \
10114 conftest$ac_exeext conftest.$ac_ext
10115 LIBS=$ac_check_soname_save_LIBS
10117 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10119 $as_echo "not found" >&6; }
10121 else
10122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10123 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10125 cat >>confdefs.h <<_ACEOF
10126 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10127 _ACEOF
10132 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10133 case "x$with_xxf86vm" in
10134 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10135 xno) ;;
10136 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10137 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10138 esac
10142 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10143 then
10144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10145 $as_echo_n "checking for -lXrender... " >&6; }
10146 if ${ac_cv_lib_soname_Xrender+:} false; then :
10147 $as_echo_n "(cached) " >&6
10148 else
10149 ac_check_soname_save_LIBS=$LIBS
10150 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10152 /* end confdefs.h. */
10154 /* Override any GCC internal prototype to avoid an error.
10155 Use char because int might match the return type of a GCC
10156 builtin and then its argument prototype would still apply. */
10157 #ifdef __cplusplus
10158 extern "C"
10159 #endif
10160 char XRenderQueryExtension ();
10162 main ()
10164 return XRenderQueryExtension ();
10166 return 0;
10168 _ACEOF
10169 if ac_fn_c_try_link "$LINENO"; then :
10170 case "$LIBEXT" in
10171 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10172 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'` ;;
10173 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10174 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10175 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10176 fi ;;
10177 esac
10179 rm -f core conftest.err conftest.$ac_objext \
10180 conftest$ac_exeext conftest.$ac_ext
10181 LIBS=$ac_check_soname_save_LIBS
10183 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10185 $as_echo "not found" >&6; }
10187 else
10188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10189 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10191 cat >>confdefs.h <<_ACEOF
10192 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10193 _ACEOF
10195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10196 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10197 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10198 $as_echo_n "(cached) " >&6
10199 else
10200 ac_check_lib_save_LIBS=$LIBS
10201 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10203 /* end confdefs.h. */
10205 /* Override any GCC internal prototype to avoid an error.
10206 Use char because int might match the return type of a GCC
10207 builtin and then its argument prototype would still apply. */
10208 #ifdef __cplusplus
10209 extern "C"
10210 #endif
10211 char XRenderSetPictureTransform ();
10213 main ()
10215 return XRenderSetPictureTransform ();
10217 return 0;
10219 _ACEOF
10220 if ac_fn_c_try_link "$LINENO"; then :
10221 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10222 else
10223 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10225 rm -f core conftest.err conftest.$ac_objext \
10226 conftest$ac_exeext conftest.$ac_ext
10227 LIBS=$ac_check_lib_save_LIBS
10229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10230 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10231 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10233 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10238 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10239 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10240 $as_echo_n "(cached) " >&6
10241 else
10242 ac_check_lib_save_LIBS=$LIBS
10243 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10245 /* end confdefs.h. */
10247 /* Override any GCC internal prototype to avoid an error.
10248 Use char because int might match the return type of a GCC
10249 builtin and then its argument prototype would still apply. */
10250 #ifdef __cplusplus
10251 extern "C"
10252 #endif
10253 char XRenderCreateLinearGradient ();
10255 main ()
10257 return XRenderCreateLinearGradient ();
10259 return 0;
10261 _ACEOF
10262 if ac_fn_c_try_link "$LINENO"; then :
10263 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10264 else
10265 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10267 rm -f core conftest.err conftest.$ac_objext \
10268 conftest$ac_exeext conftest.$ac_ext
10269 LIBS=$ac_check_lib_save_LIBS
10271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10272 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10273 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10275 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10282 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10283 case "x$with_xrender" in
10284 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10285 xno) ;;
10286 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10287 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10288 esac
10292 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10293 then
10294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10295 /* end confdefs.h. */
10296 #include <X11/Xlib.h>
10297 #include <X11/extensions/Xrandr.h>
10299 main ()
10301 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10303 return 0;
10305 _ACEOF
10306 if ac_fn_c_try_compile "$LINENO"; then :
10307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10308 $as_echo_n "checking for -lXrandr... " >&6; }
10309 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10310 $as_echo_n "(cached) " >&6
10311 else
10312 ac_check_soname_save_LIBS=$LIBS
10313 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10315 /* end confdefs.h. */
10317 /* Override any GCC internal prototype to avoid an error.
10318 Use char because int might match the return type of a GCC
10319 builtin and then its argument prototype would still apply. */
10320 #ifdef __cplusplus
10321 extern "C"
10322 #endif
10323 char XRRQueryExtension ();
10325 main ()
10327 return XRRQueryExtension ();
10329 return 0;
10331 _ACEOF
10332 if ac_fn_c_try_link "$LINENO"; then :
10333 case "$LIBEXT" in
10334 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10335 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'` ;;
10336 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10337 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10338 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10339 fi ;;
10340 esac
10342 rm -f core conftest.err conftest.$ac_objext \
10343 conftest$ac_exeext conftest.$ac_ext
10344 LIBS=$ac_check_soname_save_LIBS
10346 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10348 $as_echo "not found" >&6; }
10350 else
10351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10352 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10354 cat >>confdefs.h <<_ACEOF
10355 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10356 _ACEOF
10358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10359 /* end confdefs.h. */
10360 #include <X11/Xlib.h>
10361 #include <X11/extensions/Xrandr.h>
10363 main ()
10365 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10367 return 0;
10369 _ACEOF
10370 if ac_fn_c_try_compile "$LINENO"; then :
10372 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10380 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10381 case "x$with_xrandr" in
10382 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10383 xno) ;;
10384 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10385 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10386 esac
10390 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10391 then
10392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10393 /* end confdefs.h. */
10394 #include <X11/Xlib.h>
10395 #include <X11/extensions/Xinerama.h>
10397 main ()
10399 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10401 return 0;
10403 _ACEOF
10404 if ac_fn_c_try_compile "$LINENO"; then :
10405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10406 $as_echo_n "checking for -lXinerama... " >&6; }
10407 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10408 $as_echo_n "(cached) " >&6
10409 else
10410 ac_check_soname_save_LIBS=$LIBS
10411 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10413 /* end confdefs.h. */
10415 /* Override any GCC internal prototype to avoid an error.
10416 Use char because int might match the return type of a GCC
10417 builtin and then its argument prototype would still apply. */
10418 #ifdef __cplusplus
10419 extern "C"
10420 #endif
10421 char XineramaQueryScreens ();
10423 main ()
10425 return XineramaQueryScreens ();
10427 return 0;
10429 _ACEOF
10430 if ac_fn_c_try_link "$LINENO"; then :
10431 case "$LIBEXT" in
10432 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10433 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'` ;;
10434 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10435 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10436 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10437 fi ;;
10438 esac
10440 rm -f core conftest.err conftest.$ac_objext \
10441 conftest$ac_exeext conftest.$ac_ext
10442 LIBS=$ac_check_soname_save_LIBS
10444 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10446 $as_echo "not found" >&6; }
10448 else
10449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10450 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10452 cat >>confdefs.h <<_ACEOF
10453 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10454 _ACEOF
10459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10461 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10462 case "x$with_xinerama" in
10463 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10464 xno) ;;
10465 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10466 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10467 esac
10471 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10472 then
10473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10474 $as_echo_n "checking for -lXcomposite... " >&6; }
10475 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10476 $as_echo_n "(cached) " >&6
10477 else
10478 ac_check_soname_save_LIBS=$LIBS
10479 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10481 /* end confdefs.h. */
10483 /* Override any GCC internal prototype to avoid an error.
10484 Use char because int might match the return type of a GCC
10485 builtin and then its argument prototype would still apply. */
10486 #ifdef __cplusplus
10487 extern "C"
10488 #endif
10489 char XCompositeRedirectWindow ();
10491 main ()
10493 return XCompositeRedirectWindow ();
10495 return 0;
10497 _ACEOF
10498 if ac_fn_c_try_link "$LINENO"; then :
10499 case "$LIBEXT" in
10500 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10501 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'` ;;
10502 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10503 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10504 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10505 fi ;;
10506 esac
10508 rm -f core conftest.err conftest.$ac_objext \
10509 conftest$ac_exeext conftest.$ac_ext
10510 LIBS=$ac_check_soname_save_LIBS
10512 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10514 $as_echo "not found" >&6; }
10516 else
10517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10518 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10520 cat >>confdefs.h <<_ACEOF
10521 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10522 _ACEOF
10527 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10528 case "x$with_xcomposite" in
10529 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10530 xno) ;;
10531 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10532 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10533 esac
10537 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10538 #include <X11/Xlib.h>
10539 #endif
10541 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10543 cat >>confdefs.h <<_ACEOF
10544 #define HAVE_XICCALLBACK_CALLBACK 1
10545 _ACEOF
10549 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10550 #include <X11/Xlib.h>
10551 #endif
10553 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10555 cat >>confdefs.h <<_ACEOF
10556 #define HAVE_XEVENT_XCOOKIE 1
10557 _ACEOF
10564 opengl_msg=""
10565 if test "x$with_opengl" != "xno"
10566 then
10567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10568 $as_echo_n "checking for -lGL... " >&6; }
10569 if ${ac_cv_lib_soname_GL+:} false; then :
10570 $as_echo_n "(cached) " >&6
10571 else
10572 ac_check_soname_save_LIBS=$LIBS
10573 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10575 /* end confdefs.h. */
10577 /* Override any GCC internal prototype to avoid an error.
10578 Use char because int might match the return type of a GCC
10579 builtin and then its argument prototype would still apply. */
10580 #ifdef __cplusplus
10581 extern "C"
10582 #endif
10583 char glXCreateContext ();
10585 main ()
10587 return glXCreateContext ();
10589 return 0;
10591 _ACEOF
10592 if ac_fn_c_try_link "$LINENO"; then :
10593 case "$LIBEXT" in
10594 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10595 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'` ;;
10596 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10597 if ${ac_cv_lib_soname_GL:+false} :; then :
10598 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10599 fi ;;
10600 esac
10602 rm -f core conftest.err conftest.$ac_objext \
10603 conftest$ac_exeext conftest.$ac_ext
10604 LIBS=$ac_check_soname_save_LIBS
10606 if ${ac_cv_lib_soname_GL:+false} :; then :
10607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10608 $as_echo "not found" >&6; }
10609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10610 $as_echo_n "checking for -lGL... " >&6; }
10611 if ${ac_cv_lib_soname_GL+:} false; then :
10612 $as_echo_n "(cached) " >&6
10613 else
10614 ac_check_soname_save_LIBS=$LIBS
10615 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"
10616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10617 /* end confdefs.h. */
10619 /* Override any GCC internal prototype to avoid an error.
10620 Use char because int might match the return type of a GCC
10621 builtin and then its argument prototype would still apply. */
10622 #ifdef __cplusplus
10623 extern "C"
10624 #endif
10625 char glXCreateContext ();
10627 main ()
10629 return glXCreateContext ();
10631 return 0;
10633 _ACEOF
10634 if ac_fn_c_try_link "$LINENO"; then :
10635 case "$LIBEXT" in
10636 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10637 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'` ;;
10638 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10639 if ${ac_cv_lib_soname_GL:+false} :; then :
10640 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10641 fi ;;
10642 esac
10644 rm -f core conftest.err conftest.$ac_objext \
10645 conftest$ac_exeext conftest.$ac_ext
10646 LIBS=$ac_check_soname_save_LIBS
10648 if ${ac_cv_lib_soname_GL:+false} :; then :
10649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10650 $as_echo "not found" >&6; }
10651 if test -f /usr/X11R6/lib/libGL.a
10652 then
10653 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10654 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10655 else
10656 opengl_msg="No OpenGL library found on this system."
10658 else
10659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10660 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10662 cat >>confdefs.h <<_ACEOF
10663 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10664 _ACEOF
10666 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"
10668 else
10669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10670 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10672 cat >>confdefs.h <<_ACEOF
10673 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10674 _ACEOF
10676 OPENGL_LIBS="-lGL"
10678 if test "x$with_glu" != "xno"
10679 then
10680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10681 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10682 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10683 $as_echo_n "(cached) " >&6
10684 else
10685 ac_check_lib_save_LIBS=$LIBS
10686 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10688 /* end confdefs.h. */
10690 /* Override any GCC internal prototype to avoid an error.
10691 Use char because int might match the return type of a GCC
10692 builtin and then its argument prototype would still apply. */
10693 #ifdef __cplusplus
10694 extern "C"
10695 #endif
10696 char gluLookAt ();
10698 main ()
10700 return gluLookAt ();
10702 return 0;
10704 _ACEOF
10705 if ac_fn_c_try_link "$LINENO"; then :
10706 ac_cv_lib_GLU_gluLookAt=yes
10707 else
10708 ac_cv_lib_GLU_gluLookAt=no
10710 rm -f core conftest.err conftest.$ac_objext \
10711 conftest$ac_exeext conftest.$ac_ext
10712 LIBS=$ac_check_lib_save_LIBS
10714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10715 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10716 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10720 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10721 case "x$with_glu" in
10722 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10723 xno) ;;
10724 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10725 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10726 esac
10731 if test "x$with_osmesa" != "xno"
10732 then
10733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10734 $as_echo_n "checking for -lOSMesa... " >&6; }
10735 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10736 $as_echo_n "(cached) " >&6
10737 else
10738 ac_check_soname_save_LIBS=$LIBS
10739 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10741 /* end confdefs.h. */
10743 /* Override any GCC internal prototype to avoid an error.
10744 Use char because int might match the return type of a GCC
10745 builtin and then its argument prototype would still apply. */
10746 #ifdef __cplusplus
10747 extern "C"
10748 #endif
10749 char glAccum ();
10751 main ()
10753 return glAccum ();
10755 return 0;
10757 _ACEOF
10758 if ac_fn_c_try_link "$LINENO"; then :
10759 case "$LIBEXT" in
10760 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10761 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'` ;;
10762 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10763 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10764 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10765 fi ;;
10766 esac
10768 rm -f core conftest.err conftest.$ac_objext \
10769 conftest$ac_exeext conftest.$ac_ext
10770 LIBS=$ac_check_soname_save_LIBS
10772 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10774 $as_echo "not found" >&6; }
10776 else
10777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10778 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10780 cat >>confdefs.h <<_ACEOF
10781 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10782 _ACEOF
10786 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10787 case "x$with_osmesa" in
10788 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10789 xno) ;;
10790 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10791 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10792 esac
10797 if test -n "$opengl_msg"; then :
10798 case "x$with_opengl" in
10799 x) as_fn_append wine_warnings "|$opengl_msg
10800 OpenGL and Direct3D won't be supported." ;;
10801 xno) ;;
10802 *) as_fn_error $? "$opengl_msg
10803 OpenGL and Direct3D won't be supported.
10804 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10805 esac
10809 CPPFLAGS="$ac_save_CPPFLAGS"
10810 else
10811 X_CFLAGS=""
10812 X_LIBS=""
10814 if test "x$X_LIBS" = "x"; then :
10815 case "x$with_x" in
10816 xno) ;;
10817 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10818 without X support, which probably isn't what you want. You will need
10819 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10820 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10821 esac
10822 enable_winex11_drv=${enable_winex11_drv:-no}
10825 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10827 if test "$ac_cv_header_CL_cl_h" = "yes"
10828 then
10829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10830 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10831 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10832 $as_echo_n "(cached) " >&6
10833 else
10834 ac_check_lib_save_LIBS=$LIBS
10835 LIBS="-lOpenCL $LIBS"
10836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10837 /* end confdefs.h. */
10839 /* Override any GCC internal prototype to avoid an error.
10840 Use char because int might match the return type of a GCC
10841 builtin and then its argument prototype would still apply. */
10842 #ifdef __cplusplus
10843 extern "C"
10844 #endif
10845 char clGetPlatformInfo ();
10847 main ()
10849 return clGetPlatformInfo ();
10851 return 0;
10853 _ACEOF
10854 if ac_fn_c_try_link "$LINENO"; then :
10855 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10856 else
10857 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10859 rm -f core conftest.err conftest.$ac_objext \
10860 conftest$ac_exeext conftest.$ac_ext
10861 LIBS=$ac_check_lib_save_LIBS
10863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10864 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10865 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10866 OPENCL_LIBS="-lOpenCL"
10871 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10872 case "x$with_opencl" in
10873 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10874 xno) ;;
10875 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10876 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10877 esac
10878 enable_opencl=${enable_opencl:-no}
10881 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10882 then
10883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10884 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10885 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10886 $as_echo_n "(cached) " >&6
10887 else
10888 ac_check_lib_save_LIBS=$LIBS
10889 LIBS="-lpcap $LIBS"
10890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10891 /* end confdefs.h. */
10893 /* Override any GCC internal prototype to avoid an error.
10894 Use char because int might match the return type of a GCC
10895 builtin and then its argument prototype would still apply. */
10896 #ifdef __cplusplus
10897 extern "C"
10898 #endif
10899 char pcap_create ();
10901 main ()
10903 return pcap_create ();
10905 return 0;
10907 _ACEOF
10908 if ac_fn_c_try_link "$LINENO"; then :
10909 ac_cv_lib_pcap_pcap_create=yes
10910 else
10911 ac_cv_lib_pcap_pcap_create=no
10913 rm -f core conftest.err conftest.$ac_objext \
10914 conftest$ac_exeext conftest.$ac_ext
10915 LIBS=$ac_check_lib_save_LIBS
10917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10918 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10919 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10920 PCAP_LIBS="-lpcap"
10925 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10926 case "x$with_pcap" in
10927 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10928 xno) ;;
10929 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10930 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10931 esac
10932 enable_wpcap=${enable_wpcap:-no}
10936 if test "x$with_xml" != "xno"
10937 then
10938 if ${XML2_CFLAGS:+false} :; then :
10939 if ${PKG_CONFIG+:} false; then :
10940 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10943 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
10944 if ${XML2_LIBS:+false} :; then :
10945 if ${PKG_CONFIG+:} false; then :
10946 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10949 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
10950 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10951 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10952 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10953 ac_save_CPPFLAGS=$CPPFLAGS
10954 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10955 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10956 do :
10957 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10958 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10959 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10960 cat >>confdefs.h <<_ACEOF
10961 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10962 _ACEOF
10966 done
10968 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"
10969 then
10970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10971 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10972 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10973 $as_echo_n "(cached) " >&6
10974 else
10975 ac_check_lib_save_LIBS=$LIBS
10976 LIBS="-lxml2 $XML2_LIBS $LIBS"
10977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10978 /* end confdefs.h. */
10980 /* Override any GCC internal prototype to avoid an error.
10981 Use char because int might match the return type of a GCC
10982 builtin and then its argument prototype would still apply. */
10983 #ifdef __cplusplus
10984 extern "C"
10985 #endif
10986 char xmlParseMemory ();
10988 main ()
10990 return xmlParseMemory ();
10992 return 0;
10994 _ACEOF
10995 if ac_fn_c_try_link "$LINENO"; then :
10996 ac_cv_lib_xml2_xmlParseMemory=yes
10997 else
10998 ac_cv_lib_xml2_xmlParseMemory=no
11000 rm -f core conftest.err conftest.$ac_objext \
11001 conftest$ac_exeext conftest.$ac_ext
11002 LIBS=$ac_check_lib_save_LIBS
11004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11005 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11006 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11008 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11010 else
11011 XML2_LIBS=""
11014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11015 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11016 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11017 $as_echo_n "(cached) " >&6
11018 else
11019 ac_check_lib_save_LIBS=$LIBS
11020 LIBS="-lxml2 $XML2_LIBS $LIBS"
11021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11022 /* end confdefs.h. */
11024 /* Override any GCC internal prototype to avoid an error.
11025 Use char because int might match the return type of a GCC
11026 builtin and then its argument prototype would still apply. */
11027 #ifdef __cplusplus
11028 extern "C"
11029 #endif
11030 char xmlReadMemory ();
11032 main ()
11034 return xmlReadMemory ();
11036 return 0;
11038 _ACEOF
11039 if ac_fn_c_try_link "$LINENO"; then :
11040 ac_cv_lib_xml2_xmlReadMemory=yes
11041 else
11042 ac_cv_lib_xml2_xmlReadMemory=no
11044 rm -f core conftest.err conftest.$ac_objext \
11045 conftest$ac_exeext conftest.$ac_ext
11046 LIBS=$ac_check_lib_save_LIBS
11048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11049 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11050 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11052 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11057 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11058 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11059 $as_echo_n "(cached) " >&6
11060 else
11061 ac_check_lib_save_LIBS=$LIBS
11062 LIBS="-lxml2 $XML2_LIBS $LIBS"
11063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11064 /* end confdefs.h. */
11066 /* Override any GCC internal prototype to avoid an error.
11067 Use char because int might match the return type of a GCC
11068 builtin and then its argument prototype would still apply. */
11069 #ifdef __cplusplus
11070 extern "C"
11071 #endif
11072 char xmlNewDocPI ();
11074 main ()
11076 return xmlNewDocPI ();
11078 return 0;
11080 _ACEOF
11081 if ac_fn_c_try_link "$LINENO"; then :
11082 ac_cv_lib_xml2_xmlNewDocPI=yes
11083 else
11084 ac_cv_lib_xml2_xmlNewDocPI=no
11086 rm -f core conftest.err conftest.$ac_objext \
11087 conftest$ac_exeext conftest.$ac_ext
11088 LIBS=$ac_check_lib_save_LIBS
11090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11091 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11092 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11094 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11099 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11100 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11101 $as_echo_n "(cached) " >&6
11102 else
11103 ac_check_lib_save_LIBS=$LIBS
11104 LIBS="-lxml2 $XML2_LIBS $LIBS"
11105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11106 /* end confdefs.h. */
11108 /* Override any GCC internal prototype to avoid an error.
11109 Use char because int might match the return type of a GCC
11110 builtin and then its argument prototype would still apply. */
11111 #ifdef __cplusplus
11112 extern "C"
11113 #endif
11114 char xmlSchemaSetParserStructuredErrors ();
11116 main ()
11118 return xmlSchemaSetParserStructuredErrors ();
11120 return 0;
11122 _ACEOF
11123 if ac_fn_c_try_link "$LINENO"; then :
11124 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11125 else
11126 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11128 rm -f core conftest.err conftest.$ac_objext \
11129 conftest$ac_exeext conftest.$ac_ext
11130 LIBS=$ac_check_lib_save_LIBS
11132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11133 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11134 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11136 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11141 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11142 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11143 $as_echo_n "(cached) " >&6
11144 else
11145 ac_check_lib_save_LIBS=$LIBS
11146 LIBS="-lxml2 $XML2_LIBS $LIBS"
11147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11148 /* end confdefs.h. */
11150 /* Override any GCC internal prototype to avoid an error.
11151 Use char because int might match the return type of a GCC
11152 builtin and then its argument prototype would still apply. */
11153 #ifdef __cplusplus
11154 extern "C"
11155 #endif
11156 char xmlSchemaSetValidStructuredErrors ();
11158 main ()
11160 return xmlSchemaSetValidStructuredErrors ();
11162 return 0;
11164 _ACEOF
11165 if ac_fn_c_try_link "$LINENO"; then :
11166 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11167 else
11168 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11170 rm -f core conftest.err conftest.$ac_objext \
11171 conftest$ac_exeext conftest.$ac_ext
11172 LIBS=$ac_check_lib_save_LIBS
11174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11175 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11176 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11178 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11183 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11184 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11185 $as_echo_n "(cached) " >&6
11186 else
11187 ac_check_lib_save_LIBS=$LIBS
11188 LIBS="-lxml2 $XML2_LIBS $LIBS"
11189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11190 /* end confdefs.h. */
11192 /* Override any GCC internal prototype to avoid an error.
11193 Use char because int might match the return type of a GCC
11194 builtin and then its argument prototype would still apply. */
11195 #ifdef __cplusplus
11196 extern "C"
11197 #endif
11198 char xmlFirstElementChild ();
11200 main ()
11202 return xmlFirstElementChild ();
11204 return 0;
11206 _ACEOF
11207 if ac_fn_c_try_link "$LINENO"; then :
11208 ac_cv_lib_xml2_xmlFirstElementChild=yes
11209 else
11210 ac_cv_lib_xml2_xmlFirstElementChild=no
11212 rm -f core conftest.err conftest.$ac_objext \
11213 conftest$ac_exeext conftest.$ac_ext
11214 LIBS=$ac_check_lib_save_LIBS
11216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11217 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11218 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11220 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11224 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11226 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11228 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11232 else
11233 XML2_CFLAGS=""
11234 XML2_LIBS=""
11236 CPPFLAGS=$ac_save_CPPFLAGS
11237 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11238 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11241 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11242 case "x$with_xml" in
11243 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11244 xno) ;;
11245 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11246 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11247 esac
11251 if test "x$with_xslt" != "xno"
11252 then
11253 if ${XSLT_CFLAGS:+false} :; then :
11254 if ${PKG_CONFIG+:} false; then :
11255 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11258 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11259 if ${XSLT_LIBS:+false} :; then :
11260 if ${PKG_CONFIG+:} false; then :
11261 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11264 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11265 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11266 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11267 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11268 ac_save_CPPFLAGS=$CPPFLAGS
11269 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11270 for ac_header in libxslt/pattern.h libxslt/transform.h
11271 do :
11272 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11273 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11274 # include <libxslt/pattern.h>
11275 #endif
11277 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11278 cat >>confdefs.h <<_ACEOF
11279 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11280 _ACEOF
11284 done
11286 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11287 then
11288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11289 $as_echo_n "checking for -lxslt... " >&6; }
11290 if ${ac_cv_lib_soname_xslt+:} false; then :
11291 $as_echo_n "(cached) " >&6
11292 else
11293 ac_check_soname_save_LIBS=$LIBS
11294 LIBS="-lxslt $XSLT_LIBS $LIBS"
11295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11296 /* end confdefs.h. */
11298 /* Override any GCC internal prototype to avoid an error.
11299 Use char because int might match the return type of a GCC
11300 builtin and then its argument prototype would still apply. */
11301 #ifdef __cplusplus
11302 extern "C"
11303 #endif
11304 char xsltCompilePattern ();
11306 main ()
11308 return xsltCompilePattern ();
11310 return 0;
11312 _ACEOF
11313 if ac_fn_c_try_link "$LINENO"; then :
11314 case "$LIBEXT" in
11315 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11316 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'` ;;
11317 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11318 if ${ac_cv_lib_soname_xslt:+false} :; then :
11319 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11320 fi ;;
11321 esac
11323 rm -f core conftest.err conftest.$ac_objext \
11324 conftest$ac_exeext conftest.$ac_ext
11325 LIBS=$ac_check_soname_save_LIBS
11327 if ${ac_cv_lib_soname_xslt:+false} :; then :
11328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11329 $as_echo "not found" >&6; }
11331 else
11332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11333 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11335 cat >>confdefs.h <<_ACEOF
11336 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11337 _ACEOF
11341 else
11342 XSLT_CFLAGS=""
11344 CPPFLAGS=$ac_save_CPPFLAGS
11345 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11346 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11349 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11350 case "x$with_xslt" in
11351 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11352 xno) ;;
11353 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11354 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11355 esac
11359 if test "x$with_dbus" != "xno"
11360 then
11361 if ${DBUS_CFLAGS:+false} :; then :
11362 if ${PKG_CONFIG+:} false; then :
11363 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11367 if ${DBUS_LIBS:+false} :; then :
11368 if ${PKG_CONFIG+:} false; then :
11369 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11374 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11375 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11376 ac_save_CPPFLAGS=$CPPFLAGS
11377 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11378 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11379 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11381 $as_echo_n "checking for -ldbus-1... " >&6; }
11382 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11383 $as_echo_n "(cached) " >&6
11384 else
11385 ac_check_soname_save_LIBS=$LIBS
11386 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11388 /* end confdefs.h. */
11390 /* Override any GCC internal prototype to avoid an error.
11391 Use char because int might match the return type of a GCC
11392 builtin and then its argument prototype would still apply. */
11393 #ifdef __cplusplus
11394 extern "C"
11395 #endif
11396 char dbus_connection_close ();
11398 main ()
11400 return dbus_connection_close ();
11402 return 0;
11404 _ACEOF
11405 if ac_fn_c_try_link "$LINENO"; then :
11406 case "$LIBEXT" in
11407 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11408 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'` ;;
11409 *) 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'`
11410 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11411 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11412 fi ;;
11413 esac
11415 rm -f core conftest.err conftest.$ac_objext \
11416 conftest$ac_exeext conftest.$ac_ext
11417 LIBS=$ac_check_soname_save_LIBS
11419 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11421 $as_echo "not found" >&6; }
11422 DBUS_CFLAGS=""
11423 else
11424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11425 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11427 cat >>confdefs.h <<_ACEOF
11428 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11429 _ACEOF
11433 else
11434 DBUS_CFLAGS=""
11438 CPPFLAGS=$ac_save_CPPFLAGS
11439 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11440 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11443 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11444 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11445 case "x$with_dbus" in
11446 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11447 xno) ;;
11448 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11449 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11450 esac
11454 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11455 then
11456 if ${HAL_CFLAGS:+false} :; then :
11457 if ${PKG_CONFIG+:} false; then :
11458 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11462 if ${HAL_LIBS:+false} :; then :
11463 if ${PKG_CONFIG+:} false; then :
11464 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11468 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11469 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11470 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11471 ac_save_CPPFLAGS=$CPPFLAGS
11472 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11473 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11474 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11476 $as_echo_n "checking for -lhal... " >&6; }
11477 if ${ac_cv_lib_soname_hal+:} false; then :
11478 $as_echo_n "(cached) " >&6
11479 else
11480 ac_check_soname_save_LIBS=$LIBS
11481 LIBS="-lhal $HAL_LIBS $LIBS"
11482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11483 /* end confdefs.h. */
11485 /* Override any GCC internal prototype to avoid an error.
11486 Use char because int might match the return type of a GCC
11487 builtin and then its argument prototype would still apply. */
11488 #ifdef __cplusplus
11489 extern "C"
11490 #endif
11491 char libhal_ctx_new ();
11493 main ()
11495 return libhal_ctx_new ();
11497 return 0;
11499 _ACEOF
11500 if ac_fn_c_try_link "$LINENO"; then :
11501 case "$LIBEXT" in
11502 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11503 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'` ;;
11504 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11505 if ${ac_cv_lib_soname_hal:+false} :; then :
11506 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11507 fi ;;
11508 esac
11510 rm -f core conftest.err conftest.$ac_objext \
11511 conftest$ac_exeext conftest.$ac_ext
11512 LIBS=$ac_check_soname_save_LIBS
11514 if ${ac_cv_lib_soname_hal:+false} :; then :
11515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11516 $as_echo "not found" >&6; }
11517 HAL_CFLAGS=""
11518 else
11519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11520 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11522 cat >>confdefs.h <<_ACEOF
11523 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11524 _ACEOF
11528 else
11529 HAL_CFLAGS=""
11533 CPPFLAGS=$ac_save_CPPFLAGS
11534 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11535 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11537 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11538 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11539 case "x$with_hal" in
11540 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11541 xno) ;;
11542 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11543 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11544 esac
11549 if test "x$with_gnutls" != "xno"
11550 then
11551 if ${GNUTLS_CFLAGS:+false} :; then :
11552 if ${PKG_CONFIG+:} false; then :
11553 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11557 if ${GNUTLS_LIBS:+false} :; then :
11558 if ${PKG_CONFIG+:} false; then :
11559 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11564 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11565 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11566 ac_save_CPPFLAGS=$CPPFLAGS
11567 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11568 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11569 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11571 /* end confdefs.h. */
11572 #include <gnutls/gnutls.h>
11573 #include <gnutls/crypto.h>
11575 main ()
11577 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11579 return 0;
11581 _ACEOF
11582 if ac_fn_c_try_compile "$LINENO"; then :
11583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11584 $as_echo_n "checking for -lgnutls... " >&6; }
11585 if ${ac_cv_lib_soname_gnutls+:} false; then :
11586 $as_echo_n "(cached) " >&6
11587 else
11588 ac_check_soname_save_LIBS=$LIBS
11589 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11591 /* end confdefs.h. */
11593 /* Override any GCC internal prototype to avoid an error.
11594 Use char because int might match the return type of a GCC
11595 builtin and then its argument prototype would still apply. */
11596 #ifdef __cplusplus
11597 extern "C"
11598 #endif
11599 char gnutls_global_init ();
11601 main ()
11603 return gnutls_global_init ();
11605 return 0;
11607 _ACEOF
11608 if ac_fn_c_try_link "$LINENO"; then :
11609 case "$LIBEXT" in
11610 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11611 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'` ;;
11612 *) 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'`
11613 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11614 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'`
11615 fi ;;
11616 esac
11618 rm -f core conftest.err conftest.$ac_objext \
11619 conftest$ac_exeext conftest.$ac_ext
11620 LIBS=$ac_check_soname_save_LIBS
11622 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11624 $as_echo "not found" >&6; }
11625 GNUTLS_CFLAGS=""
11626 else
11627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11628 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11630 cat >>confdefs.h <<_ACEOF
11631 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11632 _ACEOF
11636 ac_wine_check_funcs_save_LIBS="$LIBS"
11637 LIBS="$LIBS $GNUTLS_LIBS"
11638 for ac_func in gnutls_hash
11639 do :
11640 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11641 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11642 cat >>confdefs.h <<_ACEOF
11643 #define HAVE_GNUTLS_HASH 1
11644 _ACEOF
11646 else
11647 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11649 done
11651 LIBS="$ac_wine_check_funcs_save_LIBS"
11653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11654 else
11655 GNUTLS_CFLAGS=""
11659 CPPFLAGS=$ac_save_CPPFLAGS
11660 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11661 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11664 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11665 case "x$with_gnutls" in
11666 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11667 xno) ;;
11668 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11669 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11670 esac
11674 CURSES_LIBS=""
11675 if test "$ac_cv_header_ncurses_h" = "yes"
11676 then
11677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11678 $as_echo_n "checking for -lncurses... " >&6; }
11679 if ${ac_cv_lib_soname_ncurses+:} false; then :
11680 $as_echo_n "(cached) " >&6
11681 else
11682 ac_check_soname_save_LIBS=$LIBS
11683 LIBS="-lncurses $LIBS"
11684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11685 /* end confdefs.h. */
11687 /* Override any GCC internal prototype to avoid an error.
11688 Use char because int might match the return type of a GCC
11689 builtin and then its argument prototype would still apply. */
11690 #ifdef __cplusplus
11691 extern "C"
11692 #endif
11693 char waddch ();
11695 main ()
11697 return waddch ();
11699 return 0;
11701 _ACEOF
11702 if ac_fn_c_try_link "$LINENO"; then :
11703 case "$LIBEXT" in
11704 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11705 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'` ;;
11706 *) 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'`
11707 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11708 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11709 fi ;;
11710 esac
11712 rm -f core conftest.err conftest.$ac_objext \
11713 conftest$ac_exeext conftest.$ac_ext
11714 LIBS=$ac_check_soname_save_LIBS
11716 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11718 $as_echo "not found" >&6; }
11720 else
11721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11722 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11724 cat >>confdefs.h <<_ACEOF
11725 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11726 _ACEOF
11728 CURSES_LIBS="-lncurses"
11730 elif test "$ac_cv_header_curses_h" = "yes"
11731 then
11732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11733 $as_echo_n "checking for -lcurses... " >&6; }
11734 if ${ac_cv_lib_soname_curses+:} false; then :
11735 $as_echo_n "(cached) " >&6
11736 else
11737 ac_check_soname_save_LIBS=$LIBS
11738 LIBS="-lcurses $LIBS"
11739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11740 /* end confdefs.h. */
11742 /* Override any GCC internal prototype to avoid an error.
11743 Use char because int might match the return type of a GCC
11744 builtin and then its argument prototype would still apply. */
11745 #ifdef __cplusplus
11746 extern "C"
11747 #endif
11748 char waddch ();
11750 main ()
11752 return waddch ();
11754 return 0;
11756 _ACEOF
11757 if ac_fn_c_try_link "$LINENO"; then :
11758 case "$LIBEXT" in
11759 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11760 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'` ;;
11761 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11762 if ${ac_cv_lib_soname_curses:+false} :; then :
11763 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11764 fi ;;
11765 esac
11767 rm -f core conftest.err conftest.$ac_objext \
11768 conftest$ac_exeext conftest.$ac_ext
11769 LIBS=$ac_check_soname_save_LIBS
11771 if ${ac_cv_lib_soname_curses:+false} :; then :
11772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11773 $as_echo "not found" >&6; }
11775 else
11776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11777 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11779 cat >>confdefs.h <<_ACEOF
11780 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11781 _ACEOF
11783 CURSES_LIBS="-lcurses"
11786 ac_save_LIBS="$LIBS"
11787 LIBS="$LIBS $CURSES_LIBS"
11788 for ac_func in mousemask
11789 do :
11790 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11791 if test "x$ac_cv_func_mousemask" = xyes; then :
11792 cat >>confdefs.h <<_ACEOF
11793 #define HAVE_MOUSEMASK 1
11794 _ACEOF
11797 done
11799 LIBS="$ac_save_LIBS"
11800 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11801 case "x$with_curses" in
11802 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11803 xno) ;;
11804 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11805 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11806 esac
11810 if test "x$with_sane" != "xno"
11811 then
11812 if ${SANE_CFLAGS:+false} :; then :
11813 if ${PKG_CONFIG+:} false; then :
11814 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11817 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11818 if ${SANE_LIBS:+false} :; then :
11819 if ${PKG_CONFIG+:} false; then :
11820 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11823 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11825 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11826 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11827 ac_save_CPPFLAGS=$CPPFLAGS
11828 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11829 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11830 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11832 $as_echo_n "checking for -lsane... " >&6; }
11833 if ${ac_cv_lib_soname_sane+:} false; then :
11834 $as_echo_n "(cached) " >&6
11835 else
11836 ac_check_soname_save_LIBS=$LIBS
11837 LIBS="-lsane $SANE_LIBS $LIBS"
11838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11839 /* end confdefs.h. */
11841 /* Override any GCC internal prototype to avoid an error.
11842 Use char because int might match the return type of a GCC
11843 builtin and then its argument prototype would still apply. */
11844 #ifdef __cplusplus
11845 extern "C"
11846 #endif
11847 char sane_init ();
11849 main ()
11851 return sane_init ();
11853 return 0;
11855 _ACEOF
11856 if ac_fn_c_try_link "$LINENO"; then :
11857 case "$LIBEXT" in
11858 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11859 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'` ;;
11860 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11861 if ${ac_cv_lib_soname_sane:+false} :; then :
11862 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11863 fi ;;
11864 esac
11866 rm -f core conftest.err conftest.$ac_objext \
11867 conftest$ac_exeext conftest.$ac_ext
11868 LIBS=$ac_check_soname_save_LIBS
11870 if ${ac_cv_lib_soname_sane:+false} :; then :
11871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11872 $as_echo "not found" >&6; }
11873 SANE_CFLAGS=""
11874 else
11875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11876 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11878 cat >>confdefs.h <<_ACEOF
11879 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11880 _ACEOF
11884 else
11885 SANE_CFLAGS=""
11889 CPPFLAGS=$ac_save_CPPFLAGS
11890 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11891 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11894 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11895 case "x$with_sane" in
11896 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11897 xno) ;;
11898 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11899 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11900 esac
11904 if test "x$with_v4l" != "xno"
11905 then
11906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11907 $as_echo_n "checking for -lv4l1... " >&6; }
11908 if ${ac_cv_lib_soname_v4l1+:} false; then :
11909 $as_echo_n "(cached) " >&6
11910 else
11911 ac_check_soname_save_LIBS=$LIBS
11912 LIBS="-lv4l1 $LIBS"
11913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11914 /* end confdefs.h. */
11916 /* Override any GCC internal prototype to avoid an error.
11917 Use char because int might match the return type of a GCC
11918 builtin and then its argument prototype would still apply. */
11919 #ifdef __cplusplus
11920 extern "C"
11921 #endif
11922 char v4l1_open ();
11924 main ()
11926 return v4l1_open ();
11928 return 0;
11930 _ACEOF
11931 if ac_fn_c_try_link "$LINENO"; then :
11932 case "$LIBEXT" in
11933 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11934 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'` ;;
11935 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11936 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11937 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11938 fi ;;
11939 esac
11941 rm -f core conftest.err conftest.$ac_objext \
11942 conftest$ac_exeext conftest.$ac_ext
11943 LIBS=$ac_check_soname_save_LIBS
11945 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11947 $as_echo "not found" >&6; }
11949 else
11950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11951 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11953 cat >>confdefs.h <<_ACEOF
11954 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11955 _ACEOF
11960 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11961 case "x$with_v4l" in
11962 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11963 xno) ;;
11964 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11965 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11966 esac
11970 if test "x$with_gphoto" != "xno"
11971 then
11972 if ${GPHOTO2_CFLAGS:+false} :; then :
11973 if ${PKG_CONFIG+:} false; then :
11974 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11977 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
11978 if ${GPHOTO2_LIBS:+false} :; then :
11979 if ${PKG_CONFIG+:} false; then :
11980 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11983 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
11984 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11985 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11986 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11987 ac_save_CPPFLAGS=$CPPFLAGS
11988 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11989 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11990 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11992 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11993 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11994 $as_echo_n "(cached) " >&6
11995 else
11996 ac_check_lib_save_LIBS=$LIBS
11997 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11999 /* end confdefs.h. */
12001 /* Override any GCC internal prototype to avoid an error.
12002 Use char because int might match the return type of a GCC
12003 builtin and then its argument prototype would still apply. */
12004 #ifdef __cplusplus
12005 extern "C"
12006 #endif
12007 char gp_camera_new ();
12009 main ()
12011 return gp_camera_new ();
12013 return 0;
12015 _ACEOF
12016 if ac_fn_c_try_link "$LINENO"; then :
12017 ac_cv_lib_gphoto2_gp_camera_new=yes
12018 else
12019 ac_cv_lib_gphoto2_gp_camera_new=no
12021 rm -f core conftest.err conftest.$ac_objext \
12022 conftest$ac_exeext conftest.$ac_ext
12023 LIBS=$ac_check_lib_save_LIBS
12025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12026 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12027 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12029 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12031 else
12032 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12035 else
12036 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12040 CPPFLAGS=$ac_save_CPPFLAGS
12041 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12042 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12044 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12045 if ${PKG_CONFIG+:} false; then :
12046 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12049 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12050 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12051 if ${PKG_CONFIG+:} false; then :
12052 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12055 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12056 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12057 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12058 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12059 ac_save_CPPFLAGS=$CPPFLAGS
12060 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12061 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12062 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12064 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12065 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12066 $as_echo_n "(cached) " >&6
12067 else
12068 ac_check_lib_save_LIBS=$LIBS
12069 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12071 /* end confdefs.h. */
12073 /* Override any GCC internal prototype to avoid an error.
12074 Use char because int might match the return type of a GCC
12075 builtin and then its argument prototype would still apply. */
12076 #ifdef __cplusplus
12077 extern "C"
12078 #endif
12079 char gp_port_info_list_new ();
12081 main ()
12083 return gp_port_info_list_new ();
12085 return 0;
12087 _ACEOF
12088 if ac_fn_c_try_link "$LINENO"; then :
12089 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12090 else
12091 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12093 rm -f core conftest.err conftest.$ac_objext \
12094 conftest$ac_exeext conftest.$ac_ext
12095 LIBS=$ac_check_lib_save_LIBS
12097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12098 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12099 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12101 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12103 else
12104 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12107 else
12108 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12112 CPPFLAGS=$ac_save_CPPFLAGS
12113 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12114 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12117 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12118 case "x$with_gphoto" in
12119 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12120 xno) ;;
12121 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12122 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12123 esac
12126 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12127 case "x$with_gphoto" in
12128 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12129 xno) ;;
12130 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12131 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12132 esac
12137 if test "$ac_cv_header_resolv_h" = "yes"
12138 then
12139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12140 $as_echo_n "checking for resolver library... " >&6; }
12141 if ${ac_cv_have_resolv+:} false; then :
12142 $as_echo_n "(cached) " >&6
12143 else
12144 ac_save_LIBS="$LIBS"
12145 for lib in '' -lresolv
12147 LIBS="$lib $ac_save_LIBS"
12148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12149 /* end confdefs.h. */
12150 #ifdef HAVE_NETINET_IN_H
12151 #include <netinet/in.h>
12152 #endif
12153 #include <resolv.h>
12155 main ()
12157 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12159 return 0;
12161 _ACEOF
12162 if ac_fn_c_try_link "$LINENO"; then :
12163 ac_cv_have_resolv=${lib:-"none required"}
12164 else
12165 ac_cv_have_resolv="not found"
12167 rm -f core conftest.err conftest.$ac_objext \
12168 conftest$ac_exeext conftest.$ac_ext
12169 test "x$ac_cv_have_resolv" = "xnot found" || break
12170 done
12171 LIBS="$ac_save_LIBS"
12173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12174 $as_echo "$ac_cv_have_resolv" >&6; }
12176 case "$ac_cv_have_resolv" in
12177 "not found") ;;
12178 "none required")
12180 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12183 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12185 RESOLV_LIBS=$ac_cv_have_resolv
12187 esac
12190 if test "x$with_cms" != "xno"
12191 then
12192 if ${LCMS2_CFLAGS:+false} :; then :
12193 if ${PKG_CONFIG+:} false; then :
12194 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12198 if ${LCMS2_LIBS:+false} :; then :
12199 if ${PKG_CONFIG+:} false; then :
12200 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12204 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12205 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12206 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12207 ac_save_CPPFLAGS=$CPPFLAGS
12208 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12209 for ac_header in lcms2.h
12210 do :
12211 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12212 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12213 cat >>confdefs.h <<_ACEOF
12214 #define HAVE_LCMS2_H 1
12215 _ACEOF
12219 done
12221 if test "$ac_cv_header_lcms2_h" = "yes"
12222 then
12223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12224 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12225 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12226 $as_echo_n "(cached) " >&6
12227 else
12228 ac_check_lib_save_LIBS=$LIBS
12229 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12231 /* end confdefs.h. */
12233 /* Override any GCC internal prototype to avoid an error.
12234 Use char because int might match the return type of a GCC
12235 builtin and then its argument prototype would still apply. */
12236 #ifdef __cplusplus
12237 extern "C"
12238 #endif
12239 char cmsOpenProfileFromFile ();
12241 main ()
12243 return cmsOpenProfileFromFile ();
12245 return 0;
12247 _ACEOF
12248 if ac_fn_c_try_link "$LINENO"; then :
12249 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12250 else
12251 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12253 rm -f core conftest.err conftest.$ac_objext \
12254 conftest$ac_exeext conftest.$ac_ext
12255 LIBS=$ac_check_lib_save_LIBS
12257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12258 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12259 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12261 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12263 else
12264 LCMS2_LIBS=""
12267 else
12268 LCMS2_CFLAGS=""
12269 LCMS2_LIBS=""
12271 CPPFLAGS=$ac_save_CPPFLAGS
12272 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12273 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12276 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12277 case "x$with_cms" in
12278 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12279 xno) ;;
12280 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12281 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12282 esac
12286 if test "x$with_freetype" != "xno"
12287 then
12288 if ${FREETYPE_CFLAGS:+false} :; then :
12289 if ${PKG_CONFIG+:} false; then :
12290 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12293 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12294 if ${FREETYPE_LIBS:+false} :; then :
12295 if ${PKG_CONFIG+:} false; then :
12296 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12299 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12300 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12301 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12302 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12303 ac_save_CPPFLAGS=$CPPFLAGS
12304 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12305 for ac_header in ft2build.h
12306 do :
12307 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12308 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12309 cat >>confdefs.h <<_ACEOF
12310 #define HAVE_FT2BUILD_H 1
12311 _ACEOF
12315 done
12317 if test "$ac_cv_header_ft2build_h" = "yes"
12318 then
12319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12320 $as_echo_n "checking for -lfreetype... " >&6; }
12321 if ${ac_cv_lib_soname_freetype+:} false; then :
12322 $as_echo_n "(cached) " >&6
12323 else
12324 ac_check_soname_save_LIBS=$LIBS
12325 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12327 /* end confdefs.h. */
12329 /* Override any GCC internal prototype to avoid an error.
12330 Use char because int might match the return type of a GCC
12331 builtin and then its argument prototype would still apply. */
12332 #ifdef __cplusplus
12333 extern "C"
12334 #endif
12335 char FT_Init_FreeType ();
12337 main ()
12339 return FT_Init_FreeType ();
12341 return 0;
12343 _ACEOF
12344 if ac_fn_c_try_link "$LINENO"; then :
12345 case "$LIBEXT" in
12346 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12347 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'` ;;
12348 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12349 if ${ac_cv_lib_soname_freetype:+false} :; then :
12350 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12351 fi ;;
12352 esac
12354 rm -f core conftest.err conftest.$ac_objext \
12355 conftest$ac_exeext conftest.$ac_ext
12356 LIBS=$ac_check_soname_save_LIBS
12358 if ${ac_cv_lib_soname_freetype:+false} :; then :
12359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12360 $as_echo "not found" >&6; }
12361 FREETYPE_LIBS=""
12362 else
12363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12364 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12366 cat >>confdefs.h <<_ACEOF
12367 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12368 _ACEOF
12371 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12373 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12374 #include FT_MODULE_H
12376 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12378 cat >>confdefs.h <<_ACEOF
12379 #define HAVE_FT_TRUETYPEENGINETYPE 1
12380 _ACEOF
12386 else
12387 FREETYPE_CFLAGS=""
12388 FREETYPE_LIBS=""
12390 CPPFLAGS=$ac_save_CPPFLAGS
12391 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12392 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12395 if test "x$ac_cv_lib_soname_freetype" = x; then :
12396 case "x$with_freetype" in
12397 xno) ;;
12398 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12399 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12400 esac
12401 enable_fonts=${enable_fonts:-no}
12404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12405 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12406 if ${ac_cv_c_ppdev+:} false; then :
12407 $as_echo_n "(cached) " >&6
12408 else
12409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12410 /* end confdefs.h. */
12411 #ifdef HAVE_SYS_IOCTL_H
12412 # include <sys/ioctl.h>
12413 #endif
12414 #include <linux/ppdev.h>
12416 main ()
12418 ioctl (1,PPCLAIM,0)
12420 return 0;
12422 _ACEOF
12423 if ac_fn_c_try_compile "$LINENO"; then :
12424 ac_cv_c_ppdev="yes"
12425 else
12426 ac_cv_c_ppdev="no"
12428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12431 $as_echo "$ac_cv_c_ppdev" >&6; }
12432 if test "$ac_cv_c_ppdev" = "yes"
12433 then
12435 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12439 ac_wine_check_funcs_save_LIBS="$LIBS"
12440 LIBS="$LIBS $PTHREAD_LIBS"
12441 for ac_func in \
12442 pthread_attr_get_np \
12443 pthread_getattr_np \
12444 pthread_getthreadid_np \
12445 pthread_get_stackaddr_np \
12446 pthread_get_stacksize_np
12447 do :
12448 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12449 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12450 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12451 cat >>confdefs.h <<_ACEOF
12452 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12453 _ACEOF
12456 done
12458 LIBS="$ac_wine_check_funcs_save_LIBS"
12460 if test "$ac_cv_header_zlib_h" = "yes"
12461 then
12462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12463 $as_echo_n "checking for inflate in -lz... " >&6; }
12464 if ${ac_cv_lib_z_inflate+:} false; then :
12465 $as_echo_n "(cached) " >&6
12466 else
12467 ac_check_lib_save_LIBS=$LIBS
12468 LIBS="-lz $LIBS"
12469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12470 /* end confdefs.h. */
12472 /* Override any GCC internal prototype to avoid an error.
12473 Use char because int might match the return type of a GCC
12474 builtin and then its argument prototype would still apply. */
12475 #ifdef __cplusplus
12476 extern "C"
12477 #endif
12478 char inflate ();
12480 main ()
12482 return inflate ();
12484 return 0;
12486 _ACEOF
12487 if ac_fn_c_try_link "$LINENO"; then :
12488 ac_cv_lib_z_inflate=yes
12489 else
12490 ac_cv_lib_z_inflate=no
12492 rm -f core conftest.err conftest.$ac_objext \
12493 conftest$ac_exeext conftest.$ac_ext
12494 LIBS=$ac_check_lib_save_LIBS
12496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12497 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12498 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12500 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12502 Z_LIBS="-lz"
12507 if test "x$Z_LIBS" = "x"; then :
12508 case "x$with_zlib" in
12509 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12510 xno) ;;
12511 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12512 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12513 esac
12517 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12518 then
12519 if test "$ac_cv_header_gettext_po_h" = "yes"
12520 then
12521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12522 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12523 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12524 $as_echo_n "(cached) " >&6
12525 else
12526 ac_check_lib_save_LIBS=$LIBS
12527 LIBS="-lgettextpo $LIBS"
12528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12529 /* end confdefs.h. */
12531 /* Override any GCC internal prototype to avoid an error.
12532 Use char because int might match the return type of a GCC
12533 builtin and then its argument prototype would still apply. */
12534 #ifdef __cplusplus
12535 extern "C"
12536 #endif
12537 char po_message_msgctxt ();
12539 main ()
12541 return po_message_msgctxt ();
12543 return 0;
12545 _ACEOF
12546 if ac_fn_c_try_link "$LINENO"; then :
12547 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12548 else
12549 ac_cv_lib_gettextpo_po_message_msgctxt=no
12551 rm -f core conftest.err conftest.$ac_objext \
12552 conftest$ac_exeext conftest.$ac_ext
12553 LIBS=$ac_check_lib_save_LIBS
12555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12556 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12557 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12559 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12561 GETTEXTPO_LIBS="-lgettextpo"
12566 if test "x$GETTEXTPO_LIBS" = "x"; then :
12567 case "x$with_gettextpo" in
12568 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12569 xno) ;;
12570 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12571 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12572 esac
12575 if test "$srcdir" != .; then :
12576 case "x$with_gettextpo" in
12577 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12578 xno) ;;
12579 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12580 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12581 esac
12586 if test "x$with_pulse" != "xno";
12587 then
12588 if ${PULSE_CFLAGS:+false} :; then :
12589 if ${PKG_CONFIG+:} false; then :
12590 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12594 if ${PULSE_LIBS:+false} :; then :
12595 if ${PKG_CONFIG+:} false; then :
12596 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12601 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12602 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12603 ac_save_CPPFLAGS=$CPPFLAGS
12604 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12605 for ac_header in pulse/pulseaudio.h
12606 do :
12607 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12608 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12609 cat >>confdefs.h <<_ACEOF
12610 #define HAVE_PULSE_PULSEAUDIO_H 1
12611 _ACEOF
12612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12613 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12614 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12615 $as_echo_n "(cached) " >&6
12616 else
12617 ac_check_lib_save_LIBS=$LIBS
12618 LIBS="-lpulse $PULSE_LIBS $LIBS"
12619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12620 /* end confdefs.h. */
12622 /* Override any GCC internal prototype to avoid an error.
12623 Use char because int might match the return type of a GCC
12624 builtin and then its argument prototype would still apply. */
12625 #ifdef __cplusplus
12626 extern "C"
12627 #endif
12628 char pa_stream_is_corked ();
12630 main ()
12632 return pa_stream_is_corked ();
12634 return 0;
12636 _ACEOF
12637 if ac_fn_c_try_link "$LINENO"; then :
12638 ac_cv_lib_pulse_pa_stream_is_corked=yes
12639 else
12640 ac_cv_lib_pulse_pa_stream_is_corked=no
12642 rm -f core conftest.err conftest.$ac_objext \
12643 conftest$ac_exeext conftest.$ac_ext
12644 LIBS=$ac_check_lib_save_LIBS
12646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12647 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12648 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12650 else
12651 PULSE_LIBS=""
12654 else
12655 PULSE_LIBS=""
12658 done
12660 CPPFLAGS=$ac_save_CPPFLAGS
12661 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12662 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12665 if test -z "$PULSE_LIBS"; then :
12666 case "x$with_pulse" in
12667 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12668 xno) ;;
12669 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12670 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12671 esac
12672 enable_winepulse_drv=${enable_winepulse_drv:-no}
12675 if test "x$with_gstreamer" != "xno"
12676 then
12677 if ${GSTREAMER_CFLAGS:+false} :; then :
12678 if ${PKG_CONFIG+:} false; then :
12679 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12683 if ${GSTREAMER_LIBS:+false} :; then :
12684 if ${PKG_CONFIG+:} false; then :
12685 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12690 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12691 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12692 ac_save_CPPFLAGS=$CPPFLAGS
12693 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12694 ac_gst_incl=""
12695 for i in $GSTREAMER_CFLAGS
12697 case "$i" in
12698 -I*) ac_gst_incl="$ac_gst_incl $i";;
12699 esac
12700 done
12701 GSTREAMER_CFLAGS=$ac_gst_incl
12702 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12703 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12704 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12706 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12708 /* end confdefs.h. */
12709 #include <gst/gst.h>
12711 main ()
12713 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12715 return 0;
12717 _ACEOF
12718 if ac_fn_c_try_compile "$LINENO"; then :
12719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12720 $as_echo "yes" >&6; }
12721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12722 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12723 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12724 $as_echo_n "(cached) " >&6
12725 else
12726 ac_check_lib_save_LIBS=$LIBS
12727 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12729 /* end confdefs.h. */
12731 /* Override any GCC internal prototype to avoid an error.
12732 Use char because int might match the return type of a GCC
12733 builtin and then its argument prototype would still apply. */
12734 #ifdef __cplusplus
12735 extern "C"
12736 #endif
12737 char gst_pad_new ();
12739 main ()
12741 return gst_pad_new ();
12743 return 0;
12745 _ACEOF
12746 if ac_fn_c_try_link "$LINENO"; then :
12747 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12748 else
12749 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12751 rm -f core conftest.err conftest.$ac_objext \
12752 conftest$ac_exeext conftest.$ac_ext
12753 LIBS=$ac_check_lib_save_LIBS
12755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12756 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12757 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12761 else
12762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12763 $as_echo "no" >&6; }
12764 ac_glib2_broken=yes
12765 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12771 CPPFLAGS=$ac_save_CPPFLAGS
12772 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12773 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12776 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 :
12777 case "x$with_gstreamer" in
12778 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12779 xno) ;;
12780 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12781 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12782 esac
12785 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12787 ALSA_LIBS=""
12789 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12790 then
12791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12792 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12793 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12794 $as_echo_n "(cached) " >&6
12795 else
12796 ac_check_lib_save_LIBS=$LIBS
12797 LIBS="-lasound $LIBS"
12798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12799 /* end confdefs.h. */
12801 /* Override any GCC internal prototype to avoid an error.
12802 Use char because int might match the return type of a GCC
12803 builtin and then its argument prototype would still apply. */
12804 #ifdef __cplusplus
12805 extern "C"
12806 #endif
12807 char snd_pcm_hw_params_get_access_mask ();
12809 main ()
12811 return snd_pcm_hw_params_get_access_mask ();
12813 return 0;
12815 _ACEOF
12816 if ac_fn_c_try_link "$LINENO"; then :
12817 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12818 else
12819 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12821 rm -f core conftest.err conftest.$ac_objext \
12822 conftest$ac_exeext conftest.$ac_ext
12823 LIBS=$ac_check_lib_save_LIBS
12825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12826 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12827 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12829 /* end confdefs.h. */
12830 #ifdef HAVE_ALSA_ASOUNDLIB_H
12831 #include <alsa/asoundlib.h>
12832 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12833 #include <sys/asoundlib.h>
12834 #endif
12836 main ()
12838 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12840 return 0;
12842 _ACEOF
12843 if ac_fn_c_try_compile "$LINENO"; then :
12844 ALSA_LIBS="-lasound"
12846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12850 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12852 if test "x$with_oss" != xno
12853 then
12854 ac_save_CPPFLAGS="$CPPFLAGS"
12855 if test -f /etc/oss.conf
12856 then
12857 . /etc/oss.conf
12859 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12860 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12861 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12862 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12863 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12865 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12867 cat >>confdefs.h <<_ACEOF
12868 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12869 _ACEOF
12871 OSS4_CFLAGS="$ac_oss_incl"
12878 CPPFLAGS="$ac_save_CPPFLAGS"
12880 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
12881 case "x$with_oss" in
12882 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
12883 xno) ;;
12884 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
12885 This is an error since --with-oss was requested." "$LINENO" 5 ;;
12886 esac
12887 enable_wineoss_drv=${enable_wineoss_drv:-no}
12890 if test "x$with_capi" != "xno"
12891 then
12892 if ${CAPI20_CFLAGS:+false} :; then :
12893 if ${PKG_CONFIG+:} false; then :
12894 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12898 if ${CAPI20_LIBS:+false} :; then :
12899 if ${PKG_CONFIG+:} false; then :
12900 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12905 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12906 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12907 ac_save_CPPFLAGS=$CPPFLAGS
12908 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12909 for ac_header in capi20.h linux/capi.h
12910 do :
12911 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12912 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12914 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12915 cat >>confdefs.h <<_ACEOF
12916 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12917 _ACEOF
12921 done
12923 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12924 then
12925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12926 $as_echo_n "checking for -lcapi20... " >&6; }
12927 if ${ac_cv_lib_soname_capi20+:} false; then :
12928 $as_echo_n "(cached) " >&6
12929 else
12930 ac_check_soname_save_LIBS=$LIBS
12931 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12933 /* end confdefs.h. */
12935 /* Override any GCC internal prototype to avoid an error.
12936 Use char because int might match the return type of a GCC
12937 builtin and then its argument prototype would still apply. */
12938 #ifdef __cplusplus
12939 extern "C"
12940 #endif
12941 char capi20_register ();
12943 main ()
12945 return capi20_register ();
12947 return 0;
12949 _ACEOF
12950 if ac_fn_c_try_link "$LINENO"; then :
12951 case "$LIBEXT" in
12952 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12953 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'` ;;
12954 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12955 if ${ac_cv_lib_soname_capi20:+false} :; then :
12956 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12957 fi ;;
12958 esac
12960 rm -f core conftest.err conftest.$ac_objext \
12961 conftest$ac_exeext conftest.$ac_ext
12962 LIBS=$ac_check_soname_save_LIBS
12964 if ${ac_cv_lib_soname_capi20:+false} :; then :
12965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12966 $as_echo "not found" >&6; }
12968 else
12969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12970 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12972 cat >>confdefs.h <<_ACEOF
12973 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12974 _ACEOF
12979 CPPFLAGS=$ac_save_CPPFLAGS
12980 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12981 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12984 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12985 case "x$with_capi" in
12986 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12987 xno) ;;
12988 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12989 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12990 esac
12994 CUPS_CFLAGS=""
12996 if test "x$with_cups" != "xno"
12997 then
12998 ac_save_CPPFLAGS="$CPPFLAGS"
12999 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13000 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13001 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
13002 for ac_header in cups/cups.h
13003 do :
13004 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13005 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
13006 cat >>confdefs.h <<_ACEOF
13007 #define HAVE_CUPS_CUPS_H 1
13008 _ACEOF
13009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13010 $as_echo_n "checking for -lcups... " >&6; }
13011 if ${ac_cv_lib_soname_cups+:} false; then :
13012 $as_echo_n "(cached) " >&6
13013 else
13014 ac_check_soname_save_LIBS=$LIBS
13015 LIBS="-lcups $ac_cups_libs $LIBS"
13016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13017 /* end confdefs.h. */
13019 /* Override any GCC internal prototype to avoid an error.
13020 Use char because int might match the return type of a GCC
13021 builtin and then its argument prototype would still apply. */
13022 #ifdef __cplusplus
13023 extern "C"
13024 #endif
13025 char cupsGetDefault ();
13027 main ()
13029 return cupsGetDefault ();
13031 return 0;
13033 _ACEOF
13034 if ac_fn_c_try_link "$LINENO"; then :
13035 case "$LIBEXT" in
13036 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13037 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'` ;;
13038 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13039 if ${ac_cv_lib_soname_cups:+false} :; then :
13040 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13041 fi ;;
13042 esac
13044 rm -f core conftest.err conftest.$ac_objext \
13045 conftest$ac_exeext conftest.$ac_ext
13046 LIBS=$ac_check_soname_save_LIBS
13048 if ${ac_cv_lib_soname_cups:+false} :; then :
13049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13050 $as_echo "not found" >&6; }
13052 else
13053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13054 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13056 cat >>confdefs.h <<_ACEOF
13057 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13058 _ACEOF
13060 CUPS_CFLAGS="$ac_cups_cflags"
13062 for ac_header in cups/ppd.h
13063 do :
13064 ac_fn_c_check_header_mongrel "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13065 if test "x$ac_cv_header_cups_ppd_h" = xyes; then :
13066 cat >>confdefs.h <<_ACEOF
13067 #define HAVE_CUPS_PPD_H 1
13068 _ACEOF
13072 done
13076 done
13078 CPPFLAGS="$ac_save_CPPFLAGS"
13080 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13081 case "x$with_cups" in
13082 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13083 xno) ;;
13084 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13085 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13086 esac
13090 if test "x$with_fontconfig" != "xno"
13091 then
13092 if ${FONTCONFIG_CFLAGS:+false} :; then :
13093 if ${PKG_CONFIG+:} false; then :
13094 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13097 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13098 if ${FONTCONFIG_LIBS:+false} :; then :
13099 if ${PKG_CONFIG+:} false; then :
13100 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13103 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13105 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13106 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13107 ac_save_CPPFLAGS=$CPPFLAGS
13108 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13109 for ac_header in fontconfig/fontconfig.h
13110 do :
13111 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13112 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13113 cat >>confdefs.h <<_ACEOF
13114 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13115 _ACEOF
13119 done
13121 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13122 then
13123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13124 $as_echo_n "checking for -lfontconfig... " >&6; }
13125 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13126 $as_echo_n "(cached) " >&6
13127 else
13128 ac_check_soname_save_LIBS=$LIBS
13129 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13131 /* end confdefs.h. */
13133 /* Override any GCC internal prototype to avoid an error.
13134 Use char because int might match the return type of a GCC
13135 builtin and then its argument prototype would still apply. */
13136 #ifdef __cplusplus
13137 extern "C"
13138 #endif
13139 char FcInit ();
13141 main ()
13143 return FcInit ();
13145 return 0;
13147 _ACEOF
13148 if ac_fn_c_try_link "$LINENO"; then :
13149 case "$LIBEXT" in
13150 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13151 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'` ;;
13152 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13153 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13154 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13155 fi ;;
13156 esac
13158 rm -f core conftest.err conftest.$ac_objext \
13159 conftest$ac_exeext conftest.$ac_ext
13160 LIBS=$ac_check_soname_save_LIBS
13162 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13164 $as_echo "not found" >&6; }
13165 FONTCONFIG_CFLAGS=""
13166 else
13167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13168 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13170 cat >>confdefs.h <<_ACEOF
13171 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13172 _ACEOF
13176 else
13177 FONTCONFIG_CFLAGS=""
13179 CPPFLAGS=$ac_save_CPPFLAGS
13180 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13181 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13184 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13185 case "x$with_fontconfig" in
13186 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13187 xno) ;;
13188 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13189 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13190 esac
13194 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13195 then
13196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13197 $as_echo_n "checking for -lgsm... " >&6; }
13198 if ${ac_cv_lib_soname_gsm+:} false; then :
13199 $as_echo_n "(cached) " >&6
13200 else
13201 ac_check_soname_save_LIBS=$LIBS
13202 LIBS="-lgsm $LIBS"
13203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13204 /* end confdefs.h. */
13206 /* Override any GCC internal prototype to avoid an error.
13207 Use char because int might match the return type of a GCC
13208 builtin and then its argument prototype would still apply. */
13209 #ifdef __cplusplus
13210 extern "C"
13211 #endif
13212 char gsm_create ();
13214 main ()
13216 return gsm_create ();
13218 return 0;
13220 _ACEOF
13221 if ac_fn_c_try_link "$LINENO"; then :
13222 case "$LIBEXT" in
13223 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13224 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'` ;;
13225 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13226 if ${ac_cv_lib_soname_gsm:+false} :; then :
13227 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13228 fi ;;
13229 esac
13231 rm -f core conftest.err conftest.$ac_objext \
13232 conftest$ac_exeext conftest.$ac_ext
13233 LIBS=$ac_check_soname_save_LIBS
13235 if ${ac_cv_lib_soname_gsm:+false} :; then :
13236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13237 $as_echo "not found" >&6; }
13239 else
13240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13241 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13243 cat >>confdefs.h <<_ACEOF
13244 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13245 _ACEOF
13250 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13251 case "x$with_gsm" in
13252 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13253 xno) ;;
13254 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13255 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13256 esac
13260 if test "x$with_jpeg" != "xno"
13261 then
13262 if ${JPEG_CFLAGS:+false} :; then :
13263 if ${PKG_CONFIG+:} false; then :
13264 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13268 if ${JPEG_LIBS:+false} :; then :
13269 if ${PKG_CONFIG+:} false; then :
13270 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13275 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13276 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13277 ac_save_CPPFLAGS=$CPPFLAGS
13278 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13279 for ac_header in jpeglib.h
13280 do :
13281 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13282 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13283 cat >>confdefs.h <<_ACEOF
13284 #define HAVE_JPEGLIB_H 1
13285 _ACEOF
13289 done
13291 if test "$ac_cv_header_jpeglib_h" = "yes"
13292 then
13293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13294 $as_echo_n "checking for -ljpeg... " >&6; }
13295 if ${ac_cv_lib_soname_jpeg+:} false; then :
13296 $as_echo_n "(cached) " >&6
13297 else
13298 ac_check_soname_save_LIBS=$LIBS
13299 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13301 /* end confdefs.h. */
13303 /* Override any GCC internal prototype to avoid an error.
13304 Use char because int might match the return type of a GCC
13305 builtin and then its argument prototype would still apply. */
13306 #ifdef __cplusplus
13307 extern "C"
13308 #endif
13309 char jpeg_start_decompress ();
13311 main ()
13313 return jpeg_start_decompress ();
13315 return 0;
13317 _ACEOF
13318 if ac_fn_c_try_link "$LINENO"; then :
13319 case "$LIBEXT" in
13320 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13321 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'` ;;
13322 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13323 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13324 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13325 fi ;;
13326 esac
13328 rm -f core conftest.err conftest.$ac_objext \
13329 conftest$ac_exeext conftest.$ac_ext
13330 LIBS=$ac_check_soname_save_LIBS
13332 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13334 $as_echo "not found" >&6; }
13335 JPEG_CFLAGS=""
13336 else
13337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13338 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13340 cat >>confdefs.h <<_ACEOF
13341 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13342 _ACEOF
13346 else
13347 JPEG_CFLAGS=""
13349 CPPFLAGS=$ac_save_CPPFLAGS
13350 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13351 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13354 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13355 case "x$with_jpeg" in
13356 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13357 xno) ;;
13358 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13359 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13360 esac
13364 if test "x$with_png" != "xno"
13365 then
13366 if ${PNG_CFLAGS:+false} :; then :
13367 if ${PKG_CONFIG+:} false; then :
13368 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13371 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13372 if ${PNG_LIBS:+false} :; then :
13373 if ${PKG_CONFIG+:} false; then :
13374 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13377 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13379 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13380 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13381 ac_save_CPPFLAGS=$CPPFLAGS
13382 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13383 for ac_header in png.h
13384 do :
13385 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13386 if test "x$ac_cv_header_png_h" = xyes; then :
13387 cat >>confdefs.h <<_ACEOF
13388 #define HAVE_PNG_H 1
13389 _ACEOF
13393 done
13395 if test "$ac_cv_header_png_h" = "yes"
13396 then
13397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13398 $as_echo_n "checking for -lpng... " >&6; }
13399 if ${ac_cv_lib_soname_png+:} false; then :
13400 $as_echo_n "(cached) " >&6
13401 else
13402 ac_check_soname_save_LIBS=$LIBS
13403 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13405 /* end confdefs.h. */
13407 /* Override any GCC internal prototype to avoid an error.
13408 Use char because int might match the return type of a GCC
13409 builtin and then its argument prototype would still apply. */
13410 #ifdef __cplusplus
13411 extern "C"
13412 #endif
13413 char png_create_read_struct ();
13415 main ()
13417 return png_create_read_struct ();
13419 return 0;
13421 _ACEOF
13422 if ac_fn_c_try_link "$LINENO"; then :
13423 case "$LIBEXT" in
13424 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13425 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'` ;;
13426 *) 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'`
13427 if ${ac_cv_lib_soname_png:+false} :; then :
13428 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13429 fi ;;
13430 esac
13432 rm -f core conftest.err conftest.$ac_objext \
13433 conftest$ac_exeext conftest.$ac_ext
13434 LIBS=$ac_check_soname_save_LIBS
13436 if ${ac_cv_lib_soname_png:+false} :; then :
13437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13438 $as_echo "not found" >&6; }
13439 PNG_CFLAGS=""
13440 else
13441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13442 $as_echo "$ac_cv_lib_soname_png" >&6; }
13444 cat >>confdefs.h <<_ACEOF
13445 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13446 _ACEOF
13448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13449 /* end confdefs.h. */
13450 #include <png.h>
13452 main ()
13454 typeof(png_set_expand_gray_1_2_4_to_8) *p
13456 return 0;
13458 _ACEOF
13459 if ac_fn_c_try_compile "$LINENO"; then :
13461 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13466 else
13467 PNG_CFLAGS=""
13469 CPPFLAGS=$ac_save_CPPFLAGS
13470 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13471 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13474 if test "x$ac_cv_lib_soname_png" = "x"; then :
13475 case "x$with_png" in
13476 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13477 xno) ;;
13478 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13479 This is an error since --with-png was requested." "$LINENO" 5 ;;
13480 esac
13484 if test "x$with_tiff" != "xno"
13485 then
13486 if ${TIFF_CFLAGS:+false} :; then :
13487 if ${PKG_CONFIG+:} false; then :
13488 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13492 if ${TIFF_LIBS:+false} :; then :
13493 if ${PKG_CONFIG+:} false; then :
13494 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13499 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13500 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13501 ac_save_CPPFLAGS=$CPPFLAGS
13502 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13503 for ac_header in tiffio.h
13504 do :
13505 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13506 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13507 cat >>confdefs.h <<_ACEOF
13508 #define HAVE_TIFFIO_H 1
13509 _ACEOF
13513 done
13515 if test "$ac_cv_header_tiffio_h" = "yes"
13516 then
13517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13518 $as_echo_n "checking for -ltiff... " >&6; }
13519 if ${ac_cv_lib_soname_tiff+:} false; then :
13520 $as_echo_n "(cached) " >&6
13521 else
13522 ac_check_soname_save_LIBS=$LIBS
13523 LIBS="-ltiff $TIFF_LIBS $LIBS"
13524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13525 /* end confdefs.h. */
13527 /* Override any GCC internal prototype to avoid an error.
13528 Use char because int might match the return type of a GCC
13529 builtin and then its argument prototype would still apply. */
13530 #ifdef __cplusplus
13531 extern "C"
13532 #endif
13533 char TIFFClientOpen ();
13535 main ()
13537 return TIFFClientOpen ();
13539 return 0;
13541 _ACEOF
13542 if ac_fn_c_try_link "$LINENO"; then :
13543 case "$LIBEXT" in
13544 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13545 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'` ;;
13546 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13547 if ${ac_cv_lib_soname_tiff:+false} :; then :
13548 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13549 fi ;;
13550 esac
13552 rm -f core conftest.err conftest.$ac_objext \
13553 conftest$ac_exeext conftest.$ac_ext
13554 LIBS=$ac_check_soname_save_LIBS
13556 if ${ac_cv_lib_soname_tiff:+false} :; then :
13557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13558 $as_echo "not found" >&6; }
13560 else
13561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13562 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13564 cat >>confdefs.h <<_ACEOF
13565 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13566 _ACEOF
13571 CPPFLAGS=$ac_save_CPPFLAGS
13572 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13573 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13576 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13577 case "x$with_tiff" in
13578 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13579 xno) ;;
13580 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13581 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13582 esac
13586 if test "x$with_mpg123" != "xno"
13587 then
13588 if ${MPG123_CFLAGS:+false} :; then :
13589 if ${PKG_CONFIG+:} false; then :
13590 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13594 if ${MPG123_LIBS:+false} :; then :
13595 if ${PKG_CONFIG+:} false; then :
13596 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13600 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13601 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13602 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13603 ac_save_CPPFLAGS=$CPPFLAGS
13604 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13605 for ac_header in mpg123.h
13606 do :
13607 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13608 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13609 cat >>confdefs.h <<_ACEOF
13610 #define HAVE_MPG123_H 1
13611 _ACEOF
13615 done
13617 if test "$ac_cv_header_mpg123_h" = "yes"
13618 then
13619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13620 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13621 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13622 $as_echo_n "(cached) " >&6
13623 else
13624 ac_check_lib_save_LIBS=$LIBS
13625 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13627 /* end confdefs.h. */
13629 /* Override any GCC internal prototype to avoid an error.
13630 Use char because int might match the return type of a GCC
13631 builtin and then its argument prototype would still apply. */
13632 #ifdef __cplusplus
13633 extern "C"
13634 #endif
13635 char mpg123_feed ();
13637 main ()
13639 return mpg123_feed ();
13641 return 0;
13643 _ACEOF
13644 if ac_fn_c_try_link "$LINENO"; then :
13645 ac_cv_lib_mpg123_mpg123_feed=yes
13646 else
13647 ac_cv_lib_mpg123_mpg123_feed=no
13649 rm -f core conftest.err conftest.$ac_objext \
13650 conftest$ac_exeext conftest.$ac_ext
13651 LIBS=$ac_check_lib_save_LIBS
13653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13654 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13655 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13657 else
13658 MPG123_LIBS=""
13661 else
13662 MPG123_CFLAGS=""
13663 MPG123_LIBS=""
13665 CPPFLAGS=$ac_save_CPPFLAGS
13666 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13667 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13670 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13671 case "x$with_mpg123" in
13672 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13673 xno) ;;
13674 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13675 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13676 esac
13677 enable_winemp3_acm=${enable_winemp3_acm:-no}
13680 if test "$ac_cv_header_AL_al_h" = "yes"
13681 then
13682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13683 $as_echo_n "checking for -lopenal... " >&6; }
13684 if ${ac_cv_lib_soname_openal+:} false; then :
13685 $as_echo_n "(cached) " >&6
13686 else
13687 ac_check_soname_save_LIBS=$LIBS
13688 LIBS="-lopenal $LIBS"
13689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13690 /* end confdefs.h. */
13692 /* Override any GCC internal prototype to avoid an error.
13693 Use char because int might match the return type of a GCC
13694 builtin and then its argument prototype would still apply. */
13695 #ifdef __cplusplus
13696 extern "C"
13697 #endif
13698 char alGetSource3i ();
13700 main ()
13702 return alGetSource3i ();
13704 return 0;
13706 _ACEOF
13707 if ac_fn_c_try_link "$LINENO"; then :
13708 case "$LIBEXT" in
13709 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13710 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'` ;;
13711 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13712 if ${ac_cv_lib_soname_openal:+false} :; then :
13713 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13714 fi ;;
13715 esac
13717 rm -f core conftest.err conftest.$ac_objext \
13718 conftest$ac_exeext conftest.$ac_ext
13719 LIBS=$ac_check_soname_save_LIBS
13721 if ${ac_cv_lib_soname_openal:+false} :; then :
13722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13723 $as_echo "not found" >&6; }
13725 else
13726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13727 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13729 cat >>confdefs.h <<_ACEOF
13730 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13731 _ACEOF
13733 OPENAL_LIBS="-lopenal"
13735 ac_cv_lib_openal=yes
13737 cat >>confdefs.h <<_ACEOF
13738 #define HAVE_OPENAL 1
13739 _ACEOF
13743 if test "x$ac_cv_lib_openal" != xyes; then :
13744 case "x$with_openal" in
13745 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13746 xno) ;;
13747 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13748 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13749 esac
13750 enable_openal32=${enable_openal32:-no}
13753 if test "x$ac_cv_lib_openal" = xyes
13754 then
13755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13756 $as_echo_n "checking for openal-soft... " >&6; }
13757 if ${ac_cv_have_openalsoft+:} false; then :
13758 $as_echo_n "(cached) " >&6
13759 else
13760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13761 /* end confdefs.h. */
13762 #include <AL/al.h>
13763 #include <AL/alc.h>
13764 #include <AL/alext.h>
13765 LPALCRENDERSAMPLESSOFT x;
13767 main ()
13771 return 0;
13773 _ACEOF
13774 if ac_fn_c_try_compile "$LINENO"; then :
13775 ac_cv_have_openalsoft=yes
13776 else
13777 ac_cv_have_openalsoft=no
13779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13782 $as_echo "$ac_cv_have_openalsoft" >&6; }
13784 if test "x$ac_cv_have_openalsoft" != xyes
13785 then
13786 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13787 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
13788 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
13789 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
13790 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
13791 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
13792 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
13793 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
13794 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
13795 enable_xapofx1_1=${enable_xapofx1_1:-no}
13796 enable_xapofx1_2=${enable_xapofx1_2:-no}
13797 enable_xapofx1_3=${enable_xapofx1_3:-no}
13798 enable_xapofx1_4=${enable_xapofx1_4:-no}
13799 enable_xapofx1_5=${enable_xapofx1_5:-no}
13800 enable_xaudio2_0=${enable_xaudio2_0:-no}
13801 enable_xaudio2_1=${enable_xaudio2_1:-no}
13802 enable_xaudio2_2=${enable_xaudio2_2:-no}
13803 enable_xaudio2_3=${enable_xaudio2_3:-no}
13804 enable_xaudio2_4=${enable_xaudio2_4:-no}
13805 enable_xaudio2_5=${enable_xaudio2_5:-no}
13806 enable_xaudio2_6=${enable_xaudio2_6:-no}
13807 enable_xaudio2_7=${enable_xaudio2_7:-no}
13808 enable_xaudio2_8=${enable_xaudio2_8:-no}
13809 enable_xaudio2_9=${enable_xaudio2_9:-no}
13812 if test "$ac_cv_header_kstat_h" = "yes"
13813 then
13814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13815 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13816 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13817 $as_echo_n "(cached) " >&6
13818 else
13819 ac_check_lib_save_LIBS=$LIBS
13820 LIBS="-lkstat $LIBS"
13821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13822 /* end confdefs.h. */
13824 /* Override any GCC internal prototype to avoid an error.
13825 Use char because int might match the return type of a GCC
13826 builtin and then its argument prototype would still apply. */
13827 #ifdef __cplusplus
13828 extern "C"
13829 #endif
13830 char kstat_open ();
13832 main ()
13834 return kstat_open ();
13836 return 0;
13838 _ACEOF
13839 if ac_fn_c_try_link "$LINENO"; then :
13840 ac_cv_lib_kstat_kstat_open=yes
13841 else
13842 ac_cv_lib_kstat_kstat_open=no
13844 rm -f core conftest.err conftest.$ac_objext \
13845 conftest$ac_exeext conftest.$ac_ext
13846 LIBS=$ac_check_lib_save_LIBS
13848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13849 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13850 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13852 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13854 KSTAT_LIBS="-lkstat"
13860 if test "$ac_cv_header_libprocstat_h" = "yes"
13861 then
13862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13863 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13864 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13865 $as_echo_n "(cached) " >&6
13866 else
13867 ac_check_lib_save_LIBS=$LIBS
13868 LIBS="-lprocstat $LIBS"
13869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13870 /* end confdefs.h. */
13872 /* Override any GCC internal prototype to avoid an error.
13873 Use char because int might match the return type of a GCC
13874 builtin and then its argument prototype would still apply. */
13875 #ifdef __cplusplus
13876 extern "C"
13877 #endif
13878 char procstat_open_sysctl ();
13880 main ()
13882 return procstat_open_sysctl ();
13884 return 0;
13886 _ACEOF
13887 if ac_fn_c_try_link "$LINENO"; then :
13888 ac_cv_lib_procstat_procstat_open_sysctl=yes
13889 else
13890 ac_cv_lib_procstat_procstat_open_sysctl=no
13892 rm -f core conftest.err conftest.$ac_objext \
13893 conftest$ac_exeext conftest.$ac_ext
13894 LIBS=$ac_check_lib_save_LIBS
13896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13897 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13898 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13900 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13902 PROCSTAT_LIBS="-lprocstat"
13908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13909 $as_echo_n "checking for -lodbc... " >&6; }
13910 if ${ac_cv_lib_soname_odbc+:} false; then :
13911 $as_echo_n "(cached) " >&6
13912 else
13913 ac_check_soname_save_LIBS=$LIBS
13914 LIBS="-lodbc $LIBS"
13915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13916 /* end confdefs.h. */
13918 /* Override any GCC internal prototype to avoid an error.
13919 Use char because int might match the return type of a GCC
13920 builtin and then its argument prototype would still apply. */
13921 #ifdef __cplusplus
13922 extern "C"
13923 #endif
13924 char SQLConnect ();
13926 main ()
13928 return SQLConnect ();
13930 return 0;
13932 _ACEOF
13933 if ac_fn_c_try_link "$LINENO"; then :
13934 case "$LIBEXT" in
13935 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13936 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'` ;;
13937 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13938 if ${ac_cv_lib_soname_odbc:+false} :; then :
13939 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13940 fi ;;
13941 esac
13943 rm -f core conftest.err conftest.$ac_objext \
13944 conftest$ac_exeext conftest.$ac_ext
13945 LIBS=$ac_check_soname_save_LIBS
13947 if ${ac_cv_lib_soname_odbc:+false} :; then :
13948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13949 $as_echo "not found" >&6; }
13950 cat >>confdefs.h <<_ACEOF
13951 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13952 _ACEOF
13954 else
13955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13956 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13958 cat >>confdefs.h <<_ACEOF
13959 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13960 _ACEOF
13965 if test "x$with_netapi" != "xno"
13966 then
13967 if ${NETAPI_CFLAGS:+false} :; then :
13968 if ${PKG_CONFIG+:} false; then :
13969 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
13973 if ${NETAPI_LIBS:+false} :; then :
13974 if ${PKG_CONFIG+:} false; then :
13975 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
13980 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
13981 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
13982 ac_save_CPPFLAGS=$CPPFLAGS
13983 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
13984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13985 $as_echo_n "checking for -lnetapi... " >&6; }
13986 if ${ac_cv_lib_soname_netapi+:} false; then :
13987 $as_echo_n "(cached) " >&6
13988 else
13989 ac_check_soname_save_LIBS=$LIBS
13990 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
13991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13992 /* end confdefs.h. */
13994 /* Override any GCC internal prototype to avoid an error.
13995 Use char because int might match the return type of a GCC
13996 builtin and then its argument prototype would still apply. */
13997 #ifdef __cplusplus
13998 extern "C"
13999 #endif
14000 char libnetapi_init ();
14002 main ()
14004 return libnetapi_init ();
14006 return 0;
14008 _ACEOF
14009 if ac_fn_c_try_link "$LINENO"; then :
14010 case "$LIBEXT" in
14011 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14012 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'` ;;
14013 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14014 if ${ac_cv_lib_soname_netapi:+false} :; then :
14015 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14016 fi ;;
14017 esac
14019 rm -f core conftest.err conftest.$ac_objext \
14020 conftest$ac_exeext conftest.$ac_ext
14021 LIBS=$ac_check_soname_save_LIBS
14023 if ${ac_cv_lib_soname_netapi:+false} :; then :
14024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14025 $as_echo "not found" >&6; }
14026 cat >>confdefs.h <<_ACEOF
14027 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14028 _ACEOF
14030 else
14031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14032 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14034 cat >>confdefs.h <<_ACEOF
14035 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14036 _ACEOF
14040 CPPFLAGS=$ac_save_CPPFLAGS
14041 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14042 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14046 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
14047 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14048 then
14049 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14053 EXTRACFLAGS=""
14055 if test "x${GCC}" = "xyes"
14056 then
14057 EXTRACFLAGS="-Wall -pipe"
14059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14060 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14061 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14062 $as_echo_n "(cached) " >&6
14063 else
14064 if test "$cross_compiling" = yes; then :
14065 ac_cv_c_gcc_strength_bug="no"
14066 else
14067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14068 /* end confdefs.h. */
14069 int L[4] = {0,1,2,3};
14071 main ()
14073 static int Array[3];
14074 unsigned int B = 3;
14075 int i;
14076 for(i=0; i<B; i++) Array[i] = i - 3;
14077 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14078 L[i] = 4;
14079 return (Array[1] != -2 || L[2] != 3)
14081 return 0;
14083 _ACEOF
14084 if ac_fn_c_try_run "$LINENO"; then :
14085 ac_cv_c_gcc_strength_bug="no"
14086 else
14087 ac_cv_c_gcc_strength_bug="yes"
14089 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14090 conftest.$ac_objext conftest.beam conftest.$ac_ext
14094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14095 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14096 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14097 then
14098 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14102 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14103 if ${ac_cv_cflags__fno_builtin+:} false; then :
14104 $as_echo_n "(cached) " >&6
14105 else
14106 ac_wine_try_cflags_saved=$CFLAGS
14107 CFLAGS="$CFLAGS -fno-builtin"
14108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14109 /* end confdefs.h. */
14110 int main(int argc, char **argv) { return 0; }
14111 _ACEOF
14112 if ac_fn_c_try_link "$LINENO"; then :
14113 ac_cv_cflags__fno_builtin=yes
14114 else
14115 ac_cv_cflags__fno_builtin=no
14117 rm -f core conftest.err conftest.$ac_objext \
14118 conftest$ac_exeext conftest.$ac_ext
14119 CFLAGS=$ac_wine_try_cflags_saved
14121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14122 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14123 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14124 BUILTINFLAG="-fno-builtin"
14127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14128 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14129 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14130 $as_echo_n "(cached) " >&6
14131 else
14132 ac_wine_try_cflags_saved=$CFLAGS
14133 CFLAGS="$CFLAGS -fno-strict-aliasing"
14134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14135 /* end confdefs.h. */
14136 int main(int argc, char **argv) { return 0; }
14137 _ACEOF
14138 if ac_fn_c_try_link "$LINENO"; then :
14139 ac_cv_cflags__fno_strict_aliasing=yes
14140 else
14141 ac_cv_cflags__fno_strict_aliasing=no
14143 rm -f core conftest.err conftest.$ac_objext \
14144 conftest$ac_exeext conftest.$ac_ext
14145 CFLAGS=$ac_wine_try_cflags_saved
14147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14148 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14149 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14150 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14153 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14154 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14155 $as_echo_n "(cached) " >&6
14156 else
14157 ac_wine_try_cflags_saved=$CFLAGS
14158 CFLAGS="$CFLAGS -fexcess-precision=standard"
14159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14160 /* end confdefs.h. */
14161 int main(int argc, char **argv) { return 0; }
14162 _ACEOF
14163 if ac_fn_c_try_link "$LINENO"; then :
14164 ac_cv_cflags__fexcess_precision_standard=yes
14165 else
14166 ac_cv_cflags__fexcess_precision_standard=no
14168 rm -f core conftest.err conftest.$ac_objext \
14169 conftest$ac_exeext conftest.$ac_ext
14170 CFLAGS=$ac_wine_try_cflags_saved
14172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14173 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14174 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14175 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14178 saved_CFLAGS=$CFLAGS
14179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14180 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14181 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14182 $as_echo_n "(cached) " >&6
14183 else
14184 ac_wine_try_cflags_saved=$CFLAGS
14185 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14187 /* end confdefs.h. */
14188 int main(int argc, char **argv) { return 0; }
14189 _ACEOF
14190 if ac_fn_c_try_link "$LINENO"; then :
14191 ac_cv_cflags__Werror_unknown_warning_option=yes
14192 else
14193 ac_cv_cflags__Werror_unknown_warning_option=no
14195 rm -f core conftest.err conftest.$ac_objext \
14196 conftest$ac_exeext conftest.$ac_ext
14197 CFLAGS=$ac_wine_try_cflags_saved
14199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14200 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14201 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14202 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14205 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14206 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14207 $as_echo_n "(cached) " >&6
14208 else
14209 ac_wine_try_cflags_saved=$CFLAGS
14210 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14212 /* end confdefs.h. */
14213 int main(int argc, char **argv) { return 0; }
14214 _ACEOF
14215 if ac_fn_c_try_link "$LINENO"; then :
14216 ac_cv_cflags__Wdeclaration_after_statement=yes
14217 else
14218 ac_cv_cflags__Wdeclaration_after_statement=no
14220 rm -f core conftest.err conftest.$ac_objext \
14221 conftest$ac_exeext conftest.$ac_ext
14222 CFLAGS=$ac_wine_try_cflags_saved
14224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14225 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14226 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14227 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14230 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14231 if ${ac_cv_cflags__Wempty_body+:} false; then :
14232 $as_echo_n "(cached) " >&6
14233 else
14234 ac_wine_try_cflags_saved=$CFLAGS
14235 CFLAGS="$CFLAGS -Wempty-body"
14236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14237 /* end confdefs.h. */
14238 int main(int argc, char **argv) { return 0; }
14239 _ACEOF
14240 if ac_fn_c_try_link "$LINENO"; then :
14241 ac_cv_cflags__Wempty_body=yes
14242 else
14243 ac_cv_cflags__Wempty_body=no
14245 rm -f core conftest.err conftest.$ac_objext \
14246 conftest$ac_exeext conftest.$ac_ext
14247 CFLAGS=$ac_wine_try_cflags_saved
14249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14250 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14251 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14252 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14255 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14256 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14257 $as_echo_n "(cached) " >&6
14258 else
14259 ac_wine_try_cflags_saved=$CFLAGS
14260 CFLAGS="$CFLAGS -Wignored-qualifiers"
14261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14262 /* end confdefs.h. */
14263 int main(int argc, char **argv) { return 0; }
14264 _ACEOF
14265 if ac_fn_c_try_link "$LINENO"; then :
14266 ac_cv_cflags__Wignored_qualifiers=yes
14267 else
14268 ac_cv_cflags__Wignored_qualifiers=no
14270 rm -f core conftest.err conftest.$ac_objext \
14271 conftest$ac_exeext conftest.$ac_ext
14272 CFLAGS=$ac_wine_try_cflags_saved
14274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14275 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14276 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14277 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14280 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14281 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14282 $as_echo_n "(cached) " >&6
14283 else
14284 ac_wine_try_cflags_saved=$CFLAGS
14285 CFLAGS="$CFLAGS -Wshift-overflow=2"
14286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14287 /* end confdefs.h. */
14288 int main(int argc, char **argv) { return 0; }
14289 _ACEOF
14290 if ac_fn_c_try_link "$LINENO"; then :
14291 ac_cv_cflags__Wshift_overflow_2=yes
14292 else
14293 ac_cv_cflags__Wshift_overflow_2=no
14295 rm -f core conftest.err conftest.$ac_objext \
14296 conftest$ac_exeext conftest.$ac_ext
14297 CFLAGS=$ac_wine_try_cflags_saved
14299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14300 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14301 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14302 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14305 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14306 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14307 $as_echo_n "(cached) " >&6
14308 else
14309 ac_wine_try_cflags_saved=$CFLAGS
14310 CFLAGS="$CFLAGS -Wstrict-prototypes"
14311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14312 /* end confdefs.h. */
14313 int main(int argc, char **argv) { return 0; }
14314 _ACEOF
14315 if ac_fn_c_try_link "$LINENO"; then :
14316 ac_cv_cflags__Wstrict_prototypes=yes
14317 else
14318 ac_cv_cflags__Wstrict_prototypes=no
14320 rm -f core conftest.err conftest.$ac_objext \
14321 conftest$ac_exeext conftest.$ac_ext
14322 CFLAGS=$ac_wine_try_cflags_saved
14324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14325 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14326 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14327 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14330 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14331 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14332 $as_echo_n "(cached) " >&6
14333 else
14334 ac_wine_try_cflags_saved=$CFLAGS
14335 CFLAGS="$CFLAGS -Wtype-limits"
14336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14337 /* end confdefs.h. */
14338 int main(int argc, char **argv) { return 0; }
14339 _ACEOF
14340 if ac_fn_c_try_link "$LINENO"; then :
14341 ac_cv_cflags__Wtype_limits=yes
14342 else
14343 ac_cv_cflags__Wtype_limits=no
14345 rm -f core conftest.err conftest.$ac_objext \
14346 conftest$ac_exeext conftest.$ac_ext
14347 CFLAGS=$ac_wine_try_cflags_saved
14349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14350 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14351 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14352 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14355 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14356 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14357 $as_echo_n "(cached) " >&6
14358 else
14359 ac_wine_try_cflags_saved=$CFLAGS
14360 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14362 /* end confdefs.h. */
14363 int main(int argc, char **argv) { return 0; }
14364 _ACEOF
14365 if ac_fn_c_try_link "$LINENO"; then :
14366 ac_cv_cflags__Wunused_but_set_parameter=yes
14367 else
14368 ac_cv_cflags__Wunused_but_set_parameter=no
14370 rm -f core conftest.err conftest.$ac_objext \
14371 conftest$ac_exeext conftest.$ac_ext
14372 CFLAGS=$ac_wine_try_cflags_saved
14374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14375 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14376 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14377 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14380 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14381 if ${ac_cv_cflags__Wvla+:} false; then :
14382 $as_echo_n "(cached) " >&6
14383 else
14384 ac_wine_try_cflags_saved=$CFLAGS
14385 CFLAGS="$CFLAGS -Wvla"
14386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14387 /* end confdefs.h. */
14388 int main(int argc, char **argv) { return 0; }
14389 _ACEOF
14390 if ac_fn_c_try_link "$LINENO"; then :
14391 ac_cv_cflags__Wvla=yes
14392 else
14393 ac_cv_cflags__Wvla=no
14395 rm -f core conftest.err conftest.$ac_objext \
14396 conftest$ac_exeext conftest.$ac_ext
14397 CFLAGS=$ac_wine_try_cflags_saved
14399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14400 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14401 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14402 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14405 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14406 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14407 $as_echo_n "(cached) " >&6
14408 else
14409 ac_wine_try_cflags_saved=$CFLAGS
14410 CFLAGS="$CFLAGS -Wwrite-strings"
14411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14412 /* end confdefs.h. */
14413 int main(int argc, char **argv) { return 0; }
14414 _ACEOF
14415 if ac_fn_c_try_link "$LINENO"; then :
14416 ac_cv_cflags__Wwrite_strings=yes
14417 else
14418 ac_cv_cflags__Wwrite_strings=no
14420 rm -f core conftest.err conftest.$ac_objext \
14421 conftest$ac_exeext conftest.$ac_ext
14422 CFLAGS=$ac_wine_try_cflags_saved
14424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14425 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14426 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14427 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14431 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14432 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14433 $as_echo_n "(cached) " >&6
14434 else
14435 ac_wine_try_cflags_saved=$CFLAGS
14436 CFLAGS="$CFLAGS -Wpointer-arith"
14437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14438 /* end confdefs.h. */
14439 int main(int argc, char **argv) { return 0; }
14440 _ACEOF
14441 if ac_fn_c_try_link "$LINENO"; then :
14442 ac_cv_cflags__Wpointer_arith=yes
14443 else
14444 ac_cv_cflags__Wpointer_arith=no
14446 rm -f core conftest.err conftest.$ac_objext \
14447 conftest$ac_exeext conftest.$ac_ext
14448 CFLAGS=$ac_wine_try_cflags_saved
14450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14451 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14452 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14453 saved_string_h_CFLAGS=$CFLAGS
14454 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14456 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14457 if ${ac_cv_c_string_h_warnings+:} false; then :
14458 $as_echo_n "(cached) " >&6
14459 else
14460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14461 /* end confdefs.h. */
14462 #include <string.h>
14464 main ()
14468 return 0;
14470 _ACEOF
14471 if ac_fn_c_try_compile "$LINENO"; then :
14472 ac_cv_c_string_h_warnings=no
14473 else
14474 ac_cv_c_string_h_warnings=yes
14476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14479 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14480 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14481 CFLAGS=$saved_string_h_CFLAGS
14484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14485 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14486 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14487 $as_echo_n "(cached) " >&6
14488 else
14489 ac_wine_try_cflags_saved=$CFLAGS
14490 CFLAGS="$CFLAGS -Wlogical-op"
14491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14492 /* end confdefs.h. */
14493 int main(int argc, char **argv) { return 0; }
14494 _ACEOF
14495 if ac_fn_c_try_link "$LINENO"; then :
14496 ac_cv_cflags__Wlogical_op=yes
14497 else
14498 ac_cv_cflags__Wlogical_op=no
14500 rm -f core conftest.err conftest.$ac_objext \
14501 conftest$ac_exeext conftest.$ac_ext
14502 CFLAGS=$ac_wine_try_cflags_saved
14504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14505 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14506 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14507 saved_string_h_CFLAGS=$CFLAGS
14508 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14510 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14511 if ${ac_cv_c_logicalop_noisy+:} false; then :
14512 $as_echo_n "(cached) " >&6
14513 else
14514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14515 /* end confdefs.h. */
14516 #include <string.h>
14517 char*f(const char *h,char n) {return strchr(h,n);}
14519 main ()
14523 return 0;
14525 _ACEOF
14526 if ac_fn_c_try_compile "$LINENO"; then :
14527 ac_cv_c_logicalop_noisy=no
14528 else
14529 ac_cv_c_logicalop_noisy=yes
14531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14534 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14535 CFLAGS=$saved_string_h_CFLAGS
14536 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14539 CFLAGS=$saved_CFLAGS
14541 for ac_flag in $CFLAGS; do
14542 case $ac_flag in
14543 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14544 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14545 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14546 $as_echo_n "(cached) " >&6
14547 else
14548 ac_wine_try_cflags_saved=$CFLAGS
14549 CFLAGS="$CFLAGS -gdwarf-2"
14550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14551 /* end confdefs.h. */
14552 int main(int argc, char **argv) { return 0; }
14553 _ACEOF
14554 if ac_fn_c_try_link "$LINENO"; then :
14555 ac_cv_cflags__gdwarf_2=yes
14556 else
14557 ac_cv_cflags__gdwarf_2=no
14559 rm -f core conftest.err conftest.$ac_objext \
14560 conftest$ac_exeext conftest.$ac_ext
14561 CFLAGS=$ac_wine_try_cflags_saved
14563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14564 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14565 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14566 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14569 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14570 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14571 $as_echo_n "(cached) " >&6
14572 else
14573 ac_wine_try_cflags_saved=$CFLAGS
14574 CFLAGS="$CFLAGS -gstrict-dwarf"
14575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14576 /* end confdefs.h. */
14577 int main(int argc, char **argv) { return 0; }
14578 _ACEOF
14579 if ac_fn_c_try_link "$LINENO"; then :
14580 ac_cv_cflags__gstrict_dwarf=yes
14581 else
14582 ac_cv_cflags__gstrict_dwarf=no
14584 rm -f core conftest.err conftest.$ac_objext \
14585 conftest$ac_exeext conftest.$ac_ext
14586 CFLAGS=$ac_wine_try_cflags_saved
14588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14589 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14590 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14591 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14592 fi ;;
14593 esac
14594 done
14596 case $host_cpu in
14597 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14598 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14599 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14600 $as_echo_n "(cached) " >&6
14601 else
14602 ac_wine_try_cflags_saved=$CFLAGS
14603 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14605 /* end confdefs.h. */
14606 int main(int argc, char **argv) { return 0; }
14607 _ACEOF
14608 if ac_fn_c_try_link "$LINENO"; then :
14609 ac_cv_cflags__fno_omit_frame_pointer=yes
14610 else
14611 ac_cv_cflags__fno_omit_frame_pointer=no
14613 rm -f core conftest.err conftest.$ac_objext \
14614 conftest$ac_exeext conftest.$ac_ext
14615 CFLAGS=$ac_wine_try_cflags_saved
14617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14618 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14619 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14620 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14621 fi ;;
14622 esac
14624 case $host in
14625 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14626 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14627 if ${ac_cv_cflags__Wno_format+:} false; then :
14628 $as_echo_n "(cached) " >&6
14629 else
14630 ac_wine_try_cflags_saved=$CFLAGS
14631 CFLAGS="$CFLAGS -Wno-format"
14632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14633 /* end confdefs.h. */
14634 int main(int argc, char **argv) { return 0; }
14635 _ACEOF
14636 if ac_fn_c_try_link "$LINENO"; then :
14637 ac_cv_cflags__Wno_format=yes
14638 else
14639 ac_cv_cflags__Wno_format=no
14641 rm -f core conftest.err conftest.$ac_objext \
14642 conftest$ac_exeext conftest.$ac_ext
14643 CFLAGS=$ac_wine_try_cflags_saved
14645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14646 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14647 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14648 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14649 fi ;;
14650 esac
14652 if test "x$enable_maintainer_mode" = "xyes"
14653 then
14654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14655 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14656 if ${ac_cv_cflags__Werror+:} false; then :
14657 $as_echo_n "(cached) " >&6
14658 else
14659 ac_wine_try_cflags_saved=$CFLAGS
14660 CFLAGS="$CFLAGS -Werror"
14661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14662 /* end confdefs.h. */
14663 int main(int argc, char **argv) { return 0; }
14664 _ACEOF
14665 if ac_fn_c_try_link "$LINENO"; then :
14666 ac_cv_cflags__Werror=yes
14667 else
14668 ac_cv_cflags__Werror=no
14670 rm -f core conftest.err conftest.$ac_objext \
14671 conftest$ac_exeext conftest.$ac_ext
14672 CFLAGS=$ac_wine_try_cflags_saved
14674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14675 $as_echo "$ac_cv_cflags__Werror" >&6; }
14676 if test "x$ac_cv_cflags__Werror" = xyes; then :
14677 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14681 saved_CFLAGS="$CFLAGS"
14682 CFLAGS="$CFLAGS -Werror"
14683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14684 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14685 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14686 $as_echo_n "(cached) " >&6
14687 else
14688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14689 /* end confdefs.h. */
14690 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14692 main ()
14696 return 0;
14698 _ACEOF
14699 if ac_fn_c_try_compile "$LINENO"; then :
14700 ac_cv_have_ms_hook_prologue="yes"
14701 else
14702 ac_cv_have_ms_hook_prologue="no"
14704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14707 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14708 CFLAGS="$saved_CFLAGS"
14709 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14710 then
14712 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14714 else
14715 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14722 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14723 if ${ac_cv_c_fortify_enabled+:} false; then :
14724 $as_echo_n "(cached) " >&6
14725 else
14726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14727 /* end confdefs.h. */
14728 #include <string.h>
14730 main ()
14732 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14733 #error Fortify enabled
14734 #endif
14736 return 0;
14738 _ACEOF
14739 if ac_fn_c_try_compile "$LINENO"; then :
14740 ac_cv_c_fortify_enabled=no
14741 else
14742 ac_cv_c_fortify_enabled=yes
14744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14747 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14748 if test "$ac_cv_c_fortify_enabled" = yes
14749 then
14750 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14755 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14756 if ${ac_cv_c_extern_prefix+:} false; then :
14757 $as_echo_n "(cached) " >&6
14758 else
14759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14760 /* end confdefs.h. */
14761 extern int ac_test;
14763 main ()
14765 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14767 return 0;
14769 _ACEOF
14770 if ac_fn_c_try_link "$LINENO"; then :
14771 ac_cv_c_extern_prefix="yes"
14772 else
14773 ac_cv_c_extern_prefix="no"
14775 rm -f core conftest.err conftest.$ac_objext \
14776 conftest$ac_exeext conftest.$ac_ext
14778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14779 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14781 case $host_cpu in
14782 *i[3456789]86*)
14783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14784 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14785 if ${ac_cv_c_stdcall_suffix+:} false; then :
14786 $as_echo_n "(cached) " >&6
14787 else
14788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14789 /* end confdefs.h. */
14790 #ifndef _MSC_VER
14791 #define __stdcall __attribute__((__stdcall__))
14792 #endif
14793 int __stdcall ac_test(int i) { return i; }
14795 main ()
14797 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14799 return 0;
14801 _ACEOF
14802 if ac_fn_c_try_link "$LINENO"; then :
14803 ac_cv_c_stdcall_suffix="yes"
14804 else
14805 ac_cv_c_stdcall_suffix="no"
14807 rm -f core conftest.err conftest.$ac_objext \
14808 conftest$ac_exeext conftest.$ac_ext
14810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14811 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14812 *) ac_cv_c_stdcall_suffix="no" ;;
14813 esac
14816 if test "$ac_cv_c_extern_prefix" = "yes"
14817 then
14818 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14820 asm_name_prefix="_"
14821 else
14822 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14824 asm_name_prefix=""
14828 if test "$ac_cv_c_stdcall_suffix" = "yes"
14829 then
14830 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14832 else
14833 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14839 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14840 if ${ac_cv_asm_func_def+:} false; then :
14841 $as_echo_n "(cached) " >&6
14842 else
14843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14844 /* end confdefs.h. */
14847 main ()
14849 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14851 return 0;
14853 _ACEOF
14854 if ac_fn_c_try_link "$LINENO"; then :
14855 ac_cv_asm_func_def=".def"
14856 else
14857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14858 /* end confdefs.h. */
14861 main ()
14863 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14865 return 0;
14867 _ACEOF
14868 if ac_fn_c_try_link "$LINENO"; then :
14869 ac_cv_asm_func_def=".type @function"
14870 else
14871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14872 /* end confdefs.h. */
14875 main ()
14877 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14879 return 0;
14881 _ACEOF
14882 if ac_fn_c_try_link "$LINENO"; then :
14883 ac_cv_asm_func_def=".type 2"
14884 else
14885 ac_cv_asm_func_def="unknown"
14887 rm -f core conftest.err conftest.$ac_objext \
14888 conftest$ac_exeext conftest.$ac_ext
14890 rm -f core conftest.err conftest.$ac_objext \
14891 conftest$ac_exeext conftest.$ac_ext
14893 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_asm_func_def" >&5
14897 $as_echo "$ac_cv_asm_func_def" >&6; }
14900 case "$ac_cv_asm_func_def" in
14901 ".def")
14902 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14904 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14905 ".type @function")
14906 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14908 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14909 ".type 2")
14910 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14912 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14914 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14916 asm_func_header="" ;;
14917 esac
14919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14920 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14921 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14922 $as_echo_n "(cached) " >&6
14923 else
14924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14925 /* end confdefs.h. */
14926 asm(".text\n\t.long 0");
14928 main ()
14932 return 0;
14934 _ACEOF
14935 if ac_fn_c_try_compile "$LINENO"; then :
14936 ac_cv_c_asm_outside_funcs="yes"
14937 else
14938 ac_cv_c_asm_outside_funcs="no"
14940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14943 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14946 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14947 if ${ac_cv_c_dot_previous+:} false; then :
14948 $as_echo_n "(cached) " >&6
14949 else
14950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14951 /* end confdefs.h. */
14954 main ()
14956 asm(".text\nac_test:\t.long 0\n\t.previous");
14958 return 0;
14960 _ACEOF
14961 if ac_fn_c_try_link "$LINENO"; then :
14962 ac_cv_c_dot_previous="yes"
14963 else
14964 ac_cv_c_dot_previous="no"
14966 rm -f core conftest.err conftest.$ac_objext \
14967 conftest$ac_exeext conftest.$ac_ext
14969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14970 $as_echo "$ac_cv_c_dot_previous" >&6; }
14972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14973 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14974 if ${ac_cv_c_cfi_support+:} false; then :
14975 $as_echo_n "(cached) " >&6
14976 else
14977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14978 /* end confdefs.h. */
14979 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14981 main ()
14985 return 0;
14987 _ACEOF
14988 if ac_fn_c_try_compile "$LINENO"; then :
14989 ac_cv_c_cfi_support="yes"
14990 else
14991 ac_cv_c_cfi_support="no"
14993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14996 $as_echo "$ac_cv_c_cfi_support" >&6; }
14998 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14999 asm_func_trailer=""
15000 if test "$ac_cv_c_dot_previous" = "yes"
15001 then
15002 asm_func_trailer="\\n\\t.previous"
15004 if test "$ac_cv_c_cfi_support" = "yes"
15005 then
15006 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15007 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15009 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15011 UNWINDFLAGS=-fasynchronous-unwind-tables
15013 else
15014 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15016 if test "x$enable_win64" = "xyes"
15017 then
15018 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15022 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15025 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15026 then
15027 cat >>confdefs.h <<_ACEOF
15028 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15029 _ACEOF
15031 else
15032 cat >>confdefs.h <<_ACEOF
15033 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15034 _ACEOF
15038 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15041 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15045 case $build_os in
15046 cygwin*|mingw32*) TOOLSEXT=".exe"
15048 esac
15050 case $host_os in
15051 linux-android*) ;;
15052 linux*)
15053 case $host_cpu in
15054 *i[3456789]86*|x86_64*)
15055 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15056 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15058 esac
15060 esac
15063 ac_save_CFLAGS="$CFLAGS"
15064 CFLAGS="$CFLAGS $BUILTINFLAG"
15065 for ac_func in \
15066 __res_get_state \
15067 __res_getservers \
15068 _finite \
15069 _isnan \
15070 _pclose \
15071 _popen \
15072 _snprintf \
15073 _spawnvp \
15074 _strdup \
15075 _stricmp \
15076 _strnicmp \
15077 _strtoi64 \
15078 _strtoui64 \
15079 _vsnprintf \
15080 asctime_r \
15081 chsize \
15082 dlopen \
15083 epoll_create \
15084 ffs \
15085 finitef \
15086 fnmatch \
15087 fork \
15088 fpclass \
15089 fstatfs \
15090 fstatvfs \
15091 ftruncate \
15092 futimens \
15093 futimes \
15094 futimesat \
15095 getattrlist \
15096 getopt_long_only \
15097 getpwuid \
15098 gettimeofday \
15099 getuid \
15100 if_nameindex \
15101 isnanf \
15102 kqueue \
15103 lstat \
15104 memmove \
15105 mmap \
15106 pclose \
15107 pipe2 \
15108 poll \
15109 popen \
15110 port_create \
15111 prctl \
15112 pread \
15113 proc_pidinfo \
15114 pwrite \
15115 readdir \
15116 readlink \
15117 sched_yield \
15118 select \
15119 setproctitle \
15120 setprogname \
15121 setrlimit \
15122 settimeofday \
15123 sigaltstack \
15124 sigprocmask \
15125 snprintf \
15126 statfs \
15127 statvfs \
15128 strcasecmp \
15129 strdup \
15130 strerror \
15131 strncasecmp \
15132 strtold \
15133 strtoll \
15134 strtoull \
15135 symlink \
15136 tcdrain \
15137 thr_kill2 \
15138 timegm \
15139 usleep \
15140 vsnprintf
15142 do :
15143 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15144 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15145 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15146 cat >>confdefs.h <<_ACEOF
15147 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15148 _ACEOF
15151 done
15153 CFLAGS="$ac_save_CFLAGS"
15155 if test "$ac_cv_func_dlopen" = no
15156 then
15157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15158 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15159 if ${ac_cv_lib_dl_dlopen+:} false; then :
15160 $as_echo_n "(cached) " >&6
15161 else
15162 ac_check_lib_save_LIBS=$LIBS
15163 LIBS="-ldl $LIBS"
15164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15165 /* end confdefs.h. */
15167 /* Override any GCC internal prototype to avoid an error.
15168 Use char because int might match the return type of a GCC
15169 builtin and then its argument prototype would still apply. */
15170 #ifdef __cplusplus
15171 extern "C"
15172 #endif
15173 char dlopen ();
15175 main ()
15177 return dlopen ();
15179 return 0;
15181 _ACEOF
15182 if ac_fn_c_try_link "$LINENO"; then :
15183 ac_cv_lib_dl_dlopen=yes
15184 else
15185 ac_cv_lib_dl_dlopen=no
15187 rm -f core conftest.err conftest.$ac_objext \
15188 conftest$ac_exeext conftest.$ac_ext
15189 LIBS=$ac_check_lib_save_LIBS
15191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15192 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15193 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15194 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15195 DL_LIBS="-ldl"
15200 ac_wine_check_funcs_save_LIBS="$LIBS"
15201 LIBS="$LIBS $DL_LIBS"
15202 for ac_func in dladdr
15203 do :
15204 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15205 if test "x$ac_cv_func_dladdr" = xyes; then :
15206 cat >>confdefs.h <<_ACEOF
15207 #define HAVE_DLADDR 1
15208 _ACEOF
15211 done
15213 LIBS="$ac_wine_check_funcs_save_LIBS"
15215 if test "$ac_cv_func_poll" = no
15216 then
15217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15218 $as_echo_n "checking for poll in -lpoll... " >&6; }
15219 if ${ac_cv_lib_poll_poll+:} false; then :
15220 $as_echo_n "(cached) " >&6
15221 else
15222 ac_check_lib_save_LIBS=$LIBS
15223 LIBS="-lpoll $LIBS"
15224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15225 /* end confdefs.h. */
15227 /* Override any GCC internal prototype to avoid an error.
15228 Use char because int might match the return type of a GCC
15229 builtin and then its argument prototype would still apply. */
15230 #ifdef __cplusplus
15231 extern "C"
15232 #endif
15233 char poll ();
15235 main ()
15237 return poll ();
15239 return 0;
15241 _ACEOF
15242 if ac_fn_c_try_link "$LINENO"; then :
15243 ac_cv_lib_poll_poll=yes
15244 else
15245 ac_cv_lib_poll_poll=no
15247 rm -f core conftest.err conftest.$ac_objext \
15248 conftest$ac_exeext conftest.$ac_ext
15249 LIBS=$ac_check_lib_save_LIBS
15251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15252 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15253 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15254 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15255 POLL_LIBS="-lpoll"
15261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15262 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15263 if ${ac_cv_search_gethostbyname+:} false; then :
15264 $as_echo_n "(cached) " >&6
15265 else
15266 ac_func_search_save_LIBS=$LIBS
15267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15268 /* end confdefs.h. */
15270 /* Override any GCC internal prototype to avoid an error.
15271 Use char because int might match the return type of a GCC
15272 builtin and then its argument prototype would still apply. */
15273 #ifdef __cplusplus
15274 extern "C"
15275 #endif
15276 char gethostbyname ();
15278 main ()
15280 return gethostbyname ();
15282 return 0;
15284 _ACEOF
15285 for ac_lib in '' nsl; do
15286 if test -z "$ac_lib"; then
15287 ac_res="none required"
15288 else
15289 ac_res=-l$ac_lib
15290 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15292 if ac_fn_c_try_link "$LINENO"; then :
15293 ac_cv_search_gethostbyname=$ac_res
15295 rm -f core conftest.err conftest.$ac_objext \
15296 conftest$ac_exeext
15297 if ${ac_cv_search_gethostbyname+:} false; then :
15298 break
15300 done
15301 if ${ac_cv_search_gethostbyname+:} false; then :
15303 else
15304 ac_cv_search_gethostbyname=no
15306 rm conftest.$ac_ext
15307 LIBS=$ac_func_search_save_LIBS
15309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15310 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15311 ac_res=$ac_cv_search_gethostbyname
15312 if test "$ac_res" != no; then :
15313 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15319 $as_echo_n "checking for library containing connect... " >&6; }
15320 if ${ac_cv_search_connect+:} false; then :
15321 $as_echo_n "(cached) " >&6
15322 else
15323 ac_func_search_save_LIBS=$LIBS
15324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15325 /* end confdefs.h. */
15327 /* Override any GCC internal prototype to avoid an error.
15328 Use char because int might match the return type of a GCC
15329 builtin and then its argument prototype would still apply. */
15330 #ifdef __cplusplus
15331 extern "C"
15332 #endif
15333 char connect ();
15335 main ()
15337 return connect ();
15339 return 0;
15341 _ACEOF
15342 for ac_lib in '' socket; do
15343 if test -z "$ac_lib"; then
15344 ac_res="none required"
15345 else
15346 ac_res=-l$ac_lib
15347 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15349 if ac_fn_c_try_link "$LINENO"; then :
15350 ac_cv_search_connect=$ac_res
15352 rm -f core conftest.err conftest.$ac_objext \
15353 conftest$ac_exeext
15354 if ${ac_cv_search_connect+:} false; then :
15355 break
15357 done
15358 if ${ac_cv_search_connect+:} false; then :
15360 else
15361 ac_cv_search_connect=no
15363 rm conftest.$ac_ext
15364 LIBS=$ac_func_search_save_LIBS
15366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15367 $as_echo "$ac_cv_search_connect" >&6; }
15368 ac_res=$ac_cv_search_connect
15369 if test "$ac_res" != no; then :
15370 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15376 $as_echo_n "checking for library containing inet_aton... " >&6; }
15377 if ${ac_cv_search_inet_aton+:} false; then :
15378 $as_echo_n "(cached) " >&6
15379 else
15380 ac_func_search_save_LIBS=$LIBS
15381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15382 /* end confdefs.h. */
15384 /* Override any GCC internal prototype to avoid an error.
15385 Use char because int might match the return type of a GCC
15386 builtin and then its argument prototype would still apply. */
15387 #ifdef __cplusplus
15388 extern "C"
15389 #endif
15390 char inet_aton ();
15392 main ()
15394 return inet_aton ();
15396 return 0;
15398 _ACEOF
15399 for ac_lib in '' resolv; do
15400 if test -z "$ac_lib"; then
15401 ac_res="none required"
15402 else
15403 ac_res=-l$ac_lib
15404 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15406 if ac_fn_c_try_link "$LINENO"; then :
15407 ac_cv_search_inet_aton=$ac_res
15409 rm -f core conftest.err conftest.$ac_objext \
15410 conftest$ac_exeext
15411 if ${ac_cv_search_inet_aton+:} false; then :
15412 break
15414 done
15415 if ${ac_cv_search_inet_aton+:} false; then :
15417 else
15418 ac_cv_search_inet_aton=no
15420 rm conftest.$ac_ext
15421 LIBS=$ac_func_search_save_LIBS
15423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15424 $as_echo "$ac_cv_search_inet_aton" >&6; }
15425 ac_res=$ac_cv_search_inet_aton
15426 if test "$ac_res" != no; then :
15427 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15432 for ac_func in \
15433 getaddrinfo \
15434 getnameinfo \
15435 getnetbyname \
15436 getprotobyname \
15437 getprotobynumber \
15438 getservbyport \
15439 inet_addr \
15440 inet_network \
15441 inet_ntop \
15442 inet_pton \
15443 sendmsg \
15444 socketpair \
15446 do :
15447 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15448 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15449 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15450 cat >>confdefs.h <<_ACEOF
15451 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15452 _ACEOF
15455 done
15458 ac_save_LIBS=$LIBS
15459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15460 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15461 if ${ac_cv_search_clock_gettime+:} false; then :
15462 $as_echo_n "(cached) " >&6
15463 else
15464 ac_func_search_save_LIBS=$LIBS
15465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15466 /* end confdefs.h. */
15468 /* Override any GCC internal prototype to avoid an error.
15469 Use char because int might match the return type of a GCC
15470 builtin and then its argument prototype would still apply. */
15471 #ifdef __cplusplus
15472 extern "C"
15473 #endif
15474 char clock_gettime ();
15476 main ()
15478 return clock_gettime ();
15480 return 0;
15482 _ACEOF
15483 for ac_lib in '' rt; do
15484 if test -z "$ac_lib"; then
15485 ac_res="none required"
15486 else
15487 ac_res=-l$ac_lib
15488 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15490 if ac_fn_c_try_link "$LINENO"; then :
15491 ac_cv_search_clock_gettime=$ac_res
15493 rm -f core conftest.err conftest.$ac_objext \
15494 conftest$ac_exeext
15495 if ${ac_cv_search_clock_gettime+:} false; then :
15496 break
15498 done
15499 if ${ac_cv_search_clock_gettime+:} false; then :
15501 else
15502 ac_cv_search_clock_gettime=no
15504 rm conftest.$ac_ext
15505 LIBS=$ac_func_search_save_LIBS
15507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15508 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15509 ac_res=$ac_cv_search_clock_gettime
15510 if test "$ac_res" != no; then :
15511 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15513 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15515 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15519 LIBS=$ac_save_LIBS
15521 LDAP_LIBS=""
15523 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15524 then
15525 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15527 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15529 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15530 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15531 $as_echo_n "(cached) " >&6
15532 else
15533 ac_check_lib_save_LIBS=$LIBS
15534 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15536 /* end confdefs.h. */
15538 /* Override any GCC internal prototype to avoid an error.
15539 Use char because int might match the return type of a GCC
15540 builtin and then its argument prototype would still apply. */
15541 #ifdef __cplusplus
15542 extern "C"
15543 #endif
15544 char ldap_initialize ();
15546 main ()
15548 return ldap_initialize ();
15550 return 0;
15552 _ACEOF
15553 if ac_fn_c_try_link "$LINENO"; then :
15554 ac_cv_lib_ldap_r_ldap_initialize=yes
15555 else
15556 ac_cv_lib_ldap_r_ldap_initialize=no
15558 rm -f core conftest.err conftest.$ac_objext \
15559 conftest$ac_exeext conftest.$ac_ext
15560 LIBS=$ac_check_lib_save_LIBS
15562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15563 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15564 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15566 $as_echo_n "checking for ber_init in -llber... " >&6; }
15567 if ${ac_cv_lib_lber_ber_init+:} false; then :
15568 $as_echo_n "(cached) " >&6
15569 else
15570 ac_check_lib_save_LIBS=$LIBS
15571 LIBS="-llber $PTHREAD_LIBS $LIBS"
15572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15573 /* end confdefs.h. */
15575 /* Override any GCC internal prototype to avoid an error.
15576 Use char because int might match the return type of a GCC
15577 builtin and then its argument prototype would still apply. */
15578 #ifdef __cplusplus
15579 extern "C"
15580 #endif
15581 char ber_init ();
15583 main ()
15585 return ber_init ();
15587 return 0;
15589 _ACEOF
15590 if ac_fn_c_try_link "$LINENO"; then :
15591 ac_cv_lib_lber_ber_init=yes
15592 else
15593 ac_cv_lib_lber_ber_init=no
15595 rm -f core conftest.err conftest.$ac_objext \
15596 conftest$ac_exeext conftest.$ac_ext
15597 LIBS=$ac_check_lib_save_LIBS
15599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15600 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15601 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15603 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15605 LDAP_LIBS="-lldap_r -llber"
15612 ac_wine_check_funcs_save_LIBS="$LIBS"
15613 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15614 for ac_func in \
15615 ldap_count_references \
15616 ldap_first_reference \
15617 ldap_next_reference \
15618 ldap_parse_reference \
15619 ldap_parse_sort_control \
15620 ldap_parse_sortresponse_control \
15621 ldap_parse_vlv_control \
15622 ldap_parse_vlvresponse_control
15623 do :
15624 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15625 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15626 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15627 cat >>confdefs.h <<_ACEOF
15628 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15629 _ACEOF
15632 done
15634 LIBS="$ac_wine_check_funcs_save_LIBS"
15636 if test "x$LDAP_LIBS" = "x"; then :
15637 case "x$with_ldap" in
15638 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15639 xno) ;;
15640 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15641 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15642 esac
15646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15647 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15648 if ${wine_cv_one_arg_mkdir+:} false; then :
15649 $as_echo_n "(cached) " >&6
15650 else
15651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15652 /* end confdefs.h. */
15653 #include <sys/stat.h>
15655 main ()
15657 mkdir("foo");
15659 return 0;
15661 _ACEOF
15662 if ac_fn_c_try_compile "$LINENO"; then :
15663 wine_cv_one_arg_mkdir=yes
15664 else
15665 wine_cv_one_arg_mkdir=no
15667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15670 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15671 if test "$wine_cv_one_arg_mkdir" = "yes"
15672 then
15674 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15679 $as_echo_n "checking for sched_setaffinity... " >&6; }
15680 if ${wine_cv_have_sched_setaffinity+:} false; then :
15681 $as_echo_n "(cached) " >&6
15682 else
15683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15684 /* end confdefs.h. */
15685 #define _GNU_SOURCE
15686 #include <sched.h>
15688 main ()
15690 sched_setaffinity(0, 0, 0);
15692 return 0;
15694 _ACEOF
15695 if ac_fn_c_try_link "$LINENO"; then :
15696 wine_cv_have_sched_setaffinity=yes
15697 else
15698 wine_cv_have_sched_setaffinity=no
15700 rm -f core conftest.err conftest.$ac_objext \
15701 conftest$ac_exeext conftest.$ac_ext
15703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15704 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15705 if test "$wine_cv_have_sched_setaffinity" = "yes"
15706 then
15708 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15713 $as_echo_n "checking for fallocate... " >&6; }
15714 if ${wine_cv_have_fallocate+:} false; then :
15715 $as_echo_n "(cached) " >&6
15716 else
15717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15718 /* end confdefs.h. */
15719 #define _GNU_SOURCE
15720 #include <fcntl.h>
15722 main ()
15724 fallocate(-1, 0, 0, 0);
15726 return 0;
15728 _ACEOF
15729 if ac_fn_c_try_link "$LINENO"; then :
15730 wine_cv_have_fallocate=yes
15731 else
15732 wine_cv_have_fallocate=no
15734 rm -f core conftest.err conftest.$ac_objext \
15735 conftest$ac_exeext conftest.$ac_ext
15737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15738 $as_echo "$wine_cv_have_fallocate" >&6; }
15739 if test "$wine_cv_have_fallocate" = "yes"
15740 then
15742 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15748 $as_echo_n "checking for inline... " >&6; }
15749 if ${ac_cv_c_inline+:} false; then :
15750 $as_echo_n "(cached) " >&6
15751 else
15752 ac_cv_c_inline=no
15753 for ac_kw in inline __inline__ __inline; do
15754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15755 /* end confdefs.h. */
15756 #ifndef __cplusplus
15757 typedef int foo_t;
15758 static $ac_kw foo_t static_foo () {return 0; }
15759 $ac_kw foo_t foo () {return 0; }
15760 #endif
15762 _ACEOF
15763 if ac_fn_c_try_compile "$LINENO"; then :
15764 ac_cv_c_inline=$ac_kw
15766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15767 test "$ac_cv_c_inline" != no && break
15768 done
15771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15772 $as_echo "$ac_cv_c_inline" >&6; }
15774 case $ac_cv_c_inline in
15775 inline | yes) ;;
15777 case $ac_cv_c_inline in
15778 no) ac_val=;;
15779 *) ac_val=$ac_cv_c_inline;;
15780 esac
15781 cat >>confdefs.h <<_ACEOF
15782 #ifndef __cplusplus
15783 #define inline $ac_val
15784 #endif
15785 _ACEOF
15787 esac
15789 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15790 if test "x$ac_cv_type_mode_t" = xyes; then :
15792 cat >>confdefs.h <<_ACEOF
15793 #define HAVE_MODE_T 1
15794 _ACEOF
15798 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15799 if test "x$ac_cv_type_off_t" = xyes; then :
15801 cat >>confdefs.h <<_ACEOF
15802 #define HAVE_OFF_T 1
15803 _ACEOF
15807 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15808 if test "x$ac_cv_type_pid_t" = xyes; then :
15810 cat >>confdefs.h <<_ACEOF
15811 #define HAVE_PID_T 1
15812 _ACEOF
15816 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15817 if test "x$ac_cv_type_size_t" = xyes; then :
15819 cat >>confdefs.h <<_ACEOF
15820 #define HAVE_SIZE_T 1
15821 _ACEOF
15825 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15826 if test "x$ac_cv_type_ssize_t" = xyes; then :
15828 cat >>confdefs.h <<_ACEOF
15829 #define HAVE_SSIZE_T 1
15830 _ACEOF
15834 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15835 if test "x$ac_cv_type_long_long" = xyes; then :
15837 cat >>confdefs.h <<_ACEOF
15838 #define HAVE_LONG_LONG 1
15839 _ACEOF
15843 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15844 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15846 cat >>confdefs.h <<_ACEOF
15847 #define HAVE_FSBLKCNT_T 1
15848 _ACEOF
15852 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15853 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15855 cat >>confdefs.h <<_ACEOF
15856 #define HAVE_FSFILCNT_T 1
15857 _ACEOF
15862 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15863 #include <signal.h>
15865 if test "x$ac_cv_type_sigset_t" = xyes; then :
15867 cat >>confdefs.h <<_ACEOF
15868 #define HAVE_SIGSET_T 1
15869 _ACEOF
15874 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15876 if test "x$ac_cv_type_request_sense" = xyes; then :
15878 cat >>confdefs.h <<_ACEOF
15879 #define HAVE_REQUEST_SENSE 1
15880 _ACEOF
15886 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15887 #ifdef HAVE_SYS_SOCKET_H
15888 #include <sys/socket.h>
15889 #endif
15890 #ifdef HAVE_SYS_SOCKETVAR_H
15891 #include <sys/socketvar.h>
15892 #endif
15893 #ifdef HAVE_NET_ROUTE_H
15894 #include <net/route.h>
15895 #endif
15896 #ifdef HAVE_NETINET_IN_H
15897 #include <netinet/in.h>
15898 #endif
15899 #ifdef HAVE_NETINET_IN_SYSTM_H
15900 #include <netinet/in_systm.h>
15901 #endif
15902 #ifdef HAVE_NETINET_IP_H
15903 #include <netinet/ip.h>
15904 #endif
15905 #ifdef HAVE_NETINET_IN_PCB_H
15906 #include <netinet/in_pcb.h>
15907 #endif
15909 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15911 cat >>confdefs.h <<_ACEOF
15912 #define HAVE_STRUCT_XINPGEN 1
15913 _ACEOF
15919 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15920 #include <link.h>
15921 #endif
15922 #ifdef HAVE_SYS_LINK_H
15923 #include <sys/link.h>
15924 #endif
15926 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15928 cat >>confdefs.h <<_ACEOF
15929 #define HAVE_STRUCT_R_DEBUG 1
15930 _ACEOF
15934 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15935 #include <link.h>
15936 #endif
15937 #ifdef HAVE_SYS_LINK_H
15938 #include <sys/link.h>
15939 #endif
15941 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15943 cat >>confdefs.h <<_ACEOF
15944 #define HAVE_STRUCT_LINK_MAP 1
15945 _ACEOF
15951 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15952 #include <linux/input.h>
15953 #endif
15955 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15957 cat >>confdefs.h <<_ACEOF
15958 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15959 _ACEOF
15965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15966 $as_echo_n "checking for sigaddset... " >&6; }
15967 if ${wine_cv_have_sigaddset+:} false; then :
15968 $as_echo_n "(cached) " >&6
15969 else
15970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15971 /* end confdefs.h. */
15972 #include <signal.h>
15974 main ()
15976 sigset_t set; sigaddset(&set,SIGTERM);
15978 return 0;
15980 _ACEOF
15981 if ac_fn_c_try_link "$LINENO"; then :
15982 wine_cv_have_sigaddset=yes
15983 else
15984 wine_cv_have_sigaddset=no
15986 rm -f core conftest.err conftest.$ac_objext \
15987 conftest$ac_exeext conftest.$ac_ext
15989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15990 $as_echo "$wine_cv_have_sigaddset" >&6; }
15991 if test "$wine_cv_have_sigaddset" = "yes"
15992 then
15994 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16000 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16001 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16002 $as_echo_n "(cached) " >&6
16003 else
16004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16005 /* end confdefs.h. */
16006 #include <netdb.h>
16008 main ()
16011 char *name=0;
16012 struct hostent he;
16013 struct hostent *result;
16014 char *buf=0;
16015 int bufsize=0;
16016 int errnr;
16017 char *addr=0;
16018 int addrlen=0;
16019 int addrtype=0;
16020 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16021 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16024 return 0;
16026 _ACEOF
16027 if ac_fn_c_try_link "$LINENO"; then :
16028 wine_cv_linux_gethostbyname_r_6=yes
16029 else
16030 wine_cv_linux_gethostbyname_r_6=no
16033 rm -f core conftest.err conftest.$ac_objext \
16034 conftest$ac_exeext conftest.$ac_ext
16037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16038 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16039 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16040 then
16042 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16046 if test "$ac_cv_header_linux_joystick_h" = "yes"
16047 then
16048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16049 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16050 if ${wine_cv_linux_joystick_22_api+:} false; then :
16051 $as_echo_n "(cached) " >&6
16052 else
16053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16054 /* end confdefs.h. */
16056 #include <sys/ioctl.h>
16057 #include <sys/types.h>
16058 #include <linux/joystick.h>
16060 struct js_event blub;
16061 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16062 #error "no 2.2 header"
16063 #endif
16066 main ()
16068 /*empty*/
16070 return 0;
16072 _ACEOF
16073 if ac_fn_c_try_compile "$LINENO"; then :
16074 wine_cv_linux_joystick_22_api=yes
16075 else
16076 wine_cv_linux_joystick_22_api=no
16078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16082 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16083 if test "$wine_cv_linux_joystick_22_api" = "yes"
16084 then
16086 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16092 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16093 #ifdef HAVE_SYS_PARAM_H
16094 # include <sys/param.h>
16095 #endif
16096 #ifdef HAVE_SYS_MOUNT_H
16097 # include <sys/mount.h>
16098 #endif
16099 #ifdef HAVE_SYS_VFS_H
16100 # include <sys/vfs.h>
16101 #endif
16102 #ifdef HAVE_SYS_STATFS_H
16103 # include <sys/statfs.h>
16104 #endif
16106 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16108 cat >>confdefs.h <<_ACEOF
16109 #define HAVE_STRUCT_STATFS_F_BFREE 1
16110 _ACEOF
16114 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16115 #ifdef HAVE_SYS_PARAM_H
16116 # include <sys/param.h>
16117 #endif
16118 #ifdef HAVE_SYS_MOUNT_H
16119 # include <sys/mount.h>
16120 #endif
16121 #ifdef HAVE_SYS_VFS_H
16122 # include <sys/vfs.h>
16123 #endif
16124 #ifdef HAVE_SYS_STATFS_H
16125 # include <sys/statfs.h>
16126 #endif
16128 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16130 cat >>confdefs.h <<_ACEOF
16131 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16132 _ACEOF
16136 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16137 #ifdef HAVE_SYS_PARAM_H
16138 # include <sys/param.h>
16139 #endif
16140 #ifdef HAVE_SYS_MOUNT_H
16141 # include <sys/mount.h>
16142 #endif
16143 #ifdef HAVE_SYS_VFS_H
16144 # include <sys/vfs.h>
16145 #endif
16146 #ifdef HAVE_SYS_STATFS_H
16147 # include <sys/statfs.h>
16148 #endif
16150 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16152 cat >>confdefs.h <<_ACEOF
16153 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16154 _ACEOF
16158 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16159 #ifdef HAVE_SYS_PARAM_H
16160 # include <sys/param.h>
16161 #endif
16162 #ifdef HAVE_SYS_MOUNT_H
16163 # include <sys/mount.h>
16164 #endif
16165 #ifdef HAVE_SYS_VFS_H
16166 # include <sys/vfs.h>
16167 #endif
16168 #ifdef HAVE_SYS_STATFS_H
16169 # include <sys/statfs.h>
16170 #endif
16172 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16174 cat >>confdefs.h <<_ACEOF
16175 #define HAVE_STRUCT_STATFS_F_FFREE 1
16176 _ACEOF
16180 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16181 #ifdef HAVE_SYS_PARAM_H
16182 # include <sys/param.h>
16183 #endif
16184 #ifdef HAVE_SYS_MOUNT_H
16185 # include <sys/mount.h>
16186 #endif
16187 #ifdef HAVE_SYS_VFS_H
16188 # include <sys/vfs.h>
16189 #endif
16190 #ifdef HAVE_SYS_STATFS_H
16191 # include <sys/statfs.h>
16192 #endif
16194 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16196 cat >>confdefs.h <<_ACEOF
16197 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16198 _ACEOF
16202 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16203 #ifdef HAVE_SYS_PARAM_H
16204 # include <sys/param.h>
16205 #endif
16206 #ifdef HAVE_SYS_MOUNT_H
16207 # include <sys/mount.h>
16208 #endif
16209 #ifdef HAVE_SYS_VFS_H
16210 # include <sys/vfs.h>
16211 #endif
16212 #ifdef HAVE_SYS_STATFS_H
16213 # include <sys/statfs.h>
16214 #endif
16216 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16218 cat >>confdefs.h <<_ACEOF
16219 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16220 _ACEOF
16226 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16227 #include <sys/statvfs.h>
16228 #endif
16230 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16232 cat >>confdefs.h <<_ACEOF
16233 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16234 _ACEOF
16240 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16241 #include <dirent.h>
16242 #endif
16244 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16246 cat >>confdefs.h <<_ACEOF
16247 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16248 _ACEOF
16254 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16255 #ifdef HAVE_SYS_SOCKET_H
16256 # include <sys/socket.h>
16257 #endif
16258 #ifdef HAVE_SYS_UN_H
16259 # include <sys/un.h>
16260 #endif
16262 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16264 cat >>confdefs.h <<_ACEOF
16265 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16266 _ACEOF
16270 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16271 #ifdef HAVE_SYS_SOCKET_H
16272 # include <sys/socket.h>
16273 #endif
16274 #ifdef HAVE_SYS_UN_H
16275 # include <sys/un.h>
16276 #endif
16278 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16280 cat >>confdefs.h <<_ACEOF
16281 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16282 _ACEOF
16286 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16287 #ifdef HAVE_SYS_SOCKET_H
16288 # include <sys/socket.h>
16289 #endif
16290 #ifdef HAVE_SYS_UN_H
16291 # include <sys/un.h>
16292 #endif
16294 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16296 cat >>confdefs.h <<_ACEOF
16297 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16298 _ACEOF
16304 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16305 #ifdef HAVE_SCSI_SG_H
16306 #include <scsi/sg.h>
16307 #endif
16309 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16311 cat >>confdefs.h <<_ACEOF
16312 #define HAVE_SCSIREQ_T_CMD 1
16313 _ACEOF
16317 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>
16318 #ifdef HAVE_SCSI_SG_H
16319 #include <scsi/sg.h>
16320 #endif
16322 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16324 cat >>confdefs.h <<_ACEOF
16325 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16326 _ACEOF
16332 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16334 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16336 cat >>confdefs.h <<_ACEOF
16337 #define HAVE_SIGINFO_T_SI_FD 1
16338 _ACEOF
16344 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16345 #ifdef HAVE_SYS_MTIO_H
16346 #include <sys/mtio.h>
16347 #endif
16349 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16351 cat >>confdefs.h <<_ACEOF
16352 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16353 _ACEOF
16357 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16358 #ifdef HAVE_SYS_MTIO_H
16359 #include <sys/mtio.h>
16360 #endif
16362 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16364 cat >>confdefs.h <<_ACEOF
16365 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16366 _ACEOF
16370 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16371 #ifdef HAVE_SYS_MTIO_H
16372 #include <sys/mtio.h>
16373 #endif
16375 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16377 cat >>confdefs.h <<_ACEOF
16378 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16379 _ACEOF
16385 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16386 #include <getopt.h>
16387 #endif
16389 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16391 cat >>confdefs.h <<_ACEOF
16392 #define HAVE_STRUCT_OPTION_NAME 1
16393 _ACEOF
16399 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16400 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16402 cat >>confdefs.h <<_ACEOF
16403 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16404 _ACEOF
16408 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16409 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16411 cat >>confdefs.h <<_ACEOF
16412 #define HAVE_STRUCT_STAT_ST_MTIM 1
16413 _ACEOF
16417 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16418 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16420 cat >>confdefs.h <<_ACEOF
16421 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16422 _ACEOF
16426 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16427 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16429 cat >>confdefs.h <<_ACEOF
16430 #define HAVE_STRUCT_STAT_ST_CTIM 1
16431 _ACEOF
16435 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16436 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16438 cat >>confdefs.h <<_ACEOF
16439 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16440 _ACEOF
16444 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16445 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16447 cat >>confdefs.h <<_ACEOF
16448 #define HAVE_STRUCT_STAT_ST_ATIM 1
16449 _ACEOF
16453 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16454 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16456 cat >>confdefs.h <<_ACEOF
16457 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16458 _ACEOF
16462 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16463 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16465 cat >>confdefs.h <<_ACEOF
16466 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16467 _ACEOF
16471 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16472 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16474 cat >>confdefs.h <<_ACEOF
16475 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16476 _ACEOF
16480 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16481 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16483 cat >>confdefs.h <<_ACEOF
16484 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16485 _ACEOF
16489 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16490 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16492 cat >>confdefs.h <<_ACEOF
16493 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16494 _ACEOF
16498 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16499 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16501 cat >>confdefs.h <<_ACEOF
16502 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16503 _ACEOF
16509 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
16510 #include <sys/types.h>
16511 #endif
16512 #ifdef HAVE_NETINET_IN_H
16513 #include <netinet/in.h>
16514 #endif
16516 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16518 cat >>confdefs.h <<_ACEOF
16519 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16520 _ACEOF
16526 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16527 #include <resolv.h>
16528 #endif
16530 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16532 cat >>confdefs.h <<_ACEOF
16533 #define HAVE_STRUCT___RES_STATE 1
16534 _ACEOF
16540 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
16541 #include <resolv.h>
16542 #endif
16544 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16546 cat >>confdefs.h <<_ACEOF
16547 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16548 _ACEOF
16554 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16555 #include <sys/types.h>
16556 #endif
16557 #ifdef HAVE_NETINET_IN_H
16558 # include <netinet/in.h>
16559 #endif
16560 #ifdef HAVE_ARPA_NAMESER_H
16561 # include <arpa/nameser.h>
16562 #endif
16564 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16566 cat >>confdefs.h <<_ACEOF
16567 #define HAVE_NS_MSG__MSG_PTR 1
16568 _ACEOF
16574 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16575 #include <sys/types.h>
16576 #endif
16577 #ifdef HAVE_NETINET_IP_H
16578 #include <netinet/ip.h>
16579 #endif
16580 #ifdef HAVE_NETINET_IP_ICMP_H
16581 #include <netinet/ip_icmp.h>
16582 #endif
16583 #ifdef HAVE_NETINET_ICMP_VAR_H
16584 #include <netinet/icmp_var.h>
16585 #endif
16587 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16589 cat >>confdefs.h <<_ACEOF
16590 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16591 _ACEOF
16597 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16598 #include <sys/types.h>
16599 #endif
16600 #ifdef HAVE_ALIAS_H
16601 #include <alias.h>
16602 #endif
16603 #ifdef HAVE_SYS_SOCKET_H
16604 #include <sys/socket.h>
16605 #endif
16606 #ifdef HAVE_SYS_SOCKETVAR_H
16607 #include <sys/socketvar.h>
16608 #endif
16609 #ifdef HAVE_SYS_TIMEOUT_H
16610 #include <sys/timeout.h>
16611 #endif
16612 #ifdef HAVE_NETINET_IN_H
16613 #include <netinet/in.h>
16614 #endif
16615 #ifdef HAVE_NETINET_IN_SYSTM_H
16616 #include <netinet/in_systm.h>
16617 #endif
16618 #ifdef HAVE_NETINET_IP_H
16619 #include <netinet/ip.h>
16620 #endif
16621 #ifdef HAVE_NETINET_IP_VAR_H
16622 #include <netinet/ip_var.h>
16623 #endif
16624 #ifdef HAVE_NETINET_IP_ICMP_H
16625 #include <netinet/ip_icmp.h>
16626 #endif
16627 #ifdef HAVE_NETINET_ICMP_VAR_H
16628 #include <netinet/icmp_var.h>
16629 #endif
16631 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16633 cat >>confdefs.h <<_ACEOF
16634 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16635 _ACEOF
16641 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16642 #include <sys/types.h>
16643 #endif
16644 #ifdef HAVE_SYS_SOCKETVAR_H
16645 #include <sys/socketvar.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
16654 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16656 cat >>confdefs.h <<_ACEOF
16657 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16658 _ACEOF
16664 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
16665 #include <netinet/ip_var.h>
16666 #endif
16668 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16670 cat >>confdefs.h <<_ACEOF
16671 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16672 _ACEOF
16678 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16679 #include <sys/types.h>
16680 #endif
16681 #ifdef HAVE_SYS_SOCKETVAR_H
16682 #include <sys/socketvar.h>
16683 #endif
16684 #ifdef HAVE_NETINET_IN_H
16685 #include <netinet/in.h>
16686 #endif
16687 #ifdef HAVE_NETINET_TCP_H
16688 #include <netinet/tcp.h>
16689 #endif
16690 #ifdef HAVE_NETINET_TCP_VAR_H
16691 #include <netinet/tcp_var.h>
16692 #endif
16694 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16696 cat >>confdefs.h <<_ACEOF
16697 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16698 _ACEOF
16704 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
16705 #include <netinet/tcp_var.h>
16706 #endif
16708 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16710 cat >>confdefs.h <<_ACEOF
16711 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16712 _ACEOF
16718 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16719 #include <sys/types.h>
16720 #endif
16721 #ifdef HAVE_NETINET_IN_H
16722 #include <netinet/in.h>
16723 #endif
16724 #ifdef HAVE_NETINET_IP_VAR_H
16725 #include <netinet/ip_var.h>
16726 #endif
16727 #ifdef HAVE_NETINET_UDP_H
16728 #include <netinet/udp.h>
16729 #endif
16730 #ifdef HAVE_NETINET_UDP_VAR_H
16731 #include <netinet/udp_var.h>
16732 #endif
16734 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16736 cat >>confdefs.h <<_ACEOF
16737 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16738 _ACEOF
16744 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16745 #include <sys/types.h>
16746 #endif
16747 #ifdef HAVE_NET_IF_H
16748 # include <net/if.h>
16749 #endif
16751 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16753 cat >>confdefs.h <<_ACEOF
16754 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16755 _ACEOF
16761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16762 $as_echo_n "checking for timezone variable... " >&6; }
16763 if ${ac_cv_have_timezone+:} false; then :
16764 $as_echo_n "(cached) " >&6
16765 else
16766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16767 /* end confdefs.h. */
16768 #include <time.h>
16770 main ()
16772 timezone = 1
16774 return 0;
16776 _ACEOF
16777 if ac_fn_c_try_link "$LINENO"; then :
16778 ac_cv_have_timezone="yes"
16779 else
16780 ac_cv_have_timezone="no"
16782 rm -f core conftest.err conftest.$ac_objext \
16783 conftest$ac_exeext conftest.$ac_ext
16785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16786 $as_echo "$ac_cv_have_timezone" >&6; }
16787 if test "$ac_cv_have_timezone" = "yes"
16788 then
16790 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16794 $as_echo_n "checking for daylight variable... " >&6; }
16795 if ${ac_cv_have_daylight+:} false; then :
16796 $as_echo_n "(cached) " >&6
16797 else
16798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16799 /* end confdefs.h. */
16800 #include <time.h>
16802 main ()
16804 daylight = 1
16806 return 0;
16808 _ACEOF
16809 if ac_fn_c_try_link "$LINENO"; then :
16810 ac_cv_have_daylight="yes"
16811 else
16812 ac_cv_have_daylight="no"
16814 rm -f core conftest.err conftest.$ac_objext \
16815 conftest$ac_exeext conftest.$ac_ext
16817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16818 $as_echo "$ac_cv_have_daylight" >&6; }
16819 if test "$ac_cv_have_daylight" = "yes"
16820 then
16822 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16826 ac_save_LIBS="$LIBS"
16827 LIBS="$LIBS -lm"
16828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16829 $as_echo_n "checking for isfinite... " >&6; }
16830 if ${ac_cv_have_isfinite+:} false; then :
16831 $as_echo_n "(cached) " >&6
16832 else
16833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16834 /* end confdefs.h. */
16835 #define _GNU_SOURCE
16836 #include <math.h>
16838 main ()
16840 float f = 0.0; return isfinite(f)
16842 return 0;
16844 _ACEOF
16845 if ac_fn_c_try_link "$LINENO"; then :
16846 ac_cv_have_isfinite="yes"
16847 else
16848 ac_cv_have_isfinite="no"
16850 rm -f core conftest.err conftest.$ac_objext \
16851 conftest$ac_exeext conftest.$ac_ext
16853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16854 $as_echo "$ac_cv_have_isfinite" >&6; }
16855 if test "$ac_cv_have_isfinite" = "yes"
16856 then
16858 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16863 $as_echo_n "checking for isinf... " >&6; }
16864 if ${ac_cv_have_isinf+:} false; then :
16865 $as_echo_n "(cached) " >&6
16866 else
16867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16868 /* end confdefs.h. */
16869 #include <math.h>
16871 main ()
16873 float f = 0.0; return isinf(f)
16875 return 0;
16877 _ACEOF
16878 if ac_fn_c_try_link "$LINENO"; then :
16879 ac_cv_have_isinf="yes"
16880 else
16881 ac_cv_have_isinf="no"
16883 rm -f core conftest.err conftest.$ac_objext \
16884 conftest$ac_exeext conftest.$ac_ext
16886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16887 $as_echo "$ac_cv_have_isinf" >&6; }
16888 if test "$ac_cv_have_isinf" = "yes"
16889 then
16891 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16896 $as_echo_n "checking for isnan... " >&6; }
16897 if ${ac_cv_have_isnan+:} false; then :
16898 $as_echo_n "(cached) " >&6
16899 else
16900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16901 /* end confdefs.h. */
16902 #include <math.h>
16904 main ()
16906 float f = 0.0; return isnan(f)
16908 return 0;
16910 _ACEOF
16911 if ac_fn_c_try_link "$LINENO"; then :
16912 ac_cv_have_isnan="yes"
16913 else
16914 ac_cv_have_isnan="no"
16916 rm -f core conftest.err conftest.$ac_objext \
16917 conftest$ac_exeext conftest.$ac_ext
16919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16920 $as_echo "$ac_cv_have_isnan" >&6; }
16921 if test "$ac_cv_have_isnan" = "yes"
16922 then
16924 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16928 for ac_func in \
16929 asinh \
16930 asinhf \
16931 cbrt \
16932 cbrtf \
16933 erf \
16934 erff \
16935 exp2 \
16936 exp2f \
16937 llrint \
16938 llrintf \
16939 llround \
16940 llroundf \
16941 log2 \
16942 log2f \
16943 lrint \
16944 lrintf \
16945 lround \
16946 lroundf \
16947 powl \
16948 remainder \
16949 remainderf \
16950 rint \
16951 rintf \
16952 round \
16953 roundf \
16954 trunc \
16955 truncf
16957 do :
16958 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16959 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16960 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16961 cat >>confdefs.h <<_ACEOF
16962 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16963 _ACEOF
16966 done
16968 LIBS="$ac_save_LIBS"
16970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16971 $as_echo_n "checking for __builtin_clz... " >&6; }
16972 if ${ac_cv_have___builtin_clz+:} false; then :
16973 $as_echo_n "(cached) " >&6
16974 else
16975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16976 /* end confdefs.h. */
16979 main ()
16981 return __builtin_clz(1)
16983 return 0;
16985 _ACEOF
16986 if ac_fn_c_try_link "$LINENO"; then :
16987 ac_cv_have___builtin_clz="yes"
16988 else
16989 ac_cv_have___builtin_clz="no"
16991 rm -f core conftest.err conftest.$ac_objext \
16992 conftest$ac_exeext conftest.$ac_ext
16994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16995 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16996 if test "$ac_cv_have___builtin_clz" = "yes"
16997 then
16999 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17004 $as_echo_n "checking for __builtin_popcount... " >&6; }
17005 if ${ac_cv_have___builtin_popcount+:} false; then :
17006 $as_echo_n "(cached) " >&6
17007 else
17008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17009 /* end confdefs.h. */
17012 main ()
17014 return __builtin_popcount(1)
17016 return 0;
17018 _ACEOF
17019 if ac_fn_c_try_link "$LINENO"; then :
17020 ac_cv_have___builtin_popcount="yes"
17021 else
17022 ac_cv_have___builtin_popcount="no"
17024 rm -f core conftest.err conftest.$ac_objext \
17025 conftest$ac_exeext conftest.$ac_ext
17027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17028 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17029 if test "$ac_cv_have___builtin_popcount" = "yes"
17030 then
17032 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17037 case $host_cpu in
17038 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17039 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17040 if ${ac_cv_cpp_def___i386__+:} false; then :
17041 $as_echo_n "(cached) " >&6
17042 else
17043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17044 /* end confdefs.h. */
17045 #ifndef __i386__
17047 #endif
17048 _ACEOF
17049 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17050 $EGREP "yes" >/dev/null 2>&1; then :
17051 ac_cv_cpp_def___i386__=yes
17052 else
17053 ac_cv_cpp_def___i386__=no
17055 rm -f conftest*
17058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17059 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17060 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17061 CFLAGS="$CFLAGS -D__i386__"
17062 LINTFLAGS="$LINTFLAGS -D__i386__"
17063 fi ;;
17064 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17065 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17066 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17067 $as_echo_n "(cached) " >&6
17068 else
17069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17070 /* end confdefs.h. */
17071 #ifndef __x86_64__
17073 #endif
17074 _ACEOF
17075 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17076 $EGREP "yes" >/dev/null 2>&1; then :
17077 ac_cv_cpp_def___x86_64__=yes
17078 else
17079 ac_cv_cpp_def___x86_64__=no
17081 rm -f conftest*
17084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17085 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17086 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17087 CFLAGS="$CFLAGS -D__x86_64__"
17088 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17089 fi ;;
17090 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17091 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17092 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17093 $as_echo_n "(cached) " >&6
17094 else
17095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17096 /* end confdefs.h. */
17097 #ifndef __sparc64__
17099 #endif
17100 _ACEOF
17101 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17102 $EGREP "yes" >/dev/null 2>&1; then :
17103 ac_cv_cpp_def___sparc64__=yes
17104 else
17105 ac_cv_cpp_def___sparc64__=no
17107 rm -f conftest*
17110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17111 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17112 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17113 CFLAGS="$CFLAGS -D__sparc64__"
17114 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17115 fi ;;
17116 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17117 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17118 if ${ac_cv_cpp_def___sparc__+:} false; then :
17119 $as_echo_n "(cached) " >&6
17120 else
17121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17122 /* end confdefs.h. */
17123 #ifndef __sparc__
17125 #endif
17126 _ACEOF
17127 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17128 $EGREP "yes" >/dev/null 2>&1; then :
17129 ac_cv_cpp_def___sparc__=yes
17130 else
17131 ac_cv_cpp_def___sparc__=no
17133 rm -f conftest*
17136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17137 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17138 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17139 CFLAGS="$CFLAGS -D__sparc__"
17140 LINTFLAGS="$LINTFLAGS -D__sparc__"
17141 fi ;;
17142 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17143 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17144 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17145 $as_echo_n "(cached) " >&6
17146 else
17147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17148 /* end confdefs.h. */
17149 #ifndef __powerpc64__
17151 #endif
17152 _ACEOF
17153 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17154 $EGREP "yes" >/dev/null 2>&1; then :
17155 ac_cv_cpp_def___powerpc64__=yes
17156 else
17157 ac_cv_cpp_def___powerpc64__=no
17159 rm -f conftest*
17162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17163 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17164 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17165 CFLAGS="$CFLAGS -D__powerpc64__"
17166 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17167 fi ;;
17168 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17169 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17170 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17171 $as_echo_n "(cached) " >&6
17172 else
17173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17174 /* end confdefs.h. */
17175 #ifndef __powerpc__
17177 #endif
17178 _ACEOF
17179 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17180 $EGREP "yes" >/dev/null 2>&1; then :
17181 ac_cv_cpp_def___powerpc__=yes
17182 else
17183 ac_cv_cpp_def___powerpc__=no
17185 rm -f conftest*
17188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17189 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17190 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17191 CFLAGS="$CFLAGS -D__powerpc__"
17192 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17193 fi ;;
17194 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17195 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17196 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17197 $as_echo_n "(cached) " >&6
17198 else
17199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17200 /* end confdefs.h. */
17201 #ifndef __aarch64__
17203 #endif
17204 _ACEOF
17205 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17206 $EGREP "yes" >/dev/null 2>&1; then :
17207 ac_cv_cpp_def___aarch64__=yes
17208 else
17209 ac_cv_cpp_def___aarch64__=no
17211 rm -f conftest*
17214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17215 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17216 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17217 CFLAGS="$CFLAGS -D__aarch64__"
17218 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17219 fi ;;
17220 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17221 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17222 if ${ac_cv_cpp_def___arm__+:} false; then :
17223 $as_echo_n "(cached) " >&6
17224 else
17225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17226 /* end confdefs.h. */
17227 #ifndef __arm__
17229 #endif
17230 _ACEOF
17231 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17232 $EGREP "yes" >/dev/null 2>&1; then :
17233 ac_cv_cpp_def___arm__=yes
17234 else
17235 ac_cv_cpp_def___arm__=no
17237 rm -f conftest*
17240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17241 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17242 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17243 CFLAGS="$CFLAGS -D__arm__"
17244 LINTFLAGS="$LINTFLAGS -D__arm__"
17245 fi ;;
17246 esac
17248 case $host_vendor in
17249 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17250 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17251 if ${ac_cv_cpp_def___sun__+:} false; then :
17252 $as_echo_n "(cached) " >&6
17253 else
17254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17255 /* end confdefs.h. */
17256 #ifndef __sun__
17258 #endif
17259 _ACEOF
17260 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17261 $EGREP "yes" >/dev/null 2>&1; then :
17262 ac_cv_cpp_def___sun__=yes
17263 else
17264 ac_cv_cpp_def___sun__=no
17266 rm -f conftest*
17269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17270 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17271 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17272 CFLAGS="$CFLAGS -D__sun__"
17273 LINTFLAGS="$LINTFLAGS -D__sun__"
17274 fi ;;
17275 esac
17281 ac_config_commands="$ac_config_commands include/stamp-h"
17283 $as_echo_n "creating Makefile rules..." >&6
17285 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17286 SOCKET_LIBS = $SOCKET_LIBS
17287 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17288 IOKIT_LIBS = $IOKIT_LIBS
17289 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17290 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17291 CORESERVICES_LIBS = $CORESERVICES_LIBS
17292 APPKIT_LIBS = $APPKIT_LIBS
17293 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17294 SECURITY_LIBS = $SECURITY_LIBS
17295 COREAUDIO_LIBS = $COREAUDIO_LIBS
17296 OPENAL_LIBS = $OPENAL_LIBS
17297 OPENCL_LIBS = $OPENCL_LIBS
17298 QUICKTIME_LIBS = $QUICKTIME_LIBS
17299 CARBON_LIBS = $CARBON_LIBS
17300 PTHREAD_LIBS = $PTHREAD_LIBS
17301 X_CFLAGS = $X_CFLAGS
17302 X_PRE_LIBS = $X_PRE_LIBS
17303 X_LIBS = $X_LIBS
17304 X_EXTRA_LIBS = $X_EXTRA_LIBS
17305 PCAP_LIBS = $PCAP_LIBS
17306 XML2_CFLAGS = $XML2_CFLAGS
17307 XML2_LIBS = $XML2_LIBS
17308 XSLT_CFLAGS = $XSLT_CFLAGS
17309 XSLT_LIBS = $XSLT_LIBS
17310 DBUS_CFLAGS = $DBUS_CFLAGS
17311 DBUS_LIBS = $DBUS_LIBS
17312 HAL_CFLAGS = $HAL_CFLAGS
17313 HAL_LIBS = $HAL_LIBS
17314 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17315 GNUTLS_LIBS = $GNUTLS_LIBS
17316 SANE_CFLAGS = $SANE_CFLAGS
17317 SANE_LIBS = $SANE_LIBS
17318 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17319 GPHOTO2_LIBS = $GPHOTO2_LIBS
17320 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17321 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17322 RESOLV_LIBS = $RESOLV_LIBS
17323 LCMS2_CFLAGS = $LCMS2_CFLAGS
17324 LCMS2_LIBS = $LCMS2_LIBS
17325 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17326 FREETYPE_LIBS = $FREETYPE_LIBS
17327 Z_LIBS = $Z_LIBS
17328 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17329 PULSE_CFLAGS = $PULSE_CFLAGS
17330 PULSE_LIBS = $PULSE_LIBS
17331 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17332 GSTREAMER_LIBS = $GSTREAMER_LIBS
17333 ALSA_LIBS = $ALSA_LIBS
17334 OSS4_CFLAGS = $OSS4_CFLAGS
17335 CAPI20_CFLAGS = $CAPI20_CFLAGS
17336 CAPI20_LIBS = $CAPI20_LIBS
17337 CUPS_CFLAGS = $CUPS_CFLAGS
17338 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17339 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17340 JPEG_CFLAGS = $JPEG_CFLAGS
17341 JPEG_LIBS = $JPEG_LIBS
17342 PNG_CFLAGS = $PNG_CFLAGS
17343 PNG_LIBS = $PNG_LIBS
17344 TIFF_CFLAGS = $TIFF_CFLAGS
17345 TIFF_LIBS = $TIFF_LIBS
17346 MPG123_CFLAGS = $MPG123_CFLAGS
17347 MPG123_LIBS = $MPG123_LIBS
17348 KSTAT_LIBS = $KSTAT_LIBS
17349 PROCSTAT_LIBS = $PROCSTAT_LIBS
17350 NETAPI_CFLAGS = $NETAPI_CFLAGS
17351 NETAPI_LIBS = $NETAPI_LIBS
17352 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17353 DL_LIBS = $DL_LIBS
17354 POLL_LIBS = $POLL_LIBS
17355 RT_LIBS = $RT_LIBS
17356 LDAP_LIBS = $LDAP_LIBS
17361 wine_fn_append_rule "
17362 # Rules automatically generated by configure
17364 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17366 .INIT: Makefile
17367 .MAKEFILEDEPS:
17368 all: Makefile
17369 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17370 @./config.status Make.tmp Makefile
17371 depend: \$(MAKEDEP) dummy
17372 \$(MAKEDEP)"
17374 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17375 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17377 if test "x$enable_fonts" != xno; then
17378 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17379 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17380 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17381 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17382 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17383 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17385 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17386 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17387 ac_config_links="$ac_config_links wine:tools/winewrapper"
17388 wine_fn_config_symlink wine
17389 if test "x$enable_win64" != xno; then
17390 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17391 wine_fn_config_symlink wine64
17394 wine_fn_config_dll acledit enable_acledit
17395 wine_fn_config_dll aclui enable_aclui implib
17396 wine_fn_config_dll activeds enable_activeds implib
17397 wine_fn_config_dll actxprxy enable_actxprxy clean
17398 wine_fn_config_lib adsiid
17399 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17400 wine_fn_config_test dlls/advapi32/tests advapi32_test
17401 wine_fn_config_dll advpack enable_advpack implib
17402 wine_fn_config_test dlls/advpack/tests advpack_test
17403 wine_fn_config_dll amstream enable_amstream clean
17404 wine_fn_config_test dlls/amstream/tests amstream_test
17405 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17406 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17407 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17408 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17409 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17410 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17411 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17412 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17413 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17414 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17415 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17416 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17417 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17418 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17419 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17420 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17421 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17422 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17423 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17424 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17425 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17426 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17427 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17428 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17429 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17430 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17431 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17432 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17433 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17434 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17435 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17436 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17437 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17438 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17439 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17440 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17441 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17442 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17443 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17444 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17445 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17446 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17447 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17448 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17449 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17450 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17451 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17452 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17453 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17454 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17455 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17456 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17457 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17458 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17459 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17460 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17461 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17462 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17463 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17464 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17465 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17466 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17467 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17468 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17469 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17470 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17471 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17472 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17473 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17474 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17475 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17476 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17477 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17478 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17479 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17480 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17481 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17482 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17483 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17484 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17485 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17486 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17487 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17488 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17489 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17490 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17491 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17492 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17493 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17494 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17495 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17496 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17497 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17498 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17499 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17500 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17501 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17502 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17503 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17504 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17505 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17506 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17507 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17508 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17509 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17510 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17511 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17512 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17513 wine_fn_config_dll apphelp enable_apphelp
17514 wine_fn_config_test dlls/apphelp/tests apphelp_test
17515 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17516 wine_fn_config_dll atl enable_atl clean,implib
17517 wine_fn_config_test dlls/atl/tests atl_test
17518 wine_fn_config_dll atl100 enable_atl100 clean,implib
17519 wine_fn_config_test dlls/atl100/tests atl100_test
17520 wine_fn_config_dll atl110 enable_atl110 clean
17521 wine_fn_config_dll atl80 enable_atl80 clean,implib
17522 wine_fn_config_test dlls/atl80/tests atl80_test
17523 wine_fn_config_dll atl90 enable_atl90 clean
17524 wine_fn_config_dll authz enable_authz
17525 wine_fn_config_dll avicap32 enable_avicap32 implib
17526 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
17527 wine_fn_config_test dlls/avifil32/tests avifil32_test
17528 wine_fn_config_dll avifile.dll16 enable_win16
17529 wine_fn_config_dll avrt enable_avrt implib
17530 wine_fn_config_dll bcrypt enable_bcrypt implib
17531 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17532 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17533 wine_fn_config_dll browseui enable_browseui clean
17534 wine_fn_config_test dlls/browseui/tests browseui_test
17535 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17536 wine_fn_config_dll cabinet enable_cabinet implib
17537 wine_fn_config_test dlls/cabinet/tests cabinet_test
17538 wine_fn_config_dll capi2032 enable_capi2032 implib
17539 wine_fn_config_dll cards enable_cards implib
17540 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17541 wine_fn_config_dll clusapi enable_clusapi implib
17542 wine_fn_config_dll combase enable_combase
17543 wine_fn_config_test dlls/combase/tests combase_test
17544 wine_fn_config_dll comcat enable_comcat
17545 wine_fn_config_test dlls/comcat/tests comcat_test
17546 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
17547 wine_fn_config_test dlls/comctl32/tests comctl32_test
17548 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
17549 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17550 wine_fn_config_dll comm.drv16 enable_win16
17551 wine_fn_config_dll commdlg.dll16 enable_win16
17552 wine_fn_config_dll compobj.dll16 enable_win16
17553 wine_fn_config_dll compstui enable_compstui implib
17554 wine_fn_config_dll comsvcs enable_comsvcs implib
17555 wine_fn_config_dll concrt140 enable_concrt140
17556 wine_fn_config_dll connect enable_connect
17557 wine_fn_config_dll credui enable_credui clean,implib
17558 wine_fn_config_test dlls/credui/tests credui_test
17559 wine_fn_config_dll crtdll enable_crtdll
17560 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
17561 wine_fn_config_test dlls/crypt32/tests crypt32_test
17562 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17563 wine_fn_config_dll cryptdll enable_cryptdll implib
17564 wine_fn_config_dll cryptext enable_cryptext
17565 wine_fn_config_dll cryptnet enable_cryptnet implib
17566 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17567 wine_fn_config_dll cryptui enable_cryptui clean,implib
17568 wine_fn_config_test dlls/cryptui/tests cryptui_test
17569 wine_fn_config_dll ctapi32 enable_ctapi32
17570 wine_fn_config_dll ctl3d.dll16 enable_win16
17571 wine_fn_config_dll ctl3d32 enable_ctl3d32
17572 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17573 wine_fn_config_dll d2d1 enable_d2d1 implib
17574 wine_fn_config_test dlls/d2d1/tests d2d1_test
17575 wine_fn_config_dll d3d10 enable_d3d10 implib
17576 wine_fn_config_test dlls/d3d10/tests d3d10_test
17577 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17578 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17579 wine_fn_config_dll d3d10core enable_d3d10core implib
17580 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17581 wine_fn_config_dll d3d11 enable_d3d11 implib
17582 wine_fn_config_test dlls/d3d11/tests d3d11_test
17583 wine_fn_config_dll d3d8 enable_d3d8 implib
17584 wine_fn_config_test dlls/d3d8/tests d3d8_test
17585 wine_fn_config_dll d3d9 enable_d3d9 implib
17586 wine_fn_config_test dlls/d3d9/tests d3d9_test
17587 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17588 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17589 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17590 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17591 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17592 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17593 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17594 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17595 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17596 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17597 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17598 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17599 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17600 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17601 wine_fn_config_dll d3dim enable_d3dim
17602 wine_fn_config_dll d3drm enable_d3drm implib
17603 wine_fn_config_test dlls/d3drm/tests d3drm_test
17604 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17605 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17606 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17607 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17608 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17609 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17610 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17611 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17612 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17613 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17614 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17615 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
17616 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17617 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
17618 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17619 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17620 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17621 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17622 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17623 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17624 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17625 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17626 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17627 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17628 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17629 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17630 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17631 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17632 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17633 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17634 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17635 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17636 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17637 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17638 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17639 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17640 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17641 wine_fn_config_dll davclnt enable_davclnt
17642 wine_fn_config_dll dbgeng enable_dbgeng implib
17643 wine_fn_config_dll dbghelp enable_dbghelp implib
17644 wine_fn_config_dll dciman32 enable_dciman32 implib
17645 wine_fn_config_dll ddeml.dll16 enable_win16
17646 wine_fn_config_dll ddraw enable_ddraw clean,implib
17647 wine_fn_config_test dlls/ddraw/tests ddraw_test
17648 wine_fn_config_dll ddrawex enable_ddrawex clean
17649 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17650 wine_fn_config_dll devenum enable_devenum clean
17651 wine_fn_config_test dlls/devenum/tests devenum_test
17652 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17653 wine_fn_config_dll difxapi enable_difxapi
17654 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
17655 wine_fn_config_test dlls/dinput/tests dinput_test
17656 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17657 wine_fn_config_test dlls/dinput8/tests dinput8_test
17658 wine_fn_config_dll dispdib.dll16 enable_win16
17659 wine_fn_config_dll dispex enable_dispex clean
17660 wine_fn_config_test dlls/dispex/tests dispex_test
17661 wine_fn_config_dll display.drv16 enable_win16
17662 wine_fn_config_dll dmband enable_dmband clean
17663 wine_fn_config_test dlls/dmband/tests dmband_test
17664 wine_fn_config_dll dmcompos enable_dmcompos clean
17665 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17666 wine_fn_config_dll dmime enable_dmime clean
17667 wine_fn_config_test dlls/dmime/tests dmime_test
17668 wine_fn_config_dll dmloader enable_dmloader clean
17669 wine_fn_config_test dlls/dmloader/tests dmloader_test
17670 wine_fn_config_dll dmscript enable_dmscript clean
17671 wine_fn_config_test dlls/dmscript/tests dmscript_test
17672 wine_fn_config_dll dmstyle enable_dmstyle clean
17673 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17674 wine_fn_config_dll dmsynth enable_dmsynth clean
17675 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17676 wine_fn_config_dll dmusic enable_dmusic clean
17677 wine_fn_config_test dlls/dmusic/tests dmusic_test
17678 wine_fn_config_dll dmusic32 enable_dmusic32
17679 wine_fn_config_dll dnsapi enable_dnsapi implib
17680 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17681 wine_fn_config_dll dplay enable_dplay
17682 wine_fn_config_dll dplayx enable_dplayx clean,implib
17683 wine_fn_config_test dlls/dplayx/tests dplayx_test
17684 wine_fn_config_dll dpnaddr enable_dpnaddr
17685 wine_fn_config_dll dpnet enable_dpnet clean,implib
17686 wine_fn_config_test dlls/dpnet/tests dpnet_test
17687 wine_fn_config_dll dpnhpast enable_dpnhpast
17688 wine_fn_config_dll dpnlobby enable_dpnlobby
17689 wine_fn_config_dll dpvoice enable_dpvoice clean
17690 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17691 wine_fn_config_dll dpwsockx enable_dpwsockx
17692 wine_fn_config_dll drmclien enable_drmclien
17693 wine_fn_config_dll dsound enable_dsound clean,implib
17694 wine_fn_config_test dlls/dsound/tests dsound_test
17695 wine_fn_config_dll dssenh enable_dssenh
17696 wine_fn_config_test dlls/dssenh/tests dssenh_test
17697 wine_fn_config_dll dswave enable_dswave clean
17698 wine_fn_config_test dlls/dswave/tests dswave_test
17699 wine_fn_config_dll dwmapi enable_dwmapi implib
17700 wine_fn_config_dll dwrite enable_dwrite implib
17701 wine_fn_config_test dlls/dwrite/tests dwrite_test
17702 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17703 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17704 wine_fn_config_lib dxerr8
17705 wine_fn_config_lib dxerr9
17706 wine_fn_config_dll dxgi enable_dxgi implib
17707 wine_fn_config_test dlls/dxgi/tests dxgi_test
17708 wine_fn_config_lib dxguid
17709 wine_fn_config_dll dxva2 enable_dxva2
17710 wine_fn_config_dll esent enable_esent
17711 wine_fn_config_dll evr enable_evr
17712 wine_fn_config_dll explorerframe enable_explorerframe clean
17713 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17714 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17715 wine_fn_config_dll faultrep enable_faultrep implib
17716 wine_fn_config_test dlls/faultrep/tests faultrep_test
17717 wine_fn_config_dll fltlib enable_fltlib
17718 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17719 wine_fn_config_dll fntcache enable_fntcache
17720 wine_fn_config_dll fontsub enable_fontsub
17721 wine_fn_config_dll fusion enable_fusion
17722 wine_fn_config_test dlls/fusion/tests fusion_test
17723 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17724 wine_fn_config_dll gameux enable_gameux clean
17725 wine_fn_config_test dlls/gameux/tests gameux_test
17726 wine_fn_config_dll gdi.exe16 enable_win16
17727 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
17728 wine_fn_config_test dlls/gdi32/tests gdi32_test
17729 wine_fn_config_dll gdiplus enable_gdiplus implib
17730 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17731 wine_fn_config_dll glu32 enable_glu32 implib
17732 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
17733 wine_fn_config_dll gpkcsp enable_gpkcsp
17734 wine_fn_config_dll hal enable_hal
17735 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
17736 wine_fn_config_dll hid enable_hid implib
17737 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17738 wine_fn_config_dll hlink enable_hlink clean,implib
17739 wine_fn_config_test dlls/hlink/tests hlink_test
17740 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17741 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
17742 wine_fn_config_dll httpapi enable_httpapi
17743 wine_fn_config_dll iccvid enable_iccvid clean
17744 wine_fn_config_dll icmp enable_icmp
17745 wine_fn_config_dll ieframe enable_ieframe clean,implib
17746 wine_fn_config_test dlls/ieframe/tests ieframe_test
17747 wine_fn_config_dll ifsmgr.vxd enable_win16
17748 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17749 wine_fn_config_dll imagehlp enable_imagehlp implib
17750 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17751 wine_fn_config_dll imm.dll16 enable_win16
17752 wine_fn_config_dll imm32 enable_imm32 implib
17753 wine_fn_config_test dlls/imm32/tests imm32_test
17754 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17755 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17756 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
17757 wine_fn_config_dll inetmib1 enable_inetmib1
17758 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17759 wine_fn_config_dll infosoft enable_infosoft clean
17760 wine_fn_config_test dlls/infosoft/tests infosoft_test
17761 wine_fn_config_dll initpki enable_initpki
17762 wine_fn_config_dll inkobj enable_inkobj
17763 wine_fn_config_dll inseng enable_inseng clean
17764 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17765 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17766 wine_fn_config_dll irprops.cpl enable_irprops_cpl
17767 wine_fn_config_dll itircl enable_itircl
17768 wine_fn_config_dll itss enable_itss clean
17769 wine_fn_config_test dlls/itss/tests itss_test
17770 wine_fn_config_dll joy.cpl enable_joy_cpl clean
17771 wine_fn_config_dll jscript enable_jscript clean
17772 wine_fn_config_test dlls/jscript/tests jscript_test
17773 wine_fn_config_dll jsproxy enable_jsproxy implib
17774 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
17775 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
17776 wine_fn_config_test dlls/kernel32/tests kernel32_test
17777 wine_fn_config_dll kernelbase enable_kernelbase
17778 wine_fn_config_dll keyboard.drv16 enable_win16
17779 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17780 wine_fn_config_dll ksuser enable_ksuser
17781 wine_fn_config_dll ktmw32 enable_ktmw32
17782 wine_fn_config_dll loadperf enable_loadperf implib
17783 wine_fn_config_dll localspl enable_localspl clean
17784 wine_fn_config_test dlls/localspl/tests localspl_test
17785 wine_fn_config_dll localui enable_localui clean
17786 wine_fn_config_test dlls/localui/tests localui_test
17787 wine_fn_config_dll lz32 enable_lz32 implib
17788 wine_fn_config_test dlls/lz32/tests lz32_test
17789 wine_fn_config_dll lzexpand.dll16 enable_win16
17790 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
17791 wine_fn_config_test dlls/mapi32/tests mapi32_test
17792 wine_fn_config_dll mapistub enable_mapistub
17793 wine_fn_config_dll mciavi32 enable_mciavi32
17794 wine_fn_config_dll mcicda enable_mcicda
17795 wine_fn_config_dll mciqtz32 enable_mciqtz32
17796 wine_fn_config_dll mciseq enable_mciseq
17797 wine_fn_config_dll mciwave enable_mciwave
17798 wine_fn_config_dll mf enable_mf
17799 wine_fn_config_dll mfplat enable_mfplat
17800 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17801 wine_fn_config_dll mgmtapi enable_mgmtapi
17802 wine_fn_config_dll midimap enable_midimap
17803 wine_fn_config_dll mlang enable_mlang clean,implib
17804 wine_fn_config_test dlls/mlang/tests mlang_test
17805 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17806 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17807 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17808 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17809 wine_fn_config_dll mmdevldr.vxd enable_win16
17810 wine_fn_config_dll mmsystem.dll16 enable_win16
17811 wine_fn_config_dll monodebg.vxd enable_win16
17812 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17813 wine_fn_config_dll mouse.drv16 enable_win16
17814 wine_fn_config_dll mpr enable_mpr clean,implib
17815 wine_fn_config_test dlls/mpr/tests mpr_test
17816 wine_fn_config_dll mprapi enable_mprapi implib
17817 wine_fn_config_dll msacm.dll16 enable_win16
17818 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17819 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
17820 wine_fn_config_test dlls/msacm32/tests msacm32_test
17821 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17822 wine_fn_config_dll msasn1 enable_msasn1 implib
17823 wine_fn_config_dll mscat32 enable_mscat32
17824 wine_fn_config_dll mscms enable_mscms implib
17825 wine_fn_config_test dlls/mscms/tests mscms_test
17826 wine_fn_config_dll mscoree enable_mscoree clean
17827 wine_fn_config_test dlls/mscoree/tests mscoree_test
17828 wine_fn_config_dll msctf enable_msctf clean
17829 wine_fn_config_test dlls/msctf/tests msctf_test
17830 wine_fn_config_dll msctfp enable_msctfp clean
17831 wine_fn_config_dll msdaps enable_msdaps clean
17832 wine_fn_config_dll msdelta enable_msdelta
17833 wine_fn_config_dll msdmo enable_msdmo implib
17834 wine_fn_config_test dlls/msdmo/tests msdmo_test
17835 wine_fn_config_dll msdrm enable_msdrm
17836 wine_fn_config_dll msftedit enable_msftedit
17837 wine_fn_config_dll msg711.acm enable_msg711_acm
17838 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17839 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17840 wine_fn_config_dll mshtml enable_mshtml clean,implib
17841 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17842 wine_fn_config_dll msi enable_msi clean,implib
17843 wine_fn_config_test dlls/msi/tests msi_test
17844 wine_fn_config_dll msident enable_msident clean
17845 wine_fn_config_dll msimg32 enable_msimg32 implib
17846 wine_fn_config_dll msimsg enable_msimsg
17847 wine_fn_config_dll msimtf enable_msimtf clean
17848 wine_fn_config_dll msisip enable_msisip
17849 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17850 wine_fn_config_dll msls31 enable_msls31
17851 wine_fn_config_dll msnet32 enable_msnet32
17852 wine_fn_config_dll mspatcha enable_mspatcha implib
17853 wine_fn_config_dll msrle32 enable_msrle32 clean
17854 wine_fn_config_test dlls/msrle32/tests msrle32_test
17855 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
17856 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
17857 wine_fn_config_dll mssign32 enable_mssign32
17858 wine_fn_config_dll mssip32 enable_mssip32
17859 wine_fn_config_dll mstask enable_mstask clean
17860 wine_fn_config_test dlls/mstask/tests mstask_test
17861 wine_fn_config_dll msvcirt enable_msvcirt
17862 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
17863 wine_fn_config_dll msvcm80 enable_msvcm80
17864 wine_fn_config_dll msvcm90 enable_msvcm90
17865 wine_fn_config_dll msvcp100 enable_msvcp100
17866 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17867 wine_fn_config_dll msvcp110 enable_msvcp110
17868 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
17869 wine_fn_config_dll msvcp120 enable_msvcp120
17870 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
17871 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17872 wine_fn_config_dll msvcp140 enable_msvcp140
17873 wine_fn_config_dll msvcp60 enable_msvcp60
17874 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17875 wine_fn_config_dll msvcp70 enable_msvcp70
17876 wine_fn_config_dll msvcp71 enable_msvcp71
17877 wine_fn_config_dll msvcp80 enable_msvcp80
17878 wine_fn_config_dll msvcp90 enable_msvcp90
17879 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17880 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17881 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17882 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17883 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17884 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17885 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17886 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17887 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17888 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17889 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17890 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17891 wine_fn_config_dll msvcrt enable_msvcrt implib
17892 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17893 wine_fn_config_dll msvcrt20 enable_msvcrt20
17894 wine_fn_config_dll msvcrt40 enable_msvcrt40
17895 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17896 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17897 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
17898 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17899 wine_fn_config_dll msvidc32 enable_msvidc32 clean
17900 wine_fn_config_dll msvideo.dll16 enable_win16
17901 wine_fn_config_dll mswsock enable_mswsock implib
17902 wine_fn_config_dll msxml enable_msxml clean
17903 wine_fn_config_dll msxml2 enable_msxml2 clean
17904 wine_fn_config_dll msxml3 enable_msxml3 clean
17905 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17906 wine_fn_config_dll msxml4 enable_msxml4 clean
17907 wine_fn_config_dll msxml6 enable_msxml6 clean
17908 wine_fn_config_dll ncrypt enable_ncrypt
17909 wine_fn_config_dll nddeapi enable_nddeapi implib
17910 wine_fn_config_dll ndis.sys enable_ndis_sys
17911 wine_fn_config_dll netapi32 enable_netapi32 implib
17912 wine_fn_config_test dlls/netapi32/tests netapi32_test
17913 wine_fn_config_dll netcfgx enable_netcfgx clean
17914 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17915 wine_fn_config_dll netprofm enable_netprofm clean
17916 wine_fn_config_test dlls/netprofm/tests netprofm_test
17917 wine_fn_config_dll newdev enable_newdev implib
17918 wine_fn_config_dll normaliz enable_normaliz implib
17919 wine_fn_config_dll npmshtml enable_npmshtml
17920 wine_fn_config_dll npptools enable_npptools
17921 wine_fn_config_dll ntdll enable_ntdll implib
17922 wine_fn_config_test dlls/ntdll/tests ntdll_test
17923 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17924 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17925 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
17926 wine_fn_config_dll ntprint enable_ntprint
17927 wine_fn_config_test dlls/ntprint/tests ntprint_test
17928 wine_fn_config_dll objsel enable_objsel clean
17929 wine_fn_config_dll odbc32 enable_odbc32 implib
17930 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17931 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17932 wine_fn_config_dll odbccu32 enable_odbccu32
17933 wine_fn_config_dll ole2.dll16 enable_win16
17934 wine_fn_config_dll ole2conv.dll16 enable_win16
17935 wine_fn_config_dll ole2disp.dll16 enable_win16
17936 wine_fn_config_dll ole2nls.dll16 enable_win16
17937 wine_fn_config_dll ole2prox.dll16 enable_win16
17938 wine_fn_config_dll ole2thk.dll16 enable_win16
17939 wine_fn_config_dll ole32 enable_ole32 clean,implib
17940 wine_fn_config_test dlls/ole32/tests ole32_test
17941 wine_fn_config_dll oleacc enable_oleacc clean,implib
17942 wine_fn_config_test dlls/oleacc/tests oleacc_test
17943 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
17944 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17945 wine_fn_config_dll olecli.dll16 enable_win16
17946 wine_fn_config_dll olecli32 enable_olecli32 implib
17947 wine_fn_config_dll oledb32 enable_oledb32 clean
17948 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17949 wine_fn_config_dll oledlg enable_oledlg clean,implib
17950 wine_fn_config_test dlls/oledlg/tests oledlg_test
17951 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
17952 wine_fn_config_dll olesvr.dll16 enable_win16
17953 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17954 wine_fn_config_dll olethk32 enable_olethk32
17955 wine_fn_config_dll openal32 enable_openal32
17956 wine_fn_config_dll opencl enable_opencl
17957 wine_fn_config_dll opengl32 enable_opengl32 implib
17958 wine_fn_config_test dlls/opengl32/tests opengl32_test
17959 wine_fn_config_dll packager enable_packager clean
17960 wine_fn_config_test dlls/packager/tests packager_test
17961 wine_fn_config_dll pdh enable_pdh implib
17962 wine_fn_config_test dlls/pdh/tests pdh_test
17963 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17964 wine_fn_config_dll pidgen enable_pidgen
17965 wine_fn_config_dll powrprof enable_powrprof implib
17966 wine_fn_config_dll printui enable_printui
17967 wine_fn_config_dll prntvpt enable_prntvpt
17968 wine_fn_config_dll propsys enable_propsys clean,implib
17969 wine_fn_config_test dlls/propsys/tests propsys_test
17970 wine_fn_config_dll psapi enable_psapi implib
17971 wine_fn_config_test dlls/psapi/tests psapi_test
17972 wine_fn_config_dll pstorec enable_pstorec clean
17973 wine_fn_config_dll qcap enable_qcap
17974 wine_fn_config_test dlls/qcap/tests qcap_test
17975 wine_fn_config_dll qedit enable_qedit clean
17976 wine_fn_config_test dlls/qedit/tests qedit_test
17977 wine_fn_config_dll qmgr enable_qmgr clean
17978 wine_fn_config_test dlls/qmgr/tests qmgr_test
17979 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17980 wine_fn_config_dll quartz enable_quartz clean,implib
17981 wine_fn_config_test dlls/quartz/tests quartz_test clean
17982 wine_fn_config_dll query enable_query
17983 wine_fn_config_dll rasapi16.dll16 enable_win16
17984 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17985 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17986 wine_fn_config_dll rasdlg enable_rasdlg implib
17987 wine_fn_config_dll regapi enable_regapi
17988 wine_fn_config_dll resutils enable_resutils implib
17989 wine_fn_config_dll riched20 enable_riched20 clean,implib
17990 wine_fn_config_test dlls/riched20/tests riched20_test
17991 wine_fn_config_dll riched32 enable_riched32
17992 wine_fn_config_test dlls/riched32/tests riched32_test
17993 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17994 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17995 wine_fn_config_dll rsabase enable_rsabase
17996 wine_fn_config_dll rsaenh enable_rsaenh implib
17997 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17998 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17999 wine_fn_config_dll rtutils enable_rtutils implib
18000 wine_fn_config_dll samlib enable_samlib
18001 wine_fn_config_dll sane.ds enable_sane_ds clean
18002 wine_fn_config_dll scarddlg enable_scarddlg
18003 wine_fn_config_dll sccbase enable_sccbase
18004 wine_fn_config_dll schannel enable_schannel
18005 wine_fn_config_test dlls/schannel/tests schannel_test
18006 wine_fn_config_dll schedsvc enable_schedsvc clean
18007 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18008 wine_fn_config_dll scrrun enable_scrrun clean
18009 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18010 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18011 wine_fn_config_dll secur32 enable_secur32 implib
18012 wine_fn_config_test dlls/secur32/tests secur32_test
18013 wine_fn_config_dll security enable_security
18014 wine_fn_config_dll sensapi enable_sensapi implib
18015 wine_fn_config_dll serialui enable_serialui clean
18016 wine_fn_config_test dlls/serialui/tests serialui_test
18017 wine_fn_config_dll setupapi enable_setupapi clean,implib
18018 wine_fn_config_test dlls/setupapi/tests setupapi_test
18019 wine_fn_config_dll setupx.dll16 enable_win16
18020 wine_fn_config_dll sfc enable_sfc implib
18021 wine_fn_config_dll sfc_os enable_sfc_os implib
18022 wine_fn_config_dll shdoclc enable_shdoclc clean
18023 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18024 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18025 wine_fn_config_dll shell.dll16 enable_win16
18026 wine_fn_config_dll shell32 enable_shell32 clean,implib
18027 wine_fn_config_test dlls/shell32/tests shell32_test
18028 wine_fn_config_dll shfolder enable_shfolder implib
18029 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18030 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18031 wine_fn_config_dll slbcsp enable_slbcsp
18032 wine_fn_config_dll slc enable_slc implib
18033 wine_fn_config_test dlls/slc/tests slc_test
18034 wine_fn_config_dll snmpapi enable_snmpapi implib
18035 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18036 wine_fn_config_dll softpub enable_softpub
18037 wine_fn_config_dll sound.drv16 enable_win16
18038 wine_fn_config_dll spoolss enable_spoolss implib
18039 wine_fn_config_test dlls/spoolss/tests spoolss_test
18040 wine_fn_config_dll sspicli enable_sspicli
18041 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18042 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18043 wine_fn_config_dll sti enable_sti clean,implib
18044 wine_fn_config_test dlls/sti/tests sti_test
18045 wine_fn_config_dll storage.dll16 enable_win16
18046 wine_fn_config_dll stress.dll16 enable_win16
18047 wine_fn_config_lib strmbase
18048 wine_fn_config_lib strmiids
18049 wine_fn_config_dll svrapi enable_svrapi
18050 wine_fn_config_dll sxs enable_sxs implib
18051 wine_fn_config_test dlls/sxs/tests sxs_test
18052 wine_fn_config_dll system.drv16 enable_win16
18053 wine_fn_config_dll t2embed enable_t2embed implib
18054 wine_fn_config_test dlls/t2embed/tests t2embed_test
18055 wine_fn_config_dll tapi32 enable_tapi32 implib
18056 wine_fn_config_dll taskschd enable_taskschd clean
18057 wine_fn_config_test dlls/taskschd/tests taskschd_test
18058 wine_fn_config_dll tdi.sys enable_tdi_sys
18059 wine_fn_config_dll toolhelp.dll16 enable_win16
18060 wine_fn_config_dll traffic enable_traffic
18061 wine_fn_config_dll twain.dll16 enable_win16
18062 wine_fn_config_dll twain_32 enable_twain_32
18063 wine_fn_config_test dlls/twain_32/tests twain_32_test
18064 wine_fn_config_dll typelib.dll16 enable_win16
18065 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18066 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18067 wine_fn_config_dll unicows enable_unicows implib
18068 wine_fn_config_dll updspapi enable_updspapi
18069 wine_fn_config_dll url enable_url implib
18070 wine_fn_config_dll urlmon enable_urlmon clean,implib
18071 wine_fn_config_test dlls/urlmon/tests urlmon_test
18072 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18073 wine_fn_config_dll user.exe16 enable_win16
18074 wine_fn_config_dll user32 enable_user32 clean,implib
18075 wine_fn_config_test dlls/user32/tests user32_test
18076 wine_fn_config_dll userenv enable_userenv implib
18077 wine_fn_config_test dlls/userenv/tests userenv_test
18078 wine_fn_config_dll usp10 enable_usp10 implib
18079 wine_fn_config_test dlls/usp10/tests usp10_test
18080 wine_fn_config_lib uuid
18081 wine_fn_config_dll uxtheme enable_uxtheme implib
18082 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18083 wine_fn_config_dll vbscript enable_vbscript clean
18084 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18085 wine_fn_config_dll vcomp enable_vcomp
18086 wine_fn_config_test dlls/vcomp/tests vcomp_test
18087 wine_fn_config_dll vcomp100 enable_vcomp100
18088 wine_fn_config_dll vcomp110 enable_vcomp110
18089 wine_fn_config_dll vcomp120 enable_vcomp120
18090 wine_fn_config_dll vcomp140 enable_vcomp140
18091 wine_fn_config_dll vcomp90 enable_vcomp90
18092 wine_fn_config_dll vcruntime140 enable_vcruntime140
18093 wine_fn_config_dll vdhcp.vxd enable_win16
18094 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18095 wine_fn_config_dll ver.dll16 enable_win16
18096 wine_fn_config_dll version enable_version implib
18097 wine_fn_config_test dlls/version/tests version_test
18098 wine_fn_config_dll vmm.vxd enable_win16
18099 wine_fn_config_dll vnbt.vxd enable_win16
18100 wine_fn_config_dll vnetbios.vxd enable_win16
18101 wine_fn_config_dll vssapi enable_vssapi
18102 wine_fn_config_dll vtdapi.vxd enable_win16
18103 wine_fn_config_dll vwin32.vxd enable_win16
18104 wine_fn_config_dll w32skrnl enable_win16
18105 wine_fn_config_dll w32sys.dll16 enable_win16
18106 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18107 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18108 wine_fn_config_dll wbemprox enable_wbemprox clean
18109 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18110 wine_fn_config_dll webservices enable_webservices implib
18111 wine_fn_config_test dlls/webservices/tests webservices_test
18112 wine_fn_config_dll wer enable_wer implib
18113 wine_fn_config_test dlls/wer/tests wer_test
18114 wine_fn_config_dll wevtapi enable_wevtapi
18115 wine_fn_config_dll wiaservc enable_wiaservc clean
18116 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18117 wine_fn_config_dll wimgapi enable_wimgapi
18118 wine_fn_config_dll win32s16.dll16 enable_win16
18119 wine_fn_config_dll win87em.dll16 enable_win16
18120 wine_fn_config_dll winaspi.dll16 enable_win16
18121 wine_fn_config_dll windebug.dll16 enable_win16
18122 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18123 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18124 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18125 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18126 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18127 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18128 wine_fn_config_lib winecrt0
18129 wine_fn_config_dll wined3d enable_wined3d implib
18130 wine_fn_config_dll winegstreamer enable_winegstreamer
18131 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18132 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18133 wine_fn_config_dll winemapi enable_winemapi
18134 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18135 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18136 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18137 wine_fn_config_dll wineps16.drv16 enable_win16
18138 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18139 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18140 wine_fn_config_dll winex11.drv enable_winex11_drv
18141 wine_fn_config_dll wing.dll16 enable_win16
18142 wine_fn_config_dll wing32 enable_wing32
18143 wine_fn_config_dll winhttp enable_winhttp clean,implib
18144 wine_fn_config_test dlls/winhttp/tests winhttp_test
18145 wine_fn_config_dll wininet enable_wininet clean,implib
18146 wine_fn_config_test dlls/wininet/tests wininet_test
18147 wine_fn_config_dll winmm enable_winmm clean,implib
18148 wine_fn_config_test dlls/winmm/tests winmm_test
18149 wine_fn_config_dll winnls.dll16 enable_win16
18150 wine_fn_config_dll winnls32 enable_winnls32 implib
18151 wine_fn_config_dll winscard enable_winscard implib
18152 wine_fn_config_dll winsock.dll16 enable_win16
18153 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18154 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18155 wine_fn_config_dll winsta enable_winsta
18156 wine_fn_config_dll wintab.dll16 enable_win16
18157 wine_fn_config_dll wintab32 enable_wintab32 implib
18158 wine_fn_config_test dlls/wintab32/tests wintab32_test
18159 wine_fn_config_dll wintrust enable_wintrust implib
18160 wine_fn_config_test dlls/wintrust/tests wintrust_test
18161 wine_fn_config_dll wlanapi enable_wlanapi
18162 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18163 wine_fn_config_test dlls/wldap32/tests wldap32_test
18164 wine_fn_config_dll wmasf enable_wmasf
18165 wine_fn_config_dll wmi enable_wmi
18166 wine_fn_config_dll wmiutils enable_wmiutils clean
18167 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18168 wine_fn_config_dll wmp enable_wmp clean
18169 wine_fn_config_test dlls/wmp/tests wmp_test
18170 wine_fn_config_dll wmvcore enable_wmvcore
18171 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18172 wine_fn_config_dll wow32 enable_win16 implib
18173 wine_fn_config_dll wpcap enable_wpcap
18174 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18175 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18176 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18177 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18178 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18179 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18180 wine_fn_config_dll wsock32 enable_wsock32 implib
18181 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18182 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18183 wine_fn_config_dll wuapi enable_wuapi clean
18184 wine_fn_config_dll wuaueng enable_wuaueng
18185 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18186 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18187 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18188 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18189 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18190 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18191 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18192 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18193 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18194 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18195 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18196 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18197 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18198 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18199 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18200 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18201 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18202 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18203 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18204 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18205 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18206 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18207 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18208 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18209 wine_fn_config_dll xinput1_1 enable_xinput1_1
18210 wine_fn_config_dll xinput1_2 enable_xinput1_2
18211 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18212 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18213 wine_fn_config_dll xinput1_4 enable_xinput1_4
18214 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18215 wine_fn_config_dll xmllite enable_xmllite implib
18216 wine_fn_config_test dlls/xmllite/tests xmllite_test
18217 wine_fn_config_dll xolehlp enable_xolehlp
18218 wine_fn_config_dll xpsprint enable_xpsprint
18219 wine_fn_config_dll xpssvcs enable_xpssvcs
18220 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18221 wine_fn_config_makefile include enable_include clean,install-dev
18222 wine_fn_config_makefile libs/port enable_libs_port
18223 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18224 wine_fn_config_makefile libs/wpp enable_libs_wpp
18225 wine_fn_config_makefile loader enable_loader clean,install-lib
18226 wine_fn_config_makefile po enable_po clean
18227 wine_fn_config_program arp enable_arp install
18228 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18229 wine_fn_config_program attrib enable_attrib clean,install
18230 wine_fn_config_program cabarc enable_cabarc install
18231 wine_fn_config_program cacls enable_cacls install
18232 wine_fn_config_program clock enable_clock clean,install
18233 wine_fn_config_program cmd enable_cmd clean,install
18234 wine_fn_config_test programs/cmd/tests cmd.exe_test
18235 wine_fn_config_program conhost enable_conhost install
18236 wine_fn_config_program control enable_control install
18237 wine_fn_config_program cscript enable_cscript clean,install
18238 wine_fn_config_program dpnsvr enable_dpnsvr install
18239 wine_fn_config_program dxdiag enable_dxdiag clean,install
18240 wine_fn_config_program eject enable_eject install
18241 wine_fn_config_program expand enable_expand install
18242 wine_fn_config_program explorer enable_explorer clean,install
18243 wine_fn_config_program extrac32 enable_extrac32 install
18244 wine_fn_config_program findstr enable_findstr install
18245 wine_fn_config_program fsutil enable_fsutil install
18246 wine_fn_config_program hh enable_hh install
18247 wine_fn_config_program hostname enable_hostname clean,install
18248 wine_fn_config_program icacls enable_icacls install
18249 wine_fn_config_program icinfo enable_icinfo install
18250 wine_fn_config_program iexplore enable_iexplore install
18251 wine_fn_config_program ipconfig enable_ipconfig clean,install
18252 wine_fn_config_program lodctr enable_lodctr install
18253 wine_fn_config_program mofcomp enable_mofcomp install
18254 wine_fn_config_program mshta enable_mshta install
18255 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18256 wine_fn_config_program net enable_net clean,install
18257 wine_fn_config_program netsh enable_netsh install
18258 wine_fn_config_program netstat enable_netstat clean,install
18259 wine_fn_config_program ngen enable_ngen install
18260 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18261 wine_fn_config_program oleview enable_oleview clean,install
18262 wine_fn_config_program ping enable_ping install
18263 wine_fn_config_program plugplay enable_plugplay install
18264 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18265 wine_fn_config_program progman enable_progman clean,install
18266 wine_fn_config_program reg enable_reg clean,install
18267 wine_fn_config_test programs/reg/tests reg.exe_test
18268 wine_fn_config_program regasm enable_regasm install
18269 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18270 wine_fn_config_test programs/regedit/tests regedit.exe_test
18271 wine_fn_config_program regsvcs enable_regsvcs install
18272 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18273 wine_fn_config_program rpcss enable_rpcss clean,install
18274 wine_fn_config_program rundll.exe16 enable_win16 install
18275 wine_fn_config_program rundll32 enable_rundll32 install
18276 wine_fn_config_program sc enable_sc install
18277 wine_fn_config_program schtasks enable_schtasks install
18278 wine_fn_config_program sdbinst enable_sdbinst install
18279 wine_fn_config_program secedit enable_secedit install
18280 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18281 wine_fn_config_program services enable_services clean,install
18282 wine_fn_config_test programs/services/tests services.exe_test
18283 wine_fn_config_program shutdown enable_shutdown install
18284 wine_fn_config_program spoolsv enable_spoolsv install
18285 wine_fn_config_program start enable_start clean,install
18286 wine_fn_config_program svchost enable_svchost install
18287 wine_fn_config_program systeminfo enable_systeminfo install
18288 wine_fn_config_program taskkill enable_taskkill clean,install
18289 wine_fn_config_program tasklist enable_tasklist install
18290 wine_fn_config_program taskmgr enable_taskmgr clean,install
18291 wine_fn_config_program termsv enable_termsv install
18292 wine_fn_config_program uninstaller enable_uninstaller clean,install
18293 wine_fn_config_program unlodctr enable_unlodctr install
18294 wine_fn_config_program view enable_view clean,install
18295 wine_fn_config_program wevtutil enable_wevtutil install
18296 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18297 wine_fn_config_program winebrowser enable_winebrowser install
18298 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18299 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18300 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18301 wine_fn_config_program winedevice enable_winedevice install
18302 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18303 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18304 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18305 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18306 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18307 wine_fn_config_program winetest enable_winetest clean
18308 wine_fn_config_program winevdm enable_win16 install
18309 wine_fn_config_program winhelp.exe16 enable_win16 install
18310 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18311 wine_fn_config_program winoldap.mod16 enable_win16 install
18312 wine_fn_config_program winver enable_winver install
18313 wine_fn_config_program wmic enable_wmic clean,install
18314 wine_fn_config_program wmplayer enable_wmplayer install
18315 wine_fn_config_program wordpad enable_wordpad clean,install
18316 wine_fn_config_program write enable_write clean,install
18317 wine_fn_config_program wscript enable_wscript clean,install
18318 wine_fn_config_test programs/wscript/tests wscript.exe_test
18319 wine_fn_config_program wusa enable_wusa install
18320 wine_fn_config_program xcopy enable_xcopy clean,install
18321 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18322 wine_fn_config_makefile server enable_server clean,install-lib
18323 wine_fn_config_tool tools clean
18324 wine_fn_config_tool tools/sfnt2fon clean
18325 wine_fn_config_tool tools/widl clean,install-dev
18326 wine_fn_config_tool tools/winebuild clean,install-dev
18327 wine_fn_config_tool tools/winedump clean,install-dev
18328 wine_fn_config_tool tools/winegcc clean,install-dev
18329 wine_fn_config_tool tools/winemaker clean,install-dev
18330 wine_fn_config_tool tools/wmc clean,install-dev
18331 wine_fn_config_tool tools/wrc clean,install-dev
18334 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
18335 wine_fn_append_file CONFIGURE_TARGETS "tags"
18336 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
18337 wine_fn_append_file CONFIGURE_TARGETS "config.log"
18338 wine_fn_append_file CONFIGURE_TARGETS "config.status"
18339 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
18340 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
18341 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
18343 if test "x$enable_tools" != xno
18344 then
18345 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
18346 ac_config_commands="$ac_config_commands tools/makedep"
18350 ac_config_commands="$ac_config_commands Makefile"
18353 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18357 if test "x$enable_maintainer_mode" = xyes
18358 then
18359 wine_fn_append_rule "configure: configure.ac aclocal.m4
18360 autoconf --warnings=all
18361 include/config.h.in: include/stamp-h.in
18362 include/stamp-h.in: configure.ac aclocal.m4
18363 autoheader --warnings=all
18364 @echo timestamp > \$@"
18367 if test "x$enable_tools" != xno
18368 then
18369 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18370 @./config.status tools/makedep
18371 Makefile: tools/makedep$ac_exeext"
18372 else
18373 wine_fn_append_rule "\$(MAKEDEP):
18374 @echo \"You need to run make in $TOOLSDIR first\" && false"
18377 if test -n "$with_wine64"
18378 then
18379 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18380 fonts server:
18381 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18382 $with_wine64/loader/wine:
18383 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18384 $with_wine64/loader/wine-preloader:
18385 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18386 clean::
18387 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18388 else
18389 WINELOADER_INSTALL="wine.inf"
18391 wine_fn_append_rule "install install-lib::
18392 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18393 uninstall::
18394 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18395 case $host_os in
18396 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18397 *) wine_fn_append_rule "install install-lib::
18398 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18399 uninstall::
18400 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18401 esac
18404 $as_echo " done" >&6
18405 cat >confcache <<\_ACEOF
18406 # This file is a shell script that caches the results of configure
18407 # tests run on this system so they can be shared between configure
18408 # scripts and configure runs, see configure's option --config-cache.
18409 # It is not useful on other systems. If it contains results you don't
18410 # want to keep, you may remove or edit it.
18412 # config.status only pays attention to the cache file if you give it
18413 # the --recheck option to rerun configure.
18415 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18416 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18417 # following values.
18419 _ACEOF
18421 # The following way of writing the cache mishandles newlines in values,
18422 # but we know of no workaround that is simple, portable, and efficient.
18423 # So, we kill variables containing newlines.
18424 # Ultrix sh set writes to stderr and can't be redirected directly,
18425 # and sets the high bit in the cache file unless we assign to the vars.
18427 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18428 eval ac_val=\$$ac_var
18429 case $ac_val in #(
18430 *${as_nl}*)
18431 case $ac_var in #(
18432 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18433 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18434 esac
18435 case $ac_var in #(
18436 _ | IFS | as_nl) ;; #(
18437 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18438 *) { eval $ac_var=; unset $ac_var;} ;;
18439 esac ;;
18440 esac
18441 done
18443 (set) 2>&1 |
18444 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18445 *${as_nl}ac_space=\ *)
18446 # `set' does not quote correctly, so add quotes: double-quote
18447 # substitution turns \\\\ into \\, and sed turns \\ into \.
18448 sed -n \
18449 "s/'/'\\\\''/g;
18450 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18451 ;; #(
18453 # `set' quotes correctly as required by POSIX, so do not add quotes.
18454 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18456 esac |
18457 sort
18459 sed '
18460 /^ac_cv_env_/b end
18461 t clear
18462 :clear
18463 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18464 t end
18465 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18466 :end' >>confcache
18467 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18468 if test -w "$cache_file"; then
18469 if test "x$cache_file" != "x/dev/null"; then
18470 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18471 $as_echo "$as_me: updating cache $cache_file" >&6;}
18472 if test ! -f "$cache_file" || test -h "$cache_file"; then
18473 cat confcache >"$cache_file"
18474 else
18475 case $cache_file in #(
18476 */* | ?:*)
18477 mv -f confcache "$cache_file"$$ &&
18478 mv -f "$cache_file"$$ "$cache_file" ;; #(
18480 mv -f confcache "$cache_file" ;;
18481 esac
18484 else
18485 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18486 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18489 rm -f confcache
18491 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18492 # Let make expand exec_prefix.
18493 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18495 DEFS=-DHAVE_CONFIG_H
18497 ac_libobjs=
18498 ac_ltlibobjs=
18500 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18501 # 1. Remove the extension, and $U if already installed.
18502 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18503 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18504 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18505 # will be set to the directory where LIBOBJS objects are built.
18506 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18507 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18508 done
18509 LIBOBJS=$ac_libobjs
18511 LTLIBOBJS=$ac_ltlibobjs
18515 : "${CONFIG_STATUS=./config.status}"
18516 ac_write_fail=0
18517 ac_clean_files_save=$ac_clean_files
18518 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18519 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18520 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18521 as_write_fail=0
18522 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18523 #! $SHELL
18524 # Generated by $as_me.
18525 # Run this file to recreate the current configuration.
18526 # Compiler output produced by configure, useful for debugging
18527 # configure, is in config.log if it exists.
18529 debug=false
18530 ac_cs_recheck=false
18531 ac_cs_silent=false
18533 SHELL=\${CONFIG_SHELL-$SHELL}
18534 export SHELL
18535 _ASEOF
18536 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18537 ## -------------------- ##
18538 ## M4sh Initialization. ##
18539 ## -------------------- ##
18541 # Be more Bourne compatible
18542 DUALCASE=1; export DUALCASE # for MKS sh
18543 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18544 emulate sh
18545 NULLCMD=:
18546 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18547 # is contrary to our usage. Disable this feature.
18548 alias -g '${1+"$@"}'='"$@"'
18549 setopt NO_GLOB_SUBST
18550 else
18551 case `(set -o) 2>/dev/null` in #(
18552 *posix*) :
18553 set -o posix ;; #(
18554 *) :
18556 esac
18560 as_nl='
18562 export as_nl
18563 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18564 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18565 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18566 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18567 # Prefer a ksh shell builtin over an external printf program on Solaris,
18568 # but without wasting forks for bash or zsh.
18569 if test -z "$BASH_VERSION$ZSH_VERSION" \
18570 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18571 as_echo='print -r --'
18572 as_echo_n='print -rn --'
18573 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18574 as_echo='printf %s\n'
18575 as_echo_n='printf %s'
18576 else
18577 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18578 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18579 as_echo_n='/usr/ucb/echo -n'
18580 else
18581 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18582 as_echo_n_body='eval
18583 arg=$1;
18584 case $arg in #(
18585 *"$as_nl"*)
18586 expr "X$arg" : "X\\(.*\\)$as_nl";
18587 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18588 esac;
18589 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18591 export as_echo_n_body
18592 as_echo_n='sh -c $as_echo_n_body as_echo'
18594 export as_echo_body
18595 as_echo='sh -c $as_echo_body as_echo'
18598 # The user is always right.
18599 if test "${PATH_SEPARATOR+set}" != set; then
18600 PATH_SEPARATOR=:
18601 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18602 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18603 PATH_SEPARATOR=';'
18608 # IFS
18609 # We need space, tab and new line, in precisely that order. Quoting is
18610 # there to prevent editors from complaining about space-tab.
18611 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18612 # splitting by setting IFS to empty value.)
18613 IFS=" "" $as_nl"
18615 # Find who we are. Look in the path if we contain no directory separator.
18616 as_myself=
18617 case $0 in #((
18618 *[\\/]* ) as_myself=$0 ;;
18619 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18620 for as_dir in $PATH
18622 IFS=$as_save_IFS
18623 test -z "$as_dir" && as_dir=.
18624 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18625 done
18626 IFS=$as_save_IFS
18629 esac
18630 # We did not find ourselves, most probably we were run as `sh COMMAND'
18631 # in which case we are not to be found in the path.
18632 if test "x$as_myself" = x; then
18633 as_myself=$0
18635 if test ! -f "$as_myself"; then
18636 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18637 exit 1
18640 # Unset variables that we do not need and which cause bugs (e.g. in
18641 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18642 # suppresses any "Segmentation fault" message there. '((' could
18643 # trigger a bug in pdksh 5.2.14.
18644 for as_var in BASH_ENV ENV MAIL MAILPATH
18645 do eval test x\${$as_var+set} = xset \
18646 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18647 done
18648 PS1='$ '
18649 PS2='> '
18650 PS4='+ '
18652 # NLS nuisances.
18653 LC_ALL=C
18654 export LC_ALL
18655 LANGUAGE=C
18656 export LANGUAGE
18658 # CDPATH.
18659 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18662 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18663 # ----------------------------------------
18664 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18665 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18666 # script with STATUS, using 1 if that was 0.
18667 as_fn_error ()
18669 as_status=$1; test $as_status -eq 0 && as_status=1
18670 if test "$4"; then
18671 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18672 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18674 $as_echo "$as_me: error: $2" >&2
18675 as_fn_exit $as_status
18676 } # as_fn_error
18679 # as_fn_set_status STATUS
18680 # -----------------------
18681 # Set $? to STATUS, without forking.
18682 as_fn_set_status ()
18684 return $1
18685 } # as_fn_set_status
18687 # as_fn_exit STATUS
18688 # -----------------
18689 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18690 as_fn_exit ()
18692 set +e
18693 as_fn_set_status $1
18694 exit $1
18695 } # as_fn_exit
18697 # as_fn_unset VAR
18698 # ---------------
18699 # Portably unset VAR.
18700 as_fn_unset ()
18702 { eval $1=; unset $1;}
18704 as_unset=as_fn_unset
18705 # as_fn_append VAR VALUE
18706 # ----------------------
18707 # Append the text in VALUE to the end of the definition contained in VAR. Take
18708 # advantage of any shell optimizations that allow amortized linear growth over
18709 # repeated appends, instead of the typical quadratic growth present in naive
18710 # implementations.
18711 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18712 eval 'as_fn_append ()
18714 eval $1+=\$2
18716 else
18717 as_fn_append ()
18719 eval $1=\$$1\$2
18721 fi # as_fn_append
18723 # as_fn_arith ARG...
18724 # ------------------
18725 # Perform arithmetic evaluation on the ARGs, and store the result in the
18726 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18727 # must be portable across $(()) and expr.
18728 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18729 eval 'as_fn_arith ()
18731 as_val=$(( $* ))
18733 else
18734 as_fn_arith ()
18736 as_val=`expr "$@" || test $? -eq 1`
18738 fi # as_fn_arith
18741 if expr a : '\(a\)' >/dev/null 2>&1 &&
18742 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18743 as_expr=expr
18744 else
18745 as_expr=false
18748 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18749 as_basename=basename
18750 else
18751 as_basename=false
18754 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18755 as_dirname=dirname
18756 else
18757 as_dirname=false
18760 as_me=`$as_basename -- "$0" ||
18761 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18762 X"$0" : 'X\(//\)$' \| \
18763 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18764 $as_echo X/"$0" |
18765 sed '/^.*\/\([^/][^/]*\)\/*$/{
18766 s//\1/
18769 /^X\/\(\/\/\)$/{
18770 s//\1/
18773 /^X\/\(\/\).*/{
18774 s//\1/
18777 s/.*/./; q'`
18779 # Avoid depending upon Character Ranges.
18780 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18781 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18782 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18783 as_cr_digits='0123456789'
18784 as_cr_alnum=$as_cr_Letters$as_cr_digits
18786 ECHO_C= ECHO_N= ECHO_T=
18787 case `echo -n x` in #(((((
18788 -n*)
18789 case `echo 'xy\c'` in
18790 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18791 xy) ECHO_C='\c';;
18792 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18793 ECHO_T=' ';;
18794 esac;;
18796 ECHO_N='-n';;
18797 esac
18799 rm -f conf$$ conf$$.exe conf$$.file
18800 if test -d conf$$.dir; then
18801 rm -f conf$$.dir/conf$$.file
18802 else
18803 rm -f conf$$.dir
18804 mkdir conf$$.dir 2>/dev/null
18806 if (echo >conf$$.file) 2>/dev/null; then
18807 if ln -s conf$$.file conf$$ 2>/dev/null; then
18808 as_ln_s='ln -s'
18809 # ... but there are two gotchas:
18810 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18811 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18812 # In both cases, we have to default to `cp -pR'.
18813 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18814 as_ln_s='cp -pR'
18815 elif ln conf$$.file conf$$ 2>/dev/null; then
18816 as_ln_s=ln
18817 else
18818 as_ln_s='cp -pR'
18820 else
18821 as_ln_s='cp -pR'
18823 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18824 rmdir conf$$.dir 2>/dev/null
18827 # as_fn_mkdir_p
18828 # -------------
18829 # Create "$as_dir" as a directory, including parents if necessary.
18830 as_fn_mkdir_p ()
18833 case $as_dir in #(
18834 -*) as_dir=./$as_dir;;
18835 esac
18836 test -d "$as_dir" || eval $as_mkdir_p || {
18837 as_dirs=
18838 while :; do
18839 case $as_dir in #(
18840 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18841 *) as_qdir=$as_dir;;
18842 esac
18843 as_dirs="'$as_qdir' $as_dirs"
18844 as_dir=`$as_dirname -- "$as_dir" ||
18845 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18846 X"$as_dir" : 'X\(//\)[^/]' \| \
18847 X"$as_dir" : 'X\(//\)$' \| \
18848 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18849 $as_echo X"$as_dir" |
18850 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18851 s//\1/
18854 /^X\(\/\/\)[^/].*/{
18855 s//\1/
18858 /^X\(\/\/\)$/{
18859 s//\1/
18862 /^X\(\/\).*/{
18863 s//\1/
18866 s/.*/./; q'`
18867 test -d "$as_dir" && break
18868 done
18869 test -z "$as_dirs" || eval "mkdir $as_dirs"
18870 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18873 } # as_fn_mkdir_p
18874 if mkdir -p . 2>/dev/null; then
18875 as_mkdir_p='mkdir -p "$as_dir"'
18876 else
18877 test -d ./-p && rmdir ./-p
18878 as_mkdir_p=false
18882 # as_fn_executable_p FILE
18883 # -----------------------
18884 # Test if FILE is an executable regular file.
18885 as_fn_executable_p ()
18887 test -f "$1" && test -x "$1"
18888 } # as_fn_executable_p
18889 as_test_x='test -x'
18890 as_executable_p=as_fn_executable_p
18892 # Sed expression to map a string onto a valid CPP name.
18893 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18895 # Sed expression to map a string onto a valid variable name.
18896 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18899 exec 6>&1
18900 ## ----------------------------------- ##
18901 ## Main body of $CONFIG_STATUS script. ##
18902 ## ----------------------------------- ##
18903 _ASEOF
18904 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18906 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18907 # Save the log message, to keep $0 and so on meaningful, and to
18908 # report actual input values of CONFIG_FILES etc. instead of their
18909 # values after options handling.
18910 ac_log="
18911 This file was extended by Wine $as_me 1.9.16, which was
18912 generated by GNU Autoconf 2.69. Invocation command line was
18914 CONFIG_FILES = $CONFIG_FILES
18915 CONFIG_HEADERS = $CONFIG_HEADERS
18916 CONFIG_LINKS = $CONFIG_LINKS
18917 CONFIG_COMMANDS = $CONFIG_COMMANDS
18918 $ $0 $@
18920 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18923 _ACEOF
18925 case $ac_config_files in *"
18926 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18927 esac
18929 case $ac_config_headers in *"
18930 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18931 esac
18934 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18935 # Files that config.status was made for.
18936 config_files="$ac_config_files"
18937 config_headers="$ac_config_headers"
18938 config_links="$ac_config_links"
18939 config_commands="$ac_config_commands"
18941 _ACEOF
18943 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18944 ac_cs_usage="\
18945 \`$as_me' instantiates files and other configuration actions
18946 from templates according to the current configuration. Unless the files
18947 and actions are specified as TAGs, all are instantiated by default.
18949 Usage: $0 [OPTION]... [TAG]...
18951 -h, --help print this help, then exit
18952 -V, --version print version number and configuration settings, then exit
18953 --config print configuration, then exit
18954 -q, --quiet, --silent
18955 do not print progress messages
18956 -d, --debug don't remove temporary files
18957 --recheck update $as_me by reconfiguring in the same conditions
18958 --file=FILE[:TEMPLATE]
18959 instantiate the configuration file FILE
18960 --header=FILE[:TEMPLATE]
18961 instantiate the configuration header FILE
18963 Configuration files:
18964 $config_files
18966 Configuration headers:
18967 $config_headers
18969 Configuration links:
18970 $config_links
18972 Configuration commands:
18973 $config_commands
18975 Report bugs to <wine-devel@winehq.org>.
18976 Wine home page: <http://www.winehq.org>."
18978 _ACEOF
18979 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18980 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18981 ac_cs_version="\\
18982 Wine config.status 1.9.16
18983 configured by $0, generated by GNU Autoconf 2.69,
18984 with options \\"\$ac_cs_config\\"
18986 Copyright (C) 2012 Free Software Foundation, Inc.
18987 This config.status script is free software; the Free Software Foundation
18988 gives unlimited permission to copy, distribute and modify it."
18990 ac_pwd='$ac_pwd'
18991 srcdir='$srcdir'
18992 test -n "\$AWK" || AWK=awk
18993 _ACEOF
18995 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18996 # The default lists apply if the user does not specify any file.
18997 ac_need_defaults=:
18998 while test $# != 0
19000 case $1 in
19001 --*=?*)
19002 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19003 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19004 ac_shift=:
19006 --*=)
19007 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19008 ac_optarg=
19009 ac_shift=:
19012 ac_option=$1
19013 ac_optarg=$2
19014 ac_shift=shift
19016 esac
19018 case $ac_option in
19019 # Handling of the options.
19020 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19021 ac_cs_recheck=: ;;
19022 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19023 $as_echo "$ac_cs_version"; exit ;;
19024 --config | --confi | --conf | --con | --co | --c )
19025 $as_echo "$ac_cs_config"; exit ;;
19026 --debug | --debu | --deb | --de | --d | -d )
19027 debug=: ;;
19028 --file | --fil | --fi | --f )
19029 $ac_shift
19030 case $ac_optarg in
19031 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19032 '') as_fn_error $? "missing file argument" ;;
19033 esac
19034 as_fn_append CONFIG_FILES " '$ac_optarg'"
19035 ac_need_defaults=false;;
19036 --header | --heade | --head | --hea )
19037 $ac_shift
19038 case $ac_optarg in
19039 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19040 esac
19041 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19042 ac_need_defaults=false;;
19043 --he | --h)
19044 # Conflict between --help and --header
19045 as_fn_error $? "ambiguous option: \`$1'
19046 Try \`$0 --help' for more information.";;
19047 --help | --hel | -h )
19048 $as_echo "$ac_cs_usage"; exit ;;
19049 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19050 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19051 ac_cs_silent=: ;;
19053 # This is an error.
19054 -*) as_fn_error $? "unrecognized option: \`$1'
19055 Try \`$0 --help' for more information." ;;
19057 *) as_fn_append ac_config_targets " $1"
19058 ac_need_defaults=false ;;
19060 esac
19061 shift
19062 done
19064 ac_configure_extra_args=
19066 if $ac_cs_silent; then
19067 exec 6>/dev/null
19068 ac_configure_extra_args="$ac_configure_extra_args --silent"
19071 _ACEOF
19072 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19073 if \$ac_cs_recheck; then
19074 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19075 shift
19076 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19077 CONFIG_SHELL='$SHELL'
19078 export CONFIG_SHELL
19079 exec "\$@"
19082 _ACEOF
19083 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19084 exec 5>>config.log
19086 echo
19087 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19088 ## Running $as_me. ##
19089 _ASBOX
19090 $as_echo "$ac_log"
19091 } >&5
19093 _ACEOF
19094 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19096 # INIT-COMMANDS
19098 wine_fn_output_makedep ()
19100 as_dir=tools; as_fn_mkdir_p
19101 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19103 wine_fn_output_makefile ()
19105 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19106 `cat $wine_rules_file`
19107 _WINE_EOF
19108 as_fn_error $? "could not create Makefile" "$LINENO" 5
19111 _ACEOF
19113 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19115 # Handling of arguments.
19116 for ac_config_target in $ac_config_targets
19118 case $ac_config_target in
19119 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19120 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19121 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19122 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19123 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19124 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19125 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19126 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19127 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19128 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19129 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19130 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19131 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19133 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19134 esac
19135 done
19138 # If the user did not use the arguments to specify the items to instantiate,
19139 # then the envvar interface is used. Set only those that are not.
19140 # We use the long form for the default assignment because of an extremely
19141 # bizarre bug on SunOS 4.1.3.
19142 if $ac_need_defaults; then
19143 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19144 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19145 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19146 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19149 # Have a temporary directory for convenience. Make it in the build tree
19150 # simply because there is no reason against having it here, and in addition,
19151 # creating and moving files from /tmp can sometimes cause problems.
19152 # Hook for its removal unless debugging.
19153 # Note that there is a small window in which the directory will not be cleaned:
19154 # after its creation but before its name has been assigned to `$tmp'.
19155 $debug ||
19157 tmp= ac_tmp=
19158 trap 'exit_status=$?
19159 : "${ac_tmp:=$tmp}"
19160 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19162 trap 'as_fn_exit 1' 1 2 13 15
19164 # Create a (secure) tmp directory for tmp files.
19167 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19168 test -d "$tmp"
19169 } ||
19171 tmp=./conf$$-$RANDOM
19172 (umask 077 && mkdir "$tmp")
19173 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19174 ac_tmp=$tmp
19176 # Set up the scripts for CONFIG_FILES section.
19177 # No need to generate them if there are no CONFIG_FILES.
19178 # This happens for instance with `./config.status config.h'.
19179 if test -n "$CONFIG_FILES"; then
19182 ac_cr=`echo X | tr X '\015'`
19183 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19184 # But we know of no other shell where ac_cr would be empty at this
19185 # point, so we can use a bashism as a fallback.
19186 if test "x$ac_cr" = x; then
19187 eval ac_cr=\$\'\\r\'
19189 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19190 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19191 ac_cs_awk_cr='\\r'
19192 else
19193 ac_cs_awk_cr=$ac_cr
19196 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19197 _ACEOF
19201 echo "cat >conf$$subs.awk <<_ACEOF" &&
19202 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19203 echo "_ACEOF"
19204 } >conf$$subs.sh ||
19205 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19206 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19207 ac_delim='%!_!# '
19208 for ac_last_try in false false false false false :; do
19209 . ./conf$$subs.sh ||
19210 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19212 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19213 if test $ac_delim_n = $ac_delim_num; then
19214 break
19215 elif $ac_last_try; then
19216 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19217 else
19218 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19220 done
19221 rm -f conf$$subs.sh
19223 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19224 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19225 _ACEOF
19226 sed -n '
19228 s/^/S["/; s/!.*/"]=/
19231 s/^[^!]*!//
19232 :repl
19233 t repl
19234 s/'"$ac_delim"'$//
19235 t delim
19238 s/\(.\{148\}\)..*/\1/
19239 t more1
19240 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19243 b repl
19244 :more1
19245 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19248 s/.\{148\}//
19249 t nl
19250 :delim
19252 s/\(.\{148\}\)..*/\1/
19253 t more2
19254 s/["\\]/\\&/g; s/^/"/; s/$/"/
19257 :more2
19258 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19261 s/.\{148\}//
19262 t delim
19263 ' <conf$$subs.awk | sed '
19264 /^[^""]/{
19266 s/\n//
19268 ' >>$CONFIG_STATUS || ac_write_fail=1
19269 rm -f conf$$subs.awk
19270 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19271 _ACAWK
19272 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19273 for (key in S) S_is_set[key] = 1
19274 FS = "\a"
19278 line = $ 0
19279 nfields = split(line, field, "@")
19280 substed = 0
19281 len = length(field[1])
19282 for (i = 2; i < nfields; i++) {
19283 key = field[i]
19284 keylen = length(key)
19285 if (S_is_set[key]) {
19286 value = S[key]
19287 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19288 len += length(value) + length(field[++i])
19289 substed = 1
19290 } else
19291 len += 1 + keylen
19294 print line
19297 _ACAWK
19298 _ACEOF
19299 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19300 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19301 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19302 else
19304 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19305 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19306 _ACEOF
19308 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19309 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19310 # trailing colons and then remove the whole line if VPATH becomes empty
19311 # (actually we leave an empty line to preserve line numbers).
19312 if test "x$srcdir" = x.; then
19313 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19315 s///
19316 s/^/:/
19317 s/[ ]*$/:/
19318 s/:\$(srcdir):/:/g
19319 s/:\${srcdir}:/:/g
19320 s/:@srcdir@:/:/g
19321 s/^:*//
19322 s/:*$//
19324 s/\(=[ ]*\).*/\1/
19326 s/\n//
19327 s/^[^=]*=[ ]*$//
19331 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19332 fi # test -n "$CONFIG_FILES"
19334 # Set up the scripts for CONFIG_HEADERS section.
19335 # No need to generate them if there are no CONFIG_HEADERS.
19336 # This happens for instance with `./config.status Makefile'.
19337 if test -n "$CONFIG_HEADERS"; then
19338 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19339 BEGIN {
19340 _ACEOF
19342 # Transform confdefs.h into an awk script `defines.awk', embedded as
19343 # here-document in config.status, that substitutes the proper values into
19344 # config.h.in to produce config.h.
19346 # Create a delimiter string that does not exist in confdefs.h, to ease
19347 # handling of long lines.
19348 ac_delim='%!_!# '
19349 for ac_last_try in false false :; do
19350 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19351 if test -z "$ac_tt"; then
19352 break
19353 elif $ac_last_try; then
19354 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19355 else
19356 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19358 done
19360 # For the awk script, D is an array of macro values keyed by name,
19361 # likewise P contains macro parameters if any. Preserve backslash
19362 # newline sequences.
19364 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19365 sed -n '
19366 s/.\{148\}/&'"$ac_delim"'/g
19367 t rset
19368 :rset
19369 s/^[ ]*#[ ]*define[ ][ ]*/ /
19370 t def
19372 :def
19373 s/\\$//
19374 t bsnl
19375 s/["\\]/\\&/g
19376 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19377 D["\1"]=" \3"/p
19378 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19380 :bsnl
19381 s/["\\]/\\&/g
19382 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19383 D["\1"]=" \3\\\\\\n"\\/p
19384 t cont
19385 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19386 t cont
19388 :cont
19390 s/.\{148\}/&'"$ac_delim"'/g
19391 t clear
19392 :clear
19393 s/\\$//
19394 t bsnlc
19395 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19397 :bsnlc
19398 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19399 b cont
19400 ' <confdefs.h | sed '
19401 s/'"$ac_delim"'/"\\\
19402 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19404 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19405 for (key in D) D_is_set[key] = 1
19406 FS = "\a"
19408 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19409 line = \$ 0
19410 split(line, arg, " ")
19411 if (arg[1] == "#") {
19412 defundef = arg[2]
19413 mac1 = arg[3]
19414 } else {
19415 defundef = substr(arg[1], 2)
19416 mac1 = arg[2]
19418 split(mac1, mac2, "(") #)
19419 macro = mac2[1]
19420 prefix = substr(line, 1, index(line, defundef) - 1)
19421 if (D_is_set[macro]) {
19422 # Preserve the white space surrounding the "#".
19423 print prefix "define", macro P[macro] D[macro]
19424 next
19425 } else {
19426 # Replace #undef with comments. This is necessary, for example,
19427 # in the case of _POSIX_SOURCE, which is predefined and required
19428 # on some systems where configure will not decide to define it.
19429 if (defundef == "undef") {
19430 print "/*", prefix defundef, macro, "*/"
19431 next
19435 { print }
19436 _ACAWK
19437 _ACEOF
19438 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19439 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19440 fi # test -n "$CONFIG_HEADERS"
19443 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19444 shift
19445 for ac_tag
19447 case $ac_tag in
19448 :[FHLC]) ac_mode=$ac_tag; continue;;
19449 esac
19450 case $ac_mode$ac_tag in
19451 :[FHL]*:*);;
19452 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19453 :[FH]-) ac_tag=-:-;;
19454 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19455 esac
19456 ac_save_IFS=$IFS
19457 IFS=:
19458 set x $ac_tag
19459 IFS=$ac_save_IFS
19460 shift
19461 ac_file=$1
19462 shift
19464 case $ac_mode in
19465 :L) ac_source=$1;;
19466 :[FH])
19467 ac_file_inputs=
19468 for ac_f
19470 case $ac_f in
19471 -) ac_f="$ac_tmp/stdin";;
19472 *) # Look for the file first in the build tree, then in the source tree
19473 # (if the path is not absolute). The absolute path cannot be DOS-style,
19474 # because $ac_f cannot contain `:'.
19475 test -f "$ac_f" ||
19476 case $ac_f in
19477 [\\/$]*) false;;
19478 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19479 esac ||
19480 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19481 esac
19482 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19483 as_fn_append ac_file_inputs " '$ac_f'"
19484 done
19486 # Let's still pretend it is `configure' which instantiates (i.e., don't
19487 # use $as_me), people would be surprised to read:
19488 # /* config.h. Generated by config.status. */
19489 configure_input='Generated from '`
19490 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19491 `' by configure.'
19492 if test x"$ac_file" != x-; then
19493 configure_input="$ac_file. $configure_input"
19494 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19495 $as_echo "$as_me: creating $ac_file" >&6;}
19497 # Neutralize special characters interpreted by sed in replacement strings.
19498 case $configure_input in #(
19499 *\&* | *\|* | *\\* )
19500 ac_sed_conf_input=`$as_echo "$configure_input" |
19501 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19502 *) ac_sed_conf_input=$configure_input;;
19503 esac
19505 case $ac_tag in
19506 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19507 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19508 esac
19510 esac
19512 ac_dir=`$as_dirname -- "$ac_file" ||
19513 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19514 X"$ac_file" : 'X\(//\)[^/]' \| \
19515 X"$ac_file" : 'X\(//\)$' \| \
19516 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19517 $as_echo X"$ac_file" |
19518 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19519 s//\1/
19522 /^X\(\/\/\)[^/].*/{
19523 s//\1/
19526 /^X\(\/\/\)$/{
19527 s//\1/
19530 /^X\(\/\).*/{
19531 s//\1/
19534 s/.*/./; q'`
19535 as_dir="$ac_dir"; as_fn_mkdir_p
19536 ac_builddir=.
19538 case "$ac_dir" in
19539 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19541 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19542 # A ".." for each directory in $ac_dir_suffix.
19543 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19544 case $ac_top_builddir_sub in
19545 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19546 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19547 esac ;;
19548 esac
19549 ac_abs_top_builddir=$ac_pwd
19550 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19551 # for backward compatibility:
19552 ac_top_builddir=$ac_top_build_prefix
19554 case $srcdir in
19555 .) # We are building in place.
19556 ac_srcdir=.
19557 ac_top_srcdir=$ac_top_builddir_sub
19558 ac_abs_top_srcdir=$ac_pwd ;;
19559 [\\/]* | ?:[\\/]* ) # Absolute name.
19560 ac_srcdir=$srcdir$ac_dir_suffix;
19561 ac_top_srcdir=$srcdir
19562 ac_abs_top_srcdir=$srcdir ;;
19563 *) # Relative name.
19564 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19565 ac_top_srcdir=$ac_top_build_prefix$srcdir
19566 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19567 esac
19568 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19571 case $ac_mode in
19574 # CONFIG_FILE
19577 _ACEOF
19579 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19580 # If the template does not know about datarootdir, expand it.
19581 # FIXME: This hack should be removed a few years after 2.60.
19582 ac_datarootdir_hack=; ac_datarootdir_seen=
19583 ac_sed_dataroot='
19584 /datarootdir/ {
19588 /@datadir@/p
19589 /@docdir@/p
19590 /@infodir@/p
19591 /@localedir@/p
19592 /@mandir@/p'
19593 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19594 *datarootdir*) ac_datarootdir_seen=yes;;
19595 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19596 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19597 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19598 _ACEOF
19599 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19600 ac_datarootdir_hack='
19601 s&@datadir@&$datadir&g
19602 s&@docdir@&$docdir&g
19603 s&@infodir@&$infodir&g
19604 s&@localedir@&$localedir&g
19605 s&@mandir@&$mandir&g
19606 s&\\\${datarootdir}&$datarootdir&g' ;;
19607 esac
19608 _ACEOF
19610 # Neutralize VPATH when `$srcdir' = `.'.
19611 # Shell code in configure.ac might set extrasub.
19612 # FIXME: do we really want to maintain this feature?
19613 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19614 ac_sed_extra="$ac_vpsub
19615 $extrasub
19616 _ACEOF
19617 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19619 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19620 s|@configure_input@|$ac_sed_conf_input|;t t
19621 s&@top_builddir@&$ac_top_builddir_sub&;t t
19622 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19623 s&@srcdir@&$ac_srcdir&;t t
19624 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19625 s&@top_srcdir@&$ac_top_srcdir&;t t
19626 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19627 s&@builddir@&$ac_builddir&;t t
19628 s&@abs_builddir@&$ac_abs_builddir&;t t
19629 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19630 $ac_datarootdir_hack
19632 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19633 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19635 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19636 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19637 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19638 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19640 which seems to be undefined. Please make sure it is defined" >&5
19641 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19642 which seems to be undefined. Please make sure it is defined" >&2;}
19644 rm -f "$ac_tmp/stdin"
19645 case $ac_file in
19646 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19647 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19648 esac \
19649 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19653 # CONFIG_HEADER
19655 if test x"$ac_file" != x-; then
19657 $as_echo "/* $configure_input */" \
19658 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19659 } >"$ac_tmp/config.h" \
19660 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19661 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19662 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19663 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19664 else
19665 rm -f "$ac_file"
19666 mv "$ac_tmp/config.h" "$ac_file" \
19667 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19669 else
19670 $as_echo "/* $configure_input */" \
19671 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19672 || as_fn_error $? "could not create -" "$LINENO" 5
19677 # CONFIG_LINK
19680 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19682 else
19683 # Prefer the file from the source tree if names are identical.
19684 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19685 ac_source=$srcdir/$ac_source
19688 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19689 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19691 if test ! -r "$ac_source"; then
19692 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19694 rm -f "$ac_file"
19696 # Try a relative symlink, then a hard link, then a copy.
19697 case $ac_source in
19698 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19699 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19700 esac
19701 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19702 ln "$ac_source" "$ac_file" 2>/dev/null ||
19703 cp -p "$ac_source" "$ac_file" ||
19704 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19707 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19708 $as_echo "$as_me: executing $ac_file commands" >&6;}
19710 esac
19713 case $ac_file$ac_mode in
19714 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19715 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19716 "Makefile":C) wine_fn_output_makefile Makefile ;;
19718 esac
19719 done # for ac_tag
19722 as_fn_exit 0
19723 _ACEOF
19724 ac_clean_files=$ac_clean_files_save
19726 test $ac_write_fail = 0 ||
19727 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19730 # configure is writing to config.log, and then calls config.status.
19731 # config.status does its own redirection, appending to config.log.
19732 # Unfortunately, on DOS this fails, as config.log is still kept open
19733 # by configure, so config.status won't be able to write to it; its
19734 # output is simply discarded. So we exec the FD to /dev/null,
19735 # effectively closing config.log, so it can be properly (re)opened and
19736 # appended to by config.status. When coming back to configure, we
19737 # need to make the FD available again.
19738 if test "$no_create" != yes; then
19739 ac_cs_success=:
19740 ac_config_status_args=
19741 test "$silent" = yes &&
19742 ac_config_status_args="$ac_config_status_args --quiet"
19743 exec 5>/dev/null
19744 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19745 exec 5>>config.log
19746 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19747 # would make configure fail if this is the last instruction.
19748 $ac_cs_success || as_fn_exit 1
19750 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19752 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19756 if test "$no_create" = "yes"
19757 then
19758 exit 0
19761 ac_save_IFS="$IFS"
19762 if test "x$wine_notices" != x; then
19763 echo >&6
19764 IFS="|"
19765 for msg in $wine_notices; do
19766 IFS="$ac_save_IFS"
19767 if ${msg:+false} :; then :
19769 else
19770 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19771 $as_echo "$as_me: $msg" >&6;}
19773 done
19775 IFS="|"
19776 for msg in $wine_warnings; do
19777 IFS="$ac_save_IFS"
19778 if ${msg:+false} :; then :
19780 else
19781 echo >&2
19782 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19783 $as_echo "$as_me: WARNING: $msg" >&2;}
19785 done
19786 IFS="$ac_save_IFS"
19788 $as_echo "
19789 $as_me: Finished. Do '${ac_make}' to compile Wine.
19790 " >&6