d3d9: Pass non-NULL rectangles to wined3d_texture_blt() in d3d9_device_GetRenderTarge...
[wine.git] / configure
blobd9919bf1055a341826baf649d5f3a447cfd5161a
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.9.2.
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.2'
584 PACKAGE_STRING='Wine 1.9.2'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='http://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 WINELOADER_INSTALL
628 LINGUAS
629 ALL_VARS_RULES
630 LDAP_LIBS
631 RT_LIBS
632 POLL_LIBS
633 DL_LIBS
634 TOOLSEXT
635 UNWINDFLAGS
636 EXCESS_PRECISION_CFLAGS
637 BUILTINFLAG
638 EXTRACFLAGS
639 PROCSTAT_LIBS
640 KSTAT_LIBS
641 MPG123_LIBS
642 MPG123_CFLAGS
643 TIFF_LIBS
644 TIFF_CFLAGS
645 PNG_LIBS
646 PNG_CFLAGS
647 JPEG_LIBS
648 JPEG_CFLAGS
649 FONTCONFIG_LIBS
650 FONTCONFIG_CFLAGS
651 CUPS_CFLAGS
652 CAPI20_LIBS
653 CAPI20_CFLAGS
654 OSS4_CFLAGS
655 ALSA_LIBS
656 GSTREAMER_LIBS
657 GSTREAMER_CFLAGS
658 PULSE_LIBS
659 PULSE_CFLAGS
660 GETTEXTPO_LIBS
661 Z_LIBS
662 FREETYPE_LIBS
663 FREETYPE_CFLAGS
664 LCMS2_LIBS
665 LCMS2_CFLAGS
666 RESOLV_LIBS
667 GPHOTO2_PORT_LIBS
668 GPHOTO2_PORT_CFLAGS
669 GPHOTO2_LIBS
670 GPHOTO2_CFLAGS
671 SANE_LIBS
672 SANE_CFLAGS
673 GNUTLS_LIBS
674 GNUTLS_CFLAGS
675 HAL_LIBS
676 HAL_CFLAGS
677 DBUS_LIBS
678 DBUS_CFLAGS
679 XSLT_LIBS
680 XSLT_CFLAGS
681 XML2_LIBS
682 XML2_CFLAGS
683 PCAP_LIBS
684 X_EXTRA_LIBS
685 X_LIBS
686 X_PRE_LIBS
687 X_CFLAGS
688 XMKMF
689 PTHREAD_LIBS
690 CROSSCC
691 CROSSTARGET
692 PRELINK
693 WINELOADER_DEPENDS
694 CARBON_LIBS
695 QUICKTIME_LIBS
696 OPENCL_LIBS
697 OPENAL_LIBS
698 COREAUDIO_LIBS
699 SECURITY_LIBS
700 DISKARBITRATION_LIBS
701 APPKIT_LIBS
702 CORESERVICES_LIBS
703 APPLICATIONSERVICES_LIBS
704 FORCEFEEDBACK_LIBS
705 IOKIT_LIBS
706 COREFOUNDATION_LIBS
707 LIBWINE_DEPENDS
708 LIBWINE_LDFLAGS
709 LIBWINE_INSTALL_DEV
710 LIBWINE_INSTALL_LIB
711 LIBWINE_IMPORTLIB
712 LIBWINE_SHAREDLIB
713 SOCKET_LIBS
714 DLLTOOL
715 WINELOADER_PROGRAMS
716 ALL_TEST_RESOURCES
717 SUBDIRS
718 READELF
719 OTOOL
721 LDEXECFLAGS
722 LDRPATH_LOCAL
723 LDRPATH_INSTALL
724 DLLFLAGS
725 dlldir
727 OPENGL_LIBS
728 ICOTOOL
729 CONVERT
730 RSVG
731 FONTFORGE
732 PKG_CONFIG
733 MSGFMT
734 LDCONFIG
735 EGREP
736 GREP
737 LN_S
738 RANLIB
739 ARFLAGS
740 STRIP
741 ac_ct_AR
743 BISON
744 FLEX
745 TOOLSDIR
746 TARGETFLAGS
748 CPPBIN
749 ac_ct_CXX
750 CXXFLAGS
752 OBJEXT
753 EXEEXT
754 ac_ct_CC
755 CPPFLAGS
756 LDFLAGS
757 CFLAGS
759 SET_MAKE
760 host_os
761 host_vendor
762 host_cpu
763 host
764 build_os
765 build_vendor
766 build_cpu
767 build
768 target_alias
769 host_alias
770 build_alias
771 LIBS
772 ECHO_T
773 ECHO_N
774 ECHO_C
775 DEFS
776 mandir
777 localedir
778 libdir
779 psdir
780 pdfdir
781 dvidir
782 htmldir
783 infodir
784 docdir
785 oldincludedir
786 includedir
787 runstatedir
788 localstatedir
789 sharedstatedir
790 sysconfdir
791 datadir
792 datarootdir
793 libexecdir
794 sbindir
795 bindir
796 program_transform_name
797 prefix
798 exec_prefix
799 PACKAGE_URL
800 PACKAGE_BUGREPORT
801 PACKAGE_STRING
802 PACKAGE_VERSION
803 PACKAGE_TARNAME
804 PACKAGE_NAME
805 PATH_SEPARATOR
806 SHELL'
807 ac_subst_files=''
808 ac_user_opts='
809 enable_option_checking
810 enable_win16
811 enable_win64
812 enable_tests
813 enable_maintainer_mode
814 with_alsa
815 with_capi
816 with_cms
817 with_coreaudio
818 with_cups
819 with_curses
820 with_dbus
821 with_fontconfig
822 with_freetype
823 with_gettext
824 with_gettextpo
825 with_gphoto
826 with_glu
827 with_gnutls
828 with_gsm
829 with_gstreamer
830 with_hal
831 with_jpeg
832 with_ldap
833 with_mpg123
834 with_netapi
835 with_openal
836 with_opencl
837 with_opengl
838 with_osmesa
839 with_oss
840 with_pcap
841 with_png
842 with_pthread
843 with_pulse
844 with_sane
845 with_tiff
846 with_v4l
847 with_xcomposite
848 with_xcursor
849 with_xinerama
850 with_xinput
851 with_xinput2
852 with_xml
853 with_xrandr
854 with_xrender
855 with_xshape
856 with_xshm
857 with_xslt
858 with_xxf86vm
859 with_zlib
860 with_wine_tools
861 with_wine64
862 enable_largefile
863 with_x
864 enable_acledit
865 enable_aclui
866 enable_activeds
867 enable_actxprxy
868 enable_advapi32
869 enable_advpack
870 enable_amstream
871 enable_api_ms_win_core_com_l1_1_0
872 enable_api_ms_win_core_console_l1_1_0
873 enable_api_ms_win_core_datetime_l1_1_0
874 enable_api_ms_win_core_datetime_l1_1_1
875 enable_api_ms_win_core_debug_l1_1_0
876 enable_api_ms_win_core_debug_l1_1_1
877 enable_api_ms_win_core_errorhandling_l1_1_0
878 enable_api_ms_win_core_errorhandling_l1_1_1
879 enable_api_ms_win_core_errorhandling_l1_1_2
880 enable_api_ms_win_core_fibers_l1_1_0
881 enable_api_ms_win_core_fibers_l1_1_1
882 enable_api_ms_win_core_file_l1_1_0
883 enable_api_ms_win_core_file_l1_2_0
884 enable_api_ms_win_core_file_l2_1_0
885 enable_api_ms_win_core_file_l2_1_1
886 enable_api_ms_win_core_handle_l1_1_0
887 enable_api_ms_win_core_heap_l1_1_0
888 enable_api_ms_win_core_heap_l1_2_0
889 enable_api_ms_win_core_heap_obsolete_l1_1_0
890 enable_api_ms_win_core_interlocked_l1_1_0
891 enable_api_ms_win_core_interlocked_l1_2_0
892 enable_api_ms_win_core_io_l1_1_1
893 enable_api_ms_win_core_kernel32_legacy_l1_1_0
894 enable_api_ms_win_core_libraryloader_l1_1_0
895 enable_api_ms_win_core_libraryloader_l1_1_1
896 enable_api_ms_win_core_localization_l1_2_0
897 enable_api_ms_win_core_localization_l1_2_1
898 enable_api_ms_win_core_localization_obsolete_l1_1_0
899 enable_api_ms_win_core_localregistry_l1_1_0
900 enable_api_ms_win_core_memory_l1_1_0
901 enable_api_ms_win_core_memory_l1_1_1
902 enable_api_ms_win_core_misc_l1_1_0
903 enable_api_ms_win_core_namedpipe_l1_1_0
904 enable_api_ms_win_core_namedpipe_l1_2_0
905 enable_api_ms_win_core_path_l1_1_0
906 enable_api_ms_win_core_processenvironment_l1_1_0
907 enable_api_ms_win_core_processenvironment_l1_2_0
908 enable_api_ms_win_core_processthreads_l1_1_0
909 enable_api_ms_win_core_processthreads_l1_1_1
910 enable_api_ms_win_core_processthreads_l1_1_2
911 enable_api_ms_win_core_profile_l1_1_0
912 enable_api_ms_win_core_psapi_l1_1_0
913 enable_api_ms_win_core_registry_l1_1_0
914 enable_api_ms_win_core_rtlsupport_l1_1_0
915 enable_api_ms_win_core_rtlsupport_l1_2_0
916 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
917 enable_api_ms_win_core_string_l1_1_0
918 enable_api_ms_win_core_synch_l1_1_0
919 enable_api_ms_win_core_synch_l1_2_0
920 enable_api_ms_win_core_sysinfo_l1_1_0
921 enable_api_ms_win_core_sysinfo_l1_2_0
922 enable_api_ms_win_core_sysinfo_l1_2_1
923 enable_api_ms_win_core_threadpool_legacy_l1_1_0
924 enable_api_ms_win_core_timezone_l1_1_0
925 enable_api_ms_win_core_url_l1_1_0
926 enable_api_ms_win_core_util_l1_1_0
927 enable_api_ms_win_core_winrt_error_l1_1_0
928 enable_api_ms_win_core_winrt_error_l1_1_1
929 enable_api_ms_win_core_winrt_l1_1_0
930 enable_api_ms_win_core_winrt_string_l1_1_0
931 enable_api_ms_win_core_xstate_l2_1_0
932 enable_api_ms_win_crt_conio_l1_1_0
933 enable_api_ms_win_crt_convert_l1_1_0
934 enable_api_ms_win_crt_environment_l1_1_0
935 enable_api_ms_win_crt_filesystem_l1_1_0
936 enable_api_ms_win_crt_heap_l1_1_0
937 enable_api_ms_win_crt_locale_l1_1_0
938 enable_api_ms_win_crt_math_l1_1_0
939 enable_api_ms_win_crt_multibyte_l1_1_0
940 enable_api_ms_win_crt_private_l1_1_0
941 enable_api_ms_win_crt_process_l1_1_0
942 enable_api_ms_win_crt_runtime_l1_1_0
943 enable_api_ms_win_crt_stdio_l1_1_0
944 enable_api_ms_win_crt_string_l1_1_0
945 enable_api_ms_win_crt_time_l1_1_0
946 enable_api_ms_win_crt_utility_l1_1_0
947 enable_api_ms_win_downlevel_advapi32_l1_1_0
948 enable_api_ms_win_downlevel_advapi32_l2_1_0
949 enable_api_ms_win_downlevel_normaliz_l1_1_0
950 enable_api_ms_win_downlevel_ole32_l1_1_0
951 enable_api_ms_win_downlevel_shell32_l1_1_0
952 enable_api_ms_win_downlevel_shlwapi_l1_1_0
953 enable_api_ms_win_downlevel_shlwapi_l2_1_0
954 enable_api_ms_win_downlevel_user32_l1_1_0
955 enable_api_ms_win_downlevel_version_l1_1_0
956 enable_api_ms_win_eventing_provider_l1_1_0
957 enable_api_ms_win_ntuser_dc_access_l1_1_0
958 enable_api_ms_win_security_base_l1_1_0
959 enable_api_ms_win_security_base_l1_2_0
960 enable_api_ms_win_security_lsalookup_l1_1_0
961 enable_api_ms_win_security_lsalookup_l1_1_1
962 enable_api_ms_win_security_sddl_l1_1_0
963 enable_api_ms_win_service_core_l1_1_1
964 enable_api_ms_win_service_management_l1_1_0
965 enable_api_ms_win_service_winsvc_l1_2_0
966 enable_apphelp
967 enable_appwiz_cpl
968 enable_atl
969 enable_atl100
970 enable_atl110
971 enable_atl80
972 enable_atl90
973 enable_authz
974 enable_avicap32
975 enable_avifil32
976 enable_avrt
977 enable_bcrypt
978 enable_bluetoothapis
979 enable_browseui
980 enable_bthprops_cpl
981 enable_cabinet
982 enable_capi2032
983 enable_cards
984 enable_cfgmgr32
985 enable_clusapi
986 enable_combase
987 enable_comcat
988 enable_comctl32
989 enable_comdlg32
990 enable_compstui
991 enable_comsvcs
992 enable_connect
993 enable_credui
994 enable_crtdll
995 enable_crypt32
996 enable_cryptdlg
997 enable_cryptdll
998 enable_cryptext
999 enable_cryptnet
1000 enable_cryptui
1001 enable_ctapi32
1002 enable_ctl3d32
1003 enable_d2d1
1004 enable_d3d10
1005 enable_d3d10_1
1006 enable_d3d10core
1007 enable_d3d11
1008 enable_d3d8
1009 enable_d3d9
1010 enable_d3dcompiler_33
1011 enable_d3dcompiler_34
1012 enable_d3dcompiler_35
1013 enable_d3dcompiler_36
1014 enable_d3dcompiler_37
1015 enable_d3dcompiler_38
1016 enable_d3dcompiler_39
1017 enable_d3dcompiler_40
1018 enable_d3dcompiler_41
1019 enable_d3dcompiler_42
1020 enable_d3dcompiler_43
1021 enable_d3dcompiler_46
1022 enable_d3dcompiler_47
1023 enable_d3dim
1024 enable_d3drm
1025 enable_d3dx10_33
1026 enable_d3dx10_34
1027 enable_d3dx10_35
1028 enable_d3dx10_36
1029 enable_d3dx10_37
1030 enable_d3dx10_38
1031 enable_d3dx10_39
1032 enable_d3dx10_40
1033 enable_d3dx10_41
1034 enable_d3dx10_42
1035 enable_d3dx10_43
1036 enable_d3dx11_42
1037 enable_d3dx11_43
1038 enable_d3dx9_24
1039 enable_d3dx9_25
1040 enable_d3dx9_26
1041 enable_d3dx9_27
1042 enable_d3dx9_28
1043 enable_d3dx9_29
1044 enable_d3dx9_30
1045 enable_d3dx9_31
1046 enable_d3dx9_32
1047 enable_d3dx9_33
1048 enable_d3dx9_34
1049 enable_d3dx9_35
1050 enable_d3dx9_36
1051 enable_d3dx9_37
1052 enable_d3dx9_38
1053 enable_d3dx9_39
1054 enable_d3dx9_40
1055 enable_d3dx9_41
1056 enable_d3dx9_42
1057 enable_d3dx9_43
1058 enable_d3dxof
1059 enable_davclnt
1060 enable_dbgeng
1061 enable_dbghelp
1062 enable_dciman32
1063 enable_ddraw
1064 enable_ddrawex
1065 enable_devenum
1066 enable_dhcpcsvc
1067 enable_difxapi
1068 enable_dinput
1069 enable_dinput8
1070 enable_dispex
1071 enable_dmband
1072 enable_dmcompos
1073 enable_dmime
1074 enable_dmloader
1075 enable_dmscript
1076 enable_dmstyle
1077 enable_dmsynth
1078 enable_dmusic
1079 enable_dmusic32
1080 enable_dnsapi
1081 enable_dplay
1082 enable_dplayx
1083 enable_dpnaddr
1084 enable_dpnet
1085 enable_dpnhpast
1086 enable_dpnlobby
1087 enable_dpvoice
1088 enable_dpwsockx
1089 enable_drmclien
1090 enable_dsound
1091 enable_dssenh
1092 enable_dswave
1093 enable_dwmapi
1094 enable_dwrite
1095 enable_dxdiagn
1096 enable_dxgi
1097 enable_dxva2
1098 enable_esent
1099 enable_evr
1100 enable_explorerframe
1101 enable_ext_ms_win_gdi_devcaps_l1_1_0
1102 enable_faultrep
1103 enable_fltlib
1104 enable_fltmgr_sys
1105 enable_fntcache
1106 enable_fontsub
1107 enable_fusion
1108 enable_fwpuclnt
1109 enable_gameux
1110 enable_gdi32
1111 enable_gdiplus
1112 enable_glu32
1113 enable_gphoto2_ds
1114 enable_gpkcsp
1115 enable_hal
1116 enable_hhctrl_ocx
1117 enable_hid
1118 enable_hidclass_sys
1119 enable_hlink
1120 enable_hnetcfg
1121 enable_httpapi
1122 enable_iccvid
1123 enable_icmp
1124 enable_ieframe
1125 enable_imaadp32_acm
1126 enable_imagehlp
1127 enable_imm32
1128 enable_inetcomm
1129 enable_inetcpl_cpl
1130 enable_inetmib1
1131 enable_infosoft
1132 enable_initpki
1133 enable_inkobj
1134 enable_inseng
1135 enable_iphlpapi
1136 enable_irprops_cpl
1137 enable_itircl
1138 enable_itss
1139 enable_joy_cpl
1140 enable_jscript
1141 enable_jsproxy
1142 enable_kernel32
1143 enable_ksuser
1144 enable_ktmw32
1145 enable_loadperf
1146 enable_localspl
1147 enable_localui
1148 enable_lz32
1149 enable_mapi32
1150 enable_mapistub
1151 enable_mciavi32
1152 enable_mcicda
1153 enable_mciqtz32
1154 enable_mciseq
1155 enable_mciwave
1156 enable_mf
1157 enable_mfplat
1158 enable_mfreadwrite
1159 enable_mgmtapi
1160 enable_midimap
1161 enable_mlang
1162 enable_mmcndmgr
1163 enable_mmdevapi
1164 enable_mountmgr_sys
1165 enable_mpr
1166 enable_mprapi
1167 enable_msacm32_drv
1168 enable_msacm32
1169 enable_msadp32_acm
1170 enable_msasn1
1171 enable_mscat32
1172 enable_mscms
1173 enable_mscoree
1174 enable_msctf
1175 enable_msctfp
1176 enable_msdaps
1177 enable_msdelta
1178 enable_msdmo
1179 enable_msdrm
1180 enable_msftedit
1181 enable_msg711_acm
1182 enable_msgsm32_acm
1183 enable_mshtml_tlb
1184 enable_mshtml
1185 enable_msi
1186 enable_msident
1187 enable_msimg32
1188 enable_msimsg
1189 enable_msimtf
1190 enable_msisip
1191 enable_msisys_ocx
1192 enable_msls31
1193 enable_msnet32
1194 enable_mspatcha
1195 enable_msrle32
1196 enable_msscript_ocx
1197 enable_mssign32
1198 enable_mssip32
1199 enable_mstask
1200 enable_msvcirt
1201 enable_msvcm80
1202 enable_msvcm90
1203 enable_msvcp100
1204 enable_msvcp110
1205 enable_msvcp120
1206 enable_msvcp120_app
1207 enable_msvcp60
1208 enable_msvcp70
1209 enable_msvcp71
1210 enable_msvcp80
1211 enable_msvcp90
1212 enable_msvcr100
1213 enable_msvcr110
1214 enable_msvcr120
1215 enable_msvcr120_app
1216 enable_msvcr70
1217 enable_msvcr71
1218 enable_msvcr80
1219 enable_msvcr90
1220 enable_msvcrt
1221 enable_msvcrt20
1222 enable_msvcrt40
1223 enable_msvcrtd
1224 enable_msvfw32
1225 enable_msvidc32
1226 enable_mswsock
1227 enable_msxml
1228 enable_msxml2
1229 enable_msxml3
1230 enable_msxml4
1231 enable_msxml6
1232 enable_nddeapi
1233 enable_ndis_sys
1234 enable_netapi32
1235 enable_netcfgx
1236 enable_netprofm
1237 enable_newdev
1238 enable_normaliz
1239 enable_npmshtml
1240 enable_npptools
1241 enable_ntdll
1242 enable_ntdsapi
1243 enable_ntoskrnl_exe
1244 enable_ntprint
1245 enable_objsel
1246 enable_odbc32
1247 enable_odbccp32
1248 enable_odbccu32
1249 enable_ole32
1250 enable_oleacc
1251 enable_oleaut32
1252 enable_olecli32
1253 enable_oledb32
1254 enable_oledlg
1255 enable_olepro32
1256 enable_olesvr32
1257 enable_olethk32
1258 enable_openal32
1259 enable_opencl
1260 enable_opengl32
1261 enable_packager
1262 enable_pdh
1263 enable_photometadatahandler
1264 enable_pidgen
1265 enable_powrprof
1266 enable_printui
1267 enable_prntvpt
1268 enable_propsys
1269 enable_psapi
1270 enable_pstorec
1271 enable_qcap
1272 enable_qedit
1273 enable_qmgr
1274 enable_qmgrprxy
1275 enable_quartz
1276 enable_query
1277 enable_rasapi32
1278 enable_rasdlg
1279 enable_regapi
1280 enable_resutils
1281 enable_riched20
1282 enable_riched32
1283 enable_rpcrt4
1284 enable_rsabase
1285 enable_rsaenh
1286 enable_rstrtmgr
1287 enable_rtutils
1288 enable_samlib
1289 enable_sane_ds
1290 enable_scarddlg
1291 enable_sccbase
1292 enable_schannel
1293 enable_schedsvc
1294 enable_scrrun
1295 enable_scsiport_sys
1296 enable_secur32
1297 enable_security
1298 enable_sensapi
1299 enable_serialui
1300 enable_setupapi
1301 enable_sfc
1302 enable_sfc_os
1303 enable_shdoclc
1304 enable_shdocvw
1305 enable_shell32
1306 enable_shfolder
1307 enable_shlwapi
1308 enable_slbcsp
1309 enable_slc
1310 enable_snmpapi
1311 enable_softpub
1312 enable_spoolss
1313 enable_stdole2_tlb
1314 enable_stdole32_tlb
1315 enable_sti
1316 enable_svrapi
1317 enable_sxs
1318 enable_t2embed
1319 enable_tapi32
1320 enable_taskschd
1321 enable_tdi_sys
1322 enable_traffic
1323 enable_twain_32
1324 enable_ucrtbase
1325 enable_unicows
1326 enable_updspapi
1327 enable_url
1328 enable_urlmon
1329 enable_usbd_sys
1330 enable_user32
1331 enable_userenv
1332 enable_usp10
1333 enable_uxtheme
1334 enable_vbscript
1335 enable_vcomp
1336 enable_vcomp100
1337 enable_vcomp110
1338 enable_vcomp120
1339 enable_vcomp90
1340 enable_vcruntime140
1341 enable_vdmdbg
1342 enable_version
1343 enable_vssapi
1344 enable_wbemdisp
1345 enable_wbemprox
1346 enable_webservices
1347 enable_wer
1348 enable_wevtapi
1349 enable_wiaservc
1350 enable_wimgapi
1351 enable_windowscodecs
1352 enable_windowscodecsext
1353 enable_winealsa_drv
1354 enable_winecoreaudio_drv
1355 enable_wined3d
1356 enable_winegstreamer
1357 enable_winejoystick_drv
1358 enable_winemac_drv
1359 enable_winemapi
1360 enable_winemp3_acm
1361 enable_wineoss_drv
1362 enable_wineps_drv
1363 enable_winepulse_drv
1364 enable_wineqtdecoder
1365 enable_winex11_drv
1366 enable_wing32
1367 enable_winhttp
1368 enable_wininet
1369 enable_winmm
1370 enable_winnls32
1371 enable_winscard
1372 enable_winspool_drv
1373 enable_winsta
1374 enable_wintab32
1375 enable_wintrust
1376 enable_wlanapi
1377 enable_wldap32
1378 enable_wmi
1379 enable_wmiutils
1380 enable_wmp
1381 enable_wmvcore
1382 enable_wnaspi32
1383 enable_wpcap
1384 enable_ws2_32
1385 enable_wshom_ocx
1386 enable_wsnmp32
1387 enable_wsock32
1388 enable_wtsapi32
1389 enable_wuapi
1390 enable_wuaueng
1391 enable_x3daudio1_0
1392 enable_x3daudio1_1
1393 enable_x3daudio1_2
1394 enable_x3daudio1_3
1395 enable_x3daudio1_4
1396 enable_x3daudio1_5
1397 enable_x3daudio1_6
1398 enable_x3daudio1_7
1399 enable_xapofx1_1
1400 enable_xapofx1_2
1401 enable_xapofx1_3
1402 enable_xapofx1_4
1403 enable_xapofx1_5
1404 enable_xaudio2_0
1405 enable_xaudio2_1
1406 enable_xaudio2_2
1407 enable_xaudio2_3
1408 enable_xaudio2_4
1409 enable_xaudio2_5
1410 enable_xaudio2_6
1411 enable_xaudio2_7
1412 enable_xaudio2_8
1413 enable_xaudio2_9
1414 enable_xinput1_1
1415 enable_xinput1_2
1416 enable_xinput1_3
1417 enable_xinput1_4
1418 enable_xinput9_1_0
1419 enable_xmllite
1420 enable_xolehlp
1421 enable_xpsprint
1422 enable_xpssvcs
1423 enable_fonts
1424 enable_include
1425 enable_libs_port
1426 enable_libs_wine
1427 enable_libs_wpp
1428 enable_loader
1429 enable_arp
1430 enable_aspnet_regiis
1431 enable_attrib
1432 enable_cabarc
1433 enable_cacls
1434 enable_clock
1435 enable_cmd
1436 enable_conhost
1437 enable_control
1438 enable_cscript
1439 enable_dpnsvr
1440 enable_dxdiag
1441 enable_eject
1442 enable_expand
1443 enable_explorer
1444 enable_extrac32
1445 enable_findstr
1446 enable_hh
1447 enable_hostname
1448 enable_icinfo
1449 enable_iexplore
1450 enable_ipconfig
1451 enable_lodctr
1452 enable_mofcomp
1453 enable_mshta
1454 enable_msiexec
1455 enable_net
1456 enable_netsh
1457 enable_netstat
1458 enable_ngen
1459 enable_notepad
1460 enable_oleview
1461 enable_ping
1462 enable_plugplay
1463 enable_presentationfontcache
1464 enable_progman
1465 enable_reg
1466 enable_regasm
1467 enable_regedit
1468 enable_regsvcs
1469 enable_regsvr32
1470 enable_rpcss
1471 enable_rundll32
1472 enable_sc
1473 enable_schtasks
1474 enable_sdbinst
1475 enable_secedit
1476 enable_servicemodelreg
1477 enable_services
1478 enable_spoolsv
1479 enable_start
1480 enable_svchost
1481 enable_systeminfo
1482 enable_taskkill
1483 enable_tasklist
1484 enable_taskmgr
1485 enable_termsv
1486 enable_uninstaller
1487 enable_unlodctr
1488 enable_view
1489 enable_wevtutil
1490 enable_wineboot
1491 enable_winebrowser
1492 enable_winecfg
1493 enable_wineconsole
1494 enable_winedbg
1495 enable_winedevice
1496 enable_winefile
1497 enable_winemenubuilder
1498 enable_winemine
1499 enable_winemsibuilder
1500 enable_winepath
1501 enable_winetest
1502 enable_winhlp32
1503 enable_winver
1504 enable_wmic
1505 enable_wmplayer
1506 enable_wordpad
1507 enable_write
1508 enable_wscript
1509 enable_wusa
1510 enable_xcopy
1511 enable_server
1512 enable_tools
1514 ac_precious_vars='build_alias
1515 host_alias
1516 target_alias
1518 CFLAGS
1519 LDFLAGS
1520 LIBS
1521 CPPFLAGS
1523 CXXFLAGS
1526 XMKMF
1527 XML2_CFLAGS
1528 XML2_LIBS
1529 XSLT_CFLAGS
1530 XSLT_LIBS
1531 DBUS_CFLAGS
1532 DBUS_LIBS
1533 HAL_CFLAGS
1534 HAL_LIBS
1535 GNUTLS_CFLAGS
1536 GNUTLS_LIBS
1537 SANE_CFLAGS
1538 SANE_LIBS
1539 GPHOTO2_CFLAGS
1540 GPHOTO2_LIBS
1541 GPHOTO2_PORT_CFLAGS
1542 GPHOTO2_PORT_LIBS
1543 LCMS2_CFLAGS
1544 LCMS2_LIBS
1545 FREETYPE_CFLAGS
1546 FREETYPE_LIBS
1547 PULSE_CFLAGS
1548 PULSE_LIBS
1549 GSTREAMER_CFLAGS
1550 GSTREAMER_LIBS
1551 CAPI20_CFLAGS
1552 CAPI20_LIBS
1553 FONTCONFIG_CFLAGS
1554 FONTCONFIG_LIBS
1555 JPEG_CFLAGS
1556 JPEG_LIBS
1557 PNG_CFLAGS
1558 PNG_LIBS
1559 TIFF_CFLAGS
1560 TIFF_LIBS
1561 MPG123_CFLAGS
1562 MPG123_LIBS'
1565 # Initialize some variables set by options.
1566 ac_init_help=
1567 ac_init_version=false
1568 ac_unrecognized_opts=
1569 ac_unrecognized_sep=
1570 # The variables have the same names as the options, with
1571 # dashes changed to underlines.
1572 cache_file=/dev/null
1573 exec_prefix=NONE
1574 no_create=
1575 no_recursion=
1576 prefix=NONE
1577 program_prefix=NONE
1578 program_suffix=NONE
1579 program_transform_name=s,x,x,
1580 silent=
1581 site=
1582 srcdir=
1583 verbose=
1584 x_includes=NONE
1585 x_libraries=NONE
1587 # Installation directory options.
1588 # These are left unexpanded so users can "make install exec_prefix=/foo"
1589 # and all the variables that are supposed to be based on exec_prefix
1590 # by default will actually change.
1591 # Use braces instead of parens because sh, perl, etc. also accept them.
1592 # (The list follows the same order as the GNU Coding Standards.)
1593 bindir='${exec_prefix}/bin'
1594 sbindir='${exec_prefix}/sbin'
1595 libexecdir='${exec_prefix}/libexec'
1596 datarootdir='${prefix}/share'
1597 datadir='${datarootdir}'
1598 sysconfdir='${prefix}/etc'
1599 sharedstatedir='${prefix}/com'
1600 localstatedir='${prefix}/var'
1601 runstatedir='${localstatedir}/run'
1602 includedir='${prefix}/include'
1603 oldincludedir='/usr/include'
1604 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1605 infodir='${datarootdir}/info'
1606 htmldir='${docdir}'
1607 dvidir='${docdir}'
1608 pdfdir='${docdir}'
1609 psdir='${docdir}'
1610 libdir='${exec_prefix}/lib'
1611 localedir='${datarootdir}/locale'
1612 mandir='${datarootdir}/man'
1614 ac_prev=
1615 ac_dashdash=
1616 for ac_option
1618 # If the previous option needs an argument, assign it.
1619 if test -n "$ac_prev"; then
1620 eval $ac_prev=\$ac_option
1621 ac_prev=
1622 continue
1625 case $ac_option in
1626 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1627 *=) ac_optarg= ;;
1628 *) ac_optarg=yes ;;
1629 esac
1631 # Accept the important Cygnus configure options, so we can diagnose typos.
1633 case $ac_dashdash$ac_option in
1635 ac_dashdash=yes ;;
1637 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1638 ac_prev=bindir ;;
1639 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1640 bindir=$ac_optarg ;;
1642 -build | --build | --buil | --bui | --bu)
1643 ac_prev=build_alias ;;
1644 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1645 build_alias=$ac_optarg ;;
1647 -cache-file | --cache-file | --cache-fil | --cache-fi \
1648 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1649 ac_prev=cache_file ;;
1650 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1651 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1652 cache_file=$ac_optarg ;;
1654 --config-cache | -C)
1655 cache_file=config.cache ;;
1657 -datadir | --datadir | --datadi | --datad)
1658 ac_prev=datadir ;;
1659 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1660 datadir=$ac_optarg ;;
1662 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1663 | --dataroo | --dataro | --datar)
1664 ac_prev=datarootdir ;;
1665 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1666 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1667 datarootdir=$ac_optarg ;;
1669 -disable-* | --disable-*)
1670 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1671 # Reject names that are not valid shell variable names.
1672 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1673 as_fn_error $? "invalid feature name: $ac_useropt"
1674 ac_useropt_orig=$ac_useropt
1675 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1676 case $ac_user_opts in
1678 "enable_$ac_useropt"
1679 "*) ;;
1680 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1681 ac_unrecognized_sep=', ';;
1682 esac
1683 eval enable_$ac_useropt=no ;;
1685 -docdir | --docdir | --docdi | --doc | --do)
1686 ac_prev=docdir ;;
1687 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1688 docdir=$ac_optarg ;;
1690 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1691 ac_prev=dvidir ;;
1692 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1693 dvidir=$ac_optarg ;;
1695 -enable-* | --enable-*)
1696 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1697 # Reject names that are not valid shell variable names.
1698 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1699 as_fn_error $? "invalid feature name: $ac_useropt"
1700 ac_useropt_orig=$ac_useropt
1701 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1702 case $ac_user_opts in
1704 "enable_$ac_useropt"
1705 "*) ;;
1706 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1707 ac_unrecognized_sep=', ';;
1708 esac
1709 eval enable_$ac_useropt=\$ac_optarg ;;
1711 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1712 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1713 | --exec | --exe | --ex)
1714 ac_prev=exec_prefix ;;
1715 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1716 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1717 | --exec=* | --exe=* | --ex=*)
1718 exec_prefix=$ac_optarg ;;
1720 -gas | --gas | --ga | --g)
1721 # Obsolete; use --with-gas.
1722 with_gas=yes ;;
1724 -help | --help | --hel | --he | -h)
1725 ac_init_help=long ;;
1726 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1727 ac_init_help=recursive ;;
1728 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1729 ac_init_help=short ;;
1731 -host | --host | --hos | --ho)
1732 ac_prev=host_alias ;;
1733 -host=* | --host=* | --hos=* | --ho=*)
1734 host_alias=$ac_optarg ;;
1736 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1737 ac_prev=htmldir ;;
1738 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1739 | --ht=*)
1740 htmldir=$ac_optarg ;;
1742 -includedir | --includedir | --includedi | --included | --include \
1743 | --includ | --inclu | --incl | --inc)
1744 ac_prev=includedir ;;
1745 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1746 | --includ=* | --inclu=* | --incl=* | --inc=*)
1747 includedir=$ac_optarg ;;
1749 -infodir | --infodir | --infodi | --infod | --info | --inf)
1750 ac_prev=infodir ;;
1751 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1752 infodir=$ac_optarg ;;
1754 -libdir | --libdir | --libdi | --libd)
1755 ac_prev=libdir ;;
1756 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1757 libdir=$ac_optarg ;;
1759 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1760 | --libexe | --libex | --libe)
1761 ac_prev=libexecdir ;;
1762 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1763 | --libexe=* | --libex=* | --libe=*)
1764 libexecdir=$ac_optarg ;;
1766 -localedir | --localedir | --localedi | --localed | --locale)
1767 ac_prev=localedir ;;
1768 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1769 localedir=$ac_optarg ;;
1771 -localstatedir | --localstatedir | --localstatedi | --localstated \
1772 | --localstate | --localstat | --localsta | --localst | --locals)
1773 ac_prev=localstatedir ;;
1774 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1775 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1776 localstatedir=$ac_optarg ;;
1778 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1779 ac_prev=mandir ;;
1780 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1781 mandir=$ac_optarg ;;
1783 -nfp | --nfp | --nf)
1784 # Obsolete; use --without-fp.
1785 with_fp=no ;;
1787 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1788 | --no-cr | --no-c | -n)
1789 no_create=yes ;;
1791 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1792 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1793 no_recursion=yes ;;
1795 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1796 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1797 | --oldin | --oldi | --old | --ol | --o)
1798 ac_prev=oldincludedir ;;
1799 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1800 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1801 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1802 oldincludedir=$ac_optarg ;;
1804 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1805 ac_prev=prefix ;;
1806 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1807 prefix=$ac_optarg ;;
1809 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1810 | --program-pre | --program-pr | --program-p)
1811 ac_prev=program_prefix ;;
1812 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1813 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1814 program_prefix=$ac_optarg ;;
1816 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1817 | --program-suf | --program-su | --program-s)
1818 ac_prev=program_suffix ;;
1819 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1820 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1821 program_suffix=$ac_optarg ;;
1823 -program-transform-name | --program-transform-name \
1824 | --program-transform-nam | --program-transform-na \
1825 | --program-transform-n | --program-transform- \
1826 | --program-transform | --program-transfor \
1827 | --program-transfo | --program-transf \
1828 | --program-trans | --program-tran \
1829 | --progr-tra | --program-tr | --program-t)
1830 ac_prev=program_transform_name ;;
1831 -program-transform-name=* | --program-transform-name=* \
1832 | --program-transform-nam=* | --program-transform-na=* \
1833 | --program-transform-n=* | --program-transform-=* \
1834 | --program-transform=* | --program-transfor=* \
1835 | --program-transfo=* | --program-transf=* \
1836 | --program-trans=* | --program-tran=* \
1837 | --progr-tra=* | --program-tr=* | --program-t=*)
1838 program_transform_name=$ac_optarg ;;
1840 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1841 ac_prev=pdfdir ;;
1842 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1843 pdfdir=$ac_optarg ;;
1845 -psdir | --psdir | --psdi | --psd | --ps)
1846 ac_prev=psdir ;;
1847 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1848 psdir=$ac_optarg ;;
1850 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1851 | -silent | --silent | --silen | --sile | --sil)
1852 silent=yes ;;
1854 -runstatedir | --runstatedir | --runstatedi | --runstated \
1855 | --runstate | --runstat | --runsta | --runst | --runs \
1856 | --run | --ru | --r)
1857 ac_prev=runstatedir ;;
1858 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1859 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1860 | --run=* | --ru=* | --r=*)
1861 runstatedir=$ac_optarg ;;
1863 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1864 ac_prev=sbindir ;;
1865 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1866 | --sbi=* | --sb=*)
1867 sbindir=$ac_optarg ;;
1869 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1870 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1871 | --sharedst | --shareds | --shared | --share | --shar \
1872 | --sha | --sh)
1873 ac_prev=sharedstatedir ;;
1874 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1875 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1876 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1877 | --sha=* | --sh=*)
1878 sharedstatedir=$ac_optarg ;;
1880 -site | --site | --sit)
1881 ac_prev=site ;;
1882 -site=* | --site=* | --sit=*)
1883 site=$ac_optarg ;;
1885 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1886 ac_prev=srcdir ;;
1887 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1888 srcdir=$ac_optarg ;;
1890 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1891 | --syscon | --sysco | --sysc | --sys | --sy)
1892 ac_prev=sysconfdir ;;
1893 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1894 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1895 sysconfdir=$ac_optarg ;;
1897 -target | --target | --targe | --targ | --tar | --ta | --t)
1898 ac_prev=target_alias ;;
1899 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1900 target_alias=$ac_optarg ;;
1902 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1903 verbose=yes ;;
1905 -version | --version | --versio | --versi | --vers | -V)
1906 ac_init_version=: ;;
1908 -with-* | --with-*)
1909 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1910 # Reject names that are not valid shell variable names.
1911 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1912 as_fn_error $? "invalid package name: $ac_useropt"
1913 ac_useropt_orig=$ac_useropt
1914 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1915 case $ac_user_opts in
1917 "with_$ac_useropt"
1918 "*) ;;
1919 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1920 ac_unrecognized_sep=', ';;
1921 esac
1922 eval with_$ac_useropt=\$ac_optarg ;;
1924 -without-* | --without-*)
1925 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1926 # Reject names that are not valid shell variable names.
1927 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1928 as_fn_error $? "invalid package name: $ac_useropt"
1929 ac_useropt_orig=$ac_useropt
1930 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1931 case $ac_user_opts in
1933 "with_$ac_useropt"
1934 "*) ;;
1935 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1936 ac_unrecognized_sep=', ';;
1937 esac
1938 eval with_$ac_useropt=no ;;
1940 --x)
1941 # Obsolete; use --with-x.
1942 with_x=yes ;;
1944 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1945 | --x-incl | --x-inc | --x-in | --x-i)
1946 ac_prev=x_includes ;;
1947 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1948 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1949 x_includes=$ac_optarg ;;
1951 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1952 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1953 ac_prev=x_libraries ;;
1954 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1955 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1956 x_libraries=$ac_optarg ;;
1958 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1959 Try \`$0 --help' for more information"
1962 *=*)
1963 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1964 # Reject names that are not valid shell variable names.
1965 case $ac_envvar in #(
1966 '' | [0-9]* | *[!_$as_cr_alnum]* )
1967 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1968 esac
1969 eval $ac_envvar=\$ac_optarg
1970 export $ac_envvar ;;
1973 # FIXME: should be removed in autoconf 3.0.
1974 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1975 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1976 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1977 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1980 esac
1981 done
1983 if test -n "$ac_prev"; then
1984 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1985 as_fn_error $? "missing argument to $ac_option"
1988 if test -n "$ac_unrecognized_opts"; then
1989 case $enable_option_checking in
1990 no) ;;
1991 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1992 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1993 esac
1996 # Check all directory arguments for consistency.
1997 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1998 datadir sysconfdir sharedstatedir localstatedir includedir \
1999 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2000 libdir localedir mandir runstatedir
2002 eval ac_val=\$$ac_var
2003 # Remove trailing slashes.
2004 case $ac_val in
2005 */ )
2006 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2007 eval $ac_var=\$ac_val;;
2008 esac
2009 # Be sure to have absolute directory names.
2010 case $ac_val in
2011 [\\/$]* | ?:[\\/]* ) continue;;
2012 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2013 esac
2014 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2015 done
2017 # There might be people who depend on the old broken behavior: `$host'
2018 # used to hold the argument of --host etc.
2019 # FIXME: To remove some day.
2020 build=$build_alias
2021 host=$host_alias
2022 target=$target_alias
2024 # FIXME: To remove some day.
2025 if test "x$host_alias" != x; then
2026 if test "x$build_alias" = x; then
2027 cross_compiling=maybe
2028 elif test "x$build_alias" != "x$host_alias"; then
2029 cross_compiling=yes
2033 ac_tool_prefix=
2034 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2036 test "$silent" = yes && exec 6>/dev/null
2039 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2040 ac_ls_di=`ls -di .` &&
2041 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2042 as_fn_error $? "working directory cannot be determined"
2043 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2044 as_fn_error $? "pwd does not report name of working directory"
2047 # Find the source files, if location was not specified.
2048 if test -z "$srcdir"; then
2049 ac_srcdir_defaulted=yes
2050 # Try the directory containing this script, then the parent directory.
2051 ac_confdir=`$as_dirname -- "$as_myself" ||
2052 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2053 X"$as_myself" : 'X\(//\)[^/]' \| \
2054 X"$as_myself" : 'X\(//\)$' \| \
2055 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2056 $as_echo X"$as_myself" |
2057 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2058 s//\1/
2061 /^X\(\/\/\)[^/].*/{
2062 s//\1/
2065 /^X\(\/\/\)$/{
2066 s//\1/
2069 /^X\(\/\).*/{
2070 s//\1/
2073 s/.*/./; q'`
2074 srcdir=$ac_confdir
2075 if test ! -r "$srcdir/$ac_unique_file"; then
2076 srcdir=..
2078 else
2079 ac_srcdir_defaulted=no
2081 if test ! -r "$srcdir/$ac_unique_file"; then
2082 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2083 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2085 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2086 ac_abs_confdir=`(
2087 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2088 pwd)`
2089 # When building in place, set srcdir=.
2090 if test "$ac_abs_confdir" = "$ac_pwd"; then
2091 srcdir=.
2093 # Remove unnecessary trailing slashes from srcdir.
2094 # Double slashes in file names in object file debugging info
2095 # mess up M-x gdb in Emacs.
2096 case $srcdir in
2097 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2098 esac
2099 for ac_var in $ac_precious_vars; do
2100 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2101 eval ac_env_${ac_var}_value=\$${ac_var}
2102 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2103 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2104 done
2107 # Report the --help message.
2109 if test "$ac_init_help" = "long"; then
2110 # Omit some internal or obsolete options to make the list less imposing.
2111 # This message is too long to be a string in the A/UX 3.1 sh.
2112 cat <<_ACEOF
2113 \`configure' configures Wine 1.9.2 to adapt to many kinds of systems.
2115 Usage: $0 [OPTION]... [VAR=VALUE]...
2117 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2118 VAR=VALUE. See below for descriptions of some of the useful variables.
2120 Defaults for the options are specified in brackets.
2122 Configuration:
2123 -h, --help display this help and exit
2124 --help=short display options specific to this package
2125 --help=recursive display the short help of all the included packages
2126 -V, --version display version information and exit
2127 -q, --quiet, --silent do not print \`checking ...' messages
2128 --cache-file=FILE cache test results in FILE [disabled]
2129 -C, --config-cache alias for \`--cache-file=config.cache'
2130 -n, --no-create do not create output files
2131 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2133 Installation directories:
2134 --prefix=PREFIX install architecture-independent files in PREFIX
2135 [$ac_default_prefix]
2136 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2137 [PREFIX]
2139 By default, \`make install' will install all the files in
2140 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2141 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2142 for instance \`--prefix=\$HOME'.
2144 For better control, use the options below.
2146 Fine tuning of the installation directories:
2147 --bindir=DIR user executables [EPREFIX/bin]
2148 --sbindir=DIR system admin executables [EPREFIX/sbin]
2149 --libexecdir=DIR program executables [EPREFIX/libexec]
2150 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2151 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2152 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2153 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2154 --libdir=DIR object code libraries [EPREFIX/lib]
2155 --includedir=DIR C header files [PREFIX/include]
2156 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2157 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2158 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2159 --infodir=DIR info documentation [DATAROOTDIR/info]
2160 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2161 --mandir=DIR man documentation [DATAROOTDIR/man]
2162 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2163 --htmldir=DIR html documentation [DOCDIR]
2164 --dvidir=DIR dvi documentation [DOCDIR]
2165 --pdfdir=DIR pdf documentation [DOCDIR]
2166 --psdir=DIR ps documentation [DOCDIR]
2167 _ACEOF
2169 cat <<\_ACEOF
2171 X features:
2172 --x-includes=DIR X include files are in DIR
2173 --x-libraries=DIR X library files are in DIR
2175 System types:
2176 --build=BUILD configure for building on BUILD [guessed]
2177 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2178 _ACEOF
2181 if test -n "$ac_init_help"; then
2182 case $ac_init_help in
2183 short | recursive ) echo "Configuration of Wine 1.9.2:";;
2184 esac
2185 cat <<\_ACEOF
2187 Optional Features:
2188 --disable-option-checking ignore unrecognized --enable/--with options
2189 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2190 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2191 --disable-win16 do not include Win16 support
2192 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2193 binaries)
2194 --disable-tests do not build the regression tests
2195 --enable-maintainer-mode
2196 enable maintainer-specific build rules
2197 --disable-largefile omit support for large files
2199 Optional Packages:
2200 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2201 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2202 --without-alsa do not use the Alsa sound support
2203 --without-capi do not use CAPI (ISDN support)
2204 --without-cms do not use CMS (color management support)
2205 --without-coreaudio do not use the CoreAudio sound support
2206 --without-cups do not use CUPS
2207 --without-curses do not use (n)curses
2208 --without-dbus do not use DBus (dynamic device support)
2209 --without-fontconfig do not use fontconfig
2210 --without-freetype do not use the FreeType library
2211 --without-gettext do not use gettext
2212 --with-gettextpo use the GetTextPO library to rebuild po files
2213 --without-gphoto do not use gphoto (Digital Camera support)
2214 --without-glu do not use the GLU library
2215 --without-gnutls do not use GnuTLS (schannel support)
2216 --without-gsm do not use libgsm (GSM 06.10 codec support)
2217 --without-gstreamer do not use GStreamer (codecs support)
2218 --without-hal do not use HAL (dynamic device support)
2219 --without-jpeg do not use JPEG
2220 --without-ldap do not use LDAP
2221 --without-mpg123 do not use the mpg123 library
2222 --without-netapi do not use the Samba NetAPI library
2223 --without-openal do not use OpenAL
2224 --without-opencl do not use OpenCL
2225 --without-opengl do not use OpenGL
2226 --without-osmesa do not use the OSMesa library
2227 --without-oss do not use the OSS sound support
2228 --without-pcap do not use the Packet Capture library
2229 --without-png do not use PNG
2230 --without-pthread do not use the pthread library
2231 --without-pulse do not use PulseAudio sound support
2232 --without-sane do not use SANE (scanner support)
2233 --without-tiff do not use TIFF
2234 --without-v4l do not use v4l1 (v4l support)
2235 --without-xcomposite do not use the Xcomposite extension
2236 --without-xcursor do not use the Xcursor extension
2237 --without-xinerama do not use Xinerama (multi-monitor support)
2238 --without-xinput do not use the Xinput extension
2239 --without-xinput2 do not use the Xinput 2 extension
2240 --without-xml do not use XML
2241 --without-xrandr do not use Xrandr (resolution changes)
2242 --without-xrender do not use the Xrender extension
2243 --without-xshape do not use the Xshape extension
2244 --without-xshm do not use XShm (shared memory extension)
2245 --without-xslt do not use XSLT
2246 --without-xxf86vm do not use XFree video mode extension
2247 --without-zlib do not use Zlib (data compression)
2248 --with-wine-tools=DIR use Wine tools from directory DIR
2249 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2250 --with-x use the X Window System
2252 Some influential environment variables:
2253 CC C compiler command
2254 CFLAGS C compiler flags
2255 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2256 nonstandard directory <lib dir>
2257 LIBS libraries to pass to the linker, e.g. -l<library>
2258 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2259 you have headers in a nonstandard directory <include dir>
2260 CXX C++ compiler command
2261 CXXFLAGS C++ compiler flags
2262 CPP C preprocessor
2263 XMKMF Path to xmkmf, Makefile generator for X Window System
2264 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2265 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2266 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2267 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2268 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2269 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2270 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2271 HAL_LIBS Linker flags for hal, overriding pkg-config
2272 GNUTLS_CFLAGS
2273 C compiler flags for gnutls, overriding pkg-config
2274 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2275 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2276 SANE_LIBS Linker flags for libsane, overriding pkg-config
2277 GPHOTO2_CFLAGS
2278 C compiler flags for libgphoto2, overriding pkg-config
2279 GPHOTO2_LIBS
2280 Linker flags for libgphoto2, overriding pkg-config
2281 GPHOTO2_PORT_CFLAGS
2282 C compiler flags for libgphoto2_port, overriding pkg-config
2283 GPHOTO2_PORT_LIBS
2284 Linker flags for libgphoto2_port, overriding pkg-config
2285 LCMS2_CFLAGS
2286 C compiler flags for lcms2, overriding pkg-config
2287 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2288 FREETYPE_CFLAGS
2289 C compiler flags for freetype2, overriding pkg-config
2290 FREETYPE_LIBS
2291 Linker flags for freetype2, overriding pkg-config
2292 PULSE_CFLAGS
2293 C compiler flags for libpulse, overriding pkg-config
2294 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2295 GSTREAMER_CFLAGS
2296 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2297 gstreamer-audio-1.0, overriding pkg-config
2298 GSTREAMER_LIBS
2299 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2300 gstreamer-audio-1.0, overriding pkg-config
2301 CAPI20_CFLAGS
2302 C compiler flags for capi20, overriding pkg-config
2303 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2304 FONTCONFIG_CFLAGS
2305 C compiler flags for fontconfig, overriding pkg-config
2306 FONTCONFIG_LIBS
2307 Linker flags for fontconfig, overriding pkg-config
2308 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2309 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2310 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2311 PNG_LIBS Linker flags for libpng, overriding pkg-config
2312 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2313 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2314 MPG123_CFLAGS
2315 C compiler flags for libmpg123, overriding pkg-config
2316 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2318 Use these variables to override the choices made by `configure' or to help
2319 it to find libraries and programs with nonstandard names/locations.
2321 Report bugs to <wine-devel@winehq.org>.
2322 Wine home page: <http://www.winehq.org>.
2323 _ACEOF
2324 ac_status=$?
2327 if test "$ac_init_help" = "recursive"; then
2328 # If there are subdirs, report their specific --help.
2329 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2330 test -d "$ac_dir" ||
2331 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2332 continue
2333 ac_builddir=.
2335 case "$ac_dir" in
2336 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2338 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2339 # A ".." for each directory in $ac_dir_suffix.
2340 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2341 case $ac_top_builddir_sub in
2342 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2343 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2344 esac ;;
2345 esac
2346 ac_abs_top_builddir=$ac_pwd
2347 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2348 # for backward compatibility:
2349 ac_top_builddir=$ac_top_build_prefix
2351 case $srcdir in
2352 .) # We are building in place.
2353 ac_srcdir=.
2354 ac_top_srcdir=$ac_top_builddir_sub
2355 ac_abs_top_srcdir=$ac_pwd ;;
2356 [\\/]* | ?:[\\/]* ) # Absolute name.
2357 ac_srcdir=$srcdir$ac_dir_suffix;
2358 ac_top_srcdir=$srcdir
2359 ac_abs_top_srcdir=$srcdir ;;
2360 *) # Relative name.
2361 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2362 ac_top_srcdir=$ac_top_build_prefix$srcdir
2363 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2364 esac
2365 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2367 cd "$ac_dir" || { ac_status=$?; continue; }
2368 # Check for guested configure.
2369 if test -f "$ac_srcdir/configure.gnu"; then
2370 echo &&
2371 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2372 elif test -f "$ac_srcdir/configure"; then
2373 echo &&
2374 $SHELL "$ac_srcdir/configure" --help=recursive
2375 else
2376 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2377 fi || ac_status=$?
2378 cd "$ac_pwd" || { ac_status=$?; break; }
2379 done
2382 test -n "$ac_init_help" && exit $ac_status
2383 if $ac_init_version; then
2384 cat <<\_ACEOF
2385 Wine configure 1.9.2
2386 generated by GNU Autoconf 2.69
2388 Copyright (C) 2012 Free Software Foundation, Inc.
2389 This configure script is free software; the Free Software Foundation
2390 gives unlimited permission to copy, distribute and modify it.
2391 _ACEOF
2392 exit
2395 ## ------------------------ ##
2396 ## Autoconf initialization. ##
2397 ## ------------------------ ##
2399 # ac_fn_c_try_compile LINENO
2400 # --------------------------
2401 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2402 ac_fn_c_try_compile ()
2404 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2405 rm -f conftest.$ac_objext
2406 if { { ac_try="$ac_compile"
2407 case "(($ac_try" in
2408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2409 *) ac_try_echo=$ac_try;;
2410 esac
2411 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2412 $as_echo "$ac_try_echo"; } >&5
2413 (eval "$ac_compile") 2>conftest.err
2414 ac_status=$?
2415 if test -s conftest.err; then
2416 grep -v '^ *+' conftest.err >conftest.er1
2417 cat conftest.er1 >&5
2418 mv -f conftest.er1 conftest.err
2420 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2421 test $ac_status = 0; } && {
2422 test -z "$ac_c_werror_flag" ||
2423 test ! -s conftest.err
2424 } && test -s conftest.$ac_objext; then :
2425 ac_retval=0
2426 else
2427 $as_echo "$as_me: failed program was:" >&5
2428 sed 's/^/| /' conftest.$ac_ext >&5
2430 ac_retval=1
2432 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2433 as_fn_set_status $ac_retval
2435 } # ac_fn_c_try_compile
2437 # ac_fn_cxx_try_compile LINENO
2438 # ----------------------------
2439 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2440 ac_fn_cxx_try_compile ()
2442 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2443 rm -f conftest.$ac_objext
2444 if { { ac_try="$ac_compile"
2445 case "(($ac_try" in
2446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2447 *) ac_try_echo=$ac_try;;
2448 esac
2449 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2450 $as_echo "$ac_try_echo"; } >&5
2451 (eval "$ac_compile") 2>conftest.err
2452 ac_status=$?
2453 if test -s conftest.err; then
2454 grep -v '^ *+' conftest.err >conftest.er1
2455 cat conftest.er1 >&5
2456 mv -f conftest.er1 conftest.err
2458 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2459 test $ac_status = 0; } && {
2460 test -z "$ac_cxx_werror_flag" ||
2461 test ! -s conftest.err
2462 } && test -s conftest.$ac_objext; then :
2463 ac_retval=0
2464 else
2465 $as_echo "$as_me: failed program was:" >&5
2466 sed 's/^/| /' conftest.$ac_ext >&5
2468 ac_retval=1
2470 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2471 as_fn_set_status $ac_retval
2473 } # ac_fn_cxx_try_compile
2475 # ac_fn_c_try_link LINENO
2476 # -----------------------
2477 # Try to link conftest.$ac_ext, and return whether this succeeded.
2478 ac_fn_c_try_link ()
2480 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2481 rm -f conftest.$ac_objext conftest$ac_exeext
2482 if { { ac_try="$ac_link"
2483 case "(($ac_try" in
2484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2485 *) ac_try_echo=$ac_try;;
2486 esac
2487 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2488 $as_echo "$ac_try_echo"; } >&5
2489 (eval "$ac_link") 2>conftest.err
2490 ac_status=$?
2491 if test -s conftest.err; then
2492 grep -v '^ *+' conftest.err >conftest.er1
2493 cat conftest.er1 >&5
2494 mv -f conftest.er1 conftest.err
2496 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2497 test $ac_status = 0; } && {
2498 test -z "$ac_c_werror_flag" ||
2499 test ! -s conftest.err
2500 } && test -s conftest$ac_exeext && {
2501 test "$cross_compiling" = yes ||
2502 test -x conftest$ac_exeext
2503 }; then :
2504 ac_retval=0
2505 else
2506 $as_echo "$as_me: failed program was:" >&5
2507 sed 's/^/| /' conftest.$ac_ext >&5
2509 ac_retval=1
2511 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2512 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2513 # interfere with the next link command; also delete a directory that is
2514 # left behind by Apple's compiler. We do this before executing the actions.
2515 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2516 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2517 as_fn_set_status $ac_retval
2519 } # ac_fn_c_try_link
2521 # ac_fn_c_try_cpp LINENO
2522 # ----------------------
2523 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2524 ac_fn_c_try_cpp ()
2526 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2527 if { { ac_try="$ac_cpp conftest.$ac_ext"
2528 case "(($ac_try" in
2529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2530 *) ac_try_echo=$ac_try;;
2531 esac
2532 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2533 $as_echo "$ac_try_echo"; } >&5
2534 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2535 ac_status=$?
2536 if test -s conftest.err; then
2537 grep -v '^ *+' conftest.err >conftest.er1
2538 cat conftest.er1 >&5
2539 mv -f conftest.er1 conftest.err
2541 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2542 test $ac_status = 0; } > conftest.i && {
2543 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2544 test ! -s conftest.err
2545 }; then :
2546 ac_retval=0
2547 else
2548 $as_echo "$as_me: failed program was:" >&5
2549 sed 's/^/| /' conftest.$ac_ext >&5
2551 ac_retval=1
2553 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2554 as_fn_set_status $ac_retval
2556 } # ac_fn_c_try_cpp
2558 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2559 # -------------------------------------------------------
2560 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2561 # the include files in INCLUDES and setting the cache variable VAR
2562 # accordingly.
2563 ac_fn_c_check_header_mongrel ()
2565 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2566 if eval \${$3+:} false; then :
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2568 $as_echo_n "checking for $2... " >&6; }
2569 if eval \${$3+:} false; then :
2570 $as_echo_n "(cached) " >&6
2572 eval ac_res=\$$3
2573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2574 $as_echo "$ac_res" >&6; }
2575 else
2576 # Is the header compilable?
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2578 $as_echo_n "checking $2 usability... " >&6; }
2579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2580 /* end confdefs.h. */
2582 #include <$2>
2583 _ACEOF
2584 if ac_fn_c_try_compile "$LINENO"; then :
2585 ac_header_compiler=yes
2586 else
2587 ac_header_compiler=no
2589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2591 $as_echo "$ac_header_compiler" >&6; }
2593 # Is the header present?
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2595 $as_echo_n "checking $2 presence... " >&6; }
2596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2597 /* end confdefs.h. */
2598 #include <$2>
2599 _ACEOF
2600 if ac_fn_c_try_cpp "$LINENO"; then :
2601 ac_header_preproc=yes
2602 else
2603 ac_header_preproc=no
2605 rm -f conftest.err conftest.i conftest.$ac_ext
2606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2607 $as_echo "$ac_header_preproc" >&6; }
2609 # So? What about this header?
2610 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2611 yes:no: )
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2613 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2615 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2617 no:yes:* )
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2619 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2621 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2622 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2623 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2624 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2625 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2627 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2628 ( $as_echo "## ------------------------------------ ##
2629 ## Report this to wine-devel@winehq.org ##
2630 ## ------------------------------------ ##"
2631 ) | sed "s/^/$as_me: WARNING: /" >&2
2633 esac
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2635 $as_echo_n "checking for $2... " >&6; }
2636 if eval \${$3+:} false; then :
2637 $as_echo_n "(cached) " >&6
2638 else
2639 eval "$3=\$ac_header_compiler"
2641 eval ac_res=\$$3
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2643 $as_echo "$ac_res" >&6; }
2645 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2647 } # ac_fn_c_check_header_mongrel
2649 # ac_fn_c_try_run LINENO
2650 # ----------------------
2651 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2652 # that executables *can* be run.
2653 ac_fn_c_try_run ()
2655 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2656 if { { ac_try="$ac_link"
2657 case "(($ac_try" in
2658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2659 *) ac_try_echo=$ac_try;;
2660 esac
2661 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2662 $as_echo "$ac_try_echo"; } >&5
2663 (eval "$ac_link") 2>&5
2664 ac_status=$?
2665 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2666 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2667 { { case "(($ac_try" in
2668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2669 *) ac_try_echo=$ac_try;;
2670 esac
2671 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2672 $as_echo "$ac_try_echo"; } >&5
2673 (eval "$ac_try") 2>&5
2674 ac_status=$?
2675 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2676 test $ac_status = 0; }; }; then :
2677 ac_retval=0
2678 else
2679 $as_echo "$as_me: program exited with status $ac_status" >&5
2680 $as_echo "$as_me: failed program was:" >&5
2681 sed 's/^/| /' conftest.$ac_ext >&5
2683 ac_retval=$ac_status
2685 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2686 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2687 as_fn_set_status $ac_retval
2689 } # ac_fn_c_try_run
2691 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2692 # -------------------------------------------------------
2693 # Tests whether HEADER exists and can be compiled using the include files in
2694 # INCLUDES, setting the cache variable VAR accordingly.
2695 ac_fn_c_check_header_compile ()
2697 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2699 $as_echo_n "checking for $2... " >&6; }
2700 if eval \${$3+:} false; then :
2701 $as_echo_n "(cached) " >&6
2702 else
2703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2704 /* end confdefs.h. */
2706 #include <$2>
2707 _ACEOF
2708 if ac_fn_c_try_compile "$LINENO"; then :
2709 eval "$3=yes"
2710 else
2711 eval "$3=no"
2713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2715 eval ac_res=\$$3
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2717 $as_echo "$ac_res" >&6; }
2718 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2720 } # ac_fn_c_check_header_compile
2722 # ac_fn_c_check_func LINENO FUNC VAR
2723 # ----------------------------------
2724 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2725 ac_fn_c_check_func ()
2727 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2729 $as_echo_n "checking for $2... " >&6; }
2730 if eval \${$3+:} false; then :
2731 $as_echo_n "(cached) " >&6
2732 else
2733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2734 /* end confdefs.h. */
2735 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2736 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2737 #define $2 innocuous_$2
2739 /* System header to define __stub macros and hopefully few prototypes,
2740 which can conflict with char $2 (); below.
2741 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2742 <limits.h> exists even on freestanding compilers. */
2744 #ifdef __STDC__
2745 # include <limits.h>
2746 #else
2747 # include <assert.h>
2748 #endif
2750 #undef $2
2752 /* Override any GCC internal prototype to avoid an error.
2753 Use char because int might match the return type of a GCC
2754 builtin and then its argument prototype would still apply. */
2755 #ifdef __cplusplus
2756 extern "C"
2757 #endif
2758 char $2 ();
2759 /* The GNU C library defines this for functions which it implements
2760 to always fail with ENOSYS. Some functions are actually named
2761 something starting with __ and the normal name is an alias. */
2762 #if defined __stub_$2 || defined __stub___$2
2763 choke me
2764 #endif
2767 main ()
2769 return $2 ();
2771 return 0;
2773 _ACEOF
2774 if ac_fn_c_try_link "$LINENO"; then :
2775 eval "$3=yes"
2776 else
2777 eval "$3=no"
2779 rm -f core conftest.err conftest.$ac_objext \
2780 conftest$ac_exeext conftest.$ac_ext
2782 eval ac_res=\$$3
2783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2784 $as_echo "$ac_res" >&6; }
2785 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2787 } # ac_fn_c_check_func
2789 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2790 # ----------------------------------------------------
2791 # Tries to find if the field MEMBER exists in type AGGR, after including
2792 # INCLUDES, setting cache variable VAR accordingly.
2793 ac_fn_c_check_member ()
2795 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2797 $as_echo_n "checking for $2.$3... " >&6; }
2798 if eval \${$4+:} false; then :
2799 $as_echo_n "(cached) " >&6
2800 else
2801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2802 /* end confdefs.h. */
2805 main ()
2807 static $2 ac_aggr;
2808 if (ac_aggr.$3)
2809 return 0;
2811 return 0;
2813 _ACEOF
2814 if ac_fn_c_try_compile "$LINENO"; then :
2815 eval "$4=yes"
2816 else
2817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2818 /* end confdefs.h. */
2821 main ()
2823 static $2 ac_aggr;
2824 if (sizeof ac_aggr.$3)
2825 return 0;
2827 return 0;
2829 _ACEOF
2830 if ac_fn_c_try_compile "$LINENO"; then :
2831 eval "$4=yes"
2832 else
2833 eval "$4=no"
2835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2839 eval ac_res=\$$4
2840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2841 $as_echo "$ac_res" >&6; }
2842 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2844 } # ac_fn_c_check_member
2846 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2847 # -------------------------------------------
2848 # Tests whether TYPE exists after having included INCLUDES, setting cache
2849 # variable VAR accordingly.
2850 ac_fn_c_check_type ()
2852 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2854 $as_echo_n "checking for $2... " >&6; }
2855 if eval \${$3+:} false; then :
2856 $as_echo_n "(cached) " >&6
2857 else
2858 eval "$3=no"
2859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2860 /* end confdefs.h. */
2863 main ()
2865 if (sizeof ($2))
2866 return 0;
2868 return 0;
2870 _ACEOF
2871 if ac_fn_c_try_compile "$LINENO"; then :
2872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2873 /* end confdefs.h. */
2876 main ()
2878 if (sizeof (($2)))
2879 return 0;
2881 return 0;
2883 _ACEOF
2884 if ac_fn_c_try_compile "$LINENO"; then :
2886 else
2887 eval "$3=yes"
2889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2893 eval ac_res=\$$3
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2895 $as_echo "$ac_res" >&6; }
2896 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2898 } # ac_fn_c_check_type
2899 cat >config.log <<_ACEOF
2900 This file contains any messages produced by compilers while
2901 running configure, to aid debugging if configure makes a mistake.
2903 It was created by Wine $as_me 1.9.2, which was
2904 generated by GNU Autoconf 2.69. Invocation command line was
2906 $ $0 $@
2908 _ACEOF
2909 exec 5>>config.log
2911 cat <<_ASUNAME
2912 ## --------- ##
2913 ## Platform. ##
2914 ## --------- ##
2916 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2917 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2918 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2919 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2920 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2922 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2923 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2925 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2926 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2927 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2928 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2929 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2930 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2931 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2933 _ASUNAME
2935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2936 for as_dir in $PATH
2938 IFS=$as_save_IFS
2939 test -z "$as_dir" && as_dir=.
2940 $as_echo "PATH: $as_dir"
2941 done
2942 IFS=$as_save_IFS
2944 } >&5
2946 cat >&5 <<_ACEOF
2949 ## ----------- ##
2950 ## Core tests. ##
2951 ## ----------- ##
2953 _ACEOF
2956 # Keep a trace of the command line.
2957 # Strip out --no-create and --no-recursion so they do not pile up.
2958 # Strip out --silent because we don't want to record it for future runs.
2959 # Also quote any args containing shell meta-characters.
2960 # Make two passes to allow for proper duplicate-argument suppression.
2961 ac_configure_args=
2962 ac_configure_args0=
2963 ac_configure_args1=
2964 ac_must_keep_next=false
2965 for ac_pass in 1 2
2967 for ac_arg
2969 case $ac_arg in
2970 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2971 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2972 | -silent | --silent | --silen | --sile | --sil)
2973 continue ;;
2974 *\'*)
2975 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2976 esac
2977 case $ac_pass in
2978 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2980 as_fn_append ac_configure_args1 " '$ac_arg'"
2981 if test $ac_must_keep_next = true; then
2982 ac_must_keep_next=false # Got value, back to normal.
2983 else
2984 case $ac_arg in
2985 *=* | --config-cache | -C | -disable-* | --disable-* \
2986 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2987 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2988 | -with-* | --with-* | -without-* | --without-* | --x)
2989 case "$ac_configure_args0 " in
2990 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2991 esac
2993 -* ) ac_must_keep_next=true ;;
2994 esac
2996 as_fn_append ac_configure_args " '$ac_arg'"
2998 esac
2999 done
3000 done
3001 { ac_configure_args0=; unset ac_configure_args0;}
3002 { ac_configure_args1=; unset ac_configure_args1;}
3004 # When interrupted or exit'd, cleanup temporary files, and complete
3005 # config.log. We remove comments because anyway the quotes in there
3006 # would cause problems or look ugly.
3007 # WARNING: Use '\'' to represent an apostrophe within the trap.
3008 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3009 trap 'exit_status=$?
3010 # Save into config.log some information that might help in debugging.
3012 echo
3014 $as_echo "## ---------------- ##
3015 ## Cache variables. ##
3016 ## ---------------- ##"
3017 echo
3018 # The following way of writing the cache mishandles newlines in values,
3020 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3021 eval ac_val=\$$ac_var
3022 case $ac_val in #(
3023 *${as_nl}*)
3024 case $ac_var in #(
3025 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3026 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3027 esac
3028 case $ac_var in #(
3029 _ | IFS | as_nl) ;; #(
3030 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3031 *) { eval $ac_var=; unset $ac_var;} ;;
3032 esac ;;
3033 esac
3034 done
3035 (set) 2>&1 |
3036 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3037 *${as_nl}ac_space=\ *)
3038 sed -n \
3039 "s/'\''/'\''\\\\'\'''\''/g;
3040 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3041 ;; #(
3043 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3045 esac |
3046 sort
3048 echo
3050 $as_echo "## ----------------- ##
3051 ## Output variables. ##
3052 ## ----------------- ##"
3053 echo
3054 for ac_var in $ac_subst_vars
3056 eval ac_val=\$$ac_var
3057 case $ac_val in
3058 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3059 esac
3060 $as_echo "$ac_var='\''$ac_val'\''"
3061 done | sort
3062 echo
3064 if test -n "$ac_subst_files"; then
3065 $as_echo "## ------------------- ##
3066 ## File substitutions. ##
3067 ## ------------------- ##"
3068 echo
3069 for ac_var in $ac_subst_files
3071 eval ac_val=\$$ac_var
3072 case $ac_val in
3073 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3074 esac
3075 $as_echo "$ac_var='\''$ac_val'\''"
3076 done | sort
3077 echo
3080 if test -s confdefs.h; then
3081 $as_echo "## ----------- ##
3082 ## confdefs.h. ##
3083 ## ----------- ##"
3084 echo
3085 cat confdefs.h
3086 echo
3088 test "$ac_signal" != 0 &&
3089 $as_echo "$as_me: caught signal $ac_signal"
3090 $as_echo "$as_me: exit $exit_status"
3091 } >&5
3092 rm -f core *.core core.conftest.* &&
3093 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3094 exit $exit_status
3096 for ac_signal in 1 2 13 15; do
3097 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3098 done
3099 ac_signal=0
3101 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3102 rm -f -r conftest* confdefs.h
3104 $as_echo "/* confdefs.h */" > confdefs.h
3106 # Predefined preprocessor variables.
3108 cat >>confdefs.h <<_ACEOF
3109 #define PACKAGE_NAME "$PACKAGE_NAME"
3110 _ACEOF
3112 cat >>confdefs.h <<_ACEOF
3113 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3114 _ACEOF
3116 cat >>confdefs.h <<_ACEOF
3117 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3118 _ACEOF
3120 cat >>confdefs.h <<_ACEOF
3121 #define PACKAGE_STRING "$PACKAGE_STRING"
3122 _ACEOF
3124 cat >>confdefs.h <<_ACEOF
3125 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3126 _ACEOF
3128 cat >>confdefs.h <<_ACEOF
3129 #define PACKAGE_URL "$PACKAGE_URL"
3130 _ACEOF
3133 # Let the site file select an alternate cache file if it wants to.
3134 # Prefer an explicitly selected file to automatically selected ones.
3135 ac_site_file1=NONE
3136 ac_site_file2=NONE
3137 if test -n "$CONFIG_SITE"; then
3138 # We do not want a PATH search for config.site.
3139 case $CONFIG_SITE in #((
3140 -*) ac_site_file1=./$CONFIG_SITE;;
3141 */*) ac_site_file1=$CONFIG_SITE;;
3142 *) ac_site_file1=./$CONFIG_SITE;;
3143 esac
3144 elif test "x$prefix" != xNONE; then
3145 ac_site_file1=$prefix/share/config.site
3146 ac_site_file2=$prefix/etc/config.site
3147 else
3148 ac_site_file1=$ac_default_prefix/share/config.site
3149 ac_site_file2=$ac_default_prefix/etc/config.site
3151 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3153 test "x$ac_site_file" = xNONE && continue
3154 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3156 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3157 sed 's/^/| /' "$ac_site_file" >&5
3158 . "$ac_site_file" \
3159 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3160 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3161 as_fn_error $? "failed to load site script $ac_site_file
3162 See \`config.log' for more details" "$LINENO" 5; }
3164 done
3166 if test -r "$cache_file"; then
3167 # Some versions of bash will fail to source /dev/null (special files
3168 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3169 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3171 $as_echo "$as_me: loading cache $cache_file" >&6;}
3172 case $cache_file in
3173 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3174 *) . "./$cache_file";;
3175 esac
3177 else
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3179 $as_echo "$as_me: creating cache $cache_file" >&6;}
3180 >$cache_file
3183 # Check that the precious variables saved in the cache have kept the same
3184 # value.
3185 ac_cache_corrupted=false
3186 for ac_var in $ac_precious_vars; do
3187 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3188 eval ac_new_set=\$ac_env_${ac_var}_set
3189 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3190 eval ac_new_val=\$ac_env_${ac_var}_value
3191 case $ac_old_set,$ac_new_set in
3192 set,)
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3194 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3195 ac_cache_corrupted=: ;;
3196 ,set)
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3198 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3199 ac_cache_corrupted=: ;;
3200 ,);;
3202 if test "x$ac_old_val" != "x$ac_new_val"; then
3203 # differences in whitespace do not lead to failure.
3204 ac_old_val_w=`echo x $ac_old_val`
3205 ac_new_val_w=`echo x $ac_new_val`
3206 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3208 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3209 ac_cache_corrupted=:
3210 else
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3212 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3213 eval $ac_var=\$ac_old_val
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3216 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3218 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3219 fi;;
3220 esac
3221 # Pass precious variables to config.status.
3222 if test "$ac_new_set" = set; then
3223 case $ac_new_val in
3224 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3225 *) ac_arg=$ac_var=$ac_new_val ;;
3226 esac
3227 case " $ac_configure_args " in
3228 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3229 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3230 esac
3232 done
3233 if $ac_cache_corrupted; then
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3235 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3237 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3238 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3240 ## -------------------- ##
3241 ## Main body of script. ##
3242 ## -------------------- ##
3244 ac_ext=c
3245 ac_cpp='$CPP $CPPFLAGS'
3246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3252 ac_config_headers="$ac_config_headers include/config.h"
3254 ac_aux_dir=
3255 for ac_dir in tools "$srcdir"/tools; do
3256 if test -f "$ac_dir/install-sh"; then
3257 ac_aux_dir=$ac_dir
3258 ac_install_sh="$ac_aux_dir/install-sh -c"
3259 break
3260 elif test -f "$ac_dir/install.sh"; then
3261 ac_aux_dir=$ac_dir
3262 ac_install_sh="$ac_aux_dir/install.sh -c"
3263 break
3264 elif test -f "$ac_dir/shtool"; then
3265 ac_aux_dir=$ac_dir
3266 ac_install_sh="$ac_aux_dir/shtool install -c"
3267 break
3269 done
3270 if test -z "$ac_aux_dir"; then
3271 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3274 # These three variables are undocumented and unsupported,
3275 # and are intended to be withdrawn in a future Autoconf release.
3276 # They can cause serious problems if a builder's source tree is in a directory
3277 # whose full name contains unusual characters.
3278 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3279 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3280 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3284 libwine_version="1.0"
3288 # Check whether --enable-win16 was given.
3289 if test "${enable_win16+set}" = set; then :
3290 enableval=$enable_win16;
3293 # Check whether --enable-win64 was given.
3294 if test "${enable_win64+set}" = set; then :
3295 enableval=$enable_win64;
3298 # Check whether --enable-tests was given.
3299 if test "${enable_tests+set}" = set; then :
3300 enableval=$enable_tests;
3303 # Check whether --enable-maintainer-mode was given.
3304 if test "${enable_maintainer_mode+set}" = set; then :
3305 enableval=$enable_maintainer_mode;
3310 # Check whether --with-alsa was given.
3311 if test "${with_alsa+set}" = set; then :
3312 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3316 # Check whether --with-capi was given.
3317 if test "${with_capi+set}" = set; then :
3318 withval=$with_capi;
3322 # Check whether --with-cms was given.
3323 if test "${with_cms+set}" = set; then :
3324 withval=$with_cms;
3328 # Check whether --with-coreaudio was given.
3329 if test "${with_coreaudio+set}" = set; then :
3330 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3334 # Check whether --with-cups was given.
3335 if test "${with_cups+set}" = set; then :
3336 withval=$with_cups;
3340 # Check whether --with-curses was given.
3341 if test "${with_curses+set}" = set; then :
3342 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3346 # Check whether --with-dbus was given.
3347 if test "${with_dbus+set}" = set; then :
3348 withval=$with_dbus;
3352 # Check whether --with-fontconfig was given.
3353 if test "${with_fontconfig+set}" = set; then :
3354 withval=$with_fontconfig;
3358 # Check whether --with-freetype was given.
3359 if test "${with_freetype+set}" = set; then :
3360 withval=$with_freetype;
3364 # Check whether --with-gettext was given.
3365 if test "${with_gettext+set}" = set; then :
3366 withval=$with_gettext;
3370 # Check whether --with-gettextpo was given.
3371 if test "${with_gettextpo+set}" = set; then :
3372 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3376 # Check whether --with-gphoto was given.
3377 if test "${with_gphoto+set}" = set; then :
3378 withval=$with_gphoto;
3382 # Check whether --with-glu was given.
3383 if test "${with_glu+set}" = set; then :
3384 withval=$with_glu;
3388 # Check whether --with-gnutls was given.
3389 if test "${with_gnutls+set}" = set; then :
3390 withval=$with_gnutls;
3394 # Check whether --with-gsm was given.
3395 if test "${with_gsm+set}" = set; then :
3396 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3400 # Check whether --with-gstreamer was given.
3401 if test "${with_gstreamer+set}" = set; then :
3402 withval=$with_gstreamer;
3406 # Check whether --with-hal was given.
3407 if test "${with_hal+set}" = set; then :
3408 withval=$with_hal;
3412 # Check whether --with-jpeg was given.
3413 if test "${with_jpeg+set}" = set; then :
3414 withval=$with_jpeg;
3418 # Check whether --with-ldap was given.
3419 if test "${with_ldap+set}" = set; then :
3420 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3424 # Check whether --with-mpg123 was given.
3425 if test "${with_mpg123+set}" = set; then :
3426 withval=$with_mpg123;
3430 # Check whether --with-netapi was given.
3431 if test "${with_netapi+set}" = set; then :
3432 withval=$with_netapi;
3436 # Check whether --with-openal was given.
3437 if test "${with_openal+set}" = set; then :
3438 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3442 # Check whether --with-opencl was given.
3443 if test "${with_opencl+set}" = set; then :
3444 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3448 # Check whether --with-opengl was given.
3449 if test "${with_opengl+set}" = set; then :
3450 withval=$with_opengl;
3454 # Check whether --with-osmesa was given.
3455 if test "${with_osmesa+set}" = set; then :
3456 withval=$with_osmesa;
3460 # Check whether --with-oss was given.
3461 if test "${with_oss+set}" = set; then :
3462 withval=$with_oss;
3466 # Check whether --with-pcap was given.
3467 if test "${with_pcap+set}" = set; then :
3468 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3472 # Check whether --with-png was given.
3473 if test "${with_png+set}" = set; then :
3474 withval=$with_png;
3478 # Check whether --with-pthread was given.
3479 if test "${with_pthread+set}" = set; then :
3480 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3484 # Check whether --with-pulse was given.
3485 if test "${with_pulse+set}" = set; then :
3486 withval=$with_pulse;
3490 # Check whether --with-sane was given.
3491 if test "${with_sane+set}" = set; then :
3492 withval=$with_sane;
3496 # Check whether --with-tiff was given.
3497 if test "${with_tiff+set}" = set; then :
3498 withval=$with_tiff;
3502 # Check whether --with-v4l was given.
3503 if test "${with_v4l+set}" = set; then :
3504 withval=$with_v4l;
3508 # Check whether --with-xcomposite was given.
3509 if test "${with_xcomposite+set}" = set; then :
3510 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3514 # Check whether --with-xcursor was given.
3515 if test "${with_xcursor+set}" = set; then :
3516 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3520 # Check whether --with-xinerama was given.
3521 if test "${with_xinerama+set}" = set; then :
3522 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3526 # Check whether --with-xinput was given.
3527 if test "${with_xinput+set}" = set; then :
3528 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3532 # Check whether --with-xinput2 was given.
3533 if test "${with_xinput2+set}" = set; then :
3534 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3538 # Check whether --with-xml was given.
3539 if test "${with_xml+set}" = set; then :
3540 withval=$with_xml;
3544 # Check whether --with-xrandr was given.
3545 if test "${with_xrandr+set}" = set; then :
3546 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3550 # Check whether --with-xrender was given.
3551 if test "${with_xrender+set}" = set; then :
3552 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3556 # Check whether --with-xshape was given.
3557 if test "${with_xshape+set}" = set; then :
3558 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3562 # Check whether --with-xshm was given.
3563 if test "${with_xshm+set}" = set; then :
3564 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3568 # Check whether --with-xslt was given.
3569 if test "${with_xslt+set}" = set; then :
3570 withval=$with_xslt;
3574 # Check whether --with-xxf86vm was given.
3575 if test "${with_xxf86vm+set}" = set; then :
3576 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
3580 # Check whether --with-zlib was given.
3581 if test "${with_zlib+set}" = set; then :
3582 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3587 # Check whether --with-wine-tools was given.
3588 if test "${with_wine_tools+set}" = set; then :
3589 withval=$with_wine_tools;
3593 # Check whether --with-wine64 was given.
3594 if test "${with_wine64+set}" = set; then :
3595 withval=$with_wine64;
3599 # Make sure we can run config.sub.
3600 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3601 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3604 $as_echo_n "checking build system type... " >&6; }
3605 if ${ac_cv_build+:} false; then :
3606 $as_echo_n "(cached) " >&6
3607 else
3608 ac_build_alias=$build_alias
3609 test "x$ac_build_alias" = x &&
3610 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3611 test "x$ac_build_alias" = x &&
3612 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3613 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3614 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3618 $as_echo "$ac_cv_build" >&6; }
3619 case $ac_cv_build in
3620 *-*-*) ;;
3621 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3622 esac
3623 build=$ac_cv_build
3624 ac_save_IFS=$IFS; IFS='-'
3625 set x $ac_cv_build
3626 shift
3627 build_cpu=$1
3628 build_vendor=$2
3629 shift; shift
3630 # Remember, the first character of IFS is used to create $*,
3631 # except with old shells:
3632 build_os=$*
3633 IFS=$ac_save_IFS
3634 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3638 $as_echo_n "checking host system type... " >&6; }
3639 if ${ac_cv_host+:} false; then :
3640 $as_echo_n "(cached) " >&6
3641 else
3642 if test "x$host_alias" = x; then
3643 ac_cv_host=$ac_cv_build
3644 else
3645 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3646 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3651 $as_echo "$ac_cv_host" >&6; }
3652 case $ac_cv_host in
3653 *-*-*) ;;
3654 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3655 esac
3656 host=$ac_cv_host
3657 ac_save_IFS=$IFS; IFS='-'
3658 set x $ac_cv_host
3659 shift
3660 host_cpu=$1
3661 host_vendor=$2
3662 shift; shift
3663 # Remember, the first character of IFS is used to create $*,
3664 # except with old shells:
3665 host_os=$*
3666 IFS=$ac_save_IFS
3667 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3671 case "$srcdir" in
3672 .) ;;
3673 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3674 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3675 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3676 fi ;;
3677 esac
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3681 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3682 set x ${MAKE-make}
3683 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3684 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3685 $as_echo_n "(cached) " >&6
3686 else
3687 cat >conftest.make <<\_ACEOF
3688 SHELL = /bin/sh
3689 all:
3690 @echo '@@@%%%=$(MAKE)=@@@%%%'
3691 _ACEOF
3692 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3693 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3694 *@@@%%%=?*=@@@%%%*)
3695 eval ac_cv_prog_make_${ac_make}_set=yes;;
3697 eval ac_cv_prog_make_${ac_make}_set=no;;
3698 esac
3699 rm -f conftest.make
3701 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3703 $as_echo "yes" >&6; }
3704 SET_MAKE=
3705 else
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3707 $as_echo "no" >&6; }
3708 SET_MAKE="MAKE=${MAKE-make}"
3711 ac_ext=c
3712 ac_cpp='$CPP $CPPFLAGS'
3713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3716 if test -n "$ac_tool_prefix"; then
3717 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3718 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3720 $as_echo_n "checking for $ac_word... " >&6; }
3721 if ${ac_cv_prog_CC+:} false; then :
3722 $as_echo_n "(cached) " >&6
3723 else
3724 if test -n "$CC"; then
3725 ac_cv_prog_CC="$CC" # Let the user override the test.
3726 else
3727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3728 for as_dir in $PATH
3730 IFS=$as_save_IFS
3731 test -z "$as_dir" && as_dir=.
3732 for ac_exec_ext in '' $ac_executable_extensions; do
3733 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3734 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3736 break 2
3738 done
3739 done
3740 IFS=$as_save_IFS
3744 CC=$ac_cv_prog_CC
3745 if test -n "$CC"; then
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3747 $as_echo "$CC" >&6; }
3748 else
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3750 $as_echo "no" >&6; }
3755 if test -z "$ac_cv_prog_CC"; then
3756 ac_ct_CC=$CC
3757 # Extract the first word of "gcc", so it can be a program name with args.
3758 set dummy gcc; ac_word=$2
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3760 $as_echo_n "checking for $ac_word... " >&6; }
3761 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3762 $as_echo_n "(cached) " >&6
3763 else
3764 if test -n "$ac_ct_CC"; then
3765 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3766 else
3767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3768 for as_dir in $PATH
3770 IFS=$as_save_IFS
3771 test -z "$as_dir" && as_dir=.
3772 for ac_exec_ext in '' $ac_executable_extensions; do
3773 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3774 ac_cv_prog_ac_ct_CC="gcc"
3775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3776 break 2
3778 done
3779 done
3780 IFS=$as_save_IFS
3784 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3785 if test -n "$ac_ct_CC"; then
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3787 $as_echo "$ac_ct_CC" >&6; }
3788 else
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3790 $as_echo "no" >&6; }
3793 if test "x$ac_ct_CC" = x; then
3794 CC=""
3795 else
3796 case $cross_compiling:$ac_tool_warned in
3797 yes:)
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3799 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3800 ac_tool_warned=yes ;;
3801 esac
3802 CC=$ac_ct_CC
3804 else
3805 CC="$ac_cv_prog_CC"
3808 if test -z "$CC"; then
3809 if test -n "$ac_tool_prefix"; then
3810 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3811 set dummy ${ac_tool_prefix}cc; ac_word=$2
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3813 $as_echo_n "checking for $ac_word... " >&6; }
3814 if ${ac_cv_prog_CC+:} false; then :
3815 $as_echo_n "(cached) " >&6
3816 else
3817 if test -n "$CC"; then
3818 ac_cv_prog_CC="$CC" # Let the user override the test.
3819 else
3820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3821 for as_dir in $PATH
3823 IFS=$as_save_IFS
3824 test -z "$as_dir" && as_dir=.
3825 for ac_exec_ext in '' $ac_executable_extensions; do
3826 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3827 ac_cv_prog_CC="${ac_tool_prefix}cc"
3828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3829 break 2
3831 done
3832 done
3833 IFS=$as_save_IFS
3837 CC=$ac_cv_prog_CC
3838 if test -n "$CC"; then
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3840 $as_echo "$CC" >&6; }
3841 else
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3843 $as_echo "no" >&6; }
3849 if test -z "$CC"; then
3850 # Extract the first word of "cc", so it can be a program name with args.
3851 set dummy cc; ac_word=$2
3852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3853 $as_echo_n "checking for $ac_word... " >&6; }
3854 if ${ac_cv_prog_CC+:} false; then :
3855 $as_echo_n "(cached) " >&6
3856 else
3857 if test -n "$CC"; then
3858 ac_cv_prog_CC="$CC" # Let the user override the test.
3859 else
3860 ac_prog_rejected=no
3861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3862 for as_dir in $PATH
3864 IFS=$as_save_IFS
3865 test -z "$as_dir" && as_dir=.
3866 for ac_exec_ext in '' $ac_executable_extensions; do
3867 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3868 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3869 ac_prog_rejected=yes
3870 continue
3872 ac_cv_prog_CC="cc"
3873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3874 break 2
3876 done
3877 done
3878 IFS=$as_save_IFS
3880 if test $ac_prog_rejected = yes; then
3881 # We found a bogon in the path, so make sure we never use it.
3882 set dummy $ac_cv_prog_CC
3883 shift
3884 if test $# != 0; then
3885 # We chose a different compiler from the bogus one.
3886 # However, it has the same basename, so the bogon will be chosen
3887 # first if we set CC to just the basename; use the full file name.
3888 shift
3889 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3894 CC=$ac_cv_prog_CC
3895 if test -n "$CC"; then
3896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3897 $as_echo "$CC" >&6; }
3898 else
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3900 $as_echo "no" >&6; }
3905 if test -z "$CC"; then
3906 if test -n "$ac_tool_prefix"; then
3907 for ac_prog in cl.exe
3909 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3910 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3912 $as_echo_n "checking for $ac_word... " >&6; }
3913 if ${ac_cv_prog_CC+:} false; then :
3914 $as_echo_n "(cached) " >&6
3915 else
3916 if test -n "$CC"; then
3917 ac_cv_prog_CC="$CC" # Let the user override the test.
3918 else
3919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3920 for as_dir in $PATH
3922 IFS=$as_save_IFS
3923 test -z "$as_dir" && as_dir=.
3924 for ac_exec_ext in '' $ac_executable_extensions; do
3925 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3926 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3928 break 2
3930 done
3931 done
3932 IFS=$as_save_IFS
3936 CC=$ac_cv_prog_CC
3937 if test -n "$CC"; then
3938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3939 $as_echo "$CC" >&6; }
3940 else
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3942 $as_echo "no" >&6; }
3946 test -n "$CC" && break
3947 done
3949 if test -z "$CC"; then
3950 ac_ct_CC=$CC
3951 for ac_prog in cl.exe
3953 # Extract the first word of "$ac_prog", so it can be a program name with args.
3954 set dummy $ac_prog; ac_word=$2
3955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3956 $as_echo_n "checking for $ac_word... " >&6; }
3957 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3958 $as_echo_n "(cached) " >&6
3959 else
3960 if test -n "$ac_ct_CC"; then
3961 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3962 else
3963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3964 for as_dir in $PATH
3966 IFS=$as_save_IFS
3967 test -z "$as_dir" && as_dir=.
3968 for ac_exec_ext in '' $ac_executable_extensions; do
3969 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3970 ac_cv_prog_ac_ct_CC="$ac_prog"
3971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3972 break 2
3974 done
3975 done
3976 IFS=$as_save_IFS
3980 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3981 if test -n "$ac_ct_CC"; then
3982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3983 $as_echo "$ac_ct_CC" >&6; }
3984 else
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3986 $as_echo "no" >&6; }
3990 test -n "$ac_ct_CC" && break
3991 done
3993 if test "x$ac_ct_CC" = x; then
3994 CC=""
3995 else
3996 case $cross_compiling:$ac_tool_warned in
3997 yes:)
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3999 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4000 ac_tool_warned=yes ;;
4001 esac
4002 CC=$ac_ct_CC
4009 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4010 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4011 as_fn_error $? "no acceptable C compiler found in \$PATH
4012 See \`config.log' for more details" "$LINENO" 5; }
4014 # Provide some information about the compiler.
4015 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4016 set X $ac_compile
4017 ac_compiler=$2
4018 for ac_option in --version -v -V -qversion; do
4019 { { ac_try="$ac_compiler $ac_option >&5"
4020 case "(($ac_try" in
4021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4022 *) ac_try_echo=$ac_try;;
4023 esac
4024 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4025 $as_echo "$ac_try_echo"; } >&5
4026 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4027 ac_status=$?
4028 if test -s conftest.err; then
4029 sed '10a\
4030 ... rest of stderr output deleted ...
4031 10q' conftest.err >conftest.er1
4032 cat conftest.er1 >&5
4034 rm -f conftest.er1 conftest.err
4035 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4036 test $ac_status = 0; }
4037 done
4039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4040 /* end confdefs.h. */
4043 main ()
4047 return 0;
4049 _ACEOF
4050 ac_clean_files_save=$ac_clean_files
4051 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4052 # Try to create an executable without -o first, disregard a.out.
4053 # It will help us diagnose broken compilers, and finding out an intuition
4054 # of exeext.
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4056 $as_echo_n "checking whether the C compiler works... " >&6; }
4057 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4059 # The possible output files:
4060 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4062 ac_rmfiles=
4063 for ac_file in $ac_files
4065 case $ac_file in
4066 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4067 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4068 esac
4069 done
4070 rm -f $ac_rmfiles
4072 if { { ac_try="$ac_link_default"
4073 case "(($ac_try" in
4074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4075 *) ac_try_echo=$ac_try;;
4076 esac
4077 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4078 $as_echo "$ac_try_echo"; } >&5
4079 (eval "$ac_link_default") 2>&5
4080 ac_status=$?
4081 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4082 test $ac_status = 0; }; then :
4083 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4084 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4085 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4086 # so that the user can short-circuit this test for compilers unknown to
4087 # Autoconf.
4088 for ac_file in $ac_files ''
4090 test -f "$ac_file" || continue
4091 case $ac_file in
4092 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4094 [ab].out )
4095 # We found the default executable, but exeext='' is most
4096 # certainly right.
4097 break;;
4098 *.* )
4099 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4100 then :; else
4101 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4103 # We set ac_cv_exeext here because the later test for it is not
4104 # safe: cross compilers may not add the suffix if given an `-o'
4105 # argument, so we may need to know it at that point already.
4106 # Even if this section looks crufty: it has the advantage of
4107 # actually working.
4108 break;;
4110 break;;
4111 esac
4112 done
4113 test "$ac_cv_exeext" = no && ac_cv_exeext=
4115 else
4116 ac_file=''
4118 if test -z "$ac_file"; then :
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4120 $as_echo "no" >&6; }
4121 $as_echo "$as_me: failed program was:" >&5
4122 sed 's/^/| /' conftest.$ac_ext >&5
4124 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4125 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4126 as_fn_error 77 "C compiler cannot create executables
4127 See \`config.log' for more details" "$LINENO" 5; }
4128 else
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4130 $as_echo "yes" >&6; }
4132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4133 $as_echo_n "checking for C compiler default output file name... " >&6; }
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4135 $as_echo "$ac_file" >&6; }
4136 ac_exeext=$ac_cv_exeext
4138 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4139 ac_clean_files=$ac_clean_files_save
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4141 $as_echo_n "checking for suffix of executables... " >&6; }
4142 if { { ac_try="$ac_link"
4143 case "(($ac_try" in
4144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4145 *) ac_try_echo=$ac_try;;
4146 esac
4147 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4148 $as_echo "$ac_try_echo"; } >&5
4149 (eval "$ac_link") 2>&5
4150 ac_status=$?
4151 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4152 test $ac_status = 0; }; then :
4153 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4154 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4155 # work properly (i.e., refer to `conftest.exe'), while it won't with
4156 # `rm'.
4157 for ac_file in conftest.exe conftest conftest.*; do
4158 test -f "$ac_file" || continue
4159 case $ac_file in
4160 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4161 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4162 break;;
4163 * ) break;;
4164 esac
4165 done
4166 else
4167 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4168 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4169 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4170 See \`config.log' for more details" "$LINENO" 5; }
4172 rm -f conftest conftest$ac_cv_exeext
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4174 $as_echo "$ac_cv_exeext" >&6; }
4176 rm -f conftest.$ac_ext
4177 EXEEXT=$ac_cv_exeext
4178 ac_exeext=$EXEEXT
4179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4180 /* end confdefs.h. */
4181 #include <stdio.h>
4183 main ()
4185 FILE *f = fopen ("conftest.out", "w");
4186 return ferror (f) || fclose (f) != 0;
4189 return 0;
4191 _ACEOF
4192 ac_clean_files="$ac_clean_files conftest.out"
4193 # Check that the compiler produces executables we can run. If not, either
4194 # the compiler is broken, or we cross compile.
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4196 $as_echo_n "checking whether we are cross compiling... " >&6; }
4197 if test "$cross_compiling" != yes; then
4198 { { ac_try="$ac_link"
4199 case "(($ac_try" in
4200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4201 *) ac_try_echo=$ac_try;;
4202 esac
4203 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4204 $as_echo "$ac_try_echo"; } >&5
4205 (eval "$ac_link") 2>&5
4206 ac_status=$?
4207 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4208 test $ac_status = 0; }
4209 if { ac_try='./conftest$ac_cv_exeext'
4210 { { case "(($ac_try" in
4211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4212 *) ac_try_echo=$ac_try;;
4213 esac
4214 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4215 $as_echo "$ac_try_echo"; } >&5
4216 (eval "$ac_try") 2>&5
4217 ac_status=$?
4218 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4219 test $ac_status = 0; }; }; then
4220 cross_compiling=no
4221 else
4222 if test "$cross_compiling" = maybe; then
4223 cross_compiling=yes
4224 else
4225 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4226 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4227 as_fn_error $? "cannot run C compiled programs.
4228 If you meant to cross compile, use \`--host'.
4229 See \`config.log' for more details" "$LINENO" 5; }
4233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4234 $as_echo "$cross_compiling" >&6; }
4236 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4237 ac_clean_files=$ac_clean_files_save
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4239 $as_echo_n "checking for suffix of object files... " >&6; }
4240 if ${ac_cv_objext+:} false; then :
4241 $as_echo_n "(cached) " >&6
4242 else
4243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4244 /* end confdefs.h. */
4247 main ()
4251 return 0;
4253 _ACEOF
4254 rm -f conftest.o conftest.obj
4255 if { { ac_try="$ac_compile"
4256 case "(($ac_try" in
4257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4258 *) ac_try_echo=$ac_try;;
4259 esac
4260 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4261 $as_echo "$ac_try_echo"; } >&5
4262 (eval "$ac_compile") 2>&5
4263 ac_status=$?
4264 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4265 test $ac_status = 0; }; then :
4266 for ac_file in conftest.o conftest.obj conftest.*; do
4267 test -f "$ac_file" || continue;
4268 case $ac_file in
4269 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4270 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4271 break;;
4272 esac
4273 done
4274 else
4275 $as_echo "$as_me: failed program was:" >&5
4276 sed 's/^/| /' conftest.$ac_ext >&5
4278 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4279 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4280 as_fn_error $? "cannot compute suffix of object files: cannot compile
4281 See \`config.log' for more details" "$LINENO" 5; }
4283 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4286 $as_echo "$ac_cv_objext" >&6; }
4287 OBJEXT=$ac_cv_objext
4288 ac_objext=$OBJEXT
4289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4290 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4291 if ${ac_cv_c_compiler_gnu+:} false; then :
4292 $as_echo_n "(cached) " >&6
4293 else
4294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4295 /* end confdefs.h. */
4298 main ()
4300 #ifndef __GNUC__
4301 choke me
4302 #endif
4305 return 0;
4307 _ACEOF
4308 if ac_fn_c_try_compile "$LINENO"; then :
4309 ac_compiler_gnu=yes
4310 else
4311 ac_compiler_gnu=no
4313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4314 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4318 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4319 if test $ac_compiler_gnu = yes; then
4320 GCC=yes
4321 else
4322 GCC=
4324 ac_test_CFLAGS=${CFLAGS+set}
4325 ac_save_CFLAGS=$CFLAGS
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4327 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4328 if ${ac_cv_prog_cc_g+:} false; then :
4329 $as_echo_n "(cached) " >&6
4330 else
4331 ac_save_c_werror_flag=$ac_c_werror_flag
4332 ac_c_werror_flag=yes
4333 ac_cv_prog_cc_g=no
4334 CFLAGS="-g"
4335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4336 /* end confdefs.h. */
4339 main ()
4343 return 0;
4345 _ACEOF
4346 if ac_fn_c_try_compile "$LINENO"; then :
4347 ac_cv_prog_cc_g=yes
4348 else
4349 CFLAGS=""
4350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4351 /* end confdefs.h. */
4354 main ()
4358 return 0;
4360 _ACEOF
4361 if ac_fn_c_try_compile "$LINENO"; then :
4363 else
4364 ac_c_werror_flag=$ac_save_c_werror_flag
4365 CFLAGS="-g"
4366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4367 /* end confdefs.h. */
4370 main ()
4374 return 0;
4376 _ACEOF
4377 if ac_fn_c_try_compile "$LINENO"; then :
4378 ac_cv_prog_cc_g=yes
4380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4385 ac_c_werror_flag=$ac_save_c_werror_flag
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4388 $as_echo "$ac_cv_prog_cc_g" >&6; }
4389 if test "$ac_test_CFLAGS" = set; then
4390 CFLAGS=$ac_save_CFLAGS
4391 elif test $ac_cv_prog_cc_g = yes; then
4392 if test "$GCC" = yes; then
4393 CFLAGS="-g -O2"
4394 else
4395 CFLAGS="-g"
4397 else
4398 if test "$GCC" = yes; then
4399 CFLAGS="-O2"
4400 else
4401 CFLAGS=
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4405 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4406 if ${ac_cv_prog_cc_c89+:} false; then :
4407 $as_echo_n "(cached) " >&6
4408 else
4409 ac_cv_prog_cc_c89=no
4410 ac_save_CC=$CC
4411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4412 /* end confdefs.h. */
4413 #include <stdarg.h>
4414 #include <stdio.h>
4415 struct stat;
4416 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4417 struct buf { int x; };
4418 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4419 static char *e (p, i)
4420 char **p;
4421 int i;
4423 return p[i];
4425 static char *f (char * (*g) (char **, int), char **p, ...)
4427 char *s;
4428 va_list v;
4429 va_start (v,p);
4430 s = g (p, va_arg (v,int));
4431 va_end (v);
4432 return s;
4435 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4436 function prototypes and stuff, but not '\xHH' hex character constants.
4437 These don't provoke an error unfortunately, instead are silently treated
4438 as 'x'. The following induces an error, until -std is added to get
4439 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4440 array size at least. It's necessary to write '\x00'==0 to get something
4441 that's true only with -std. */
4442 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4444 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4445 inside strings and character constants. */
4446 #define FOO(x) 'x'
4447 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4449 int test (int i, double x);
4450 struct s1 {int (*f) (int a);};
4451 struct s2 {int (*f) (double a);};
4452 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4453 int argc;
4454 char **argv;
4456 main ()
4458 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4460 return 0;
4462 _ACEOF
4463 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4464 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4466 CC="$ac_save_CC $ac_arg"
4467 if ac_fn_c_try_compile "$LINENO"; then :
4468 ac_cv_prog_cc_c89=$ac_arg
4470 rm -f core conftest.err conftest.$ac_objext
4471 test "x$ac_cv_prog_cc_c89" != "xno" && break
4472 done
4473 rm -f conftest.$ac_ext
4474 CC=$ac_save_CC
4477 # AC_CACHE_VAL
4478 case "x$ac_cv_prog_cc_c89" in
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4481 $as_echo "none needed" >&6; } ;;
4482 xno)
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4484 $as_echo "unsupported" >&6; } ;;
4486 CC="$CC $ac_cv_prog_cc_c89"
4487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4488 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4489 esac
4490 if test "x$ac_cv_prog_cc_c89" != xno; then :
4494 ac_ext=c
4495 ac_cpp='$CPP $CPPFLAGS'
4496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4500 ac_ext=cpp
4501 ac_cpp='$CXXCPP $CPPFLAGS'
4502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4505 if test -z "$CXX"; then
4506 if test -n "$CCC"; then
4507 CXX=$CCC
4508 else
4509 if test -n "$ac_tool_prefix"; then
4510 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4512 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4513 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4515 $as_echo_n "checking for $ac_word... " >&6; }
4516 if ${ac_cv_prog_CXX+:} false; then :
4517 $as_echo_n "(cached) " >&6
4518 else
4519 if test -n "$CXX"; then
4520 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4521 else
4522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4523 for as_dir in $PATH
4525 IFS=$as_save_IFS
4526 test -z "$as_dir" && as_dir=.
4527 for ac_exec_ext in '' $ac_executable_extensions; do
4528 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4529 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4531 break 2
4533 done
4534 done
4535 IFS=$as_save_IFS
4539 CXX=$ac_cv_prog_CXX
4540 if test -n "$CXX"; then
4541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4542 $as_echo "$CXX" >&6; }
4543 else
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4545 $as_echo "no" >&6; }
4549 test -n "$CXX" && break
4550 done
4552 if test -z "$CXX"; then
4553 ac_ct_CXX=$CXX
4554 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4556 # Extract the first word of "$ac_prog", so it can be a program name with args.
4557 set dummy $ac_prog; ac_word=$2
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4559 $as_echo_n "checking for $ac_word... " >&6; }
4560 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4561 $as_echo_n "(cached) " >&6
4562 else
4563 if test -n "$ac_ct_CXX"; then
4564 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4565 else
4566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4567 for as_dir in $PATH
4569 IFS=$as_save_IFS
4570 test -z "$as_dir" && as_dir=.
4571 for ac_exec_ext in '' $ac_executable_extensions; do
4572 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4573 ac_cv_prog_ac_ct_CXX="$ac_prog"
4574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4575 break 2
4577 done
4578 done
4579 IFS=$as_save_IFS
4583 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4584 if test -n "$ac_ct_CXX"; then
4585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4586 $as_echo "$ac_ct_CXX" >&6; }
4587 else
4588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4589 $as_echo "no" >&6; }
4593 test -n "$ac_ct_CXX" && break
4594 done
4596 if test "x$ac_ct_CXX" = x; then
4597 CXX="g++"
4598 else
4599 case $cross_compiling:$ac_tool_warned in
4600 yes:)
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4602 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4603 ac_tool_warned=yes ;;
4604 esac
4605 CXX=$ac_ct_CXX
4611 # Provide some information about the compiler.
4612 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4613 set X $ac_compile
4614 ac_compiler=$2
4615 for ac_option in --version -v -V -qversion; do
4616 { { ac_try="$ac_compiler $ac_option >&5"
4617 case "(($ac_try" in
4618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4619 *) ac_try_echo=$ac_try;;
4620 esac
4621 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4622 $as_echo "$ac_try_echo"; } >&5
4623 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4624 ac_status=$?
4625 if test -s conftest.err; then
4626 sed '10a\
4627 ... rest of stderr output deleted ...
4628 10q' conftest.err >conftest.er1
4629 cat conftest.er1 >&5
4631 rm -f conftest.er1 conftest.err
4632 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4633 test $ac_status = 0; }
4634 done
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4637 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4638 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4639 $as_echo_n "(cached) " >&6
4640 else
4641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4642 /* end confdefs.h. */
4645 main ()
4647 #ifndef __GNUC__
4648 choke me
4649 #endif
4652 return 0;
4654 _ACEOF
4655 if ac_fn_cxx_try_compile "$LINENO"; then :
4656 ac_compiler_gnu=yes
4657 else
4658 ac_compiler_gnu=no
4660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4661 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4665 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4666 if test $ac_compiler_gnu = yes; then
4667 GXX=yes
4668 else
4669 GXX=
4671 ac_test_CXXFLAGS=${CXXFLAGS+set}
4672 ac_save_CXXFLAGS=$CXXFLAGS
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4674 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4675 if ${ac_cv_prog_cxx_g+:} false; then :
4676 $as_echo_n "(cached) " >&6
4677 else
4678 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4679 ac_cxx_werror_flag=yes
4680 ac_cv_prog_cxx_g=no
4681 CXXFLAGS="-g"
4682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4683 /* end confdefs.h. */
4686 main ()
4690 return 0;
4692 _ACEOF
4693 if ac_fn_cxx_try_compile "$LINENO"; then :
4694 ac_cv_prog_cxx_g=yes
4695 else
4696 CXXFLAGS=""
4697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4698 /* end confdefs.h. */
4701 main ()
4705 return 0;
4707 _ACEOF
4708 if ac_fn_cxx_try_compile "$LINENO"; then :
4710 else
4711 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4712 CXXFLAGS="-g"
4713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4714 /* end confdefs.h. */
4717 main ()
4721 return 0;
4723 _ACEOF
4724 if ac_fn_cxx_try_compile "$LINENO"; then :
4725 ac_cv_prog_cxx_g=yes
4727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4732 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4735 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4736 if test "$ac_test_CXXFLAGS" = set; then
4737 CXXFLAGS=$ac_save_CXXFLAGS
4738 elif test $ac_cv_prog_cxx_g = yes; then
4739 if test "$GXX" = yes; then
4740 CXXFLAGS="-g -O2"
4741 else
4742 CXXFLAGS="-g"
4744 else
4745 if test "$GXX" = yes; then
4746 CXXFLAGS="-O2"
4747 else
4748 CXXFLAGS=
4751 ac_ext=c
4752 ac_cpp='$CPP $CPPFLAGS'
4753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4757 if test -n "$ac_tool_prefix"; then
4758 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4759 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4761 $as_echo_n "checking for $ac_word... " >&6; }
4762 if ${ac_cv_prog_CPPBIN+:} false; then :
4763 $as_echo_n "(cached) " >&6
4764 else
4765 if test -n "$CPPBIN"; then
4766 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4767 else
4768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4769 for as_dir in $PATH
4771 IFS=$as_save_IFS
4772 test -z "$as_dir" && as_dir=.
4773 for ac_exec_ext in '' $ac_executable_extensions; do
4774 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4775 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4776 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4777 break 2
4779 done
4780 done
4781 IFS=$as_save_IFS
4785 CPPBIN=$ac_cv_prog_CPPBIN
4786 if test -n "$CPPBIN"; then
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4788 $as_echo "$CPPBIN" >&6; }
4789 else
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4791 $as_echo "no" >&6; }
4796 if test -z "$ac_cv_prog_CPPBIN"; then
4797 ac_ct_CPPBIN=$CPPBIN
4798 # Extract the first word of "cpp", so it can be a program name with args.
4799 set dummy cpp; ac_word=$2
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4801 $as_echo_n "checking for $ac_word... " >&6; }
4802 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4803 $as_echo_n "(cached) " >&6
4804 else
4805 if test -n "$ac_ct_CPPBIN"; then
4806 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4807 else
4808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4809 for as_dir in $PATH
4811 IFS=$as_save_IFS
4812 test -z "$as_dir" && as_dir=.
4813 for ac_exec_ext in '' $ac_executable_extensions; do
4814 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4815 ac_cv_prog_ac_ct_CPPBIN="cpp"
4816 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4817 break 2
4819 done
4820 done
4821 IFS=$as_save_IFS
4825 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4826 if test -n "$ac_ct_CPPBIN"; then
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4828 $as_echo "$ac_ct_CPPBIN" >&6; }
4829 else
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4831 $as_echo "no" >&6; }
4834 if test "x$ac_ct_CPPBIN" = x; then
4835 CPPBIN="cpp"
4836 else
4837 case $cross_compiling:$ac_tool_warned in
4838 yes:)
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4840 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4841 ac_tool_warned=yes ;;
4842 esac
4843 CPPBIN=$ac_ct_CPPBIN
4845 else
4846 CPPBIN="$ac_cv_prog_CPPBIN"
4850 cat >>confdefs.h <<_ACEOF
4851 #define EXEEXT "$ac_exeext"
4852 _ACEOF
4854 if test -n "$ac_tool_prefix"; then
4855 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4856 set dummy ${ac_tool_prefix}ld; ac_word=$2
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4858 $as_echo_n "checking for $ac_word... " >&6; }
4859 if ${ac_cv_prog_LD+:} false; then :
4860 $as_echo_n "(cached) " >&6
4861 else
4862 if test -n "$LD"; then
4863 ac_cv_prog_LD="$LD" # Let the user override the test.
4864 else
4865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4866 for as_dir in $PATH
4868 IFS=$as_save_IFS
4869 test -z "$as_dir" && as_dir=.
4870 for ac_exec_ext in '' $ac_executable_extensions; do
4871 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4872 ac_cv_prog_LD="${ac_tool_prefix}ld"
4873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4874 break 2
4876 done
4877 done
4878 IFS=$as_save_IFS
4882 LD=$ac_cv_prog_LD
4883 if test -n "$LD"; then
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4885 $as_echo "$LD" >&6; }
4886 else
4887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4888 $as_echo "no" >&6; }
4893 if test -z "$ac_cv_prog_LD"; then
4894 ac_ct_LD=$LD
4895 # Extract the first word of "ld", so it can be a program name with args.
4896 set dummy ld; ac_word=$2
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4898 $as_echo_n "checking for $ac_word... " >&6; }
4899 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4900 $as_echo_n "(cached) " >&6
4901 else
4902 if test -n "$ac_ct_LD"; then
4903 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4904 else
4905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4906 for as_dir in $PATH
4908 IFS=$as_save_IFS
4909 test -z "$as_dir" && as_dir=.
4910 for ac_exec_ext in '' $ac_executable_extensions; do
4911 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4912 ac_cv_prog_ac_ct_LD="ld"
4913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4914 break 2
4916 done
4917 done
4918 IFS=$as_save_IFS
4922 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4923 if test -n "$ac_ct_LD"; then
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4925 $as_echo "$ac_ct_LD" >&6; }
4926 else
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4928 $as_echo "no" >&6; }
4931 if test "x$ac_ct_LD" = x; then
4932 LD=""
4933 else
4934 case $cross_compiling:$ac_tool_warned in
4935 yes:)
4936 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4937 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4938 ac_tool_warned=yes ;;
4939 esac
4940 LD=$ac_ct_LD
4942 else
4943 LD="$ac_cv_prog_LD"
4947 case $host in
4948 *-darwin*)
4949 if test "x$enable_win64" = "xyes"
4950 then
4951 CC="$CC -m64"
4952 CXX="$CXX -m64"
4953 host_cpu="x86_64"
4954 notice_platform="64-bit "
4955 TARGETFLAGS="-m64"
4957 else
4958 CC="$CC -m32"
4959 CXX="$CXX -m32"
4960 host_cpu="i386"
4961 notice_platform="32-bit "
4962 TARGETFLAGS="-m32"
4964 enable_win16=${enable_win16:-yes}
4966 with_fontconfig=${with_fontconfig:-no}
4968 x86_64*|amd64*)
4969 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4970 then
4971 CC="$CC -m32"
4972 CXX="$CXX -m32"
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4974 $as_echo_n "checking whether $CC works... " >&6; }
4976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4977 /* end confdefs.h. */
4980 main ()
4984 return 0;
4986 _ACEOF
4987 if ac_fn_c_try_link "$LINENO"; then :
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4989 $as_echo "yes" >&6; }
4990 else
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4992 $as_echo "no" >&6; }
4993 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4995 rm -f core conftest.err conftest.$ac_objext \
4996 conftest$ac_exeext conftest.$ac_ext
4997 host_cpu="i386"
4998 notice_platform="32-bit "
4999 TARGETFLAGS="-m32"
5001 enable_win16=${enable_win16:-yes}
5002 else
5003 if test "x${GCC}" = "xyes"
5004 then
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5006 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5008 /* end confdefs.h. */
5009 #include <stdarg.h>
5011 main ()
5013 void func(__builtin_ms_va_list *args);
5015 return 0;
5017 _ACEOF
5018 if ac_fn_c_try_compile "$LINENO"; then :
5019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5020 $as_echo "yes" >&6; }
5021 else
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5023 $as_echo "no" >&6; }
5024 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
5026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5028 host_cpu="x86_64"
5029 TARGETFLAGS="-m64"
5033 arm*)
5034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5035 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5037 /* end confdefs.h. */
5038 int ac_test(int i) { return i; }
5040 main ()
5042 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5044 return 0;
5046 _ACEOF
5047 if ac_fn_c_try_link "$LINENO"; then :
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5049 $as_echo "yes" >&6; }
5050 else
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5052 $as_echo "no" >&6; }
5053 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5055 rm -f core conftest.err conftest.$ac_objext \
5056 conftest$ac_exeext conftest.$ac_ext
5057 CFLAGS="$CFLAGS -marm"
5058 TARGETFLAGS="-marm"
5061 *-mingw32*|*-cygwin*)
5062 enable_win16=${enable_win16:-no}
5063 CFLAGS="$CFLAGS -D_WIN32"
5065 i[3456789]86*)
5066 enable_win16=${enable_win16:-yes}
5068 esac
5070 enable_win16=${enable_win16:-no}
5071 enable_win64=${enable_win64:-no}
5073 enable_winetest=${enable_winetest:-$enable_tests}
5075 if test -n "$with_wine64"
5076 then
5077 if test "x$enable_win64" = "xyes"
5078 then
5079 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5080 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5082 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5083 You should create a separate build directory and run configure from there." "$LINENO" 5
5084 enable_fonts=${enable_fonts:-no}
5085 enable_server=${enable_server:-no}
5086 elif test "x$enable_win64" = "xyes"
5087 then
5088 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5092 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5093 if ${wine_cv_toolsdir+:} false; then :
5094 $as_echo_n "(cached) " >&6
5095 else
5096 wine_cv_toolsdir="$with_wine_tools"
5097 if test -z "$with_wine_tools"; then
5098 if test "$cross_compiling" = "yes"; then
5099 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5100 elif test -n "$with_wine64"; then
5101 wine_cv_toolsdir="$with_wine64"
5104 if test -z "$wine_cv_toolsdir"; then
5105 wine_makedep=tools/makedep
5106 wine_cv_toolsdir="\$(top_builddir)"
5107 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5108 wine_makedep=$wine_cv_toolsdir/tools/makedep
5109 case "$wine_cv_toolsdir" in
5110 /*) ;;
5111 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5112 esac
5113 enable_tools=${enable_tools:-no}
5114 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5115 else
5116 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5120 $as_echo "$wine_cv_toolsdir" >&6; }
5121 TOOLSDIR=$wine_cv_toolsdir
5123 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5124 then
5125 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5129 for ac_prog in flex
5131 # Extract the first word of "$ac_prog", so it can be a program name with args.
5132 set dummy $ac_prog; ac_word=$2
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5134 $as_echo_n "checking for $ac_word... " >&6; }
5135 if ${ac_cv_prog_FLEX+:} false; then :
5136 $as_echo_n "(cached) " >&6
5137 else
5138 if test -n "$FLEX"; then
5139 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5140 else
5141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5142 for as_dir in $PATH
5144 IFS=$as_save_IFS
5145 test -z "$as_dir" && as_dir=.
5146 for ac_exec_ext in '' $ac_executable_extensions; do
5147 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5148 ac_cv_prog_FLEX="$ac_prog"
5149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5150 break 2
5152 done
5153 done
5154 IFS=$as_save_IFS
5158 FLEX=$ac_cv_prog_FLEX
5159 if test -n "$FLEX"; then
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5161 $as_echo "$FLEX" >&6; }
5162 else
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5164 $as_echo "no" >&6; }
5168 test -n "$FLEX" && break
5169 done
5170 test -n "$FLEX" || FLEX="none"
5172 if test "$FLEX" = "none"
5173 then
5174 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5177 $as_echo_n "checking whether flex is recent enough... " >&6; }
5178 cat >conftest.l <<EOF
5179 %top{
5180 #include "prediluvian.h"
5184 if $FLEX -t conftest.l >/dev/null 2>&5
5185 then
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5187 $as_echo "yes" >&6; }
5188 else
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5190 $as_echo "no" >&6; }
5191 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5194 for ac_prog in bison
5196 # Extract the first word of "$ac_prog", so it can be a program name with args.
5197 set dummy $ac_prog; ac_word=$2
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5199 $as_echo_n "checking for $ac_word... " >&6; }
5200 if ${ac_cv_prog_BISON+:} false; then :
5201 $as_echo_n "(cached) " >&6
5202 else
5203 if test -n "$BISON"; then
5204 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5205 else
5206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5207 for as_dir in $PATH
5209 IFS=$as_save_IFS
5210 test -z "$as_dir" && as_dir=.
5211 for ac_exec_ext in '' $ac_executable_extensions; do
5212 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5213 ac_cv_prog_BISON="$ac_prog"
5214 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5215 break 2
5217 done
5218 done
5219 IFS=$as_save_IFS
5223 BISON=$ac_cv_prog_BISON
5224 if test -n "$BISON"; then
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5226 $as_echo "$BISON" >&6; }
5227 else
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5229 $as_echo "no" >&6; }
5233 test -n "$BISON" && break
5234 done
5235 test -n "$BISON" || BISON="none"
5237 if test "$BISON" = "none"
5238 then
5239 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5242 if test -n "$ac_tool_prefix"; then
5243 for ac_prog in ar gar
5245 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5246 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5248 $as_echo_n "checking for $ac_word... " >&6; }
5249 if ${ac_cv_prog_AR+:} false; then :
5250 $as_echo_n "(cached) " >&6
5251 else
5252 if test -n "$AR"; then
5253 ac_cv_prog_AR="$AR" # Let the user override the test.
5254 else
5255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5256 for as_dir in $PATH
5258 IFS=$as_save_IFS
5259 test -z "$as_dir" && as_dir=.
5260 for ac_exec_ext in '' $ac_executable_extensions; do
5261 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5262 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5263 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5264 break 2
5266 done
5267 done
5268 IFS=$as_save_IFS
5272 AR=$ac_cv_prog_AR
5273 if test -n "$AR"; then
5274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5275 $as_echo "$AR" >&6; }
5276 else
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5278 $as_echo "no" >&6; }
5282 test -n "$AR" && break
5283 done
5285 if test -z "$AR"; then
5286 ac_ct_AR=$AR
5287 for ac_prog in ar gar
5289 # Extract the first word of "$ac_prog", so it can be a program name with args.
5290 set dummy $ac_prog; ac_word=$2
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5292 $as_echo_n "checking for $ac_word... " >&6; }
5293 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5294 $as_echo_n "(cached) " >&6
5295 else
5296 if test -n "$ac_ct_AR"; then
5297 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5298 else
5299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5300 for as_dir in $PATH
5302 IFS=$as_save_IFS
5303 test -z "$as_dir" && as_dir=.
5304 for ac_exec_ext in '' $ac_executable_extensions; do
5305 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5306 ac_cv_prog_ac_ct_AR="$ac_prog"
5307 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5308 break 2
5310 done
5311 done
5312 IFS=$as_save_IFS
5316 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5317 if test -n "$ac_ct_AR"; then
5318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5319 $as_echo "$ac_ct_AR" >&6; }
5320 else
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5322 $as_echo "no" >&6; }
5326 test -n "$ac_ct_AR" && break
5327 done
5329 if test "x$ac_ct_AR" = x; then
5330 AR="ar"
5331 else
5332 case $cross_compiling:$ac_tool_warned in
5333 yes:)
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5335 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5336 ac_tool_warned=yes ;;
5337 esac
5338 AR=$ac_ct_AR
5342 if test -n "$ac_tool_prefix"; then
5343 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5344 set dummy ${ac_tool_prefix}strip; ac_word=$2
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5346 $as_echo_n "checking for $ac_word... " >&6; }
5347 if ${ac_cv_prog_STRIP+:} false; then :
5348 $as_echo_n "(cached) " >&6
5349 else
5350 if test -n "$STRIP"; then
5351 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5352 else
5353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5354 for as_dir in $PATH
5356 IFS=$as_save_IFS
5357 test -z "$as_dir" && as_dir=.
5358 for ac_exec_ext in '' $ac_executable_extensions; do
5359 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5360 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5362 break 2
5364 done
5365 done
5366 IFS=$as_save_IFS
5370 STRIP=$ac_cv_prog_STRIP
5371 if test -n "$STRIP"; then
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5373 $as_echo "$STRIP" >&6; }
5374 else
5375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5376 $as_echo "no" >&6; }
5381 if test -z "$ac_cv_prog_STRIP"; then
5382 ac_ct_STRIP=$STRIP
5383 # Extract the first word of "strip", so it can be a program name with args.
5384 set dummy strip; ac_word=$2
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5386 $as_echo_n "checking for $ac_word... " >&6; }
5387 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5388 $as_echo_n "(cached) " >&6
5389 else
5390 if test -n "$ac_ct_STRIP"; then
5391 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5392 else
5393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5394 for as_dir in $PATH
5396 IFS=$as_save_IFS
5397 test -z "$as_dir" && as_dir=.
5398 for ac_exec_ext in '' $ac_executable_extensions; do
5399 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5400 ac_cv_prog_ac_ct_STRIP="strip"
5401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5402 break 2
5404 done
5405 done
5406 IFS=$as_save_IFS
5410 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5411 if test -n "$ac_ct_STRIP"; then
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5413 $as_echo "$ac_ct_STRIP" >&6; }
5414 else
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5416 $as_echo "no" >&6; }
5419 if test "x$ac_ct_STRIP" = x; then
5420 STRIP="strip"
5421 else
5422 case $cross_compiling:$ac_tool_warned in
5423 yes:)
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5425 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5426 ac_tool_warned=yes ;;
5427 esac
5428 STRIP=$ac_ct_STRIP
5430 else
5431 STRIP="$ac_cv_prog_STRIP"
5434 ARFLAGS=rc
5436 if test -n "$ac_tool_prefix"; then
5437 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5438 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5440 $as_echo_n "checking for $ac_word... " >&6; }
5441 if ${ac_cv_prog_RANLIB+:} false; then :
5442 $as_echo_n "(cached) " >&6
5443 else
5444 if test -n "$RANLIB"; then
5445 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5446 else
5447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5448 for as_dir in $PATH
5450 IFS=$as_save_IFS
5451 test -z "$as_dir" && as_dir=.
5452 for ac_exec_ext in '' $ac_executable_extensions; do
5453 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5454 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5456 break 2
5458 done
5459 done
5460 IFS=$as_save_IFS
5464 RANLIB=$ac_cv_prog_RANLIB
5465 if test -n "$RANLIB"; then
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5467 $as_echo "$RANLIB" >&6; }
5468 else
5469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5470 $as_echo "no" >&6; }
5475 if test -z "$ac_cv_prog_RANLIB"; then
5476 ac_ct_RANLIB=$RANLIB
5477 # Extract the first word of "ranlib", so it can be a program name with args.
5478 set dummy ranlib; ac_word=$2
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5480 $as_echo_n "checking for $ac_word... " >&6; }
5481 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5482 $as_echo_n "(cached) " >&6
5483 else
5484 if test -n "$ac_ct_RANLIB"; then
5485 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5486 else
5487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5488 for as_dir in $PATH
5490 IFS=$as_save_IFS
5491 test -z "$as_dir" && as_dir=.
5492 for ac_exec_ext in '' $ac_executable_extensions; do
5493 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5494 ac_cv_prog_ac_ct_RANLIB="ranlib"
5495 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5496 break 2
5498 done
5499 done
5500 IFS=$as_save_IFS
5504 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5505 if test -n "$ac_ct_RANLIB"; then
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5507 $as_echo "$ac_ct_RANLIB" >&6; }
5508 else
5509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5510 $as_echo "no" >&6; }
5513 if test "x$ac_ct_RANLIB" = x; then
5514 RANLIB=":"
5515 else
5516 case $cross_compiling:$ac_tool_warned in
5517 yes:)
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5519 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5520 ac_tool_warned=yes ;;
5521 esac
5522 RANLIB=$ac_ct_RANLIB
5524 else
5525 RANLIB="$ac_cv_prog_RANLIB"
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5529 $as_echo_n "checking whether ln -s works... " >&6; }
5530 LN_S=$as_ln_s
5531 if test "$LN_S" = "ln -s"; then
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5533 $as_echo "yes" >&6; }
5534 else
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5536 $as_echo "no, using $LN_S" >&6; }
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5540 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5541 if ${ac_cv_path_GREP+:} false; then :
5542 $as_echo_n "(cached) " >&6
5543 else
5544 if test -z "$GREP"; then
5545 ac_path_GREP_found=false
5546 # Loop through the user's path and test for each of PROGNAME-LIST
5547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5548 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5550 IFS=$as_save_IFS
5551 test -z "$as_dir" && as_dir=.
5552 for ac_prog in grep ggrep; do
5553 for ac_exec_ext in '' $ac_executable_extensions; do
5554 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5555 as_fn_executable_p "$ac_path_GREP" || continue
5556 # Check for GNU ac_path_GREP and select it if it is found.
5557 # Check for GNU $ac_path_GREP
5558 case `"$ac_path_GREP" --version 2>&1` in
5559 *GNU*)
5560 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5562 ac_count=0
5563 $as_echo_n 0123456789 >"conftest.in"
5564 while :
5566 cat "conftest.in" "conftest.in" >"conftest.tmp"
5567 mv "conftest.tmp" "conftest.in"
5568 cp "conftest.in" "conftest.nl"
5569 $as_echo 'GREP' >> "conftest.nl"
5570 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5571 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5572 as_fn_arith $ac_count + 1 && ac_count=$as_val
5573 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5574 # Best one so far, save it but keep looking for a better one
5575 ac_cv_path_GREP="$ac_path_GREP"
5576 ac_path_GREP_max=$ac_count
5578 # 10*(2^10) chars as input seems more than enough
5579 test $ac_count -gt 10 && break
5580 done
5581 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5582 esac
5584 $ac_path_GREP_found && break 3
5585 done
5586 done
5587 done
5588 IFS=$as_save_IFS
5589 if test -z "$ac_cv_path_GREP"; then
5590 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5592 else
5593 ac_cv_path_GREP=$GREP
5597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5598 $as_echo "$ac_cv_path_GREP" >&6; }
5599 GREP="$ac_cv_path_GREP"
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5603 $as_echo_n "checking for egrep... " >&6; }
5604 if ${ac_cv_path_EGREP+:} false; then :
5605 $as_echo_n "(cached) " >&6
5606 else
5607 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5608 then ac_cv_path_EGREP="$GREP -E"
5609 else
5610 if test -z "$EGREP"; then
5611 ac_path_EGREP_found=false
5612 # Loop through the user's path and test for each of PROGNAME-LIST
5613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5614 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5616 IFS=$as_save_IFS
5617 test -z "$as_dir" && as_dir=.
5618 for ac_prog in egrep; do
5619 for ac_exec_ext in '' $ac_executable_extensions; do
5620 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5621 as_fn_executable_p "$ac_path_EGREP" || continue
5622 # Check for GNU ac_path_EGREP and select it if it is found.
5623 # Check for GNU $ac_path_EGREP
5624 case `"$ac_path_EGREP" --version 2>&1` in
5625 *GNU*)
5626 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5628 ac_count=0
5629 $as_echo_n 0123456789 >"conftest.in"
5630 while :
5632 cat "conftest.in" "conftest.in" >"conftest.tmp"
5633 mv "conftest.tmp" "conftest.in"
5634 cp "conftest.in" "conftest.nl"
5635 $as_echo 'EGREP' >> "conftest.nl"
5636 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5637 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5638 as_fn_arith $ac_count + 1 && ac_count=$as_val
5639 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5640 # Best one so far, save it but keep looking for a better one
5641 ac_cv_path_EGREP="$ac_path_EGREP"
5642 ac_path_EGREP_max=$ac_count
5644 # 10*(2^10) chars as input seems more than enough
5645 test $ac_count -gt 10 && break
5646 done
5647 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5648 esac
5650 $ac_path_EGREP_found && break 3
5651 done
5652 done
5653 done
5654 IFS=$as_save_IFS
5655 if test -z "$ac_cv_path_EGREP"; then
5656 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5658 else
5659 ac_cv_path_EGREP=$EGREP
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5665 $as_echo "$ac_cv_path_EGREP" >&6; }
5666 EGREP="$ac_cv_path_EGREP"
5669 # Extract the first word of "ldconfig", so it can be a program name with args.
5670 set dummy ldconfig; ac_word=$2
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5672 $as_echo_n "checking for $ac_word... " >&6; }
5673 if ${ac_cv_path_LDCONFIG+:} false; then :
5674 $as_echo_n "(cached) " >&6
5675 else
5676 case $LDCONFIG in
5677 [\\/]* | ?:[\\/]*)
5678 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5682 for as_dir in /sbin /usr/sbin $PATH
5684 IFS=$as_save_IFS
5685 test -z "$as_dir" && as_dir=.
5686 for ac_exec_ext in '' $ac_executable_extensions; do
5687 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5688 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5689 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5690 break 2
5692 done
5693 done
5694 IFS=$as_save_IFS
5696 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5698 esac
5700 LDCONFIG=$ac_cv_path_LDCONFIG
5701 if test -n "$LDCONFIG"; then
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5703 $as_echo "$LDCONFIG" >&6; }
5704 else
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5706 $as_echo "no" >&6; }
5710 for ac_prog in msgfmt
5712 # Extract the first word of "$ac_prog", so it can be a program name with args.
5713 set dummy $ac_prog; ac_word=$2
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5715 $as_echo_n "checking for $ac_word... " >&6; }
5716 if ${ac_cv_prog_MSGFMT+:} false; then :
5717 $as_echo_n "(cached) " >&6
5718 else
5719 if test -n "$MSGFMT"; then
5720 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5721 else
5722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5723 for as_dir in $PATH
5725 IFS=$as_save_IFS
5726 test -z "$as_dir" && as_dir=.
5727 for ac_exec_ext in '' $ac_executable_extensions; do
5728 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5729 ac_cv_prog_MSGFMT="$ac_prog"
5730 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5731 break 2
5733 done
5734 done
5735 IFS=$as_save_IFS
5739 MSGFMT=$ac_cv_prog_MSGFMT
5740 if test -n "$MSGFMT"; then
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5742 $as_echo "$MSGFMT" >&6; }
5743 else
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5745 $as_echo "no" >&6; }
5749 test -n "$MSGFMT" && break
5750 done
5751 test -n "$MSGFMT" || MSGFMT="false"
5753 if ${ac_tool_prefix+:} false; then :
5754 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5755 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5757 $as_echo_n "checking for $ac_word... " >&6; }
5758 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5759 $as_echo_n "(cached) " >&6
5760 else
5761 if test -n "$PKG_CONFIG"; then
5762 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5763 else
5764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5765 for as_dir in $PATH
5767 IFS=$as_save_IFS
5768 test -z "$as_dir" && as_dir=.
5769 for ac_exec_ext in '' $ac_executable_extensions; do
5770 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5771 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5773 break 2
5775 done
5776 done
5777 IFS=$as_save_IFS
5781 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5782 if test -n "$PKG_CONFIG"; then
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5784 $as_echo "$PKG_CONFIG" >&6; }
5785 else
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5787 $as_echo "no" >&6; }
5792 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5793 if test "x$cross_compiling" = xyes; then :
5795 else
5796 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5797 # Extract the first word of "pkg-config", so it can be a program name with args.
5798 set dummy pkg-config; ac_word=$2
5799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5800 $as_echo_n "checking for $ac_word... " >&6; }
5801 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5802 $as_echo_n "(cached) " >&6
5803 else
5804 if test -n "$PKG_CONFIG"; then
5805 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5806 else
5807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5808 for as_dir in $PATH
5810 IFS=$as_save_IFS
5811 test -z "$as_dir" && as_dir=.
5812 for ac_exec_ext in '' $ac_executable_extensions; do
5813 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5814 ac_cv_prog_PKG_CONFIG="pkg-config"
5815 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5816 break 2
5818 done
5819 done
5820 IFS=$as_save_IFS
5824 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5825 if test -n "$PKG_CONFIG"; then
5826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5827 $as_echo "$PKG_CONFIG" >&6; }
5828 else
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5830 $as_echo "no" >&6; }
5835 else
5836 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5839 if test "x$enable_maintainer_mode" != "xyes"
5840 then
5841 FONTFORGE=""
5842 RSVG=""
5843 CONVERT=""
5844 ICOTOOL=""
5845 else
5846 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5847 for ac_prog in fontforge
5849 # Extract the first word of "$ac_prog", so it can be a program name with args.
5850 set dummy $ac_prog; ac_word=$2
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5852 $as_echo_n "checking for $ac_word... " >&6; }
5853 if ${ac_cv_prog_FONTFORGE+:} false; then :
5854 $as_echo_n "(cached) " >&6
5855 else
5856 if test -n "$FONTFORGE"; then
5857 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5858 else
5859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5860 for as_dir in $PATH
5862 IFS=$as_save_IFS
5863 test -z "$as_dir" && as_dir=.
5864 for ac_exec_ext in '' $ac_executable_extensions; do
5865 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5866 ac_cv_prog_FONTFORGE="$ac_prog"
5867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5868 break 2
5870 done
5871 done
5872 IFS=$as_save_IFS
5876 FONTFORGE=$ac_cv_prog_FONTFORGE
5877 if test -n "$FONTFORGE"; then
5878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5879 $as_echo "$FONTFORGE" >&6; }
5880 else
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5882 $as_echo "no" >&6; }
5886 test -n "$FONTFORGE" && break
5887 done
5888 test -n "$FONTFORGE" || FONTFORGE="false"
5890 for ac_prog in rsvg-convert rsvg
5892 # Extract the first word of "$ac_prog", so it can be a program name with args.
5893 set dummy $ac_prog; ac_word=$2
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5895 $as_echo_n "checking for $ac_word... " >&6; }
5896 if ${ac_cv_prog_RSVG+:} false; then :
5897 $as_echo_n "(cached) " >&6
5898 else
5899 if test -n "$RSVG"; then
5900 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5901 else
5902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5903 for as_dir in $PATH
5905 IFS=$as_save_IFS
5906 test -z "$as_dir" && as_dir=.
5907 for ac_exec_ext in '' $ac_executable_extensions; do
5908 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5909 ac_cv_prog_RSVG="$ac_prog"
5910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5911 break 2
5913 done
5914 done
5915 IFS=$as_save_IFS
5919 RSVG=$ac_cv_prog_RSVG
5920 if test -n "$RSVG"; then
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5922 $as_echo "$RSVG" >&6; }
5923 else
5924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5925 $as_echo "no" >&6; }
5929 test -n "$RSVG" && break
5930 done
5931 test -n "$RSVG" || RSVG="false"
5933 for ac_prog in convert
5935 # Extract the first word of "$ac_prog", so it can be a program name with args.
5936 set dummy $ac_prog; ac_word=$2
5937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5938 $as_echo_n "checking for $ac_word... " >&6; }
5939 if ${ac_cv_prog_CONVERT+:} false; then :
5940 $as_echo_n "(cached) " >&6
5941 else
5942 if test -n "$CONVERT"; then
5943 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5944 else
5945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5946 for as_dir in $PATH
5948 IFS=$as_save_IFS
5949 test -z "$as_dir" && as_dir=.
5950 for ac_exec_ext in '' $ac_executable_extensions; do
5951 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5952 ac_cv_prog_CONVERT="$ac_prog"
5953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5954 break 2
5956 done
5957 done
5958 IFS=$as_save_IFS
5962 CONVERT=$ac_cv_prog_CONVERT
5963 if test -n "$CONVERT"; then
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5965 $as_echo "$CONVERT" >&6; }
5966 else
5967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5968 $as_echo "no" >&6; }
5972 test -n "$CONVERT" && break
5973 done
5974 test -n "$CONVERT" || CONVERT="false"
5976 for ac_prog in icotool
5978 # Extract the first word of "$ac_prog", so it can be a program name with args.
5979 set dummy $ac_prog; ac_word=$2
5980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5981 $as_echo_n "checking for $ac_word... " >&6; }
5982 if ${ac_cv_prog_ICOTOOL+:} false; then :
5983 $as_echo_n "(cached) " >&6
5984 else
5985 if test -n "$ICOTOOL"; then
5986 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5987 else
5988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5989 for as_dir in $PATH
5991 IFS=$as_save_IFS
5992 test -z "$as_dir" && as_dir=.
5993 for ac_exec_ext in '' $ac_executable_extensions; do
5994 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5995 ac_cv_prog_ICOTOOL="$ac_prog"
5996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5997 break 2
5999 done
6000 done
6001 IFS=$as_save_IFS
6005 ICOTOOL=$ac_cv_prog_ICOTOOL
6006 if test -n "$ICOTOOL"; then
6007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6008 $as_echo "$ICOTOOL" >&6; }
6009 else
6010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6011 $as_echo "no" >&6; }
6015 test -n "$ICOTOOL" && break
6016 done
6017 test -n "$ICOTOOL" || ICOTOOL="false"
6019 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6020 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6022 if test "$CONVERT" = false
6023 then
6024 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6025 else
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6027 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6028 convert_version=`convert --version | head -n1`
6029 if test "x$convert_version" != "x"
6030 then
6031 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6032 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6033 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6034 then
6035 CONVERT=false
6038 if test "$CONVERT" = false
6039 then
6040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6041 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6042 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6043 else
6044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6045 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6049 if test "$ICOTOOL" = false
6050 then
6051 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6052 else
6053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6054 $as_echo_n "checking for recent enough icotool... " >&6; }
6055 icotool_version=`icotool --version | head -n1`
6056 if test "x$icotool_version" != "x"
6057 then
6058 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6059 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6060 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6061 then
6062 ICOTOOL=false
6063 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6066 if test "$ICOTOOL" = false
6067 then
6068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6069 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6070 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6071 else
6072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6073 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6077 with_gettext=yes
6078 with_gettextpo=yes
6079 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6082 test "x$with_gettext" != xno || MSGFMT=false
6083 if test "$MSGFMT" != "false"
6084 then
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6086 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6087 cat >conftest.po <<EOF
6088 # comment
6089 msgctxt "ctxt"
6090 msgid "id"
6091 msgstr "str"
6093 if $MSGFMT -o /dev/null conftest.po 2>&5
6094 then
6095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6096 $as_echo "yes" >&6; }
6097 else
6098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6099 $as_echo "no" >&6; }
6100 MSGFMT=false
6103 if test "$MSGFMT" = false; then :
6104 case "x$with_gettext" in
6105 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6106 xno) ;;
6107 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6108 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6109 esac
6113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6114 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6115 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6116 $as_echo_n "(cached) " >&6
6117 else
6118 ac_check_lib_save_LIBS=$LIBS
6119 LIBS="-li386 $LIBS"
6120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6121 /* end confdefs.h. */
6123 /* Override any GCC internal prototype to avoid an error.
6124 Use char because int might match the return type of a GCC
6125 builtin and then its argument prototype would still apply. */
6126 #ifdef __cplusplus
6127 extern "C"
6128 #endif
6129 char i386_set_ldt ();
6131 main ()
6133 return i386_set_ldt ();
6135 return 0;
6137 _ACEOF
6138 if ac_fn_c_try_link "$LINENO"; then :
6139 ac_cv_lib_i386_i386_set_ldt=yes
6140 else
6141 ac_cv_lib_i386_i386_set_ldt=no
6143 rm -f core conftest.err conftest.$ac_objext \
6144 conftest$ac_exeext conftest.$ac_ext
6145 LIBS=$ac_check_lib_save_LIBS
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6148 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6149 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6150 cat >>confdefs.h <<_ACEOF
6151 #define HAVE_LIBI386 1
6152 _ACEOF
6154 LIBS="-li386 $LIBS"
6158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6159 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6160 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6161 $as_echo_n "(cached) " >&6
6162 else
6163 ac_check_lib_save_LIBS=$LIBS
6164 LIBS="-lossaudio $LIBS"
6165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6166 /* end confdefs.h. */
6168 /* Override any GCC internal prototype to avoid an error.
6169 Use char because int might match the return type of a GCC
6170 builtin and then its argument prototype would still apply. */
6171 #ifdef __cplusplus
6172 extern "C"
6173 #endif
6174 char _oss_ioctl ();
6176 main ()
6178 return _oss_ioctl ();
6180 return 0;
6182 _ACEOF
6183 if ac_fn_c_try_link "$LINENO"; then :
6184 ac_cv_lib_ossaudio__oss_ioctl=yes
6185 else
6186 ac_cv_lib_ossaudio__oss_ioctl=no
6188 rm -f core conftest.err conftest.$ac_objext \
6189 conftest$ac_exeext conftest.$ac_ext
6190 LIBS=$ac_check_lib_save_LIBS
6192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6193 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6194 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6195 cat >>confdefs.h <<_ACEOF
6196 #define HAVE_LIBOSSAUDIO 1
6197 _ACEOF
6199 LIBS="-lossaudio $LIBS"
6204 OPENGL_LIBS=""
6208 # Check whether --enable-largefile was given.
6209 if test "${enable_largefile+set}" = set; then :
6210 enableval=$enable_largefile;
6213 if test "$enable_largefile" != no; then
6215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6216 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6217 if ${ac_cv_sys_largefile_CC+:} false; then :
6218 $as_echo_n "(cached) " >&6
6219 else
6220 ac_cv_sys_largefile_CC=no
6221 if test "$GCC" != yes; then
6222 ac_save_CC=$CC
6223 while :; do
6224 # IRIX 6.2 and later do not support large files by default,
6225 # so use the C compiler's -n32 option if that helps.
6226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6227 /* end confdefs.h. */
6228 #include <sys/types.h>
6229 /* Check that off_t can represent 2**63 - 1 correctly.
6230 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6231 since some C++ compilers masquerading as C compilers
6232 incorrectly reject 9223372036854775807. */
6233 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6234 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6235 && LARGE_OFF_T % 2147483647 == 1)
6236 ? 1 : -1];
6238 main ()
6242 return 0;
6244 _ACEOF
6245 if ac_fn_c_try_compile "$LINENO"; then :
6246 break
6248 rm -f core conftest.err conftest.$ac_objext
6249 CC="$CC -n32"
6250 if ac_fn_c_try_compile "$LINENO"; then :
6251 ac_cv_sys_largefile_CC=' -n32'; break
6253 rm -f core conftest.err conftest.$ac_objext
6254 break
6255 done
6256 CC=$ac_save_CC
6257 rm -f conftest.$ac_ext
6260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6261 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6262 if test "$ac_cv_sys_largefile_CC" != no; then
6263 CC=$CC$ac_cv_sys_largefile_CC
6266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6267 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6268 if ${ac_cv_sys_file_offset_bits+:} false; then :
6269 $as_echo_n "(cached) " >&6
6270 else
6271 while :; do
6272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6273 /* end confdefs.h. */
6274 #include <sys/types.h>
6275 /* Check that off_t can represent 2**63 - 1 correctly.
6276 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6277 since some C++ compilers masquerading as C compilers
6278 incorrectly reject 9223372036854775807. */
6279 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6280 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6281 && LARGE_OFF_T % 2147483647 == 1)
6282 ? 1 : -1];
6284 main ()
6288 return 0;
6290 _ACEOF
6291 if ac_fn_c_try_compile "$LINENO"; then :
6292 ac_cv_sys_file_offset_bits=no; break
6294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6296 /* end confdefs.h. */
6297 #define _FILE_OFFSET_BITS 64
6298 #include <sys/types.h>
6299 /* Check that off_t can represent 2**63 - 1 correctly.
6300 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6301 since some C++ compilers masquerading as C compilers
6302 incorrectly reject 9223372036854775807. */
6303 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6304 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6305 && LARGE_OFF_T % 2147483647 == 1)
6306 ? 1 : -1];
6308 main ()
6312 return 0;
6314 _ACEOF
6315 if ac_fn_c_try_compile "$LINENO"; then :
6316 ac_cv_sys_file_offset_bits=64; break
6318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6319 ac_cv_sys_file_offset_bits=unknown
6320 break
6321 done
6323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6324 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6325 case $ac_cv_sys_file_offset_bits in #(
6326 no | unknown) ;;
6328 cat >>confdefs.h <<_ACEOF
6329 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6330 _ACEOF
6332 esac
6333 rm -rf conftest*
6334 if test $ac_cv_sys_file_offset_bits = unknown; then
6335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6336 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6337 if ${ac_cv_sys_large_files+:} false; then :
6338 $as_echo_n "(cached) " >&6
6339 else
6340 while :; do
6341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6342 /* end confdefs.h. */
6343 #include <sys/types.h>
6344 /* Check that off_t can represent 2**63 - 1 correctly.
6345 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6346 since some C++ compilers masquerading as C compilers
6347 incorrectly reject 9223372036854775807. */
6348 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6349 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6350 && LARGE_OFF_T % 2147483647 == 1)
6351 ? 1 : -1];
6353 main ()
6357 return 0;
6359 _ACEOF
6360 if ac_fn_c_try_compile "$LINENO"; then :
6361 ac_cv_sys_large_files=no; break
6363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6365 /* end confdefs.h. */
6366 #define _LARGE_FILES 1
6367 #include <sys/types.h>
6368 /* Check that off_t can represent 2**63 - 1 correctly.
6369 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6370 since some C++ compilers masquerading as C compilers
6371 incorrectly reject 9223372036854775807. */
6372 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6373 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6374 && LARGE_OFF_T % 2147483647 == 1)
6375 ? 1 : -1];
6377 main ()
6381 return 0;
6383 _ACEOF
6384 if ac_fn_c_try_compile "$LINENO"; then :
6385 ac_cv_sys_large_files=1; break
6387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6388 ac_cv_sys_large_files=unknown
6389 break
6390 done
6392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6393 $as_echo "$ac_cv_sys_large_files" >&6; }
6394 case $ac_cv_sys_large_files in #(
6395 no | unknown) ;;
6397 cat >>confdefs.h <<_ACEOF
6398 #define _LARGE_FILES $ac_cv_sys_large_files
6399 _ACEOF
6401 esac
6402 rm -rf conftest*
6409 ac_ext=c
6410 ac_cpp='$CPP $CPPFLAGS'
6411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6415 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6416 # On Suns, sometimes $CPP names a directory.
6417 if test -n "$CPP" && test -d "$CPP"; then
6418 CPP=
6420 if test -z "$CPP"; then
6421 if ${ac_cv_prog_CPP+:} false; then :
6422 $as_echo_n "(cached) " >&6
6423 else
6424 # Double quotes because CPP needs to be expanded
6425 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6427 ac_preproc_ok=false
6428 for ac_c_preproc_warn_flag in '' yes
6430 # Use a header file that comes with gcc, so configuring glibc
6431 # with a fresh cross-compiler works.
6432 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6433 # <limits.h> exists even on freestanding compilers.
6434 # On the NeXT, cc -E runs the code through the compiler's parser,
6435 # not just through cpp. "Syntax error" is here to catch this case.
6436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6437 /* end confdefs.h. */
6438 #ifdef __STDC__
6439 # include <limits.h>
6440 #else
6441 # include <assert.h>
6442 #endif
6443 Syntax error
6444 _ACEOF
6445 if ac_fn_c_try_cpp "$LINENO"; then :
6447 else
6448 # Broken: fails on valid input.
6449 continue
6451 rm -f conftest.err conftest.i conftest.$ac_ext
6453 # OK, works on sane cases. Now check whether nonexistent headers
6454 # can be detected and how.
6455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6456 /* end confdefs.h. */
6457 #include <ac_nonexistent.h>
6458 _ACEOF
6459 if ac_fn_c_try_cpp "$LINENO"; then :
6460 # Broken: success on invalid input.
6461 continue
6462 else
6463 # Passes both tests.
6464 ac_preproc_ok=:
6465 break
6467 rm -f conftest.err conftest.i conftest.$ac_ext
6469 done
6470 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6471 rm -f conftest.i conftest.err conftest.$ac_ext
6472 if $ac_preproc_ok; then :
6473 break
6476 done
6477 ac_cv_prog_CPP=$CPP
6480 CPP=$ac_cv_prog_CPP
6481 else
6482 ac_cv_prog_CPP=$CPP
6484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6485 $as_echo "$CPP" >&6; }
6486 ac_preproc_ok=false
6487 for ac_c_preproc_warn_flag in '' yes
6489 # Use a header file that comes with gcc, so configuring glibc
6490 # with a fresh cross-compiler works.
6491 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6492 # <limits.h> exists even on freestanding compilers.
6493 # On the NeXT, cc -E runs the code through the compiler's parser,
6494 # not just through cpp. "Syntax error" is here to catch this case.
6495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6496 /* end confdefs.h. */
6497 #ifdef __STDC__
6498 # include <limits.h>
6499 #else
6500 # include <assert.h>
6501 #endif
6502 Syntax error
6503 _ACEOF
6504 if ac_fn_c_try_cpp "$LINENO"; then :
6506 else
6507 # Broken: fails on valid input.
6508 continue
6510 rm -f conftest.err conftest.i conftest.$ac_ext
6512 # OK, works on sane cases. Now check whether nonexistent headers
6513 # can be detected and how.
6514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6515 /* end confdefs.h. */
6516 #include <ac_nonexistent.h>
6517 _ACEOF
6518 if ac_fn_c_try_cpp "$LINENO"; then :
6519 # Broken: success on invalid input.
6520 continue
6521 else
6522 # Passes both tests.
6523 ac_preproc_ok=:
6524 break
6526 rm -f conftest.err conftest.i conftest.$ac_ext
6528 done
6529 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6530 rm -f conftest.i conftest.err conftest.$ac_ext
6531 if $ac_preproc_ok; then :
6533 else
6534 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6535 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6536 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6537 See \`config.log' for more details" "$LINENO" 5; }
6540 ac_ext=c
6541 ac_cpp='$CPP $CPPFLAGS'
6542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6548 $as_echo_n "checking for ANSI C header files... " >&6; }
6549 if ${ac_cv_header_stdc+:} false; then :
6550 $as_echo_n "(cached) " >&6
6551 else
6552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6553 /* end confdefs.h. */
6554 #include <stdlib.h>
6555 #include <stdarg.h>
6556 #include <string.h>
6557 #include <float.h>
6560 main ()
6564 return 0;
6566 _ACEOF
6567 if ac_fn_c_try_compile "$LINENO"; then :
6568 ac_cv_header_stdc=yes
6569 else
6570 ac_cv_header_stdc=no
6572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6574 if test $ac_cv_header_stdc = yes; then
6575 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6577 /* end confdefs.h. */
6578 #include <string.h>
6580 _ACEOF
6581 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6582 $EGREP "memchr" >/dev/null 2>&1; then :
6584 else
6585 ac_cv_header_stdc=no
6587 rm -f conftest*
6591 if test $ac_cv_header_stdc = yes; then
6592 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6594 /* end confdefs.h. */
6595 #include <stdlib.h>
6597 _ACEOF
6598 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6599 $EGREP "free" >/dev/null 2>&1; then :
6601 else
6602 ac_cv_header_stdc=no
6604 rm -f conftest*
6608 if test $ac_cv_header_stdc = yes; then
6609 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6610 if test "$cross_compiling" = yes; then :
6612 else
6613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6614 /* end confdefs.h. */
6615 #include <ctype.h>
6616 #include <stdlib.h>
6617 #if ((' ' & 0x0FF) == 0x020)
6618 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6619 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6620 #else
6621 # define ISLOWER(c) \
6622 (('a' <= (c) && (c) <= 'i') \
6623 || ('j' <= (c) && (c) <= 'r') \
6624 || ('s' <= (c) && (c) <= 'z'))
6625 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6626 #endif
6628 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6630 main ()
6632 int i;
6633 for (i = 0; i < 256; i++)
6634 if (XOR (islower (i), ISLOWER (i))
6635 || toupper (i) != TOUPPER (i))
6636 return 2;
6637 return 0;
6639 _ACEOF
6640 if ac_fn_c_try_run "$LINENO"; then :
6642 else
6643 ac_cv_header_stdc=no
6645 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6646 conftest.$ac_objext conftest.beam conftest.$ac_ext
6651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6652 $as_echo "$ac_cv_header_stdc" >&6; }
6653 if test $ac_cv_header_stdc = yes; then
6655 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6659 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6660 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6661 inttypes.h stdint.h unistd.h
6662 do :
6663 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6664 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6666 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6667 cat >>confdefs.h <<_ACEOF
6668 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6669 _ACEOF
6673 done
6676 for ac_header in \
6677 AL/al.h \
6678 ApplicationServices/ApplicationServices.h \
6679 AudioToolbox/AudioConverter.h \
6680 AudioUnit/AudioUnit.h \
6681 AudioUnit/AudioComponent.h \
6682 CL/cl.h \
6683 Carbon/Carbon.h \
6684 CommonCrypto/CommonDigest.h \
6685 CoreAudio/CoreAudio.h \
6686 CoreServices/CoreServices.h \
6687 DiskArbitration/DiskArbitration.h \
6688 IOKit/IOKitLib.h \
6689 IOKit/hid/IOHIDLib.h \
6690 OpenAL/al.h \
6691 OpenCL/opencl.h \
6692 QuickTime/ImageCompression.h \
6693 Security/Security.h \
6694 alias.h \
6695 alsa/asoundlib.h \
6696 arpa/inet.h \
6697 arpa/nameser.h \
6698 asm/types.h \
6699 asm/user.h \
6700 curses.h \
6701 direct.h \
6702 dirent.h \
6703 dlfcn.h \
6704 elf.h \
6705 float.h \
6706 fnmatch.h \
6707 getopt.h \
6708 gettext-po.h \
6709 grp.h \
6710 gsm.h \
6711 gsm/gsm.h \
6712 ieeefp.h \
6713 inet/mib2.h \
6714 io.h \
6715 kstat.h \
6716 lber.h \
6717 ldap.h \
6718 libproc.h \
6719 link.h \
6720 linux/cdrom.h \
6721 linux/compiler.h \
6722 linux/filter.h \
6723 linux/hdreg.h \
6724 linux/input.h \
6725 linux/ioctl.h \
6726 linux/joystick.h \
6727 linux/major.h \
6728 linux/param.h \
6729 linux/serial.h \
6730 linux/types.h \
6731 linux/ucdrom.h \
6732 lwp.h \
6733 mach-o/nlist.h \
6734 mach-o/loader.h \
6735 mach/mach.h \
6736 mach/machine.h \
6737 machine/cpu.h \
6738 machine/limits.h \
6739 machine/sysarch.h \
6740 mntent.h \
6741 ncurses.h \
6742 netdb.h \
6743 netinet/in.h \
6744 netinet/in_systm.h \
6745 netinet/tcp.h \
6746 netinet/tcp_fsm.h \
6747 pcap/pcap.h \
6748 poll.h \
6749 port.h \
6750 process.h \
6751 pthread.h \
6752 pwd.h \
6753 sched.h \
6754 scsi/scsi.h \
6755 scsi/scsi_ioctl.h \
6756 scsi/sg.h \
6757 stdbool.h \
6758 stdint.h \
6759 stropts.h \
6760 sys/asoundlib.h \
6761 sys/attr.h \
6762 sys/cdio.h \
6763 sys/elf32.h \
6764 sys/epoll.h \
6765 sys/event.h \
6766 sys/exec_elf.h \
6767 sys/filio.h \
6768 sys/inotify.h \
6769 sys/ioctl.h \
6770 sys/ipc.h \
6771 sys/limits.h \
6772 sys/link.h \
6773 sys/mman.h \
6774 sys/modem.h \
6775 sys/msg.h \
6776 sys/mtio.h \
6777 sys/param.h \
6778 sys/poll.h \
6779 sys/prctl.h \
6780 sys/protosw.h \
6781 sys/ptrace.h \
6782 sys/queue.h \
6783 sys/resource.h \
6784 sys/scsiio.h \
6785 sys/shm.h \
6786 sys/signal.h \
6787 sys/socket.h \
6788 sys/socketvar.h \
6789 sys/sockio.h \
6790 sys/statvfs.h \
6791 sys/strtio.h \
6792 sys/syscall.h \
6793 sys/tihdr.h \
6794 sys/time.h \
6795 sys/timeout.h \
6796 sys/times.h \
6797 sys/uio.h \
6798 sys/user.h \
6799 sys/utsname.h \
6800 sys/vm86.h \
6801 sys/vnode.h \
6802 sys/wait.h \
6803 syscall.h \
6804 termios.h \
6805 unistd.h \
6806 utime.h \
6807 valgrind/memcheck.h \
6808 valgrind/valgrind.h \
6809 zlib.h
6811 do :
6812 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6813 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6814 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6815 cat >>confdefs.h <<_ACEOF
6816 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6817 _ACEOF
6821 done
6823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6824 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6825 if ${ac_cv_header_stat_broken+:} false; then :
6826 $as_echo_n "(cached) " >&6
6827 else
6828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6829 /* end confdefs.h. */
6830 #include <sys/types.h>
6831 #include <sys/stat.h>
6833 #if defined S_ISBLK && defined S_IFDIR
6834 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6835 #endif
6837 #if defined S_ISBLK && defined S_IFCHR
6838 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6839 #endif
6841 #if defined S_ISLNK && defined S_IFREG
6842 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6843 #endif
6845 #if defined S_ISSOCK && defined S_IFREG
6846 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6847 #endif
6849 _ACEOF
6850 if ac_fn_c_try_compile "$LINENO"; then :
6851 ac_cv_header_stat_broken=no
6852 else
6853 ac_cv_header_stat_broken=yes
6855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6858 $as_echo "$ac_cv_header_stat_broken" >&6; }
6859 if test $ac_cv_header_stat_broken = yes; then
6861 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6867 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6868 do :
6869 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6870 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6871 #ifdef HAVE_SYS_PARAM_H
6872 # include <sys/param.h>
6873 #endif
6875 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6876 cat >>confdefs.h <<_ACEOF
6877 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6878 _ACEOF
6882 done
6885 for ac_header in \
6886 netinet/ip.h \
6887 net/if.h \
6888 net/if_arp.h \
6889 net/if_dl.h \
6890 net/if_types.h \
6891 net/route.h \
6892 netinet/if_ether.h \
6893 netinet/if_inarp.h \
6894 netinet/in_pcb.h \
6895 netinet/ip_icmp.h \
6896 netinet/ip_var.h \
6897 netinet/udp.h \
6898 netipx/ipx.h \
6899 sys/un.h \
6901 do :
6902 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6903 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6904 #ifdef HAVE_SYS_SOCKET_H
6905 # include <sys/socket.h>
6906 #endif
6907 #ifdef HAVE_SYS_SOCKETVAR_H
6908 # include <sys/socketvar.h>
6909 #endif
6910 #ifdef HAVE_NET_ROUTE_H
6911 # include <net/route.h>
6912 #endif
6913 #ifdef HAVE_NETINET_IN_H
6914 # include <netinet/in.h>
6915 #endif
6916 #ifdef HAVE_NETINET_IN_SYSTM_H
6917 # include <netinet/in_systm.h>
6918 #endif
6919 #ifdef HAVE_NET_IF_H
6920 # include <net/if.h>
6921 #endif
6922 #ifdef HAVE_NETINET_IP_H
6923 # include <netinet/ip.h>
6924 #endif
6926 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6927 cat >>confdefs.h <<_ACEOF
6928 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6929 _ACEOF
6933 done
6936 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6937 do :
6938 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6939 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6940 #ifdef HAVE_ALIAS_H
6941 # include <alias.h>
6942 #endif
6943 #ifdef HAVE_SYS_SOCKET_H
6944 # include <sys/socket.h>
6945 #endif
6946 #ifdef HAVE_SYS_SOCKETVAR_H
6947 # include <sys/socketvar.h>
6948 #endif
6949 #ifdef HAVE_SYS_TIMEOUT_H
6950 # include <sys/timeout.h>
6951 #endif
6952 #ifdef HAVE_NETINET_IN_H
6953 # include <netinet/in.h>
6954 #endif
6955 #ifdef HAVE_NETINET_IN_SYSTM_H
6956 # include <netinet/in_systm.h>
6957 #endif
6958 #ifdef HAVE_NETINET_IP_H
6959 # include <netinet/ip.h>
6960 #endif
6961 #ifdef HAVE_NETINET_IP_VAR_H
6962 # include <netinet/ip_var.h>
6963 #endif
6964 #ifdef HAVE_NETINET_IP_ICMP_H
6965 # include <netinet/ip_icmp.h>
6966 #endif
6967 #ifdef HAVE_NETINET_UDP_H
6968 # include <netinet/udp.h>
6969 #endif
6970 #ifdef HAVE_NETINET_TCP_H
6971 # include <netinet/tcp.h>
6972 #endif
6973 #ifdef HAVE_NETINET_TCP_TIMER_H
6974 #include <netinet/tcp_timer.h>
6975 #endif
6977 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6978 cat >>confdefs.h <<_ACEOF
6979 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6980 _ACEOF
6984 done
6987 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6988 do :
6989 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6990 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6991 #ifdef HAVE_ASM_TYPES_H
6992 # include <asm/types.h>
6993 #endif
6994 #ifdef HAVE_SYS_SOCKET_H
6995 # include <sys/socket.h>
6996 #endif
6997 #ifdef HAVE_LINUX_TYPES_H
6998 # include <linux/types.h>
6999 #endif
7001 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7002 cat >>confdefs.h <<_ACEOF
7003 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7004 _ACEOF
7008 done
7011 for ac_header in mach-o/dyld_images.h
7012 do :
7013 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7014 # include <stdbool.h>
7015 #endif
7016 #ifdef HAVE_STDINT_H
7017 # include <stdint.h>
7018 #endif
7020 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7021 cat >>confdefs.h <<_ACEOF
7022 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7023 _ACEOF
7027 done
7030 for ac_header in resolv.h
7031 do :
7032 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7033 #ifdef HAVE_SYS_SOCKET_H
7034 # include <sys/socket.h>
7035 #endif
7036 #ifdef HAVE_NETINET_IN_H
7037 # include <netinet/in.h>
7038 #endif
7039 #ifdef HAVE_ARPA_NAMESER_H
7040 # include <arpa/nameser.h>
7041 #endif
7043 if test "x$ac_cv_header_resolv_h" = xyes; then :
7044 cat >>confdefs.h <<_ACEOF
7045 #define HAVE_RESOLV_H 1
7046 _ACEOF
7050 done
7053 for ac_header in ifaddrs.h
7054 do :
7055 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7057 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7058 cat >>confdefs.h <<_ACEOF
7059 #define HAVE_IFADDRS_H 1
7060 _ACEOF
7064 done
7067 for ac_header in sys/ucontext.h
7068 do :
7069 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7071 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7072 cat >>confdefs.h <<_ACEOF
7073 #define HAVE_SYS_UCONTEXT_H 1
7074 _ACEOF
7078 done
7081 for ac_header in sys/thr.h
7082 do :
7083 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7084 #ifdef HAVE_SYS_UCONTEXT_H
7085 #include <sys/ucontext.h>
7086 #endif
7088 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7089 cat >>confdefs.h <<_ACEOF
7090 #define HAVE_SYS_THR_H 1
7091 _ACEOF
7095 done
7098 for ac_header in pthread_np.h
7099 do :
7100 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7101 #include <pthread.h>
7102 #endif
7104 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7105 cat >>confdefs.h <<_ACEOF
7106 #define HAVE_PTHREAD_NP_H 1
7107 _ACEOF
7111 done
7114 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7115 do :
7116 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7117 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7118 #include <sys/time.h>
7119 #endif
7120 #include <sys/types.h>
7121 #ifdef HAVE_ASM_TYPES_H
7122 #include <asm/types.h>
7123 #endif
7125 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7126 cat >>confdefs.h <<_ACEOF
7127 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7128 _ACEOF
7132 done
7135 for ac_header in libprocstat.h
7136 do :
7137 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7138 #include <sys/param.h>
7139 #endif
7140 #ifdef HAVE_SYS_QUEUE_H
7141 #include <sys/queue.h>
7142 #endif
7143 #ifdef HAVE_SYS_SOCKET_H
7144 #include <sys/socket.h>
7145 #endif
7147 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7148 cat >>confdefs.h <<_ACEOF
7149 #define HAVE_LIBPROCSTAT_H 1
7150 _ACEOF
7154 done
7158 dlldir="\${libdir}/wine"
7160 DLLFLAGS="-D_REENTRANT"
7162 LDRPATH_INSTALL=""
7164 LDRPATH_LOCAL=""
7166 LDEXECFLAGS=""
7168 LIBEXT="so"
7169 DLLEXT=".so"
7170 IMPLIBEXT="def"
7171 STATIC_IMPLIBEXT="def.a"
7172 # Extract the first word of "ldd", so it can be a program name with args.
7173 set dummy ldd; ac_word=$2
7174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7175 $as_echo_n "checking for $ac_word... " >&6; }
7176 if ${ac_cv_path_LDD+:} false; then :
7177 $as_echo_n "(cached) " >&6
7178 else
7179 case $LDD in
7180 [\\/]* | ?:[\\/]*)
7181 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7185 as_dummy="/sbin:/usr/sbin:$PATH"
7186 for as_dir in $as_dummy
7188 IFS=$as_save_IFS
7189 test -z "$as_dir" && as_dir=.
7190 for ac_exec_ext in '' $ac_executable_extensions; do
7191 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7192 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7193 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7194 break 2
7196 done
7197 done
7198 IFS=$as_save_IFS
7200 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7202 esac
7204 LDD=$ac_cv_path_LDD
7205 if test -n "$LDD"; then
7206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7207 $as_echo "$LDD" >&6; }
7208 else
7209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7210 $as_echo "no" >&6; }
7214 if test -n "$ac_tool_prefix"; then
7215 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7216 set dummy ${ac_tool_prefix}otool; ac_word=$2
7217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7218 $as_echo_n "checking for $ac_word... " >&6; }
7219 if ${ac_cv_prog_OTOOL+:} false; then :
7220 $as_echo_n "(cached) " >&6
7221 else
7222 if test -n "$OTOOL"; then
7223 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7224 else
7225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7226 for as_dir in $PATH
7228 IFS=$as_save_IFS
7229 test -z "$as_dir" && as_dir=.
7230 for ac_exec_ext in '' $ac_executable_extensions; do
7231 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7232 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7233 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7234 break 2
7236 done
7237 done
7238 IFS=$as_save_IFS
7242 OTOOL=$ac_cv_prog_OTOOL
7243 if test -n "$OTOOL"; then
7244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7245 $as_echo "$OTOOL" >&6; }
7246 else
7247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7248 $as_echo "no" >&6; }
7253 if test -z "$ac_cv_prog_OTOOL"; then
7254 ac_ct_OTOOL=$OTOOL
7255 # Extract the first word of "otool", so it can be a program name with args.
7256 set dummy otool; ac_word=$2
7257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7258 $as_echo_n "checking for $ac_word... " >&6; }
7259 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7260 $as_echo_n "(cached) " >&6
7261 else
7262 if test -n "$ac_ct_OTOOL"; then
7263 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7264 else
7265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7266 for as_dir in $PATH
7268 IFS=$as_save_IFS
7269 test -z "$as_dir" && as_dir=.
7270 for ac_exec_ext in '' $ac_executable_extensions; do
7271 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7272 ac_cv_prog_ac_ct_OTOOL="otool"
7273 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7274 break 2
7276 done
7277 done
7278 IFS=$as_save_IFS
7282 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7283 if test -n "$ac_ct_OTOOL"; then
7284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7285 $as_echo "$ac_ct_OTOOL" >&6; }
7286 else
7287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7288 $as_echo "no" >&6; }
7291 if test "x$ac_ct_OTOOL" = x; then
7292 OTOOL="otool"
7293 else
7294 case $cross_compiling:$ac_tool_warned in
7295 yes:)
7296 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7297 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7298 ac_tool_warned=yes ;;
7299 esac
7300 OTOOL=$ac_ct_OTOOL
7302 else
7303 OTOOL="$ac_cv_prog_OTOOL"
7306 if test -n "$ac_tool_prefix"; then
7307 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7308 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7310 $as_echo_n "checking for $ac_word... " >&6; }
7311 if ${ac_cv_prog_READELF+:} false; then :
7312 $as_echo_n "(cached) " >&6
7313 else
7314 if test -n "$READELF"; then
7315 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7316 else
7317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7318 for as_dir in $PATH
7320 IFS=$as_save_IFS
7321 test -z "$as_dir" && as_dir=.
7322 for ac_exec_ext in '' $ac_executable_extensions; do
7323 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7324 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7325 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7326 break 2
7328 done
7329 done
7330 IFS=$as_save_IFS
7334 READELF=$ac_cv_prog_READELF
7335 if test -n "$READELF"; then
7336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7337 $as_echo "$READELF" >&6; }
7338 else
7339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7340 $as_echo "no" >&6; }
7345 if test -z "$ac_cv_prog_READELF"; then
7346 ac_ct_READELF=$READELF
7347 # Extract the first word of "readelf", so it can be a program name with args.
7348 set dummy readelf; ac_word=$2
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7350 $as_echo_n "checking for $ac_word... " >&6; }
7351 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7352 $as_echo_n "(cached) " >&6
7353 else
7354 if test -n "$ac_ct_READELF"; then
7355 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7356 else
7357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7358 for as_dir in $PATH
7360 IFS=$as_save_IFS
7361 test -z "$as_dir" && as_dir=.
7362 for ac_exec_ext in '' $ac_executable_extensions; do
7363 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7364 ac_cv_prog_ac_ct_READELF="readelf"
7365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7366 break 2
7368 done
7369 done
7370 IFS=$as_save_IFS
7374 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7375 if test -n "$ac_ct_READELF"; then
7376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7377 $as_echo "$ac_ct_READELF" >&6; }
7378 else
7379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7380 $as_echo "no" >&6; }
7383 if test "x$ac_ct_READELF" = x; then
7384 READELF="true"
7385 else
7386 case $cross_compiling:$ac_tool_warned in
7387 yes:)
7388 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7389 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7390 ac_tool_warned=yes ;;
7391 esac
7392 READELF=$ac_ct_READELF
7394 else
7395 READELF="$ac_cv_prog_READELF"
7398 wine_rules_file=conf$$rules.make
7399 rm -f $wine_rules_file
7400 ALL_POT_FILES=""
7401 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7402 SUBDIRS=""
7404 ALL_TEST_RESOURCES=""
7407 wine_fn_append_file ()
7409 as_fn_append $1 " \\$as_nl $2"
7412 wine_fn_ignore_file ()
7414 case "$1" in
7415 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7416 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7417 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7418 esac
7421 wine_fn_append_rule ()
7423 $as_echo "$1" >>$wine_rules_file
7426 wine_fn_has_flag ()
7428 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7431 wine_fn_depend_rules ()
7433 wine_fn_append_file SUBDIRS $ac_dir
7436 wine_fn_pot_rules ()
7438 test "x$with_gettextpo" = xyes || return
7440 if wine_fn_has_flag mc
7441 then
7442 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7443 wine_fn_append_rule \
7444 "$ac_dir/msg.pot: dummy
7445 @cd $ac_dir && \$(MAKE) msg.pot
7446 $ac_dir/msg.pot: tools/wmc include"
7448 if wine_fn_has_flag po
7449 then
7450 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7451 wine_fn_append_rule \
7452 "$ac_dir/rsrc.pot: dummy
7453 @cd $ac_dir && \$(MAKE) rsrc.pot
7454 $ac_dir/rsrc.pot: tools/wrc include"
7458 wine_fn_all_rules ()
7460 wine_fn_depend_rules
7461 wine_fn_append_rule \
7462 "all: $ac_dir
7463 .PHONY: $ac_dir
7464 $ac_dir: dummy
7465 @cd $ac_dir && \$(MAKE)"
7468 wine_fn_install_rules ()
7470 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7472 wine_fn_append_rule \
7473 ".PHONY: $ac_dir/install $ac_dir/uninstall
7474 $ac_dir/install:: $ac_dir
7475 @cd $ac_dir && \$(MAKE) install
7476 $ac_dir/uninstall::
7477 @cd $ac_dir && \$(MAKE) uninstall
7478 install:: $ac_dir/install
7479 __uninstall__: $ac_dir/uninstall"
7481 if wine_fn_has_flag install-lib
7482 then
7483 wine_fn_append_rule \
7484 ".PHONY: $ac_dir/install-lib
7485 $ac_dir/install-lib:: $ac_dir
7486 @cd $ac_dir && \$(MAKE) install-lib
7487 install-lib:: $ac_dir/install-lib"
7490 if wine_fn_has_flag install-dev
7491 then
7492 wine_fn_append_rule \
7493 ".PHONY: $ac_dir/install-dev
7494 $ac_dir/install-dev:: $ac_dir
7495 @cd $ac_dir && \$(MAKE) install-dev
7496 install-dev:: $ac_dir/install-dev"
7500 wine_fn_clean_rules ()
7502 ac_clean=$@
7504 if wine_fn_has_flag clean
7505 then
7506 wine_fn_append_rule \
7507 "$ac_dir/clean: dummy
7508 @cd $ac_dir && \$(MAKE) clean"
7509 else
7510 wine_fn_append_rule \
7511 "$ac_dir/clean: dummy
7512 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7514 wine_fn_append_rule \
7515 "__clean__: $ac_dir/clean
7516 .PHONY: $ac_dir/clean"
7519 wine_fn_disabled_rules ()
7521 ac_clean=$@
7523 wine_fn_append_rule \
7524 "__clean__: $ac_dir/clean
7525 .PHONY: $ac_dir/clean
7526 $ac_dir/clean: dummy
7527 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7530 wine_fn_config_makefile ()
7532 ac_dir=$1
7533 ac_enable=$2
7534 ac_flags=$3
7536 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7537 wine_fn_disabled_rules; return
7539 wine_fn_all_rules
7540 wine_fn_install_rules
7541 wine_fn_clean_rules
7544 wine_fn_config_lib ()
7546 ac_name=$1
7547 ac_flags=$2
7548 ac_dir=dlls/$ac_name
7549 ac_deps="include"
7551 if test "x$enable_tools" = xno; then :
7553 else
7554 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7556 wine_fn_all_rules
7557 wine_fn_clean_rules
7559 wine_fn_append_rule \
7560 ".PHONY: $ac_dir/install $ac_dir/uninstall
7561 $ac_dir/install:: $ac_dir
7562 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7563 $ac_dir/uninstall::
7564 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7565 install install-dev:: $ac_dir/install
7566 __uninstall__: $ac_dir/uninstall
7567 __builddeps__: $ac_dir
7568 $ac_dir: $ac_deps"
7571 wine_fn_config_dll ()
7573 ac_name=$1
7574 ac_dir=dlls/$ac_name
7575 ac_enable=$2
7576 ac_flags=$3
7577 ac_implib=${4:-$ac_name}
7578 ac_file=$ac_dir/lib$ac_implib
7579 ac_dll=$ac_name
7580 ac_deps="include"
7581 ac_implibflags=""
7583 if test "x$enable_tools" = xno; then :
7585 else
7586 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7588 case $ac_name in
7589 *16) ac_implibflags=" -m16" ;;
7590 *.*) ;;
7591 *) ac_dll=$ac_dll.dll ;;
7592 esac
7594 ac_clean=
7595 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7596 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7597 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7598 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7600 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7601 if test "$ac_enable" != enable_win16
7602 then
7603 wine_fn_depend_rules
7604 wine_fn_clean_rules $ac_clean
7605 wine_fn_pot_rules
7606 else
7607 wine_fn_disabled_rules $ac_clean
7608 return
7610 else
7611 wine_fn_all_rules
7612 wine_fn_clean_rules $ac_clean
7613 wine_fn_append_rule \
7614 "$ac_dir: __builddeps__
7615 manpages htmlpages sgmlpages xmlpages::
7616 @cd $ac_dir && \$(MAKE) \$@
7617 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7618 install install-lib:: $ac_dir/install-lib
7619 __uninstall__: $ac_dir/uninstall"
7620 if test -n "$DLLEXT"
7621 then
7622 wine_fn_append_rule \
7623 "$ac_dir/install-lib:: $ac_dir
7624 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7625 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7626 $ac_dir/uninstall::
7627 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7628 else
7629 wine_fn_append_rule \
7630 "$ac_dir/install-lib:: $ac_dir
7631 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7632 $ac_dir/uninstall::
7633 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7636 wine_fn_pot_rules
7639 if wine_fn_has_flag staticimplib
7640 then
7641 wine_fn_append_rule \
7642 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7643 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7644 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7645 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7646 $ac_file.$STATIC_IMPLIBEXT: dummy
7647 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7648 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7649 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7650 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7651 $ac_dir/uninstall::
7652 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7653 install install-dev:: $ac_dir/install-dev
7654 __uninstall__: $ac_dir/uninstall"
7656 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7657 then
7658 wine_fn_append_rule \
7659 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7660 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7661 $ac_dir/uninstall::
7662 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7665 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7666 then
7667 wine_fn_append_rule \
7668 "__builddeps__: $ac_file.cross.a
7669 $ac_file.cross.a: dummy
7670 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7673 elif wine_fn_has_flag implib
7674 then
7675 wine_fn_append_rule \
7676 "__builddeps__: $ac_file.$IMPLIBEXT
7677 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7678 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7679 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7680 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7681 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7682 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7683 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7684 $ac_dir/uninstall::
7685 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7686 install install-dev:: $ac_dir/install-dev
7687 __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: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7693 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7696 if test "$ac_name" != "$ac_implib"
7697 then
7698 wine_fn_append_rule \
7699 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7700 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7701 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7702 clean::
7703 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7704 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7705 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7706 then
7707 wine_fn_append_rule \
7708 "__builddeps__: dlls/lib$ac_implib.cross.a
7709 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7710 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7711 clean::
7712 \$(RM) dlls/lib$ac_implib.cross.a"
7713 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7719 wine_fn_config_program ()
7721 ac_name=$1
7722 ac_dir=programs/$ac_name
7723 ac_enable=$2
7724 ac_flags=$3
7725 ac_program=$ac_name
7727 case $ac_name in
7728 *.*) ;;
7729 *) ac_program=$ac_program.exe ;;
7730 esac
7732 ac_clean=
7733 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7734 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
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__"
7745 wine_fn_pot_rules
7747 wine_fn_has_flag install || return
7748 wine_fn_append_rule \
7749 ".PHONY: $ac_dir/install $ac_dir/uninstall
7750 install install-lib:: $ac_dir/install
7751 __uninstall__: $ac_dir/uninstall"
7753 if test -n "$DLLEXT"
7754 then
7755 wine_fn_append_rule \
7756 "$ac_dir/install:: $ac_dir
7757 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7758 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7759 $ac_dir/uninstall::
7760 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7762 if test -z "$with_wine64" && wine_fn_has_flag installbin
7763 then
7764 wine_fn_append_rule \
7765 "$ac_dir/install:: __tooldeps__
7766 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7767 $ac_dir/uninstall::
7768 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7770 else
7771 wine_fn_append_rule \
7772 "$ac_dir/install:: $ac_dir
7773 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7774 $ac_dir/uninstall::
7775 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7778 if test -z "$with_wine64" && wine_fn_has_flag manpage
7779 then
7780 wine_fn_append_rule \
7781 "$ac_dir/install:: $ac_dir
7782 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7783 $ac_dir/uninstall::
7784 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7788 wine_fn_config_test ()
7790 ac_dir=$1
7791 ac_name=$2
7792 ac_flags=$3
7794 ac_clean=
7795 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7796 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7798 if test "x$enable_tests" = xno; then :
7799 wine_fn_disabled_rules $ac_clean; return
7802 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7803 wine_fn_all_rules
7804 wine_fn_clean_rules $ac_clean
7806 wine_fn_append_rule \
7807 "$ac_dir: __builddeps__
7808 programs/winetest: $ac_dir
7809 check test: $ac_dir/test
7810 .PHONY: $ac_dir/test
7811 $ac_dir/test: dummy
7812 @cd $ac_dir && \$(MAKE) test
7813 testclean::
7814 \$(RM) $ac_dir/*.ok"
7816 if test -n "$CROSSTARGET"
7817 then
7818 wine_fn_append_rule \
7819 "crosstest: $ac_dir/crosstest
7820 .PHONY: $ac_dir/crosstest
7821 $ac_dir/crosstest: __builddeps__ dummy
7822 @cd $ac_dir && \$(MAKE) crosstest"
7826 wine_fn_config_tool ()
7828 ac_dir=$1
7829 ac_flags=$2
7830 if test "x$enable_tools" = xno; then :
7831 return
7834 wine_fn_all_rules
7835 wine_fn_install_rules
7836 wine_fn_clean_rules
7838 wine_fn_append_rule "__tooldeps__: $ac_dir"
7839 wine_fn_append_rule "$ac_dir: libs/port"
7840 case $ac_dir in
7841 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7842 esac
7845 wine_fn_config_symlink ()
7847 ac_linkdir=
7848 if test "x$1" = "x-d"
7849 then
7850 ac_linkdir=$2
7851 shift; shift
7853 ac_links=$@
7854 wine_fn_append_rule \
7855 "$ac_links:
7856 @./config.status \$@
7857 distclean::
7858 \$(RM) $ac_links"
7859 for f in $ac_links; do wine_fn_ignore_file $f; done
7860 test -n "$ac_linkdir" || return
7861 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7864 wine_binary="wine"
7865 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7866 WINELOADER_PROGRAMS="$wine_binary"
7868 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7870 case $host_os in
7871 cygwin*|mingw32*)
7872 if test -n "$ac_tool_prefix"; then
7873 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7874 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7876 $as_echo_n "checking for $ac_word... " >&6; }
7877 if ${ac_cv_prog_DLLTOOL+:} false; then :
7878 $as_echo_n "(cached) " >&6
7879 else
7880 if test -n "$DLLTOOL"; then
7881 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7882 else
7883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7884 for as_dir in $PATH
7886 IFS=$as_save_IFS
7887 test -z "$as_dir" && as_dir=.
7888 for ac_exec_ext in '' $ac_executable_extensions; do
7889 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7890 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7891 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7892 break 2
7894 done
7895 done
7896 IFS=$as_save_IFS
7900 DLLTOOL=$ac_cv_prog_DLLTOOL
7901 if test -n "$DLLTOOL"; then
7902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7903 $as_echo "$DLLTOOL" >&6; }
7904 else
7905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7906 $as_echo "no" >&6; }
7911 if test -z "$ac_cv_prog_DLLTOOL"; then
7912 ac_ct_DLLTOOL=$DLLTOOL
7913 # Extract the first word of "dlltool", so it can be a program name with args.
7914 set dummy dlltool; ac_word=$2
7915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7916 $as_echo_n "checking for $ac_word... " >&6; }
7917 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7918 $as_echo_n "(cached) " >&6
7919 else
7920 if test -n "$ac_ct_DLLTOOL"; then
7921 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7922 else
7923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7924 for as_dir in $PATH
7926 IFS=$as_save_IFS
7927 test -z "$as_dir" && as_dir=.
7928 for ac_exec_ext in '' $ac_executable_extensions; do
7929 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7930 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7932 break 2
7934 done
7935 done
7936 IFS=$as_save_IFS
7940 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7941 if test -n "$ac_ct_DLLTOOL"; then
7942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7943 $as_echo "$ac_ct_DLLTOOL" >&6; }
7944 else
7945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7946 $as_echo "no" >&6; }
7949 if test "x$ac_ct_DLLTOOL" = x; then
7950 DLLTOOL="false"
7951 else
7952 case $cross_compiling:$ac_tool_warned in
7953 yes:)
7954 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7955 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7956 ac_tool_warned=yes ;;
7957 esac
7958 DLLTOOL=$ac_ct_DLLTOOL
7960 else
7961 DLLTOOL="$ac_cv_prog_DLLTOOL"
7964 LIBEXT="dll"
7965 DLLEXT=""
7966 IMPLIBEXT="a"
7967 STATIC_IMPLIBEXT="a"
7968 enable_iphlpapi=${enable_iphlpapi:-no}
7969 enable_kernel32=${enable_kernel32:-no}
7970 enable_msvcrt=${enable_msvcrt:-no}
7971 enable_ntdll=${enable_ntdll:-no}
7972 enable_ws2_32=${enable_ws2_32:-no}
7973 enable_loader=${enable_loader:-no}
7974 enable_server=${enable_server:-no}
7975 with_x=${with_x:-no}
7976 with_pthread=${with_pthread:-no}
7978 crtlibs=""
7979 case $host_os in
7980 mingw32*)
7981 crtlibs="-lmsvcrt"
7982 SOCKET_LIBS="-lws2_32"
7984 esac
7986 LIBWINE_SHAREDLIB="libwine.dll"
7988 LIBWINE_IMPORTLIB="libwine.a"
7990 LIBWINE_INSTALL_LIB="libwine.dll"
7992 LIBWINE_INSTALL_DEV="libwine.a"
7994 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
7996 LIBWINE_DEPENDS="wine.def"
8000 darwin*|macosx*)
8001 for ac_header in libunwind.h
8002 do :
8003 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8004 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8005 cat >>confdefs.h <<_ACEOF
8006 #define HAVE_LIBUNWIND_H 1
8007 _ACEOF
8011 done
8013 LIBEXT="dylib"
8014 DLLFLAGS="$DLLFLAGS -fPIC"
8015 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8016 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8017 COREFOUNDATION_LIBS="-framework CoreFoundation"
8019 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8021 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8023 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8025 CORESERVICES_LIBS="-framework CoreServices"
8027 APPKIT_LIBS="-framework AppKit"
8029 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8031 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8032 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8033 $as_echo_n "(cached) " >&6
8034 else
8035 ac_wine_try_cflags_saved=$CFLAGS
8036 CFLAGS="$CFLAGS -Wl,-no_pie"
8037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8038 /* end confdefs.h. */
8039 int main(int argc, char **argv) { return 0; }
8040 _ACEOF
8041 if ac_fn_c_try_link "$LINENO"; then :
8042 ac_cv_cflags__Wl__no_pie=yes
8043 else
8044 ac_cv_cflags__Wl__no_pie=no
8046 rm -f core conftest.err conftest.$ac_objext \
8047 conftest$ac_exeext conftest.$ac_ext
8048 CFLAGS=$ac_wine_try_cflags_saved
8050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8051 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8052 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8053 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8055 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8056 then
8057 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8060 if test "$ac_cv_header_Security_Security_h" = "yes"
8061 then
8062 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8064 ac_save_LIBS="$LIBS"
8065 LIBS="$LIBS $SECURITY_LIBS"
8066 for ac_func in SSLCopyPeerCertificates
8067 do :
8068 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8069 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8070 cat >>confdefs.h <<_ACEOF
8071 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8072 _ACEOF
8075 done
8077 LIBS="$ac_save_LIBS"
8078 with_gnutls=${with_gnutls:-no}
8080 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8081 then
8082 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8083 then
8084 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8086 else
8087 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8090 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8091 ac_save_LIBS="$LIBS"
8092 LIBS="$LIBS $COREAUDIO_LIBS"
8093 for ac_func in AUGraphAddNode
8094 do :
8095 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8096 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8097 cat >>confdefs.h <<_ACEOF
8098 #define HAVE_AUGRAPHADDNODE 1
8099 _ACEOF
8102 done
8104 LIBS="$ac_save_LIBS"
8106 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8107 then
8108 OPENAL_LIBS="-framework OpenAL"
8111 cat >>confdefs.h <<_ACEOF
8112 #define HAVE_OPENAL 1
8113 _ACEOF
8115 ac_cv_lib_openal=yes
8117 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8118 then
8119 OPENCL_LIBS="-framework OpenCL"
8121 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8123 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8124 then
8125 ac_save_LIBS="$LIBS"
8126 LIBS="$LIBS $IOKIT_LIBS"
8127 for ac_func in IOHIDManagerCreate
8128 do :
8129 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8130 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8131 cat >>confdefs.h <<_ACEOF
8132 #define HAVE_IOHIDMANAGERCREATE 1
8133 _ACEOF
8136 done
8138 LIBS="$ac_save_LIBS"
8140 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8141 then
8142 ac_save_LIBS="$LIBS"
8143 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8145 $as_echo_n "checking for the QuickTime framework... " >&6; }
8146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8147 /* end confdefs.h. */
8148 #include <QuickTime/ImageCompression.h>
8150 main ()
8152 CodecManagerVersion(NULL);
8154 return 0;
8156 _ACEOF
8157 if ac_fn_c_try_link "$LINENO"; then :
8158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8159 $as_echo "yes" >&6; }
8160 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8162 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8163 else
8164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8165 $as_echo "no" >&6; }
8166 ac_cv_header_QuickTime_ImageCompression_h=no
8168 rm -f core conftest.err conftest.$ac_objext \
8169 conftest$ac_exeext conftest.$ac_ext
8170 LIBS="$ac_save_LIBS"
8172 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8173 then
8174 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8176 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8177 then
8178 CARBON_LIBS="-framework Carbon"
8182 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8183 then
8184 ac_save_LIBS="$LIBS"
8185 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8186 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8187 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8188 enable_winemac_drv=${enable_winemac_drv:-yes}
8191 LIBS="$ac_save_LIBS"
8194 if test "x$enable_win16" = "xyes"
8195 then
8196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8197 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8198 if test "$cross_compiling" = yes; then :
8199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8200 $as_echo "cross-compiling, assuming yes" >&6; }
8201 else
8202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8203 /* end confdefs.h. */
8204 asm(".text\n"
8205 "bad:\tnop;nop\n"
8206 "good:\tnop;nop\n\t"
8207 ".globl _testfunc\n"
8208 "_testfunc:\tcallw good");
8209 extern void testfunc();
8211 main ()
8213 unsigned short *p = (unsigned short *)testfunc;
8214 return p[0] != 0xe866 || p[1] != 0xfffa
8216 return 0;
8218 _ACEOF
8219 if ac_fn_c_try_run "$LINENO"; then :
8220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8221 $as_echo "yes" >&6; }
8222 else
8223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8224 $as_echo "no" >&6; }
8225 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
8227 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8228 conftest.$ac_objext conftest.beam conftest.$ac_ext
8233 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8235 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8237 LIBWINE_INSTALL_DEV="libwine.dylib"
8239 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8241 WINELOADER_DEPENDS="wine_info.plist"
8245 linux-android*)
8246 DLLFLAGS="$DLLFLAGS -fPIC"
8247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8248 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8249 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8250 $as_echo_n "(cached) " >&6
8251 else
8252 ac_wine_try_cflags_saved=$CFLAGS
8253 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8255 /* end confdefs.h. */
8256 int main(int argc, char **argv) { return 0; }
8257 _ACEOF
8258 if ac_fn_c_try_link "$LINENO"; then :
8259 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8260 else
8261 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8263 rm -f core conftest.err conftest.$ac_objext \
8264 conftest$ac_exeext conftest.$ac_ext
8265 CFLAGS=$ac_wine_try_cflags_saved
8267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8268 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8269 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8270 LDEXECFLAGS="-Wl,--export-dynamic"
8272 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8274 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8275 if eval \${$as_ac_var+:} false; then :
8276 $as_echo_n "(cached) " >&6
8277 else
8278 ac_wine_try_cflags_saved=$CFLAGS
8279 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8281 /* end confdefs.h. */
8282 int main(int argc, char **argv) { return 0; }
8283 _ACEOF
8284 if ac_fn_c_try_link "$LINENO"; then :
8285 eval "$as_ac_var=yes"
8286 else
8287 eval "$as_ac_var=no"
8289 rm -f core conftest.err conftest.$ac_objext \
8290 conftest$ac_exeext conftest.$ac_ext
8291 CFLAGS=$ac_wine_try_cflags_saved
8293 eval ac_res=\$$as_ac_var
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8295 $as_echo "$ac_res" >&6; }
8296 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8297 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8298 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8299 else
8300 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8302 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8303 if eval \${$as_ac_var+:} false; then :
8304 $as_echo_n "(cached) " >&6
8305 else
8306 ac_wine_try_cflags_saved=$CFLAGS
8307 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8309 /* end confdefs.h. */
8310 int main(int argc, char **argv) { return 0; }
8311 _ACEOF
8312 if ac_fn_c_try_link "$LINENO"; then :
8313 eval "$as_ac_var=yes"
8314 else
8315 eval "$as_ac_var=no"
8317 rm -f core conftest.err conftest.$ac_objext \
8318 conftest$ac_exeext conftest.$ac_ext
8319 CFLAGS=$ac_wine_try_cflags_saved
8321 eval ac_res=\$$as_ac_var
8322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8323 $as_echo "$ac_res" >&6; }
8324 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8325 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8326 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8331 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8332 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8333 $as_echo_n "(cached) " >&6
8334 else
8335 ac_wine_try_cflags_saved=$CFLAGS
8336 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8338 /* end confdefs.h. */
8339 int main(int argc, char **argv) { return 0; }
8340 _ACEOF
8341 if ac_fn_c_try_link "$LINENO"; then :
8342 ac_cv_cflags__Wl___enable_new_dtags=yes
8343 else
8344 ac_cv_cflags__Wl___enable_new_dtags=no
8346 rm -f core conftest.err conftest.$ac_objext \
8347 conftest$ac_exeext conftest.$ac_ext
8348 CFLAGS=$ac_wine_try_cflags_saved
8350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8351 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8352 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8353 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8356 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8357 if ${ac_cv_cflags__Wl__pie+:} false; then :
8358 $as_echo_n "(cached) " >&6
8359 else
8360 ac_wine_try_cflags_saved=$CFLAGS
8361 CFLAGS="$CFLAGS -Wl,-pie"
8362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8363 /* end confdefs.h. */
8364 int main(int argc, char **argv) { return 0; }
8365 _ACEOF
8366 if ac_fn_c_try_link "$LINENO"; then :
8367 ac_cv_cflags__Wl__pie=yes
8368 else
8369 ac_cv_cflags__Wl__pie=no
8371 rm -f core conftest.err conftest.$ac_objext \
8372 conftest$ac_exeext conftest.$ac_ext
8373 CFLAGS=$ac_wine_try_cflags_saved
8375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8376 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8377 if test "x$ac_cv_cflags__Wl__pie" = xyes; then :
8378 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,-pie"
8381 LIBWINE_SHAREDLIB="libwine.so"
8383 LIBWINE_INSTALL_LIB="libwine.so"
8385 LIBWINE_LDFLAGS="-shared"
8390 DLLFLAGS="$DLLFLAGS -fPIC"
8391 LDEXECFLAGS=""
8392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8393 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8394 if ${ac_cv_c_dll_gnuelf+:} false; then :
8395 $as_echo_n "(cached) " >&6
8396 else
8397 ac_wine_try_cflags_saved=$CFLAGS
8398 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8400 /* end confdefs.h. */
8401 void myfunc() {}
8402 _ACEOF
8403 if ac_fn_c_try_link "$LINENO"; then :
8404 ac_cv_c_dll_gnuelf="yes"
8405 else
8406 ac_cv_c_dll_gnuelf="no"
8408 rm -f core conftest.err conftest.$ac_objext \
8409 conftest$ac_exeext conftest.$ac_ext
8410 CFLAGS=$ac_wine_try_cflags_saved
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8413 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8414 if test "$ac_cv_c_dll_gnuelf" = "yes"
8415 then
8416 LIBWINE_LDFLAGS="-shared"
8417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8418 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8419 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8420 $as_echo_n "(cached) " >&6
8421 else
8422 ac_wine_try_cflags_saved=$CFLAGS
8423 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8425 /* end confdefs.h. */
8426 int main(int argc, char **argv) { return 0; }
8427 _ACEOF
8428 if ac_fn_c_try_link "$LINENO"; then :
8429 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8430 else
8431 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8433 rm -f core conftest.err conftest.$ac_objext \
8434 conftest$ac_exeext conftest.$ac_ext
8435 CFLAGS=$ac_wine_try_cflags_saved
8437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8438 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8439 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8440 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8441 else
8442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8443 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8444 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8445 $as_echo_n "(cached) " >&6
8446 else
8447 ac_wine_try_cflags_saved=$CFLAGS
8448 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8450 /* end confdefs.h. */
8451 int main(int argc, char **argv) { return 0; }
8452 _ACEOF
8453 if ac_fn_c_try_link "$LINENO"; then :
8454 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8455 else
8456 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8458 rm -f core conftest.err conftest.$ac_objext \
8459 conftest$ac_exeext conftest.$ac_ext
8460 CFLAGS=$ac_wine_try_cflags_saved
8462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8463 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8464 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8465 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8469 echo '{ global: *; };' >conftest.map
8470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8471 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8472 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8473 $as_echo_n "(cached) " >&6
8474 else
8475 ac_wine_try_cflags_saved=$CFLAGS
8476 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8478 /* end confdefs.h. */
8479 int main(int argc, char **argv) { return 0; }
8480 _ACEOF
8481 if ac_fn_c_try_link "$LINENO"; then :
8482 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8483 else
8484 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8486 rm -f core conftest.err conftest.$ac_objext \
8487 conftest$ac_exeext conftest.$ac_ext
8488 CFLAGS=$ac_wine_try_cflags_saved
8490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8491 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8492 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8493 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8495 rm -f conftest.map
8497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8498 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8499 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8500 $as_echo_n "(cached) " >&6
8501 else
8502 ac_wine_try_cflags_saved=$CFLAGS
8503 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8505 /* end confdefs.h. */
8506 int main(int argc, char **argv) { return 0; }
8507 _ACEOF
8508 if ac_fn_c_try_link "$LINENO"; then :
8509 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8510 else
8511 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8513 rm -f core conftest.err conftest.$ac_objext \
8514 conftest$ac_exeext conftest.$ac_ext
8515 CFLAGS=$ac_wine_try_cflags_saved
8517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8518 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8519 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8520 LDEXECFLAGS="-Wl,--export-dynamic"
8523 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8525 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8526 if eval \${$as_ac_var+:} false; then :
8527 $as_echo_n "(cached) " >&6
8528 else
8529 ac_wine_try_cflags_saved=$CFLAGS
8530 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8532 /* end confdefs.h. */
8533 int main(int argc, char **argv) { return 0; }
8534 _ACEOF
8535 if ac_fn_c_try_link "$LINENO"; then :
8536 eval "$as_ac_var=yes"
8537 else
8538 eval "$as_ac_var=no"
8540 rm -f core conftest.err conftest.$ac_objext \
8541 conftest$ac_exeext conftest.$ac_ext
8542 CFLAGS=$ac_wine_try_cflags_saved
8544 eval ac_res=\$$as_ac_var
8545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8546 $as_echo "$ac_res" >&6; }
8547 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8548 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8549 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8550 else
8551 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8553 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8554 if eval \${$as_ac_var+:} false; then :
8555 $as_echo_n "(cached) " >&6
8556 else
8557 ac_wine_try_cflags_saved=$CFLAGS
8558 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8560 /* end confdefs.h. */
8561 int main(int argc, char **argv) { return 0; }
8562 _ACEOF
8563 if ac_fn_c_try_link "$LINENO"; then :
8564 eval "$as_ac_var=yes"
8565 else
8566 eval "$as_ac_var=no"
8568 rm -f core conftest.err conftest.$ac_objext \
8569 conftest$ac_exeext conftest.$ac_ext
8570 CFLAGS=$ac_wine_try_cflags_saved
8572 eval ac_res=\$$as_ac_var
8573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8574 $as_echo "$ac_res" >&6; }
8575 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8576 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8577 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8582 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8583 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8584 $as_echo_n "(cached) " >&6
8585 else
8586 ac_wine_try_cflags_saved=$CFLAGS
8587 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8589 /* end confdefs.h. */
8590 int main(int argc, char **argv) { return 0; }
8591 _ACEOF
8592 if ac_fn_c_try_link "$LINENO"; then :
8593 ac_cv_cflags__Wl___enable_new_dtags=yes
8594 else
8595 ac_cv_cflags__Wl___enable_new_dtags=no
8597 rm -f core conftest.err conftest.$ac_objext \
8598 conftest$ac_exeext conftest.$ac_ext
8599 CFLAGS=$ac_wine_try_cflags_saved
8601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8602 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8603 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8604 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8607 case $host_cpu in
8608 *i[3456789]86* | x86_64)
8609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8610 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8611 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8612 $as_echo_n "(cached) " >&6
8613 else
8614 ac_wine_try_cflags_saved=$CFLAGS
8615 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8617 /* end confdefs.h. */
8618 int main(int argc, char **argv) { return 0; }
8619 _ACEOF
8620 if ac_fn_c_try_link "$LINENO"; then :
8621 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8622 else
8623 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8625 rm -f core conftest.err conftest.$ac_objext \
8626 conftest$ac_exeext conftest.$ac_ext
8627 CFLAGS=$ac_wine_try_cflags_saved
8629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8630 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8631 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8632 case $host_os in
8633 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8634 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8635 esac
8638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8639 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8640 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8641 $as_echo_n "(cached) " >&6
8642 else
8643 ac_wine_try_cflags_saved=$CFLAGS
8644 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8646 /* end confdefs.h. */
8647 int main(int argc, char **argv) { return 0; }
8648 _ACEOF
8649 if ac_fn_c_try_link "$LINENO"; then :
8650 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8651 else
8652 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8654 rm -f core conftest.err conftest.$ac_objext \
8655 conftest$ac_exeext conftest.$ac_ext
8656 CFLAGS=$ac_wine_try_cflags_saved
8658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8659 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8660 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8662 else
8663 # Extract the first word of "prelink", so it can be a program name with args.
8664 set dummy prelink; ac_word=$2
8665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8666 $as_echo_n "checking for $ac_word... " >&6; }
8667 if ${ac_cv_path_PRELINK+:} false; then :
8668 $as_echo_n "(cached) " >&6
8669 else
8670 case $PRELINK in
8671 [\\/]* | ?:[\\/]*)
8672 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8676 for as_dir in /sbin /usr/sbin $PATH
8678 IFS=$as_save_IFS
8679 test -z "$as_dir" && as_dir=.
8680 for ac_exec_ext in '' $ac_executable_extensions; do
8681 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8682 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8683 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8684 break 2
8686 done
8687 done
8688 IFS=$as_save_IFS
8690 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8692 esac
8694 PRELINK=$ac_cv_path_PRELINK
8695 if test -n "$PRELINK"; then
8696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8697 $as_echo "$PRELINK" >&6; }
8698 else
8699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8700 $as_echo "no" >&6; }
8704 if test "x$PRELINK" = xfalse
8705 then
8706 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8710 esac
8712 else
8713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8714 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8715 if ${ac_cv_c_dll_unixware+:} false; then :
8716 $as_echo_n "(cached) " >&6
8717 else
8718 ac_wine_try_cflags_saved=$CFLAGS
8719 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8721 /* end confdefs.h. */
8722 void myfunc() {}
8723 _ACEOF
8724 if ac_fn_c_try_link "$LINENO"; then :
8725 ac_cv_c_dll_unixware="yes"
8726 else
8727 ac_cv_c_dll_unixware="no"
8729 rm -f core conftest.err conftest.$ac_objext \
8730 conftest$ac_exeext conftest.$ac_ext
8731 CFLAGS=$ac_wine_try_cflags_saved
8733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8734 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8735 if test "$ac_cv_c_dll_unixware" = "yes"
8736 then
8737 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8740 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8742 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8744 LIBWINE_INSTALL_DEV="libwine.so"
8746 LIBWINE_DEPENDS="wine.map"
8749 esac
8751 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8752 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8753 enable_winemac_drv=${enable_winemac_drv:-no}
8754 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8756 CROSSTARGET=""
8758 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8759 then
8760 case "$host_cpu" in
8761 arm*)
8762 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8763 i[3456789]86*)
8764 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
8765 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8766 mingw32-gcc" ;;
8767 x86_64)
8768 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
8769 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8771 ac_prefix_list="" ;;
8772 esac
8773 for ac_prog in $ac_prefix_list
8775 # Extract the first word of "$ac_prog", so it can be a program name with args.
8776 set dummy $ac_prog; ac_word=$2
8777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8778 $as_echo_n "checking for $ac_word... " >&6; }
8779 if ${ac_cv_prog_CROSSCC+:} false; then :
8780 $as_echo_n "(cached) " >&6
8781 else
8782 if test -n "$CROSSCC"; then
8783 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8784 else
8785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8786 for as_dir in $PATH
8788 IFS=$as_save_IFS
8789 test -z "$as_dir" && as_dir=.
8790 for ac_exec_ext in '' $ac_executable_extensions; do
8791 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8792 ac_cv_prog_CROSSCC="$ac_prog"
8793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8794 break 2
8796 done
8797 done
8798 IFS=$as_save_IFS
8802 CROSSCC=$ac_cv_prog_CROSSCC
8803 if test -n "$CROSSCC"; then
8804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8805 $as_echo "$CROSSCC" >&6; }
8806 else
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8808 $as_echo "no" >&6; }
8812 test -n "$CROSSCC" && break
8813 done
8814 test -n "$CROSSCC" || CROSSCC="false"
8816 if test "$CROSSCC" != "false"
8817 then
8818 ac_save_CC="$CC"
8819 CC="$CROSSCC"
8820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8821 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8823 /* end confdefs.h. */
8826 main ()
8830 return 0;
8832 _ACEOF
8833 if ac_fn_c_try_compile "$LINENO"; then :
8834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8835 $as_echo "yes" >&6; }
8836 set x $CROSSCC
8837 shift
8838 while test $# -ge 1
8840 case "$1" in
8841 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8842 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8843 esac
8844 shift
8845 done
8846 else
8847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8848 $as_echo "no" >&6; }
8850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8851 CC="$ac_save_CC"
8856 if test "$ac_cv_header_pthread_h" = "yes"
8857 then
8858 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8859 if test "x$ac_cv_func_pthread_create" = xyes; then :
8861 else
8862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8863 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8864 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8865 $as_echo_n "(cached) " >&6
8866 else
8867 ac_check_lib_save_LIBS=$LIBS
8868 LIBS="-lpthread $LIBS"
8869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8870 /* end confdefs.h. */
8872 /* Override any GCC internal prototype to avoid an error.
8873 Use char because int might match the return type of a GCC
8874 builtin and then its argument prototype would still apply. */
8875 #ifdef __cplusplus
8876 extern "C"
8877 #endif
8878 char pthread_create ();
8880 main ()
8882 return pthread_create ();
8884 return 0;
8886 _ACEOF
8887 if ac_fn_c_try_link "$LINENO"; then :
8888 ac_cv_lib_pthread_pthread_create=yes
8889 else
8890 ac_cv_lib_pthread_pthread_create=no
8892 rm -f core conftest.err conftest.$ac_objext \
8893 conftest$ac_exeext conftest.$ac_ext
8894 LIBS=$ac_check_lib_save_LIBS
8896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8897 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8898 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8899 PTHREAD_LIBS="-lpthread"
8906 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8907 case "x$with_pthread" in
8908 xno) ;;
8909 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8910 Wine cannot support threads without libpthread.
8911 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8912 esac
8916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8917 $as_echo_n "checking for X... " >&6; }
8920 # Check whether --with-x was given.
8921 if test "${with_x+set}" = set; then :
8922 withval=$with_x;
8925 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8926 if test "x$with_x" = xno; then
8927 # The user explicitly disabled X.
8928 have_x=disabled
8929 else
8930 case $x_includes,$x_libraries in #(
8931 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8932 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8933 $as_echo_n "(cached) " >&6
8934 else
8935 # One or both of the vars are not set, and there is no cached value.
8936 ac_x_includes=no ac_x_libraries=no
8937 rm -f -r conftest.dir
8938 if mkdir conftest.dir; then
8939 cd conftest.dir
8940 cat >Imakefile <<'_ACEOF'
8941 incroot:
8942 @echo incroot='${INCROOT}'
8943 usrlibdir:
8944 @echo usrlibdir='${USRLIBDIR}'
8945 libdir:
8946 @echo libdir='${LIBDIR}'
8947 _ACEOF
8948 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8949 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8950 for ac_var in incroot usrlibdir libdir; do
8951 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8952 done
8953 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8954 for ac_extension in a so sl dylib la dll; do
8955 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8956 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8957 ac_im_usrlibdir=$ac_im_libdir; break
8959 done
8960 # Screen out bogus values from the imake configuration. They are
8961 # bogus both because they are the default anyway, and because
8962 # using them would break gcc on systems where it needs fixed includes.
8963 case $ac_im_incroot in
8964 /usr/include) ac_x_includes= ;;
8965 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8966 esac
8967 case $ac_im_usrlibdir in
8968 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8969 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8970 esac
8972 cd ..
8973 rm -f -r conftest.dir
8976 # Standard set of common directories for X headers.
8977 # Check X11 before X11Rn because it is often a symlink to the current release.
8978 ac_x_header_dirs='
8979 /usr/X11/include
8980 /usr/X11R7/include
8981 /usr/X11R6/include
8982 /usr/X11R5/include
8983 /usr/X11R4/include
8985 /usr/include/X11
8986 /usr/include/X11R7
8987 /usr/include/X11R6
8988 /usr/include/X11R5
8989 /usr/include/X11R4
8991 /usr/local/X11/include
8992 /usr/local/X11R7/include
8993 /usr/local/X11R6/include
8994 /usr/local/X11R5/include
8995 /usr/local/X11R4/include
8997 /usr/local/include/X11
8998 /usr/local/include/X11R7
8999 /usr/local/include/X11R6
9000 /usr/local/include/X11R5
9001 /usr/local/include/X11R4
9003 /usr/X386/include
9004 /usr/x386/include
9005 /usr/XFree86/include/X11
9007 /usr/include
9008 /usr/local/include
9009 /usr/unsupported/include
9010 /usr/athena/include
9011 /usr/local/x11r5/include
9012 /usr/lpp/Xamples/include
9014 /usr/openwin/include
9015 /usr/openwin/share/include'
9017 if test "$ac_x_includes" = no; then
9018 # Guess where to find include files, by looking for Xlib.h.
9019 # First, try using that file with no special directory specified.
9020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9021 /* end confdefs.h. */
9022 #include <X11/Xlib.h>
9023 _ACEOF
9024 if ac_fn_c_try_cpp "$LINENO"; then :
9025 # We can compile using X headers with no special include directory.
9026 ac_x_includes=
9027 else
9028 for ac_dir in $ac_x_header_dirs; do
9029 if test -r "$ac_dir/X11/Xlib.h"; then
9030 ac_x_includes=$ac_dir
9031 break
9033 done
9035 rm -f conftest.err conftest.i conftest.$ac_ext
9036 fi # $ac_x_includes = no
9038 if test "$ac_x_libraries" = no; then
9039 # Check for the libraries.
9040 # See if we find them without any special options.
9041 # Don't add to $LIBS permanently.
9042 ac_save_LIBS=$LIBS
9043 LIBS="-lX11 $LIBS"
9044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9045 /* end confdefs.h. */
9046 #include <X11/Xlib.h>
9048 main ()
9050 XrmInitialize ()
9052 return 0;
9054 _ACEOF
9055 if ac_fn_c_try_link "$LINENO"; then :
9056 LIBS=$ac_save_LIBS
9057 # We can link X programs with no special library path.
9058 ac_x_libraries=
9059 else
9060 LIBS=$ac_save_LIBS
9061 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9063 # Don't even attempt the hair of trying to link an X program!
9064 for ac_extension in a so sl dylib la dll; do
9065 if test -r "$ac_dir/libX11.$ac_extension"; then
9066 ac_x_libraries=$ac_dir
9067 break 2
9069 done
9070 done
9072 rm -f core conftest.err conftest.$ac_objext \
9073 conftest$ac_exeext conftest.$ac_ext
9074 fi # $ac_x_libraries = no
9076 case $ac_x_includes,$ac_x_libraries in #(
9077 no,* | *,no | *\'*)
9078 # Didn't find X, or a directory has "'" in its name.
9079 ac_cv_have_x="have_x=no";; #(
9081 # Record where we found X for the cache.
9082 ac_cv_have_x="have_x=yes\
9083 ac_x_includes='$ac_x_includes'\
9084 ac_x_libraries='$ac_x_libraries'"
9085 esac
9087 ;; #(
9088 *) have_x=yes;;
9089 esac
9090 eval "$ac_cv_have_x"
9091 fi # $with_x != no
9093 if test "$have_x" != yes; then
9094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9095 $as_echo "$have_x" >&6; }
9096 no_x=yes
9097 else
9098 # If each of the values was on the command line, it overrides each guess.
9099 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9100 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9101 # Update the cache value to reflect the command line values.
9102 ac_cv_have_x="have_x=yes\
9103 ac_x_includes='$x_includes'\
9104 ac_x_libraries='$x_libraries'"
9105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9106 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9109 if test "$no_x" = yes; then
9110 # Not all programs may use this symbol, but it does not hurt to define it.
9112 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9114 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9115 else
9116 if test -n "$x_includes"; then
9117 X_CFLAGS="$X_CFLAGS -I$x_includes"
9120 # It would also be nice to do this for all -L options, not just this one.
9121 if test -n "$x_libraries"; then
9122 X_LIBS="$X_LIBS -L$x_libraries"
9123 # For Solaris; some versions of Sun CC require a space after -R and
9124 # others require no space. Words are not sufficient . . . .
9125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9126 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9127 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9128 ac_xsave_c_werror_flag=$ac_c_werror_flag
9129 ac_c_werror_flag=yes
9130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9131 /* end confdefs.h. */
9134 main ()
9138 return 0;
9140 _ACEOF
9141 if ac_fn_c_try_link "$LINENO"; then :
9142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9143 $as_echo "no" >&6; }
9144 X_LIBS="$X_LIBS -R$x_libraries"
9145 else
9146 LIBS="$ac_xsave_LIBS -R $x_libraries"
9147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9148 /* end confdefs.h. */
9151 main ()
9155 return 0;
9157 _ACEOF
9158 if ac_fn_c_try_link "$LINENO"; then :
9159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9160 $as_echo "yes" >&6; }
9161 X_LIBS="$X_LIBS -R $x_libraries"
9162 else
9163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9164 $as_echo "neither works" >&6; }
9166 rm -f core conftest.err conftest.$ac_objext \
9167 conftest$ac_exeext conftest.$ac_ext
9169 rm -f core conftest.err conftest.$ac_objext \
9170 conftest$ac_exeext conftest.$ac_ext
9171 ac_c_werror_flag=$ac_xsave_c_werror_flag
9172 LIBS=$ac_xsave_LIBS
9175 # Check for system-dependent libraries X programs must link with.
9176 # Do this before checking for the system-independent R6 libraries
9177 # (-lICE), since we may need -lsocket or whatever for X linking.
9179 if test "$ISC" = yes; then
9180 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9181 else
9182 # Martyn Johnson says this is needed for Ultrix, if the X
9183 # libraries were built with DECnet support. And Karl Berry says
9184 # the Alpha needs dnet_stub (dnet does not exist).
9185 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9187 /* end confdefs.h. */
9189 /* Override any GCC internal prototype to avoid an error.
9190 Use char because int might match the return type of a GCC
9191 builtin and then its argument prototype would still apply. */
9192 #ifdef __cplusplus
9193 extern "C"
9194 #endif
9195 char XOpenDisplay ();
9197 main ()
9199 return XOpenDisplay ();
9201 return 0;
9203 _ACEOF
9204 if ac_fn_c_try_link "$LINENO"; then :
9206 else
9207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9208 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9209 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9210 $as_echo_n "(cached) " >&6
9211 else
9212 ac_check_lib_save_LIBS=$LIBS
9213 LIBS="-ldnet $LIBS"
9214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9215 /* end confdefs.h. */
9217 /* Override any GCC internal prototype to avoid an error.
9218 Use char because int might match the return type of a GCC
9219 builtin and then its argument prototype would still apply. */
9220 #ifdef __cplusplus
9221 extern "C"
9222 #endif
9223 char dnet_ntoa ();
9225 main ()
9227 return dnet_ntoa ();
9229 return 0;
9231 _ACEOF
9232 if ac_fn_c_try_link "$LINENO"; then :
9233 ac_cv_lib_dnet_dnet_ntoa=yes
9234 else
9235 ac_cv_lib_dnet_dnet_ntoa=no
9237 rm -f core conftest.err conftest.$ac_objext \
9238 conftest$ac_exeext conftest.$ac_ext
9239 LIBS=$ac_check_lib_save_LIBS
9241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9242 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9243 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9244 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9247 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9249 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9250 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9251 $as_echo_n "(cached) " >&6
9252 else
9253 ac_check_lib_save_LIBS=$LIBS
9254 LIBS="-ldnet_stub $LIBS"
9255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9256 /* end confdefs.h. */
9258 /* Override any GCC internal prototype to avoid an error.
9259 Use char because int might match the return type of a GCC
9260 builtin and then its argument prototype would still apply. */
9261 #ifdef __cplusplus
9262 extern "C"
9263 #endif
9264 char dnet_ntoa ();
9266 main ()
9268 return dnet_ntoa ();
9270 return 0;
9272 _ACEOF
9273 if ac_fn_c_try_link "$LINENO"; then :
9274 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9275 else
9276 ac_cv_lib_dnet_stub_dnet_ntoa=no
9278 rm -f core conftest.err conftest.$ac_objext \
9279 conftest$ac_exeext conftest.$ac_ext
9280 LIBS=$ac_check_lib_save_LIBS
9282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9283 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9284 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9285 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9290 rm -f core conftest.err conftest.$ac_objext \
9291 conftest$ac_exeext conftest.$ac_ext
9292 LIBS="$ac_xsave_LIBS"
9294 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9295 # to get the SysV transport functions.
9296 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9297 # needs -lnsl.
9298 # The nsl library prevents programs from opening the X display
9299 # on Irix 5.2, according to T.E. Dickey.
9300 # The functions gethostbyname, getservbyname, and inet_addr are
9301 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9302 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9303 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9307 if test $ac_cv_func_gethostbyname = no; then
9308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9309 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9310 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9311 $as_echo_n "(cached) " >&6
9312 else
9313 ac_check_lib_save_LIBS=$LIBS
9314 LIBS="-lnsl $LIBS"
9315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9316 /* end confdefs.h. */
9318 /* Override any GCC internal prototype to avoid an error.
9319 Use char because int might match the return type of a GCC
9320 builtin and then its argument prototype would still apply. */
9321 #ifdef __cplusplus
9322 extern "C"
9323 #endif
9324 char gethostbyname ();
9326 main ()
9328 return gethostbyname ();
9330 return 0;
9332 _ACEOF
9333 if ac_fn_c_try_link "$LINENO"; then :
9334 ac_cv_lib_nsl_gethostbyname=yes
9335 else
9336 ac_cv_lib_nsl_gethostbyname=no
9338 rm -f core conftest.err conftest.$ac_objext \
9339 conftest$ac_exeext conftest.$ac_ext
9340 LIBS=$ac_check_lib_save_LIBS
9342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9343 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9344 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9345 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9348 if test $ac_cv_lib_nsl_gethostbyname = no; then
9349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9350 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9351 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9352 $as_echo_n "(cached) " >&6
9353 else
9354 ac_check_lib_save_LIBS=$LIBS
9355 LIBS="-lbsd $LIBS"
9356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9357 /* end confdefs.h. */
9359 /* Override any GCC internal prototype to avoid an error.
9360 Use char because int might match the return type of a GCC
9361 builtin and then its argument prototype would still apply. */
9362 #ifdef __cplusplus
9363 extern "C"
9364 #endif
9365 char gethostbyname ();
9367 main ()
9369 return gethostbyname ();
9371 return 0;
9373 _ACEOF
9374 if ac_fn_c_try_link "$LINENO"; then :
9375 ac_cv_lib_bsd_gethostbyname=yes
9376 else
9377 ac_cv_lib_bsd_gethostbyname=no
9379 rm -f core conftest.err conftest.$ac_objext \
9380 conftest$ac_exeext conftest.$ac_ext
9381 LIBS=$ac_check_lib_save_LIBS
9383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9384 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9385 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9386 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9392 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9393 # socket/setsockopt and other routines are undefined under SCO ODT
9394 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9395 # on later versions), says Simon Leinen: it contains gethostby*
9396 # variants that don't use the name server (or something). -lsocket
9397 # must be given before -lnsl if both are needed. We assume that
9398 # if connect needs -lnsl, so does gethostbyname.
9399 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9400 if test "x$ac_cv_func_connect" = xyes; then :
9404 if test $ac_cv_func_connect = no; then
9405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9406 $as_echo_n "checking for connect in -lsocket... " >&6; }
9407 if ${ac_cv_lib_socket_connect+:} false; then :
9408 $as_echo_n "(cached) " >&6
9409 else
9410 ac_check_lib_save_LIBS=$LIBS
9411 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9413 /* end confdefs.h. */
9415 /* Override any GCC internal prototype to avoid an error.
9416 Use char because int might match the return type of a GCC
9417 builtin and then its argument prototype would still apply. */
9418 #ifdef __cplusplus
9419 extern "C"
9420 #endif
9421 char connect ();
9423 main ()
9425 return connect ();
9427 return 0;
9429 _ACEOF
9430 if ac_fn_c_try_link "$LINENO"; then :
9431 ac_cv_lib_socket_connect=yes
9432 else
9433 ac_cv_lib_socket_connect=no
9435 rm -f core conftest.err conftest.$ac_objext \
9436 conftest$ac_exeext conftest.$ac_ext
9437 LIBS=$ac_check_lib_save_LIBS
9439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9440 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9441 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9442 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9447 # Guillermo Gomez says -lposix is necessary on A/UX.
9448 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9449 if test "x$ac_cv_func_remove" = xyes; then :
9453 if test $ac_cv_func_remove = no; then
9454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9455 $as_echo_n "checking for remove in -lposix... " >&6; }
9456 if ${ac_cv_lib_posix_remove+:} false; then :
9457 $as_echo_n "(cached) " >&6
9458 else
9459 ac_check_lib_save_LIBS=$LIBS
9460 LIBS="-lposix $LIBS"
9461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9462 /* end confdefs.h. */
9464 /* Override any GCC internal prototype to avoid an error.
9465 Use char because int might match the return type of a GCC
9466 builtin and then its argument prototype would still apply. */
9467 #ifdef __cplusplus
9468 extern "C"
9469 #endif
9470 char remove ();
9472 main ()
9474 return remove ();
9476 return 0;
9478 _ACEOF
9479 if ac_fn_c_try_link "$LINENO"; then :
9480 ac_cv_lib_posix_remove=yes
9481 else
9482 ac_cv_lib_posix_remove=no
9484 rm -f core conftest.err conftest.$ac_objext \
9485 conftest$ac_exeext conftest.$ac_ext
9486 LIBS=$ac_check_lib_save_LIBS
9488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9489 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9490 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9491 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9496 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9497 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9498 if test "x$ac_cv_func_shmat" = xyes; then :
9502 if test $ac_cv_func_shmat = no; then
9503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9504 $as_echo_n "checking for shmat in -lipc... " >&6; }
9505 if ${ac_cv_lib_ipc_shmat+:} false; then :
9506 $as_echo_n "(cached) " >&6
9507 else
9508 ac_check_lib_save_LIBS=$LIBS
9509 LIBS="-lipc $LIBS"
9510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9511 /* end confdefs.h. */
9513 /* Override any GCC internal prototype to avoid an error.
9514 Use char because int might match the return type of a GCC
9515 builtin and then its argument prototype would still apply. */
9516 #ifdef __cplusplus
9517 extern "C"
9518 #endif
9519 char shmat ();
9521 main ()
9523 return shmat ();
9525 return 0;
9527 _ACEOF
9528 if ac_fn_c_try_link "$LINENO"; then :
9529 ac_cv_lib_ipc_shmat=yes
9530 else
9531 ac_cv_lib_ipc_shmat=no
9533 rm -f core conftest.err conftest.$ac_objext \
9534 conftest$ac_exeext conftest.$ac_ext
9535 LIBS=$ac_check_lib_save_LIBS
9537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9538 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9539 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9540 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9546 # Check for libraries that X11R6 Xt/Xaw programs need.
9547 ac_save_LDFLAGS=$LDFLAGS
9548 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9549 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9550 # check for ICE first), but we must link in the order -lSM -lICE or
9551 # we get undefined symbols. So assume we have SM if we have ICE.
9552 # These have to be linked with before -lX11, unlike the other
9553 # libraries we check for below, so use a different variable.
9554 # John Interrante, Karl Berry
9555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9556 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9557 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9558 $as_echo_n "(cached) " >&6
9559 else
9560 ac_check_lib_save_LIBS=$LIBS
9561 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9563 /* end confdefs.h. */
9565 /* Override any GCC internal prototype to avoid an error.
9566 Use char because int might match the return type of a GCC
9567 builtin and then its argument prototype would still apply. */
9568 #ifdef __cplusplus
9569 extern "C"
9570 #endif
9571 char IceConnectionNumber ();
9573 main ()
9575 return IceConnectionNumber ();
9577 return 0;
9579 _ACEOF
9580 if ac_fn_c_try_link "$LINENO"; then :
9581 ac_cv_lib_ICE_IceConnectionNumber=yes
9582 else
9583 ac_cv_lib_ICE_IceConnectionNumber=no
9585 rm -f core conftest.err conftest.$ac_objext \
9586 conftest$ac_exeext conftest.$ac_ext
9587 LIBS=$ac_check_lib_save_LIBS
9589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9590 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9591 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9592 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9595 LDFLAGS=$ac_save_LDFLAGS
9600 if test "$have_x" = "yes"
9601 then
9602 ac_save_CPPFLAGS="$CPPFLAGS"
9603 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9606 $as_echo_n "checking for -lX11... " >&6; }
9607 if ${ac_cv_lib_soname_X11+:} false; then :
9608 $as_echo_n "(cached) " >&6
9609 else
9610 ac_check_soname_save_LIBS=$LIBS
9611 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9613 /* end confdefs.h. */
9615 /* Override any GCC internal prototype to avoid an error.
9616 Use char because int might match the return type of a GCC
9617 builtin and then its argument prototype would still apply. */
9618 #ifdef __cplusplus
9619 extern "C"
9620 #endif
9621 char XCreateWindow ();
9623 main ()
9625 return XCreateWindow ();
9627 return 0;
9629 _ACEOF
9630 if ac_fn_c_try_link "$LINENO"; then :
9631 case "$LIBEXT" in
9632 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9633 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'` ;;
9634 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9635 if ${ac_cv_lib_soname_X11:+false} :; then :
9636 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9637 fi ;;
9638 esac
9640 rm -f core conftest.err conftest.$ac_objext \
9641 conftest$ac_exeext conftest.$ac_ext
9642 LIBS=$ac_check_soname_save_LIBS
9644 if ${ac_cv_lib_soname_X11:+false} :; then :
9645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9646 $as_echo "not found" >&6; }
9648 else
9649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9650 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9652 cat >>confdefs.h <<_ACEOF
9653 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9654 _ACEOF
9658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9659 $as_echo_n "checking for -lXext... " >&6; }
9660 if ${ac_cv_lib_soname_Xext+:} false; then :
9661 $as_echo_n "(cached) " >&6
9662 else
9663 ac_check_soname_save_LIBS=$LIBS
9664 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9666 /* end confdefs.h. */
9668 /* Override any GCC internal prototype to avoid an error.
9669 Use char because int might match the return type of a GCC
9670 builtin and then its argument prototype would still apply. */
9671 #ifdef __cplusplus
9672 extern "C"
9673 #endif
9674 char XextCreateExtension ();
9676 main ()
9678 return XextCreateExtension ();
9680 return 0;
9682 _ACEOF
9683 if ac_fn_c_try_link "$LINENO"; then :
9684 case "$LIBEXT" in
9685 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9686 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'` ;;
9687 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9688 if ${ac_cv_lib_soname_Xext:+false} :; then :
9689 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9690 fi ;;
9691 esac
9693 rm -f core conftest.err conftest.$ac_objext \
9694 conftest$ac_exeext conftest.$ac_ext
9695 LIBS=$ac_check_soname_save_LIBS
9697 if ${ac_cv_lib_soname_Xext:+false} :; then :
9698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9699 $as_echo "not found" >&6; }
9701 else
9702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9703 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9705 cat >>confdefs.h <<_ACEOF
9706 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9707 _ACEOF
9709 X_LIBS="$X_LIBS -lXext"
9711 X_LIBS="$X_LIBS -lX11"
9713 for ac_header in X11/Xlib.h \
9714 X11/XKBlib.h \
9715 X11/Xutil.h \
9716 X11/Xcursor/Xcursor.h \
9717 X11/extensions/shape.h \
9718 X11/extensions/XInput.h \
9719 X11/extensions/XInput2.h \
9720 X11/extensions/XShm.h \
9721 X11/extensions/Xcomposite.h \
9722 X11/extensions/Xinerama.h \
9723 X11/extensions/Xrandr.h \
9724 X11/extensions/Xrender.h \
9725 X11/extensions/xf86vmode.h \
9726 X11/extensions/xf86vmproto.h
9727 do :
9728 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9729 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9730 # include <X11/Xlib.h>
9731 #endif
9732 #ifdef HAVE_X11_XUTIL_H
9733 # include <X11/Xutil.h>
9734 #endif
9736 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9737 cat >>confdefs.h <<_ACEOF
9738 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9739 _ACEOF
9743 done
9746 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9747 then
9748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9749 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9750 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9751 $as_echo_n "(cached) " >&6
9752 else
9753 ac_check_lib_save_LIBS=$LIBS
9754 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9756 /* end confdefs.h. */
9758 /* Override any GCC internal prototype to avoid an error.
9759 Use char because int might match the return type of a GCC
9760 builtin and then its argument prototype would still apply. */
9761 #ifdef __cplusplus
9762 extern "C"
9763 #endif
9764 char XkbQueryExtension ();
9766 main ()
9768 return XkbQueryExtension ();
9770 return 0;
9772 _ACEOF
9773 if ac_fn_c_try_link "$LINENO"; then :
9774 ac_cv_lib_X11_XkbQueryExtension=yes
9775 else
9776 ac_cv_lib_X11_XkbQueryExtension=no
9778 rm -f core conftest.err conftest.$ac_objext \
9779 conftest$ac_exeext conftest.$ac_ext
9780 LIBS=$ac_check_lib_save_LIBS
9782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9783 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9784 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9786 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9792 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9793 then
9794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9795 $as_echo_n "checking for -lXcursor... " >&6; }
9796 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9797 $as_echo_n "(cached) " >&6
9798 else
9799 ac_check_soname_save_LIBS=$LIBS
9800 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9802 /* end confdefs.h. */
9804 /* Override any GCC internal prototype to avoid an error.
9805 Use char because int might match the return type of a GCC
9806 builtin and then its argument prototype would still apply. */
9807 #ifdef __cplusplus
9808 extern "C"
9809 #endif
9810 char XcursorImageLoadCursor ();
9812 main ()
9814 return XcursorImageLoadCursor ();
9816 return 0;
9818 _ACEOF
9819 if ac_fn_c_try_link "$LINENO"; then :
9820 case "$LIBEXT" in
9821 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9822 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'` ;;
9823 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9824 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9825 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9826 fi ;;
9827 esac
9829 rm -f core conftest.err conftest.$ac_objext \
9830 conftest$ac_exeext conftest.$ac_ext
9831 LIBS=$ac_check_soname_save_LIBS
9833 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9835 $as_echo "not found" >&6; }
9837 else
9838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9839 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9841 cat >>confdefs.h <<_ACEOF
9842 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9843 _ACEOF
9848 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9849 case "x$with_xcursor" in
9850 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9851 xno) ;;
9852 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9853 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9854 esac
9857 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9858 then
9859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9860 $as_echo_n "checking for -lXi... " >&6; }
9861 if ${ac_cv_lib_soname_Xi+:} false; then :
9862 $as_echo_n "(cached) " >&6
9863 else
9864 ac_check_soname_save_LIBS=$LIBS
9865 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9867 /* end confdefs.h. */
9869 /* Override any GCC internal prototype to avoid an error.
9870 Use char because int might match the return type of a GCC
9871 builtin and then its argument prototype would still apply. */
9872 #ifdef __cplusplus
9873 extern "C"
9874 #endif
9875 char XOpenDevice ();
9877 main ()
9879 return XOpenDevice ();
9881 return 0;
9883 _ACEOF
9884 if ac_fn_c_try_link "$LINENO"; then :
9885 case "$LIBEXT" in
9886 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9887 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'` ;;
9888 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9889 if ${ac_cv_lib_soname_Xi:+false} :; then :
9890 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9891 fi ;;
9892 esac
9894 rm -f core conftest.err conftest.$ac_objext \
9895 conftest$ac_exeext conftest.$ac_ext
9896 LIBS=$ac_check_soname_save_LIBS
9898 if ${ac_cv_lib_soname_Xi:+false} :; then :
9899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9900 $as_echo "not found" >&6; }
9902 else
9903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9904 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9906 cat >>confdefs.h <<_ACEOF
9907 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9908 _ACEOF
9913 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9914 case "x$with_xinput" in
9915 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9916 xno) ;;
9917 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9918 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9919 esac
9922 if test "x$ac_cv_lib_soname_Xi" != x
9923 then
9924 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9925 case "x$with_xinput2" in
9926 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9927 xno) ;;
9928 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9929 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9930 esac
9934 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9935 then
9936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9937 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9938 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9939 $as_echo_n "(cached) " >&6
9940 else
9941 ac_check_lib_save_LIBS=$LIBS
9942 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9944 /* end confdefs.h. */
9946 /* Override any GCC internal prototype to avoid an error.
9947 Use char because int might match the return type of a GCC
9948 builtin and then its argument prototype would still apply. */
9949 #ifdef __cplusplus
9950 extern "C"
9951 #endif
9952 char XShmQueryExtension ();
9954 main ()
9956 return XShmQueryExtension ();
9958 return 0;
9960 _ACEOF
9961 if ac_fn_c_try_link "$LINENO"; then :
9962 ac_cv_lib_Xext_XShmQueryExtension=yes
9963 else
9964 ac_cv_lib_Xext_XShmQueryExtension=no
9966 rm -f core conftest.err conftest.$ac_objext \
9967 conftest$ac_exeext conftest.$ac_ext
9968 LIBS=$ac_check_lib_save_LIBS
9970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9971 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9972 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9974 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9979 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9980 case "x$with_xshm" in
9981 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9982 xno) ;;
9983 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9984 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9985 esac
9988 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9989 then
9990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9991 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9992 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9993 $as_echo_n "(cached) " >&6
9994 else
9995 ac_check_lib_save_LIBS=$LIBS
9996 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9998 /* end confdefs.h. */
10000 /* Override any GCC internal prototype to avoid an error.
10001 Use char because int might match the return type of a GCC
10002 builtin and then its argument prototype would still apply. */
10003 #ifdef __cplusplus
10004 extern "C"
10005 #endif
10006 char XShapeQueryExtension ();
10008 main ()
10010 return XShapeQueryExtension ();
10012 return 0;
10014 _ACEOF
10015 if ac_fn_c_try_link "$LINENO"; then :
10016 ac_cv_lib_Xext_XShapeQueryExtension=yes
10017 else
10018 ac_cv_lib_Xext_XShapeQueryExtension=no
10020 rm -f core conftest.err conftest.$ac_objext \
10021 conftest$ac_exeext conftest.$ac_ext
10022 LIBS=$ac_check_lib_save_LIBS
10024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10025 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10026 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10028 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10033 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10034 case "x$with_xshape" in
10035 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10036 xno) ;;
10037 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10038 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10039 esac
10042 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10043 then
10044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10045 $as_echo_n "checking for -lXxf86vm... " >&6; }
10046 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10047 $as_echo_n "(cached) " >&6
10048 else
10049 ac_check_soname_save_LIBS=$LIBS
10050 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10052 /* end confdefs.h. */
10054 /* Override any GCC internal prototype to avoid an error.
10055 Use char because int might match the return type of a GCC
10056 builtin and then its argument prototype would still apply. */
10057 #ifdef __cplusplus
10058 extern "C"
10059 #endif
10060 char XF86VidModeQueryExtension ();
10062 main ()
10064 return XF86VidModeQueryExtension ();
10066 return 0;
10068 _ACEOF
10069 if ac_fn_c_try_link "$LINENO"; then :
10070 case "$LIBEXT" in
10071 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10072 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'` ;;
10073 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10074 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10075 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10076 fi ;;
10077 esac
10079 rm -f core conftest.err conftest.$ac_objext \
10080 conftest$ac_exeext conftest.$ac_ext
10081 LIBS=$ac_check_soname_save_LIBS
10083 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10085 $as_echo "not found" >&6; }
10087 else
10088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10089 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10091 cat >>confdefs.h <<_ACEOF
10092 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10093 _ACEOF
10098 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10099 case "x$with_xxf86vm" in
10100 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10101 xno) ;;
10102 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10103 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10104 esac
10107 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10108 then
10109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10110 $as_echo_n "checking for -lXrender... " >&6; }
10111 if ${ac_cv_lib_soname_Xrender+:} false; then :
10112 $as_echo_n "(cached) " >&6
10113 else
10114 ac_check_soname_save_LIBS=$LIBS
10115 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10117 /* end confdefs.h. */
10119 /* Override any GCC internal prototype to avoid an error.
10120 Use char because int might match the return type of a GCC
10121 builtin and then its argument prototype would still apply. */
10122 #ifdef __cplusplus
10123 extern "C"
10124 #endif
10125 char XRenderQueryExtension ();
10127 main ()
10129 return XRenderQueryExtension ();
10131 return 0;
10133 _ACEOF
10134 if ac_fn_c_try_link "$LINENO"; then :
10135 case "$LIBEXT" in
10136 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10137 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'` ;;
10138 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10139 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10140 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10141 fi ;;
10142 esac
10144 rm -f core conftest.err conftest.$ac_objext \
10145 conftest$ac_exeext conftest.$ac_ext
10146 LIBS=$ac_check_soname_save_LIBS
10148 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10150 $as_echo "not found" >&6; }
10152 else
10153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10154 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10156 cat >>confdefs.h <<_ACEOF
10157 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10158 _ACEOF
10160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10161 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10162 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10163 $as_echo_n "(cached) " >&6
10164 else
10165 ac_check_lib_save_LIBS=$LIBS
10166 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10168 /* end confdefs.h. */
10170 /* Override any GCC internal prototype to avoid an error.
10171 Use char because int might match the return type of a GCC
10172 builtin and then its argument prototype would still apply. */
10173 #ifdef __cplusplus
10174 extern "C"
10175 #endif
10176 char XRenderSetPictureTransform ();
10178 main ()
10180 return XRenderSetPictureTransform ();
10182 return 0;
10184 _ACEOF
10185 if ac_fn_c_try_link "$LINENO"; then :
10186 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10187 else
10188 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10190 rm -f core conftest.err conftest.$ac_objext \
10191 conftest$ac_exeext conftest.$ac_ext
10192 LIBS=$ac_check_lib_save_LIBS
10194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10195 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10196 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10198 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10203 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10204 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10205 $as_echo_n "(cached) " >&6
10206 else
10207 ac_check_lib_save_LIBS=$LIBS
10208 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10210 /* end confdefs.h. */
10212 /* Override any GCC internal prototype to avoid an error.
10213 Use char because int might match the return type of a GCC
10214 builtin and then its argument prototype would still apply. */
10215 #ifdef __cplusplus
10216 extern "C"
10217 #endif
10218 char XRenderCreateLinearGradient ();
10220 main ()
10222 return XRenderCreateLinearGradient ();
10224 return 0;
10226 _ACEOF
10227 if ac_fn_c_try_link "$LINENO"; then :
10228 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10229 else
10230 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10232 rm -f core conftest.err conftest.$ac_objext \
10233 conftest$ac_exeext conftest.$ac_ext
10234 LIBS=$ac_check_lib_save_LIBS
10236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10237 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10238 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10240 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10247 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10248 case "x$with_xrender" in
10249 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10250 xno) ;;
10251 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10252 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10253 esac
10256 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10257 then
10258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10259 /* end confdefs.h. */
10260 #include <X11/Xlib.h>
10261 #include <X11/extensions/Xrandr.h>
10263 main ()
10265 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10267 return 0;
10269 _ACEOF
10270 if ac_fn_c_try_compile "$LINENO"; then :
10271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10272 $as_echo_n "checking for -lXrandr... " >&6; }
10273 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10274 $as_echo_n "(cached) " >&6
10275 else
10276 ac_check_soname_save_LIBS=$LIBS
10277 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10279 /* end confdefs.h. */
10281 /* Override any GCC internal prototype to avoid an error.
10282 Use char because int might match the return type of a GCC
10283 builtin and then its argument prototype would still apply. */
10284 #ifdef __cplusplus
10285 extern "C"
10286 #endif
10287 char XRRQueryExtension ();
10289 main ()
10291 return XRRQueryExtension ();
10293 return 0;
10295 _ACEOF
10296 if ac_fn_c_try_link "$LINENO"; then :
10297 case "$LIBEXT" in
10298 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10299 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'` ;;
10300 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10301 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10302 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10303 fi ;;
10304 esac
10306 rm -f core conftest.err conftest.$ac_objext \
10307 conftest$ac_exeext conftest.$ac_ext
10308 LIBS=$ac_check_soname_save_LIBS
10310 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10312 $as_echo "not found" >&6; }
10314 else
10315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10316 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10318 cat >>confdefs.h <<_ACEOF
10319 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10320 _ACEOF
10322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10323 /* end confdefs.h. */
10324 #include <X11/Xlib.h>
10325 #include <X11/extensions/Xrandr.h>
10327 main ()
10329 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10331 return 0;
10333 _ACEOF
10334 if ac_fn_c_try_compile "$LINENO"; then :
10336 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10344 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10345 case "x$with_xrandr" in
10346 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10347 xno) ;;
10348 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10349 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10350 esac
10353 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10354 then
10355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10356 /* end confdefs.h. */
10357 #include <X11/Xlib.h>
10358 #include <X11/extensions/Xinerama.h>
10360 main ()
10362 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10364 return 0;
10366 _ACEOF
10367 if ac_fn_c_try_compile "$LINENO"; then :
10368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10369 $as_echo_n "checking for -lXinerama... " >&6; }
10370 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10371 $as_echo_n "(cached) " >&6
10372 else
10373 ac_check_soname_save_LIBS=$LIBS
10374 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10376 /* end confdefs.h. */
10378 /* Override any GCC internal prototype to avoid an error.
10379 Use char because int might match the return type of a GCC
10380 builtin and then its argument prototype would still apply. */
10381 #ifdef __cplusplus
10382 extern "C"
10383 #endif
10384 char XineramaQueryScreens ();
10386 main ()
10388 return XineramaQueryScreens ();
10390 return 0;
10392 _ACEOF
10393 if ac_fn_c_try_link "$LINENO"; then :
10394 case "$LIBEXT" in
10395 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10396 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'` ;;
10397 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10398 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10399 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10400 fi ;;
10401 esac
10403 rm -f core conftest.err conftest.$ac_objext \
10404 conftest$ac_exeext conftest.$ac_ext
10405 LIBS=$ac_check_soname_save_LIBS
10407 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10409 $as_echo "not found" >&6; }
10411 else
10412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10413 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10415 cat >>confdefs.h <<_ACEOF
10416 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10417 _ACEOF
10422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10424 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10425 case "x$with_xinerama" in
10426 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10427 xno) ;;
10428 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10429 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10430 esac
10433 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10434 then
10435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10436 $as_echo_n "checking for -lXcomposite... " >&6; }
10437 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10438 $as_echo_n "(cached) " >&6
10439 else
10440 ac_check_soname_save_LIBS=$LIBS
10441 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10443 /* end confdefs.h. */
10445 /* Override any GCC internal prototype to avoid an error.
10446 Use char because int might match the return type of a GCC
10447 builtin and then its argument prototype would still apply. */
10448 #ifdef __cplusplus
10449 extern "C"
10450 #endif
10451 char XCompositeRedirectWindow ();
10453 main ()
10455 return XCompositeRedirectWindow ();
10457 return 0;
10459 _ACEOF
10460 if ac_fn_c_try_link "$LINENO"; then :
10461 case "$LIBEXT" in
10462 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10463 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'` ;;
10464 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10465 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10466 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10467 fi ;;
10468 esac
10470 rm -f core conftest.err conftest.$ac_objext \
10471 conftest$ac_exeext conftest.$ac_ext
10472 LIBS=$ac_check_soname_save_LIBS
10474 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10476 $as_echo "not found" >&6; }
10478 else
10479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10480 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10482 cat >>confdefs.h <<_ACEOF
10483 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10484 _ACEOF
10489 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10490 case "x$with_xcomposite" in
10491 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10492 xno) ;;
10493 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10494 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10495 esac
10498 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10499 #include <X11/Xlib.h>
10500 #endif
10502 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10504 cat >>confdefs.h <<_ACEOF
10505 #define HAVE_XICCALLBACK_CALLBACK 1
10506 _ACEOF
10510 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10511 #include <X11/Xlib.h>
10512 #endif
10514 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10516 cat >>confdefs.h <<_ACEOF
10517 #define HAVE_XEVENT_XCOOKIE 1
10518 _ACEOF
10525 opengl_msg=""
10526 if test "x$with_opengl" != "xno"
10527 then
10528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10529 $as_echo_n "checking for -lGL... " >&6; }
10530 if ${ac_cv_lib_soname_GL+:} false; then :
10531 $as_echo_n "(cached) " >&6
10532 else
10533 ac_check_soname_save_LIBS=$LIBS
10534 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10536 /* end confdefs.h. */
10538 /* Override any GCC internal prototype to avoid an error.
10539 Use char because int might match the return type of a GCC
10540 builtin and then its argument prototype would still apply. */
10541 #ifdef __cplusplus
10542 extern "C"
10543 #endif
10544 char glXCreateContext ();
10546 main ()
10548 return glXCreateContext ();
10550 return 0;
10552 _ACEOF
10553 if ac_fn_c_try_link "$LINENO"; then :
10554 case "$LIBEXT" in
10555 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10556 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'` ;;
10557 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10558 if ${ac_cv_lib_soname_GL:+false} :; then :
10559 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10560 fi ;;
10561 esac
10563 rm -f core conftest.err conftest.$ac_objext \
10564 conftest$ac_exeext conftest.$ac_ext
10565 LIBS=$ac_check_soname_save_LIBS
10567 if ${ac_cv_lib_soname_GL:+false} :; then :
10568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10569 $as_echo "not found" >&6; }
10570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10571 $as_echo_n "checking for -lGL... " >&6; }
10572 if ${ac_cv_lib_soname_GL+:} false; then :
10573 $as_echo_n "(cached) " >&6
10574 else
10575 ac_check_soname_save_LIBS=$LIBS
10576 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"
10577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10578 /* end confdefs.h. */
10580 /* Override any GCC internal prototype to avoid an error.
10581 Use char because int might match the return type of a GCC
10582 builtin and then its argument prototype would still apply. */
10583 #ifdef __cplusplus
10584 extern "C"
10585 #endif
10586 char glXCreateContext ();
10588 main ()
10590 return glXCreateContext ();
10592 return 0;
10594 _ACEOF
10595 if ac_fn_c_try_link "$LINENO"; then :
10596 case "$LIBEXT" in
10597 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10598 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'` ;;
10599 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10600 if ${ac_cv_lib_soname_GL:+false} :; then :
10601 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10602 fi ;;
10603 esac
10605 rm -f core conftest.err conftest.$ac_objext \
10606 conftest$ac_exeext conftest.$ac_ext
10607 LIBS=$ac_check_soname_save_LIBS
10609 if ${ac_cv_lib_soname_GL:+false} :; then :
10610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10611 $as_echo "not found" >&6; }
10612 if test -f /usr/X11R6/lib/libGL.a
10613 then
10614 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10615 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10616 else
10617 opengl_msg="No OpenGL library found on this system."
10619 else
10620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10621 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10623 cat >>confdefs.h <<_ACEOF
10624 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10625 _ACEOF
10627 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"
10629 else
10630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10631 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10633 cat >>confdefs.h <<_ACEOF
10634 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10635 _ACEOF
10637 OPENGL_LIBS="-lGL"
10639 if test "x$with_glu" != "xno"
10640 then
10641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10642 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10643 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10644 $as_echo_n "(cached) " >&6
10645 else
10646 ac_check_lib_save_LIBS=$LIBS
10647 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10649 /* end confdefs.h. */
10651 /* Override any GCC internal prototype to avoid an error.
10652 Use char because int might match the return type of a GCC
10653 builtin and then its argument prototype would still apply. */
10654 #ifdef __cplusplus
10655 extern "C"
10656 #endif
10657 char gluLookAt ();
10659 main ()
10661 return gluLookAt ();
10663 return 0;
10665 _ACEOF
10666 if ac_fn_c_try_link "$LINENO"; then :
10667 ac_cv_lib_GLU_gluLookAt=yes
10668 else
10669 ac_cv_lib_GLU_gluLookAt=no
10671 rm -f core conftest.err conftest.$ac_objext \
10672 conftest$ac_exeext conftest.$ac_ext
10673 LIBS=$ac_check_lib_save_LIBS
10675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10676 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10677 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10681 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10682 case "x$with_glu" in
10683 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10684 xno) ;;
10685 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10686 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10687 esac
10691 if test "x$with_osmesa" != "xno"
10692 then
10693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10694 $as_echo_n "checking for -lOSMesa... " >&6; }
10695 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10696 $as_echo_n "(cached) " >&6
10697 else
10698 ac_check_soname_save_LIBS=$LIBS
10699 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10701 /* end confdefs.h. */
10703 /* Override any GCC internal prototype to avoid an error.
10704 Use char because int might match the return type of a GCC
10705 builtin and then its argument prototype would still apply. */
10706 #ifdef __cplusplus
10707 extern "C"
10708 #endif
10709 char glAccum ();
10711 main ()
10713 return glAccum ();
10715 return 0;
10717 _ACEOF
10718 if ac_fn_c_try_link "$LINENO"; then :
10719 case "$LIBEXT" in
10720 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10721 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'` ;;
10722 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10723 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10724 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10725 fi ;;
10726 esac
10728 rm -f core conftest.err conftest.$ac_objext \
10729 conftest$ac_exeext conftest.$ac_ext
10730 LIBS=$ac_check_soname_save_LIBS
10732 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10734 $as_echo "not found" >&6; }
10736 else
10737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10738 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10740 cat >>confdefs.h <<_ACEOF
10741 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10742 _ACEOF
10746 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10747 case "x$with_osmesa" in
10748 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10749 xno) ;;
10750 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10751 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10752 esac
10756 if test -n "$opengl_msg"; then :
10757 case "x$with_opengl" in
10758 x) as_fn_append wine_warnings "|$opengl_msg
10759 OpenGL and Direct3D won't be supported." ;;
10760 xno) ;;
10761 *) as_fn_error $? "$opengl_msg
10762 OpenGL and Direct3D won't be supported.
10763 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10764 esac
10767 CPPFLAGS="$ac_save_CPPFLAGS"
10768 else
10769 X_CFLAGS=""
10770 X_LIBS=""
10771 enable_winex11_drv=${enable_winex11_drv:-no}
10773 if test "x$X_LIBS" = "x"; then :
10774 case "x$with_x" in
10775 xno) ;;
10776 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10777 without X support, which probably isn't what you want. You will need
10778 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10779 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10780 esac
10783 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10785 if test "$ac_cv_header_CL_cl_h" = "yes"
10786 then
10787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10788 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10789 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10790 $as_echo_n "(cached) " >&6
10791 else
10792 ac_check_lib_save_LIBS=$LIBS
10793 LIBS="-lOpenCL $LIBS"
10794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10795 /* end confdefs.h. */
10797 /* Override any GCC internal prototype to avoid an error.
10798 Use char because int might match the return type of a GCC
10799 builtin and then its argument prototype would still apply. */
10800 #ifdef __cplusplus
10801 extern "C"
10802 #endif
10803 char clGetPlatformInfo ();
10805 main ()
10807 return clGetPlatformInfo ();
10809 return 0;
10811 _ACEOF
10812 if ac_fn_c_try_link "$LINENO"; then :
10813 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10814 else
10815 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10817 rm -f core conftest.err conftest.$ac_objext \
10818 conftest$ac_exeext conftest.$ac_ext
10819 LIBS=$ac_check_lib_save_LIBS
10821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10822 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10823 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10824 OPENCL_LIBS="-lOpenCL"
10829 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10830 case "x$with_opencl" in
10831 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10832 xno) ;;
10833 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10834 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10835 esac
10837 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10839 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10840 then
10841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10842 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10843 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10844 $as_echo_n "(cached) " >&6
10845 else
10846 ac_check_lib_save_LIBS=$LIBS
10847 LIBS="-lpcap $LIBS"
10848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10849 /* end confdefs.h. */
10851 /* Override any GCC internal prototype to avoid an error.
10852 Use char because int might match the return type of a GCC
10853 builtin and then its argument prototype would still apply. */
10854 #ifdef __cplusplus
10855 extern "C"
10856 #endif
10857 char pcap_create ();
10859 main ()
10861 return pcap_create ();
10863 return 0;
10865 _ACEOF
10866 if ac_fn_c_try_link "$LINENO"; then :
10867 ac_cv_lib_pcap_pcap_create=yes
10868 else
10869 ac_cv_lib_pcap_pcap_create=no
10871 rm -f core conftest.err conftest.$ac_objext \
10872 conftest$ac_exeext conftest.$ac_ext
10873 LIBS=$ac_check_lib_save_LIBS
10875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10876 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10877 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10878 PCAP_LIBS="-lpcap"
10883 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10884 case "x$with_pcap" in
10885 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10886 xno) ;;
10887 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10888 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10889 esac
10891 test "x$ac_cv_lib_pcap_pcap_create" != xyes && enable_wpcap=${enable_wpcap:-no}
10894 if test "x$with_xml" != "xno"
10895 then
10896 if ${XML2_CFLAGS:+false} :; then :
10897 if ${PKG_CONFIG+:} false; then :
10898 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10901 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
10902 if ${XML2_LIBS:+false} :; then :
10903 if ${PKG_CONFIG+:} false; then :
10904 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10907 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
10908 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10909 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10910 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10911 ac_save_CPPFLAGS=$CPPFLAGS
10912 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10913 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10914 do :
10915 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10916 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10917 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10918 cat >>confdefs.h <<_ACEOF
10919 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10920 _ACEOF
10924 done
10926 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"
10927 then
10928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10929 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10930 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10931 $as_echo_n "(cached) " >&6
10932 else
10933 ac_check_lib_save_LIBS=$LIBS
10934 LIBS="-lxml2 $XML2_LIBS $LIBS"
10935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10936 /* end confdefs.h. */
10938 /* Override any GCC internal prototype to avoid an error.
10939 Use char because int might match the return type of a GCC
10940 builtin and then its argument prototype would still apply. */
10941 #ifdef __cplusplus
10942 extern "C"
10943 #endif
10944 char xmlParseMemory ();
10946 main ()
10948 return xmlParseMemory ();
10950 return 0;
10952 _ACEOF
10953 if ac_fn_c_try_link "$LINENO"; then :
10954 ac_cv_lib_xml2_xmlParseMemory=yes
10955 else
10956 ac_cv_lib_xml2_xmlParseMemory=no
10958 rm -f core conftest.err conftest.$ac_objext \
10959 conftest$ac_exeext conftest.$ac_ext
10960 LIBS=$ac_check_lib_save_LIBS
10962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10963 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10964 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10966 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10968 else
10969 XML2_LIBS=""
10972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10973 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10974 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10975 $as_echo_n "(cached) " >&6
10976 else
10977 ac_check_lib_save_LIBS=$LIBS
10978 LIBS="-lxml2 $XML2_LIBS $LIBS"
10979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10980 /* end confdefs.h. */
10982 /* Override any GCC internal prototype to avoid an error.
10983 Use char because int might match the return type of a GCC
10984 builtin and then its argument prototype would still apply. */
10985 #ifdef __cplusplus
10986 extern "C"
10987 #endif
10988 char xmlReadMemory ();
10990 main ()
10992 return xmlReadMemory ();
10994 return 0;
10996 _ACEOF
10997 if ac_fn_c_try_link "$LINENO"; then :
10998 ac_cv_lib_xml2_xmlReadMemory=yes
10999 else
11000 ac_cv_lib_xml2_xmlReadMemory=no
11002 rm -f core conftest.err conftest.$ac_objext \
11003 conftest$ac_exeext conftest.$ac_ext
11004 LIBS=$ac_check_lib_save_LIBS
11006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11007 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11008 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11010 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11015 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11016 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11017 $as_echo_n "(cached) " >&6
11018 else
11019 ac_check_lib_save_LIBS=$LIBS
11020 LIBS="-lxml2 $XML2_LIBS $LIBS"
11021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11022 /* end confdefs.h. */
11024 /* Override any GCC internal prototype to avoid an error.
11025 Use char because int might match the return type of a GCC
11026 builtin and then its argument prototype would still apply. */
11027 #ifdef __cplusplus
11028 extern "C"
11029 #endif
11030 char xmlNewDocPI ();
11032 main ()
11034 return xmlNewDocPI ();
11036 return 0;
11038 _ACEOF
11039 if ac_fn_c_try_link "$LINENO"; then :
11040 ac_cv_lib_xml2_xmlNewDocPI=yes
11041 else
11042 ac_cv_lib_xml2_xmlNewDocPI=no
11044 rm -f core conftest.err conftest.$ac_objext \
11045 conftest$ac_exeext conftest.$ac_ext
11046 LIBS=$ac_check_lib_save_LIBS
11048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11049 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11050 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11052 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11057 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11058 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11059 $as_echo_n "(cached) " >&6
11060 else
11061 ac_check_lib_save_LIBS=$LIBS
11062 LIBS="-lxml2 $XML2_LIBS $LIBS"
11063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11064 /* end confdefs.h. */
11066 /* Override any GCC internal prototype to avoid an error.
11067 Use char because int might match the return type of a GCC
11068 builtin and then its argument prototype would still apply. */
11069 #ifdef __cplusplus
11070 extern "C"
11071 #endif
11072 char xmlSchemaSetParserStructuredErrors ();
11074 main ()
11076 return xmlSchemaSetParserStructuredErrors ();
11078 return 0;
11080 _ACEOF
11081 if ac_fn_c_try_link "$LINENO"; then :
11082 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11083 else
11084 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11086 rm -f core conftest.err conftest.$ac_objext \
11087 conftest$ac_exeext conftest.$ac_ext
11088 LIBS=$ac_check_lib_save_LIBS
11090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11091 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11092 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11094 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11099 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11100 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11101 $as_echo_n "(cached) " >&6
11102 else
11103 ac_check_lib_save_LIBS=$LIBS
11104 LIBS="-lxml2 $XML2_LIBS $LIBS"
11105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11106 /* end confdefs.h. */
11108 /* Override any GCC internal prototype to avoid an error.
11109 Use char because int might match the return type of a GCC
11110 builtin and then its argument prototype would still apply. */
11111 #ifdef __cplusplus
11112 extern "C"
11113 #endif
11114 char xmlSchemaSetValidStructuredErrors ();
11116 main ()
11118 return xmlSchemaSetValidStructuredErrors ();
11120 return 0;
11122 _ACEOF
11123 if ac_fn_c_try_link "$LINENO"; then :
11124 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11125 else
11126 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11128 rm -f core conftest.err conftest.$ac_objext \
11129 conftest$ac_exeext conftest.$ac_ext
11130 LIBS=$ac_check_lib_save_LIBS
11132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11133 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11134 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11136 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11141 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11142 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11143 $as_echo_n "(cached) " >&6
11144 else
11145 ac_check_lib_save_LIBS=$LIBS
11146 LIBS="-lxml2 $XML2_LIBS $LIBS"
11147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11148 /* end confdefs.h. */
11150 /* Override any GCC internal prototype to avoid an error.
11151 Use char because int might match the return type of a GCC
11152 builtin and then its argument prototype would still apply. */
11153 #ifdef __cplusplus
11154 extern "C"
11155 #endif
11156 char xmlFirstElementChild ();
11158 main ()
11160 return xmlFirstElementChild ();
11162 return 0;
11164 _ACEOF
11165 if ac_fn_c_try_link "$LINENO"; then :
11166 ac_cv_lib_xml2_xmlFirstElementChild=yes
11167 else
11168 ac_cv_lib_xml2_xmlFirstElementChild=no
11170 rm -f core conftest.err conftest.$ac_objext \
11171 conftest$ac_exeext conftest.$ac_ext
11172 LIBS=$ac_check_lib_save_LIBS
11174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11175 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11176 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11178 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11182 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11184 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11186 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11190 else
11191 XML2_CFLAGS=""
11192 XML2_LIBS=""
11194 CPPFLAGS=$ac_save_CPPFLAGS
11195 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11196 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11199 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11200 case "x$with_xml" in
11201 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11202 xno) ;;
11203 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11204 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11205 esac
11208 if test "x$with_xslt" != "xno"
11209 then
11210 if ${XSLT_CFLAGS:+false} :; then :
11211 if ${PKG_CONFIG+:} false; then :
11212 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11215 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11216 if ${XSLT_LIBS:+false} :; then :
11217 if ${PKG_CONFIG+:} false; then :
11218 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11221 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11222 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11223 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11224 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11225 ac_save_CPPFLAGS=$CPPFLAGS
11226 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11227 for ac_header in libxslt/pattern.h libxslt/transform.h
11228 do :
11229 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11230 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11231 # include <libxslt/pattern.h>
11232 #endif
11234 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11235 cat >>confdefs.h <<_ACEOF
11236 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11237 _ACEOF
11241 done
11243 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11244 then
11245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11246 $as_echo_n "checking for -lxslt... " >&6; }
11247 if ${ac_cv_lib_soname_xslt+:} false; then :
11248 $as_echo_n "(cached) " >&6
11249 else
11250 ac_check_soname_save_LIBS=$LIBS
11251 LIBS="-lxslt $XSLT_LIBS $LIBS"
11252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11253 /* end confdefs.h. */
11255 /* Override any GCC internal prototype to avoid an error.
11256 Use char because int might match the return type of a GCC
11257 builtin and then its argument prototype would still apply. */
11258 #ifdef __cplusplus
11259 extern "C"
11260 #endif
11261 char xsltCompilePattern ();
11263 main ()
11265 return xsltCompilePattern ();
11267 return 0;
11269 _ACEOF
11270 if ac_fn_c_try_link "$LINENO"; then :
11271 case "$LIBEXT" in
11272 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11273 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'` ;;
11274 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11275 if ${ac_cv_lib_soname_xslt:+false} :; then :
11276 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11277 fi ;;
11278 esac
11280 rm -f core conftest.err conftest.$ac_objext \
11281 conftest$ac_exeext conftest.$ac_ext
11282 LIBS=$ac_check_soname_save_LIBS
11284 if ${ac_cv_lib_soname_xslt:+false} :; then :
11285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11286 $as_echo "not found" >&6; }
11288 else
11289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11290 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11292 cat >>confdefs.h <<_ACEOF
11293 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11294 _ACEOF
11298 else
11299 XSLT_CFLAGS=""
11301 CPPFLAGS=$ac_save_CPPFLAGS
11302 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11303 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11306 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11307 case "x$with_xslt" in
11308 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11309 xno) ;;
11310 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11311 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11312 esac
11315 if test "x$with_dbus" != "xno"
11316 then
11317 if ${DBUS_CFLAGS:+false} :; then :
11318 if ${PKG_CONFIG+:} false; then :
11319 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11323 if ${DBUS_LIBS:+false} :; then :
11324 if ${PKG_CONFIG+:} false; then :
11325 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11330 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11331 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11332 ac_save_CPPFLAGS=$CPPFLAGS
11333 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11334 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11335 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11337 $as_echo_n "checking for -ldbus-1... " >&6; }
11338 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11339 $as_echo_n "(cached) " >&6
11340 else
11341 ac_check_soname_save_LIBS=$LIBS
11342 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11344 /* end confdefs.h. */
11346 /* Override any GCC internal prototype to avoid an error.
11347 Use char because int might match the return type of a GCC
11348 builtin and then its argument prototype would still apply. */
11349 #ifdef __cplusplus
11350 extern "C"
11351 #endif
11352 char dbus_connection_close ();
11354 main ()
11356 return dbus_connection_close ();
11358 return 0;
11360 _ACEOF
11361 if ac_fn_c_try_link "$LINENO"; then :
11362 case "$LIBEXT" in
11363 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11364 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'` ;;
11365 *) 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'`
11366 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11367 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11368 fi ;;
11369 esac
11371 rm -f core conftest.err conftest.$ac_objext \
11372 conftest$ac_exeext conftest.$ac_ext
11373 LIBS=$ac_check_soname_save_LIBS
11375 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11377 $as_echo "not found" >&6; }
11378 DBUS_CFLAGS=""
11379 else
11380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11381 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11383 cat >>confdefs.h <<_ACEOF
11384 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11385 _ACEOF
11389 else
11390 DBUS_CFLAGS=""
11394 CPPFLAGS=$ac_save_CPPFLAGS
11395 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11396 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11399 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11400 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11401 case "x$with_dbus" in
11402 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11403 xno) ;;
11404 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11405 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11406 esac
11409 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11410 then
11411 if ${HAL_CFLAGS:+false} :; then :
11412 if ${PKG_CONFIG+:} false; then :
11413 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11417 if ${HAL_LIBS:+false} :; then :
11418 if ${PKG_CONFIG+:} false; then :
11419 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11423 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11424 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11425 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11426 ac_save_CPPFLAGS=$CPPFLAGS
11427 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11428 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11429 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11431 $as_echo_n "checking for -lhal... " >&6; }
11432 if ${ac_cv_lib_soname_hal+:} false; then :
11433 $as_echo_n "(cached) " >&6
11434 else
11435 ac_check_soname_save_LIBS=$LIBS
11436 LIBS="-lhal $HAL_LIBS $LIBS"
11437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11438 /* end confdefs.h. */
11440 /* Override any GCC internal prototype to avoid an error.
11441 Use char because int might match the return type of a GCC
11442 builtin and then its argument prototype would still apply. */
11443 #ifdef __cplusplus
11444 extern "C"
11445 #endif
11446 char libhal_ctx_new ();
11448 main ()
11450 return libhal_ctx_new ();
11452 return 0;
11454 _ACEOF
11455 if ac_fn_c_try_link "$LINENO"; then :
11456 case "$LIBEXT" in
11457 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11458 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'` ;;
11459 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11460 if ${ac_cv_lib_soname_hal:+false} :; then :
11461 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11462 fi ;;
11463 esac
11465 rm -f core conftest.err conftest.$ac_objext \
11466 conftest$ac_exeext conftest.$ac_ext
11467 LIBS=$ac_check_soname_save_LIBS
11469 if ${ac_cv_lib_soname_hal:+false} :; then :
11470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11471 $as_echo "not found" >&6; }
11472 HAL_CFLAGS=""
11473 else
11474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11475 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11477 cat >>confdefs.h <<_ACEOF
11478 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11479 _ACEOF
11483 else
11484 HAL_CFLAGS=""
11488 CPPFLAGS=$ac_save_CPPFLAGS
11489 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11490 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11492 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11493 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11494 case "x$with_hal" in
11495 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11496 xno) ;;
11497 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11498 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11499 esac
11503 if test "x$with_gnutls" != "xno"
11504 then
11505 if ${GNUTLS_CFLAGS:+false} :; then :
11506 if ${PKG_CONFIG+:} false; then :
11507 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11511 if ${GNUTLS_LIBS:+false} :; then :
11512 if ${PKG_CONFIG+:} false; then :
11513 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11518 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11519 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11520 ac_save_CPPFLAGS=$CPPFLAGS
11521 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11522 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11523 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11525 /* end confdefs.h. */
11526 #include <gnutls/gnutls.h>
11527 #include <gnutls/crypto.h>
11529 main ()
11531 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11533 return 0;
11535 _ACEOF
11536 if ac_fn_c_try_compile "$LINENO"; then :
11537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11538 $as_echo_n "checking for -lgnutls... " >&6; }
11539 if ${ac_cv_lib_soname_gnutls+:} false; then :
11540 $as_echo_n "(cached) " >&6
11541 else
11542 ac_check_soname_save_LIBS=$LIBS
11543 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11545 /* end confdefs.h. */
11547 /* Override any GCC internal prototype to avoid an error.
11548 Use char because int might match the return type of a GCC
11549 builtin and then its argument prototype would still apply. */
11550 #ifdef __cplusplus
11551 extern "C"
11552 #endif
11553 char gnutls_global_init ();
11555 main ()
11557 return gnutls_global_init ();
11559 return 0;
11561 _ACEOF
11562 if ac_fn_c_try_link "$LINENO"; then :
11563 case "$LIBEXT" in
11564 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11565 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'` ;;
11566 *) 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'`
11567 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11568 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'`
11569 fi ;;
11570 esac
11572 rm -f core conftest.err conftest.$ac_objext \
11573 conftest$ac_exeext conftest.$ac_ext
11574 LIBS=$ac_check_soname_save_LIBS
11576 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11578 $as_echo "not found" >&6; }
11579 GNUTLS_CFLAGS=""
11580 else
11581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11582 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11584 cat >>confdefs.h <<_ACEOF
11585 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11586 _ACEOF
11590 ac_wine_check_funcs_save_LIBS="$LIBS"
11591 LIBS="$LIBS $GNUTLS_LIBS"
11592 for ac_func in gnutls_hash
11593 do :
11594 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11595 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11596 cat >>confdefs.h <<_ACEOF
11597 #define HAVE_GNUTLS_HASH 1
11598 _ACEOF
11600 else
11601 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11603 done
11605 LIBS="$ac_wine_check_funcs_save_LIBS"
11607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11608 else
11609 GNUTLS_CFLAGS=""
11613 CPPFLAGS=$ac_save_CPPFLAGS
11614 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11615 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11618 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11619 case "x$with_gnutls" in
11620 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11621 xno) ;;
11622 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11623 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11624 esac
11627 CURSES_LIBS=""
11628 if test "$ac_cv_header_ncurses_h" = "yes"
11629 then
11630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11631 $as_echo_n "checking for -lncurses... " >&6; }
11632 if ${ac_cv_lib_soname_ncurses+:} false; then :
11633 $as_echo_n "(cached) " >&6
11634 else
11635 ac_check_soname_save_LIBS=$LIBS
11636 LIBS="-lncurses $LIBS"
11637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11638 /* end confdefs.h. */
11640 /* Override any GCC internal prototype to avoid an error.
11641 Use char because int might match the return type of a GCC
11642 builtin and then its argument prototype would still apply. */
11643 #ifdef __cplusplus
11644 extern "C"
11645 #endif
11646 char waddch ();
11648 main ()
11650 return waddch ();
11652 return 0;
11654 _ACEOF
11655 if ac_fn_c_try_link "$LINENO"; then :
11656 case "$LIBEXT" in
11657 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11658 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'` ;;
11659 *) 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'`
11660 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11661 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11662 fi ;;
11663 esac
11665 rm -f core conftest.err conftest.$ac_objext \
11666 conftest$ac_exeext conftest.$ac_ext
11667 LIBS=$ac_check_soname_save_LIBS
11669 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11671 $as_echo "not found" >&6; }
11673 else
11674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11675 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11677 cat >>confdefs.h <<_ACEOF
11678 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11679 _ACEOF
11681 CURSES_LIBS="-lncurses"
11683 elif test "$ac_cv_header_curses_h" = "yes"
11684 then
11685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11686 $as_echo_n "checking for -lcurses... " >&6; }
11687 if ${ac_cv_lib_soname_curses+:} false; then :
11688 $as_echo_n "(cached) " >&6
11689 else
11690 ac_check_soname_save_LIBS=$LIBS
11691 LIBS="-lcurses $LIBS"
11692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11693 /* end confdefs.h. */
11695 /* Override any GCC internal prototype to avoid an error.
11696 Use char because int might match the return type of a GCC
11697 builtin and then its argument prototype would still apply. */
11698 #ifdef __cplusplus
11699 extern "C"
11700 #endif
11701 char waddch ();
11703 main ()
11705 return waddch ();
11707 return 0;
11709 _ACEOF
11710 if ac_fn_c_try_link "$LINENO"; then :
11711 case "$LIBEXT" in
11712 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11713 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'` ;;
11714 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11715 if ${ac_cv_lib_soname_curses:+false} :; then :
11716 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11717 fi ;;
11718 esac
11720 rm -f core conftest.err conftest.$ac_objext \
11721 conftest$ac_exeext conftest.$ac_ext
11722 LIBS=$ac_check_soname_save_LIBS
11724 if ${ac_cv_lib_soname_curses:+false} :; then :
11725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11726 $as_echo "not found" >&6; }
11728 else
11729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11730 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11732 cat >>confdefs.h <<_ACEOF
11733 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11734 _ACEOF
11736 CURSES_LIBS="-lcurses"
11739 ac_save_LIBS="$LIBS"
11740 LIBS="$LIBS $CURSES_LIBS"
11741 for ac_func in mousemask
11742 do :
11743 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11744 if test "x$ac_cv_func_mousemask" = xyes; then :
11745 cat >>confdefs.h <<_ACEOF
11746 #define HAVE_MOUSEMASK 1
11747 _ACEOF
11750 done
11752 LIBS="$ac_save_LIBS"
11753 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11754 case "x$with_curses" in
11755 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11756 xno) ;;
11757 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11758 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11759 esac
11762 if test "x$with_sane" != "xno"
11763 then
11764 if ${SANE_CFLAGS:+false} :; then :
11765 if ${PKG_CONFIG+:} false; then :
11766 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11769 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11770 if ${SANE_LIBS:+false} :; then :
11771 if ${PKG_CONFIG+:} false; then :
11772 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11775 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11777 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11778 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11779 ac_save_CPPFLAGS=$CPPFLAGS
11780 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11781 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11782 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11784 $as_echo_n "checking for -lsane... " >&6; }
11785 if ${ac_cv_lib_soname_sane+:} false; then :
11786 $as_echo_n "(cached) " >&6
11787 else
11788 ac_check_soname_save_LIBS=$LIBS
11789 LIBS="-lsane $SANE_LIBS $LIBS"
11790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11791 /* end confdefs.h. */
11793 /* Override any GCC internal prototype to avoid an error.
11794 Use char because int might match the return type of a GCC
11795 builtin and then its argument prototype would still apply. */
11796 #ifdef __cplusplus
11797 extern "C"
11798 #endif
11799 char sane_init ();
11801 main ()
11803 return sane_init ();
11805 return 0;
11807 _ACEOF
11808 if ac_fn_c_try_link "$LINENO"; then :
11809 case "$LIBEXT" in
11810 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11811 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'` ;;
11812 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11813 if ${ac_cv_lib_soname_sane:+false} :; then :
11814 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11815 fi ;;
11816 esac
11818 rm -f core conftest.err conftest.$ac_objext \
11819 conftest$ac_exeext conftest.$ac_ext
11820 LIBS=$ac_check_soname_save_LIBS
11822 if ${ac_cv_lib_soname_sane:+false} :; then :
11823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11824 $as_echo "not found" >&6; }
11825 SANE_CFLAGS=""
11826 else
11827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11828 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11830 cat >>confdefs.h <<_ACEOF
11831 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11832 _ACEOF
11836 else
11837 SANE_CFLAGS=""
11841 CPPFLAGS=$ac_save_CPPFLAGS
11842 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11843 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11846 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11847 case "x$with_sane" in
11848 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11849 xno) ;;
11850 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11851 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11852 esac
11855 if test "x$with_v4l" != "xno"
11856 then
11857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11858 $as_echo_n "checking for -lv4l1... " >&6; }
11859 if ${ac_cv_lib_soname_v4l1+:} false; then :
11860 $as_echo_n "(cached) " >&6
11861 else
11862 ac_check_soname_save_LIBS=$LIBS
11863 LIBS="-lv4l1 $LIBS"
11864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11865 /* end confdefs.h. */
11867 /* Override any GCC internal prototype to avoid an error.
11868 Use char because int might match the return type of a GCC
11869 builtin and then its argument prototype would still apply. */
11870 #ifdef __cplusplus
11871 extern "C"
11872 #endif
11873 char v4l1_open ();
11875 main ()
11877 return v4l1_open ();
11879 return 0;
11881 _ACEOF
11882 if ac_fn_c_try_link "$LINENO"; then :
11883 case "$LIBEXT" in
11884 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11885 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'` ;;
11886 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11887 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11888 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11889 fi ;;
11890 esac
11892 rm -f core conftest.err conftest.$ac_objext \
11893 conftest$ac_exeext conftest.$ac_ext
11894 LIBS=$ac_check_soname_save_LIBS
11896 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11898 $as_echo "not found" >&6; }
11900 else
11901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11902 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11904 cat >>confdefs.h <<_ACEOF
11905 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11906 _ACEOF
11911 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11912 case "x$with_v4l" in
11913 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11914 xno) ;;
11915 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11916 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11917 esac
11920 if test "x$with_gphoto" != "xno"
11921 then
11922 if ${GPHOTO2_CFLAGS:+false} :; then :
11923 if ${PKG_CONFIG+:} false; then :
11924 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11927 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
11928 if ${GPHOTO2_LIBS:+false} :; then :
11929 if ${PKG_CONFIG+:} false; then :
11930 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11933 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
11934 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11935 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11936 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11937 ac_save_CPPFLAGS=$CPPFLAGS
11938 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11939 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11940 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11942 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11943 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11944 $as_echo_n "(cached) " >&6
11945 else
11946 ac_check_lib_save_LIBS=$LIBS
11947 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11949 /* end confdefs.h. */
11951 /* Override any GCC internal prototype to avoid an error.
11952 Use char because int might match the return type of a GCC
11953 builtin and then its argument prototype would still apply. */
11954 #ifdef __cplusplus
11955 extern "C"
11956 #endif
11957 char gp_camera_new ();
11959 main ()
11961 return gp_camera_new ();
11963 return 0;
11965 _ACEOF
11966 if ac_fn_c_try_link "$LINENO"; then :
11967 ac_cv_lib_gphoto2_gp_camera_new=yes
11968 else
11969 ac_cv_lib_gphoto2_gp_camera_new=no
11971 rm -f core conftest.err conftest.$ac_objext \
11972 conftest$ac_exeext conftest.$ac_ext
11973 LIBS=$ac_check_lib_save_LIBS
11975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11976 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11977 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11979 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11981 else
11982 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11985 else
11986 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11990 CPPFLAGS=$ac_save_CPPFLAGS
11991 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11992 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11994 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11995 if ${PKG_CONFIG+:} false; then :
11996 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11999 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12000 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12001 if ${PKG_CONFIG+:} false; then :
12002 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12005 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12006 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12007 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12008 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12009 ac_save_CPPFLAGS=$CPPFLAGS
12010 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12011 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12012 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12014 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12015 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12016 $as_echo_n "(cached) " >&6
12017 else
12018 ac_check_lib_save_LIBS=$LIBS
12019 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12021 /* end confdefs.h. */
12023 /* Override any GCC internal prototype to avoid an error.
12024 Use char because int might match the return type of a GCC
12025 builtin and then its argument prototype would still apply. */
12026 #ifdef __cplusplus
12027 extern "C"
12028 #endif
12029 char gp_port_info_list_new ();
12031 main ()
12033 return gp_port_info_list_new ();
12035 return 0;
12037 _ACEOF
12038 if ac_fn_c_try_link "$LINENO"; then :
12039 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12040 else
12041 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12043 rm -f core conftest.err conftest.$ac_objext \
12044 conftest$ac_exeext conftest.$ac_ext
12045 LIBS=$ac_check_lib_save_LIBS
12047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12048 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12049 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12051 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12053 else
12054 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12057 else
12058 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12062 CPPFLAGS=$ac_save_CPPFLAGS
12063 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12064 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12067 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12068 case "x$with_gphoto" in
12069 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12070 xno) ;;
12071 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12072 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12073 esac
12075 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12076 case "x$with_gphoto" in
12077 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12078 xno) ;;
12079 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12080 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12081 esac
12085 if test "$ac_cv_header_resolv_h" = "yes"
12086 then
12087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12088 $as_echo_n "checking for resolver library... " >&6; }
12089 if ${ac_cv_have_resolv+:} false; then :
12090 $as_echo_n "(cached) " >&6
12091 else
12092 ac_save_LIBS="$LIBS"
12093 for lib in '' -lresolv
12095 LIBS="$lib $ac_save_LIBS"
12096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12097 /* end confdefs.h. */
12098 #ifdef HAVE_NETINET_IN_H
12099 #include <netinet/in.h>
12100 #endif
12101 #include <resolv.h>
12103 main ()
12105 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12107 return 0;
12109 _ACEOF
12110 if ac_fn_c_try_link "$LINENO"; then :
12111 ac_cv_have_resolv=${lib:-"none required"}
12112 else
12113 ac_cv_have_resolv="not found"
12115 rm -f core conftest.err conftest.$ac_objext \
12116 conftest$ac_exeext conftest.$ac_ext
12117 test "x$ac_cv_have_resolv" = "xnot found" || break
12118 done
12119 LIBS="$ac_save_LIBS"
12121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12122 $as_echo "$ac_cv_have_resolv" >&6; }
12124 case "$ac_cv_have_resolv" in
12125 "not found") ;;
12126 "none required")
12128 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12131 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12133 RESOLV_LIBS=$ac_cv_have_resolv
12135 esac
12138 if test "x$with_cms" != "xno"
12139 then
12140 if ${LCMS2_CFLAGS:+false} :; then :
12141 if ${PKG_CONFIG+:} false; then :
12142 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12146 if ${LCMS2_LIBS:+false} :; then :
12147 if ${PKG_CONFIG+:} false; then :
12148 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12152 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12153 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12154 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12155 ac_save_CPPFLAGS=$CPPFLAGS
12156 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12157 for ac_header in lcms2.h
12158 do :
12159 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12160 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12161 cat >>confdefs.h <<_ACEOF
12162 #define HAVE_LCMS2_H 1
12163 _ACEOF
12167 done
12169 if test "$ac_cv_header_lcms2_h" = "yes"
12170 then
12171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12172 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12173 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12174 $as_echo_n "(cached) " >&6
12175 else
12176 ac_check_lib_save_LIBS=$LIBS
12177 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12179 /* end confdefs.h. */
12181 /* Override any GCC internal prototype to avoid an error.
12182 Use char because int might match the return type of a GCC
12183 builtin and then its argument prototype would still apply. */
12184 #ifdef __cplusplus
12185 extern "C"
12186 #endif
12187 char cmsOpenProfileFromFile ();
12189 main ()
12191 return cmsOpenProfileFromFile ();
12193 return 0;
12195 _ACEOF
12196 if ac_fn_c_try_link "$LINENO"; then :
12197 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12198 else
12199 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12201 rm -f core conftest.err conftest.$ac_objext \
12202 conftest$ac_exeext conftest.$ac_ext
12203 LIBS=$ac_check_lib_save_LIBS
12205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12206 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12207 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12209 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12211 else
12212 LCMS2_LIBS=""
12215 else
12216 LCMS2_CFLAGS=""
12217 LCMS2_LIBS=""
12219 CPPFLAGS=$ac_save_CPPFLAGS
12220 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12221 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12224 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12225 case "x$with_cms" in
12226 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12227 xno) ;;
12228 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12229 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12230 esac
12233 if test "x$with_freetype" != "xno"
12234 then
12235 if ${FREETYPE_CFLAGS:+false} :; then :
12236 if ${PKG_CONFIG+:} false; then :
12237 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12240 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12241 if ${FREETYPE_LIBS:+false} :; then :
12242 if ${PKG_CONFIG+:} false; then :
12243 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12246 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12247 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12248 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12249 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12250 ac_save_CPPFLAGS=$CPPFLAGS
12251 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12252 for ac_header in ft2build.h
12253 do :
12254 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12255 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12256 cat >>confdefs.h <<_ACEOF
12257 #define HAVE_FT2BUILD_H 1
12258 _ACEOF
12262 done
12264 if test "$ac_cv_header_ft2build_h" = "yes"
12265 then
12266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12267 $as_echo_n "checking for -lfreetype... " >&6; }
12268 if ${ac_cv_lib_soname_freetype+:} false; then :
12269 $as_echo_n "(cached) " >&6
12270 else
12271 ac_check_soname_save_LIBS=$LIBS
12272 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12274 /* end confdefs.h. */
12276 /* Override any GCC internal prototype to avoid an error.
12277 Use char because int might match the return type of a GCC
12278 builtin and then its argument prototype would still apply. */
12279 #ifdef __cplusplus
12280 extern "C"
12281 #endif
12282 char FT_Init_FreeType ();
12284 main ()
12286 return FT_Init_FreeType ();
12288 return 0;
12290 _ACEOF
12291 if ac_fn_c_try_link "$LINENO"; then :
12292 case "$LIBEXT" in
12293 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12294 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'` ;;
12295 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12296 if ${ac_cv_lib_soname_freetype:+false} :; then :
12297 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12298 fi ;;
12299 esac
12301 rm -f core conftest.err conftest.$ac_objext \
12302 conftest$ac_exeext conftest.$ac_ext
12303 LIBS=$ac_check_soname_save_LIBS
12305 if ${ac_cv_lib_soname_freetype:+false} :; then :
12306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12307 $as_echo "not found" >&6; }
12308 FREETYPE_LIBS=""
12309 else
12310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12311 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12313 cat >>confdefs.h <<_ACEOF
12314 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12315 _ACEOF
12318 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12320 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12321 #include FT_MODULE_H
12323 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12325 cat >>confdefs.h <<_ACEOF
12326 #define HAVE_FT_TRUETYPEENGINETYPE 1
12327 _ACEOF
12333 else
12334 FREETYPE_CFLAGS=""
12335 FREETYPE_LIBS=""
12337 CPPFLAGS=$ac_save_CPPFLAGS
12338 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12339 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12342 if test "x$ac_cv_lib_soname_freetype" = x; then :
12343 case "x$with_freetype" in
12344 xno) ;;
12345 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12346 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12347 esac
12349 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
12351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12352 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12353 if ${ac_cv_c_ppdev+:} false; then :
12354 $as_echo_n "(cached) " >&6
12355 else
12356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12357 /* end confdefs.h. */
12358 #ifdef HAVE_SYS_IOCTL_H
12359 # include <sys/ioctl.h>
12360 #endif
12361 #include <linux/ppdev.h>
12363 main ()
12365 ioctl (1,PPCLAIM,0)
12367 return 0;
12369 _ACEOF
12370 if ac_fn_c_try_compile "$LINENO"; then :
12371 ac_cv_c_ppdev="yes"
12372 else
12373 ac_cv_c_ppdev="no"
12375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12378 $as_echo "$ac_cv_c_ppdev" >&6; }
12379 if test "$ac_cv_c_ppdev" = "yes"
12380 then
12382 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12386 ac_wine_check_funcs_save_LIBS="$LIBS"
12387 LIBS="$LIBS $PTHREAD_LIBS"
12388 for ac_func in \
12389 pthread_attr_get_np \
12390 pthread_getattr_np \
12391 pthread_getthreadid_np \
12392 pthread_get_stackaddr_np \
12393 pthread_get_stacksize_np
12394 do :
12395 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12396 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12397 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12398 cat >>confdefs.h <<_ACEOF
12399 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12400 _ACEOF
12403 done
12405 LIBS="$ac_wine_check_funcs_save_LIBS"
12407 if test "$ac_cv_header_zlib_h" = "yes"
12408 then
12409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12410 $as_echo_n "checking for inflate in -lz... " >&6; }
12411 if ${ac_cv_lib_z_inflate+:} false; then :
12412 $as_echo_n "(cached) " >&6
12413 else
12414 ac_check_lib_save_LIBS=$LIBS
12415 LIBS="-lz $LIBS"
12416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12417 /* end confdefs.h. */
12419 /* Override any GCC internal prototype to avoid an error.
12420 Use char because int might match the return type of a GCC
12421 builtin and then its argument prototype would still apply. */
12422 #ifdef __cplusplus
12423 extern "C"
12424 #endif
12425 char inflate ();
12427 main ()
12429 return inflate ();
12431 return 0;
12433 _ACEOF
12434 if ac_fn_c_try_link "$LINENO"; then :
12435 ac_cv_lib_z_inflate=yes
12436 else
12437 ac_cv_lib_z_inflate=no
12439 rm -f core conftest.err conftest.$ac_objext \
12440 conftest$ac_exeext conftest.$ac_ext
12441 LIBS=$ac_check_lib_save_LIBS
12443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12444 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12445 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12447 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12449 Z_LIBS="-lz"
12454 if test "x$Z_LIBS" = "x"; then :
12455 case "x$with_zlib" in
12456 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12457 xno) ;;
12458 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12459 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12460 esac
12463 if test "x$enable_tools" != xno
12464 then
12465 if test "$ac_cv_header_gettext_po_h" = "yes"
12466 then
12467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12468 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12469 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12470 $as_echo_n "(cached) " >&6
12471 else
12472 ac_check_lib_save_LIBS=$LIBS
12473 LIBS="-lgettextpo $LIBS"
12474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12475 /* end confdefs.h. */
12477 /* Override any GCC internal prototype to avoid an error.
12478 Use char because int might match the return type of a GCC
12479 builtin and then its argument prototype would still apply. */
12480 #ifdef __cplusplus
12481 extern "C"
12482 #endif
12483 char po_message_msgctxt ();
12485 main ()
12487 return po_message_msgctxt ();
12489 return 0;
12491 _ACEOF
12492 if ac_fn_c_try_link "$LINENO"; then :
12493 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12494 else
12495 ac_cv_lib_gettextpo_po_message_msgctxt=no
12497 rm -f core conftest.err conftest.$ac_objext \
12498 conftest$ac_exeext conftest.$ac_ext
12499 LIBS=$ac_check_lib_save_LIBS
12501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12502 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12503 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12505 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12507 GETTEXTPO_LIBS="-lgettextpo"
12512 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12513 case "x$with_gettextpo" in
12514 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12515 xno) ;;
12516 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12517 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12518 esac
12522 if test "x$with_pulse" != "xno";
12523 then
12524 if ${PULSE_CFLAGS:+false} :; then :
12525 if ${PKG_CONFIG+:} false; then :
12526 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12530 if ${PULSE_LIBS:+false} :; then :
12531 if ${PKG_CONFIG+:} false; then :
12532 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12537 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12538 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12539 ac_save_CPPFLAGS=$CPPFLAGS
12540 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12541 for ac_header in pulse/pulseaudio.h
12542 do :
12543 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12544 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12545 cat >>confdefs.h <<_ACEOF
12546 #define HAVE_PULSE_PULSEAUDIO_H 1
12547 _ACEOF
12548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12549 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12550 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12551 $as_echo_n "(cached) " >&6
12552 else
12553 ac_check_lib_save_LIBS=$LIBS
12554 LIBS="-lpulse $PULSE_LIBS $LIBS"
12555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12556 /* end confdefs.h. */
12558 /* Override any GCC internal prototype to avoid an error.
12559 Use char because int might match the return type of a GCC
12560 builtin and then its argument prototype would still apply. */
12561 #ifdef __cplusplus
12562 extern "C"
12563 #endif
12564 char pa_stream_is_corked ();
12566 main ()
12568 return pa_stream_is_corked ();
12570 return 0;
12572 _ACEOF
12573 if ac_fn_c_try_link "$LINENO"; then :
12574 ac_cv_lib_pulse_pa_stream_is_corked=yes
12575 else
12576 ac_cv_lib_pulse_pa_stream_is_corked=no
12578 rm -f core conftest.err conftest.$ac_objext \
12579 conftest$ac_exeext conftest.$ac_ext
12580 LIBS=$ac_check_lib_save_LIBS
12582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12583 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12584 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12586 else
12587 PULSE_LIBS=""
12590 else
12591 PULSE_LIBS=""
12594 done
12596 CPPFLAGS=$ac_save_CPPFLAGS
12597 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12598 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12601 if test -z "$PULSE_LIBS"; then :
12602 case "x$with_pulse" in
12603 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12604 xno) ;;
12605 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12606 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12607 esac
12609 test -n "$PULSE_LIBS" || enable_winepulse_drv=${enable_winepulse_drv:-no}
12611 if test "x$with_gstreamer" != "xno"
12612 then
12613 if ${GSTREAMER_CFLAGS:+false} :; then :
12614 if ${PKG_CONFIG+:} false; then :
12615 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12619 if ${GSTREAMER_LIBS:+false} :; then :
12620 if ${PKG_CONFIG+:} false; then :
12621 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12626 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12627 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12628 ac_save_CPPFLAGS=$CPPFLAGS
12629 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12630 ac_gst_incl=""
12631 for i in $GSTREAMER_CFLAGS
12633 case "$i" in
12634 -I*) ac_gst_incl="$ac_gst_incl $i";;
12635 esac
12636 done
12637 GSTREAMER_CFLAGS=$ac_gst_incl
12638 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12639 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12640 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12642 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12644 /* end confdefs.h. */
12645 #include <gst/gst.h>
12647 main ()
12649 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12651 return 0;
12653 _ACEOF
12654 if ac_fn_c_try_compile "$LINENO"; then :
12655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12656 $as_echo "yes" >&6; }
12657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12658 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12659 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12660 $as_echo_n "(cached) " >&6
12661 else
12662 ac_check_lib_save_LIBS=$LIBS
12663 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12665 /* end confdefs.h. */
12667 /* Override any GCC internal prototype to avoid an error.
12668 Use char because int might match the return type of a GCC
12669 builtin and then its argument prototype would still apply. */
12670 #ifdef __cplusplus
12671 extern "C"
12672 #endif
12673 char gst_pad_new ();
12675 main ()
12677 return gst_pad_new ();
12679 return 0;
12681 _ACEOF
12682 if ac_fn_c_try_link "$LINENO"; then :
12683 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12684 else
12685 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12687 rm -f core conftest.err conftest.$ac_objext \
12688 conftest$ac_exeext conftest.$ac_ext
12689 LIBS=$ac_check_lib_save_LIBS
12691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12692 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12693 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12697 else
12698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12699 $as_echo "no" >&6; }
12701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12705 CPPFLAGS=$ac_save_CPPFLAGS
12706 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12707 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12710 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12711 case "x$with_gstreamer" in
12712 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12713 xno) ;;
12714 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12715 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12716 esac
12718 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12720 ALSA_LIBS=""
12722 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12723 then
12724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12725 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12726 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12727 $as_echo_n "(cached) " >&6
12728 else
12729 ac_check_lib_save_LIBS=$LIBS
12730 LIBS="-lasound $LIBS"
12731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12732 /* end confdefs.h. */
12734 /* Override any GCC internal prototype to avoid an error.
12735 Use char because int might match the return type of a GCC
12736 builtin and then its argument prototype would still apply. */
12737 #ifdef __cplusplus
12738 extern "C"
12739 #endif
12740 char snd_pcm_hw_params_get_access_mask ();
12742 main ()
12744 return snd_pcm_hw_params_get_access_mask ();
12746 return 0;
12748 _ACEOF
12749 if ac_fn_c_try_link "$LINENO"; then :
12750 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12751 else
12752 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12754 rm -f core conftest.err conftest.$ac_objext \
12755 conftest$ac_exeext conftest.$ac_ext
12756 LIBS=$ac_check_lib_save_LIBS
12758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12759 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12760 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12762 /* end confdefs.h. */
12763 #ifdef HAVE_ALSA_ASOUNDLIB_H
12764 #include <alsa/asoundlib.h>
12765 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12766 #include <sys/asoundlib.h>
12767 #endif
12769 main ()
12771 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12773 return 0;
12775 _ACEOF
12776 if ac_fn_c_try_compile "$LINENO"; then :
12777 ALSA_LIBS="-lasound"
12779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12783 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12785 if test "x$with_oss" != xno
12786 then
12787 ac_save_CPPFLAGS="$CPPFLAGS"
12788 if test -f /etc/oss.conf
12789 then
12790 . /etc/oss.conf
12792 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12793 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12794 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12795 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12796 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12798 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12800 cat >>confdefs.h <<_ACEOF
12801 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12802 _ACEOF
12804 OSS4_CFLAGS="$ac_oss_incl"
12811 CPPFLAGS="$ac_save_CPPFLAGS"
12812 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12813 then
12814 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12817 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
12819 if test "x$with_capi" != "xno"
12820 then
12821 if ${CAPI20_CFLAGS:+false} :; then :
12822 if ${PKG_CONFIG+:} false; then :
12823 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12827 if ${CAPI20_LIBS:+false} :; then :
12828 if ${PKG_CONFIG+:} false; then :
12829 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12834 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12835 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12836 ac_save_CPPFLAGS=$CPPFLAGS
12837 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12838 for ac_header in capi20.h linux/capi.h
12839 do :
12840 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12841 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12843 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12844 cat >>confdefs.h <<_ACEOF
12845 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12846 _ACEOF
12850 done
12852 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12853 then
12854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12855 $as_echo_n "checking for -lcapi20... " >&6; }
12856 if ${ac_cv_lib_soname_capi20+:} false; then :
12857 $as_echo_n "(cached) " >&6
12858 else
12859 ac_check_soname_save_LIBS=$LIBS
12860 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12862 /* end confdefs.h. */
12864 /* Override any GCC internal prototype to avoid an error.
12865 Use char because int might match the return type of a GCC
12866 builtin and then its argument prototype would still apply. */
12867 #ifdef __cplusplus
12868 extern "C"
12869 #endif
12870 char capi20_register ();
12872 main ()
12874 return capi20_register ();
12876 return 0;
12878 _ACEOF
12879 if ac_fn_c_try_link "$LINENO"; then :
12880 case "$LIBEXT" in
12881 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12882 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'` ;;
12883 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12884 if ${ac_cv_lib_soname_capi20:+false} :; then :
12885 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12886 fi ;;
12887 esac
12889 rm -f core conftest.err conftest.$ac_objext \
12890 conftest$ac_exeext conftest.$ac_ext
12891 LIBS=$ac_check_soname_save_LIBS
12893 if ${ac_cv_lib_soname_capi20:+false} :; then :
12894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12895 $as_echo "not found" >&6; }
12897 else
12898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12899 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12901 cat >>confdefs.h <<_ACEOF
12902 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12903 _ACEOF
12908 CPPFLAGS=$ac_save_CPPFLAGS
12909 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12910 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12913 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12914 case "x$with_capi" in
12915 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12916 xno) ;;
12917 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12918 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12919 esac
12922 CUPS_CFLAGS=""
12924 if test "x$with_cups" != "xno"
12925 then
12926 ac_save_CPPFLAGS="$CPPFLAGS"
12927 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
12928 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
12929 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12930 for ac_header in cups/cups.h
12931 do :
12932 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12933 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12934 cat >>confdefs.h <<_ACEOF
12935 #define HAVE_CUPS_CUPS_H 1
12936 _ACEOF
12937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12938 $as_echo_n "checking for -lcups... " >&6; }
12939 if ${ac_cv_lib_soname_cups+:} false; then :
12940 $as_echo_n "(cached) " >&6
12941 else
12942 ac_check_soname_save_LIBS=$LIBS
12943 LIBS="-lcups $ac_cups_libs $LIBS"
12944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12945 /* end confdefs.h. */
12947 /* Override any GCC internal prototype to avoid an error.
12948 Use char because int might match the return type of a GCC
12949 builtin and then its argument prototype would still apply. */
12950 #ifdef __cplusplus
12951 extern "C"
12952 #endif
12953 char cupsGetDefault ();
12955 main ()
12957 return cupsGetDefault ();
12959 return 0;
12961 _ACEOF
12962 if ac_fn_c_try_link "$LINENO"; then :
12963 case "$LIBEXT" in
12964 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12965 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'` ;;
12966 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12967 if ${ac_cv_lib_soname_cups:+false} :; then :
12968 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12969 fi ;;
12970 esac
12972 rm -f core conftest.err conftest.$ac_objext \
12973 conftest$ac_exeext conftest.$ac_ext
12974 LIBS=$ac_check_soname_save_LIBS
12976 if ${ac_cv_lib_soname_cups:+false} :; then :
12977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12978 $as_echo "not found" >&6; }
12980 else
12981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12982 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12984 cat >>confdefs.h <<_ACEOF
12985 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12986 _ACEOF
12988 CUPS_CFLAGS="$ac_cups_cflags"
12992 done
12994 CPPFLAGS="$ac_save_CPPFLAGS"
12996 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12997 case "x$with_cups" in
12998 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12999 xno) ;;
13000 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13001 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13002 esac
13005 if test "x$with_fontconfig" != "xno"
13006 then
13007 if ${FONTCONFIG_CFLAGS:+false} :; then :
13008 if ${PKG_CONFIG+:} false; then :
13009 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13012 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13013 if ${FONTCONFIG_LIBS:+false} :; then :
13014 if ${PKG_CONFIG+:} false; then :
13015 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13018 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13020 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13021 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13022 ac_save_CPPFLAGS=$CPPFLAGS
13023 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13024 for ac_header in fontconfig/fontconfig.h
13025 do :
13026 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13027 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13028 cat >>confdefs.h <<_ACEOF
13029 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13030 _ACEOF
13034 done
13036 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13037 then
13038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13039 $as_echo_n "checking for -lfontconfig... " >&6; }
13040 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13041 $as_echo_n "(cached) " >&6
13042 else
13043 ac_check_soname_save_LIBS=$LIBS
13044 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13046 /* end confdefs.h. */
13048 /* Override any GCC internal prototype to avoid an error.
13049 Use char because int might match the return type of a GCC
13050 builtin and then its argument prototype would still apply. */
13051 #ifdef __cplusplus
13052 extern "C"
13053 #endif
13054 char FcInit ();
13056 main ()
13058 return FcInit ();
13060 return 0;
13062 _ACEOF
13063 if ac_fn_c_try_link "$LINENO"; then :
13064 case "$LIBEXT" in
13065 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13066 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'` ;;
13067 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13068 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13069 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13070 fi ;;
13071 esac
13073 rm -f core conftest.err conftest.$ac_objext \
13074 conftest$ac_exeext conftest.$ac_ext
13075 LIBS=$ac_check_soname_save_LIBS
13077 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13079 $as_echo "not found" >&6; }
13080 FONTCONFIG_CFLAGS=""
13081 else
13082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13083 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13085 cat >>confdefs.h <<_ACEOF
13086 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13087 _ACEOF
13091 else
13092 FONTCONFIG_CFLAGS=""
13094 CPPFLAGS=$ac_save_CPPFLAGS
13095 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13096 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13099 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13100 case "x$with_fontconfig" in
13101 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13102 xno) ;;
13103 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13104 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13105 esac
13108 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13109 then
13110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13111 $as_echo_n "checking for -lgsm... " >&6; }
13112 if ${ac_cv_lib_soname_gsm+:} false; then :
13113 $as_echo_n "(cached) " >&6
13114 else
13115 ac_check_soname_save_LIBS=$LIBS
13116 LIBS="-lgsm $LIBS"
13117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13118 /* end confdefs.h. */
13120 /* Override any GCC internal prototype to avoid an error.
13121 Use char because int might match the return type of a GCC
13122 builtin and then its argument prototype would still apply. */
13123 #ifdef __cplusplus
13124 extern "C"
13125 #endif
13126 char gsm_create ();
13128 main ()
13130 return gsm_create ();
13132 return 0;
13134 _ACEOF
13135 if ac_fn_c_try_link "$LINENO"; then :
13136 case "$LIBEXT" in
13137 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13138 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'` ;;
13139 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13140 if ${ac_cv_lib_soname_gsm:+false} :; then :
13141 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13142 fi ;;
13143 esac
13145 rm -f core conftest.err conftest.$ac_objext \
13146 conftest$ac_exeext conftest.$ac_ext
13147 LIBS=$ac_check_soname_save_LIBS
13149 if ${ac_cv_lib_soname_gsm:+false} :; then :
13150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13151 $as_echo "not found" >&6; }
13153 else
13154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13155 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13157 cat >>confdefs.h <<_ACEOF
13158 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13159 _ACEOF
13164 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13165 case "x$with_gsm" in
13166 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13167 xno) ;;
13168 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13169 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13170 esac
13173 if test "x$with_jpeg" != "xno"
13174 then
13175 if ${JPEG_CFLAGS:+false} :; then :
13176 if ${PKG_CONFIG+:} false; then :
13177 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13181 if ${JPEG_LIBS:+false} :; then :
13182 if ${PKG_CONFIG+:} false; then :
13183 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13188 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13189 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13190 ac_save_CPPFLAGS=$CPPFLAGS
13191 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13192 for ac_header in jpeglib.h
13193 do :
13194 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13195 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13196 cat >>confdefs.h <<_ACEOF
13197 #define HAVE_JPEGLIB_H 1
13198 _ACEOF
13202 done
13204 if test "$ac_cv_header_jpeglib_h" = "yes"
13205 then
13206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13207 $as_echo_n "checking for -ljpeg... " >&6; }
13208 if ${ac_cv_lib_soname_jpeg+:} false; then :
13209 $as_echo_n "(cached) " >&6
13210 else
13211 ac_check_soname_save_LIBS=$LIBS
13212 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13214 /* end confdefs.h. */
13216 /* Override any GCC internal prototype to avoid an error.
13217 Use char because int might match the return type of a GCC
13218 builtin and then its argument prototype would still apply. */
13219 #ifdef __cplusplus
13220 extern "C"
13221 #endif
13222 char jpeg_start_decompress ();
13224 main ()
13226 return jpeg_start_decompress ();
13228 return 0;
13230 _ACEOF
13231 if ac_fn_c_try_link "$LINENO"; then :
13232 case "$LIBEXT" in
13233 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13234 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'` ;;
13235 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13236 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13237 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13238 fi ;;
13239 esac
13241 rm -f core conftest.err conftest.$ac_objext \
13242 conftest$ac_exeext conftest.$ac_ext
13243 LIBS=$ac_check_soname_save_LIBS
13245 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13247 $as_echo "not found" >&6; }
13248 JPEG_CFLAGS=""
13249 else
13250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13251 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13253 cat >>confdefs.h <<_ACEOF
13254 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13255 _ACEOF
13259 else
13260 JPEG_CFLAGS=""
13262 CPPFLAGS=$ac_save_CPPFLAGS
13263 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13264 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13267 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13268 case "x$with_jpeg" in
13269 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13270 xno) ;;
13271 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13272 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13273 esac
13276 if test "x$with_png" != "xno"
13277 then
13278 if ${PNG_CFLAGS:+false} :; then :
13279 if ${PKG_CONFIG+:} false; then :
13280 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13283 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13284 if ${PNG_LIBS:+false} :; then :
13285 if ${PKG_CONFIG+:} false; then :
13286 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13289 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13291 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13292 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13293 ac_save_CPPFLAGS=$CPPFLAGS
13294 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13295 for ac_header in png.h
13296 do :
13297 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13298 if test "x$ac_cv_header_png_h" = xyes; then :
13299 cat >>confdefs.h <<_ACEOF
13300 #define HAVE_PNG_H 1
13301 _ACEOF
13305 done
13307 if test "$ac_cv_header_png_h" = "yes"
13308 then
13309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13310 $as_echo_n "checking for -lpng... " >&6; }
13311 if ${ac_cv_lib_soname_png+:} false; then :
13312 $as_echo_n "(cached) " >&6
13313 else
13314 ac_check_soname_save_LIBS=$LIBS
13315 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13317 /* end confdefs.h. */
13319 /* Override any GCC internal prototype to avoid an error.
13320 Use char because int might match the return type of a GCC
13321 builtin and then its argument prototype would still apply. */
13322 #ifdef __cplusplus
13323 extern "C"
13324 #endif
13325 char png_create_read_struct ();
13327 main ()
13329 return png_create_read_struct ();
13331 return 0;
13333 _ACEOF
13334 if ac_fn_c_try_link "$LINENO"; then :
13335 case "$LIBEXT" in
13336 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13337 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'` ;;
13338 *) 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'`
13339 if ${ac_cv_lib_soname_png:+false} :; then :
13340 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13341 fi ;;
13342 esac
13344 rm -f core conftest.err conftest.$ac_objext \
13345 conftest$ac_exeext conftest.$ac_ext
13346 LIBS=$ac_check_soname_save_LIBS
13348 if ${ac_cv_lib_soname_png:+false} :; then :
13349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13350 $as_echo "not found" >&6; }
13351 PNG_CFLAGS=""
13352 else
13353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13354 $as_echo "$ac_cv_lib_soname_png" >&6; }
13356 cat >>confdefs.h <<_ACEOF
13357 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13358 _ACEOF
13360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13361 /* end confdefs.h. */
13362 #include <png.h>
13364 main ()
13366 typeof(png_set_expand_gray_1_2_4_to_8) *p
13368 return 0;
13370 _ACEOF
13371 if ac_fn_c_try_compile "$LINENO"; then :
13373 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13378 else
13379 PNG_CFLAGS=""
13381 CPPFLAGS=$ac_save_CPPFLAGS
13382 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13383 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13386 if test "x$ac_cv_lib_soname_png" = "x"; then :
13387 case "x$with_png" in
13388 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13389 xno) ;;
13390 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13391 This is an error since --with-png was requested." "$LINENO" 5 ;;
13392 esac
13395 if test "x$with_tiff" != "xno"
13396 then
13397 if ${TIFF_CFLAGS:+false} :; then :
13398 if ${PKG_CONFIG+:} false; then :
13399 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13403 if ${TIFF_LIBS:+false} :; then :
13404 if ${PKG_CONFIG+:} false; then :
13405 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13410 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13411 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13412 ac_save_CPPFLAGS=$CPPFLAGS
13413 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13414 for ac_header in tiffio.h
13415 do :
13416 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13417 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13418 cat >>confdefs.h <<_ACEOF
13419 #define HAVE_TIFFIO_H 1
13420 _ACEOF
13424 done
13426 if test "$ac_cv_header_tiffio_h" = "yes"
13427 then
13428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13429 $as_echo_n "checking for -ltiff... " >&6; }
13430 if ${ac_cv_lib_soname_tiff+:} false; then :
13431 $as_echo_n "(cached) " >&6
13432 else
13433 ac_check_soname_save_LIBS=$LIBS
13434 LIBS="-ltiff $TIFF_LIBS $LIBS"
13435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13436 /* end confdefs.h. */
13438 /* Override any GCC internal prototype to avoid an error.
13439 Use char because int might match the return type of a GCC
13440 builtin and then its argument prototype would still apply. */
13441 #ifdef __cplusplus
13442 extern "C"
13443 #endif
13444 char TIFFClientOpen ();
13446 main ()
13448 return TIFFClientOpen ();
13450 return 0;
13452 _ACEOF
13453 if ac_fn_c_try_link "$LINENO"; then :
13454 case "$LIBEXT" in
13455 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13456 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'` ;;
13457 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13458 if ${ac_cv_lib_soname_tiff:+false} :; then :
13459 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13460 fi ;;
13461 esac
13463 rm -f core conftest.err conftest.$ac_objext \
13464 conftest$ac_exeext conftest.$ac_ext
13465 LIBS=$ac_check_soname_save_LIBS
13467 if ${ac_cv_lib_soname_tiff:+false} :; then :
13468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13469 $as_echo "not found" >&6; }
13471 else
13472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13473 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13475 cat >>confdefs.h <<_ACEOF
13476 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13477 _ACEOF
13482 CPPFLAGS=$ac_save_CPPFLAGS
13483 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13484 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13487 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13488 case "x$with_tiff" in
13489 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13490 xno) ;;
13491 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13492 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13493 esac
13496 if test "x$with_mpg123" != "xno"
13497 then
13498 if ${MPG123_CFLAGS:+false} :; then :
13499 if ${PKG_CONFIG+:} false; then :
13500 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13504 if ${MPG123_LIBS:+false} :; then :
13505 if ${PKG_CONFIG+:} false; then :
13506 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13510 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13511 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13512 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13513 ac_save_CPPFLAGS=$CPPFLAGS
13514 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13515 for ac_header in mpg123.h
13516 do :
13517 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13518 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13519 cat >>confdefs.h <<_ACEOF
13520 #define HAVE_MPG123_H 1
13521 _ACEOF
13525 done
13527 if test "$ac_cv_header_mpg123_h" = "yes"
13528 then
13529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13530 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13531 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13532 $as_echo_n "(cached) " >&6
13533 else
13534 ac_check_lib_save_LIBS=$LIBS
13535 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13537 /* end confdefs.h. */
13539 /* Override any GCC internal prototype to avoid an error.
13540 Use char because int might match the return type of a GCC
13541 builtin and then its argument prototype would still apply. */
13542 #ifdef __cplusplus
13543 extern "C"
13544 #endif
13545 char mpg123_feed ();
13547 main ()
13549 return mpg123_feed ();
13551 return 0;
13553 _ACEOF
13554 if ac_fn_c_try_link "$LINENO"; then :
13555 ac_cv_lib_mpg123_mpg123_feed=yes
13556 else
13557 ac_cv_lib_mpg123_mpg123_feed=no
13559 rm -f core conftest.err conftest.$ac_objext \
13560 conftest$ac_exeext conftest.$ac_ext
13561 LIBS=$ac_check_lib_save_LIBS
13563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13564 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13565 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13567 else
13568 MPG123_LIBS=""
13571 else
13572 MPG123_CFLAGS=""
13573 MPG123_LIBS=""
13575 CPPFLAGS=$ac_save_CPPFLAGS
13576 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13577 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13580 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13581 case "x$with_mpg123" in
13582 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13583 xno) ;;
13584 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13585 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13586 esac
13588 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes -o "x$ac_cv_header_AudioToolbox_AudioConverter_h" = xyes || enable_winemp3_acm=${enable_winemp3_acm:-no}
13590 if test "$ac_cv_header_AL_al_h" = "yes"
13591 then
13592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13593 $as_echo_n "checking for -lopenal... " >&6; }
13594 if ${ac_cv_lib_soname_openal+:} false; then :
13595 $as_echo_n "(cached) " >&6
13596 else
13597 ac_check_soname_save_LIBS=$LIBS
13598 LIBS="-lopenal $LIBS"
13599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13600 /* end confdefs.h. */
13602 /* Override any GCC internal prototype to avoid an error.
13603 Use char because int might match the return type of a GCC
13604 builtin and then its argument prototype would still apply. */
13605 #ifdef __cplusplus
13606 extern "C"
13607 #endif
13608 char alGetSource3i ();
13610 main ()
13612 return alGetSource3i ();
13614 return 0;
13616 _ACEOF
13617 if ac_fn_c_try_link "$LINENO"; then :
13618 case "$LIBEXT" in
13619 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13620 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'` ;;
13621 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13622 if ${ac_cv_lib_soname_openal:+false} :; then :
13623 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13624 fi ;;
13625 esac
13627 rm -f core conftest.err conftest.$ac_objext \
13628 conftest$ac_exeext conftest.$ac_ext
13629 LIBS=$ac_check_soname_save_LIBS
13631 if ${ac_cv_lib_soname_openal:+false} :; then :
13632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13633 $as_echo "not found" >&6; }
13635 else
13636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13637 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13639 cat >>confdefs.h <<_ACEOF
13640 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13641 _ACEOF
13643 OPENAL_LIBS="-lopenal"
13645 ac_cv_lib_openal=yes
13647 cat >>confdefs.h <<_ACEOF
13648 #define HAVE_OPENAL 1
13649 _ACEOF
13653 if test "x$ac_cv_lib_openal" != xyes; then :
13654 case "x$with_openal" in
13655 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13656 xno) ;;
13657 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13658 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13659 esac
13661 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13663 if test "x$ac_cv_lib_openal" = xyes
13664 then
13665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13666 $as_echo_n "checking for openal-soft... " >&6; }
13667 if ${ac_cv_have_openalsoft+:} false; then :
13668 $as_echo_n "(cached) " >&6
13669 else
13670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13671 /* end confdefs.h. */
13672 #include <AL/al.h>
13673 #include <AL/alc.h>
13674 #include <AL/alext.h>
13675 LPALCRENDERSAMPLESSOFT x;
13677 main ()
13681 return 0;
13683 _ACEOF
13684 if ac_fn_c_try_compile "$LINENO"; then :
13685 ac_cv_have_openalsoft=yes
13686 else
13687 ac_cv_have_openalsoft=no
13689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13692 $as_echo "$ac_cv_have_openalsoft" >&6; }
13694 if test "x$ac_cv_have_openalsoft" != xyes
13695 then
13696 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13697 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
13698 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
13699 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
13700 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
13701 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
13702 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
13703 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
13704 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
13705 enable_xapofx1_1=${enable_xapofx1_1:-no}
13706 enable_xapofx1_2=${enable_xapofx1_2:-no}
13707 enable_xapofx1_3=${enable_xapofx1_3:-no}
13708 enable_xapofx1_4=${enable_xapofx1_4:-no}
13709 enable_xapofx1_5=${enable_xapofx1_5:-no}
13710 enable_xaudio2_0=${enable_xaudio2_0:-no}
13711 enable_xaudio2_1=${enable_xaudio2_1:-no}
13712 enable_xaudio2_2=${enable_xaudio2_2:-no}
13713 enable_xaudio2_3=${enable_xaudio2_3:-no}
13714 enable_xaudio2_4=${enable_xaudio2_4:-no}
13715 enable_xaudio2_5=${enable_xaudio2_5:-no}
13716 enable_xaudio2_6=${enable_xaudio2_6:-no}
13717 enable_xaudio2_7=${enable_xaudio2_7:-no}
13718 enable_xaudio2_8=${enable_xaudio2_8:-no}
13719 enable_xaudio2_9=${enable_xaudio2_9:-no}
13722 if test "$ac_cv_header_kstat_h" = "yes"
13723 then
13724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13725 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13726 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13727 $as_echo_n "(cached) " >&6
13728 else
13729 ac_check_lib_save_LIBS=$LIBS
13730 LIBS="-lkstat $LIBS"
13731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13732 /* end confdefs.h. */
13734 /* Override any GCC internal prototype to avoid an error.
13735 Use char because int might match the return type of a GCC
13736 builtin and then its argument prototype would still apply. */
13737 #ifdef __cplusplus
13738 extern "C"
13739 #endif
13740 char kstat_open ();
13742 main ()
13744 return kstat_open ();
13746 return 0;
13748 _ACEOF
13749 if ac_fn_c_try_link "$LINENO"; then :
13750 ac_cv_lib_kstat_kstat_open=yes
13751 else
13752 ac_cv_lib_kstat_kstat_open=no
13754 rm -f core conftest.err conftest.$ac_objext \
13755 conftest$ac_exeext conftest.$ac_ext
13756 LIBS=$ac_check_lib_save_LIBS
13758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13759 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13760 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13762 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13764 KSTAT_LIBS="-lkstat"
13770 if test "$ac_cv_header_libprocstat_h" = "yes"
13771 then
13772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13773 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13774 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13775 $as_echo_n "(cached) " >&6
13776 else
13777 ac_check_lib_save_LIBS=$LIBS
13778 LIBS="-lprocstat $LIBS"
13779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13780 /* end confdefs.h. */
13782 /* Override any GCC internal prototype to avoid an error.
13783 Use char because int might match the return type of a GCC
13784 builtin and then its argument prototype would still apply. */
13785 #ifdef __cplusplus
13786 extern "C"
13787 #endif
13788 char procstat_open_sysctl ();
13790 main ()
13792 return procstat_open_sysctl ();
13794 return 0;
13796 _ACEOF
13797 if ac_fn_c_try_link "$LINENO"; then :
13798 ac_cv_lib_procstat_procstat_open_sysctl=yes
13799 else
13800 ac_cv_lib_procstat_procstat_open_sysctl=no
13802 rm -f core conftest.err conftest.$ac_objext \
13803 conftest$ac_exeext conftest.$ac_ext
13804 LIBS=$ac_check_lib_save_LIBS
13806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13807 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13808 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13810 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13812 PROCSTAT_LIBS="-lprocstat"
13818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13819 $as_echo_n "checking for -lodbc... " >&6; }
13820 if ${ac_cv_lib_soname_odbc+:} false; then :
13821 $as_echo_n "(cached) " >&6
13822 else
13823 ac_check_soname_save_LIBS=$LIBS
13824 LIBS="-lodbc $LIBS"
13825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13826 /* end confdefs.h. */
13828 /* Override any GCC internal prototype to avoid an error.
13829 Use char because int might match the return type of a GCC
13830 builtin and then its argument prototype would still apply. */
13831 #ifdef __cplusplus
13832 extern "C"
13833 #endif
13834 char SQLConnect ();
13836 main ()
13838 return SQLConnect ();
13840 return 0;
13842 _ACEOF
13843 if ac_fn_c_try_link "$LINENO"; then :
13844 case "$LIBEXT" in
13845 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13846 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'` ;;
13847 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13848 if ${ac_cv_lib_soname_odbc:+false} :; then :
13849 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13850 fi ;;
13851 esac
13853 rm -f core conftest.err conftest.$ac_objext \
13854 conftest$ac_exeext conftest.$ac_ext
13855 LIBS=$ac_check_soname_save_LIBS
13857 if ${ac_cv_lib_soname_odbc:+false} :; then :
13858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13859 $as_echo "not found" >&6; }
13860 cat >>confdefs.h <<_ACEOF
13861 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13862 _ACEOF
13864 else
13865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13866 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13868 cat >>confdefs.h <<_ACEOF
13869 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13870 _ACEOF
13875 if test "x$with_netapi" != "xno"
13876 then
13877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13878 $as_echo_n "checking for -lnetapi... " >&6; }
13879 if ${ac_cv_lib_soname_netapi+:} false; then :
13880 $as_echo_n "(cached) " >&6
13881 else
13882 ac_check_soname_save_LIBS=$LIBS
13883 LIBS="-lnetapi $LIBS"
13884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13885 /* end confdefs.h. */
13887 /* Override any GCC internal prototype to avoid an error.
13888 Use char because int might match the return type of a GCC
13889 builtin and then its argument prototype would still apply. */
13890 #ifdef __cplusplus
13891 extern "C"
13892 #endif
13893 char libnetapi_init ();
13895 main ()
13897 return libnetapi_init ();
13899 return 0;
13901 _ACEOF
13902 if ac_fn_c_try_link "$LINENO"; then :
13903 case "$LIBEXT" in
13904 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13905 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'` ;;
13906 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13907 if ${ac_cv_lib_soname_netapi:+false} :; then :
13908 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13909 fi ;;
13910 esac
13912 rm -f core conftest.err conftest.$ac_objext \
13913 conftest$ac_exeext conftest.$ac_ext
13914 LIBS=$ac_check_soname_save_LIBS
13916 if ${ac_cv_lib_soname_netapi:+false} :; then :
13917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13918 $as_echo "not found" >&6; }
13919 cat >>confdefs.h <<_ACEOF
13920 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13921 _ACEOF
13923 else
13924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13925 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13927 cat >>confdefs.h <<_ACEOF
13928 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13929 _ACEOF
13935 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
13936 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
13937 then
13938 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13942 EXTRACFLAGS=""
13944 if test "x${GCC}" = "xyes"
13945 then
13946 EXTRACFLAGS="-Wall -pipe"
13948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13949 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13950 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13951 $as_echo_n "(cached) " >&6
13952 else
13953 if test "$cross_compiling" = yes; then :
13954 ac_cv_c_gcc_strength_bug="no"
13955 else
13956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13957 /* end confdefs.h. */
13958 int L[4] = {0,1,2,3};
13960 main ()
13962 static int Array[3];
13963 unsigned int B = 3;
13964 int i;
13965 for(i=0; i<B; i++) Array[i] = i - 3;
13966 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13967 L[i] = 4;
13968 return (Array[1] != -2 || L[2] != 3)
13970 return 0;
13972 _ACEOF
13973 if ac_fn_c_try_run "$LINENO"; then :
13974 ac_cv_c_gcc_strength_bug="no"
13975 else
13976 ac_cv_c_gcc_strength_bug="yes"
13978 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13979 conftest.$ac_objext conftest.beam conftest.$ac_ext
13983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13984 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13985 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13986 then
13987 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13991 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13992 if ${ac_cv_cflags__fno_builtin+:} false; then :
13993 $as_echo_n "(cached) " >&6
13994 else
13995 ac_wine_try_cflags_saved=$CFLAGS
13996 CFLAGS="$CFLAGS -fno-builtin"
13997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13998 /* end confdefs.h. */
13999 int main(int argc, char **argv) { return 0; }
14000 _ACEOF
14001 if ac_fn_c_try_link "$LINENO"; then :
14002 ac_cv_cflags__fno_builtin=yes
14003 else
14004 ac_cv_cflags__fno_builtin=no
14006 rm -f core conftest.err conftest.$ac_objext \
14007 conftest$ac_exeext conftest.$ac_ext
14008 CFLAGS=$ac_wine_try_cflags_saved
14010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14011 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14012 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14013 BUILTINFLAG="-fno-builtin"
14016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14017 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14018 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14019 $as_echo_n "(cached) " >&6
14020 else
14021 ac_wine_try_cflags_saved=$CFLAGS
14022 CFLAGS="$CFLAGS -fno-strict-aliasing"
14023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14024 /* end confdefs.h. */
14025 int main(int argc, char **argv) { return 0; }
14026 _ACEOF
14027 if ac_fn_c_try_link "$LINENO"; then :
14028 ac_cv_cflags__fno_strict_aliasing=yes
14029 else
14030 ac_cv_cflags__fno_strict_aliasing=no
14032 rm -f core conftest.err conftest.$ac_objext \
14033 conftest$ac_exeext conftest.$ac_ext
14034 CFLAGS=$ac_wine_try_cflags_saved
14036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14037 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14038 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14039 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14042 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14043 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14044 $as_echo_n "(cached) " >&6
14045 else
14046 ac_wine_try_cflags_saved=$CFLAGS
14047 CFLAGS="$CFLAGS -fexcess-precision=standard"
14048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14049 /* end confdefs.h. */
14050 int main(int argc, char **argv) { return 0; }
14051 _ACEOF
14052 if ac_fn_c_try_link "$LINENO"; then :
14053 ac_cv_cflags__fexcess_precision_standard=yes
14054 else
14055 ac_cv_cflags__fexcess_precision_standard=no
14057 rm -f core conftest.err conftest.$ac_objext \
14058 conftest$ac_exeext conftest.$ac_ext
14059 CFLAGS=$ac_wine_try_cflags_saved
14061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14062 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14063 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14064 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14067 saved_CFLAGS=$CFLAGS
14068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14069 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14070 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14071 $as_echo_n "(cached) " >&6
14072 else
14073 ac_wine_try_cflags_saved=$CFLAGS
14074 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14076 /* end confdefs.h. */
14077 int main(int argc, char **argv) { return 0; }
14078 _ACEOF
14079 if ac_fn_c_try_link "$LINENO"; then :
14080 ac_cv_cflags__Werror_unknown_warning_option=yes
14081 else
14082 ac_cv_cflags__Werror_unknown_warning_option=no
14084 rm -f core conftest.err conftest.$ac_objext \
14085 conftest$ac_exeext conftest.$ac_ext
14086 CFLAGS=$ac_wine_try_cflags_saved
14088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14089 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14090 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14091 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14094 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14095 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14096 $as_echo_n "(cached) " >&6
14097 else
14098 ac_wine_try_cflags_saved=$CFLAGS
14099 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14101 /* end confdefs.h. */
14102 int main(int argc, char **argv) { return 0; }
14103 _ACEOF
14104 if ac_fn_c_try_link "$LINENO"; then :
14105 ac_cv_cflags__Wdeclaration_after_statement=yes
14106 else
14107 ac_cv_cflags__Wdeclaration_after_statement=no
14109 rm -f core conftest.err conftest.$ac_objext \
14110 conftest$ac_exeext conftest.$ac_ext
14111 CFLAGS=$ac_wine_try_cflags_saved
14113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14114 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14115 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14116 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14119 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14120 if ${ac_cv_cflags__Wempty_body+:} false; then :
14121 $as_echo_n "(cached) " >&6
14122 else
14123 ac_wine_try_cflags_saved=$CFLAGS
14124 CFLAGS="$CFLAGS -Wempty-body"
14125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14126 /* end confdefs.h. */
14127 int main(int argc, char **argv) { return 0; }
14128 _ACEOF
14129 if ac_fn_c_try_link "$LINENO"; then :
14130 ac_cv_cflags__Wempty_body=yes
14131 else
14132 ac_cv_cflags__Wempty_body=no
14134 rm -f core conftest.err conftest.$ac_objext \
14135 conftest$ac_exeext conftest.$ac_ext
14136 CFLAGS=$ac_wine_try_cflags_saved
14138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14139 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14140 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14141 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14144 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14145 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14146 $as_echo_n "(cached) " >&6
14147 else
14148 ac_wine_try_cflags_saved=$CFLAGS
14149 CFLAGS="$CFLAGS -Wignored-qualifiers"
14150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14151 /* end confdefs.h. */
14152 int main(int argc, char **argv) { return 0; }
14153 _ACEOF
14154 if ac_fn_c_try_link "$LINENO"; then :
14155 ac_cv_cflags__Wignored_qualifiers=yes
14156 else
14157 ac_cv_cflags__Wignored_qualifiers=no
14159 rm -f core conftest.err conftest.$ac_objext \
14160 conftest$ac_exeext conftest.$ac_ext
14161 CFLAGS=$ac_wine_try_cflags_saved
14163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14164 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14165 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14166 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14169 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14170 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14171 $as_echo_n "(cached) " >&6
14172 else
14173 ac_wine_try_cflags_saved=$CFLAGS
14174 CFLAGS="$CFLAGS -Wshift-overflow=2"
14175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14176 /* end confdefs.h. */
14177 int main(int argc, char **argv) { return 0; }
14178 _ACEOF
14179 if ac_fn_c_try_link "$LINENO"; then :
14180 ac_cv_cflags__Wshift_overflow_2=yes
14181 else
14182 ac_cv_cflags__Wshift_overflow_2=no
14184 rm -f core conftest.err conftest.$ac_objext \
14185 conftest$ac_exeext conftest.$ac_ext
14186 CFLAGS=$ac_wine_try_cflags_saved
14188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14189 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14190 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14191 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14194 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14195 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14196 $as_echo_n "(cached) " >&6
14197 else
14198 ac_wine_try_cflags_saved=$CFLAGS
14199 CFLAGS="$CFLAGS -Wstrict-prototypes"
14200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14201 /* end confdefs.h. */
14202 int main(int argc, char **argv) { return 0; }
14203 _ACEOF
14204 if ac_fn_c_try_link "$LINENO"; then :
14205 ac_cv_cflags__Wstrict_prototypes=yes
14206 else
14207 ac_cv_cflags__Wstrict_prototypes=no
14209 rm -f core conftest.err conftest.$ac_objext \
14210 conftest$ac_exeext conftest.$ac_ext
14211 CFLAGS=$ac_wine_try_cflags_saved
14213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14214 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14215 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14216 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14219 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14220 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14221 $as_echo_n "(cached) " >&6
14222 else
14223 ac_wine_try_cflags_saved=$CFLAGS
14224 CFLAGS="$CFLAGS -Wtype-limits"
14225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14226 /* end confdefs.h. */
14227 int main(int argc, char **argv) { return 0; }
14228 _ACEOF
14229 if ac_fn_c_try_link "$LINENO"; then :
14230 ac_cv_cflags__Wtype_limits=yes
14231 else
14232 ac_cv_cflags__Wtype_limits=no
14234 rm -f core conftest.err conftest.$ac_objext \
14235 conftest$ac_exeext conftest.$ac_ext
14236 CFLAGS=$ac_wine_try_cflags_saved
14238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14239 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14240 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14241 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14244 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14245 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14246 $as_echo_n "(cached) " >&6
14247 else
14248 ac_wine_try_cflags_saved=$CFLAGS
14249 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14251 /* end confdefs.h. */
14252 int main(int argc, char **argv) { return 0; }
14253 _ACEOF
14254 if ac_fn_c_try_link "$LINENO"; then :
14255 ac_cv_cflags__Wunused_but_set_parameter=yes
14256 else
14257 ac_cv_cflags__Wunused_but_set_parameter=no
14259 rm -f core conftest.err conftest.$ac_objext \
14260 conftest$ac_exeext conftest.$ac_ext
14261 CFLAGS=$ac_wine_try_cflags_saved
14263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14264 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14265 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14266 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14269 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14270 if ${ac_cv_cflags__Wvla+:} false; then :
14271 $as_echo_n "(cached) " >&6
14272 else
14273 ac_wine_try_cflags_saved=$CFLAGS
14274 CFLAGS="$CFLAGS -Wvla"
14275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14276 /* end confdefs.h. */
14277 int main(int argc, char **argv) { return 0; }
14278 _ACEOF
14279 if ac_fn_c_try_link "$LINENO"; then :
14280 ac_cv_cflags__Wvla=yes
14281 else
14282 ac_cv_cflags__Wvla=no
14284 rm -f core conftest.err conftest.$ac_objext \
14285 conftest$ac_exeext conftest.$ac_ext
14286 CFLAGS=$ac_wine_try_cflags_saved
14288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14289 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14290 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14291 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14294 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14295 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14296 $as_echo_n "(cached) " >&6
14297 else
14298 ac_wine_try_cflags_saved=$CFLAGS
14299 CFLAGS="$CFLAGS -Wwrite-strings"
14300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14301 /* end confdefs.h. */
14302 int main(int argc, char **argv) { return 0; }
14303 _ACEOF
14304 if ac_fn_c_try_link "$LINENO"; then :
14305 ac_cv_cflags__Wwrite_strings=yes
14306 else
14307 ac_cv_cflags__Wwrite_strings=no
14309 rm -f core conftest.err conftest.$ac_objext \
14310 conftest$ac_exeext conftest.$ac_ext
14311 CFLAGS=$ac_wine_try_cflags_saved
14313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14314 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14315 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14316 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14320 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14321 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14322 $as_echo_n "(cached) " >&6
14323 else
14324 ac_wine_try_cflags_saved=$CFLAGS
14325 CFLAGS="$CFLAGS -Wpointer-arith"
14326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14327 /* end confdefs.h. */
14328 int main(int argc, char **argv) { return 0; }
14329 _ACEOF
14330 if ac_fn_c_try_link "$LINENO"; then :
14331 ac_cv_cflags__Wpointer_arith=yes
14332 else
14333 ac_cv_cflags__Wpointer_arith=no
14335 rm -f core conftest.err conftest.$ac_objext \
14336 conftest$ac_exeext conftest.$ac_ext
14337 CFLAGS=$ac_wine_try_cflags_saved
14339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14340 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14341 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14342 saved_string_h_CFLAGS=$CFLAGS
14343 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14345 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14346 if ${ac_cv_c_string_h_warnings+:} false; then :
14347 $as_echo_n "(cached) " >&6
14348 else
14349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14350 /* end confdefs.h. */
14351 #include <string.h>
14353 main ()
14357 return 0;
14359 _ACEOF
14360 if ac_fn_c_try_compile "$LINENO"; then :
14361 ac_cv_c_string_h_warnings=no
14362 else
14363 ac_cv_c_string_h_warnings=yes
14365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14368 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14369 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14370 CFLAGS=$saved_string_h_CFLAGS
14373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14374 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14375 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14376 $as_echo_n "(cached) " >&6
14377 else
14378 ac_wine_try_cflags_saved=$CFLAGS
14379 CFLAGS="$CFLAGS -Wlogical-op"
14380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14381 /* end confdefs.h. */
14382 int main(int argc, char **argv) { return 0; }
14383 _ACEOF
14384 if ac_fn_c_try_link "$LINENO"; then :
14385 ac_cv_cflags__Wlogical_op=yes
14386 else
14387 ac_cv_cflags__Wlogical_op=no
14389 rm -f core conftest.err conftest.$ac_objext \
14390 conftest$ac_exeext conftest.$ac_ext
14391 CFLAGS=$ac_wine_try_cflags_saved
14393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14394 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14395 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14396 saved_string_h_CFLAGS=$CFLAGS
14397 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14399 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14400 if ${ac_cv_c_logicalop_noisy+:} false; then :
14401 $as_echo_n "(cached) " >&6
14402 else
14403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14404 /* end confdefs.h. */
14405 #include <string.h>
14406 char*f(const char *h,char n) {return strchr(h,n);}
14408 main ()
14412 return 0;
14414 _ACEOF
14415 if ac_fn_c_try_compile "$LINENO"; then :
14416 ac_cv_c_logicalop_noisy=no
14417 else
14418 ac_cv_c_logicalop_noisy=yes
14420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14423 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14424 CFLAGS=$saved_string_h_CFLAGS
14425 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14428 CFLAGS=$saved_CFLAGS
14430 for ac_flag in $CFLAGS; do
14431 case $ac_flag in
14432 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14433 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14434 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14435 $as_echo_n "(cached) " >&6
14436 else
14437 ac_wine_try_cflags_saved=$CFLAGS
14438 CFLAGS="$CFLAGS -gdwarf-2"
14439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14440 /* end confdefs.h. */
14441 int main(int argc, char **argv) { return 0; }
14442 _ACEOF
14443 if ac_fn_c_try_link "$LINENO"; then :
14444 ac_cv_cflags__gdwarf_2=yes
14445 else
14446 ac_cv_cflags__gdwarf_2=no
14448 rm -f core conftest.err conftest.$ac_objext \
14449 conftest$ac_exeext conftest.$ac_ext
14450 CFLAGS=$ac_wine_try_cflags_saved
14452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14453 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14454 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14455 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14458 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14459 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14460 $as_echo_n "(cached) " >&6
14461 else
14462 ac_wine_try_cflags_saved=$CFLAGS
14463 CFLAGS="$CFLAGS -gstrict-dwarf"
14464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14465 /* end confdefs.h. */
14466 int main(int argc, char **argv) { return 0; }
14467 _ACEOF
14468 if ac_fn_c_try_link "$LINENO"; then :
14469 ac_cv_cflags__gstrict_dwarf=yes
14470 else
14471 ac_cv_cflags__gstrict_dwarf=no
14473 rm -f core conftest.err conftest.$ac_objext \
14474 conftest$ac_exeext conftest.$ac_ext
14475 CFLAGS=$ac_wine_try_cflags_saved
14477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14478 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14479 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14480 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14481 fi ;;
14482 esac
14483 done
14485 case $host_cpu in
14486 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14487 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14488 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14489 $as_echo_n "(cached) " >&6
14490 else
14491 ac_wine_try_cflags_saved=$CFLAGS
14492 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14494 /* end confdefs.h. */
14495 int main(int argc, char **argv) { return 0; }
14496 _ACEOF
14497 if ac_fn_c_try_link "$LINENO"; then :
14498 ac_cv_cflags__fno_omit_frame_pointer=yes
14499 else
14500 ac_cv_cflags__fno_omit_frame_pointer=no
14502 rm -f core conftest.err conftest.$ac_objext \
14503 conftest$ac_exeext conftest.$ac_ext
14504 CFLAGS=$ac_wine_try_cflags_saved
14506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14507 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14508 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14509 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14510 fi ;;
14511 esac
14513 case $host in
14514 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14515 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14516 if ${ac_cv_cflags__Wno_format+:} false; then :
14517 $as_echo_n "(cached) " >&6
14518 else
14519 ac_wine_try_cflags_saved=$CFLAGS
14520 CFLAGS="$CFLAGS -Wno-format"
14521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14522 /* end confdefs.h. */
14523 int main(int argc, char **argv) { return 0; }
14524 _ACEOF
14525 if ac_fn_c_try_link "$LINENO"; then :
14526 ac_cv_cflags__Wno_format=yes
14527 else
14528 ac_cv_cflags__Wno_format=no
14530 rm -f core conftest.err conftest.$ac_objext \
14531 conftest$ac_exeext conftest.$ac_ext
14532 CFLAGS=$ac_wine_try_cflags_saved
14534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14535 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14536 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14537 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14538 fi ;;
14539 esac
14541 if test "x$enable_maintainer_mode" = "xyes"
14542 then
14543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14544 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14545 if ${ac_cv_cflags__Werror+:} false; then :
14546 $as_echo_n "(cached) " >&6
14547 else
14548 ac_wine_try_cflags_saved=$CFLAGS
14549 CFLAGS="$CFLAGS -Werror"
14550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14551 /* end confdefs.h. */
14552 int main(int argc, char **argv) { return 0; }
14553 _ACEOF
14554 if ac_fn_c_try_link "$LINENO"; then :
14555 ac_cv_cflags__Werror=yes
14556 else
14557 ac_cv_cflags__Werror=no
14559 rm -f core conftest.err conftest.$ac_objext \
14560 conftest$ac_exeext conftest.$ac_ext
14561 CFLAGS=$ac_wine_try_cflags_saved
14563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14564 $as_echo "$ac_cv_cflags__Werror" >&6; }
14565 if test "x$ac_cv_cflags__Werror" = xyes; then :
14566 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14570 saved_CFLAGS="$CFLAGS"
14571 CFLAGS="$CFLAGS -Werror"
14572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14573 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14574 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14575 $as_echo_n "(cached) " >&6
14576 else
14577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14578 /* end confdefs.h. */
14579 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14581 main ()
14585 return 0;
14587 _ACEOF
14588 if ac_fn_c_try_compile "$LINENO"; then :
14589 ac_cv_have_ms_hook_prologue="yes"
14590 else
14591 ac_cv_have_ms_hook_prologue="no"
14593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14596 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14597 CFLAGS="$saved_CFLAGS"
14598 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14599 then
14601 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14603 else
14604 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14611 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14612 if ${ac_cv_c_fortify_enabled+:} false; then :
14613 $as_echo_n "(cached) " >&6
14614 else
14615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14616 /* end confdefs.h. */
14617 #include <string.h>
14619 main ()
14621 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14622 #error Fortify enabled
14623 #endif
14625 return 0;
14627 _ACEOF
14628 if ac_fn_c_try_compile "$LINENO"; then :
14629 ac_cv_c_fortify_enabled=no
14630 else
14631 ac_cv_c_fortify_enabled=yes
14633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14636 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14637 if test "$ac_cv_c_fortify_enabled" = yes
14638 then
14639 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14644 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14645 if ${ac_cv_c_extern_prefix+:} false; then :
14646 $as_echo_n "(cached) " >&6
14647 else
14648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14649 /* end confdefs.h. */
14650 extern int ac_test;
14652 main ()
14654 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14656 return 0;
14658 _ACEOF
14659 if ac_fn_c_try_link "$LINENO"; then :
14660 ac_cv_c_extern_prefix="yes"
14661 else
14662 ac_cv_c_extern_prefix="no"
14664 rm -f core conftest.err conftest.$ac_objext \
14665 conftest$ac_exeext conftest.$ac_ext
14667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14668 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14670 case $host_cpu in
14671 *i[3456789]86*)
14672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14673 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14674 if ${ac_cv_c_stdcall_suffix+:} false; then :
14675 $as_echo_n "(cached) " >&6
14676 else
14677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14678 /* end confdefs.h. */
14679 #ifndef _MSC_VER
14680 #define __stdcall __attribute__((__stdcall__))
14681 #endif
14682 int __stdcall ac_test(int i) { return i; }
14684 main ()
14686 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14688 return 0;
14690 _ACEOF
14691 if ac_fn_c_try_link "$LINENO"; then :
14692 ac_cv_c_stdcall_suffix="yes"
14693 else
14694 ac_cv_c_stdcall_suffix="no"
14696 rm -f core conftest.err conftest.$ac_objext \
14697 conftest$ac_exeext conftest.$ac_ext
14699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14700 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14701 *) ac_cv_c_stdcall_suffix="no" ;;
14702 esac
14705 if test "$ac_cv_c_extern_prefix" = "yes"
14706 then
14707 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14709 asm_name_prefix="_"
14710 else
14711 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14713 asm_name_prefix=""
14717 if test "$ac_cv_c_stdcall_suffix" = "yes"
14718 then
14719 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14721 else
14722 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14728 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14729 if ${ac_cv_asm_func_def+:} false; then :
14730 $as_echo_n "(cached) " >&6
14731 else
14732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14733 /* end confdefs.h. */
14736 main ()
14738 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14740 return 0;
14742 _ACEOF
14743 if ac_fn_c_try_link "$LINENO"; then :
14744 ac_cv_asm_func_def=".def"
14745 else
14746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14747 /* end confdefs.h. */
14750 main ()
14752 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14754 return 0;
14756 _ACEOF
14757 if ac_fn_c_try_link "$LINENO"; then :
14758 ac_cv_asm_func_def=".type @function"
14759 else
14760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14761 /* end confdefs.h. */
14764 main ()
14766 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14768 return 0;
14770 _ACEOF
14771 if ac_fn_c_try_link "$LINENO"; then :
14772 ac_cv_asm_func_def=".type 2"
14773 else
14774 ac_cv_asm_func_def="unknown"
14776 rm -f core conftest.err conftest.$ac_objext \
14777 conftest$ac_exeext conftest.$ac_ext
14779 rm -f core conftest.err conftest.$ac_objext \
14780 conftest$ac_exeext conftest.$ac_ext
14782 rm -f core conftest.err conftest.$ac_objext \
14783 conftest$ac_exeext conftest.$ac_ext
14785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14786 $as_echo "$ac_cv_asm_func_def" >&6; }
14789 case "$ac_cv_asm_func_def" in
14790 ".def")
14791 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14793 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14794 ".type @function")
14795 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14797 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14798 ".type 2")
14799 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14801 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14803 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14805 asm_func_header="" ;;
14806 esac
14808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14809 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14810 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14811 $as_echo_n "(cached) " >&6
14812 else
14813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14814 /* end confdefs.h. */
14815 asm(".text\n\t.long 0");
14817 main ()
14821 return 0;
14823 _ACEOF
14824 if ac_fn_c_try_compile "$LINENO"; then :
14825 ac_cv_c_asm_outside_funcs="yes"
14826 else
14827 ac_cv_c_asm_outside_funcs="no"
14829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14832 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14835 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14836 if ${ac_cv_c_dot_previous+:} false; then :
14837 $as_echo_n "(cached) " >&6
14838 else
14839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14840 /* end confdefs.h. */
14843 main ()
14845 asm(".text\nac_test:\t.long 0\n\t.previous");
14847 return 0;
14849 _ACEOF
14850 if ac_fn_c_try_link "$LINENO"; then :
14851 ac_cv_c_dot_previous="yes"
14852 else
14853 ac_cv_c_dot_previous="no"
14855 rm -f core conftest.err conftest.$ac_objext \
14856 conftest$ac_exeext conftest.$ac_ext
14858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14859 $as_echo "$ac_cv_c_dot_previous" >&6; }
14861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14862 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14863 if ${ac_cv_c_cfi_support+:} false; then :
14864 $as_echo_n "(cached) " >&6
14865 else
14866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14867 /* end confdefs.h. */
14868 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14870 main ()
14874 return 0;
14876 _ACEOF
14877 if ac_fn_c_try_compile "$LINENO"; then :
14878 ac_cv_c_cfi_support="yes"
14879 else
14880 ac_cv_c_cfi_support="no"
14882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14885 $as_echo "$ac_cv_c_cfi_support" >&6; }
14887 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14888 asm_func_trailer=""
14889 if test "$ac_cv_c_dot_previous" = "yes"
14890 then
14891 asm_func_trailer="\\n\\t.previous"
14893 if test "$ac_cv_c_cfi_support" = "yes"
14894 then
14895 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14896 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14898 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14900 UNWINDFLAGS=-fasynchronous-unwind-tables
14902 else
14903 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14905 if test "x$enable_win64" = "xyes"
14906 then
14907 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
14911 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14914 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14915 then
14916 cat >>confdefs.h <<_ACEOF
14917 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14918 _ACEOF
14920 else
14921 cat >>confdefs.h <<_ACEOF
14922 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14923 _ACEOF
14927 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14930 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14934 case $build_os in
14935 cygwin*|mingw32*) TOOLSEXT=".exe"
14937 esac
14939 case $host_os in
14940 linux-android*) ;;
14941 linux*)
14942 case $host_cpu in
14943 *i[3456789]86*|x86_64*)
14944 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14945 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
14947 esac
14949 esac
14952 ac_save_CFLAGS="$CFLAGS"
14953 CFLAGS="$CFLAGS $BUILTINFLAG"
14954 for ac_func in \
14955 __res_get_state \
14956 __res_getservers \
14957 _finite \
14958 _isnan \
14959 _pclose \
14960 _popen \
14961 _snprintf \
14962 _spawnvp \
14963 _strdup \
14964 _stricmp \
14965 _strnicmp \
14966 _strtoi64 \
14967 _strtoui64 \
14968 _vsnprintf \
14969 asctime_r \
14970 chsize \
14971 dlopen \
14972 epoll_create \
14973 ffs \
14974 finitef \
14975 fnmatch \
14976 fork \
14977 fpclass \
14978 fstatfs \
14979 fstatvfs \
14980 ftruncate \
14981 futimens \
14982 futimes \
14983 futimesat \
14984 getattrlist \
14985 getdirentries \
14986 getopt_long_only \
14987 getpwuid \
14988 gettimeofday \
14989 getuid \
14990 if_nameindex \
14991 isnanf \
14992 kqueue \
14993 lstat \
14994 memmove \
14995 mmap \
14996 pclose \
14997 pipe2 \
14998 poll \
14999 popen \
15000 port_create \
15001 prctl \
15002 pread \
15003 proc_pidinfo \
15004 pwrite \
15005 readdir \
15006 readlink \
15007 sched_yield \
15008 select \
15009 setproctitle \
15010 setrlimit \
15011 settimeofday \
15012 sigaltstack \
15013 sigprocmask \
15014 snprintf \
15015 statfs \
15016 statvfs \
15017 strcasecmp \
15018 strdup \
15019 strerror \
15020 strncasecmp \
15021 strtold \
15022 strtoll \
15023 strtoull \
15024 symlink \
15025 tcdrain \
15026 thr_kill2 \
15027 timegm \
15028 usleep \
15029 vsnprintf
15031 do :
15032 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15033 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15034 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15035 cat >>confdefs.h <<_ACEOF
15036 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15037 _ACEOF
15040 done
15042 CFLAGS="$ac_save_CFLAGS"
15044 if test "$ac_cv_func_dlopen" = no
15045 then
15046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15047 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15048 if ${ac_cv_lib_dl_dlopen+:} false; then :
15049 $as_echo_n "(cached) " >&6
15050 else
15051 ac_check_lib_save_LIBS=$LIBS
15052 LIBS="-ldl $LIBS"
15053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15054 /* end confdefs.h. */
15056 /* Override any GCC internal prototype to avoid an error.
15057 Use char because int might match the return type of a GCC
15058 builtin and then its argument prototype would still apply. */
15059 #ifdef __cplusplus
15060 extern "C"
15061 #endif
15062 char dlopen ();
15064 main ()
15066 return dlopen ();
15068 return 0;
15070 _ACEOF
15071 if ac_fn_c_try_link "$LINENO"; then :
15072 ac_cv_lib_dl_dlopen=yes
15073 else
15074 ac_cv_lib_dl_dlopen=no
15076 rm -f core conftest.err conftest.$ac_objext \
15077 conftest$ac_exeext conftest.$ac_ext
15078 LIBS=$ac_check_lib_save_LIBS
15080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15081 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15082 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15083 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15084 DL_LIBS="-ldl"
15089 ac_wine_check_funcs_save_LIBS="$LIBS"
15090 LIBS="$LIBS $DL_LIBS"
15091 for ac_func in dladdr
15092 do :
15093 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15094 if test "x$ac_cv_func_dladdr" = xyes; then :
15095 cat >>confdefs.h <<_ACEOF
15096 #define HAVE_DLADDR 1
15097 _ACEOF
15100 done
15102 LIBS="$ac_wine_check_funcs_save_LIBS"
15104 if test "$ac_cv_func_poll" = no
15105 then
15106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15107 $as_echo_n "checking for poll in -lpoll... " >&6; }
15108 if ${ac_cv_lib_poll_poll+:} false; then :
15109 $as_echo_n "(cached) " >&6
15110 else
15111 ac_check_lib_save_LIBS=$LIBS
15112 LIBS="-lpoll $LIBS"
15113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15114 /* end confdefs.h. */
15116 /* Override any GCC internal prototype to avoid an error.
15117 Use char because int might match the return type of a GCC
15118 builtin and then its argument prototype would still apply. */
15119 #ifdef __cplusplus
15120 extern "C"
15121 #endif
15122 char poll ();
15124 main ()
15126 return poll ();
15128 return 0;
15130 _ACEOF
15131 if ac_fn_c_try_link "$LINENO"; then :
15132 ac_cv_lib_poll_poll=yes
15133 else
15134 ac_cv_lib_poll_poll=no
15136 rm -f core conftest.err conftest.$ac_objext \
15137 conftest$ac_exeext conftest.$ac_ext
15138 LIBS=$ac_check_lib_save_LIBS
15140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15141 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15142 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15143 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15144 POLL_LIBS="-lpoll"
15150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15151 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15152 if ${ac_cv_search_gethostbyname+:} false; then :
15153 $as_echo_n "(cached) " >&6
15154 else
15155 ac_func_search_save_LIBS=$LIBS
15156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15157 /* end confdefs.h. */
15159 /* Override any GCC internal prototype to avoid an error.
15160 Use char because int might match the return type of a GCC
15161 builtin and then its argument prototype would still apply. */
15162 #ifdef __cplusplus
15163 extern "C"
15164 #endif
15165 char gethostbyname ();
15167 main ()
15169 return gethostbyname ();
15171 return 0;
15173 _ACEOF
15174 for ac_lib in '' nsl; do
15175 if test -z "$ac_lib"; then
15176 ac_res="none required"
15177 else
15178 ac_res=-l$ac_lib
15179 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15181 if ac_fn_c_try_link "$LINENO"; then :
15182 ac_cv_search_gethostbyname=$ac_res
15184 rm -f core conftest.err conftest.$ac_objext \
15185 conftest$ac_exeext
15186 if ${ac_cv_search_gethostbyname+:} false; then :
15187 break
15189 done
15190 if ${ac_cv_search_gethostbyname+:} false; then :
15192 else
15193 ac_cv_search_gethostbyname=no
15195 rm conftest.$ac_ext
15196 LIBS=$ac_func_search_save_LIBS
15198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15199 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15200 ac_res=$ac_cv_search_gethostbyname
15201 if test "$ac_res" != no; then :
15202 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15208 $as_echo_n "checking for library containing connect... " >&6; }
15209 if ${ac_cv_search_connect+:} false; then :
15210 $as_echo_n "(cached) " >&6
15211 else
15212 ac_func_search_save_LIBS=$LIBS
15213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15214 /* end confdefs.h. */
15216 /* Override any GCC internal prototype to avoid an error.
15217 Use char because int might match the return type of a GCC
15218 builtin and then its argument prototype would still apply. */
15219 #ifdef __cplusplus
15220 extern "C"
15221 #endif
15222 char connect ();
15224 main ()
15226 return connect ();
15228 return 0;
15230 _ACEOF
15231 for ac_lib in '' socket; do
15232 if test -z "$ac_lib"; then
15233 ac_res="none required"
15234 else
15235 ac_res=-l$ac_lib
15236 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15238 if ac_fn_c_try_link "$LINENO"; then :
15239 ac_cv_search_connect=$ac_res
15241 rm -f core conftest.err conftest.$ac_objext \
15242 conftest$ac_exeext
15243 if ${ac_cv_search_connect+:} false; then :
15244 break
15246 done
15247 if ${ac_cv_search_connect+:} false; then :
15249 else
15250 ac_cv_search_connect=no
15252 rm conftest.$ac_ext
15253 LIBS=$ac_func_search_save_LIBS
15255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15256 $as_echo "$ac_cv_search_connect" >&6; }
15257 ac_res=$ac_cv_search_connect
15258 if test "$ac_res" != no; then :
15259 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15265 $as_echo_n "checking for library containing inet_aton... " >&6; }
15266 if ${ac_cv_search_inet_aton+:} false; then :
15267 $as_echo_n "(cached) " >&6
15268 else
15269 ac_func_search_save_LIBS=$LIBS
15270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15271 /* end confdefs.h. */
15273 /* Override any GCC internal prototype to avoid an error.
15274 Use char because int might match the return type of a GCC
15275 builtin and then its argument prototype would still apply. */
15276 #ifdef __cplusplus
15277 extern "C"
15278 #endif
15279 char inet_aton ();
15281 main ()
15283 return inet_aton ();
15285 return 0;
15287 _ACEOF
15288 for ac_lib in '' resolv; do
15289 if test -z "$ac_lib"; then
15290 ac_res="none required"
15291 else
15292 ac_res=-l$ac_lib
15293 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15295 if ac_fn_c_try_link "$LINENO"; then :
15296 ac_cv_search_inet_aton=$ac_res
15298 rm -f core conftest.err conftest.$ac_objext \
15299 conftest$ac_exeext
15300 if ${ac_cv_search_inet_aton+:} false; then :
15301 break
15303 done
15304 if ${ac_cv_search_inet_aton+:} false; then :
15306 else
15307 ac_cv_search_inet_aton=no
15309 rm conftest.$ac_ext
15310 LIBS=$ac_func_search_save_LIBS
15312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15313 $as_echo "$ac_cv_search_inet_aton" >&6; }
15314 ac_res=$ac_cv_search_inet_aton
15315 if test "$ac_res" != no; then :
15316 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15321 for ac_func in \
15322 getaddrinfo \
15323 getnameinfo \
15324 getnetbyname \
15325 getprotobyname \
15326 getprotobynumber \
15327 getservbyport \
15328 inet_addr \
15329 inet_network \
15330 inet_ntop \
15331 inet_pton \
15332 sendmsg \
15333 socketpair \
15335 do :
15336 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15337 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15338 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15339 cat >>confdefs.h <<_ACEOF
15340 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15341 _ACEOF
15344 done
15347 ac_save_LIBS=$LIBS
15348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15349 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15350 if ${ac_cv_search_clock_gettime+:} false; then :
15351 $as_echo_n "(cached) " >&6
15352 else
15353 ac_func_search_save_LIBS=$LIBS
15354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15355 /* end confdefs.h. */
15357 /* Override any GCC internal prototype to avoid an error.
15358 Use char because int might match the return type of a GCC
15359 builtin and then its argument prototype would still apply. */
15360 #ifdef __cplusplus
15361 extern "C"
15362 #endif
15363 char clock_gettime ();
15365 main ()
15367 return clock_gettime ();
15369 return 0;
15371 _ACEOF
15372 for ac_lib in '' rt; do
15373 if test -z "$ac_lib"; then
15374 ac_res="none required"
15375 else
15376 ac_res=-l$ac_lib
15377 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15379 if ac_fn_c_try_link "$LINENO"; then :
15380 ac_cv_search_clock_gettime=$ac_res
15382 rm -f core conftest.err conftest.$ac_objext \
15383 conftest$ac_exeext
15384 if ${ac_cv_search_clock_gettime+:} false; then :
15385 break
15387 done
15388 if ${ac_cv_search_clock_gettime+:} false; then :
15390 else
15391 ac_cv_search_clock_gettime=no
15393 rm conftest.$ac_ext
15394 LIBS=$ac_func_search_save_LIBS
15396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15397 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15398 ac_res=$ac_cv_search_clock_gettime
15399 if test "$ac_res" != no; then :
15400 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15402 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15404 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15408 LIBS=$ac_save_LIBS
15410 LDAP_LIBS=""
15412 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15413 then
15414 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15416 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15418 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15419 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15420 $as_echo_n "(cached) " >&6
15421 else
15422 ac_check_lib_save_LIBS=$LIBS
15423 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15425 /* end confdefs.h. */
15427 /* Override any GCC internal prototype to avoid an error.
15428 Use char because int might match the return type of a GCC
15429 builtin and then its argument prototype would still apply. */
15430 #ifdef __cplusplus
15431 extern "C"
15432 #endif
15433 char ldap_initialize ();
15435 main ()
15437 return ldap_initialize ();
15439 return 0;
15441 _ACEOF
15442 if ac_fn_c_try_link "$LINENO"; then :
15443 ac_cv_lib_ldap_r_ldap_initialize=yes
15444 else
15445 ac_cv_lib_ldap_r_ldap_initialize=no
15447 rm -f core conftest.err conftest.$ac_objext \
15448 conftest$ac_exeext conftest.$ac_ext
15449 LIBS=$ac_check_lib_save_LIBS
15451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15452 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15453 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15455 $as_echo_n "checking for ber_init in -llber... " >&6; }
15456 if ${ac_cv_lib_lber_ber_init+:} false; then :
15457 $as_echo_n "(cached) " >&6
15458 else
15459 ac_check_lib_save_LIBS=$LIBS
15460 LIBS="-llber $PTHREAD_LIBS $LIBS"
15461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15462 /* end confdefs.h. */
15464 /* Override any GCC internal prototype to avoid an error.
15465 Use char because int might match the return type of a GCC
15466 builtin and then its argument prototype would still apply. */
15467 #ifdef __cplusplus
15468 extern "C"
15469 #endif
15470 char ber_init ();
15472 main ()
15474 return ber_init ();
15476 return 0;
15478 _ACEOF
15479 if ac_fn_c_try_link "$LINENO"; then :
15480 ac_cv_lib_lber_ber_init=yes
15481 else
15482 ac_cv_lib_lber_ber_init=no
15484 rm -f core conftest.err conftest.$ac_objext \
15485 conftest$ac_exeext conftest.$ac_ext
15486 LIBS=$ac_check_lib_save_LIBS
15488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15489 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15490 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15492 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15494 LDAP_LIBS="-lldap_r -llber"
15501 ac_wine_check_funcs_save_LIBS="$LIBS"
15502 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15503 for ac_func in \
15504 ldap_count_references \
15505 ldap_first_reference \
15506 ldap_next_reference \
15507 ldap_parse_reference \
15508 ldap_parse_sort_control \
15509 ldap_parse_sortresponse_control \
15510 ldap_parse_vlv_control \
15511 ldap_parse_vlvresponse_control
15512 do :
15513 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15514 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15515 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15516 cat >>confdefs.h <<_ACEOF
15517 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15518 _ACEOF
15521 done
15523 LIBS="$ac_wine_check_funcs_save_LIBS"
15525 if test "x$LDAP_LIBS" = "x"; then :
15526 case "x$with_ldap" in
15527 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15528 xno) ;;
15529 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15530 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15531 esac
15534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15535 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15536 if ${wine_cv_one_arg_mkdir+:} false; then :
15537 $as_echo_n "(cached) " >&6
15538 else
15539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15540 /* end confdefs.h. */
15541 #include <sys/stat.h>
15543 main ()
15545 mkdir("foo");
15547 return 0;
15549 _ACEOF
15550 if ac_fn_c_try_compile "$LINENO"; then :
15551 wine_cv_one_arg_mkdir=yes
15552 else
15553 wine_cv_one_arg_mkdir=no
15555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15558 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15559 if test "$wine_cv_one_arg_mkdir" = "yes"
15560 then
15562 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15567 $as_echo_n "checking for sched_setaffinity... " >&6; }
15568 if ${wine_cv_have_sched_setaffinity+:} false; then :
15569 $as_echo_n "(cached) " >&6
15570 else
15571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15572 /* end confdefs.h. */
15573 #define _GNU_SOURCE
15574 #include <sched.h>
15576 main ()
15578 sched_setaffinity(0, 0, 0);
15580 return 0;
15582 _ACEOF
15583 if ac_fn_c_try_link "$LINENO"; then :
15584 wine_cv_have_sched_setaffinity=yes
15585 else
15586 wine_cv_have_sched_setaffinity=no
15588 rm -f core conftest.err conftest.$ac_objext \
15589 conftest$ac_exeext conftest.$ac_ext
15591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15592 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15593 if test "$wine_cv_have_sched_setaffinity" = "yes"
15594 then
15596 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15601 $as_echo_n "checking for fallocate... " >&6; }
15602 if ${wine_cv_have_fallocate+:} false; then :
15603 $as_echo_n "(cached) " >&6
15604 else
15605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15606 /* end confdefs.h. */
15607 #define _GNU_SOURCE
15608 #include <fcntl.h>
15610 main ()
15612 fallocate(-1, 0, 0, 0);
15614 return 0;
15616 _ACEOF
15617 if ac_fn_c_try_link "$LINENO"; then :
15618 wine_cv_have_fallocate=yes
15619 else
15620 wine_cv_have_fallocate=no
15622 rm -f core conftest.err conftest.$ac_objext \
15623 conftest$ac_exeext conftest.$ac_ext
15625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15626 $as_echo "$wine_cv_have_fallocate" >&6; }
15627 if test "$wine_cv_have_fallocate" = "yes"
15628 then
15630 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15636 $as_echo_n "checking for inline... " >&6; }
15637 if ${ac_cv_c_inline+:} false; then :
15638 $as_echo_n "(cached) " >&6
15639 else
15640 ac_cv_c_inline=no
15641 for ac_kw in inline __inline__ __inline; do
15642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15643 /* end confdefs.h. */
15644 #ifndef __cplusplus
15645 typedef int foo_t;
15646 static $ac_kw foo_t static_foo () {return 0; }
15647 $ac_kw foo_t foo () {return 0; }
15648 #endif
15650 _ACEOF
15651 if ac_fn_c_try_compile "$LINENO"; then :
15652 ac_cv_c_inline=$ac_kw
15654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15655 test "$ac_cv_c_inline" != no && break
15656 done
15659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15660 $as_echo "$ac_cv_c_inline" >&6; }
15662 case $ac_cv_c_inline in
15663 inline | yes) ;;
15665 case $ac_cv_c_inline in
15666 no) ac_val=;;
15667 *) ac_val=$ac_cv_c_inline;;
15668 esac
15669 cat >>confdefs.h <<_ACEOF
15670 #ifndef __cplusplus
15671 #define inline $ac_val
15672 #endif
15673 _ACEOF
15675 esac
15677 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15678 if test "x$ac_cv_type_mode_t" = xyes; then :
15680 cat >>confdefs.h <<_ACEOF
15681 #define HAVE_MODE_T 1
15682 _ACEOF
15686 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15687 if test "x$ac_cv_type_off_t" = xyes; then :
15689 cat >>confdefs.h <<_ACEOF
15690 #define HAVE_OFF_T 1
15691 _ACEOF
15695 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15696 if test "x$ac_cv_type_pid_t" = xyes; then :
15698 cat >>confdefs.h <<_ACEOF
15699 #define HAVE_PID_T 1
15700 _ACEOF
15704 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15705 if test "x$ac_cv_type_size_t" = xyes; then :
15707 cat >>confdefs.h <<_ACEOF
15708 #define HAVE_SIZE_T 1
15709 _ACEOF
15713 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15714 if test "x$ac_cv_type_ssize_t" = xyes; then :
15716 cat >>confdefs.h <<_ACEOF
15717 #define HAVE_SSIZE_T 1
15718 _ACEOF
15722 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15723 if test "x$ac_cv_type_long_long" = xyes; then :
15725 cat >>confdefs.h <<_ACEOF
15726 #define HAVE_LONG_LONG 1
15727 _ACEOF
15731 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15732 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15734 cat >>confdefs.h <<_ACEOF
15735 #define HAVE_FSBLKCNT_T 1
15736 _ACEOF
15740 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15741 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15743 cat >>confdefs.h <<_ACEOF
15744 #define HAVE_FSFILCNT_T 1
15745 _ACEOF
15750 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15751 #include <signal.h>
15753 if test "x$ac_cv_type_sigset_t" = xyes; then :
15755 cat >>confdefs.h <<_ACEOF
15756 #define HAVE_SIGSET_T 1
15757 _ACEOF
15762 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15764 if test "x$ac_cv_type_request_sense" = xyes; then :
15766 cat >>confdefs.h <<_ACEOF
15767 #define HAVE_REQUEST_SENSE 1
15768 _ACEOF
15774 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15775 #ifdef HAVE_SYS_SOCKET_H
15776 #include <sys/socket.h>
15777 #endif
15778 #ifdef HAVE_SYS_SOCKETVAR_H
15779 #include <sys/socketvar.h>
15780 #endif
15781 #ifdef HAVE_NET_ROUTE_H
15782 #include <net/route.h>
15783 #endif
15784 #ifdef HAVE_NETINET_IN_H
15785 #include <netinet/in.h>
15786 #endif
15787 #ifdef HAVE_NETINET_IN_SYSTM_H
15788 #include <netinet/in_systm.h>
15789 #endif
15790 #ifdef HAVE_NETINET_IP_H
15791 #include <netinet/ip.h>
15792 #endif
15793 #ifdef HAVE_NETINET_IN_PCB_H
15794 #include <netinet/in_pcb.h>
15795 #endif
15797 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15799 cat >>confdefs.h <<_ACEOF
15800 #define HAVE_STRUCT_XINPGEN 1
15801 _ACEOF
15807 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15808 #include <link.h>
15809 #endif
15810 #ifdef HAVE_SYS_LINK_H
15811 #include <sys/link.h>
15812 #endif
15814 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15816 cat >>confdefs.h <<_ACEOF
15817 #define HAVE_STRUCT_R_DEBUG 1
15818 _ACEOF
15822 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15823 #include <link.h>
15824 #endif
15825 #ifdef HAVE_SYS_LINK_H
15826 #include <sys/link.h>
15827 #endif
15829 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15831 cat >>confdefs.h <<_ACEOF
15832 #define HAVE_STRUCT_LINK_MAP 1
15833 _ACEOF
15839 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15840 #include <linux/input.h>
15841 #endif
15843 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15845 cat >>confdefs.h <<_ACEOF
15846 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15847 _ACEOF
15853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15854 $as_echo_n "checking for sigaddset... " >&6; }
15855 if ${wine_cv_have_sigaddset+:} false; then :
15856 $as_echo_n "(cached) " >&6
15857 else
15858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15859 /* end confdefs.h. */
15860 #include <signal.h>
15862 main ()
15864 sigset_t set; sigaddset(&set,SIGTERM);
15866 return 0;
15868 _ACEOF
15869 if ac_fn_c_try_link "$LINENO"; then :
15870 wine_cv_have_sigaddset=yes
15871 else
15872 wine_cv_have_sigaddset=no
15874 rm -f core conftest.err conftest.$ac_objext \
15875 conftest$ac_exeext conftest.$ac_ext
15877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15878 $as_echo "$wine_cv_have_sigaddset" >&6; }
15879 if test "$wine_cv_have_sigaddset" = "yes"
15880 then
15882 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15888 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15889 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15890 $as_echo_n "(cached) " >&6
15891 else
15892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15893 /* end confdefs.h. */
15894 #include <netdb.h>
15896 main ()
15899 char *name=0;
15900 struct hostent he;
15901 struct hostent *result;
15902 char *buf=0;
15903 int bufsize=0;
15904 int errnr;
15905 char *addr=0;
15906 int addrlen=0;
15907 int addrtype=0;
15908 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15909 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15912 return 0;
15914 _ACEOF
15915 if ac_fn_c_try_link "$LINENO"; then :
15916 wine_cv_linux_gethostbyname_r_6=yes
15917 else
15918 wine_cv_linux_gethostbyname_r_6=no
15921 rm -f core conftest.err conftest.$ac_objext \
15922 conftest$ac_exeext conftest.$ac_ext
15925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15926 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15927 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15928 then
15930 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15934 if test "$ac_cv_header_linux_joystick_h" = "yes"
15935 then
15936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15937 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15938 if ${wine_cv_linux_joystick_22_api+:} false; then :
15939 $as_echo_n "(cached) " >&6
15940 else
15941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15942 /* end confdefs.h. */
15944 #include <sys/ioctl.h>
15945 #include <sys/types.h>
15946 #include <linux/joystick.h>
15948 struct js_event blub;
15949 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15950 #error "no 2.2 header"
15951 #endif
15954 main ()
15956 /*empty*/
15958 return 0;
15960 _ACEOF
15961 if ac_fn_c_try_compile "$LINENO"; then :
15962 wine_cv_linux_joystick_22_api=yes
15963 else
15964 wine_cv_linux_joystick_22_api=no
15966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15970 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15971 if test "$wine_cv_linux_joystick_22_api" = "yes"
15972 then
15974 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15980 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15981 #ifdef HAVE_SYS_PARAM_H
15982 # include <sys/param.h>
15983 #endif
15984 #ifdef HAVE_SYS_MOUNT_H
15985 # include <sys/mount.h>
15986 #endif
15987 #ifdef HAVE_SYS_VFS_H
15988 # include <sys/vfs.h>
15989 #endif
15990 #ifdef HAVE_SYS_STATFS_H
15991 # include <sys/statfs.h>
15992 #endif
15994 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15996 cat >>confdefs.h <<_ACEOF
15997 #define HAVE_STRUCT_STATFS_F_BFREE 1
15998 _ACEOF
16002 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16003 #ifdef HAVE_SYS_PARAM_H
16004 # include <sys/param.h>
16005 #endif
16006 #ifdef HAVE_SYS_MOUNT_H
16007 # include <sys/mount.h>
16008 #endif
16009 #ifdef HAVE_SYS_VFS_H
16010 # include <sys/vfs.h>
16011 #endif
16012 #ifdef HAVE_SYS_STATFS_H
16013 # include <sys/statfs.h>
16014 #endif
16016 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16018 cat >>confdefs.h <<_ACEOF
16019 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16020 _ACEOF
16024 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16025 #ifdef HAVE_SYS_PARAM_H
16026 # include <sys/param.h>
16027 #endif
16028 #ifdef HAVE_SYS_MOUNT_H
16029 # include <sys/mount.h>
16030 #endif
16031 #ifdef HAVE_SYS_VFS_H
16032 # include <sys/vfs.h>
16033 #endif
16034 #ifdef HAVE_SYS_STATFS_H
16035 # include <sys/statfs.h>
16036 #endif
16038 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16040 cat >>confdefs.h <<_ACEOF
16041 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16042 _ACEOF
16046 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16047 #ifdef HAVE_SYS_PARAM_H
16048 # include <sys/param.h>
16049 #endif
16050 #ifdef HAVE_SYS_MOUNT_H
16051 # include <sys/mount.h>
16052 #endif
16053 #ifdef HAVE_SYS_VFS_H
16054 # include <sys/vfs.h>
16055 #endif
16056 #ifdef HAVE_SYS_STATFS_H
16057 # include <sys/statfs.h>
16058 #endif
16060 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16062 cat >>confdefs.h <<_ACEOF
16063 #define HAVE_STRUCT_STATFS_F_FFREE 1
16064 _ACEOF
16068 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16069 #ifdef HAVE_SYS_PARAM_H
16070 # include <sys/param.h>
16071 #endif
16072 #ifdef HAVE_SYS_MOUNT_H
16073 # include <sys/mount.h>
16074 #endif
16075 #ifdef HAVE_SYS_VFS_H
16076 # include <sys/vfs.h>
16077 #endif
16078 #ifdef HAVE_SYS_STATFS_H
16079 # include <sys/statfs.h>
16080 #endif
16082 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16084 cat >>confdefs.h <<_ACEOF
16085 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16086 _ACEOF
16090 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16091 #ifdef HAVE_SYS_PARAM_H
16092 # include <sys/param.h>
16093 #endif
16094 #ifdef HAVE_SYS_MOUNT_H
16095 # include <sys/mount.h>
16096 #endif
16097 #ifdef HAVE_SYS_VFS_H
16098 # include <sys/vfs.h>
16099 #endif
16100 #ifdef HAVE_SYS_STATFS_H
16101 # include <sys/statfs.h>
16102 #endif
16104 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16106 cat >>confdefs.h <<_ACEOF
16107 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16108 _ACEOF
16114 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16115 #include <sys/statvfs.h>
16116 #endif
16118 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16120 cat >>confdefs.h <<_ACEOF
16121 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16122 _ACEOF
16128 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16129 #include <dirent.h>
16130 #endif
16132 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16134 cat >>confdefs.h <<_ACEOF
16135 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16136 _ACEOF
16142 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16143 #ifdef HAVE_SYS_SOCKET_H
16144 # include <sys/socket.h>
16145 #endif
16146 #ifdef HAVE_SYS_UN_H
16147 # include <sys/un.h>
16148 #endif
16150 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16152 cat >>confdefs.h <<_ACEOF
16153 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16154 _ACEOF
16158 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16159 #ifdef HAVE_SYS_SOCKET_H
16160 # include <sys/socket.h>
16161 #endif
16162 #ifdef HAVE_SYS_UN_H
16163 # include <sys/un.h>
16164 #endif
16166 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16168 cat >>confdefs.h <<_ACEOF
16169 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16170 _ACEOF
16174 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16175 #ifdef HAVE_SYS_SOCKET_H
16176 # include <sys/socket.h>
16177 #endif
16178 #ifdef HAVE_SYS_UN_H
16179 # include <sys/un.h>
16180 #endif
16182 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16184 cat >>confdefs.h <<_ACEOF
16185 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16186 _ACEOF
16192 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16193 #ifdef HAVE_SCSI_SG_H
16194 #include <scsi/sg.h>
16195 #endif
16197 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16199 cat >>confdefs.h <<_ACEOF
16200 #define HAVE_SCSIREQ_T_CMD 1
16201 _ACEOF
16205 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>
16206 #ifdef HAVE_SCSI_SG_H
16207 #include <scsi/sg.h>
16208 #endif
16210 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16212 cat >>confdefs.h <<_ACEOF
16213 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16214 _ACEOF
16220 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16222 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16224 cat >>confdefs.h <<_ACEOF
16225 #define HAVE_SIGINFO_T_SI_FD 1
16226 _ACEOF
16232 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16233 #ifdef HAVE_SYS_MTIO_H
16234 #include <sys/mtio.h>
16235 #endif
16237 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16239 cat >>confdefs.h <<_ACEOF
16240 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16241 _ACEOF
16245 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16246 #ifdef HAVE_SYS_MTIO_H
16247 #include <sys/mtio.h>
16248 #endif
16250 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16252 cat >>confdefs.h <<_ACEOF
16253 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16254 _ACEOF
16258 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16259 #ifdef HAVE_SYS_MTIO_H
16260 #include <sys/mtio.h>
16261 #endif
16263 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16265 cat >>confdefs.h <<_ACEOF
16266 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16267 _ACEOF
16273 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16274 #include <getopt.h>
16275 #endif
16277 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16279 cat >>confdefs.h <<_ACEOF
16280 #define HAVE_STRUCT_OPTION_NAME 1
16281 _ACEOF
16287 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16288 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16290 cat >>confdefs.h <<_ACEOF
16291 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16292 _ACEOF
16296 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16297 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16299 cat >>confdefs.h <<_ACEOF
16300 #define HAVE_STRUCT_STAT_ST_MTIM 1
16301 _ACEOF
16305 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16306 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16308 cat >>confdefs.h <<_ACEOF
16309 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16310 _ACEOF
16314 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16315 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16317 cat >>confdefs.h <<_ACEOF
16318 #define HAVE_STRUCT_STAT_ST_CTIM 1
16319 _ACEOF
16323 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16324 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16326 cat >>confdefs.h <<_ACEOF
16327 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16328 _ACEOF
16332 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16333 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16335 cat >>confdefs.h <<_ACEOF
16336 #define HAVE_STRUCT_STAT_ST_ATIM 1
16337 _ACEOF
16341 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16342 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16344 cat >>confdefs.h <<_ACEOF
16345 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16346 _ACEOF
16350 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16351 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16353 cat >>confdefs.h <<_ACEOF
16354 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16355 _ACEOF
16359 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16360 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16362 cat >>confdefs.h <<_ACEOF
16363 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16364 _ACEOF
16368 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16369 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16371 cat >>confdefs.h <<_ACEOF
16372 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16373 _ACEOF
16377 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16378 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16380 cat >>confdefs.h <<_ACEOF
16381 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16382 _ACEOF
16386 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16387 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16389 cat >>confdefs.h <<_ACEOF
16390 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16391 _ACEOF
16397 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
16398 #include <sys/types.h>
16399 #endif
16400 #ifdef HAVE_NETINET_IN_H
16401 #include <netinet/in.h>
16402 #endif
16404 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16406 cat >>confdefs.h <<_ACEOF
16407 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16408 _ACEOF
16414 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16415 #include <resolv.h>
16416 #endif
16418 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16420 cat >>confdefs.h <<_ACEOF
16421 #define HAVE_STRUCT___RES_STATE 1
16422 _ACEOF
16428 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
16429 #include <resolv.h>
16430 #endif
16432 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16434 cat >>confdefs.h <<_ACEOF
16435 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16436 _ACEOF
16442 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16443 #include <sys/types.h>
16444 #endif
16445 #ifdef HAVE_NETINET_IN_H
16446 # include <netinet/in.h>
16447 #endif
16448 #ifdef HAVE_ARPA_NAMESER_H
16449 # include <arpa/nameser.h>
16450 #endif
16452 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16454 cat >>confdefs.h <<_ACEOF
16455 #define HAVE_NS_MSG__MSG_PTR 1
16456 _ACEOF
16462 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16463 #include <sys/types.h>
16464 #endif
16465 #ifdef HAVE_NETINET_IP_H
16466 #include <netinet/ip.h>
16467 #endif
16468 #ifdef HAVE_NETINET_IP_ICMP_H
16469 #include <netinet/ip_icmp.h>
16470 #endif
16471 #ifdef HAVE_NETINET_ICMP_VAR_H
16472 #include <netinet/icmp_var.h>
16473 #endif
16475 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16477 cat >>confdefs.h <<_ACEOF
16478 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16479 _ACEOF
16485 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16486 #include <sys/types.h>
16487 #endif
16488 #ifdef HAVE_ALIAS_H
16489 #include <alias.h>
16490 #endif
16491 #ifdef HAVE_SYS_SOCKET_H
16492 #include <sys/socket.h>
16493 #endif
16494 #ifdef HAVE_SYS_SOCKETVAR_H
16495 #include <sys/socketvar.h>
16496 #endif
16497 #ifdef HAVE_SYS_TIMEOUT_H
16498 #include <sys/timeout.h>
16499 #endif
16500 #ifdef HAVE_NETINET_IN_H
16501 #include <netinet/in.h>
16502 #endif
16503 #ifdef HAVE_NETINET_IN_SYSTM_H
16504 #include <netinet/in_systm.h>
16505 #endif
16506 #ifdef HAVE_NETINET_IP_H
16507 #include <netinet/ip.h>
16508 #endif
16509 #ifdef HAVE_NETINET_IP_VAR_H
16510 #include <netinet/ip_var.h>
16511 #endif
16512 #ifdef HAVE_NETINET_IP_ICMP_H
16513 #include <netinet/ip_icmp.h>
16514 #endif
16515 #ifdef HAVE_NETINET_ICMP_VAR_H
16516 #include <netinet/icmp_var.h>
16517 #endif
16519 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16521 cat >>confdefs.h <<_ACEOF
16522 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16523 _ACEOF
16529 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16530 #include <sys/types.h>
16531 #endif
16532 #ifdef HAVE_SYS_SOCKETVAR_H
16533 #include <sys/socketvar.h>
16534 #endif
16535 #ifdef HAVE_NETINET_IN_H
16536 #include <netinet/in.h>
16537 #endif
16538 #ifdef HAVE_NETINET_IP_VAR_H
16539 #include <netinet/ip_var.h>
16540 #endif
16542 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16544 cat >>confdefs.h <<_ACEOF
16545 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16546 _ACEOF
16552 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
16553 #include <netinet/ip_var.h>
16554 #endif
16556 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16558 cat >>confdefs.h <<_ACEOF
16559 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16560 _ACEOF
16566 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16567 #include <sys/types.h>
16568 #endif
16569 #ifdef HAVE_SYS_SOCKETVAR_H
16570 #include <sys/socketvar.h>
16571 #endif
16572 #ifdef HAVE_NETINET_IN_H
16573 #include <netinet/in.h>
16574 #endif
16575 #ifdef HAVE_NETINET_TCP_H
16576 #include <netinet/tcp.h>
16577 #endif
16578 #ifdef HAVE_NETINET_TCP_VAR_H
16579 #include <netinet/tcp_var.h>
16580 #endif
16582 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16584 cat >>confdefs.h <<_ACEOF
16585 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16586 _ACEOF
16592 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
16593 #include <netinet/tcp_var.h>
16594 #endif
16596 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16598 cat >>confdefs.h <<_ACEOF
16599 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16600 _ACEOF
16606 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16607 #include <sys/types.h>
16608 #endif
16609 #ifdef HAVE_NETINET_IN_H
16610 #include <netinet/in.h>
16611 #endif
16612 #ifdef HAVE_NETINET_IP_VAR_H
16613 #include <netinet/ip_var.h>
16614 #endif
16615 #ifdef HAVE_NETINET_UDP_H
16616 #include <netinet/udp.h>
16617 #endif
16618 #ifdef HAVE_NETINET_UDP_VAR_H
16619 #include <netinet/udp_var.h>
16620 #endif
16622 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16624 cat >>confdefs.h <<_ACEOF
16625 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16626 _ACEOF
16632 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16633 #include <sys/types.h>
16634 #endif
16635 #ifdef HAVE_NET_IF_H
16636 # include <net/if.h>
16637 #endif
16639 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16641 cat >>confdefs.h <<_ACEOF
16642 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16643 _ACEOF
16649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16650 $as_echo_n "checking for timezone variable... " >&6; }
16651 if ${ac_cv_have_timezone+:} false; then :
16652 $as_echo_n "(cached) " >&6
16653 else
16654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16655 /* end confdefs.h. */
16656 #include <time.h>
16658 main ()
16660 timezone = 1
16662 return 0;
16664 _ACEOF
16665 if ac_fn_c_try_link "$LINENO"; then :
16666 ac_cv_have_timezone="yes"
16667 else
16668 ac_cv_have_timezone="no"
16670 rm -f core conftest.err conftest.$ac_objext \
16671 conftest$ac_exeext conftest.$ac_ext
16673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16674 $as_echo "$ac_cv_have_timezone" >&6; }
16675 if test "$ac_cv_have_timezone" = "yes"
16676 then
16678 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16682 $as_echo_n "checking for daylight variable... " >&6; }
16683 if ${ac_cv_have_daylight+:} false; then :
16684 $as_echo_n "(cached) " >&6
16685 else
16686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16687 /* end confdefs.h. */
16688 #include <time.h>
16690 main ()
16692 daylight = 1
16694 return 0;
16696 _ACEOF
16697 if ac_fn_c_try_link "$LINENO"; then :
16698 ac_cv_have_daylight="yes"
16699 else
16700 ac_cv_have_daylight="no"
16702 rm -f core conftest.err conftest.$ac_objext \
16703 conftest$ac_exeext conftest.$ac_ext
16705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16706 $as_echo "$ac_cv_have_daylight" >&6; }
16707 if test "$ac_cv_have_daylight" = "yes"
16708 then
16710 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16714 ac_save_LIBS="$LIBS"
16715 LIBS="$LIBS -lm"
16716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16717 $as_echo_n "checking for isfinite... " >&6; }
16718 if ${ac_cv_have_isfinite+:} false; then :
16719 $as_echo_n "(cached) " >&6
16720 else
16721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16722 /* end confdefs.h. */
16723 #define _GNU_SOURCE
16724 #include <math.h>
16726 main ()
16728 float f = 0.0; return isfinite(f)
16730 return 0;
16732 _ACEOF
16733 if ac_fn_c_try_link "$LINENO"; then :
16734 ac_cv_have_isfinite="yes"
16735 else
16736 ac_cv_have_isfinite="no"
16738 rm -f core conftest.err conftest.$ac_objext \
16739 conftest$ac_exeext conftest.$ac_ext
16741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16742 $as_echo "$ac_cv_have_isfinite" >&6; }
16743 if test "$ac_cv_have_isfinite" = "yes"
16744 then
16746 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16751 $as_echo_n "checking for isinf... " >&6; }
16752 if ${ac_cv_have_isinf+:} false; then :
16753 $as_echo_n "(cached) " >&6
16754 else
16755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16756 /* end confdefs.h. */
16757 #include <math.h>
16759 main ()
16761 float f = 0.0; return isinf(f)
16763 return 0;
16765 _ACEOF
16766 if ac_fn_c_try_link "$LINENO"; then :
16767 ac_cv_have_isinf="yes"
16768 else
16769 ac_cv_have_isinf="no"
16771 rm -f core conftest.err conftest.$ac_objext \
16772 conftest$ac_exeext conftest.$ac_ext
16774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16775 $as_echo "$ac_cv_have_isinf" >&6; }
16776 if test "$ac_cv_have_isinf" = "yes"
16777 then
16779 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16784 $as_echo_n "checking for isnan... " >&6; }
16785 if ${ac_cv_have_isnan+:} false; then :
16786 $as_echo_n "(cached) " >&6
16787 else
16788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16789 /* end confdefs.h. */
16790 #include <math.h>
16792 main ()
16794 float f = 0.0; return isnan(f)
16796 return 0;
16798 _ACEOF
16799 if ac_fn_c_try_link "$LINENO"; then :
16800 ac_cv_have_isnan="yes"
16801 else
16802 ac_cv_have_isnan="no"
16804 rm -f core conftest.err conftest.$ac_objext \
16805 conftest$ac_exeext conftest.$ac_ext
16807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16808 $as_echo "$ac_cv_have_isnan" >&6; }
16809 if test "$ac_cv_have_isnan" = "yes"
16810 then
16812 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16816 for ac_func in \
16817 cbrt \
16818 cbrtf \
16819 erf \
16820 erff \
16821 exp2 \
16822 exp2f \
16823 llrint \
16824 llrintf \
16825 llround \
16826 llroundf \
16827 log2 \
16828 log2f \
16829 lrint \
16830 lrintf \
16831 lround \
16832 lroundf \
16833 rint \
16834 rintf \
16835 round \
16836 roundf \
16837 trunc \
16838 truncf
16840 do :
16841 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16842 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16843 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16844 cat >>confdefs.h <<_ACEOF
16845 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16846 _ACEOF
16849 done
16851 LIBS="$ac_save_LIBS"
16853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16854 $as_echo_n "checking for __builtin_clz... " >&6; }
16855 if ${ac_cv_have___builtin_clz+:} false; then :
16856 $as_echo_n "(cached) " >&6
16857 else
16858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16859 /* end confdefs.h. */
16862 main ()
16864 return __builtin_clz(1)
16866 return 0;
16868 _ACEOF
16869 if ac_fn_c_try_link "$LINENO"; then :
16870 ac_cv_have___builtin_clz="yes"
16871 else
16872 ac_cv_have___builtin_clz="no"
16874 rm -f core conftest.err conftest.$ac_objext \
16875 conftest$ac_exeext conftest.$ac_ext
16877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16878 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16879 if test "$ac_cv_have___builtin_clz" = "yes"
16880 then
16882 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
16887 $as_echo_n "checking for __builtin_popcount... " >&6; }
16888 if ${ac_cv_have___builtin_popcount+:} false; then :
16889 $as_echo_n "(cached) " >&6
16890 else
16891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16892 /* end confdefs.h. */
16895 main ()
16897 return __builtin_popcount(1)
16899 return 0;
16901 _ACEOF
16902 if ac_fn_c_try_link "$LINENO"; then :
16903 ac_cv_have___builtin_popcount="yes"
16904 else
16905 ac_cv_have___builtin_popcount="no"
16907 rm -f core conftest.err conftest.$ac_objext \
16908 conftest$ac_exeext conftest.$ac_ext
16910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
16911 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
16912 if test "$ac_cv_have___builtin_popcount" = "yes"
16913 then
16915 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
16920 case $host_cpu in
16921 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16922 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16923 if ${ac_cv_cpp_def___i386__+:} false; then :
16924 $as_echo_n "(cached) " >&6
16925 else
16926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16927 /* end confdefs.h. */
16928 #ifndef __i386__
16930 #endif
16931 _ACEOF
16932 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16933 $EGREP "yes" >/dev/null 2>&1; then :
16934 ac_cv_cpp_def___i386__=yes
16935 else
16936 ac_cv_cpp_def___i386__=no
16938 rm -f conftest*
16941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16942 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16943 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16944 CFLAGS="$CFLAGS -D__i386__"
16945 LINTFLAGS="$LINTFLAGS -D__i386__"
16946 fi ;;
16947 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16948 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16949 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16950 $as_echo_n "(cached) " >&6
16951 else
16952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16953 /* end confdefs.h. */
16954 #ifndef __x86_64__
16956 #endif
16957 _ACEOF
16958 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16959 $EGREP "yes" >/dev/null 2>&1; then :
16960 ac_cv_cpp_def___x86_64__=yes
16961 else
16962 ac_cv_cpp_def___x86_64__=no
16964 rm -f conftest*
16967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16968 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16969 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16970 CFLAGS="$CFLAGS -D__x86_64__"
16971 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16972 fi ;;
16973 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16974 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16975 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16976 $as_echo_n "(cached) " >&6
16977 else
16978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16979 /* end confdefs.h. */
16980 #ifndef __sparc64__
16982 #endif
16983 _ACEOF
16984 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16985 $EGREP "yes" >/dev/null 2>&1; then :
16986 ac_cv_cpp_def___sparc64__=yes
16987 else
16988 ac_cv_cpp_def___sparc64__=no
16990 rm -f conftest*
16993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16994 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16995 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16996 CFLAGS="$CFLAGS -D__sparc64__"
16997 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16998 fi ;;
16999 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17000 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17001 if ${ac_cv_cpp_def___sparc__+:} false; then :
17002 $as_echo_n "(cached) " >&6
17003 else
17004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17005 /* end confdefs.h. */
17006 #ifndef __sparc__
17008 #endif
17009 _ACEOF
17010 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17011 $EGREP "yes" >/dev/null 2>&1; then :
17012 ac_cv_cpp_def___sparc__=yes
17013 else
17014 ac_cv_cpp_def___sparc__=no
17016 rm -f conftest*
17019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17020 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17021 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17022 CFLAGS="$CFLAGS -D__sparc__"
17023 LINTFLAGS="$LINTFLAGS -D__sparc__"
17024 fi ;;
17025 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17026 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17027 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17028 $as_echo_n "(cached) " >&6
17029 else
17030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17031 /* end confdefs.h. */
17032 #ifndef __powerpc64__
17034 #endif
17035 _ACEOF
17036 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17037 $EGREP "yes" >/dev/null 2>&1; then :
17038 ac_cv_cpp_def___powerpc64__=yes
17039 else
17040 ac_cv_cpp_def___powerpc64__=no
17042 rm -f conftest*
17045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17046 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17047 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17048 CFLAGS="$CFLAGS -D__powerpc64__"
17049 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17050 fi ;;
17051 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17052 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17053 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17054 $as_echo_n "(cached) " >&6
17055 else
17056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17057 /* end confdefs.h. */
17058 #ifndef __powerpc__
17060 #endif
17061 _ACEOF
17062 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17063 $EGREP "yes" >/dev/null 2>&1; then :
17064 ac_cv_cpp_def___powerpc__=yes
17065 else
17066 ac_cv_cpp_def___powerpc__=no
17068 rm -f conftest*
17071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17072 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17073 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17074 CFLAGS="$CFLAGS -D__powerpc__"
17075 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17076 fi ;;
17077 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17078 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17079 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17080 $as_echo_n "(cached) " >&6
17081 else
17082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17083 /* end confdefs.h. */
17084 #ifndef __aarch64__
17086 #endif
17087 _ACEOF
17088 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17089 $EGREP "yes" >/dev/null 2>&1; then :
17090 ac_cv_cpp_def___aarch64__=yes
17091 else
17092 ac_cv_cpp_def___aarch64__=no
17094 rm -f conftest*
17097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17098 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17099 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17100 CFLAGS="$CFLAGS -D__aarch64__"
17101 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17102 fi ;;
17103 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17104 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17105 if ${ac_cv_cpp_def___arm__+:} false; then :
17106 $as_echo_n "(cached) " >&6
17107 else
17108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17109 /* end confdefs.h. */
17110 #ifndef __arm__
17112 #endif
17113 _ACEOF
17114 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17115 $EGREP "yes" >/dev/null 2>&1; then :
17116 ac_cv_cpp_def___arm__=yes
17117 else
17118 ac_cv_cpp_def___arm__=no
17120 rm -f conftest*
17123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17124 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17125 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17126 CFLAGS="$CFLAGS -D__arm__"
17127 LINTFLAGS="$LINTFLAGS -D__arm__"
17128 fi ;;
17129 esac
17131 case $host_vendor in
17132 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17133 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17134 if ${ac_cv_cpp_def___sun__+:} false; then :
17135 $as_echo_n "(cached) " >&6
17136 else
17137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17138 /* end confdefs.h. */
17139 #ifndef __sun__
17141 #endif
17142 _ACEOF
17143 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17144 $EGREP "yes" >/dev/null 2>&1; then :
17145 ac_cv_cpp_def___sun__=yes
17146 else
17147 ac_cv_cpp_def___sun__=no
17149 rm -f conftest*
17152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17153 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17154 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17155 CFLAGS="$CFLAGS -D__sun__"
17156 LINTFLAGS="$LINTFLAGS -D__sun__"
17157 fi ;;
17158 esac
17164 ac_config_commands="$ac_config_commands include/stamp-h"
17166 $as_echo_n "creating Makefile rules..." >&6
17168 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17169 SOCKET_LIBS = $SOCKET_LIBS
17170 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17171 IOKIT_LIBS = $IOKIT_LIBS
17172 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17173 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17174 CORESERVICES_LIBS = $CORESERVICES_LIBS
17175 APPKIT_LIBS = $APPKIT_LIBS
17176 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17177 SECURITY_LIBS = $SECURITY_LIBS
17178 COREAUDIO_LIBS = $COREAUDIO_LIBS
17179 OPENAL_LIBS = $OPENAL_LIBS
17180 OPENCL_LIBS = $OPENCL_LIBS
17181 QUICKTIME_LIBS = $QUICKTIME_LIBS
17182 CARBON_LIBS = $CARBON_LIBS
17183 PTHREAD_LIBS = $PTHREAD_LIBS
17184 X_CFLAGS = $X_CFLAGS
17185 X_PRE_LIBS = $X_PRE_LIBS
17186 X_LIBS = $X_LIBS
17187 X_EXTRA_LIBS = $X_EXTRA_LIBS
17188 PCAP_LIBS = $PCAP_LIBS
17189 XML2_CFLAGS = $XML2_CFLAGS
17190 XML2_LIBS = $XML2_LIBS
17191 XSLT_CFLAGS = $XSLT_CFLAGS
17192 XSLT_LIBS = $XSLT_LIBS
17193 DBUS_CFLAGS = $DBUS_CFLAGS
17194 DBUS_LIBS = $DBUS_LIBS
17195 HAL_CFLAGS = $HAL_CFLAGS
17196 HAL_LIBS = $HAL_LIBS
17197 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17198 GNUTLS_LIBS = $GNUTLS_LIBS
17199 SANE_CFLAGS = $SANE_CFLAGS
17200 SANE_LIBS = $SANE_LIBS
17201 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17202 GPHOTO2_LIBS = $GPHOTO2_LIBS
17203 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17204 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17205 RESOLV_LIBS = $RESOLV_LIBS
17206 LCMS2_CFLAGS = $LCMS2_CFLAGS
17207 LCMS2_LIBS = $LCMS2_LIBS
17208 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17209 FREETYPE_LIBS = $FREETYPE_LIBS
17210 Z_LIBS = $Z_LIBS
17211 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17212 PULSE_CFLAGS = $PULSE_CFLAGS
17213 PULSE_LIBS = $PULSE_LIBS
17214 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17215 GSTREAMER_LIBS = $GSTREAMER_LIBS
17216 ALSA_LIBS = $ALSA_LIBS
17217 OSS4_CFLAGS = $OSS4_CFLAGS
17218 CAPI20_CFLAGS = $CAPI20_CFLAGS
17219 CAPI20_LIBS = $CAPI20_LIBS
17220 CUPS_CFLAGS = $CUPS_CFLAGS
17221 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17222 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17223 JPEG_CFLAGS = $JPEG_CFLAGS
17224 JPEG_LIBS = $JPEG_LIBS
17225 PNG_CFLAGS = $PNG_CFLAGS
17226 PNG_LIBS = $PNG_LIBS
17227 TIFF_CFLAGS = $TIFF_CFLAGS
17228 TIFF_LIBS = $TIFF_LIBS
17229 MPG123_CFLAGS = $MPG123_CFLAGS
17230 MPG123_LIBS = $MPG123_LIBS
17231 KSTAT_LIBS = $KSTAT_LIBS
17232 PROCSTAT_LIBS = $PROCSTAT_LIBS
17233 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17234 DL_LIBS = $DL_LIBS
17235 POLL_LIBS = $POLL_LIBS
17236 RT_LIBS = $RT_LIBS
17237 LDAP_LIBS = $LDAP_LIBS
17242 wine_fn_append_rule "
17243 # Rules automatically generated by configure
17245 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17247 .INIT: Makefile
17248 .MAKEFILEDEPS:
17249 all: Makefile
17250 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17251 @./config.status Make.tmp Makefile
17252 depend: \$(MAKEDEP) dummy
17253 \$(MAKEDEP)"
17255 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
17256 .gitignore: config.status
17257 @./config.status .gitignore"
17259 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17260 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17262 if test "x$enable_fonts" != xno; then
17263 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17264 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17265 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17266 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17267 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17268 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17270 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17271 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17272 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
17273 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
17274 ac_config_links="$ac_config_links wine:tools/winewrapper"
17275 wine_fn_config_symlink wine
17276 if test "x$enable_win64" != xno; then
17277 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17278 wine_fn_config_symlink wine64
17281 wine_fn_config_dll acledit enable_acledit
17282 wine_fn_config_dll aclui enable_aclui implib
17283 wine_fn_config_dll activeds enable_activeds implib
17284 wine_fn_config_dll actxprxy enable_actxprxy clean
17285 wine_fn_config_lib adsiid
17286 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17287 wine_fn_config_test dlls/advapi32/tests advapi32_test
17288 wine_fn_config_dll advpack enable_advpack implib
17289 wine_fn_config_test dlls/advpack/tests advpack_test
17290 wine_fn_config_dll amstream enable_amstream clean
17291 wine_fn_config_test dlls/amstream/tests amstream_test
17292 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17293 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17294 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17295 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17296 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17297 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17298 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17299 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17300 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17301 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17302 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17303 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17304 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17305 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17306 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17307 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17308 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17309 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17310 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17311 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17312 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17313 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17314 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17315 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17316 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17317 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17318 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17319 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17320 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17321 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17322 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17323 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17324 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17325 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17326 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17327 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17328 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17329 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17330 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17331 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17332 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17333 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17334 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17335 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17336 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17337 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17338 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17339 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17340 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17341 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17342 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17343 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17344 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17345 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17346 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17347 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17348 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17349 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17350 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17351 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17352 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17353 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17354 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17355 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17356 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17357 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17358 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17359 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17360 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17361 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17362 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17363 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17364 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17365 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17366 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17367 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17368 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17369 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17370 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17371 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17372 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17373 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17374 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17375 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17376 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17377 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17378 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17379 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17380 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17381 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17382 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17383 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17384 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17385 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17386 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17387 wine_fn_config_dll apphelp enable_apphelp
17388 wine_fn_config_test dlls/apphelp/tests apphelp_test
17389 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
17390 wine_fn_config_dll atl enable_atl clean,implib
17391 wine_fn_config_test dlls/atl/tests atl_test
17392 wine_fn_config_dll atl100 enable_atl100 clean,implib
17393 wine_fn_config_test dlls/atl100/tests atl100_test
17394 wine_fn_config_dll atl110 enable_atl110 clean
17395 wine_fn_config_dll atl80 enable_atl80 clean,implib
17396 wine_fn_config_test dlls/atl80/tests atl80_test
17397 wine_fn_config_dll atl90 enable_atl90 clean
17398 wine_fn_config_dll authz enable_authz
17399 wine_fn_config_dll avicap32 enable_avicap32 implib
17400 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
17401 wine_fn_config_test dlls/avifil32/tests avifil32_test
17402 wine_fn_config_dll avifile.dll16 enable_win16
17403 wine_fn_config_dll avrt enable_avrt implib
17404 wine_fn_config_dll bcrypt enable_bcrypt implib
17405 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17406 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17407 wine_fn_config_dll browseui enable_browseui clean,po
17408 wine_fn_config_test dlls/browseui/tests browseui_test
17409 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17410 wine_fn_config_dll cabinet enable_cabinet implib
17411 wine_fn_config_test dlls/cabinet/tests cabinet_test
17412 wine_fn_config_dll capi2032 enable_capi2032 implib
17413 wine_fn_config_dll cards enable_cards implib
17414 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17415 wine_fn_config_dll clusapi enable_clusapi implib
17416 wine_fn_config_dll combase enable_combase
17417 wine_fn_config_test dlls/combase/tests combase_test
17418 wine_fn_config_dll comcat enable_comcat
17419 wine_fn_config_test dlls/comcat/tests comcat_test
17420 wine_fn_config_dll comctl32 enable_comctl32 implib,po
17421 wine_fn_config_test dlls/comctl32/tests comctl32_test
17422 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
17423 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17424 wine_fn_config_dll comm.drv16 enable_win16
17425 wine_fn_config_dll commdlg.dll16 enable_win16
17426 wine_fn_config_dll compobj.dll16 enable_win16
17427 wine_fn_config_dll compstui enable_compstui implib
17428 wine_fn_config_dll comsvcs enable_comsvcs implib
17429 wine_fn_config_dll connect enable_connect
17430 wine_fn_config_dll credui enable_credui implib,po
17431 wine_fn_config_test dlls/credui/tests credui_test
17432 wine_fn_config_dll crtdll enable_crtdll implib
17433 wine_fn_config_dll crypt32 enable_crypt32 implib,po
17434 wine_fn_config_test dlls/crypt32/tests crypt32_test
17435 wine_fn_config_dll cryptdlg enable_cryptdlg po
17436 wine_fn_config_dll cryptdll enable_cryptdll implib
17437 wine_fn_config_dll cryptext enable_cryptext
17438 wine_fn_config_dll cryptnet enable_cryptnet implib
17439 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17440 wine_fn_config_dll cryptui enable_cryptui implib,po
17441 wine_fn_config_test dlls/cryptui/tests cryptui_test
17442 wine_fn_config_dll ctapi32 enable_ctapi32
17443 wine_fn_config_dll ctl3d.dll16 enable_win16
17444 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17445 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17446 wine_fn_config_dll d2d1 enable_d2d1 implib
17447 wine_fn_config_test dlls/d2d1/tests d2d1_test
17448 wine_fn_config_dll d3d10 enable_d3d10 implib
17449 wine_fn_config_test dlls/d3d10/tests d3d10_test
17450 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17451 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17452 wine_fn_config_dll d3d10core enable_d3d10core implib
17453 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17454 wine_fn_config_dll d3d11 enable_d3d11 implib
17455 wine_fn_config_test dlls/d3d11/tests d3d11_test
17456 wine_fn_config_dll d3d8 enable_d3d8 implib
17457 wine_fn_config_test dlls/d3d8/tests d3d8_test
17458 wine_fn_config_dll d3d9 enable_d3d9 implib
17459 wine_fn_config_test dlls/d3d9/tests d3d9_test
17460 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17461 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17462 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17463 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17464 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17465 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17466 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17467 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17468 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17469 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17470 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17471 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17472 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17473 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17474 wine_fn_config_dll d3dim enable_d3dim implib
17475 wine_fn_config_dll d3drm enable_d3drm implib
17476 wine_fn_config_test dlls/d3drm/tests d3drm_test
17477 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17478 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17479 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17480 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17481 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17482 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17483 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17484 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17485 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17486 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17487 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17488 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17489 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17490 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17491 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17492 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17493 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17494 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17495 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17496 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17497 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17498 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17499 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17500 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17501 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17502 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17503 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17504 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17505 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17506 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17507 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17508 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17509 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17510 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17511 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17512 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17513 wine_fn_config_dll davclnt enable_davclnt
17514 wine_fn_config_dll dbgeng enable_dbgeng implib
17515 wine_fn_config_dll dbghelp enable_dbghelp implib
17516 wine_fn_config_dll dciman32 enable_dciman32 implib
17517 wine_fn_config_dll ddeml.dll16 enable_win16
17518 wine_fn_config_dll ddraw enable_ddraw clean,implib
17519 wine_fn_config_test dlls/ddraw/tests ddraw_test
17520 wine_fn_config_dll ddrawex enable_ddrawex clean
17521 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17522 wine_fn_config_dll devenum enable_devenum clean,po
17523 wine_fn_config_test dlls/devenum/tests devenum_test
17524 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17525 wine_fn_config_dll difxapi enable_difxapi
17526 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
17527 wine_fn_config_test dlls/dinput/tests dinput_test
17528 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17529 wine_fn_config_test dlls/dinput8/tests dinput8_test
17530 wine_fn_config_dll dispdib.dll16 enable_win16
17531 wine_fn_config_dll dispex enable_dispex clean
17532 wine_fn_config_test dlls/dispex/tests dispex_test
17533 wine_fn_config_dll display.drv16 enable_win16
17534 wine_fn_config_dll dmband enable_dmband clean
17535 wine_fn_config_test dlls/dmband/tests dmband_test
17536 wine_fn_config_dll dmcompos enable_dmcompos clean
17537 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17538 wine_fn_config_dll dmime enable_dmime clean
17539 wine_fn_config_test dlls/dmime/tests dmime_test
17540 wine_fn_config_dll dmloader enable_dmloader clean
17541 wine_fn_config_test dlls/dmloader/tests dmloader_test
17542 wine_fn_config_dll dmscript enable_dmscript clean
17543 wine_fn_config_test dlls/dmscript/tests dmscript_test
17544 wine_fn_config_dll dmstyle enable_dmstyle clean
17545 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17546 wine_fn_config_dll dmsynth enable_dmsynth clean
17547 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17548 wine_fn_config_dll dmusic enable_dmusic clean
17549 wine_fn_config_test dlls/dmusic/tests dmusic_test
17550 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17551 wine_fn_config_dll dnsapi enable_dnsapi implib
17552 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17553 wine_fn_config_dll dplay enable_dplay implib
17554 wine_fn_config_dll dplayx enable_dplayx clean,implib
17555 wine_fn_config_test dlls/dplayx/tests dplayx_test
17556 wine_fn_config_dll dpnaddr enable_dpnaddr
17557 wine_fn_config_dll dpnet enable_dpnet clean,implib
17558 wine_fn_config_test dlls/dpnet/tests dpnet_test
17559 wine_fn_config_dll dpnhpast enable_dpnhpast
17560 wine_fn_config_dll dpnlobby enable_dpnlobby
17561 wine_fn_config_dll dpvoice enable_dpvoice clean
17562 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17563 wine_fn_config_dll dpwsockx enable_dpwsockx
17564 wine_fn_config_dll drmclien enable_drmclien
17565 wine_fn_config_dll dsound enable_dsound clean,implib
17566 wine_fn_config_test dlls/dsound/tests dsound_test
17567 wine_fn_config_dll dssenh enable_dssenh
17568 wine_fn_config_test dlls/dssenh/tests dssenh_test
17569 wine_fn_config_dll dswave enable_dswave clean
17570 wine_fn_config_test dlls/dswave/tests dswave_test
17571 wine_fn_config_dll dwmapi enable_dwmapi implib
17572 wine_fn_config_dll dwrite enable_dwrite implib
17573 wine_fn_config_test dlls/dwrite/tests dwrite_test
17574 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
17575 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17576 wine_fn_config_lib dxerr8
17577 wine_fn_config_lib dxerr9
17578 wine_fn_config_dll dxgi enable_dxgi implib
17579 wine_fn_config_test dlls/dxgi/tests dxgi_test
17580 wine_fn_config_lib dxguid
17581 wine_fn_config_dll dxva2 enable_dxva2
17582 wine_fn_config_dll esent enable_esent
17583 wine_fn_config_dll evr enable_evr
17584 wine_fn_config_dll explorerframe enable_explorerframe clean
17585 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17586 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17587 wine_fn_config_dll faultrep enable_faultrep implib
17588 wine_fn_config_test dlls/faultrep/tests faultrep_test
17589 wine_fn_config_dll fltlib enable_fltlib
17590 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17591 wine_fn_config_dll fntcache enable_fntcache
17592 wine_fn_config_dll fontsub enable_fontsub
17593 wine_fn_config_dll fusion enable_fusion
17594 wine_fn_config_test dlls/fusion/tests fusion_test
17595 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17596 wine_fn_config_dll gameux enable_gameux clean
17597 wine_fn_config_test dlls/gameux/tests gameux_test
17598 wine_fn_config_dll gdi.exe16 enable_win16
17599 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
17600 wine_fn_config_test dlls/gdi32/tests gdi32_test
17601 wine_fn_config_dll gdiplus enable_gdiplus implib
17602 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17603 wine_fn_config_dll glu32 enable_glu32 implib
17604 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17605 wine_fn_config_dll gpkcsp enable_gpkcsp
17606 wine_fn_config_dll hal enable_hal
17607 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
17608 wine_fn_config_dll hid enable_hid implib
17609 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17610 wine_fn_config_dll hlink enable_hlink clean,implib
17611 wine_fn_config_test dlls/hlink/tests hlink_test
17612 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17613 wine_fn_config_dll httpapi enable_httpapi
17614 wine_fn_config_dll iccvid enable_iccvid po
17615 wine_fn_config_dll icmp enable_icmp
17616 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
17617 wine_fn_config_test dlls/ieframe/tests ieframe_test
17618 wine_fn_config_dll ifsmgr.vxd enable_win16
17619 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17620 wine_fn_config_dll imagehlp enable_imagehlp implib
17621 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17622 wine_fn_config_dll imm.dll16 enable_win16
17623 wine_fn_config_dll imm32 enable_imm32 implib
17624 wine_fn_config_test dlls/imm32/tests imm32_test
17625 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17626 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17627 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17628 wine_fn_config_dll inetmib1 enable_inetmib1
17629 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17630 wine_fn_config_dll infosoft enable_infosoft clean
17631 wine_fn_config_test dlls/infosoft/tests infosoft_test
17632 wine_fn_config_dll initpki enable_initpki
17633 wine_fn_config_dll inkobj enable_inkobj
17634 wine_fn_config_dll inseng enable_inseng clean
17635 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17636 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17637 wine_fn_config_dll irprops.cpl enable_irprops_cpl
17638 wine_fn_config_dll itircl enable_itircl
17639 wine_fn_config_dll itss enable_itss clean
17640 wine_fn_config_test dlls/itss/tests itss_test
17641 wine_fn_config_dll joy.cpl enable_joy_cpl po
17642 wine_fn_config_dll jscript enable_jscript clean,po
17643 wine_fn_config_test dlls/jscript/tests jscript_test
17644 wine_fn_config_dll jsproxy enable_jsproxy implib
17645 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
17646 wine_fn_config_test dlls/kernel32/tests kernel32_test
17647 wine_fn_config_dll keyboard.drv16 enable_win16
17648 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17649 wine_fn_config_dll ksuser enable_ksuser
17650 wine_fn_config_dll ktmw32 enable_ktmw32
17651 wine_fn_config_dll loadperf enable_loadperf implib
17652 wine_fn_config_dll localspl enable_localspl po
17653 wine_fn_config_test dlls/localspl/tests localspl_test
17654 wine_fn_config_dll localui enable_localui po
17655 wine_fn_config_test dlls/localui/tests localui_test
17656 wine_fn_config_dll lz32 enable_lz32 implib
17657 wine_fn_config_test dlls/lz32/tests lz32_test
17658 wine_fn_config_dll lzexpand.dll16 enable_win16
17659 wine_fn_config_dll mapi32 enable_mapi32 implib,po
17660 wine_fn_config_test dlls/mapi32/tests mapi32_test
17661 wine_fn_config_dll mapistub enable_mapistub
17662 wine_fn_config_dll mciavi32 enable_mciavi32
17663 wine_fn_config_dll mcicda enable_mcicda
17664 wine_fn_config_dll mciqtz32 enable_mciqtz32
17665 wine_fn_config_dll mciseq enable_mciseq
17666 wine_fn_config_dll mciwave enable_mciwave
17667 wine_fn_config_dll mf enable_mf
17668 wine_fn_config_dll mfplat enable_mfplat
17669 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17670 wine_fn_config_dll mgmtapi enable_mgmtapi
17671 wine_fn_config_dll midimap enable_midimap
17672 wine_fn_config_dll mlang enable_mlang clean,implib
17673 wine_fn_config_test dlls/mlang/tests mlang_test
17674 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17675 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17676 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17677 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17678 wine_fn_config_dll mmdevldr.vxd enable_win16
17679 wine_fn_config_dll mmsystem.dll16 enable_win16
17680 wine_fn_config_dll monodebg.vxd enable_win16
17681 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17682 wine_fn_config_dll mouse.drv16 enable_win16
17683 wine_fn_config_dll mpr enable_mpr implib,po
17684 wine_fn_config_test dlls/mpr/tests mpr_test
17685 wine_fn_config_dll mprapi enable_mprapi implib
17686 wine_fn_config_dll msacm.dll16 enable_win16
17687 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17688 wine_fn_config_dll msacm32 enable_msacm32 implib,po
17689 wine_fn_config_test dlls/msacm32/tests msacm32_test
17690 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17691 wine_fn_config_dll msasn1 enable_msasn1 implib
17692 wine_fn_config_dll mscat32 enable_mscat32
17693 wine_fn_config_dll mscms enable_mscms implib
17694 wine_fn_config_test dlls/mscms/tests mscms_test
17695 wine_fn_config_dll mscoree enable_mscoree clean
17696 wine_fn_config_test dlls/mscoree/tests mscoree_test
17697 wine_fn_config_dll msctf enable_msctf clean
17698 wine_fn_config_test dlls/msctf/tests msctf_test
17699 wine_fn_config_dll msctfp enable_msctfp clean
17700 wine_fn_config_dll msdaps enable_msdaps clean
17701 wine_fn_config_dll msdelta enable_msdelta
17702 wine_fn_config_dll msdmo enable_msdmo implib
17703 wine_fn_config_test dlls/msdmo/tests msdmo_test
17704 wine_fn_config_dll msdrm enable_msdrm
17705 wine_fn_config_dll msftedit enable_msftedit
17706 wine_fn_config_dll msg711.acm enable_msg711_acm
17707 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17708 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17709 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
17710 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17711 wine_fn_config_dll msi enable_msi clean,implib,po
17712 wine_fn_config_test dlls/msi/tests msi_test
17713 wine_fn_config_dll msident enable_msident clean
17714 wine_fn_config_dll msimg32 enable_msimg32 implib
17715 wine_fn_config_dll msimsg enable_msimsg
17716 wine_fn_config_dll msimtf enable_msimtf clean
17717 wine_fn_config_dll msisip enable_msisip
17718 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17719 wine_fn_config_dll msls31 enable_msls31
17720 wine_fn_config_dll msnet32 enable_msnet32
17721 wine_fn_config_dll mspatcha enable_mspatcha implib
17722 wine_fn_config_dll msrle32 enable_msrle32 po
17723 wine_fn_config_test dlls/msrle32/tests msrle32_test
17724 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
17725 wine_fn_config_dll mssign32 enable_mssign32
17726 wine_fn_config_dll mssip32 enable_mssip32
17727 wine_fn_config_dll mstask enable_mstask clean
17728 wine_fn_config_test dlls/mstask/tests mstask_test
17729 wine_fn_config_dll msvcirt enable_msvcirt
17730 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
17731 wine_fn_config_dll msvcm80 enable_msvcm80
17732 wine_fn_config_dll msvcm90 enable_msvcm90
17733 wine_fn_config_dll msvcp100 enable_msvcp100
17734 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17735 wine_fn_config_dll msvcp110 enable_msvcp110
17736 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
17737 wine_fn_config_dll msvcp120 enable_msvcp120
17738 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
17739 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17740 wine_fn_config_dll msvcp60 enable_msvcp60
17741 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17742 wine_fn_config_dll msvcp70 enable_msvcp70
17743 wine_fn_config_dll msvcp71 enable_msvcp71
17744 wine_fn_config_dll msvcp80 enable_msvcp80
17745 wine_fn_config_dll msvcp90 enable_msvcp90
17746 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17747 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17748 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17749 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17750 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17751 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17752 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17753 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17754 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17755 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17756 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17757 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17758 wine_fn_config_dll msvcrt enable_msvcrt implib
17759 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17760 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17761 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17762 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17763 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17764 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17765 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17766 wine_fn_config_dll msvidc32 enable_msvidc32 po
17767 wine_fn_config_dll msvideo.dll16 enable_win16
17768 wine_fn_config_dll mswsock enable_mswsock implib
17769 wine_fn_config_dll msxml enable_msxml clean
17770 wine_fn_config_dll msxml2 enable_msxml2 clean
17771 wine_fn_config_dll msxml3 enable_msxml3 clean
17772 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17773 wine_fn_config_dll msxml4 enable_msxml4 clean
17774 wine_fn_config_dll msxml6 enable_msxml6 clean
17775 wine_fn_config_dll nddeapi enable_nddeapi implib
17776 wine_fn_config_dll ndis.sys enable_ndis_sys
17777 wine_fn_config_dll netapi32 enable_netapi32 implib
17778 wine_fn_config_test dlls/netapi32/tests netapi32_test
17779 wine_fn_config_dll netcfgx enable_netcfgx clean
17780 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17781 wine_fn_config_dll netprofm enable_netprofm clean
17782 wine_fn_config_test dlls/netprofm/tests netprofm_test
17783 wine_fn_config_dll newdev enable_newdev implib
17784 wine_fn_config_dll normaliz enable_normaliz implib
17785 wine_fn_config_dll npmshtml enable_npmshtml
17786 wine_fn_config_dll npptools enable_npptools
17787 wine_fn_config_dll ntdll enable_ntdll implib
17788 wine_fn_config_test dlls/ntdll/tests ntdll_test
17789 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17790 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17791 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17792 wine_fn_config_dll ntprint enable_ntprint
17793 wine_fn_config_test dlls/ntprint/tests ntprint_test
17794 wine_fn_config_dll objsel enable_objsel clean
17795 wine_fn_config_dll odbc32 enable_odbc32 implib
17796 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17797 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17798 wine_fn_config_dll odbccu32 enable_odbccu32
17799 wine_fn_config_dll ole2.dll16 enable_win16
17800 wine_fn_config_dll ole2conv.dll16 enable_win16
17801 wine_fn_config_dll ole2disp.dll16 enable_win16
17802 wine_fn_config_dll ole2nls.dll16 enable_win16
17803 wine_fn_config_dll ole2prox.dll16 enable_win16
17804 wine_fn_config_dll ole2thk.dll16 enable_win16
17805 wine_fn_config_dll ole32 enable_ole32 clean,implib
17806 wine_fn_config_test dlls/ole32/tests ole32_test
17807 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17808 wine_fn_config_test dlls/oleacc/tests oleacc_test
17809 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17810 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17811 wine_fn_config_dll olecli.dll16 enable_win16
17812 wine_fn_config_dll olecli32 enable_olecli32 implib
17813 wine_fn_config_dll oledb32 enable_oledb32 clean
17814 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17815 wine_fn_config_dll oledlg enable_oledlg implib,po
17816 wine_fn_config_test dlls/oledlg/tests oledlg_test
17817 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
17818 wine_fn_config_dll olesvr.dll16 enable_win16
17819 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17820 wine_fn_config_dll olethk32 enable_olethk32
17821 wine_fn_config_dll openal32 enable_openal32
17822 wine_fn_config_dll opencl enable_opencl
17823 wine_fn_config_dll opengl32 enable_opengl32 implib
17824 wine_fn_config_test dlls/opengl32/tests opengl32_test
17825 wine_fn_config_dll packager enable_packager clean
17826 wine_fn_config_test dlls/packager/tests packager_test
17827 wine_fn_config_dll pdh enable_pdh implib
17828 wine_fn_config_test dlls/pdh/tests pdh_test
17829 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17830 wine_fn_config_dll pidgen enable_pidgen
17831 wine_fn_config_dll powrprof enable_powrprof implib
17832 wine_fn_config_dll printui enable_printui
17833 wine_fn_config_dll prntvpt enable_prntvpt
17834 wine_fn_config_dll propsys enable_propsys clean,implib
17835 wine_fn_config_test dlls/propsys/tests propsys_test
17836 wine_fn_config_dll psapi enable_psapi implib
17837 wine_fn_config_test dlls/psapi/tests psapi_test
17838 wine_fn_config_dll pstorec enable_pstorec clean
17839 wine_fn_config_dll qcap enable_qcap
17840 wine_fn_config_test dlls/qcap/tests qcap_test
17841 wine_fn_config_dll qedit enable_qedit clean
17842 wine_fn_config_test dlls/qedit/tests qedit_test
17843 wine_fn_config_dll qmgr enable_qmgr clean
17844 wine_fn_config_test dlls/qmgr/tests qmgr_test
17845 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17846 wine_fn_config_dll quartz enable_quartz clean,implib
17847 wine_fn_config_test dlls/quartz/tests quartz_test clean
17848 wine_fn_config_dll query enable_query
17849 wine_fn_config_dll rasapi16.dll16 enable_win16
17850 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17851 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17852 wine_fn_config_dll rasdlg enable_rasdlg implib
17853 wine_fn_config_dll regapi enable_regapi
17854 wine_fn_config_dll resutils enable_resutils implib
17855 wine_fn_config_dll riched20 enable_riched20 clean,implib
17856 wine_fn_config_test dlls/riched20/tests riched20_test
17857 wine_fn_config_dll riched32 enable_riched32
17858 wine_fn_config_test dlls/riched32/tests riched32_test
17859 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17860 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17861 wine_fn_config_dll rsabase enable_rsabase
17862 wine_fn_config_dll rsaenh enable_rsaenh implib
17863 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17864 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17865 wine_fn_config_dll rtutils enable_rtutils implib
17866 wine_fn_config_dll samlib enable_samlib
17867 wine_fn_config_dll sane.ds enable_sane_ds po
17868 wine_fn_config_dll scarddlg enable_scarddlg
17869 wine_fn_config_dll sccbase enable_sccbase
17870 wine_fn_config_dll schannel enable_schannel
17871 wine_fn_config_test dlls/schannel/tests schannel_test
17872 wine_fn_config_dll schedsvc enable_schedsvc clean
17873 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17874 wine_fn_config_dll scrrun enable_scrrun clean
17875 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17876 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17877 wine_fn_config_dll secur32 enable_secur32 implib
17878 wine_fn_config_test dlls/secur32/tests secur32_test
17879 wine_fn_config_dll security enable_security
17880 wine_fn_config_dll sensapi enable_sensapi implib
17881 wine_fn_config_dll serialui enable_serialui implib,po
17882 wine_fn_config_test dlls/serialui/tests serialui_test
17883 wine_fn_config_dll setupapi enable_setupapi implib,po
17884 wine_fn_config_test dlls/setupapi/tests setupapi_test
17885 wine_fn_config_dll setupx.dll16 enable_win16
17886 wine_fn_config_dll sfc enable_sfc implib
17887 wine_fn_config_dll sfc_os enable_sfc_os implib
17888 wine_fn_config_dll shdoclc enable_shdoclc po
17889 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17890 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17891 wine_fn_config_dll shell.dll16 enable_win16
17892 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17893 wine_fn_config_test dlls/shell32/tests shell32_test
17894 wine_fn_config_dll shfolder enable_shfolder implib
17895 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17896 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17897 wine_fn_config_dll slbcsp enable_slbcsp
17898 wine_fn_config_dll slc enable_slc implib
17899 wine_fn_config_test dlls/slc/tests slc_test
17900 wine_fn_config_dll snmpapi enable_snmpapi implib
17901 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17902 wine_fn_config_dll softpub enable_softpub
17903 wine_fn_config_dll sound.drv16 enable_win16
17904 wine_fn_config_dll spoolss enable_spoolss implib
17905 wine_fn_config_test dlls/spoolss/tests spoolss_test
17906 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17907 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17908 wine_fn_config_dll sti enable_sti clean,implib
17909 wine_fn_config_test dlls/sti/tests sti_test
17910 wine_fn_config_dll storage.dll16 enable_win16
17911 wine_fn_config_dll stress.dll16 enable_win16
17912 wine_fn_config_lib strmbase
17913 wine_fn_config_lib strmiids
17914 wine_fn_config_dll svrapi enable_svrapi
17915 wine_fn_config_dll sxs enable_sxs implib
17916 wine_fn_config_test dlls/sxs/tests sxs_test
17917 wine_fn_config_dll system.drv16 enable_win16
17918 wine_fn_config_dll t2embed enable_t2embed
17919 wine_fn_config_dll tapi32 enable_tapi32 implib
17920 wine_fn_config_dll taskschd enable_taskschd clean
17921 wine_fn_config_test dlls/taskschd/tests taskschd_test
17922 wine_fn_config_dll tdi.sys enable_tdi_sys
17923 wine_fn_config_dll toolhelp.dll16 enable_win16
17924 wine_fn_config_dll traffic enable_traffic
17925 wine_fn_config_dll twain.dll16 enable_win16
17926 wine_fn_config_dll twain_32 enable_twain_32
17927 wine_fn_config_test dlls/twain_32/tests twain_32_test
17928 wine_fn_config_dll typelib.dll16 enable_win16
17929 wine_fn_config_dll ucrtbase enable_ucrtbase
17930 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
17931 wine_fn_config_dll unicows enable_unicows implib
17932 wine_fn_config_dll updspapi enable_updspapi
17933 wine_fn_config_dll url enable_url implib
17934 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17935 wine_fn_config_test dlls/urlmon/tests urlmon_test
17936 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17937 wine_fn_config_dll user.exe16 enable_win16
17938 wine_fn_config_dll user32 enable_user32 clean,implib,po
17939 wine_fn_config_test dlls/user32/tests user32_test
17940 wine_fn_config_dll userenv enable_userenv implib
17941 wine_fn_config_test dlls/userenv/tests userenv_test
17942 wine_fn_config_dll usp10 enable_usp10 implib
17943 wine_fn_config_test dlls/usp10/tests usp10_test
17944 wine_fn_config_lib uuid
17945 wine_fn_config_dll uxtheme enable_uxtheme implib
17946 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17947 wine_fn_config_dll vbscript enable_vbscript clean
17948 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17949 wine_fn_config_dll vcomp enable_vcomp
17950 wine_fn_config_test dlls/vcomp/tests vcomp_test
17951 wine_fn_config_dll vcomp100 enable_vcomp100
17952 wine_fn_config_dll vcomp110 enable_vcomp110
17953 wine_fn_config_dll vcomp120 enable_vcomp120
17954 wine_fn_config_dll vcomp90 enable_vcomp90
17955 wine_fn_config_dll vcruntime140 enable_vcruntime140
17956 wine_fn_config_dll vdhcp.vxd enable_win16
17957 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17958 wine_fn_config_dll ver.dll16 enable_win16
17959 wine_fn_config_dll version enable_version implib
17960 wine_fn_config_test dlls/version/tests version_test
17961 wine_fn_config_dll vmm.vxd enable_win16
17962 wine_fn_config_dll vnbt.vxd enable_win16
17963 wine_fn_config_dll vnetbios.vxd enable_win16
17964 wine_fn_config_dll vssapi enable_vssapi
17965 wine_fn_config_dll vtdapi.vxd enable_win16
17966 wine_fn_config_dll vwin32.vxd enable_win16
17967 wine_fn_config_dll w32skrnl enable_win16
17968 wine_fn_config_dll w32sys.dll16 enable_win16
17969 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17970 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
17971 wine_fn_config_dll wbemprox enable_wbemprox clean
17972 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17973 wine_fn_config_dll webservices enable_webservices implib
17974 wine_fn_config_test dlls/webservices/tests webservices_test
17975 wine_fn_config_dll wer enable_wer implib
17976 wine_fn_config_test dlls/wer/tests wer_test
17977 wine_fn_config_dll wevtapi enable_wevtapi
17978 wine_fn_config_dll wiaservc enable_wiaservc clean
17979 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
17980 wine_fn_config_dll wimgapi enable_wimgapi
17981 wine_fn_config_dll win32s16.dll16 enable_win16
17982 wine_fn_config_dll win87em.dll16 enable_win16
17983 wine_fn_config_dll winaspi.dll16 enable_win16
17984 wine_fn_config_dll windebug.dll16 enable_win16
17985 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17986 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17987 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17988 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17989 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17990 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17991 wine_fn_config_lib winecrt0
17992 wine_fn_config_dll wined3d enable_wined3d implib
17993 wine_fn_config_dll winegstreamer enable_winegstreamer
17994 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17995 wine_fn_config_dll winemac.drv enable_winemac_drv po
17996 wine_fn_config_dll winemapi enable_winemapi
17997 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17998 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17999 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
18000 wine_fn_config_dll wineps16.drv16 enable_win16
18001 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18002 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18003 wine_fn_config_dll winex11.drv enable_winex11_drv
18004 wine_fn_config_dll wing.dll16 enable_win16
18005 wine_fn_config_dll wing32 enable_wing32
18006 wine_fn_config_dll winhttp enable_winhttp clean,implib
18007 wine_fn_config_test dlls/winhttp/tests winhttp_test
18008 wine_fn_config_dll wininet enable_wininet implib,po
18009 wine_fn_config_test dlls/wininet/tests wininet_test
18010 wine_fn_config_dll winmm enable_winmm implib,po
18011 wine_fn_config_test dlls/winmm/tests winmm_test
18012 wine_fn_config_dll winnls.dll16 enable_win16
18013 wine_fn_config_dll winnls32 enable_winnls32 implib
18014 wine_fn_config_dll winscard enable_winscard implib
18015 wine_fn_config_dll winsock.dll16 enable_win16
18016 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
18017 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18018 wine_fn_config_dll winsta enable_winsta
18019 wine_fn_config_dll wintab.dll16 enable_win16
18020 wine_fn_config_dll wintab32 enable_wintab32 implib
18021 wine_fn_config_test dlls/wintab32/tests wintab32_test
18022 wine_fn_config_dll wintrust enable_wintrust implib
18023 wine_fn_config_test dlls/wintrust/tests wintrust_test
18024 wine_fn_config_dll wlanapi enable_wlanapi
18025 wine_fn_config_dll wldap32 enable_wldap32 implib,po
18026 wine_fn_config_test dlls/wldap32/tests wldap32_test
18027 wine_fn_config_dll wmi enable_wmi
18028 wine_fn_config_dll wmiutils enable_wmiutils clean
18029 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18030 wine_fn_config_dll wmp enable_wmp clean
18031 wine_fn_config_test dlls/wmp/tests wmp_test
18032 wine_fn_config_dll wmvcore enable_wmvcore
18033 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18034 wine_fn_config_dll wow32 enable_win16 implib
18035 wine_fn_config_dll wpcap enable_wpcap
18036 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18037 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18038 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18039 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18040 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18041 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18042 wine_fn_config_dll wsock32 enable_wsock32 implib
18043 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18044 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18045 wine_fn_config_dll wuapi enable_wuapi clean
18046 wine_fn_config_dll wuaueng enable_wuaueng
18047 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18048 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18049 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18050 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18051 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18052 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18053 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18054 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18055 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18056 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18057 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18058 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18059 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18060 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18061 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18062 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18063 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18064 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18065 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18066 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18067 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18068 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18069 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18070 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18071 wine_fn_config_dll xinput1_1 enable_xinput1_1
18072 wine_fn_config_dll xinput1_2 enable_xinput1_2
18073 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18074 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18075 wine_fn_config_dll xinput1_4 enable_xinput1_4
18076 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18077 wine_fn_config_dll xmllite enable_xmllite implib
18078 wine_fn_config_test dlls/xmllite/tests xmllite_test
18079 wine_fn_config_dll xolehlp enable_xolehlp
18080 wine_fn_config_dll xpsprint enable_xpsprint
18081 wine_fn_config_dll xpssvcs enable_xpssvcs
18082 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18083 wine_fn_config_makefile include enable_include clean,install-dev
18084 wine_fn_config_makefile libs/port enable_libs_port
18085 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18086 wine_fn_config_makefile libs/wpp enable_libs_wpp
18087 wine_fn_config_makefile loader enable_loader clean,install-lib
18088 wine_fn_config_program arp enable_arp install
18089 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18090 wine_fn_config_program attrib enable_attrib install,po
18091 wine_fn_config_program cabarc enable_cabarc install
18092 wine_fn_config_program cacls enable_cacls install
18093 wine_fn_config_program clock enable_clock install,po
18094 wine_fn_config_program cmd enable_cmd install,po
18095 wine_fn_config_test programs/cmd/tests cmd.exe_test
18096 wine_fn_config_program conhost enable_conhost install
18097 wine_fn_config_program control enable_control install
18098 wine_fn_config_program cscript enable_cscript clean,install
18099 wine_fn_config_program dpnsvr enable_dpnsvr install
18100 wine_fn_config_program dxdiag enable_dxdiag install,po
18101 wine_fn_config_program eject enable_eject install
18102 wine_fn_config_program expand enable_expand install
18103 wine_fn_config_program explorer enable_explorer install,po
18104 wine_fn_config_program extrac32 enable_extrac32 install
18105 wine_fn_config_program findstr enable_findstr install
18106 wine_fn_config_program hh enable_hh install
18107 wine_fn_config_program hostname enable_hostname install,po
18108 wine_fn_config_program icinfo enable_icinfo install
18109 wine_fn_config_program iexplore enable_iexplore install
18110 wine_fn_config_program ipconfig enable_ipconfig install,po
18111 wine_fn_config_program lodctr enable_lodctr install
18112 wine_fn_config_program mofcomp enable_mofcomp install
18113 wine_fn_config_program mshta enable_mshta install
18114 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18115 wine_fn_config_program net enable_net install,po
18116 wine_fn_config_program netsh enable_netsh install
18117 wine_fn_config_program netstat enable_netstat install,po
18118 wine_fn_config_program ngen enable_ngen install
18119 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
18120 wine_fn_config_program oleview enable_oleview install,po
18121 wine_fn_config_program ping enable_ping install
18122 wine_fn_config_program plugplay enable_plugplay install
18123 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18124 wine_fn_config_program progman enable_progman install,po
18125 wine_fn_config_program reg enable_reg install,po
18126 wine_fn_config_test programs/reg/tests reg.exe_test
18127 wine_fn_config_program regasm enable_regasm install
18128 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
18129 wine_fn_config_test programs/regedit/tests regedit.exe_test
18130 wine_fn_config_program regsvcs enable_regsvcs install
18131 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage,po
18132 wine_fn_config_program rpcss enable_rpcss clean,install
18133 wine_fn_config_program rundll.exe16 enable_win16 install
18134 wine_fn_config_program rundll32 enable_rundll32 install
18135 wine_fn_config_program sc enable_sc install
18136 wine_fn_config_program schtasks enable_schtasks install
18137 wine_fn_config_program sdbinst enable_sdbinst install
18138 wine_fn_config_program secedit enable_secedit install
18139 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18140 wine_fn_config_program services enable_services clean,install
18141 wine_fn_config_test programs/services/tests services.exe_test
18142 wine_fn_config_program spoolsv enable_spoolsv install
18143 wine_fn_config_program start enable_start install,po
18144 wine_fn_config_program svchost enable_svchost install
18145 wine_fn_config_program systeminfo enable_systeminfo install
18146 wine_fn_config_program taskkill enable_taskkill install,po
18147 wine_fn_config_program tasklist enable_tasklist install
18148 wine_fn_config_program taskmgr enable_taskmgr install,po
18149 wine_fn_config_program termsv enable_termsv install
18150 wine_fn_config_program uninstaller enable_uninstaller install,po
18151 wine_fn_config_program unlodctr enable_unlodctr install
18152 wine_fn_config_program view enable_view install,po
18153 wine_fn_config_program wevtutil enable_wevtutil install
18154 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
18155 wine_fn_config_program winebrowser enable_winebrowser install
18156 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
18157 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
18158 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
18159 wine_fn_config_program winedevice enable_winedevice install
18160 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
18161 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18162 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
18163 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18164 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18165 wine_fn_config_program winetest enable_winetest clean
18166 wine_fn_config_program winevdm enable_win16 install
18167 wine_fn_config_program winhelp.exe16 enable_win16 install
18168 wine_fn_config_program winhlp32 enable_winhlp32 install,po
18169 wine_fn_config_program winoldap.mod16 enable_win16 install
18170 wine_fn_config_program winver enable_winver install
18171 wine_fn_config_program wmic enable_wmic install,po
18172 wine_fn_config_program wmplayer enable_wmplayer install
18173 wine_fn_config_program wordpad enable_wordpad install,po
18174 wine_fn_config_program write enable_write install,po
18175 wine_fn_config_program wscript enable_wscript clean,install
18176 wine_fn_config_test programs/wscript/tests wscript.exe_test
18177 wine_fn_config_program wusa enable_wusa install
18178 wine_fn_config_program xcopy enable_xcopy install,po
18179 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18180 wine_fn_config_makefile server enable_server clean,install-lib
18181 wine_fn_config_tool tools clean
18182 wine_fn_config_tool tools/sfnt2fon clean
18183 wine_fn_config_tool tools/widl clean,install-dev
18184 wine_fn_config_tool tools/winebuild clean,install-dev
18185 wine_fn_config_tool tools/winedump clean,install-dev
18186 wine_fn_config_tool tools/winegcc clean,install-dev
18187 wine_fn_config_tool tools/winemaker clean,install-dev
18188 wine_fn_config_tool tools/wmc clean,install-dev
18189 wine_fn_config_tool tools/wrc clean,install-dev
18191 LINGUAS="\
18192 ar \
18193 bg \
18194 ca \
18195 cs \
18196 da \
18197 de \
18198 el \
18199 en \
18200 en_US \
18201 eo \
18202 es \
18203 fa \
18204 fi \
18205 fr \
18206 he \
18207 hi \
18208 hr \
18209 hu \
18210 it \
18211 ja \
18212 ko \
18213 lt \
18214 ml \
18215 nb_NO \
18216 nl \
18217 or \
18218 pa \
18219 pl \
18220 pt_BR \
18221 pt_PT \
18222 rm \
18223 ro \
18224 ru \
18225 sk \
18226 sl \
18227 sr_RS@cyrillic \
18228 sr_RS@latin \
18229 sv \
18230 te \
18231 th \
18232 tr \
18233 uk \
18234 wa \
18235 zh_CN \
18236 zh_TW"
18241 wine_fn_ignore_file ".gitignore"
18242 wine_fn_ignore_file "Makefile"
18243 wine_fn_ignore_file "TAGS"
18244 wine_fn_ignore_file "tags"
18245 wine_fn_ignore_file "autom4te.cache"
18246 wine_fn_ignore_file "config.cache"
18247 wine_fn_ignore_file "config.log"
18248 wine_fn_ignore_file "config.status"
18249 wine_fn_ignore_file "configure.lineno"
18250 wine_fn_ignore_file "include/config.h"
18251 wine_fn_ignore_file "include/stamp-h"
18252 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
18254 if test "x$enable_tools" != xno
18255 then
18256 wine_fn_ignore_file "tools/makedep$ac_exeext"
18257 ac_config_commands="$ac_config_commands tools/makedep"
18261 ac_config_commands="$ac_config_commands Makefile"
18264 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18268 if test "x$enable_maintainer_mode" = xyes
18269 then
18270 wine_fn_append_rule "configure: configure.ac aclocal.m4
18271 autoconf --warnings=all
18272 include/config.h.in: include/stamp-h.in
18273 include/stamp-h.in: configure.ac aclocal.m4
18274 autoheader --warnings=all
18275 @echo timestamp > \$@"
18278 if test "x$with_gettextpo" = xyes
18279 then
18280 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
18281 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
18282 \$(LINGUAS:%=po/%.po): po/wine.pot
18283 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
18284 po/wine.pot: \$(ALL_POT_FILES)
18285 msgcat -o \$@ \$(ALL_POT_FILES)"
18288 if test "$MSGFMT" != false
18289 then
18290 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
18291 clean::
18292 \$(RM) \$(LINGUAS:%=po/%.mo)"
18294 posrc="po"
18295 test "$srcdir" = . || posrc="$srcdir/po"
18296 for i in $LINGUAS
18298 wine_fn_ignore_file "po/$i.mo"
18299 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
18300 \$(MSGFMT) -o \$@ $posrc/$i.po"
18301 done
18302 else
18303 LINGUAS=
18306 if test "x$enable_tools" != xno
18307 then
18308 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18309 @./config.status tools/makedep
18310 Makefile: tools/makedep$ac_exeext
18311 distclean:: clean
18312 \$(RM) tools/makedep$ac_exeext"
18313 else
18314 wine_fn_append_rule "\$(MAKEDEP):
18315 @echo \"You need to run make in $TOOLSDIR first\" && false"
18318 if test -n "$with_wine64"
18319 then
18320 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18321 fonts server tools:
18322 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18323 $with_wine64/loader/wine:
18324 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18325 $with_wine64/loader/wine-preloader:
18326 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18327 clean::
18328 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18329 else
18330 WINELOADER_INSTALL="wine.inf"
18332 wine_fn_append_rule "install install-lib::
18333 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18334 uninstall::
18335 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18336 case $host_os in
18337 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18338 *) wine_fn_append_rule "install install-lib::
18339 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18340 uninstall::
18341 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18342 esac
18345 if test "$srcdir" = .
18346 then
18347 ac_config_commands="$ac_config_commands .gitignore"
18351 $as_echo " done" >&6
18352 cat >confcache <<\_ACEOF
18353 # This file is a shell script that caches the results of configure
18354 # tests run on this system so they can be shared between configure
18355 # scripts and configure runs, see configure's option --config-cache.
18356 # It is not useful on other systems. If it contains results you don't
18357 # want to keep, you may remove or edit it.
18359 # config.status only pays attention to the cache file if you give it
18360 # the --recheck option to rerun configure.
18362 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18363 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18364 # following values.
18366 _ACEOF
18368 # The following way of writing the cache mishandles newlines in values,
18369 # but we know of no workaround that is simple, portable, and efficient.
18370 # So, we kill variables containing newlines.
18371 # Ultrix sh set writes to stderr and can't be redirected directly,
18372 # and sets the high bit in the cache file unless we assign to the vars.
18374 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18375 eval ac_val=\$$ac_var
18376 case $ac_val in #(
18377 *${as_nl}*)
18378 case $ac_var in #(
18379 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18380 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18381 esac
18382 case $ac_var in #(
18383 _ | IFS | as_nl) ;; #(
18384 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18385 *) { eval $ac_var=; unset $ac_var;} ;;
18386 esac ;;
18387 esac
18388 done
18390 (set) 2>&1 |
18391 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18392 *${as_nl}ac_space=\ *)
18393 # `set' does not quote correctly, so add quotes: double-quote
18394 # substitution turns \\\\ into \\, and sed turns \\ into \.
18395 sed -n \
18396 "s/'/'\\\\''/g;
18397 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18398 ;; #(
18400 # `set' quotes correctly as required by POSIX, so do not add quotes.
18401 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18403 esac |
18404 sort
18406 sed '
18407 /^ac_cv_env_/b end
18408 t clear
18409 :clear
18410 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18411 t end
18412 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18413 :end' >>confcache
18414 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18415 if test -w "$cache_file"; then
18416 if test "x$cache_file" != "x/dev/null"; then
18417 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18418 $as_echo "$as_me: updating cache $cache_file" >&6;}
18419 if test ! -f "$cache_file" || test -h "$cache_file"; then
18420 cat confcache >"$cache_file"
18421 else
18422 case $cache_file in #(
18423 */* | ?:*)
18424 mv -f confcache "$cache_file"$$ &&
18425 mv -f "$cache_file"$$ "$cache_file" ;; #(
18427 mv -f confcache "$cache_file" ;;
18428 esac
18431 else
18432 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18433 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18436 rm -f confcache
18438 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18439 # Let make expand exec_prefix.
18440 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18442 DEFS=-DHAVE_CONFIG_H
18444 ac_libobjs=
18445 ac_ltlibobjs=
18447 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18448 # 1. Remove the extension, and $U if already installed.
18449 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18450 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18451 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18452 # will be set to the directory where LIBOBJS objects are built.
18453 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18454 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18455 done
18456 LIBOBJS=$ac_libobjs
18458 LTLIBOBJS=$ac_ltlibobjs
18462 : "${CONFIG_STATUS=./config.status}"
18463 ac_write_fail=0
18464 ac_clean_files_save=$ac_clean_files
18465 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18466 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18467 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18468 as_write_fail=0
18469 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18470 #! $SHELL
18471 # Generated by $as_me.
18472 # Run this file to recreate the current configuration.
18473 # Compiler output produced by configure, useful for debugging
18474 # configure, is in config.log if it exists.
18476 debug=false
18477 ac_cs_recheck=false
18478 ac_cs_silent=false
18480 SHELL=\${CONFIG_SHELL-$SHELL}
18481 export SHELL
18482 _ASEOF
18483 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18484 ## -------------------- ##
18485 ## M4sh Initialization. ##
18486 ## -------------------- ##
18488 # Be more Bourne compatible
18489 DUALCASE=1; export DUALCASE # for MKS sh
18490 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18491 emulate sh
18492 NULLCMD=:
18493 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18494 # is contrary to our usage. Disable this feature.
18495 alias -g '${1+"$@"}'='"$@"'
18496 setopt NO_GLOB_SUBST
18497 else
18498 case `(set -o) 2>/dev/null` in #(
18499 *posix*) :
18500 set -o posix ;; #(
18501 *) :
18503 esac
18507 as_nl='
18509 export as_nl
18510 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18511 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18512 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18513 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18514 # Prefer a ksh shell builtin over an external printf program on Solaris,
18515 # but without wasting forks for bash or zsh.
18516 if test -z "$BASH_VERSION$ZSH_VERSION" \
18517 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18518 as_echo='print -r --'
18519 as_echo_n='print -rn --'
18520 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18521 as_echo='printf %s\n'
18522 as_echo_n='printf %s'
18523 else
18524 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18525 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18526 as_echo_n='/usr/ucb/echo -n'
18527 else
18528 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18529 as_echo_n_body='eval
18530 arg=$1;
18531 case $arg in #(
18532 *"$as_nl"*)
18533 expr "X$arg" : "X\\(.*\\)$as_nl";
18534 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18535 esac;
18536 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18538 export as_echo_n_body
18539 as_echo_n='sh -c $as_echo_n_body as_echo'
18541 export as_echo_body
18542 as_echo='sh -c $as_echo_body as_echo'
18545 # The user is always right.
18546 if test "${PATH_SEPARATOR+set}" != set; then
18547 PATH_SEPARATOR=:
18548 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18549 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18550 PATH_SEPARATOR=';'
18555 # IFS
18556 # We need space, tab and new line, in precisely that order. Quoting is
18557 # there to prevent editors from complaining about space-tab.
18558 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18559 # splitting by setting IFS to empty value.)
18560 IFS=" "" $as_nl"
18562 # Find who we are. Look in the path if we contain no directory separator.
18563 as_myself=
18564 case $0 in #((
18565 *[\\/]* ) as_myself=$0 ;;
18566 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18567 for as_dir in $PATH
18569 IFS=$as_save_IFS
18570 test -z "$as_dir" && as_dir=.
18571 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18572 done
18573 IFS=$as_save_IFS
18576 esac
18577 # We did not find ourselves, most probably we were run as `sh COMMAND'
18578 # in which case we are not to be found in the path.
18579 if test "x$as_myself" = x; then
18580 as_myself=$0
18582 if test ! -f "$as_myself"; then
18583 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18584 exit 1
18587 # Unset variables that we do not need and which cause bugs (e.g. in
18588 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18589 # suppresses any "Segmentation fault" message there. '((' could
18590 # trigger a bug in pdksh 5.2.14.
18591 for as_var in BASH_ENV ENV MAIL MAILPATH
18592 do eval test x\${$as_var+set} = xset \
18593 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18594 done
18595 PS1='$ '
18596 PS2='> '
18597 PS4='+ '
18599 # NLS nuisances.
18600 LC_ALL=C
18601 export LC_ALL
18602 LANGUAGE=C
18603 export LANGUAGE
18605 # CDPATH.
18606 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18609 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18610 # ----------------------------------------
18611 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18612 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18613 # script with STATUS, using 1 if that was 0.
18614 as_fn_error ()
18616 as_status=$1; test $as_status -eq 0 && as_status=1
18617 if test "$4"; then
18618 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18619 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18621 $as_echo "$as_me: error: $2" >&2
18622 as_fn_exit $as_status
18623 } # as_fn_error
18626 # as_fn_set_status STATUS
18627 # -----------------------
18628 # Set $? to STATUS, without forking.
18629 as_fn_set_status ()
18631 return $1
18632 } # as_fn_set_status
18634 # as_fn_exit STATUS
18635 # -----------------
18636 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18637 as_fn_exit ()
18639 set +e
18640 as_fn_set_status $1
18641 exit $1
18642 } # as_fn_exit
18644 # as_fn_unset VAR
18645 # ---------------
18646 # Portably unset VAR.
18647 as_fn_unset ()
18649 { eval $1=; unset $1;}
18651 as_unset=as_fn_unset
18652 # as_fn_append VAR VALUE
18653 # ----------------------
18654 # Append the text in VALUE to the end of the definition contained in VAR. Take
18655 # advantage of any shell optimizations that allow amortized linear growth over
18656 # repeated appends, instead of the typical quadratic growth present in naive
18657 # implementations.
18658 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18659 eval 'as_fn_append ()
18661 eval $1+=\$2
18663 else
18664 as_fn_append ()
18666 eval $1=\$$1\$2
18668 fi # as_fn_append
18670 # as_fn_arith ARG...
18671 # ------------------
18672 # Perform arithmetic evaluation on the ARGs, and store the result in the
18673 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18674 # must be portable across $(()) and expr.
18675 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18676 eval 'as_fn_arith ()
18678 as_val=$(( $* ))
18680 else
18681 as_fn_arith ()
18683 as_val=`expr "$@" || test $? -eq 1`
18685 fi # as_fn_arith
18688 if expr a : '\(a\)' >/dev/null 2>&1 &&
18689 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18690 as_expr=expr
18691 else
18692 as_expr=false
18695 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18696 as_basename=basename
18697 else
18698 as_basename=false
18701 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18702 as_dirname=dirname
18703 else
18704 as_dirname=false
18707 as_me=`$as_basename -- "$0" ||
18708 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18709 X"$0" : 'X\(//\)$' \| \
18710 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18711 $as_echo X/"$0" |
18712 sed '/^.*\/\([^/][^/]*\)\/*$/{
18713 s//\1/
18716 /^X\/\(\/\/\)$/{
18717 s//\1/
18720 /^X\/\(\/\).*/{
18721 s//\1/
18724 s/.*/./; q'`
18726 # Avoid depending upon Character Ranges.
18727 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18728 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18729 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18730 as_cr_digits='0123456789'
18731 as_cr_alnum=$as_cr_Letters$as_cr_digits
18733 ECHO_C= ECHO_N= ECHO_T=
18734 case `echo -n x` in #(((((
18735 -n*)
18736 case `echo 'xy\c'` in
18737 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18738 xy) ECHO_C='\c';;
18739 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18740 ECHO_T=' ';;
18741 esac;;
18743 ECHO_N='-n';;
18744 esac
18746 rm -f conf$$ conf$$.exe conf$$.file
18747 if test -d conf$$.dir; then
18748 rm -f conf$$.dir/conf$$.file
18749 else
18750 rm -f conf$$.dir
18751 mkdir conf$$.dir 2>/dev/null
18753 if (echo >conf$$.file) 2>/dev/null; then
18754 if ln -s conf$$.file conf$$ 2>/dev/null; then
18755 as_ln_s='ln -s'
18756 # ... but there are two gotchas:
18757 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18758 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18759 # In both cases, we have to default to `cp -pR'.
18760 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18761 as_ln_s='cp -pR'
18762 elif ln conf$$.file conf$$ 2>/dev/null; then
18763 as_ln_s=ln
18764 else
18765 as_ln_s='cp -pR'
18767 else
18768 as_ln_s='cp -pR'
18770 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18771 rmdir conf$$.dir 2>/dev/null
18774 # as_fn_mkdir_p
18775 # -------------
18776 # Create "$as_dir" as a directory, including parents if necessary.
18777 as_fn_mkdir_p ()
18780 case $as_dir in #(
18781 -*) as_dir=./$as_dir;;
18782 esac
18783 test -d "$as_dir" || eval $as_mkdir_p || {
18784 as_dirs=
18785 while :; do
18786 case $as_dir in #(
18787 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18788 *) as_qdir=$as_dir;;
18789 esac
18790 as_dirs="'$as_qdir' $as_dirs"
18791 as_dir=`$as_dirname -- "$as_dir" ||
18792 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18793 X"$as_dir" : 'X\(//\)[^/]' \| \
18794 X"$as_dir" : 'X\(//\)$' \| \
18795 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18796 $as_echo X"$as_dir" |
18797 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18798 s//\1/
18801 /^X\(\/\/\)[^/].*/{
18802 s//\1/
18805 /^X\(\/\/\)$/{
18806 s//\1/
18809 /^X\(\/\).*/{
18810 s//\1/
18813 s/.*/./; q'`
18814 test -d "$as_dir" && break
18815 done
18816 test -z "$as_dirs" || eval "mkdir $as_dirs"
18817 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18820 } # as_fn_mkdir_p
18821 if mkdir -p . 2>/dev/null; then
18822 as_mkdir_p='mkdir -p "$as_dir"'
18823 else
18824 test -d ./-p && rmdir ./-p
18825 as_mkdir_p=false
18829 # as_fn_executable_p FILE
18830 # -----------------------
18831 # Test if FILE is an executable regular file.
18832 as_fn_executable_p ()
18834 test -f "$1" && test -x "$1"
18835 } # as_fn_executable_p
18836 as_test_x='test -x'
18837 as_executable_p=as_fn_executable_p
18839 # Sed expression to map a string onto a valid CPP name.
18840 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18842 # Sed expression to map a string onto a valid variable name.
18843 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18846 exec 6>&1
18847 ## ----------------------------------- ##
18848 ## Main body of $CONFIG_STATUS script. ##
18849 ## ----------------------------------- ##
18850 _ASEOF
18851 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18853 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18854 # Save the log message, to keep $0 and so on meaningful, and to
18855 # report actual input values of CONFIG_FILES etc. instead of their
18856 # values after options handling.
18857 ac_log="
18858 This file was extended by Wine $as_me 1.9.2, which was
18859 generated by GNU Autoconf 2.69. Invocation command line was
18861 CONFIG_FILES = $CONFIG_FILES
18862 CONFIG_HEADERS = $CONFIG_HEADERS
18863 CONFIG_LINKS = $CONFIG_LINKS
18864 CONFIG_COMMANDS = $CONFIG_COMMANDS
18865 $ $0 $@
18867 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18870 _ACEOF
18872 case $ac_config_files in *"
18873 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18874 esac
18876 case $ac_config_headers in *"
18877 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18878 esac
18881 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18882 # Files that config.status was made for.
18883 config_files="$ac_config_files"
18884 config_headers="$ac_config_headers"
18885 config_links="$ac_config_links"
18886 config_commands="$ac_config_commands"
18888 _ACEOF
18890 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18891 ac_cs_usage="\
18892 \`$as_me' instantiates files and other configuration actions
18893 from templates according to the current configuration. Unless the files
18894 and actions are specified as TAGs, all are instantiated by default.
18896 Usage: $0 [OPTION]... [TAG]...
18898 -h, --help print this help, then exit
18899 -V, --version print version number and configuration settings, then exit
18900 --config print configuration, then exit
18901 -q, --quiet, --silent
18902 do not print progress messages
18903 -d, --debug don't remove temporary files
18904 --recheck update $as_me by reconfiguring in the same conditions
18905 --file=FILE[:TEMPLATE]
18906 instantiate the configuration file FILE
18907 --header=FILE[:TEMPLATE]
18908 instantiate the configuration header FILE
18910 Configuration files:
18911 $config_files
18913 Configuration headers:
18914 $config_headers
18916 Configuration links:
18917 $config_links
18919 Configuration commands:
18920 $config_commands
18922 Report bugs to <wine-devel@winehq.org>.
18923 Wine home page: <http://www.winehq.org>."
18925 _ACEOF
18926 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18927 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18928 ac_cs_version="\\
18929 Wine config.status 1.9.2
18930 configured by $0, generated by GNU Autoconf 2.69,
18931 with options \\"\$ac_cs_config\\"
18933 Copyright (C) 2012 Free Software Foundation, Inc.
18934 This config.status script is free software; the Free Software Foundation
18935 gives unlimited permission to copy, distribute and modify it."
18937 ac_pwd='$ac_pwd'
18938 srcdir='$srcdir'
18939 test -n "\$AWK" || AWK=awk
18940 _ACEOF
18942 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18943 # The default lists apply if the user does not specify any file.
18944 ac_need_defaults=:
18945 while test $# != 0
18947 case $1 in
18948 --*=?*)
18949 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18950 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18951 ac_shift=:
18953 --*=)
18954 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18955 ac_optarg=
18956 ac_shift=:
18959 ac_option=$1
18960 ac_optarg=$2
18961 ac_shift=shift
18963 esac
18965 case $ac_option in
18966 # Handling of the options.
18967 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18968 ac_cs_recheck=: ;;
18969 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18970 $as_echo "$ac_cs_version"; exit ;;
18971 --config | --confi | --conf | --con | --co | --c )
18972 $as_echo "$ac_cs_config"; exit ;;
18973 --debug | --debu | --deb | --de | --d | -d )
18974 debug=: ;;
18975 --file | --fil | --fi | --f )
18976 $ac_shift
18977 case $ac_optarg in
18978 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18979 '') as_fn_error $? "missing file argument" ;;
18980 esac
18981 as_fn_append CONFIG_FILES " '$ac_optarg'"
18982 ac_need_defaults=false;;
18983 --header | --heade | --head | --hea )
18984 $ac_shift
18985 case $ac_optarg in
18986 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18987 esac
18988 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18989 ac_need_defaults=false;;
18990 --he | --h)
18991 # Conflict between --help and --header
18992 as_fn_error $? "ambiguous option: \`$1'
18993 Try \`$0 --help' for more information.";;
18994 --help | --hel | -h )
18995 $as_echo "$ac_cs_usage"; exit ;;
18996 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18997 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18998 ac_cs_silent=: ;;
19000 # This is an error.
19001 -*) as_fn_error $? "unrecognized option: \`$1'
19002 Try \`$0 --help' for more information." ;;
19004 *) as_fn_append ac_config_targets " $1"
19005 ac_need_defaults=false ;;
19007 esac
19008 shift
19009 done
19011 ac_configure_extra_args=
19013 if $ac_cs_silent; then
19014 exec 6>/dev/null
19015 ac_configure_extra_args="$ac_configure_extra_args --silent"
19018 _ACEOF
19019 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19020 if \$ac_cs_recheck; then
19021 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19022 shift
19023 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19024 CONFIG_SHELL='$SHELL'
19025 export CONFIG_SHELL
19026 exec "\$@"
19029 _ACEOF
19030 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19031 exec 5>>config.log
19033 echo
19034 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19035 ## Running $as_me. ##
19036 _ASBOX
19037 $as_echo "$ac_log"
19038 } >&5
19040 _ACEOF
19041 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19043 # INIT-COMMANDS
19045 wine_fn_output_makedep ()
19047 as_dir=tools; as_fn_mkdir_p
19048 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19050 wine_fn_output_makefile ()
19052 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19053 `cat $wine_rules_file`
19054 _WINE_EOF
19055 as_fn_error $? "could not create Makefile" "$LINENO" 5
19057 wine_fn_output_gitignore ()
19059 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
19060 $GITIGNORE
19061 _WINE_EOF
19062 as_fn_error $? "could not create .gitignore" "$LINENO" 5
19065 _ACEOF
19067 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19069 # Handling of arguments.
19070 for ac_config_target in $ac_config_targets
19072 case $ac_config_target in
19073 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19074 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19075 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19076 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19077 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19078 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19079 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19080 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19081 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
19082 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19083 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19084 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19085 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19086 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19087 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
19089 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19090 esac
19091 done
19094 # If the user did not use the arguments to specify the items to instantiate,
19095 # then the envvar interface is used. Set only those that are not.
19096 # We use the long form for the default assignment because of an extremely
19097 # bizarre bug on SunOS 4.1.3.
19098 if $ac_need_defaults; then
19099 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19100 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19101 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19102 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19105 # Have a temporary directory for convenience. Make it in the build tree
19106 # simply because there is no reason against having it here, and in addition,
19107 # creating and moving files from /tmp can sometimes cause problems.
19108 # Hook for its removal unless debugging.
19109 # Note that there is a small window in which the directory will not be cleaned:
19110 # after its creation but before its name has been assigned to `$tmp'.
19111 $debug ||
19113 tmp= ac_tmp=
19114 trap 'exit_status=$?
19115 : "${ac_tmp:=$tmp}"
19116 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19118 trap 'as_fn_exit 1' 1 2 13 15
19120 # Create a (secure) tmp directory for tmp files.
19123 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19124 test -d "$tmp"
19125 } ||
19127 tmp=./conf$$-$RANDOM
19128 (umask 077 && mkdir "$tmp")
19129 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19130 ac_tmp=$tmp
19132 # Set up the scripts for CONFIG_FILES section.
19133 # No need to generate them if there are no CONFIG_FILES.
19134 # This happens for instance with `./config.status config.h'.
19135 if test -n "$CONFIG_FILES"; then
19138 ac_cr=`echo X | tr X '\015'`
19139 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19140 # But we know of no other shell where ac_cr would be empty at this
19141 # point, so we can use a bashism as a fallback.
19142 if test "x$ac_cr" = x; then
19143 eval ac_cr=\$\'\\r\'
19145 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19146 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19147 ac_cs_awk_cr='\\r'
19148 else
19149 ac_cs_awk_cr=$ac_cr
19152 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19153 _ACEOF
19157 echo "cat >conf$$subs.awk <<_ACEOF" &&
19158 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19159 echo "_ACEOF"
19160 } >conf$$subs.sh ||
19161 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19162 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19163 ac_delim='%!_!# '
19164 for ac_last_try in false false false false false :; do
19165 . ./conf$$subs.sh ||
19166 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19168 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19169 if test $ac_delim_n = $ac_delim_num; then
19170 break
19171 elif $ac_last_try; then
19172 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19173 else
19174 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19176 done
19177 rm -f conf$$subs.sh
19179 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19180 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19181 _ACEOF
19182 sed -n '
19184 s/^/S["/; s/!.*/"]=/
19187 s/^[^!]*!//
19188 :repl
19189 t repl
19190 s/'"$ac_delim"'$//
19191 t delim
19194 s/\(.\{148\}\)..*/\1/
19195 t more1
19196 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19199 b repl
19200 :more1
19201 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19204 s/.\{148\}//
19205 t nl
19206 :delim
19208 s/\(.\{148\}\)..*/\1/
19209 t more2
19210 s/["\\]/\\&/g; s/^/"/; s/$/"/
19213 :more2
19214 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19217 s/.\{148\}//
19218 t delim
19219 ' <conf$$subs.awk | sed '
19220 /^[^""]/{
19222 s/\n//
19224 ' >>$CONFIG_STATUS || ac_write_fail=1
19225 rm -f conf$$subs.awk
19226 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19227 _ACAWK
19228 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19229 for (key in S) S_is_set[key] = 1
19230 FS = "\a"
19234 line = $ 0
19235 nfields = split(line, field, "@")
19236 substed = 0
19237 len = length(field[1])
19238 for (i = 2; i < nfields; i++) {
19239 key = field[i]
19240 keylen = length(key)
19241 if (S_is_set[key]) {
19242 value = S[key]
19243 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19244 len += length(value) + length(field[++i])
19245 substed = 1
19246 } else
19247 len += 1 + keylen
19250 print line
19253 _ACAWK
19254 _ACEOF
19255 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19256 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19257 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19258 else
19260 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19261 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19262 _ACEOF
19264 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19265 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19266 # trailing colons and then remove the whole line if VPATH becomes empty
19267 # (actually we leave an empty line to preserve line numbers).
19268 if test "x$srcdir" = x.; then
19269 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19271 s///
19272 s/^/:/
19273 s/[ ]*$/:/
19274 s/:\$(srcdir):/:/g
19275 s/:\${srcdir}:/:/g
19276 s/:@srcdir@:/:/g
19277 s/^:*//
19278 s/:*$//
19280 s/\(=[ ]*\).*/\1/
19282 s/\n//
19283 s/^[^=]*=[ ]*$//
19287 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19288 fi # test -n "$CONFIG_FILES"
19290 # Set up the scripts for CONFIG_HEADERS section.
19291 # No need to generate them if there are no CONFIG_HEADERS.
19292 # This happens for instance with `./config.status Makefile'.
19293 if test -n "$CONFIG_HEADERS"; then
19294 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19295 BEGIN {
19296 _ACEOF
19298 # Transform confdefs.h into an awk script `defines.awk', embedded as
19299 # here-document in config.status, that substitutes the proper values into
19300 # config.h.in to produce config.h.
19302 # Create a delimiter string that does not exist in confdefs.h, to ease
19303 # handling of long lines.
19304 ac_delim='%!_!# '
19305 for ac_last_try in false false :; do
19306 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19307 if test -z "$ac_tt"; then
19308 break
19309 elif $ac_last_try; then
19310 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19311 else
19312 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19314 done
19316 # For the awk script, D is an array of macro values keyed by name,
19317 # likewise P contains macro parameters if any. Preserve backslash
19318 # newline sequences.
19320 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19321 sed -n '
19322 s/.\{148\}/&'"$ac_delim"'/g
19323 t rset
19324 :rset
19325 s/^[ ]*#[ ]*define[ ][ ]*/ /
19326 t def
19328 :def
19329 s/\\$//
19330 t bsnl
19331 s/["\\]/\\&/g
19332 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19333 D["\1"]=" \3"/p
19334 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19336 :bsnl
19337 s/["\\]/\\&/g
19338 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19339 D["\1"]=" \3\\\\\\n"\\/p
19340 t cont
19341 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19342 t cont
19344 :cont
19346 s/.\{148\}/&'"$ac_delim"'/g
19347 t clear
19348 :clear
19349 s/\\$//
19350 t bsnlc
19351 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19353 :bsnlc
19354 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19355 b cont
19356 ' <confdefs.h | sed '
19357 s/'"$ac_delim"'/"\\\
19358 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19360 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19361 for (key in D) D_is_set[key] = 1
19362 FS = "\a"
19364 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19365 line = \$ 0
19366 split(line, arg, " ")
19367 if (arg[1] == "#") {
19368 defundef = arg[2]
19369 mac1 = arg[3]
19370 } else {
19371 defundef = substr(arg[1], 2)
19372 mac1 = arg[2]
19374 split(mac1, mac2, "(") #)
19375 macro = mac2[1]
19376 prefix = substr(line, 1, index(line, defundef) - 1)
19377 if (D_is_set[macro]) {
19378 # Preserve the white space surrounding the "#".
19379 print prefix "define", macro P[macro] D[macro]
19380 next
19381 } else {
19382 # Replace #undef with comments. This is necessary, for example,
19383 # in the case of _POSIX_SOURCE, which is predefined and required
19384 # on some systems where configure will not decide to define it.
19385 if (defundef == "undef") {
19386 print "/*", prefix defundef, macro, "*/"
19387 next
19391 { print }
19392 _ACAWK
19393 _ACEOF
19394 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19395 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19396 fi # test -n "$CONFIG_HEADERS"
19399 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19400 shift
19401 for ac_tag
19403 case $ac_tag in
19404 :[FHLC]) ac_mode=$ac_tag; continue;;
19405 esac
19406 case $ac_mode$ac_tag in
19407 :[FHL]*:*);;
19408 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19409 :[FH]-) ac_tag=-:-;;
19410 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19411 esac
19412 ac_save_IFS=$IFS
19413 IFS=:
19414 set x $ac_tag
19415 IFS=$ac_save_IFS
19416 shift
19417 ac_file=$1
19418 shift
19420 case $ac_mode in
19421 :L) ac_source=$1;;
19422 :[FH])
19423 ac_file_inputs=
19424 for ac_f
19426 case $ac_f in
19427 -) ac_f="$ac_tmp/stdin";;
19428 *) # Look for the file first in the build tree, then in the source tree
19429 # (if the path is not absolute). The absolute path cannot be DOS-style,
19430 # because $ac_f cannot contain `:'.
19431 test -f "$ac_f" ||
19432 case $ac_f in
19433 [\\/$]*) false;;
19434 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19435 esac ||
19436 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19437 esac
19438 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19439 as_fn_append ac_file_inputs " '$ac_f'"
19440 done
19442 # Let's still pretend it is `configure' which instantiates (i.e., don't
19443 # use $as_me), people would be surprised to read:
19444 # /* config.h. Generated by config.status. */
19445 configure_input='Generated from '`
19446 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19447 `' by configure.'
19448 if test x"$ac_file" != x-; then
19449 configure_input="$ac_file. $configure_input"
19450 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19451 $as_echo "$as_me: creating $ac_file" >&6;}
19453 # Neutralize special characters interpreted by sed in replacement strings.
19454 case $configure_input in #(
19455 *\&* | *\|* | *\\* )
19456 ac_sed_conf_input=`$as_echo "$configure_input" |
19457 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19458 *) ac_sed_conf_input=$configure_input;;
19459 esac
19461 case $ac_tag in
19462 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19463 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19464 esac
19466 esac
19468 ac_dir=`$as_dirname -- "$ac_file" ||
19469 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19470 X"$ac_file" : 'X\(//\)[^/]' \| \
19471 X"$ac_file" : 'X\(//\)$' \| \
19472 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19473 $as_echo X"$ac_file" |
19474 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19475 s//\1/
19478 /^X\(\/\/\)[^/].*/{
19479 s//\1/
19482 /^X\(\/\/\)$/{
19483 s//\1/
19486 /^X\(\/\).*/{
19487 s//\1/
19490 s/.*/./; q'`
19491 as_dir="$ac_dir"; as_fn_mkdir_p
19492 ac_builddir=.
19494 case "$ac_dir" in
19495 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19497 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19498 # A ".." for each directory in $ac_dir_suffix.
19499 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19500 case $ac_top_builddir_sub in
19501 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19502 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19503 esac ;;
19504 esac
19505 ac_abs_top_builddir=$ac_pwd
19506 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19507 # for backward compatibility:
19508 ac_top_builddir=$ac_top_build_prefix
19510 case $srcdir in
19511 .) # We are building in place.
19512 ac_srcdir=.
19513 ac_top_srcdir=$ac_top_builddir_sub
19514 ac_abs_top_srcdir=$ac_pwd ;;
19515 [\\/]* | ?:[\\/]* ) # Absolute name.
19516 ac_srcdir=$srcdir$ac_dir_suffix;
19517 ac_top_srcdir=$srcdir
19518 ac_abs_top_srcdir=$srcdir ;;
19519 *) # Relative name.
19520 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19521 ac_top_srcdir=$ac_top_build_prefix$srcdir
19522 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19523 esac
19524 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19527 case $ac_mode in
19530 # CONFIG_FILE
19533 _ACEOF
19535 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19536 # If the template does not know about datarootdir, expand it.
19537 # FIXME: This hack should be removed a few years after 2.60.
19538 ac_datarootdir_hack=; ac_datarootdir_seen=
19539 ac_sed_dataroot='
19540 /datarootdir/ {
19544 /@datadir@/p
19545 /@docdir@/p
19546 /@infodir@/p
19547 /@localedir@/p
19548 /@mandir@/p'
19549 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19550 *datarootdir*) ac_datarootdir_seen=yes;;
19551 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19553 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19554 _ACEOF
19555 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19556 ac_datarootdir_hack='
19557 s&@datadir@&$datadir&g
19558 s&@docdir@&$docdir&g
19559 s&@infodir@&$infodir&g
19560 s&@localedir@&$localedir&g
19561 s&@mandir@&$mandir&g
19562 s&\\\${datarootdir}&$datarootdir&g' ;;
19563 esac
19564 _ACEOF
19566 # Neutralize VPATH when `$srcdir' = `.'.
19567 # Shell code in configure.ac might set extrasub.
19568 # FIXME: do we really want to maintain this feature?
19569 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19570 ac_sed_extra="$ac_vpsub
19571 $extrasub
19572 _ACEOF
19573 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19575 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19576 s|@configure_input@|$ac_sed_conf_input|;t t
19577 s&@top_builddir@&$ac_top_builddir_sub&;t t
19578 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19579 s&@srcdir@&$ac_srcdir&;t t
19580 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19581 s&@top_srcdir@&$ac_top_srcdir&;t t
19582 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19583 s&@builddir@&$ac_builddir&;t t
19584 s&@abs_builddir@&$ac_abs_builddir&;t t
19585 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19586 $ac_datarootdir_hack
19588 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19589 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19591 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19592 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19593 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19594 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19595 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19596 which seems to be undefined. Please make sure it is defined" >&5
19597 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19598 which seems to be undefined. Please make sure it is defined" >&2;}
19600 rm -f "$ac_tmp/stdin"
19601 case $ac_file in
19602 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19603 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19604 esac \
19605 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19609 # CONFIG_HEADER
19611 if test x"$ac_file" != x-; then
19613 $as_echo "/* $configure_input */" \
19614 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19615 } >"$ac_tmp/config.h" \
19616 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19617 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19618 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19619 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19620 else
19621 rm -f "$ac_file"
19622 mv "$ac_tmp/config.h" "$ac_file" \
19623 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19625 else
19626 $as_echo "/* $configure_input */" \
19627 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19628 || as_fn_error $? "could not create -" "$LINENO" 5
19633 # CONFIG_LINK
19636 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19638 else
19639 # Prefer the file from the source tree if names are identical.
19640 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19641 ac_source=$srcdir/$ac_source
19644 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19645 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19647 if test ! -r "$ac_source"; then
19648 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19650 rm -f "$ac_file"
19652 # Try a relative symlink, then a hard link, then a copy.
19653 case $ac_source in
19654 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19655 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19656 esac
19657 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19658 ln "$ac_source" "$ac_file" 2>/dev/null ||
19659 cp -p "$ac_source" "$ac_file" ||
19660 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19663 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19664 $as_echo "$as_me: executing $ac_file commands" >&6;}
19666 esac
19669 case $ac_file$ac_mode in
19670 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19671 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19672 "Makefile":C) wine_fn_output_makefile Makefile ;;
19673 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19675 esac
19676 done # for ac_tag
19679 as_fn_exit 0
19680 _ACEOF
19681 ac_clean_files=$ac_clean_files_save
19683 test $ac_write_fail = 0 ||
19684 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19687 # configure is writing to config.log, and then calls config.status.
19688 # config.status does its own redirection, appending to config.log.
19689 # Unfortunately, on DOS this fails, as config.log is still kept open
19690 # by configure, so config.status won't be able to write to it; its
19691 # output is simply discarded. So we exec the FD to /dev/null,
19692 # effectively closing config.log, so it can be properly (re)opened and
19693 # appended to by config.status. When coming back to configure, we
19694 # need to make the FD available again.
19695 if test "$no_create" != yes; then
19696 ac_cs_success=:
19697 ac_config_status_args=
19698 test "$silent" = yes &&
19699 ac_config_status_args="$ac_config_status_args --quiet"
19700 exec 5>/dev/null
19701 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19702 exec 5>>config.log
19703 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19704 # would make configure fail if this is the last instruction.
19705 $ac_cs_success || as_fn_exit 1
19707 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19709 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19713 if test "$no_create" = "yes"
19714 then
19715 exit 0
19718 ac_save_IFS="$IFS"
19719 if test "x$wine_notices" != x; then
19720 echo >&6
19721 IFS="|"
19722 for msg in $wine_notices; do
19723 IFS="$ac_save_IFS"
19724 if ${msg:+false} :; then :
19726 else
19727 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19728 $as_echo "$as_me: $msg" >&6;}
19730 done
19732 IFS="|"
19733 for msg in $wine_warnings; do
19734 IFS="$ac_save_IFS"
19735 if ${msg:+false} :; then :
19737 else
19738 echo >&2
19739 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19740 $as_echo "$as_me: WARNING: $msg" >&2;}
19742 done
19743 IFS="$ac_save_IFS"
19745 $as_echo "
19746 $as_me: Finished. Do '${ac_make}' to compile Wine.
19747 " >&6