wined3d: Recognize vThreadGroupID register.
[wine.git] / configure
blobd1a6a68cb54c22e2b05231f8ee73f2846a8cdf7b
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.9.12.
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.12'
584 PACKAGE_STRING='Wine 1.9.12'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='http://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 WINELOADER_INSTALL
628 ALL_VARS_RULES
629 LDAP_LIBS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 UNWINDFLAGS
635 EXCESS_PRECISION_CFLAGS
636 BUILTINFLAG
637 EXTRACFLAGS
638 NETAPI_LIBS
639 NETAPI_CFLAGS
640 PROCSTAT_LIBS
641 KSTAT_LIBS
642 MPG123_LIBS
643 MPG123_CFLAGS
644 TIFF_LIBS
645 TIFF_CFLAGS
646 PNG_LIBS
647 PNG_CFLAGS
648 JPEG_LIBS
649 JPEG_CFLAGS
650 FONTCONFIG_LIBS
651 FONTCONFIG_CFLAGS
652 CUPS_CFLAGS
653 CAPI20_LIBS
654 CAPI20_CFLAGS
655 OSS4_CFLAGS
656 ALSA_LIBS
657 GSTREAMER_LIBS
658 GSTREAMER_CFLAGS
659 PULSE_LIBS
660 PULSE_CFLAGS
661 GETTEXTPO_LIBS
662 Z_LIBS
663 FREETYPE_LIBS
664 FREETYPE_CFLAGS
665 LCMS2_LIBS
666 LCMS2_CFLAGS
667 RESOLV_LIBS
668 GPHOTO2_PORT_LIBS
669 GPHOTO2_PORT_CFLAGS
670 GPHOTO2_LIBS
671 GPHOTO2_CFLAGS
672 SANE_LIBS
673 SANE_CFLAGS
674 GNUTLS_LIBS
675 GNUTLS_CFLAGS
676 HAL_LIBS
677 HAL_CFLAGS
678 DBUS_LIBS
679 DBUS_CFLAGS
680 XSLT_LIBS
681 XSLT_CFLAGS
682 XML2_LIBS
683 XML2_CFLAGS
684 PCAP_LIBS
685 X_EXTRA_LIBS
686 X_LIBS
687 X_PRE_LIBS
688 X_CFLAGS
689 XMKMF
690 PTHREAD_LIBS
691 CROSSCC
692 CROSSTARGET
693 PRELINK
694 WINELOADER_DEPENDS
695 CARBON_LIBS
696 QUICKTIME_LIBS
697 OPENCL_LIBS
698 OPENAL_LIBS
699 COREAUDIO_LIBS
700 SECURITY_LIBS
701 DISKARBITRATION_LIBS
702 APPKIT_LIBS
703 CORESERVICES_LIBS
704 APPLICATIONSERVICES_LIBS
705 FORCEFEEDBACK_LIBS
706 IOKIT_LIBS
707 COREFOUNDATION_LIBS
708 LIBWINE_DEPENDS
709 LIBWINE_LDFLAGS
710 LIBWINE_INSTALL_DEV
711 LIBWINE_INSTALL_LIB
712 LIBWINE_IMPORTLIB
713 LIBWINE_SHAREDLIB
714 SOCKET_LIBS
715 DLLTOOL
716 WINELOADER_PROGRAMS
717 ALL_TEST_RESOURCES
718 CONFIGURE_TARGETS
719 DISABLED_SUBDIRS
720 SUBDIRS
721 READELF
722 OTOOL
724 LDEXECFLAGS
725 LDRPATH_LOCAL
726 LDRPATH_INSTALL
727 DLLFLAGS
728 dlldir
730 OPENGL_LIBS
731 ICOTOOL
732 CONVERT
733 RSVG
734 FONTFORGE
735 PKG_CONFIG
736 MSGFMT
737 LDCONFIG
738 EGREP
739 GREP
740 LN_S
741 RANLIB
742 ARFLAGS
743 STRIP
744 ac_ct_AR
746 BISON
747 FLEX
748 TOOLSDIR
749 TARGETFLAGS
751 CPPBIN
752 ac_ct_CXX
753 CXXFLAGS
755 OBJEXT
756 EXEEXT
757 ac_ct_CC
758 CPPFLAGS
759 LDFLAGS
760 CFLAGS
762 SET_MAKE
763 host_os
764 host_vendor
765 host_cpu
766 host
767 build_os
768 build_vendor
769 build_cpu
770 build
771 target_alias
772 host_alias
773 build_alias
774 LIBS
775 ECHO_T
776 ECHO_N
777 ECHO_C
778 DEFS
779 mandir
780 localedir
781 libdir
782 psdir
783 pdfdir
784 dvidir
785 htmldir
786 infodir
787 docdir
788 oldincludedir
789 includedir
790 runstatedir
791 localstatedir
792 sharedstatedir
793 sysconfdir
794 datadir
795 datarootdir
796 libexecdir
797 sbindir
798 bindir
799 program_transform_name
800 prefix
801 exec_prefix
802 PACKAGE_URL
803 PACKAGE_BUGREPORT
804 PACKAGE_STRING
805 PACKAGE_VERSION
806 PACKAGE_TARNAME
807 PACKAGE_NAME
808 PATH_SEPARATOR
809 SHELL'
810 ac_subst_files=''
811 ac_user_opts='
812 enable_option_checking
813 enable_win16
814 enable_win64
815 enable_tests
816 enable_maintainer_mode
817 with_alsa
818 with_capi
819 with_cms
820 with_coreaudio
821 with_cups
822 with_curses
823 with_dbus
824 with_fontconfig
825 with_freetype
826 with_gettext
827 with_gettextpo
828 with_gphoto
829 with_glu
830 with_gnutls
831 with_gsm
832 with_gstreamer
833 with_hal
834 with_jpeg
835 with_ldap
836 with_mpg123
837 with_netapi
838 with_openal
839 with_opencl
840 with_opengl
841 with_osmesa
842 with_oss
843 with_pcap
844 with_png
845 with_pthread
846 with_pulse
847 with_sane
848 with_tiff
849 with_v4l
850 with_xcomposite
851 with_xcursor
852 with_xinerama
853 with_xinput
854 with_xinput2
855 with_xml
856 with_xrandr
857 with_xrender
858 with_xshape
859 with_xshm
860 with_xslt
861 with_xxf86vm
862 with_zlib
863 with_wine_tools
864 with_wine64
865 enable_largefile
866 with_x
867 enable_acledit
868 enable_aclui
869 enable_activeds
870 enable_actxprxy
871 enable_advapi32
872 enable_advpack
873 enable_amstream
874 enable_api_ms_win_core_com_l1_1_0
875 enable_api_ms_win_core_com_l1_1_1
876 enable_api_ms_win_core_console_l1_1_0
877 enable_api_ms_win_core_datetime_l1_1_0
878 enable_api_ms_win_core_datetime_l1_1_1
879 enable_api_ms_win_core_debug_l1_1_0
880 enable_api_ms_win_core_debug_l1_1_1
881 enable_api_ms_win_core_delayload_l1_1_1
882 enable_api_ms_win_core_errorhandling_l1_1_0
883 enable_api_ms_win_core_errorhandling_l1_1_1
884 enable_api_ms_win_core_errorhandling_l1_1_2
885 enable_api_ms_win_core_fibers_l1_1_0
886 enable_api_ms_win_core_fibers_l1_1_1
887 enable_api_ms_win_core_file_l1_1_0
888 enable_api_ms_win_core_file_l1_2_0
889 enable_api_ms_win_core_file_l1_2_1
890 enable_api_ms_win_core_file_l2_1_0
891 enable_api_ms_win_core_file_l2_1_1
892 enable_api_ms_win_core_handle_l1_1_0
893 enable_api_ms_win_core_heap_l1_1_0
894 enable_api_ms_win_core_heap_l1_2_0
895 enable_api_ms_win_core_heap_obsolete_l1_1_0
896 enable_api_ms_win_core_interlocked_l1_1_0
897 enable_api_ms_win_core_interlocked_l1_2_0
898 enable_api_ms_win_core_io_l1_1_1
899 enable_api_ms_win_core_kernel32_legacy_l1_1_0
900 enable_api_ms_win_core_kernel32_legacy_l1_1_1
901 enable_api_ms_win_core_libraryloader_l1_1_0
902 enable_api_ms_win_core_libraryloader_l1_1_1
903 enable_api_ms_win_core_libraryloader_l1_2_0
904 enable_api_ms_win_core_localization_l1_1_0
905 enable_api_ms_win_core_localization_l1_2_0
906 enable_api_ms_win_core_localization_l1_2_1
907 enable_api_ms_win_core_localization_obsolete_l1_1_0
908 enable_api_ms_win_core_localregistry_l1_1_0
909 enable_api_ms_win_core_memory_l1_1_0
910 enable_api_ms_win_core_memory_l1_1_1
911 enable_api_ms_win_core_memory_l1_1_2
912 enable_api_ms_win_core_misc_l1_1_0
913 enable_api_ms_win_core_namedpipe_l1_1_0
914 enable_api_ms_win_core_namedpipe_l1_2_0
915 enable_api_ms_win_core_path_l1_1_0
916 enable_api_ms_win_core_processenvironment_l1_1_0
917 enable_api_ms_win_core_processenvironment_l1_2_0
918 enable_api_ms_win_core_processthreads_l1_1_0
919 enable_api_ms_win_core_processthreads_l1_1_1
920 enable_api_ms_win_core_processthreads_l1_1_2
921 enable_api_ms_win_core_profile_l1_1_0
922 enable_api_ms_win_core_psapi_l1_1_0
923 enable_api_ms_win_core_registry_l1_1_0
924 enable_api_ms_win_core_rtlsupport_l1_1_0
925 enable_api_ms_win_core_rtlsupport_l1_2_0
926 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
927 enable_api_ms_win_core_string_l1_1_0
928 enable_api_ms_win_core_string_l2_1_0
929 enable_api_ms_win_core_synch_l1_1_0
930 enable_api_ms_win_core_synch_l1_2_0
931 enable_api_ms_win_core_sysinfo_l1_1_0
932 enable_api_ms_win_core_sysinfo_l1_2_0
933 enable_api_ms_win_core_sysinfo_l1_2_1
934 enable_api_ms_win_core_threadpool_l1_2_0
935 enable_api_ms_win_core_threadpool_legacy_l1_1_0
936 enable_api_ms_win_core_timezone_l1_1_0
937 enable_api_ms_win_core_url_l1_1_0
938 enable_api_ms_win_core_util_l1_1_0
939 enable_api_ms_win_core_version_l1_1_0
940 enable_api_ms_win_core_winrt_error_l1_1_0
941 enable_api_ms_win_core_winrt_error_l1_1_1
942 enable_api_ms_win_core_winrt_l1_1_0
943 enable_api_ms_win_core_winrt_registration_l1_1_0
944 enable_api_ms_win_core_winrt_string_l1_1_0
945 enable_api_ms_win_core_wow64_l1_1_0
946 enable_api_ms_win_core_xstate_l2_1_0
947 enable_api_ms_win_crt_conio_l1_1_0
948 enable_api_ms_win_crt_convert_l1_1_0
949 enable_api_ms_win_crt_environment_l1_1_0
950 enable_api_ms_win_crt_filesystem_l1_1_0
951 enable_api_ms_win_crt_heap_l1_1_0
952 enable_api_ms_win_crt_locale_l1_1_0
953 enable_api_ms_win_crt_math_l1_1_0
954 enable_api_ms_win_crt_multibyte_l1_1_0
955 enable_api_ms_win_crt_private_l1_1_0
956 enable_api_ms_win_crt_process_l1_1_0
957 enable_api_ms_win_crt_runtime_l1_1_0
958 enable_api_ms_win_crt_stdio_l1_1_0
959 enable_api_ms_win_crt_string_l1_1_0
960 enable_api_ms_win_crt_time_l1_1_0
961 enable_api_ms_win_crt_utility_l1_1_0
962 enable_api_ms_win_downlevel_advapi32_l1_1_0
963 enable_api_ms_win_downlevel_advapi32_l2_1_0
964 enable_api_ms_win_downlevel_normaliz_l1_1_0
965 enable_api_ms_win_downlevel_ole32_l1_1_0
966 enable_api_ms_win_downlevel_shell32_l1_1_0
967 enable_api_ms_win_downlevel_shlwapi_l1_1_0
968 enable_api_ms_win_downlevel_shlwapi_l2_1_0
969 enable_api_ms_win_downlevel_user32_l1_1_0
970 enable_api_ms_win_downlevel_version_l1_1_0
971 enable_api_ms_win_eventing_classicprovider_l1_1_0
972 enable_api_ms_win_eventing_provider_l1_1_0
973 enable_api_ms_win_ntuser_dc_access_l1_1_0
974 enable_api_ms_win_security_base_l1_1_0
975 enable_api_ms_win_security_base_l1_2_0
976 enable_api_ms_win_security_lsalookup_l1_1_0
977 enable_api_ms_win_security_lsalookup_l1_1_1
978 enable_api_ms_win_security_sddl_l1_1_0
979 enable_api_ms_win_service_core_l1_1_1
980 enable_api_ms_win_service_management_l1_1_0
981 enable_api_ms_win_service_winsvc_l1_2_0
982 enable_apphelp
983 enable_appwiz_cpl
984 enable_atl
985 enable_atl100
986 enable_atl110
987 enable_atl80
988 enable_atl90
989 enable_authz
990 enable_avicap32
991 enable_avifil32
992 enable_avrt
993 enable_bcrypt
994 enable_bluetoothapis
995 enable_browseui
996 enable_bthprops_cpl
997 enable_cabinet
998 enable_capi2032
999 enable_cards
1000 enable_cfgmgr32
1001 enable_clusapi
1002 enable_combase
1003 enable_comcat
1004 enable_comctl32
1005 enable_comdlg32
1006 enable_compstui
1007 enable_comsvcs
1008 enable_connect
1009 enable_credui
1010 enable_crtdll
1011 enable_crypt32
1012 enable_cryptdlg
1013 enable_cryptdll
1014 enable_cryptext
1015 enable_cryptnet
1016 enable_cryptui
1017 enable_ctapi32
1018 enable_ctl3d32
1019 enable_d2d1
1020 enable_d3d10
1021 enable_d3d10_1
1022 enable_d3d10core
1023 enable_d3d11
1024 enable_d3d8
1025 enable_d3d9
1026 enable_d3dcompiler_33
1027 enable_d3dcompiler_34
1028 enable_d3dcompiler_35
1029 enable_d3dcompiler_36
1030 enable_d3dcompiler_37
1031 enable_d3dcompiler_38
1032 enable_d3dcompiler_39
1033 enable_d3dcompiler_40
1034 enable_d3dcompiler_41
1035 enable_d3dcompiler_42
1036 enable_d3dcompiler_43
1037 enable_d3dcompiler_46
1038 enable_d3dcompiler_47
1039 enable_d3dim
1040 enable_d3drm
1041 enable_d3dx10_33
1042 enable_d3dx10_34
1043 enable_d3dx10_35
1044 enable_d3dx10_36
1045 enable_d3dx10_37
1046 enable_d3dx10_38
1047 enable_d3dx10_39
1048 enable_d3dx10_40
1049 enable_d3dx10_41
1050 enable_d3dx10_42
1051 enable_d3dx10_43
1052 enable_d3dx11_42
1053 enable_d3dx11_43
1054 enable_d3dx9_24
1055 enable_d3dx9_25
1056 enable_d3dx9_26
1057 enable_d3dx9_27
1058 enable_d3dx9_28
1059 enable_d3dx9_29
1060 enable_d3dx9_30
1061 enable_d3dx9_31
1062 enable_d3dx9_32
1063 enable_d3dx9_33
1064 enable_d3dx9_34
1065 enable_d3dx9_35
1066 enable_d3dx9_36
1067 enable_d3dx9_37
1068 enable_d3dx9_38
1069 enable_d3dx9_39
1070 enable_d3dx9_40
1071 enable_d3dx9_41
1072 enable_d3dx9_42
1073 enable_d3dx9_43
1074 enable_d3dxof
1075 enable_davclnt
1076 enable_dbgeng
1077 enable_dbghelp
1078 enable_dciman32
1079 enable_ddraw
1080 enable_ddrawex
1081 enable_devenum
1082 enable_dhcpcsvc
1083 enable_difxapi
1084 enable_dinput
1085 enable_dinput8
1086 enable_dispex
1087 enable_dmband
1088 enable_dmcompos
1089 enable_dmime
1090 enable_dmloader
1091 enable_dmscript
1092 enable_dmstyle
1093 enable_dmsynth
1094 enable_dmusic
1095 enable_dmusic32
1096 enable_dnsapi
1097 enable_dplay
1098 enable_dplayx
1099 enable_dpnaddr
1100 enable_dpnet
1101 enable_dpnhpast
1102 enable_dpnlobby
1103 enable_dpvoice
1104 enable_dpwsockx
1105 enable_drmclien
1106 enable_dsound
1107 enable_dssenh
1108 enable_dswave
1109 enable_dwmapi
1110 enable_dwrite
1111 enable_dxdiagn
1112 enable_dxgi
1113 enable_dxva2
1114 enable_esent
1115 enable_evr
1116 enable_explorerframe
1117 enable_ext_ms_win_gdi_devcaps_l1_1_0
1118 enable_faultrep
1119 enable_fltlib
1120 enable_fltmgr_sys
1121 enable_fntcache
1122 enable_fontsub
1123 enable_fusion
1124 enable_fwpuclnt
1125 enable_gameux
1126 enable_gdi32
1127 enable_gdiplus
1128 enable_glu32
1129 enable_gphoto2_ds
1130 enable_gpkcsp
1131 enable_hal
1132 enable_hhctrl_ocx
1133 enable_hid
1134 enable_hidclass_sys
1135 enable_hlink
1136 enable_hnetcfg
1137 enable_httpapi
1138 enable_iccvid
1139 enable_icmp
1140 enable_ieframe
1141 enable_imaadp32_acm
1142 enable_imagehlp
1143 enable_imm32
1144 enable_inetcomm
1145 enable_inetcpl_cpl
1146 enable_inetmib1
1147 enable_infosoft
1148 enable_initpki
1149 enable_inkobj
1150 enable_inseng
1151 enable_iphlpapi
1152 enable_irprops_cpl
1153 enable_itircl
1154 enable_itss
1155 enable_joy_cpl
1156 enable_jscript
1157 enable_jsproxy
1158 enable_kernel32
1159 enable_kernelbase
1160 enable_ksuser
1161 enable_ktmw32
1162 enable_loadperf
1163 enable_localspl
1164 enable_localui
1165 enable_lz32
1166 enable_mapi32
1167 enable_mapistub
1168 enable_mciavi32
1169 enable_mcicda
1170 enable_mciqtz32
1171 enable_mciseq
1172 enable_mciwave
1173 enable_mf
1174 enable_mfplat
1175 enable_mfreadwrite
1176 enable_mgmtapi
1177 enable_midimap
1178 enable_mlang
1179 enable_mmcndmgr
1180 enable_mmdevapi
1181 enable_mountmgr_sys
1182 enable_mpr
1183 enable_mprapi
1184 enable_msacm32_drv
1185 enable_msacm32
1186 enable_msadp32_acm
1187 enable_msasn1
1188 enable_mscat32
1189 enable_mscms
1190 enable_mscoree
1191 enable_msctf
1192 enable_msctfp
1193 enable_msdaps
1194 enable_msdelta
1195 enable_msdmo
1196 enable_msdrm
1197 enable_msftedit
1198 enable_msg711_acm
1199 enable_msgsm32_acm
1200 enable_mshtml_tlb
1201 enable_mshtml
1202 enable_msi
1203 enable_msident
1204 enable_msimg32
1205 enable_msimsg
1206 enable_msimtf
1207 enable_msisip
1208 enable_msisys_ocx
1209 enable_msls31
1210 enable_msnet32
1211 enable_mspatcha
1212 enable_msrle32
1213 enable_msscript_ocx
1214 enable_mssign32
1215 enable_mssip32
1216 enable_mstask
1217 enable_msvcirt
1218 enable_msvcm80
1219 enable_msvcm90
1220 enable_msvcp100
1221 enable_msvcp110
1222 enable_msvcp120
1223 enable_msvcp120_app
1224 enable_msvcp60
1225 enable_msvcp70
1226 enable_msvcp71
1227 enable_msvcp80
1228 enable_msvcp90
1229 enable_msvcr100
1230 enable_msvcr110
1231 enable_msvcr120
1232 enable_msvcr120_app
1233 enable_msvcr70
1234 enable_msvcr71
1235 enable_msvcr80
1236 enable_msvcr90
1237 enable_msvcrt
1238 enable_msvcrt20
1239 enable_msvcrt40
1240 enable_msvcrtd
1241 enable_msvfw32
1242 enable_msvidc32
1243 enable_mswsock
1244 enable_msxml
1245 enable_msxml2
1246 enable_msxml3
1247 enable_msxml4
1248 enable_msxml6
1249 enable_ncrypt
1250 enable_nddeapi
1251 enable_ndis_sys
1252 enable_netapi32
1253 enable_netcfgx
1254 enable_netprofm
1255 enable_newdev
1256 enable_normaliz
1257 enable_npmshtml
1258 enable_npptools
1259 enable_ntdll
1260 enable_ntdsapi
1261 enable_ntoskrnl_exe
1262 enable_ntprint
1263 enable_objsel
1264 enable_odbc32
1265 enable_odbccp32
1266 enable_odbccu32
1267 enable_ole32
1268 enable_oleacc
1269 enable_oleaut32
1270 enable_olecli32
1271 enable_oledb32
1272 enable_oledlg
1273 enable_olepro32
1274 enable_olesvr32
1275 enable_olethk32
1276 enable_openal32
1277 enable_opencl
1278 enable_opengl32
1279 enable_packager
1280 enable_pdh
1281 enable_photometadatahandler
1282 enable_pidgen
1283 enable_powrprof
1284 enable_printui
1285 enable_prntvpt
1286 enable_propsys
1287 enable_psapi
1288 enable_pstorec
1289 enable_qcap
1290 enable_qedit
1291 enable_qmgr
1292 enable_qmgrprxy
1293 enable_quartz
1294 enable_query
1295 enable_rasapi32
1296 enable_rasdlg
1297 enable_regapi
1298 enable_resutils
1299 enable_riched20
1300 enable_riched32
1301 enable_rpcrt4
1302 enable_rsabase
1303 enable_rsaenh
1304 enable_rstrtmgr
1305 enable_rtutils
1306 enable_samlib
1307 enable_sane_ds
1308 enable_scarddlg
1309 enable_sccbase
1310 enable_schannel
1311 enable_schedsvc
1312 enable_scrrun
1313 enable_scsiport_sys
1314 enable_secur32
1315 enable_security
1316 enable_sensapi
1317 enable_serialui
1318 enable_setupapi
1319 enable_sfc
1320 enable_sfc_os
1321 enable_shdoclc
1322 enable_shdocvw
1323 enable_shell32
1324 enable_shfolder
1325 enable_shlwapi
1326 enable_slbcsp
1327 enable_slc
1328 enable_snmpapi
1329 enable_softpub
1330 enable_spoolss
1331 enable_stdole2_tlb
1332 enable_stdole32_tlb
1333 enable_sti
1334 enable_svrapi
1335 enable_sxs
1336 enable_t2embed
1337 enable_tapi32
1338 enable_taskschd
1339 enable_tdi_sys
1340 enable_traffic
1341 enable_twain_32
1342 enable_ucrtbase
1343 enable_unicows
1344 enable_updspapi
1345 enable_url
1346 enable_urlmon
1347 enable_usbd_sys
1348 enable_user32
1349 enable_userenv
1350 enable_usp10
1351 enable_uxtheme
1352 enable_vbscript
1353 enable_vcomp
1354 enable_vcomp100
1355 enable_vcomp110
1356 enable_vcomp120
1357 enable_vcomp90
1358 enable_vcruntime140
1359 enable_vdmdbg
1360 enable_version
1361 enable_vssapi
1362 enable_wbemdisp
1363 enable_wbemprox
1364 enable_webservices
1365 enable_wer
1366 enable_wevtapi
1367 enable_wiaservc
1368 enable_wimgapi
1369 enable_windowscodecs
1370 enable_windowscodecsext
1371 enable_winealsa_drv
1372 enable_winecoreaudio_drv
1373 enable_wined3d
1374 enable_winegstreamer
1375 enable_winejoystick_drv
1376 enable_winemac_drv
1377 enable_winemapi
1378 enable_winemp3_acm
1379 enable_wineoss_drv
1380 enable_wineps_drv
1381 enable_winepulse_drv
1382 enable_wineqtdecoder
1383 enable_winex11_drv
1384 enable_wing32
1385 enable_winhttp
1386 enable_wininet
1387 enable_winmm
1388 enable_winnls32
1389 enable_winscard
1390 enable_winspool_drv
1391 enable_winsta
1392 enable_wintab32
1393 enable_wintrust
1394 enable_wlanapi
1395 enable_wldap32
1396 enable_wmasf
1397 enable_wmi
1398 enable_wmiutils
1399 enable_wmp
1400 enable_wmvcore
1401 enable_wnaspi32
1402 enable_wpcap
1403 enable_ws2_32
1404 enable_wshom_ocx
1405 enable_wsnmp32
1406 enable_wsock32
1407 enable_wtsapi32
1408 enable_wuapi
1409 enable_wuaueng
1410 enable_x3daudio1_0
1411 enable_x3daudio1_1
1412 enable_x3daudio1_2
1413 enable_x3daudio1_3
1414 enable_x3daudio1_4
1415 enable_x3daudio1_5
1416 enable_x3daudio1_6
1417 enable_x3daudio1_7
1418 enable_xapofx1_1
1419 enable_xapofx1_2
1420 enable_xapofx1_3
1421 enable_xapofx1_4
1422 enable_xapofx1_5
1423 enable_xaudio2_0
1424 enable_xaudio2_1
1425 enable_xaudio2_2
1426 enable_xaudio2_3
1427 enable_xaudio2_4
1428 enable_xaudio2_5
1429 enable_xaudio2_6
1430 enable_xaudio2_7
1431 enable_xaudio2_8
1432 enable_xaudio2_9
1433 enable_xinput1_1
1434 enable_xinput1_2
1435 enable_xinput1_3
1436 enable_xinput1_4
1437 enable_xinput9_1_0
1438 enable_xmllite
1439 enable_xolehlp
1440 enable_xpsprint
1441 enable_xpssvcs
1442 enable_fonts
1443 enable_include
1444 enable_libs_port
1445 enable_libs_wine
1446 enable_libs_wpp
1447 enable_loader
1448 enable_po
1449 enable_arp
1450 enable_aspnet_regiis
1451 enable_attrib
1452 enable_cabarc
1453 enable_cacls
1454 enable_clock
1455 enable_cmd
1456 enable_conhost
1457 enable_control
1458 enable_cscript
1459 enable_dpnsvr
1460 enable_dxdiag
1461 enable_eject
1462 enable_expand
1463 enable_explorer
1464 enable_extrac32
1465 enable_findstr
1466 enable_fsutil
1467 enable_hh
1468 enable_hostname
1469 enable_icacls
1470 enable_icinfo
1471 enable_iexplore
1472 enable_ipconfig
1473 enable_lodctr
1474 enable_mofcomp
1475 enable_mshta
1476 enable_msiexec
1477 enable_net
1478 enable_netsh
1479 enable_netstat
1480 enable_ngen
1481 enable_notepad
1482 enable_oleview
1483 enable_ping
1484 enable_plugplay
1485 enable_presentationfontcache
1486 enable_progman
1487 enable_reg
1488 enable_regasm
1489 enable_regedit
1490 enable_regsvcs
1491 enable_regsvr32
1492 enable_rpcss
1493 enable_rundll32
1494 enable_sc
1495 enable_schtasks
1496 enable_sdbinst
1497 enable_secedit
1498 enable_servicemodelreg
1499 enable_services
1500 enable_shutdown
1501 enable_spoolsv
1502 enable_start
1503 enable_svchost
1504 enable_systeminfo
1505 enable_taskkill
1506 enable_tasklist
1507 enable_taskmgr
1508 enable_termsv
1509 enable_uninstaller
1510 enable_unlodctr
1511 enable_view
1512 enable_wevtutil
1513 enable_wineboot
1514 enable_winebrowser
1515 enable_winecfg
1516 enable_wineconsole
1517 enable_winedbg
1518 enable_winedevice
1519 enable_winefile
1520 enable_winemenubuilder
1521 enable_winemine
1522 enable_winemsibuilder
1523 enable_winepath
1524 enable_winetest
1525 enable_winhlp32
1526 enable_winver
1527 enable_wmic
1528 enable_wmplayer
1529 enable_wordpad
1530 enable_write
1531 enable_wscript
1532 enable_wusa
1533 enable_xcopy
1534 enable_server
1535 enable_tools
1537 ac_precious_vars='build_alias
1538 host_alias
1539 target_alias
1541 CFLAGS
1542 LDFLAGS
1543 LIBS
1544 CPPFLAGS
1546 CXXFLAGS
1549 XMKMF
1550 XML2_CFLAGS
1551 XML2_LIBS
1552 XSLT_CFLAGS
1553 XSLT_LIBS
1554 DBUS_CFLAGS
1555 DBUS_LIBS
1556 HAL_CFLAGS
1557 HAL_LIBS
1558 GNUTLS_CFLAGS
1559 GNUTLS_LIBS
1560 SANE_CFLAGS
1561 SANE_LIBS
1562 GPHOTO2_CFLAGS
1563 GPHOTO2_LIBS
1564 GPHOTO2_PORT_CFLAGS
1565 GPHOTO2_PORT_LIBS
1566 LCMS2_CFLAGS
1567 LCMS2_LIBS
1568 FREETYPE_CFLAGS
1569 FREETYPE_LIBS
1570 PULSE_CFLAGS
1571 PULSE_LIBS
1572 GSTREAMER_CFLAGS
1573 GSTREAMER_LIBS
1574 CAPI20_CFLAGS
1575 CAPI20_LIBS
1576 FONTCONFIG_CFLAGS
1577 FONTCONFIG_LIBS
1578 JPEG_CFLAGS
1579 JPEG_LIBS
1580 PNG_CFLAGS
1581 PNG_LIBS
1582 TIFF_CFLAGS
1583 TIFF_LIBS
1584 MPG123_CFLAGS
1585 MPG123_LIBS
1586 NETAPI_CFLAGS
1587 NETAPI_LIBS'
1590 # Initialize some variables set by options.
1591 ac_init_help=
1592 ac_init_version=false
1593 ac_unrecognized_opts=
1594 ac_unrecognized_sep=
1595 # The variables have the same names as the options, with
1596 # dashes changed to underlines.
1597 cache_file=/dev/null
1598 exec_prefix=NONE
1599 no_create=
1600 no_recursion=
1601 prefix=NONE
1602 program_prefix=NONE
1603 program_suffix=NONE
1604 program_transform_name=s,x,x,
1605 silent=
1606 site=
1607 srcdir=
1608 verbose=
1609 x_includes=NONE
1610 x_libraries=NONE
1612 # Installation directory options.
1613 # These are left unexpanded so users can "make install exec_prefix=/foo"
1614 # and all the variables that are supposed to be based on exec_prefix
1615 # by default will actually change.
1616 # Use braces instead of parens because sh, perl, etc. also accept them.
1617 # (The list follows the same order as the GNU Coding Standards.)
1618 bindir='${exec_prefix}/bin'
1619 sbindir='${exec_prefix}/sbin'
1620 libexecdir='${exec_prefix}/libexec'
1621 datarootdir='${prefix}/share'
1622 datadir='${datarootdir}'
1623 sysconfdir='${prefix}/etc'
1624 sharedstatedir='${prefix}/com'
1625 localstatedir='${prefix}/var'
1626 runstatedir='${localstatedir}/run'
1627 includedir='${prefix}/include'
1628 oldincludedir='/usr/include'
1629 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1630 infodir='${datarootdir}/info'
1631 htmldir='${docdir}'
1632 dvidir='${docdir}'
1633 pdfdir='${docdir}'
1634 psdir='${docdir}'
1635 libdir='${exec_prefix}/lib'
1636 localedir='${datarootdir}/locale'
1637 mandir='${datarootdir}/man'
1639 ac_prev=
1640 ac_dashdash=
1641 for ac_option
1643 # If the previous option needs an argument, assign it.
1644 if test -n "$ac_prev"; then
1645 eval $ac_prev=\$ac_option
1646 ac_prev=
1647 continue
1650 case $ac_option in
1651 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1652 *=) ac_optarg= ;;
1653 *) ac_optarg=yes ;;
1654 esac
1656 # Accept the important Cygnus configure options, so we can diagnose typos.
1658 case $ac_dashdash$ac_option in
1660 ac_dashdash=yes ;;
1662 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1663 ac_prev=bindir ;;
1664 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1665 bindir=$ac_optarg ;;
1667 -build | --build | --buil | --bui | --bu)
1668 ac_prev=build_alias ;;
1669 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1670 build_alias=$ac_optarg ;;
1672 -cache-file | --cache-file | --cache-fil | --cache-fi \
1673 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1674 ac_prev=cache_file ;;
1675 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1676 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1677 cache_file=$ac_optarg ;;
1679 --config-cache | -C)
1680 cache_file=config.cache ;;
1682 -datadir | --datadir | --datadi | --datad)
1683 ac_prev=datadir ;;
1684 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1685 datadir=$ac_optarg ;;
1687 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1688 | --dataroo | --dataro | --datar)
1689 ac_prev=datarootdir ;;
1690 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1691 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1692 datarootdir=$ac_optarg ;;
1694 -disable-* | --disable-*)
1695 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1696 # Reject names that are not valid shell variable names.
1697 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1698 as_fn_error $? "invalid feature name: $ac_useropt"
1699 ac_useropt_orig=$ac_useropt
1700 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1701 case $ac_user_opts in
1703 "enable_$ac_useropt"
1704 "*) ;;
1705 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1706 ac_unrecognized_sep=', ';;
1707 esac
1708 eval enable_$ac_useropt=no ;;
1710 -docdir | --docdir | --docdi | --doc | --do)
1711 ac_prev=docdir ;;
1712 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1713 docdir=$ac_optarg ;;
1715 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1716 ac_prev=dvidir ;;
1717 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1718 dvidir=$ac_optarg ;;
1720 -enable-* | --enable-*)
1721 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1722 # Reject names that are not valid shell variable names.
1723 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1724 as_fn_error $? "invalid feature name: $ac_useropt"
1725 ac_useropt_orig=$ac_useropt
1726 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1727 case $ac_user_opts in
1729 "enable_$ac_useropt"
1730 "*) ;;
1731 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1732 ac_unrecognized_sep=', ';;
1733 esac
1734 eval enable_$ac_useropt=\$ac_optarg ;;
1736 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1737 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1738 | --exec | --exe | --ex)
1739 ac_prev=exec_prefix ;;
1740 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1741 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1742 | --exec=* | --exe=* | --ex=*)
1743 exec_prefix=$ac_optarg ;;
1745 -gas | --gas | --ga | --g)
1746 # Obsolete; use --with-gas.
1747 with_gas=yes ;;
1749 -help | --help | --hel | --he | -h)
1750 ac_init_help=long ;;
1751 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1752 ac_init_help=recursive ;;
1753 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1754 ac_init_help=short ;;
1756 -host | --host | --hos | --ho)
1757 ac_prev=host_alias ;;
1758 -host=* | --host=* | --hos=* | --ho=*)
1759 host_alias=$ac_optarg ;;
1761 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1762 ac_prev=htmldir ;;
1763 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1764 | --ht=*)
1765 htmldir=$ac_optarg ;;
1767 -includedir | --includedir | --includedi | --included | --include \
1768 | --includ | --inclu | --incl | --inc)
1769 ac_prev=includedir ;;
1770 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1771 | --includ=* | --inclu=* | --incl=* | --inc=*)
1772 includedir=$ac_optarg ;;
1774 -infodir | --infodir | --infodi | --infod | --info | --inf)
1775 ac_prev=infodir ;;
1776 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1777 infodir=$ac_optarg ;;
1779 -libdir | --libdir | --libdi | --libd)
1780 ac_prev=libdir ;;
1781 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1782 libdir=$ac_optarg ;;
1784 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1785 | --libexe | --libex | --libe)
1786 ac_prev=libexecdir ;;
1787 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1788 | --libexe=* | --libex=* | --libe=*)
1789 libexecdir=$ac_optarg ;;
1791 -localedir | --localedir | --localedi | --localed | --locale)
1792 ac_prev=localedir ;;
1793 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1794 localedir=$ac_optarg ;;
1796 -localstatedir | --localstatedir | --localstatedi | --localstated \
1797 | --localstate | --localstat | --localsta | --localst | --locals)
1798 ac_prev=localstatedir ;;
1799 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1800 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1801 localstatedir=$ac_optarg ;;
1803 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1804 ac_prev=mandir ;;
1805 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1806 mandir=$ac_optarg ;;
1808 -nfp | --nfp | --nf)
1809 # Obsolete; use --without-fp.
1810 with_fp=no ;;
1812 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1813 | --no-cr | --no-c | -n)
1814 no_create=yes ;;
1816 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1817 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1818 no_recursion=yes ;;
1820 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1821 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1822 | --oldin | --oldi | --old | --ol | --o)
1823 ac_prev=oldincludedir ;;
1824 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1825 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1826 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1827 oldincludedir=$ac_optarg ;;
1829 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1830 ac_prev=prefix ;;
1831 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1832 prefix=$ac_optarg ;;
1834 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1835 | --program-pre | --program-pr | --program-p)
1836 ac_prev=program_prefix ;;
1837 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1838 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1839 program_prefix=$ac_optarg ;;
1841 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1842 | --program-suf | --program-su | --program-s)
1843 ac_prev=program_suffix ;;
1844 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1845 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1846 program_suffix=$ac_optarg ;;
1848 -program-transform-name | --program-transform-name \
1849 | --program-transform-nam | --program-transform-na \
1850 | --program-transform-n | --program-transform- \
1851 | --program-transform | --program-transfor \
1852 | --program-transfo | --program-transf \
1853 | --program-trans | --program-tran \
1854 | --progr-tra | --program-tr | --program-t)
1855 ac_prev=program_transform_name ;;
1856 -program-transform-name=* | --program-transform-name=* \
1857 | --program-transform-nam=* | --program-transform-na=* \
1858 | --program-transform-n=* | --program-transform-=* \
1859 | --program-transform=* | --program-transfor=* \
1860 | --program-transfo=* | --program-transf=* \
1861 | --program-trans=* | --program-tran=* \
1862 | --progr-tra=* | --program-tr=* | --program-t=*)
1863 program_transform_name=$ac_optarg ;;
1865 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1866 ac_prev=pdfdir ;;
1867 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1868 pdfdir=$ac_optarg ;;
1870 -psdir | --psdir | --psdi | --psd | --ps)
1871 ac_prev=psdir ;;
1872 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1873 psdir=$ac_optarg ;;
1875 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1876 | -silent | --silent | --silen | --sile | --sil)
1877 silent=yes ;;
1879 -runstatedir | --runstatedir | --runstatedi | --runstated \
1880 | --runstate | --runstat | --runsta | --runst | --runs \
1881 | --run | --ru | --r)
1882 ac_prev=runstatedir ;;
1883 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1884 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1885 | --run=* | --ru=* | --r=*)
1886 runstatedir=$ac_optarg ;;
1888 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1889 ac_prev=sbindir ;;
1890 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1891 | --sbi=* | --sb=*)
1892 sbindir=$ac_optarg ;;
1894 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1895 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1896 | --sharedst | --shareds | --shared | --share | --shar \
1897 | --sha | --sh)
1898 ac_prev=sharedstatedir ;;
1899 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1900 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1901 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1902 | --sha=* | --sh=*)
1903 sharedstatedir=$ac_optarg ;;
1905 -site | --site | --sit)
1906 ac_prev=site ;;
1907 -site=* | --site=* | --sit=*)
1908 site=$ac_optarg ;;
1910 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1911 ac_prev=srcdir ;;
1912 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1913 srcdir=$ac_optarg ;;
1915 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1916 | --syscon | --sysco | --sysc | --sys | --sy)
1917 ac_prev=sysconfdir ;;
1918 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1919 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1920 sysconfdir=$ac_optarg ;;
1922 -target | --target | --targe | --targ | --tar | --ta | --t)
1923 ac_prev=target_alias ;;
1924 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1925 target_alias=$ac_optarg ;;
1927 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1928 verbose=yes ;;
1930 -version | --version | --versio | --versi | --vers | -V)
1931 ac_init_version=: ;;
1933 -with-* | --with-*)
1934 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1935 # Reject names that are not valid shell variable names.
1936 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1937 as_fn_error $? "invalid package name: $ac_useropt"
1938 ac_useropt_orig=$ac_useropt
1939 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1940 case $ac_user_opts in
1942 "with_$ac_useropt"
1943 "*) ;;
1944 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1945 ac_unrecognized_sep=', ';;
1946 esac
1947 eval with_$ac_useropt=\$ac_optarg ;;
1949 -without-* | --without-*)
1950 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1951 # Reject names that are not valid shell variable names.
1952 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1953 as_fn_error $? "invalid package name: $ac_useropt"
1954 ac_useropt_orig=$ac_useropt
1955 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1956 case $ac_user_opts in
1958 "with_$ac_useropt"
1959 "*) ;;
1960 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1961 ac_unrecognized_sep=', ';;
1962 esac
1963 eval with_$ac_useropt=no ;;
1965 --x)
1966 # Obsolete; use --with-x.
1967 with_x=yes ;;
1969 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1970 | --x-incl | --x-inc | --x-in | --x-i)
1971 ac_prev=x_includes ;;
1972 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1973 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1974 x_includes=$ac_optarg ;;
1976 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1977 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1978 ac_prev=x_libraries ;;
1979 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1980 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1981 x_libraries=$ac_optarg ;;
1983 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1984 Try \`$0 --help' for more information"
1987 *=*)
1988 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1989 # Reject names that are not valid shell variable names.
1990 case $ac_envvar in #(
1991 '' | [0-9]* | *[!_$as_cr_alnum]* )
1992 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1993 esac
1994 eval $ac_envvar=\$ac_optarg
1995 export $ac_envvar ;;
1998 # FIXME: should be removed in autoconf 3.0.
1999 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2000 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2001 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2002 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2005 esac
2006 done
2008 if test -n "$ac_prev"; then
2009 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2010 as_fn_error $? "missing argument to $ac_option"
2013 if test -n "$ac_unrecognized_opts"; then
2014 case $enable_option_checking in
2015 no) ;;
2016 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2017 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2018 esac
2021 # Check all directory arguments for consistency.
2022 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2023 datadir sysconfdir sharedstatedir localstatedir includedir \
2024 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2025 libdir localedir mandir runstatedir
2027 eval ac_val=\$$ac_var
2028 # Remove trailing slashes.
2029 case $ac_val in
2030 */ )
2031 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2032 eval $ac_var=\$ac_val;;
2033 esac
2034 # Be sure to have absolute directory names.
2035 case $ac_val in
2036 [\\/$]* | ?:[\\/]* ) continue;;
2037 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2038 esac
2039 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2040 done
2042 # There might be people who depend on the old broken behavior: `$host'
2043 # used to hold the argument of --host etc.
2044 # FIXME: To remove some day.
2045 build=$build_alias
2046 host=$host_alias
2047 target=$target_alias
2049 # FIXME: To remove some day.
2050 if test "x$host_alias" != x; then
2051 if test "x$build_alias" = x; then
2052 cross_compiling=maybe
2053 elif test "x$build_alias" != "x$host_alias"; then
2054 cross_compiling=yes
2058 ac_tool_prefix=
2059 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2061 test "$silent" = yes && exec 6>/dev/null
2064 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2065 ac_ls_di=`ls -di .` &&
2066 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2067 as_fn_error $? "working directory cannot be determined"
2068 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2069 as_fn_error $? "pwd does not report name of working directory"
2072 # Find the source files, if location was not specified.
2073 if test -z "$srcdir"; then
2074 ac_srcdir_defaulted=yes
2075 # Try the directory containing this script, then the parent directory.
2076 ac_confdir=`$as_dirname -- "$as_myself" ||
2077 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2078 X"$as_myself" : 'X\(//\)[^/]' \| \
2079 X"$as_myself" : 'X\(//\)$' \| \
2080 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2081 $as_echo X"$as_myself" |
2082 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2083 s//\1/
2086 /^X\(\/\/\)[^/].*/{
2087 s//\1/
2090 /^X\(\/\/\)$/{
2091 s//\1/
2094 /^X\(\/\).*/{
2095 s//\1/
2098 s/.*/./; q'`
2099 srcdir=$ac_confdir
2100 if test ! -r "$srcdir/$ac_unique_file"; then
2101 srcdir=..
2103 else
2104 ac_srcdir_defaulted=no
2106 if test ! -r "$srcdir/$ac_unique_file"; then
2107 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2108 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2110 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2111 ac_abs_confdir=`(
2112 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2113 pwd)`
2114 # When building in place, set srcdir=.
2115 if test "$ac_abs_confdir" = "$ac_pwd"; then
2116 srcdir=.
2118 # Remove unnecessary trailing slashes from srcdir.
2119 # Double slashes in file names in object file debugging info
2120 # mess up M-x gdb in Emacs.
2121 case $srcdir in
2122 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2123 esac
2124 for ac_var in $ac_precious_vars; do
2125 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2126 eval ac_env_${ac_var}_value=\$${ac_var}
2127 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2128 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2129 done
2132 # Report the --help message.
2134 if test "$ac_init_help" = "long"; then
2135 # Omit some internal or obsolete options to make the list less imposing.
2136 # This message is too long to be a string in the A/UX 3.1 sh.
2137 cat <<_ACEOF
2138 \`configure' configures Wine 1.9.12 to adapt to many kinds of systems.
2140 Usage: $0 [OPTION]... [VAR=VALUE]...
2142 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2143 VAR=VALUE. See below for descriptions of some of the useful variables.
2145 Defaults for the options are specified in brackets.
2147 Configuration:
2148 -h, --help display this help and exit
2149 --help=short display options specific to this package
2150 --help=recursive display the short help of all the included packages
2151 -V, --version display version information and exit
2152 -q, --quiet, --silent do not print \`checking ...' messages
2153 --cache-file=FILE cache test results in FILE [disabled]
2154 -C, --config-cache alias for \`--cache-file=config.cache'
2155 -n, --no-create do not create output files
2156 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2158 Installation directories:
2159 --prefix=PREFIX install architecture-independent files in PREFIX
2160 [$ac_default_prefix]
2161 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2162 [PREFIX]
2164 By default, \`make install' will install all the files in
2165 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2166 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2167 for instance \`--prefix=\$HOME'.
2169 For better control, use the options below.
2171 Fine tuning of the installation directories:
2172 --bindir=DIR user executables [EPREFIX/bin]
2173 --sbindir=DIR system admin executables [EPREFIX/sbin]
2174 --libexecdir=DIR program executables [EPREFIX/libexec]
2175 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2176 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2177 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2178 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2179 --libdir=DIR object code libraries [EPREFIX/lib]
2180 --includedir=DIR C header files [PREFIX/include]
2181 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2182 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2183 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2184 --infodir=DIR info documentation [DATAROOTDIR/info]
2185 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2186 --mandir=DIR man documentation [DATAROOTDIR/man]
2187 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2188 --htmldir=DIR html documentation [DOCDIR]
2189 --dvidir=DIR dvi documentation [DOCDIR]
2190 --pdfdir=DIR pdf documentation [DOCDIR]
2191 --psdir=DIR ps documentation [DOCDIR]
2192 _ACEOF
2194 cat <<\_ACEOF
2196 X features:
2197 --x-includes=DIR X include files are in DIR
2198 --x-libraries=DIR X library files are in DIR
2200 System types:
2201 --build=BUILD configure for building on BUILD [guessed]
2202 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2203 _ACEOF
2206 if test -n "$ac_init_help"; then
2207 case $ac_init_help in
2208 short | recursive ) echo "Configuration of Wine 1.9.12:";;
2209 esac
2210 cat <<\_ACEOF
2212 Optional Features:
2213 --disable-option-checking ignore unrecognized --enable/--with options
2214 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2215 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2216 --disable-win16 do not include Win16 support
2217 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2218 binaries)
2219 --disable-tests do not build the regression tests
2220 --enable-maintainer-mode
2221 enable maintainer-specific build rules
2222 --disable-largefile omit support for large files
2224 Optional Packages:
2225 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2226 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2227 --without-alsa do not use the Alsa sound support
2228 --without-capi do not use CAPI (ISDN support)
2229 --without-cms do not use CMS (color management support)
2230 --without-coreaudio do not use the CoreAudio sound support
2231 --without-cups do not use CUPS
2232 --without-curses do not use (n)curses
2233 --without-dbus do not use DBus (dynamic device support)
2234 --without-fontconfig do not use fontconfig
2235 --without-freetype do not use the FreeType library
2236 --without-gettext do not use gettext
2237 --with-gettextpo use the GetTextPO library to rebuild po files
2238 --without-gphoto do not use gphoto (Digital Camera support)
2239 --without-glu do not use the GLU library
2240 --without-gnutls do not use GnuTLS (schannel support)
2241 --without-gsm do not use libgsm (GSM 06.10 codec support)
2242 --without-gstreamer do not use GStreamer (codecs support)
2243 --without-hal do not use HAL (dynamic device support)
2244 --without-jpeg do not use JPEG
2245 --without-ldap do not use LDAP
2246 --without-mpg123 do not use the mpg123 library
2247 --without-netapi do not use the Samba NetAPI library
2248 --without-openal do not use OpenAL
2249 --without-opencl do not use OpenCL
2250 --without-opengl do not use OpenGL
2251 --without-osmesa do not use the OSMesa library
2252 --without-oss do not use the OSS sound support
2253 --without-pcap do not use the Packet Capture library
2254 --without-png do not use PNG
2255 --without-pthread do not use the pthread library
2256 --without-pulse do not use PulseAudio sound support
2257 --without-sane do not use SANE (scanner support)
2258 --without-tiff do not use TIFF
2259 --without-v4l do not use v4l1 (v4l support)
2260 --without-xcomposite do not use the Xcomposite extension
2261 --without-xcursor do not use the Xcursor extension
2262 --without-xinerama do not use Xinerama (multi-monitor support)
2263 --without-xinput do not use the Xinput extension
2264 --without-xinput2 do not use the Xinput 2 extension
2265 --without-xml do not use XML
2266 --without-xrandr do not use Xrandr (resolution changes)
2267 --without-xrender do not use the Xrender extension
2268 --without-xshape do not use the Xshape extension
2269 --without-xshm do not use XShm (shared memory extension)
2270 --without-xslt do not use XSLT
2271 --without-xxf86vm do not use XFree video mode extension
2272 --without-zlib do not use Zlib (data compression)
2273 --with-wine-tools=DIR use Wine tools from directory DIR
2274 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2275 --with-x use the X Window System
2277 Some influential environment variables:
2278 CC C compiler command
2279 CFLAGS C compiler flags
2280 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2281 nonstandard directory <lib dir>
2282 LIBS libraries to pass to the linker, e.g. -l<library>
2283 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2284 you have headers in a nonstandard directory <include dir>
2285 CXX C++ compiler command
2286 CXXFLAGS C++ compiler flags
2287 CPP C preprocessor
2288 XMKMF Path to xmkmf, Makefile generator for X Window System
2289 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2290 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2291 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2292 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2293 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2294 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2295 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2296 HAL_LIBS Linker flags for hal, overriding pkg-config
2297 GNUTLS_CFLAGS
2298 C compiler flags for gnutls, overriding pkg-config
2299 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2300 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2301 SANE_LIBS Linker flags for libsane, overriding pkg-config
2302 GPHOTO2_CFLAGS
2303 C compiler flags for libgphoto2, overriding pkg-config
2304 GPHOTO2_LIBS
2305 Linker flags for libgphoto2, overriding pkg-config
2306 GPHOTO2_PORT_CFLAGS
2307 C compiler flags for libgphoto2_port, overriding pkg-config
2308 GPHOTO2_PORT_LIBS
2309 Linker flags for libgphoto2_port, overriding pkg-config
2310 LCMS2_CFLAGS
2311 C compiler flags for lcms2, overriding pkg-config
2312 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2313 FREETYPE_CFLAGS
2314 C compiler flags for freetype2, overriding pkg-config
2315 FREETYPE_LIBS
2316 Linker flags for freetype2, overriding pkg-config
2317 PULSE_CFLAGS
2318 C compiler flags for libpulse, overriding pkg-config
2319 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2320 GSTREAMER_CFLAGS
2321 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2322 gstreamer-audio-1.0, overriding pkg-config
2323 GSTREAMER_LIBS
2324 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2325 gstreamer-audio-1.0, overriding pkg-config
2326 CAPI20_CFLAGS
2327 C compiler flags for capi20, overriding pkg-config
2328 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2329 FONTCONFIG_CFLAGS
2330 C compiler flags for fontconfig, overriding pkg-config
2331 FONTCONFIG_LIBS
2332 Linker flags for fontconfig, overriding pkg-config
2333 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2334 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2335 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2336 PNG_LIBS Linker flags for libpng, overriding pkg-config
2337 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2338 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2339 MPG123_CFLAGS
2340 C compiler flags for libmpg123, overriding pkg-config
2341 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2342 NETAPI_CFLAGS
2343 C compiler flags for netapi, overriding pkg-config
2344 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2346 Use these variables to override the choices made by `configure' or to help
2347 it to find libraries and programs with nonstandard names/locations.
2349 Report bugs to <wine-devel@winehq.org>.
2350 Wine home page: <http://www.winehq.org>.
2351 _ACEOF
2352 ac_status=$?
2355 if test "$ac_init_help" = "recursive"; then
2356 # If there are subdirs, report their specific --help.
2357 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2358 test -d "$ac_dir" ||
2359 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2360 continue
2361 ac_builddir=.
2363 case "$ac_dir" in
2364 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2366 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2367 # A ".." for each directory in $ac_dir_suffix.
2368 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2369 case $ac_top_builddir_sub in
2370 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2371 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2372 esac ;;
2373 esac
2374 ac_abs_top_builddir=$ac_pwd
2375 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2376 # for backward compatibility:
2377 ac_top_builddir=$ac_top_build_prefix
2379 case $srcdir in
2380 .) # We are building in place.
2381 ac_srcdir=.
2382 ac_top_srcdir=$ac_top_builddir_sub
2383 ac_abs_top_srcdir=$ac_pwd ;;
2384 [\\/]* | ?:[\\/]* ) # Absolute name.
2385 ac_srcdir=$srcdir$ac_dir_suffix;
2386 ac_top_srcdir=$srcdir
2387 ac_abs_top_srcdir=$srcdir ;;
2388 *) # Relative name.
2389 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2390 ac_top_srcdir=$ac_top_build_prefix$srcdir
2391 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2392 esac
2393 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2395 cd "$ac_dir" || { ac_status=$?; continue; }
2396 # Check for guested configure.
2397 if test -f "$ac_srcdir/configure.gnu"; then
2398 echo &&
2399 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2400 elif test -f "$ac_srcdir/configure"; then
2401 echo &&
2402 $SHELL "$ac_srcdir/configure" --help=recursive
2403 else
2404 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2405 fi || ac_status=$?
2406 cd "$ac_pwd" || { ac_status=$?; break; }
2407 done
2410 test -n "$ac_init_help" && exit $ac_status
2411 if $ac_init_version; then
2412 cat <<\_ACEOF
2413 Wine configure 1.9.12
2414 generated by GNU Autoconf 2.69
2416 Copyright (C) 2012 Free Software Foundation, Inc.
2417 This configure script is free software; the Free Software Foundation
2418 gives unlimited permission to copy, distribute and modify it.
2419 _ACEOF
2420 exit
2423 ## ------------------------ ##
2424 ## Autoconf initialization. ##
2425 ## ------------------------ ##
2427 # ac_fn_c_try_compile LINENO
2428 # --------------------------
2429 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2430 ac_fn_c_try_compile ()
2432 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2433 rm -f conftest.$ac_objext
2434 if { { ac_try="$ac_compile"
2435 case "(($ac_try" in
2436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2437 *) ac_try_echo=$ac_try;;
2438 esac
2439 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2440 $as_echo "$ac_try_echo"; } >&5
2441 (eval "$ac_compile") 2>conftest.err
2442 ac_status=$?
2443 if test -s conftest.err; then
2444 grep -v '^ *+' conftest.err >conftest.er1
2445 cat conftest.er1 >&5
2446 mv -f conftest.er1 conftest.err
2448 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2449 test $ac_status = 0; } && {
2450 test -z "$ac_c_werror_flag" ||
2451 test ! -s conftest.err
2452 } && test -s conftest.$ac_objext; then :
2453 ac_retval=0
2454 else
2455 $as_echo "$as_me: failed program was:" >&5
2456 sed 's/^/| /' conftest.$ac_ext >&5
2458 ac_retval=1
2460 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2461 as_fn_set_status $ac_retval
2463 } # ac_fn_c_try_compile
2465 # ac_fn_cxx_try_compile LINENO
2466 # ----------------------------
2467 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2468 ac_fn_cxx_try_compile ()
2470 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2471 rm -f conftest.$ac_objext
2472 if { { ac_try="$ac_compile"
2473 case "(($ac_try" in
2474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2475 *) ac_try_echo=$ac_try;;
2476 esac
2477 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2478 $as_echo "$ac_try_echo"; } >&5
2479 (eval "$ac_compile") 2>conftest.err
2480 ac_status=$?
2481 if test -s conftest.err; then
2482 grep -v '^ *+' conftest.err >conftest.er1
2483 cat conftest.er1 >&5
2484 mv -f conftest.er1 conftest.err
2486 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2487 test $ac_status = 0; } && {
2488 test -z "$ac_cxx_werror_flag" ||
2489 test ! -s conftest.err
2490 } && test -s conftest.$ac_objext; then :
2491 ac_retval=0
2492 else
2493 $as_echo "$as_me: failed program was:" >&5
2494 sed 's/^/| /' conftest.$ac_ext >&5
2496 ac_retval=1
2498 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2499 as_fn_set_status $ac_retval
2501 } # ac_fn_cxx_try_compile
2503 # ac_fn_c_try_link LINENO
2504 # -----------------------
2505 # Try to link conftest.$ac_ext, and return whether this succeeded.
2506 ac_fn_c_try_link ()
2508 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2509 rm -f conftest.$ac_objext conftest$ac_exeext
2510 if { { ac_try="$ac_link"
2511 case "(($ac_try" in
2512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2513 *) ac_try_echo=$ac_try;;
2514 esac
2515 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2516 $as_echo "$ac_try_echo"; } >&5
2517 (eval "$ac_link") 2>conftest.err
2518 ac_status=$?
2519 if test -s conftest.err; then
2520 grep -v '^ *+' conftest.err >conftest.er1
2521 cat conftest.er1 >&5
2522 mv -f conftest.er1 conftest.err
2524 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2525 test $ac_status = 0; } && {
2526 test -z "$ac_c_werror_flag" ||
2527 test ! -s conftest.err
2528 } && test -s conftest$ac_exeext && {
2529 test "$cross_compiling" = yes ||
2530 test -x conftest$ac_exeext
2531 }; then :
2532 ac_retval=0
2533 else
2534 $as_echo "$as_me: failed program was:" >&5
2535 sed 's/^/| /' conftest.$ac_ext >&5
2537 ac_retval=1
2539 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2540 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2541 # interfere with the next link command; also delete a directory that is
2542 # left behind by Apple's compiler. We do this before executing the actions.
2543 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2544 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2545 as_fn_set_status $ac_retval
2547 } # ac_fn_c_try_link
2549 # ac_fn_c_try_cpp LINENO
2550 # ----------------------
2551 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2552 ac_fn_c_try_cpp ()
2554 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2555 if { { ac_try="$ac_cpp conftest.$ac_ext"
2556 case "(($ac_try" in
2557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2558 *) ac_try_echo=$ac_try;;
2559 esac
2560 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2561 $as_echo "$ac_try_echo"; } >&5
2562 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2563 ac_status=$?
2564 if test -s conftest.err; then
2565 grep -v '^ *+' conftest.err >conftest.er1
2566 cat conftest.er1 >&5
2567 mv -f conftest.er1 conftest.err
2569 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2570 test $ac_status = 0; } > conftest.i && {
2571 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2572 test ! -s conftest.err
2573 }; then :
2574 ac_retval=0
2575 else
2576 $as_echo "$as_me: failed program was:" >&5
2577 sed 's/^/| /' conftest.$ac_ext >&5
2579 ac_retval=1
2581 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2582 as_fn_set_status $ac_retval
2584 } # ac_fn_c_try_cpp
2586 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2587 # -------------------------------------------------------
2588 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2589 # the include files in INCLUDES and setting the cache variable VAR
2590 # accordingly.
2591 ac_fn_c_check_header_mongrel ()
2593 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2594 if eval \${$3+:} false; then :
2595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2596 $as_echo_n "checking for $2... " >&6; }
2597 if eval \${$3+:} false; then :
2598 $as_echo_n "(cached) " >&6
2600 eval ac_res=\$$3
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2602 $as_echo "$ac_res" >&6; }
2603 else
2604 # Is the header compilable?
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2606 $as_echo_n "checking $2 usability... " >&6; }
2607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2608 /* end confdefs.h. */
2610 #include <$2>
2611 _ACEOF
2612 if ac_fn_c_try_compile "$LINENO"; then :
2613 ac_header_compiler=yes
2614 else
2615 ac_header_compiler=no
2617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2619 $as_echo "$ac_header_compiler" >&6; }
2621 # Is the header present?
2622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2623 $as_echo_n "checking $2 presence... " >&6; }
2624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2625 /* end confdefs.h. */
2626 #include <$2>
2627 _ACEOF
2628 if ac_fn_c_try_cpp "$LINENO"; then :
2629 ac_header_preproc=yes
2630 else
2631 ac_header_preproc=no
2633 rm -f conftest.err conftest.i conftest.$ac_ext
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2635 $as_echo "$ac_header_preproc" >&6; }
2637 # So? What about this header?
2638 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2639 yes:no: )
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2641 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2643 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2645 no:yes:* )
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2647 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2649 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2651 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2653 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2655 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2656 ( $as_echo "## ------------------------------------ ##
2657 ## Report this to wine-devel@winehq.org ##
2658 ## ------------------------------------ ##"
2659 ) | sed "s/^/$as_me: WARNING: /" >&2
2661 esac
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2663 $as_echo_n "checking for $2... " >&6; }
2664 if eval \${$3+:} false; then :
2665 $as_echo_n "(cached) " >&6
2666 else
2667 eval "$3=\$ac_header_compiler"
2669 eval ac_res=\$$3
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2671 $as_echo "$ac_res" >&6; }
2673 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2675 } # ac_fn_c_check_header_mongrel
2677 # ac_fn_c_try_run LINENO
2678 # ----------------------
2679 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2680 # that executables *can* be run.
2681 ac_fn_c_try_run ()
2683 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2684 if { { ac_try="$ac_link"
2685 case "(($ac_try" in
2686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2687 *) ac_try_echo=$ac_try;;
2688 esac
2689 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2690 $as_echo "$ac_try_echo"; } >&5
2691 (eval "$ac_link") 2>&5
2692 ac_status=$?
2693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2694 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2695 { { case "(($ac_try" in
2696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2697 *) ac_try_echo=$ac_try;;
2698 esac
2699 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2700 $as_echo "$ac_try_echo"; } >&5
2701 (eval "$ac_try") 2>&5
2702 ac_status=$?
2703 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2704 test $ac_status = 0; }; }; then :
2705 ac_retval=0
2706 else
2707 $as_echo "$as_me: program exited with status $ac_status" >&5
2708 $as_echo "$as_me: failed program was:" >&5
2709 sed 's/^/| /' conftest.$ac_ext >&5
2711 ac_retval=$ac_status
2713 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2714 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2715 as_fn_set_status $ac_retval
2717 } # ac_fn_c_try_run
2719 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2720 # -------------------------------------------------------
2721 # Tests whether HEADER exists and can be compiled using the include files in
2722 # INCLUDES, setting the cache variable VAR accordingly.
2723 ac_fn_c_check_header_compile ()
2725 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2727 $as_echo_n "checking for $2... " >&6; }
2728 if eval \${$3+:} false; then :
2729 $as_echo_n "(cached) " >&6
2730 else
2731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2732 /* end confdefs.h. */
2734 #include <$2>
2735 _ACEOF
2736 if ac_fn_c_try_compile "$LINENO"; then :
2737 eval "$3=yes"
2738 else
2739 eval "$3=no"
2741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2743 eval ac_res=\$$3
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2745 $as_echo "$ac_res" >&6; }
2746 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2748 } # ac_fn_c_check_header_compile
2750 # ac_fn_c_check_func LINENO FUNC VAR
2751 # ----------------------------------
2752 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2753 ac_fn_c_check_func ()
2755 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2757 $as_echo_n "checking for $2... " >&6; }
2758 if eval \${$3+:} false; then :
2759 $as_echo_n "(cached) " >&6
2760 else
2761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2762 /* end confdefs.h. */
2763 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2764 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2765 #define $2 innocuous_$2
2767 /* System header to define __stub macros and hopefully few prototypes,
2768 which can conflict with char $2 (); below.
2769 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2770 <limits.h> exists even on freestanding compilers. */
2772 #ifdef __STDC__
2773 # include <limits.h>
2774 #else
2775 # include <assert.h>
2776 #endif
2778 #undef $2
2780 /* Override any GCC internal prototype to avoid an error.
2781 Use char because int might match the return type of a GCC
2782 builtin and then its argument prototype would still apply. */
2783 #ifdef __cplusplus
2784 extern "C"
2785 #endif
2786 char $2 ();
2787 /* The GNU C library defines this for functions which it implements
2788 to always fail with ENOSYS. Some functions are actually named
2789 something starting with __ and the normal name is an alias. */
2790 #if defined __stub_$2 || defined __stub___$2
2791 choke me
2792 #endif
2795 main ()
2797 return $2 ();
2799 return 0;
2801 _ACEOF
2802 if ac_fn_c_try_link "$LINENO"; then :
2803 eval "$3=yes"
2804 else
2805 eval "$3=no"
2807 rm -f core conftest.err conftest.$ac_objext \
2808 conftest$ac_exeext conftest.$ac_ext
2810 eval ac_res=\$$3
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2812 $as_echo "$ac_res" >&6; }
2813 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2815 } # ac_fn_c_check_func
2817 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2818 # ----------------------------------------------------
2819 # Tries to find if the field MEMBER exists in type AGGR, after including
2820 # INCLUDES, setting cache variable VAR accordingly.
2821 ac_fn_c_check_member ()
2823 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2825 $as_echo_n "checking for $2.$3... " >&6; }
2826 if eval \${$4+:} false; then :
2827 $as_echo_n "(cached) " >&6
2828 else
2829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2830 /* end confdefs.h. */
2833 main ()
2835 static $2 ac_aggr;
2836 if (ac_aggr.$3)
2837 return 0;
2839 return 0;
2841 _ACEOF
2842 if ac_fn_c_try_compile "$LINENO"; then :
2843 eval "$4=yes"
2844 else
2845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2846 /* end confdefs.h. */
2849 main ()
2851 static $2 ac_aggr;
2852 if (sizeof ac_aggr.$3)
2853 return 0;
2855 return 0;
2857 _ACEOF
2858 if ac_fn_c_try_compile "$LINENO"; then :
2859 eval "$4=yes"
2860 else
2861 eval "$4=no"
2863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2867 eval ac_res=\$$4
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2869 $as_echo "$ac_res" >&6; }
2870 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2872 } # ac_fn_c_check_member
2874 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2875 # -------------------------------------------
2876 # Tests whether TYPE exists after having included INCLUDES, setting cache
2877 # variable VAR accordingly.
2878 ac_fn_c_check_type ()
2880 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2882 $as_echo_n "checking for $2... " >&6; }
2883 if eval \${$3+:} false; then :
2884 $as_echo_n "(cached) " >&6
2885 else
2886 eval "$3=no"
2887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2888 /* end confdefs.h. */
2891 main ()
2893 if (sizeof ($2))
2894 return 0;
2896 return 0;
2898 _ACEOF
2899 if ac_fn_c_try_compile "$LINENO"; then :
2900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2901 /* end confdefs.h. */
2904 main ()
2906 if (sizeof (($2)))
2907 return 0;
2909 return 0;
2911 _ACEOF
2912 if ac_fn_c_try_compile "$LINENO"; then :
2914 else
2915 eval "$3=yes"
2917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2921 eval ac_res=\$$3
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2923 $as_echo "$ac_res" >&6; }
2924 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2926 } # ac_fn_c_check_type
2927 cat >config.log <<_ACEOF
2928 This file contains any messages produced by compilers while
2929 running configure, to aid debugging if configure makes a mistake.
2931 It was created by Wine $as_me 1.9.12, which was
2932 generated by GNU Autoconf 2.69. Invocation command line was
2934 $ $0 $@
2936 _ACEOF
2937 exec 5>>config.log
2939 cat <<_ASUNAME
2940 ## --------- ##
2941 ## Platform. ##
2942 ## --------- ##
2944 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2945 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2946 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2947 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2948 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2950 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2951 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2953 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2954 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2955 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2956 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2957 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2958 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2959 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2961 _ASUNAME
2963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2964 for as_dir in $PATH
2966 IFS=$as_save_IFS
2967 test -z "$as_dir" && as_dir=.
2968 $as_echo "PATH: $as_dir"
2969 done
2970 IFS=$as_save_IFS
2972 } >&5
2974 cat >&5 <<_ACEOF
2977 ## ----------- ##
2978 ## Core tests. ##
2979 ## ----------- ##
2981 _ACEOF
2984 # Keep a trace of the command line.
2985 # Strip out --no-create and --no-recursion so they do not pile up.
2986 # Strip out --silent because we don't want to record it for future runs.
2987 # Also quote any args containing shell meta-characters.
2988 # Make two passes to allow for proper duplicate-argument suppression.
2989 ac_configure_args=
2990 ac_configure_args0=
2991 ac_configure_args1=
2992 ac_must_keep_next=false
2993 for ac_pass in 1 2
2995 for ac_arg
2997 case $ac_arg in
2998 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2999 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3000 | -silent | --silent | --silen | --sile | --sil)
3001 continue ;;
3002 *\'*)
3003 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3004 esac
3005 case $ac_pass in
3006 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3008 as_fn_append ac_configure_args1 " '$ac_arg'"
3009 if test $ac_must_keep_next = true; then
3010 ac_must_keep_next=false # Got value, back to normal.
3011 else
3012 case $ac_arg in
3013 *=* | --config-cache | -C | -disable-* | --disable-* \
3014 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3015 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3016 | -with-* | --with-* | -without-* | --without-* | --x)
3017 case "$ac_configure_args0 " in
3018 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3019 esac
3021 -* ) ac_must_keep_next=true ;;
3022 esac
3024 as_fn_append ac_configure_args " '$ac_arg'"
3026 esac
3027 done
3028 done
3029 { ac_configure_args0=; unset ac_configure_args0;}
3030 { ac_configure_args1=; unset ac_configure_args1;}
3032 # When interrupted or exit'd, cleanup temporary files, and complete
3033 # config.log. We remove comments because anyway the quotes in there
3034 # would cause problems or look ugly.
3035 # WARNING: Use '\'' to represent an apostrophe within the trap.
3036 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3037 trap 'exit_status=$?
3038 # Save into config.log some information that might help in debugging.
3040 echo
3042 $as_echo "## ---------------- ##
3043 ## Cache variables. ##
3044 ## ---------------- ##"
3045 echo
3046 # The following way of writing the cache mishandles newlines in values,
3048 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3049 eval ac_val=\$$ac_var
3050 case $ac_val in #(
3051 *${as_nl}*)
3052 case $ac_var in #(
3053 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3054 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3055 esac
3056 case $ac_var in #(
3057 _ | IFS | as_nl) ;; #(
3058 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3059 *) { eval $ac_var=; unset $ac_var;} ;;
3060 esac ;;
3061 esac
3062 done
3063 (set) 2>&1 |
3064 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3065 *${as_nl}ac_space=\ *)
3066 sed -n \
3067 "s/'\''/'\''\\\\'\'''\''/g;
3068 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3069 ;; #(
3071 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3073 esac |
3074 sort
3076 echo
3078 $as_echo "## ----------------- ##
3079 ## Output variables. ##
3080 ## ----------------- ##"
3081 echo
3082 for ac_var in $ac_subst_vars
3084 eval ac_val=\$$ac_var
3085 case $ac_val in
3086 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3087 esac
3088 $as_echo "$ac_var='\''$ac_val'\''"
3089 done | sort
3090 echo
3092 if test -n "$ac_subst_files"; then
3093 $as_echo "## ------------------- ##
3094 ## File substitutions. ##
3095 ## ------------------- ##"
3096 echo
3097 for ac_var in $ac_subst_files
3099 eval ac_val=\$$ac_var
3100 case $ac_val in
3101 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3102 esac
3103 $as_echo "$ac_var='\''$ac_val'\''"
3104 done | sort
3105 echo
3108 if test -s confdefs.h; then
3109 $as_echo "## ----------- ##
3110 ## confdefs.h. ##
3111 ## ----------- ##"
3112 echo
3113 cat confdefs.h
3114 echo
3116 test "$ac_signal" != 0 &&
3117 $as_echo "$as_me: caught signal $ac_signal"
3118 $as_echo "$as_me: exit $exit_status"
3119 } >&5
3120 rm -f core *.core core.conftest.* &&
3121 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3122 exit $exit_status
3124 for ac_signal in 1 2 13 15; do
3125 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3126 done
3127 ac_signal=0
3129 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3130 rm -f -r conftest* confdefs.h
3132 $as_echo "/* confdefs.h */" > confdefs.h
3134 # Predefined preprocessor variables.
3136 cat >>confdefs.h <<_ACEOF
3137 #define PACKAGE_NAME "$PACKAGE_NAME"
3138 _ACEOF
3140 cat >>confdefs.h <<_ACEOF
3141 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3142 _ACEOF
3144 cat >>confdefs.h <<_ACEOF
3145 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3146 _ACEOF
3148 cat >>confdefs.h <<_ACEOF
3149 #define PACKAGE_STRING "$PACKAGE_STRING"
3150 _ACEOF
3152 cat >>confdefs.h <<_ACEOF
3153 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3154 _ACEOF
3156 cat >>confdefs.h <<_ACEOF
3157 #define PACKAGE_URL "$PACKAGE_URL"
3158 _ACEOF
3161 # Let the site file select an alternate cache file if it wants to.
3162 # Prefer an explicitly selected file to automatically selected ones.
3163 ac_site_file1=NONE
3164 ac_site_file2=NONE
3165 if test -n "$CONFIG_SITE"; then
3166 # We do not want a PATH search for config.site.
3167 case $CONFIG_SITE in #((
3168 -*) ac_site_file1=./$CONFIG_SITE;;
3169 */*) ac_site_file1=$CONFIG_SITE;;
3170 *) ac_site_file1=./$CONFIG_SITE;;
3171 esac
3172 elif test "x$prefix" != xNONE; then
3173 ac_site_file1=$prefix/share/config.site
3174 ac_site_file2=$prefix/etc/config.site
3175 else
3176 ac_site_file1=$ac_default_prefix/share/config.site
3177 ac_site_file2=$ac_default_prefix/etc/config.site
3179 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3181 test "x$ac_site_file" = xNONE && continue
3182 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3184 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3185 sed 's/^/| /' "$ac_site_file" >&5
3186 . "$ac_site_file" \
3187 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3188 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3189 as_fn_error $? "failed to load site script $ac_site_file
3190 See \`config.log' for more details" "$LINENO" 5; }
3192 done
3194 if test -r "$cache_file"; then
3195 # Some versions of bash will fail to source /dev/null (special files
3196 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3197 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3199 $as_echo "$as_me: loading cache $cache_file" >&6;}
3200 case $cache_file in
3201 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3202 *) . "./$cache_file";;
3203 esac
3205 else
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3207 $as_echo "$as_me: creating cache $cache_file" >&6;}
3208 >$cache_file
3211 # Check that the precious variables saved in the cache have kept the same
3212 # value.
3213 ac_cache_corrupted=false
3214 for ac_var in $ac_precious_vars; do
3215 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3216 eval ac_new_set=\$ac_env_${ac_var}_set
3217 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3218 eval ac_new_val=\$ac_env_${ac_var}_value
3219 case $ac_old_set,$ac_new_set in
3220 set,)
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3222 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3223 ac_cache_corrupted=: ;;
3224 ,set)
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3226 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3227 ac_cache_corrupted=: ;;
3228 ,);;
3230 if test "x$ac_old_val" != "x$ac_new_val"; then
3231 # differences in whitespace do not lead to failure.
3232 ac_old_val_w=`echo x $ac_old_val`
3233 ac_new_val_w=`echo x $ac_new_val`
3234 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3236 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3237 ac_cache_corrupted=:
3238 else
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3240 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3241 eval $ac_var=\$ac_old_val
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3244 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3246 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3247 fi;;
3248 esac
3249 # Pass precious variables to config.status.
3250 if test "$ac_new_set" = set; then
3251 case $ac_new_val in
3252 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3253 *) ac_arg=$ac_var=$ac_new_val ;;
3254 esac
3255 case " $ac_configure_args " in
3256 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3257 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3258 esac
3260 done
3261 if $ac_cache_corrupted; then
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3263 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3265 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3266 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3268 ## -------------------- ##
3269 ## Main body of script. ##
3270 ## -------------------- ##
3272 ac_ext=c
3273 ac_cpp='$CPP $CPPFLAGS'
3274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3280 ac_config_headers="$ac_config_headers include/config.h"
3282 ac_aux_dir=
3283 for ac_dir in tools "$srcdir"/tools; do
3284 if test -f "$ac_dir/install-sh"; then
3285 ac_aux_dir=$ac_dir
3286 ac_install_sh="$ac_aux_dir/install-sh -c"
3287 break
3288 elif 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/shtool"; then
3293 ac_aux_dir=$ac_dir
3294 ac_install_sh="$ac_aux_dir/shtool install -c"
3295 break
3297 done
3298 if test -z "$ac_aux_dir"; then
3299 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3302 # These three variables are undocumented and unsupported,
3303 # and are intended to be withdrawn in a future Autoconf release.
3304 # They can cause serious problems if a builder's source tree is in a directory
3305 # whose full name contains unusual characters.
3306 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3307 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3308 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3312 libwine_version="1.0"
3316 # Check whether --enable-win16 was given.
3317 if test "${enable_win16+set}" = set; then :
3318 enableval=$enable_win16;
3321 # Check whether --enable-win64 was given.
3322 if test "${enable_win64+set}" = set; then :
3323 enableval=$enable_win64;
3326 # Check whether --enable-tests was given.
3327 if test "${enable_tests+set}" = set; then :
3328 enableval=$enable_tests;
3331 # Check whether --enable-maintainer-mode was given.
3332 if test "${enable_maintainer_mode+set}" = set; then :
3333 enableval=$enable_maintainer_mode;
3338 # Check whether --with-alsa was given.
3339 if test "${with_alsa+set}" = set; then :
3340 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3344 # Check whether --with-capi was given.
3345 if test "${with_capi+set}" = set; then :
3346 withval=$with_capi;
3350 # Check whether --with-cms was given.
3351 if test "${with_cms+set}" = set; then :
3352 withval=$with_cms;
3356 # Check whether --with-coreaudio was given.
3357 if test "${with_coreaudio+set}" = set; then :
3358 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3362 # Check whether --with-cups was given.
3363 if test "${with_cups+set}" = set; then :
3364 withval=$with_cups;
3368 # Check whether --with-curses was given.
3369 if test "${with_curses+set}" = set; then :
3370 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3374 # Check whether --with-dbus was given.
3375 if test "${with_dbus+set}" = set; then :
3376 withval=$with_dbus;
3380 # Check whether --with-fontconfig was given.
3381 if test "${with_fontconfig+set}" = set; then :
3382 withval=$with_fontconfig;
3386 # Check whether --with-freetype was given.
3387 if test "${with_freetype+set}" = set; then :
3388 withval=$with_freetype;
3392 # Check whether --with-gettext was given.
3393 if test "${with_gettext+set}" = set; then :
3394 withval=$with_gettext;
3398 # Check whether --with-gettextpo was given.
3399 if test "${with_gettextpo+set}" = set; then :
3400 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3404 # Check whether --with-gphoto was given.
3405 if test "${with_gphoto+set}" = set; then :
3406 withval=$with_gphoto;
3410 # Check whether --with-glu was given.
3411 if test "${with_glu+set}" = set; then :
3412 withval=$with_glu;
3416 # Check whether --with-gnutls was given.
3417 if test "${with_gnutls+set}" = set; then :
3418 withval=$with_gnutls;
3422 # Check whether --with-gsm was given.
3423 if test "${with_gsm+set}" = set; then :
3424 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3428 # Check whether --with-gstreamer was given.
3429 if test "${with_gstreamer+set}" = set; then :
3430 withval=$with_gstreamer;
3434 # Check whether --with-hal was given.
3435 if test "${with_hal+set}" = set; then :
3436 withval=$with_hal;
3440 # Check whether --with-jpeg was given.
3441 if test "${with_jpeg+set}" = set; then :
3442 withval=$with_jpeg;
3446 # Check whether --with-ldap was given.
3447 if test "${with_ldap+set}" = set; then :
3448 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3452 # Check whether --with-mpg123 was given.
3453 if test "${with_mpg123+set}" = set; then :
3454 withval=$with_mpg123;
3458 # Check whether --with-netapi was given.
3459 if test "${with_netapi+set}" = set; then :
3460 withval=$with_netapi;
3464 # Check whether --with-openal was given.
3465 if test "${with_openal+set}" = set; then :
3466 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3470 # Check whether --with-opencl was given.
3471 if test "${with_opencl+set}" = set; then :
3472 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3476 # Check whether --with-opengl was given.
3477 if test "${with_opengl+set}" = set; then :
3478 withval=$with_opengl;
3482 # Check whether --with-osmesa was given.
3483 if test "${with_osmesa+set}" = set; then :
3484 withval=$with_osmesa;
3488 # Check whether --with-oss was given.
3489 if test "${with_oss+set}" = set; then :
3490 withval=$with_oss;
3494 # Check whether --with-pcap was given.
3495 if test "${with_pcap+set}" = set; then :
3496 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3500 # Check whether --with-png was given.
3501 if test "${with_png+set}" = set; then :
3502 withval=$with_png;
3506 # Check whether --with-pthread was given.
3507 if test "${with_pthread+set}" = set; then :
3508 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3512 # Check whether --with-pulse was given.
3513 if test "${with_pulse+set}" = set; then :
3514 withval=$with_pulse;
3518 # Check whether --with-sane was given.
3519 if test "${with_sane+set}" = set; then :
3520 withval=$with_sane;
3524 # Check whether --with-tiff was given.
3525 if test "${with_tiff+set}" = set; then :
3526 withval=$with_tiff;
3530 # Check whether --with-v4l was given.
3531 if test "${with_v4l+set}" = set; then :
3532 withval=$with_v4l;
3536 # Check whether --with-xcomposite was given.
3537 if test "${with_xcomposite+set}" = set; then :
3538 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3542 # Check whether --with-xcursor was given.
3543 if test "${with_xcursor+set}" = set; then :
3544 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3548 # Check whether --with-xinerama was given.
3549 if test "${with_xinerama+set}" = set; then :
3550 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3554 # Check whether --with-xinput was given.
3555 if test "${with_xinput+set}" = set; then :
3556 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3560 # Check whether --with-xinput2 was given.
3561 if test "${with_xinput2+set}" = set; then :
3562 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3566 # Check whether --with-xml was given.
3567 if test "${with_xml+set}" = set; then :
3568 withval=$with_xml;
3572 # Check whether --with-xrandr was given.
3573 if test "${with_xrandr+set}" = set; then :
3574 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3578 # Check whether --with-xrender was given.
3579 if test "${with_xrender+set}" = set; then :
3580 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3584 # Check whether --with-xshape was given.
3585 if test "${with_xshape+set}" = set; then :
3586 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3590 # Check whether --with-xshm was given.
3591 if test "${with_xshm+set}" = set; then :
3592 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3596 # Check whether --with-xslt was given.
3597 if test "${with_xslt+set}" = set; then :
3598 withval=$with_xslt;
3602 # Check whether --with-xxf86vm was given.
3603 if test "${with_xxf86vm+set}" = set; then :
3604 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
3608 # Check whether --with-zlib was given.
3609 if test "${with_zlib+set}" = set; then :
3610 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3615 # Check whether --with-wine-tools was given.
3616 if test "${with_wine_tools+set}" = set; then :
3617 withval=$with_wine_tools;
3621 # Check whether --with-wine64 was given.
3622 if test "${with_wine64+set}" = set; then :
3623 withval=$with_wine64;
3627 # Make sure we can run config.sub.
3628 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3629 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3632 $as_echo_n "checking build system type... " >&6; }
3633 if ${ac_cv_build+:} false; then :
3634 $as_echo_n "(cached) " >&6
3635 else
3636 ac_build_alias=$build_alias
3637 test "x$ac_build_alias" = x &&
3638 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3639 test "x$ac_build_alias" = x &&
3640 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3641 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3642 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3646 $as_echo "$ac_cv_build" >&6; }
3647 case $ac_cv_build in
3648 *-*-*) ;;
3649 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3650 esac
3651 build=$ac_cv_build
3652 ac_save_IFS=$IFS; IFS='-'
3653 set x $ac_cv_build
3654 shift
3655 build_cpu=$1
3656 build_vendor=$2
3657 shift; shift
3658 # Remember, the first character of IFS is used to create $*,
3659 # except with old shells:
3660 build_os=$*
3661 IFS=$ac_save_IFS
3662 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3666 $as_echo_n "checking host system type... " >&6; }
3667 if ${ac_cv_host+:} false; then :
3668 $as_echo_n "(cached) " >&6
3669 else
3670 if test "x$host_alias" = x; then
3671 ac_cv_host=$ac_cv_build
3672 else
3673 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3674 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3679 $as_echo "$ac_cv_host" >&6; }
3680 case $ac_cv_host in
3681 *-*-*) ;;
3682 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3683 esac
3684 host=$ac_cv_host
3685 ac_save_IFS=$IFS; IFS='-'
3686 set x $ac_cv_host
3687 shift
3688 host_cpu=$1
3689 host_vendor=$2
3690 shift; shift
3691 # Remember, the first character of IFS is used to create $*,
3692 # except with old shells:
3693 host_os=$*
3694 IFS=$ac_save_IFS
3695 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3699 case "$srcdir" in
3700 .) ;;
3701 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3702 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3703 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3704 fi ;;
3705 esac
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3709 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3710 set x ${MAKE-make}
3711 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3712 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3713 $as_echo_n "(cached) " >&6
3714 else
3715 cat >conftest.make <<\_ACEOF
3716 SHELL = /bin/sh
3717 all:
3718 @echo '@@@%%%=$(MAKE)=@@@%%%'
3719 _ACEOF
3720 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3721 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3722 *@@@%%%=?*=@@@%%%*)
3723 eval ac_cv_prog_make_${ac_make}_set=yes;;
3725 eval ac_cv_prog_make_${ac_make}_set=no;;
3726 esac
3727 rm -f conftest.make
3729 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3731 $as_echo "yes" >&6; }
3732 SET_MAKE=
3733 else
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3735 $as_echo "no" >&6; }
3736 SET_MAKE="MAKE=${MAKE-make}"
3739 ac_ext=c
3740 ac_cpp='$CPP $CPPFLAGS'
3741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3744 if test -n "$ac_tool_prefix"; then
3745 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3746 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3748 $as_echo_n "checking for $ac_word... " >&6; }
3749 if ${ac_cv_prog_CC+:} false; then :
3750 $as_echo_n "(cached) " >&6
3751 else
3752 if test -n "$CC"; then
3753 ac_cv_prog_CC="$CC" # Let the user override the test.
3754 else
3755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3756 for as_dir in $PATH
3758 IFS=$as_save_IFS
3759 test -z "$as_dir" && as_dir=.
3760 for ac_exec_ext in '' $ac_executable_extensions; do
3761 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3762 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3763 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3764 break 2
3766 done
3767 done
3768 IFS=$as_save_IFS
3772 CC=$ac_cv_prog_CC
3773 if test -n "$CC"; then
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3775 $as_echo "$CC" >&6; }
3776 else
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3778 $as_echo "no" >&6; }
3783 if test -z "$ac_cv_prog_CC"; then
3784 ac_ct_CC=$CC
3785 # Extract the first word of "gcc", so it can be a program name with args.
3786 set dummy gcc; ac_word=$2
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3788 $as_echo_n "checking for $ac_word... " >&6; }
3789 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3790 $as_echo_n "(cached) " >&6
3791 else
3792 if test -n "$ac_ct_CC"; then
3793 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3794 else
3795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3796 for as_dir in $PATH
3798 IFS=$as_save_IFS
3799 test -z "$as_dir" && as_dir=.
3800 for ac_exec_ext in '' $ac_executable_extensions; do
3801 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3802 ac_cv_prog_ac_ct_CC="gcc"
3803 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3804 break 2
3806 done
3807 done
3808 IFS=$as_save_IFS
3812 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3813 if test -n "$ac_ct_CC"; then
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3815 $as_echo "$ac_ct_CC" >&6; }
3816 else
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3818 $as_echo "no" >&6; }
3821 if test "x$ac_ct_CC" = x; then
3822 CC=""
3823 else
3824 case $cross_compiling:$ac_tool_warned in
3825 yes:)
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3827 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3828 ac_tool_warned=yes ;;
3829 esac
3830 CC=$ac_ct_CC
3832 else
3833 CC="$ac_cv_prog_CC"
3836 if test -z "$CC"; then
3837 if test -n "$ac_tool_prefix"; then
3838 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3839 set dummy ${ac_tool_prefix}cc; ac_word=$2
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3841 $as_echo_n "checking for $ac_word... " >&6; }
3842 if ${ac_cv_prog_CC+:} false; then :
3843 $as_echo_n "(cached) " >&6
3844 else
3845 if test -n "$CC"; then
3846 ac_cv_prog_CC="$CC" # Let the user override the test.
3847 else
3848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3849 for as_dir in $PATH
3851 IFS=$as_save_IFS
3852 test -z "$as_dir" && as_dir=.
3853 for ac_exec_ext in '' $ac_executable_extensions; do
3854 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3855 ac_cv_prog_CC="${ac_tool_prefix}cc"
3856 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3857 break 2
3859 done
3860 done
3861 IFS=$as_save_IFS
3865 CC=$ac_cv_prog_CC
3866 if test -n "$CC"; then
3867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3868 $as_echo "$CC" >&6; }
3869 else
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3871 $as_echo "no" >&6; }
3877 if test -z "$CC"; then
3878 # Extract the first word of "cc", so it can be a program name with args.
3879 set dummy cc; ac_word=$2
3880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3881 $as_echo_n "checking for $ac_word... " >&6; }
3882 if ${ac_cv_prog_CC+:} false; then :
3883 $as_echo_n "(cached) " >&6
3884 else
3885 if test -n "$CC"; then
3886 ac_cv_prog_CC="$CC" # Let the user override the test.
3887 else
3888 ac_prog_rejected=no
3889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3890 for as_dir in $PATH
3892 IFS=$as_save_IFS
3893 test -z "$as_dir" && as_dir=.
3894 for ac_exec_ext in '' $ac_executable_extensions; do
3895 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3896 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3897 ac_prog_rejected=yes
3898 continue
3900 ac_cv_prog_CC="cc"
3901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3902 break 2
3904 done
3905 done
3906 IFS=$as_save_IFS
3908 if test $ac_prog_rejected = yes; then
3909 # We found a bogon in the path, so make sure we never use it.
3910 set dummy $ac_cv_prog_CC
3911 shift
3912 if test $# != 0; then
3913 # We chose a different compiler from the bogus one.
3914 # However, it has the same basename, so the bogon will be chosen
3915 # first if we set CC to just the basename; use the full file name.
3916 shift
3917 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3922 CC=$ac_cv_prog_CC
3923 if test -n "$CC"; then
3924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3925 $as_echo "$CC" >&6; }
3926 else
3927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3928 $as_echo "no" >&6; }
3933 if test -z "$CC"; then
3934 if test -n "$ac_tool_prefix"; then
3935 for ac_prog in cl.exe
3937 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3938 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3940 $as_echo_n "checking for $ac_word... " >&6; }
3941 if ${ac_cv_prog_CC+:} false; then :
3942 $as_echo_n "(cached) " >&6
3943 else
3944 if test -n "$CC"; then
3945 ac_cv_prog_CC="$CC" # Let the user override the test.
3946 else
3947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3948 for as_dir in $PATH
3950 IFS=$as_save_IFS
3951 test -z "$as_dir" && as_dir=.
3952 for ac_exec_ext in '' $ac_executable_extensions; do
3953 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3954 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3956 break 2
3958 done
3959 done
3960 IFS=$as_save_IFS
3964 CC=$ac_cv_prog_CC
3965 if test -n "$CC"; then
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3967 $as_echo "$CC" >&6; }
3968 else
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3970 $as_echo "no" >&6; }
3974 test -n "$CC" && break
3975 done
3977 if test -z "$CC"; then
3978 ac_ct_CC=$CC
3979 for ac_prog in cl.exe
3981 # Extract the first word of "$ac_prog", so it can be a program name with args.
3982 set dummy $ac_prog; ac_word=$2
3983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3984 $as_echo_n "checking for $ac_word... " >&6; }
3985 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3986 $as_echo_n "(cached) " >&6
3987 else
3988 if test -n "$ac_ct_CC"; then
3989 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3990 else
3991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3992 for as_dir in $PATH
3994 IFS=$as_save_IFS
3995 test -z "$as_dir" && as_dir=.
3996 for ac_exec_ext in '' $ac_executable_extensions; do
3997 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3998 ac_cv_prog_ac_ct_CC="$ac_prog"
3999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4000 break 2
4002 done
4003 done
4004 IFS=$as_save_IFS
4008 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4009 if test -n "$ac_ct_CC"; then
4010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4011 $as_echo "$ac_ct_CC" >&6; }
4012 else
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4014 $as_echo "no" >&6; }
4018 test -n "$ac_ct_CC" && break
4019 done
4021 if test "x$ac_ct_CC" = x; then
4022 CC=""
4023 else
4024 case $cross_compiling:$ac_tool_warned in
4025 yes:)
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4027 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4028 ac_tool_warned=yes ;;
4029 esac
4030 CC=$ac_ct_CC
4037 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4038 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4039 as_fn_error $? "no acceptable C compiler found in \$PATH
4040 See \`config.log' for more details" "$LINENO" 5; }
4042 # Provide some information about the compiler.
4043 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4044 set X $ac_compile
4045 ac_compiler=$2
4046 for ac_option in --version -v -V -qversion; do
4047 { { ac_try="$ac_compiler $ac_option >&5"
4048 case "(($ac_try" in
4049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4050 *) ac_try_echo=$ac_try;;
4051 esac
4052 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4053 $as_echo "$ac_try_echo"; } >&5
4054 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4055 ac_status=$?
4056 if test -s conftest.err; then
4057 sed '10a\
4058 ... rest of stderr output deleted ...
4059 10q' conftest.err >conftest.er1
4060 cat conftest.er1 >&5
4062 rm -f conftest.er1 conftest.err
4063 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4064 test $ac_status = 0; }
4065 done
4067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4068 /* end confdefs.h. */
4071 main ()
4075 return 0;
4077 _ACEOF
4078 ac_clean_files_save=$ac_clean_files
4079 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4080 # Try to create an executable without -o first, disregard a.out.
4081 # It will help us diagnose broken compilers, and finding out an intuition
4082 # of exeext.
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4084 $as_echo_n "checking whether the C compiler works... " >&6; }
4085 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4087 # The possible output files:
4088 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4090 ac_rmfiles=
4091 for ac_file in $ac_files
4093 case $ac_file in
4094 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4095 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4096 esac
4097 done
4098 rm -f $ac_rmfiles
4100 if { { ac_try="$ac_link_default"
4101 case "(($ac_try" in
4102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4103 *) ac_try_echo=$ac_try;;
4104 esac
4105 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4106 $as_echo "$ac_try_echo"; } >&5
4107 (eval "$ac_link_default") 2>&5
4108 ac_status=$?
4109 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4110 test $ac_status = 0; }; then :
4111 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4112 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4113 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4114 # so that the user can short-circuit this test for compilers unknown to
4115 # Autoconf.
4116 for ac_file in $ac_files ''
4118 test -f "$ac_file" || continue
4119 case $ac_file in
4120 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4122 [ab].out )
4123 # We found the default executable, but exeext='' is most
4124 # certainly right.
4125 break;;
4126 *.* )
4127 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4128 then :; else
4129 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4131 # We set ac_cv_exeext here because the later test for it is not
4132 # safe: cross compilers may not add the suffix if given an `-o'
4133 # argument, so we may need to know it at that point already.
4134 # Even if this section looks crufty: it has the advantage of
4135 # actually working.
4136 break;;
4138 break;;
4139 esac
4140 done
4141 test "$ac_cv_exeext" = no && ac_cv_exeext=
4143 else
4144 ac_file=''
4146 if test -z "$ac_file"; then :
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4148 $as_echo "no" >&6; }
4149 $as_echo "$as_me: failed program was:" >&5
4150 sed 's/^/| /' conftest.$ac_ext >&5
4152 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4153 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4154 as_fn_error 77 "C compiler cannot create executables
4155 See \`config.log' for more details" "$LINENO" 5; }
4156 else
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4158 $as_echo "yes" >&6; }
4160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4161 $as_echo_n "checking for C compiler default output file name... " >&6; }
4162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4163 $as_echo "$ac_file" >&6; }
4164 ac_exeext=$ac_cv_exeext
4166 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4167 ac_clean_files=$ac_clean_files_save
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4169 $as_echo_n "checking for suffix of executables... " >&6; }
4170 if { { ac_try="$ac_link"
4171 case "(($ac_try" in
4172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4173 *) ac_try_echo=$ac_try;;
4174 esac
4175 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4176 $as_echo "$ac_try_echo"; } >&5
4177 (eval "$ac_link") 2>&5
4178 ac_status=$?
4179 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4180 test $ac_status = 0; }; then :
4181 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4182 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4183 # work properly (i.e., refer to `conftest.exe'), while it won't with
4184 # `rm'.
4185 for ac_file in conftest.exe conftest conftest.*; do
4186 test -f "$ac_file" || continue
4187 case $ac_file in
4188 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4189 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4190 break;;
4191 * ) break;;
4192 esac
4193 done
4194 else
4195 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4196 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4197 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4198 See \`config.log' for more details" "$LINENO" 5; }
4200 rm -f conftest conftest$ac_cv_exeext
4201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4202 $as_echo "$ac_cv_exeext" >&6; }
4204 rm -f conftest.$ac_ext
4205 EXEEXT=$ac_cv_exeext
4206 ac_exeext=$EXEEXT
4207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4208 /* end confdefs.h. */
4209 #include <stdio.h>
4211 main ()
4213 FILE *f = fopen ("conftest.out", "w");
4214 return ferror (f) || fclose (f) != 0;
4217 return 0;
4219 _ACEOF
4220 ac_clean_files="$ac_clean_files conftest.out"
4221 # Check that the compiler produces executables we can run. If not, either
4222 # the compiler is broken, or we cross compile.
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4224 $as_echo_n "checking whether we are cross compiling... " >&6; }
4225 if test "$cross_compiling" != yes; then
4226 { { ac_try="$ac_link"
4227 case "(($ac_try" in
4228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4229 *) ac_try_echo=$ac_try;;
4230 esac
4231 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4232 $as_echo "$ac_try_echo"; } >&5
4233 (eval "$ac_link") 2>&5
4234 ac_status=$?
4235 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4236 test $ac_status = 0; }
4237 if { ac_try='./conftest$ac_cv_exeext'
4238 { { case "(($ac_try" in
4239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4240 *) ac_try_echo=$ac_try;;
4241 esac
4242 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4243 $as_echo "$ac_try_echo"; } >&5
4244 (eval "$ac_try") 2>&5
4245 ac_status=$?
4246 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4247 test $ac_status = 0; }; }; then
4248 cross_compiling=no
4249 else
4250 if test "$cross_compiling" = maybe; then
4251 cross_compiling=yes
4252 else
4253 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4254 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4255 as_fn_error $? "cannot run C compiled programs.
4256 If you meant to cross compile, use \`--host'.
4257 See \`config.log' for more details" "$LINENO" 5; }
4261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4262 $as_echo "$cross_compiling" >&6; }
4264 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4265 ac_clean_files=$ac_clean_files_save
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4267 $as_echo_n "checking for suffix of object files... " >&6; }
4268 if ${ac_cv_objext+:} false; then :
4269 $as_echo_n "(cached) " >&6
4270 else
4271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4272 /* end confdefs.h. */
4275 main ()
4279 return 0;
4281 _ACEOF
4282 rm -f conftest.o conftest.obj
4283 if { { ac_try="$ac_compile"
4284 case "(($ac_try" in
4285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4286 *) ac_try_echo=$ac_try;;
4287 esac
4288 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4289 $as_echo "$ac_try_echo"; } >&5
4290 (eval "$ac_compile") 2>&5
4291 ac_status=$?
4292 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4293 test $ac_status = 0; }; then :
4294 for ac_file in conftest.o conftest.obj conftest.*; do
4295 test -f "$ac_file" || continue;
4296 case $ac_file in
4297 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4298 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4299 break;;
4300 esac
4301 done
4302 else
4303 $as_echo "$as_me: failed program was:" >&5
4304 sed 's/^/| /' conftest.$ac_ext >&5
4306 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4307 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4308 as_fn_error $? "cannot compute suffix of object files: cannot compile
4309 See \`config.log' for more details" "$LINENO" 5; }
4311 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4314 $as_echo "$ac_cv_objext" >&6; }
4315 OBJEXT=$ac_cv_objext
4316 ac_objext=$OBJEXT
4317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4318 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4319 if ${ac_cv_c_compiler_gnu+:} false; then :
4320 $as_echo_n "(cached) " >&6
4321 else
4322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4323 /* end confdefs.h. */
4326 main ()
4328 #ifndef __GNUC__
4329 choke me
4330 #endif
4333 return 0;
4335 _ACEOF
4336 if ac_fn_c_try_compile "$LINENO"; then :
4337 ac_compiler_gnu=yes
4338 else
4339 ac_compiler_gnu=no
4341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4342 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4346 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4347 if test $ac_compiler_gnu = yes; then
4348 GCC=yes
4349 else
4350 GCC=
4352 ac_test_CFLAGS=${CFLAGS+set}
4353 ac_save_CFLAGS=$CFLAGS
4354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4355 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4356 if ${ac_cv_prog_cc_g+:} false; then :
4357 $as_echo_n "(cached) " >&6
4358 else
4359 ac_save_c_werror_flag=$ac_c_werror_flag
4360 ac_c_werror_flag=yes
4361 ac_cv_prog_cc_g=no
4362 CFLAGS="-g"
4363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4364 /* end confdefs.h. */
4367 main ()
4371 return 0;
4373 _ACEOF
4374 if ac_fn_c_try_compile "$LINENO"; then :
4375 ac_cv_prog_cc_g=yes
4376 else
4377 CFLAGS=""
4378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4379 /* end confdefs.h. */
4382 main ()
4386 return 0;
4388 _ACEOF
4389 if ac_fn_c_try_compile "$LINENO"; then :
4391 else
4392 ac_c_werror_flag=$ac_save_c_werror_flag
4393 CFLAGS="-g"
4394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4395 /* end confdefs.h. */
4398 main ()
4402 return 0;
4404 _ACEOF
4405 if ac_fn_c_try_compile "$LINENO"; then :
4406 ac_cv_prog_cc_g=yes
4408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4413 ac_c_werror_flag=$ac_save_c_werror_flag
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4416 $as_echo "$ac_cv_prog_cc_g" >&6; }
4417 if test "$ac_test_CFLAGS" = set; then
4418 CFLAGS=$ac_save_CFLAGS
4419 elif test $ac_cv_prog_cc_g = yes; then
4420 if test "$GCC" = yes; then
4421 CFLAGS="-g -O2"
4422 else
4423 CFLAGS="-g"
4425 else
4426 if test "$GCC" = yes; then
4427 CFLAGS="-O2"
4428 else
4429 CFLAGS=
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4433 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4434 if ${ac_cv_prog_cc_c89+:} false; then :
4435 $as_echo_n "(cached) " >&6
4436 else
4437 ac_cv_prog_cc_c89=no
4438 ac_save_CC=$CC
4439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4440 /* end confdefs.h. */
4441 #include <stdarg.h>
4442 #include <stdio.h>
4443 struct stat;
4444 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4445 struct buf { int x; };
4446 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4447 static char *e (p, i)
4448 char **p;
4449 int i;
4451 return p[i];
4453 static char *f (char * (*g) (char **, int), char **p, ...)
4455 char *s;
4456 va_list v;
4457 va_start (v,p);
4458 s = g (p, va_arg (v,int));
4459 va_end (v);
4460 return s;
4463 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4464 function prototypes and stuff, but not '\xHH' hex character constants.
4465 These don't provoke an error unfortunately, instead are silently treated
4466 as 'x'. The following induces an error, until -std is added to get
4467 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4468 array size at least. It's necessary to write '\x00'==0 to get something
4469 that's true only with -std. */
4470 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4472 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4473 inside strings and character constants. */
4474 #define FOO(x) 'x'
4475 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4477 int test (int i, double x);
4478 struct s1 {int (*f) (int a);};
4479 struct s2 {int (*f) (double a);};
4480 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4481 int argc;
4482 char **argv;
4484 main ()
4486 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4488 return 0;
4490 _ACEOF
4491 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4492 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4494 CC="$ac_save_CC $ac_arg"
4495 if ac_fn_c_try_compile "$LINENO"; then :
4496 ac_cv_prog_cc_c89=$ac_arg
4498 rm -f core conftest.err conftest.$ac_objext
4499 test "x$ac_cv_prog_cc_c89" != "xno" && break
4500 done
4501 rm -f conftest.$ac_ext
4502 CC=$ac_save_CC
4505 # AC_CACHE_VAL
4506 case "x$ac_cv_prog_cc_c89" in
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4509 $as_echo "none needed" >&6; } ;;
4510 xno)
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4512 $as_echo "unsupported" >&6; } ;;
4514 CC="$CC $ac_cv_prog_cc_c89"
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4516 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4517 esac
4518 if test "x$ac_cv_prog_cc_c89" != xno; then :
4522 ac_ext=c
4523 ac_cpp='$CPP $CPPFLAGS'
4524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4528 ac_ext=cpp
4529 ac_cpp='$CXXCPP $CPPFLAGS'
4530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4533 if test -z "$CXX"; then
4534 if test -n "$CCC"; then
4535 CXX=$CCC
4536 else
4537 if test -n "$ac_tool_prefix"; then
4538 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4540 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4541 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4543 $as_echo_n "checking for $ac_word... " >&6; }
4544 if ${ac_cv_prog_CXX+:} false; then :
4545 $as_echo_n "(cached) " >&6
4546 else
4547 if test -n "$CXX"; then
4548 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4549 else
4550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4551 for as_dir in $PATH
4553 IFS=$as_save_IFS
4554 test -z "$as_dir" && as_dir=.
4555 for ac_exec_ext in '' $ac_executable_extensions; do
4556 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4557 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4559 break 2
4561 done
4562 done
4563 IFS=$as_save_IFS
4567 CXX=$ac_cv_prog_CXX
4568 if test -n "$CXX"; then
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4570 $as_echo "$CXX" >&6; }
4571 else
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4573 $as_echo "no" >&6; }
4577 test -n "$CXX" && break
4578 done
4580 if test -z "$CXX"; then
4581 ac_ct_CXX=$CXX
4582 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4584 # Extract the first word of "$ac_prog", so it can be a program name with args.
4585 set dummy $ac_prog; ac_word=$2
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4587 $as_echo_n "checking for $ac_word... " >&6; }
4588 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4589 $as_echo_n "(cached) " >&6
4590 else
4591 if test -n "$ac_ct_CXX"; then
4592 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4593 else
4594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4595 for as_dir in $PATH
4597 IFS=$as_save_IFS
4598 test -z "$as_dir" && as_dir=.
4599 for ac_exec_ext in '' $ac_executable_extensions; do
4600 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4601 ac_cv_prog_ac_ct_CXX="$ac_prog"
4602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4603 break 2
4605 done
4606 done
4607 IFS=$as_save_IFS
4611 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4612 if test -n "$ac_ct_CXX"; then
4613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4614 $as_echo "$ac_ct_CXX" >&6; }
4615 else
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4617 $as_echo "no" >&6; }
4621 test -n "$ac_ct_CXX" && break
4622 done
4624 if test "x$ac_ct_CXX" = x; then
4625 CXX="g++"
4626 else
4627 case $cross_compiling:$ac_tool_warned in
4628 yes:)
4629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4630 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4631 ac_tool_warned=yes ;;
4632 esac
4633 CXX=$ac_ct_CXX
4639 # Provide some information about the compiler.
4640 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4641 set X $ac_compile
4642 ac_compiler=$2
4643 for ac_option in --version -v -V -qversion; do
4644 { { ac_try="$ac_compiler $ac_option >&5"
4645 case "(($ac_try" in
4646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4647 *) ac_try_echo=$ac_try;;
4648 esac
4649 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4650 $as_echo "$ac_try_echo"; } >&5
4651 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4652 ac_status=$?
4653 if test -s conftest.err; then
4654 sed '10a\
4655 ... rest of stderr output deleted ...
4656 10q' conftest.err >conftest.er1
4657 cat conftest.er1 >&5
4659 rm -f conftest.er1 conftest.err
4660 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4661 test $ac_status = 0; }
4662 done
4664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4665 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4666 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4667 $as_echo_n "(cached) " >&6
4668 else
4669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4670 /* end confdefs.h. */
4673 main ()
4675 #ifndef __GNUC__
4676 choke me
4677 #endif
4680 return 0;
4682 _ACEOF
4683 if ac_fn_cxx_try_compile "$LINENO"; then :
4684 ac_compiler_gnu=yes
4685 else
4686 ac_compiler_gnu=no
4688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4689 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4693 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4694 if test $ac_compiler_gnu = yes; then
4695 GXX=yes
4696 else
4697 GXX=
4699 ac_test_CXXFLAGS=${CXXFLAGS+set}
4700 ac_save_CXXFLAGS=$CXXFLAGS
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4702 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4703 if ${ac_cv_prog_cxx_g+:} false; then :
4704 $as_echo_n "(cached) " >&6
4705 else
4706 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4707 ac_cxx_werror_flag=yes
4708 ac_cv_prog_cxx_g=no
4709 CXXFLAGS="-g"
4710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4711 /* end confdefs.h. */
4714 main ()
4718 return 0;
4720 _ACEOF
4721 if ac_fn_cxx_try_compile "$LINENO"; then :
4722 ac_cv_prog_cxx_g=yes
4723 else
4724 CXXFLAGS=""
4725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4726 /* end confdefs.h. */
4729 main ()
4733 return 0;
4735 _ACEOF
4736 if ac_fn_cxx_try_compile "$LINENO"; then :
4738 else
4739 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4740 CXXFLAGS="-g"
4741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4742 /* end confdefs.h. */
4745 main ()
4749 return 0;
4751 _ACEOF
4752 if ac_fn_cxx_try_compile "$LINENO"; then :
4753 ac_cv_prog_cxx_g=yes
4755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4760 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4763 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4764 if test "$ac_test_CXXFLAGS" = set; then
4765 CXXFLAGS=$ac_save_CXXFLAGS
4766 elif test $ac_cv_prog_cxx_g = yes; then
4767 if test "$GXX" = yes; then
4768 CXXFLAGS="-g -O2"
4769 else
4770 CXXFLAGS="-g"
4772 else
4773 if test "$GXX" = yes; then
4774 CXXFLAGS="-O2"
4775 else
4776 CXXFLAGS=
4779 ac_ext=c
4780 ac_cpp='$CPP $CPPFLAGS'
4781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4785 if test -n "$ac_tool_prefix"; then
4786 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4787 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4789 $as_echo_n "checking for $ac_word... " >&6; }
4790 if ${ac_cv_prog_CPPBIN+:} false; then :
4791 $as_echo_n "(cached) " >&6
4792 else
4793 if test -n "$CPPBIN"; then
4794 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4795 else
4796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4797 for as_dir in $PATH
4799 IFS=$as_save_IFS
4800 test -z "$as_dir" && as_dir=.
4801 for ac_exec_ext in '' $ac_executable_extensions; do
4802 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4803 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4805 break 2
4807 done
4808 done
4809 IFS=$as_save_IFS
4813 CPPBIN=$ac_cv_prog_CPPBIN
4814 if test -n "$CPPBIN"; then
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4816 $as_echo "$CPPBIN" >&6; }
4817 else
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4819 $as_echo "no" >&6; }
4824 if test -z "$ac_cv_prog_CPPBIN"; then
4825 ac_ct_CPPBIN=$CPPBIN
4826 # Extract the first word of "cpp", so it can be a program name with args.
4827 set dummy cpp; ac_word=$2
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4829 $as_echo_n "checking for $ac_word... " >&6; }
4830 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4831 $as_echo_n "(cached) " >&6
4832 else
4833 if test -n "$ac_ct_CPPBIN"; then
4834 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4835 else
4836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4837 for as_dir in $PATH
4839 IFS=$as_save_IFS
4840 test -z "$as_dir" && as_dir=.
4841 for ac_exec_ext in '' $ac_executable_extensions; do
4842 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4843 ac_cv_prog_ac_ct_CPPBIN="cpp"
4844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4845 break 2
4847 done
4848 done
4849 IFS=$as_save_IFS
4853 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4854 if test -n "$ac_ct_CPPBIN"; then
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4856 $as_echo "$ac_ct_CPPBIN" >&6; }
4857 else
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4859 $as_echo "no" >&6; }
4862 if test "x$ac_ct_CPPBIN" = x; then
4863 CPPBIN="cpp"
4864 else
4865 case $cross_compiling:$ac_tool_warned in
4866 yes:)
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4868 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4869 ac_tool_warned=yes ;;
4870 esac
4871 CPPBIN=$ac_ct_CPPBIN
4873 else
4874 CPPBIN="$ac_cv_prog_CPPBIN"
4878 cat >>confdefs.h <<_ACEOF
4879 #define EXEEXT "$ac_exeext"
4880 _ACEOF
4882 if test -n "$ac_tool_prefix"; then
4883 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4884 set dummy ${ac_tool_prefix}ld; ac_word=$2
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4886 $as_echo_n "checking for $ac_word... " >&6; }
4887 if ${ac_cv_prog_LD+:} false; then :
4888 $as_echo_n "(cached) " >&6
4889 else
4890 if test -n "$LD"; then
4891 ac_cv_prog_LD="$LD" # Let the user override the test.
4892 else
4893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4894 for as_dir in $PATH
4896 IFS=$as_save_IFS
4897 test -z "$as_dir" && as_dir=.
4898 for ac_exec_ext in '' $ac_executable_extensions; do
4899 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4900 ac_cv_prog_LD="${ac_tool_prefix}ld"
4901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4902 break 2
4904 done
4905 done
4906 IFS=$as_save_IFS
4910 LD=$ac_cv_prog_LD
4911 if test -n "$LD"; then
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4913 $as_echo "$LD" >&6; }
4914 else
4915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4916 $as_echo "no" >&6; }
4921 if test -z "$ac_cv_prog_LD"; then
4922 ac_ct_LD=$LD
4923 # Extract the first word of "ld", so it can be a program name with args.
4924 set dummy ld; ac_word=$2
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4926 $as_echo_n "checking for $ac_word... " >&6; }
4927 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4928 $as_echo_n "(cached) " >&6
4929 else
4930 if test -n "$ac_ct_LD"; then
4931 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4932 else
4933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4934 for as_dir in $PATH
4936 IFS=$as_save_IFS
4937 test -z "$as_dir" && as_dir=.
4938 for ac_exec_ext in '' $ac_executable_extensions; do
4939 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4940 ac_cv_prog_ac_ct_LD="ld"
4941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4942 break 2
4944 done
4945 done
4946 IFS=$as_save_IFS
4950 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4951 if test -n "$ac_ct_LD"; then
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4953 $as_echo "$ac_ct_LD" >&6; }
4954 else
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4956 $as_echo "no" >&6; }
4959 if test "x$ac_ct_LD" = x; then
4960 LD=""
4961 else
4962 case $cross_compiling:$ac_tool_warned in
4963 yes:)
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4965 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4966 ac_tool_warned=yes ;;
4967 esac
4968 LD=$ac_ct_LD
4970 else
4971 LD="$ac_cv_prog_LD"
4975 case $host in
4976 *-darwin*)
4977 with_fontconfig=${with_fontconfig:-no}
4979 *-mingw32*|*-cygwin*)
4980 enable_win16=${enable_win16:-no}
4981 CFLAGS="$CFLAGS -D_WIN32"
4983 esac
4985 case $host in
4986 x86_64*|amd64*)
4987 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4988 then
4989 CC="$CC -m32"
4990 CXX="$CXX -m32"
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4992 $as_echo_n "checking whether $CC works... " >&6; }
4994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4995 /* end confdefs.h. */
4998 main ()
5002 return 0;
5004 _ACEOF
5005 if ac_fn_c_try_link "$LINENO"; then :
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5007 $as_echo "yes" >&6; }
5008 else
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5010 $as_echo "no" >&6; }
5011 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5013 rm -f core conftest.err conftest.$ac_objext \
5014 conftest$ac_exeext conftest.$ac_ext
5015 host_cpu="i386"
5016 notice_platform="32-bit "
5017 TARGETFLAGS="-m32"
5019 enable_win16=${enable_win16:-yes}
5020 else
5021 if test "x${GCC}" = "xyes"
5022 then
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5024 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5026 /* end confdefs.h. */
5027 #include <stdarg.h>
5029 main ()
5031 void func(__builtin_ms_va_list *args);
5033 return 0;
5035 _ACEOF
5036 if ac_fn_c_try_compile "$LINENO"; then :
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5038 $as_echo "yes" >&6; }
5039 else
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5041 $as_echo "no" >&6; }
5042 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5046 CC="$CC -m64"
5047 CXX="$CXX -m64"
5048 host_cpu="x86_64"
5049 notice_platform="64-bit "
5050 TARGETFLAGS="-m64"
5054 arm*)
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5056 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5058 /* end confdefs.h. */
5059 int ac_test(int i) { return i; }
5061 main ()
5063 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5065 return 0;
5067 _ACEOF
5068 if ac_fn_c_try_link "$LINENO"; then :
5069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5070 $as_echo "yes" >&6; }
5071 else
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5073 $as_echo "no" >&6; }
5074 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5076 rm -f core conftest.err conftest.$ac_objext \
5077 conftest$ac_exeext conftest.$ac_ext
5078 CFLAGS="$CFLAGS -marm"
5079 TARGETFLAGS="-marm"
5082 i[3456789]86*)
5083 enable_win16=${enable_win16:-yes}
5085 esac
5087 enable_win16=${enable_win16:-no}
5088 enable_win64=${enable_win64:-no}
5090 enable_winetest=${enable_winetest:-$enable_tests}
5092 if test -n "$with_wine64"
5093 then
5094 if test "x$enable_win64" = "xyes"
5095 then
5096 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5097 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5099 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5100 You should create a separate build directory and run configure from there." "$LINENO" 5
5101 enable_fonts=${enable_fonts:-no}
5102 enable_server=${enable_server:-no}
5103 elif test "x$enable_win64" = "xyes"
5104 then
5105 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5109 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5110 if ${wine_cv_toolsdir+:} false; then :
5111 $as_echo_n "(cached) " >&6
5112 else
5113 wine_cv_toolsdir="$with_wine_tools"
5114 if test -z "$with_wine_tools"; then
5115 if test "$cross_compiling" = "yes"; then
5116 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5117 elif test -n "$with_wine64"; then
5118 wine_cv_toolsdir="$with_wine64"
5121 if test -z "$wine_cv_toolsdir"; then
5122 wine_makedep=tools/makedep
5123 wine_cv_toolsdir="\$(top_builddir)"
5124 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5125 wine_makedep=$wine_cv_toolsdir/tools/makedep
5126 case "$wine_cv_toolsdir" in
5127 /*) ;;
5128 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5129 esac
5130 enable_tools=${enable_tools:-no}
5131 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5132 else
5133 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5137 $as_echo "$wine_cv_toolsdir" >&6; }
5138 TOOLSDIR=$wine_cv_toolsdir
5140 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5141 then
5142 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5146 for ac_prog in flex
5148 # Extract the first word of "$ac_prog", so it can be a program name with args.
5149 set dummy $ac_prog; ac_word=$2
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5151 $as_echo_n "checking for $ac_word... " >&6; }
5152 if ${ac_cv_prog_FLEX+:} false; then :
5153 $as_echo_n "(cached) " >&6
5154 else
5155 if test -n "$FLEX"; then
5156 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5157 else
5158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5159 for as_dir in $PATH
5161 IFS=$as_save_IFS
5162 test -z "$as_dir" && as_dir=.
5163 for ac_exec_ext in '' $ac_executable_extensions; do
5164 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5165 ac_cv_prog_FLEX="$ac_prog"
5166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5167 break 2
5169 done
5170 done
5171 IFS=$as_save_IFS
5175 FLEX=$ac_cv_prog_FLEX
5176 if test -n "$FLEX"; then
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5178 $as_echo "$FLEX" >&6; }
5179 else
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5181 $as_echo "no" >&6; }
5185 test -n "$FLEX" && break
5186 done
5187 test -n "$FLEX" || FLEX="none"
5189 if test "$FLEX" = "none"
5190 then
5191 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5194 $as_echo_n "checking whether flex is recent enough... " >&6; }
5195 cat >conftest.l <<EOF
5196 %top{
5197 #include "prediluvian.h"
5201 if $FLEX -t conftest.l >/dev/null 2>&5
5202 then
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5204 $as_echo "yes" >&6; }
5205 else
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5207 $as_echo "no" >&6; }
5208 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5211 for ac_prog in bison
5213 # Extract the first word of "$ac_prog", so it can be a program name with args.
5214 set dummy $ac_prog; ac_word=$2
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5216 $as_echo_n "checking for $ac_word... " >&6; }
5217 if ${ac_cv_prog_BISON+:} false; then :
5218 $as_echo_n "(cached) " >&6
5219 else
5220 if test -n "$BISON"; then
5221 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5222 else
5223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5224 for as_dir in $PATH
5226 IFS=$as_save_IFS
5227 test -z "$as_dir" && as_dir=.
5228 for ac_exec_ext in '' $ac_executable_extensions; do
5229 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5230 ac_cv_prog_BISON="$ac_prog"
5231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5232 break 2
5234 done
5235 done
5236 IFS=$as_save_IFS
5240 BISON=$ac_cv_prog_BISON
5241 if test -n "$BISON"; then
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5243 $as_echo "$BISON" >&6; }
5244 else
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5246 $as_echo "no" >&6; }
5250 test -n "$BISON" && break
5251 done
5252 test -n "$BISON" || BISON="none"
5254 if test "$BISON" = "none"
5255 then
5256 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5259 if test -n "$ac_tool_prefix"; then
5260 for ac_prog in ar gar
5262 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5263 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5265 $as_echo_n "checking for $ac_word... " >&6; }
5266 if ${ac_cv_prog_AR+:} false; then :
5267 $as_echo_n "(cached) " >&6
5268 else
5269 if test -n "$AR"; then
5270 ac_cv_prog_AR="$AR" # Let the user override the test.
5271 else
5272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5273 for as_dir in $PATH
5275 IFS=$as_save_IFS
5276 test -z "$as_dir" && as_dir=.
5277 for ac_exec_ext in '' $ac_executable_extensions; do
5278 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5279 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5281 break 2
5283 done
5284 done
5285 IFS=$as_save_IFS
5289 AR=$ac_cv_prog_AR
5290 if test -n "$AR"; then
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5292 $as_echo "$AR" >&6; }
5293 else
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5295 $as_echo "no" >&6; }
5299 test -n "$AR" && break
5300 done
5302 if test -z "$AR"; then
5303 ac_ct_AR=$AR
5304 for ac_prog in ar gar
5306 # Extract the first word of "$ac_prog", so it can be a program name with args.
5307 set dummy $ac_prog; ac_word=$2
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5309 $as_echo_n "checking for $ac_word... " >&6; }
5310 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5311 $as_echo_n "(cached) " >&6
5312 else
5313 if test -n "$ac_ct_AR"; then
5314 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5315 else
5316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5317 for as_dir in $PATH
5319 IFS=$as_save_IFS
5320 test -z "$as_dir" && as_dir=.
5321 for ac_exec_ext in '' $ac_executable_extensions; do
5322 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5323 ac_cv_prog_ac_ct_AR="$ac_prog"
5324 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5325 break 2
5327 done
5328 done
5329 IFS=$as_save_IFS
5333 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5334 if test -n "$ac_ct_AR"; then
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5336 $as_echo "$ac_ct_AR" >&6; }
5337 else
5338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5339 $as_echo "no" >&6; }
5343 test -n "$ac_ct_AR" && break
5344 done
5346 if test "x$ac_ct_AR" = x; then
5347 AR="ar"
5348 else
5349 case $cross_compiling:$ac_tool_warned in
5350 yes:)
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5352 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5353 ac_tool_warned=yes ;;
5354 esac
5355 AR=$ac_ct_AR
5359 if test -n "$ac_tool_prefix"; then
5360 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5361 set dummy ${ac_tool_prefix}strip; ac_word=$2
5362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5363 $as_echo_n "checking for $ac_word... " >&6; }
5364 if ${ac_cv_prog_STRIP+:} false; then :
5365 $as_echo_n "(cached) " >&6
5366 else
5367 if test -n "$STRIP"; then
5368 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5369 else
5370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5371 for as_dir in $PATH
5373 IFS=$as_save_IFS
5374 test -z "$as_dir" && as_dir=.
5375 for ac_exec_ext in '' $ac_executable_extensions; do
5376 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5377 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5379 break 2
5381 done
5382 done
5383 IFS=$as_save_IFS
5387 STRIP=$ac_cv_prog_STRIP
5388 if test -n "$STRIP"; then
5389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5390 $as_echo "$STRIP" >&6; }
5391 else
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5393 $as_echo "no" >&6; }
5398 if test -z "$ac_cv_prog_STRIP"; then
5399 ac_ct_STRIP=$STRIP
5400 # Extract the first word of "strip", so it can be a program name with args.
5401 set dummy strip; ac_word=$2
5402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5403 $as_echo_n "checking for $ac_word... " >&6; }
5404 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5405 $as_echo_n "(cached) " >&6
5406 else
5407 if test -n "$ac_ct_STRIP"; then
5408 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5409 else
5410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5411 for as_dir in $PATH
5413 IFS=$as_save_IFS
5414 test -z "$as_dir" && as_dir=.
5415 for ac_exec_ext in '' $ac_executable_extensions; do
5416 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5417 ac_cv_prog_ac_ct_STRIP="strip"
5418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5419 break 2
5421 done
5422 done
5423 IFS=$as_save_IFS
5427 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5428 if test -n "$ac_ct_STRIP"; then
5429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5430 $as_echo "$ac_ct_STRIP" >&6; }
5431 else
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5433 $as_echo "no" >&6; }
5436 if test "x$ac_ct_STRIP" = x; then
5437 STRIP="strip"
5438 else
5439 case $cross_compiling:$ac_tool_warned in
5440 yes:)
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5442 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5443 ac_tool_warned=yes ;;
5444 esac
5445 STRIP=$ac_ct_STRIP
5447 else
5448 STRIP="$ac_cv_prog_STRIP"
5451 ARFLAGS=rc
5453 if test -n "$ac_tool_prefix"; then
5454 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5455 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5457 $as_echo_n "checking for $ac_word... " >&6; }
5458 if ${ac_cv_prog_RANLIB+:} false; then :
5459 $as_echo_n "(cached) " >&6
5460 else
5461 if test -n "$RANLIB"; then
5462 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5463 else
5464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5465 for as_dir in $PATH
5467 IFS=$as_save_IFS
5468 test -z "$as_dir" && as_dir=.
5469 for ac_exec_ext in '' $ac_executable_extensions; do
5470 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5471 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5473 break 2
5475 done
5476 done
5477 IFS=$as_save_IFS
5481 RANLIB=$ac_cv_prog_RANLIB
5482 if test -n "$RANLIB"; then
5483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5484 $as_echo "$RANLIB" >&6; }
5485 else
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5487 $as_echo "no" >&6; }
5492 if test -z "$ac_cv_prog_RANLIB"; then
5493 ac_ct_RANLIB=$RANLIB
5494 # Extract the first word of "ranlib", so it can be a program name with args.
5495 set dummy ranlib; ac_word=$2
5496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5497 $as_echo_n "checking for $ac_word... " >&6; }
5498 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5499 $as_echo_n "(cached) " >&6
5500 else
5501 if test -n "$ac_ct_RANLIB"; then
5502 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5503 else
5504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5505 for as_dir in $PATH
5507 IFS=$as_save_IFS
5508 test -z "$as_dir" && as_dir=.
5509 for ac_exec_ext in '' $ac_executable_extensions; do
5510 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5511 ac_cv_prog_ac_ct_RANLIB="ranlib"
5512 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5513 break 2
5515 done
5516 done
5517 IFS=$as_save_IFS
5521 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5522 if test -n "$ac_ct_RANLIB"; then
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5524 $as_echo "$ac_ct_RANLIB" >&6; }
5525 else
5526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5527 $as_echo "no" >&6; }
5530 if test "x$ac_ct_RANLIB" = x; then
5531 RANLIB=":"
5532 else
5533 case $cross_compiling:$ac_tool_warned in
5534 yes:)
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5536 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5537 ac_tool_warned=yes ;;
5538 esac
5539 RANLIB=$ac_ct_RANLIB
5541 else
5542 RANLIB="$ac_cv_prog_RANLIB"
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5546 $as_echo_n "checking whether ln -s works... " >&6; }
5547 LN_S=$as_ln_s
5548 if test "$LN_S" = "ln -s"; then
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5550 $as_echo "yes" >&6; }
5551 else
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5553 $as_echo "no, using $LN_S" >&6; }
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5557 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5558 if ${ac_cv_path_GREP+:} false; then :
5559 $as_echo_n "(cached) " >&6
5560 else
5561 if test -z "$GREP"; then
5562 ac_path_GREP_found=false
5563 # Loop through the user's path and test for each of PROGNAME-LIST
5564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5565 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5567 IFS=$as_save_IFS
5568 test -z "$as_dir" && as_dir=.
5569 for ac_prog in grep ggrep; do
5570 for ac_exec_ext in '' $ac_executable_extensions; do
5571 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5572 as_fn_executable_p "$ac_path_GREP" || continue
5573 # Check for GNU ac_path_GREP and select it if it is found.
5574 # Check for GNU $ac_path_GREP
5575 case `"$ac_path_GREP" --version 2>&1` in
5576 *GNU*)
5577 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5579 ac_count=0
5580 $as_echo_n 0123456789 >"conftest.in"
5581 while :
5583 cat "conftest.in" "conftest.in" >"conftest.tmp"
5584 mv "conftest.tmp" "conftest.in"
5585 cp "conftest.in" "conftest.nl"
5586 $as_echo 'GREP' >> "conftest.nl"
5587 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5588 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5589 as_fn_arith $ac_count + 1 && ac_count=$as_val
5590 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5591 # Best one so far, save it but keep looking for a better one
5592 ac_cv_path_GREP="$ac_path_GREP"
5593 ac_path_GREP_max=$ac_count
5595 # 10*(2^10) chars as input seems more than enough
5596 test $ac_count -gt 10 && break
5597 done
5598 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5599 esac
5601 $ac_path_GREP_found && break 3
5602 done
5603 done
5604 done
5605 IFS=$as_save_IFS
5606 if test -z "$ac_cv_path_GREP"; then
5607 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5609 else
5610 ac_cv_path_GREP=$GREP
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5615 $as_echo "$ac_cv_path_GREP" >&6; }
5616 GREP="$ac_cv_path_GREP"
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5620 $as_echo_n "checking for egrep... " >&6; }
5621 if ${ac_cv_path_EGREP+:} false; then :
5622 $as_echo_n "(cached) " >&6
5623 else
5624 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5625 then ac_cv_path_EGREP="$GREP -E"
5626 else
5627 if test -z "$EGREP"; then
5628 ac_path_EGREP_found=false
5629 # Loop through the user's path and test for each of PROGNAME-LIST
5630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5631 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5633 IFS=$as_save_IFS
5634 test -z "$as_dir" && as_dir=.
5635 for ac_prog in egrep; do
5636 for ac_exec_ext in '' $ac_executable_extensions; do
5637 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5638 as_fn_executable_p "$ac_path_EGREP" || continue
5639 # Check for GNU ac_path_EGREP and select it if it is found.
5640 # Check for GNU $ac_path_EGREP
5641 case `"$ac_path_EGREP" --version 2>&1` in
5642 *GNU*)
5643 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5645 ac_count=0
5646 $as_echo_n 0123456789 >"conftest.in"
5647 while :
5649 cat "conftest.in" "conftest.in" >"conftest.tmp"
5650 mv "conftest.tmp" "conftest.in"
5651 cp "conftest.in" "conftest.nl"
5652 $as_echo 'EGREP' >> "conftest.nl"
5653 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5654 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5655 as_fn_arith $ac_count + 1 && ac_count=$as_val
5656 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5657 # Best one so far, save it but keep looking for a better one
5658 ac_cv_path_EGREP="$ac_path_EGREP"
5659 ac_path_EGREP_max=$ac_count
5661 # 10*(2^10) chars as input seems more than enough
5662 test $ac_count -gt 10 && break
5663 done
5664 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5665 esac
5667 $ac_path_EGREP_found && break 3
5668 done
5669 done
5670 done
5671 IFS=$as_save_IFS
5672 if test -z "$ac_cv_path_EGREP"; then
5673 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5675 else
5676 ac_cv_path_EGREP=$EGREP
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5682 $as_echo "$ac_cv_path_EGREP" >&6; }
5683 EGREP="$ac_cv_path_EGREP"
5686 # Extract the first word of "ldconfig", so it can be a program name with args.
5687 set dummy ldconfig; ac_word=$2
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5689 $as_echo_n "checking for $ac_word... " >&6; }
5690 if ${ac_cv_path_LDCONFIG+:} false; then :
5691 $as_echo_n "(cached) " >&6
5692 else
5693 case $LDCONFIG in
5694 [\\/]* | ?:[\\/]*)
5695 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5699 for as_dir in /sbin /usr/sbin $PATH
5701 IFS=$as_save_IFS
5702 test -z "$as_dir" && as_dir=.
5703 for ac_exec_ext in '' $ac_executable_extensions; do
5704 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5705 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5707 break 2
5709 done
5710 done
5711 IFS=$as_save_IFS
5713 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5715 esac
5717 LDCONFIG=$ac_cv_path_LDCONFIG
5718 if test -n "$LDCONFIG"; then
5719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5720 $as_echo "$LDCONFIG" >&6; }
5721 else
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5723 $as_echo "no" >&6; }
5727 for ac_prog in msgfmt
5729 # Extract the first word of "$ac_prog", so it can be a program name with args.
5730 set dummy $ac_prog; ac_word=$2
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5732 $as_echo_n "checking for $ac_word... " >&6; }
5733 if ${ac_cv_prog_MSGFMT+:} false; then :
5734 $as_echo_n "(cached) " >&6
5735 else
5736 if test -n "$MSGFMT"; then
5737 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5738 else
5739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5740 for as_dir in $PATH
5742 IFS=$as_save_IFS
5743 test -z "$as_dir" && as_dir=.
5744 for ac_exec_ext in '' $ac_executable_extensions; do
5745 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5746 ac_cv_prog_MSGFMT="$ac_prog"
5747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5748 break 2
5750 done
5751 done
5752 IFS=$as_save_IFS
5756 MSGFMT=$ac_cv_prog_MSGFMT
5757 if test -n "$MSGFMT"; then
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5759 $as_echo "$MSGFMT" >&6; }
5760 else
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5762 $as_echo "no" >&6; }
5766 test -n "$MSGFMT" && break
5767 done
5768 test -n "$MSGFMT" || MSGFMT="false"
5770 if ${ac_tool_prefix+:} false; then :
5771 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5772 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5774 $as_echo_n "checking for $ac_word... " >&6; }
5775 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5776 $as_echo_n "(cached) " >&6
5777 else
5778 if test -n "$PKG_CONFIG"; then
5779 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5780 else
5781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5782 for as_dir in $PATH
5784 IFS=$as_save_IFS
5785 test -z "$as_dir" && as_dir=.
5786 for ac_exec_ext in '' $ac_executable_extensions; do
5787 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5788 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5790 break 2
5792 done
5793 done
5794 IFS=$as_save_IFS
5798 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5799 if test -n "$PKG_CONFIG"; then
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5801 $as_echo "$PKG_CONFIG" >&6; }
5802 else
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5804 $as_echo "no" >&6; }
5809 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5810 if test "x$cross_compiling" = xyes; then :
5812 else
5813 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5814 # Extract the first word of "pkg-config", so it can be a program name with args.
5815 set dummy pkg-config; ac_word=$2
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5817 $as_echo_n "checking for $ac_word... " >&6; }
5818 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5819 $as_echo_n "(cached) " >&6
5820 else
5821 if test -n "$PKG_CONFIG"; then
5822 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5823 else
5824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5825 for as_dir in $PATH
5827 IFS=$as_save_IFS
5828 test -z "$as_dir" && as_dir=.
5829 for ac_exec_ext in '' $ac_executable_extensions; do
5830 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5831 ac_cv_prog_PKG_CONFIG="pkg-config"
5832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5833 break 2
5835 done
5836 done
5837 IFS=$as_save_IFS
5841 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5842 if test -n "$PKG_CONFIG"; then
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5844 $as_echo "$PKG_CONFIG" >&6; }
5845 else
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5847 $as_echo "no" >&6; }
5852 else
5853 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5856 if test "x$enable_maintainer_mode" != "xyes"
5857 then
5858 FONTFORGE=""
5859 RSVG=""
5860 CONVERT=""
5861 ICOTOOL=""
5862 else
5863 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5864 for ac_prog in fontforge
5866 # Extract the first word of "$ac_prog", so it can be a program name with args.
5867 set dummy $ac_prog; ac_word=$2
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5869 $as_echo_n "checking for $ac_word... " >&6; }
5870 if ${ac_cv_prog_FONTFORGE+:} false; then :
5871 $as_echo_n "(cached) " >&6
5872 else
5873 if test -n "$FONTFORGE"; then
5874 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5875 else
5876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5877 for as_dir in $PATH
5879 IFS=$as_save_IFS
5880 test -z "$as_dir" && as_dir=.
5881 for ac_exec_ext in '' $ac_executable_extensions; do
5882 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5883 ac_cv_prog_FONTFORGE="$ac_prog"
5884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5885 break 2
5887 done
5888 done
5889 IFS=$as_save_IFS
5893 FONTFORGE=$ac_cv_prog_FONTFORGE
5894 if test -n "$FONTFORGE"; then
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5896 $as_echo "$FONTFORGE" >&6; }
5897 else
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5899 $as_echo "no" >&6; }
5903 test -n "$FONTFORGE" && break
5904 done
5905 test -n "$FONTFORGE" || FONTFORGE="false"
5907 for ac_prog in rsvg-convert rsvg
5909 # Extract the first word of "$ac_prog", so it can be a program name with args.
5910 set dummy $ac_prog; ac_word=$2
5911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5912 $as_echo_n "checking for $ac_word... " >&6; }
5913 if ${ac_cv_prog_RSVG+:} false; then :
5914 $as_echo_n "(cached) " >&6
5915 else
5916 if test -n "$RSVG"; then
5917 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5918 else
5919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5920 for as_dir in $PATH
5922 IFS=$as_save_IFS
5923 test -z "$as_dir" && as_dir=.
5924 for ac_exec_ext in '' $ac_executable_extensions; do
5925 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5926 ac_cv_prog_RSVG="$ac_prog"
5927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5928 break 2
5930 done
5931 done
5932 IFS=$as_save_IFS
5936 RSVG=$ac_cv_prog_RSVG
5937 if test -n "$RSVG"; then
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5939 $as_echo "$RSVG" >&6; }
5940 else
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5942 $as_echo "no" >&6; }
5946 test -n "$RSVG" && break
5947 done
5948 test -n "$RSVG" || RSVG="false"
5950 for ac_prog in convert
5952 # Extract the first word of "$ac_prog", so it can be a program name with args.
5953 set dummy $ac_prog; ac_word=$2
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5955 $as_echo_n "checking for $ac_word... " >&6; }
5956 if ${ac_cv_prog_CONVERT+:} false; then :
5957 $as_echo_n "(cached) " >&6
5958 else
5959 if test -n "$CONVERT"; then
5960 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5961 else
5962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5963 for as_dir in $PATH
5965 IFS=$as_save_IFS
5966 test -z "$as_dir" && as_dir=.
5967 for ac_exec_ext in '' $ac_executable_extensions; do
5968 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5969 ac_cv_prog_CONVERT="$ac_prog"
5970 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5971 break 2
5973 done
5974 done
5975 IFS=$as_save_IFS
5979 CONVERT=$ac_cv_prog_CONVERT
5980 if test -n "$CONVERT"; then
5981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5982 $as_echo "$CONVERT" >&6; }
5983 else
5984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5985 $as_echo "no" >&6; }
5989 test -n "$CONVERT" && break
5990 done
5991 test -n "$CONVERT" || CONVERT="false"
5993 for ac_prog in icotool
5995 # Extract the first word of "$ac_prog", so it can be a program name with args.
5996 set dummy $ac_prog; ac_word=$2
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5998 $as_echo_n "checking for $ac_word... " >&6; }
5999 if ${ac_cv_prog_ICOTOOL+:} false; then :
6000 $as_echo_n "(cached) " >&6
6001 else
6002 if test -n "$ICOTOOL"; then
6003 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6004 else
6005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6006 for as_dir in $PATH
6008 IFS=$as_save_IFS
6009 test -z "$as_dir" && as_dir=.
6010 for ac_exec_ext in '' $ac_executable_extensions; do
6011 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6012 ac_cv_prog_ICOTOOL="$ac_prog"
6013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6014 break 2
6016 done
6017 done
6018 IFS=$as_save_IFS
6022 ICOTOOL=$ac_cv_prog_ICOTOOL
6023 if test -n "$ICOTOOL"; then
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6025 $as_echo "$ICOTOOL" >&6; }
6026 else
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6028 $as_echo "no" >&6; }
6032 test -n "$ICOTOOL" && break
6033 done
6034 test -n "$ICOTOOL" || ICOTOOL="false"
6036 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6037 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6039 if test "$CONVERT" = false
6040 then
6041 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6042 else
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6044 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6045 convert_version=`convert --version | head -n1`
6046 if test "x$convert_version" != "x"
6047 then
6048 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6049 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6050 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6051 then
6052 CONVERT=false
6055 if test "$CONVERT" = false
6056 then
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6058 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6059 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6060 else
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6062 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6066 if test "$ICOTOOL" = false
6067 then
6068 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6069 else
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6071 $as_echo_n "checking for recent enough icotool... " >&6; }
6072 icotool_version=`icotool --version | head -n1`
6073 if test "x$icotool_version" != "x"
6074 then
6075 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6076 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6077 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6078 then
6079 ICOTOOL=false
6080 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6083 if test "$ICOTOOL" = false
6084 then
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6086 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6087 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6088 else
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6090 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6094 with_gettext=yes
6095 with_gettextpo=yes
6096 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6099 test "x$with_gettext" != xno || MSGFMT=false
6100 if test "$MSGFMT" != "false"
6101 then
6102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6103 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6104 cat >conftest.po <<EOF
6105 # comment
6106 msgctxt "ctxt"
6107 msgid "id"
6108 msgstr "str"
6110 if $MSGFMT -o /dev/null conftest.po 2>&5
6111 then
6112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6113 $as_echo "yes" >&6; }
6114 else
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6116 $as_echo "no" >&6; }
6117 MSGFMT=false
6120 if test "$MSGFMT" = false; then :
6121 case "x$with_gettext" in
6122 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6123 xno) ;;
6124 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6125 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6126 esac
6127 enable_po=${enable_po:-no}
6131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6132 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6133 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6134 $as_echo_n "(cached) " >&6
6135 else
6136 ac_check_lib_save_LIBS=$LIBS
6137 LIBS="-li386 $LIBS"
6138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6139 /* end confdefs.h. */
6141 /* Override any GCC internal prototype to avoid an error.
6142 Use char because int might match the return type of a GCC
6143 builtin and then its argument prototype would still apply. */
6144 #ifdef __cplusplus
6145 extern "C"
6146 #endif
6147 char i386_set_ldt ();
6149 main ()
6151 return i386_set_ldt ();
6153 return 0;
6155 _ACEOF
6156 if ac_fn_c_try_link "$LINENO"; then :
6157 ac_cv_lib_i386_i386_set_ldt=yes
6158 else
6159 ac_cv_lib_i386_i386_set_ldt=no
6161 rm -f core conftest.err conftest.$ac_objext \
6162 conftest$ac_exeext conftest.$ac_ext
6163 LIBS=$ac_check_lib_save_LIBS
6165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6166 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6167 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6168 cat >>confdefs.h <<_ACEOF
6169 #define HAVE_LIBI386 1
6170 _ACEOF
6172 LIBS="-li386 $LIBS"
6176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6177 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6178 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6179 $as_echo_n "(cached) " >&6
6180 else
6181 ac_check_lib_save_LIBS=$LIBS
6182 LIBS="-lossaudio $LIBS"
6183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6184 /* end confdefs.h. */
6186 /* Override any GCC internal prototype to avoid an error.
6187 Use char because int might match the return type of a GCC
6188 builtin and then its argument prototype would still apply. */
6189 #ifdef __cplusplus
6190 extern "C"
6191 #endif
6192 char _oss_ioctl ();
6194 main ()
6196 return _oss_ioctl ();
6198 return 0;
6200 _ACEOF
6201 if ac_fn_c_try_link "$LINENO"; then :
6202 ac_cv_lib_ossaudio__oss_ioctl=yes
6203 else
6204 ac_cv_lib_ossaudio__oss_ioctl=no
6206 rm -f core conftest.err conftest.$ac_objext \
6207 conftest$ac_exeext conftest.$ac_ext
6208 LIBS=$ac_check_lib_save_LIBS
6210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6211 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6212 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6213 cat >>confdefs.h <<_ACEOF
6214 #define HAVE_LIBOSSAUDIO 1
6215 _ACEOF
6217 LIBS="-lossaudio $LIBS"
6222 OPENGL_LIBS=""
6226 # Check whether --enable-largefile was given.
6227 if test "${enable_largefile+set}" = set; then :
6228 enableval=$enable_largefile;
6231 if test "$enable_largefile" != no; then
6233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6234 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6235 if ${ac_cv_sys_largefile_CC+:} false; then :
6236 $as_echo_n "(cached) " >&6
6237 else
6238 ac_cv_sys_largefile_CC=no
6239 if test "$GCC" != yes; then
6240 ac_save_CC=$CC
6241 while :; do
6242 # IRIX 6.2 and later do not support large files by default,
6243 # so use the C compiler's -n32 option if that helps.
6244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6245 /* end confdefs.h. */
6246 #include <sys/types.h>
6247 /* Check that off_t can represent 2**63 - 1 correctly.
6248 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6249 since some C++ compilers masquerading as C compilers
6250 incorrectly reject 9223372036854775807. */
6251 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6252 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6253 && LARGE_OFF_T % 2147483647 == 1)
6254 ? 1 : -1];
6256 main ()
6260 return 0;
6262 _ACEOF
6263 if ac_fn_c_try_compile "$LINENO"; then :
6264 break
6266 rm -f core conftest.err conftest.$ac_objext
6267 CC="$CC -n32"
6268 if ac_fn_c_try_compile "$LINENO"; then :
6269 ac_cv_sys_largefile_CC=' -n32'; break
6271 rm -f core conftest.err conftest.$ac_objext
6272 break
6273 done
6274 CC=$ac_save_CC
6275 rm -f conftest.$ac_ext
6278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6279 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6280 if test "$ac_cv_sys_largefile_CC" != no; then
6281 CC=$CC$ac_cv_sys_largefile_CC
6284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6285 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6286 if ${ac_cv_sys_file_offset_bits+:} false; then :
6287 $as_echo_n "(cached) " >&6
6288 else
6289 while :; do
6290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6291 /* end confdefs.h. */
6292 #include <sys/types.h>
6293 /* Check that off_t can represent 2**63 - 1 correctly.
6294 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6295 since some C++ compilers masquerading as C compilers
6296 incorrectly reject 9223372036854775807. */
6297 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6298 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6299 && LARGE_OFF_T % 2147483647 == 1)
6300 ? 1 : -1];
6302 main ()
6306 return 0;
6308 _ACEOF
6309 if ac_fn_c_try_compile "$LINENO"; then :
6310 ac_cv_sys_file_offset_bits=no; break
6312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6314 /* end confdefs.h. */
6315 #define _FILE_OFFSET_BITS 64
6316 #include <sys/types.h>
6317 /* Check that off_t can represent 2**63 - 1 correctly.
6318 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6319 since some C++ compilers masquerading as C compilers
6320 incorrectly reject 9223372036854775807. */
6321 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6322 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6323 && LARGE_OFF_T % 2147483647 == 1)
6324 ? 1 : -1];
6326 main ()
6330 return 0;
6332 _ACEOF
6333 if ac_fn_c_try_compile "$LINENO"; then :
6334 ac_cv_sys_file_offset_bits=64; break
6336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6337 ac_cv_sys_file_offset_bits=unknown
6338 break
6339 done
6341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6342 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6343 case $ac_cv_sys_file_offset_bits in #(
6344 no | unknown) ;;
6346 cat >>confdefs.h <<_ACEOF
6347 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6348 _ACEOF
6350 esac
6351 rm -rf conftest*
6352 if test $ac_cv_sys_file_offset_bits = unknown; then
6353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6354 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6355 if ${ac_cv_sys_large_files+:} false; then :
6356 $as_echo_n "(cached) " >&6
6357 else
6358 while :; do
6359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6360 /* end confdefs.h. */
6361 #include <sys/types.h>
6362 /* Check that off_t can represent 2**63 - 1 correctly.
6363 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6364 since some C++ compilers masquerading as C compilers
6365 incorrectly reject 9223372036854775807. */
6366 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6367 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6368 && LARGE_OFF_T % 2147483647 == 1)
6369 ? 1 : -1];
6371 main ()
6375 return 0;
6377 _ACEOF
6378 if ac_fn_c_try_compile "$LINENO"; then :
6379 ac_cv_sys_large_files=no; break
6381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6383 /* end confdefs.h. */
6384 #define _LARGE_FILES 1
6385 #include <sys/types.h>
6386 /* Check that off_t can represent 2**63 - 1 correctly.
6387 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6388 since some C++ compilers masquerading as C compilers
6389 incorrectly reject 9223372036854775807. */
6390 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6391 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6392 && LARGE_OFF_T % 2147483647 == 1)
6393 ? 1 : -1];
6395 main ()
6399 return 0;
6401 _ACEOF
6402 if ac_fn_c_try_compile "$LINENO"; then :
6403 ac_cv_sys_large_files=1; break
6405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6406 ac_cv_sys_large_files=unknown
6407 break
6408 done
6410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6411 $as_echo "$ac_cv_sys_large_files" >&6; }
6412 case $ac_cv_sys_large_files in #(
6413 no | unknown) ;;
6415 cat >>confdefs.h <<_ACEOF
6416 #define _LARGE_FILES $ac_cv_sys_large_files
6417 _ACEOF
6419 esac
6420 rm -rf conftest*
6427 ac_ext=c
6428 ac_cpp='$CPP $CPPFLAGS'
6429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6433 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6434 # On Suns, sometimes $CPP names a directory.
6435 if test -n "$CPP" && test -d "$CPP"; then
6436 CPP=
6438 if test -z "$CPP"; then
6439 if ${ac_cv_prog_CPP+:} false; then :
6440 $as_echo_n "(cached) " >&6
6441 else
6442 # Double quotes because CPP needs to be expanded
6443 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6445 ac_preproc_ok=false
6446 for ac_c_preproc_warn_flag in '' yes
6448 # Use a header file that comes with gcc, so configuring glibc
6449 # with a fresh cross-compiler works.
6450 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6451 # <limits.h> exists even on freestanding compilers.
6452 # On the NeXT, cc -E runs the code through the compiler's parser,
6453 # not just through cpp. "Syntax error" is here to catch this case.
6454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6455 /* end confdefs.h. */
6456 #ifdef __STDC__
6457 # include <limits.h>
6458 #else
6459 # include <assert.h>
6460 #endif
6461 Syntax error
6462 _ACEOF
6463 if ac_fn_c_try_cpp "$LINENO"; then :
6465 else
6466 # Broken: fails on valid input.
6467 continue
6469 rm -f conftest.err conftest.i conftest.$ac_ext
6471 # OK, works on sane cases. Now check whether nonexistent headers
6472 # can be detected and how.
6473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6474 /* end confdefs.h. */
6475 #include <ac_nonexistent.h>
6476 _ACEOF
6477 if ac_fn_c_try_cpp "$LINENO"; then :
6478 # Broken: success on invalid input.
6479 continue
6480 else
6481 # Passes both tests.
6482 ac_preproc_ok=:
6483 break
6485 rm -f conftest.err conftest.i conftest.$ac_ext
6487 done
6488 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6489 rm -f conftest.i conftest.err conftest.$ac_ext
6490 if $ac_preproc_ok; then :
6491 break
6494 done
6495 ac_cv_prog_CPP=$CPP
6498 CPP=$ac_cv_prog_CPP
6499 else
6500 ac_cv_prog_CPP=$CPP
6502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6503 $as_echo "$CPP" >&6; }
6504 ac_preproc_ok=false
6505 for ac_c_preproc_warn_flag in '' yes
6507 # Use a header file that comes with gcc, so configuring glibc
6508 # with a fresh cross-compiler works.
6509 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6510 # <limits.h> exists even on freestanding compilers.
6511 # On the NeXT, cc -E runs the code through the compiler's parser,
6512 # not just through cpp. "Syntax error" is here to catch this case.
6513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6514 /* end confdefs.h. */
6515 #ifdef __STDC__
6516 # include <limits.h>
6517 #else
6518 # include <assert.h>
6519 #endif
6520 Syntax error
6521 _ACEOF
6522 if ac_fn_c_try_cpp "$LINENO"; then :
6524 else
6525 # Broken: fails on valid input.
6526 continue
6528 rm -f conftest.err conftest.i conftest.$ac_ext
6530 # OK, works on sane cases. Now check whether nonexistent headers
6531 # can be detected and how.
6532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6533 /* end confdefs.h. */
6534 #include <ac_nonexistent.h>
6535 _ACEOF
6536 if ac_fn_c_try_cpp "$LINENO"; then :
6537 # Broken: success on invalid input.
6538 continue
6539 else
6540 # Passes both tests.
6541 ac_preproc_ok=:
6542 break
6544 rm -f conftest.err conftest.i conftest.$ac_ext
6546 done
6547 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6548 rm -f conftest.i conftest.err conftest.$ac_ext
6549 if $ac_preproc_ok; then :
6551 else
6552 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6553 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6554 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6555 See \`config.log' for more details" "$LINENO" 5; }
6558 ac_ext=c
6559 ac_cpp='$CPP $CPPFLAGS'
6560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6566 $as_echo_n "checking for ANSI C header files... " >&6; }
6567 if ${ac_cv_header_stdc+:} false; then :
6568 $as_echo_n "(cached) " >&6
6569 else
6570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6571 /* end confdefs.h. */
6572 #include <stdlib.h>
6573 #include <stdarg.h>
6574 #include <string.h>
6575 #include <float.h>
6578 main ()
6582 return 0;
6584 _ACEOF
6585 if ac_fn_c_try_compile "$LINENO"; then :
6586 ac_cv_header_stdc=yes
6587 else
6588 ac_cv_header_stdc=no
6590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6592 if test $ac_cv_header_stdc = yes; then
6593 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6595 /* end confdefs.h. */
6596 #include <string.h>
6598 _ACEOF
6599 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6600 $EGREP "memchr" >/dev/null 2>&1; then :
6602 else
6603 ac_cv_header_stdc=no
6605 rm -f conftest*
6609 if test $ac_cv_header_stdc = yes; then
6610 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6612 /* end confdefs.h. */
6613 #include <stdlib.h>
6615 _ACEOF
6616 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6617 $EGREP "free" >/dev/null 2>&1; then :
6619 else
6620 ac_cv_header_stdc=no
6622 rm -f conftest*
6626 if test $ac_cv_header_stdc = yes; then
6627 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6628 if test "$cross_compiling" = yes; then :
6630 else
6631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6632 /* end confdefs.h. */
6633 #include <ctype.h>
6634 #include <stdlib.h>
6635 #if ((' ' & 0x0FF) == 0x020)
6636 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6637 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6638 #else
6639 # define ISLOWER(c) \
6640 (('a' <= (c) && (c) <= 'i') \
6641 || ('j' <= (c) && (c) <= 'r') \
6642 || ('s' <= (c) && (c) <= 'z'))
6643 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6644 #endif
6646 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6648 main ()
6650 int i;
6651 for (i = 0; i < 256; i++)
6652 if (XOR (islower (i), ISLOWER (i))
6653 || toupper (i) != TOUPPER (i))
6654 return 2;
6655 return 0;
6657 _ACEOF
6658 if ac_fn_c_try_run "$LINENO"; then :
6660 else
6661 ac_cv_header_stdc=no
6663 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6664 conftest.$ac_objext conftest.beam conftest.$ac_ext
6669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6670 $as_echo "$ac_cv_header_stdc" >&6; }
6671 if test $ac_cv_header_stdc = yes; then
6673 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6677 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6678 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6679 inttypes.h stdint.h unistd.h
6680 do :
6681 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6682 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6684 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6685 cat >>confdefs.h <<_ACEOF
6686 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6687 _ACEOF
6691 done
6694 for ac_header in \
6695 AL/al.h \
6696 ApplicationServices/ApplicationServices.h \
6697 AudioToolbox/AudioConverter.h \
6698 AudioUnit/AudioUnit.h \
6699 AudioUnit/AudioComponent.h \
6700 CL/cl.h \
6701 Carbon/Carbon.h \
6702 CommonCrypto/CommonDigest.h \
6703 CoreAudio/CoreAudio.h \
6704 CoreServices/CoreServices.h \
6705 DiskArbitration/DiskArbitration.h \
6706 IOKit/IOKitLib.h \
6707 IOKit/hid/IOHIDLib.h \
6708 OpenAL/al.h \
6709 OpenCL/opencl.h \
6710 QuickTime/ImageCompression.h \
6711 Security/Security.h \
6712 alias.h \
6713 alsa/asoundlib.h \
6714 arpa/inet.h \
6715 arpa/nameser.h \
6716 asm/types.h \
6717 asm/user.h \
6718 curses.h \
6719 direct.h \
6720 dirent.h \
6721 dlfcn.h \
6722 elf.h \
6723 float.h \
6724 fnmatch.h \
6725 getopt.h \
6726 gettext-po.h \
6727 grp.h \
6728 gsm.h \
6729 gsm/gsm.h \
6730 ieeefp.h \
6731 inet/mib2.h \
6732 io.h \
6733 kstat.h \
6734 lber.h \
6735 ldap.h \
6736 libproc.h \
6737 link.h \
6738 linux/cdrom.h \
6739 linux/compiler.h \
6740 linux/filter.h \
6741 linux/hdreg.h \
6742 linux/input.h \
6743 linux/ioctl.h \
6744 linux/joystick.h \
6745 linux/major.h \
6746 linux/param.h \
6747 linux/serial.h \
6748 linux/types.h \
6749 linux/ucdrom.h \
6750 lwp.h \
6751 mach-o/nlist.h \
6752 mach-o/loader.h \
6753 mach/mach.h \
6754 mach/machine.h \
6755 machine/cpu.h \
6756 machine/limits.h \
6757 machine/sysarch.h \
6758 mntent.h \
6759 ncurses.h \
6760 netdb.h \
6761 netinet/in.h \
6762 netinet/in_systm.h \
6763 netinet/tcp.h \
6764 netinet/tcp_fsm.h \
6765 pcap/pcap.h \
6766 poll.h \
6767 port.h \
6768 process.h \
6769 pthread.h \
6770 pwd.h \
6771 sched.h \
6772 scsi/scsi.h \
6773 scsi/scsi_ioctl.h \
6774 scsi/sg.h \
6775 stdbool.h \
6776 stdint.h \
6777 stropts.h \
6778 sys/asoundlib.h \
6779 sys/attr.h \
6780 sys/cdio.h \
6781 sys/elf32.h \
6782 sys/epoll.h \
6783 sys/event.h \
6784 sys/exec_elf.h \
6785 sys/filio.h \
6786 sys/inotify.h \
6787 sys/ioctl.h \
6788 sys/ipc.h \
6789 sys/limits.h \
6790 sys/link.h \
6791 sys/mman.h \
6792 sys/modem.h \
6793 sys/msg.h \
6794 sys/mtio.h \
6795 sys/param.h \
6796 sys/poll.h \
6797 sys/prctl.h \
6798 sys/protosw.h \
6799 sys/ptrace.h \
6800 sys/queue.h \
6801 sys/resource.h \
6802 sys/scsiio.h \
6803 sys/shm.h \
6804 sys/signal.h \
6805 sys/socket.h \
6806 sys/socketvar.h \
6807 sys/sockio.h \
6808 sys/statvfs.h \
6809 sys/strtio.h \
6810 sys/syscall.h \
6811 sys/tihdr.h \
6812 sys/time.h \
6813 sys/timeout.h \
6814 sys/times.h \
6815 sys/uio.h \
6816 sys/user.h \
6817 sys/utsname.h \
6818 sys/vm86.h \
6819 sys/vnode.h \
6820 sys/wait.h \
6821 syscall.h \
6822 termios.h \
6823 unistd.h \
6824 utime.h \
6825 valgrind/memcheck.h \
6826 valgrind/valgrind.h \
6827 zlib.h
6829 do :
6830 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6831 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6832 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6833 cat >>confdefs.h <<_ACEOF
6834 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6835 _ACEOF
6839 done
6841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6842 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6843 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
6844 $as_echo_n "(cached) " >&6
6845 else
6846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6847 /* end confdefs.h. */
6848 #include <sys/types.h>
6850 main ()
6852 return makedev(0, 0);
6854 return 0;
6856 _ACEOF
6857 if ac_fn_c_try_link "$LINENO"; then :
6858 ac_cv_header_sys_types_h_makedev=yes
6859 else
6860 ac_cv_header_sys_types_h_makedev=no
6862 rm -f core conftest.err conftest.$ac_objext \
6863 conftest$ac_exeext conftest.$ac_ext
6866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
6867 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
6869 if test $ac_cv_header_sys_types_h_makedev = no; then
6870 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
6871 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
6873 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
6879 if test $ac_cv_header_sys_mkdev_h = no; then
6880 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
6881 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
6883 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
6891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6892 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6893 if ${ac_cv_header_stat_broken+:} false; then :
6894 $as_echo_n "(cached) " >&6
6895 else
6896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6897 /* end confdefs.h. */
6898 #include <sys/types.h>
6899 #include <sys/stat.h>
6901 #if defined S_ISBLK && defined S_IFDIR
6902 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6903 #endif
6905 #if defined S_ISBLK && defined S_IFCHR
6906 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6907 #endif
6909 #if defined S_ISLNK && defined S_IFREG
6910 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6911 #endif
6913 #if defined S_ISSOCK && defined S_IFREG
6914 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6915 #endif
6917 _ACEOF
6918 if ac_fn_c_try_compile "$LINENO"; then :
6919 ac_cv_header_stat_broken=no
6920 else
6921 ac_cv_header_stat_broken=yes
6923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6926 $as_echo "$ac_cv_header_stat_broken" >&6; }
6927 if test $ac_cv_header_stat_broken = yes; then
6929 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6935 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6936 do :
6937 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6938 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6939 #ifdef HAVE_SYS_PARAM_H
6940 # include <sys/param.h>
6941 #endif
6943 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6944 cat >>confdefs.h <<_ACEOF
6945 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6946 _ACEOF
6950 done
6953 for ac_header in \
6954 netinet/ip.h \
6955 net/if.h \
6956 net/if_arp.h \
6957 net/if_dl.h \
6958 net/if_types.h \
6959 net/route.h \
6960 netinet/if_ether.h \
6961 netinet/if_inarp.h \
6962 netinet/in_pcb.h \
6963 netinet/ip_icmp.h \
6964 netinet/ip_var.h \
6965 netinet/udp.h \
6966 netipx/ipx.h \
6967 sys/un.h \
6969 do :
6970 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6971 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6972 #ifdef HAVE_SYS_SOCKET_H
6973 # include <sys/socket.h>
6974 #endif
6975 #ifdef HAVE_SYS_SOCKETVAR_H
6976 # include <sys/socketvar.h>
6977 #endif
6978 #ifdef HAVE_NET_ROUTE_H
6979 # include <net/route.h>
6980 #endif
6981 #ifdef HAVE_NETINET_IN_H
6982 # include <netinet/in.h>
6983 #endif
6984 #ifdef HAVE_NETINET_IN_SYSTM_H
6985 # include <netinet/in_systm.h>
6986 #endif
6987 #ifdef HAVE_NET_IF_H
6988 # include <net/if.h>
6989 #endif
6990 #ifdef HAVE_NETINET_IP_H
6991 # include <netinet/ip.h>
6992 #endif
6994 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6995 cat >>confdefs.h <<_ACEOF
6996 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6997 _ACEOF
7001 done
7004 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7005 do :
7006 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7007 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7008 #ifdef HAVE_ALIAS_H
7009 # include <alias.h>
7010 #endif
7011 #ifdef HAVE_SYS_SOCKET_H
7012 # include <sys/socket.h>
7013 #endif
7014 #ifdef HAVE_SYS_SOCKETVAR_H
7015 # include <sys/socketvar.h>
7016 #endif
7017 #ifdef HAVE_SYS_TIMEOUT_H
7018 # include <sys/timeout.h>
7019 #endif
7020 #ifdef HAVE_NETINET_IN_H
7021 # include <netinet/in.h>
7022 #endif
7023 #ifdef HAVE_NETINET_IN_SYSTM_H
7024 # include <netinet/in_systm.h>
7025 #endif
7026 #ifdef HAVE_NETINET_IP_H
7027 # include <netinet/ip.h>
7028 #endif
7029 #ifdef HAVE_NETINET_IP_VAR_H
7030 # include <netinet/ip_var.h>
7031 #endif
7032 #ifdef HAVE_NETINET_IP_ICMP_H
7033 # include <netinet/ip_icmp.h>
7034 #endif
7035 #ifdef HAVE_NETINET_UDP_H
7036 # include <netinet/udp.h>
7037 #endif
7038 #ifdef HAVE_NETINET_TCP_H
7039 # include <netinet/tcp.h>
7040 #endif
7041 #ifdef HAVE_NETINET_TCP_TIMER_H
7042 #include <netinet/tcp_timer.h>
7043 #endif
7045 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7046 cat >>confdefs.h <<_ACEOF
7047 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7048 _ACEOF
7052 done
7055 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7056 do :
7057 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7058 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7059 #ifdef HAVE_ASM_TYPES_H
7060 # include <asm/types.h>
7061 #endif
7062 #ifdef HAVE_SYS_SOCKET_H
7063 # include <sys/socket.h>
7064 #endif
7065 #ifdef HAVE_LINUX_TYPES_H
7066 # include <linux/types.h>
7067 #endif
7069 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7070 cat >>confdefs.h <<_ACEOF
7071 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7072 _ACEOF
7076 done
7079 for ac_header in mach-o/dyld_images.h
7080 do :
7081 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7082 # include <stdbool.h>
7083 #endif
7084 #ifdef HAVE_STDINT_H
7085 # include <stdint.h>
7086 #endif
7088 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7089 cat >>confdefs.h <<_ACEOF
7090 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7091 _ACEOF
7095 done
7098 for ac_header in resolv.h
7099 do :
7100 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7101 #ifdef HAVE_SYS_SOCKET_H
7102 # include <sys/socket.h>
7103 #endif
7104 #ifdef HAVE_NETINET_IN_H
7105 # include <netinet/in.h>
7106 #endif
7107 #ifdef HAVE_ARPA_NAMESER_H
7108 # include <arpa/nameser.h>
7109 #endif
7111 if test "x$ac_cv_header_resolv_h" = xyes; then :
7112 cat >>confdefs.h <<_ACEOF
7113 #define HAVE_RESOLV_H 1
7114 _ACEOF
7118 done
7121 for ac_header in ifaddrs.h
7122 do :
7123 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7125 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7126 cat >>confdefs.h <<_ACEOF
7127 #define HAVE_IFADDRS_H 1
7128 _ACEOF
7132 done
7135 for ac_header in sys/ucontext.h
7136 do :
7137 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7139 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7140 cat >>confdefs.h <<_ACEOF
7141 #define HAVE_SYS_UCONTEXT_H 1
7142 _ACEOF
7146 done
7149 for ac_header in sys/thr.h
7150 do :
7151 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7152 #ifdef HAVE_SYS_UCONTEXT_H
7153 #include <sys/ucontext.h>
7154 #endif
7156 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7157 cat >>confdefs.h <<_ACEOF
7158 #define HAVE_SYS_THR_H 1
7159 _ACEOF
7163 done
7166 for ac_header in pthread_np.h
7167 do :
7168 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7169 #include <pthread.h>
7170 #endif
7172 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7173 cat >>confdefs.h <<_ACEOF
7174 #define HAVE_PTHREAD_NP_H 1
7175 _ACEOF
7179 done
7182 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7183 do :
7184 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7185 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7186 #include <sys/time.h>
7187 #endif
7188 #include <sys/types.h>
7189 #ifdef HAVE_ASM_TYPES_H
7190 #include <asm/types.h>
7191 #endif
7193 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7194 cat >>confdefs.h <<_ACEOF
7195 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7196 _ACEOF
7200 done
7203 for ac_header in libprocstat.h
7204 do :
7205 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7206 #include <sys/param.h>
7207 #endif
7208 #ifdef HAVE_SYS_QUEUE_H
7209 #include <sys/queue.h>
7210 #endif
7211 #ifdef HAVE_SYS_SOCKET_H
7212 #include <sys/socket.h>
7213 #endif
7215 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7216 cat >>confdefs.h <<_ACEOF
7217 #define HAVE_LIBPROCSTAT_H 1
7218 _ACEOF
7222 done
7226 dlldir="\${libdir}/wine"
7228 DLLFLAGS="-D_REENTRANT"
7230 LDRPATH_INSTALL=""
7232 LDRPATH_LOCAL=""
7234 LDEXECFLAGS=""
7236 LIBEXT="so"
7237 DLLEXT=".so"
7238 IMPLIBEXT="def"
7239 # Extract the first word of "ldd", so it can be a program name with args.
7240 set dummy ldd; ac_word=$2
7241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7242 $as_echo_n "checking for $ac_word... " >&6; }
7243 if ${ac_cv_path_LDD+:} false; then :
7244 $as_echo_n "(cached) " >&6
7245 else
7246 case $LDD in
7247 [\\/]* | ?:[\\/]*)
7248 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7252 as_dummy="/sbin:/usr/sbin:$PATH"
7253 for as_dir in $as_dummy
7255 IFS=$as_save_IFS
7256 test -z "$as_dir" && as_dir=.
7257 for ac_exec_ext in '' $ac_executable_extensions; do
7258 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7259 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7260 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7261 break 2
7263 done
7264 done
7265 IFS=$as_save_IFS
7267 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7269 esac
7271 LDD=$ac_cv_path_LDD
7272 if test -n "$LDD"; then
7273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7274 $as_echo "$LDD" >&6; }
7275 else
7276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7277 $as_echo "no" >&6; }
7281 if test -n "$ac_tool_prefix"; then
7282 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7283 set dummy ${ac_tool_prefix}otool; ac_word=$2
7284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7285 $as_echo_n "checking for $ac_word... " >&6; }
7286 if ${ac_cv_prog_OTOOL+:} false; then :
7287 $as_echo_n "(cached) " >&6
7288 else
7289 if test -n "$OTOOL"; then
7290 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7291 else
7292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7293 for as_dir in $PATH
7295 IFS=$as_save_IFS
7296 test -z "$as_dir" && as_dir=.
7297 for ac_exec_ext in '' $ac_executable_extensions; do
7298 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7299 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7301 break 2
7303 done
7304 done
7305 IFS=$as_save_IFS
7309 OTOOL=$ac_cv_prog_OTOOL
7310 if test -n "$OTOOL"; then
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7312 $as_echo "$OTOOL" >&6; }
7313 else
7314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7315 $as_echo "no" >&6; }
7320 if test -z "$ac_cv_prog_OTOOL"; then
7321 ac_ct_OTOOL=$OTOOL
7322 # Extract the first word of "otool", so it can be a program name with args.
7323 set dummy otool; ac_word=$2
7324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7325 $as_echo_n "checking for $ac_word... " >&6; }
7326 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7327 $as_echo_n "(cached) " >&6
7328 else
7329 if test -n "$ac_ct_OTOOL"; then
7330 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7331 else
7332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7333 for as_dir in $PATH
7335 IFS=$as_save_IFS
7336 test -z "$as_dir" && as_dir=.
7337 for ac_exec_ext in '' $ac_executable_extensions; do
7338 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7339 ac_cv_prog_ac_ct_OTOOL="otool"
7340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7341 break 2
7343 done
7344 done
7345 IFS=$as_save_IFS
7349 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7350 if test -n "$ac_ct_OTOOL"; then
7351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7352 $as_echo "$ac_ct_OTOOL" >&6; }
7353 else
7354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7355 $as_echo "no" >&6; }
7358 if test "x$ac_ct_OTOOL" = x; then
7359 OTOOL="otool"
7360 else
7361 case $cross_compiling:$ac_tool_warned in
7362 yes:)
7363 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7364 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7365 ac_tool_warned=yes ;;
7366 esac
7367 OTOOL=$ac_ct_OTOOL
7369 else
7370 OTOOL="$ac_cv_prog_OTOOL"
7373 if test -n "$ac_tool_prefix"; then
7374 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7375 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7377 $as_echo_n "checking for $ac_word... " >&6; }
7378 if ${ac_cv_prog_READELF+:} false; then :
7379 $as_echo_n "(cached) " >&6
7380 else
7381 if test -n "$READELF"; then
7382 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7383 else
7384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7385 for as_dir in $PATH
7387 IFS=$as_save_IFS
7388 test -z "$as_dir" && as_dir=.
7389 for ac_exec_ext in '' $ac_executable_extensions; do
7390 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7391 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7393 break 2
7395 done
7396 done
7397 IFS=$as_save_IFS
7401 READELF=$ac_cv_prog_READELF
7402 if test -n "$READELF"; then
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7404 $as_echo "$READELF" >&6; }
7405 else
7406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7407 $as_echo "no" >&6; }
7412 if test -z "$ac_cv_prog_READELF"; then
7413 ac_ct_READELF=$READELF
7414 # Extract the first word of "readelf", so it can be a program name with args.
7415 set dummy readelf; ac_word=$2
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7417 $as_echo_n "checking for $ac_word... " >&6; }
7418 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7419 $as_echo_n "(cached) " >&6
7420 else
7421 if test -n "$ac_ct_READELF"; then
7422 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7423 else
7424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7425 for as_dir in $PATH
7427 IFS=$as_save_IFS
7428 test -z "$as_dir" && as_dir=.
7429 for ac_exec_ext in '' $ac_executable_extensions; do
7430 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7431 ac_cv_prog_ac_ct_READELF="readelf"
7432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7433 break 2
7435 done
7436 done
7437 IFS=$as_save_IFS
7441 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7442 if test -n "$ac_ct_READELF"; then
7443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7444 $as_echo "$ac_ct_READELF" >&6; }
7445 else
7446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7447 $as_echo "no" >&6; }
7450 if test "x$ac_ct_READELF" = x; then
7451 READELF="true"
7452 else
7453 case $cross_compiling:$ac_tool_warned in
7454 yes:)
7455 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7456 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7457 ac_tool_warned=yes ;;
7458 esac
7459 READELF=$ac_ct_READELF
7461 else
7462 READELF="$ac_cv_prog_READELF"
7465 wine_rules_file=conf$$rules.make
7466 rm -f $wine_rules_file
7467 SUBDIRS=""
7469 DISABLED_SUBDIRS=""
7471 CONFIGURE_TARGETS=""
7473 ALL_TEST_RESOURCES=""
7476 wine_fn_append_file ()
7478 as_fn_append $1 " \\$as_nl $2"
7481 wine_fn_append_rule ()
7483 $as_echo "$1" >>$wine_rules_file
7486 wine_fn_has_flag ()
7488 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7491 wine_fn_all_rules ()
7493 wine_fn_append_file SUBDIRS $ac_dir
7494 wine_fn_append_rule \
7495 "all: $ac_dir
7496 .PHONY: $ac_dir
7497 $ac_dir: dummy
7498 @cd $ac_dir && \$(MAKE)"
7501 wine_fn_install_rules ()
7503 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7505 wine_fn_append_rule \
7506 ".PHONY: $ac_dir/install $ac_dir/uninstall
7507 $ac_dir/install:: $ac_dir
7508 @cd $ac_dir && \$(MAKE) install
7509 $ac_dir/uninstall::
7510 @cd $ac_dir && \$(MAKE) uninstall
7511 install:: $ac_dir/install
7512 __uninstall__: $ac_dir/uninstall"
7514 if wine_fn_has_flag install-lib
7515 then
7516 wine_fn_append_rule \
7517 ".PHONY: $ac_dir/install-lib
7518 $ac_dir/install-lib:: $ac_dir
7519 @cd $ac_dir && \$(MAKE) install-lib
7520 install-lib:: $ac_dir/install-lib"
7523 if wine_fn_has_flag install-dev
7524 then
7525 wine_fn_append_rule \
7526 ".PHONY: $ac_dir/install-dev
7527 $ac_dir/install-dev:: $ac_dir
7528 @cd $ac_dir && \$(MAKE) install-dev
7529 install-dev:: $ac_dir/install-dev"
7533 wine_fn_clean_rules ()
7535 ac_clean=$@
7537 if wine_fn_has_flag clean
7538 then
7539 wine_fn_append_rule \
7540 "$ac_dir/clean: dummy
7541 @cd $ac_dir && \$(MAKE) clean"
7542 else
7543 wine_fn_append_rule \
7544 "$ac_dir/clean: dummy
7545 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7547 wine_fn_append_rule \
7548 "__clean__: $ac_dir/clean
7549 .PHONY: $ac_dir/clean"
7552 wine_fn_disabled_rules ()
7554 ac_clean=$@
7556 wine_fn_append_file SUBDIRS $ac_dir
7557 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7558 wine_fn_append_rule \
7559 "__clean__: $ac_dir/clean
7560 .PHONY: $ac_dir/clean
7561 $ac_dir/clean: dummy
7562 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7565 wine_fn_config_makefile ()
7567 ac_dir=$1
7568 ac_enable=$2
7569 ac_flags=$3
7571 case $ac_dir in
7572 fonts|server) test -z "$with_wine64" || return ;;
7573 esac
7574 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7575 wine_fn_disabled_rules; return
7577 wine_fn_all_rules
7578 wine_fn_install_rules
7579 wine_fn_clean_rules
7582 wine_fn_config_lib ()
7584 ac_name=$1
7585 ac_flags=$2
7586 ac_dir=dlls/$ac_name
7587 ac_deps="include"
7589 if test "x$enable_tools" = xno; then :
7591 else
7592 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7594 wine_fn_all_rules
7595 wine_fn_clean_rules
7597 wine_fn_append_rule \
7598 ".PHONY: $ac_dir/install $ac_dir/uninstall
7599 $ac_dir/install:: $ac_dir
7600 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7601 $ac_dir/uninstall::
7602 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7603 install install-dev:: $ac_dir/install
7604 __uninstall__: $ac_dir/uninstall
7605 __builddeps__: $ac_dir
7606 $ac_dir: $ac_deps"
7609 wine_fn_config_dll ()
7611 ac_name=$1
7612 ac_dir=dlls/$ac_name
7613 ac_enable=$2
7614 ac_flags=$3
7615 ac_implib=${4:-$ac_name}
7616 ac_file=$ac_dir/lib$ac_implib
7617 ac_dll=$ac_name
7618 ac_deps="include"
7619 ac_implibflags=""
7621 if test "x$enable_tools" = xno; then :
7623 else
7624 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7626 case $ac_name in
7627 *16) ac_implibflags=" -m16" ;;
7628 *.*) ;;
7629 *) ac_dll=$ac_dll.dll ;;
7630 esac
7632 ac_clean=
7633 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7634 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7636 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7637 if test "$ac_enable" != enable_win16
7638 then
7639 wine_fn_clean_rules $ac_clean
7640 wine_fn_append_file SUBDIRS $ac_dir
7641 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7642 else
7643 wine_fn_disabled_rules $ac_clean
7644 return
7646 else
7647 wine_fn_all_rules
7648 wine_fn_clean_rules $ac_clean
7649 wine_fn_append_rule \
7650 "$ac_dir: __builddeps__
7651 manpages htmlpages sgmlpages xmlpages::
7652 @cd $ac_dir && \$(MAKE) \$@
7653 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7654 install install-lib:: $ac_dir/install-lib
7655 __uninstall__: $ac_dir/uninstall"
7656 if test -n "$DLLEXT"
7657 then
7658 wine_fn_append_rule \
7659 "$ac_dir/install-lib:: $ac_dir
7660 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7661 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7662 $ac_dir/uninstall::
7663 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7664 else
7665 wine_fn_append_rule \
7666 "$ac_dir/install-lib:: $ac_dir
7667 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7668 $ac_dir/uninstall::
7669 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7673 if wine_fn_has_flag staticimplib
7674 then
7675 wine_fn_append_rule \
7676 "__builddeps__: $ac_file.a
7677 $ac_file.a $ac_file.cross.a: $ac_deps
7678 $ac_file.a: dummy
7679 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7680 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7681 $ac_dir/install-dev:: $ac_file.a
7682 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7683 $ac_dir/uninstall::
7684 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7685 install install-dev:: $ac_dir/install-dev
7686 __uninstall__: $ac_dir/uninstall"
7688 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7689 then
7690 wine_fn_append_rule \
7691 "__builddeps__: $ac_file.cross.a
7692 $ac_file.cross.a: dummy
7693 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7696 elif wine_fn_has_flag implib
7697 then
7698 wine_fn_append_rule \
7699 "__builddeps__: $ac_file.$IMPLIBEXT
7700 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7701 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7702 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7703 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7704 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7705 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7706 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7707 $ac_dir/uninstall::
7708 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7709 install install-dev:: $ac_dir/install-dev
7710 __uninstall__: $ac_dir/uninstall"
7711 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7712 then
7713 wine_fn_append_rule \
7714 "__builddeps__: $ac_file.cross.a
7715 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7716 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7721 wine_fn_config_program ()
7723 ac_name=$1
7724 ac_dir=programs/$ac_name
7725 ac_enable=$2
7726 ac_flags=$3
7727 ac_program=$ac_name
7729 case $ac_name in
7730 *.*) ;;
7731 *) ac_program=$ac_program.exe ;;
7732 esac
7734 ac_clean=
7735 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7736 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7738 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7739 wine_fn_disabled_rules $ac_clean; return
7742 wine_fn_all_rules
7743 wine_fn_clean_rules $ac_clean
7744 wine_fn_append_rule "$ac_dir: __builddeps__"
7746 wine_fn_has_flag install || return
7747 wine_fn_append_rule \
7748 ".PHONY: $ac_dir/install $ac_dir/uninstall
7749 install install-lib:: $ac_dir/install
7750 __uninstall__: $ac_dir/uninstall"
7752 if test -n "$DLLEXT"
7753 then
7754 wine_fn_append_rule \
7755 "$ac_dir/install:: $ac_dir
7756 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7757 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7758 $ac_dir/uninstall::
7759 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7761 if test -z "$with_wine64" && wine_fn_has_flag installbin
7762 then
7763 wine_fn_append_rule \
7764 "$ac_dir/install:: __tooldeps__
7765 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7766 $ac_dir/uninstall::
7767 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7769 else
7770 wine_fn_append_rule \
7771 "$ac_dir/install:: $ac_dir
7772 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7773 $ac_dir/uninstall::
7774 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7777 if test -z "$with_wine64" && wine_fn_has_flag manpage
7778 then
7779 wine_fn_append_rule \
7780 "$ac_dir/install:: $ac_dir
7781 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7782 $ac_dir/uninstall::
7783 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7787 wine_fn_config_test ()
7789 ac_dir=$1
7790 ac_name=$2
7791 ac_flags=$3
7793 ac_clean=
7794 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7795 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7797 if test "x$enable_tests" = xno; then :
7798 wine_fn_disabled_rules $ac_clean; return
7801 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7802 wine_fn_all_rules
7803 wine_fn_clean_rules $ac_clean
7805 wine_fn_append_rule \
7806 "$ac_dir: __builddeps__
7807 programs/winetest: $ac_dir
7808 check test: $ac_dir/test
7809 .PHONY: $ac_dir/test
7810 $ac_dir/test: dummy
7811 @cd $ac_dir && \$(MAKE) test
7812 testclean::
7813 \$(RM) $ac_dir/*.ok"
7815 if test -n "$CROSSTARGET"
7816 then
7817 wine_fn_append_rule \
7818 "crosstest: $ac_dir/crosstest
7819 .PHONY: $ac_dir/crosstest
7820 $ac_dir/crosstest: __builddeps__ dummy
7821 @cd $ac_dir && \$(MAKE) crosstest"
7825 wine_fn_config_tool ()
7827 ac_dir=$1
7828 ac_flags=$2
7829 if test "x$enable_tools" = xno; then :
7830 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7833 wine_fn_all_rules
7834 wine_fn_install_rules
7835 wine_fn_clean_rules
7837 wine_fn_append_rule "__tooldeps__: $ac_dir"
7838 wine_fn_append_rule "$ac_dir: libs/port"
7839 case $ac_dir in
7840 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7841 esac
7844 wine_fn_config_symlink ()
7846 ac_linkdir=
7847 if test "x$1" = "x-d"
7848 then
7849 ac_linkdir=$2
7850 shift; shift
7852 ac_links=$@
7853 wine_fn_append_rule \
7854 "$ac_links:
7855 @./config.status \$@"
7856 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7857 test -n "$ac_linkdir" || return
7858 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7861 wine_binary="wine"
7862 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7863 WINELOADER_PROGRAMS="$wine_binary"
7865 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7867 case $host_os in
7868 cygwin*|mingw32*)
7869 if test -n "$ac_tool_prefix"; then
7870 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7871 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7873 $as_echo_n "checking for $ac_word... " >&6; }
7874 if ${ac_cv_prog_DLLTOOL+:} false; then :
7875 $as_echo_n "(cached) " >&6
7876 else
7877 if test -n "$DLLTOOL"; then
7878 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7879 else
7880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7881 for as_dir in $PATH
7883 IFS=$as_save_IFS
7884 test -z "$as_dir" && as_dir=.
7885 for ac_exec_ext in '' $ac_executable_extensions; do
7886 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7887 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7889 break 2
7891 done
7892 done
7893 IFS=$as_save_IFS
7897 DLLTOOL=$ac_cv_prog_DLLTOOL
7898 if test -n "$DLLTOOL"; then
7899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7900 $as_echo "$DLLTOOL" >&6; }
7901 else
7902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7903 $as_echo "no" >&6; }
7908 if test -z "$ac_cv_prog_DLLTOOL"; then
7909 ac_ct_DLLTOOL=$DLLTOOL
7910 # Extract the first word of "dlltool", so it can be a program name with args.
7911 set dummy dlltool; ac_word=$2
7912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7913 $as_echo_n "checking for $ac_word... " >&6; }
7914 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7915 $as_echo_n "(cached) " >&6
7916 else
7917 if test -n "$ac_ct_DLLTOOL"; then
7918 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7919 else
7920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7921 for as_dir in $PATH
7923 IFS=$as_save_IFS
7924 test -z "$as_dir" && as_dir=.
7925 for ac_exec_ext in '' $ac_executable_extensions; do
7926 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7927 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7928 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7929 break 2
7931 done
7932 done
7933 IFS=$as_save_IFS
7937 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7938 if test -n "$ac_ct_DLLTOOL"; then
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7940 $as_echo "$ac_ct_DLLTOOL" >&6; }
7941 else
7942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7943 $as_echo "no" >&6; }
7946 if test "x$ac_ct_DLLTOOL" = x; then
7947 DLLTOOL="false"
7948 else
7949 case $cross_compiling:$ac_tool_warned in
7950 yes:)
7951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7952 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7953 ac_tool_warned=yes ;;
7954 esac
7955 DLLTOOL=$ac_ct_DLLTOOL
7957 else
7958 DLLTOOL="$ac_cv_prog_DLLTOOL"
7961 LIBEXT="dll"
7962 DLLEXT=""
7963 IMPLIBEXT="a"
7964 enable_iphlpapi=${enable_iphlpapi:-no}
7965 enable_kernel32=${enable_kernel32:-no}
7966 enable_msvcrt=${enable_msvcrt:-no}
7967 enable_ntdll=${enable_ntdll:-no}
7968 enable_ws2_32=${enable_ws2_32:-no}
7969 enable_loader=${enable_loader:-no}
7970 enable_server=${enable_server:-no}
7971 with_x=${with_x:-no}
7972 with_pthread=${with_pthread:-no}
7974 crtlibs=""
7975 case $host_os in
7976 mingw32*)
7977 crtlibs="-lmsvcrt"
7978 SOCKET_LIBS="-lws2_32"
7980 esac
7982 LIBWINE_SHAREDLIB="libwine.dll"
7984 LIBWINE_IMPORTLIB="libwine.a"
7986 LIBWINE_INSTALL_LIB="libwine.dll"
7988 LIBWINE_INSTALL_DEV="libwine.a"
7990 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
7992 LIBWINE_DEPENDS="wine.def"
7996 darwin*|macosx*)
7997 for ac_header in libunwind.h
7998 do :
7999 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8000 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8001 cat >>confdefs.h <<_ACEOF
8002 #define HAVE_LIBUNWIND_H 1
8003 _ACEOF
8007 done
8009 LIBEXT="dylib"
8010 DLLFLAGS="$DLLFLAGS -fPIC"
8011 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8012 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8013 COREFOUNDATION_LIBS="-framework CoreFoundation"
8015 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8017 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8019 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8021 CORESERVICES_LIBS="-framework CoreServices"
8023 APPKIT_LIBS="-framework AppKit"
8025 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8027 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8028 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8029 $as_echo_n "(cached) " >&6
8030 else
8031 ac_wine_try_cflags_saved=$CFLAGS
8032 CFLAGS="$CFLAGS -Wl,-no_pie"
8033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8034 /* end confdefs.h. */
8035 int main(int argc, char **argv) { return 0; }
8036 _ACEOF
8037 if ac_fn_c_try_link "$LINENO"; then :
8038 ac_cv_cflags__Wl__no_pie=yes
8039 else
8040 ac_cv_cflags__Wl__no_pie=no
8042 rm -f core conftest.err conftest.$ac_objext \
8043 conftest$ac_exeext conftest.$ac_ext
8044 CFLAGS=$ac_wine_try_cflags_saved
8046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8047 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8048 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8049 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8051 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8052 then
8053 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8056 if test "$ac_cv_header_Security_Security_h" = "yes"
8057 then
8058 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8060 ac_save_LIBS="$LIBS"
8061 LIBS="$LIBS $SECURITY_LIBS"
8062 for ac_func in SSLCopyPeerCertificates
8063 do :
8064 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8065 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8066 cat >>confdefs.h <<_ACEOF
8067 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8068 _ACEOF
8071 done
8073 LIBS="$ac_save_LIBS"
8074 with_gnutls=${with_gnutls:-no}
8076 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8077 then
8078 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8079 then
8080 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8082 else
8083 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8086 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8087 ac_save_LIBS="$LIBS"
8088 LIBS="$LIBS $COREAUDIO_LIBS"
8089 for ac_func in AUGraphAddNode
8090 do :
8091 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8092 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8093 cat >>confdefs.h <<_ACEOF
8094 #define HAVE_AUGRAPHADDNODE 1
8095 _ACEOF
8098 done
8100 LIBS="$ac_save_LIBS"
8102 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8103 then
8104 OPENAL_LIBS="-framework OpenAL"
8107 cat >>confdefs.h <<_ACEOF
8108 #define HAVE_OPENAL 1
8109 _ACEOF
8111 ac_cv_lib_openal=yes
8113 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8114 then
8115 OPENCL_LIBS="-framework OpenCL"
8117 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8119 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8120 then
8121 ac_save_LIBS="$LIBS"
8122 LIBS="$LIBS $IOKIT_LIBS"
8123 for ac_func in IOHIDManagerCreate
8124 do :
8125 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8126 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8127 cat >>confdefs.h <<_ACEOF
8128 #define HAVE_IOHIDMANAGERCREATE 1
8129 _ACEOF
8132 done
8134 LIBS="$ac_save_LIBS"
8136 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8137 then
8138 ac_save_LIBS="$LIBS"
8139 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8141 $as_echo_n "checking for the QuickTime framework... " >&6; }
8142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8143 /* end confdefs.h. */
8144 #include <QuickTime/ImageCompression.h>
8146 main ()
8148 CodecManagerVersion(NULL);
8150 return 0;
8152 _ACEOF
8153 if ac_fn_c_try_link "$LINENO"; then :
8154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8155 $as_echo "yes" >&6; }
8156 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8158 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8159 else
8160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8161 $as_echo "no" >&6; }
8162 ac_cv_header_QuickTime_ImageCompression_h=no
8164 rm -f core conftest.err conftest.$ac_objext \
8165 conftest$ac_exeext conftest.$ac_ext
8166 LIBS="$ac_save_LIBS"
8168 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8169 then
8170 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8172 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8173 then
8174 CARBON_LIBS="-framework Carbon"
8178 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8179 then
8180 ac_save_LIBS="$LIBS"
8181 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8182 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8183 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8184 enable_winemac_drv=${enable_winemac_drv:-yes}
8187 LIBS="$ac_save_LIBS"
8190 if test "x$enable_win16" = "xyes"
8191 then
8192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8193 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8194 if test "$cross_compiling" = yes; then :
8195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8196 $as_echo "cross-compiling, assuming yes" >&6; }
8197 else
8198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8199 /* end confdefs.h. */
8200 asm(".text\n"
8201 "bad:\tnop;nop\n"
8202 "good:\tnop;nop\n\t"
8203 ".globl _testfunc\n"
8204 "_testfunc:\tcallw good");
8205 extern void testfunc();
8207 main ()
8209 unsigned short *p = (unsigned short *)testfunc;
8210 return p[0] != 0xe866 || p[1] != 0xfffa
8212 return 0;
8214 _ACEOF
8215 if ac_fn_c_try_run "$LINENO"; then :
8216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8217 $as_echo "yes" >&6; }
8218 else
8219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8220 $as_echo "no" >&6; }
8221 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
8223 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8224 conftest.$ac_objext conftest.beam conftest.$ac_ext
8229 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8231 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8233 LIBWINE_INSTALL_DEV="libwine.dylib"
8235 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8237 WINELOADER_DEPENDS="wine_info.plist"
8241 linux-android*)
8242 DLLFLAGS="$DLLFLAGS -fPIC"
8243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8244 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8245 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8246 $as_echo_n "(cached) " >&6
8247 else
8248 ac_wine_try_cflags_saved=$CFLAGS
8249 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8251 /* end confdefs.h. */
8252 int main(int argc, char **argv) { return 0; }
8253 _ACEOF
8254 if ac_fn_c_try_link "$LINENO"; then :
8255 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8256 else
8257 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8259 rm -f core conftest.err conftest.$ac_objext \
8260 conftest$ac_exeext conftest.$ac_ext
8261 CFLAGS=$ac_wine_try_cflags_saved
8263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8264 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8265 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8266 LDEXECFLAGS="-Wl,--export-dynamic"
8268 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8270 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8271 if eval \${$as_ac_var+:} false; then :
8272 $as_echo_n "(cached) " >&6
8273 else
8274 ac_wine_try_cflags_saved=$CFLAGS
8275 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8277 /* end confdefs.h. */
8278 int main(int argc, char **argv) { return 0; }
8279 _ACEOF
8280 if ac_fn_c_try_link "$LINENO"; then :
8281 eval "$as_ac_var=yes"
8282 else
8283 eval "$as_ac_var=no"
8285 rm -f core conftest.err conftest.$ac_objext \
8286 conftest$ac_exeext conftest.$ac_ext
8287 CFLAGS=$ac_wine_try_cflags_saved
8289 eval ac_res=\$$as_ac_var
8290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8291 $as_echo "$ac_res" >&6; }
8292 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8293 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8294 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8295 else
8296 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8298 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8299 if eval \${$as_ac_var+:} false; then :
8300 $as_echo_n "(cached) " >&6
8301 else
8302 ac_wine_try_cflags_saved=$CFLAGS
8303 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8305 /* end confdefs.h. */
8306 int main(int argc, char **argv) { return 0; }
8307 _ACEOF
8308 if ac_fn_c_try_link "$LINENO"; then :
8309 eval "$as_ac_var=yes"
8310 else
8311 eval "$as_ac_var=no"
8313 rm -f core conftest.err conftest.$ac_objext \
8314 conftest$ac_exeext conftest.$ac_ext
8315 CFLAGS=$ac_wine_try_cflags_saved
8317 eval ac_res=\$$as_ac_var
8318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8319 $as_echo "$ac_res" >&6; }
8320 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8321 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8322 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8327 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8328 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8329 $as_echo_n "(cached) " >&6
8330 else
8331 ac_wine_try_cflags_saved=$CFLAGS
8332 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8334 /* end confdefs.h. */
8335 int main(int argc, char **argv) { return 0; }
8336 _ACEOF
8337 if ac_fn_c_try_link "$LINENO"; then :
8338 ac_cv_cflags__Wl___enable_new_dtags=yes
8339 else
8340 ac_cv_cflags__Wl___enable_new_dtags=no
8342 rm -f core conftest.err conftest.$ac_objext \
8343 conftest$ac_exeext conftest.$ac_ext
8344 CFLAGS=$ac_wine_try_cflags_saved
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8347 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8348 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8349 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8352 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8353 if ${ac_cv_cflags__Wl__pie+:} false; then :
8354 $as_echo_n "(cached) " >&6
8355 else
8356 ac_wine_try_cflags_saved=$CFLAGS
8357 CFLAGS="$CFLAGS -Wl,-pie"
8358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8359 /* end confdefs.h. */
8360 int main(int argc, char **argv) { return 0; }
8361 _ACEOF
8362 if ac_fn_c_try_link "$LINENO"; then :
8363 ac_cv_cflags__Wl__pie=yes
8364 else
8365 ac_cv_cflags__Wl__pie=no
8367 rm -f core conftest.err conftest.$ac_objext \
8368 conftest$ac_exeext conftest.$ac_ext
8369 CFLAGS=$ac_wine_try_cflags_saved
8371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8372 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8373 if test "x$ac_cv_cflags__Wl__pie" = xyes; then :
8374 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,-pie"
8377 LIBWINE_SHAREDLIB="libwine.so"
8379 LIBWINE_INSTALL_LIB="libwine.so"
8381 LIBWINE_LDFLAGS="-shared"
8386 DLLFLAGS="$DLLFLAGS -fPIC"
8387 LDEXECFLAGS=""
8388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8389 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8390 if ${ac_cv_c_dll_gnuelf+:} false; then :
8391 $as_echo_n "(cached) " >&6
8392 else
8393 ac_wine_try_cflags_saved=$CFLAGS
8394 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8396 /* end confdefs.h. */
8397 void myfunc() {}
8398 _ACEOF
8399 if ac_fn_c_try_link "$LINENO"; then :
8400 ac_cv_c_dll_gnuelf="yes"
8401 else
8402 ac_cv_c_dll_gnuelf="no"
8404 rm -f core conftest.err conftest.$ac_objext \
8405 conftest$ac_exeext conftest.$ac_ext
8406 CFLAGS=$ac_wine_try_cflags_saved
8408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8409 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8410 if test "$ac_cv_c_dll_gnuelf" = "yes"
8411 then
8412 LIBWINE_LDFLAGS="-shared"
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8414 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8415 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8416 $as_echo_n "(cached) " >&6
8417 else
8418 ac_wine_try_cflags_saved=$CFLAGS
8419 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8421 /* end confdefs.h. */
8422 int main(int argc, char **argv) { return 0; }
8423 _ACEOF
8424 if ac_fn_c_try_link "$LINENO"; then :
8425 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8426 else
8427 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8429 rm -f core conftest.err conftest.$ac_objext \
8430 conftest$ac_exeext conftest.$ac_ext
8431 CFLAGS=$ac_wine_try_cflags_saved
8433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8434 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8435 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8436 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8437 else
8438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8439 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8440 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8441 $as_echo_n "(cached) " >&6
8442 else
8443 ac_wine_try_cflags_saved=$CFLAGS
8444 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8446 /* end confdefs.h. */
8447 int main(int argc, char **argv) { return 0; }
8448 _ACEOF
8449 if ac_fn_c_try_link "$LINENO"; then :
8450 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8451 else
8452 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8454 rm -f core conftest.err conftest.$ac_objext \
8455 conftest$ac_exeext conftest.$ac_ext
8456 CFLAGS=$ac_wine_try_cflags_saved
8458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8459 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8460 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8461 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8465 echo '{ global: *; };' >conftest.map
8466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8467 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8468 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8469 $as_echo_n "(cached) " >&6
8470 else
8471 ac_wine_try_cflags_saved=$CFLAGS
8472 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8474 /* end confdefs.h. */
8475 int main(int argc, char **argv) { return 0; }
8476 _ACEOF
8477 if ac_fn_c_try_link "$LINENO"; then :
8478 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8479 else
8480 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8482 rm -f core conftest.err conftest.$ac_objext \
8483 conftest$ac_exeext conftest.$ac_ext
8484 CFLAGS=$ac_wine_try_cflags_saved
8486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8487 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8488 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8489 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8491 rm -f conftest.map
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8494 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8495 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8496 $as_echo_n "(cached) " >&6
8497 else
8498 ac_wine_try_cflags_saved=$CFLAGS
8499 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8501 /* end confdefs.h. */
8502 int main(int argc, char **argv) { return 0; }
8503 _ACEOF
8504 if ac_fn_c_try_link "$LINENO"; then :
8505 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8506 else
8507 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8509 rm -f core conftest.err conftest.$ac_objext \
8510 conftest$ac_exeext conftest.$ac_ext
8511 CFLAGS=$ac_wine_try_cflags_saved
8513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8514 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8515 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8516 LDEXECFLAGS="-Wl,--export-dynamic"
8519 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8521 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8522 if eval \${$as_ac_var+:} false; then :
8523 $as_echo_n "(cached) " >&6
8524 else
8525 ac_wine_try_cflags_saved=$CFLAGS
8526 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8528 /* end confdefs.h. */
8529 int main(int argc, char **argv) { return 0; }
8530 _ACEOF
8531 if ac_fn_c_try_link "$LINENO"; then :
8532 eval "$as_ac_var=yes"
8533 else
8534 eval "$as_ac_var=no"
8536 rm -f core conftest.err conftest.$ac_objext \
8537 conftest$ac_exeext conftest.$ac_ext
8538 CFLAGS=$ac_wine_try_cflags_saved
8540 eval ac_res=\$$as_ac_var
8541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8542 $as_echo "$ac_res" >&6; }
8543 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8544 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8545 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8546 else
8547 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8549 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8550 if eval \${$as_ac_var+:} false; then :
8551 $as_echo_n "(cached) " >&6
8552 else
8553 ac_wine_try_cflags_saved=$CFLAGS
8554 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8556 /* end confdefs.h. */
8557 int main(int argc, char **argv) { return 0; }
8558 _ACEOF
8559 if ac_fn_c_try_link "$LINENO"; then :
8560 eval "$as_ac_var=yes"
8561 else
8562 eval "$as_ac_var=no"
8564 rm -f core conftest.err conftest.$ac_objext \
8565 conftest$ac_exeext conftest.$ac_ext
8566 CFLAGS=$ac_wine_try_cflags_saved
8568 eval ac_res=\$$as_ac_var
8569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8570 $as_echo "$ac_res" >&6; }
8571 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8572 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8573 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8578 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8579 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8580 $as_echo_n "(cached) " >&6
8581 else
8582 ac_wine_try_cflags_saved=$CFLAGS
8583 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8585 /* end confdefs.h. */
8586 int main(int argc, char **argv) { return 0; }
8587 _ACEOF
8588 if ac_fn_c_try_link "$LINENO"; then :
8589 ac_cv_cflags__Wl___enable_new_dtags=yes
8590 else
8591 ac_cv_cflags__Wl___enable_new_dtags=no
8593 rm -f core conftest.err conftest.$ac_objext \
8594 conftest$ac_exeext conftest.$ac_ext
8595 CFLAGS=$ac_wine_try_cflags_saved
8597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8598 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8599 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8600 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8603 case $host_cpu in
8604 *i[3456789]86* | x86_64)
8605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8606 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8607 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8608 $as_echo_n "(cached) " >&6
8609 else
8610 ac_wine_try_cflags_saved=$CFLAGS
8611 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8613 /* end confdefs.h. */
8614 int main(int argc, char **argv) { return 0; }
8615 _ACEOF
8616 if ac_fn_c_try_link "$LINENO"; then :
8617 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8618 else
8619 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8621 rm -f core conftest.err conftest.$ac_objext \
8622 conftest$ac_exeext conftest.$ac_ext
8623 CFLAGS=$ac_wine_try_cflags_saved
8625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8626 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8627 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8628 case $host_os in
8629 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8630 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8631 esac
8632 else
8633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8634 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8635 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8636 $as_echo_n "(cached) " >&6
8637 else
8638 ac_wine_try_cflags_saved=$CFLAGS
8639 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8641 /* end confdefs.h. */
8642 int main(int argc, char **argv) { return 0; }
8643 _ACEOF
8644 if ac_fn_c_try_link "$LINENO"; then :
8645 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8646 else
8647 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8649 rm -f core conftest.err conftest.$ac_objext \
8650 conftest$ac_exeext conftest.$ac_ext
8651 CFLAGS=$ac_wine_try_cflags_saved
8653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8654 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8655 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8656 case $host_os in
8657 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8658 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8659 esac
8661 # Extract the first word of "prelink", so it can be a program name with args.
8662 set dummy prelink; ac_word=$2
8663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8664 $as_echo_n "checking for $ac_word... " >&6; }
8665 if ${ac_cv_path_PRELINK+:} false; then :
8666 $as_echo_n "(cached) " >&6
8667 else
8668 case $PRELINK in
8669 [\\/]* | ?:[\\/]*)
8670 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8674 for as_dir in /sbin /usr/sbin $PATH
8676 IFS=$as_save_IFS
8677 test -z "$as_dir" && as_dir=.
8678 for ac_exec_ext in '' $ac_executable_extensions; do
8679 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8680 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8682 break 2
8684 done
8685 done
8686 IFS=$as_save_IFS
8688 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8690 esac
8692 PRELINK=$ac_cv_path_PRELINK
8693 if test -n "$PRELINK"; then
8694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8695 $as_echo "$PRELINK" >&6; }
8696 else
8697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8698 $as_echo "no" >&6; }
8702 if test "x$PRELINK" = xfalse
8703 then
8704 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8708 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8709 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8710 $as_echo_n "(cached) " >&6
8711 else
8712 ac_wine_try_cflags_saved=$CFLAGS
8713 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8715 /* end confdefs.h. */
8716 int main(int argc, char **argv) { return 0; }
8717 _ACEOF
8718 if ac_fn_c_try_link "$LINENO"; then :
8719 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8720 else
8721 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8723 rm -f core conftest.err conftest.$ac_objext \
8724 conftest$ac_exeext conftest.$ac_ext
8725 CFLAGS=$ac_wine_try_cflags_saved
8727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8728 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8729 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8730 LDEXECFLAGS="$LDEXECFLAGS -Wl,-z,max-page-size=0x1000"
8733 esac
8735 else
8736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8737 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8738 if ${ac_cv_c_dll_unixware+:} false; then :
8739 $as_echo_n "(cached) " >&6
8740 else
8741 ac_wine_try_cflags_saved=$CFLAGS
8742 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8744 /* end confdefs.h. */
8745 void myfunc() {}
8746 _ACEOF
8747 if ac_fn_c_try_link "$LINENO"; then :
8748 ac_cv_c_dll_unixware="yes"
8749 else
8750 ac_cv_c_dll_unixware="no"
8752 rm -f core conftest.err conftest.$ac_objext \
8753 conftest$ac_exeext conftest.$ac_ext
8754 CFLAGS=$ac_wine_try_cflags_saved
8756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8757 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8758 if test "$ac_cv_c_dll_unixware" = "yes"
8759 then
8760 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8763 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8765 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8767 LIBWINE_INSTALL_DEV="libwine.so"
8769 LIBWINE_DEPENDS="wine.map"
8772 esac
8774 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8775 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8776 enable_winemac_drv=${enable_winemac_drv:-no}
8777 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8779 CROSSTARGET=""
8781 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8782 then
8783 case "$host_cpu" in
8784 arm*)
8785 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8786 i[3456789]86*)
8787 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
8788 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8789 mingw32-gcc" ;;
8790 x86_64)
8791 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
8792 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8794 ac_prefix_list="" ;;
8795 esac
8796 for ac_prog in $ac_prefix_list
8798 # Extract the first word of "$ac_prog", so it can be a program name with args.
8799 set dummy $ac_prog; ac_word=$2
8800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8801 $as_echo_n "checking for $ac_word... " >&6; }
8802 if ${ac_cv_prog_CROSSCC+:} false; then :
8803 $as_echo_n "(cached) " >&6
8804 else
8805 if test -n "$CROSSCC"; then
8806 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8807 else
8808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8809 for as_dir in $PATH
8811 IFS=$as_save_IFS
8812 test -z "$as_dir" && as_dir=.
8813 for ac_exec_ext in '' $ac_executable_extensions; do
8814 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8815 ac_cv_prog_CROSSCC="$ac_prog"
8816 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8817 break 2
8819 done
8820 done
8821 IFS=$as_save_IFS
8825 CROSSCC=$ac_cv_prog_CROSSCC
8826 if test -n "$CROSSCC"; then
8827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8828 $as_echo "$CROSSCC" >&6; }
8829 else
8830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8831 $as_echo "no" >&6; }
8835 test -n "$CROSSCC" && break
8836 done
8837 test -n "$CROSSCC" || CROSSCC="false"
8839 if test "$CROSSCC" != "false"
8840 then
8841 ac_save_CC="$CC"
8842 CC="$CROSSCC"
8843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8844 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8846 /* end confdefs.h. */
8849 main ()
8853 return 0;
8855 _ACEOF
8856 if ac_fn_c_try_compile "$LINENO"; then :
8857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8858 $as_echo "yes" >&6; }
8859 set x $CROSSCC
8860 shift
8861 while test $# -ge 1
8863 case "$1" in
8864 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8865 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8866 esac
8867 shift
8868 done
8869 else
8870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8871 $as_echo "no" >&6; }
8873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8874 CC="$ac_save_CC"
8879 if test "$ac_cv_header_pthread_h" = "yes"
8880 then
8881 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8882 if test "x$ac_cv_func_pthread_create" = xyes; then :
8884 else
8885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8886 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8887 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8888 $as_echo_n "(cached) " >&6
8889 else
8890 ac_check_lib_save_LIBS=$LIBS
8891 LIBS="-lpthread $LIBS"
8892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8893 /* end confdefs.h. */
8895 /* Override any GCC internal prototype to avoid an error.
8896 Use char because int might match the return type of a GCC
8897 builtin and then its argument prototype would still apply. */
8898 #ifdef __cplusplus
8899 extern "C"
8900 #endif
8901 char pthread_create ();
8903 main ()
8905 return pthread_create ();
8907 return 0;
8909 _ACEOF
8910 if ac_fn_c_try_link "$LINENO"; then :
8911 ac_cv_lib_pthread_pthread_create=yes
8912 else
8913 ac_cv_lib_pthread_pthread_create=no
8915 rm -f core conftest.err conftest.$ac_objext \
8916 conftest$ac_exeext conftest.$ac_ext
8917 LIBS=$ac_check_lib_save_LIBS
8919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8920 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8921 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8922 PTHREAD_LIBS="-lpthread"
8929 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8930 case "x$with_pthread" in
8931 xno) ;;
8932 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8933 Wine cannot support threads without libpthread.
8934 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8935 esac
8940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8941 $as_echo_n "checking for X... " >&6; }
8944 # Check whether --with-x was given.
8945 if test "${with_x+set}" = set; then :
8946 withval=$with_x;
8949 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8950 if test "x$with_x" = xno; then
8951 # The user explicitly disabled X.
8952 have_x=disabled
8953 else
8954 case $x_includes,$x_libraries in #(
8955 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8956 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8957 $as_echo_n "(cached) " >&6
8958 else
8959 # One or both of the vars are not set, and there is no cached value.
8960 ac_x_includes=no ac_x_libraries=no
8961 rm -f -r conftest.dir
8962 if mkdir conftest.dir; then
8963 cd conftest.dir
8964 cat >Imakefile <<'_ACEOF'
8965 incroot:
8966 @echo incroot='${INCROOT}'
8967 usrlibdir:
8968 @echo usrlibdir='${USRLIBDIR}'
8969 libdir:
8970 @echo libdir='${LIBDIR}'
8971 _ACEOF
8972 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8973 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8974 for ac_var in incroot usrlibdir libdir; do
8975 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8976 done
8977 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8978 for ac_extension in a so sl dylib la dll; do
8979 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8980 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8981 ac_im_usrlibdir=$ac_im_libdir; break
8983 done
8984 # Screen out bogus values from the imake configuration. They are
8985 # bogus both because they are the default anyway, and because
8986 # using them would break gcc on systems where it needs fixed includes.
8987 case $ac_im_incroot in
8988 /usr/include) ac_x_includes= ;;
8989 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8990 esac
8991 case $ac_im_usrlibdir in
8992 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8993 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8994 esac
8996 cd ..
8997 rm -f -r conftest.dir
9000 # Standard set of common directories for X headers.
9001 # Check X11 before X11Rn because it is often a symlink to the current release.
9002 ac_x_header_dirs='
9003 /usr/X11/include
9004 /usr/X11R7/include
9005 /usr/X11R6/include
9006 /usr/X11R5/include
9007 /usr/X11R4/include
9009 /usr/include/X11
9010 /usr/include/X11R7
9011 /usr/include/X11R6
9012 /usr/include/X11R5
9013 /usr/include/X11R4
9015 /usr/local/X11/include
9016 /usr/local/X11R7/include
9017 /usr/local/X11R6/include
9018 /usr/local/X11R5/include
9019 /usr/local/X11R4/include
9021 /usr/local/include/X11
9022 /usr/local/include/X11R7
9023 /usr/local/include/X11R6
9024 /usr/local/include/X11R5
9025 /usr/local/include/X11R4
9027 /usr/X386/include
9028 /usr/x386/include
9029 /usr/XFree86/include/X11
9031 /usr/include
9032 /usr/local/include
9033 /usr/unsupported/include
9034 /usr/athena/include
9035 /usr/local/x11r5/include
9036 /usr/lpp/Xamples/include
9038 /usr/openwin/include
9039 /usr/openwin/share/include'
9041 if test "$ac_x_includes" = no; then
9042 # Guess where to find include files, by looking for Xlib.h.
9043 # First, try using that file with no special directory specified.
9044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9045 /* end confdefs.h. */
9046 #include <X11/Xlib.h>
9047 _ACEOF
9048 if ac_fn_c_try_cpp "$LINENO"; then :
9049 # We can compile using X headers with no special include directory.
9050 ac_x_includes=
9051 else
9052 for ac_dir in $ac_x_header_dirs; do
9053 if test -r "$ac_dir/X11/Xlib.h"; then
9054 ac_x_includes=$ac_dir
9055 break
9057 done
9059 rm -f conftest.err conftest.i conftest.$ac_ext
9060 fi # $ac_x_includes = no
9062 if test "$ac_x_libraries" = no; then
9063 # Check for the libraries.
9064 # See if we find them without any special options.
9065 # Don't add to $LIBS permanently.
9066 ac_save_LIBS=$LIBS
9067 LIBS="-lX11 $LIBS"
9068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9069 /* end confdefs.h. */
9070 #include <X11/Xlib.h>
9072 main ()
9074 XrmInitialize ()
9076 return 0;
9078 _ACEOF
9079 if ac_fn_c_try_link "$LINENO"; then :
9080 LIBS=$ac_save_LIBS
9081 # We can link X programs with no special library path.
9082 ac_x_libraries=
9083 else
9084 LIBS=$ac_save_LIBS
9085 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9087 # Don't even attempt the hair of trying to link an X program!
9088 for ac_extension in a so sl dylib la dll; do
9089 if test -r "$ac_dir/libX11.$ac_extension"; then
9090 ac_x_libraries=$ac_dir
9091 break 2
9093 done
9094 done
9096 rm -f core conftest.err conftest.$ac_objext \
9097 conftest$ac_exeext conftest.$ac_ext
9098 fi # $ac_x_libraries = no
9100 case $ac_x_includes,$ac_x_libraries in #(
9101 no,* | *,no | *\'*)
9102 # Didn't find X, or a directory has "'" in its name.
9103 ac_cv_have_x="have_x=no";; #(
9105 # Record where we found X for the cache.
9106 ac_cv_have_x="have_x=yes\
9107 ac_x_includes='$ac_x_includes'\
9108 ac_x_libraries='$ac_x_libraries'"
9109 esac
9111 ;; #(
9112 *) have_x=yes;;
9113 esac
9114 eval "$ac_cv_have_x"
9115 fi # $with_x != no
9117 if test "$have_x" != yes; then
9118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9119 $as_echo "$have_x" >&6; }
9120 no_x=yes
9121 else
9122 # If each of the values was on the command line, it overrides each guess.
9123 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9124 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9125 # Update the cache value to reflect the command line values.
9126 ac_cv_have_x="have_x=yes\
9127 ac_x_includes='$x_includes'\
9128 ac_x_libraries='$x_libraries'"
9129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9130 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9133 if test "$no_x" = yes; then
9134 # Not all programs may use this symbol, but it does not hurt to define it.
9136 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9138 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9139 else
9140 if test -n "$x_includes"; then
9141 X_CFLAGS="$X_CFLAGS -I$x_includes"
9144 # It would also be nice to do this for all -L options, not just this one.
9145 if test -n "$x_libraries"; then
9146 X_LIBS="$X_LIBS -L$x_libraries"
9147 # For Solaris; some versions of Sun CC require a space after -R and
9148 # others require no space. Words are not sufficient . . . .
9149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9150 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9151 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9152 ac_xsave_c_werror_flag=$ac_c_werror_flag
9153 ac_c_werror_flag=yes
9154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9155 /* end confdefs.h. */
9158 main ()
9162 return 0;
9164 _ACEOF
9165 if ac_fn_c_try_link "$LINENO"; then :
9166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9167 $as_echo "no" >&6; }
9168 X_LIBS="$X_LIBS -R$x_libraries"
9169 else
9170 LIBS="$ac_xsave_LIBS -R $x_libraries"
9171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9172 /* end confdefs.h. */
9175 main ()
9179 return 0;
9181 _ACEOF
9182 if ac_fn_c_try_link "$LINENO"; then :
9183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9184 $as_echo "yes" >&6; }
9185 X_LIBS="$X_LIBS -R $x_libraries"
9186 else
9187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9188 $as_echo "neither works" >&6; }
9190 rm -f core conftest.err conftest.$ac_objext \
9191 conftest$ac_exeext conftest.$ac_ext
9193 rm -f core conftest.err conftest.$ac_objext \
9194 conftest$ac_exeext conftest.$ac_ext
9195 ac_c_werror_flag=$ac_xsave_c_werror_flag
9196 LIBS=$ac_xsave_LIBS
9199 # Check for system-dependent libraries X programs must link with.
9200 # Do this before checking for the system-independent R6 libraries
9201 # (-lICE), since we may need -lsocket or whatever for X linking.
9203 if test "$ISC" = yes; then
9204 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9205 else
9206 # Martyn Johnson says this is needed for Ultrix, if the X
9207 # libraries were built with DECnet support. And Karl Berry says
9208 # the Alpha needs dnet_stub (dnet does not exist).
9209 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9211 /* end confdefs.h. */
9213 /* Override any GCC internal prototype to avoid an error.
9214 Use char because int might match the return type of a GCC
9215 builtin and then its argument prototype would still apply. */
9216 #ifdef __cplusplus
9217 extern "C"
9218 #endif
9219 char XOpenDisplay ();
9221 main ()
9223 return XOpenDisplay ();
9225 return 0;
9227 _ACEOF
9228 if ac_fn_c_try_link "$LINENO"; then :
9230 else
9231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9232 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9233 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9234 $as_echo_n "(cached) " >&6
9235 else
9236 ac_check_lib_save_LIBS=$LIBS
9237 LIBS="-ldnet $LIBS"
9238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9239 /* end confdefs.h. */
9241 /* Override any GCC internal prototype to avoid an error.
9242 Use char because int might match the return type of a GCC
9243 builtin and then its argument prototype would still apply. */
9244 #ifdef __cplusplus
9245 extern "C"
9246 #endif
9247 char dnet_ntoa ();
9249 main ()
9251 return dnet_ntoa ();
9253 return 0;
9255 _ACEOF
9256 if ac_fn_c_try_link "$LINENO"; then :
9257 ac_cv_lib_dnet_dnet_ntoa=yes
9258 else
9259 ac_cv_lib_dnet_dnet_ntoa=no
9261 rm -f core conftest.err conftest.$ac_objext \
9262 conftest$ac_exeext conftest.$ac_ext
9263 LIBS=$ac_check_lib_save_LIBS
9265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9266 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9267 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9268 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9271 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9273 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9274 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9275 $as_echo_n "(cached) " >&6
9276 else
9277 ac_check_lib_save_LIBS=$LIBS
9278 LIBS="-ldnet_stub $LIBS"
9279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9280 /* end confdefs.h. */
9282 /* Override any GCC internal prototype to avoid an error.
9283 Use char because int might match the return type of a GCC
9284 builtin and then its argument prototype would still apply. */
9285 #ifdef __cplusplus
9286 extern "C"
9287 #endif
9288 char dnet_ntoa ();
9290 main ()
9292 return dnet_ntoa ();
9294 return 0;
9296 _ACEOF
9297 if ac_fn_c_try_link "$LINENO"; then :
9298 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9299 else
9300 ac_cv_lib_dnet_stub_dnet_ntoa=no
9302 rm -f core conftest.err conftest.$ac_objext \
9303 conftest$ac_exeext conftest.$ac_ext
9304 LIBS=$ac_check_lib_save_LIBS
9306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9307 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9308 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9309 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9314 rm -f core conftest.err conftest.$ac_objext \
9315 conftest$ac_exeext conftest.$ac_ext
9316 LIBS="$ac_xsave_LIBS"
9318 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9319 # to get the SysV transport functions.
9320 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9321 # needs -lnsl.
9322 # The nsl library prevents programs from opening the X display
9323 # on Irix 5.2, according to T.E. Dickey.
9324 # The functions gethostbyname, getservbyname, and inet_addr are
9325 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9326 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9327 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9331 if test $ac_cv_func_gethostbyname = no; then
9332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9333 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9334 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9335 $as_echo_n "(cached) " >&6
9336 else
9337 ac_check_lib_save_LIBS=$LIBS
9338 LIBS="-lnsl $LIBS"
9339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9340 /* end confdefs.h. */
9342 /* Override any GCC internal prototype to avoid an error.
9343 Use char because int might match the return type of a GCC
9344 builtin and then its argument prototype would still apply. */
9345 #ifdef __cplusplus
9346 extern "C"
9347 #endif
9348 char gethostbyname ();
9350 main ()
9352 return gethostbyname ();
9354 return 0;
9356 _ACEOF
9357 if ac_fn_c_try_link "$LINENO"; then :
9358 ac_cv_lib_nsl_gethostbyname=yes
9359 else
9360 ac_cv_lib_nsl_gethostbyname=no
9362 rm -f core conftest.err conftest.$ac_objext \
9363 conftest$ac_exeext conftest.$ac_ext
9364 LIBS=$ac_check_lib_save_LIBS
9366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9367 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9368 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9369 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9372 if test $ac_cv_lib_nsl_gethostbyname = no; then
9373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9374 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9375 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9376 $as_echo_n "(cached) " >&6
9377 else
9378 ac_check_lib_save_LIBS=$LIBS
9379 LIBS="-lbsd $LIBS"
9380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9381 /* end confdefs.h. */
9383 /* Override any GCC internal prototype to avoid an error.
9384 Use char because int might match the return type of a GCC
9385 builtin and then its argument prototype would still apply. */
9386 #ifdef __cplusplus
9387 extern "C"
9388 #endif
9389 char gethostbyname ();
9391 main ()
9393 return gethostbyname ();
9395 return 0;
9397 _ACEOF
9398 if ac_fn_c_try_link "$LINENO"; then :
9399 ac_cv_lib_bsd_gethostbyname=yes
9400 else
9401 ac_cv_lib_bsd_gethostbyname=no
9403 rm -f core conftest.err conftest.$ac_objext \
9404 conftest$ac_exeext conftest.$ac_ext
9405 LIBS=$ac_check_lib_save_LIBS
9407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9408 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9409 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9410 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9416 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9417 # socket/setsockopt and other routines are undefined under SCO ODT
9418 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9419 # on later versions), says Simon Leinen: it contains gethostby*
9420 # variants that don't use the name server (or something). -lsocket
9421 # must be given before -lnsl if both are needed. We assume that
9422 # if connect needs -lnsl, so does gethostbyname.
9423 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9424 if test "x$ac_cv_func_connect" = xyes; then :
9428 if test $ac_cv_func_connect = no; then
9429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9430 $as_echo_n "checking for connect in -lsocket... " >&6; }
9431 if ${ac_cv_lib_socket_connect+:} false; then :
9432 $as_echo_n "(cached) " >&6
9433 else
9434 ac_check_lib_save_LIBS=$LIBS
9435 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9437 /* end confdefs.h. */
9439 /* Override any GCC internal prototype to avoid an error.
9440 Use char because int might match the return type of a GCC
9441 builtin and then its argument prototype would still apply. */
9442 #ifdef __cplusplus
9443 extern "C"
9444 #endif
9445 char connect ();
9447 main ()
9449 return connect ();
9451 return 0;
9453 _ACEOF
9454 if ac_fn_c_try_link "$LINENO"; then :
9455 ac_cv_lib_socket_connect=yes
9456 else
9457 ac_cv_lib_socket_connect=no
9459 rm -f core conftest.err conftest.$ac_objext \
9460 conftest$ac_exeext conftest.$ac_ext
9461 LIBS=$ac_check_lib_save_LIBS
9463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9464 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9465 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9466 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9471 # Guillermo Gomez says -lposix is necessary on A/UX.
9472 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9473 if test "x$ac_cv_func_remove" = xyes; then :
9477 if test $ac_cv_func_remove = no; then
9478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9479 $as_echo_n "checking for remove in -lposix... " >&6; }
9480 if ${ac_cv_lib_posix_remove+:} false; then :
9481 $as_echo_n "(cached) " >&6
9482 else
9483 ac_check_lib_save_LIBS=$LIBS
9484 LIBS="-lposix $LIBS"
9485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9486 /* end confdefs.h. */
9488 /* Override any GCC internal prototype to avoid an error.
9489 Use char because int might match the return type of a GCC
9490 builtin and then its argument prototype would still apply. */
9491 #ifdef __cplusplus
9492 extern "C"
9493 #endif
9494 char remove ();
9496 main ()
9498 return remove ();
9500 return 0;
9502 _ACEOF
9503 if ac_fn_c_try_link "$LINENO"; then :
9504 ac_cv_lib_posix_remove=yes
9505 else
9506 ac_cv_lib_posix_remove=no
9508 rm -f core conftest.err conftest.$ac_objext \
9509 conftest$ac_exeext conftest.$ac_ext
9510 LIBS=$ac_check_lib_save_LIBS
9512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9513 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9514 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9515 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9520 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9521 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9522 if test "x$ac_cv_func_shmat" = xyes; then :
9526 if test $ac_cv_func_shmat = no; then
9527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9528 $as_echo_n "checking for shmat in -lipc... " >&6; }
9529 if ${ac_cv_lib_ipc_shmat+:} false; then :
9530 $as_echo_n "(cached) " >&6
9531 else
9532 ac_check_lib_save_LIBS=$LIBS
9533 LIBS="-lipc $LIBS"
9534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9535 /* end confdefs.h. */
9537 /* Override any GCC internal prototype to avoid an error.
9538 Use char because int might match the return type of a GCC
9539 builtin and then its argument prototype would still apply. */
9540 #ifdef __cplusplus
9541 extern "C"
9542 #endif
9543 char shmat ();
9545 main ()
9547 return shmat ();
9549 return 0;
9551 _ACEOF
9552 if ac_fn_c_try_link "$LINENO"; then :
9553 ac_cv_lib_ipc_shmat=yes
9554 else
9555 ac_cv_lib_ipc_shmat=no
9557 rm -f core conftest.err conftest.$ac_objext \
9558 conftest$ac_exeext conftest.$ac_ext
9559 LIBS=$ac_check_lib_save_LIBS
9561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9562 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9563 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9564 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9570 # Check for libraries that X11R6 Xt/Xaw programs need.
9571 ac_save_LDFLAGS=$LDFLAGS
9572 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9573 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9574 # check for ICE first), but we must link in the order -lSM -lICE or
9575 # we get undefined symbols. So assume we have SM if we have ICE.
9576 # These have to be linked with before -lX11, unlike the other
9577 # libraries we check for below, so use a different variable.
9578 # John Interrante, Karl Berry
9579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9580 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9581 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9582 $as_echo_n "(cached) " >&6
9583 else
9584 ac_check_lib_save_LIBS=$LIBS
9585 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9587 /* end confdefs.h. */
9589 /* Override any GCC internal prototype to avoid an error.
9590 Use char because int might match the return type of a GCC
9591 builtin and then its argument prototype would still apply. */
9592 #ifdef __cplusplus
9593 extern "C"
9594 #endif
9595 char IceConnectionNumber ();
9597 main ()
9599 return IceConnectionNumber ();
9601 return 0;
9603 _ACEOF
9604 if ac_fn_c_try_link "$LINENO"; then :
9605 ac_cv_lib_ICE_IceConnectionNumber=yes
9606 else
9607 ac_cv_lib_ICE_IceConnectionNumber=no
9609 rm -f core conftest.err conftest.$ac_objext \
9610 conftest$ac_exeext conftest.$ac_ext
9611 LIBS=$ac_check_lib_save_LIBS
9613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9614 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9615 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9616 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9619 LDFLAGS=$ac_save_LDFLAGS
9624 if test "$have_x" = "yes"
9625 then
9626 ac_save_CPPFLAGS="$CPPFLAGS"
9627 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9630 $as_echo_n "checking for -lX11... " >&6; }
9631 if ${ac_cv_lib_soname_X11+:} false; then :
9632 $as_echo_n "(cached) " >&6
9633 else
9634 ac_check_soname_save_LIBS=$LIBS
9635 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9637 /* end confdefs.h. */
9639 /* Override any GCC internal prototype to avoid an error.
9640 Use char because int might match the return type of a GCC
9641 builtin and then its argument prototype would still apply. */
9642 #ifdef __cplusplus
9643 extern "C"
9644 #endif
9645 char XCreateWindow ();
9647 main ()
9649 return XCreateWindow ();
9651 return 0;
9653 _ACEOF
9654 if ac_fn_c_try_link "$LINENO"; then :
9655 case "$LIBEXT" in
9656 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9657 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'` ;;
9658 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9659 if ${ac_cv_lib_soname_X11:+false} :; then :
9660 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9661 fi ;;
9662 esac
9664 rm -f core conftest.err conftest.$ac_objext \
9665 conftest$ac_exeext conftest.$ac_ext
9666 LIBS=$ac_check_soname_save_LIBS
9668 if ${ac_cv_lib_soname_X11:+false} :; then :
9669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9670 $as_echo "not found" >&6; }
9672 else
9673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9674 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9676 cat >>confdefs.h <<_ACEOF
9677 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9678 _ACEOF
9682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9683 $as_echo_n "checking for -lXext... " >&6; }
9684 if ${ac_cv_lib_soname_Xext+:} false; then :
9685 $as_echo_n "(cached) " >&6
9686 else
9687 ac_check_soname_save_LIBS=$LIBS
9688 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9690 /* end confdefs.h. */
9692 /* Override any GCC internal prototype to avoid an error.
9693 Use char because int might match the return type of a GCC
9694 builtin and then its argument prototype would still apply. */
9695 #ifdef __cplusplus
9696 extern "C"
9697 #endif
9698 char XextCreateExtension ();
9700 main ()
9702 return XextCreateExtension ();
9704 return 0;
9706 _ACEOF
9707 if ac_fn_c_try_link "$LINENO"; then :
9708 case "$LIBEXT" in
9709 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9710 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'` ;;
9711 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9712 if ${ac_cv_lib_soname_Xext:+false} :; then :
9713 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9714 fi ;;
9715 esac
9717 rm -f core conftest.err conftest.$ac_objext \
9718 conftest$ac_exeext conftest.$ac_ext
9719 LIBS=$ac_check_soname_save_LIBS
9721 if ${ac_cv_lib_soname_Xext:+false} :; then :
9722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9723 $as_echo "not found" >&6; }
9725 else
9726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9727 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9729 cat >>confdefs.h <<_ACEOF
9730 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9731 _ACEOF
9733 X_LIBS="$X_LIBS -lXext"
9735 X_LIBS="$X_LIBS -lX11"
9737 for ac_header in X11/Xlib.h \
9738 X11/XKBlib.h \
9739 X11/Xutil.h \
9740 X11/Xcursor/Xcursor.h \
9741 X11/extensions/shape.h \
9742 X11/extensions/XInput.h \
9743 X11/extensions/XInput2.h \
9744 X11/extensions/XShm.h \
9745 X11/extensions/Xcomposite.h \
9746 X11/extensions/Xinerama.h \
9747 X11/extensions/Xrandr.h \
9748 X11/extensions/Xrender.h \
9749 X11/extensions/xf86vmode.h \
9750 X11/extensions/xf86vmproto.h
9751 do :
9752 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9753 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9754 # include <X11/Xlib.h>
9755 #endif
9756 #ifdef HAVE_X11_XUTIL_H
9757 # include <X11/Xutil.h>
9758 #endif
9760 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9761 cat >>confdefs.h <<_ACEOF
9762 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9763 _ACEOF
9767 done
9770 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9771 then
9772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9773 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9774 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9775 $as_echo_n "(cached) " >&6
9776 else
9777 ac_check_lib_save_LIBS=$LIBS
9778 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9780 /* end confdefs.h. */
9782 /* Override any GCC internal prototype to avoid an error.
9783 Use char because int might match the return type of a GCC
9784 builtin and then its argument prototype would still apply. */
9785 #ifdef __cplusplus
9786 extern "C"
9787 #endif
9788 char XkbQueryExtension ();
9790 main ()
9792 return XkbQueryExtension ();
9794 return 0;
9796 _ACEOF
9797 if ac_fn_c_try_link "$LINENO"; then :
9798 ac_cv_lib_X11_XkbQueryExtension=yes
9799 else
9800 ac_cv_lib_X11_XkbQueryExtension=no
9802 rm -f core conftest.err conftest.$ac_objext \
9803 conftest$ac_exeext conftest.$ac_ext
9804 LIBS=$ac_check_lib_save_LIBS
9806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9807 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9808 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9810 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9816 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9817 then
9818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9819 $as_echo_n "checking for -lXcursor... " >&6; }
9820 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9821 $as_echo_n "(cached) " >&6
9822 else
9823 ac_check_soname_save_LIBS=$LIBS
9824 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9826 /* end confdefs.h. */
9828 /* Override any GCC internal prototype to avoid an error.
9829 Use char because int might match the return type of a GCC
9830 builtin and then its argument prototype would still apply. */
9831 #ifdef __cplusplus
9832 extern "C"
9833 #endif
9834 char XcursorImageLoadCursor ();
9836 main ()
9838 return XcursorImageLoadCursor ();
9840 return 0;
9842 _ACEOF
9843 if ac_fn_c_try_link "$LINENO"; then :
9844 case "$LIBEXT" in
9845 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9846 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'` ;;
9847 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9848 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9849 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9850 fi ;;
9851 esac
9853 rm -f core conftest.err conftest.$ac_objext \
9854 conftest$ac_exeext conftest.$ac_ext
9855 LIBS=$ac_check_soname_save_LIBS
9857 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9859 $as_echo "not found" >&6; }
9861 else
9862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9863 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9865 cat >>confdefs.h <<_ACEOF
9866 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9867 _ACEOF
9872 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9873 case "x$with_xcursor" in
9874 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9875 xno) ;;
9876 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9877 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9878 esac
9882 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9883 then
9884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9885 $as_echo_n "checking for -lXi... " >&6; }
9886 if ${ac_cv_lib_soname_Xi+:} false; then :
9887 $as_echo_n "(cached) " >&6
9888 else
9889 ac_check_soname_save_LIBS=$LIBS
9890 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9892 /* end confdefs.h. */
9894 /* Override any GCC internal prototype to avoid an error.
9895 Use char because int might match the return type of a GCC
9896 builtin and then its argument prototype would still apply. */
9897 #ifdef __cplusplus
9898 extern "C"
9899 #endif
9900 char XOpenDevice ();
9902 main ()
9904 return XOpenDevice ();
9906 return 0;
9908 _ACEOF
9909 if ac_fn_c_try_link "$LINENO"; then :
9910 case "$LIBEXT" in
9911 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9912 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'` ;;
9913 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9914 if ${ac_cv_lib_soname_Xi:+false} :; then :
9915 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9916 fi ;;
9917 esac
9919 rm -f core conftest.err conftest.$ac_objext \
9920 conftest$ac_exeext conftest.$ac_ext
9921 LIBS=$ac_check_soname_save_LIBS
9923 if ${ac_cv_lib_soname_Xi:+false} :; then :
9924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9925 $as_echo "not found" >&6; }
9927 else
9928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9929 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9931 cat >>confdefs.h <<_ACEOF
9932 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9933 _ACEOF
9938 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9939 case "x$with_xinput" in
9940 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9941 xno) ;;
9942 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9943 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9944 esac
9948 if test "x$ac_cv_lib_soname_Xi" != x
9949 then
9950 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9951 case "x$with_xinput2" in
9952 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9953 xno) ;;
9954 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9955 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9956 esac
9961 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9962 then
9963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9964 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9965 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9966 $as_echo_n "(cached) " >&6
9967 else
9968 ac_check_lib_save_LIBS=$LIBS
9969 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9971 /* end confdefs.h. */
9973 /* Override any GCC internal prototype to avoid an error.
9974 Use char because int might match the return type of a GCC
9975 builtin and then its argument prototype would still apply. */
9976 #ifdef __cplusplus
9977 extern "C"
9978 #endif
9979 char XShmQueryExtension ();
9981 main ()
9983 return XShmQueryExtension ();
9985 return 0;
9987 _ACEOF
9988 if ac_fn_c_try_link "$LINENO"; then :
9989 ac_cv_lib_Xext_XShmQueryExtension=yes
9990 else
9991 ac_cv_lib_Xext_XShmQueryExtension=no
9993 rm -f core conftest.err conftest.$ac_objext \
9994 conftest$ac_exeext conftest.$ac_ext
9995 LIBS=$ac_check_lib_save_LIBS
9997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9998 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9999 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10001 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10006 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10007 case "x$with_xshm" in
10008 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10009 xno) ;;
10010 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10011 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10012 esac
10016 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10017 then
10018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10019 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10020 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10021 $as_echo_n "(cached) " >&6
10022 else
10023 ac_check_lib_save_LIBS=$LIBS
10024 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10026 /* end confdefs.h. */
10028 /* Override any GCC internal prototype to avoid an error.
10029 Use char because int might match the return type of a GCC
10030 builtin and then its argument prototype would still apply. */
10031 #ifdef __cplusplus
10032 extern "C"
10033 #endif
10034 char XShapeQueryExtension ();
10036 main ()
10038 return XShapeQueryExtension ();
10040 return 0;
10042 _ACEOF
10043 if ac_fn_c_try_link "$LINENO"; then :
10044 ac_cv_lib_Xext_XShapeQueryExtension=yes
10045 else
10046 ac_cv_lib_Xext_XShapeQueryExtension=no
10048 rm -f core conftest.err conftest.$ac_objext \
10049 conftest$ac_exeext conftest.$ac_ext
10050 LIBS=$ac_check_lib_save_LIBS
10052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10053 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10054 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10056 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10061 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10062 case "x$with_xshape" in
10063 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10064 xno) ;;
10065 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10066 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10067 esac
10071 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10072 then
10073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10074 $as_echo_n "checking for -lXxf86vm... " >&6; }
10075 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10076 $as_echo_n "(cached) " >&6
10077 else
10078 ac_check_soname_save_LIBS=$LIBS
10079 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10081 /* end confdefs.h. */
10083 /* Override any GCC internal prototype to avoid an error.
10084 Use char because int might match the return type of a GCC
10085 builtin and then its argument prototype would still apply. */
10086 #ifdef __cplusplus
10087 extern "C"
10088 #endif
10089 char XF86VidModeQueryExtension ();
10091 main ()
10093 return XF86VidModeQueryExtension ();
10095 return 0;
10097 _ACEOF
10098 if ac_fn_c_try_link "$LINENO"; then :
10099 case "$LIBEXT" in
10100 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10101 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'` ;;
10102 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10103 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10104 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10105 fi ;;
10106 esac
10108 rm -f core conftest.err conftest.$ac_objext \
10109 conftest$ac_exeext conftest.$ac_ext
10110 LIBS=$ac_check_soname_save_LIBS
10112 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10114 $as_echo "not found" >&6; }
10116 else
10117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10118 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10120 cat >>confdefs.h <<_ACEOF
10121 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10122 _ACEOF
10127 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10128 case "x$with_xxf86vm" in
10129 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10130 xno) ;;
10131 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10132 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10133 esac
10137 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10138 then
10139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10140 $as_echo_n "checking for -lXrender... " >&6; }
10141 if ${ac_cv_lib_soname_Xrender+:} false; then :
10142 $as_echo_n "(cached) " >&6
10143 else
10144 ac_check_soname_save_LIBS=$LIBS
10145 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10147 /* end confdefs.h. */
10149 /* Override any GCC internal prototype to avoid an error.
10150 Use char because int might match the return type of a GCC
10151 builtin and then its argument prototype would still apply. */
10152 #ifdef __cplusplus
10153 extern "C"
10154 #endif
10155 char XRenderQueryExtension ();
10157 main ()
10159 return XRenderQueryExtension ();
10161 return 0;
10163 _ACEOF
10164 if ac_fn_c_try_link "$LINENO"; then :
10165 case "$LIBEXT" in
10166 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10167 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'` ;;
10168 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10169 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10170 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10171 fi ;;
10172 esac
10174 rm -f core conftest.err conftest.$ac_objext \
10175 conftest$ac_exeext conftest.$ac_ext
10176 LIBS=$ac_check_soname_save_LIBS
10178 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10180 $as_echo "not found" >&6; }
10182 else
10183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10184 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10186 cat >>confdefs.h <<_ACEOF
10187 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10188 _ACEOF
10190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10191 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10192 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10193 $as_echo_n "(cached) " >&6
10194 else
10195 ac_check_lib_save_LIBS=$LIBS
10196 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10198 /* end confdefs.h. */
10200 /* Override any GCC internal prototype to avoid an error.
10201 Use char because int might match the return type of a GCC
10202 builtin and then its argument prototype would still apply. */
10203 #ifdef __cplusplus
10204 extern "C"
10205 #endif
10206 char XRenderSetPictureTransform ();
10208 main ()
10210 return XRenderSetPictureTransform ();
10212 return 0;
10214 _ACEOF
10215 if ac_fn_c_try_link "$LINENO"; then :
10216 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10217 else
10218 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10220 rm -f core conftest.err conftest.$ac_objext \
10221 conftest$ac_exeext conftest.$ac_ext
10222 LIBS=$ac_check_lib_save_LIBS
10224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10225 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10226 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10228 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10233 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10234 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10235 $as_echo_n "(cached) " >&6
10236 else
10237 ac_check_lib_save_LIBS=$LIBS
10238 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10240 /* end confdefs.h. */
10242 /* Override any GCC internal prototype to avoid an error.
10243 Use char because int might match the return type of a GCC
10244 builtin and then its argument prototype would still apply. */
10245 #ifdef __cplusplus
10246 extern "C"
10247 #endif
10248 char XRenderCreateLinearGradient ();
10250 main ()
10252 return XRenderCreateLinearGradient ();
10254 return 0;
10256 _ACEOF
10257 if ac_fn_c_try_link "$LINENO"; then :
10258 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10259 else
10260 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10262 rm -f core conftest.err conftest.$ac_objext \
10263 conftest$ac_exeext conftest.$ac_ext
10264 LIBS=$ac_check_lib_save_LIBS
10266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10267 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10268 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10270 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10277 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10278 case "x$with_xrender" in
10279 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10280 xno) ;;
10281 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10282 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10283 esac
10287 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10288 then
10289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10290 /* end confdefs.h. */
10291 #include <X11/Xlib.h>
10292 #include <X11/extensions/Xrandr.h>
10294 main ()
10296 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10298 return 0;
10300 _ACEOF
10301 if ac_fn_c_try_compile "$LINENO"; then :
10302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10303 $as_echo_n "checking for -lXrandr... " >&6; }
10304 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10305 $as_echo_n "(cached) " >&6
10306 else
10307 ac_check_soname_save_LIBS=$LIBS
10308 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10310 /* end confdefs.h. */
10312 /* Override any GCC internal prototype to avoid an error.
10313 Use char because int might match the return type of a GCC
10314 builtin and then its argument prototype would still apply. */
10315 #ifdef __cplusplus
10316 extern "C"
10317 #endif
10318 char XRRQueryExtension ();
10320 main ()
10322 return XRRQueryExtension ();
10324 return 0;
10326 _ACEOF
10327 if ac_fn_c_try_link "$LINENO"; then :
10328 case "$LIBEXT" in
10329 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10330 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'` ;;
10331 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10332 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10333 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10334 fi ;;
10335 esac
10337 rm -f core conftest.err conftest.$ac_objext \
10338 conftest$ac_exeext conftest.$ac_ext
10339 LIBS=$ac_check_soname_save_LIBS
10341 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10343 $as_echo "not found" >&6; }
10345 else
10346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10347 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10349 cat >>confdefs.h <<_ACEOF
10350 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10351 _ACEOF
10353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10354 /* end confdefs.h. */
10355 #include <X11/Xlib.h>
10356 #include <X11/extensions/Xrandr.h>
10358 main ()
10360 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10362 return 0;
10364 _ACEOF
10365 if ac_fn_c_try_compile "$LINENO"; then :
10367 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10375 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10376 case "x$with_xrandr" in
10377 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10378 xno) ;;
10379 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10380 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10381 esac
10385 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10386 then
10387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10388 /* end confdefs.h. */
10389 #include <X11/Xlib.h>
10390 #include <X11/extensions/Xinerama.h>
10392 main ()
10394 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10396 return 0;
10398 _ACEOF
10399 if ac_fn_c_try_compile "$LINENO"; then :
10400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10401 $as_echo_n "checking for -lXinerama... " >&6; }
10402 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10403 $as_echo_n "(cached) " >&6
10404 else
10405 ac_check_soname_save_LIBS=$LIBS
10406 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10408 /* end confdefs.h. */
10410 /* Override any GCC internal prototype to avoid an error.
10411 Use char because int might match the return type of a GCC
10412 builtin and then its argument prototype would still apply. */
10413 #ifdef __cplusplus
10414 extern "C"
10415 #endif
10416 char XineramaQueryScreens ();
10418 main ()
10420 return XineramaQueryScreens ();
10422 return 0;
10424 _ACEOF
10425 if ac_fn_c_try_link "$LINENO"; then :
10426 case "$LIBEXT" in
10427 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10428 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'` ;;
10429 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10430 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10431 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10432 fi ;;
10433 esac
10435 rm -f core conftest.err conftest.$ac_objext \
10436 conftest$ac_exeext conftest.$ac_ext
10437 LIBS=$ac_check_soname_save_LIBS
10439 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10441 $as_echo "not found" >&6; }
10443 else
10444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10445 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10447 cat >>confdefs.h <<_ACEOF
10448 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10449 _ACEOF
10454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10456 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10457 case "x$with_xinerama" in
10458 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10459 xno) ;;
10460 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10461 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10462 esac
10466 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10467 then
10468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10469 $as_echo_n "checking for -lXcomposite... " >&6; }
10470 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10471 $as_echo_n "(cached) " >&6
10472 else
10473 ac_check_soname_save_LIBS=$LIBS
10474 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10476 /* end confdefs.h. */
10478 /* Override any GCC internal prototype to avoid an error.
10479 Use char because int might match the return type of a GCC
10480 builtin and then its argument prototype would still apply. */
10481 #ifdef __cplusplus
10482 extern "C"
10483 #endif
10484 char XCompositeRedirectWindow ();
10486 main ()
10488 return XCompositeRedirectWindow ();
10490 return 0;
10492 _ACEOF
10493 if ac_fn_c_try_link "$LINENO"; then :
10494 case "$LIBEXT" in
10495 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10496 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'` ;;
10497 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10498 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10499 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10500 fi ;;
10501 esac
10503 rm -f core conftest.err conftest.$ac_objext \
10504 conftest$ac_exeext conftest.$ac_ext
10505 LIBS=$ac_check_soname_save_LIBS
10507 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10509 $as_echo "not found" >&6; }
10511 else
10512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10513 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10515 cat >>confdefs.h <<_ACEOF
10516 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10517 _ACEOF
10522 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10523 case "x$with_xcomposite" in
10524 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10525 xno) ;;
10526 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10527 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10528 esac
10532 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10533 #include <X11/Xlib.h>
10534 #endif
10536 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10538 cat >>confdefs.h <<_ACEOF
10539 #define HAVE_XICCALLBACK_CALLBACK 1
10540 _ACEOF
10544 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10545 #include <X11/Xlib.h>
10546 #endif
10548 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10550 cat >>confdefs.h <<_ACEOF
10551 #define HAVE_XEVENT_XCOOKIE 1
10552 _ACEOF
10559 opengl_msg=""
10560 if test "x$with_opengl" != "xno"
10561 then
10562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10563 $as_echo_n "checking for -lGL... " >&6; }
10564 if ${ac_cv_lib_soname_GL+:} false; then :
10565 $as_echo_n "(cached) " >&6
10566 else
10567 ac_check_soname_save_LIBS=$LIBS
10568 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10570 /* end confdefs.h. */
10572 /* Override any GCC internal prototype to avoid an error.
10573 Use char because int might match the return type of a GCC
10574 builtin and then its argument prototype would still apply. */
10575 #ifdef __cplusplus
10576 extern "C"
10577 #endif
10578 char glXCreateContext ();
10580 main ()
10582 return glXCreateContext ();
10584 return 0;
10586 _ACEOF
10587 if ac_fn_c_try_link "$LINENO"; then :
10588 case "$LIBEXT" in
10589 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10590 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'` ;;
10591 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10592 if ${ac_cv_lib_soname_GL:+false} :; then :
10593 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10594 fi ;;
10595 esac
10597 rm -f core conftest.err conftest.$ac_objext \
10598 conftest$ac_exeext conftest.$ac_ext
10599 LIBS=$ac_check_soname_save_LIBS
10601 if ${ac_cv_lib_soname_GL:+false} :; then :
10602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10603 $as_echo "not found" >&6; }
10604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10605 $as_echo_n "checking for -lGL... " >&6; }
10606 if ${ac_cv_lib_soname_GL+:} false; then :
10607 $as_echo_n "(cached) " >&6
10608 else
10609 ac_check_soname_save_LIBS=$LIBS
10610 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"
10611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10612 /* end confdefs.h. */
10614 /* Override any GCC internal prototype to avoid an error.
10615 Use char because int might match the return type of a GCC
10616 builtin and then its argument prototype would still apply. */
10617 #ifdef __cplusplus
10618 extern "C"
10619 #endif
10620 char glXCreateContext ();
10622 main ()
10624 return glXCreateContext ();
10626 return 0;
10628 _ACEOF
10629 if ac_fn_c_try_link "$LINENO"; then :
10630 case "$LIBEXT" in
10631 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10632 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'` ;;
10633 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10634 if ${ac_cv_lib_soname_GL:+false} :; then :
10635 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10636 fi ;;
10637 esac
10639 rm -f core conftest.err conftest.$ac_objext \
10640 conftest$ac_exeext conftest.$ac_ext
10641 LIBS=$ac_check_soname_save_LIBS
10643 if ${ac_cv_lib_soname_GL:+false} :; then :
10644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10645 $as_echo "not found" >&6; }
10646 if test -f /usr/X11R6/lib/libGL.a
10647 then
10648 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10649 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10650 else
10651 opengl_msg="No OpenGL library found on this system."
10653 else
10654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10655 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10657 cat >>confdefs.h <<_ACEOF
10658 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10659 _ACEOF
10661 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"
10663 else
10664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10665 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10667 cat >>confdefs.h <<_ACEOF
10668 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10669 _ACEOF
10671 OPENGL_LIBS="-lGL"
10673 if test "x$with_glu" != "xno"
10674 then
10675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10676 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10677 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10678 $as_echo_n "(cached) " >&6
10679 else
10680 ac_check_lib_save_LIBS=$LIBS
10681 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10683 /* end confdefs.h. */
10685 /* Override any GCC internal prototype to avoid an error.
10686 Use char because int might match the return type of a GCC
10687 builtin and then its argument prototype would still apply. */
10688 #ifdef __cplusplus
10689 extern "C"
10690 #endif
10691 char gluLookAt ();
10693 main ()
10695 return gluLookAt ();
10697 return 0;
10699 _ACEOF
10700 if ac_fn_c_try_link "$LINENO"; then :
10701 ac_cv_lib_GLU_gluLookAt=yes
10702 else
10703 ac_cv_lib_GLU_gluLookAt=no
10705 rm -f core conftest.err conftest.$ac_objext \
10706 conftest$ac_exeext conftest.$ac_ext
10707 LIBS=$ac_check_lib_save_LIBS
10709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10710 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10711 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10715 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10716 case "x$with_glu" in
10717 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10718 xno) ;;
10719 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10720 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10721 esac
10726 if test "x$with_osmesa" != "xno"
10727 then
10728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10729 $as_echo_n "checking for -lOSMesa... " >&6; }
10730 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10731 $as_echo_n "(cached) " >&6
10732 else
10733 ac_check_soname_save_LIBS=$LIBS
10734 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10736 /* end confdefs.h. */
10738 /* Override any GCC internal prototype to avoid an error.
10739 Use char because int might match the return type of a GCC
10740 builtin and then its argument prototype would still apply. */
10741 #ifdef __cplusplus
10742 extern "C"
10743 #endif
10744 char glAccum ();
10746 main ()
10748 return glAccum ();
10750 return 0;
10752 _ACEOF
10753 if ac_fn_c_try_link "$LINENO"; then :
10754 case "$LIBEXT" in
10755 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10756 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'` ;;
10757 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10758 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10759 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10760 fi ;;
10761 esac
10763 rm -f core conftest.err conftest.$ac_objext \
10764 conftest$ac_exeext conftest.$ac_ext
10765 LIBS=$ac_check_soname_save_LIBS
10767 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10769 $as_echo "not found" >&6; }
10771 else
10772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10773 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10775 cat >>confdefs.h <<_ACEOF
10776 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10777 _ACEOF
10781 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10782 case "x$with_osmesa" in
10783 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10784 xno) ;;
10785 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10786 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10787 esac
10792 if test -n "$opengl_msg"; then :
10793 case "x$with_opengl" in
10794 x) as_fn_append wine_warnings "|$opengl_msg
10795 OpenGL and Direct3D won't be supported." ;;
10796 xno) ;;
10797 *) as_fn_error $? "$opengl_msg
10798 OpenGL and Direct3D won't be supported.
10799 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10800 esac
10804 CPPFLAGS="$ac_save_CPPFLAGS"
10805 else
10806 X_CFLAGS=""
10807 X_LIBS=""
10809 if test "x$X_LIBS" = "x"; then :
10810 case "x$with_x" in
10811 xno) ;;
10812 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10813 without X support, which probably isn't what you want. You will need
10814 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10815 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10816 esac
10817 enable_winex11_drv=${enable_winex11_drv:-no}
10820 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10822 if test "$ac_cv_header_CL_cl_h" = "yes"
10823 then
10824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10825 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10826 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10827 $as_echo_n "(cached) " >&6
10828 else
10829 ac_check_lib_save_LIBS=$LIBS
10830 LIBS="-lOpenCL $LIBS"
10831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10832 /* end confdefs.h. */
10834 /* Override any GCC internal prototype to avoid an error.
10835 Use char because int might match the return type of a GCC
10836 builtin and then its argument prototype would still apply. */
10837 #ifdef __cplusplus
10838 extern "C"
10839 #endif
10840 char clGetPlatformInfo ();
10842 main ()
10844 return clGetPlatformInfo ();
10846 return 0;
10848 _ACEOF
10849 if ac_fn_c_try_link "$LINENO"; then :
10850 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10851 else
10852 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10854 rm -f core conftest.err conftest.$ac_objext \
10855 conftest$ac_exeext conftest.$ac_ext
10856 LIBS=$ac_check_lib_save_LIBS
10858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10859 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10860 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10861 OPENCL_LIBS="-lOpenCL"
10866 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10867 case "x$with_opencl" in
10868 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10869 xno) ;;
10870 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10871 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10872 esac
10873 enable_opencl=${enable_opencl:-no}
10876 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10877 then
10878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10879 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10880 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10881 $as_echo_n "(cached) " >&6
10882 else
10883 ac_check_lib_save_LIBS=$LIBS
10884 LIBS="-lpcap $LIBS"
10885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10886 /* end confdefs.h. */
10888 /* Override any GCC internal prototype to avoid an error.
10889 Use char because int might match the return type of a GCC
10890 builtin and then its argument prototype would still apply. */
10891 #ifdef __cplusplus
10892 extern "C"
10893 #endif
10894 char pcap_create ();
10896 main ()
10898 return pcap_create ();
10900 return 0;
10902 _ACEOF
10903 if ac_fn_c_try_link "$LINENO"; then :
10904 ac_cv_lib_pcap_pcap_create=yes
10905 else
10906 ac_cv_lib_pcap_pcap_create=no
10908 rm -f core conftest.err conftest.$ac_objext \
10909 conftest$ac_exeext conftest.$ac_ext
10910 LIBS=$ac_check_lib_save_LIBS
10912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10913 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10914 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10915 PCAP_LIBS="-lpcap"
10920 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10921 case "x$with_pcap" in
10922 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10923 xno) ;;
10924 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10925 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10926 esac
10927 enable_wpcap=${enable_wpcap:-no}
10931 if test "x$with_xml" != "xno"
10932 then
10933 if ${XML2_CFLAGS:+false} :; then :
10934 if ${PKG_CONFIG+:} false; then :
10935 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10938 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
10939 if ${XML2_LIBS:+false} :; then :
10940 if ${PKG_CONFIG+:} false; then :
10941 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10944 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
10945 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10946 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10947 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10948 ac_save_CPPFLAGS=$CPPFLAGS
10949 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10950 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10951 do :
10952 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10953 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10954 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10955 cat >>confdefs.h <<_ACEOF
10956 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10957 _ACEOF
10961 done
10963 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"
10964 then
10965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10966 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10967 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10968 $as_echo_n "(cached) " >&6
10969 else
10970 ac_check_lib_save_LIBS=$LIBS
10971 LIBS="-lxml2 $XML2_LIBS $LIBS"
10972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10973 /* end confdefs.h. */
10975 /* Override any GCC internal prototype to avoid an error.
10976 Use char because int might match the return type of a GCC
10977 builtin and then its argument prototype would still apply. */
10978 #ifdef __cplusplus
10979 extern "C"
10980 #endif
10981 char xmlParseMemory ();
10983 main ()
10985 return xmlParseMemory ();
10987 return 0;
10989 _ACEOF
10990 if ac_fn_c_try_link "$LINENO"; then :
10991 ac_cv_lib_xml2_xmlParseMemory=yes
10992 else
10993 ac_cv_lib_xml2_xmlParseMemory=no
10995 rm -f core conftest.err conftest.$ac_objext \
10996 conftest$ac_exeext conftest.$ac_ext
10997 LIBS=$ac_check_lib_save_LIBS
10999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11000 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11001 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11003 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11005 else
11006 XML2_LIBS=""
11009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11010 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11011 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11012 $as_echo_n "(cached) " >&6
11013 else
11014 ac_check_lib_save_LIBS=$LIBS
11015 LIBS="-lxml2 $XML2_LIBS $LIBS"
11016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11017 /* end confdefs.h. */
11019 /* Override any GCC internal prototype to avoid an error.
11020 Use char because int might match the return type of a GCC
11021 builtin and then its argument prototype would still apply. */
11022 #ifdef __cplusplus
11023 extern "C"
11024 #endif
11025 char xmlReadMemory ();
11027 main ()
11029 return xmlReadMemory ();
11031 return 0;
11033 _ACEOF
11034 if ac_fn_c_try_link "$LINENO"; then :
11035 ac_cv_lib_xml2_xmlReadMemory=yes
11036 else
11037 ac_cv_lib_xml2_xmlReadMemory=no
11039 rm -f core conftest.err conftest.$ac_objext \
11040 conftest$ac_exeext conftest.$ac_ext
11041 LIBS=$ac_check_lib_save_LIBS
11043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11044 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11045 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11047 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11052 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11053 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11054 $as_echo_n "(cached) " >&6
11055 else
11056 ac_check_lib_save_LIBS=$LIBS
11057 LIBS="-lxml2 $XML2_LIBS $LIBS"
11058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11059 /* end confdefs.h. */
11061 /* Override any GCC internal prototype to avoid an error.
11062 Use char because int might match the return type of a GCC
11063 builtin and then its argument prototype would still apply. */
11064 #ifdef __cplusplus
11065 extern "C"
11066 #endif
11067 char xmlNewDocPI ();
11069 main ()
11071 return xmlNewDocPI ();
11073 return 0;
11075 _ACEOF
11076 if ac_fn_c_try_link "$LINENO"; then :
11077 ac_cv_lib_xml2_xmlNewDocPI=yes
11078 else
11079 ac_cv_lib_xml2_xmlNewDocPI=no
11081 rm -f core conftest.err conftest.$ac_objext \
11082 conftest$ac_exeext conftest.$ac_ext
11083 LIBS=$ac_check_lib_save_LIBS
11085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11086 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11087 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11089 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11094 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11095 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11096 $as_echo_n "(cached) " >&6
11097 else
11098 ac_check_lib_save_LIBS=$LIBS
11099 LIBS="-lxml2 $XML2_LIBS $LIBS"
11100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11101 /* end confdefs.h. */
11103 /* Override any GCC internal prototype to avoid an error.
11104 Use char because int might match the return type of a GCC
11105 builtin and then its argument prototype would still apply. */
11106 #ifdef __cplusplus
11107 extern "C"
11108 #endif
11109 char xmlSchemaSetParserStructuredErrors ();
11111 main ()
11113 return xmlSchemaSetParserStructuredErrors ();
11115 return 0;
11117 _ACEOF
11118 if ac_fn_c_try_link "$LINENO"; then :
11119 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11120 else
11121 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11123 rm -f core conftest.err conftest.$ac_objext \
11124 conftest$ac_exeext conftest.$ac_ext
11125 LIBS=$ac_check_lib_save_LIBS
11127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11128 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11129 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11131 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11136 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11137 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11138 $as_echo_n "(cached) " >&6
11139 else
11140 ac_check_lib_save_LIBS=$LIBS
11141 LIBS="-lxml2 $XML2_LIBS $LIBS"
11142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11143 /* end confdefs.h. */
11145 /* Override any GCC internal prototype to avoid an error.
11146 Use char because int might match the return type of a GCC
11147 builtin and then its argument prototype would still apply. */
11148 #ifdef __cplusplus
11149 extern "C"
11150 #endif
11151 char xmlSchemaSetValidStructuredErrors ();
11153 main ()
11155 return xmlSchemaSetValidStructuredErrors ();
11157 return 0;
11159 _ACEOF
11160 if ac_fn_c_try_link "$LINENO"; then :
11161 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11162 else
11163 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11165 rm -f core conftest.err conftest.$ac_objext \
11166 conftest$ac_exeext conftest.$ac_ext
11167 LIBS=$ac_check_lib_save_LIBS
11169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11170 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11171 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11173 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11178 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11179 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11180 $as_echo_n "(cached) " >&6
11181 else
11182 ac_check_lib_save_LIBS=$LIBS
11183 LIBS="-lxml2 $XML2_LIBS $LIBS"
11184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11185 /* end confdefs.h. */
11187 /* Override any GCC internal prototype to avoid an error.
11188 Use char because int might match the return type of a GCC
11189 builtin and then its argument prototype would still apply. */
11190 #ifdef __cplusplus
11191 extern "C"
11192 #endif
11193 char xmlFirstElementChild ();
11195 main ()
11197 return xmlFirstElementChild ();
11199 return 0;
11201 _ACEOF
11202 if ac_fn_c_try_link "$LINENO"; then :
11203 ac_cv_lib_xml2_xmlFirstElementChild=yes
11204 else
11205 ac_cv_lib_xml2_xmlFirstElementChild=no
11207 rm -f core conftest.err conftest.$ac_objext \
11208 conftest$ac_exeext conftest.$ac_ext
11209 LIBS=$ac_check_lib_save_LIBS
11211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11212 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11213 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11215 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11219 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11221 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11223 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11227 else
11228 XML2_CFLAGS=""
11229 XML2_LIBS=""
11231 CPPFLAGS=$ac_save_CPPFLAGS
11232 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11233 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11236 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11237 case "x$with_xml" in
11238 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11239 xno) ;;
11240 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11241 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11242 esac
11246 if test "x$with_xslt" != "xno"
11247 then
11248 if ${XSLT_CFLAGS:+false} :; then :
11249 if ${PKG_CONFIG+:} false; then :
11250 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11253 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11254 if ${XSLT_LIBS:+false} :; then :
11255 if ${PKG_CONFIG+:} false; then :
11256 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11259 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11260 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11261 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11262 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11263 ac_save_CPPFLAGS=$CPPFLAGS
11264 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11265 for ac_header in libxslt/pattern.h libxslt/transform.h
11266 do :
11267 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11268 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11269 # include <libxslt/pattern.h>
11270 #endif
11272 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11273 cat >>confdefs.h <<_ACEOF
11274 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11275 _ACEOF
11279 done
11281 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11282 then
11283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11284 $as_echo_n "checking for -lxslt... " >&6; }
11285 if ${ac_cv_lib_soname_xslt+:} false; then :
11286 $as_echo_n "(cached) " >&6
11287 else
11288 ac_check_soname_save_LIBS=$LIBS
11289 LIBS="-lxslt $XSLT_LIBS $LIBS"
11290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11291 /* end confdefs.h. */
11293 /* Override any GCC internal prototype to avoid an error.
11294 Use char because int might match the return type of a GCC
11295 builtin and then its argument prototype would still apply. */
11296 #ifdef __cplusplus
11297 extern "C"
11298 #endif
11299 char xsltCompilePattern ();
11301 main ()
11303 return xsltCompilePattern ();
11305 return 0;
11307 _ACEOF
11308 if ac_fn_c_try_link "$LINENO"; then :
11309 case "$LIBEXT" in
11310 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11311 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'` ;;
11312 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11313 if ${ac_cv_lib_soname_xslt:+false} :; then :
11314 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11315 fi ;;
11316 esac
11318 rm -f core conftest.err conftest.$ac_objext \
11319 conftest$ac_exeext conftest.$ac_ext
11320 LIBS=$ac_check_soname_save_LIBS
11322 if ${ac_cv_lib_soname_xslt:+false} :; then :
11323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11324 $as_echo "not found" >&6; }
11326 else
11327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11328 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11330 cat >>confdefs.h <<_ACEOF
11331 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11332 _ACEOF
11336 else
11337 XSLT_CFLAGS=""
11339 CPPFLAGS=$ac_save_CPPFLAGS
11340 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11341 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11344 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11345 case "x$with_xslt" in
11346 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11347 xno) ;;
11348 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11349 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11350 esac
11354 if test "x$with_dbus" != "xno"
11355 then
11356 if ${DBUS_CFLAGS:+false} :; then :
11357 if ${PKG_CONFIG+:} false; then :
11358 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11362 if ${DBUS_LIBS:+false} :; then :
11363 if ${PKG_CONFIG+:} false; then :
11364 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11369 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11370 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11371 ac_save_CPPFLAGS=$CPPFLAGS
11372 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11373 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11374 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11376 $as_echo_n "checking for -ldbus-1... " >&6; }
11377 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11378 $as_echo_n "(cached) " >&6
11379 else
11380 ac_check_soname_save_LIBS=$LIBS
11381 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11383 /* end confdefs.h. */
11385 /* Override any GCC internal prototype to avoid an error.
11386 Use char because int might match the return type of a GCC
11387 builtin and then its argument prototype would still apply. */
11388 #ifdef __cplusplus
11389 extern "C"
11390 #endif
11391 char dbus_connection_close ();
11393 main ()
11395 return dbus_connection_close ();
11397 return 0;
11399 _ACEOF
11400 if ac_fn_c_try_link "$LINENO"; then :
11401 case "$LIBEXT" in
11402 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11403 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'` ;;
11404 *) 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'`
11405 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11406 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11407 fi ;;
11408 esac
11410 rm -f core conftest.err conftest.$ac_objext \
11411 conftest$ac_exeext conftest.$ac_ext
11412 LIBS=$ac_check_soname_save_LIBS
11414 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11416 $as_echo "not found" >&6; }
11417 DBUS_CFLAGS=""
11418 else
11419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11420 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11422 cat >>confdefs.h <<_ACEOF
11423 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11424 _ACEOF
11428 else
11429 DBUS_CFLAGS=""
11433 CPPFLAGS=$ac_save_CPPFLAGS
11434 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11435 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11438 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11439 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11440 case "x$with_dbus" in
11441 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11442 xno) ;;
11443 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11444 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11445 esac
11449 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11450 then
11451 if ${HAL_CFLAGS:+false} :; then :
11452 if ${PKG_CONFIG+:} false; then :
11453 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11457 if ${HAL_LIBS:+false} :; then :
11458 if ${PKG_CONFIG+:} false; then :
11459 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11463 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11464 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11465 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11466 ac_save_CPPFLAGS=$CPPFLAGS
11467 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11468 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11469 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11471 $as_echo_n "checking for -lhal... " >&6; }
11472 if ${ac_cv_lib_soname_hal+:} false; then :
11473 $as_echo_n "(cached) " >&6
11474 else
11475 ac_check_soname_save_LIBS=$LIBS
11476 LIBS="-lhal $HAL_LIBS $LIBS"
11477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11478 /* end confdefs.h. */
11480 /* Override any GCC internal prototype to avoid an error.
11481 Use char because int might match the return type of a GCC
11482 builtin and then its argument prototype would still apply. */
11483 #ifdef __cplusplus
11484 extern "C"
11485 #endif
11486 char libhal_ctx_new ();
11488 main ()
11490 return libhal_ctx_new ();
11492 return 0;
11494 _ACEOF
11495 if ac_fn_c_try_link "$LINENO"; then :
11496 case "$LIBEXT" in
11497 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11498 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'` ;;
11499 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11500 if ${ac_cv_lib_soname_hal:+false} :; then :
11501 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11502 fi ;;
11503 esac
11505 rm -f core conftest.err conftest.$ac_objext \
11506 conftest$ac_exeext conftest.$ac_ext
11507 LIBS=$ac_check_soname_save_LIBS
11509 if ${ac_cv_lib_soname_hal:+false} :; then :
11510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11511 $as_echo "not found" >&6; }
11512 HAL_CFLAGS=""
11513 else
11514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11515 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11517 cat >>confdefs.h <<_ACEOF
11518 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11519 _ACEOF
11523 else
11524 HAL_CFLAGS=""
11528 CPPFLAGS=$ac_save_CPPFLAGS
11529 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11530 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11532 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11533 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11534 case "x$with_hal" in
11535 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11536 xno) ;;
11537 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11538 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11539 esac
11544 if test "x$with_gnutls" != "xno"
11545 then
11546 if ${GNUTLS_CFLAGS:+false} :; then :
11547 if ${PKG_CONFIG+:} false; then :
11548 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11552 if ${GNUTLS_LIBS:+false} :; then :
11553 if ${PKG_CONFIG+:} false; then :
11554 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11559 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11560 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11561 ac_save_CPPFLAGS=$CPPFLAGS
11562 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11563 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11564 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11566 /* end confdefs.h. */
11567 #include <gnutls/gnutls.h>
11568 #include <gnutls/crypto.h>
11570 main ()
11572 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11574 return 0;
11576 _ACEOF
11577 if ac_fn_c_try_compile "$LINENO"; then :
11578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11579 $as_echo_n "checking for -lgnutls... " >&6; }
11580 if ${ac_cv_lib_soname_gnutls+:} false; then :
11581 $as_echo_n "(cached) " >&6
11582 else
11583 ac_check_soname_save_LIBS=$LIBS
11584 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11586 /* end confdefs.h. */
11588 /* Override any GCC internal prototype to avoid an error.
11589 Use char because int might match the return type of a GCC
11590 builtin and then its argument prototype would still apply. */
11591 #ifdef __cplusplus
11592 extern "C"
11593 #endif
11594 char gnutls_global_init ();
11596 main ()
11598 return gnutls_global_init ();
11600 return 0;
11602 _ACEOF
11603 if ac_fn_c_try_link "$LINENO"; then :
11604 case "$LIBEXT" in
11605 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11606 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'` ;;
11607 *) 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'`
11608 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11609 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'`
11610 fi ;;
11611 esac
11613 rm -f core conftest.err conftest.$ac_objext \
11614 conftest$ac_exeext conftest.$ac_ext
11615 LIBS=$ac_check_soname_save_LIBS
11617 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11619 $as_echo "not found" >&6; }
11620 GNUTLS_CFLAGS=""
11621 else
11622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11623 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11625 cat >>confdefs.h <<_ACEOF
11626 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11627 _ACEOF
11631 ac_wine_check_funcs_save_LIBS="$LIBS"
11632 LIBS="$LIBS $GNUTLS_LIBS"
11633 for ac_func in gnutls_hash
11634 do :
11635 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11636 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11637 cat >>confdefs.h <<_ACEOF
11638 #define HAVE_GNUTLS_HASH 1
11639 _ACEOF
11641 else
11642 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11644 done
11646 LIBS="$ac_wine_check_funcs_save_LIBS"
11648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11649 else
11650 GNUTLS_CFLAGS=""
11654 CPPFLAGS=$ac_save_CPPFLAGS
11655 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11656 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11659 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11660 case "x$with_gnutls" in
11661 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11662 xno) ;;
11663 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11664 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11665 esac
11669 CURSES_LIBS=""
11670 if test "$ac_cv_header_ncurses_h" = "yes"
11671 then
11672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11673 $as_echo_n "checking for -lncurses... " >&6; }
11674 if ${ac_cv_lib_soname_ncurses+:} false; then :
11675 $as_echo_n "(cached) " >&6
11676 else
11677 ac_check_soname_save_LIBS=$LIBS
11678 LIBS="-lncurses $LIBS"
11679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11680 /* end confdefs.h. */
11682 /* Override any GCC internal prototype to avoid an error.
11683 Use char because int might match the return type of a GCC
11684 builtin and then its argument prototype would still apply. */
11685 #ifdef __cplusplus
11686 extern "C"
11687 #endif
11688 char waddch ();
11690 main ()
11692 return waddch ();
11694 return 0;
11696 _ACEOF
11697 if ac_fn_c_try_link "$LINENO"; then :
11698 case "$LIBEXT" in
11699 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11700 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'` ;;
11701 *) 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'`
11702 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11703 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11704 fi ;;
11705 esac
11707 rm -f core conftest.err conftest.$ac_objext \
11708 conftest$ac_exeext conftest.$ac_ext
11709 LIBS=$ac_check_soname_save_LIBS
11711 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11713 $as_echo "not found" >&6; }
11715 else
11716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11717 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11719 cat >>confdefs.h <<_ACEOF
11720 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11721 _ACEOF
11723 CURSES_LIBS="-lncurses"
11725 elif test "$ac_cv_header_curses_h" = "yes"
11726 then
11727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11728 $as_echo_n "checking for -lcurses... " >&6; }
11729 if ${ac_cv_lib_soname_curses+:} false; then :
11730 $as_echo_n "(cached) " >&6
11731 else
11732 ac_check_soname_save_LIBS=$LIBS
11733 LIBS="-lcurses $LIBS"
11734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11735 /* end confdefs.h. */
11737 /* Override any GCC internal prototype to avoid an error.
11738 Use char because int might match the return type of a GCC
11739 builtin and then its argument prototype would still apply. */
11740 #ifdef __cplusplus
11741 extern "C"
11742 #endif
11743 char waddch ();
11745 main ()
11747 return waddch ();
11749 return 0;
11751 _ACEOF
11752 if ac_fn_c_try_link "$LINENO"; then :
11753 case "$LIBEXT" in
11754 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11755 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'` ;;
11756 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11757 if ${ac_cv_lib_soname_curses:+false} :; then :
11758 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11759 fi ;;
11760 esac
11762 rm -f core conftest.err conftest.$ac_objext \
11763 conftest$ac_exeext conftest.$ac_ext
11764 LIBS=$ac_check_soname_save_LIBS
11766 if ${ac_cv_lib_soname_curses:+false} :; then :
11767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11768 $as_echo "not found" >&6; }
11770 else
11771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11772 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11774 cat >>confdefs.h <<_ACEOF
11775 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11776 _ACEOF
11778 CURSES_LIBS="-lcurses"
11781 ac_save_LIBS="$LIBS"
11782 LIBS="$LIBS $CURSES_LIBS"
11783 for ac_func in mousemask
11784 do :
11785 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11786 if test "x$ac_cv_func_mousemask" = xyes; then :
11787 cat >>confdefs.h <<_ACEOF
11788 #define HAVE_MOUSEMASK 1
11789 _ACEOF
11792 done
11794 LIBS="$ac_save_LIBS"
11795 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11796 case "x$with_curses" in
11797 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11798 xno) ;;
11799 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11800 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11801 esac
11805 if test "x$with_sane" != "xno"
11806 then
11807 if ${SANE_CFLAGS:+false} :; then :
11808 if ${PKG_CONFIG+:} false; then :
11809 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11812 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11813 if ${SANE_LIBS:+false} :; then :
11814 if ${PKG_CONFIG+:} false; then :
11815 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11818 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11820 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11821 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11822 ac_save_CPPFLAGS=$CPPFLAGS
11823 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11824 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11825 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11827 $as_echo_n "checking for -lsane... " >&6; }
11828 if ${ac_cv_lib_soname_sane+:} false; then :
11829 $as_echo_n "(cached) " >&6
11830 else
11831 ac_check_soname_save_LIBS=$LIBS
11832 LIBS="-lsane $SANE_LIBS $LIBS"
11833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11834 /* end confdefs.h. */
11836 /* Override any GCC internal prototype to avoid an error.
11837 Use char because int might match the return type of a GCC
11838 builtin and then its argument prototype would still apply. */
11839 #ifdef __cplusplus
11840 extern "C"
11841 #endif
11842 char sane_init ();
11844 main ()
11846 return sane_init ();
11848 return 0;
11850 _ACEOF
11851 if ac_fn_c_try_link "$LINENO"; then :
11852 case "$LIBEXT" in
11853 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11854 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'` ;;
11855 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11856 if ${ac_cv_lib_soname_sane:+false} :; then :
11857 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11858 fi ;;
11859 esac
11861 rm -f core conftest.err conftest.$ac_objext \
11862 conftest$ac_exeext conftest.$ac_ext
11863 LIBS=$ac_check_soname_save_LIBS
11865 if ${ac_cv_lib_soname_sane:+false} :; then :
11866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11867 $as_echo "not found" >&6; }
11868 SANE_CFLAGS=""
11869 else
11870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11871 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11873 cat >>confdefs.h <<_ACEOF
11874 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11875 _ACEOF
11879 else
11880 SANE_CFLAGS=""
11884 CPPFLAGS=$ac_save_CPPFLAGS
11885 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11886 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11889 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11890 case "x$with_sane" in
11891 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11892 xno) ;;
11893 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11894 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11895 esac
11899 if test "x$with_v4l" != "xno"
11900 then
11901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11902 $as_echo_n "checking for -lv4l1... " >&6; }
11903 if ${ac_cv_lib_soname_v4l1+:} false; then :
11904 $as_echo_n "(cached) " >&6
11905 else
11906 ac_check_soname_save_LIBS=$LIBS
11907 LIBS="-lv4l1 $LIBS"
11908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11909 /* end confdefs.h. */
11911 /* Override any GCC internal prototype to avoid an error.
11912 Use char because int might match the return type of a GCC
11913 builtin and then its argument prototype would still apply. */
11914 #ifdef __cplusplus
11915 extern "C"
11916 #endif
11917 char v4l1_open ();
11919 main ()
11921 return v4l1_open ();
11923 return 0;
11925 _ACEOF
11926 if ac_fn_c_try_link "$LINENO"; then :
11927 case "$LIBEXT" in
11928 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11929 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'` ;;
11930 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11931 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11932 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11933 fi ;;
11934 esac
11936 rm -f core conftest.err conftest.$ac_objext \
11937 conftest$ac_exeext conftest.$ac_ext
11938 LIBS=$ac_check_soname_save_LIBS
11940 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11942 $as_echo "not found" >&6; }
11944 else
11945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11946 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11948 cat >>confdefs.h <<_ACEOF
11949 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11950 _ACEOF
11955 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11956 case "x$with_v4l" in
11957 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11958 xno) ;;
11959 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11960 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11961 esac
11965 if test "x$with_gphoto" != "xno"
11966 then
11967 if ${GPHOTO2_CFLAGS:+false} :; then :
11968 if ${PKG_CONFIG+:} false; then :
11969 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11972 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
11973 if ${GPHOTO2_LIBS:+false} :; then :
11974 if ${PKG_CONFIG+:} false; then :
11975 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11978 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
11979 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11980 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11981 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11982 ac_save_CPPFLAGS=$CPPFLAGS
11983 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11984 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11985 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11987 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11988 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11989 $as_echo_n "(cached) " >&6
11990 else
11991 ac_check_lib_save_LIBS=$LIBS
11992 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11994 /* end confdefs.h. */
11996 /* Override any GCC internal prototype to avoid an error.
11997 Use char because int might match the return type of a GCC
11998 builtin and then its argument prototype would still apply. */
11999 #ifdef __cplusplus
12000 extern "C"
12001 #endif
12002 char gp_camera_new ();
12004 main ()
12006 return gp_camera_new ();
12008 return 0;
12010 _ACEOF
12011 if ac_fn_c_try_link "$LINENO"; then :
12012 ac_cv_lib_gphoto2_gp_camera_new=yes
12013 else
12014 ac_cv_lib_gphoto2_gp_camera_new=no
12016 rm -f core conftest.err conftest.$ac_objext \
12017 conftest$ac_exeext conftest.$ac_ext
12018 LIBS=$ac_check_lib_save_LIBS
12020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12021 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12022 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12024 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12026 else
12027 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12030 else
12031 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12035 CPPFLAGS=$ac_save_CPPFLAGS
12036 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12037 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12039 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12040 if ${PKG_CONFIG+:} false; then :
12041 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12044 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12045 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12046 if ${PKG_CONFIG+:} false; then :
12047 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12050 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12051 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12052 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12053 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12054 ac_save_CPPFLAGS=$CPPFLAGS
12055 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12056 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12057 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12059 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12060 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12061 $as_echo_n "(cached) " >&6
12062 else
12063 ac_check_lib_save_LIBS=$LIBS
12064 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12066 /* end confdefs.h. */
12068 /* Override any GCC internal prototype to avoid an error.
12069 Use char because int might match the return type of a GCC
12070 builtin and then its argument prototype would still apply. */
12071 #ifdef __cplusplus
12072 extern "C"
12073 #endif
12074 char gp_port_info_list_new ();
12076 main ()
12078 return gp_port_info_list_new ();
12080 return 0;
12082 _ACEOF
12083 if ac_fn_c_try_link "$LINENO"; then :
12084 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12085 else
12086 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12088 rm -f core conftest.err conftest.$ac_objext \
12089 conftest$ac_exeext conftest.$ac_ext
12090 LIBS=$ac_check_lib_save_LIBS
12092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12093 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12094 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12096 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12098 else
12099 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12102 else
12103 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12107 CPPFLAGS=$ac_save_CPPFLAGS
12108 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12109 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12112 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12113 case "x$with_gphoto" in
12114 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12115 xno) ;;
12116 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12117 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12118 esac
12121 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12122 case "x$with_gphoto" in
12123 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12124 xno) ;;
12125 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12126 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12127 esac
12132 if test "$ac_cv_header_resolv_h" = "yes"
12133 then
12134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12135 $as_echo_n "checking for resolver library... " >&6; }
12136 if ${ac_cv_have_resolv+:} false; then :
12137 $as_echo_n "(cached) " >&6
12138 else
12139 ac_save_LIBS="$LIBS"
12140 for lib in '' -lresolv
12142 LIBS="$lib $ac_save_LIBS"
12143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12144 /* end confdefs.h. */
12145 #ifdef HAVE_NETINET_IN_H
12146 #include <netinet/in.h>
12147 #endif
12148 #include <resolv.h>
12150 main ()
12152 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12154 return 0;
12156 _ACEOF
12157 if ac_fn_c_try_link "$LINENO"; then :
12158 ac_cv_have_resolv=${lib:-"none required"}
12159 else
12160 ac_cv_have_resolv="not found"
12162 rm -f core conftest.err conftest.$ac_objext \
12163 conftest$ac_exeext conftest.$ac_ext
12164 test "x$ac_cv_have_resolv" = "xnot found" || break
12165 done
12166 LIBS="$ac_save_LIBS"
12168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12169 $as_echo "$ac_cv_have_resolv" >&6; }
12171 case "$ac_cv_have_resolv" in
12172 "not found") ;;
12173 "none required")
12175 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12178 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12180 RESOLV_LIBS=$ac_cv_have_resolv
12182 esac
12185 if test "x$with_cms" != "xno"
12186 then
12187 if ${LCMS2_CFLAGS:+false} :; then :
12188 if ${PKG_CONFIG+:} false; then :
12189 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12193 if ${LCMS2_LIBS:+false} :; then :
12194 if ${PKG_CONFIG+:} false; then :
12195 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12199 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12200 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12201 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12202 ac_save_CPPFLAGS=$CPPFLAGS
12203 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12204 for ac_header in lcms2.h
12205 do :
12206 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12207 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12208 cat >>confdefs.h <<_ACEOF
12209 #define HAVE_LCMS2_H 1
12210 _ACEOF
12214 done
12216 if test "$ac_cv_header_lcms2_h" = "yes"
12217 then
12218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12219 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12220 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12221 $as_echo_n "(cached) " >&6
12222 else
12223 ac_check_lib_save_LIBS=$LIBS
12224 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12226 /* end confdefs.h. */
12228 /* Override any GCC internal prototype to avoid an error.
12229 Use char because int might match the return type of a GCC
12230 builtin and then its argument prototype would still apply. */
12231 #ifdef __cplusplus
12232 extern "C"
12233 #endif
12234 char cmsOpenProfileFromFile ();
12236 main ()
12238 return cmsOpenProfileFromFile ();
12240 return 0;
12242 _ACEOF
12243 if ac_fn_c_try_link "$LINENO"; then :
12244 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12245 else
12246 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12248 rm -f core conftest.err conftest.$ac_objext \
12249 conftest$ac_exeext conftest.$ac_ext
12250 LIBS=$ac_check_lib_save_LIBS
12252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12253 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12254 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12256 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12258 else
12259 LCMS2_LIBS=""
12262 else
12263 LCMS2_CFLAGS=""
12264 LCMS2_LIBS=""
12266 CPPFLAGS=$ac_save_CPPFLAGS
12267 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12268 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12271 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12272 case "x$with_cms" in
12273 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12274 xno) ;;
12275 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12276 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12277 esac
12281 if test "x$with_freetype" != "xno"
12282 then
12283 if ${FREETYPE_CFLAGS:+false} :; then :
12284 if ${PKG_CONFIG+:} false; then :
12285 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12288 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12289 if ${FREETYPE_LIBS:+false} :; then :
12290 if ${PKG_CONFIG+:} false; then :
12291 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12294 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12295 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12296 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12297 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12298 ac_save_CPPFLAGS=$CPPFLAGS
12299 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12300 for ac_header in ft2build.h
12301 do :
12302 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12303 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12304 cat >>confdefs.h <<_ACEOF
12305 #define HAVE_FT2BUILD_H 1
12306 _ACEOF
12310 done
12312 if test "$ac_cv_header_ft2build_h" = "yes"
12313 then
12314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12315 $as_echo_n "checking for -lfreetype... " >&6; }
12316 if ${ac_cv_lib_soname_freetype+:} false; then :
12317 $as_echo_n "(cached) " >&6
12318 else
12319 ac_check_soname_save_LIBS=$LIBS
12320 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12322 /* end confdefs.h. */
12324 /* Override any GCC internal prototype to avoid an error.
12325 Use char because int might match the return type of a GCC
12326 builtin and then its argument prototype would still apply. */
12327 #ifdef __cplusplus
12328 extern "C"
12329 #endif
12330 char FT_Init_FreeType ();
12332 main ()
12334 return FT_Init_FreeType ();
12336 return 0;
12338 _ACEOF
12339 if ac_fn_c_try_link "$LINENO"; then :
12340 case "$LIBEXT" in
12341 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12342 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'` ;;
12343 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12344 if ${ac_cv_lib_soname_freetype:+false} :; then :
12345 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12346 fi ;;
12347 esac
12349 rm -f core conftest.err conftest.$ac_objext \
12350 conftest$ac_exeext conftest.$ac_ext
12351 LIBS=$ac_check_soname_save_LIBS
12353 if ${ac_cv_lib_soname_freetype:+false} :; then :
12354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12355 $as_echo "not found" >&6; }
12356 FREETYPE_LIBS=""
12357 else
12358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12359 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12361 cat >>confdefs.h <<_ACEOF
12362 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12363 _ACEOF
12366 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12368 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12369 #include FT_MODULE_H
12371 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12373 cat >>confdefs.h <<_ACEOF
12374 #define HAVE_FT_TRUETYPEENGINETYPE 1
12375 _ACEOF
12381 else
12382 FREETYPE_CFLAGS=""
12383 FREETYPE_LIBS=""
12385 CPPFLAGS=$ac_save_CPPFLAGS
12386 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12387 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12390 if test "x$ac_cv_lib_soname_freetype" = x; then :
12391 case "x$with_freetype" in
12392 xno) ;;
12393 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12394 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12395 esac
12396 enable_fonts=${enable_fonts:-no}
12399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12400 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12401 if ${ac_cv_c_ppdev+:} false; then :
12402 $as_echo_n "(cached) " >&6
12403 else
12404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12405 /* end confdefs.h. */
12406 #ifdef HAVE_SYS_IOCTL_H
12407 # include <sys/ioctl.h>
12408 #endif
12409 #include <linux/ppdev.h>
12411 main ()
12413 ioctl (1,PPCLAIM,0)
12415 return 0;
12417 _ACEOF
12418 if ac_fn_c_try_compile "$LINENO"; then :
12419 ac_cv_c_ppdev="yes"
12420 else
12421 ac_cv_c_ppdev="no"
12423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12426 $as_echo "$ac_cv_c_ppdev" >&6; }
12427 if test "$ac_cv_c_ppdev" = "yes"
12428 then
12430 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12434 ac_wine_check_funcs_save_LIBS="$LIBS"
12435 LIBS="$LIBS $PTHREAD_LIBS"
12436 for ac_func in \
12437 pthread_attr_get_np \
12438 pthread_getattr_np \
12439 pthread_getthreadid_np \
12440 pthread_get_stackaddr_np \
12441 pthread_get_stacksize_np
12442 do :
12443 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12444 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12445 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12446 cat >>confdefs.h <<_ACEOF
12447 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12448 _ACEOF
12451 done
12453 LIBS="$ac_wine_check_funcs_save_LIBS"
12455 if test "$ac_cv_header_zlib_h" = "yes"
12456 then
12457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12458 $as_echo_n "checking for inflate in -lz... " >&6; }
12459 if ${ac_cv_lib_z_inflate+:} false; then :
12460 $as_echo_n "(cached) " >&6
12461 else
12462 ac_check_lib_save_LIBS=$LIBS
12463 LIBS="-lz $LIBS"
12464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12465 /* end confdefs.h. */
12467 /* Override any GCC internal prototype to avoid an error.
12468 Use char because int might match the return type of a GCC
12469 builtin and then its argument prototype would still apply. */
12470 #ifdef __cplusplus
12471 extern "C"
12472 #endif
12473 char inflate ();
12475 main ()
12477 return inflate ();
12479 return 0;
12481 _ACEOF
12482 if ac_fn_c_try_link "$LINENO"; then :
12483 ac_cv_lib_z_inflate=yes
12484 else
12485 ac_cv_lib_z_inflate=no
12487 rm -f core conftest.err conftest.$ac_objext \
12488 conftest$ac_exeext conftest.$ac_ext
12489 LIBS=$ac_check_lib_save_LIBS
12491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12492 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12493 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12495 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12497 Z_LIBS="-lz"
12502 if test "x$Z_LIBS" = "x"; then :
12503 case "x$with_zlib" in
12504 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12505 xno) ;;
12506 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12507 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12508 esac
12512 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12513 then
12514 if test "$ac_cv_header_gettext_po_h" = "yes"
12515 then
12516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12517 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12518 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12519 $as_echo_n "(cached) " >&6
12520 else
12521 ac_check_lib_save_LIBS=$LIBS
12522 LIBS="-lgettextpo $LIBS"
12523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12524 /* end confdefs.h. */
12526 /* Override any GCC internal prototype to avoid an error.
12527 Use char because int might match the return type of a GCC
12528 builtin and then its argument prototype would still apply. */
12529 #ifdef __cplusplus
12530 extern "C"
12531 #endif
12532 char po_message_msgctxt ();
12534 main ()
12536 return po_message_msgctxt ();
12538 return 0;
12540 _ACEOF
12541 if ac_fn_c_try_link "$LINENO"; then :
12542 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12543 else
12544 ac_cv_lib_gettextpo_po_message_msgctxt=no
12546 rm -f core conftest.err conftest.$ac_objext \
12547 conftest$ac_exeext conftest.$ac_ext
12548 LIBS=$ac_check_lib_save_LIBS
12550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12551 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12552 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12554 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12556 GETTEXTPO_LIBS="-lgettextpo"
12561 if test "x$GETTEXTPO_LIBS" = "x"; then :
12562 case "x$with_gettextpo" in
12563 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12564 xno) ;;
12565 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12566 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12567 esac
12570 if test "$srcdir" != .; then :
12571 case "x$with_gettextpo" in
12572 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12573 xno) ;;
12574 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12575 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12576 esac
12581 if test "x$with_pulse" != "xno";
12582 then
12583 if ${PULSE_CFLAGS:+false} :; then :
12584 if ${PKG_CONFIG+:} false; then :
12585 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12589 if ${PULSE_LIBS:+false} :; then :
12590 if ${PKG_CONFIG+:} false; then :
12591 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12596 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12597 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12598 ac_save_CPPFLAGS=$CPPFLAGS
12599 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12600 for ac_header in pulse/pulseaudio.h
12601 do :
12602 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12603 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12604 cat >>confdefs.h <<_ACEOF
12605 #define HAVE_PULSE_PULSEAUDIO_H 1
12606 _ACEOF
12607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12608 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12609 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12610 $as_echo_n "(cached) " >&6
12611 else
12612 ac_check_lib_save_LIBS=$LIBS
12613 LIBS="-lpulse $PULSE_LIBS $LIBS"
12614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12615 /* end confdefs.h. */
12617 /* Override any GCC internal prototype to avoid an error.
12618 Use char because int might match the return type of a GCC
12619 builtin and then its argument prototype would still apply. */
12620 #ifdef __cplusplus
12621 extern "C"
12622 #endif
12623 char pa_stream_is_corked ();
12625 main ()
12627 return pa_stream_is_corked ();
12629 return 0;
12631 _ACEOF
12632 if ac_fn_c_try_link "$LINENO"; then :
12633 ac_cv_lib_pulse_pa_stream_is_corked=yes
12634 else
12635 ac_cv_lib_pulse_pa_stream_is_corked=no
12637 rm -f core conftest.err conftest.$ac_objext \
12638 conftest$ac_exeext conftest.$ac_ext
12639 LIBS=$ac_check_lib_save_LIBS
12641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12642 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12643 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12645 else
12646 PULSE_LIBS=""
12649 else
12650 PULSE_LIBS=""
12653 done
12655 CPPFLAGS=$ac_save_CPPFLAGS
12656 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12657 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12660 if test -z "$PULSE_LIBS"; then :
12661 case "x$with_pulse" in
12662 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12663 xno) ;;
12664 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12665 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12666 esac
12667 enable_winepulse_drv=${enable_winepulse_drv:-no}
12670 if test "x$with_gstreamer" != "xno"
12671 then
12672 if ${GSTREAMER_CFLAGS:+false} :; then :
12673 if ${PKG_CONFIG+:} false; then :
12674 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12678 if ${GSTREAMER_LIBS:+false} :; then :
12679 if ${PKG_CONFIG+:} false; then :
12680 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12685 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12686 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12687 ac_save_CPPFLAGS=$CPPFLAGS
12688 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12689 ac_gst_incl=""
12690 for i in $GSTREAMER_CFLAGS
12692 case "$i" in
12693 -I*) ac_gst_incl="$ac_gst_incl $i";;
12694 esac
12695 done
12696 GSTREAMER_CFLAGS=$ac_gst_incl
12697 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12698 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12699 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12701 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12703 /* end confdefs.h. */
12704 #include <gst/gst.h>
12706 main ()
12708 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12710 return 0;
12712 _ACEOF
12713 if ac_fn_c_try_compile "$LINENO"; then :
12714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12715 $as_echo "yes" >&6; }
12716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12717 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12718 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12719 $as_echo_n "(cached) " >&6
12720 else
12721 ac_check_lib_save_LIBS=$LIBS
12722 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12724 /* end confdefs.h. */
12726 /* Override any GCC internal prototype to avoid an error.
12727 Use char because int might match the return type of a GCC
12728 builtin and then its argument prototype would still apply. */
12729 #ifdef __cplusplus
12730 extern "C"
12731 #endif
12732 char gst_pad_new ();
12734 main ()
12736 return gst_pad_new ();
12738 return 0;
12740 _ACEOF
12741 if ac_fn_c_try_link "$LINENO"; then :
12742 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12743 else
12744 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12746 rm -f core conftest.err conftest.$ac_objext \
12747 conftest$ac_exeext conftest.$ac_ext
12748 LIBS=$ac_check_lib_save_LIBS
12750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12751 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12752 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12756 else
12757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12758 $as_echo "no" >&6; }
12759 ac_glib2_broken=yes
12760 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12766 CPPFLAGS=$ac_save_CPPFLAGS
12767 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12768 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12771 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 :
12772 case "x$with_gstreamer" in
12773 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12774 xno) ;;
12775 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12776 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12777 esac
12780 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12782 ALSA_LIBS=""
12784 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12785 then
12786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12787 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12788 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12789 $as_echo_n "(cached) " >&6
12790 else
12791 ac_check_lib_save_LIBS=$LIBS
12792 LIBS="-lasound $LIBS"
12793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12794 /* end confdefs.h. */
12796 /* Override any GCC internal prototype to avoid an error.
12797 Use char because int might match the return type of a GCC
12798 builtin and then its argument prototype would still apply. */
12799 #ifdef __cplusplus
12800 extern "C"
12801 #endif
12802 char snd_pcm_hw_params_get_access_mask ();
12804 main ()
12806 return snd_pcm_hw_params_get_access_mask ();
12808 return 0;
12810 _ACEOF
12811 if ac_fn_c_try_link "$LINENO"; then :
12812 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12813 else
12814 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12816 rm -f core conftest.err conftest.$ac_objext \
12817 conftest$ac_exeext conftest.$ac_ext
12818 LIBS=$ac_check_lib_save_LIBS
12820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12821 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12822 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12824 /* end confdefs.h. */
12825 #ifdef HAVE_ALSA_ASOUNDLIB_H
12826 #include <alsa/asoundlib.h>
12827 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12828 #include <sys/asoundlib.h>
12829 #endif
12831 main ()
12833 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12835 return 0;
12837 _ACEOF
12838 if ac_fn_c_try_compile "$LINENO"; then :
12839 ALSA_LIBS="-lasound"
12841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12845 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12847 if test "x$with_oss" != xno
12848 then
12849 ac_save_CPPFLAGS="$CPPFLAGS"
12850 if test -f /etc/oss.conf
12851 then
12852 . /etc/oss.conf
12854 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12855 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12856 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12857 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12858 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12860 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12862 cat >>confdefs.h <<_ACEOF
12863 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12864 _ACEOF
12866 OSS4_CFLAGS="$ac_oss_incl"
12873 CPPFLAGS="$ac_save_CPPFLAGS"
12875 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
12876 case "x$with_oss" in
12877 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
12878 xno) ;;
12879 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
12880 This is an error since --with-oss was requested." "$LINENO" 5 ;;
12881 esac
12882 enable_wineoss_drv=${enable_wineoss_drv:-no}
12885 if test "x$with_capi" != "xno"
12886 then
12887 if ${CAPI20_CFLAGS:+false} :; then :
12888 if ${PKG_CONFIG+:} false; then :
12889 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12893 if ${CAPI20_LIBS:+false} :; then :
12894 if ${PKG_CONFIG+:} false; then :
12895 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12900 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12901 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12902 ac_save_CPPFLAGS=$CPPFLAGS
12903 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12904 for ac_header in capi20.h linux/capi.h
12905 do :
12906 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12907 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12909 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12910 cat >>confdefs.h <<_ACEOF
12911 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12912 _ACEOF
12916 done
12918 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12919 then
12920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12921 $as_echo_n "checking for -lcapi20... " >&6; }
12922 if ${ac_cv_lib_soname_capi20+:} false; then :
12923 $as_echo_n "(cached) " >&6
12924 else
12925 ac_check_soname_save_LIBS=$LIBS
12926 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12928 /* end confdefs.h. */
12930 /* Override any GCC internal prototype to avoid an error.
12931 Use char because int might match the return type of a GCC
12932 builtin and then its argument prototype would still apply. */
12933 #ifdef __cplusplus
12934 extern "C"
12935 #endif
12936 char capi20_register ();
12938 main ()
12940 return capi20_register ();
12942 return 0;
12944 _ACEOF
12945 if ac_fn_c_try_link "$LINENO"; then :
12946 case "$LIBEXT" in
12947 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12948 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'` ;;
12949 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12950 if ${ac_cv_lib_soname_capi20:+false} :; then :
12951 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12952 fi ;;
12953 esac
12955 rm -f core conftest.err conftest.$ac_objext \
12956 conftest$ac_exeext conftest.$ac_ext
12957 LIBS=$ac_check_soname_save_LIBS
12959 if ${ac_cv_lib_soname_capi20:+false} :; then :
12960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12961 $as_echo "not found" >&6; }
12963 else
12964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12965 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12967 cat >>confdefs.h <<_ACEOF
12968 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12969 _ACEOF
12974 CPPFLAGS=$ac_save_CPPFLAGS
12975 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12976 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12979 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12980 case "x$with_capi" in
12981 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12982 xno) ;;
12983 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12984 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12985 esac
12989 CUPS_CFLAGS=""
12991 if test "x$with_cups" != "xno"
12992 then
12993 ac_save_CPPFLAGS="$CPPFLAGS"
12994 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
12995 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
12996 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12997 for ac_header in cups/cups.h
12998 do :
12999 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13000 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
13001 cat >>confdefs.h <<_ACEOF
13002 #define HAVE_CUPS_CUPS_H 1
13003 _ACEOF
13004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13005 $as_echo_n "checking for -lcups... " >&6; }
13006 if ${ac_cv_lib_soname_cups+:} false; then :
13007 $as_echo_n "(cached) " >&6
13008 else
13009 ac_check_soname_save_LIBS=$LIBS
13010 LIBS="-lcups $ac_cups_libs $LIBS"
13011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13012 /* end confdefs.h. */
13014 /* Override any GCC internal prototype to avoid an error.
13015 Use char because int might match the return type of a GCC
13016 builtin and then its argument prototype would still apply. */
13017 #ifdef __cplusplus
13018 extern "C"
13019 #endif
13020 char cupsGetDefault ();
13022 main ()
13024 return cupsGetDefault ();
13026 return 0;
13028 _ACEOF
13029 if ac_fn_c_try_link "$LINENO"; then :
13030 case "$LIBEXT" in
13031 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13032 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'` ;;
13033 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13034 if ${ac_cv_lib_soname_cups:+false} :; then :
13035 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13036 fi ;;
13037 esac
13039 rm -f core conftest.err conftest.$ac_objext \
13040 conftest$ac_exeext conftest.$ac_ext
13041 LIBS=$ac_check_soname_save_LIBS
13043 if ${ac_cv_lib_soname_cups:+false} :; then :
13044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13045 $as_echo "not found" >&6; }
13047 else
13048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13049 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13051 cat >>confdefs.h <<_ACEOF
13052 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13053 _ACEOF
13055 CUPS_CFLAGS="$ac_cups_cflags"
13059 done
13061 CPPFLAGS="$ac_save_CPPFLAGS"
13063 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13064 case "x$with_cups" in
13065 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13066 xno) ;;
13067 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13068 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13069 esac
13073 if test "x$with_fontconfig" != "xno"
13074 then
13075 if ${FONTCONFIG_CFLAGS:+false} :; then :
13076 if ${PKG_CONFIG+:} false; then :
13077 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13080 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13081 if ${FONTCONFIG_LIBS:+false} :; then :
13082 if ${PKG_CONFIG+:} false; then :
13083 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13086 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13088 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13089 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13090 ac_save_CPPFLAGS=$CPPFLAGS
13091 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13092 for ac_header in fontconfig/fontconfig.h
13093 do :
13094 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13095 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13096 cat >>confdefs.h <<_ACEOF
13097 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13098 _ACEOF
13102 done
13104 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13105 then
13106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13107 $as_echo_n "checking for -lfontconfig... " >&6; }
13108 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13109 $as_echo_n "(cached) " >&6
13110 else
13111 ac_check_soname_save_LIBS=$LIBS
13112 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13114 /* end confdefs.h. */
13116 /* Override any GCC internal prototype to avoid an error.
13117 Use char because int might match the return type of a GCC
13118 builtin and then its argument prototype would still apply. */
13119 #ifdef __cplusplus
13120 extern "C"
13121 #endif
13122 char FcInit ();
13124 main ()
13126 return FcInit ();
13128 return 0;
13130 _ACEOF
13131 if ac_fn_c_try_link "$LINENO"; then :
13132 case "$LIBEXT" in
13133 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13134 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'` ;;
13135 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13136 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13137 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13138 fi ;;
13139 esac
13141 rm -f core conftest.err conftest.$ac_objext \
13142 conftest$ac_exeext conftest.$ac_ext
13143 LIBS=$ac_check_soname_save_LIBS
13145 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13147 $as_echo "not found" >&6; }
13148 FONTCONFIG_CFLAGS=""
13149 else
13150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13151 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13153 cat >>confdefs.h <<_ACEOF
13154 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13155 _ACEOF
13159 else
13160 FONTCONFIG_CFLAGS=""
13162 CPPFLAGS=$ac_save_CPPFLAGS
13163 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13164 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13167 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13168 case "x$with_fontconfig" in
13169 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13170 xno) ;;
13171 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13172 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13173 esac
13177 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13178 then
13179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13180 $as_echo_n "checking for -lgsm... " >&6; }
13181 if ${ac_cv_lib_soname_gsm+:} false; then :
13182 $as_echo_n "(cached) " >&6
13183 else
13184 ac_check_soname_save_LIBS=$LIBS
13185 LIBS="-lgsm $LIBS"
13186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13187 /* end confdefs.h. */
13189 /* Override any GCC internal prototype to avoid an error.
13190 Use char because int might match the return type of a GCC
13191 builtin and then its argument prototype would still apply. */
13192 #ifdef __cplusplus
13193 extern "C"
13194 #endif
13195 char gsm_create ();
13197 main ()
13199 return gsm_create ();
13201 return 0;
13203 _ACEOF
13204 if ac_fn_c_try_link "$LINENO"; then :
13205 case "$LIBEXT" in
13206 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13207 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'` ;;
13208 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13209 if ${ac_cv_lib_soname_gsm:+false} :; then :
13210 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13211 fi ;;
13212 esac
13214 rm -f core conftest.err conftest.$ac_objext \
13215 conftest$ac_exeext conftest.$ac_ext
13216 LIBS=$ac_check_soname_save_LIBS
13218 if ${ac_cv_lib_soname_gsm:+false} :; then :
13219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13220 $as_echo "not found" >&6; }
13222 else
13223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13224 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13226 cat >>confdefs.h <<_ACEOF
13227 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13228 _ACEOF
13233 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13234 case "x$with_gsm" in
13235 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13236 xno) ;;
13237 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13238 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13239 esac
13243 if test "x$with_jpeg" != "xno"
13244 then
13245 if ${JPEG_CFLAGS:+false} :; then :
13246 if ${PKG_CONFIG+:} false; then :
13247 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13251 if ${JPEG_LIBS:+false} :; then :
13252 if ${PKG_CONFIG+:} false; then :
13253 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13258 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13259 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13260 ac_save_CPPFLAGS=$CPPFLAGS
13261 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13262 for ac_header in jpeglib.h
13263 do :
13264 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13265 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13266 cat >>confdefs.h <<_ACEOF
13267 #define HAVE_JPEGLIB_H 1
13268 _ACEOF
13272 done
13274 if test "$ac_cv_header_jpeglib_h" = "yes"
13275 then
13276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13277 $as_echo_n "checking for -ljpeg... " >&6; }
13278 if ${ac_cv_lib_soname_jpeg+:} false; then :
13279 $as_echo_n "(cached) " >&6
13280 else
13281 ac_check_soname_save_LIBS=$LIBS
13282 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13284 /* end confdefs.h. */
13286 /* Override any GCC internal prototype to avoid an error.
13287 Use char because int might match the return type of a GCC
13288 builtin and then its argument prototype would still apply. */
13289 #ifdef __cplusplus
13290 extern "C"
13291 #endif
13292 char jpeg_start_decompress ();
13294 main ()
13296 return jpeg_start_decompress ();
13298 return 0;
13300 _ACEOF
13301 if ac_fn_c_try_link "$LINENO"; then :
13302 case "$LIBEXT" in
13303 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13304 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'` ;;
13305 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13306 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13307 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13308 fi ;;
13309 esac
13311 rm -f core conftest.err conftest.$ac_objext \
13312 conftest$ac_exeext conftest.$ac_ext
13313 LIBS=$ac_check_soname_save_LIBS
13315 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13317 $as_echo "not found" >&6; }
13318 JPEG_CFLAGS=""
13319 else
13320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13321 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13323 cat >>confdefs.h <<_ACEOF
13324 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13325 _ACEOF
13329 else
13330 JPEG_CFLAGS=""
13332 CPPFLAGS=$ac_save_CPPFLAGS
13333 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13334 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13337 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13338 case "x$with_jpeg" in
13339 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13340 xno) ;;
13341 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13342 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13343 esac
13347 if test "x$with_png" != "xno"
13348 then
13349 if ${PNG_CFLAGS:+false} :; then :
13350 if ${PKG_CONFIG+:} false; then :
13351 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13354 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13355 if ${PNG_LIBS:+false} :; then :
13356 if ${PKG_CONFIG+:} false; then :
13357 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13360 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13362 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13363 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13364 ac_save_CPPFLAGS=$CPPFLAGS
13365 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13366 for ac_header in png.h
13367 do :
13368 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13369 if test "x$ac_cv_header_png_h" = xyes; then :
13370 cat >>confdefs.h <<_ACEOF
13371 #define HAVE_PNG_H 1
13372 _ACEOF
13376 done
13378 if test "$ac_cv_header_png_h" = "yes"
13379 then
13380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13381 $as_echo_n "checking for -lpng... " >&6; }
13382 if ${ac_cv_lib_soname_png+:} false; then :
13383 $as_echo_n "(cached) " >&6
13384 else
13385 ac_check_soname_save_LIBS=$LIBS
13386 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13388 /* end confdefs.h. */
13390 /* Override any GCC internal prototype to avoid an error.
13391 Use char because int might match the return type of a GCC
13392 builtin and then its argument prototype would still apply. */
13393 #ifdef __cplusplus
13394 extern "C"
13395 #endif
13396 char png_create_read_struct ();
13398 main ()
13400 return png_create_read_struct ();
13402 return 0;
13404 _ACEOF
13405 if ac_fn_c_try_link "$LINENO"; then :
13406 case "$LIBEXT" in
13407 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13408 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'` ;;
13409 *) 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'`
13410 if ${ac_cv_lib_soname_png:+false} :; then :
13411 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13412 fi ;;
13413 esac
13415 rm -f core conftest.err conftest.$ac_objext \
13416 conftest$ac_exeext conftest.$ac_ext
13417 LIBS=$ac_check_soname_save_LIBS
13419 if ${ac_cv_lib_soname_png:+false} :; then :
13420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13421 $as_echo "not found" >&6; }
13422 PNG_CFLAGS=""
13423 else
13424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13425 $as_echo "$ac_cv_lib_soname_png" >&6; }
13427 cat >>confdefs.h <<_ACEOF
13428 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13429 _ACEOF
13431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13432 /* end confdefs.h. */
13433 #include <png.h>
13435 main ()
13437 typeof(png_set_expand_gray_1_2_4_to_8) *p
13439 return 0;
13441 _ACEOF
13442 if ac_fn_c_try_compile "$LINENO"; then :
13444 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13449 else
13450 PNG_CFLAGS=""
13452 CPPFLAGS=$ac_save_CPPFLAGS
13453 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13454 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13457 if test "x$ac_cv_lib_soname_png" = "x"; then :
13458 case "x$with_png" in
13459 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13460 xno) ;;
13461 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13462 This is an error since --with-png was requested." "$LINENO" 5 ;;
13463 esac
13467 if test "x$with_tiff" != "xno"
13468 then
13469 if ${TIFF_CFLAGS:+false} :; then :
13470 if ${PKG_CONFIG+:} false; then :
13471 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13475 if ${TIFF_LIBS:+false} :; then :
13476 if ${PKG_CONFIG+:} false; then :
13477 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13482 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13483 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13484 ac_save_CPPFLAGS=$CPPFLAGS
13485 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13486 for ac_header in tiffio.h
13487 do :
13488 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13489 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13490 cat >>confdefs.h <<_ACEOF
13491 #define HAVE_TIFFIO_H 1
13492 _ACEOF
13496 done
13498 if test "$ac_cv_header_tiffio_h" = "yes"
13499 then
13500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13501 $as_echo_n "checking for -ltiff... " >&6; }
13502 if ${ac_cv_lib_soname_tiff+:} false; then :
13503 $as_echo_n "(cached) " >&6
13504 else
13505 ac_check_soname_save_LIBS=$LIBS
13506 LIBS="-ltiff $TIFF_LIBS $LIBS"
13507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13508 /* end confdefs.h. */
13510 /* Override any GCC internal prototype to avoid an error.
13511 Use char because int might match the return type of a GCC
13512 builtin and then its argument prototype would still apply. */
13513 #ifdef __cplusplus
13514 extern "C"
13515 #endif
13516 char TIFFClientOpen ();
13518 main ()
13520 return TIFFClientOpen ();
13522 return 0;
13524 _ACEOF
13525 if ac_fn_c_try_link "$LINENO"; then :
13526 case "$LIBEXT" in
13527 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13528 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'` ;;
13529 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13530 if ${ac_cv_lib_soname_tiff:+false} :; then :
13531 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13532 fi ;;
13533 esac
13535 rm -f core conftest.err conftest.$ac_objext \
13536 conftest$ac_exeext conftest.$ac_ext
13537 LIBS=$ac_check_soname_save_LIBS
13539 if ${ac_cv_lib_soname_tiff:+false} :; then :
13540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13541 $as_echo "not found" >&6; }
13543 else
13544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13545 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13547 cat >>confdefs.h <<_ACEOF
13548 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13549 _ACEOF
13554 CPPFLAGS=$ac_save_CPPFLAGS
13555 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13556 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13559 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13560 case "x$with_tiff" in
13561 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13562 xno) ;;
13563 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13564 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13565 esac
13569 if test "x$with_mpg123" != "xno"
13570 then
13571 if ${MPG123_CFLAGS:+false} :; then :
13572 if ${PKG_CONFIG+:} false; then :
13573 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13577 if ${MPG123_LIBS:+false} :; then :
13578 if ${PKG_CONFIG+:} false; then :
13579 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13583 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13584 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13585 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13586 ac_save_CPPFLAGS=$CPPFLAGS
13587 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13588 for ac_header in mpg123.h
13589 do :
13590 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13591 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13592 cat >>confdefs.h <<_ACEOF
13593 #define HAVE_MPG123_H 1
13594 _ACEOF
13598 done
13600 if test "$ac_cv_header_mpg123_h" = "yes"
13601 then
13602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13603 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13604 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13605 $as_echo_n "(cached) " >&6
13606 else
13607 ac_check_lib_save_LIBS=$LIBS
13608 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13610 /* end confdefs.h. */
13612 /* Override any GCC internal prototype to avoid an error.
13613 Use char because int might match the return type of a GCC
13614 builtin and then its argument prototype would still apply. */
13615 #ifdef __cplusplus
13616 extern "C"
13617 #endif
13618 char mpg123_feed ();
13620 main ()
13622 return mpg123_feed ();
13624 return 0;
13626 _ACEOF
13627 if ac_fn_c_try_link "$LINENO"; then :
13628 ac_cv_lib_mpg123_mpg123_feed=yes
13629 else
13630 ac_cv_lib_mpg123_mpg123_feed=no
13632 rm -f core conftest.err conftest.$ac_objext \
13633 conftest$ac_exeext conftest.$ac_ext
13634 LIBS=$ac_check_lib_save_LIBS
13636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13637 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13638 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13640 else
13641 MPG123_LIBS=""
13644 else
13645 MPG123_CFLAGS=""
13646 MPG123_LIBS=""
13648 CPPFLAGS=$ac_save_CPPFLAGS
13649 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13650 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13653 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13654 case "x$with_mpg123" in
13655 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13656 xno) ;;
13657 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13658 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13659 esac
13660 enable_winemp3_acm=${enable_winemp3_acm:-no}
13663 if test "$ac_cv_header_AL_al_h" = "yes"
13664 then
13665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13666 $as_echo_n "checking for -lopenal... " >&6; }
13667 if ${ac_cv_lib_soname_openal+:} false; then :
13668 $as_echo_n "(cached) " >&6
13669 else
13670 ac_check_soname_save_LIBS=$LIBS
13671 LIBS="-lopenal $LIBS"
13672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13673 /* end confdefs.h. */
13675 /* Override any GCC internal prototype to avoid an error.
13676 Use char because int might match the return type of a GCC
13677 builtin and then its argument prototype would still apply. */
13678 #ifdef __cplusplus
13679 extern "C"
13680 #endif
13681 char alGetSource3i ();
13683 main ()
13685 return alGetSource3i ();
13687 return 0;
13689 _ACEOF
13690 if ac_fn_c_try_link "$LINENO"; then :
13691 case "$LIBEXT" in
13692 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13693 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'` ;;
13694 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13695 if ${ac_cv_lib_soname_openal:+false} :; then :
13696 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13697 fi ;;
13698 esac
13700 rm -f core conftest.err conftest.$ac_objext \
13701 conftest$ac_exeext conftest.$ac_ext
13702 LIBS=$ac_check_soname_save_LIBS
13704 if ${ac_cv_lib_soname_openal:+false} :; then :
13705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13706 $as_echo "not found" >&6; }
13708 else
13709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13710 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13712 cat >>confdefs.h <<_ACEOF
13713 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13714 _ACEOF
13716 OPENAL_LIBS="-lopenal"
13718 ac_cv_lib_openal=yes
13720 cat >>confdefs.h <<_ACEOF
13721 #define HAVE_OPENAL 1
13722 _ACEOF
13726 if test "x$ac_cv_lib_openal" != xyes; then :
13727 case "x$with_openal" in
13728 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13729 xno) ;;
13730 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13731 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13732 esac
13733 enable_openal32=${enable_openal32:-no}
13736 if test "x$ac_cv_lib_openal" = xyes
13737 then
13738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13739 $as_echo_n "checking for openal-soft... " >&6; }
13740 if ${ac_cv_have_openalsoft+:} false; then :
13741 $as_echo_n "(cached) " >&6
13742 else
13743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13744 /* end confdefs.h. */
13745 #include <AL/al.h>
13746 #include <AL/alc.h>
13747 #include <AL/alext.h>
13748 LPALCRENDERSAMPLESSOFT x;
13750 main ()
13754 return 0;
13756 _ACEOF
13757 if ac_fn_c_try_compile "$LINENO"; then :
13758 ac_cv_have_openalsoft=yes
13759 else
13760 ac_cv_have_openalsoft=no
13762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13765 $as_echo "$ac_cv_have_openalsoft" >&6; }
13767 if test "x$ac_cv_have_openalsoft" != xyes
13768 then
13769 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13770 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
13771 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
13772 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
13773 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
13774 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
13775 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
13776 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
13777 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
13778 enable_xapofx1_1=${enable_xapofx1_1:-no}
13779 enable_xapofx1_2=${enable_xapofx1_2:-no}
13780 enable_xapofx1_3=${enable_xapofx1_3:-no}
13781 enable_xapofx1_4=${enable_xapofx1_4:-no}
13782 enable_xapofx1_5=${enable_xapofx1_5:-no}
13783 enable_xaudio2_0=${enable_xaudio2_0:-no}
13784 enable_xaudio2_1=${enable_xaudio2_1:-no}
13785 enable_xaudio2_2=${enable_xaudio2_2:-no}
13786 enable_xaudio2_3=${enable_xaudio2_3:-no}
13787 enable_xaudio2_4=${enable_xaudio2_4:-no}
13788 enable_xaudio2_5=${enable_xaudio2_5:-no}
13789 enable_xaudio2_6=${enable_xaudio2_6:-no}
13790 enable_xaudio2_7=${enable_xaudio2_7:-no}
13791 enable_xaudio2_8=${enable_xaudio2_8:-no}
13792 enable_xaudio2_9=${enable_xaudio2_9:-no}
13795 if test "$ac_cv_header_kstat_h" = "yes"
13796 then
13797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13798 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13799 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13800 $as_echo_n "(cached) " >&6
13801 else
13802 ac_check_lib_save_LIBS=$LIBS
13803 LIBS="-lkstat $LIBS"
13804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13805 /* end confdefs.h. */
13807 /* Override any GCC internal prototype to avoid an error.
13808 Use char because int might match the return type of a GCC
13809 builtin and then its argument prototype would still apply. */
13810 #ifdef __cplusplus
13811 extern "C"
13812 #endif
13813 char kstat_open ();
13815 main ()
13817 return kstat_open ();
13819 return 0;
13821 _ACEOF
13822 if ac_fn_c_try_link "$LINENO"; then :
13823 ac_cv_lib_kstat_kstat_open=yes
13824 else
13825 ac_cv_lib_kstat_kstat_open=no
13827 rm -f core conftest.err conftest.$ac_objext \
13828 conftest$ac_exeext conftest.$ac_ext
13829 LIBS=$ac_check_lib_save_LIBS
13831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13832 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13833 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13835 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13837 KSTAT_LIBS="-lkstat"
13843 if test "$ac_cv_header_libprocstat_h" = "yes"
13844 then
13845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13846 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13847 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13848 $as_echo_n "(cached) " >&6
13849 else
13850 ac_check_lib_save_LIBS=$LIBS
13851 LIBS="-lprocstat $LIBS"
13852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13853 /* end confdefs.h. */
13855 /* Override any GCC internal prototype to avoid an error.
13856 Use char because int might match the return type of a GCC
13857 builtin and then its argument prototype would still apply. */
13858 #ifdef __cplusplus
13859 extern "C"
13860 #endif
13861 char procstat_open_sysctl ();
13863 main ()
13865 return procstat_open_sysctl ();
13867 return 0;
13869 _ACEOF
13870 if ac_fn_c_try_link "$LINENO"; then :
13871 ac_cv_lib_procstat_procstat_open_sysctl=yes
13872 else
13873 ac_cv_lib_procstat_procstat_open_sysctl=no
13875 rm -f core conftest.err conftest.$ac_objext \
13876 conftest$ac_exeext conftest.$ac_ext
13877 LIBS=$ac_check_lib_save_LIBS
13879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13880 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13881 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13883 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13885 PROCSTAT_LIBS="-lprocstat"
13891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13892 $as_echo_n "checking for -lodbc... " >&6; }
13893 if ${ac_cv_lib_soname_odbc+:} false; then :
13894 $as_echo_n "(cached) " >&6
13895 else
13896 ac_check_soname_save_LIBS=$LIBS
13897 LIBS="-lodbc $LIBS"
13898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13899 /* end confdefs.h. */
13901 /* Override any GCC internal prototype to avoid an error.
13902 Use char because int might match the return type of a GCC
13903 builtin and then its argument prototype would still apply. */
13904 #ifdef __cplusplus
13905 extern "C"
13906 #endif
13907 char SQLConnect ();
13909 main ()
13911 return SQLConnect ();
13913 return 0;
13915 _ACEOF
13916 if ac_fn_c_try_link "$LINENO"; then :
13917 case "$LIBEXT" in
13918 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13919 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'` ;;
13920 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13921 if ${ac_cv_lib_soname_odbc:+false} :; then :
13922 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13923 fi ;;
13924 esac
13926 rm -f core conftest.err conftest.$ac_objext \
13927 conftest$ac_exeext conftest.$ac_ext
13928 LIBS=$ac_check_soname_save_LIBS
13930 if ${ac_cv_lib_soname_odbc:+false} :; then :
13931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13932 $as_echo "not found" >&6; }
13933 cat >>confdefs.h <<_ACEOF
13934 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13935 _ACEOF
13937 else
13938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13939 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13941 cat >>confdefs.h <<_ACEOF
13942 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13943 _ACEOF
13948 if test "x$with_netapi" != "xno"
13949 then
13950 if ${NETAPI_CFLAGS:+false} :; then :
13951 if ${PKG_CONFIG+:} false; then :
13952 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
13956 if ${NETAPI_LIBS:+false} :; then :
13957 if ${PKG_CONFIG+:} false; then :
13958 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
13963 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
13964 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
13965 ac_save_CPPFLAGS=$CPPFLAGS
13966 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
13967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13968 $as_echo_n "checking for -lnetapi... " >&6; }
13969 if ${ac_cv_lib_soname_netapi+:} false; then :
13970 $as_echo_n "(cached) " >&6
13971 else
13972 ac_check_soname_save_LIBS=$LIBS
13973 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
13974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13975 /* end confdefs.h. */
13977 /* Override any GCC internal prototype to avoid an error.
13978 Use char because int might match the return type of a GCC
13979 builtin and then its argument prototype would still apply. */
13980 #ifdef __cplusplus
13981 extern "C"
13982 #endif
13983 char libnetapi_init ();
13985 main ()
13987 return libnetapi_init ();
13989 return 0;
13991 _ACEOF
13992 if ac_fn_c_try_link "$LINENO"; then :
13993 case "$LIBEXT" in
13994 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13995 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'` ;;
13996 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13997 if ${ac_cv_lib_soname_netapi:+false} :; then :
13998 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13999 fi ;;
14000 esac
14002 rm -f core conftest.err conftest.$ac_objext \
14003 conftest$ac_exeext conftest.$ac_ext
14004 LIBS=$ac_check_soname_save_LIBS
14006 if ${ac_cv_lib_soname_netapi:+false} :; then :
14007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14008 $as_echo "not found" >&6; }
14009 cat >>confdefs.h <<_ACEOF
14010 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14011 _ACEOF
14013 else
14014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14015 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14017 cat >>confdefs.h <<_ACEOF
14018 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14019 _ACEOF
14023 CPPFLAGS=$ac_save_CPPFLAGS
14024 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14025 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14029 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
14030 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14031 then
14032 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14036 EXTRACFLAGS=""
14038 if test "x${GCC}" = "xyes"
14039 then
14040 EXTRACFLAGS="-Wall -pipe"
14042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14043 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14044 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14045 $as_echo_n "(cached) " >&6
14046 else
14047 if test "$cross_compiling" = yes; then :
14048 ac_cv_c_gcc_strength_bug="no"
14049 else
14050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14051 /* end confdefs.h. */
14052 int L[4] = {0,1,2,3};
14054 main ()
14056 static int Array[3];
14057 unsigned int B = 3;
14058 int i;
14059 for(i=0; i<B; i++) Array[i] = i - 3;
14060 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14061 L[i] = 4;
14062 return (Array[1] != -2 || L[2] != 3)
14064 return 0;
14066 _ACEOF
14067 if ac_fn_c_try_run "$LINENO"; then :
14068 ac_cv_c_gcc_strength_bug="no"
14069 else
14070 ac_cv_c_gcc_strength_bug="yes"
14072 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14073 conftest.$ac_objext conftest.beam conftest.$ac_ext
14077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14078 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14079 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14080 then
14081 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14085 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14086 if ${ac_cv_cflags__fno_builtin+:} false; then :
14087 $as_echo_n "(cached) " >&6
14088 else
14089 ac_wine_try_cflags_saved=$CFLAGS
14090 CFLAGS="$CFLAGS -fno-builtin"
14091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14092 /* end confdefs.h. */
14093 int main(int argc, char **argv) { return 0; }
14094 _ACEOF
14095 if ac_fn_c_try_link "$LINENO"; then :
14096 ac_cv_cflags__fno_builtin=yes
14097 else
14098 ac_cv_cflags__fno_builtin=no
14100 rm -f core conftest.err conftest.$ac_objext \
14101 conftest$ac_exeext conftest.$ac_ext
14102 CFLAGS=$ac_wine_try_cflags_saved
14104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14105 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14106 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14107 BUILTINFLAG="-fno-builtin"
14110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14111 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14112 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14113 $as_echo_n "(cached) " >&6
14114 else
14115 ac_wine_try_cflags_saved=$CFLAGS
14116 CFLAGS="$CFLAGS -fno-strict-aliasing"
14117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14118 /* end confdefs.h. */
14119 int main(int argc, char **argv) { return 0; }
14120 _ACEOF
14121 if ac_fn_c_try_link "$LINENO"; then :
14122 ac_cv_cflags__fno_strict_aliasing=yes
14123 else
14124 ac_cv_cflags__fno_strict_aliasing=no
14126 rm -f core conftest.err conftest.$ac_objext \
14127 conftest$ac_exeext conftest.$ac_ext
14128 CFLAGS=$ac_wine_try_cflags_saved
14130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14131 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14132 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14133 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14136 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14137 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14138 $as_echo_n "(cached) " >&6
14139 else
14140 ac_wine_try_cflags_saved=$CFLAGS
14141 CFLAGS="$CFLAGS -fexcess-precision=standard"
14142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14143 /* end confdefs.h. */
14144 int main(int argc, char **argv) { return 0; }
14145 _ACEOF
14146 if ac_fn_c_try_link "$LINENO"; then :
14147 ac_cv_cflags__fexcess_precision_standard=yes
14148 else
14149 ac_cv_cflags__fexcess_precision_standard=no
14151 rm -f core conftest.err conftest.$ac_objext \
14152 conftest$ac_exeext conftest.$ac_ext
14153 CFLAGS=$ac_wine_try_cflags_saved
14155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14156 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14157 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14158 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14161 saved_CFLAGS=$CFLAGS
14162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14163 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14164 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14165 $as_echo_n "(cached) " >&6
14166 else
14167 ac_wine_try_cflags_saved=$CFLAGS
14168 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14170 /* end confdefs.h. */
14171 int main(int argc, char **argv) { return 0; }
14172 _ACEOF
14173 if ac_fn_c_try_link "$LINENO"; then :
14174 ac_cv_cflags__Werror_unknown_warning_option=yes
14175 else
14176 ac_cv_cflags__Werror_unknown_warning_option=no
14178 rm -f core conftest.err conftest.$ac_objext \
14179 conftest$ac_exeext conftest.$ac_ext
14180 CFLAGS=$ac_wine_try_cflags_saved
14182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14183 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14184 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14185 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14188 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14189 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14190 $as_echo_n "(cached) " >&6
14191 else
14192 ac_wine_try_cflags_saved=$CFLAGS
14193 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14195 /* end confdefs.h. */
14196 int main(int argc, char **argv) { return 0; }
14197 _ACEOF
14198 if ac_fn_c_try_link "$LINENO"; then :
14199 ac_cv_cflags__Wdeclaration_after_statement=yes
14200 else
14201 ac_cv_cflags__Wdeclaration_after_statement=no
14203 rm -f core conftest.err conftest.$ac_objext \
14204 conftest$ac_exeext conftest.$ac_ext
14205 CFLAGS=$ac_wine_try_cflags_saved
14207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14208 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14209 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14210 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14213 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14214 if ${ac_cv_cflags__Wempty_body+:} false; then :
14215 $as_echo_n "(cached) " >&6
14216 else
14217 ac_wine_try_cflags_saved=$CFLAGS
14218 CFLAGS="$CFLAGS -Wempty-body"
14219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14220 /* end confdefs.h. */
14221 int main(int argc, char **argv) { return 0; }
14222 _ACEOF
14223 if ac_fn_c_try_link "$LINENO"; then :
14224 ac_cv_cflags__Wempty_body=yes
14225 else
14226 ac_cv_cflags__Wempty_body=no
14228 rm -f core conftest.err conftest.$ac_objext \
14229 conftest$ac_exeext conftest.$ac_ext
14230 CFLAGS=$ac_wine_try_cflags_saved
14232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14233 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14234 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14235 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14238 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14239 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14240 $as_echo_n "(cached) " >&6
14241 else
14242 ac_wine_try_cflags_saved=$CFLAGS
14243 CFLAGS="$CFLAGS -Wignored-qualifiers"
14244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14245 /* end confdefs.h. */
14246 int main(int argc, char **argv) { return 0; }
14247 _ACEOF
14248 if ac_fn_c_try_link "$LINENO"; then :
14249 ac_cv_cflags__Wignored_qualifiers=yes
14250 else
14251 ac_cv_cflags__Wignored_qualifiers=no
14253 rm -f core conftest.err conftest.$ac_objext \
14254 conftest$ac_exeext conftest.$ac_ext
14255 CFLAGS=$ac_wine_try_cflags_saved
14257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14258 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14259 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14260 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14263 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14264 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14265 $as_echo_n "(cached) " >&6
14266 else
14267 ac_wine_try_cflags_saved=$CFLAGS
14268 CFLAGS="$CFLAGS -Wshift-overflow=2"
14269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14270 /* end confdefs.h. */
14271 int main(int argc, char **argv) { return 0; }
14272 _ACEOF
14273 if ac_fn_c_try_link "$LINENO"; then :
14274 ac_cv_cflags__Wshift_overflow_2=yes
14275 else
14276 ac_cv_cflags__Wshift_overflow_2=no
14278 rm -f core conftest.err conftest.$ac_objext \
14279 conftest$ac_exeext conftest.$ac_ext
14280 CFLAGS=$ac_wine_try_cflags_saved
14282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14283 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14284 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14285 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14288 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14289 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14290 $as_echo_n "(cached) " >&6
14291 else
14292 ac_wine_try_cflags_saved=$CFLAGS
14293 CFLAGS="$CFLAGS -Wstrict-prototypes"
14294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14295 /* end confdefs.h. */
14296 int main(int argc, char **argv) { return 0; }
14297 _ACEOF
14298 if ac_fn_c_try_link "$LINENO"; then :
14299 ac_cv_cflags__Wstrict_prototypes=yes
14300 else
14301 ac_cv_cflags__Wstrict_prototypes=no
14303 rm -f core conftest.err conftest.$ac_objext \
14304 conftest$ac_exeext conftest.$ac_ext
14305 CFLAGS=$ac_wine_try_cflags_saved
14307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14308 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14309 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14310 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14313 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14314 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14315 $as_echo_n "(cached) " >&6
14316 else
14317 ac_wine_try_cflags_saved=$CFLAGS
14318 CFLAGS="$CFLAGS -Wtype-limits"
14319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14320 /* end confdefs.h. */
14321 int main(int argc, char **argv) { return 0; }
14322 _ACEOF
14323 if ac_fn_c_try_link "$LINENO"; then :
14324 ac_cv_cflags__Wtype_limits=yes
14325 else
14326 ac_cv_cflags__Wtype_limits=no
14328 rm -f core conftest.err conftest.$ac_objext \
14329 conftest$ac_exeext conftest.$ac_ext
14330 CFLAGS=$ac_wine_try_cflags_saved
14332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14333 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14334 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14335 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14338 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14339 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14340 $as_echo_n "(cached) " >&6
14341 else
14342 ac_wine_try_cflags_saved=$CFLAGS
14343 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14345 /* end confdefs.h. */
14346 int main(int argc, char **argv) { return 0; }
14347 _ACEOF
14348 if ac_fn_c_try_link "$LINENO"; then :
14349 ac_cv_cflags__Wunused_but_set_parameter=yes
14350 else
14351 ac_cv_cflags__Wunused_but_set_parameter=no
14353 rm -f core conftest.err conftest.$ac_objext \
14354 conftest$ac_exeext conftest.$ac_ext
14355 CFLAGS=$ac_wine_try_cflags_saved
14357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14358 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14359 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14360 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14363 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14364 if ${ac_cv_cflags__Wvla+:} false; then :
14365 $as_echo_n "(cached) " >&6
14366 else
14367 ac_wine_try_cflags_saved=$CFLAGS
14368 CFLAGS="$CFLAGS -Wvla"
14369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14370 /* end confdefs.h. */
14371 int main(int argc, char **argv) { return 0; }
14372 _ACEOF
14373 if ac_fn_c_try_link "$LINENO"; then :
14374 ac_cv_cflags__Wvla=yes
14375 else
14376 ac_cv_cflags__Wvla=no
14378 rm -f core conftest.err conftest.$ac_objext \
14379 conftest$ac_exeext conftest.$ac_ext
14380 CFLAGS=$ac_wine_try_cflags_saved
14382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14383 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14384 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14385 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14388 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14389 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14390 $as_echo_n "(cached) " >&6
14391 else
14392 ac_wine_try_cflags_saved=$CFLAGS
14393 CFLAGS="$CFLAGS -Wwrite-strings"
14394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14395 /* end confdefs.h. */
14396 int main(int argc, char **argv) { return 0; }
14397 _ACEOF
14398 if ac_fn_c_try_link "$LINENO"; then :
14399 ac_cv_cflags__Wwrite_strings=yes
14400 else
14401 ac_cv_cflags__Wwrite_strings=no
14403 rm -f core conftest.err conftest.$ac_objext \
14404 conftest$ac_exeext conftest.$ac_ext
14405 CFLAGS=$ac_wine_try_cflags_saved
14407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14408 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14409 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14410 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14414 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14415 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14416 $as_echo_n "(cached) " >&6
14417 else
14418 ac_wine_try_cflags_saved=$CFLAGS
14419 CFLAGS="$CFLAGS -Wpointer-arith"
14420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14421 /* end confdefs.h. */
14422 int main(int argc, char **argv) { return 0; }
14423 _ACEOF
14424 if ac_fn_c_try_link "$LINENO"; then :
14425 ac_cv_cflags__Wpointer_arith=yes
14426 else
14427 ac_cv_cflags__Wpointer_arith=no
14429 rm -f core conftest.err conftest.$ac_objext \
14430 conftest$ac_exeext conftest.$ac_ext
14431 CFLAGS=$ac_wine_try_cflags_saved
14433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14434 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14435 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14436 saved_string_h_CFLAGS=$CFLAGS
14437 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14439 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14440 if ${ac_cv_c_string_h_warnings+:} false; then :
14441 $as_echo_n "(cached) " >&6
14442 else
14443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14444 /* end confdefs.h. */
14445 #include <string.h>
14447 main ()
14451 return 0;
14453 _ACEOF
14454 if ac_fn_c_try_compile "$LINENO"; then :
14455 ac_cv_c_string_h_warnings=no
14456 else
14457 ac_cv_c_string_h_warnings=yes
14459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14462 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14463 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14464 CFLAGS=$saved_string_h_CFLAGS
14467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14468 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14469 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14470 $as_echo_n "(cached) " >&6
14471 else
14472 ac_wine_try_cflags_saved=$CFLAGS
14473 CFLAGS="$CFLAGS -Wlogical-op"
14474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14475 /* end confdefs.h. */
14476 int main(int argc, char **argv) { return 0; }
14477 _ACEOF
14478 if ac_fn_c_try_link "$LINENO"; then :
14479 ac_cv_cflags__Wlogical_op=yes
14480 else
14481 ac_cv_cflags__Wlogical_op=no
14483 rm -f core conftest.err conftest.$ac_objext \
14484 conftest$ac_exeext conftest.$ac_ext
14485 CFLAGS=$ac_wine_try_cflags_saved
14487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14488 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14489 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14490 saved_string_h_CFLAGS=$CFLAGS
14491 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14493 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14494 if ${ac_cv_c_logicalop_noisy+:} false; then :
14495 $as_echo_n "(cached) " >&6
14496 else
14497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14498 /* end confdefs.h. */
14499 #include <string.h>
14500 char*f(const char *h,char n) {return strchr(h,n);}
14502 main ()
14506 return 0;
14508 _ACEOF
14509 if ac_fn_c_try_compile "$LINENO"; then :
14510 ac_cv_c_logicalop_noisy=no
14511 else
14512 ac_cv_c_logicalop_noisy=yes
14514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14517 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14518 CFLAGS=$saved_string_h_CFLAGS
14519 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14522 CFLAGS=$saved_CFLAGS
14524 for ac_flag in $CFLAGS; do
14525 case $ac_flag in
14526 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14527 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14528 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14529 $as_echo_n "(cached) " >&6
14530 else
14531 ac_wine_try_cflags_saved=$CFLAGS
14532 CFLAGS="$CFLAGS -gdwarf-2"
14533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14534 /* end confdefs.h. */
14535 int main(int argc, char **argv) { return 0; }
14536 _ACEOF
14537 if ac_fn_c_try_link "$LINENO"; then :
14538 ac_cv_cflags__gdwarf_2=yes
14539 else
14540 ac_cv_cflags__gdwarf_2=no
14542 rm -f core conftest.err conftest.$ac_objext \
14543 conftest$ac_exeext conftest.$ac_ext
14544 CFLAGS=$ac_wine_try_cflags_saved
14546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14547 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14548 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14549 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14552 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14553 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14554 $as_echo_n "(cached) " >&6
14555 else
14556 ac_wine_try_cflags_saved=$CFLAGS
14557 CFLAGS="$CFLAGS -gstrict-dwarf"
14558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14559 /* end confdefs.h. */
14560 int main(int argc, char **argv) { return 0; }
14561 _ACEOF
14562 if ac_fn_c_try_link "$LINENO"; then :
14563 ac_cv_cflags__gstrict_dwarf=yes
14564 else
14565 ac_cv_cflags__gstrict_dwarf=no
14567 rm -f core conftest.err conftest.$ac_objext \
14568 conftest$ac_exeext conftest.$ac_ext
14569 CFLAGS=$ac_wine_try_cflags_saved
14571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14572 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14573 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14574 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14575 fi ;;
14576 esac
14577 done
14579 case $host_cpu in
14580 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14581 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14582 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14583 $as_echo_n "(cached) " >&6
14584 else
14585 ac_wine_try_cflags_saved=$CFLAGS
14586 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14588 /* end confdefs.h. */
14589 int main(int argc, char **argv) { return 0; }
14590 _ACEOF
14591 if ac_fn_c_try_link "$LINENO"; then :
14592 ac_cv_cflags__fno_omit_frame_pointer=yes
14593 else
14594 ac_cv_cflags__fno_omit_frame_pointer=no
14596 rm -f core conftest.err conftest.$ac_objext \
14597 conftest$ac_exeext conftest.$ac_ext
14598 CFLAGS=$ac_wine_try_cflags_saved
14600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14601 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14602 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14603 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14604 fi ;;
14605 esac
14607 case $host in
14608 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14609 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14610 if ${ac_cv_cflags__Wno_format+:} false; then :
14611 $as_echo_n "(cached) " >&6
14612 else
14613 ac_wine_try_cflags_saved=$CFLAGS
14614 CFLAGS="$CFLAGS -Wno-format"
14615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14616 /* end confdefs.h. */
14617 int main(int argc, char **argv) { return 0; }
14618 _ACEOF
14619 if ac_fn_c_try_link "$LINENO"; then :
14620 ac_cv_cflags__Wno_format=yes
14621 else
14622 ac_cv_cflags__Wno_format=no
14624 rm -f core conftest.err conftest.$ac_objext \
14625 conftest$ac_exeext conftest.$ac_ext
14626 CFLAGS=$ac_wine_try_cflags_saved
14628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14629 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14630 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14631 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14632 fi ;;
14633 esac
14635 if test "x$enable_maintainer_mode" = "xyes"
14636 then
14637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14638 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14639 if ${ac_cv_cflags__Werror+:} false; then :
14640 $as_echo_n "(cached) " >&6
14641 else
14642 ac_wine_try_cflags_saved=$CFLAGS
14643 CFLAGS="$CFLAGS -Werror"
14644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14645 /* end confdefs.h. */
14646 int main(int argc, char **argv) { return 0; }
14647 _ACEOF
14648 if ac_fn_c_try_link "$LINENO"; then :
14649 ac_cv_cflags__Werror=yes
14650 else
14651 ac_cv_cflags__Werror=no
14653 rm -f core conftest.err conftest.$ac_objext \
14654 conftest$ac_exeext conftest.$ac_ext
14655 CFLAGS=$ac_wine_try_cflags_saved
14657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14658 $as_echo "$ac_cv_cflags__Werror" >&6; }
14659 if test "x$ac_cv_cflags__Werror" = xyes; then :
14660 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14664 saved_CFLAGS="$CFLAGS"
14665 CFLAGS="$CFLAGS -Werror"
14666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14667 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14668 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14669 $as_echo_n "(cached) " >&6
14670 else
14671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14672 /* end confdefs.h. */
14673 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14675 main ()
14679 return 0;
14681 _ACEOF
14682 if ac_fn_c_try_compile "$LINENO"; then :
14683 ac_cv_have_ms_hook_prologue="yes"
14684 else
14685 ac_cv_have_ms_hook_prologue="no"
14687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14690 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14691 CFLAGS="$saved_CFLAGS"
14692 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14693 then
14695 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14697 else
14698 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14705 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14706 if ${ac_cv_c_fortify_enabled+:} false; then :
14707 $as_echo_n "(cached) " >&6
14708 else
14709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14710 /* end confdefs.h. */
14711 #include <string.h>
14713 main ()
14715 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14716 #error Fortify enabled
14717 #endif
14719 return 0;
14721 _ACEOF
14722 if ac_fn_c_try_compile "$LINENO"; then :
14723 ac_cv_c_fortify_enabled=no
14724 else
14725 ac_cv_c_fortify_enabled=yes
14727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14730 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14731 if test "$ac_cv_c_fortify_enabled" = yes
14732 then
14733 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14738 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14739 if ${ac_cv_c_extern_prefix+:} false; then :
14740 $as_echo_n "(cached) " >&6
14741 else
14742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14743 /* end confdefs.h. */
14744 extern int ac_test;
14746 main ()
14748 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14750 return 0;
14752 _ACEOF
14753 if ac_fn_c_try_link "$LINENO"; then :
14754 ac_cv_c_extern_prefix="yes"
14755 else
14756 ac_cv_c_extern_prefix="no"
14758 rm -f core conftest.err conftest.$ac_objext \
14759 conftest$ac_exeext conftest.$ac_ext
14761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14762 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14764 case $host_cpu in
14765 *i[3456789]86*)
14766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14767 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14768 if ${ac_cv_c_stdcall_suffix+:} false; then :
14769 $as_echo_n "(cached) " >&6
14770 else
14771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14772 /* end confdefs.h. */
14773 #ifndef _MSC_VER
14774 #define __stdcall __attribute__((__stdcall__))
14775 #endif
14776 int __stdcall ac_test(int i) { return i; }
14778 main ()
14780 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14782 return 0;
14784 _ACEOF
14785 if ac_fn_c_try_link "$LINENO"; then :
14786 ac_cv_c_stdcall_suffix="yes"
14787 else
14788 ac_cv_c_stdcall_suffix="no"
14790 rm -f core conftest.err conftest.$ac_objext \
14791 conftest$ac_exeext conftest.$ac_ext
14793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14794 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14795 *) ac_cv_c_stdcall_suffix="no" ;;
14796 esac
14799 if test "$ac_cv_c_extern_prefix" = "yes"
14800 then
14801 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14803 asm_name_prefix="_"
14804 else
14805 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14807 asm_name_prefix=""
14811 if test "$ac_cv_c_stdcall_suffix" = "yes"
14812 then
14813 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14815 else
14816 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14822 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14823 if ${ac_cv_asm_func_def+:} false; then :
14824 $as_echo_n "(cached) " >&6
14825 else
14826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14827 /* end confdefs.h. */
14830 main ()
14832 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14834 return 0;
14836 _ACEOF
14837 if ac_fn_c_try_link "$LINENO"; then :
14838 ac_cv_asm_func_def=".def"
14839 else
14840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14841 /* end confdefs.h. */
14844 main ()
14846 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14848 return 0;
14850 _ACEOF
14851 if ac_fn_c_try_link "$LINENO"; then :
14852 ac_cv_asm_func_def=".type @function"
14853 else
14854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14855 /* end confdefs.h. */
14858 main ()
14860 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14862 return 0;
14864 _ACEOF
14865 if ac_fn_c_try_link "$LINENO"; then :
14866 ac_cv_asm_func_def=".type 2"
14867 else
14868 ac_cv_asm_func_def="unknown"
14870 rm -f core conftest.err conftest.$ac_objext \
14871 conftest$ac_exeext conftest.$ac_ext
14873 rm -f core conftest.err conftest.$ac_objext \
14874 conftest$ac_exeext conftest.$ac_ext
14876 rm -f core conftest.err conftest.$ac_objext \
14877 conftest$ac_exeext conftest.$ac_ext
14879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14880 $as_echo "$ac_cv_asm_func_def" >&6; }
14883 case "$ac_cv_asm_func_def" in
14884 ".def")
14885 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14887 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14888 ".type @function")
14889 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14891 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14892 ".type 2")
14893 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14895 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14897 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14899 asm_func_header="" ;;
14900 esac
14902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14903 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14904 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14905 $as_echo_n "(cached) " >&6
14906 else
14907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14908 /* end confdefs.h. */
14909 asm(".text\n\t.long 0");
14911 main ()
14915 return 0;
14917 _ACEOF
14918 if ac_fn_c_try_compile "$LINENO"; then :
14919 ac_cv_c_asm_outside_funcs="yes"
14920 else
14921 ac_cv_c_asm_outside_funcs="no"
14923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14926 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14929 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14930 if ${ac_cv_c_dot_previous+:} false; then :
14931 $as_echo_n "(cached) " >&6
14932 else
14933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14934 /* end confdefs.h. */
14937 main ()
14939 asm(".text\nac_test:\t.long 0\n\t.previous");
14941 return 0;
14943 _ACEOF
14944 if ac_fn_c_try_link "$LINENO"; then :
14945 ac_cv_c_dot_previous="yes"
14946 else
14947 ac_cv_c_dot_previous="no"
14949 rm -f core conftest.err conftest.$ac_objext \
14950 conftest$ac_exeext conftest.$ac_ext
14952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14953 $as_echo "$ac_cv_c_dot_previous" >&6; }
14955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14956 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14957 if ${ac_cv_c_cfi_support+:} false; then :
14958 $as_echo_n "(cached) " >&6
14959 else
14960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14961 /* end confdefs.h. */
14962 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14964 main ()
14968 return 0;
14970 _ACEOF
14971 if ac_fn_c_try_compile "$LINENO"; then :
14972 ac_cv_c_cfi_support="yes"
14973 else
14974 ac_cv_c_cfi_support="no"
14976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14979 $as_echo "$ac_cv_c_cfi_support" >&6; }
14981 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14982 asm_func_trailer=""
14983 if test "$ac_cv_c_dot_previous" = "yes"
14984 then
14985 asm_func_trailer="\\n\\t.previous"
14987 if test "$ac_cv_c_cfi_support" = "yes"
14988 then
14989 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14990 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14992 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14994 UNWINDFLAGS=-fasynchronous-unwind-tables
14996 else
14997 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14999 if test "x$enable_win64" = "xyes"
15000 then
15001 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15005 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15008 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15009 then
15010 cat >>confdefs.h <<_ACEOF
15011 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15012 _ACEOF
15014 else
15015 cat >>confdefs.h <<_ACEOF
15016 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15017 _ACEOF
15021 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15024 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15028 case $build_os in
15029 cygwin*|mingw32*) TOOLSEXT=".exe"
15031 esac
15033 case $host_os in
15034 linux-android*) ;;
15035 linux*)
15036 case $host_cpu in
15037 *i[3456789]86*|x86_64*)
15038 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15039 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15041 esac
15043 esac
15046 ac_save_CFLAGS="$CFLAGS"
15047 CFLAGS="$CFLAGS $BUILTINFLAG"
15048 for ac_func in \
15049 __res_get_state \
15050 __res_getservers \
15051 _finite \
15052 _isnan \
15053 _pclose \
15054 _popen \
15055 _snprintf \
15056 _spawnvp \
15057 _strdup \
15058 _stricmp \
15059 _strnicmp \
15060 _strtoi64 \
15061 _strtoui64 \
15062 _vsnprintf \
15063 asctime_r \
15064 chsize \
15065 dlopen \
15066 epoll_create \
15067 ffs \
15068 finitef \
15069 fnmatch \
15070 fork \
15071 fpclass \
15072 fstatfs \
15073 fstatvfs \
15074 ftruncate \
15075 futimens \
15076 futimes \
15077 futimesat \
15078 getattrlist \
15079 getopt_long_only \
15080 getpwuid \
15081 gettimeofday \
15082 getuid \
15083 if_nameindex \
15084 isnanf \
15085 kqueue \
15086 lstat \
15087 memmove \
15088 mmap \
15089 pclose \
15090 pipe2 \
15091 poll \
15092 popen \
15093 port_create \
15094 prctl \
15095 pread \
15096 proc_pidinfo \
15097 pwrite \
15098 readdir \
15099 readlink \
15100 sched_yield \
15101 select \
15102 setproctitle \
15103 setprogname \
15104 setrlimit \
15105 settimeofday \
15106 sigaltstack \
15107 sigprocmask \
15108 snprintf \
15109 statfs \
15110 statvfs \
15111 strcasecmp \
15112 strdup \
15113 strerror \
15114 strncasecmp \
15115 strtold \
15116 strtoll \
15117 strtoull \
15118 symlink \
15119 tcdrain \
15120 thr_kill2 \
15121 timegm \
15122 usleep \
15123 vsnprintf
15125 do :
15126 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15127 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15128 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15129 cat >>confdefs.h <<_ACEOF
15130 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15131 _ACEOF
15134 done
15136 CFLAGS="$ac_save_CFLAGS"
15138 if test "$ac_cv_func_dlopen" = no
15139 then
15140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15141 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15142 if ${ac_cv_lib_dl_dlopen+:} false; then :
15143 $as_echo_n "(cached) " >&6
15144 else
15145 ac_check_lib_save_LIBS=$LIBS
15146 LIBS="-ldl $LIBS"
15147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15148 /* end confdefs.h. */
15150 /* Override any GCC internal prototype to avoid an error.
15151 Use char because int might match the return type of a GCC
15152 builtin and then its argument prototype would still apply. */
15153 #ifdef __cplusplus
15154 extern "C"
15155 #endif
15156 char dlopen ();
15158 main ()
15160 return dlopen ();
15162 return 0;
15164 _ACEOF
15165 if ac_fn_c_try_link "$LINENO"; then :
15166 ac_cv_lib_dl_dlopen=yes
15167 else
15168 ac_cv_lib_dl_dlopen=no
15170 rm -f core conftest.err conftest.$ac_objext \
15171 conftest$ac_exeext conftest.$ac_ext
15172 LIBS=$ac_check_lib_save_LIBS
15174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15175 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15176 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15177 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15178 DL_LIBS="-ldl"
15183 ac_wine_check_funcs_save_LIBS="$LIBS"
15184 LIBS="$LIBS $DL_LIBS"
15185 for ac_func in dladdr
15186 do :
15187 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15188 if test "x$ac_cv_func_dladdr" = xyes; then :
15189 cat >>confdefs.h <<_ACEOF
15190 #define HAVE_DLADDR 1
15191 _ACEOF
15194 done
15196 LIBS="$ac_wine_check_funcs_save_LIBS"
15198 if test "$ac_cv_func_poll" = no
15199 then
15200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15201 $as_echo_n "checking for poll in -lpoll... " >&6; }
15202 if ${ac_cv_lib_poll_poll+:} false; then :
15203 $as_echo_n "(cached) " >&6
15204 else
15205 ac_check_lib_save_LIBS=$LIBS
15206 LIBS="-lpoll $LIBS"
15207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15208 /* end confdefs.h. */
15210 /* Override any GCC internal prototype to avoid an error.
15211 Use char because int might match the return type of a GCC
15212 builtin and then its argument prototype would still apply. */
15213 #ifdef __cplusplus
15214 extern "C"
15215 #endif
15216 char poll ();
15218 main ()
15220 return poll ();
15222 return 0;
15224 _ACEOF
15225 if ac_fn_c_try_link "$LINENO"; then :
15226 ac_cv_lib_poll_poll=yes
15227 else
15228 ac_cv_lib_poll_poll=no
15230 rm -f core conftest.err conftest.$ac_objext \
15231 conftest$ac_exeext conftest.$ac_ext
15232 LIBS=$ac_check_lib_save_LIBS
15234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15235 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15236 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15237 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15238 POLL_LIBS="-lpoll"
15244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15245 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15246 if ${ac_cv_search_gethostbyname+:} false; then :
15247 $as_echo_n "(cached) " >&6
15248 else
15249 ac_func_search_save_LIBS=$LIBS
15250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15251 /* end confdefs.h. */
15253 /* Override any GCC internal prototype to avoid an error.
15254 Use char because int might match the return type of a GCC
15255 builtin and then its argument prototype would still apply. */
15256 #ifdef __cplusplus
15257 extern "C"
15258 #endif
15259 char gethostbyname ();
15261 main ()
15263 return gethostbyname ();
15265 return 0;
15267 _ACEOF
15268 for ac_lib in '' nsl; do
15269 if test -z "$ac_lib"; then
15270 ac_res="none required"
15271 else
15272 ac_res=-l$ac_lib
15273 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15275 if ac_fn_c_try_link "$LINENO"; then :
15276 ac_cv_search_gethostbyname=$ac_res
15278 rm -f core conftest.err conftest.$ac_objext \
15279 conftest$ac_exeext
15280 if ${ac_cv_search_gethostbyname+:} false; then :
15281 break
15283 done
15284 if ${ac_cv_search_gethostbyname+:} false; then :
15286 else
15287 ac_cv_search_gethostbyname=no
15289 rm conftest.$ac_ext
15290 LIBS=$ac_func_search_save_LIBS
15292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15293 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15294 ac_res=$ac_cv_search_gethostbyname
15295 if test "$ac_res" != no; then :
15296 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15302 $as_echo_n "checking for library containing connect... " >&6; }
15303 if ${ac_cv_search_connect+:} false; then :
15304 $as_echo_n "(cached) " >&6
15305 else
15306 ac_func_search_save_LIBS=$LIBS
15307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15308 /* end confdefs.h. */
15310 /* Override any GCC internal prototype to avoid an error.
15311 Use char because int might match the return type of a GCC
15312 builtin and then its argument prototype would still apply. */
15313 #ifdef __cplusplus
15314 extern "C"
15315 #endif
15316 char connect ();
15318 main ()
15320 return connect ();
15322 return 0;
15324 _ACEOF
15325 for ac_lib in '' socket; do
15326 if test -z "$ac_lib"; then
15327 ac_res="none required"
15328 else
15329 ac_res=-l$ac_lib
15330 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15332 if ac_fn_c_try_link "$LINENO"; then :
15333 ac_cv_search_connect=$ac_res
15335 rm -f core conftest.err conftest.$ac_objext \
15336 conftest$ac_exeext
15337 if ${ac_cv_search_connect+:} false; then :
15338 break
15340 done
15341 if ${ac_cv_search_connect+:} false; then :
15343 else
15344 ac_cv_search_connect=no
15346 rm conftest.$ac_ext
15347 LIBS=$ac_func_search_save_LIBS
15349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15350 $as_echo "$ac_cv_search_connect" >&6; }
15351 ac_res=$ac_cv_search_connect
15352 if test "$ac_res" != no; then :
15353 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15359 $as_echo_n "checking for library containing inet_aton... " >&6; }
15360 if ${ac_cv_search_inet_aton+:} false; then :
15361 $as_echo_n "(cached) " >&6
15362 else
15363 ac_func_search_save_LIBS=$LIBS
15364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15365 /* end confdefs.h. */
15367 /* Override any GCC internal prototype to avoid an error.
15368 Use char because int might match the return type of a GCC
15369 builtin and then its argument prototype would still apply. */
15370 #ifdef __cplusplus
15371 extern "C"
15372 #endif
15373 char inet_aton ();
15375 main ()
15377 return inet_aton ();
15379 return 0;
15381 _ACEOF
15382 for ac_lib in '' resolv; do
15383 if test -z "$ac_lib"; then
15384 ac_res="none required"
15385 else
15386 ac_res=-l$ac_lib
15387 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15389 if ac_fn_c_try_link "$LINENO"; then :
15390 ac_cv_search_inet_aton=$ac_res
15392 rm -f core conftest.err conftest.$ac_objext \
15393 conftest$ac_exeext
15394 if ${ac_cv_search_inet_aton+:} false; then :
15395 break
15397 done
15398 if ${ac_cv_search_inet_aton+:} false; then :
15400 else
15401 ac_cv_search_inet_aton=no
15403 rm conftest.$ac_ext
15404 LIBS=$ac_func_search_save_LIBS
15406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15407 $as_echo "$ac_cv_search_inet_aton" >&6; }
15408 ac_res=$ac_cv_search_inet_aton
15409 if test "$ac_res" != no; then :
15410 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15415 for ac_func in \
15416 getaddrinfo \
15417 getnameinfo \
15418 getnetbyname \
15419 getprotobyname \
15420 getprotobynumber \
15421 getservbyport \
15422 inet_addr \
15423 inet_network \
15424 inet_ntop \
15425 inet_pton \
15426 sendmsg \
15427 socketpair \
15429 do :
15430 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15431 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15432 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15433 cat >>confdefs.h <<_ACEOF
15434 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15435 _ACEOF
15438 done
15441 ac_save_LIBS=$LIBS
15442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15443 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15444 if ${ac_cv_search_clock_gettime+:} false; then :
15445 $as_echo_n "(cached) " >&6
15446 else
15447 ac_func_search_save_LIBS=$LIBS
15448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15449 /* end confdefs.h. */
15451 /* Override any GCC internal prototype to avoid an error.
15452 Use char because int might match the return type of a GCC
15453 builtin and then its argument prototype would still apply. */
15454 #ifdef __cplusplus
15455 extern "C"
15456 #endif
15457 char clock_gettime ();
15459 main ()
15461 return clock_gettime ();
15463 return 0;
15465 _ACEOF
15466 for ac_lib in '' rt; do
15467 if test -z "$ac_lib"; then
15468 ac_res="none required"
15469 else
15470 ac_res=-l$ac_lib
15471 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15473 if ac_fn_c_try_link "$LINENO"; then :
15474 ac_cv_search_clock_gettime=$ac_res
15476 rm -f core conftest.err conftest.$ac_objext \
15477 conftest$ac_exeext
15478 if ${ac_cv_search_clock_gettime+:} false; then :
15479 break
15481 done
15482 if ${ac_cv_search_clock_gettime+:} false; then :
15484 else
15485 ac_cv_search_clock_gettime=no
15487 rm conftest.$ac_ext
15488 LIBS=$ac_func_search_save_LIBS
15490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15491 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15492 ac_res=$ac_cv_search_clock_gettime
15493 if test "$ac_res" != no; then :
15494 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15496 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15498 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15502 LIBS=$ac_save_LIBS
15504 LDAP_LIBS=""
15506 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15507 then
15508 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15510 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15512 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15513 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15514 $as_echo_n "(cached) " >&6
15515 else
15516 ac_check_lib_save_LIBS=$LIBS
15517 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15519 /* end confdefs.h. */
15521 /* Override any GCC internal prototype to avoid an error.
15522 Use char because int might match the return type of a GCC
15523 builtin and then its argument prototype would still apply. */
15524 #ifdef __cplusplus
15525 extern "C"
15526 #endif
15527 char ldap_initialize ();
15529 main ()
15531 return ldap_initialize ();
15533 return 0;
15535 _ACEOF
15536 if ac_fn_c_try_link "$LINENO"; then :
15537 ac_cv_lib_ldap_r_ldap_initialize=yes
15538 else
15539 ac_cv_lib_ldap_r_ldap_initialize=no
15541 rm -f core conftest.err conftest.$ac_objext \
15542 conftest$ac_exeext conftest.$ac_ext
15543 LIBS=$ac_check_lib_save_LIBS
15545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15546 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15547 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15549 $as_echo_n "checking for ber_init in -llber... " >&6; }
15550 if ${ac_cv_lib_lber_ber_init+:} false; then :
15551 $as_echo_n "(cached) " >&6
15552 else
15553 ac_check_lib_save_LIBS=$LIBS
15554 LIBS="-llber $PTHREAD_LIBS $LIBS"
15555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15556 /* end confdefs.h. */
15558 /* Override any GCC internal prototype to avoid an error.
15559 Use char because int might match the return type of a GCC
15560 builtin and then its argument prototype would still apply. */
15561 #ifdef __cplusplus
15562 extern "C"
15563 #endif
15564 char ber_init ();
15566 main ()
15568 return ber_init ();
15570 return 0;
15572 _ACEOF
15573 if ac_fn_c_try_link "$LINENO"; then :
15574 ac_cv_lib_lber_ber_init=yes
15575 else
15576 ac_cv_lib_lber_ber_init=no
15578 rm -f core conftest.err conftest.$ac_objext \
15579 conftest$ac_exeext conftest.$ac_ext
15580 LIBS=$ac_check_lib_save_LIBS
15582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15583 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15584 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15586 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15588 LDAP_LIBS="-lldap_r -llber"
15595 ac_wine_check_funcs_save_LIBS="$LIBS"
15596 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15597 for ac_func in \
15598 ldap_count_references \
15599 ldap_first_reference \
15600 ldap_next_reference \
15601 ldap_parse_reference \
15602 ldap_parse_sort_control \
15603 ldap_parse_sortresponse_control \
15604 ldap_parse_vlv_control \
15605 ldap_parse_vlvresponse_control
15606 do :
15607 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15608 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15609 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15610 cat >>confdefs.h <<_ACEOF
15611 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15612 _ACEOF
15615 done
15617 LIBS="$ac_wine_check_funcs_save_LIBS"
15619 if test "x$LDAP_LIBS" = "x"; then :
15620 case "x$with_ldap" in
15621 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15622 xno) ;;
15623 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15624 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15625 esac
15629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15630 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15631 if ${wine_cv_one_arg_mkdir+:} false; then :
15632 $as_echo_n "(cached) " >&6
15633 else
15634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15635 /* end confdefs.h. */
15636 #include <sys/stat.h>
15638 main ()
15640 mkdir("foo");
15642 return 0;
15644 _ACEOF
15645 if ac_fn_c_try_compile "$LINENO"; then :
15646 wine_cv_one_arg_mkdir=yes
15647 else
15648 wine_cv_one_arg_mkdir=no
15650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15653 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15654 if test "$wine_cv_one_arg_mkdir" = "yes"
15655 then
15657 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15662 $as_echo_n "checking for sched_setaffinity... " >&6; }
15663 if ${wine_cv_have_sched_setaffinity+:} false; then :
15664 $as_echo_n "(cached) " >&6
15665 else
15666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15667 /* end confdefs.h. */
15668 #define _GNU_SOURCE
15669 #include <sched.h>
15671 main ()
15673 sched_setaffinity(0, 0, 0);
15675 return 0;
15677 _ACEOF
15678 if ac_fn_c_try_link "$LINENO"; then :
15679 wine_cv_have_sched_setaffinity=yes
15680 else
15681 wine_cv_have_sched_setaffinity=no
15683 rm -f core conftest.err conftest.$ac_objext \
15684 conftest$ac_exeext conftest.$ac_ext
15686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15687 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15688 if test "$wine_cv_have_sched_setaffinity" = "yes"
15689 then
15691 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15696 $as_echo_n "checking for fallocate... " >&6; }
15697 if ${wine_cv_have_fallocate+:} false; then :
15698 $as_echo_n "(cached) " >&6
15699 else
15700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15701 /* end confdefs.h. */
15702 #define _GNU_SOURCE
15703 #include <fcntl.h>
15705 main ()
15707 fallocate(-1, 0, 0, 0);
15709 return 0;
15711 _ACEOF
15712 if ac_fn_c_try_link "$LINENO"; then :
15713 wine_cv_have_fallocate=yes
15714 else
15715 wine_cv_have_fallocate=no
15717 rm -f core conftest.err conftest.$ac_objext \
15718 conftest$ac_exeext conftest.$ac_ext
15720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15721 $as_echo "$wine_cv_have_fallocate" >&6; }
15722 if test "$wine_cv_have_fallocate" = "yes"
15723 then
15725 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15731 $as_echo_n "checking for inline... " >&6; }
15732 if ${ac_cv_c_inline+:} false; then :
15733 $as_echo_n "(cached) " >&6
15734 else
15735 ac_cv_c_inline=no
15736 for ac_kw in inline __inline__ __inline; do
15737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15738 /* end confdefs.h. */
15739 #ifndef __cplusplus
15740 typedef int foo_t;
15741 static $ac_kw foo_t static_foo () {return 0; }
15742 $ac_kw foo_t foo () {return 0; }
15743 #endif
15745 _ACEOF
15746 if ac_fn_c_try_compile "$LINENO"; then :
15747 ac_cv_c_inline=$ac_kw
15749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15750 test "$ac_cv_c_inline" != no && break
15751 done
15754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15755 $as_echo "$ac_cv_c_inline" >&6; }
15757 case $ac_cv_c_inline in
15758 inline | yes) ;;
15760 case $ac_cv_c_inline in
15761 no) ac_val=;;
15762 *) ac_val=$ac_cv_c_inline;;
15763 esac
15764 cat >>confdefs.h <<_ACEOF
15765 #ifndef __cplusplus
15766 #define inline $ac_val
15767 #endif
15768 _ACEOF
15770 esac
15772 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15773 if test "x$ac_cv_type_mode_t" = xyes; then :
15775 cat >>confdefs.h <<_ACEOF
15776 #define HAVE_MODE_T 1
15777 _ACEOF
15781 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15782 if test "x$ac_cv_type_off_t" = xyes; then :
15784 cat >>confdefs.h <<_ACEOF
15785 #define HAVE_OFF_T 1
15786 _ACEOF
15790 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15791 if test "x$ac_cv_type_pid_t" = xyes; then :
15793 cat >>confdefs.h <<_ACEOF
15794 #define HAVE_PID_T 1
15795 _ACEOF
15799 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15800 if test "x$ac_cv_type_size_t" = xyes; then :
15802 cat >>confdefs.h <<_ACEOF
15803 #define HAVE_SIZE_T 1
15804 _ACEOF
15808 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15809 if test "x$ac_cv_type_ssize_t" = xyes; then :
15811 cat >>confdefs.h <<_ACEOF
15812 #define HAVE_SSIZE_T 1
15813 _ACEOF
15817 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15818 if test "x$ac_cv_type_long_long" = xyes; then :
15820 cat >>confdefs.h <<_ACEOF
15821 #define HAVE_LONG_LONG 1
15822 _ACEOF
15826 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15827 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15829 cat >>confdefs.h <<_ACEOF
15830 #define HAVE_FSBLKCNT_T 1
15831 _ACEOF
15835 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15836 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15838 cat >>confdefs.h <<_ACEOF
15839 #define HAVE_FSFILCNT_T 1
15840 _ACEOF
15845 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15846 #include <signal.h>
15848 if test "x$ac_cv_type_sigset_t" = xyes; then :
15850 cat >>confdefs.h <<_ACEOF
15851 #define HAVE_SIGSET_T 1
15852 _ACEOF
15857 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15859 if test "x$ac_cv_type_request_sense" = xyes; then :
15861 cat >>confdefs.h <<_ACEOF
15862 #define HAVE_REQUEST_SENSE 1
15863 _ACEOF
15869 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15870 #ifdef HAVE_SYS_SOCKET_H
15871 #include <sys/socket.h>
15872 #endif
15873 #ifdef HAVE_SYS_SOCKETVAR_H
15874 #include <sys/socketvar.h>
15875 #endif
15876 #ifdef HAVE_NET_ROUTE_H
15877 #include <net/route.h>
15878 #endif
15879 #ifdef HAVE_NETINET_IN_H
15880 #include <netinet/in.h>
15881 #endif
15882 #ifdef HAVE_NETINET_IN_SYSTM_H
15883 #include <netinet/in_systm.h>
15884 #endif
15885 #ifdef HAVE_NETINET_IP_H
15886 #include <netinet/ip.h>
15887 #endif
15888 #ifdef HAVE_NETINET_IN_PCB_H
15889 #include <netinet/in_pcb.h>
15890 #endif
15892 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15894 cat >>confdefs.h <<_ACEOF
15895 #define HAVE_STRUCT_XINPGEN 1
15896 _ACEOF
15902 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15903 #include <link.h>
15904 #endif
15905 #ifdef HAVE_SYS_LINK_H
15906 #include <sys/link.h>
15907 #endif
15909 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15911 cat >>confdefs.h <<_ACEOF
15912 #define HAVE_STRUCT_R_DEBUG 1
15913 _ACEOF
15917 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15918 #include <link.h>
15919 #endif
15920 #ifdef HAVE_SYS_LINK_H
15921 #include <sys/link.h>
15922 #endif
15924 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15926 cat >>confdefs.h <<_ACEOF
15927 #define HAVE_STRUCT_LINK_MAP 1
15928 _ACEOF
15934 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15935 #include <linux/input.h>
15936 #endif
15938 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15940 cat >>confdefs.h <<_ACEOF
15941 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15942 _ACEOF
15948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15949 $as_echo_n "checking for sigaddset... " >&6; }
15950 if ${wine_cv_have_sigaddset+:} false; then :
15951 $as_echo_n "(cached) " >&6
15952 else
15953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15954 /* end confdefs.h. */
15955 #include <signal.h>
15957 main ()
15959 sigset_t set; sigaddset(&set,SIGTERM);
15961 return 0;
15963 _ACEOF
15964 if ac_fn_c_try_link "$LINENO"; then :
15965 wine_cv_have_sigaddset=yes
15966 else
15967 wine_cv_have_sigaddset=no
15969 rm -f core conftest.err conftest.$ac_objext \
15970 conftest$ac_exeext conftest.$ac_ext
15972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15973 $as_echo "$wine_cv_have_sigaddset" >&6; }
15974 if test "$wine_cv_have_sigaddset" = "yes"
15975 then
15977 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15983 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15984 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15985 $as_echo_n "(cached) " >&6
15986 else
15987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15988 /* end confdefs.h. */
15989 #include <netdb.h>
15991 main ()
15994 char *name=0;
15995 struct hostent he;
15996 struct hostent *result;
15997 char *buf=0;
15998 int bufsize=0;
15999 int errnr;
16000 char *addr=0;
16001 int addrlen=0;
16002 int addrtype=0;
16003 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16004 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16007 return 0;
16009 _ACEOF
16010 if ac_fn_c_try_link "$LINENO"; then :
16011 wine_cv_linux_gethostbyname_r_6=yes
16012 else
16013 wine_cv_linux_gethostbyname_r_6=no
16016 rm -f core conftest.err conftest.$ac_objext \
16017 conftest$ac_exeext conftest.$ac_ext
16020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16021 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16022 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16023 then
16025 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16029 if test "$ac_cv_header_linux_joystick_h" = "yes"
16030 then
16031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16032 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16033 if ${wine_cv_linux_joystick_22_api+:} false; then :
16034 $as_echo_n "(cached) " >&6
16035 else
16036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16037 /* end confdefs.h. */
16039 #include <sys/ioctl.h>
16040 #include <sys/types.h>
16041 #include <linux/joystick.h>
16043 struct js_event blub;
16044 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16045 #error "no 2.2 header"
16046 #endif
16049 main ()
16051 /*empty*/
16053 return 0;
16055 _ACEOF
16056 if ac_fn_c_try_compile "$LINENO"; then :
16057 wine_cv_linux_joystick_22_api=yes
16058 else
16059 wine_cv_linux_joystick_22_api=no
16061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16065 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16066 if test "$wine_cv_linux_joystick_22_api" = "yes"
16067 then
16069 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16075 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16076 #ifdef HAVE_SYS_PARAM_H
16077 # include <sys/param.h>
16078 #endif
16079 #ifdef HAVE_SYS_MOUNT_H
16080 # include <sys/mount.h>
16081 #endif
16082 #ifdef HAVE_SYS_VFS_H
16083 # include <sys/vfs.h>
16084 #endif
16085 #ifdef HAVE_SYS_STATFS_H
16086 # include <sys/statfs.h>
16087 #endif
16089 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16091 cat >>confdefs.h <<_ACEOF
16092 #define HAVE_STRUCT_STATFS_F_BFREE 1
16093 _ACEOF
16097 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16098 #ifdef HAVE_SYS_PARAM_H
16099 # include <sys/param.h>
16100 #endif
16101 #ifdef HAVE_SYS_MOUNT_H
16102 # include <sys/mount.h>
16103 #endif
16104 #ifdef HAVE_SYS_VFS_H
16105 # include <sys/vfs.h>
16106 #endif
16107 #ifdef HAVE_SYS_STATFS_H
16108 # include <sys/statfs.h>
16109 #endif
16111 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16113 cat >>confdefs.h <<_ACEOF
16114 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16115 _ACEOF
16119 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16120 #ifdef HAVE_SYS_PARAM_H
16121 # include <sys/param.h>
16122 #endif
16123 #ifdef HAVE_SYS_MOUNT_H
16124 # include <sys/mount.h>
16125 #endif
16126 #ifdef HAVE_SYS_VFS_H
16127 # include <sys/vfs.h>
16128 #endif
16129 #ifdef HAVE_SYS_STATFS_H
16130 # include <sys/statfs.h>
16131 #endif
16133 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16135 cat >>confdefs.h <<_ACEOF
16136 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16137 _ACEOF
16141 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16142 #ifdef HAVE_SYS_PARAM_H
16143 # include <sys/param.h>
16144 #endif
16145 #ifdef HAVE_SYS_MOUNT_H
16146 # include <sys/mount.h>
16147 #endif
16148 #ifdef HAVE_SYS_VFS_H
16149 # include <sys/vfs.h>
16150 #endif
16151 #ifdef HAVE_SYS_STATFS_H
16152 # include <sys/statfs.h>
16153 #endif
16155 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16157 cat >>confdefs.h <<_ACEOF
16158 #define HAVE_STRUCT_STATFS_F_FFREE 1
16159 _ACEOF
16163 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16164 #ifdef HAVE_SYS_PARAM_H
16165 # include <sys/param.h>
16166 #endif
16167 #ifdef HAVE_SYS_MOUNT_H
16168 # include <sys/mount.h>
16169 #endif
16170 #ifdef HAVE_SYS_VFS_H
16171 # include <sys/vfs.h>
16172 #endif
16173 #ifdef HAVE_SYS_STATFS_H
16174 # include <sys/statfs.h>
16175 #endif
16177 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16179 cat >>confdefs.h <<_ACEOF
16180 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16181 _ACEOF
16185 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16186 #ifdef HAVE_SYS_PARAM_H
16187 # include <sys/param.h>
16188 #endif
16189 #ifdef HAVE_SYS_MOUNT_H
16190 # include <sys/mount.h>
16191 #endif
16192 #ifdef HAVE_SYS_VFS_H
16193 # include <sys/vfs.h>
16194 #endif
16195 #ifdef HAVE_SYS_STATFS_H
16196 # include <sys/statfs.h>
16197 #endif
16199 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16201 cat >>confdefs.h <<_ACEOF
16202 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16203 _ACEOF
16209 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16210 #include <sys/statvfs.h>
16211 #endif
16213 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16215 cat >>confdefs.h <<_ACEOF
16216 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16217 _ACEOF
16223 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16224 #include <dirent.h>
16225 #endif
16227 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16229 cat >>confdefs.h <<_ACEOF
16230 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16231 _ACEOF
16237 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16238 #ifdef HAVE_SYS_SOCKET_H
16239 # include <sys/socket.h>
16240 #endif
16241 #ifdef HAVE_SYS_UN_H
16242 # include <sys/un.h>
16243 #endif
16245 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16247 cat >>confdefs.h <<_ACEOF
16248 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16249 _ACEOF
16253 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16254 #ifdef HAVE_SYS_SOCKET_H
16255 # include <sys/socket.h>
16256 #endif
16257 #ifdef HAVE_SYS_UN_H
16258 # include <sys/un.h>
16259 #endif
16261 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16263 cat >>confdefs.h <<_ACEOF
16264 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16265 _ACEOF
16269 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16270 #ifdef HAVE_SYS_SOCKET_H
16271 # include <sys/socket.h>
16272 #endif
16273 #ifdef HAVE_SYS_UN_H
16274 # include <sys/un.h>
16275 #endif
16277 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16279 cat >>confdefs.h <<_ACEOF
16280 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16281 _ACEOF
16287 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16288 #ifdef HAVE_SCSI_SG_H
16289 #include <scsi/sg.h>
16290 #endif
16292 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16294 cat >>confdefs.h <<_ACEOF
16295 #define HAVE_SCSIREQ_T_CMD 1
16296 _ACEOF
16300 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>
16301 #ifdef HAVE_SCSI_SG_H
16302 #include <scsi/sg.h>
16303 #endif
16305 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16307 cat >>confdefs.h <<_ACEOF
16308 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16309 _ACEOF
16315 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16317 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16319 cat >>confdefs.h <<_ACEOF
16320 #define HAVE_SIGINFO_T_SI_FD 1
16321 _ACEOF
16327 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16328 #ifdef HAVE_SYS_MTIO_H
16329 #include <sys/mtio.h>
16330 #endif
16332 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16334 cat >>confdefs.h <<_ACEOF
16335 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16336 _ACEOF
16340 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16341 #ifdef HAVE_SYS_MTIO_H
16342 #include <sys/mtio.h>
16343 #endif
16345 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16347 cat >>confdefs.h <<_ACEOF
16348 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16349 _ACEOF
16353 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16354 #ifdef HAVE_SYS_MTIO_H
16355 #include <sys/mtio.h>
16356 #endif
16358 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16360 cat >>confdefs.h <<_ACEOF
16361 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16362 _ACEOF
16368 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16369 #include <getopt.h>
16370 #endif
16372 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16374 cat >>confdefs.h <<_ACEOF
16375 #define HAVE_STRUCT_OPTION_NAME 1
16376 _ACEOF
16382 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16383 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16385 cat >>confdefs.h <<_ACEOF
16386 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16387 _ACEOF
16391 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16392 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16394 cat >>confdefs.h <<_ACEOF
16395 #define HAVE_STRUCT_STAT_ST_MTIM 1
16396 _ACEOF
16400 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16401 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16403 cat >>confdefs.h <<_ACEOF
16404 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16405 _ACEOF
16409 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16410 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16412 cat >>confdefs.h <<_ACEOF
16413 #define HAVE_STRUCT_STAT_ST_CTIM 1
16414 _ACEOF
16418 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16419 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16421 cat >>confdefs.h <<_ACEOF
16422 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16423 _ACEOF
16427 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16428 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16430 cat >>confdefs.h <<_ACEOF
16431 #define HAVE_STRUCT_STAT_ST_ATIM 1
16432 _ACEOF
16436 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16437 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16439 cat >>confdefs.h <<_ACEOF
16440 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16441 _ACEOF
16445 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16446 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16448 cat >>confdefs.h <<_ACEOF
16449 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16450 _ACEOF
16454 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16455 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16457 cat >>confdefs.h <<_ACEOF
16458 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16459 _ACEOF
16463 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16464 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16466 cat >>confdefs.h <<_ACEOF
16467 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16468 _ACEOF
16472 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16473 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16475 cat >>confdefs.h <<_ACEOF
16476 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16477 _ACEOF
16481 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16482 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16484 cat >>confdefs.h <<_ACEOF
16485 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16486 _ACEOF
16492 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
16493 #include <sys/types.h>
16494 #endif
16495 #ifdef HAVE_NETINET_IN_H
16496 #include <netinet/in.h>
16497 #endif
16499 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16501 cat >>confdefs.h <<_ACEOF
16502 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16503 _ACEOF
16509 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16510 #include <resolv.h>
16511 #endif
16513 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16515 cat >>confdefs.h <<_ACEOF
16516 #define HAVE_STRUCT___RES_STATE 1
16517 _ACEOF
16523 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
16524 #include <resolv.h>
16525 #endif
16527 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16529 cat >>confdefs.h <<_ACEOF
16530 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16531 _ACEOF
16537 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16538 #include <sys/types.h>
16539 #endif
16540 #ifdef HAVE_NETINET_IN_H
16541 # include <netinet/in.h>
16542 #endif
16543 #ifdef HAVE_ARPA_NAMESER_H
16544 # include <arpa/nameser.h>
16545 #endif
16547 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16549 cat >>confdefs.h <<_ACEOF
16550 #define HAVE_NS_MSG__MSG_PTR 1
16551 _ACEOF
16557 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16558 #include <sys/types.h>
16559 #endif
16560 #ifdef HAVE_NETINET_IP_H
16561 #include <netinet/ip.h>
16562 #endif
16563 #ifdef HAVE_NETINET_IP_ICMP_H
16564 #include <netinet/ip_icmp.h>
16565 #endif
16566 #ifdef HAVE_NETINET_ICMP_VAR_H
16567 #include <netinet/icmp_var.h>
16568 #endif
16570 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16572 cat >>confdefs.h <<_ACEOF
16573 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16574 _ACEOF
16580 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16581 #include <sys/types.h>
16582 #endif
16583 #ifdef HAVE_ALIAS_H
16584 #include <alias.h>
16585 #endif
16586 #ifdef HAVE_SYS_SOCKET_H
16587 #include <sys/socket.h>
16588 #endif
16589 #ifdef HAVE_SYS_SOCKETVAR_H
16590 #include <sys/socketvar.h>
16591 #endif
16592 #ifdef HAVE_SYS_TIMEOUT_H
16593 #include <sys/timeout.h>
16594 #endif
16595 #ifdef HAVE_NETINET_IN_H
16596 #include <netinet/in.h>
16597 #endif
16598 #ifdef HAVE_NETINET_IN_SYSTM_H
16599 #include <netinet/in_systm.h>
16600 #endif
16601 #ifdef HAVE_NETINET_IP_H
16602 #include <netinet/ip.h>
16603 #endif
16604 #ifdef HAVE_NETINET_IP_VAR_H
16605 #include <netinet/ip_var.h>
16606 #endif
16607 #ifdef HAVE_NETINET_IP_ICMP_H
16608 #include <netinet/ip_icmp.h>
16609 #endif
16610 #ifdef HAVE_NETINET_ICMP_VAR_H
16611 #include <netinet/icmp_var.h>
16612 #endif
16614 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16616 cat >>confdefs.h <<_ACEOF
16617 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16618 _ACEOF
16624 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16625 #include <sys/types.h>
16626 #endif
16627 #ifdef HAVE_SYS_SOCKETVAR_H
16628 #include <sys/socketvar.h>
16629 #endif
16630 #ifdef HAVE_NETINET_IN_H
16631 #include <netinet/in.h>
16632 #endif
16633 #ifdef HAVE_NETINET_IP_VAR_H
16634 #include <netinet/ip_var.h>
16635 #endif
16637 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16639 cat >>confdefs.h <<_ACEOF
16640 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16641 _ACEOF
16647 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
16648 #include <netinet/ip_var.h>
16649 #endif
16651 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16653 cat >>confdefs.h <<_ACEOF
16654 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16655 _ACEOF
16661 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16662 #include <sys/types.h>
16663 #endif
16664 #ifdef HAVE_SYS_SOCKETVAR_H
16665 #include <sys/socketvar.h>
16666 #endif
16667 #ifdef HAVE_NETINET_IN_H
16668 #include <netinet/in.h>
16669 #endif
16670 #ifdef HAVE_NETINET_TCP_H
16671 #include <netinet/tcp.h>
16672 #endif
16673 #ifdef HAVE_NETINET_TCP_VAR_H
16674 #include <netinet/tcp_var.h>
16675 #endif
16677 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16679 cat >>confdefs.h <<_ACEOF
16680 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16681 _ACEOF
16687 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
16688 #include <netinet/tcp_var.h>
16689 #endif
16691 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16693 cat >>confdefs.h <<_ACEOF
16694 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16695 _ACEOF
16701 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16702 #include <sys/types.h>
16703 #endif
16704 #ifdef HAVE_NETINET_IN_H
16705 #include <netinet/in.h>
16706 #endif
16707 #ifdef HAVE_NETINET_IP_VAR_H
16708 #include <netinet/ip_var.h>
16709 #endif
16710 #ifdef HAVE_NETINET_UDP_H
16711 #include <netinet/udp.h>
16712 #endif
16713 #ifdef HAVE_NETINET_UDP_VAR_H
16714 #include <netinet/udp_var.h>
16715 #endif
16717 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16719 cat >>confdefs.h <<_ACEOF
16720 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16721 _ACEOF
16727 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16728 #include <sys/types.h>
16729 #endif
16730 #ifdef HAVE_NET_IF_H
16731 # include <net/if.h>
16732 #endif
16734 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16736 cat >>confdefs.h <<_ACEOF
16737 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16738 _ACEOF
16744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16745 $as_echo_n "checking for timezone variable... " >&6; }
16746 if ${ac_cv_have_timezone+:} false; then :
16747 $as_echo_n "(cached) " >&6
16748 else
16749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16750 /* end confdefs.h. */
16751 #include <time.h>
16753 main ()
16755 timezone = 1
16757 return 0;
16759 _ACEOF
16760 if ac_fn_c_try_link "$LINENO"; then :
16761 ac_cv_have_timezone="yes"
16762 else
16763 ac_cv_have_timezone="no"
16765 rm -f core conftest.err conftest.$ac_objext \
16766 conftest$ac_exeext conftest.$ac_ext
16768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16769 $as_echo "$ac_cv_have_timezone" >&6; }
16770 if test "$ac_cv_have_timezone" = "yes"
16771 then
16773 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16777 $as_echo_n "checking for daylight variable... " >&6; }
16778 if ${ac_cv_have_daylight+:} false; then :
16779 $as_echo_n "(cached) " >&6
16780 else
16781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16782 /* end confdefs.h. */
16783 #include <time.h>
16785 main ()
16787 daylight = 1
16789 return 0;
16791 _ACEOF
16792 if ac_fn_c_try_link "$LINENO"; then :
16793 ac_cv_have_daylight="yes"
16794 else
16795 ac_cv_have_daylight="no"
16797 rm -f core conftest.err conftest.$ac_objext \
16798 conftest$ac_exeext conftest.$ac_ext
16800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16801 $as_echo "$ac_cv_have_daylight" >&6; }
16802 if test "$ac_cv_have_daylight" = "yes"
16803 then
16805 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16809 ac_save_LIBS="$LIBS"
16810 LIBS="$LIBS -lm"
16811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16812 $as_echo_n "checking for isfinite... " >&6; }
16813 if ${ac_cv_have_isfinite+:} false; then :
16814 $as_echo_n "(cached) " >&6
16815 else
16816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16817 /* end confdefs.h. */
16818 #define _GNU_SOURCE
16819 #include <math.h>
16821 main ()
16823 float f = 0.0; return isfinite(f)
16825 return 0;
16827 _ACEOF
16828 if ac_fn_c_try_link "$LINENO"; then :
16829 ac_cv_have_isfinite="yes"
16830 else
16831 ac_cv_have_isfinite="no"
16833 rm -f core conftest.err conftest.$ac_objext \
16834 conftest$ac_exeext conftest.$ac_ext
16836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16837 $as_echo "$ac_cv_have_isfinite" >&6; }
16838 if test "$ac_cv_have_isfinite" = "yes"
16839 then
16841 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16846 $as_echo_n "checking for isinf... " >&6; }
16847 if ${ac_cv_have_isinf+:} false; then :
16848 $as_echo_n "(cached) " >&6
16849 else
16850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16851 /* end confdefs.h. */
16852 #include <math.h>
16854 main ()
16856 float f = 0.0; return isinf(f)
16858 return 0;
16860 _ACEOF
16861 if ac_fn_c_try_link "$LINENO"; then :
16862 ac_cv_have_isinf="yes"
16863 else
16864 ac_cv_have_isinf="no"
16866 rm -f core conftest.err conftest.$ac_objext \
16867 conftest$ac_exeext conftest.$ac_ext
16869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16870 $as_echo "$ac_cv_have_isinf" >&6; }
16871 if test "$ac_cv_have_isinf" = "yes"
16872 then
16874 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16879 $as_echo_n "checking for isnan... " >&6; }
16880 if ${ac_cv_have_isnan+:} false; then :
16881 $as_echo_n "(cached) " >&6
16882 else
16883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16884 /* end confdefs.h. */
16885 #include <math.h>
16887 main ()
16889 float f = 0.0; return isnan(f)
16891 return 0;
16893 _ACEOF
16894 if ac_fn_c_try_link "$LINENO"; then :
16895 ac_cv_have_isnan="yes"
16896 else
16897 ac_cv_have_isnan="no"
16899 rm -f core conftest.err conftest.$ac_objext \
16900 conftest$ac_exeext conftest.$ac_ext
16902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16903 $as_echo "$ac_cv_have_isnan" >&6; }
16904 if test "$ac_cv_have_isnan" = "yes"
16905 then
16907 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16911 for ac_func in \
16912 asinh \
16913 asinhf \
16914 cbrt \
16915 cbrtf \
16916 erf \
16917 erff \
16918 exp2 \
16919 exp2f \
16920 llrint \
16921 llrintf \
16922 llround \
16923 llroundf \
16924 log2 \
16925 log2f \
16926 lrint \
16927 lrintf \
16928 lround \
16929 lroundf \
16930 remainder \
16931 remainderf \
16932 rint \
16933 rintf \
16934 round \
16935 roundf \
16936 trunc \
16937 truncf
16939 do :
16940 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16941 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16942 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16943 cat >>confdefs.h <<_ACEOF
16944 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16945 _ACEOF
16948 done
16950 LIBS="$ac_save_LIBS"
16952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16953 $as_echo_n "checking for __builtin_clz... " >&6; }
16954 if ${ac_cv_have___builtin_clz+:} false; then :
16955 $as_echo_n "(cached) " >&6
16956 else
16957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16958 /* end confdefs.h. */
16961 main ()
16963 return __builtin_clz(1)
16965 return 0;
16967 _ACEOF
16968 if ac_fn_c_try_link "$LINENO"; then :
16969 ac_cv_have___builtin_clz="yes"
16970 else
16971 ac_cv_have___builtin_clz="no"
16973 rm -f core conftest.err conftest.$ac_objext \
16974 conftest$ac_exeext conftest.$ac_ext
16976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16977 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16978 if test "$ac_cv_have___builtin_clz" = "yes"
16979 then
16981 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
16986 $as_echo_n "checking for __builtin_popcount... " >&6; }
16987 if ${ac_cv_have___builtin_popcount+:} false; then :
16988 $as_echo_n "(cached) " >&6
16989 else
16990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16991 /* end confdefs.h. */
16994 main ()
16996 return __builtin_popcount(1)
16998 return 0;
17000 _ACEOF
17001 if ac_fn_c_try_link "$LINENO"; then :
17002 ac_cv_have___builtin_popcount="yes"
17003 else
17004 ac_cv_have___builtin_popcount="no"
17006 rm -f core conftest.err conftest.$ac_objext \
17007 conftest$ac_exeext conftest.$ac_ext
17009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17010 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17011 if test "$ac_cv_have___builtin_popcount" = "yes"
17012 then
17014 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17019 case $host_cpu in
17020 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17021 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17022 if ${ac_cv_cpp_def___i386__+:} false; then :
17023 $as_echo_n "(cached) " >&6
17024 else
17025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17026 /* end confdefs.h. */
17027 #ifndef __i386__
17029 #endif
17030 _ACEOF
17031 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17032 $EGREP "yes" >/dev/null 2>&1; then :
17033 ac_cv_cpp_def___i386__=yes
17034 else
17035 ac_cv_cpp_def___i386__=no
17037 rm -f conftest*
17040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17041 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17042 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17043 CFLAGS="$CFLAGS -D__i386__"
17044 LINTFLAGS="$LINTFLAGS -D__i386__"
17045 fi ;;
17046 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17047 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17048 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17049 $as_echo_n "(cached) " >&6
17050 else
17051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17052 /* end confdefs.h. */
17053 #ifndef __x86_64__
17055 #endif
17056 _ACEOF
17057 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17058 $EGREP "yes" >/dev/null 2>&1; then :
17059 ac_cv_cpp_def___x86_64__=yes
17060 else
17061 ac_cv_cpp_def___x86_64__=no
17063 rm -f conftest*
17066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17067 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17068 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17069 CFLAGS="$CFLAGS -D__x86_64__"
17070 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17071 fi ;;
17072 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17073 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17074 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17075 $as_echo_n "(cached) " >&6
17076 else
17077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17078 /* end confdefs.h. */
17079 #ifndef __sparc64__
17081 #endif
17082 _ACEOF
17083 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17084 $EGREP "yes" >/dev/null 2>&1; then :
17085 ac_cv_cpp_def___sparc64__=yes
17086 else
17087 ac_cv_cpp_def___sparc64__=no
17089 rm -f conftest*
17092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17093 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17094 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17095 CFLAGS="$CFLAGS -D__sparc64__"
17096 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17097 fi ;;
17098 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17099 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17100 if ${ac_cv_cpp_def___sparc__+:} false; then :
17101 $as_echo_n "(cached) " >&6
17102 else
17103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17104 /* end confdefs.h. */
17105 #ifndef __sparc__
17107 #endif
17108 _ACEOF
17109 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17110 $EGREP "yes" >/dev/null 2>&1; then :
17111 ac_cv_cpp_def___sparc__=yes
17112 else
17113 ac_cv_cpp_def___sparc__=no
17115 rm -f conftest*
17118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17119 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17120 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17121 CFLAGS="$CFLAGS -D__sparc__"
17122 LINTFLAGS="$LINTFLAGS -D__sparc__"
17123 fi ;;
17124 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17125 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17126 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17127 $as_echo_n "(cached) " >&6
17128 else
17129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17130 /* end confdefs.h. */
17131 #ifndef __powerpc64__
17133 #endif
17134 _ACEOF
17135 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17136 $EGREP "yes" >/dev/null 2>&1; then :
17137 ac_cv_cpp_def___powerpc64__=yes
17138 else
17139 ac_cv_cpp_def___powerpc64__=no
17141 rm -f conftest*
17144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17145 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17146 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17147 CFLAGS="$CFLAGS -D__powerpc64__"
17148 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17149 fi ;;
17150 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17151 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17152 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17153 $as_echo_n "(cached) " >&6
17154 else
17155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17156 /* end confdefs.h. */
17157 #ifndef __powerpc__
17159 #endif
17160 _ACEOF
17161 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17162 $EGREP "yes" >/dev/null 2>&1; then :
17163 ac_cv_cpp_def___powerpc__=yes
17164 else
17165 ac_cv_cpp_def___powerpc__=no
17167 rm -f conftest*
17170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17171 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17172 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17173 CFLAGS="$CFLAGS -D__powerpc__"
17174 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17175 fi ;;
17176 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17177 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17178 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17179 $as_echo_n "(cached) " >&6
17180 else
17181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17182 /* end confdefs.h. */
17183 #ifndef __aarch64__
17185 #endif
17186 _ACEOF
17187 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17188 $EGREP "yes" >/dev/null 2>&1; then :
17189 ac_cv_cpp_def___aarch64__=yes
17190 else
17191 ac_cv_cpp_def___aarch64__=no
17193 rm -f conftest*
17196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17197 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17198 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17199 CFLAGS="$CFLAGS -D__aarch64__"
17200 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17201 fi ;;
17202 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17203 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17204 if ${ac_cv_cpp_def___arm__+:} false; then :
17205 $as_echo_n "(cached) " >&6
17206 else
17207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17208 /* end confdefs.h. */
17209 #ifndef __arm__
17211 #endif
17212 _ACEOF
17213 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17214 $EGREP "yes" >/dev/null 2>&1; then :
17215 ac_cv_cpp_def___arm__=yes
17216 else
17217 ac_cv_cpp_def___arm__=no
17219 rm -f conftest*
17222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17223 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17224 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17225 CFLAGS="$CFLAGS -D__arm__"
17226 LINTFLAGS="$LINTFLAGS -D__arm__"
17227 fi ;;
17228 esac
17230 case $host_vendor in
17231 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17232 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17233 if ${ac_cv_cpp_def___sun__+:} false; then :
17234 $as_echo_n "(cached) " >&6
17235 else
17236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17237 /* end confdefs.h. */
17238 #ifndef __sun__
17240 #endif
17241 _ACEOF
17242 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17243 $EGREP "yes" >/dev/null 2>&1; then :
17244 ac_cv_cpp_def___sun__=yes
17245 else
17246 ac_cv_cpp_def___sun__=no
17248 rm -f conftest*
17251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17252 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17253 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17254 CFLAGS="$CFLAGS -D__sun__"
17255 LINTFLAGS="$LINTFLAGS -D__sun__"
17256 fi ;;
17257 esac
17263 ac_config_commands="$ac_config_commands include/stamp-h"
17265 $as_echo_n "creating Makefile rules..." >&6
17267 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17268 SOCKET_LIBS = $SOCKET_LIBS
17269 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17270 IOKIT_LIBS = $IOKIT_LIBS
17271 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17272 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17273 CORESERVICES_LIBS = $CORESERVICES_LIBS
17274 APPKIT_LIBS = $APPKIT_LIBS
17275 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17276 SECURITY_LIBS = $SECURITY_LIBS
17277 COREAUDIO_LIBS = $COREAUDIO_LIBS
17278 OPENAL_LIBS = $OPENAL_LIBS
17279 OPENCL_LIBS = $OPENCL_LIBS
17280 QUICKTIME_LIBS = $QUICKTIME_LIBS
17281 CARBON_LIBS = $CARBON_LIBS
17282 PTHREAD_LIBS = $PTHREAD_LIBS
17283 X_CFLAGS = $X_CFLAGS
17284 X_PRE_LIBS = $X_PRE_LIBS
17285 X_LIBS = $X_LIBS
17286 X_EXTRA_LIBS = $X_EXTRA_LIBS
17287 PCAP_LIBS = $PCAP_LIBS
17288 XML2_CFLAGS = $XML2_CFLAGS
17289 XML2_LIBS = $XML2_LIBS
17290 XSLT_CFLAGS = $XSLT_CFLAGS
17291 XSLT_LIBS = $XSLT_LIBS
17292 DBUS_CFLAGS = $DBUS_CFLAGS
17293 DBUS_LIBS = $DBUS_LIBS
17294 HAL_CFLAGS = $HAL_CFLAGS
17295 HAL_LIBS = $HAL_LIBS
17296 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17297 GNUTLS_LIBS = $GNUTLS_LIBS
17298 SANE_CFLAGS = $SANE_CFLAGS
17299 SANE_LIBS = $SANE_LIBS
17300 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17301 GPHOTO2_LIBS = $GPHOTO2_LIBS
17302 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17303 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17304 RESOLV_LIBS = $RESOLV_LIBS
17305 LCMS2_CFLAGS = $LCMS2_CFLAGS
17306 LCMS2_LIBS = $LCMS2_LIBS
17307 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17308 FREETYPE_LIBS = $FREETYPE_LIBS
17309 Z_LIBS = $Z_LIBS
17310 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17311 PULSE_CFLAGS = $PULSE_CFLAGS
17312 PULSE_LIBS = $PULSE_LIBS
17313 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17314 GSTREAMER_LIBS = $GSTREAMER_LIBS
17315 ALSA_LIBS = $ALSA_LIBS
17316 OSS4_CFLAGS = $OSS4_CFLAGS
17317 CAPI20_CFLAGS = $CAPI20_CFLAGS
17318 CAPI20_LIBS = $CAPI20_LIBS
17319 CUPS_CFLAGS = $CUPS_CFLAGS
17320 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17321 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17322 JPEG_CFLAGS = $JPEG_CFLAGS
17323 JPEG_LIBS = $JPEG_LIBS
17324 PNG_CFLAGS = $PNG_CFLAGS
17325 PNG_LIBS = $PNG_LIBS
17326 TIFF_CFLAGS = $TIFF_CFLAGS
17327 TIFF_LIBS = $TIFF_LIBS
17328 MPG123_CFLAGS = $MPG123_CFLAGS
17329 MPG123_LIBS = $MPG123_LIBS
17330 KSTAT_LIBS = $KSTAT_LIBS
17331 PROCSTAT_LIBS = $PROCSTAT_LIBS
17332 NETAPI_CFLAGS = $NETAPI_CFLAGS
17333 NETAPI_LIBS = $NETAPI_LIBS
17334 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17335 DL_LIBS = $DL_LIBS
17336 POLL_LIBS = $POLL_LIBS
17337 RT_LIBS = $RT_LIBS
17338 LDAP_LIBS = $LDAP_LIBS
17343 wine_fn_append_rule "
17344 # Rules automatically generated by configure
17346 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17348 .INIT: Makefile
17349 .MAKEFILEDEPS:
17350 all: Makefile
17351 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17352 @./config.status Make.tmp Makefile
17353 depend: \$(MAKEDEP) dummy
17354 \$(MAKEDEP)"
17356 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17357 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17359 if test "x$enable_fonts" != xno; then
17360 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17361 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17362 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17363 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17364 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17365 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17367 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17368 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17369 ac_config_links="$ac_config_links wine:tools/winewrapper"
17370 wine_fn_config_symlink wine
17371 if test "x$enable_win64" != xno; then
17372 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17373 wine_fn_config_symlink wine64
17376 wine_fn_config_dll acledit enable_acledit
17377 wine_fn_config_dll aclui enable_aclui implib
17378 wine_fn_config_dll activeds enable_activeds implib
17379 wine_fn_config_dll actxprxy enable_actxprxy clean
17380 wine_fn_config_lib adsiid
17381 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17382 wine_fn_config_test dlls/advapi32/tests advapi32_test
17383 wine_fn_config_dll advpack enable_advpack implib
17384 wine_fn_config_test dlls/advpack/tests advpack_test
17385 wine_fn_config_dll amstream enable_amstream clean
17386 wine_fn_config_test dlls/amstream/tests amstream_test
17387 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17388 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17389 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17390 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17391 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17392 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17393 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17394 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17395 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17396 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17397 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17398 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17399 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17400 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17401 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17402 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17403 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17404 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17405 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17406 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17407 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17408 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17409 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17410 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17411 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17412 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17413 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17414 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17415 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17416 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17417 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17418 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17419 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17420 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17421 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17422 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17423 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17424 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17425 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17426 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17427 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17428 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17429 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17430 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17431 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17432 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17433 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17434 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17435 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17436 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17437 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17438 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17439 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17440 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17441 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17442 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17443 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17444 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17445 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17446 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17447 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17448 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17449 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17450 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17451 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17452 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17453 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17454 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17455 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17456 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17457 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17458 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17459 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17460 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17461 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17462 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17463 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17464 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17465 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17466 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17467 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17468 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17469 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17470 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17471 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17472 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17473 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17474 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17475 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17476 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17477 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17478 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17479 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17480 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17481 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17482 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17483 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17484 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17485 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17486 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17487 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17488 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17489 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17490 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17491 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17492 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17493 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17494 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17495 wine_fn_config_dll apphelp enable_apphelp
17496 wine_fn_config_test dlls/apphelp/tests apphelp_test
17497 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17498 wine_fn_config_dll atl enable_atl clean,implib
17499 wine_fn_config_test dlls/atl/tests atl_test
17500 wine_fn_config_dll atl100 enable_atl100 clean,implib
17501 wine_fn_config_test dlls/atl100/tests atl100_test
17502 wine_fn_config_dll atl110 enable_atl110 clean
17503 wine_fn_config_dll atl80 enable_atl80 clean,implib
17504 wine_fn_config_test dlls/atl80/tests atl80_test
17505 wine_fn_config_dll atl90 enable_atl90 clean
17506 wine_fn_config_dll authz enable_authz
17507 wine_fn_config_dll avicap32 enable_avicap32 implib
17508 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
17509 wine_fn_config_test dlls/avifil32/tests avifil32_test
17510 wine_fn_config_dll avifile.dll16 enable_win16
17511 wine_fn_config_dll avrt enable_avrt implib
17512 wine_fn_config_dll bcrypt enable_bcrypt implib
17513 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17514 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17515 wine_fn_config_dll browseui enable_browseui clean
17516 wine_fn_config_test dlls/browseui/tests browseui_test
17517 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17518 wine_fn_config_dll cabinet enable_cabinet implib
17519 wine_fn_config_test dlls/cabinet/tests cabinet_test
17520 wine_fn_config_dll capi2032 enable_capi2032 implib
17521 wine_fn_config_dll cards enable_cards implib
17522 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17523 wine_fn_config_dll clusapi enable_clusapi implib
17524 wine_fn_config_dll combase enable_combase
17525 wine_fn_config_test dlls/combase/tests combase_test
17526 wine_fn_config_dll comcat enable_comcat
17527 wine_fn_config_test dlls/comcat/tests comcat_test
17528 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
17529 wine_fn_config_test dlls/comctl32/tests comctl32_test
17530 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
17531 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17532 wine_fn_config_dll comm.drv16 enable_win16
17533 wine_fn_config_dll commdlg.dll16 enable_win16
17534 wine_fn_config_dll compobj.dll16 enable_win16
17535 wine_fn_config_dll compstui enable_compstui implib
17536 wine_fn_config_dll comsvcs enable_comsvcs implib
17537 wine_fn_config_dll connect enable_connect
17538 wine_fn_config_dll credui enable_credui clean,implib
17539 wine_fn_config_test dlls/credui/tests credui_test
17540 wine_fn_config_dll crtdll enable_crtdll
17541 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
17542 wine_fn_config_test dlls/crypt32/tests crypt32_test
17543 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17544 wine_fn_config_dll cryptdll enable_cryptdll implib
17545 wine_fn_config_dll cryptext enable_cryptext
17546 wine_fn_config_dll cryptnet enable_cryptnet implib
17547 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17548 wine_fn_config_dll cryptui enable_cryptui clean,implib
17549 wine_fn_config_test dlls/cryptui/tests cryptui_test
17550 wine_fn_config_dll ctapi32 enable_ctapi32
17551 wine_fn_config_dll ctl3d.dll16 enable_win16
17552 wine_fn_config_dll ctl3d32 enable_ctl3d32
17553 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17554 wine_fn_config_dll d2d1 enable_d2d1 implib
17555 wine_fn_config_test dlls/d2d1/tests d2d1_test
17556 wine_fn_config_dll d3d10 enable_d3d10 implib
17557 wine_fn_config_test dlls/d3d10/tests d3d10_test
17558 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17559 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17560 wine_fn_config_dll d3d10core enable_d3d10core implib
17561 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17562 wine_fn_config_dll d3d11 enable_d3d11 implib
17563 wine_fn_config_test dlls/d3d11/tests d3d11_test
17564 wine_fn_config_dll d3d8 enable_d3d8 implib
17565 wine_fn_config_test dlls/d3d8/tests d3d8_test
17566 wine_fn_config_dll d3d9 enable_d3d9 implib
17567 wine_fn_config_test dlls/d3d9/tests d3d9_test
17568 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17569 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17570 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17571 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17572 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17573 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17574 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17575 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17576 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17577 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17578 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17579 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17580 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17581 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17582 wine_fn_config_dll d3dim enable_d3dim
17583 wine_fn_config_dll d3drm enable_d3drm implib
17584 wine_fn_config_test dlls/d3drm/tests d3drm_test
17585 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17586 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17587 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17588 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17589 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17590 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17591 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17592 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17593 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17594 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17595 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17596 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
17597 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17598 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
17599 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17600 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17601 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17602 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17603 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17604 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17605 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17606 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17607 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17608 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17609 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17610 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17611 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17612 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17613 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17614 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17615 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17616 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17617 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17618 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17619 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17620 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17621 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17622 wine_fn_config_dll davclnt enable_davclnt
17623 wine_fn_config_dll dbgeng enable_dbgeng implib
17624 wine_fn_config_dll dbghelp enable_dbghelp implib
17625 wine_fn_config_dll dciman32 enable_dciman32 implib
17626 wine_fn_config_dll ddeml.dll16 enable_win16
17627 wine_fn_config_dll ddraw enable_ddraw clean,implib
17628 wine_fn_config_test dlls/ddraw/tests ddraw_test
17629 wine_fn_config_dll ddrawex enable_ddrawex clean
17630 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17631 wine_fn_config_dll devenum enable_devenum clean
17632 wine_fn_config_test dlls/devenum/tests devenum_test
17633 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17634 wine_fn_config_dll difxapi enable_difxapi
17635 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
17636 wine_fn_config_test dlls/dinput/tests dinput_test
17637 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17638 wine_fn_config_test dlls/dinput8/tests dinput8_test
17639 wine_fn_config_dll dispdib.dll16 enable_win16
17640 wine_fn_config_dll dispex enable_dispex clean
17641 wine_fn_config_test dlls/dispex/tests dispex_test
17642 wine_fn_config_dll display.drv16 enable_win16
17643 wine_fn_config_dll dmband enable_dmband clean
17644 wine_fn_config_test dlls/dmband/tests dmband_test
17645 wine_fn_config_dll dmcompos enable_dmcompos clean
17646 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17647 wine_fn_config_dll dmime enable_dmime clean
17648 wine_fn_config_test dlls/dmime/tests dmime_test
17649 wine_fn_config_dll dmloader enable_dmloader clean
17650 wine_fn_config_test dlls/dmloader/tests dmloader_test
17651 wine_fn_config_dll dmscript enable_dmscript clean
17652 wine_fn_config_test dlls/dmscript/tests dmscript_test
17653 wine_fn_config_dll dmstyle enable_dmstyle clean
17654 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17655 wine_fn_config_dll dmsynth enable_dmsynth clean
17656 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17657 wine_fn_config_dll dmusic enable_dmusic clean
17658 wine_fn_config_test dlls/dmusic/tests dmusic_test
17659 wine_fn_config_dll dmusic32 enable_dmusic32
17660 wine_fn_config_dll dnsapi enable_dnsapi implib
17661 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17662 wine_fn_config_dll dplay enable_dplay
17663 wine_fn_config_dll dplayx enable_dplayx clean,implib
17664 wine_fn_config_test dlls/dplayx/tests dplayx_test
17665 wine_fn_config_dll dpnaddr enable_dpnaddr
17666 wine_fn_config_dll dpnet enable_dpnet clean,implib
17667 wine_fn_config_test dlls/dpnet/tests dpnet_test
17668 wine_fn_config_dll dpnhpast enable_dpnhpast
17669 wine_fn_config_dll dpnlobby enable_dpnlobby
17670 wine_fn_config_dll dpvoice enable_dpvoice clean
17671 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17672 wine_fn_config_dll dpwsockx enable_dpwsockx
17673 wine_fn_config_dll drmclien enable_drmclien
17674 wine_fn_config_dll dsound enable_dsound clean,implib
17675 wine_fn_config_test dlls/dsound/tests dsound_test
17676 wine_fn_config_dll dssenh enable_dssenh
17677 wine_fn_config_test dlls/dssenh/tests dssenh_test
17678 wine_fn_config_dll dswave enable_dswave clean
17679 wine_fn_config_test dlls/dswave/tests dswave_test
17680 wine_fn_config_dll dwmapi enable_dwmapi implib
17681 wine_fn_config_dll dwrite enable_dwrite implib
17682 wine_fn_config_test dlls/dwrite/tests dwrite_test
17683 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17684 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17685 wine_fn_config_lib dxerr8
17686 wine_fn_config_lib dxerr9
17687 wine_fn_config_dll dxgi enable_dxgi implib
17688 wine_fn_config_test dlls/dxgi/tests dxgi_test
17689 wine_fn_config_lib dxguid
17690 wine_fn_config_dll dxva2 enable_dxva2
17691 wine_fn_config_dll esent enable_esent
17692 wine_fn_config_dll evr enable_evr
17693 wine_fn_config_dll explorerframe enable_explorerframe clean
17694 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17695 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17696 wine_fn_config_dll faultrep enable_faultrep implib
17697 wine_fn_config_test dlls/faultrep/tests faultrep_test
17698 wine_fn_config_dll fltlib enable_fltlib
17699 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17700 wine_fn_config_dll fntcache enable_fntcache
17701 wine_fn_config_dll fontsub enable_fontsub
17702 wine_fn_config_dll fusion enable_fusion
17703 wine_fn_config_test dlls/fusion/tests fusion_test
17704 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17705 wine_fn_config_dll gameux enable_gameux clean
17706 wine_fn_config_test dlls/gameux/tests gameux_test
17707 wine_fn_config_dll gdi.exe16 enable_win16
17708 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
17709 wine_fn_config_test dlls/gdi32/tests gdi32_test
17710 wine_fn_config_dll gdiplus enable_gdiplus implib
17711 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17712 wine_fn_config_dll glu32 enable_glu32 implib
17713 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
17714 wine_fn_config_dll gpkcsp enable_gpkcsp
17715 wine_fn_config_dll hal enable_hal
17716 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
17717 wine_fn_config_dll hid enable_hid implib
17718 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17719 wine_fn_config_dll hlink enable_hlink clean,implib
17720 wine_fn_config_test dlls/hlink/tests hlink_test
17721 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17722 wine_fn_config_dll httpapi enable_httpapi
17723 wine_fn_config_dll iccvid enable_iccvid clean
17724 wine_fn_config_dll icmp enable_icmp
17725 wine_fn_config_dll ieframe enable_ieframe clean,implib
17726 wine_fn_config_test dlls/ieframe/tests ieframe_test
17727 wine_fn_config_dll ifsmgr.vxd enable_win16
17728 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17729 wine_fn_config_dll imagehlp enable_imagehlp implib
17730 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17731 wine_fn_config_dll imm.dll16 enable_win16
17732 wine_fn_config_dll imm32 enable_imm32 implib
17733 wine_fn_config_test dlls/imm32/tests imm32_test
17734 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17735 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17736 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
17737 wine_fn_config_dll inetmib1 enable_inetmib1
17738 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17739 wine_fn_config_dll infosoft enable_infosoft clean
17740 wine_fn_config_test dlls/infosoft/tests infosoft_test
17741 wine_fn_config_dll initpki enable_initpki
17742 wine_fn_config_dll inkobj enable_inkobj
17743 wine_fn_config_dll inseng enable_inseng clean
17744 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17745 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17746 wine_fn_config_dll irprops.cpl enable_irprops_cpl
17747 wine_fn_config_dll itircl enable_itircl
17748 wine_fn_config_dll itss enable_itss clean
17749 wine_fn_config_test dlls/itss/tests itss_test
17750 wine_fn_config_dll joy.cpl enable_joy_cpl clean
17751 wine_fn_config_dll jscript enable_jscript clean
17752 wine_fn_config_test dlls/jscript/tests jscript_test
17753 wine_fn_config_dll jsproxy enable_jsproxy implib
17754 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
17755 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
17756 wine_fn_config_test dlls/kernel32/tests kernel32_test
17757 wine_fn_config_dll kernelbase enable_kernelbase
17758 wine_fn_config_dll keyboard.drv16 enable_win16
17759 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17760 wine_fn_config_dll ksuser enable_ksuser
17761 wine_fn_config_dll ktmw32 enable_ktmw32
17762 wine_fn_config_dll loadperf enable_loadperf implib
17763 wine_fn_config_dll localspl enable_localspl clean
17764 wine_fn_config_test dlls/localspl/tests localspl_test
17765 wine_fn_config_dll localui enable_localui clean
17766 wine_fn_config_test dlls/localui/tests localui_test
17767 wine_fn_config_dll lz32 enable_lz32 implib
17768 wine_fn_config_test dlls/lz32/tests lz32_test
17769 wine_fn_config_dll lzexpand.dll16 enable_win16
17770 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
17771 wine_fn_config_test dlls/mapi32/tests mapi32_test
17772 wine_fn_config_dll mapistub enable_mapistub
17773 wine_fn_config_dll mciavi32 enable_mciavi32
17774 wine_fn_config_dll mcicda enable_mcicda
17775 wine_fn_config_dll mciqtz32 enable_mciqtz32
17776 wine_fn_config_dll mciseq enable_mciseq
17777 wine_fn_config_dll mciwave enable_mciwave
17778 wine_fn_config_dll mf enable_mf
17779 wine_fn_config_dll mfplat enable_mfplat
17780 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17781 wine_fn_config_dll mgmtapi enable_mgmtapi
17782 wine_fn_config_dll midimap enable_midimap
17783 wine_fn_config_dll mlang enable_mlang clean,implib
17784 wine_fn_config_test dlls/mlang/tests mlang_test
17785 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17786 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17787 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17788 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17789 wine_fn_config_dll mmdevldr.vxd enable_win16
17790 wine_fn_config_dll mmsystem.dll16 enable_win16
17791 wine_fn_config_dll monodebg.vxd enable_win16
17792 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17793 wine_fn_config_dll mouse.drv16 enable_win16
17794 wine_fn_config_dll mpr enable_mpr clean,implib
17795 wine_fn_config_test dlls/mpr/tests mpr_test
17796 wine_fn_config_dll mprapi enable_mprapi implib
17797 wine_fn_config_dll msacm.dll16 enable_win16
17798 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17799 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
17800 wine_fn_config_test dlls/msacm32/tests msacm32_test
17801 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17802 wine_fn_config_dll msasn1 enable_msasn1 implib
17803 wine_fn_config_dll mscat32 enable_mscat32
17804 wine_fn_config_dll mscms enable_mscms implib
17805 wine_fn_config_test dlls/mscms/tests mscms_test
17806 wine_fn_config_dll mscoree enable_mscoree clean
17807 wine_fn_config_test dlls/mscoree/tests mscoree_test
17808 wine_fn_config_dll msctf enable_msctf clean
17809 wine_fn_config_test dlls/msctf/tests msctf_test
17810 wine_fn_config_dll msctfp enable_msctfp clean
17811 wine_fn_config_dll msdaps enable_msdaps clean
17812 wine_fn_config_dll msdelta enable_msdelta
17813 wine_fn_config_dll msdmo enable_msdmo implib
17814 wine_fn_config_test dlls/msdmo/tests msdmo_test
17815 wine_fn_config_dll msdrm enable_msdrm
17816 wine_fn_config_dll msftedit enable_msftedit
17817 wine_fn_config_dll msg711.acm enable_msg711_acm
17818 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17819 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17820 wine_fn_config_dll mshtml enable_mshtml clean,implib
17821 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17822 wine_fn_config_dll msi enable_msi clean,implib
17823 wine_fn_config_test dlls/msi/tests msi_test
17824 wine_fn_config_dll msident enable_msident clean
17825 wine_fn_config_dll msimg32 enable_msimg32 implib
17826 wine_fn_config_dll msimsg enable_msimsg
17827 wine_fn_config_dll msimtf enable_msimtf clean
17828 wine_fn_config_dll msisip enable_msisip
17829 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17830 wine_fn_config_dll msls31 enable_msls31
17831 wine_fn_config_dll msnet32 enable_msnet32
17832 wine_fn_config_dll mspatcha enable_mspatcha implib
17833 wine_fn_config_dll msrle32 enable_msrle32 clean
17834 wine_fn_config_test dlls/msrle32/tests msrle32_test
17835 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
17836 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
17837 wine_fn_config_dll mssign32 enable_mssign32
17838 wine_fn_config_dll mssip32 enable_mssip32
17839 wine_fn_config_dll mstask enable_mstask clean
17840 wine_fn_config_test dlls/mstask/tests mstask_test
17841 wine_fn_config_dll msvcirt enable_msvcirt
17842 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
17843 wine_fn_config_dll msvcm80 enable_msvcm80
17844 wine_fn_config_dll msvcm90 enable_msvcm90
17845 wine_fn_config_dll msvcp100 enable_msvcp100
17846 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17847 wine_fn_config_dll msvcp110 enable_msvcp110
17848 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
17849 wine_fn_config_dll msvcp120 enable_msvcp120
17850 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
17851 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17852 wine_fn_config_dll msvcp60 enable_msvcp60
17853 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17854 wine_fn_config_dll msvcp70 enable_msvcp70
17855 wine_fn_config_dll msvcp71 enable_msvcp71
17856 wine_fn_config_dll msvcp80 enable_msvcp80
17857 wine_fn_config_dll msvcp90 enable_msvcp90
17858 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17859 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17860 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17861 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17862 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17863 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17864 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17865 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17866 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17867 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17868 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17869 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17870 wine_fn_config_dll msvcrt enable_msvcrt implib
17871 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17872 wine_fn_config_dll msvcrt20 enable_msvcrt20
17873 wine_fn_config_dll msvcrt40 enable_msvcrt40
17874 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17875 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17876 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
17877 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17878 wine_fn_config_dll msvidc32 enable_msvidc32 clean
17879 wine_fn_config_dll msvideo.dll16 enable_win16
17880 wine_fn_config_dll mswsock enable_mswsock implib
17881 wine_fn_config_dll msxml enable_msxml clean
17882 wine_fn_config_dll msxml2 enable_msxml2 clean
17883 wine_fn_config_dll msxml3 enable_msxml3 clean
17884 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17885 wine_fn_config_dll msxml4 enable_msxml4 clean
17886 wine_fn_config_dll msxml6 enable_msxml6 clean
17887 wine_fn_config_dll ncrypt enable_ncrypt
17888 wine_fn_config_dll nddeapi enable_nddeapi implib
17889 wine_fn_config_dll ndis.sys enable_ndis_sys
17890 wine_fn_config_dll netapi32 enable_netapi32 implib
17891 wine_fn_config_test dlls/netapi32/tests netapi32_test
17892 wine_fn_config_dll netcfgx enable_netcfgx clean
17893 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17894 wine_fn_config_dll netprofm enable_netprofm clean
17895 wine_fn_config_test dlls/netprofm/tests netprofm_test
17896 wine_fn_config_dll newdev enable_newdev implib
17897 wine_fn_config_dll normaliz enable_normaliz implib
17898 wine_fn_config_dll npmshtml enable_npmshtml
17899 wine_fn_config_dll npptools enable_npptools
17900 wine_fn_config_dll ntdll enable_ntdll implib
17901 wine_fn_config_test dlls/ntdll/tests ntdll_test
17902 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17903 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17904 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
17905 wine_fn_config_dll ntprint enable_ntprint
17906 wine_fn_config_test dlls/ntprint/tests ntprint_test
17907 wine_fn_config_dll objsel enable_objsel clean
17908 wine_fn_config_dll odbc32 enable_odbc32 implib
17909 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17910 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17911 wine_fn_config_dll odbccu32 enable_odbccu32
17912 wine_fn_config_dll ole2.dll16 enable_win16
17913 wine_fn_config_dll ole2conv.dll16 enable_win16
17914 wine_fn_config_dll ole2disp.dll16 enable_win16
17915 wine_fn_config_dll ole2nls.dll16 enable_win16
17916 wine_fn_config_dll ole2prox.dll16 enable_win16
17917 wine_fn_config_dll ole2thk.dll16 enable_win16
17918 wine_fn_config_dll ole32 enable_ole32 clean,implib
17919 wine_fn_config_test dlls/ole32/tests ole32_test
17920 wine_fn_config_dll oleacc enable_oleacc clean,implib
17921 wine_fn_config_test dlls/oleacc/tests oleacc_test
17922 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
17923 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17924 wine_fn_config_dll olecli.dll16 enable_win16
17925 wine_fn_config_dll olecli32 enable_olecli32 implib
17926 wine_fn_config_dll oledb32 enable_oledb32 clean
17927 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17928 wine_fn_config_dll oledlg enable_oledlg clean,implib
17929 wine_fn_config_test dlls/oledlg/tests oledlg_test
17930 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
17931 wine_fn_config_dll olesvr.dll16 enable_win16
17932 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17933 wine_fn_config_dll olethk32 enable_olethk32
17934 wine_fn_config_dll openal32 enable_openal32
17935 wine_fn_config_dll opencl enable_opencl
17936 wine_fn_config_dll opengl32 enable_opengl32 implib
17937 wine_fn_config_test dlls/opengl32/tests opengl32_test
17938 wine_fn_config_dll packager enable_packager clean
17939 wine_fn_config_test dlls/packager/tests packager_test
17940 wine_fn_config_dll pdh enable_pdh implib
17941 wine_fn_config_test dlls/pdh/tests pdh_test
17942 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17943 wine_fn_config_dll pidgen enable_pidgen
17944 wine_fn_config_dll powrprof enable_powrprof implib
17945 wine_fn_config_dll printui enable_printui
17946 wine_fn_config_dll prntvpt enable_prntvpt
17947 wine_fn_config_dll propsys enable_propsys clean,implib
17948 wine_fn_config_test dlls/propsys/tests propsys_test
17949 wine_fn_config_dll psapi enable_psapi implib
17950 wine_fn_config_test dlls/psapi/tests psapi_test
17951 wine_fn_config_dll pstorec enable_pstorec clean
17952 wine_fn_config_dll qcap enable_qcap
17953 wine_fn_config_test dlls/qcap/tests qcap_test
17954 wine_fn_config_dll qedit enable_qedit clean
17955 wine_fn_config_test dlls/qedit/tests qedit_test
17956 wine_fn_config_dll qmgr enable_qmgr clean
17957 wine_fn_config_test dlls/qmgr/tests qmgr_test
17958 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17959 wine_fn_config_dll quartz enable_quartz clean,implib
17960 wine_fn_config_test dlls/quartz/tests quartz_test clean
17961 wine_fn_config_dll query enable_query
17962 wine_fn_config_dll rasapi16.dll16 enable_win16
17963 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17964 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17965 wine_fn_config_dll rasdlg enable_rasdlg implib
17966 wine_fn_config_dll regapi enable_regapi
17967 wine_fn_config_dll resutils enable_resutils implib
17968 wine_fn_config_dll riched20 enable_riched20 clean,implib
17969 wine_fn_config_test dlls/riched20/tests riched20_test
17970 wine_fn_config_dll riched32 enable_riched32
17971 wine_fn_config_test dlls/riched32/tests riched32_test
17972 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17973 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17974 wine_fn_config_dll rsabase enable_rsabase
17975 wine_fn_config_dll rsaenh enable_rsaenh implib
17976 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17977 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17978 wine_fn_config_dll rtutils enable_rtutils implib
17979 wine_fn_config_dll samlib enable_samlib
17980 wine_fn_config_dll sane.ds enable_sane_ds clean
17981 wine_fn_config_dll scarddlg enable_scarddlg
17982 wine_fn_config_dll sccbase enable_sccbase
17983 wine_fn_config_dll schannel enable_schannel
17984 wine_fn_config_test dlls/schannel/tests schannel_test
17985 wine_fn_config_dll schedsvc enable_schedsvc clean
17986 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17987 wine_fn_config_dll scrrun enable_scrrun clean
17988 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17989 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17990 wine_fn_config_dll secur32 enable_secur32 implib
17991 wine_fn_config_test dlls/secur32/tests secur32_test
17992 wine_fn_config_dll security enable_security
17993 wine_fn_config_dll sensapi enable_sensapi implib
17994 wine_fn_config_dll serialui enable_serialui clean
17995 wine_fn_config_test dlls/serialui/tests serialui_test
17996 wine_fn_config_dll setupapi enable_setupapi clean,implib
17997 wine_fn_config_test dlls/setupapi/tests setupapi_test
17998 wine_fn_config_dll setupx.dll16 enable_win16
17999 wine_fn_config_dll sfc enable_sfc implib
18000 wine_fn_config_dll sfc_os enable_sfc_os implib
18001 wine_fn_config_dll shdoclc enable_shdoclc clean
18002 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18003 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18004 wine_fn_config_dll shell.dll16 enable_win16
18005 wine_fn_config_dll shell32 enable_shell32 clean,implib
18006 wine_fn_config_test dlls/shell32/tests shell32_test
18007 wine_fn_config_dll shfolder enable_shfolder implib
18008 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18009 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18010 wine_fn_config_dll slbcsp enable_slbcsp
18011 wine_fn_config_dll slc enable_slc implib
18012 wine_fn_config_test dlls/slc/tests slc_test
18013 wine_fn_config_dll snmpapi enable_snmpapi implib
18014 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18015 wine_fn_config_dll softpub enable_softpub
18016 wine_fn_config_dll sound.drv16 enable_win16
18017 wine_fn_config_dll spoolss enable_spoolss implib
18018 wine_fn_config_test dlls/spoolss/tests spoolss_test
18019 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18020 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18021 wine_fn_config_dll sti enable_sti clean,implib
18022 wine_fn_config_test dlls/sti/tests sti_test
18023 wine_fn_config_dll storage.dll16 enable_win16
18024 wine_fn_config_dll stress.dll16 enable_win16
18025 wine_fn_config_lib strmbase
18026 wine_fn_config_lib strmiids
18027 wine_fn_config_dll svrapi enable_svrapi
18028 wine_fn_config_dll sxs enable_sxs implib
18029 wine_fn_config_test dlls/sxs/tests sxs_test
18030 wine_fn_config_dll system.drv16 enable_win16
18031 wine_fn_config_dll t2embed enable_t2embed implib
18032 wine_fn_config_test dlls/t2embed/tests t2embed_test
18033 wine_fn_config_dll tapi32 enable_tapi32 implib
18034 wine_fn_config_dll taskschd enable_taskschd clean
18035 wine_fn_config_test dlls/taskschd/tests taskschd_test
18036 wine_fn_config_dll tdi.sys enable_tdi_sys
18037 wine_fn_config_dll toolhelp.dll16 enable_win16
18038 wine_fn_config_dll traffic enable_traffic
18039 wine_fn_config_dll twain.dll16 enable_win16
18040 wine_fn_config_dll twain_32 enable_twain_32
18041 wine_fn_config_test dlls/twain_32/tests twain_32_test
18042 wine_fn_config_dll typelib.dll16 enable_win16
18043 wine_fn_config_dll ucrtbase enable_ucrtbase
18044 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18045 wine_fn_config_dll unicows enable_unicows implib
18046 wine_fn_config_dll updspapi enable_updspapi
18047 wine_fn_config_dll url enable_url implib
18048 wine_fn_config_dll urlmon enable_urlmon clean,implib
18049 wine_fn_config_test dlls/urlmon/tests urlmon_test
18050 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18051 wine_fn_config_dll user.exe16 enable_win16
18052 wine_fn_config_dll user32 enable_user32 clean,implib
18053 wine_fn_config_test dlls/user32/tests user32_test
18054 wine_fn_config_dll userenv enable_userenv implib
18055 wine_fn_config_test dlls/userenv/tests userenv_test
18056 wine_fn_config_dll usp10 enable_usp10 implib
18057 wine_fn_config_test dlls/usp10/tests usp10_test
18058 wine_fn_config_lib uuid
18059 wine_fn_config_dll uxtheme enable_uxtheme implib
18060 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18061 wine_fn_config_dll vbscript enable_vbscript clean
18062 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18063 wine_fn_config_dll vcomp enable_vcomp
18064 wine_fn_config_test dlls/vcomp/tests vcomp_test
18065 wine_fn_config_dll vcomp100 enable_vcomp100
18066 wine_fn_config_dll vcomp110 enable_vcomp110
18067 wine_fn_config_dll vcomp120 enable_vcomp120
18068 wine_fn_config_dll vcomp90 enable_vcomp90
18069 wine_fn_config_dll vcruntime140 enable_vcruntime140
18070 wine_fn_config_dll vdhcp.vxd enable_win16
18071 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18072 wine_fn_config_dll ver.dll16 enable_win16
18073 wine_fn_config_dll version enable_version implib
18074 wine_fn_config_test dlls/version/tests version_test
18075 wine_fn_config_dll vmm.vxd enable_win16
18076 wine_fn_config_dll vnbt.vxd enable_win16
18077 wine_fn_config_dll vnetbios.vxd enable_win16
18078 wine_fn_config_dll vssapi enable_vssapi
18079 wine_fn_config_dll vtdapi.vxd enable_win16
18080 wine_fn_config_dll vwin32.vxd enable_win16
18081 wine_fn_config_dll w32skrnl enable_win16
18082 wine_fn_config_dll w32sys.dll16 enable_win16
18083 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18084 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18085 wine_fn_config_dll wbemprox enable_wbemprox clean
18086 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18087 wine_fn_config_dll webservices enable_webservices implib
18088 wine_fn_config_test dlls/webservices/tests webservices_test
18089 wine_fn_config_dll wer enable_wer implib
18090 wine_fn_config_test dlls/wer/tests wer_test
18091 wine_fn_config_dll wevtapi enable_wevtapi
18092 wine_fn_config_dll wiaservc enable_wiaservc clean
18093 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18094 wine_fn_config_dll wimgapi enable_wimgapi
18095 wine_fn_config_dll win32s16.dll16 enable_win16
18096 wine_fn_config_dll win87em.dll16 enable_win16
18097 wine_fn_config_dll winaspi.dll16 enable_win16
18098 wine_fn_config_dll windebug.dll16 enable_win16
18099 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18100 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18101 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18102 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18103 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18104 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18105 wine_fn_config_lib winecrt0
18106 wine_fn_config_dll wined3d enable_wined3d implib
18107 wine_fn_config_dll winegstreamer enable_winegstreamer
18108 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18109 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18110 wine_fn_config_dll winemapi enable_winemapi
18111 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18112 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18113 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18114 wine_fn_config_dll wineps16.drv16 enable_win16
18115 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18116 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18117 wine_fn_config_dll winex11.drv enable_winex11_drv
18118 wine_fn_config_dll wing.dll16 enable_win16
18119 wine_fn_config_dll wing32 enable_wing32
18120 wine_fn_config_dll winhttp enable_winhttp clean,implib
18121 wine_fn_config_test dlls/winhttp/tests winhttp_test
18122 wine_fn_config_dll wininet enable_wininet clean,implib
18123 wine_fn_config_test dlls/wininet/tests wininet_test
18124 wine_fn_config_dll winmm enable_winmm clean,implib
18125 wine_fn_config_test dlls/winmm/tests winmm_test
18126 wine_fn_config_dll winnls.dll16 enable_win16
18127 wine_fn_config_dll winnls32 enable_winnls32 implib
18128 wine_fn_config_dll winscard enable_winscard implib
18129 wine_fn_config_dll winsock.dll16 enable_win16
18130 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18131 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18132 wine_fn_config_dll winsta enable_winsta
18133 wine_fn_config_dll wintab.dll16 enable_win16
18134 wine_fn_config_dll wintab32 enable_wintab32 implib
18135 wine_fn_config_test dlls/wintab32/tests wintab32_test
18136 wine_fn_config_dll wintrust enable_wintrust implib
18137 wine_fn_config_test dlls/wintrust/tests wintrust_test
18138 wine_fn_config_dll wlanapi enable_wlanapi
18139 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18140 wine_fn_config_test dlls/wldap32/tests wldap32_test
18141 wine_fn_config_dll wmasf enable_wmasf
18142 wine_fn_config_dll wmi enable_wmi
18143 wine_fn_config_dll wmiutils enable_wmiutils clean
18144 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18145 wine_fn_config_dll wmp enable_wmp clean
18146 wine_fn_config_test dlls/wmp/tests wmp_test
18147 wine_fn_config_dll wmvcore enable_wmvcore
18148 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18149 wine_fn_config_dll wow32 enable_win16 implib
18150 wine_fn_config_dll wpcap enable_wpcap
18151 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18152 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18153 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18154 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18155 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18156 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18157 wine_fn_config_dll wsock32 enable_wsock32 implib
18158 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18159 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18160 wine_fn_config_dll wuapi enable_wuapi clean
18161 wine_fn_config_dll wuaueng enable_wuaueng
18162 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18163 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18164 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18165 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18166 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18167 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18168 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18169 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18170 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18171 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18172 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18173 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18174 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18175 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18176 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18177 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18178 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18179 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18180 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18181 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18182 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18183 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18184 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18185 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18186 wine_fn_config_dll xinput1_1 enable_xinput1_1
18187 wine_fn_config_dll xinput1_2 enable_xinput1_2
18188 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18189 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18190 wine_fn_config_dll xinput1_4 enable_xinput1_4
18191 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18192 wine_fn_config_dll xmllite enable_xmllite implib
18193 wine_fn_config_test dlls/xmllite/tests xmllite_test
18194 wine_fn_config_dll xolehlp enable_xolehlp
18195 wine_fn_config_dll xpsprint enable_xpsprint
18196 wine_fn_config_dll xpssvcs enable_xpssvcs
18197 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18198 wine_fn_config_makefile include enable_include clean,install-dev
18199 wine_fn_config_makefile libs/port enable_libs_port
18200 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18201 wine_fn_config_makefile libs/wpp enable_libs_wpp
18202 wine_fn_config_makefile loader enable_loader clean,install-lib
18203 wine_fn_config_makefile po enable_po clean
18204 wine_fn_config_program arp enable_arp install
18205 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18206 wine_fn_config_program attrib enable_attrib clean,install
18207 wine_fn_config_program cabarc enable_cabarc install
18208 wine_fn_config_program cacls enable_cacls install
18209 wine_fn_config_program clock enable_clock clean,install
18210 wine_fn_config_program cmd enable_cmd clean,install
18211 wine_fn_config_test programs/cmd/tests cmd.exe_test
18212 wine_fn_config_program conhost enable_conhost install
18213 wine_fn_config_program control enable_control install
18214 wine_fn_config_program cscript enable_cscript clean,install
18215 wine_fn_config_program dpnsvr enable_dpnsvr install
18216 wine_fn_config_program dxdiag enable_dxdiag clean,install
18217 wine_fn_config_program eject enable_eject install
18218 wine_fn_config_program expand enable_expand install
18219 wine_fn_config_program explorer enable_explorer clean,install
18220 wine_fn_config_program extrac32 enable_extrac32 install
18221 wine_fn_config_program findstr enable_findstr install
18222 wine_fn_config_program fsutil enable_fsutil install
18223 wine_fn_config_program hh enable_hh install
18224 wine_fn_config_program hostname enable_hostname clean,install
18225 wine_fn_config_program icacls enable_icacls install
18226 wine_fn_config_program icinfo enable_icinfo install
18227 wine_fn_config_program iexplore enable_iexplore install
18228 wine_fn_config_program ipconfig enable_ipconfig clean,install
18229 wine_fn_config_program lodctr enable_lodctr install
18230 wine_fn_config_program mofcomp enable_mofcomp install
18231 wine_fn_config_program mshta enable_mshta install
18232 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18233 wine_fn_config_program net enable_net clean,install
18234 wine_fn_config_program netsh enable_netsh install
18235 wine_fn_config_program netstat enable_netstat clean,install
18236 wine_fn_config_program ngen enable_ngen install
18237 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18238 wine_fn_config_program oleview enable_oleview clean,install
18239 wine_fn_config_program ping enable_ping install
18240 wine_fn_config_program plugplay enable_plugplay install
18241 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18242 wine_fn_config_program progman enable_progman clean,install
18243 wine_fn_config_program reg enable_reg clean,install
18244 wine_fn_config_test programs/reg/tests reg.exe_test
18245 wine_fn_config_program regasm enable_regasm install
18246 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18247 wine_fn_config_test programs/regedit/tests regedit.exe_test
18248 wine_fn_config_program regsvcs enable_regsvcs install
18249 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18250 wine_fn_config_program rpcss enable_rpcss clean,install
18251 wine_fn_config_program rundll.exe16 enable_win16 install
18252 wine_fn_config_program rundll32 enable_rundll32 install
18253 wine_fn_config_program sc enable_sc install
18254 wine_fn_config_program schtasks enable_schtasks install
18255 wine_fn_config_program sdbinst enable_sdbinst install
18256 wine_fn_config_program secedit enable_secedit install
18257 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18258 wine_fn_config_program services enable_services clean,install
18259 wine_fn_config_test programs/services/tests services.exe_test
18260 wine_fn_config_program shutdown enable_shutdown install
18261 wine_fn_config_program spoolsv enable_spoolsv install
18262 wine_fn_config_program start enable_start clean,install
18263 wine_fn_config_program svchost enable_svchost install
18264 wine_fn_config_program systeminfo enable_systeminfo install
18265 wine_fn_config_program taskkill enable_taskkill clean,install
18266 wine_fn_config_program tasklist enable_tasklist install
18267 wine_fn_config_program taskmgr enable_taskmgr clean,install
18268 wine_fn_config_program termsv enable_termsv install
18269 wine_fn_config_program uninstaller enable_uninstaller clean,install
18270 wine_fn_config_program unlodctr enable_unlodctr install
18271 wine_fn_config_program view enable_view clean,install
18272 wine_fn_config_program wevtutil enable_wevtutil install
18273 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18274 wine_fn_config_program winebrowser enable_winebrowser install
18275 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18276 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18277 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18278 wine_fn_config_program winedevice enable_winedevice install
18279 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18280 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18281 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18282 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18283 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18284 wine_fn_config_program winetest enable_winetest clean
18285 wine_fn_config_program winevdm enable_win16 install
18286 wine_fn_config_program winhelp.exe16 enable_win16 install
18287 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18288 wine_fn_config_program winoldap.mod16 enable_win16 install
18289 wine_fn_config_program winver enable_winver install
18290 wine_fn_config_program wmic enable_wmic clean,install
18291 wine_fn_config_program wmplayer enable_wmplayer install
18292 wine_fn_config_program wordpad enable_wordpad clean,install
18293 wine_fn_config_program write enable_write clean,install
18294 wine_fn_config_program wscript enable_wscript clean,install
18295 wine_fn_config_test programs/wscript/tests wscript.exe_test
18296 wine_fn_config_program wusa enable_wusa install
18297 wine_fn_config_program xcopy enable_xcopy clean,install
18298 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18299 wine_fn_config_makefile server enable_server clean,install-lib
18300 wine_fn_config_tool tools clean
18301 wine_fn_config_tool tools/sfnt2fon clean
18302 wine_fn_config_tool tools/widl clean,install-dev
18303 wine_fn_config_tool tools/winebuild clean,install-dev
18304 wine_fn_config_tool tools/winedump clean,install-dev
18305 wine_fn_config_tool tools/winegcc clean,install-dev
18306 wine_fn_config_tool tools/winemaker clean,install-dev
18307 wine_fn_config_tool tools/wmc clean,install-dev
18308 wine_fn_config_tool tools/wrc clean,install-dev
18311 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
18312 wine_fn_append_file CONFIGURE_TARGETS "tags"
18313 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
18314 wine_fn_append_file CONFIGURE_TARGETS "config.log"
18315 wine_fn_append_file CONFIGURE_TARGETS "config.status"
18316 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
18317 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
18318 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
18320 if test "x$enable_tools" != xno
18321 then
18322 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
18323 ac_config_commands="$ac_config_commands tools/makedep"
18327 ac_config_commands="$ac_config_commands Makefile"
18330 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18334 if test "x$enable_maintainer_mode" = xyes
18335 then
18336 wine_fn_append_rule "configure: configure.ac aclocal.m4
18337 autoconf --warnings=all
18338 include/config.h.in: include/stamp-h.in
18339 include/stamp-h.in: configure.ac aclocal.m4
18340 autoheader --warnings=all
18341 @echo timestamp > \$@"
18344 if test "x$enable_tools" != xno
18345 then
18346 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18347 @./config.status tools/makedep
18348 Makefile: tools/makedep$ac_exeext"
18349 else
18350 wine_fn_append_rule "\$(MAKEDEP):
18351 @echo \"You need to run make in $TOOLSDIR first\" && false"
18354 if test -n "$with_wine64"
18355 then
18356 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18357 fonts server:
18358 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18359 $with_wine64/loader/wine:
18360 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18361 $with_wine64/loader/wine-preloader:
18362 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18363 clean::
18364 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18365 else
18366 WINELOADER_INSTALL="wine.inf"
18368 wine_fn_append_rule "install install-lib::
18369 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18370 uninstall::
18371 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18372 case $host_os in
18373 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18374 *) wine_fn_append_rule "install install-lib::
18375 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18376 uninstall::
18377 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18378 esac
18381 $as_echo " done" >&6
18382 cat >confcache <<\_ACEOF
18383 # This file is a shell script that caches the results of configure
18384 # tests run on this system so they can be shared between configure
18385 # scripts and configure runs, see configure's option --config-cache.
18386 # It is not useful on other systems. If it contains results you don't
18387 # want to keep, you may remove or edit it.
18389 # config.status only pays attention to the cache file if you give it
18390 # the --recheck option to rerun configure.
18392 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18393 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18394 # following values.
18396 _ACEOF
18398 # The following way of writing the cache mishandles newlines in values,
18399 # but we know of no workaround that is simple, portable, and efficient.
18400 # So, we kill variables containing newlines.
18401 # Ultrix sh set writes to stderr and can't be redirected directly,
18402 # and sets the high bit in the cache file unless we assign to the vars.
18404 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18405 eval ac_val=\$$ac_var
18406 case $ac_val in #(
18407 *${as_nl}*)
18408 case $ac_var in #(
18409 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18410 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18411 esac
18412 case $ac_var in #(
18413 _ | IFS | as_nl) ;; #(
18414 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18415 *) { eval $ac_var=; unset $ac_var;} ;;
18416 esac ;;
18417 esac
18418 done
18420 (set) 2>&1 |
18421 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18422 *${as_nl}ac_space=\ *)
18423 # `set' does not quote correctly, so add quotes: double-quote
18424 # substitution turns \\\\ into \\, and sed turns \\ into \.
18425 sed -n \
18426 "s/'/'\\\\''/g;
18427 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18428 ;; #(
18430 # `set' quotes correctly as required by POSIX, so do not add quotes.
18431 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18433 esac |
18434 sort
18436 sed '
18437 /^ac_cv_env_/b end
18438 t clear
18439 :clear
18440 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18441 t end
18442 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18443 :end' >>confcache
18444 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18445 if test -w "$cache_file"; then
18446 if test "x$cache_file" != "x/dev/null"; then
18447 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18448 $as_echo "$as_me: updating cache $cache_file" >&6;}
18449 if test ! -f "$cache_file" || test -h "$cache_file"; then
18450 cat confcache >"$cache_file"
18451 else
18452 case $cache_file in #(
18453 */* | ?:*)
18454 mv -f confcache "$cache_file"$$ &&
18455 mv -f "$cache_file"$$ "$cache_file" ;; #(
18457 mv -f confcache "$cache_file" ;;
18458 esac
18461 else
18462 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18463 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18466 rm -f confcache
18468 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18469 # Let make expand exec_prefix.
18470 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18472 DEFS=-DHAVE_CONFIG_H
18474 ac_libobjs=
18475 ac_ltlibobjs=
18477 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18478 # 1. Remove the extension, and $U if already installed.
18479 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18480 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18481 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18482 # will be set to the directory where LIBOBJS objects are built.
18483 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18484 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18485 done
18486 LIBOBJS=$ac_libobjs
18488 LTLIBOBJS=$ac_ltlibobjs
18492 : "${CONFIG_STATUS=./config.status}"
18493 ac_write_fail=0
18494 ac_clean_files_save=$ac_clean_files
18495 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18496 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18497 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18498 as_write_fail=0
18499 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18500 #! $SHELL
18501 # Generated by $as_me.
18502 # Run this file to recreate the current configuration.
18503 # Compiler output produced by configure, useful for debugging
18504 # configure, is in config.log if it exists.
18506 debug=false
18507 ac_cs_recheck=false
18508 ac_cs_silent=false
18510 SHELL=\${CONFIG_SHELL-$SHELL}
18511 export SHELL
18512 _ASEOF
18513 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18514 ## -------------------- ##
18515 ## M4sh Initialization. ##
18516 ## -------------------- ##
18518 # Be more Bourne compatible
18519 DUALCASE=1; export DUALCASE # for MKS sh
18520 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18521 emulate sh
18522 NULLCMD=:
18523 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18524 # is contrary to our usage. Disable this feature.
18525 alias -g '${1+"$@"}'='"$@"'
18526 setopt NO_GLOB_SUBST
18527 else
18528 case `(set -o) 2>/dev/null` in #(
18529 *posix*) :
18530 set -o posix ;; #(
18531 *) :
18533 esac
18537 as_nl='
18539 export as_nl
18540 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18541 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18542 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18543 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18544 # Prefer a ksh shell builtin over an external printf program on Solaris,
18545 # but without wasting forks for bash or zsh.
18546 if test -z "$BASH_VERSION$ZSH_VERSION" \
18547 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18548 as_echo='print -r --'
18549 as_echo_n='print -rn --'
18550 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18551 as_echo='printf %s\n'
18552 as_echo_n='printf %s'
18553 else
18554 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18555 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18556 as_echo_n='/usr/ucb/echo -n'
18557 else
18558 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18559 as_echo_n_body='eval
18560 arg=$1;
18561 case $arg in #(
18562 *"$as_nl"*)
18563 expr "X$arg" : "X\\(.*\\)$as_nl";
18564 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18565 esac;
18566 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18568 export as_echo_n_body
18569 as_echo_n='sh -c $as_echo_n_body as_echo'
18571 export as_echo_body
18572 as_echo='sh -c $as_echo_body as_echo'
18575 # The user is always right.
18576 if test "${PATH_SEPARATOR+set}" != set; then
18577 PATH_SEPARATOR=:
18578 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18579 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18580 PATH_SEPARATOR=';'
18585 # IFS
18586 # We need space, tab and new line, in precisely that order. Quoting is
18587 # there to prevent editors from complaining about space-tab.
18588 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18589 # splitting by setting IFS to empty value.)
18590 IFS=" "" $as_nl"
18592 # Find who we are. Look in the path if we contain no directory separator.
18593 as_myself=
18594 case $0 in #((
18595 *[\\/]* ) as_myself=$0 ;;
18596 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18597 for as_dir in $PATH
18599 IFS=$as_save_IFS
18600 test -z "$as_dir" && as_dir=.
18601 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18602 done
18603 IFS=$as_save_IFS
18606 esac
18607 # We did not find ourselves, most probably we were run as `sh COMMAND'
18608 # in which case we are not to be found in the path.
18609 if test "x$as_myself" = x; then
18610 as_myself=$0
18612 if test ! -f "$as_myself"; then
18613 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18614 exit 1
18617 # Unset variables that we do not need and which cause bugs (e.g. in
18618 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18619 # suppresses any "Segmentation fault" message there. '((' could
18620 # trigger a bug in pdksh 5.2.14.
18621 for as_var in BASH_ENV ENV MAIL MAILPATH
18622 do eval test x\${$as_var+set} = xset \
18623 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18624 done
18625 PS1='$ '
18626 PS2='> '
18627 PS4='+ '
18629 # NLS nuisances.
18630 LC_ALL=C
18631 export LC_ALL
18632 LANGUAGE=C
18633 export LANGUAGE
18635 # CDPATH.
18636 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18639 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18640 # ----------------------------------------
18641 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18642 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18643 # script with STATUS, using 1 if that was 0.
18644 as_fn_error ()
18646 as_status=$1; test $as_status -eq 0 && as_status=1
18647 if test "$4"; then
18648 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18649 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18651 $as_echo "$as_me: error: $2" >&2
18652 as_fn_exit $as_status
18653 } # as_fn_error
18656 # as_fn_set_status STATUS
18657 # -----------------------
18658 # Set $? to STATUS, without forking.
18659 as_fn_set_status ()
18661 return $1
18662 } # as_fn_set_status
18664 # as_fn_exit STATUS
18665 # -----------------
18666 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18667 as_fn_exit ()
18669 set +e
18670 as_fn_set_status $1
18671 exit $1
18672 } # as_fn_exit
18674 # as_fn_unset VAR
18675 # ---------------
18676 # Portably unset VAR.
18677 as_fn_unset ()
18679 { eval $1=; unset $1;}
18681 as_unset=as_fn_unset
18682 # as_fn_append VAR VALUE
18683 # ----------------------
18684 # Append the text in VALUE to the end of the definition contained in VAR. Take
18685 # advantage of any shell optimizations that allow amortized linear growth over
18686 # repeated appends, instead of the typical quadratic growth present in naive
18687 # implementations.
18688 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18689 eval 'as_fn_append ()
18691 eval $1+=\$2
18693 else
18694 as_fn_append ()
18696 eval $1=\$$1\$2
18698 fi # as_fn_append
18700 # as_fn_arith ARG...
18701 # ------------------
18702 # Perform arithmetic evaluation on the ARGs, and store the result in the
18703 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18704 # must be portable across $(()) and expr.
18705 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18706 eval 'as_fn_arith ()
18708 as_val=$(( $* ))
18710 else
18711 as_fn_arith ()
18713 as_val=`expr "$@" || test $? -eq 1`
18715 fi # as_fn_arith
18718 if expr a : '\(a\)' >/dev/null 2>&1 &&
18719 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18720 as_expr=expr
18721 else
18722 as_expr=false
18725 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18726 as_basename=basename
18727 else
18728 as_basename=false
18731 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18732 as_dirname=dirname
18733 else
18734 as_dirname=false
18737 as_me=`$as_basename -- "$0" ||
18738 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18739 X"$0" : 'X\(//\)$' \| \
18740 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18741 $as_echo X/"$0" |
18742 sed '/^.*\/\([^/][^/]*\)\/*$/{
18743 s//\1/
18746 /^X\/\(\/\/\)$/{
18747 s//\1/
18750 /^X\/\(\/\).*/{
18751 s//\1/
18754 s/.*/./; q'`
18756 # Avoid depending upon Character Ranges.
18757 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18758 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18759 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18760 as_cr_digits='0123456789'
18761 as_cr_alnum=$as_cr_Letters$as_cr_digits
18763 ECHO_C= ECHO_N= ECHO_T=
18764 case `echo -n x` in #(((((
18765 -n*)
18766 case `echo 'xy\c'` in
18767 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18768 xy) ECHO_C='\c';;
18769 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18770 ECHO_T=' ';;
18771 esac;;
18773 ECHO_N='-n';;
18774 esac
18776 rm -f conf$$ conf$$.exe conf$$.file
18777 if test -d conf$$.dir; then
18778 rm -f conf$$.dir/conf$$.file
18779 else
18780 rm -f conf$$.dir
18781 mkdir conf$$.dir 2>/dev/null
18783 if (echo >conf$$.file) 2>/dev/null; then
18784 if ln -s conf$$.file conf$$ 2>/dev/null; then
18785 as_ln_s='ln -s'
18786 # ... but there are two gotchas:
18787 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18788 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18789 # In both cases, we have to default to `cp -pR'.
18790 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18791 as_ln_s='cp -pR'
18792 elif ln conf$$.file conf$$ 2>/dev/null; then
18793 as_ln_s=ln
18794 else
18795 as_ln_s='cp -pR'
18797 else
18798 as_ln_s='cp -pR'
18800 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18801 rmdir conf$$.dir 2>/dev/null
18804 # as_fn_mkdir_p
18805 # -------------
18806 # Create "$as_dir" as a directory, including parents if necessary.
18807 as_fn_mkdir_p ()
18810 case $as_dir in #(
18811 -*) as_dir=./$as_dir;;
18812 esac
18813 test -d "$as_dir" || eval $as_mkdir_p || {
18814 as_dirs=
18815 while :; do
18816 case $as_dir in #(
18817 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18818 *) as_qdir=$as_dir;;
18819 esac
18820 as_dirs="'$as_qdir' $as_dirs"
18821 as_dir=`$as_dirname -- "$as_dir" ||
18822 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18823 X"$as_dir" : 'X\(//\)[^/]' \| \
18824 X"$as_dir" : 'X\(//\)$' \| \
18825 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18826 $as_echo X"$as_dir" |
18827 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18828 s//\1/
18831 /^X\(\/\/\)[^/].*/{
18832 s//\1/
18835 /^X\(\/\/\)$/{
18836 s//\1/
18839 /^X\(\/\).*/{
18840 s//\1/
18843 s/.*/./; q'`
18844 test -d "$as_dir" && break
18845 done
18846 test -z "$as_dirs" || eval "mkdir $as_dirs"
18847 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18850 } # as_fn_mkdir_p
18851 if mkdir -p . 2>/dev/null; then
18852 as_mkdir_p='mkdir -p "$as_dir"'
18853 else
18854 test -d ./-p && rmdir ./-p
18855 as_mkdir_p=false
18859 # as_fn_executable_p FILE
18860 # -----------------------
18861 # Test if FILE is an executable regular file.
18862 as_fn_executable_p ()
18864 test -f "$1" && test -x "$1"
18865 } # as_fn_executable_p
18866 as_test_x='test -x'
18867 as_executable_p=as_fn_executable_p
18869 # Sed expression to map a string onto a valid CPP name.
18870 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18872 # Sed expression to map a string onto a valid variable name.
18873 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18876 exec 6>&1
18877 ## ----------------------------------- ##
18878 ## Main body of $CONFIG_STATUS script. ##
18879 ## ----------------------------------- ##
18880 _ASEOF
18881 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18883 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18884 # Save the log message, to keep $0 and so on meaningful, and to
18885 # report actual input values of CONFIG_FILES etc. instead of their
18886 # values after options handling.
18887 ac_log="
18888 This file was extended by Wine $as_me 1.9.12, which was
18889 generated by GNU Autoconf 2.69. Invocation command line was
18891 CONFIG_FILES = $CONFIG_FILES
18892 CONFIG_HEADERS = $CONFIG_HEADERS
18893 CONFIG_LINKS = $CONFIG_LINKS
18894 CONFIG_COMMANDS = $CONFIG_COMMANDS
18895 $ $0 $@
18897 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18900 _ACEOF
18902 case $ac_config_files in *"
18903 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18904 esac
18906 case $ac_config_headers in *"
18907 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18908 esac
18911 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18912 # Files that config.status was made for.
18913 config_files="$ac_config_files"
18914 config_headers="$ac_config_headers"
18915 config_links="$ac_config_links"
18916 config_commands="$ac_config_commands"
18918 _ACEOF
18920 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18921 ac_cs_usage="\
18922 \`$as_me' instantiates files and other configuration actions
18923 from templates according to the current configuration. Unless the files
18924 and actions are specified as TAGs, all are instantiated by default.
18926 Usage: $0 [OPTION]... [TAG]...
18928 -h, --help print this help, then exit
18929 -V, --version print version number and configuration settings, then exit
18930 --config print configuration, then exit
18931 -q, --quiet, --silent
18932 do not print progress messages
18933 -d, --debug don't remove temporary files
18934 --recheck update $as_me by reconfiguring in the same conditions
18935 --file=FILE[:TEMPLATE]
18936 instantiate the configuration file FILE
18937 --header=FILE[:TEMPLATE]
18938 instantiate the configuration header FILE
18940 Configuration files:
18941 $config_files
18943 Configuration headers:
18944 $config_headers
18946 Configuration links:
18947 $config_links
18949 Configuration commands:
18950 $config_commands
18952 Report bugs to <wine-devel@winehq.org>.
18953 Wine home page: <http://www.winehq.org>."
18955 _ACEOF
18956 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18957 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18958 ac_cs_version="\\
18959 Wine config.status 1.9.12
18960 configured by $0, generated by GNU Autoconf 2.69,
18961 with options \\"\$ac_cs_config\\"
18963 Copyright (C) 2012 Free Software Foundation, Inc.
18964 This config.status script is free software; the Free Software Foundation
18965 gives unlimited permission to copy, distribute and modify it."
18967 ac_pwd='$ac_pwd'
18968 srcdir='$srcdir'
18969 test -n "\$AWK" || AWK=awk
18970 _ACEOF
18972 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18973 # The default lists apply if the user does not specify any file.
18974 ac_need_defaults=:
18975 while test $# != 0
18977 case $1 in
18978 --*=?*)
18979 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18980 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18981 ac_shift=:
18983 --*=)
18984 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18985 ac_optarg=
18986 ac_shift=:
18989 ac_option=$1
18990 ac_optarg=$2
18991 ac_shift=shift
18993 esac
18995 case $ac_option in
18996 # Handling of the options.
18997 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18998 ac_cs_recheck=: ;;
18999 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19000 $as_echo "$ac_cs_version"; exit ;;
19001 --config | --confi | --conf | --con | --co | --c )
19002 $as_echo "$ac_cs_config"; exit ;;
19003 --debug | --debu | --deb | --de | --d | -d )
19004 debug=: ;;
19005 --file | --fil | --fi | --f )
19006 $ac_shift
19007 case $ac_optarg in
19008 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19009 '') as_fn_error $? "missing file argument" ;;
19010 esac
19011 as_fn_append CONFIG_FILES " '$ac_optarg'"
19012 ac_need_defaults=false;;
19013 --header | --heade | --head | --hea )
19014 $ac_shift
19015 case $ac_optarg in
19016 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19017 esac
19018 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19019 ac_need_defaults=false;;
19020 --he | --h)
19021 # Conflict between --help and --header
19022 as_fn_error $? "ambiguous option: \`$1'
19023 Try \`$0 --help' for more information.";;
19024 --help | --hel | -h )
19025 $as_echo "$ac_cs_usage"; exit ;;
19026 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19027 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19028 ac_cs_silent=: ;;
19030 # This is an error.
19031 -*) as_fn_error $? "unrecognized option: \`$1'
19032 Try \`$0 --help' for more information." ;;
19034 *) as_fn_append ac_config_targets " $1"
19035 ac_need_defaults=false ;;
19037 esac
19038 shift
19039 done
19041 ac_configure_extra_args=
19043 if $ac_cs_silent; then
19044 exec 6>/dev/null
19045 ac_configure_extra_args="$ac_configure_extra_args --silent"
19048 _ACEOF
19049 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19050 if \$ac_cs_recheck; then
19051 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19052 shift
19053 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19054 CONFIG_SHELL='$SHELL'
19055 export CONFIG_SHELL
19056 exec "\$@"
19059 _ACEOF
19060 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19061 exec 5>>config.log
19063 echo
19064 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19065 ## Running $as_me. ##
19066 _ASBOX
19067 $as_echo "$ac_log"
19068 } >&5
19070 _ACEOF
19071 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19073 # INIT-COMMANDS
19075 wine_fn_output_makedep ()
19077 as_dir=tools; as_fn_mkdir_p
19078 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19080 wine_fn_output_makefile ()
19082 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19083 `cat $wine_rules_file`
19084 _WINE_EOF
19085 as_fn_error $? "could not create Makefile" "$LINENO" 5
19088 _ACEOF
19090 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19092 # Handling of arguments.
19093 for ac_config_target in $ac_config_targets
19095 case $ac_config_target in
19096 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19097 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19098 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19099 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19100 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19101 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19102 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19103 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19104 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19105 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19106 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19107 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19108 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19110 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19111 esac
19112 done
19115 # If the user did not use the arguments to specify the items to instantiate,
19116 # then the envvar interface is used. Set only those that are not.
19117 # We use the long form for the default assignment because of an extremely
19118 # bizarre bug on SunOS 4.1.3.
19119 if $ac_need_defaults; then
19120 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19121 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19122 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19123 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19126 # Have a temporary directory for convenience. Make it in the build tree
19127 # simply because there is no reason against having it here, and in addition,
19128 # creating and moving files from /tmp can sometimes cause problems.
19129 # Hook for its removal unless debugging.
19130 # Note that there is a small window in which the directory will not be cleaned:
19131 # after its creation but before its name has been assigned to `$tmp'.
19132 $debug ||
19134 tmp= ac_tmp=
19135 trap 'exit_status=$?
19136 : "${ac_tmp:=$tmp}"
19137 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19139 trap 'as_fn_exit 1' 1 2 13 15
19141 # Create a (secure) tmp directory for tmp files.
19144 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19145 test -d "$tmp"
19146 } ||
19148 tmp=./conf$$-$RANDOM
19149 (umask 077 && mkdir "$tmp")
19150 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19151 ac_tmp=$tmp
19153 # Set up the scripts for CONFIG_FILES section.
19154 # No need to generate them if there are no CONFIG_FILES.
19155 # This happens for instance with `./config.status config.h'.
19156 if test -n "$CONFIG_FILES"; then
19159 ac_cr=`echo X | tr X '\015'`
19160 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19161 # But we know of no other shell where ac_cr would be empty at this
19162 # point, so we can use a bashism as a fallback.
19163 if test "x$ac_cr" = x; then
19164 eval ac_cr=\$\'\\r\'
19166 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19167 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19168 ac_cs_awk_cr='\\r'
19169 else
19170 ac_cs_awk_cr=$ac_cr
19173 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19174 _ACEOF
19178 echo "cat >conf$$subs.awk <<_ACEOF" &&
19179 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19180 echo "_ACEOF"
19181 } >conf$$subs.sh ||
19182 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19183 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19184 ac_delim='%!_!# '
19185 for ac_last_try in false false false false false :; do
19186 . ./conf$$subs.sh ||
19187 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19189 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19190 if test $ac_delim_n = $ac_delim_num; then
19191 break
19192 elif $ac_last_try; then
19193 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19194 else
19195 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19197 done
19198 rm -f conf$$subs.sh
19200 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19201 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19202 _ACEOF
19203 sed -n '
19205 s/^/S["/; s/!.*/"]=/
19208 s/^[^!]*!//
19209 :repl
19210 t repl
19211 s/'"$ac_delim"'$//
19212 t delim
19215 s/\(.\{148\}\)..*/\1/
19216 t more1
19217 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19220 b repl
19221 :more1
19222 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19225 s/.\{148\}//
19226 t nl
19227 :delim
19229 s/\(.\{148\}\)..*/\1/
19230 t more2
19231 s/["\\]/\\&/g; s/^/"/; s/$/"/
19234 :more2
19235 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19238 s/.\{148\}//
19239 t delim
19240 ' <conf$$subs.awk | sed '
19241 /^[^""]/{
19243 s/\n//
19245 ' >>$CONFIG_STATUS || ac_write_fail=1
19246 rm -f conf$$subs.awk
19247 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19248 _ACAWK
19249 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19250 for (key in S) S_is_set[key] = 1
19251 FS = "\a"
19255 line = $ 0
19256 nfields = split(line, field, "@")
19257 substed = 0
19258 len = length(field[1])
19259 for (i = 2; i < nfields; i++) {
19260 key = field[i]
19261 keylen = length(key)
19262 if (S_is_set[key]) {
19263 value = S[key]
19264 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19265 len += length(value) + length(field[++i])
19266 substed = 1
19267 } else
19268 len += 1 + keylen
19271 print line
19274 _ACAWK
19275 _ACEOF
19276 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19277 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19278 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19279 else
19281 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19282 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19283 _ACEOF
19285 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19286 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19287 # trailing colons and then remove the whole line if VPATH becomes empty
19288 # (actually we leave an empty line to preserve line numbers).
19289 if test "x$srcdir" = x.; then
19290 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19292 s///
19293 s/^/:/
19294 s/[ ]*$/:/
19295 s/:\$(srcdir):/:/g
19296 s/:\${srcdir}:/:/g
19297 s/:@srcdir@:/:/g
19298 s/^:*//
19299 s/:*$//
19301 s/\(=[ ]*\).*/\1/
19303 s/\n//
19304 s/^[^=]*=[ ]*$//
19308 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19309 fi # test -n "$CONFIG_FILES"
19311 # Set up the scripts for CONFIG_HEADERS section.
19312 # No need to generate them if there are no CONFIG_HEADERS.
19313 # This happens for instance with `./config.status Makefile'.
19314 if test -n "$CONFIG_HEADERS"; then
19315 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19316 BEGIN {
19317 _ACEOF
19319 # Transform confdefs.h into an awk script `defines.awk', embedded as
19320 # here-document in config.status, that substitutes the proper values into
19321 # config.h.in to produce config.h.
19323 # Create a delimiter string that does not exist in confdefs.h, to ease
19324 # handling of long lines.
19325 ac_delim='%!_!# '
19326 for ac_last_try in false false :; do
19327 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19328 if test -z "$ac_tt"; then
19329 break
19330 elif $ac_last_try; then
19331 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19332 else
19333 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19335 done
19337 # For the awk script, D is an array of macro values keyed by name,
19338 # likewise P contains macro parameters if any. Preserve backslash
19339 # newline sequences.
19341 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19342 sed -n '
19343 s/.\{148\}/&'"$ac_delim"'/g
19344 t rset
19345 :rset
19346 s/^[ ]*#[ ]*define[ ][ ]*/ /
19347 t def
19349 :def
19350 s/\\$//
19351 t bsnl
19352 s/["\\]/\\&/g
19353 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19354 D["\1"]=" \3"/p
19355 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19357 :bsnl
19358 s/["\\]/\\&/g
19359 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19360 D["\1"]=" \3\\\\\\n"\\/p
19361 t cont
19362 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19363 t cont
19365 :cont
19367 s/.\{148\}/&'"$ac_delim"'/g
19368 t clear
19369 :clear
19370 s/\\$//
19371 t bsnlc
19372 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19374 :bsnlc
19375 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19376 b cont
19377 ' <confdefs.h | sed '
19378 s/'"$ac_delim"'/"\\\
19379 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19381 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19382 for (key in D) D_is_set[key] = 1
19383 FS = "\a"
19385 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19386 line = \$ 0
19387 split(line, arg, " ")
19388 if (arg[1] == "#") {
19389 defundef = arg[2]
19390 mac1 = arg[3]
19391 } else {
19392 defundef = substr(arg[1], 2)
19393 mac1 = arg[2]
19395 split(mac1, mac2, "(") #)
19396 macro = mac2[1]
19397 prefix = substr(line, 1, index(line, defundef) - 1)
19398 if (D_is_set[macro]) {
19399 # Preserve the white space surrounding the "#".
19400 print prefix "define", macro P[macro] D[macro]
19401 next
19402 } else {
19403 # Replace #undef with comments. This is necessary, for example,
19404 # in the case of _POSIX_SOURCE, which is predefined and required
19405 # on some systems where configure will not decide to define it.
19406 if (defundef == "undef") {
19407 print "/*", prefix defundef, macro, "*/"
19408 next
19412 { print }
19413 _ACAWK
19414 _ACEOF
19415 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19416 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19417 fi # test -n "$CONFIG_HEADERS"
19420 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19421 shift
19422 for ac_tag
19424 case $ac_tag in
19425 :[FHLC]) ac_mode=$ac_tag; continue;;
19426 esac
19427 case $ac_mode$ac_tag in
19428 :[FHL]*:*);;
19429 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19430 :[FH]-) ac_tag=-:-;;
19431 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19432 esac
19433 ac_save_IFS=$IFS
19434 IFS=:
19435 set x $ac_tag
19436 IFS=$ac_save_IFS
19437 shift
19438 ac_file=$1
19439 shift
19441 case $ac_mode in
19442 :L) ac_source=$1;;
19443 :[FH])
19444 ac_file_inputs=
19445 for ac_f
19447 case $ac_f in
19448 -) ac_f="$ac_tmp/stdin";;
19449 *) # Look for the file first in the build tree, then in the source tree
19450 # (if the path is not absolute). The absolute path cannot be DOS-style,
19451 # because $ac_f cannot contain `:'.
19452 test -f "$ac_f" ||
19453 case $ac_f in
19454 [\\/$]*) false;;
19455 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19456 esac ||
19457 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19458 esac
19459 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19460 as_fn_append ac_file_inputs " '$ac_f'"
19461 done
19463 # Let's still pretend it is `configure' which instantiates (i.e., don't
19464 # use $as_me), people would be surprised to read:
19465 # /* config.h. Generated by config.status. */
19466 configure_input='Generated from '`
19467 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19468 `' by configure.'
19469 if test x"$ac_file" != x-; then
19470 configure_input="$ac_file. $configure_input"
19471 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19472 $as_echo "$as_me: creating $ac_file" >&6;}
19474 # Neutralize special characters interpreted by sed in replacement strings.
19475 case $configure_input in #(
19476 *\&* | *\|* | *\\* )
19477 ac_sed_conf_input=`$as_echo "$configure_input" |
19478 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19479 *) ac_sed_conf_input=$configure_input;;
19480 esac
19482 case $ac_tag in
19483 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19484 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19485 esac
19487 esac
19489 ac_dir=`$as_dirname -- "$ac_file" ||
19490 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19491 X"$ac_file" : 'X\(//\)[^/]' \| \
19492 X"$ac_file" : 'X\(//\)$' \| \
19493 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19494 $as_echo X"$ac_file" |
19495 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19496 s//\1/
19499 /^X\(\/\/\)[^/].*/{
19500 s//\1/
19503 /^X\(\/\/\)$/{
19504 s//\1/
19507 /^X\(\/\).*/{
19508 s//\1/
19511 s/.*/./; q'`
19512 as_dir="$ac_dir"; as_fn_mkdir_p
19513 ac_builddir=.
19515 case "$ac_dir" in
19516 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19518 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19519 # A ".." for each directory in $ac_dir_suffix.
19520 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19521 case $ac_top_builddir_sub in
19522 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19523 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19524 esac ;;
19525 esac
19526 ac_abs_top_builddir=$ac_pwd
19527 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19528 # for backward compatibility:
19529 ac_top_builddir=$ac_top_build_prefix
19531 case $srcdir in
19532 .) # We are building in place.
19533 ac_srcdir=.
19534 ac_top_srcdir=$ac_top_builddir_sub
19535 ac_abs_top_srcdir=$ac_pwd ;;
19536 [\\/]* | ?:[\\/]* ) # Absolute name.
19537 ac_srcdir=$srcdir$ac_dir_suffix;
19538 ac_top_srcdir=$srcdir
19539 ac_abs_top_srcdir=$srcdir ;;
19540 *) # Relative name.
19541 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19542 ac_top_srcdir=$ac_top_build_prefix$srcdir
19543 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19544 esac
19545 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19548 case $ac_mode in
19551 # CONFIG_FILE
19554 _ACEOF
19556 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19557 # If the template does not know about datarootdir, expand it.
19558 # FIXME: This hack should be removed a few years after 2.60.
19559 ac_datarootdir_hack=; ac_datarootdir_seen=
19560 ac_sed_dataroot='
19561 /datarootdir/ {
19565 /@datadir@/p
19566 /@docdir@/p
19567 /@infodir@/p
19568 /@localedir@/p
19569 /@mandir@/p'
19570 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19571 *datarootdir*) ac_datarootdir_seen=yes;;
19572 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19573 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19574 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19575 _ACEOF
19576 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19577 ac_datarootdir_hack='
19578 s&@datadir@&$datadir&g
19579 s&@docdir@&$docdir&g
19580 s&@infodir@&$infodir&g
19581 s&@localedir@&$localedir&g
19582 s&@mandir@&$mandir&g
19583 s&\\\${datarootdir}&$datarootdir&g' ;;
19584 esac
19585 _ACEOF
19587 # Neutralize VPATH when `$srcdir' = `.'.
19588 # Shell code in configure.ac might set extrasub.
19589 # FIXME: do we really want to maintain this feature?
19590 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19591 ac_sed_extra="$ac_vpsub
19592 $extrasub
19593 _ACEOF
19594 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19596 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19597 s|@configure_input@|$ac_sed_conf_input|;t t
19598 s&@top_builddir@&$ac_top_builddir_sub&;t t
19599 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19600 s&@srcdir@&$ac_srcdir&;t t
19601 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19602 s&@top_srcdir@&$ac_top_srcdir&;t t
19603 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19604 s&@builddir@&$ac_builddir&;t t
19605 s&@abs_builddir@&$ac_abs_builddir&;t t
19606 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19607 $ac_datarootdir_hack
19609 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19610 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19612 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19613 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19614 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19615 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19617 which seems to be undefined. Please make sure it is defined" >&5
19618 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19619 which seems to be undefined. Please make sure it is defined" >&2;}
19621 rm -f "$ac_tmp/stdin"
19622 case $ac_file in
19623 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19624 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19625 esac \
19626 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19630 # CONFIG_HEADER
19632 if test x"$ac_file" != x-; then
19634 $as_echo "/* $configure_input */" \
19635 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19636 } >"$ac_tmp/config.h" \
19637 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19638 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19639 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19640 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19641 else
19642 rm -f "$ac_file"
19643 mv "$ac_tmp/config.h" "$ac_file" \
19644 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19646 else
19647 $as_echo "/* $configure_input */" \
19648 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19649 || as_fn_error $? "could not create -" "$LINENO" 5
19654 # CONFIG_LINK
19657 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19659 else
19660 # Prefer the file from the source tree if names are identical.
19661 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19662 ac_source=$srcdir/$ac_source
19665 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19666 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19668 if test ! -r "$ac_source"; then
19669 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19671 rm -f "$ac_file"
19673 # Try a relative symlink, then a hard link, then a copy.
19674 case $ac_source in
19675 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19676 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19677 esac
19678 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19679 ln "$ac_source" "$ac_file" 2>/dev/null ||
19680 cp -p "$ac_source" "$ac_file" ||
19681 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19684 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19685 $as_echo "$as_me: executing $ac_file commands" >&6;}
19687 esac
19690 case $ac_file$ac_mode in
19691 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19692 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19693 "Makefile":C) wine_fn_output_makefile Makefile ;;
19695 esac
19696 done # for ac_tag
19699 as_fn_exit 0
19700 _ACEOF
19701 ac_clean_files=$ac_clean_files_save
19703 test $ac_write_fail = 0 ||
19704 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19707 # configure is writing to config.log, and then calls config.status.
19708 # config.status does its own redirection, appending to config.log.
19709 # Unfortunately, on DOS this fails, as config.log is still kept open
19710 # by configure, so config.status won't be able to write to it; its
19711 # output is simply discarded. So we exec the FD to /dev/null,
19712 # effectively closing config.log, so it can be properly (re)opened and
19713 # appended to by config.status. When coming back to configure, we
19714 # need to make the FD available again.
19715 if test "$no_create" != yes; then
19716 ac_cs_success=:
19717 ac_config_status_args=
19718 test "$silent" = yes &&
19719 ac_config_status_args="$ac_config_status_args --quiet"
19720 exec 5>/dev/null
19721 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19722 exec 5>>config.log
19723 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19724 # would make configure fail if this is the last instruction.
19725 $ac_cs_success || as_fn_exit 1
19727 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19729 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19733 if test "$no_create" = "yes"
19734 then
19735 exit 0
19738 ac_save_IFS="$IFS"
19739 if test "x$wine_notices" != x; then
19740 echo >&6
19741 IFS="|"
19742 for msg in $wine_notices; do
19743 IFS="$ac_save_IFS"
19744 if ${msg:+false} :; then :
19746 else
19747 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19748 $as_echo "$as_me: $msg" >&6;}
19750 done
19752 IFS="|"
19753 for msg in $wine_warnings; do
19754 IFS="$ac_save_IFS"
19755 if ${msg:+false} :; then :
19757 else
19758 echo >&2
19759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19760 $as_echo "$as_me: WARNING: $msg" >&2;}
19762 done
19763 IFS="$ac_save_IFS"
19765 $as_echo "
19766 $as_me: Finished. Do '${ac_make}' to compile Wine.
19767 " >&6