ext-ms-win-rtcore-gdi-rgn-l1-1-0: Add dll.
[wine.git] / configure
blob1abd0b125303aba1ac7512ae6bef54ee1fd754eb
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.9.22.
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.22'
584 PACKAGE_STRING='Wine 1.9.22'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='http://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 WINELOADER_INSTALL
628 ALL_VARS_RULES
629 LDAP_LIBS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 UNWINDFLAGS
635 EXCESS_PRECISION_CFLAGS
636 BUILTINFLAG
637 EXTRACFLAGS
638 NETAPI_LIBS
639 NETAPI_CFLAGS
640 PROCSTAT_LIBS
641 KSTAT_LIBS
642 MPG123_LIBS
643 MPG123_CFLAGS
644 TIFF_LIBS
645 TIFF_CFLAGS
646 PNG_LIBS
647 PNG_CFLAGS
648 JPEG_LIBS
649 JPEG_CFLAGS
650 FONTCONFIG_LIBS
651 FONTCONFIG_CFLAGS
652 CUPS_CFLAGS
653 CAPI20_LIBS
654 CAPI20_CFLAGS
655 UDEV_LIBS
656 UDEV_CFLAGS
657 OSS4_CFLAGS
658 ALSA_LIBS
659 GSTREAMER_LIBS
660 GSTREAMER_CFLAGS
661 PULSE_LIBS
662 PULSE_CFLAGS
663 GETTEXTPO_LIBS
664 Z_LIBS
665 FREETYPE_LIBS
666 FREETYPE_CFLAGS
667 LCMS2_LIBS
668 LCMS2_CFLAGS
669 RESOLV_LIBS
670 GPHOTO2_PORT_LIBS
671 GPHOTO2_PORT_CFLAGS
672 GPHOTO2_LIBS
673 GPHOTO2_CFLAGS
674 SANE_LIBS
675 SANE_CFLAGS
676 GNUTLS_LIBS
677 GNUTLS_CFLAGS
678 HAL_LIBS
679 HAL_CFLAGS
680 DBUS_LIBS
681 DBUS_CFLAGS
682 XSLT_LIBS
683 XSLT_CFLAGS
684 XML2_LIBS
685 XML2_CFLAGS
686 PCAP_LIBS
687 X_EXTRA_LIBS
688 X_LIBS
689 X_PRE_LIBS
690 X_CFLAGS
691 XMKMF
692 PTHREAD_LIBS
693 CROSSCC
694 CROSSTARGET
695 PRELINK
696 WINELOADER_DEPENDS
697 CARBON_LIBS
698 QUICKTIME_LIBS
699 OPENCL_LIBS
700 OPENAL_LIBS
701 COREAUDIO_LIBS
702 SECURITY_LIBS
703 DISKARBITRATION_LIBS
704 APPKIT_LIBS
705 CORESERVICES_LIBS
706 APPLICATIONSERVICES_LIBS
707 FORCEFEEDBACK_LIBS
708 IOKIT_LIBS
709 COREFOUNDATION_LIBS
710 LIBWINE_DEPENDS
711 LIBWINE_LDFLAGS
712 LIBWINE_INSTALL_DEV
713 LIBWINE_INSTALL_LIB
714 LIBWINE_IMPORTLIB
715 LIBWINE_SHAREDLIB
716 SOCKET_LIBS
717 DLLTOOL
718 WINELOADER_PROGRAMS
719 ALL_TEST_RESOURCES
720 CONFIGURE_TARGETS
721 DISABLED_SUBDIRS
722 SUBDIRS
723 READELF
724 OTOOL
726 LDEXECFLAGS
727 LDRPATH_LOCAL
728 LDRPATH_INSTALL
729 DLLFLAGS
730 dlldir
732 OPENGL_LIBS
733 ICOTOOL
734 CONVERT
735 RSVG
736 FONTFORGE
737 PKG_CONFIG
738 MSGFMT
739 LDCONFIG
740 EGREP
741 GREP
742 LN_S
743 RANLIB
744 ARFLAGS
745 STRIP
746 ac_ct_AR
748 BISON
749 FLEX
750 TOOLSDIR
751 TARGETFLAGS
753 CPPBIN
754 ac_ct_CXX
755 CXXFLAGS
757 OBJEXT
758 EXEEXT
759 ac_ct_CC
760 CPPFLAGS
761 LDFLAGS
762 CFLAGS
764 SET_MAKE
765 host_os
766 host_vendor
767 host_cpu
768 host
769 build_os
770 build_vendor
771 build_cpu
772 build
773 target_alias
774 host_alias
775 build_alias
776 LIBS
777 ECHO_T
778 ECHO_N
779 ECHO_C
780 DEFS
781 mandir
782 localedir
783 libdir
784 psdir
785 pdfdir
786 dvidir
787 htmldir
788 infodir
789 docdir
790 oldincludedir
791 includedir
792 runstatedir
793 localstatedir
794 sharedstatedir
795 sysconfdir
796 datadir
797 datarootdir
798 libexecdir
799 sbindir
800 bindir
801 program_transform_name
802 prefix
803 exec_prefix
804 PACKAGE_URL
805 PACKAGE_BUGREPORT
806 PACKAGE_STRING
807 PACKAGE_VERSION
808 PACKAGE_TARNAME
809 PACKAGE_NAME
810 PATH_SEPARATOR
811 SHELL'
812 ac_subst_files=''
813 ac_user_opts='
814 enable_option_checking
815 enable_win16
816 enable_win64
817 enable_tests
818 enable_maintainer_mode
819 with_alsa
820 with_capi
821 with_cms
822 with_coreaudio
823 with_cups
824 with_curses
825 with_dbus
826 with_fontconfig
827 with_freetype
828 with_gettext
829 with_gettextpo
830 with_gphoto
831 with_glu
832 with_gnutls
833 with_gsm
834 with_gstreamer
835 with_hal
836 with_jpeg
837 with_ldap
838 with_mpg123
839 with_netapi
840 with_openal
841 with_opencl
842 with_opengl
843 with_osmesa
844 with_oss
845 with_pcap
846 with_png
847 with_pthread
848 with_pulse
849 with_sane
850 with_tiff
851 with_udev
852 with_v4l
853 with_xcomposite
854 with_xcursor
855 with_xinerama
856 with_xinput
857 with_xinput2
858 with_xml
859 with_xrandr
860 with_xrender
861 with_xshape
862 with_xshm
863 with_xslt
864 with_xxf86vm
865 with_zlib
866 with_wine_tools
867 with_wine64
868 enable_largefile
869 with_x
870 enable_acledit
871 enable_aclui
872 enable_activeds
873 enable_actxprxy
874 enable_advapi32
875 enable_advpack
876 enable_amstream
877 enable_api_ms_win_appmodel_runtime_l1_1_1
878 enable_api_ms_win_core_apiquery_l1_1_0
879 enable_api_ms_win_core_appcompat_l1_1_1
880 enable_api_ms_win_core_appinit_l1_1_0
881 enable_api_ms_win_core_atoms_l1_1_0
882 enable_api_ms_win_core_bem_l1_1_0
883 enable_api_ms_win_core_com_l1_1_0
884 enable_api_ms_win_core_com_l1_1_1
885 enable_api_ms_win_core_console_l1_1_0
886 enable_api_ms_win_core_console_l2_1_0
887 enable_api_ms_win_core_datetime_l1_1_0
888 enable_api_ms_win_core_datetime_l1_1_1
889 enable_api_ms_win_core_debug_l1_1_0
890 enable_api_ms_win_core_debug_l1_1_1
891 enable_api_ms_win_core_delayload_l1_1_0
892 enable_api_ms_win_core_delayload_l1_1_1
893 enable_api_ms_win_core_errorhandling_l1_1_0
894 enable_api_ms_win_core_errorhandling_l1_1_1
895 enable_api_ms_win_core_errorhandling_l1_1_2
896 enable_api_ms_win_core_fibers_l1_1_0
897 enable_api_ms_win_core_fibers_l1_1_1
898 enable_api_ms_win_core_file_l1_1_0
899 enable_api_ms_win_core_file_l1_2_0
900 enable_api_ms_win_core_file_l1_2_1
901 enable_api_ms_win_core_file_l2_1_0
902 enable_api_ms_win_core_file_l2_1_1
903 enable_api_ms_win_core_handle_l1_1_0
904 enable_api_ms_win_core_heap_l1_1_0
905 enable_api_ms_win_core_heap_l1_2_0
906 enable_api_ms_win_core_heap_obsolete_l1_1_0
907 enable_api_ms_win_core_interlocked_l1_1_0
908 enable_api_ms_win_core_interlocked_l1_2_0
909 enable_api_ms_win_core_io_l1_1_0
910 enable_api_ms_win_core_io_l1_1_1
911 enable_api_ms_win_core_job_l1_1_0
912 enable_api_ms_win_core_job_l2_1_0
913 enable_api_ms_win_core_kernel32_legacy_l1_1_0
914 enable_api_ms_win_core_kernel32_legacy_l1_1_1
915 enable_api_ms_win_core_kernel32_private_l1_1_1
916 enable_api_ms_win_core_libraryloader_l1_1_0
917 enable_api_ms_win_core_libraryloader_l1_1_1
918 enable_api_ms_win_core_libraryloader_l1_2_0
919 enable_api_ms_win_core_libraryloader_l1_2_2
920 enable_api_ms_win_core_localization_l1_1_0
921 enable_api_ms_win_core_localization_l1_2_0
922 enable_api_ms_win_core_localization_l1_2_1
923 enable_api_ms_win_core_localization_l2_1_0
924 enable_api_ms_win_core_localization_obsolete_l1_1_0
925 enable_api_ms_win_core_localization_obsolete_l1_2_0
926 enable_api_ms_win_core_localization_private_l1_1_0
927 enable_api_ms_win_core_localregistry_l1_1_0
928 enable_api_ms_win_core_memory_l1_1_0
929 enable_api_ms_win_core_memory_l1_1_1
930 enable_api_ms_win_core_memory_l1_1_2
931 enable_api_ms_win_core_misc_l1_1_0
932 enable_api_ms_win_core_namedpipe_l1_1_0
933 enable_api_ms_win_core_namedpipe_l1_2_0
934 enable_api_ms_win_core_namespace_l1_1_0
935 enable_api_ms_win_core_normalization_l1_1_0
936 enable_api_ms_win_core_path_l1_1_0
937 enable_api_ms_win_core_privateprofile_l1_1_1
938 enable_api_ms_win_core_processenvironment_l1_1_0
939 enable_api_ms_win_core_processenvironment_l1_2_0
940 enable_api_ms_win_core_processthreads_l1_1_0
941 enable_api_ms_win_core_processthreads_l1_1_1
942 enable_api_ms_win_core_processthreads_l1_1_2
943 enable_api_ms_win_core_profile_l1_1_0
944 enable_api_ms_win_core_psapi_l1_1_0
945 enable_api_ms_win_core_psapi_obsolete_l1_1_0
946 enable_api_ms_win_core_realtime_l1_1_0
947 enable_api_ms_win_core_registry_l1_1_0
948 enable_api_ms_win_core_registryuserspecific_l1_1_0
949 enable_api_ms_win_core_rtlsupport_l1_1_0
950 enable_api_ms_win_core_rtlsupport_l1_2_0
951 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
952 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
953 enable_api_ms_win_core_sidebyside_l1_1_0
954 enable_api_ms_win_core_string_l1_1_0
955 enable_api_ms_win_core_string_l2_1_0
956 enable_api_ms_win_core_string_obsolete_l1_1_0
957 enable_api_ms_win_core_stringansi_l1_1_0
958 enable_api_ms_win_core_synch_l1_1_0
959 enable_api_ms_win_core_synch_l1_2_0
960 enable_api_ms_win_core_sysinfo_l1_1_0
961 enable_api_ms_win_core_sysinfo_l1_2_0
962 enable_api_ms_win_core_sysinfo_l1_2_1
963 enable_api_ms_win_core_threadpool_l1_1_0
964 enable_api_ms_win_core_threadpool_l1_2_0
965 enable_api_ms_win_core_threadpool_legacy_l1_1_0
966 enable_api_ms_win_core_timezone_l1_1_0
967 enable_api_ms_win_core_toolhelp_l1_1_0
968 enable_api_ms_win_core_url_l1_1_0
969 enable_api_ms_win_core_util_l1_1_0
970 enable_api_ms_win_core_version_l1_1_0
971 enable_api_ms_win_core_version_private_l1_1_0
972 enable_api_ms_win_core_versionansi_l1_1_0
973 enable_api_ms_win_core_windowserrorreporting_l1_1_0
974 enable_api_ms_win_core_winrt_error_l1_1_0
975 enable_api_ms_win_core_winrt_error_l1_1_1
976 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
977 enable_api_ms_win_core_winrt_l1_1_0
978 enable_api_ms_win_core_winrt_registration_l1_1_0
979 enable_api_ms_win_core_winrt_string_l1_1_0
980 enable_api_ms_win_core_wow64_l1_1_0
981 enable_api_ms_win_core_xstate_l1_1_0
982 enable_api_ms_win_core_xstate_l2_1_0
983 enable_api_ms_win_crt_conio_l1_1_0
984 enable_api_ms_win_crt_convert_l1_1_0
985 enable_api_ms_win_crt_environment_l1_1_0
986 enable_api_ms_win_crt_filesystem_l1_1_0
987 enable_api_ms_win_crt_heap_l1_1_0
988 enable_api_ms_win_crt_locale_l1_1_0
989 enable_api_ms_win_crt_math_l1_1_0
990 enable_api_ms_win_crt_multibyte_l1_1_0
991 enable_api_ms_win_crt_private_l1_1_0
992 enable_api_ms_win_crt_process_l1_1_0
993 enable_api_ms_win_crt_runtime_l1_1_0
994 enable_api_ms_win_crt_stdio_l1_1_0
995 enable_api_ms_win_crt_string_l1_1_0
996 enable_api_ms_win_crt_time_l1_1_0
997 enable_api_ms_win_crt_utility_l1_1_0
998 enable_api_ms_win_downlevel_advapi32_l1_1_0
999 enable_api_ms_win_downlevel_advapi32_l2_1_0
1000 enable_api_ms_win_downlevel_normaliz_l1_1_0
1001 enable_api_ms_win_downlevel_ole32_l1_1_0
1002 enable_api_ms_win_downlevel_shell32_l1_1_0
1003 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1004 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1005 enable_api_ms_win_downlevel_user32_l1_1_0
1006 enable_api_ms_win_downlevel_version_l1_1_0
1007 enable_api_ms_win_eventing_classicprovider_l1_1_0
1008 enable_api_ms_win_eventing_consumer_l1_1_0
1009 enable_api_ms_win_eventing_controller_l1_1_0
1010 enable_api_ms_win_eventing_provider_l1_1_0
1011 enable_api_ms_win_eventlog_legacy_l1_1_0
1012 enable_api_ms_win_ntuser_dc_access_l1_1_0
1013 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1014 enable_api_ms_win_security_audit_l1_1_1
1015 enable_api_ms_win_security_base_l1_1_0
1016 enable_api_ms_win_security_base_l1_2_0
1017 enable_api_ms_win_security_base_private_l1_1_1
1018 enable_api_ms_win_security_lsalookup_l1_1_0
1019 enable_api_ms_win_security_lsalookup_l1_1_1
1020 enable_api_ms_win_security_sddl_l1_1_0
1021 enable_api_ms_win_service_core_l1_1_0
1022 enable_api_ms_win_service_core_l1_1_1
1023 enable_api_ms_win_service_management_l1_1_0
1024 enable_api_ms_win_service_management_l2_1_0
1025 enable_api_ms_win_service_private_l1_1_1
1026 enable_api_ms_win_service_winsvc_l1_1_0
1027 enable_api_ms_win_service_winsvc_l1_2_0
1028 enable_api_ms_win_shell_shellcom_l1_1_0
1029 enable_api_ms_win_shell_shellfolders_l1_1_0
1030 enable_apphelp
1031 enable_appwiz_cpl
1032 enable_atl
1033 enable_atl100
1034 enable_atl110
1035 enable_atl80
1036 enable_atl90
1037 enable_authz
1038 enable_avicap32
1039 enable_avifil32
1040 enable_avrt
1041 enable_bcrypt
1042 enable_bluetoothapis
1043 enable_browseui
1044 enable_bthprops_cpl
1045 enable_cabinet
1046 enable_capi2032
1047 enable_cards
1048 enable_cfgmgr32
1049 enable_clusapi
1050 enable_combase
1051 enable_comcat
1052 enable_comctl32
1053 enable_comdlg32
1054 enable_compstui
1055 enable_comsvcs
1056 enable_concrt140
1057 enable_connect
1058 enable_credui
1059 enable_crtdll
1060 enable_crypt32
1061 enable_cryptdlg
1062 enable_cryptdll
1063 enable_cryptext
1064 enable_cryptnet
1065 enable_cryptui
1066 enable_ctapi32
1067 enable_ctl3d32
1068 enable_d2d1
1069 enable_d3d10
1070 enable_d3d10_1
1071 enable_d3d10core
1072 enable_d3d11
1073 enable_d3d8
1074 enable_d3d9
1075 enable_d3dcompiler_33
1076 enable_d3dcompiler_34
1077 enable_d3dcompiler_35
1078 enable_d3dcompiler_36
1079 enable_d3dcompiler_37
1080 enable_d3dcompiler_38
1081 enable_d3dcompiler_39
1082 enable_d3dcompiler_40
1083 enable_d3dcompiler_41
1084 enable_d3dcompiler_42
1085 enable_d3dcompiler_43
1086 enable_d3dcompiler_46
1087 enable_d3dcompiler_47
1088 enable_d3dim
1089 enable_d3drm
1090 enable_d3dx10_33
1091 enable_d3dx10_34
1092 enable_d3dx10_35
1093 enable_d3dx10_36
1094 enable_d3dx10_37
1095 enable_d3dx10_38
1096 enable_d3dx10_39
1097 enable_d3dx10_40
1098 enable_d3dx10_41
1099 enable_d3dx10_42
1100 enable_d3dx10_43
1101 enable_d3dx11_42
1102 enable_d3dx11_43
1103 enable_d3dx9_24
1104 enable_d3dx9_25
1105 enable_d3dx9_26
1106 enable_d3dx9_27
1107 enable_d3dx9_28
1108 enable_d3dx9_29
1109 enable_d3dx9_30
1110 enable_d3dx9_31
1111 enable_d3dx9_32
1112 enable_d3dx9_33
1113 enable_d3dx9_34
1114 enable_d3dx9_35
1115 enable_d3dx9_36
1116 enable_d3dx9_37
1117 enable_d3dx9_38
1118 enable_d3dx9_39
1119 enable_d3dx9_40
1120 enable_d3dx9_41
1121 enable_d3dx9_42
1122 enable_d3dx9_43
1123 enable_d3dxof
1124 enable_davclnt
1125 enable_dbgeng
1126 enable_dbghelp
1127 enable_dciman32
1128 enable_ddraw
1129 enable_ddrawex
1130 enable_devenum
1131 enable_dhcpcsvc
1132 enable_difxapi
1133 enable_dinput
1134 enable_dinput8
1135 enable_dispex
1136 enable_dmband
1137 enable_dmcompos
1138 enable_dmime
1139 enable_dmloader
1140 enable_dmscript
1141 enable_dmstyle
1142 enable_dmsynth
1143 enable_dmusic
1144 enable_dmusic32
1145 enable_dnsapi
1146 enable_dplay
1147 enable_dplayx
1148 enable_dpnaddr
1149 enable_dpnet
1150 enable_dpnhpast
1151 enable_dpnlobby
1152 enable_dpvoice
1153 enable_dpwsockx
1154 enable_drmclien
1155 enable_dsound
1156 enable_dssenh
1157 enable_dswave
1158 enable_dwmapi
1159 enable_dwrite
1160 enable_dxdiagn
1161 enable_dxgi
1162 enable_dxva2
1163 enable_esent
1164 enable_evr
1165 enable_explorerframe
1166 enable_ext_ms_win_gdi_dc_create_l1_1_1
1167 enable_ext_ms_win_gdi_dc_l1_2_0
1168 enable_ext_ms_win_gdi_devcaps_l1_1_0
1169 enable_ext_ms_win_gdi_draw_l1_1_1
1170 enable_ext_ms_win_gdi_render_l1_1_0
1171 enable_ext_ms_win_kernel32_package_current_l1_1_0
1172 enable_ext_ms_win_ntuser_message_l1_1_1
1173 enable_ext_ms_win_ntuser_private_l1_1_1
1174 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1175 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1176 enable_ext_ms_win_ntuser_window_l1_1_1
1177 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1178 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1179 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1180 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1181 enable_faultrep
1182 enable_fltlib
1183 enable_fltmgr_sys
1184 enable_fntcache
1185 enable_fontsub
1186 enable_fusion
1187 enable_fwpuclnt
1188 enable_gameux
1189 enable_gdi32
1190 enable_gdiplus
1191 enable_glu32
1192 enable_gphoto2_ds
1193 enable_gpkcsp
1194 enable_hal
1195 enable_hhctrl_ocx
1196 enable_hid
1197 enable_hidclass_sys
1198 enable_hlink
1199 enable_hnetcfg
1200 enable_httpapi
1201 enable_iccvid
1202 enable_icmp
1203 enable_ieframe
1204 enable_imaadp32_acm
1205 enable_imagehlp
1206 enable_imm32
1207 enable_inetcomm
1208 enable_inetcpl_cpl
1209 enable_inetmib1
1210 enable_infosoft
1211 enable_initpki
1212 enable_inkobj
1213 enable_inseng
1214 enable_iphlpapi
1215 enable_iprop
1216 enable_irprops_cpl
1217 enable_itircl
1218 enable_itss
1219 enable_joy_cpl
1220 enable_jscript
1221 enable_jsproxy
1222 enable_kernel32
1223 enable_kernelbase
1224 enable_ksuser
1225 enable_ktmw32
1226 enable_loadperf
1227 enable_localspl
1228 enable_localui
1229 enable_lz32
1230 enable_mapi32
1231 enable_mapistub
1232 enable_mciavi32
1233 enable_mcicda
1234 enable_mciqtz32
1235 enable_mciseq
1236 enable_mciwave
1237 enable_mf
1238 enable_mfplat
1239 enable_mfreadwrite
1240 enable_mgmtapi
1241 enable_midimap
1242 enable_mlang
1243 enable_mmcndmgr
1244 enable_mmdevapi
1245 enable_mountmgr_sys
1246 enable_mpr
1247 enable_mprapi
1248 enable_msacm32_drv
1249 enable_msacm32
1250 enable_msadp32_acm
1251 enable_msasn1
1252 enable_mscat32
1253 enable_mscms
1254 enable_mscoree
1255 enable_msctf
1256 enable_msctfp
1257 enable_msdaps
1258 enable_msdelta
1259 enable_msdmo
1260 enable_msdrm
1261 enable_msftedit
1262 enable_msg711_acm
1263 enable_msgsm32_acm
1264 enable_mshtml_tlb
1265 enable_mshtml
1266 enable_msi
1267 enable_msident
1268 enable_msimg32
1269 enable_msimsg
1270 enable_msimtf
1271 enable_msisip
1272 enable_msisys_ocx
1273 enable_msls31
1274 enable_msnet32
1275 enable_mspatcha
1276 enable_msports
1277 enable_msrle32
1278 enable_msscript_ocx
1279 enable_mssign32
1280 enable_mssip32
1281 enable_mstask
1282 enable_msvcirt
1283 enable_msvcm80
1284 enable_msvcm90
1285 enable_msvcp100
1286 enable_msvcp110
1287 enable_msvcp120
1288 enable_msvcp120_app
1289 enable_msvcp140
1290 enable_msvcp60
1291 enable_msvcp70
1292 enable_msvcp71
1293 enable_msvcp80
1294 enable_msvcp90
1295 enable_msvcr100
1296 enable_msvcr110
1297 enable_msvcr120
1298 enable_msvcr120_app
1299 enable_msvcr70
1300 enable_msvcr71
1301 enable_msvcr80
1302 enable_msvcr90
1303 enable_msvcrt
1304 enable_msvcrt20
1305 enable_msvcrt40
1306 enable_msvcrtd
1307 enable_msvfw32
1308 enable_msvidc32
1309 enable_mswsock
1310 enable_msxml
1311 enable_msxml2
1312 enable_msxml3
1313 enable_msxml4
1314 enable_msxml6
1315 enable_ncrypt
1316 enable_nddeapi
1317 enable_ndis_sys
1318 enable_netapi32
1319 enable_netcfgx
1320 enable_netprofm
1321 enable_newdev
1322 enable_normaliz
1323 enable_npmshtml
1324 enable_npptools
1325 enable_ntdll
1326 enable_ntdsapi
1327 enable_ntoskrnl_exe
1328 enable_ntprint
1329 enable_objsel
1330 enable_odbc32
1331 enable_odbccp32
1332 enable_odbccu32
1333 enable_ole32
1334 enable_oleacc
1335 enable_oleaut32
1336 enable_olecli32
1337 enable_oledb32
1338 enable_oledlg
1339 enable_olepro32
1340 enable_olesvr32
1341 enable_olethk32
1342 enable_openal32
1343 enable_opencl
1344 enable_opengl32
1345 enable_packager
1346 enable_pdh
1347 enable_photometadatahandler
1348 enable_pidgen
1349 enable_powrprof
1350 enable_printui
1351 enable_prntvpt
1352 enable_propsys
1353 enable_psapi
1354 enable_pstorec
1355 enable_qcap
1356 enable_qedit
1357 enable_qmgr
1358 enable_qmgrprxy
1359 enable_quartz
1360 enable_query
1361 enable_rasapi32
1362 enable_rasdlg
1363 enable_regapi
1364 enable_resutils
1365 enable_riched20
1366 enable_riched32
1367 enable_rpcrt4
1368 enable_rsabase
1369 enable_rsaenh
1370 enable_rstrtmgr
1371 enable_rtutils
1372 enable_samlib
1373 enable_sane_ds
1374 enable_scarddlg
1375 enable_sccbase
1376 enable_schannel
1377 enable_schedsvc
1378 enable_scrrun
1379 enable_scsiport_sys
1380 enable_secur32
1381 enable_security
1382 enable_sensapi
1383 enable_serialui
1384 enable_setupapi
1385 enable_sfc
1386 enable_sfc_os
1387 enable_shdoclc
1388 enable_shdocvw
1389 enable_shell32
1390 enable_shfolder
1391 enable_shlwapi
1392 enable_slbcsp
1393 enable_slc
1394 enable_snmpapi
1395 enable_softpub
1396 enable_spoolss
1397 enable_sspicli
1398 enable_stdole2_tlb
1399 enable_stdole32_tlb
1400 enable_sti
1401 enable_svrapi
1402 enable_sxs
1403 enable_t2embed
1404 enable_tapi32
1405 enable_taskschd
1406 enable_tdi_sys
1407 enable_traffic
1408 enable_twain_32
1409 enable_ucrtbase
1410 enable_unicows
1411 enable_updspapi
1412 enable_url
1413 enable_urlmon
1414 enable_usbd_sys
1415 enable_user32
1416 enable_userenv
1417 enable_usp10
1418 enable_uxtheme
1419 enable_vbscript
1420 enable_vcomp
1421 enable_vcomp100
1422 enable_vcomp110
1423 enable_vcomp120
1424 enable_vcomp140
1425 enable_vcomp90
1426 enable_vcruntime140
1427 enable_vdmdbg
1428 enable_version
1429 enable_vssapi
1430 enable_wbemdisp
1431 enable_wbemprox
1432 enable_webservices
1433 enable_wer
1434 enable_wevtapi
1435 enable_wiaservc
1436 enable_wimgapi
1437 enable_windowscodecs
1438 enable_windowscodecsext
1439 enable_winealsa_drv
1440 enable_winebus_sys
1441 enable_winecoreaudio_drv
1442 enable_wined3d
1443 enable_winegstreamer
1444 enable_winehid_sys
1445 enable_winejoystick_drv
1446 enable_winemac_drv
1447 enable_winemapi
1448 enable_winemp3_acm
1449 enable_wineoss_drv
1450 enable_wineps_drv
1451 enable_winepulse_drv
1452 enable_wineqtdecoder
1453 enable_winex11_drv
1454 enable_wing32
1455 enable_winhttp
1456 enable_wininet
1457 enable_winmm
1458 enable_winnls32
1459 enable_winscard
1460 enable_winspool_drv
1461 enable_winsta
1462 enable_wintab32
1463 enable_wintrust
1464 enable_wlanapi
1465 enable_wldap32
1466 enable_wmasf
1467 enable_wmi
1468 enable_wmiutils
1469 enable_wmp
1470 enable_wmvcore
1471 enable_wnaspi32
1472 enable_wpc
1473 enable_wpcap
1474 enable_ws2_32
1475 enable_wshom_ocx
1476 enable_wsnmp32
1477 enable_wsock32
1478 enable_wtsapi32
1479 enable_wuapi
1480 enable_wuaueng
1481 enable_x3daudio1_0
1482 enable_x3daudio1_1
1483 enable_x3daudio1_2
1484 enable_x3daudio1_3
1485 enable_x3daudio1_4
1486 enable_x3daudio1_5
1487 enable_x3daudio1_6
1488 enable_x3daudio1_7
1489 enable_xapofx1_1
1490 enable_xapofx1_2
1491 enable_xapofx1_3
1492 enable_xapofx1_4
1493 enable_xapofx1_5
1494 enable_xaudio2_0
1495 enable_xaudio2_1
1496 enable_xaudio2_2
1497 enable_xaudio2_3
1498 enable_xaudio2_4
1499 enable_xaudio2_5
1500 enable_xaudio2_6
1501 enable_xaudio2_7
1502 enable_xaudio2_8
1503 enable_xaudio2_9
1504 enable_xinput1_1
1505 enable_xinput1_2
1506 enable_xinput1_3
1507 enable_xinput1_4
1508 enable_xinput9_1_0
1509 enable_xmllite
1510 enable_xolehlp
1511 enable_xpsprint
1512 enable_xpssvcs
1513 enable_fonts
1514 enable_include
1515 enable_libs_port
1516 enable_libs_wine
1517 enable_libs_wpp
1518 enable_loader
1519 enable_po
1520 enable_arp
1521 enable_aspnet_regiis
1522 enable_attrib
1523 enable_cabarc
1524 enable_cacls
1525 enable_clock
1526 enable_cmd
1527 enable_conhost
1528 enable_control
1529 enable_cscript
1530 enable_dpnsvr
1531 enable_dxdiag
1532 enable_eject
1533 enable_expand
1534 enable_explorer
1535 enable_extrac32
1536 enable_findstr
1537 enable_fsutil
1538 enable_hh
1539 enable_hostname
1540 enable_icacls
1541 enable_icinfo
1542 enable_iexplore
1543 enable_ipconfig
1544 enable_lodctr
1545 enable_mofcomp
1546 enable_mshta
1547 enable_msiexec
1548 enable_msinfo32
1549 enable_net
1550 enable_netsh
1551 enable_netstat
1552 enable_ngen
1553 enable_notepad
1554 enable_oleview
1555 enable_ping
1556 enable_plugplay
1557 enable_presentationfontcache
1558 enable_progman
1559 enable_reg
1560 enable_regasm
1561 enable_regedit
1562 enable_regsvcs
1563 enable_regsvr32
1564 enable_rpcss
1565 enable_rundll32
1566 enable_sc
1567 enable_schtasks
1568 enable_sdbinst
1569 enable_secedit
1570 enable_servicemodelreg
1571 enable_services
1572 enable_shutdown
1573 enable_spoolsv
1574 enable_start
1575 enable_subst
1576 enable_svchost
1577 enable_systeminfo
1578 enable_taskkill
1579 enable_tasklist
1580 enable_taskmgr
1581 enable_termsv
1582 enable_uninstaller
1583 enable_unlodctr
1584 enable_view
1585 enable_wevtutil
1586 enable_wineboot
1587 enable_winebrowser
1588 enable_winecfg
1589 enable_wineconsole
1590 enable_winedbg
1591 enable_winedevice
1592 enable_winefile
1593 enable_winemenubuilder
1594 enable_winemine
1595 enable_winemsibuilder
1596 enable_winepath
1597 enable_winetest
1598 enable_winhlp32
1599 enable_winver
1600 enable_wmic
1601 enable_wmplayer
1602 enable_wordpad
1603 enable_write
1604 enable_wscript
1605 enable_wusa
1606 enable_xcopy
1607 enable_server
1608 enable_tools
1610 ac_precious_vars='build_alias
1611 host_alias
1612 target_alias
1614 CFLAGS
1615 LDFLAGS
1616 LIBS
1617 CPPFLAGS
1619 CXXFLAGS
1622 XMKMF
1623 XML2_CFLAGS
1624 XML2_LIBS
1625 XSLT_CFLAGS
1626 XSLT_LIBS
1627 DBUS_CFLAGS
1628 DBUS_LIBS
1629 HAL_CFLAGS
1630 HAL_LIBS
1631 GNUTLS_CFLAGS
1632 GNUTLS_LIBS
1633 SANE_CFLAGS
1634 SANE_LIBS
1635 GPHOTO2_CFLAGS
1636 GPHOTO2_LIBS
1637 GPHOTO2_PORT_CFLAGS
1638 GPHOTO2_PORT_LIBS
1639 LCMS2_CFLAGS
1640 LCMS2_LIBS
1641 FREETYPE_CFLAGS
1642 FREETYPE_LIBS
1643 PULSE_CFLAGS
1644 PULSE_LIBS
1645 GSTREAMER_CFLAGS
1646 GSTREAMER_LIBS
1647 UDEV_CFLAGS
1648 UDEV_LIBS
1649 CAPI20_CFLAGS
1650 CAPI20_LIBS
1651 FONTCONFIG_CFLAGS
1652 FONTCONFIG_LIBS
1653 JPEG_CFLAGS
1654 JPEG_LIBS
1655 PNG_CFLAGS
1656 PNG_LIBS
1657 TIFF_CFLAGS
1658 TIFF_LIBS
1659 MPG123_CFLAGS
1660 MPG123_LIBS
1661 NETAPI_CFLAGS
1662 NETAPI_LIBS'
1665 # Initialize some variables set by options.
1666 ac_init_help=
1667 ac_init_version=false
1668 ac_unrecognized_opts=
1669 ac_unrecognized_sep=
1670 # The variables have the same names as the options, with
1671 # dashes changed to underlines.
1672 cache_file=/dev/null
1673 exec_prefix=NONE
1674 no_create=
1675 no_recursion=
1676 prefix=NONE
1677 program_prefix=NONE
1678 program_suffix=NONE
1679 program_transform_name=s,x,x,
1680 silent=
1681 site=
1682 srcdir=
1683 verbose=
1684 x_includes=NONE
1685 x_libraries=NONE
1687 # Installation directory options.
1688 # These are left unexpanded so users can "make install exec_prefix=/foo"
1689 # and all the variables that are supposed to be based on exec_prefix
1690 # by default will actually change.
1691 # Use braces instead of parens because sh, perl, etc. also accept them.
1692 # (The list follows the same order as the GNU Coding Standards.)
1693 bindir='${exec_prefix}/bin'
1694 sbindir='${exec_prefix}/sbin'
1695 libexecdir='${exec_prefix}/libexec'
1696 datarootdir='${prefix}/share'
1697 datadir='${datarootdir}'
1698 sysconfdir='${prefix}/etc'
1699 sharedstatedir='${prefix}/com'
1700 localstatedir='${prefix}/var'
1701 runstatedir='${localstatedir}/run'
1702 includedir='${prefix}/include'
1703 oldincludedir='/usr/include'
1704 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1705 infodir='${datarootdir}/info'
1706 htmldir='${docdir}'
1707 dvidir='${docdir}'
1708 pdfdir='${docdir}'
1709 psdir='${docdir}'
1710 libdir='${exec_prefix}/lib'
1711 localedir='${datarootdir}/locale'
1712 mandir='${datarootdir}/man'
1714 ac_prev=
1715 ac_dashdash=
1716 for ac_option
1718 # If the previous option needs an argument, assign it.
1719 if test -n "$ac_prev"; then
1720 eval $ac_prev=\$ac_option
1721 ac_prev=
1722 continue
1725 case $ac_option in
1726 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1727 *=) ac_optarg= ;;
1728 *) ac_optarg=yes ;;
1729 esac
1731 # Accept the important Cygnus configure options, so we can diagnose typos.
1733 case $ac_dashdash$ac_option in
1735 ac_dashdash=yes ;;
1737 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1738 ac_prev=bindir ;;
1739 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1740 bindir=$ac_optarg ;;
1742 -build | --build | --buil | --bui | --bu)
1743 ac_prev=build_alias ;;
1744 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1745 build_alias=$ac_optarg ;;
1747 -cache-file | --cache-file | --cache-fil | --cache-fi \
1748 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1749 ac_prev=cache_file ;;
1750 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1751 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1752 cache_file=$ac_optarg ;;
1754 --config-cache | -C)
1755 cache_file=config.cache ;;
1757 -datadir | --datadir | --datadi | --datad)
1758 ac_prev=datadir ;;
1759 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1760 datadir=$ac_optarg ;;
1762 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1763 | --dataroo | --dataro | --datar)
1764 ac_prev=datarootdir ;;
1765 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1766 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1767 datarootdir=$ac_optarg ;;
1769 -disable-* | --disable-*)
1770 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1771 # Reject names that are not valid shell variable names.
1772 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1773 as_fn_error $? "invalid feature name: $ac_useropt"
1774 ac_useropt_orig=$ac_useropt
1775 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1776 case $ac_user_opts in
1778 "enable_$ac_useropt"
1779 "*) ;;
1780 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1781 ac_unrecognized_sep=', ';;
1782 esac
1783 eval enable_$ac_useropt=no ;;
1785 -docdir | --docdir | --docdi | --doc | --do)
1786 ac_prev=docdir ;;
1787 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1788 docdir=$ac_optarg ;;
1790 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1791 ac_prev=dvidir ;;
1792 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1793 dvidir=$ac_optarg ;;
1795 -enable-* | --enable-*)
1796 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1797 # Reject names that are not valid shell variable names.
1798 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1799 as_fn_error $? "invalid feature name: $ac_useropt"
1800 ac_useropt_orig=$ac_useropt
1801 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1802 case $ac_user_opts in
1804 "enable_$ac_useropt"
1805 "*) ;;
1806 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1807 ac_unrecognized_sep=', ';;
1808 esac
1809 eval enable_$ac_useropt=\$ac_optarg ;;
1811 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1812 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1813 | --exec | --exe | --ex)
1814 ac_prev=exec_prefix ;;
1815 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1816 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1817 | --exec=* | --exe=* | --ex=*)
1818 exec_prefix=$ac_optarg ;;
1820 -gas | --gas | --ga | --g)
1821 # Obsolete; use --with-gas.
1822 with_gas=yes ;;
1824 -help | --help | --hel | --he | -h)
1825 ac_init_help=long ;;
1826 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1827 ac_init_help=recursive ;;
1828 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1829 ac_init_help=short ;;
1831 -host | --host | --hos | --ho)
1832 ac_prev=host_alias ;;
1833 -host=* | --host=* | --hos=* | --ho=*)
1834 host_alias=$ac_optarg ;;
1836 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1837 ac_prev=htmldir ;;
1838 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1839 | --ht=*)
1840 htmldir=$ac_optarg ;;
1842 -includedir | --includedir | --includedi | --included | --include \
1843 | --includ | --inclu | --incl | --inc)
1844 ac_prev=includedir ;;
1845 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1846 | --includ=* | --inclu=* | --incl=* | --inc=*)
1847 includedir=$ac_optarg ;;
1849 -infodir | --infodir | --infodi | --infod | --info | --inf)
1850 ac_prev=infodir ;;
1851 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1852 infodir=$ac_optarg ;;
1854 -libdir | --libdir | --libdi | --libd)
1855 ac_prev=libdir ;;
1856 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1857 libdir=$ac_optarg ;;
1859 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1860 | --libexe | --libex | --libe)
1861 ac_prev=libexecdir ;;
1862 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1863 | --libexe=* | --libex=* | --libe=*)
1864 libexecdir=$ac_optarg ;;
1866 -localedir | --localedir | --localedi | --localed | --locale)
1867 ac_prev=localedir ;;
1868 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1869 localedir=$ac_optarg ;;
1871 -localstatedir | --localstatedir | --localstatedi | --localstated \
1872 | --localstate | --localstat | --localsta | --localst | --locals)
1873 ac_prev=localstatedir ;;
1874 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1875 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1876 localstatedir=$ac_optarg ;;
1878 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1879 ac_prev=mandir ;;
1880 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1881 mandir=$ac_optarg ;;
1883 -nfp | --nfp | --nf)
1884 # Obsolete; use --without-fp.
1885 with_fp=no ;;
1887 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1888 | --no-cr | --no-c | -n)
1889 no_create=yes ;;
1891 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1892 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1893 no_recursion=yes ;;
1895 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1896 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1897 | --oldin | --oldi | --old | --ol | --o)
1898 ac_prev=oldincludedir ;;
1899 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1900 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1901 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1902 oldincludedir=$ac_optarg ;;
1904 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1905 ac_prev=prefix ;;
1906 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1907 prefix=$ac_optarg ;;
1909 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1910 | --program-pre | --program-pr | --program-p)
1911 ac_prev=program_prefix ;;
1912 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1913 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1914 program_prefix=$ac_optarg ;;
1916 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1917 | --program-suf | --program-su | --program-s)
1918 ac_prev=program_suffix ;;
1919 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1920 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1921 program_suffix=$ac_optarg ;;
1923 -program-transform-name | --program-transform-name \
1924 | --program-transform-nam | --program-transform-na \
1925 | --program-transform-n | --program-transform- \
1926 | --program-transform | --program-transfor \
1927 | --program-transfo | --program-transf \
1928 | --program-trans | --program-tran \
1929 | --progr-tra | --program-tr | --program-t)
1930 ac_prev=program_transform_name ;;
1931 -program-transform-name=* | --program-transform-name=* \
1932 | --program-transform-nam=* | --program-transform-na=* \
1933 | --program-transform-n=* | --program-transform-=* \
1934 | --program-transform=* | --program-transfor=* \
1935 | --program-transfo=* | --program-transf=* \
1936 | --program-trans=* | --program-tran=* \
1937 | --progr-tra=* | --program-tr=* | --program-t=*)
1938 program_transform_name=$ac_optarg ;;
1940 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1941 ac_prev=pdfdir ;;
1942 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1943 pdfdir=$ac_optarg ;;
1945 -psdir | --psdir | --psdi | --psd | --ps)
1946 ac_prev=psdir ;;
1947 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1948 psdir=$ac_optarg ;;
1950 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1951 | -silent | --silent | --silen | --sile | --sil)
1952 silent=yes ;;
1954 -runstatedir | --runstatedir | --runstatedi | --runstated \
1955 | --runstate | --runstat | --runsta | --runst | --runs \
1956 | --run | --ru | --r)
1957 ac_prev=runstatedir ;;
1958 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1959 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1960 | --run=* | --ru=* | --r=*)
1961 runstatedir=$ac_optarg ;;
1963 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1964 ac_prev=sbindir ;;
1965 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1966 | --sbi=* | --sb=*)
1967 sbindir=$ac_optarg ;;
1969 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1970 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1971 | --sharedst | --shareds | --shared | --share | --shar \
1972 | --sha | --sh)
1973 ac_prev=sharedstatedir ;;
1974 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1975 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1976 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1977 | --sha=* | --sh=*)
1978 sharedstatedir=$ac_optarg ;;
1980 -site | --site | --sit)
1981 ac_prev=site ;;
1982 -site=* | --site=* | --sit=*)
1983 site=$ac_optarg ;;
1985 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1986 ac_prev=srcdir ;;
1987 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1988 srcdir=$ac_optarg ;;
1990 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1991 | --syscon | --sysco | --sysc | --sys | --sy)
1992 ac_prev=sysconfdir ;;
1993 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1994 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1995 sysconfdir=$ac_optarg ;;
1997 -target | --target | --targe | --targ | --tar | --ta | --t)
1998 ac_prev=target_alias ;;
1999 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2000 target_alias=$ac_optarg ;;
2002 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2003 verbose=yes ;;
2005 -version | --version | --versio | --versi | --vers | -V)
2006 ac_init_version=: ;;
2008 -with-* | --with-*)
2009 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2010 # Reject names that are not valid shell variable names.
2011 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2012 as_fn_error $? "invalid package name: $ac_useropt"
2013 ac_useropt_orig=$ac_useropt
2014 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2015 case $ac_user_opts in
2017 "with_$ac_useropt"
2018 "*) ;;
2019 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2020 ac_unrecognized_sep=', ';;
2021 esac
2022 eval with_$ac_useropt=\$ac_optarg ;;
2024 -without-* | --without-*)
2025 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2026 # Reject names that are not valid shell variable names.
2027 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2028 as_fn_error $? "invalid package name: $ac_useropt"
2029 ac_useropt_orig=$ac_useropt
2030 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2031 case $ac_user_opts in
2033 "with_$ac_useropt"
2034 "*) ;;
2035 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2036 ac_unrecognized_sep=', ';;
2037 esac
2038 eval with_$ac_useropt=no ;;
2040 --x)
2041 # Obsolete; use --with-x.
2042 with_x=yes ;;
2044 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2045 | --x-incl | --x-inc | --x-in | --x-i)
2046 ac_prev=x_includes ;;
2047 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2048 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2049 x_includes=$ac_optarg ;;
2051 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2052 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2053 ac_prev=x_libraries ;;
2054 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2055 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2056 x_libraries=$ac_optarg ;;
2058 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2059 Try \`$0 --help' for more information"
2062 *=*)
2063 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2064 # Reject names that are not valid shell variable names.
2065 case $ac_envvar in #(
2066 '' | [0-9]* | *[!_$as_cr_alnum]* )
2067 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2068 esac
2069 eval $ac_envvar=\$ac_optarg
2070 export $ac_envvar ;;
2073 # FIXME: should be removed in autoconf 3.0.
2074 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2075 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2076 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2077 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2080 esac
2081 done
2083 if test -n "$ac_prev"; then
2084 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2085 as_fn_error $? "missing argument to $ac_option"
2088 if test -n "$ac_unrecognized_opts"; then
2089 case $enable_option_checking in
2090 no) ;;
2091 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2092 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2093 esac
2096 # Check all directory arguments for consistency.
2097 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2098 datadir sysconfdir sharedstatedir localstatedir includedir \
2099 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2100 libdir localedir mandir runstatedir
2102 eval ac_val=\$$ac_var
2103 # Remove trailing slashes.
2104 case $ac_val in
2105 */ )
2106 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2107 eval $ac_var=\$ac_val;;
2108 esac
2109 # Be sure to have absolute directory names.
2110 case $ac_val in
2111 [\\/$]* | ?:[\\/]* ) continue;;
2112 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2113 esac
2114 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2115 done
2117 # There might be people who depend on the old broken behavior: `$host'
2118 # used to hold the argument of --host etc.
2119 # FIXME: To remove some day.
2120 build=$build_alias
2121 host=$host_alias
2122 target=$target_alias
2124 # FIXME: To remove some day.
2125 if test "x$host_alias" != x; then
2126 if test "x$build_alias" = x; then
2127 cross_compiling=maybe
2128 elif test "x$build_alias" != "x$host_alias"; then
2129 cross_compiling=yes
2133 ac_tool_prefix=
2134 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2136 test "$silent" = yes && exec 6>/dev/null
2139 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2140 ac_ls_di=`ls -di .` &&
2141 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2142 as_fn_error $? "working directory cannot be determined"
2143 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2144 as_fn_error $? "pwd does not report name of working directory"
2147 # Find the source files, if location was not specified.
2148 if test -z "$srcdir"; then
2149 ac_srcdir_defaulted=yes
2150 # Try the directory containing this script, then the parent directory.
2151 ac_confdir=`$as_dirname -- "$as_myself" ||
2152 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2153 X"$as_myself" : 'X\(//\)[^/]' \| \
2154 X"$as_myself" : 'X\(//\)$' \| \
2155 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2156 $as_echo X"$as_myself" |
2157 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2158 s//\1/
2161 /^X\(\/\/\)[^/].*/{
2162 s//\1/
2165 /^X\(\/\/\)$/{
2166 s//\1/
2169 /^X\(\/\).*/{
2170 s//\1/
2173 s/.*/./; q'`
2174 srcdir=$ac_confdir
2175 if test ! -r "$srcdir/$ac_unique_file"; then
2176 srcdir=..
2178 else
2179 ac_srcdir_defaulted=no
2181 if test ! -r "$srcdir/$ac_unique_file"; then
2182 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2183 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2185 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2186 ac_abs_confdir=`(
2187 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2188 pwd)`
2189 # When building in place, set srcdir=.
2190 if test "$ac_abs_confdir" = "$ac_pwd"; then
2191 srcdir=.
2193 # Remove unnecessary trailing slashes from srcdir.
2194 # Double slashes in file names in object file debugging info
2195 # mess up M-x gdb in Emacs.
2196 case $srcdir in
2197 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2198 esac
2199 for ac_var in $ac_precious_vars; do
2200 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2201 eval ac_env_${ac_var}_value=\$${ac_var}
2202 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2203 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2204 done
2207 # Report the --help message.
2209 if test "$ac_init_help" = "long"; then
2210 # Omit some internal or obsolete options to make the list less imposing.
2211 # This message is too long to be a string in the A/UX 3.1 sh.
2212 cat <<_ACEOF
2213 \`configure' configures Wine 1.9.22 to adapt to many kinds of systems.
2215 Usage: $0 [OPTION]... [VAR=VALUE]...
2217 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2218 VAR=VALUE. See below for descriptions of some of the useful variables.
2220 Defaults for the options are specified in brackets.
2222 Configuration:
2223 -h, --help display this help and exit
2224 --help=short display options specific to this package
2225 --help=recursive display the short help of all the included packages
2226 -V, --version display version information and exit
2227 -q, --quiet, --silent do not print \`checking ...' messages
2228 --cache-file=FILE cache test results in FILE [disabled]
2229 -C, --config-cache alias for \`--cache-file=config.cache'
2230 -n, --no-create do not create output files
2231 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2233 Installation directories:
2234 --prefix=PREFIX install architecture-independent files in PREFIX
2235 [$ac_default_prefix]
2236 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2237 [PREFIX]
2239 By default, \`make install' will install all the files in
2240 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2241 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2242 for instance \`--prefix=\$HOME'.
2244 For better control, use the options below.
2246 Fine tuning of the installation directories:
2247 --bindir=DIR user executables [EPREFIX/bin]
2248 --sbindir=DIR system admin executables [EPREFIX/sbin]
2249 --libexecdir=DIR program executables [EPREFIX/libexec]
2250 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2251 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2252 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2253 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2254 --libdir=DIR object code libraries [EPREFIX/lib]
2255 --includedir=DIR C header files [PREFIX/include]
2256 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2257 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2258 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2259 --infodir=DIR info documentation [DATAROOTDIR/info]
2260 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2261 --mandir=DIR man documentation [DATAROOTDIR/man]
2262 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2263 --htmldir=DIR html documentation [DOCDIR]
2264 --dvidir=DIR dvi documentation [DOCDIR]
2265 --pdfdir=DIR pdf documentation [DOCDIR]
2266 --psdir=DIR ps documentation [DOCDIR]
2267 _ACEOF
2269 cat <<\_ACEOF
2271 X features:
2272 --x-includes=DIR X include files are in DIR
2273 --x-libraries=DIR X library files are in DIR
2275 System types:
2276 --build=BUILD configure for building on BUILD [guessed]
2277 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2278 _ACEOF
2281 if test -n "$ac_init_help"; then
2282 case $ac_init_help in
2283 short | recursive ) echo "Configuration of Wine 1.9.22:";;
2284 esac
2285 cat <<\_ACEOF
2287 Optional Features:
2288 --disable-option-checking ignore unrecognized --enable/--with options
2289 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2290 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2291 --disable-win16 do not include Win16 support
2292 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2293 binaries)
2294 --disable-tests do not build the regression tests
2295 --enable-maintainer-mode
2296 enable maintainer-specific build rules
2297 --disable-largefile omit support for large files
2299 Optional Packages:
2300 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2301 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2302 --without-alsa do not use the Alsa sound support
2303 --without-capi do not use CAPI (ISDN support)
2304 --without-cms do not use CMS (color management support)
2305 --without-coreaudio do not use the CoreAudio sound support
2306 --without-cups do not use CUPS
2307 --without-curses do not use (n)curses
2308 --without-dbus do not use DBus (dynamic device support)
2309 --without-fontconfig do not use fontconfig
2310 --without-freetype do not use the FreeType library
2311 --without-gettext do not use gettext
2312 --with-gettextpo use the GetTextPO library to rebuild po files
2313 --without-gphoto do not use gphoto (Digital Camera support)
2314 --without-glu do not use the GLU library
2315 --without-gnutls do not use GnuTLS (schannel support)
2316 --without-gsm do not use libgsm (GSM 06.10 codec support)
2317 --without-gstreamer do not use GStreamer (codecs support)
2318 --without-hal do not use HAL (dynamic device support)
2319 --without-jpeg do not use JPEG
2320 --without-ldap do not use LDAP
2321 --without-mpg123 do not use the mpg123 library
2322 --without-netapi do not use the Samba NetAPI library
2323 --without-openal do not use OpenAL
2324 --without-opencl do not use OpenCL
2325 --without-opengl do not use OpenGL
2326 --without-osmesa do not use the OSMesa library
2327 --without-oss do not use the OSS sound support
2328 --without-pcap do not use the Packet Capture library
2329 --without-png do not use PNG
2330 --without-pthread do not use the pthread library
2331 --without-pulse do not use PulseAudio sound support
2332 --without-sane do not use SANE (scanner support)
2333 --without-tiff do not use TIFF
2334 --without-udev do not use udev (plug and play support)
2335 --without-v4l do not use v4l1 (v4l support)
2336 --without-xcomposite do not use the Xcomposite extension
2337 --without-xcursor do not use the Xcursor extension
2338 --without-xinerama do not use Xinerama (multi-monitor support)
2339 --without-xinput do not use the Xinput extension
2340 --without-xinput2 do not use the Xinput 2 extension
2341 --without-xml do not use XML
2342 --without-xrandr do not use Xrandr (resolution changes)
2343 --without-xrender do not use the Xrender extension
2344 --without-xshape do not use the Xshape extension
2345 --without-xshm do not use XShm (shared memory extension)
2346 --without-xslt do not use XSLT
2347 --without-xxf86vm do not use XFree video mode extension
2348 --without-zlib do not use Zlib (data compression)
2349 --with-wine-tools=DIR use Wine tools from directory DIR
2350 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2351 --with-x use the X Window System
2353 Some influential environment variables:
2354 CC C compiler command
2355 CFLAGS C compiler flags
2356 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2357 nonstandard directory <lib dir>
2358 LIBS libraries to pass to the linker, e.g. -l<library>
2359 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2360 you have headers in a nonstandard directory <include dir>
2361 CXX C++ compiler command
2362 CXXFLAGS C++ compiler flags
2363 CPP C preprocessor
2364 XMKMF Path to xmkmf, Makefile generator for X Window System
2365 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2366 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2367 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2368 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2369 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2370 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2371 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2372 HAL_LIBS Linker flags for hal, overriding pkg-config
2373 GNUTLS_CFLAGS
2374 C compiler flags for gnutls, overriding pkg-config
2375 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2376 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2377 SANE_LIBS Linker flags for libsane, overriding pkg-config
2378 GPHOTO2_CFLAGS
2379 C compiler flags for libgphoto2, overriding pkg-config
2380 GPHOTO2_LIBS
2381 Linker flags for libgphoto2, overriding pkg-config
2382 GPHOTO2_PORT_CFLAGS
2383 C compiler flags for libgphoto2_port, overriding pkg-config
2384 GPHOTO2_PORT_LIBS
2385 Linker flags for libgphoto2_port, overriding pkg-config
2386 LCMS2_CFLAGS
2387 C compiler flags for lcms2, overriding pkg-config
2388 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2389 FREETYPE_CFLAGS
2390 C compiler flags for freetype2, overriding pkg-config
2391 FREETYPE_LIBS
2392 Linker flags for freetype2, overriding pkg-config
2393 PULSE_CFLAGS
2394 C compiler flags for libpulse, overriding pkg-config
2395 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2396 GSTREAMER_CFLAGS
2397 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2398 gstreamer-audio-1.0, overriding pkg-config
2399 GSTREAMER_LIBS
2400 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2401 gstreamer-audio-1.0, overriding pkg-config
2402 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2403 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2404 CAPI20_CFLAGS
2405 C compiler flags for capi20, overriding pkg-config
2406 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2407 FONTCONFIG_CFLAGS
2408 C compiler flags for fontconfig, overriding pkg-config
2409 FONTCONFIG_LIBS
2410 Linker flags for fontconfig, overriding pkg-config
2411 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2412 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2413 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2414 PNG_LIBS Linker flags for libpng, overriding pkg-config
2415 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2416 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2417 MPG123_CFLAGS
2418 C compiler flags for libmpg123, overriding pkg-config
2419 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2420 NETAPI_CFLAGS
2421 C compiler flags for netapi, overriding pkg-config
2422 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2424 Use these variables to override the choices made by `configure' or to help
2425 it to find libraries and programs with nonstandard names/locations.
2427 Report bugs to <wine-devel@winehq.org>.
2428 Wine home page: <http://www.winehq.org>.
2429 _ACEOF
2430 ac_status=$?
2433 if test "$ac_init_help" = "recursive"; then
2434 # If there are subdirs, report their specific --help.
2435 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2436 test -d "$ac_dir" ||
2437 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2438 continue
2439 ac_builddir=.
2441 case "$ac_dir" in
2442 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2444 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2445 # A ".." for each directory in $ac_dir_suffix.
2446 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2447 case $ac_top_builddir_sub in
2448 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2449 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2450 esac ;;
2451 esac
2452 ac_abs_top_builddir=$ac_pwd
2453 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2454 # for backward compatibility:
2455 ac_top_builddir=$ac_top_build_prefix
2457 case $srcdir in
2458 .) # We are building in place.
2459 ac_srcdir=.
2460 ac_top_srcdir=$ac_top_builddir_sub
2461 ac_abs_top_srcdir=$ac_pwd ;;
2462 [\\/]* | ?:[\\/]* ) # Absolute name.
2463 ac_srcdir=$srcdir$ac_dir_suffix;
2464 ac_top_srcdir=$srcdir
2465 ac_abs_top_srcdir=$srcdir ;;
2466 *) # Relative name.
2467 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2468 ac_top_srcdir=$ac_top_build_prefix$srcdir
2469 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2470 esac
2471 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2473 cd "$ac_dir" || { ac_status=$?; continue; }
2474 # Check for guested configure.
2475 if test -f "$ac_srcdir/configure.gnu"; then
2476 echo &&
2477 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2478 elif test -f "$ac_srcdir/configure"; then
2479 echo &&
2480 $SHELL "$ac_srcdir/configure" --help=recursive
2481 else
2482 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2483 fi || ac_status=$?
2484 cd "$ac_pwd" || { ac_status=$?; break; }
2485 done
2488 test -n "$ac_init_help" && exit $ac_status
2489 if $ac_init_version; then
2490 cat <<\_ACEOF
2491 Wine configure 1.9.22
2492 generated by GNU Autoconf 2.69
2494 Copyright (C) 2012 Free Software Foundation, Inc.
2495 This configure script is free software; the Free Software Foundation
2496 gives unlimited permission to copy, distribute and modify it.
2497 _ACEOF
2498 exit
2501 ## ------------------------ ##
2502 ## Autoconf initialization. ##
2503 ## ------------------------ ##
2505 # ac_fn_c_try_compile LINENO
2506 # --------------------------
2507 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2508 ac_fn_c_try_compile ()
2510 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2511 rm -f conftest.$ac_objext
2512 if { { ac_try="$ac_compile"
2513 case "(($ac_try" in
2514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2515 *) ac_try_echo=$ac_try;;
2516 esac
2517 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2518 $as_echo "$ac_try_echo"; } >&5
2519 (eval "$ac_compile") 2>conftest.err
2520 ac_status=$?
2521 if test -s conftest.err; then
2522 grep -v '^ *+' conftest.err >conftest.er1
2523 cat conftest.er1 >&5
2524 mv -f conftest.er1 conftest.err
2526 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2527 test $ac_status = 0; } && {
2528 test -z "$ac_c_werror_flag" ||
2529 test ! -s conftest.err
2530 } && test -s conftest.$ac_objext; then :
2531 ac_retval=0
2532 else
2533 $as_echo "$as_me: failed program was:" >&5
2534 sed 's/^/| /' conftest.$ac_ext >&5
2536 ac_retval=1
2538 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2539 as_fn_set_status $ac_retval
2541 } # ac_fn_c_try_compile
2543 # ac_fn_cxx_try_compile LINENO
2544 # ----------------------------
2545 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2546 ac_fn_cxx_try_compile ()
2548 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2549 rm -f conftest.$ac_objext
2550 if { { ac_try="$ac_compile"
2551 case "(($ac_try" in
2552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2553 *) ac_try_echo=$ac_try;;
2554 esac
2555 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2556 $as_echo "$ac_try_echo"; } >&5
2557 (eval "$ac_compile") 2>conftest.err
2558 ac_status=$?
2559 if test -s conftest.err; then
2560 grep -v '^ *+' conftest.err >conftest.er1
2561 cat conftest.er1 >&5
2562 mv -f conftest.er1 conftest.err
2564 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2565 test $ac_status = 0; } && {
2566 test -z "$ac_cxx_werror_flag" ||
2567 test ! -s conftest.err
2568 } && test -s conftest.$ac_objext; then :
2569 ac_retval=0
2570 else
2571 $as_echo "$as_me: failed program was:" >&5
2572 sed 's/^/| /' conftest.$ac_ext >&5
2574 ac_retval=1
2576 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2577 as_fn_set_status $ac_retval
2579 } # ac_fn_cxx_try_compile
2581 # ac_fn_c_try_link LINENO
2582 # -----------------------
2583 # Try to link conftest.$ac_ext, and return whether this succeeded.
2584 ac_fn_c_try_link ()
2586 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2587 rm -f conftest.$ac_objext conftest$ac_exeext
2588 if { { ac_try="$ac_link"
2589 case "(($ac_try" in
2590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2591 *) ac_try_echo=$ac_try;;
2592 esac
2593 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2594 $as_echo "$ac_try_echo"; } >&5
2595 (eval "$ac_link") 2>conftest.err
2596 ac_status=$?
2597 if test -s conftest.err; then
2598 grep -v '^ *+' conftest.err >conftest.er1
2599 cat conftest.er1 >&5
2600 mv -f conftest.er1 conftest.err
2602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2603 test $ac_status = 0; } && {
2604 test -z "$ac_c_werror_flag" ||
2605 test ! -s conftest.err
2606 } && test -s conftest$ac_exeext && {
2607 test "$cross_compiling" = yes ||
2608 test -x conftest$ac_exeext
2609 }; then :
2610 ac_retval=0
2611 else
2612 $as_echo "$as_me: failed program was:" >&5
2613 sed 's/^/| /' conftest.$ac_ext >&5
2615 ac_retval=1
2617 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2618 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2619 # interfere with the next link command; also delete a directory that is
2620 # left behind by Apple's compiler. We do this before executing the actions.
2621 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2622 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2623 as_fn_set_status $ac_retval
2625 } # ac_fn_c_try_link
2627 # ac_fn_c_try_cpp LINENO
2628 # ----------------------
2629 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2630 ac_fn_c_try_cpp ()
2632 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2633 if { { ac_try="$ac_cpp conftest.$ac_ext"
2634 case "(($ac_try" in
2635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2636 *) ac_try_echo=$ac_try;;
2637 esac
2638 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2639 $as_echo "$ac_try_echo"; } >&5
2640 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2641 ac_status=$?
2642 if test -s conftest.err; then
2643 grep -v '^ *+' conftest.err >conftest.er1
2644 cat conftest.er1 >&5
2645 mv -f conftest.er1 conftest.err
2647 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2648 test $ac_status = 0; } > conftest.i && {
2649 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2650 test ! -s conftest.err
2651 }; then :
2652 ac_retval=0
2653 else
2654 $as_echo "$as_me: failed program was:" >&5
2655 sed 's/^/| /' conftest.$ac_ext >&5
2657 ac_retval=1
2659 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2660 as_fn_set_status $ac_retval
2662 } # ac_fn_c_try_cpp
2664 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2665 # -------------------------------------------------------
2666 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2667 # the include files in INCLUDES and setting the cache variable VAR
2668 # accordingly.
2669 ac_fn_c_check_header_mongrel ()
2671 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2672 if eval \${$3+:} false; then :
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2674 $as_echo_n "checking for $2... " >&6; }
2675 if eval \${$3+:} false; then :
2676 $as_echo_n "(cached) " >&6
2678 eval ac_res=\$$3
2679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2680 $as_echo "$ac_res" >&6; }
2681 else
2682 # Is the header compilable?
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2684 $as_echo_n "checking $2 usability... " >&6; }
2685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2686 /* end confdefs.h. */
2688 #include <$2>
2689 _ACEOF
2690 if ac_fn_c_try_compile "$LINENO"; then :
2691 ac_header_compiler=yes
2692 else
2693 ac_header_compiler=no
2695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2697 $as_echo "$ac_header_compiler" >&6; }
2699 # Is the header present?
2700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2701 $as_echo_n "checking $2 presence... " >&6; }
2702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2703 /* end confdefs.h. */
2704 #include <$2>
2705 _ACEOF
2706 if ac_fn_c_try_cpp "$LINENO"; then :
2707 ac_header_preproc=yes
2708 else
2709 ac_header_preproc=no
2711 rm -f conftest.err conftest.i conftest.$ac_ext
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2713 $as_echo "$ac_header_preproc" >&6; }
2715 # So? What about this header?
2716 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2717 yes:no: )
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2719 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2721 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2723 no:yes:* )
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2725 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2727 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2729 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2731 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2733 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2734 ( $as_echo "## ------------------------------------ ##
2735 ## Report this to wine-devel@winehq.org ##
2736 ## ------------------------------------ ##"
2737 ) | sed "s/^/$as_me: WARNING: /" >&2
2739 esac
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2741 $as_echo_n "checking for $2... " >&6; }
2742 if eval \${$3+:} false; then :
2743 $as_echo_n "(cached) " >&6
2744 else
2745 eval "$3=\$ac_header_compiler"
2747 eval ac_res=\$$3
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2749 $as_echo "$ac_res" >&6; }
2751 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2753 } # ac_fn_c_check_header_mongrel
2755 # ac_fn_c_try_run LINENO
2756 # ----------------------
2757 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2758 # that executables *can* be run.
2759 ac_fn_c_try_run ()
2761 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2762 if { { ac_try="$ac_link"
2763 case "(($ac_try" in
2764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2765 *) ac_try_echo=$ac_try;;
2766 esac
2767 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2768 $as_echo "$ac_try_echo"; } >&5
2769 (eval "$ac_link") 2>&5
2770 ac_status=$?
2771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2772 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2773 { { case "(($ac_try" in
2774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2775 *) ac_try_echo=$ac_try;;
2776 esac
2777 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2778 $as_echo "$ac_try_echo"; } >&5
2779 (eval "$ac_try") 2>&5
2780 ac_status=$?
2781 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2782 test $ac_status = 0; }; }; then :
2783 ac_retval=0
2784 else
2785 $as_echo "$as_me: program exited with status $ac_status" >&5
2786 $as_echo "$as_me: failed program was:" >&5
2787 sed 's/^/| /' conftest.$ac_ext >&5
2789 ac_retval=$ac_status
2791 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2792 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2793 as_fn_set_status $ac_retval
2795 } # ac_fn_c_try_run
2797 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2798 # -------------------------------------------------------
2799 # Tests whether HEADER exists and can be compiled using the include files in
2800 # INCLUDES, setting the cache variable VAR accordingly.
2801 ac_fn_c_check_header_compile ()
2803 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2805 $as_echo_n "checking for $2... " >&6; }
2806 if eval \${$3+:} false; then :
2807 $as_echo_n "(cached) " >&6
2808 else
2809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2810 /* end confdefs.h. */
2812 #include <$2>
2813 _ACEOF
2814 if ac_fn_c_try_compile "$LINENO"; then :
2815 eval "$3=yes"
2816 else
2817 eval "$3=no"
2819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2821 eval ac_res=\$$3
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2823 $as_echo "$ac_res" >&6; }
2824 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2826 } # ac_fn_c_check_header_compile
2828 # ac_fn_c_check_func LINENO FUNC VAR
2829 # ----------------------------------
2830 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2831 ac_fn_c_check_func ()
2833 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2835 $as_echo_n "checking for $2... " >&6; }
2836 if eval \${$3+:} false; then :
2837 $as_echo_n "(cached) " >&6
2838 else
2839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2840 /* end confdefs.h. */
2841 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2842 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2843 #define $2 innocuous_$2
2845 /* System header to define __stub macros and hopefully few prototypes,
2846 which can conflict with char $2 (); below.
2847 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2848 <limits.h> exists even on freestanding compilers. */
2850 #ifdef __STDC__
2851 # include <limits.h>
2852 #else
2853 # include <assert.h>
2854 #endif
2856 #undef $2
2858 /* Override any GCC internal prototype to avoid an error.
2859 Use char because int might match the return type of a GCC
2860 builtin and then its argument prototype would still apply. */
2861 #ifdef __cplusplus
2862 extern "C"
2863 #endif
2864 char $2 ();
2865 /* The GNU C library defines this for functions which it implements
2866 to always fail with ENOSYS. Some functions are actually named
2867 something starting with __ and the normal name is an alias. */
2868 #if defined __stub_$2 || defined __stub___$2
2869 choke me
2870 #endif
2873 main ()
2875 return $2 ();
2877 return 0;
2879 _ACEOF
2880 if ac_fn_c_try_link "$LINENO"; then :
2881 eval "$3=yes"
2882 else
2883 eval "$3=no"
2885 rm -f core conftest.err conftest.$ac_objext \
2886 conftest$ac_exeext conftest.$ac_ext
2888 eval ac_res=\$$3
2889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2890 $as_echo "$ac_res" >&6; }
2891 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2893 } # ac_fn_c_check_func
2895 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2896 # ----------------------------------------------------
2897 # Tries to find if the field MEMBER exists in type AGGR, after including
2898 # INCLUDES, setting cache variable VAR accordingly.
2899 ac_fn_c_check_member ()
2901 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2903 $as_echo_n "checking for $2.$3... " >&6; }
2904 if eval \${$4+:} false; then :
2905 $as_echo_n "(cached) " >&6
2906 else
2907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2908 /* end confdefs.h. */
2911 main ()
2913 static $2 ac_aggr;
2914 if (ac_aggr.$3)
2915 return 0;
2917 return 0;
2919 _ACEOF
2920 if ac_fn_c_try_compile "$LINENO"; then :
2921 eval "$4=yes"
2922 else
2923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2924 /* end confdefs.h. */
2927 main ()
2929 static $2 ac_aggr;
2930 if (sizeof ac_aggr.$3)
2931 return 0;
2933 return 0;
2935 _ACEOF
2936 if ac_fn_c_try_compile "$LINENO"; then :
2937 eval "$4=yes"
2938 else
2939 eval "$4=no"
2941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2945 eval ac_res=\$$4
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2947 $as_echo "$ac_res" >&6; }
2948 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2950 } # ac_fn_c_check_member
2952 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2953 # -------------------------------------------
2954 # Tests whether TYPE exists after having included INCLUDES, setting cache
2955 # variable VAR accordingly.
2956 ac_fn_c_check_type ()
2958 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2960 $as_echo_n "checking for $2... " >&6; }
2961 if eval \${$3+:} false; then :
2962 $as_echo_n "(cached) " >&6
2963 else
2964 eval "$3=no"
2965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2966 /* end confdefs.h. */
2969 main ()
2971 if (sizeof ($2))
2972 return 0;
2974 return 0;
2976 _ACEOF
2977 if ac_fn_c_try_compile "$LINENO"; then :
2978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2979 /* end confdefs.h. */
2982 main ()
2984 if (sizeof (($2)))
2985 return 0;
2987 return 0;
2989 _ACEOF
2990 if ac_fn_c_try_compile "$LINENO"; then :
2992 else
2993 eval "$3=yes"
2995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2999 eval ac_res=\$$3
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3001 $as_echo "$ac_res" >&6; }
3002 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3004 } # ac_fn_c_check_type
3005 cat >config.log <<_ACEOF
3006 This file contains any messages produced by compilers while
3007 running configure, to aid debugging if configure makes a mistake.
3009 It was created by Wine $as_me 1.9.22, which was
3010 generated by GNU Autoconf 2.69. Invocation command line was
3012 $ $0 $@
3014 _ACEOF
3015 exec 5>>config.log
3017 cat <<_ASUNAME
3018 ## --------- ##
3019 ## Platform. ##
3020 ## --------- ##
3022 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3023 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3024 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3025 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3026 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3028 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3029 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3031 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3032 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3033 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3034 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3035 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3036 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3037 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3039 _ASUNAME
3041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3042 for as_dir in $PATH
3044 IFS=$as_save_IFS
3045 test -z "$as_dir" && as_dir=.
3046 $as_echo "PATH: $as_dir"
3047 done
3048 IFS=$as_save_IFS
3050 } >&5
3052 cat >&5 <<_ACEOF
3055 ## ----------- ##
3056 ## Core tests. ##
3057 ## ----------- ##
3059 _ACEOF
3062 # Keep a trace of the command line.
3063 # Strip out --no-create and --no-recursion so they do not pile up.
3064 # Strip out --silent because we don't want to record it for future runs.
3065 # Also quote any args containing shell meta-characters.
3066 # Make two passes to allow for proper duplicate-argument suppression.
3067 ac_configure_args=
3068 ac_configure_args0=
3069 ac_configure_args1=
3070 ac_must_keep_next=false
3071 for ac_pass in 1 2
3073 for ac_arg
3075 case $ac_arg in
3076 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3077 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3078 | -silent | --silent | --silen | --sile | --sil)
3079 continue ;;
3080 *\'*)
3081 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3082 esac
3083 case $ac_pass in
3084 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3086 as_fn_append ac_configure_args1 " '$ac_arg'"
3087 if test $ac_must_keep_next = true; then
3088 ac_must_keep_next=false # Got value, back to normal.
3089 else
3090 case $ac_arg in
3091 *=* | --config-cache | -C | -disable-* | --disable-* \
3092 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3093 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3094 | -with-* | --with-* | -without-* | --without-* | --x)
3095 case "$ac_configure_args0 " in
3096 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3097 esac
3099 -* ) ac_must_keep_next=true ;;
3100 esac
3102 as_fn_append ac_configure_args " '$ac_arg'"
3104 esac
3105 done
3106 done
3107 { ac_configure_args0=; unset ac_configure_args0;}
3108 { ac_configure_args1=; unset ac_configure_args1;}
3110 # When interrupted or exit'd, cleanup temporary files, and complete
3111 # config.log. We remove comments because anyway the quotes in there
3112 # would cause problems or look ugly.
3113 # WARNING: Use '\'' to represent an apostrophe within the trap.
3114 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3115 trap 'exit_status=$?
3116 # Save into config.log some information that might help in debugging.
3118 echo
3120 $as_echo "## ---------------- ##
3121 ## Cache variables. ##
3122 ## ---------------- ##"
3123 echo
3124 # The following way of writing the cache mishandles newlines in values,
3126 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3127 eval ac_val=\$$ac_var
3128 case $ac_val in #(
3129 *${as_nl}*)
3130 case $ac_var in #(
3131 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3132 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3133 esac
3134 case $ac_var in #(
3135 _ | IFS | as_nl) ;; #(
3136 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3137 *) { eval $ac_var=; unset $ac_var;} ;;
3138 esac ;;
3139 esac
3140 done
3141 (set) 2>&1 |
3142 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3143 *${as_nl}ac_space=\ *)
3144 sed -n \
3145 "s/'\''/'\''\\\\'\'''\''/g;
3146 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3147 ;; #(
3149 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3151 esac |
3152 sort
3154 echo
3156 $as_echo "## ----------------- ##
3157 ## Output variables. ##
3158 ## ----------------- ##"
3159 echo
3160 for ac_var in $ac_subst_vars
3162 eval ac_val=\$$ac_var
3163 case $ac_val in
3164 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3165 esac
3166 $as_echo "$ac_var='\''$ac_val'\''"
3167 done | sort
3168 echo
3170 if test -n "$ac_subst_files"; then
3171 $as_echo "## ------------------- ##
3172 ## File substitutions. ##
3173 ## ------------------- ##"
3174 echo
3175 for ac_var in $ac_subst_files
3177 eval ac_val=\$$ac_var
3178 case $ac_val in
3179 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3180 esac
3181 $as_echo "$ac_var='\''$ac_val'\''"
3182 done | sort
3183 echo
3186 if test -s confdefs.h; then
3187 $as_echo "## ----------- ##
3188 ## confdefs.h. ##
3189 ## ----------- ##"
3190 echo
3191 cat confdefs.h
3192 echo
3194 test "$ac_signal" != 0 &&
3195 $as_echo "$as_me: caught signal $ac_signal"
3196 $as_echo "$as_me: exit $exit_status"
3197 } >&5
3198 rm -f core *.core core.conftest.* &&
3199 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3200 exit $exit_status
3202 for ac_signal in 1 2 13 15; do
3203 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3204 done
3205 ac_signal=0
3207 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3208 rm -f -r conftest* confdefs.h
3210 $as_echo "/* confdefs.h */" > confdefs.h
3212 # Predefined preprocessor variables.
3214 cat >>confdefs.h <<_ACEOF
3215 #define PACKAGE_NAME "$PACKAGE_NAME"
3216 _ACEOF
3218 cat >>confdefs.h <<_ACEOF
3219 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3220 _ACEOF
3222 cat >>confdefs.h <<_ACEOF
3223 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3224 _ACEOF
3226 cat >>confdefs.h <<_ACEOF
3227 #define PACKAGE_STRING "$PACKAGE_STRING"
3228 _ACEOF
3230 cat >>confdefs.h <<_ACEOF
3231 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3232 _ACEOF
3234 cat >>confdefs.h <<_ACEOF
3235 #define PACKAGE_URL "$PACKAGE_URL"
3236 _ACEOF
3239 # Let the site file select an alternate cache file if it wants to.
3240 # Prefer an explicitly selected file to automatically selected ones.
3241 ac_site_file1=NONE
3242 ac_site_file2=NONE
3243 if test -n "$CONFIG_SITE"; then
3244 # We do not want a PATH search for config.site.
3245 case $CONFIG_SITE in #((
3246 -*) ac_site_file1=./$CONFIG_SITE;;
3247 */*) ac_site_file1=$CONFIG_SITE;;
3248 *) ac_site_file1=./$CONFIG_SITE;;
3249 esac
3250 elif test "x$prefix" != xNONE; then
3251 ac_site_file1=$prefix/share/config.site
3252 ac_site_file2=$prefix/etc/config.site
3253 else
3254 ac_site_file1=$ac_default_prefix/share/config.site
3255 ac_site_file2=$ac_default_prefix/etc/config.site
3257 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3259 test "x$ac_site_file" = xNONE && continue
3260 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3262 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3263 sed 's/^/| /' "$ac_site_file" >&5
3264 . "$ac_site_file" \
3265 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3266 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3267 as_fn_error $? "failed to load site script $ac_site_file
3268 See \`config.log' for more details" "$LINENO" 5; }
3270 done
3272 if test -r "$cache_file"; then
3273 # Some versions of bash will fail to source /dev/null (special files
3274 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3275 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3277 $as_echo "$as_me: loading cache $cache_file" >&6;}
3278 case $cache_file in
3279 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3280 *) . "./$cache_file";;
3281 esac
3283 else
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3285 $as_echo "$as_me: creating cache $cache_file" >&6;}
3286 >$cache_file
3289 # Check that the precious variables saved in the cache have kept the same
3290 # value.
3291 ac_cache_corrupted=false
3292 for ac_var in $ac_precious_vars; do
3293 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3294 eval ac_new_set=\$ac_env_${ac_var}_set
3295 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3296 eval ac_new_val=\$ac_env_${ac_var}_value
3297 case $ac_old_set,$ac_new_set in
3298 set,)
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3300 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3301 ac_cache_corrupted=: ;;
3302 ,set)
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3304 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3305 ac_cache_corrupted=: ;;
3306 ,);;
3308 if test "x$ac_old_val" != "x$ac_new_val"; then
3309 # differences in whitespace do not lead to failure.
3310 ac_old_val_w=`echo x $ac_old_val`
3311 ac_new_val_w=`echo x $ac_new_val`
3312 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3314 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3315 ac_cache_corrupted=:
3316 else
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3318 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3319 eval $ac_var=\$ac_old_val
3321 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3322 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3324 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3325 fi;;
3326 esac
3327 # Pass precious variables to config.status.
3328 if test "$ac_new_set" = set; then
3329 case $ac_new_val in
3330 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3331 *) ac_arg=$ac_var=$ac_new_val ;;
3332 esac
3333 case " $ac_configure_args " in
3334 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3335 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3336 esac
3338 done
3339 if $ac_cache_corrupted; then
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3341 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3343 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3344 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3346 ## -------------------- ##
3347 ## Main body of script. ##
3348 ## -------------------- ##
3350 ac_ext=c
3351 ac_cpp='$CPP $CPPFLAGS'
3352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3358 ac_config_headers="$ac_config_headers include/config.h"
3360 ac_aux_dir=
3361 for ac_dir in tools "$srcdir"/tools; do
3362 if test -f "$ac_dir/install-sh"; then
3363 ac_aux_dir=$ac_dir
3364 ac_install_sh="$ac_aux_dir/install-sh -c"
3365 break
3366 elif test -f "$ac_dir/install.sh"; then
3367 ac_aux_dir=$ac_dir
3368 ac_install_sh="$ac_aux_dir/install.sh -c"
3369 break
3370 elif test -f "$ac_dir/shtool"; then
3371 ac_aux_dir=$ac_dir
3372 ac_install_sh="$ac_aux_dir/shtool install -c"
3373 break
3375 done
3376 if test -z "$ac_aux_dir"; then
3377 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3380 # These three variables are undocumented and unsupported,
3381 # and are intended to be withdrawn in a future Autoconf release.
3382 # They can cause serious problems if a builder's source tree is in a directory
3383 # whose full name contains unusual characters.
3384 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3385 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3386 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3390 libwine_version="1.0"
3394 # Check whether --enable-win16 was given.
3395 if test "${enable_win16+set}" = set; then :
3396 enableval=$enable_win16;
3399 # Check whether --enable-win64 was given.
3400 if test "${enable_win64+set}" = set; then :
3401 enableval=$enable_win64;
3404 # Check whether --enable-tests was given.
3405 if test "${enable_tests+set}" = set; then :
3406 enableval=$enable_tests;
3409 # Check whether --enable-maintainer-mode was given.
3410 if test "${enable_maintainer_mode+set}" = set; then :
3411 enableval=$enable_maintainer_mode;
3416 # Check whether --with-alsa was given.
3417 if test "${with_alsa+set}" = set; then :
3418 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3422 # Check whether --with-capi was given.
3423 if test "${with_capi+set}" = set; then :
3424 withval=$with_capi;
3428 # Check whether --with-cms was given.
3429 if test "${with_cms+set}" = set; then :
3430 withval=$with_cms;
3434 # Check whether --with-coreaudio was given.
3435 if test "${with_coreaudio+set}" = set; then :
3436 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3440 # Check whether --with-cups was given.
3441 if test "${with_cups+set}" = set; then :
3442 withval=$with_cups;
3446 # Check whether --with-curses was given.
3447 if test "${with_curses+set}" = set; then :
3448 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3452 # Check whether --with-dbus was given.
3453 if test "${with_dbus+set}" = set; then :
3454 withval=$with_dbus;
3458 # Check whether --with-fontconfig was given.
3459 if test "${with_fontconfig+set}" = set; then :
3460 withval=$with_fontconfig;
3464 # Check whether --with-freetype was given.
3465 if test "${with_freetype+set}" = set; then :
3466 withval=$with_freetype;
3470 # Check whether --with-gettext was given.
3471 if test "${with_gettext+set}" = set; then :
3472 withval=$with_gettext;
3476 # Check whether --with-gettextpo was given.
3477 if test "${with_gettextpo+set}" = set; then :
3478 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3482 # Check whether --with-gphoto was given.
3483 if test "${with_gphoto+set}" = set; then :
3484 withval=$with_gphoto;
3488 # Check whether --with-glu was given.
3489 if test "${with_glu+set}" = set; then :
3490 withval=$with_glu;
3494 # Check whether --with-gnutls was given.
3495 if test "${with_gnutls+set}" = set; then :
3496 withval=$with_gnutls;
3500 # Check whether --with-gsm was given.
3501 if test "${with_gsm+set}" = set; then :
3502 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3506 # Check whether --with-gstreamer was given.
3507 if test "${with_gstreamer+set}" = set; then :
3508 withval=$with_gstreamer;
3512 # Check whether --with-hal was given.
3513 if test "${with_hal+set}" = set; then :
3514 withval=$with_hal;
3518 # Check whether --with-jpeg was given.
3519 if test "${with_jpeg+set}" = set; then :
3520 withval=$with_jpeg;
3524 # Check whether --with-ldap was given.
3525 if test "${with_ldap+set}" = set; then :
3526 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3530 # Check whether --with-mpg123 was given.
3531 if test "${with_mpg123+set}" = set; then :
3532 withval=$with_mpg123;
3536 # Check whether --with-netapi was given.
3537 if test "${with_netapi+set}" = set; then :
3538 withval=$with_netapi;
3542 # Check whether --with-openal was given.
3543 if test "${with_openal+set}" = set; then :
3544 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3548 # Check whether --with-opencl was given.
3549 if test "${with_opencl+set}" = set; then :
3550 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3554 # Check whether --with-opengl was given.
3555 if test "${with_opengl+set}" = set; then :
3556 withval=$with_opengl;
3560 # Check whether --with-osmesa was given.
3561 if test "${with_osmesa+set}" = set; then :
3562 withval=$with_osmesa;
3566 # Check whether --with-oss was given.
3567 if test "${with_oss+set}" = set; then :
3568 withval=$with_oss;
3572 # Check whether --with-pcap was given.
3573 if test "${with_pcap+set}" = set; then :
3574 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3578 # Check whether --with-png was given.
3579 if test "${with_png+set}" = set; then :
3580 withval=$with_png;
3584 # Check whether --with-pthread was given.
3585 if test "${with_pthread+set}" = set; then :
3586 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3590 # Check whether --with-pulse was given.
3591 if test "${with_pulse+set}" = set; then :
3592 withval=$with_pulse;
3596 # Check whether --with-sane was given.
3597 if test "${with_sane+set}" = set; then :
3598 withval=$with_sane;
3602 # Check whether --with-tiff was given.
3603 if test "${with_tiff+set}" = set; then :
3604 withval=$with_tiff;
3608 # Check whether --with-udev was given.
3609 if test "${with_udev+set}" = set; then :
3610 withval=$with_udev;
3614 # Check whether --with-v4l was given.
3615 if test "${with_v4l+set}" = set; then :
3616 withval=$with_v4l;
3620 # Check whether --with-xcomposite was given.
3621 if test "${with_xcomposite+set}" = set; then :
3622 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3626 # Check whether --with-xcursor was given.
3627 if test "${with_xcursor+set}" = set; then :
3628 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3632 # Check whether --with-xinerama was given.
3633 if test "${with_xinerama+set}" = set; then :
3634 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3638 # Check whether --with-xinput was given.
3639 if test "${with_xinput+set}" = set; then :
3640 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3644 # Check whether --with-xinput2 was given.
3645 if test "${with_xinput2+set}" = set; then :
3646 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3650 # Check whether --with-xml was given.
3651 if test "${with_xml+set}" = set; then :
3652 withval=$with_xml;
3656 # Check whether --with-xrandr was given.
3657 if test "${with_xrandr+set}" = set; then :
3658 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3662 # Check whether --with-xrender was given.
3663 if test "${with_xrender+set}" = set; then :
3664 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3668 # Check whether --with-xshape was given.
3669 if test "${with_xshape+set}" = set; then :
3670 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3674 # Check whether --with-xshm was given.
3675 if test "${with_xshm+set}" = set; then :
3676 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3680 # Check whether --with-xslt was given.
3681 if test "${with_xslt+set}" = set; then :
3682 withval=$with_xslt;
3686 # Check whether --with-xxf86vm was given.
3687 if test "${with_xxf86vm+set}" = set; then :
3688 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
3692 # Check whether --with-zlib was given.
3693 if test "${with_zlib+set}" = set; then :
3694 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3699 # Check whether --with-wine-tools was given.
3700 if test "${with_wine_tools+set}" = set; then :
3701 withval=$with_wine_tools;
3705 # Check whether --with-wine64 was given.
3706 if test "${with_wine64+set}" = set; then :
3707 withval=$with_wine64;
3711 # Make sure we can run config.sub.
3712 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3713 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3716 $as_echo_n "checking build system type... " >&6; }
3717 if ${ac_cv_build+:} false; then :
3718 $as_echo_n "(cached) " >&6
3719 else
3720 ac_build_alias=$build_alias
3721 test "x$ac_build_alias" = x &&
3722 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3723 test "x$ac_build_alias" = x &&
3724 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3725 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3726 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3730 $as_echo "$ac_cv_build" >&6; }
3731 case $ac_cv_build in
3732 *-*-*) ;;
3733 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3734 esac
3735 build=$ac_cv_build
3736 ac_save_IFS=$IFS; IFS='-'
3737 set x $ac_cv_build
3738 shift
3739 build_cpu=$1
3740 build_vendor=$2
3741 shift; shift
3742 # Remember, the first character of IFS is used to create $*,
3743 # except with old shells:
3744 build_os=$*
3745 IFS=$ac_save_IFS
3746 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3750 $as_echo_n "checking host system type... " >&6; }
3751 if ${ac_cv_host+:} false; then :
3752 $as_echo_n "(cached) " >&6
3753 else
3754 if test "x$host_alias" = x; then
3755 ac_cv_host=$ac_cv_build
3756 else
3757 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3758 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3763 $as_echo "$ac_cv_host" >&6; }
3764 case $ac_cv_host in
3765 *-*-*) ;;
3766 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3767 esac
3768 host=$ac_cv_host
3769 ac_save_IFS=$IFS; IFS='-'
3770 set x $ac_cv_host
3771 shift
3772 host_cpu=$1
3773 host_vendor=$2
3774 shift; shift
3775 # Remember, the first character of IFS is used to create $*,
3776 # except with old shells:
3777 host_os=$*
3778 IFS=$ac_save_IFS
3779 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3783 case "$srcdir" in
3784 .) ;;
3785 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3786 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3787 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3788 fi ;;
3789 esac
3792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3793 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3794 set x ${MAKE-make}
3795 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3796 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3797 $as_echo_n "(cached) " >&6
3798 else
3799 cat >conftest.make <<\_ACEOF
3800 SHELL = /bin/sh
3801 all:
3802 @echo '@@@%%%=$(MAKE)=@@@%%%'
3803 _ACEOF
3804 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3805 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3806 *@@@%%%=?*=@@@%%%*)
3807 eval ac_cv_prog_make_${ac_make}_set=yes;;
3809 eval ac_cv_prog_make_${ac_make}_set=no;;
3810 esac
3811 rm -f conftest.make
3813 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3815 $as_echo "yes" >&6; }
3816 SET_MAKE=
3817 else
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3819 $as_echo "no" >&6; }
3820 SET_MAKE="MAKE=${MAKE-make}"
3823 ac_ext=c
3824 ac_cpp='$CPP $CPPFLAGS'
3825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3828 if test -n "$ac_tool_prefix"; then
3829 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3830 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3832 $as_echo_n "checking for $ac_word... " >&6; }
3833 if ${ac_cv_prog_CC+:} false; then :
3834 $as_echo_n "(cached) " >&6
3835 else
3836 if test -n "$CC"; then
3837 ac_cv_prog_CC="$CC" # Let the user override the test.
3838 else
3839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3840 for as_dir in $PATH
3842 IFS=$as_save_IFS
3843 test -z "$as_dir" && as_dir=.
3844 for ac_exec_ext in '' $ac_executable_extensions; do
3845 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3846 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3847 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3848 break 2
3850 done
3851 done
3852 IFS=$as_save_IFS
3856 CC=$ac_cv_prog_CC
3857 if test -n "$CC"; then
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3859 $as_echo "$CC" >&6; }
3860 else
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3862 $as_echo "no" >&6; }
3867 if test -z "$ac_cv_prog_CC"; then
3868 ac_ct_CC=$CC
3869 # Extract the first word of "gcc", so it can be a program name with args.
3870 set dummy gcc; ac_word=$2
3871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3872 $as_echo_n "checking for $ac_word... " >&6; }
3873 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3874 $as_echo_n "(cached) " >&6
3875 else
3876 if test -n "$ac_ct_CC"; then
3877 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3878 else
3879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3880 for as_dir in $PATH
3882 IFS=$as_save_IFS
3883 test -z "$as_dir" && as_dir=.
3884 for ac_exec_ext in '' $ac_executable_extensions; do
3885 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3886 ac_cv_prog_ac_ct_CC="gcc"
3887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3888 break 2
3890 done
3891 done
3892 IFS=$as_save_IFS
3896 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3897 if test -n "$ac_ct_CC"; then
3898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3899 $as_echo "$ac_ct_CC" >&6; }
3900 else
3901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3902 $as_echo "no" >&6; }
3905 if test "x$ac_ct_CC" = x; then
3906 CC=""
3907 else
3908 case $cross_compiling:$ac_tool_warned in
3909 yes:)
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3911 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3912 ac_tool_warned=yes ;;
3913 esac
3914 CC=$ac_ct_CC
3916 else
3917 CC="$ac_cv_prog_CC"
3920 if test -z "$CC"; then
3921 if test -n "$ac_tool_prefix"; then
3922 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3923 set dummy ${ac_tool_prefix}cc; ac_word=$2
3924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3925 $as_echo_n "checking for $ac_word... " >&6; }
3926 if ${ac_cv_prog_CC+:} false; then :
3927 $as_echo_n "(cached) " >&6
3928 else
3929 if test -n "$CC"; then
3930 ac_cv_prog_CC="$CC" # Let the user override the test.
3931 else
3932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3933 for as_dir in $PATH
3935 IFS=$as_save_IFS
3936 test -z "$as_dir" && as_dir=.
3937 for ac_exec_ext in '' $ac_executable_extensions; do
3938 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3939 ac_cv_prog_CC="${ac_tool_prefix}cc"
3940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3941 break 2
3943 done
3944 done
3945 IFS=$as_save_IFS
3949 CC=$ac_cv_prog_CC
3950 if test -n "$CC"; then
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3952 $as_echo "$CC" >&6; }
3953 else
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3955 $as_echo "no" >&6; }
3961 if test -z "$CC"; then
3962 # Extract the first word of "cc", so it can be a program name with args.
3963 set dummy cc; ac_word=$2
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3965 $as_echo_n "checking for $ac_word... " >&6; }
3966 if ${ac_cv_prog_CC+:} false; then :
3967 $as_echo_n "(cached) " >&6
3968 else
3969 if test -n "$CC"; then
3970 ac_cv_prog_CC="$CC" # Let the user override the test.
3971 else
3972 ac_prog_rejected=no
3973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3974 for as_dir in $PATH
3976 IFS=$as_save_IFS
3977 test -z "$as_dir" && as_dir=.
3978 for ac_exec_ext in '' $ac_executable_extensions; do
3979 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3980 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3981 ac_prog_rejected=yes
3982 continue
3984 ac_cv_prog_CC="cc"
3985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3986 break 2
3988 done
3989 done
3990 IFS=$as_save_IFS
3992 if test $ac_prog_rejected = yes; then
3993 # We found a bogon in the path, so make sure we never use it.
3994 set dummy $ac_cv_prog_CC
3995 shift
3996 if test $# != 0; then
3997 # We chose a different compiler from the bogus one.
3998 # However, it has the same basename, so the bogon will be chosen
3999 # first if we set CC to just the basename; use the full file name.
4000 shift
4001 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4006 CC=$ac_cv_prog_CC
4007 if test -n "$CC"; then
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4009 $as_echo "$CC" >&6; }
4010 else
4011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4012 $as_echo "no" >&6; }
4017 if test -z "$CC"; then
4018 if test -n "$ac_tool_prefix"; then
4019 for ac_prog in cl.exe
4021 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4022 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4024 $as_echo_n "checking for $ac_word... " >&6; }
4025 if ${ac_cv_prog_CC+:} false; then :
4026 $as_echo_n "(cached) " >&6
4027 else
4028 if test -n "$CC"; then
4029 ac_cv_prog_CC="$CC" # Let the user override the test.
4030 else
4031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4032 for as_dir in $PATH
4034 IFS=$as_save_IFS
4035 test -z "$as_dir" && as_dir=.
4036 for ac_exec_ext in '' $ac_executable_extensions; do
4037 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4038 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4040 break 2
4042 done
4043 done
4044 IFS=$as_save_IFS
4048 CC=$ac_cv_prog_CC
4049 if test -n "$CC"; then
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4051 $as_echo "$CC" >&6; }
4052 else
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4054 $as_echo "no" >&6; }
4058 test -n "$CC" && break
4059 done
4061 if test -z "$CC"; then
4062 ac_ct_CC=$CC
4063 for ac_prog in cl.exe
4065 # Extract the first word of "$ac_prog", so it can be a program name with args.
4066 set dummy $ac_prog; ac_word=$2
4067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4068 $as_echo_n "checking for $ac_word... " >&6; }
4069 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4070 $as_echo_n "(cached) " >&6
4071 else
4072 if test -n "$ac_ct_CC"; then
4073 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4074 else
4075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4076 for as_dir in $PATH
4078 IFS=$as_save_IFS
4079 test -z "$as_dir" && as_dir=.
4080 for ac_exec_ext in '' $ac_executable_extensions; do
4081 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4082 ac_cv_prog_ac_ct_CC="$ac_prog"
4083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4084 break 2
4086 done
4087 done
4088 IFS=$as_save_IFS
4092 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4093 if test -n "$ac_ct_CC"; then
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4095 $as_echo "$ac_ct_CC" >&6; }
4096 else
4097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4098 $as_echo "no" >&6; }
4102 test -n "$ac_ct_CC" && break
4103 done
4105 if test "x$ac_ct_CC" = x; then
4106 CC=""
4107 else
4108 case $cross_compiling:$ac_tool_warned in
4109 yes:)
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4111 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4112 ac_tool_warned=yes ;;
4113 esac
4114 CC=$ac_ct_CC
4121 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4122 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4123 as_fn_error $? "no acceptable C compiler found in \$PATH
4124 See \`config.log' for more details" "$LINENO" 5; }
4126 # Provide some information about the compiler.
4127 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4128 set X $ac_compile
4129 ac_compiler=$2
4130 for ac_option in --version -v -V -qversion; do
4131 { { ac_try="$ac_compiler $ac_option >&5"
4132 case "(($ac_try" in
4133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4134 *) ac_try_echo=$ac_try;;
4135 esac
4136 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4137 $as_echo "$ac_try_echo"; } >&5
4138 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4139 ac_status=$?
4140 if test -s conftest.err; then
4141 sed '10a\
4142 ... rest of stderr output deleted ...
4143 10q' conftest.err >conftest.er1
4144 cat conftest.er1 >&5
4146 rm -f conftest.er1 conftest.err
4147 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4148 test $ac_status = 0; }
4149 done
4151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4152 /* end confdefs.h. */
4155 main ()
4159 return 0;
4161 _ACEOF
4162 ac_clean_files_save=$ac_clean_files
4163 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4164 # Try to create an executable without -o first, disregard a.out.
4165 # It will help us diagnose broken compilers, and finding out an intuition
4166 # of exeext.
4167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4168 $as_echo_n "checking whether the C compiler works... " >&6; }
4169 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4171 # The possible output files:
4172 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4174 ac_rmfiles=
4175 for ac_file in $ac_files
4177 case $ac_file in
4178 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4179 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4180 esac
4181 done
4182 rm -f $ac_rmfiles
4184 if { { ac_try="$ac_link_default"
4185 case "(($ac_try" in
4186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4187 *) ac_try_echo=$ac_try;;
4188 esac
4189 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4190 $as_echo "$ac_try_echo"; } >&5
4191 (eval "$ac_link_default") 2>&5
4192 ac_status=$?
4193 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4194 test $ac_status = 0; }; then :
4195 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4196 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4197 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4198 # so that the user can short-circuit this test for compilers unknown to
4199 # Autoconf.
4200 for ac_file in $ac_files ''
4202 test -f "$ac_file" || continue
4203 case $ac_file in
4204 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4206 [ab].out )
4207 # We found the default executable, but exeext='' is most
4208 # certainly right.
4209 break;;
4210 *.* )
4211 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4212 then :; else
4213 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4215 # We set ac_cv_exeext here because the later test for it is not
4216 # safe: cross compilers may not add the suffix if given an `-o'
4217 # argument, so we may need to know it at that point already.
4218 # Even if this section looks crufty: it has the advantage of
4219 # actually working.
4220 break;;
4222 break;;
4223 esac
4224 done
4225 test "$ac_cv_exeext" = no && ac_cv_exeext=
4227 else
4228 ac_file=''
4230 if test -z "$ac_file"; then :
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4232 $as_echo "no" >&6; }
4233 $as_echo "$as_me: failed program was:" >&5
4234 sed 's/^/| /' conftest.$ac_ext >&5
4236 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4237 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4238 as_fn_error 77 "C compiler cannot create executables
4239 See \`config.log' for more details" "$LINENO" 5; }
4240 else
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4242 $as_echo "yes" >&6; }
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4245 $as_echo_n "checking for C compiler default output file name... " >&6; }
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4247 $as_echo "$ac_file" >&6; }
4248 ac_exeext=$ac_cv_exeext
4250 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4251 ac_clean_files=$ac_clean_files_save
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4253 $as_echo_n "checking for suffix of executables... " >&6; }
4254 if { { ac_try="$ac_link"
4255 case "(($ac_try" in
4256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4257 *) ac_try_echo=$ac_try;;
4258 esac
4259 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4260 $as_echo "$ac_try_echo"; } >&5
4261 (eval "$ac_link") 2>&5
4262 ac_status=$?
4263 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4264 test $ac_status = 0; }; then :
4265 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4266 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4267 # work properly (i.e., refer to `conftest.exe'), while it won't with
4268 # `rm'.
4269 for ac_file in conftest.exe conftest conftest.*; do
4270 test -f "$ac_file" || continue
4271 case $ac_file in
4272 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4273 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4274 break;;
4275 * ) break;;
4276 esac
4277 done
4278 else
4279 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4280 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4281 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4282 See \`config.log' for more details" "$LINENO" 5; }
4284 rm -f conftest conftest$ac_cv_exeext
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4286 $as_echo "$ac_cv_exeext" >&6; }
4288 rm -f conftest.$ac_ext
4289 EXEEXT=$ac_cv_exeext
4290 ac_exeext=$EXEEXT
4291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4292 /* end confdefs.h. */
4293 #include <stdio.h>
4295 main ()
4297 FILE *f = fopen ("conftest.out", "w");
4298 return ferror (f) || fclose (f) != 0;
4301 return 0;
4303 _ACEOF
4304 ac_clean_files="$ac_clean_files conftest.out"
4305 # Check that the compiler produces executables we can run. If not, either
4306 # the compiler is broken, or we cross compile.
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4308 $as_echo_n "checking whether we are cross compiling... " >&6; }
4309 if test "$cross_compiling" != yes; then
4310 { { ac_try="$ac_link"
4311 case "(($ac_try" in
4312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4313 *) ac_try_echo=$ac_try;;
4314 esac
4315 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4316 $as_echo "$ac_try_echo"; } >&5
4317 (eval "$ac_link") 2>&5
4318 ac_status=$?
4319 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4320 test $ac_status = 0; }
4321 if { ac_try='./conftest$ac_cv_exeext'
4322 { { case "(($ac_try" in
4323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4324 *) ac_try_echo=$ac_try;;
4325 esac
4326 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4327 $as_echo "$ac_try_echo"; } >&5
4328 (eval "$ac_try") 2>&5
4329 ac_status=$?
4330 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4331 test $ac_status = 0; }; }; then
4332 cross_compiling=no
4333 else
4334 if test "$cross_compiling" = maybe; then
4335 cross_compiling=yes
4336 else
4337 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4338 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4339 as_fn_error $? "cannot run C compiled programs.
4340 If you meant to cross compile, use \`--host'.
4341 See \`config.log' for more details" "$LINENO" 5; }
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4346 $as_echo "$cross_compiling" >&6; }
4348 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4349 ac_clean_files=$ac_clean_files_save
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4351 $as_echo_n "checking for suffix of object files... " >&6; }
4352 if ${ac_cv_objext+:} false; then :
4353 $as_echo_n "(cached) " >&6
4354 else
4355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4356 /* end confdefs.h. */
4359 main ()
4363 return 0;
4365 _ACEOF
4366 rm -f conftest.o conftest.obj
4367 if { { ac_try="$ac_compile"
4368 case "(($ac_try" in
4369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4370 *) ac_try_echo=$ac_try;;
4371 esac
4372 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4373 $as_echo "$ac_try_echo"; } >&5
4374 (eval "$ac_compile") 2>&5
4375 ac_status=$?
4376 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4377 test $ac_status = 0; }; then :
4378 for ac_file in conftest.o conftest.obj conftest.*; do
4379 test -f "$ac_file" || continue;
4380 case $ac_file in
4381 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4382 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4383 break;;
4384 esac
4385 done
4386 else
4387 $as_echo "$as_me: failed program was:" >&5
4388 sed 's/^/| /' conftest.$ac_ext >&5
4390 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4391 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4392 as_fn_error $? "cannot compute suffix of object files: cannot compile
4393 See \`config.log' for more details" "$LINENO" 5; }
4395 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4398 $as_echo "$ac_cv_objext" >&6; }
4399 OBJEXT=$ac_cv_objext
4400 ac_objext=$OBJEXT
4401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4402 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4403 if ${ac_cv_c_compiler_gnu+:} false; then :
4404 $as_echo_n "(cached) " >&6
4405 else
4406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4407 /* end confdefs.h. */
4410 main ()
4412 #ifndef __GNUC__
4413 choke me
4414 #endif
4417 return 0;
4419 _ACEOF
4420 if ac_fn_c_try_compile "$LINENO"; then :
4421 ac_compiler_gnu=yes
4422 else
4423 ac_compiler_gnu=no
4425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4426 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4430 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4431 if test $ac_compiler_gnu = yes; then
4432 GCC=yes
4433 else
4434 GCC=
4436 ac_test_CFLAGS=${CFLAGS+set}
4437 ac_save_CFLAGS=$CFLAGS
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4439 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4440 if ${ac_cv_prog_cc_g+:} false; then :
4441 $as_echo_n "(cached) " >&6
4442 else
4443 ac_save_c_werror_flag=$ac_c_werror_flag
4444 ac_c_werror_flag=yes
4445 ac_cv_prog_cc_g=no
4446 CFLAGS="-g"
4447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4448 /* end confdefs.h. */
4451 main ()
4455 return 0;
4457 _ACEOF
4458 if ac_fn_c_try_compile "$LINENO"; then :
4459 ac_cv_prog_cc_g=yes
4460 else
4461 CFLAGS=""
4462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4463 /* end confdefs.h. */
4466 main ()
4470 return 0;
4472 _ACEOF
4473 if ac_fn_c_try_compile "$LINENO"; then :
4475 else
4476 ac_c_werror_flag=$ac_save_c_werror_flag
4477 CFLAGS="-g"
4478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4479 /* end confdefs.h. */
4482 main ()
4486 return 0;
4488 _ACEOF
4489 if ac_fn_c_try_compile "$LINENO"; then :
4490 ac_cv_prog_cc_g=yes
4492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4497 ac_c_werror_flag=$ac_save_c_werror_flag
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4500 $as_echo "$ac_cv_prog_cc_g" >&6; }
4501 if test "$ac_test_CFLAGS" = set; then
4502 CFLAGS=$ac_save_CFLAGS
4503 elif test $ac_cv_prog_cc_g = yes; then
4504 if test "$GCC" = yes; then
4505 CFLAGS="-g -O2"
4506 else
4507 CFLAGS="-g"
4509 else
4510 if test "$GCC" = yes; then
4511 CFLAGS="-O2"
4512 else
4513 CFLAGS=
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4517 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4518 if ${ac_cv_prog_cc_c89+:} false; then :
4519 $as_echo_n "(cached) " >&6
4520 else
4521 ac_cv_prog_cc_c89=no
4522 ac_save_CC=$CC
4523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4524 /* end confdefs.h. */
4525 #include <stdarg.h>
4526 #include <stdio.h>
4527 struct stat;
4528 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4529 struct buf { int x; };
4530 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4531 static char *e (p, i)
4532 char **p;
4533 int i;
4535 return p[i];
4537 static char *f (char * (*g) (char **, int), char **p, ...)
4539 char *s;
4540 va_list v;
4541 va_start (v,p);
4542 s = g (p, va_arg (v,int));
4543 va_end (v);
4544 return s;
4547 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4548 function prototypes and stuff, but not '\xHH' hex character constants.
4549 These don't provoke an error unfortunately, instead are silently treated
4550 as 'x'. The following induces an error, until -std is added to get
4551 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4552 array size at least. It's necessary to write '\x00'==0 to get something
4553 that's true only with -std. */
4554 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4556 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4557 inside strings and character constants. */
4558 #define FOO(x) 'x'
4559 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4561 int test (int i, double x);
4562 struct s1 {int (*f) (int a);};
4563 struct s2 {int (*f) (double a);};
4564 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4565 int argc;
4566 char **argv;
4568 main ()
4570 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4572 return 0;
4574 _ACEOF
4575 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4576 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4578 CC="$ac_save_CC $ac_arg"
4579 if ac_fn_c_try_compile "$LINENO"; then :
4580 ac_cv_prog_cc_c89=$ac_arg
4582 rm -f core conftest.err conftest.$ac_objext
4583 test "x$ac_cv_prog_cc_c89" != "xno" && break
4584 done
4585 rm -f conftest.$ac_ext
4586 CC=$ac_save_CC
4589 # AC_CACHE_VAL
4590 case "x$ac_cv_prog_cc_c89" in
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4593 $as_echo "none needed" >&6; } ;;
4594 xno)
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4596 $as_echo "unsupported" >&6; } ;;
4598 CC="$CC $ac_cv_prog_cc_c89"
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4600 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4601 esac
4602 if test "x$ac_cv_prog_cc_c89" != xno; then :
4606 ac_ext=c
4607 ac_cpp='$CPP $CPPFLAGS'
4608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4612 ac_ext=cpp
4613 ac_cpp='$CXXCPP $CPPFLAGS'
4614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4617 if test -z "$CXX"; then
4618 if test -n "$CCC"; then
4619 CXX=$CCC
4620 else
4621 if test -n "$ac_tool_prefix"; then
4622 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4624 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4625 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4627 $as_echo_n "checking for $ac_word... " >&6; }
4628 if ${ac_cv_prog_CXX+:} false; then :
4629 $as_echo_n "(cached) " >&6
4630 else
4631 if test -n "$CXX"; then
4632 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4633 else
4634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4635 for as_dir in $PATH
4637 IFS=$as_save_IFS
4638 test -z "$as_dir" && as_dir=.
4639 for ac_exec_ext in '' $ac_executable_extensions; do
4640 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4641 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4642 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4643 break 2
4645 done
4646 done
4647 IFS=$as_save_IFS
4651 CXX=$ac_cv_prog_CXX
4652 if test -n "$CXX"; then
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4654 $as_echo "$CXX" >&6; }
4655 else
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4657 $as_echo "no" >&6; }
4661 test -n "$CXX" && break
4662 done
4664 if test -z "$CXX"; then
4665 ac_ct_CXX=$CXX
4666 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4668 # Extract the first word of "$ac_prog", so it can be a program name with args.
4669 set dummy $ac_prog; ac_word=$2
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4671 $as_echo_n "checking for $ac_word... " >&6; }
4672 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4673 $as_echo_n "(cached) " >&6
4674 else
4675 if test -n "$ac_ct_CXX"; then
4676 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4677 else
4678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4679 for as_dir in $PATH
4681 IFS=$as_save_IFS
4682 test -z "$as_dir" && as_dir=.
4683 for ac_exec_ext in '' $ac_executable_extensions; do
4684 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4685 ac_cv_prog_ac_ct_CXX="$ac_prog"
4686 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4687 break 2
4689 done
4690 done
4691 IFS=$as_save_IFS
4695 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4696 if test -n "$ac_ct_CXX"; then
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4698 $as_echo "$ac_ct_CXX" >&6; }
4699 else
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4701 $as_echo "no" >&6; }
4705 test -n "$ac_ct_CXX" && break
4706 done
4708 if test "x$ac_ct_CXX" = x; then
4709 CXX="g++"
4710 else
4711 case $cross_compiling:$ac_tool_warned in
4712 yes:)
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4714 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4715 ac_tool_warned=yes ;;
4716 esac
4717 CXX=$ac_ct_CXX
4723 # Provide some information about the compiler.
4724 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4725 set X $ac_compile
4726 ac_compiler=$2
4727 for ac_option in --version -v -V -qversion; do
4728 { { ac_try="$ac_compiler $ac_option >&5"
4729 case "(($ac_try" in
4730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4731 *) ac_try_echo=$ac_try;;
4732 esac
4733 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4734 $as_echo "$ac_try_echo"; } >&5
4735 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4736 ac_status=$?
4737 if test -s conftest.err; then
4738 sed '10a\
4739 ... rest of stderr output deleted ...
4740 10q' conftest.err >conftest.er1
4741 cat conftest.er1 >&5
4743 rm -f conftest.er1 conftest.err
4744 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4745 test $ac_status = 0; }
4746 done
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4749 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4750 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4751 $as_echo_n "(cached) " >&6
4752 else
4753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4754 /* end confdefs.h. */
4757 main ()
4759 #ifndef __GNUC__
4760 choke me
4761 #endif
4764 return 0;
4766 _ACEOF
4767 if ac_fn_cxx_try_compile "$LINENO"; then :
4768 ac_compiler_gnu=yes
4769 else
4770 ac_compiler_gnu=no
4772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4773 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4777 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4778 if test $ac_compiler_gnu = yes; then
4779 GXX=yes
4780 else
4781 GXX=
4783 ac_test_CXXFLAGS=${CXXFLAGS+set}
4784 ac_save_CXXFLAGS=$CXXFLAGS
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4786 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4787 if ${ac_cv_prog_cxx_g+:} false; then :
4788 $as_echo_n "(cached) " >&6
4789 else
4790 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4791 ac_cxx_werror_flag=yes
4792 ac_cv_prog_cxx_g=no
4793 CXXFLAGS="-g"
4794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4795 /* end confdefs.h. */
4798 main ()
4802 return 0;
4804 _ACEOF
4805 if ac_fn_cxx_try_compile "$LINENO"; then :
4806 ac_cv_prog_cxx_g=yes
4807 else
4808 CXXFLAGS=""
4809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4810 /* end confdefs.h. */
4813 main ()
4817 return 0;
4819 _ACEOF
4820 if ac_fn_cxx_try_compile "$LINENO"; then :
4822 else
4823 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4824 CXXFLAGS="-g"
4825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4826 /* end confdefs.h. */
4829 main ()
4833 return 0;
4835 _ACEOF
4836 if ac_fn_cxx_try_compile "$LINENO"; then :
4837 ac_cv_prog_cxx_g=yes
4839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4844 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4847 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4848 if test "$ac_test_CXXFLAGS" = set; then
4849 CXXFLAGS=$ac_save_CXXFLAGS
4850 elif test $ac_cv_prog_cxx_g = yes; then
4851 if test "$GXX" = yes; then
4852 CXXFLAGS="-g -O2"
4853 else
4854 CXXFLAGS="-g"
4856 else
4857 if test "$GXX" = yes; then
4858 CXXFLAGS="-O2"
4859 else
4860 CXXFLAGS=
4863 ac_ext=c
4864 ac_cpp='$CPP $CPPFLAGS'
4865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4869 if test -n "$ac_tool_prefix"; then
4870 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4871 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4873 $as_echo_n "checking for $ac_word... " >&6; }
4874 if ${ac_cv_prog_CPPBIN+:} false; then :
4875 $as_echo_n "(cached) " >&6
4876 else
4877 if test -n "$CPPBIN"; then
4878 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4879 else
4880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4881 for as_dir in $PATH
4883 IFS=$as_save_IFS
4884 test -z "$as_dir" && as_dir=.
4885 for ac_exec_ext in '' $ac_executable_extensions; do
4886 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4887 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4889 break 2
4891 done
4892 done
4893 IFS=$as_save_IFS
4897 CPPBIN=$ac_cv_prog_CPPBIN
4898 if test -n "$CPPBIN"; then
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4900 $as_echo "$CPPBIN" >&6; }
4901 else
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4903 $as_echo "no" >&6; }
4908 if test -z "$ac_cv_prog_CPPBIN"; then
4909 ac_ct_CPPBIN=$CPPBIN
4910 # Extract the first word of "cpp", so it can be a program name with args.
4911 set dummy cpp; ac_word=$2
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4913 $as_echo_n "checking for $ac_word... " >&6; }
4914 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4915 $as_echo_n "(cached) " >&6
4916 else
4917 if test -n "$ac_ct_CPPBIN"; then
4918 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4919 else
4920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4921 for as_dir in $PATH
4923 IFS=$as_save_IFS
4924 test -z "$as_dir" && as_dir=.
4925 for ac_exec_ext in '' $ac_executable_extensions; do
4926 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4927 ac_cv_prog_ac_ct_CPPBIN="cpp"
4928 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4929 break 2
4931 done
4932 done
4933 IFS=$as_save_IFS
4937 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4938 if test -n "$ac_ct_CPPBIN"; then
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4940 $as_echo "$ac_ct_CPPBIN" >&6; }
4941 else
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4943 $as_echo "no" >&6; }
4946 if test "x$ac_ct_CPPBIN" = x; then
4947 CPPBIN="cpp"
4948 else
4949 case $cross_compiling:$ac_tool_warned in
4950 yes:)
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4952 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4953 ac_tool_warned=yes ;;
4954 esac
4955 CPPBIN=$ac_ct_CPPBIN
4957 else
4958 CPPBIN="$ac_cv_prog_CPPBIN"
4962 cat >>confdefs.h <<_ACEOF
4963 #define EXEEXT "$ac_exeext"
4964 _ACEOF
4966 if test -n "$ac_tool_prefix"; then
4967 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4968 set dummy ${ac_tool_prefix}ld; ac_word=$2
4969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4970 $as_echo_n "checking for $ac_word... " >&6; }
4971 if ${ac_cv_prog_LD+:} false; then :
4972 $as_echo_n "(cached) " >&6
4973 else
4974 if test -n "$LD"; then
4975 ac_cv_prog_LD="$LD" # Let the user override the test.
4976 else
4977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4978 for as_dir in $PATH
4980 IFS=$as_save_IFS
4981 test -z "$as_dir" && as_dir=.
4982 for ac_exec_ext in '' $ac_executable_extensions; do
4983 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4984 ac_cv_prog_LD="${ac_tool_prefix}ld"
4985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4986 break 2
4988 done
4989 done
4990 IFS=$as_save_IFS
4994 LD=$ac_cv_prog_LD
4995 if test -n "$LD"; then
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4997 $as_echo "$LD" >&6; }
4998 else
4999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5000 $as_echo "no" >&6; }
5005 if test -z "$ac_cv_prog_LD"; then
5006 ac_ct_LD=$LD
5007 # Extract the first word of "ld", so it can be a program name with args.
5008 set dummy ld; ac_word=$2
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5010 $as_echo_n "checking for $ac_word... " >&6; }
5011 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5012 $as_echo_n "(cached) " >&6
5013 else
5014 if test -n "$ac_ct_LD"; then
5015 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5016 else
5017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5018 for as_dir in $PATH
5020 IFS=$as_save_IFS
5021 test -z "$as_dir" && as_dir=.
5022 for ac_exec_ext in '' $ac_executable_extensions; do
5023 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5024 ac_cv_prog_ac_ct_LD="ld"
5025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5026 break 2
5028 done
5029 done
5030 IFS=$as_save_IFS
5034 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5035 if test -n "$ac_ct_LD"; then
5036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5037 $as_echo "$ac_ct_LD" >&6; }
5038 else
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5040 $as_echo "no" >&6; }
5043 if test "x$ac_ct_LD" = x; then
5044 LD=""
5045 else
5046 case $cross_compiling:$ac_tool_warned in
5047 yes:)
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5049 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5050 ac_tool_warned=yes ;;
5051 esac
5052 LD=$ac_ct_LD
5054 else
5055 LD="$ac_cv_prog_LD"
5059 case $host in
5060 *-darwin*)
5061 with_fontconfig=${with_fontconfig:-no}
5063 *-mingw32*|*-cygwin*)
5064 enable_win16=${enable_win16:-no}
5065 CFLAGS="$CFLAGS -D_WIN32"
5067 esac
5069 case $host in
5070 x86_64*|amd64*)
5071 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5072 then
5073 CC="$CC -m32"
5074 CXX="$CXX -m32"
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5076 $as_echo_n "checking whether $CC works... " >&6; }
5078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5079 /* end confdefs.h. */
5082 main ()
5086 return 0;
5088 _ACEOF
5089 if ac_fn_c_try_link "$LINENO"; then :
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5091 $as_echo "yes" >&6; }
5092 else
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5094 $as_echo "no" >&6; }
5095 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5097 rm -f core conftest.err conftest.$ac_objext \
5098 conftest$ac_exeext conftest.$ac_ext
5099 host_cpu="i386"
5100 notice_platform="32-bit "
5101 TARGETFLAGS="-m32"
5103 enable_win16=${enable_win16:-yes}
5104 else
5105 if test "x${GCC}" = "xyes"
5106 then
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5108 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5110 /* end confdefs.h. */
5111 #include <stdarg.h>
5113 main ()
5115 void func(__builtin_ms_va_list *args);
5117 return 0;
5119 _ACEOF
5120 if ac_fn_c_try_compile "$LINENO"; then :
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5122 $as_echo "yes" >&6; }
5123 else
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5125 $as_echo "no" >&6; }
5126 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5130 CC="$CC -m64"
5131 CXX="$CXX -m64"
5132 host_cpu="x86_64"
5133 notice_platform="64-bit "
5134 TARGETFLAGS="-m64"
5138 arm*)
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5140 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5142 /* end confdefs.h. */
5143 int ac_test(int i) { return i; }
5145 main ()
5147 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5149 return 0;
5151 _ACEOF
5152 if ac_fn_c_try_link "$LINENO"; then :
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5154 $as_echo "yes" >&6; }
5155 else
5156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5157 $as_echo "no" >&6; }
5158 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5160 rm -f core conftest.err conftest.$ac_objext \
5161 conftest$ac_exeext conftest.$ac_ext
5162 CFLAGS="$CFLAGS -marm"
5163 TARGETFLAGS="-marm"
5166 i[3456789]86*)
5167 enable_win16=${enable_win16:-yes}
5169 esac
5171 enable_win16=${enable_win16:-no}
5172 enable_win64=${enable_win64:-no}
5174 enable_winetest=${enable_winetest:-$enable_tests}
5176 if test -n "$with_wine64"
5177 then
5178 if test "x$enable_win64" = "xyes"
5179 then
5180 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5181 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5183 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5184 You should create a separate build directory and run configure from there." "$LINENO" 5
5185 enable_fonts=${enable_fonts:-no}
5186 enable_server=${enable_server:-no}
5187 elif test "x$enable_win64" = "xyes"
5188 then
5189 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5193 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5194 if ${wine_cv_toolsdir+:} false; then :
5195 $as_echo_n "(cached) " >&6
5196 else
5197 wine_cv_toolsdir="$with_wine_tools"
5198 if test -z "$with_wine_tools"; then
5199 if test "$cross_compiling" = "yes"; then
5200 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5201 elif test -n "$with_wine64"; then
5202 wine_cv_toolsdir="$with_wine64"
5205 if test -z "$wine_cv_toolsdir"; then
5206 wine_makedep=tools/makedep
5207 wine_cv_toolsdir="\$(top_builddir)"
5208 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5209 wine_makedep=$wine_cv_toolsdir/tools/makedep
5210 case "$wine_cv_toolsdir" in
5211 /*) ;;
5212 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5213 esac
5214 enable_tools=${enable_tools:-no}
5215 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5216 else
5217 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5221 $as_echo "$wine_cv_toolsdir" >&6; }
5222 TOOLSDIR=$wine_cv_toolsdir
5224 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5225 then
5226 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5230 for ac_prog in flex
5232 # Extract the first word of "$ac_prog", so it can be a program name with args.
5233 set dummy $ac_prog; ac_word=$2
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5235 $as_echo_n "checking for $ac_word... " >&6; }
5236 if ${ac_cv_prog_FLEX+:} false; then :
5237 $as_echo_n "(cached) " >&6
5238 else
5239 if test -n "$FLEX"; then
5240 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5241 else
5242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5243 for as_dir in $PATH
5245 IFS=$as_save_IFS
5246 test -z "$as_dir" && as_dir=.
5247 for ac_exec_ext in '' $ac_executable_extensions; do
5248 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5249 ac_cv_prog_FLEX="$ac_prog"
5250 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5251 break 2
5253 done
5254 done
5255 IFS=$as_save_IFS
5259 FLEX=$ac_cv_prog_FLEX
5260 if test -n "$FLEX"; then
5261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5262 $as_echo "$FLEX" >&6; }
5263 else
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5265 $as_echo "no" >&6; }
5269 test -n "$FLEX" && break
5270 done
5271 test -n "$FLEX" || FLEX="none"
5273 if test "$FLEX" = "none"
5274 then
5275 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5278 $as_echo_n "checking whether flex is recent enough... " >&6; }
5279 cat >conftest.l <<EOF
5280 %top{
5281 #include "prediluvian.h"
5285 if $FLEX -t conftest.l >/dev/null 2>&5
5286 then
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5288 $as_echo "yes" >&6; }
5289 else
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5291 $as_echo "no" >&6; }
5292 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5295 for ac_prog in bison
5297 # Extract the first word of "$ac_prog", so it can be a program name with args.
5298 set dummy $ac_prog; ac_word=$2
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5300 $as_echo_n "checking for $ac_word... " >&6; }
5301 if ${ac_cv_prog_BISON+:} false; then :
5302 $as_echo_n "(cached) " >&6
5303 else
5304 if test -n "$BISON"; then
5305 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5306 else
5307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5308 for as_dir in $PATH
5310 IFS=$as_save_IFS
5311 test -z "$as_dir" && as_dir=.
5312 for ac_exec_ext in '' $ac_executable_extensions; do
5313 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5314 ac_cv_prog_BISON="$ac_prog"
5315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5316 break 2
5318 done
5319 done
5320 IFS=$as_save_IFS
5324 BISON=$ac_cv_prog_BISON
5325 if test -n "$BISON"; then
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5327 $as_echo "$BISON" >&6; }
5328 else
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5330 $as_echo "no" >&6; }
5334 test -n "$BISON" && break
5335 done
5336 test -n "$BISON" || BISON="none"
5338 if test "$BISON" = "none"
5339 then
5340 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5343 if test -n "$ac_tool_prefix"; then
5344 for ac_prog in ar gar
5346 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5347 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5349 $as_echo_n "checking for $ac_word... " >&6; }
5350 if ${ac_cv_prog_AR+:} false; then :
5351 $as_echo_n "(cached) " >&6
5352 else
5353 if test -n "$AR"; then
5354 ac_cv_prog_AR="$AR" # Let the user override the test.
5355 else
5356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5357 for as_dir in $PATH
5359 IFS=$as_save_IFS
5360 test -z "$as_dir" && as_dir=.
5361 for ac_exec_ext in '' $ac_executable_extensions; do
5362 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5363 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5364 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5365 break 2
5367 done
5368 done
5369 IFS=$as_save_IFS
5373 AR=$ac_cv_prog_AR
5374 if test -n "$AR"; then
5375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5376 $as_echo "$AR" >&6; }
5377 else
5378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5379 $as_echo "no" >&6; }
5383 test -n "$AR" && break
5384 done
5386 if test -z "$AR"; then
5387 ac_ct_AR=$AR
5388 for ac_prog in ar gar
5390 # Extract the first word of "$ac_prog", so it can be a program name with args.
5391 set dummy $ac_prog; ac_word=$2
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5393 $as_echo_n "checking for $ac_word... " >&6; }
5394 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5395 $as_echo_n "(cached) " >&6
5396 else
5397 if test -n "$ac_ct_AR"; then
5398 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5399 else
5400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5401 for as_dir in $PATH
5403 IFS=$as_save_IFS
5404 test -z "$as_dir" && as_dir=.
5405 for ac_exec_ext in '' $ac_executable_extensions; do
5406 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5407 ac_cv_prog_ac_ct_AR="$ac_prog"
5408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5409 break 2
5411 done
5412 done
5413 IFS=$as_save_IFS
5417 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5418 if test -n "$ac_ct_AR"; then
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5420 $as_echo "$ac_ct_AR" >&6; }
5421 else
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5423 $as_echo "no" >&6; }
5427 test -n "$ac_ct_AR" && break
5428 done
5430 if test "x$ac_ct_AR" = x; then
5431 AR="ar"
5432 else
5433 case $cross_compiling:$ac_tool_warned in
5434 yes:)
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5436 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5437 ac_tool_warned=yes ;;
5438 esac
5439 AR=$ac_ct_AR
5443 if test -n "$ac_tool_prefix"; then
5444 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5445 set dummy ${ac_tool_prefix}strip; ac_word=$2
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5447 $as_echo_n "checking for $ac_word... " >&6; }
5448 if ${ac_cv_prog_STRIP+:} false; then :
5449 $as_echo_n "(cached) " >&6
5450 else
5451 if test -n "$STRIP"; then
5452 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5453 else
5454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5455 for as_dir in $PATH
5457 IFS=$as_save_IFS
5458 test -z "$as_dir" && as_dir=.
5459 for ac_exec_ext in '' $ac_executable_extensions; do
5460 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5461 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5462 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5463 break 2
5465 done
5466 done
5467 IFS=$as_save_IFS
5471 STRIP=$ac_cv_prog_STRIP
5472 if test -n "$STRIP"; then
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5474 $as_echo "$STRIP" >&6; }
5475 else
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5477 $as_echo "no" >&6; }
5482 if test -z "$ac_cv_prog_STRIP"; then
5483 ac_ct_STRIP=$STRIP
5484 # Extract the first word of "strip", so it can be a program name with args.
5485 set dummy strip; ac_word=$2
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5487 $as_echo_n "checking for $ac_word... " >&6; }
5488 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5489 $as_echo_n "(cached) " >&6
5490 else
5491 if test -n "$ac_ct_STRIP"; then
5492 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5493 else
5494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5495 for as_dir in $PATH
5497 IFS=$as_save_IFS
5498 test -z "$as_dir" && as_dir=.
5499 for ac_exec_ext in '' $ac_executable_extensions; do
5500 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5501 ac_cv_prog_ac_ct_STRIP="strip"
5502 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5503 break 2
5505 done
5506 done
5507 IFS=$as_save_IFS
5511 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5512 if test -n "$ac_ct_STRIP"; then
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5514 $as_echo "$ac_ct_STRIP" >&6; }
5515 else
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5517 $as_echo "no" >&6; }
5520 if test "x$ac_ct_STRIP" = x; then
5521 STRIP="strip"
5522 else
5523 case $cross_compiling:$ac_tool_warned in
5524 yes:)
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5526 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5527 ac_tool_warned=yes ;;
5528 esac
5529 STRIP=$ac_ct_STRIP
5531 else
5532 STRIP="$ac_cv_prog_STRIP"
5535 ARFLAGS=rc
5537 if test -n "$ac_tool_prefix"; then
5538 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5539 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5541 $as_echo_n "checking for $ac_word... " >&6; }
5542 if ${ac_cv_prog_RANLIB+:} false; then :
5543 $as_echo_n "(cached) " >&6
5544 else
5545 if test -n "$RANLIB"; then
5546 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5547 else
5548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5549 for as_dir in $PATH
5551 IFS=$as_save_IFS
5552 test -z "$as_dir" && as_dir=.
5553 for ac_exec_ext in '' $ac_executable_extensions; do
5554 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5555 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5557 break 2
5559 done
5560 done
5561 IFS=$as_save_IFS
5565 RANLIB=$ac_cv_prog_RANLIB
5566 if test -n "$RANLIB"; then
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5568 $as_echo "$RANLIB" >&6; }
5569 else
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5571 $as_echo "no" >&6; }
5576 if test -z "$ac_cv_prog_RANLIB"; then
5577 ac_ct_RANLIB=$RANLIB
5578 # Extract the first word of "ranlib", so it can be a program name with args.
5579 set dummy ranlib; ac_word=$2
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5581 $as_echo_n "checking for $ac_word... " >&6; }
5582 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5583 $as_echo_n "(cached) " >&6
5584 else
5585 if test -n "$ac_ct_RANLIB"; then
5586 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5587 else
5588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5589 for as_dir in $PATH
5591 IFS=$as_save_IFS
5592 test -z "$as_dir" && as_dir=.
5593 for ac_exec_ext in '' $ac_executable_extensions; do
5594 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5595 ac_cv_prog_ac_ct_RANLIB="ranlib"
5596 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5597 break 2
5599 done
5600 done
5601 IFS=$as_save_IFS
5605 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5606 if test -n "$ac_ct_RANLIB"; then
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5608 $as_echo "$ac_ct_RANLIB" >&6; }
5609 else
5610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5611 $as_echo "no" >&6; }
5614 if test "x$ac_ct_RANLIB" = x; then
5615 RANLIB=":"
5616 else
5617 case $cross_compiling:$ac_tool_warned in
5618 yes:)
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5620 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5621 ac_tool_warned=yes ;;
5622 esac
5623 RANLIB=$ac_ct_RANLIB
5625 else
5626 RANLIB="$ac_cv_prog_RANLIB"
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5630 $as_echo_n "checking whether ln -s works... " >&6; }
5631 LN_S=$as_ln_s
5632 if test "$LN_S" = "ln -s"; then
5633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5634 $as_echo "yes" >&6; }
5635 else
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5637 $as_echo "no, using $LN_S" >&6; }
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5641 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5642 if ${ac_cv_path_GREP+:} false; then :
5643 $as_echo_n "(cached) " >&6
5644 else
5645 if test -z "$GREP"; then
5646 ac_path_GREP_found=false
5647 # Loop through the user's path and test for each of PROGNAME-LIST
5648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5649 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5651 IFS=$as_save_IFS
5652 test -z "$as_dir" && as_dir=.
5653 for ac_prog in grep ggrep; do
5654 for ac_exec_ext in '' $ac_executable_extensions; do
5655 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5656 as_fn_executable_p "$ac_path_GREP" || continue
5657 # Check for GNU ac_path_GREP and select it if it is found.
5658 # Check for GNU $ac_path_GREP
5659 case `"$ac_path_GREP" --version 2>&1` in
5660 *GNU*)
5661 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5663 ac_count=0
5664 $as_echo_n 0123456789 >"conftest.in"
5665 while :
5667 cat "conftest.in" "conftest.in" >"conftest.tmp"
5668 mv "conftest.tmp" "conftest.in"
5669 cp "conftest.in" "conftest.nl"
5670 $as_echo 'GREP' >> "conftest.nl"
5671 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5672 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5673 as_fn_arith $ac_count + 1 && ac_count=$as_val
5674 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5675 # Best one so far, save it but keep looking for a better one
5676 ac_cv_path_GREP="$ac_path_GREP"
5677 ac_path_GREP_max=$ac_count
5679 # 10*(2^10) chars as input seems more than enough
5680 test $ac_count -gt 10 && break
5681 done
5682 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5683 esac
5685 $ac_path_GREP_found && break 3
5686 done
5687 done
5688 done
5689 IFS=$as_save_IFS
5690 if test -z "$ac_cv_path_GREP"; then
5691 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5693 else
5694 ac_cv_path_GREP=$GREP
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5699 $as_echo "$ac_cv_path_GREP" >&6; }
5700 GREP="$ac_cv_path_GREP"
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5704 $as_echo_n "checking for egrep... " >&6; }
5705 if ${ac_cv_path_EGREP+:} false; then :
5706 $as_echo_n "(cached) " >&6
5707 else
5708 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5709 then ac_cv_path_EGREP="$GREP -E"
5710 else
5711 if test -z "$EGREP"; then
5712 ac_path_EGREP_found=false
5713 # Loop through the user's path and test for each of PROGNAME-LIST
5714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5715 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5717 IFS=$as_save_IFS
5718 test -z "$as_dir" && as_dir=.
5719 for ac_prog in egrep; do
5720 for ac_exec_ext in '' $ac_executable_extensions; do
5721 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5722 as_fn_executable_p "$ac_path_EGREP" || continue
5723 # Check for GNU ac_path_EGREP and select it if it is found.
5724 # Check for GNU $ac_path_EGREP
5725 case `"$ac_path_EGREP" --version 2>&1` in
5726 *GNU*)
5727 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5729 ac_count=0
5730 $as_echo_n 0123456789 >"conftest.in"
5731 while :
5733 cat "conftest.in" "conftest.in" >"conftest.tmp"
5734 mv "conftest.tmp" "conftest.in"
5735 cp "conftest.in" "conftest.nl"
5736 $as_echo 'EGREP' >> "conftest.nl"
5737 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5738 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5739 as_fn_arith $ac_count + 1 && ac_count=$as_val
5740 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5741 # Best one so far, save it but keep looking for a better one
5742 ac_cv_path_EGREP="$ac_path_EGREP"
5743 ac_path_EGREP_max=$ac_count
5745 # 10*(2^10) chars as input seems more than enough
5746 test $ac_count -gt 10 && break
5747 done
5748 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5749 esac
5751 $ac_path_EGREP_found && break 3
5752 done
5753 done
5754 done
5755 IFS=$as_save_IFS
5756 if test -z "$ac_cv_path_EGREP"; then
5757 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5759 else
5760 ac_cv_path_EGREP=$EGREP
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5766 $as_echo "$ac_cv_path_EGREP" >&6; }
5767 EGREP="$ac_cv_path_EGREP"
5770 # Extract the first word of "ldconfig", so it can be a program name with args.
5771 set dummy ldconfig; ac_word=$2
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5773 $as_echo_n "checking for $ac_word... " >&6; }
5774 if ${ac_cv_path_LDCONFIG+:} false; then :
5775 $as_echo_n "(cached) " >&6
5776 else
5777 case $LDCONFIG in
5778 [\\/]* | ?:[\\/]*)
5779 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5783 for as_dir in /sbin /usr/sbin $PATH
5785 IFS=$as_save_IFS
5786 test -z "$as_dir" && as_dir=.
5787 for ac_exec_ext in '' $ac_executable_extensions; do
5788 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5789 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5791 break 2
5793 done
5794 done
5795 IFS=$as_save_IFS
5797 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5799 esac
5801 LDCONFIG=$ac_cv_path_LDCONFIG
5802 if test -n "$LDCONFIG"; then
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5804 $as_echo "$LDCONFIG" >&6; }
5805 else
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5807 $as_echo "no" >&6; }
5811 for ac_prog in msgfmt
5813 # Extract the first word of "$ac_prog", so it can be a program name with args.
5814 set dummy $ac_prog; ac_word=$2
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5816 $as_echo_n "checking for $ac_word... " >&6; }
5817 if ${ac_cv_prog_MSGFMT+:} false; then :
5818 $as_echo_n "(cached) " >&6
5819 else
5820 if test -n "$MSGFMT"; then
5821 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5822 else
5823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5824 for as_dir in $PATH
5826 IFS=$as_save_IFS
5827 test -z "$as_dir" && as_dir=.
5828 for ac_exec_ext in '' $ac_executable_extensions; do
5829 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5830 ac_cv_prog_MSGFMT="$ac_prog"
5831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5832 break 2
5834 done
5835 done
5836 IFS=$as_save_IFS
5840 MSGFMT=$ac_cv_prog_MSGFMT
5841 if test -n "$MSGFMT"; then
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5843 $as_echo "$MSGFMT" >&6; }
5844 else
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5846 $as_echo "no" >&6; }
5850 test -n "$MSGFMT" && break
5851 done
5852 test -n "$MSGFMT" || MSGFMT="false"
5854 if ${ac_tool_prefix+:} false; then :
5855 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5856 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5858 $as_echo_n "checking for $ac_word... " >&6; }
5859 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5860 $as_echo_n "(cached) " >&6
5861 else
5862 if test -n "$PKG_CONFIG"; then
5863 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5864 else
5865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5866 for as_dir in $PATH
5868 IFS=$as_save_IFS
5869 test -z "$as_dir" && as_dir=.
5870 for ac_exec_ext in '' $ac_executable_extensions; do
5871 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5872 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5874 break 2
5876 done
5877 done
5878 IFS=$as_save_IFS
5882 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5883 if test -n "$PKG_CONFIG"; then
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5885 $as_echo "$PKG_CONFIG" >&6; }
5886 else
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5888 $as_echo "no" >&6; }
5893 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5894 if test "x$cross_compiling" = xyes; then :
5896 else
5897 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5898 # Extract the first word of "pkg-config", so it can be a program name with args.
5899 set dummy pkg-config; ac_word=$2
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5901 $as_echo_n "checking for $ac_word... " >&6; }
5902 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5903 $as_echo_n "(cached) " >&6
5904 else
5905 if test -n "$PKG_CONFIG"; then
5906 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5907 else
5908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5909 for as_dir in $PATH
5911 IFS=$as_save_IFS
5912 test -z "$as_dir" && as_dir=.
5913 for ac_exec_ext in '' $ac_executable_extensions; do
5914 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5915 ac_cv_prog_PKG_CONFIG="pkg-config"
5916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5917 break 2
5919 done
5920 done
5921 IFS=$as_save_IFS
5925 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5926 if test -n "$PKG_CONFIG"; then
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5928 $as_echo "$PKG_CONFIG" >&6; }
5929 else
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5931 $as_echo "no" >&6; }
5936 else
5937 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5940 if test "x$enable_maintainer_mode" != "xyes"
5941 then
5942 FONTFORGE=""
5943 RSVG=""
5944 CONVERT=""
5945 ICOTOOL=""
5946 else
5947 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5948 for ac_prog in fontforge
5950 # Extract the first word of "$ac_prog", so it can be a program name with args.
5951 set dummy $ac_prog; ac_word=$2
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5953 $as_echo_n "checking for $ac_word... " >&6; }
5954 if ${ac_cv_prog_FONTFORGE+:} false; then :
5955 $as_echo_n "(cached) " >&6
5956 else
5957 if test -n "$FONTFORGE"; then
5958 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5959 else
5960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5961 for as_dir in $PATH
5963 IFS=$as_save_IFS
5964 test -z "$as_dir" && as_dir=.
5965 for ac_exec_ext in '' $ac_executable_extensions; do
5966 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5967 ac_cv_prog_FONTFORGE="$ac_prog"
5968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5969 break 2
5971 done
5972 done
5973 IFS=$as_save_IFS
5977 FONTFORGE=$ac_cv_prog_FONTFORGE
5978 if test -n "$FONTFORGE"; then
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5980 $as_echo "$FONTFORGE" >&6; }
5981 else
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5983 $as_echo "no" >&6; }
5987 test -n "$FONTFORGE" && break
5988 done
5989 test -n "$FONTFORGE" || FONTFORGE="false"
5991 for ac_prog in rsvg-convert rsvg
5993 # Extract the first word of "$ac_prog", so it can be a program name with args.
5994 set dummy $ac_prog; ac_word=$2
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5996 $as_echo_n "checking for $ac_word... " >&6; }
5997 if ${ac_cv_prog_RSVG+:} false; then :
5998 $as_echo_n "(cached) " >&6
5999 else
6000 if test -n "$RSVG"; then
6001 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6002 else
6003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6004 for as_dir in $PATH
6006 IFS=$as_save_IFS
6007 test -z "$as_dir" && as_dir=.
6008 for ac_exec_ext in '' $ac_executable_extensions; do
6009 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6010 ac_cv_prog_RSVG="$ac_prog"
6011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6012 break 2
6014 done
6015 done
6016 IFS=$as_save_IFS
6020 RSVG=$ac_cv_prog_RSVG
6021 if test -n "$RSVG"; then
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6023 $as_echo "$RSVG" >&6; }
6024 else
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6026 $as_echo "no" >&6; }
6030 test -n "$RSVG" && break
6031 done
6032 test -n "$RSVG" || RSVG="false"
6034 for ac_prog in convert
6036 # Extract the first word of "$ac_prog", so it can be a program name with args.
6037 set dummy $ac_prog; ac_word=$2
6038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6039 $as_echo_n "checking for $ac_word... " >&6; }
6040 if ${ac_cv_prog_CONVERT+:} false; then :
6041 $as_echo_n "(cached) " >&6
6042 else
6043 if test -n "$CONVERT"; then
6044 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6045 else
6046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6047 for as_dir in $PATH
6049 IFS=$as_save_IFS
6050 test -z "$as_dir" && as_dir=.
6051 for ac_exec_ext in '' $ac_executable_extensions; do
6052 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6053 ac_cv_prog_CONVERT="$ac_prog"
6054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6055 break 2
6057 done
6058 done
6059 IFS=$as_save_IFS
6063 CONVERT=$ac_cv_prog_CONVERT
6064 if test -n "$CONVERT"; then
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6066 $as_echo "$CONVERT" >&6; }
6067 else
6068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6069 $as_echo "no" >&6; }
6073 test -n "$CONVERT" && break
6074 done
6075 test -n "$CONVERT" || CONVERT="false"
6077 for ac_prog in icotool
6079 # Extract the first word of "$ac_prog", so it can be a program name with args.
6080 set dummy $ac_prog; ac_word=$2
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6082 $as_echo_n "checking for $ac_word... " >&6; }
6083 if ${ac_cv_prog_ICOTOOL+:} false; then :
6084 $as_echo_n "(cached) " >&6
6085 else
6086 if test -n "$ICOTOOL"; then
6087 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6088 else
6089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6090 for as_dir in $PATH
6092 IFS=$as_save_IFS
6093 test -z "$as_dir" && as_dir=.
6094 for ac_exec_ext in '' $ac_executable_extensions; do
6095 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6096 ac_cv_prog_ICOTOOL="$ac_prog"
6097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6098 break 2
6100 done
6101 done
6102 IFS=$as_save_IFS
6106 ICOTOOL=$ac_cv_prog_ICOTOOL
6107 if test -n "$ICOTOOL"; then
6108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6109 $as_echo "$ICOTOOL" >&6; }
6110 else
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6112 $as_echo "no" >&6; }
6116 test -n "$ICOTOOL" && break
6117 done
6118 test -n "$ICOTOOL" || ICOTOOL="false"
6120 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6121 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6123 if test "$CONVERT" = false
6124 then
6125 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6126 else
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6128 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6129 convert_version=`convert --version | head -n1`
6130 if test "x$convert_version" != "x"
6131 then
6132 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6133 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6134 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6135 then
6136 CONVERT=false
6139 if test "$CONVERT" = false
6140 then
6141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6142 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6143 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6144 else
6145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6146 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6150 if test "$ICOTOOL" = false
6151 then
6152 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6153 else
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6155 $as_echo_n "checking for recent enough icotool... " >&6; }
6156 icotool_version=`icotool --version | head -n1`
6157 if test "x$icotool_version" != "x"
6158 then
6159 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6160 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6161 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6162 then
6163 ICOTOOL=false
6164 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6167 if test "$ICOTOOL" = false
6168 then
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6170 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6171 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6172 else
6173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6174 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6178 with_gettext=yes
6179 with_gettextpo=yes
6180 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6183 test "x$with_gettext" != xno || MSGFMT=false
6184 if test "$MSGFMT" != "false"
6185 then
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6187 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6188 cat >conftest.po <<EOF
6189 # comment
6190 msgctxt "ctxt"
6191 msgid "id"
6192 msgstr "str"
6194 if $MSGFMT -o /dev/null conftest.po 2>&5
6195 then
6196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6197 $as_echo "yes" >&6; }
6198 else
6199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6200 $as_echo "no" >&6; }
6201 MSGFMT=false
6204 if test "$MSGFMT" = false; then :
6205 case "x$with_gettext" in
6206 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6207 xno) ;;
6208 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6209 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6210 esac
6211 enable_po=${enable_po:-no}
6215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6216 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6217 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6218 $as_echo_n "(cached) " >&6
6219 else
6220 ac_check_lib_save_LIBS=$LIBS
6221 LIBS="-li386 $LIBS"
6222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6223 /* end confdefs.h. */
6225 /* Override any GCC internal prototype to avoid an error.
6226 Use char because int might match the return type of a GCC
6227 builtin and then its argument prototype would still apply. */
6228 #ifdef __cplusplus
6229 extern "C"
6230 #endif
6231 char i386_set_ldt ();
6233 main ()
6235 return i386_set_ldt ();
6237 return 0;
6239 _ACEOF
6240 if ac_fn_c_try_link "$LINENO"; then :
6241 ac_cv_lib_i386_i386_set_ldt=yes
6242 else
6243 ac_cv_lib_i386_i386_set_ldt=no
6245 rm -f core conftest.err conftest.$ac_objext \
6246 conftest$ac_exeext conftest.$ac_ext
6247 LIBS=$ac_check_lib_save_LIBS
6249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6250 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6251 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6252 cat >>confdefs.h <<_ACEOF
6253 #define HAVE_LIBI386 1
6254 _ACEOF
6256 LIBS="-li386 $LIBS"
6260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6261 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6262 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6263 $as_echo_n "(cached) " >&6
6264 else
6265 ac_check_lib_save_LIBS=$LIBS
6266 LIBS="-lossaudio $LIBS"
6267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6268 /* end confdefs.h. */
6270 /* Override any GCC internal prototype to avoid an error.
6271 Use char because int might match the return type of a GCC
6272 builtin and then its argument prototype would still apply. */
6273 #ifdef __cplusplus
6274 extern "C"
6275 #endif
6276 char _oss_ioctl ();
6278 main ()
6280 return _oss_ioctl ();
6282 return 0;
6284 _ACEOF
6285 if ac_fn_c_try_link "$LINENO"; then :
6286 ac_cv_lib_ossaudio__oss_ioctl=yes
6287 else
6288 ac_cv_lib_ossaudio__oss_ioctl=no
6290 rm -f core conftest.err conftest.$ac_objext \
6291 conftest$ac_exeext conftest.$ac_ext
6292 LIBS=$ac_check_lib_save_LIBS
6294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6295 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6296 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6297 cat >>confdefs.h <<_ACEOF
6298 #define HAVE_LIBOSSAUDIO 1
6299 _ACEOF
6301 LIBS="-lossaudio $LIBS"
6306 OPENGL_LIBS=""
6310 # Check whether --enable-largefile was given.
6311 if test "${enable_largefile+set}" = set; then :
6312 enableval=$enable_largefile;
6315 if test "$enable_largefile" != no; then
6317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6318 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6319 if ${ac_cv_sys_largefile_CC+:} false; then :
6320 $as_echo_n "(cached) " >&6
6321 else
6322 ac_cv_sys_largefile_CC=no
6323 if test "$GCC" != yes; then
6324 ac_save_CC=$CC
6325 while :; do
6326 # IRIX 6.2 and later do not support large files by default,
6327 # so use the C compiler's -n32 option if that helps.
6328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6329 /* end confdefs.h. */
6330 #include <sys/types.h>
6331 /* Check that off_t can represent 2**63 - 1 correctly.
6332 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6333 since some C++ compilers masquerading as C compilers
6334 incorrectly reject 9223372036854775807. */
6335 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6336 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6337 && LARGE_OFF_T % 2147483647 == 1)
6338 ? 1 : -1];
6340 main ()
6344 return 0;
6346 _ACEOF
6347 if ac_fn_c_try_compile "$LINENO"; then :
6348 break
6350 rm -f core conftest.err conftest.$ac_objext
6351 CC="$CC -n32"
6352 if ac_fn_c_try_compile "$LINENO"; then :
6353 ac_cv_sys_largefile_CC=' -n32'; break
6355 rm -f core conftest.err conftest.$ac_objext
6356 break
6357 done
6358 CC=$ac_save_CC
6359 rm -f conftest.$ac_ext
6362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6363 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6364 if test "$ac_cv_sys_largefile_CC" != no; then
6365 CC=$CC$ac_cv_sys_largefile_CC
6368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6369 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6370 if ${ac_cv_sys_file_offset_bits+:} false; then :
6371 $as_echo_n "(cached) " >&6
6372 else
6373 while :; do
6374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6375 /* end confdefs.h. */
6376 #include <sys/types.h>
6377 /* Check that off_t can represent 2**63 - 1 correctly.
6378 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6379 since some C++ compilers masquerading as C compilers
6380 incorrectly reject 9223372036854775807. */
6381 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6382 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6383 && LARGE_OFF_T % 2147483647 == 1)
6384 ? 1 : -1];
6386 main ()
6390 return 0;
6392 _ACEOF
6393 if ac_fn_c_try_compile "$LINENO"; then :
6394 ac_cv_sys_file_offset_bits=no; break
6396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6398 /* end confdefs.h. */
6399 #define _FILE_OFFSET_BITS 64
6400 #include <sys/types.h>
6401 /* Check that off_t can represent 2**63 - 1 correctly.
6402 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6403 since some C++ compilers masquerading as C compilers
6404 incorrectly reject 9223372036854775807. */
6405 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6406 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6407 && LARGE_OFF_T % 2147483647 == 1)
6408 ? 1 : -1];
6410 main ()
6414 return 0;
6416 _ACEOF
6417 if ac_fn_c_try_compile "$LINENO"; then :
6418 ac_cv_sys_file_offset_bits=64; break
6420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6421 ac_cv_sys_file_offset_bits=unknown
6422 break
6423 done
6425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6426 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6427 case $ac_cv_sys_file_offset_bits in #(
6428 no | unknown) ;;
6430 cat >>confdefs.h <<_ACEOF
6431 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6432 _ACEOF
6434 esac
6435 rm -rf conftest*
6436 if test $ac_cv_sys_file_offset_bits = unknown; then
6437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6438 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6439 if ${ac_cv_sys_large_files+:} false; then :
6440 $as_echo_n "(cached) " >&6
6441 else
6442 while :; do
6443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6444 /* end confdefs.h. */
6445 #include <sys/types.h>
6446 /* Check that off_t can represent 2**63 - 1 correctly.
6447 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6448 since some C++ compilers masquerading as C compilers
6449 incorrectly reject 9223372036854775807. */
6450 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6451 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6452 && LARGE_OFF_T % 2147483647 == 1)
6453 ? 1 : -1];
6455 main ()
6459 return 0;
6461 _ACEOF
6462 if ac_fn_c_try_compile "$LINENO"; then :
6463 ac_cv_sys_large_files=no; break
6465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6467 /* end confdefs.h. */
6468 #define _LARGE_FILES 1
6469 #include <sys/types.h>
6470 /* Check that off_t can represent 2**63 - 1 correctly.
6471 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6472 since some C++ compilers masquerading as C compilers
6473 incorrectly reject 9223372036854775807. */
6474 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6475 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6476 && LARGE_OFF_T % 2147483647 == 1)
6477 ? 1 : -1];
6479 main ()
6483 return 0;
6485 _ACEOF
6486 if ac_fn_c_try_compile "$LINENO"; then :
6487 ac_cv_sys_large_files=1; break
6489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6490 ac_cv_sys_large_files=unknown
6491 break
6492 done
6494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6495 $as_echo "$ac_cv_sys_large_files" >&6; }
6496 case $ac_cv_sys_large_files in #(
6497 no | unknown) ;;
6499 cat >>confdefs.h <<_ACEOF
6500 #define _LARGE_FILES $ac_cv_sys_large_files
6501 _ACEOF
6503 esac
6504 rm -rf conftest*
6511 ac_ext=c
6512 ac_cpp='$CPP $CPPFLAGS'
6513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6517 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6518 # On Suns, sometimes $CPP names a directory.
6519 if test -n "$CPP" && test -d "$CPP"; then
6520 CPP=
6522 if test -z "$CPP"; then
6523 if ${ac_cv_prog_CPP+:} false; then :
6524 $as_echo_n "(cached) " >&6
6525 else
6526 # Double quotes because CPP needs to be expanded
6527 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6529 ac_preproc_ok=false
6530 for ac_c_preproc_warn_flag in '' yes
6532 # Use a header file that comes with gcc, so configuring glibc
6533 # with a fresh cross-compiler works.
6534 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6535 # <limits.h> exists even on freestanding compilers.
6536 # On the NeXT, cc -E runs the code through the compiler's parser,
6537 # not just through cpp. "Syntax error" is here to catch this case.
6538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6539 /* end confdefs.h. */
6540 #ifdef __STDC__
6541 # include <limits.h>
6542 #else
6543 # include <assert.h>
6544 #endif
6545 Syntax error
6546 _ACEOF
6547 if ac_fn_c_try_cpp "$LINENO"; then :
6549 else
6550 # Broken: fails on valid input.
6551 continue
6553 rm -f conftest.err conftest.i conftest.$ac_ext
6555 # OK, works on sane cases. Now check whether nonexistent headers
6556 # can be detected and how.
6557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6558 /* end confdefs.h. */
6559 #include <ac_nonexistent.h>
6560 _ACEOF
6561 if ac_fn_c_try_cpp "$LINENO"; then :
6562 # Broken: success on invalid input.
6563 continue
6564 else
6565 # Passes both tests.
6566 ac_preproc_ok=:
6567 break
6569 rm -f conftest.err conftest.i conftest.$ac_ext
6571 done
6572 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6573 rm -f conftest.i conftest.err conftest.$ac_ext
6574 if $ac_preproc_ok; then :
6575 break
6578 done
6579 ac_cv_prog_CPP=$CPP
6582 CPP=$ac_cv_prog_CPP
6583 else
6584 ac_cv_prog_CPP=$CPP
6586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6587 $as_echo "$CPP" >&6; }
6588 ac_preproc_ok=false
6589 for ac_c_preproc_warn_flag in '' yes
6591 # Use a header file that comes with gcc, so configuring glibc
6592 # with a fresh cross-compiler works.
6593 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6594 # <limits.h> exists even on freestanding compilers.
6595 # On the NeXT, cc -E runs the code through the compiler's parser,
6596 # not just through cpp. "Syntax error" is here to catch this case.
6597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6598 /* end confdefs.h. */
6599 #ifdef __STDC__
6600 # include <limits.h>
6601 #else
6602 # include <assert.h>
6603 #endif
6604 Syntax error
6605 _ACEOF
6606 if ac_fn_c_try_cpp "$LINENO"; then :
6608 else
6609 # Broken: fails on valid input.
6610 continue
6612 rm -f conftest.err conftest.i conftest.$ac_ext
6614 # OK, works on sane cases. Now check whether nonexistent headers
6615 # can be detected and how.
6616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6617 /* end confdefs.h. */
6618 #include <ac_nonexistent.h>
6619 _ACEOF
6620 if ac_fn_c_try_cpp "$LINENO"; then :
6621 # Broken: success on invalid input.
6622 continue
6623 else
6624 # Passes both tests.
6625 ac_preproc_ok=:
6626 break
6628 rm -f conftest.err conftest.i conftest.$ac_ext
6630 done
6631 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6632 rm -f conftest.i conftest.err conftest.$ac_ext
6633 if $ac_preproc_ok; then :
6635 else
6636 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6637 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6638 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6639 See \`config.log' for more details" "$LINENO" 5; }
6642 ac_ext=c
6643 ac_cpp='$CPP $CPPFLAGS'
6644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6650 $as_echo_n "checking for ANSI C header files... " >&6; }
6651 if ${ac_cv_header_stdc+:} false; then :
6652 $as_echo_n "(cached) " >&6
6653 else
6654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6655 /* end confdefs.h. */
6656 #include <stdlib.h>
6657 #include <stdarg.h>
6658 #include <string.h>
6659 #include <float.h>
6662 main ()
6666 return 0;
6668 _ACEOF
6669 if ac_fn_c_try_compile "$LINENO"; then :
6670 ac_cv_header_stdc=yes
6671 else
6672 ac_cv_header_stdc=no
6674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6676 if test $ac_cv_header_stdc = yes; then
6677 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6679 /* end confdefs.h. */
6680 #include <string.h>
6682 _ACEOF
6683 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6684 $EGREP "memchr" >/dev/null 2>&1; then :
6686 else
6687 ac_cv_header_stdc=no
6689 rm -f conftest*
6693 if test $ac_cv_header_stdc = yes; then
6694 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6696 /* end confdefs.h. */
6697 #include <stdlib.h>
6699 _ACEOF
6700 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6701 $EGREP "free" >/dev/null 2>&1; then :
6703 else
6704 ac_cv_header_stdc=no
6706 rm -f conftest*
6710 if test $ac_cv_header_stdc = yes; then
6711 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6712 if test "$cross_compiling" = yes; then :
6714 else
6715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6716 /* end confdefs.h. */
6717 #include <ctype.h>
6718 #include <stdlib.h>
6719 #if ((' ' & 0x0FF) == 0x020)
6720 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6721 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6722 #else
6723 # define ISLOWER(c) \
6724 (('a' <= (c) && (c) <= 'i') \
6725 || ('j' <= (c) && (c) <= 'r') \
6726 || ('s' <= (c) && (c) <= 'z'))
6727 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6728 #endif
6730 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6732 main ()
6734 int i;
6735 for (i = 0; i < 256; i++)
6736 if (XOR (islower (i), ISLOWER (i))
6737 || toupper (i) != TOUPPER (i))
6738 return 2;
6739 return 0;
6741 _ACEOF
6742 if ac_fn_c_try_run "$LINENO"; then :
6744 else
6745 ac_cv_header_stdc=no
6747 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6748 conftest.$ac_objext conftest.beam conftest.$ac_ext
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6754 $as_echo "$ac_cv_header_stdc" >&6; }
6755 if test $ac_cv_header_stdc = yes; then
6757 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6761 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6762 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6763 inttypes.h stdint.h unistd.h
6764 do :
6765 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6766 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6768 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6769 cat >>confdefs.h <<_ACEOF
6770 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6771 _ACEOF
6775 done
6778 for ac_header in \
6779 AL/al.h \
6780 ApplicationServices/ApplicationServices.h \
6781 AudioToolbox/AudioConverter.h \
6782 AudioUnit/AudioUnit.h \
6783 AudioUnit/AudioComponent.h \
6784 CL/cl.h \
6785 Carbon/Carbon.h \
6786 CommonCrypto/CommonDigest.h \
6787 CoreAudio/CoreAudio.h \
6788 CoreServices/CoreServices.h \
6789 DiskArbitration/DiskArbitration.h \
6790 IOKit/IOKitLib.h \
6791 IOKit/hid/IOHIDLib.h \
6792 OpenAL/al.h \
6793 OpenCL/opencl.h \
6794 QuickTime/ImageCompression.h \
6795 Security/Security.h \
6796 alias.h \
6797 alsa/asoundlib.h \
6798 arpa/inet.h \
6799 arpa/nameser.h \
6800 asm/types.h \
6801 asm/user.h \
6802 curses.h \
6803 direct.h \
6804 dirent.h \
6805 dlfcn.h \
6806 elf.h \
6807 float.h \
6808 fnmatch.h \
6809 getopt.h \
6810 gettext-po.h \
6811 grp.h \
6812 gsm.h \
6813 gsm/gsm.h \
6814 ieeefp.h \
6815 inet/mib2.h \
6816 io.h \
6817 kstat.h \
6818 lber.h \
6819 ldap.h \
6820 libproc.h \
6821 link.h \
6822 linux/cdrom.h \
6823 linux/compiler.h \
6824 linux/filter.h \
6825 linux/hdreg.h \
6826 linux/hidraw.h \
6827 linux/input.h \
6828 linux/ioctl.h \
6829 linux/joystick.h \
6830 linux/major.h \
6831 linux/param.h \
6832 linux/serial.h \
6833 linux/types.h \
6834 linux/ucdrom.h \
6835 lwp.h \
6836 mach-o/nlist.h \
6837 mach-o/loader.h \
6838 mach/mach.h \
6839 mach/machine.h \
6840 machine/cpu.h \
6841 machine/limits.h \
6842 machine/sysarch.h \
6843 mntent.h \
6844 ncurses.h \
6845 netdb.h \
6846 netinet/in.h \
6847 netinet/in_systm.h \
6848 netinet/tcp.h \
6849 netinet/tcp_fsm.h \
6850 pcap/pcap.h \
6851 poll.h \
6852 port.h \
6853 process.h \
6854 pthread.h \
6855 pwd.h \
6856 sched.h \
6857 scsi/scsi.h \
6858 scsi/scsi_ioctl.h \
6859 scsi/sg.h \
6860 stdbool.h \
6861 stdint.h \
6862 stropts.h \
6863 sys/asoundlib.h \
6864 sys/attr.h \
6865 sys/cdio.h \
6866 sys/elf32.h \
6867 sys/epoll.h \
6868 sys/event.h \
6869 sys/exec_elf.h \
6870 sys/filio.h \
6871 sys/inotify.h \
6872 sys/ioctl.h \
6873 sys/ipc.h \
6874 sys/limits.h \
6875 sys/link.h \
6876 sys/mman.h \
6877 sys/modem.h \
6878 sys/msg.h \
6879 sys/mtio.h \
6880 sys/param.h \
6881 sys/poll.h \
6882 sys/prctl.h \
6883 sys/protosw.h \
6884 sys/ptrace.h \
6885 sys/queue.h \
6886 sys/resource.h \
6887 sys/scsiio.h \
6888 sys/shm.h \
6889 sys/signal.h \
6890 sys/socket.h \
6891 sys/socketvar.h \
6892 sys/sockio.h \
6893 sys/statvfs.h \
6894 sys/strtio.h \
6895 sys/syscall.h \
6896 sys/sysinfo.h \
6897 sys/tihdr.h \
6898 sys/time.h \
6899 sys/timeout.h \
6900 sys/times.h \
6901 sys/uio.h \
6902 sys/user.h \
6903 sys/utsname.h \
6904 sys/vm86.h \
6905 sys/vnode.h \
6906 sys/wait.h \
6907 syscall.h \
6908 termios.h \
6909 unistd.h \
6910 utime.h \
6911 valgrind/memcheck.h \
6912 valgrind/valgrind.h \
6913 zlib.h
6915 do :
6916 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6917 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6918 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6919 cat >>confdefs.h <<_ACEOF
6920 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6921 _ACEOF
6925 done
6927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6928 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6929 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
6930 $as_echo_n "(cached) " >&6
6931 else
6932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6933 /* end confdefs.h. */
6934 #include <sys/types.h>
6936 main ()
6938 return makedev(0, 0);
6940 return 0;
6942 _ACEOF
6943 if ac_fn_c_try_link "$LINENO"; then :
6944 ac_cv_header_sys_types_h_makedev=yes
6945 else
6946 ac_cv_header_sys_types_h_makedev=no
6948 rm -f core conftest.err conftest.$ac_objext \
6949 conftest$ac_exeext conftest.$ac_ext
6952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
6953 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
6955 if test $ac_cv_header_sys_types_h_makedev = no; then
6956 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
6957 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
6959 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
6965 if test $ac_cv_header_sys_mkdev_h = no; then
6966 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
6967 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
6969 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
6977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6978 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6979 if ${ac_cv_header_stat_broken+:} false; then :
6980 $as_echo_n "(cached) " >&6
6981 else
6982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6983 /* end confdefs.h. */
6984 #include <sys/types.h>
6985 #include <sys/stat.h>
6987 #if defined S_ISBLK && defined S_IFDIR
6988 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6989 #endif
6991 #if defined S_ISBLK && defined S_IFCHR
6992 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6993 #endif
6995 #if defined S_ISLNK && defined S_IFREG
6996 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6997 #endif
6999 #if defined S_ISSOCK && defined S_IFREG
7000 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7001 #endif
7003 _ACEOF
7004 if ac_fn_c_try_compile "$LINENO"; then :
7005 ac_cv_header_stat_broken=no
7006 else
7007 ac_cv_header_stat_broken=yes
7009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7012 $as_echo "$ac_cv_header_stat_broken" >&6; }
7013 if test $ac_cv_header_stat_broken = yes; then
7015 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7021 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7022 do :
7023 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7024 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7025 #ifdef HAVE_SYS_PARAM_H
7026 # include <sys/param.h>
7027 #endif
7029 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7030 cat >>confdefs.h <<_ACEOF
7031 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7032 _ACEOF
7036 done
7039 for ac_header in \
7040 netinet/ip.h \
7041 net/if.h \
7042 net/if_arp.h \
7043 net/if_dl.h \
7044 net/if_types.h \
7045 net/route.h \
7046 netinet/if_ether.h \
7047 netinet/if_inarp.h \
7048 netinet/in_pcb.h \
7049 netinet/ip_icmp.h \
7050 netinet/ip_var.h \
7051 netinet/udp.h \
7052 netipx/ipx.h \
7053 sys/un.h \
7055 do :
7056 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7057 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7058 #ifdef HAVE_SYS_SOCKET_H
7059 # include <sys/socket.h>
7060 #endif
7061 #ifdef HAVE_SYS_SOCKETVAR_H
7062 # include <sys/socketvar.h>
7063 #endif
7064 #ifdef HAVE_NET_ROUTE_H
7065 # include <net/route.h>
7066 #endif
7067 #ifdef HAVE_NETINET_IN_H
7068 # include <netinet/in.h>
7069 #endif
7070 #ifdef HAVE_NETINET_IN_SYSTM_H
7071 # include <netinet/in_systm.h>
7072 #endif
7073 #ifdef HAVE_NET_IF_H
7074 # include <net/if.h>
7075 #endif
7076 #ifdef HAVE_NETINET_IP_H
7077 # include <netinet/ip.h>
7078 #endif
7080 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7081 cat >>confdefs.h <<_ACEOF
7082 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7083 _ACEOF
7087 done
7090 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7091 do :
7092 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7093 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7094 #ifdef HAVE_ALIAS_H
7095 # include <alias.h>
7096 #endif
7097 #ifdef HAVE_SYS_SOCKET_H
7098 # include <sys/socket.h>
7099 #endif
7100 #ifdef HAVE_SYS_SOCKETVAR_H
7101 # include <sys/socketvar.h>
7102 #endif
7103 #ifdef HAVE_SYS_TIMEOUT_H
7104 # include <sys/timeout.h>
7105 #endif
7106 #ifdef HAVE_NETINET_IN_H
7107 # include <netinet/in.h>
7108 #endif
7109 #ifdef HAVE_NETINET_IN_SYSTM_H
7110 # include <netinet/in_systm.h>
7111 #endif
7112 #ifdef HAVE_NETINET_IP_H
7113 # include <netinet/ip.h>
7114 #endif
7115 #ifdef HAVE_NETINET_IP_VAR_H
7116 # include <netinet/ip_var.h>
7117 #endif
7118 #ifdef HAVE_NETINET_IP_ICMP_H
7119 # include <netinet/ip_icmp.h>
7120 #endif
7121 #ifdef HAVE_NETINET_UDP_H
7122 # include <netinet/udp.h>
7123 #endif
7124 #ifdef HAVE_NETINET_TCP_H
7125 # include <netinet/tcp.h>
7126 #endif
7127 #ifdef HAVE_NETINET_TCP_TIMER_H
7128 #include <netinet/tcp_timer.h>
7129 #endif
7131 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7132 cat >>confdefs.h <<_ACEOF
7133 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7134 _ACEOF
7138 done
7141 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7142 do :
7143 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7144 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7145 #ifdef HAVE_ASM_TYPES_H
7146 # include <asm/types.h>
7147 #endif
7148 #ifdef HAVE_SYS_SOCKET_H
7149 # include <sys/socket.h>
7150 #endif
7151 #ifdef HAVE_LINUX_TYPES_H
7152 # include <linux/types.h>
7153 #endif
7155 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7156 cat >>confdefs.h <<_ACEOF
7157 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7158 _ACEOF
7162 done
7165 for ac_header in mach-o/dyld_images.h
7166 do :
7167 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7168 # include <stdbool.h>
7169 #endif
7170 #ifdef HAVE_STDINT_H
7171 # include <stdint.h>
7172 #endif
7174 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7175 cat >>confdefs.h <<_ACEOF
7176 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7177 _ACEOF
7181 done
7184 for ac_header in resolv.h
7185 do :
7186 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7187 #ifdef HAVE_SYS_SOCKET_H
7188 # include <sys/socket.h>
7189 #endif
7190 #ifdef HAVE_NETINET_IN_H
7191 # include <netinet/in.h>
7192 #endif
7193 #ifdef HAVE_ARPA_NAMESER_H
7194 # include <arpa/nameser.h>
7195 #endif
7197 if test "x$ac_cv_header_resolv_h" = xyes; then :
7198 cat >>confdefs.h <<_ACEOF
7199 #define HAVE_RESOLV_H 1
7200 _ACEOF
7204 done
7207 for ac_header in ifaddrs.h
7208 do :
7209 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7211 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7212 cat >>confdefs.h <<_ACEOF
7213 #define HAVE_IFADDRS_H 1
7214 _ACEOF
7218 done
7221 for ac_header in sys/ucontext.h
7222 do :
7223 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7225 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7226 cat >>confdefs.h <<_ACEOF
7227 #define HAVE_SYS_UCONTEXT_H 1
7228 _ACEOF
7232 done
7235 for ac_header in sys/thr.h
7236 do :
7237 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7238 #ifdef HAVE_SYS_UCONTEXT_H
7239 #include <sys/ucontext.h>
7240 #endif
7242 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7243 cat >>confdefs.h <<_ACEOF
7244 #define HAVE_SYS_THR_H 1
7245 _ACEOF
7249 done
7252 for ac_header in pthread_np.h
7253 do :
7254 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7255 #include <pthread.h>
7256 #endif
7258 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7259 cat >>confdefs.h <<_ACEOF
7260 #define HAVE_PTHREAD_NP_H 1
7261 _ACEOF
7265 done
7268 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7269 do :
7270 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7271 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7272 #include <sys/time.h>
7273 #endif
7274 #include <sys/types.h>
7275 #ifdef HAVE_ASM_TYPES_H
7276 #include <asm/types.h>
7277 #endif
7279 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7280 cat >>confdefs.h <<_ACEOF
7281 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7282 _ACEOF
7286 done
7289 for ac_header in libprocstat.h
7290 do :
7291 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7292 #include <sys/param.h>
7293 #endif
7294 #ifdef HAVE_SYS_QUEUE_H
7295 #include <sys/queue.h>
7296 #endif
7297 #ifdef HAVE_SYS_SOCKET_H
7298 #include <sys/socket.h>
7299 #endif
7301 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7302 cat >>confdefs.h <<_ACEOF
7303 #define HAVE_LIBPROCSTAT_H 1
7304 _ACEOF
7308 done
7312 dlldir="\${libdir}/wine"
7314 DLLFLAGS="-D_REENTRANT"
7316 LDRPATH_INSTALL=""
7318 LDRPATH_LOCAL=""
7320 LDEXECFLAGS=""
7322 LIBEXT="so"
7323 DLLEXT=".so"
7324 IMPLIBEXT="def"
7325 # Extract the first word of "ldd", so it can be a program name with args.
7326 set dummy ldd; ac_word=$2
7327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7328 $as_echo_n "checking for $ac_word... " >&6; }
7329 if ${ac_cv_path_LDD+:} false; then :
7330 $as_echo_n "(cached) " >&6
7331 else
7332 case $LDD in
7333 [\\/]* | ?:[\\/]*)
7334 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7338 as_dummy="/sbin:/usr/sbin:$PATH"
7339 for as_dir in $as_dummy
7341 IFS=$as_save_IFS
7342 test -z "$as_dir" && as_dir=.
7343 for ac_exec_ext in '' $ac_executable_extensions; do
7344 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7345 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7346 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7347 break 2
7349 done
7350 done
7351 IFS=$as_save_IFS
7353 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7355 esac
7357 LDD=$ac_cv_path_LDD
7358 if test -n "$LDD"; then
7359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7360 $as_echo "$LDD" >&6; }
7361 else
7362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7363 $as_echo "no" >&6; }
7367 if test -n "$ac_tool_prefix"; then
7368 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7369 set dummy ${ac_tool_prefix}otool; ac_word=$2
7370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7371 $as_echo_n "checking for $ac_word... " >&6; }
7372 if ${ac_cv_prog_OTOOL+:} false; then :
7373 $as_echo_n "(cached) " >&6
7374 else
7375 if test -n "$OTOOL"; then
7376 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7377 else
7378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7379 for as_dir in $PATH
7381 IFS=$as_save_IFS
7382 test -z "$as_dir" && as_dir=.
7383 for ac_exec_ext in '' $ac_executable_extensions; do
7384 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7385 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7386 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7387 break 2
7389 done
7390 done
7391 IFS=$as_save_IFS
7395 OTOOL=$ac_cv_prog_OTOOL
7396 if test -n "$OTOOL"; then
7397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7398 $as_echo "$OTOOL" >&6; }
7399 else
7400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7401 $as_echo "no" >&6; }
7406 if test -z "$ac_cv_prog_OTOOL"; then
7407 ac_ct_OTOOL=$OTOOL
7408 # Extract the first word of "otool", so it can be a program name with args.
7409 set dummy otool; ac_word=$2
7410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7411 $as_echo_n "checking for $ac_word... " >&6; }
7412 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7413 $as_echo_n "(cached) " >&6
7414 else
7415 if test -n "$ac_ct_OTOOL"; then
7416 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7417 else
7418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7419 for as_dir in $PATH
7421 IFS=$as_save_IFS
7422 test -z "$as_dir" && as_dir=.
7423 for ac_exec_ext in '' $ac_executable_extensions; do
7424 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7425 ac_cv_prog_ac_ct_OTOOL="otool"
7426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7427 break 2
7429 done
7430 done
7431 IFS=$as_save_IFS
7435 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7436 if test -n "$ac_ct_OTOOL"; then
7437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7438 $as_echo "$ac_ct_OTOOL" >&6; }
7439 else
7440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7441 $as_echo "no" >&6; }
7444 if test "x$ac_ct_OTOOL" = x; then
7445 OTOOL="otool"
7446 else
7447 case $cross_compiling:$ac_tool_warned in
7448 yes:)
7449 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7450 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7451 ac_tool_warned=yes ;;
7452 esac
7453 OTOOL=$ac_ct_OTOOL
7455 else
7456 OTOOL="$ac_cv_prog_OTOOL"
7459 if test -n "$ac_tool_prefix"; then
7460 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7461 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7463 $as_echo_n "checking for $ac_word... " >&6; }
7464 if ${ac_cv_prog_READELF+:} false; then :
7465 $as_echo_n "(cached) " >&6
7466 else
7467 if test -n "$READELF"; then
7468 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7469 else
7470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7471 for as_dir in $PATH
7473 IFS=$as_save_IFS
7474 test -z "$as_dir" && as_dir=.
7475 for ac_exec_ext in '' $ac_executable_extensions; do
7476 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7477 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7478 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7479 break 2
7481 done
7482 done
7483 IFS=$as_save_IFS
7487 READELF=$ac_cv_prog_READELF
7488 if test -n "$READELF"; then
7489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7490 $as_echo "$READELF" >&6; }
7491 else
7492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7493 $as_echo "no" >&6; }
7498 if test -z "$ac_cv_prog_READELF"; then
7499 ac_ct_READELF=$READELF
7500 # Extract the first word of "readelf", so it can be a program name with args.
7501 set dummy readelf; ac_word=$2
7502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7503 $as_echo_n "checking for $ac_word... " >&6; }
7504 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7505 $as_echo_n "(cached) " >&6
7506 else
7507 if test -n "$ac_ct_READELF"; then
7508 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7509 else
7510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7511 for as_dir in $PATH
7513 IFS=$as_save_IFS
7514 test -z "$as_dir" && as_dir=.
7515 for ac_exec_ext in '' $ac_executable_extensions; do
7516 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7517 ac_cv_prog_ac_ct_READELF="readelf"
7518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7519 break 2
7521 done
7522 done
7523 IFS=$as_save_IFS
7527 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7528 if test -n "$ac_ct_READELF"; then
7529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7530 $as_echo "$ac_ct_READELF" >&6; }
7531 else
7532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7533 $as_echo "no" >&6; }
7536 if test "x$ac_ct_READELF" = x; then
7537 READELF="true"
7538 else
7539 case $cross_compiling:$ac_tool_warned in
7540 yes:)
7541 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7542 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7543 ac_tool_warned=yes ;;
7544 esac
7545 READELF=$ac_ct_READELF
7547 else
7548 READELF="$ac_cv_prog_READELF"
7551 wine_rules_file=conf$$rules.make
7552 rm -f $wine_rules_file
7553 SUBDIRS=""
7555 DISABLED_SUBDIRS=""
7557 CONFIGURE_TARGETS=""
7559 ALL_TEST_RESOURCES=""
7562 wine_fn_append_file ()
7564 as_fn_append $1 " \\$as_nl $2"
7567 wine_fn_append_rule ()
7569 $as_echo "$1" >>$wine_rules_file
7572 wine_fn_has_flag ()
7574 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7577 wine_fn_all_rules ()
7579 wine_fn_append_file SUBDIRS $ac_dir
7580 wine_fn_append_rule \
7581 "all: $ac_dir
7582 .PHONY: $ac_dir
7583 $ac_dir: dummy
7584 @cd $ac_dir && \$(MAKE)"
7587 wine_fn_install_rules ()
7589 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7591 wine_fn_append_rule \
7592 ".PHONY: $ac_dir/install $ac_dir/uninstall
7593 $ac_dir/install:: $ac_dir
7594 @cd $ac_dir && \$(MAKE) install
7595 $ac_dir/uninstall::
7596 @cd $ac_dir && \$(MAKE) uninstall
7597 install:: $ac_dir/install
7598 __uninstall__: $ac_dir/uninstall"
7600 if wine_fn_has_flag install-lib
7601 then
7602 wine_fn_append_rule \
7603 ".PHONY: $ac_dir/install-lib
7604 $ac_dir/install-lib:: $ac_dir
7605 @cd $ac_dir && \$(MAKE) install-lib
7606 install-lib:: $ac_dir/install-lib"
7609 if wine_fn_has_flag install-dev
7610 then
7611 wine_fn_append_rule \
7612 ".PHONY: $ac_dir/install-dev
7613 $ac_dir/install-dev:: $ac_dir
7614 @cd $ac_dir && \$(MAKE) install-dev
7615 install-dev:: $ac_dir/install-dev"
7619 wine_fn_clean_rules ()
7621 ac_clean=$@
7623 if wine_fn_has_flag clean
7624 then
7625 wine_fn_append_rule \
7626 "$ac_dir/clean: dummy
7627 @cd $ac_dir && \$(MAKE) clean"
7628 else
7629 wine_fn_append_rule \
7630 "$ac_dir/clean: dummy
7631 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7633 wine_fn_append_rule \
7634 "__clean__: $ac_dir/clean
7635 .PHONY: $ac_dir/clean"
7638 wine_fn_disabled_rules ()
7640 ac_clean=$@
7642 wine_fn_append_file SUBDIRS $ac_dir
7643 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7644 wine_fn_append_rule \
7645 "__clean__: $ac_dir/clean
7646 .PHONY: $ac_dir/clean
7647 $ac_dir/clean: dummy
7648 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7651 wine_fn_config_makefile ()
7653 ac_dir=$1
7654 ac_enable=$2
7655 ac_flags=$3
7657 case $ac_dir in
7658 fonts|server) test -z "$with_wine64" || return ;;
7659 esac
7660 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7661 wine_fn_disabled_rules; return
7663 wine_fn_all_rules
7664 wine_fn_install_rules
7665 wine_fn_clean_rules
7668 wine_fn_config_lib ()
7670 ac_name=$1
7671 ac_flags=$2
7672 ac_dir=dlls/$ac_name
7673 ac_deps="include"
7675 if test "x$enable_tools" = xno; then :
7677 else
7678 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7680 wine_fn_all_rules
7681 wine_fn_clean_rules
7683 wine_fn_append_rule \
7684 ".PHONY: $ac_dir/install $ac_dir/uninstall
7685 $ac_dir/install:: $ac_dir
7686 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7687 $ac_dir/uninstall::
7688 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7689 install install-dev:: $ac_dir/install
7690 __uninstall__: $ac_dir/uninstall
7691 __builddeps__: $ac_dir
7692 $ac_dir: $ac_deps"
7695 wine_fn_config_dll ()
7697 ac_name=$1
7698 ac_dir=dlls/$ac_name
7699 ac_enable=$2
7700 ac_flags=$3
7701 ac_implib=${4:-$ac_name}
7702 ac_file=$ac_dir/lib$ac_implib
7703 ac_dll=$ac_name
7704 ac_deps="include"
7705 ac_implibflags=""
7707 if test "x$enable_tools" = xno; then :
7709 else
7710 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7712 case $ac_name in
7713 *16) ac_implibflags=" -m16" ;;
7714 *.*) ;;
7715 *) ac_dll=$ac_dll.dll ;;
7716 esac
7718 ac_clean=
7719 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7720 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7722 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7723 if test "$ac_enable" != enable_win16
7724 then
7725 wine_fn_clean_rules $ac_clean
7726 wine_fn_append_file SUBDIRS $ac_dir
7727 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7728 else
7729 wine_fn_disabled_rules $ac_clean
7730 return
7732 else
7733 wine_fn_all_rules
7734 wine_fn_clean_rules $ac_clean
7735 wine_fn_append_rule \
7736 "$ac_dir: __builddeps__
7737 manpages htmlpages sgmlpages xmlpages::
7738 @cd $ac_dir && \$(MAKE) \$@
7739 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7740 install install-lib:: $ac_dir/install-lib
7741 __uninstall__: $ac_dir/uninstall"
7742 if test -n "$DLLEXT"
7743 then
7744 wine_fn_append_rule \
7745 "$ac_dir/install-lib:: $ac_dir
7746 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7747 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7748 $ac_dir/uninstall::
7749 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7750 else
7751 wine_fn_append_rule \
7752 "$ac_dir/install-lib:: $ac_dir
7753 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7754 $ac_dir/uninstall::
7755 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7759 if wine_fn_has_flag staticimplib
7760 then
7761 wine_fn_append_rule \
7762 "__builddeps__: $ac_file.a
7763 $ac_file.a $ac_file.cross.a: $ac_deps
7764 $ac_file.a: dummy
7765 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7766 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7767 $ac_dir/install-dev:: $ac_file.a
7768 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7769 $ac_dir/uninstall::
7770 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7771 install install-dev:: $ac_dir/install-dev
7772 __uninstall__: $ac_dir/uninstall"
7774 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7775 then
7776 wine_fn_append_rule \
7777 "__builddeps__: $ac_file.cross.a
7778 $ac_file.cross.a: dummy
7779 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7782 elif wine_fn_has_flag implib
7783 then
7784 wine_fn_append_rule \
7785 "__builddeps__: $ac_file.$IMPLIBEXT
7786 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7787 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7788 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7789 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7790 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7791 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7792 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7793 $ac_dir/uninstall::
7794 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7795 install install-dev:: $ac_dir/install-dev
7796 __uninstall__: $ac_dir/uninstall"
7797 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7798 then
7799 wine_fn_append_rule \
7800 "__builddeps__: $ac_file.cross.a
7801 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7802 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7807 wine_fn_config_program ()
7809 ac_name=$1
7810 ac_dir=programs/$ac_name
7811 ac_enable=$2
7812 ac_flags=$3
7813 ac_program=$ac_name
7815 case $ac_name in
7816 *.*) ;;
7817 *) ac_program=$ac_program.exe ;;
7818 esac
7820 ac_clean=
7821 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7822 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7824 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7825 wine_fn_disabled_rules $ac_clean; return
7828 wine_fn_all_rules
7829 wine_fn_clean_rules $ac_clean
7830 wine_fn_append_rule "$ac_dir: __builddeps__"
7832 wine_fn_has_flag install || return
7833 wine_fn_append_rule \
7834 ".PHONY: $ac_dir/install $ac_dir/uninstall
7835 install install-lib:: $ac_dir/install
7836 __uninstall__: $ac_dir/uninstall"
7838 if test -n "$DLLEXT"
7839 then
7840 wine_fn_append_rule \
7841 "$ac_dir/install:: $ac_dir
7842 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7843 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7844 $ac_dir/uninstall::
7845 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7847 if test -z "$with_wine64" && wine_fn_has_flag installbin
7848 then
7849 wine_fn_append_rule \
7850 "$ac_dir/install:: __tooldeps__
7851 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7852 $ac_dir/uninstall::
7853 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7855 else
7856 wine_fn_append_rule \
7857 "$ac_dir/install:: $ac_dir
7858 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7859 $ac_dir/uninstall::
7860 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7863 if test -z "$with_wine64" && wine_fn_has_flag manpage
7864 then
7865 wine_fn_append_rule \
7866 "$ac_dir/install:: $ac_dir
7867 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7868 $ac_dir/uninstall::
7869 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7873 wine_fn_config_test ()
7875 ac_dir=$1
7876 ac_name=$2
7877 ac_flags=$3
7879 ac_clean=
7880 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7881 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7883 if test "x$enable_tests" = xno; then :
7884 wine_fn_disabled_rules $ac_clean; return
7887 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7888 wine_fn_all_rules
7889 wine_fn_clean_rules $ac_clean
7891 wine_fn_append_rule \
7892 "$ac_dir: __builddeps__
7893 programs/winetest: $ac_dir
7894 check test: $ac_dir/test
7895 .PHONY: $ac_dir/test
7896 $ac_dir/test: dummy
7897 @cd $ac_dir && \$(MAKE) test
7898 testclean::
7899 \$(RM) $ac_dir/*.ok"
7901 if test -n "$CROSSTARGET"
7902 then
7903 wine_fn_append_rule \
7904 "crosstest: $ac_dir/crosstest
7905 .PHONY: $ac_dir/crosstest
7906 $ac_dir/crosstest: __builddeps__ dummy
7907 @cd $ac_dir && \$(MAKE) crosstest"
7911 wine_fn_config_tool ()
7913 ac_dir=$1
7914 ac_flags=$2
7915 if test "x$enable_tools" = xno; then :
7916 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7919 wine_fn_all_rules
7920 wine_fn_install_rules
7921 wine_fn_clean_rules
7923 wine_fn_append_rule "__tooldeps__: $ac_dir"
7924 wine_fn_append_rule "$ac_dir: libs/port"
7925 case $ac_dir in
7926 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7927 esac
7930 wine_fn_config_symlink ()
7932 ac_linkdir=
7933 if test "x$1" = "x-d"
7934 then
7935 ac_linkdir=$2
7936 shift; shift
7938 ac_links=$@
7939 wine_fn_append_rule \
7940 "$ac_links:
7941 @./config.status \$@"
7942 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7943 test -n "$ac_linkdir" || return
7944 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7947 wine_binary="wine"
7948 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7949 WINELOADER_PROGRAMS="$wine_binary"
7951 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7953 case $host_os in
7954 cygwin*|mingw32*)
7955 if test -n "$ac_tool_prefix"; then
7956 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7957 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7959 $as_echo_n "checking for $ac_word... " >&6; }
7960 if ${ac_cv_prog_DLLTOOL+:} false; then :
7961 $as_echo_n "(cached) " >&6
7962 else
7963 if test -n "$DLLTOOL"; then
7964 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7965 else
7966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7967 for as_dir in $PATH
7969 IFS=$as_save_IFS
7970 test -z "$as_dir" && as_dir=.
7971 for ac_exec_ext in '' $ac_executable_extensions; do
7972 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7973 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7975 break 2
7977 done
7978 done
7979 IFS=$as_save_IFS
7983 DLLTOOL=$ac_cv_prog_DLLTOOL
7984 if test -n "$DLLTOOL"; then
7985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7986 $as_echo "$DLLTOOL" >&6; }
7987 else
7988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7989 $as_echo "no" >&6; }
7994 if test -z "$ac_cv_prog_DLLTOOL"; then
7995 ac_ct_DLLTOOL=$DLLTOOL
7996 # Extract the first word of "dlltool", so it can be a program name with args.
7997 set dummy dlltool; ac_word=$2
7998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7999 $as_echo_n "checking for $ac_word... " >&6; }
8000 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8001 $as_echo_n "(cached) " >&6
8002 else
8003 if test -n "$ac_ct_DLLTOOL"; then
8004 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8005 else
8006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8007 for as_dir in $PATH
8009 IFS=$as_save_IFS
8010 test -z "$as_dir" && as_dir=.
8011 for ac_exec_ext in '' $ac_executable_extensions; do
8012 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8013 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8014 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8015 break 2
8017 done
8018 done
8019 IFS=$as_save_IFS
8023 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8024 if test -n "$ac_ct_DLLTOOL"; then
8025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8026 $as_echo "$ac_ct_DLLTOOL" >&6; }
8027 else
8028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8029 $as_echo "no" >&6; }
8032 if test "x$ac_ct_DLLTOOL" = x; then
8033 DLLTOOL="false"
8034 else
8035 case $cross_compiling:$ac_tool_warned in
8036 yes:)
8037 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8038 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8039 ac_tool_warned=yes ;;
8040 esac
8041 DLLTOOL=$ac_ct_DLLTOOL
8043 else
8044 DLLTOOL="$ac_cv_prog_DLLTOOL"
8047 LIBEXT="dll"
8048 DLLEXT=""
8049 IMPLIBEXT="a"
8050 enable_iphlpapi=${enable_iphlpapi:-no}
8051 enable_kernel32=${enable_kernel32:-no}
8052 enable_msvcrt=${enable_msvcrt:-no}
8053 enable_ntdll=${enable_ntdll:-no}
8054 enable_ws2_32=${enable_ws2_32:-no}
8055 enable_loader=${enable_loader:-no}
8056 enable_server=${enable_server:-no}
8057 with_x=${with_x:-no}
8058 with_pthread=${with_pthread:-no}
8060 crtlibs=""
8061 case $host_os in
8062 mingw32*)
8063 crtlibs="-lmsvcrt"
8064 SOCKET_LIBS="-lws2_32"
8066 esac
8068 LIBWINE_SHAREDLIB="libwine.dll"
8070 LIBWINE_IMPORTLIB="libwine.a"
8072 LIBWINE_INSTALL_LIB="libwine.dll"
8074 LIBWINE_INSTALL_DEV="libwine.a"
8076 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8078 LIBWINE_DEPENDS="wine.def"
8082 darwin*|macosx*)
8083 for ac_header in libunwind.h
8084 do :
8085 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8086 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8087 cat >>confdefs.h <<_ACEOF
8088 #define HAVE_LIBUNWIND_H 1
8089 _ACEOF
8093 done
8095 LIBEXT="dylib"
8096 DLLFLAGS="$DLLFLAGS -fPIC"
8097 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8098 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8099 COREFOUNDATION_LIBS="-framework CoreFoundation"
8101 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8103 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8105 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8107 CORESERVICES_LIBS="-framework CoreServices"
8109 APPKIT_LIBS="-framework AppKit"
8111 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8113 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8114 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8115 $as_echo_n "(cached) " >&6
8116 else
8117 ac_wine_try_cflags_saved=$CFLAGS
8118 CFLAGS="$CFLAGS -Wl,-no_pie"
8119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8120 /* end confdefs.h. */
8121 int main(int argc, char **argv) { return 0; }
8122 _ACEOF
8123 if ac_fn_c_try_link "$LINENO"; then :
8124 ac_cv_cflags__Wl__no_pie=yes
8125 else
8126 ac_cv_cflags__Wl__no_pie=no
8128 rm -f core conftest.err conftest.$ac_objext \
8129 conftest$ac_exeext conftest.$ac_ext
8130 CFLAGS=$ac_wine_try_cflags_saved
8132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8133 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8134 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8135 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8137 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8138 then
8139 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8142 if test "$ac_cv_header_Security_Security_h" = "yes"
8143 then
8144 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8146 ac_save_LIBS="$LIBS"
8147 LIBS="$LIBS $SECURITY_LIBS"
8148 for ac_func in SSLCopyPeerCertificates
8149 do :
8150 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8151 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8152 cat >>confdefs.h <<_ACEOF
8153 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8154 _ACEOF
8157 done
8159 LIBS="$ac_save_LIBS"
8160 with_gnutls=${with_gnutls:-no}
8162 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8163 then
8164 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8165 then
8166 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8168 else
8169 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8172 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8173 ac_save_LIBS="$LIBS"
8174 LIBS="$LIBS $COREAUDIO_LIBS"
8175 for ac_func in AUGraphAddNode
8176 do :
8177 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8178 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8179 cat >>confdefs.h <<_ACEOF
8180 #define HAVE_AUGRAPHADDNODE 1
8181 _ACEOF
8184 done
8186 LIBS="$ac_save_LIBS"
8188 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8189 then
8190 OPENAL_LIBS="-framework OpenAL"
8193 cat >>confdefs.h <<_ACEOF
8194 #define HAVE_OPENAL 1
8195 _ACEOF
8197 ac_cv_lib_openal=yes
8199 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8200 then
8201 OPENCL_LIBS="-framework OpenCL"
8203 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8205 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8206 then
8207 ac_save_LIBS="$LIBS"
8208 LIBS="$LIBS $IOKIT_LIBS"
8209 for ac_func in IOHIDManagerCreate
8210 do :
8211 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8212 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8213 cat >>confdefs.h <<_ACEOF
8214 #define HAVE_IOHIDMANAGERCREATE 1
8215 _ACEOF
8218 done
8220 LIBS="$ac_save_LIBS"
8222 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8223 then
8224 ac_save_LIBS="$LIBS"
8225 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8227 $as_echo_n "checking for the QuickTime framework... " >&6; }
8228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8229 /* end confdefs.h. */
8230 #include <QuickTime/ImageCompression.h>
8232 main ()
8234 CodecManagerVersion(NULL);
8236 return 0;
8238 _ACEOF
8239 if ac_fn_c_try_link "$LINENO"; then :
8240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8241 $as_echo "yes" >&6; }
8242 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8244 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8245 else
8246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8247 $as_echo "no" >&6; }
8248 ac_cv_header_QuickTime_ImageCompression_h=no
8250 rm -f core conftest.err conftest.$ac_objext \
8251 conftest$ac_exeext conftest.$ac_ext
8252 LIBS="$ac_save_LIBS"
8254 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8255 then
8256 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8258 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8259 then
8260 CARBON_LIBS="-framework Carbon"
8264 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8265 then
8266 ac_save_LIBS="$LIBS"
8267 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8268 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8269 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8270 enable_winemac_drv=${enable_winemac_drv:-yes}
8273 LIBS="$ac_save_LIBS"
8276 if test "x$enable_win16" = "xyes"
8277 then
8278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8279 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8280 if test "$cross_compiling" = yes; then :
8281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8282 $as_echo "cross-compiling, assuming yes" >&6; }
8283 else
8284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8285 /* end confdefs.h. */
8286 asm(".text\n"
8287 "bad:\tnop;nop\n"
8288 "good:\tnop;nop\n\t"
8289 ".globl _testfunc\n"
8290 "_testfunc:\tcallw good");
8291 extern void testfunc();
8293 main ()
8295 unsigned short *p = (unsigned short *)testfunc;
8296 return p[0] != 0xe866 || p[1] != 0xfffa
8298 return 0;
8300 _ACEOF
8301 if ac_fn_c_try_run "$LINENO"; then :
8302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8303 $as_echo "yes" >&6; }
8304 else
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8306 $as_echo "no" >&6; }
8307 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
8309 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8310 conftest.$ac_objext conftest.beam conftest.$ac_ext
8315 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8317 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8319 LIBWINE_INSTALL_DEV="libwine.dylib"
8321 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8323 WINELOADER_DEPENDS="wine_info.plist"
8327 linux-android*)
8328 DLLFLAGS="$DLLFLAGS -fPIC"
8329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8330 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8331 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8332 $as_echo_n "(cached) " >&6
8333 else
8334 ac_wine_try_cflags_saved=$CFLAGS
8335 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8337 /* end confdefs.h. */
8338 int main(int argc, char **argv) { return 0; }
8339 _ACEOF
8340 if ac_fn_c_try_link "$LINENO"; then :
8341 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8342 else
8343 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8345 rm -f core conftest.err conftest.$ac_objext \
8346 conftest$ac_exeext conftest.$ac_ext
8347 CFLAGS=$ac_wine_try_cflags_saved
8349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8350 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8351 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8352 LDEXECFLAGS="-Wl,--export-dynamic"
8354 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8356 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8357 if eval \${$as_ac_var+:} false; then :
8358 $as_echo_n "(cached) " >&6
8359 else
8360 ac_wine_try_cflags_saved=$CFLAGS
8361 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
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 eval "$as_ac_var=yes"
8368 else
8369 eval "$as_ac_var=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 eval ac_res=\$$as_ac_var
8376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8377 $as_echo "$ac_res" >&6; }
8378 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8379 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8380 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8381 else
8382 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8384 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8385 if eval \${$as_ac_var+:} false; then :
8386 $as_echo_n "(cached) " >&6
8387 else
8388 ac_wine_try_cflags_saved=$CFLAGS
8389 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8391 /* end confdefs.h. */
8392 int main(int argc, char **argv) { return 0; }
8393 _ACEOF
8394 if ac_fn_c_try_link "$LINENO"; then :
8395 eval "$as_ac_var=yes"
8396 else
8397 eval "$as_ac_var=no"
8399 rm -f core conftest.err conftest.$ac_objext \
8400 conftest$ac_exeext conftest.$ac_ext
8401 CFLAGS=$ac_wine_try_cflags_saved
8403 eval ac_res=\$$as_ac_var
8404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8405 $as_echo "$ac_res" >&6; }
8406 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8407 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8408 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8413 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8414 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8415 $as_echo_n "(cached) " >&6
8416 else
8417 ac_wine_try_cflags_saved=$CFLAGS
8418 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8420 /* end confdefs.h. */
8421 int main(int argc, char **argv) { return 0; }
8422 _ACEOF
8423 if ac_fn_c_try_link "$LINENO"; then :
8424 ac_cv_cflags__Wl___enable_new_dtags=yes
8425 else
8426 ac_cv_cflags__Wl___enable_new_dtags=no
8428 rm -f core conftest.err conftest.$ac_objext \
8429 conftest$ac_exeext conftest.$ac_ext
8430 CFLAGS=$ac_wine_try_cflags_saved
8432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8433 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8434 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8435 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8438 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8439 if ${ac_cv_cflags__Wl__pie+:} false; then :
8440 $as_echo_n "(cached) " >&6
8441 else
8442 ac_wine_try_cflags_saved=$CFLAGS
8443 CFLAGS="$CFLAGS -Wl,-pie"
8444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8445 /* end confdefs.h. */
8446 int main(int argc, char **argv) { return 0; }
8447 _ACEOF
8448 if ac_fn_c_try_link "$LINENO"; then :
8449 ac_cv_cflags__Wl__pie=yes
8450 else
8451 ac_cv_cflags__Wl__pie=no
8453 rm -f core conftest.err conftest.$ac_objext \
8454 conftest$ac_exeext conftest.$ac_ext
8455 CFLAGS=$ac_wine_try_cflags_saved
8457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8458 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8459 if test "x$ac_cv_cflags__Wl__pie" = xyes; then :
8460 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,-pie"
8463 LIBWINE_SHAREDLIB="libwine.so"
8465 LIBWINE_INSTALL_LIB="libwine.so"
8467 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8472 DLLFLAGS="$DLLFLAGS -fPIC"
8473 LDEXECFLAGS=""
8474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8475 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8476 if ${ac_cv_c_dll_gnuelf+:} false; then :
8477 $as_echo_n "(cached) " >&6
8478 else
8479 ac_wine_try_cflags_saved=$CFLAGS
8480 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8482 /* end confdefs.h. */
8483 void myfunc() {}
8484 _ACEOF
8485 if ac_fn_c_try_link "$LINENO"; then :
8486 ac_cv_c_dll_gnuelf="yes"
8487 else
8488 ac_cv_c_dll_gnuelf="no"
8490 rm -f core conftest.err conftest.$ac_objext \
8491 conftest$ac_exeext conftest.$ac_ext
8492 CFLAGS=$ac_wine_try_cflags_saved
8494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8495 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8496 if test "$ac_cv_c_dll_gnuelf" = "yes"
8497 then
8498 LIBWINE_LDFLAGS="-shared"
8499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8500 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8501 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8502 $as_echo_n "(cached) " >&6
8503 else
8504 ac_wine_try_cflags_saved=$CFLAGS
8505 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8507 /* end confdefs.h. */
8508 int main(int argc, char **argv) { return 0; }
8509 _ACEOF
8510 if ac_fn_c_try_link "$LINENO"; then :
8511 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8512 else
8513 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8515 rm -f core conftest.err conftest.$ac_objext \
8516 conftest$ac_exeext conftest.$ac_ext
8517 CFLAGS=$ac_wine_try_cflags_saved
8519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8520 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8521 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8522 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8523 else
8524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8525 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8526 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8527 $as_echo_n "(cached) " >&6
8528 else
8529 ac_wine_try_cflags_saved=$CFLAGS
8530 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
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 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8537 else
8538 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=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 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8545 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8546 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8547 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8551 echo '{ global: *; };' >conftest.map
8552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8553 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8554 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8555 $as_echo_n "(cached) " >&6
8556 else
8557 ac_wine_try_cflags_saved=$CFLAGS
8558 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
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 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8565 else
8566 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=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 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8573 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8574 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8575 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8577 rm -f conftest.map
8579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8580 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8581 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8582 $as_echo_n "(cached) " >&6
8583 else
8584 ac_wine_try_cflags_saved=$CFLAGS
8585 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8587 /* end confdefs.h. */
8588 int main(int argc, char **argv) { return 0; }
8589 _ACEOF
8590 if ac_fn_c_try_link "$LINENO"; then :
8591 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8592 else
8593 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8595 rm -f core conftest.err conftest.$ac_objext \
8596 conftest$ac_exeext conftest.$ac_ext
8597 CFLAGS=$ac_wine_try_cflags_saved
8599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8600 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8601 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8602 LDEXECFLAGS="-Wl,--export-dynamic"
8605 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8607 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8608 if eval \${$as_ac_var+:} false; then :
8609 $as_echo_n "(cached) " >&6
8610 else
8611 ac_wine_try_cflags_saved=$CFLAGS
8612 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8614 /* end confdefs.h. */
8615 int main(int argc, char **argv) { return 0; }
8616 _ACEOF
8617 if ac_fn_c_try_link "$LINENO"; then :
8618 eval "$as_ac_var=yes"
8619 else
8620 eval "$as_ac_var=no"
8622 rm -f core conftest.err conftest.$ac_objext \
8623 conftest$ac_exeext conftest.$ac_ext
8624 CFLAGS=$ac_wine_try_cflags_saved
8626 eval ac_res=\$$as_ac_var
8627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8628 $as_echo "$ac_res" >&6; }
8629 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8630 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8631 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8632 else
8633 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8635 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8636 if eval \${$as_ac_var+:} false; then :
8637 $as_echo_n "(cached) " >&6
8638 else
8639 ac_wine_try_cflags_saved=$CFLAGS
8640 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8642 /* end confdefs.h. */
8643 int main(int argc, char **argv) { return 0; }
8644 _ACEOF
8645 if ac_fn_c_try_link "$LINENO"; then :
8646 eval "$as_ac_var=yes"
8647 else
8648 eval "$as_ac_var=no"
8650 rm -f core conftest.err conftest.$ac_objext \
8651 conftest$ac_exeext conftest.$ac_ext
8652 CFLAGS=$ac_wine_try_cflags_saved
8654 eval ac_res=\$$as_ac_var
8655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8656 $as_echo "$ac_res" >&6; }
8657 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8658 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8659 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8664 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8665 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8666 $as_echo_n "(cached) " >&6
8667 else
8668 ac_wine_try_cflags_saved=$CFLAGS
8669 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8671 /* end confdefs.h. */
8672 int main(int argc, char **argv) { return 0; }
8673 _ACEOF
8674 if ac_fn_c_try_link "$LINENO"; then :
8675 ac_cv_cflags__Wl___enable_new_dtags=yes
8676 else
8677 ac_cv_cflags__Wl___enable_new_dtags=no
8679 rm -f core conftest.err conftest.$ac_objext \
8680 conftest$ac_exeext conftest.$ac_ext
8681 CFLAGS=$ac_wine_try_cflags_saved
8683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8684 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8685 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8686 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8689 case $host_cpu in
8690 *i[3456789]86* | x86_64)
8691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8692 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8693 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8694 $as_echo_n "(cached) " >&6
8695 else
8696 ac_wine_try_cflags_saved=$CFLAGS
8697 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8699 /* end confdefs.h. */
8700 int main(int argc, char **argv) { return 0; }
8701 _ACEOF
8702 if ac_fn_c_try_link "$LINENO"; then :
8703 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8704 else
8705 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8707 rm -f core conftest.err conftest.$ac_objext \
8708 conftest$ac_exeext conftest.$ac_ext
8709 CFLAGS=$ac_wine_try_cflags_saved
8711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8712 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8713 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8714 case $host_os in
8715 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8716 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8717 esac
8718 else
8719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8720 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8721 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8722 $as_echo_n "(cached) " >&6
8723 else
8724 ac_wine_try_cflags_saved=$CFLAGS
8725 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8727 /* end confdefs.h. */
8728 int main(int argc, char **argv) { return 0; }
8729 _ACEOF
8730 if ac_fn_c_try_link "$LINENO"; then :
8731 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8732 else
8733 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8735 rm -f core conftest.err conftest.$ac_objext \
8736 conftest$ac_exeext conftest.$ac_ext
8737 CFLAGS=$ac_wine_try_cflags_saved
8739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8740 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8741 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8742 case $host_os in
8743 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8744 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8745 esac
8747 # Extract the first word of "prelink", so it can be a program name with args.
8748 set dummy prelink; ac_word=$2
8749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8750 $as_echo_n "checking for $ac_word... " >&6; }
8751 if ${ac_cv_path_PRELINK+:} false; then :
8752 $as_echo_n "(cached) " >&6
8753 else
8754 case $PRELINK in
8755 [\\/]* | ?:[\\/]*)
8756 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8760 for as_dir in /sbin /usr/sbin $PATH
8762 IFS=$as_save_IFS
8763 test -z "$as_dir" && as_dir=.
8764 for ac_exec_ext in '' $ac_executable_extensions; do
8765 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8766 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8768 break 2
8770 done
8771 done
8772 IFS=$as_save_IFS
8774 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8776 esac
8778 PRELINK=$ac_cv_path_PRELINK
8779 if test -n "$PRELINK"; then
8780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8781 $as_echo "$PRELINK" >&6; }
8782 else
8783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8784 $as_echo "no" >&6; }
8788 if test "x$PRELINK" = xfalse
8789 then
8790 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8794 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8795 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8796 $as_echo_n "(cached) " >&6
8797 else
8798 ac_wine_try_cflags_saved=$CFLAGS
8799 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8801 /* end confdefs.h. */
8802 int main(int argc, char **argv) { return 0; }
8803 _ACEOF
8804 if ac_fn_c_try_link "$LINENO"; then :
8805 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8806 else
8807 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8809 rm -f core conftest.err conftest.$ac_objext \
8810 conftest$ac_exeext conftest.$ac_ext
8811 CFLAGS=$ac_wine_try_cflags_saved
8813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8814 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8815 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8816 LDEXECFLAGS="$LDEXECFLAGS -Wl,-z,max-page-size=0x1000"
8819 esac
8821 else
8822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8823 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8824 if ${ac_cv_c_dll_unixware+:} false; then :
8825 $as_echo_n "(cached) " >&6
8826 else
8827 ac_wine_try_cflags_saved=$CFLAGS
8828 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8830 /* end confdefs.h. */
8831 void myfunc() {}
8832 _ACEOF
8833 if ac_fn_c_try_link "$LINENO"; then :
8834 ac_cv_c_dll_unixware="yes"
8835 else
8836 ac_cv_c_dll_unixware="no"
8838 rm -f core conftest.err conftest.$ac_objext \
8839 conftest$ac_exeext conftest.$ac_ext
8840 CFLAGS=$ac_wine_try_cflags_saved
8842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8843 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8844 if test "$ac_cv_c_dll_unixware" = "yes"
8845 then
8846 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8849 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8851 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8853 LIBWINE_INSTALL_DEV="libwine.so"
8855 LIBWINE_DEPENDS="wine.map"
8858 esac
8860 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8861 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8862 enable_winemac_drv=${enable_winemac_drv:-no}
8863 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8865 CROSSTARGET=""
8867 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8868 then
8869 case "$host_cpu" in
8870 arm*)
8871 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8872 i[3456789]86*)
8873 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
8874 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8875 mingw32-gcc" ;;
8876 x86_64)
8877 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
8878 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8880 ac_prefix_list="" ;;
8881 esac
8882 for ac_prog in $ac_prefix_list
8884 # Extract the first word of "$ac_prog", so it can be a program name with args.
8885 set dummy $ac_prog; ac_word=$2
8886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8887 $as_echo_n "checking for $ac_word... " >&6; }
8888 if ${ac_cv_prog_CROSSCC+:} false; then :
8889 $as_echo_n "(cached) " >&6
8890 else
8891 if test -n "$CROSSCC"; then
8892 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8893 else
8894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8895 for as_dir in $PATH
8897 IFS=$as_save_IFS
8898 test -z "$as_dir" && as_dir=.
8899 for ac_exec_ext in '' $ac_executable_extensions; do
8900 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8901 ac_cv_prog_CROSSCC="$ac_prog"
8902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8903 break 2
8905 done
8906 done
8907 IFS=$as_save_IFS
8911 CROSSCC=$ac_cv_prog_CROSSCC
8912 if test -n "$CROSSCC"; then
8913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8914 $as_echo "$CROSSCC" >&6; }
8915 else
8916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8917 $as_echo "no" >&6; }
8921 test -n "$CROSSCC" && break
8922 done
8923 test -n "$CROSSCC" || CROSSCC="false"
8925 if test "$CROSSCC" != "false"
8926 then
8927 ac_save_CC="$CC"
8928 CC="$CROSSCC"
8929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8930 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8932 /* end confdefs.h. */
8935 main ()
8939 return 0;
8941 _ACEOF
8942 if ac_fn_c_try_compile "$LINENO"; then :
8943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8944 $as_echo "yes" >&6; }
8945 set x $CROSSCC
8946 shift
8947 while test $# -ge 1
8949 case "$1" in
8950 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8951 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8952 esac
8953 shift
8954 done
8955 else
8956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8957 $as_echo "no" >&6; }
8959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8960 CC="$ac_save_CC"
8965 if test "$ac_cv_header_pthread_h" = "yes"
8966 then
8967 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8968 if test "x$ac_cv_func_pthread_create" = xyes; then :
8970 else
8971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8972 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8973 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8974 $as_echo_n "(cached) " >&6
8975 else
8976 ac_check_lib_save_LIBS=$LIBS
8977 LIBS="-lpthread $LIBS"
8978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8979 /* end confdefs.h. */
8981 /* Override any GCC internal prototype to avoid an error.
8982 Use char because int might match the return type of a GCC
8983 builtin and then its argument prototype would still apply. */
8984 #ifdef __cplusplus
8985 extern "C"
8986 #endif
8987 char pthread_create ();
8989 main ()
8991 return pthread_create ();
8993 return 0;
8995 _ACEOF
8996 if ac_fn_c_try_link "$LINENO"; then :
8997 ac_cv_lib_pthread_pthread_create=yes
8998 else
8999 ac_cv_lib_pthread_pthread_create=no
9001 rm -f core conftest.err conftest.$ac_objext \
9002 conftest$ac_exeext conftest.$ac_ext
9003 LIBS=$ac_check_lib_save_LIBS
9005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9006 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9007 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9008 PTHREAD_LIBS="-lpthread"
9015 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9016 case "x$with_pthread" in
9017 xno) ;;
9018 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9019 Wine cannot support threads without libpthread.
9020 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9021 esac
9026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9027 $as_echo_n "checking for X... " >&6; }
9030 # Check whether --with-x was given.
9031 if test "${with_x+set}" = set; then :
9032 withval=$with_x;
9035 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9036 if test "x$with_x" = xno; then
9037 # The user explicitly disabled X.
9038 have_x=disabled
9039 else
9040 case $x_includes,$x_libraries in #(
9041 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9042 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9043 $as_echo_n "(cached) " >&6
9044 else
9045 # One or both of the vars are not set, and there is no cached value.
9046 ac_x_includes=no ac_x_libraries=no
9047 rm -f -r conftest.dir
9048 if mkdir conftest.dir; then
9049 cd conftest.dir
9050 cat >Imakefile <<'_ACEOF'
9051 incroot:
9052 @echo incroot='${INCROOT}'
9053 usrlibdir:
9054 @echo usrlibdir='${USRLIBDIR}'
9055 libdir:
9056 @echo libdir='${LIBDIR}'
9057 _ACEOF
9058 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9059 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9060 for ac_var in incroot usrlibdir libdir; do
9061 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9062 done
9063 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9064 for ac_extension in a so sl dylib la dll; do
9065 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9066 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9067 ac_im_usrlibdir=$ac_im_libdir; break
9069 done
9070 # Screen out bogus values from the imake configuration. They are
9071 # bogus both because they are the default anyway, and because
9072 # using them would break gcc on systems where it needs fixed includes.
9073 case $ac_im_incroot in
9074 /usr/include) ac_x_includes= ;;
9075 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9076 esac
9077 case $ac_im_usrlibdir in
9078 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9079 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9080 esac
9082 cd ..
9083 rm -f -r conftest.dir
9086 # Standard set of common directories for X headers.
9087 # Check X11 before X11Rn because it is often a symlink to the current release.
9088 ac_x_header_dirs='
9089 /usr/X11/include
9090 /usr/X11R7/include
9091 /usr/X11R6/include
9092 /usr/X11R5/include
9093 /usr/X11R4/include
9095 /usr/include/X11
9096 /usr/include/X11R7
9097 /usr/include/X11R6
9098 /usr/include/X11R5
9099 /usr/include/X11R4
9101 /usr/local/X11/include
9102 /usr/local/X11R7/include
9103 /usr/local/X11R6/include
9104 /usr/local/X11R5/include
9105 /usr/local/X11R4/include
9107 /usr/local/include/X11
9108 /usr/local/include/X11R7
9109 /usr/local/include/X11R6
9110 /usr/local/include/X11R5
9111 /usr/local/include/X11R4
9113 /usr/X386/include
9114 /usr/x386/include
9115 /usr/XFree86/include/X11
9117 /usr/include
9118 /usr/local/include
9119 /usr/unsupported/include
9120 /usr/athena/include
9121 /usr/local/x11r5/include
9122 /usr/lpp/Xamples/include
9124 /usr/openwin/include
9125 /usr/openwin/share/include'
9127 if test "$ac_x_includes" = no; then
9128 # Guess where to find include files, by looking for Xlib.h.
9129 # First, try using that file with no special directory specified.
9130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9131 /* end confdefs.h. */
9132 #include <X11/Xlib.h>
9133 _ACEOF
9134 if ac_fn_c_try_cpp "$LINENO"; then :
9135 # We can compile using X headers with no special include directory.
9136 ac_x_includes=
9137 else
9138 for ac_dir in $ac_x_header_dirs; do
9139 if test -r "$ac_dir/X11/Xlib.h"; then
9140 ac_x_includes=$ac_dir
9141 break
9143 done
9145 rm -f conftest.err conftest.i conftest.$ac_ext
9146 fi # $ac_x_includes = no
9148 if test "$ac_x_libraries" = no; then
9149 # Check for the libraries.
9150 # See if we find them without any special options.
9151 # Don't add to $LIBS permanently.
9152 ac_save_LIBS=$LIBS
9153 LIBS="-lX11 $LIBS"
9154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9155 /* end confdefs.h. */
9156 #include <X11/Xlib.h>
9158 main ()
9160 XrmInitialize ()
9162 return 0;
9164 _ACEOF
9165 if ac_fn_c_try_link "$LINENO"; then :
9166 LIBS=$ac_save_LIBS
9167 # We can link X programs with no special library path.
9168 ac_x_libraries=
9169 else
9170 LIBS=$ac_save_LIBS
9171 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9173 # Don't even attempt the hair of trying to link an X program!
9174 for ac_extension in a so sl dylib la dll; do
9175 if test -r "$ac_dir/libX11.$ac_extension"; then
9176 ac_x_libraries=$ac_dir
9177 break 2
9179 done
9180 done
9182 rm -f core conftest.err conftest.$ac_objext \
9183 conftest$ac_exeext conftest.$ac_ext
9184 fi # $ac_x_libraries = no
9186 case $ac_x_includes,$ac_x_libraries in #(
9187 no,* | *,no | *\'*)
9188 # Didn't find X, or a directory has "'" in its name.
9189 ac_cv_have_x="have_x=no";; #(
9191 # Record where we found X for the cache.
9192 ac_cv_have_x="have_x=yes\
9193 ac_x_includes='$ac_x_includes'\
9194 ac_x_libraries='$ac_x_libraries'"
9195 esac
9197 ;; #(
9198 *) have_x=yes;;
9199 esac
9200 eval "$ac_cv_have_x"
9201 fi # $with_x != no
9203 if test "$have_x" != yes; then
9204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9205 $as_echo "$have_x" >&6; }
9206 no_x=yes
9207 else
9208 # If each of the values was on the command line, it overrides each guess.
9209 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9210 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9211 # Update the cache value to reflect the command line values.
9212 ac_cv_have_x="have_x=yes\
9213 ac_x_includes='$x_includes'\
9214 ac_x_libraries='$x_libraries'"
9215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9216 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9219 if test "$no_x" = yes; then
9220 # Not all programs may use this symbol, but it does not hurt to define it.
9222 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9224 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9225 else
9226 if test -n "$x_includes"; then
9227 X_CFLAGS="$X_CFLAGS -I$x_includes"
9230 # It would also be nice to do this for all -L options, not just this one.
9231 if test -n "$x_libraries"; then
9232 X_LIBS="$X_LIBS -L$x_libraries"
9233 # For Solaris; some versions of Sun CC require a space after -R and
9234 # others require no space. Words are not sufficient . . . .
9235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9236 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9237 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9238 ac_xsave_c_werror_flag=$ac_c_werror_flag
9239 ac_c_werror_flag=yes
9240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9241 /* end confdefs.h. */
9244 main ()
9248 return 0;
9250 _ACEOF
9251 if ac_fn_c_try_link "$LINENO"; then :
9252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9253 $as_echo "no" >&6; }
9254 X_LIBS="$X_LIBS -R$x_libraries"
9255 else
9256 LIBS="$ac_xsave_LIBS -R $x_libraries"
9257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9258 /* end confdefs.h. */
9261 main ()
9265 return 0;
9267 _ACEOF
9268 if ac_fn_c_try_link "$LINENO"; then :
9269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9270 $as_echo "yes" >&6; }
9271 X_LIBS="$X_LIBS -R $x_libraries"
9272 else
9273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9274 $as_echo "neither works" >&6; }
9276 rm -f core conftest.err conftest.$ac_objext \
9277 conftest$ac_exeext conftest.$ac_ext
9279 rm -f core conftest.err conftest.$ac_objext \
9280 conftest$ac_exeext conftest.$ac_ext
9281 ac_c_werror_flag=$ac_xsave_c_werror_flag
9282 LIBS=$ac_xsave_LIBS
9285 # Check for system-dependent libraries X programs must link with.
9286 # Do this before checking for the system-independent R6 libraries
9287 # (-lICE), since we may need -lsocket or whatever for X linking.
9289 if test "$ISC" = yes; then
9290 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9291 else
9292 # Martyn Johnson says this is needed for Ultrix, if the X
9293 # libraries were built with DECnet support. And Karl Berry says
9294 # the Alpha needs dnet_stub (dnet does not exist).
9295 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9297 /* end confdefs.h. */
9299 /* Override any GCC internal prototype to avoid an error.
9300 Use char because int might match the return type of a GCC
9301 builtin and then its argument prototype would still apply. */
9302 #ifdef __cplusplus
9303 extern "C"
9304 #endif
9305 char XOpenDisplay ();
9307 main ()
9309 return XOpenDisplay ();
9311 return 0;
9313 _ACEOF
9314 if ac_fn_c_try_link "$LINENO"; then :
9316 else
9317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9318 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9319 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9320 $as_echo_n "(cached) " >&6
9321 else
9322 ac_check_lib_save_LIBS=$LIBS
9323 LIBS="-ldnet $LIBS"
9324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9325 /* end confdefs.h. */
9327 /* Override any GCC internal prototype to avoid an error.
9328 Use char because int might match the return type of a GCC
9329 builtin and then its argument prototype would still apply. */
9330 #ifdef __cplusplus
9331 extern "C"
9332 #endif
9333 char dnet_ntoa ();
9335 main ()
9337 return dnet_ntoa ();
9339 return 0;
9341 _ACEOF
9342 if ac_fn_c_try_link "$LINENO"; then :
9343 ac_cv_lib_dnet_dnet_ntoa=yes
9344 else
9345 ac_cv_lib_dnet_dnet_ntoa=no
9347 rm -f core conftest.err conftest.$ac_objext \
9348 conftest$ac_exeext conftest.$ac_ext
9349 LIBS=$ac_check_lib_save_LIBS
9351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9352 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9353 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9354 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9357 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9359 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9360 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9361 $as_echo_n "(cached) " >&6
9362 else
9363 ac_check_lib_save_LIBS=$LIBS
9364 LIBS="-ldnet_stub $LIBS"
9365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9366 /* end confdefs.h. */
9368 /* Override any GCC internal prototype to avoid an error.
9369 Use char because int might match the return type of a GCC
9370 builtin and then its argument prototype would still apply. */
9371 #ifdef __cplusplus
9372 extern "C"
9373 #endif
9374 char dnet_ntoa ();
9376 main ()
9378 return dnet_ntoa ();
9380 return 0;
9382 _ACEOF
9383 if ac_fn_c_try_link "$LINENO"; then :
9384 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9385 else
9386 ac_cv_lib_dnet_stub_dnet_ntoa=no
9388 rm -f core conftest.err conftest.$ac_objext \
9389 conftest$ac_exeext conftest.$ac_ext
9390 LIBS=$ac_check_lib_save_LIBS
9392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9393 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9394 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9395 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9400 rm -f core conftest.err conftest.$ac_objext \
9401 conftest$ac_exeext conftest.$ac_ext
9402 LIBS="$ac_xsave_LIBS"
9404 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9405 # to get the SysV transport functions.
9406 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9407 # needs -lnsl.
9408 # The nsl library prevents programs from opening the X display
9409 # on Irix 5.2, according to T.E. Dickey.
9410 # The functions gethostbyname, getservbyname, and inet_addr are
9411 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9412 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9413 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9417 if test $ac_cv_func_gethostbyname = no; then
9418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9419 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9420 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9421 $as_echo_n "(cached) " >&6
9422 else
9423 ac_check_lib_save_LIBS=$LIBS
9424 LIBS="-lnsl $LIBS"
9425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9426 /* end confdefs.h. */
9428 /* Override any GCC internal prototype to avoid an error.
9429 Use char because int might match the return type of a GCC
9430 builtin and then its argument prototype would still apply. */
9431 #ifdef __cplusplus
9432 extern "C"
9433 #endif
9434 char gethostbyname ();
9436 main ()
9438 return gethostbyname ();
9440 return 0;
9442 _ACEOF
9443 if ac_fn_c_try_link "$LINENO"; then :
9444 ac_cv_lib_nsl_gethostbyname=yes
9445 else
9446 ac_cv_lib_nsl_gethostbyname=no
9448 rm -f core conftest.err conftest.$ac_objext \
9449 conftest$ac_exeext conftest.$ac_ext
9450 LIBS=$ac_check_lib_save_LIBS
9452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9453 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9454 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9455 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9458 if test $ac_cv_lib_nsl_gethostbyname = no; then
9459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9460 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9461 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9462 $as_echo_n "(cached) " >&6
9463 else
9464 ac_check_lib_save_LIBS=$LIBS
9465 LIBS="-lbsd $LIBS"
9466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9467 /* end confdefs.h. */
9469 /* Override any GCC internal prototype to avoid an error.
9470 Use char because int might match the return type of a GCC
9471 builtin and then its argument prototype would still apply. */
9472 #ifdef __cplusplus
9473 extern "C"
9474 #endif
9475 char gethostbyname ();
9477 main ()
9479 return gethostbyname ();
9481 return 0;
9483 _ACEOF
9484 if ac_fn_c_try_link "$LINENO"; then :
9485 ac_cv_lib_bsd_gethostbyname=yes
9486 else
9487 ac_cv_lib_bsd_gethostbyname=no
9489 rm -f core conftest.err conftest.$ac_objext \
9490 conftest$ac_exeext conftest.$ac_ext
9491 LIBS=$ac_check_lib_save_LIBS
9493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9494 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9495 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9496 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9502 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9503 # socket/setsockopt and other routines are undefined under SCO ODT
9504 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9505 # on later versions), says Simon Leinen: it contains gethostby*
9506 # variants that don't use the name server (or something). -lsocket
9507 # must be given before -lnsl if both are needed. We assume that
9508 # if connect needs -lnsl, so does gethostbyname.
9509 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9510 if test "x$ac_cv_func_connect" = xyes; then :
9514 if test $ac_cv_func_connect = no; then
9515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9516 $as_echo_n "checking for connect in -lsocket... " >&6; }
9517 if ${ac_cv_lib_socket_connect+:} false; then :
9518 $as_echo_n "(cached) " >&6
9519 else
9520 ac_check_lib_save_LIBS=$LIBS
9521 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9523 /* end confdefs.h. */
9525 /* Override any GCC internal prototype to avoid an error.
9526 Use char because int might match the return type of a GCC
9527 builtin and then its argument prototype would still apply. */
9528 #ifdef __cplusplus
9529 extern "C"
9530 #endif
9531 char connect ();
9533 main ()
9535 return connect ();
9537 return 0;
9539 _ACEOF
9540 if ac_fn_c_try_link "$LINENO"; then :
9541 ac_cv_lib_socket_connect=yes
9542 else
9543 ac_cv_lib_socket_connect=no
9545 rm -f core conftest.err conftest.$ac_objext \
9546 conftest$ac_exeext conftest.$ac_ext
9547 LIBS=$ac_check_lib_save_LIBS
9549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9550 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9551 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9552 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9557 # Guillermo Gomez says -lposix is necessary on A/UX.
9558 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9559 if test "x$ac_cv_func_remove" = xyes; then :
9563 if test $ac_cv_func_remove = no; then
9564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9565 $as_echo_n "checking for remove in -lposix... " >&6; }
9566 if ${ac_cv_lib_posix_remove+:} false; then :
9567 $as_echo_n "(cached) " >&6
9568 else
9569 ac_check_lib_save_LIBS=$LIBS
9570 LIBS="-lposix $LIBS"
9571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9572 /* end confdefs.h. */
9574 /* Override any GCC internal prototype to avoid an error.
9575 Use char because int might match the return type of a GCC
9576 builtin and then its argument prototype would still apply. */
9577 #ifdef __cplusplus
9578 extern "C"
9579 #endif
9580 char remove ();
9582 main ()
9584 return remove ();
9586 return 0;
9588 _ACEOF
9589 if ac_fn_c_try_link "$LINENO"; then :
9590 ac_cv_lib_posix_remove=yes
9591 else
9592 ac_cv_lib_posix_remove=no
9594 rm -f core conftest.err conftest.$ac_objext \
9595 conftest$ac_exeext conftest.$ac_ext
9596 LIBS=$ac_check_lib_save_LIBS
9598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9599 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9600 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9601 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9606 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9607 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9608 if test "x$ac_cv_func_shmat" = xyes; then :
9612 if test $ac_cv_func_shmat = no; then
9613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9614 $as_echo_n "checking for shmat in -lipc... " >&6; }
9615 if ${ac_cv_lib_ipc_shmat+:} false; then :
9616 $as_echo_n "(cached) " >&6
9617 else
9618 ac_check_lib_save_LIBS=$LIBS
9619 LIBS="-lipc $LIBS"
9620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9621 /* end confdefs.h. */
9623 /* Override any GCC internal prototype to avoid an error.
9624 Use char because int might match the return type of a GCC
9625 builtin and then its argument prototype would still apply. */
9626 #ifdef __cplusplus
9627 extern "C"
9628 #endif
9629 char shmat ();
9631 main ()
9633 return shmat ();
9635 return 0;
9637 _ACEOF
9638 if ac_fn_c_try_link "$LINENO"; then :
9639 ac_cv_lib_ipc_shmat=yes
9640 else
9641 ac_cv_lib_ipc_shmat=no
9643 rm -f core conftest.err conftest.$ac_objext \
9644 conftest$ac_exeext conftest.$ac_ext
9645 LIBS=$ac_check_lib_save_LIBS
9647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9648 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9649 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9650 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9656 # Check for libraries that X11R6 Xt/Xaw programs need.
9657 ac_save_LDFLAGS=$LDFLAGS
9658 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9659 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9660 # check for ICE first), but we must link in the order -lSM -lICE or
9661 # we get undefined symbols. So assume we have SM if we have ICE.
9662 # These have to be linked with before -lX11, unlike the other
9663 # libraries we check for below, so use a different variable.
9664 # John Interrante, Karl Berry
9665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9666 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9667 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9668 $as_echo_n "(cached) " >&6
9669 else
9670 ac_check_lib_save_LIBS=$LIBS
9671 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9673 /* end confdefs.h. */
9675 /* Override any GCC internal prototype to avoid an error.
9676 Use char because int might match the return type of a GCC
9677 builtin and then its argument prototype would still apply. */
9678 #ifdef __cplusplus
9679 extern "C"
9680 #endif
9681 char IceConnectionNumber ();
9683 main ()
9685 return IceConnectionNumber ();
9687 return 0;
9689 _ACEOF
9690 if ac_fn_c_try_link "$LINENO"; then :
9691 ac_cv_lib_ICE_IceConnectionNumber=yes
9692 else
9693 ac_cv_lib_ICE_IceConnectionNumber=no
9695 rm -f core conftest.err conftest.$ac_objext \
9696 conftest$ac_exeext conftest.$ac_ext
9697 LIBS=$ac_check_lib_save_LIBS
9699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9700 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9701 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9702 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9705 LDFLAGS=$ac_save_LDFLAGS
9710 if test "$have_x" = "yes"
9711 then
9712 ac_save_CPPFLAGS="$CPPFLAGS"
9713 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9716 $as_echo_n "checking for -lX11... " >&6; }
9717 if ${ac_cv_lib_soname_X11+:} false; then :
9718 $as_echo_n "(cached) " >&6
9719 else
9720 ac_check_soname_save_LIBS=$LIBS
9721 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9723 /* end confdefs.h. */
9725 /* Override any GCC internal prototype to avoid an error.
9726 Use char because int might match the return type of a GCC
9727 builtin and then its argument prototype would still apply. */
9728 #ifdef __cplusplus
9729 extern "C"
9730 #endif
9731 char XCreateWindow ();
9733 main ()
9735 return XCreateWindow ();
9737 return 0;
9739 _ACEOF
9740 if ac_fn_c_try_link "$LINENO"; then :
9741 case "$LIBEXT" in
9742 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9743 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'` ;;
9744 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9745 if ${ac_cv_lib_soname_X11:+false} :; then :
9746 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9747 fi ;;
9748 esac
9750 rm -f core conftest.err conftest.$ac_objext \
9751 conftest$ac_exeext conftest.$ac_ext
9752 LIBS=$ac_check_soname_save_LIBS
9754 if ${ac_cv_lib_soname_X11:+false} :; then :
9755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9756 $as_echo "not found" >&6; }
9758 else
9759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9760 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9762 cat >>confdefs.h <<_ACEOF
9763 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9764 _ACEOF
9768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9769 $as_echo_n "checking for -lXext... " >&6; }
9770 if ${ac_cv_lib_soname_Xext+:} false; then :
9771 $as_echo_n "(cached) " >&6
9772 else
9773 ac_check_soname_save_LIBS=$LIBS
9774 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9776 /* end confdefs.h. */
9778 /* Override any GCC internal prototype to avoid an error.
9779 Use char because int might match the return type of a GCC
9780 builtin and then its argument prototype would still apply. */
9781 #ifdef __cplusplus
9782 extern "C"
9783 #endif
9784 char XextCreateExtension ();
9786 main ()
9788 return XextCreateExtension ();
9790 return 0;
9792 _ACEOF
9793 if ac_fn_c_try_link "$LINENO"; then :
9794 case "$LIBEXT" in
9795 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9796 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'` ;;
9797 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9798 if ${ac_cv_lib_soname_Xext:+false} :; then :
9799 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9800 fi ;;
9801 esac
9803 rm -f core conftest.err conftest.$ac_objext \
9804 conftest$ac_exeext conftest.$ac_ext
9805 LIBS=$ac_check_soname_save_LIBS
9807 if ${ac_cv_lib_soname_Xext:+false} :; then :
9808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9809 $as_echo "not found" >&6; }
9811 else
9812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9813 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9815 cat >>confdefs.h <<_ACEOF
9816 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9817 _ACEOF
9819 X_LIBS="$X_LIBS -lXext"
9821 X_LIBS="$X_LIBS -lX11"
9823 for ac_header in X11/Xlib.h \
9824 X11/XKBlib.h \
9825 X11/Xutil.h \
9826 X11/Xcursor/Xcursor.h \
9827 X11/extensions/shape.h \
9828 X11/extensions/XInput.h \
9829 X11/extensions/XInput2.h \
9830 X11/extensions/XShm.h \
9831 X11/extensions/Xcomposite.h \
9832 X11/extensions/Xinerama.h \
9833 X11/extensions/Xrandr.h \
9834 X11/extensions/Xrender.h \
9835 X11/extensions/xf86vmode.h \
9836 X11/extensions/xf86vmproto.h
9837 do :
9838 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9839 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9840 # include <X11/Xlib.h>
9841 #endif
9842 #ifdef HAVE_X11_XUTIL_H
9843 # include <X11/Xutil.h>
9844 #endif
9846 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9847 cat >>confdefs.h <<_ACEOF
9848 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9849 _ACEOF
9853 done
9856 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9857 then
9858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9859 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9860 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9861 $as_echo_n "(cached) " >&6
9862 else
9863 ac_check_lib_save_LIBS=$LIBS
9864 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9866 /* end confdefs.h. */
9868 /* Override any GCC internal prototype to avoid an error.
9869 Use char because int might match the return type of a GCC
9870 builtin and then its argument prototype would still apply. */
9871 #ifdef __cplusplus
9872 extern "C"
9873 #endif
9874 char XkbQueryExtension ();
9876 main ()
9878 return XkbQueryExtension ();
9880 return 0;
9882 _ACEOF
9883 if ac_fn_c_try_link "$LINENO"; then :
9884 ac_cv_lib_X11_XkbQueryExtension=yes
9885 else
9886 ac_cv_lib_X11_XkbQueryExtension=no
9888 rm -f core conftest.err conftest.$ac_objext \
9889 conftest$ac_exeext conftest.$ac_ext
9890 LIBS=$ac_check_lib_save_LIBS
9892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9893 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9894 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9896 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9902 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9903 then
9904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9905 $as_echo_n "checking for -lXcursor... " >&6; }
9906 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9907 $as_echo_n "(cached) " >&6
9908 else
9909 ac_check_soname_save_LIBS=$LIBS
9910 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9912 /* end confdefs.h. */
9914 /* Override any GCC internal prototype to avoid an error.
9915 Use char because int might match the return type of a GCC
9916 builtin and then its argument prototype would still apply. */
9917 #ifdef __cplusplus
9918 extern "C"
9919 #endif
9920 char XcursorImageLoadCursor ();
9922 main ()
9924 return XcursorImageLoadCursor ();
9926 return 0;
9928 _ACEOF
9929 if ac_fn_c_try_link "$LINENO"; then :
9930 case "$LIBEXT" in
9931 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9932 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'` ;;
9933 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9934 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9935 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9936 fi ;;
9937 esac
9939 rm -f core conftest.err conftest.$ac_objext \
9940 conftest$ac_exeext conftest.$ac_ext
9941 LIBS=$ac_check_soname_save_LIBS
9943 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9945 $as_echo "not found" >&6; }
9947 else
9948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9949 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9951 cat >>confdefs.h <<_ACEOF
9952 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9953 _ACEOF
9958 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9959 case "x$with_xcursor" in
9960 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9961 xno) ;;
9962 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9963 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9964 esac
9968 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9969 then
9970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9971 $as_echo_n "checking for -lXi... " >&6; }
9972 if ${ac_cv_lib_soname_Xi+:} false; then :
9973 $as_echo_n "(cached) " >&6
9974 else
9975 ac_check_soname_save_LIBS=$LIBS
9976 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9978 /* end confdefs.h. */
9980 /* Override any GCC internal prototype to avoid an error.
9981 Use char because int might match the return type of a GCC
9982 builtin and then its argument prototype would still apply. */
9983 #ifdef __cplusplus
9984 extern "C"
9985 #endif
9986 char XOpenDevice ();
9988 main ()
9990 return XOpenDevice ();
9992 return 0;
9994 _ACEOF
9995 if ac_fn_c_try_link "$LINENO"; then :
9996 case "$LIBEXT" in
9997 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9998 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'` ;;
9999 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10000 if ${ac_cv_lib_soname_Xi:+false} :; then :
10001 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10002 fi ;;
10003 esac
10005 rm -f core conftest.err conftest.$ac_objext \
10006 conftest$ac_exeext conftest.$ac_ext
10007 LIBS=$ac_check_soname_save_LIBS
10009 if ${ac_cv_lib_soname_Xi:+false} :; then :
10010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10011 $as_echo "not found" >&6; }
10013 else
10014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10015 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10017 cat >>confdefs.h <<_ACEOF
10018 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10019 _ACEOF
10024 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10025 case "x$with_xinput" in
10026 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10027 xno) ;;
10028 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10029 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10030 esac
10034 if test "x$ac_cv_lib_soname_Xi" != x
10035 then
10036 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10037 case "x$with_xinput2" in
10038 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10039 xno) ;;
10040 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10041 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10042 esac
10047 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10048 then
10049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10050 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10051 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10052 $as_echo_n "(cached) " >&6
10053 else
10054 ac_check_lib_save_LIBS=$LIBS
10055 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10057 /* end confdefs.h. */
10059 /* Override any GCC internal prototype to avoid an error.
10060 Use char because int might match the return type of a GCC
10061 builtin and then its argument prototype would still apply. */
10062 #ifdef __cplusplus
10063 extern "C"
10064 #endif
10065 char XShmQueryExtension ();
10067 main ()
10069 return XShmQueryExtension ();
10071 return 0;
10073 _ACEOF
10074 if ac_fn_c_try_link "$LINENO"; then :
10075 ac_cv_lib_Xext_XShmQueryExtension=yes
10076 else
10077 ac_cv_lib_Xext_XShmQueryExtension=no
10079 rm -f core conftest.err conftest.$ac_objext \
10080 conftest$ac_exeext conftest.$ac_ext
10081 LIBS=$ac_check_lib_save_LIBS
10083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10084 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10085 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10087 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10092 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10093 case "x$with_xshm" in
10094 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10095 xno) ;;
10096 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10097 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10098 esac
10102 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10103 then
10104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10105 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10106 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10107 $as_echo_n "(cached) " >&6
10108 else
10109 ac_check_lib_save_LIBS=$LIBS
10110 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10112 /* end confdefs.h. */
10114 /* Override any GCC internal prototype to avoid an error.
10115 Use char because int might match the return type of a GCC
10116 builtin and then its argument prototype would still apply. */
10117 #ifdef __cplusplus
10118 extern "C"
10119 #endif
10120 char XShapeQueryExtension ();
10122 main ()
10124 return XShapeQueryExtension ();
10126 return 0;
10128 _ACEOF
10129 if ac_fn_c_try_link "$LINENO"; then :
10130 ac_cv_lib_Xext_XShapeQueryExtension=yes
10131 else
10132 ac_cv_lib_Xext_XShapeQueryExtension=no
10134 rm -f core conftest.err conftest.$ac_objext \
10135 conftest$ac_exeext conftest.$ac_ext
10136 LIBS=$ac_check_lib_save_LIBS
10138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10139 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10140 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10142 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10147 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10148 case "x$with_xshape" in
10149 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10150 xno) ;;
10151 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10152 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10153 esac
10157 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10158 then
10159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10160 $as_echo_n "checking for -lXxf86vm... " >&6; }
10161 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10162 $as_echo_n "(cached) " >&6
10163 else
10164 ac_check_soname_save_LIBS=$LIBS
10165 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10167 /* end confdefs.h. */
10169 /* Override any GCC internal prototype to avoid an error.
10170 Use char because int might match the return type of a GCC
10171 builtin and then its argument prototype would still apply. */
10172 #ifdef __cplusplus
10173 extern "C"
10174 #endif
10175 char XF86VidModeQueryExtension ();
10177 main ()
10179 return XF86VidModeQueryExtension ();
10181 return 0;
10183 _ACEOF
10184 if ac_fn_c_try_link "$LINENO"; then :
10185 case "$LIBEXT" in
10186 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10187 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'` ;;
10188 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10189 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10190 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10191 fi ;;
10192 esac
10194 rm -f core conftest.err conftest.$ac_objext \
10195 conftest$ac_exeext conftest.$ac_ext
10196 LIBS=$ac_check_soname_save_LIBS
10198 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10200 $as_echo "not found" >&6; }
10202 else
10203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10204 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10206 cat >>confdefs.h <<_ACEOF
10207 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10208 _ACEOF
10213 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10214 case "x$with_xxf86vm" in
10215 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10216 xno) ;;
10217 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10218 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10219 esac
10223 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10224 then
10225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10226 $as_echo_n "checking for -lXrender... " >&6; }
10227 if ${ac_cv_lib_soname_Xrender+:} false; then :
10228 $as_echo_n "(cached) " >&6
10229 else
10230 ac_check_soname_save_LIBS=$LIBS
10231 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10233 /* end confdefs.h. */
10235 /* Override any GCC internal prototype to avoid an error.
10236 Use char because int might match the return type of a GCC
10237 builtin and then its argument prototype would still apply. */
10238 #ifdef __cplusplus
10239 extern "C"
10240 #endif
10241 char XRenderQueryExtension ();
10243 main ()
10245 return XRenderQueryExtension ();
10247 return 0;
10249 _ACEOF
10250 if ac_fn_c_try_link "$LINENO"; then :
10251 case "$LIBEXT" in
10252 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10253 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'` ;;
10254 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10255 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10256 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10257 fi ;;
10258 esac
10260 rm -f core conftest.err conftest.$ac_objext \
10261 conftest$ac_exeext conftest.$ac_ext
10262 LIBS=$ac_check_soname_save_LIBS
10264 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10266 $as_echo "not found" >&6; }
10268 else
10269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10270 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10272 cat >>confdefs.h <<_ACEOF
10273 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10274 _ACEOF
10276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10277 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10278 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10279 $as_echo_n "(cached) " >&6
10280 else
10281 ac_check_lib_save_LIBS=$LIBS
10282 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10284 /* end confdefs.h. */
10286 /* Override any GCC internal prototype to avoid an error.
10287 Use char because int might match the return type of a GCC
10288 builtin and then its argument prototype would still apply. */
10289 #ifdef __cplusplus
10290 extern "C"
10291 #endif
10292 char XRenderSetPictureTransform ();
10294 main ()
10296 return XRenderSetPictureTransform ();
10298 return 0;
10300 _ACEOF
10301 if ac_fn_c_try_link "$LINENO"; then :
10302 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10303 else
10304 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10306 rm -f core conftest.err conftest.$ac_objext \
10307 conftest$ac_exeext conftest.$ac_ext
10308 LIBS=$ac_check_lib_save_LIBS
10310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10311 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10312 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10314 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10319 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10320 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10321 $as_echo_n "(cached) " >&6
10322 else
10323 ac_check_lib_save_LIBS=$LIBS
10324 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10326 /* end confdefs.h. */
10328 /* Override any GCC internal prototype to avoid an error.
10329 Use char because int might match the return type of a GCC
10330 builtin and then its argument prototype would still apply. */
10331 #ifdef __cplusplus
10332 extern "C"
10333 #endif
10334 char XRenderCreateLinearGradient ();
10336 main ()
10338 return XRenderCreateLinearGradient ();
10340 return 0;
10342 _ACEOF
10343 if ac_fn_c_try_link "$LINENO"; then :
10344 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10345 else
10346 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10348 rm -f core conftest.err conftest.$ac_objext \
10349 conftest$ac_exeext conftest.$ac_ext
10350 LIBS=$ac_check_lib_save_LIBS
10352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10353 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10354 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10356 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10363 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10364 case "x$with_xrender" in
10365 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10366 xno) ;;
10367 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10368 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10369 esac
10373 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10374 then
10375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10376 /* end confdefs.h. */
10377 #include <X11/Xlib.h>
10378 #include <X11/extensions/Xrandr.h>
10380 main ()
10382 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10384 return 0;
10386 _ACEOF
10387 if ac_fn_c_try_compile "$LINENO"; then :
10388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10389 $as_echo_n "checking for -lXrandr... " >&6; }
10390 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10391 $as_echo_n "(cached) " >&6
10392 else
10393 ac_check_soname_save_LIBS=$LIBS
10394 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10396 /* end confdefs.h. */
10398 /* Override any GCC internal prototype to avoid an error.
10399 Use char because int might match the return type of a GCC
10400 builtin and then its argument prototype would still apply. */
10401 #ifdef __cplusplus
10402 extern "C"
10403 #endif
10404 char XRRQueryExtension ();
10406 main ()
10408 return XRRQueryExtension ();
10410 return 0;
10412 _ACEOF
10413 if ac_fn_c_try_link "$LINENO"; then :
10414 case "$LIBEXT" in
10415 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10416 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'` ;;
10417 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10418 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10419 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10420 fi ;;
10421 esac
10423 rm -f core conftest.err conftest.$ac_objext \
10424 conftest$ac_exeext conftest.$ac_ext
10425 LIBS=$ac_check_soname_save_LIBS
10427 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10429 $as_echo "not found" >&6; }
10431 else
10432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10433 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10435 cat >>confdefs.h <<_ACEOF
10436 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10437 _ACEOF
10439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10440 /* end confdefs.h. */
10441 #include <X11/Xlib.h>
10442 #include <X11/extensions/Xrandr.h>
10444 main ()
10446 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10448 return 0;
10450 _ACEOF
10451 if ac_fn_c_try_compile "$LINENO"; then :
10453 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10461 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10462 case "x$with_xrandr" in
10463 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10464 xno) ;;
10465 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10466 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10467 esac
10471 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10472 then
10473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10474 /* end confdefs.h. */
10475 #include <X11/Xlib.h>
10476 #include <X11/extensions/Xinerama.h>
10478 main ()
10480 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10482 return 0;
10484 _ACEOF
10485 if ac_fn_c_try_compile "$LINENO"; then :
10486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10487 $as_echo_n "checking for -lXinerama... " >&6; }
10488 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10489 $as_echo_n "(cached) " >&6
10490 else
10491 ac_check_soname_save_LIBS=$LIBS
10492 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10494 /* end confdefs.h. */
10496 /* Override any GCC internal prototype to avoid an error.
10497 Use char because int might match the return type of a GCC
10498 builtin and then its argument prototype would still apply. */
10499 #ifdef __cplusplus
10500 extern "C"
10501 #endif
10502 char XineramaQueryScreens ();
10504 main ()
10506 return XineramaQueryScreens ();
10508 return 0;
10510 _ACEOF
10511 if ac_fn_c_try_link "$LINENO"; then :
10512 case "$LIBEXT" in
10513 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10514 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'` ;;
10515 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10516 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10517 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10518 fi ;;
10519 esac
10521 rm -f core conftest.err conftest.$ac_objext \
10522 conftest$ac_exeext conftest.$ac_ext
10523 LIBS=$ac_check_soname_save_LIBS
10525 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10527 $as_echo "not found" >&6; }
10529 else
10530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10531 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10533 cat >>confdefs.h <<_ACEOF
10534 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10535 _ACEOF
10540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10542 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10543 case "x$with_xinerama" in
10544 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10545 xno) ;;
10546 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10547 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10548 esac
10552 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10553 then
10554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10555 $as_echo_n "checking for -lXcomposite... " >&6; }
10556 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10557 $as_echo_n "(cached) " >&6
10558 else
10559 ac_check_soname_save_LIBS=$LIBS
10560 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10562 /* end confdefs.h. */
10564 /* Override any GCC internal prototype to avoid an error.
10565 Use char because int might match the return type of a GCC
10566 builtin and then its argument prototype would still apply. */
10567 #ifdef __cplusplus
10568 extern "C"
10569 #endif
10570 char XCompositeRedirectWindow ();
10572 main ()
10574 return XCompositeRedirectWindow ();
10576 return 0;
10578 _ACEOF
10579 if ac_fn_c_try_link "$LINENO"; then :
10580 case "$LIBEXT" in
10581 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10582 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'` ;;
10583 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10584 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10585 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10586 fi ;;
10587 esac
10589 rm -f core conftest.err conftest.$ac_objext \
10590 conftest$ac_exeext conftest.$ac_ext
10591 LIBS=$ac_check_soname_save_LIBS
10593 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10595 $as_echo "not found" >&6; }
10597 else
10598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10599 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10601 cat >>confdefs.h <<_ACEOF
10602 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10603 _ACEOF
10608 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10609 case "x$with_xcomposite" in
10610 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10611 xno) ;;
10612 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10613 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10614 esac
10618 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10619 #include <X11/Xlib.h>
10620 #endif
10622 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10624 cat >>confdefs.h <<_ACEOF
10625 #define HAVE_XICCALLBACK_CALLBACK 1
10626 _ACEOF
10630 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10631 #include <X11/Xlib.h>
10632 #endif
10634 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10636 cat >>confdefs.h <<_ACEOF
10637 #define HAVE_XEVENT_XCOOKIE 1
10638 _ACEOF
10645 opengl_msg=""
10646 if test "x$with_opengl" != "xno"
10647 then
10648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10649 $as_echo_n "checking for -lGL... " >&6; }
10650 if ${ac_cv_lib_soname_GL+:} false; then :
10651 $as_echo_n "(cached) " >&6
10652 else
10653 ac_check_soname_save_LIBS=$LIBS
10654 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10656 /* end confdefs.h. */
10658 /* Override any GCC internal prototype to avoid an error.
10659 Use char because int might match the return type of a GCC
10660 builtin and then its argument prototype would still apply. */
10661 #ifdef __cplusplus
10662 extern "C"
10663 #endif
10664 char glXCreateContext ();
10666 main ()
10668 return glXCreateContext ();
10670 return 0;
10672 _ACEOF
10673 if ac_fn_c_try_link "$LINENO"; then :
10674 case "$LIBEXT" in
10675 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10676 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'` ;;
10677 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10678 if ${ac_cv_lib_soname_GL:+false} :; then :
10679 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10680 fi ;;
10681 esac
10683 rm -f core conftest.err conftest.$ac_objext \
10684 conftest$ac_exeext conftest.$ac_ext
10685 LIBS=$ac_check_soname_save_LIBS
10687 if ${ac_cv_lib_soname_GL:+false} :; then :
10688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10689 $as_echo "not found" >&6; }
10690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10691 $as_echo_n "checking for -lGL... " >&6; }
10692 if ${ac_cv_lib_soname_GL+:} false; then :
10693 $as_echo_n "(cached) " >&6
10694 else
10695 ac_check_soname_save_LIBS=$LIBS
10696 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"
10697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10698 /* end confdefs.h. */
10700 /* Override any GCC internal prototype to avoid an error.
10701 Use char because int might match the return type of a GCC
10702 builtin and then its argument prototype would still apply. */
10703 #ifdef __cplusplus
10704 extern "C"
10705 #endif
10706 char glXCreateContext ();
10708 main ()
10710 return glXCreateContext ();
10712 return 0;
10714 _ACEOF
10715 if ac_fn_c_try_link "$LINENO"; then :
10716 case "$LIBEXT" in
10717 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10718 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'` ;;
10719 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10720 if ${ac_cv_lib_soname_GL:+false} :; then :
10721 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10722 fi ;;
10723 esac
10725 rm -f core conftest.err conftest.$ac_objext \
10726 conftest$ac_exeext conftest.$ac_ext
10727 LIBS=$ac_check_soname_save_LIBS
10729 if ${ac_cv_lib_soname_GL:+false} :; then :
10730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10731 $as_echo "not found" >&6; }
10732 if test -f /usr/X11R6/lib/libGL.a
10733 then
10734 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10735 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10736 else
10737 opengl_msg="No OpenGL library found on this system."
10739 else
10740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10741 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10743 cat >>confdefs.h <<_ACEOF
10744 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10745 _ACEOF
10747 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"
10749 else
10750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10751 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10753 cat >>confdefs.h <<_ACEOF
10754 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10755 _ACEOF
10757 OPENGL_LIBS="-lGL"
10759 if test "x$with_glu" != "xno"
10760 then
10761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10762 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10763 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10764 $as_echo_n "(cached) " >&6
10765 else
10766 ac_check_lib_save_LIBS=$LIBS
10767 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10769 /* end confdefs.h. */
10771 /* Override any GCC internal prototype to avoid an error.
10772 Use char because int might match the return type of a GCC
10773 builtin and then its argument prototype would still apply. */
10774 #ifdef __cplusplus
10775 extern "C"
10776 #endif
10777 char gluLookAt ();
10779 main ()
10781 return gluLookAt ();
10783 return 0;
10785 _ACEOF
10786 if ac_fn_c_try_link "$LINENO"; then :
10787 ac_cv_lib_GLU_gluLookAt=yes
10788 else
10789 ac_cv_lib_GLU_gluLookAt=no
10791 rm -f core conftest.err conftest.$ac_objext \
10792 conftest$ac_exeext conftest.$ac_ext
10793 LIBS=$ac_check_lib_save_LIBS
10795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10796 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10797 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10801 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10802 case "x$with_glu" in
10803 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10804 xno) ;;
10805 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10806 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10807 esac
10812 if test "x$with_osmesa" != "xno"
10813 then
10814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10815 $as_echo_n "checking for -lOSMesa... " >&6; }
10816 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10817 $as_echo_n "(cached) " >&6
10818 else
10819 ac_check_soname_save_LIBS=$LIBS
10820 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10822 /* end confdefs.h. */
10824 /* Override any GCC internal prototype to avoid an error.
10825 Use char because int might match the return type of a GCC
10826 builtin and then its argument prototype would still apply. */
10827 #ifdef __cplusplus
10828 extern "C"
10829 #endif
10830 char glAccum ();
10832 main ()
10834 return glAccum ();
10836 return 0;
10838 _ACEOF
10839 if ac_fn_c_try_link "$LINENO"; then :
10840 case "$LIBEXT" in
10841 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10842 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'` ;;
10843 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10844 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10845 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10846 fi ;;
10847 esac
10849 rm -f core conftest.err conftest.$ac_objext \
10850 conftest$ac_exeext conftest.$ac_ext
10851 LIBS=$ac_check_soname_save_LIBS
10853 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10855 $as_echo "not found" >&6; }
10857 else
10858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10859 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10861 cat >>confdefs.h <<_ACEOF
10862 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10863 _ACEOF
10867 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10868 case "x$with_osmesa" in
10869 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10870 xno) ;;
10871 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10872 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10873 esac
10878 if test -n "$opengl_msg"; then :
10879 case "x$with_opengl" in
10880 x) as_fn_append wine_warnings "|$opengl_msg
10881 OpenGL and Direct3D won't be supported." ;;
10882 xno) ;;
10883 *) as_fn_error $? "$opengl_msg
10884 OpenGL and Direct3D won't be supported.
10885 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10886 esac
10890 CPPFLAGS="$ac_save_CPPFLAGS"
10891 else
10892 X_CFLAGS=""
10893 X_LIBS=""
10895 if test "x$X_LIBS" = "x"; then :
10896 case "x$with_x" in
10897 xno) ;;
10898 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10899 without X support, which probably isn't what you want. You will need
10900 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10901 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10902 esac
10903 enable_winex11_drv=${enable_winex11_drv:-no}
10906 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10908 if test "$ac_cv_header_CL_cl_h" = "yes"
10909 then
10910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10911 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10912 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10913 $as_echo_n "(cached) " >&6
10914 else
10915 ac_check_lib_save_LIBS=$LIBS
10916 LIBS="-lOpenCL $LIBS"
10917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10918 /* end confdefs.h. */
10920 /* Override any GCC internal prototype to avoid an error.
10921 Use char because int might match the return type of a GCC
10922 builtin and then its argument prototype would still apply. */
10923 #ifdef __cplusplus
10924 extern "C"
10925 #endif
10926 char clGetPlatformInfo ();
10928 main ()
10930 return clGetPlatformInfo ();
10932 return 0;
10934 _ACEOF
10935 if ac_fn_c_try_link "$LINENO"; then :
10936 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10937 else
10938 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10940 rm -f core conftest.err conftest.$ac_objext \
10941 conftest$ac_exeext conftest.$ac_ext
10942 LIBS=$ac_check_lib_save_LIBS
10944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10945 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10946 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10947 OPENCL_LIBS="-lOpenCL"
10952 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10953 case "x$with_opencl" in
10954 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10955 xno) ;;
10956 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10957 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10958 esac
10959 enable_opencl=${enable_opencl:-no}
10962 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10963 then
10964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10965 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10966 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10967 $as_echo_n "(cached) " >&6
10968 else
10969 ac_check_lib_save_LIBS=$LIBS
10970 LIBS="-lpcap $LIBS"
10971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10972 /* end confdefs.h. */
10974 /* Override any GCC internal prototype to avoid an error.
10975 Use char because int might match the return type of a GCC
10976 builtin and then its argument prototype would still apply. */
10977 #ifdef __cplusplus
10978 extern "C"
10979 #endif
10980 char pcap_create ();
10982 main ()
10984 return pcap_create ();
10986 return 0;
10988 _ACEOF
10989 if ac_fn_c_try_link "$LINENO"; then :
10990 ac_cv_lib_pcap_pcap_create=yes
10991 else
10992 ac_cv_lib_pcap_pcap_create=no
10994 rm -f core conftest.err conftest.$ac_objext \
10995 conftest$ac_exeext conftest.$ac_ext
10996 LIBS=$ac_check_lib_save_LIBS
10998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10999 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11000 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11001 PCAP_LIBS="-lpcap"
11006 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11007 case "x$with_pcap" in
11008 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11009 xno) ;;
11010 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11011 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11012 esac
11013 enable_wpcap=${enable_wpcap:-no}
11017 if test "x$with_xml" != "xno"
11018 then
11019 if ${XML2_CFLAGS:+false} :; then :
11020 if ${PKG_CONFIG+:} false; then :
11021 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11024 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11025 if ${XML2_LIBS:+false} :; then :
11026 if ${PKG_CONFIG+:} false; then :
11027 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11030 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11031 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11032 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11033 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11034 ac_save_CPPFLAGS=$CPPFLAGS
11035 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11036 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11037 do :
11038 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11039 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11040 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11041 cat >>confdefs.h <<_ACEOF
11042 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11043 _ACEOF
11047 done
11049 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"
11050 then
11051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11052 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11053 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11054 $as_echo_n "(cached) " >&6
11055 else
11056 ac_check_lib_save_LIBS=$LIBS
11057 LIBS="-lxml2 $XML2_LIBS $LIBS"
11058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11059 /* end confdefs.h. */
11061 /* Override any GCC internal prototype to avoid an error.
11062 Use char because int might match the return type of a GCC
11063 builtin and then its argument prototype would still apply. */
11064 #ifdef __cplusplus
11065 extern "C"
11066 #endif
11067 char xmlParseMemory ();
11069 main ()
11071 return xmlParseMemory ();
11073 return 0;
11075 _ACEOF
11076 if ac_fn_c_try_link "$LINENO"; then :
11077 ac_cv_lib_xml2_xmlParseMemory=yes
11078 else
11079 ac_cv_lib_xml2_xmlParseMemory=no
11081 rm -f core conftest.err conftest.$ac_objext \
11082 conftest$ac_exeext conftest.$ac_ext
11083 LIBS=$ac_check_lib_save_LIBS
11085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11086 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11087 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11089 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11091 else
11092 XML2_LIBS=""
11095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11096 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11097 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11098 $as_echo_n "(cached) " >&6
11099 else
11100 ac_check_lib_save_LIBS=$LIBS
11101 LIBS="-lxml2 $XML2_LIBS $LIBS"
11102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11103 /* end confdefs.h. */
11105 /* Override any GCC internal prototype to avoid an error.
11106 Use char because int might match the return type of a GCC
11107 builtin and then its argument prototype would still apply. */
11108 #ifdef __cplusplus
11109 extern "C"
11110 #endif
11111 char xmlReadMemory ();
11113 main ()
11115 return xmlReadMemory ();
11117 return 0;
11119 _ACEOF
11120 if ac_fn_c_try_link "$LINENO"; then :
11121 ac_cv_lib_xml2_xmlReadMemory=yes
11122 else
11123 ac_cv_lib_xml2_xmlReadMemory=no
11125 rm -f core conftest.err conftest.$ac_objext \
11126 conftest$ac_exeext conftest.$ac_ext
11127 LIBS=$ac_check_lib_save_LIBS
11129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11130 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11131 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11133 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11138 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11139 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11140 $as_echo_n "(cached) " >&6
11141 else
11142 ac_check_lib_save_LIBS=$LIBS
11143 LIBS="-lxml2 $XML2_LIBS $LIBS"
11144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11145 /* end confdefs.h. */
11147 /* Override any GCC internal prototype to avoid an error.
11148 Use char because int might match the return type of a GCC
11149 builtin and then its argument prototype would still apply. */
11150 #ifdef __cplusplus
11151 extern "C"
11152 #endif
11153 char xmlNewDocPI ();
11155 main ()
11157 return xmlNewDocPI ();
11159 return 0;
11161 _ACEOF
11162 if ac_fn_c_try_link "$LINENO"; then :
11163 ac_cv_lib_xml2_xmlNewDocPI=yes
11164 else
11165 ac_cv_lib_xml2_xmlNewDocPI=no
11167 rm -f core conftest.err conftest.$ac_objext \
11168 conftest$ac_exeext conftest.$ac_ext
11169 LIBS=$ac_check_lib_save_LIBS
11171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11172 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11173 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11175 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11180 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11181 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11182 $as_echo_n "(cached) " >&6
11183 else
11184 ac_check_lib_save_LIBS=$LIBS
11185 LIBS="-lxml2 $XML2_LIBS $LIBS"
11186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11187 /* end confdefs.h. */
11189 /* Override any GCC internal prototype to avoid an error.
11190 Use char because int might match the return type of a GCC
11191 builtin and then its argument prototype would still apply. */
11192 #ifdef __cplusplus
11193 extern "C"
11194 #endif
11195 char xmlSchemaSetParserStructuredErrors ();
11197 main ()
11199 return xmlSchemaSetParserStructuredErrors ();
11201 return 0;
11203 _ACEOF
11204 if ac_fn_c_try_link "$LINENO"; then :
11205 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11206 else
11207 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11209 rm -f core conftest.err conftest.$ac_objext \
11210 conftest$ac_exeext conftest.$ac_ext
11211 LIBS=$ac_check_lib_save_LIBS
11213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11214 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11215 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11217 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11222 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11223 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11224 $as_echo_n "(cached) " >&6
11225 else
11226 ac_check_lib_save_LIBS=$LIBS
11227 LIBS="-lxml2 $XML2_LIBS $LIBS"
11228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11229 /* end confdefs.h. */
11231 /* Override any GCC internal prototype to avoid an error.
11232 Use char because int might match the return type of a GCC
11233 builtin and then its argument prototype would still apply. */
11234 #ifdef __cplusplus
11235 extern "C"
11236 #endif
11237 char xmlSchemaSetValidStructuredErrors ();
11239 main ()
11241 return xmlSchemaSetValidStructuredErrors ();
11243 return 0;
11245 _ACEOF
11246 if ac_fn_c_try_link "$LINENO"; then :
11247 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11248 else
11249 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11251 rm -f core conftest.err conftest.$ac_objext \
11252 conftest$ac_exeext conftest.$ac_ext
11253 LIBS=$ac_check_lib_save_LIBS
11255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11256 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11257 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11259 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11264 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11265 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11266 $as_echo_n "(cached) " >&6
11267 else
11268 ac_check_lib_save_LIBS=$LIBS
11269 LIBS="-lxml2 $XML2_LIBS $LIBS"
11270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11271 /* end confdefs.h. */
11273 /* Override any GCC internal prototype to avoid an error.
11274 Use char because int might match the return type of a GCC
11275 builtin and then its argument prototype would still apply. */
11276 #ifdef __cplusplus
11277 extern "C"
11278 #endif
11279 char xmlFirstElementChild ();
11281 main ()
11283 return xmlFirstElementChild ();
11285 return 0;
11287 _ACEOF
11288 if ac_fn_c_try_link "$LINENO"; then :
11289 ac_cv_lib_xml2_xmlFirstElementChild=yes
11290 else
11291 ac_cv_lib_xml2_xmlFirstElementChild=no
11293 rm -f core conftest.err conftest.$ac_objext \
11294 conftest$ac_exeext conftest.$ac_ext
11295 LIBS=$ac_check_lib_save_LIBS
11297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11298 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11299 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11301 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11305 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11307 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11309 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11313 else
11314 XML2_CFLAGS=""
11315 XML2_LIBS=""
11317 CPPFLAGS=$ac_save_CPPFLAGS
11318 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11319 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11322 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11323 case "x$with_xml" in
11324 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11325 xno) ;;
11326 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11327 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11328 esac
11332 if test "x$with_xslt" != "xno"
11333 then
11334 if ${XSLT_CFLAGS:+false} :; then :
11335 if ${PKG_CONFIG+:} false; then :
11336 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11339 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11340 if ${XSLT_LIBS:+false} :; then :
11341 if ${PKG_CONFIG+:} false; then :
11342 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11345 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11346 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11347 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11348 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11349 ac_save_CPPFLAGS=$CPPFLAGS
11350 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11351 for ac_header in libxslt/pattern.h libxslt/transform.h
11352 do :
11353 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11354 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11355 # include <libxslt/pattern.h>
11356 #endif
11358 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11359 cat >>confdefs.h <<_ACEOF
11360 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11361 _ACEOF
11365 done
11367 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11368 then
11369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11370 $as_echo_n "checking for -lxslt... " >&6; }
11371 if ${ac_cv_lib_soname_xslt+:} false; then :
11372 $as_echo_n "(cached) " >&6
11373 else
11374 ac_check_soname_save_LIBS=$LIBS
11375 LIBS="-lxslt $XSLT_LIBS $LIBS"
11376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11377 /* end confdefs.h. */
11379 /* Override any GCC internal prototype to avoid an error.
11380 Use char because int might match the return type of a GCC
11381 builtin and then its argument prototype would still apply. */
11382 #ifdef __cplusplus
11383 extern "C"
11384 #endif
11385 char xsltCompilePattern ();
11387 main ()
11389 return xsltCompilePattern ();
11391 return 0;
11393 _ACEOF
11394 if ac_fn_c_try_link "$LINENO"; then :
11395 case "$LIBEXT" in
11396 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11397 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'` ;;
11398 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11399 if ${ac_cv_lib_soname_xslt:+false} :; then :
11400 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11401 fi ;;
11402 esac
11404 rm -f core conftest.err conftest.$ac_objext \
11405 conftest$ac_exeext conftest.$ac_ext
11406 LIBS=$ac_check_soname_save_LIBS
11408 if ${ac_cv_lib_soname_xslt:+false} :; then :
11409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11410 $as_echo "not found" >&6; }
11412 else
11413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11414 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11416 cat >>confdefs.h <<_ACEOF
11417 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11418 _ACEOF
11422 else
11423 XSLT_CFLAGS=""
11425 CPPFLAGS=$ac_save_CPPFLAGS
11426 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11427 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11430 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11431 case "x$with_xslt" in
11432 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11433 xno) ;;
11434 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11435 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11436 esac
11440 if test "x$with_dbus" != "xno"
11441 then
11442 if ${DBUS_CFLAGS:+false} :; then :
11443 if ${PKG_CONFIG+:} false; then :
11444 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11448 if ${DBUS_LIBS:+false} :; then :
11449 if ${PKG_CONFIG+:} false; then :
11450 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11455 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11456 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11457 ac_save_CPPFLAGS=$CPPFLAGS
11458 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11459 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11460 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11462 $as_echo_n "checking for -ldbus-1... " >&6; }
11463 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11464 $as_echo_n "(cached) " >&6
11465 else
11466 ac_check_soname_save_LIBS=$LIBS
11467 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11469 /* end confdefs.h. */
11471 /* Override any GCC internal prototype to avoid an error.
11472 Use char because int might match the return type of a GCC
11473 builtin and then its argument prototype would still apply. */
11474 #ifdef __cplusplus
11475 extern "C"
11476 #endif
11477 char dbus_connection_close ();
11479 main ()
11481 return dbus_connection_close ();
11483 return 0;
11485 _ACEOF
11486 if ac_fn_c_try_link "$LINENO"; then :
11487 case "$LIBEXT" in
11488 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11489 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'` ;;
11490 *) 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'`
11491 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11492 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11493 fi ;;
11494 esac
11496 rm -f core conftest.err conftest.$ac_objext \
11497 conftest$ac_exeext conftest.$ac_ext
11498 LIBS=$ac_check_soname_save_LIBS
11500 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11502 $as_echo "not found" >&6; }
11503 DBUS_CFLAGS=""
11504 else
11505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11506 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11508 cat >>confdefs.h <<_ACEOF
11509 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11510 _ACEOF
11514 else
11515 DBUS_CFLAGS=""
11519 CPPFLAGS=$ac_save_CPPFLAGS
11520 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11521 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11524 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11525 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11526 case "x$with_dbus" in
11527 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11528 xno) ;;
11529 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11530 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11531 esac
11535 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11536 then
11537 if ${HAL_CFLAGS:+false} :; then :
11538 if ${PKG_CONFIG+:} false; then :
11539 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11543 if ${HAL_LIBS:+false} :; then :
11544 if ${PKG_CONFIG+:} false; then :
11545 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11549 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11550 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11551 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11552 ac_save_CPPFLAGS=$CPPFLAGS
11553 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11554 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11555 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11557 $as_echo_n "checking for -lhal... " >&6; }
11558 if ${ac_cv_lib_soname_hal+:} false; then :
11559 $as_echo_n "(cached) " >&6
11560 else
11561 ac_check_soname_save_LIBS=$LIBS
11562 LIBS="-lhal $HAL_LIBS $LIBS"
11563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11564 /* end confdefs.h. */
11566 /* Override any GCC internal prototype to avoid an error.
11567 Use char because int might match the return type of a GCC
11568 builtin and then its argument prototype would still apply. */
11569 #ifdef __cplusplus
11570 extern "C"
11571 #endif
11572 char libhal_ctx_new ();
11574 main ()
11576 return libhal_ctx_new ();
11578 return 0;
11580 _ACEOF
11581 if ac_fn_c_try_link "$LINENO"; then :
11582 case "$LIBEXT" in
11583 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11584 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'` ;;
11585 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11586 if ${ac_cv_lib_soname_hal:+false} :; then :
11587 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11588 fi ;;
11589 esac
11591 rm -f core conftest.err conftest.$ac_objext \
11592 conftest$ac_exeext conftest.$ac_ext
11593 LIBS=$ac_check_soname_save_LIBS
11595 if ${ac_cv_lib_soname_hal:+false} :; then :
11596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11597 $as_echo "not found" >&6; }
11598 HAL_CFLAGS=""
11599 else
11600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11601 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11603 cat >>confdefs.h <<_ACEOF
11604 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11605 _ACEOF
11609 else
11610 HAL_CFLAGS=""
11614 CPPFLAGS=$ac_save_CPPFLAGS
11615 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11616 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11618 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11619 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11620 case "x$with_hal" in
11621 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11622 xno) ;;
11623 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11624 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11625 esac
11630 if test "x$with_gnutls" != "xno"
11631 then
11632 if ${GNUTLS_CFLAGS:+false} :; then :
11633 if ${PKG_CONFIG+:} false; then :
11634 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11638 if ${GNUTLS_LIBS:+false} :; then :
11639 if ${PKG_CONFIG+:} false; then :
11640 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11645 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11646 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11647 ac_save_CPPFLAGS=$CPPFLAGS
11648 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11649 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11650 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11652 /* end confdefs.h. */
11653 #include <gnutls/gnutls.h>
11654 #include <gnutls/crypto.h>
11656 main ()
11658 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11660 return 0;
11662 _ACEOF
11663 if ac_fn_c_try_compile "$LINENO"; then :
11664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11665 $as_echo_n "checking for -lgnutls... " >&6; }
11666 if ${ac_cv_lib_soname_gnutls+:} false; then :
11667 $as_echo_n "(cached) " >&6
11668 else
11669 ac_check_soname_save_LIBS=$LIBS
11670 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11672 /* end confdefs.h. */
11674 /* Override any GCC internal prototype to avoid an error.
11675 Use char because int might match the return type of a GCC
11676 builtin and then its argument prototype would still apply. */
11677 #ifdef __cplusplus
11678 extern "C"
11679 #endif
11680 char gnutls_global_init ();
11682 main ()
11684 return gnutls_global_init ();
11686 return 0;
11688 _ACEOF
11689 if ac_fn_c_try_link "$LINENO"; then :
11690 case "$LIBEXT" in
11691 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11692 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'` ;;
11693 *) 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'`
11694 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11695 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'`
11696 fi ;;
11697 esac
11699 rm -f core conftest.err conftest.$ac_objext \
11700 conftest$ac_exeext conftest.$ac_ext
11701 LIBS=$ac_check_soname_save_LIBS
11703 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11705 $as_echo "not found" >&6; }
11706 GNUTLS_CFLAGS=""
11707 else
11708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11709 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11711 cat >>confdefs.h <<_ACEOF
11712 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11713 _ACEOF
11717 ac_wine_check_funcs_save_LIBS="$LIBS"
11718 LIBS="$LIBS $GNUTLS_LIBS"
11719 for ac_func in gnutls_hash
11720 do :
11721 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11722 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11723 cat >>confdefs.h <<_ACEOF
11724 #define HAVE_GNUTLS_HASH 1
11725 _ACEOF
11727 else
11728 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11730 done
11732 LIBS="$ac_wine_check_funcs_save_LIBS"
11734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11735 else
11736 GNUTLS_CFLAGS=""
11740 CPPFLAGS=$ac_save_CPPFLAGS
11741 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11742 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11745 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11746 case "x$with_gnutls" in
11747 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11748 xno) ;;
11749 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11750 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11751 esac
11755 CURSES_LIBS=""
11756 if test "$ac_cv_header_ncurses_h" = "yes"
11757 then
11758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11759 $as_echo_n "checking for -lncurses... " >&6; }
11760 if ${ac_cv_lib_soname_ncurses+:} false; then :
11761 $as_echo_n "(cached) " >&6
11762 else
11763 ac_check_soname_save_LIBS=$LIBS
11764 LIBS="-lncurses $LIBS"
11765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11766 /* end confdefs.h. */
11768 /* Override any GCC internal prototype to avoid an error.
11769 Use char because int might match the return type of a GCC
11770 builtin and then its argument prototype would still apply. */
11771 #ifdef __cplusplus
11772 extern "C"
11773 #endif
11774 char waddch ();
11776 main ()
11778 return waddch ();
11780 return 0;
11782 _ACEOF
11783 if ac_fn_c_try_link "$LINENO"; then :
11784 case "$LIBEXT" in
11785 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11786 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'` ;;
11787 *) 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'`
11788 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11789 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11790 fi ;;
11791 esac
11793 rm -f core conftest.err conftest.$ac_objext \
11794 conftest$ac_exeext conftest.$ac_ext
11795 LIBS=$ac_check_soname_save_LIBS
11797 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11799 $as_echo "not found" >&6; }
11801 else
11802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11803 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11805 cat >>confdefs.h <<_ACEOF
11806 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11807 _ACEOF
11809 CURSES_LIBS="-lncurses"
11811 elif test "$ac_cv_header_curses_h" = "yes"
11812 then
11813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11814 $as_echo_n "checking for -lcurses... " >&6; }
11815 if ${ac_cv_lib_soname_curses+:} false; then :
11816 $as_echo_n "(cached) " >&6
11817 else
11818 ac_check_soname_save_LIBS=$LIBS
11819 LIBS="-lcurses $LIBS"
11820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11821 /* end confdefs.h. */
11823 /* Override any GCC internal prototype to avoid an error.
11824 Use char because int might match the return type of a GCC
11825 builtin and then its argument prototype would still apply. */
11826 #ifdef __cplusplus
11827 extern "C"
11828 #endif
11829 char waddch ();
11831 main ()
11833 return waddch ();
11835 return 0;
11837 _ACEOF
11838 if ac_fn_c_try_link "$LINENO"; then :
11839 case "$LIBEXT" in
11840 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11841 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'` ;;
11842 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11843 if ${ac_cv_lib_soname_curses:+false} :; then :
11844 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11845 fi ;;
11846 esac
11848 rm -f core conftest.err conftest.$ac_objext \
11849 conftest$ac_exeext conftest.$ac_ext
11850 LIBS=$ac_check_soname_save_LIBS
11852 if ${ac_cv_lib_soname_curses:+false} :; then :
11853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11854 $as_echo "not found" >&6; }
11856 else
11857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11858 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11860 cat >>confdefs.h <<_ACEOF
11861 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11862 _ACEOF
11864 CURSES_LIBS="-lcurses"
11867 ac_save_LIBS="$LIBS"
11868 LIBS="$LIBS $CURSES_LIBS"
11869 for ac_func in mousemask
11870 do :
11871 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11872 if test "x$ac_cv_func_mousemask" = xyes; then :
11873 cat >>confdefs.h <<_ACEOF
11874 #define HAVE_MOUSEMASK 1
11875 _ACEOF
11878 done
11880 LIBS="$ac_save_LIBS"
11881 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11882 case "x$with_curses" in
11883 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11884 xno) ;;
11885 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11886 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11887 esac
11891 if test "x$with_sane" != "xno"
11892 then
11893 if ${SANE_CFLAGS:+false} :; then :
11894 if ${PKG_CONFIG+:} false; then :
11895 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11898 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11899 if ${SANE_LIBS:+false} :; then :
11900 if ${PKG_CONFIG+:} false; then :
11901 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11904 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11906 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11907 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11908 ac_save_CPPFLAGS=$CPPFLAGS
11909 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11910 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11911 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11913 $as_echo_n "checking for -lsane... " >&6; }
11914 if ${ac_cv_lib_soname_sane+:} false; then :
11915 $as_echo_n "(cached) " >&6
11916 else
11917 ac_check_soname_save_LIBS=$LIBS
11918 LIBS="-lsane $SANE_LIBS $LIBS"
11919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11920 /* end confdefs.h. */
11922 /* Override any GCC internal prototype to avoid an error.
11923 Use char because int might match the return type of a GCC
11924 builtin and then its argument prototype would still apply. */
11925 #ifdef __cplusplus
11926 extern "C"
11927 #endif
11928 char sane_init ();
11930 main ()
11932 return sane_init ();
11934 return 0;
11936 _ACEOF
11937 if ac_fn_c_try_link "$LINENO"; then :
11938 case "$LIBEXT" in
11939 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11940 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'` ;;
11941 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11942 if ${ac_cv_lib_soname_sane:+false} :; then :
11943 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11944 fi ;;
11945 esac
11947 rm -f core conftest.err conftest.$ac_objext \
11948 conftest$ac_exeext conftest.$ac_ext
11949 LIBS=$ac_check_soname_save_LIBS
11951 if ${ac_cv_lib_soname_sane:+false} :; then :
11952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11953 $as_echo "not found" >&6; }
11954 SANE_CFLAGS=""
11955 else
11956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11957 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11959 cat >>confdefs.h <<_ACEOF
11960 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11961 _ACEOF
11965 else
11966 SANE_CFLAGS=""
11970 CPPFLAGS=$ac_save_CPPFLAGS
11971 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11972 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11975 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11976 case "x$with_sane" in
11977 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11978 xno) ;;
11979 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11980 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11981 esac
11985 if test "x$with_v4l" != "xno"
11986 then
11987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11988 $as_echo_n "checking for -lv4l1... " >&6; }
11989 if ${ac_cv_lib_soname_v4l1+:} false; then :
11990 $as_echo_n "(cached) " >&6
11991 else
11992 ac_check_soname_save_LIBS=$LIBS
11993 LIBS="-lv4l1 $LIBS"
11994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11995 /* end confdefs.h. */
11997 /* Override any GCC internal prototype to avoid an error.
11998 Use char because int might match the return type of a GCC
11999 builtin and then its argument prototype would still apply. */
12000 #ifdef __cplusplus
12001 extern "C"
12002 #endif
12003 char v4l1_open ();
12005 main ()
12007 return v4l1_open ();
12009 return 0;
12011 _ACEOF
12012 if ac_fn_c_try_link "$LINENO"; then :
12013 case "$LIBEXT" in
12014 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12015 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'` ;;
12016 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12017 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12018 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12019 fi ;;
12020 esac
12022 rm -f core conftest.err conftest.$ac_objext \
12023 conftest$ac_exeext conftest.$ac_ext
12024 LIBS=$ac_check_soname_save_LIBS
12026 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12028 $as_echo "not found" >&6; }
12030 else
12031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12032 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12034 cat >>confdefs.h <<_ACEOF
12035 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12036 _ACEOF
12041 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12042 case "x$with_v4l" in
12043 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12044 xno) ;;
12045 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12046 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12047 esac
12051 if test "x$with_gphoto" != "xno"
12052 then
12053 if ${GPHOTO2_CFLAGS:+false} :; then :
12054 if ${PKG_CONFIG+:} false; then :
12055 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12058 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12059 if ${GPHOTO2_LIBS:+false} :; then :
12060 if ${PKG_CONFIG+:} false; then :
12061 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12064 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12065 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12066 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12067 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12068 ac_save_CPPFLAGS=$CPPFLAGS
12069 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12070 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12071 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12073 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12074 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12075 $as_echo_n "(cached) " >&6
12076 else
12077 ac_check_lib_save_LIBS=$LIBS
12078 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12080 /* end confdefs.h. */
12082 /* Override any GCC internal prototype to avoid an error.
12083 Use char because int might match the return type of a GCC
12084 builtin and then its argument prototype would still apply. */
12085 #ifdef __cplusplus
12086 extern "C"
12087 #endif
12088 char gp_camera_new ();
12090 main ()
12092 return gp_camera_new ();
12094 return 0;
12096 _ACEOF
12097 if ac_fn_c_try_link "$LINENO"; then :
12098 ac_cv_lib_gphoto2_gp_camera_new=yes
12099 else
12100 ac_cv_lib_gphoto2_gp_camera_new=no
12102 rm -f core conftest.err conftest.$ac_objext \
12103 conftest$ac_exeext conftest.$ac_ext
12104 LIBS=$ac_check_lib_save_LIBS
12106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12107 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12108 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12110 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12112 else
12113 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12116 else
12117 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12121 CPPFLAGS=$ac_save_CPPFLAGS
12122 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12123 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12125 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12126 if ${PKG_CONFIG+:} false; then :
12127 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12130 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12131 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12132 if ${PKG_CONFIG+:} false; then :
12133 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12136 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12137 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12138 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12139 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12140 ac_save_CPPFLAGS=$CPPFLAGS
12141 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12142 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12143 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12145 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12146 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12147 $as_echo_n "(cached) " >&6
12148 else
12149 ac_check_lib_save_LIBS=$LIBS
12150 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12152 /* end confdefs.h. */
12154 /* Override any GCC internal prototype to avoid an error.
12155 Use char because int might match the return type of a GCC
12156 builtin and then its argument prototype would still apply. */
12157 #ifdef __cplusplus
12158 extern "C"
12159 #endif
12160 char gp_port_info_list_new ();
12162 main ()
12164 return gp_port_info_list_new ();
12166 return 0;
12168 _ACEOF
12169 if ac_fn_c_try_link "$LINENO"; then :
12170 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12171 else
12172 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12174 rm -f core conftest.err conftest.$ac_objext \
12175 conftest$ac_exeext conftest.$ac_ext
12176 LIBS=$ac_check_lib_save_LIBS
12178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12179 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12180 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12182 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12184 else
12185 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12188 else
12189 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12193 CPPFLAGS=$ac_save_CPPFLAGS
12194 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12195 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12198 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12199 case "x$with_gphoto" in
12200 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12201 xno) ;;
12202 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12203 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12204 esac
12207 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12208 case "x$with_gphoto" in
12209 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12210 xno) ;;
12211 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12212 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12213 esac
12218 if test "$ac_cv_header_resolv_h" = "yes"
12219 then
12220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12221 $as_echo_n "checking for resolver library... " >&6; }
12222 if ${ac_cv_have_resolv+:} false; then :
12223 $as_echo_n "(cached) " >&6
12224 else
12225 ac_save_LIBS="$LIBS"
12226 for lib in '' -lresolv
12228 LIBS="$lib $ac_save_LIBS"
12229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12230 /* end confdefs.h. */
12231 #ifdef HAVE_NETINET_IN_H
12232 #include <netinet/in.h>
12233 #endif
12234 #include <resolv.h>
12236 main ()
12238 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12240 return 0;
12242 _ACEOF
12243 if ac_fn_c_try_link "$LINENO"; then :
12244 ac_cv_have_resolv=${lib:-"none required"}
12245 else
12246 ac_cv_have_resolv="not found"
12248 rm -f core conftest.err conftest.$ac_objext \
12249 conftest$ac_exeext conftest.$ac_ext
12250 test "x$ac_cv_have_resolv" = "xnot found" || break
12251 done
12252 LIBS="$ac_save_LIBS"
12254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12255 $as_echo "$ac_cv_have_resolv" >&6; }
12257 case "$ac_cv_have_resolv" in
12258 "not found") ;;
12259 "none required")
12261 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12264 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12266 RESOLV_LIBS=$ac_cv_have_resolv
12268 esac
12271 if test "x$with_cms" != "xno"
12272 then
12273 if ${LCMS2_CFLAGS:+false} :; then :
12274 if ${PKG_CONFIG+:} false; then :
12275 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12279 if ${LCMS2_LIBS:+false} :; then :
12280 if ${PKG_CONFIG+:} false; then :
12281 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12285 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12286 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12287 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12288 ac_save_CPPFLAGS=$CPPFLAGS
12289 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12290 for ac_header in lcms2.h
12291 do :
12292 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12293 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12294 cat >>confdefs.h <<_ACEOF
12295 #define HAVE_LCMS2_H 1
12296 _ACEOF
12300 done
12302 if test "$ac_cv_header_lcms2_h" = "yes"
12303 then
12304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12305 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12306 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12307 $as_echo_n "(cached) " >&6
12308 else
12309 ac_check_lib_save_LIBS=$LIBS
12310 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12312 /* end confdefs.h. */
12314 /* Override any GCC internal prototype to avoid an error.
12315 Use char because int might match the return type of a GCC
12316 builtin and then its argument prototype would still apply. */
12317 #ifdef __cplusplus
12318 extern "C"
12319 #endif
12320 char cmsOpenProfileFromFile ();
12322 main ()
12324 return cmsOpenProfileFromFile ();
12326 return 0;
12328 _ACEOF
12329 if ac_fn_c_try_link "$LINENO"; then :
12330 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12331 else
12332 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12334 rm -f core conftest.err conftest.$ac_objext \
12335 conftest$ac_exeext conftest.$ac_ext
12336 LIBS=$ac_check_lib_save_LIBS
12338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12339 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12340 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12342 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12344 else
12345 LCMS2_LIBS=""
12348 else
12349 LCMS2_CFLAGS=""
12350 LCMS2_LIBS=""
12352 CPPFLAGS=$ac_save_CPPFLAGS
12353 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12354 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12357 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12358 case "x$with_cms" in
12359 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12360 xno) ;;
12361 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12362 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12363 esac
12367 if test "x$with_freetype" != "xno"
12368 then
12369 if ${FREETYPE_CFLAGS:+false} :; then :
12370 if ${PKG_CONFIG+:} false; then :
12371 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12374 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12375 if ${FREETYPE_LIBS:+false} :; then :
12376 if ${PKG_CONFIG+:} false; then :
12377 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12380 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12381 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12382 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12383 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12384 ac_save_CPPFLAGS=$CPPFLAGS
12385 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12386 for ac_header in ft2build.h
12387 do :
12388 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12389 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12390 cat >>confdefs.h <<_ACEOF
12391 #define HAVE_FT2BUILD_H 1
12392 _ACEOF
12396 done
12398 if test "$ac_cv_header_ft2build_h" = "yes"
12399 then
12400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12401 $as_echo_n "checking for -lfreetype... " >&6; }
12402 if ${ac_cv_lib_soname_freetype+:} false; then :
12403 $as_echo_n "(cached) " >&6
12404 else
12405 ac_check_soname_save_LIBS=$LIBS
12406 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12408 /* end confdefs.h. */
12410 /* Override any GCC internal prototype to avoid an error.
12411 Use char because int might match the return type of a GCC
12412 builtin and then its argument prototype would still apply. */
12413 #ifdef __cplusplus
12414 extern "C"
12415 #endif
12416 char FT_Init_FreeType ();
12418 main ()
12420 return FT_Init_FreeType ();
12422 return 0;
12424 _ACEOF
12425 if ac_fn_c_try_link "$LINENO"; then :
12426 case "$LIBEXT" in
12427 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12428 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'` ;;
12429 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12430 if ${ac_cv_lib_soname_freetype:+false} :; then :
12431 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12432 fi ;;
12433 esac
12435 rm -f core conftest.err conftest.$ac_objext \
12436 conftest$ac_exeext conftest.$ac_ext
12437 LIBS=$ac_check_soname_save_LIBS
12439 if ${ac_cv_lib_soname_freetype:+false} :; then :
12440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12441 $as_echo "not found" >&6; }
12442 FREETYPE_LIBS=""
12443 else
12444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12445 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12447 cat >>confdefs.h <<_ACEOF
12448 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12449 _ACEOF
12452 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12454 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12455 #include FT_MODULE_H
12457 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12459 cat >>confdefs.h <<_ACEOF
12460 #define HAVE_FT_TRUETYPEENGINETYPE 1
12461 _ACEOF
12467 else
12468 FREETYPE_CFLAGS=""
12469 FREETYPE_LIBS=""
12471 CPPFLAGS=$ac_save_CPPFLAGS
12472 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12473 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12476 if test "x$ac_cv_lib_soname_freetype" = x; then :
12477 case "x$with_freetype" in
12478 xno) ;;
12479 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12480 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12481 esac
12482 enable_fonts=${enable_fonts:-no}
12485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12486 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12487 if ${ac_cv_c_ppdev+:} false; then :
12488 $as_echo_n "(cached) " >&6
12489 else
12490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12491 /* end confdefs.h. */
12492 #ifdef HAVE_SYS_IOCTL_H
12493 # include <sys/ioctl.h>
12494 #endif
12495 #include <linux/ppdev.h>
12497 main ()
12499 ioctl (1,PPCLAIM,0)
12501 return 0;
12503 _ACEOF
12504 if ac_fn_c_try_compile "$LINENO"; then :
12505 ac_cv_c_ppdev="yes"
12506 else
12507 ac_cv_c_ppdev="no"
12509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12512 $as_echo "$ac_cv_c_ppdev" >&6; }
12513 if test "$ac_cv_c_ppdev" = "yes"
12514 then
12516 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12520 ac_wine_check_funcs_save_LIBS="$LIBS"
12521 LIBS="$LIBS $PTHREAD_LIBS"
12522 for ac_func in \
12523 pthread_attr_get_np \
12524 pthread_getattr_np \
12525 pthread_getthreadid_np \
12526 pthread_get_stackaddr_np \
12527 pthread_get_stacksize_np
12528 do :
12529 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12530 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12531 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12532 cat >>confdefs.h <<_ACEOF
12533 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12534 _ACEOF
12537 done
12539 LIBS="$ac_wine_check_funcs_save_LIBS"
12541 if test "$ac_cv_header_zlib_h" = "yes"
12542 then
12543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12544 $as_echo_n "checking for inflate in -lz... " >&6; }
12545 if ${ac_cv_lib_z_inflate+:} false; then :
12546 $as_echo_n "(cached) " >&6
12547 else
12548 ac_check_lib_save_LIBS=$LIBS
12549 LIBS="-lz $LIBS"
12550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12551 /* end confdefs.h. */
12553 /* Override any GCC internal prototype to avoid an error.
12554 Use char because int might match the return type of a GCC
12555 builtin and then its argument prototype would still apply. */
12556 #ifdef __cplusplus
12557 extern "C"
12558 #endif
12559 char inflate ();
12561 main ()
12563 return inflate ();
12565 return 0;
12567 _ACEOF
12568 if ac_fn_c_try_link "$LINENO"; then :
12569 ac_cv_lib_z_inflate=yes
12570 else
12571 ac_cv_lib_z_inflate=no
12573 rm -f core conftest.err conftest.$ac_objext \
12574 conftest$ac_exeext conftest.$ac_ext
12575 LIBS=$ac_check_lib_save_LIBS
12577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12578 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12579 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12581 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12583 Z_LIBS="-lz"
12588 if test "x$Z_LIBS" = "x"; then :
12589 case "x$with_zlib" in
12590 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12591 xno) ;;
12592 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12593 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12594 esac
12598 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12599 then
12600 if test "$ac_cv_header_gettext_po_h" = "yes"
12601 then
12602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12603 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12604 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12605 $as_echo_n "(cached) " >&6
12606 else
12607 ac_check_lib_save_LIBS=$LIBS
12608 LIBS="-lgettextpo $LIBS"
12609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12610 /* end confdefs.h. */
12612 /* Override any GCC internal prototype to avoid an error.
12613 Use char because int might match the return type of a GCC
12614 builtin and then its argument prototype would still apply. */
12615 #ifdef __cplusplus
12616 extern "C"
12617 #endif
12618 char po_message_msgctxt ();
12620 main ()
12622 return po_message_msgctxt ();
12624 return 0;
12626 _ACEOF
12627 if ac_fn_c_try_link "$LINENO"; then :
12628 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12629 else
12630 ac_cv_lib_gettextpo_po_message_msgctxt=no
12632 rm -f core conftest.err conftest.$ac_objext \
12633 conftest$ac_exeext conftest.$ac_ext
12634 LIBS=$ac_check_lib_save_LIBS
12636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12637 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12638 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12640 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12642 GETTEXTPO_LIBS="-lgettextpo"
12647 if test "x$GETTEXTPO_LIBS" = "x"; then :
12648 case "x$with_gettextpo" in
12649 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12650 xno) ;;
12651 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12652 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12653 esac
12656 if test "$srcdir" != .; then :
12657 case "x$with_gettextpo" in
12658 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12659 xno) ;;
12660 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12661 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12662 esac
12667 if test "x$with_pulse" != "xno";
12668 then
12669 if ${PULSE_CFLAGS:+false} :; then :
12670 if ${PKG_CONFIG+:} false; then :
12671 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12675 if ${PULSE_LIBS:+false} :; then :
12676 if ${PKG_CONFIG+:} false; then :
12677 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12682 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12683 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12684 ac_save_CPPFLAGS=$CPPFLAGS
12685 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12686 for ac_header in pulse/pulseaudio.h
12687 do :
12688 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12689 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12690 cat >>confdefs.h <<_ACEOF
12691 #define HAVE_PULSE_PULSEAUDIO_H 1
12692 _ACEOF
12693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12694 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12695 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12696 $as_echo_n "(cached) " >&6
12697 else
12698 ac_check_lib_save_LIBS=$LIBS
12699 LIBS="-lpulse $PULSE_LIBS $LIBS"
12700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12701 /* end confdefs.h. */
12703 /* Override any GCC internal prototype to avoid an error.
12704 Use char because int might match the return type of a GCC
12705 builtin and then its argument prototype would still apply. */
12706 #ifdef __cplusplus
12707 extern "C"
12708 #endif
12709 char pa_stream_is_corked ();
12711 main ()
12713 return pa_stream_is_corked ();
12715 return 0;
12717 _ACEOF
12718 if ac_fn_c_try_link "$LINENO"; then :
12719 ac_cv_lib_pulse_pa_stream_is_corked=yes
12720 else
12721 ac_cv_lib_pulse_pa_stream_is_corked=no
12723 rm -f core conftest.err conftest.$ac_objext \
12724 conftest$ac_exeext conftest.$ac_ext
12725 LIBS=$ac_check_lib_save_LIBS
12727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12728 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12729 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12731 else
12732 PULSE_LIBS=""
12735 else
12736 PULSE_LIBS=""
12739 done
12741 CPPFLAGS=$ac_save_CPPFLAGS
12742 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12743 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12746 if test -z "$PULSE_LIBS"; then :
12747 case "x$with_pulse" in
12748 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12749 xno) ;;
12750 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12751 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12752 esac
12753 enable_winepulse_drv=${enable_winepulse_drv:-no}
12756 if test "x$with_gstreamer" != "xno"
12757 then
12758 if ${GSTREAMER_CFLAGS:+false} :; then :
12759 if ${PKG_CONFIG+:} false; then :
12760 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12764 if ${GSTREAMER_LIBS:+false} :; then :
12765 if ${PKG_CONFIG+:} false; then :
12766 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12771 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12772 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12773 ac_save_CPPFLAGS=$CPPFLAGS
12774 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12775 ac_gst_incl=""
12776 for i in $GSTREAMER_CFLAGS
12778 case "$i" in
12779 -I*) ac_gst_incl="$ac_gst_incl $i";;
12780 esac
12781 done
12782 GSTREAMER_CFLAGS=$ac_gst_incl
12783 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12784 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12785 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12787 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12789 /* end confdefs.h. */
12790 #include <gst/gst.h>
12792 main ()
12794 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12796 return 0;
12798 _ACEOF
12799 if ac_fn_c_try_compile "$LINENO"; then :
12800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12801 $as_echo "yes" >&6; }
12802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12803 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12804 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12805 $as_echo_n "(cached) " >&6
12806 else
12807 ac_check_lib_save_LIBS=$LIBS
12808 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12810 /* end confdefs.h. */
12812 /* Override any GCC internal prototype to avoid an error.
12813 Use char because int might match the return type of a GCC
12814 builtin and then its argument prototype would still apply. */
12815 #ifdef __cplusplus
12816 extern "C"
12817 #endif
12818 char gst_pad_new ();
12820 main ()
12822 return gst_pad_new ();
12824 return 0;
12826 _ACEOF
12827 if ac_fn_c_try_link "$LINENO"; then :
12828 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12829 else
12830 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12832 rm -f core conftest.err conftest.$ac_objext \
12833 conftest$ac_exeext conftest.$ac_ext
12834 LIBS=$ac_check_lib_save_LIBS
12836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12837 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12838 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12842 else
12843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12844 $as_echo "no" >&6; }
12845 ac_glib2_broken=yes
12846 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12852 CPPFLAGS=$ac_save_CPPFLAGS
12853 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12854 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12857 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes ; then :
12858 case "x$with_gstreamer" in
12859 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12860 xno) ;;
12861 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12862 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12863 esac
12866 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12868 ALSA_LIBS=""
12870 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12871 then
12872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12873 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12874 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12875 $as_echo_n "(cached) " >&6
12876 else
12877 ac_check_lib_save_LIBS=$LIBS
12878 LIBS="-lasound $LIBS"
12879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12880 /* end confdefs.h. */
12882 /* Override any GCC internal prototype to avoid an error.
12883 Use char because int might match the return type of a GCC
12884 builtin and then its argument prototype would still apply. */
12885 #ifdef __cplusplus
12886 extern "C"
12887 #endif
12888 char snd_pcm_hw_params_get_access_mask ();
12890 main ()
12892 return snd_pcm_hw_params_get_access_mask ();
12894 return 0;
12896 _ACEOF
12897 if ac_fn_c_try_link "$LINENO"; then :
12898 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12899 else
12900 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12902 rm -f core conftest.err conftest.$ac_objext \
12903 conftest$ac_exeext conftest.$ac_ext
12904 LIBS=$ac_check_lib_save_LIBS
12906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12907 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12908 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12910 /* end confdefs.h. */
12911 #ifdef HAVE_ALSA_ASOUNDLIB_H
12912 #include <alsa/asoundlib.h>
12913 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12914 #include <sys/asoundlib.h>
12915 #endif
12917 main ()
12919 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12921 return 0;
12923 _ACEOF
12924 if ac_fn_c_try_compile "$LINENO"; then :
12925 ALSA_LIBS="-lasound"
12927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12931 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12933 if test "x$with_oss" != xno
12934 then
12935 ac_save_CPPFLAGS="$CPPFLAGS"
12936 if test -f /etc/oss.conf
12937 then
12938 . /etc/oss.conf
12940 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12941 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12942 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12943 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12944 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12946 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12948 cat >>confdefs.h <<_ACEOF
12949 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12950 _ACEOF
12952 OSS4_CFLAGS="$ac_oss_incl"
12959 CPPFLAGS="$ac_save_CPPFLAGS"
12961 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
12962 case "x$with_oss" in
12963 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
12964 xno) ;;
12965 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
12966 This is an error since --with-oss was requested." "$LINENO" 5 ;;
12967 esac
12968 enable_wineoss_drv=${enable_wineoss_drv:-no}
12971 if test "x$with_udev" != "xno"
12972 then
12973 if ${UDEV_CFLAGS:+false} :; then :
12974 if ${PKG_CONFIG+:} false; then :
12975 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
12979 if ${UDEV_LIBS:+false} :; then :
12980 if ${PKG_CONFIG+:} false; then :
12981 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
12986 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
12987 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
12988 ac_save_CPPFLAGS=$CPPFLAGS
12989 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
12990 for ac_header in libudev.h
12991 do :
12992 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
12993 if test "x$ac_cv_header_libudev_h" = xyes; then :
12994 cat >>confdefs.h <<_ACEOF
12995 #define HAVE_LIBUDEV_H 1
12996 _ACEOF
12997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
12998 $as_echo_n "checking for udev_new in -ludev... " >&6; }
12999 if ${ac_cv_lib_udev_udev_new+:} false; then :
13000 $as_echo_n "(cached) " >&6
13001 else
13002 ac_check_lib_save_LIBS=$LIBS
13003 LIBS="-ludev $UDEV_LIBS $LIBS"
13004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13005 /* end confdefs.h. */
13007 /* Override any GCC internal prototype to avoid an error.
13008 Use char because int might match the return type of a GCC
13009 builtin and then its argument prototype would still apply. */
13010 #ifdef __cplusplus
13011 extern "C"
13012 #endif
13013 char udev_new ();
13015 main ()
13017 return udev_new ();
13019 return 0;
13021 _ACEOF
13022 if ac_fn_c_try_link "$LINENO"; then :
13023 ac_cv_lib_udev_udev_new=yes
13024 else
13025 ac_cv_lib_udev_udev_new=no
13027 rm -f core conftest.err conftest.$ac_objext \
13028 conftest$ac_exeext conftest.$ac_ext
13029 LIBS=$ac_check_lib_save_LIBS
13031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13032 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13033 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13035 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13037 else
13038 UDEV_LIBS=""
13041 else
13042 UDEV_LIBS=""
13045 done
13047 CPPFLAGS=$ac_save_CPPFLAGS
13048 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13049 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13052 if test "x$UDEV_LIBS" = "x"; then :
13053 case "x$with_udev" in
13054 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13055 xno) ;;
13056 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13057 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13058 esac
13062 if test "x$with_capi" != "xno"
13063 then
13064 if ${CAPI20_CFLAGS:+false} :; then :
13065 if ${PKG_CONFIG+:} false; then :
13066 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13070 if ${CAPI20_LIBS:+false} :; then :
13071 if ${PKG_CONFIG+:} false; then :
13072 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13077 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13078 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13079 ac_save_CPPFLAGS=$CPPFLAGS
13080 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13081 for ac_header in capi20.h linux/capi.h
13082 do :
13083 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13084 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13086 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13087 cat >>confdefs.h <<_ACEOF
13088 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13089 _ACEOF
13093 done
13095 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13096 then
13097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13098 $as_echo_n "checking for -lcapi20... " >&6; }
13099 if ${ac_cv_lib_soname_capi20+:} false; then :
13100 $as_echo_n "(cached) " >&6
13101 else
13102 ac_check_soname_save_LIBS=$LIBS
13103 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13105 /* end confdefs.h. */
13107 /* Override any GCC internal prototype to avoid an error.
13108 Use char because int might match the return type of a GCC
13109 builtin and then its argument prototype would still apply. */
13110 #ifdef __cplusplus
13111 extern "C"
13112 #endif
13113 char capi20_register ();
13115 main ()
13117 return capi20_register ();
13119 return 0;
13121 _ACEOF
13122 if ac_fn_c_try_link "$LINENO"; then :
13123 case "$LIBEXT" in
13124 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13125 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'` ;;
13126 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13127 if ${ac_cv_lib_soname_capi20:+false} :; then :
13128 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13129 fi ;;
13130 esac
13132 rm -f core conftest.err conftest.$ac_objext \
13133 conftest$ac_exeext conftest.$ac_ext
13134 LIBS=$ac_check_soname_save_LIBS
13136 if ${ac_cv_lib_soname_capi20:+false} :; then :
13137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13138 $as_echo "not found" >&6; }
13140 else
13141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13142 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13144 cat >>confdefs.h <<_ACEOF
13145 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13146 _ACEOF
13151 CPPFLAGS=$ac_save_CPPFLAGS
13152 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13153 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13156 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13157 case "x$with_capi" in
13158 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13159 xno) ;;
13160 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13161 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13162 esac
13166 CUPS_CFLAGS=""
13168 if test "x$with_cups" != "xno"
13169 then
13170 ac_save_CPPFLAGS="$CPPFLAGS"
13171 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13172 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13173 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
13174 for ac_header in cups/cups.h
13175 do :
13176 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13177 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
13178 cat >>confdefs.h <<_ACEOF
13179 #define HAVE_CUPS_CUPS_H 1
13180 _ACEOF
13181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13182 $as_echo_n "checking for -lcups... " >&6; }
13183 if ${ac_cv_lib_soname_cups+:} false; then :
13184 $as_echo_n "(cached) " >&6
13185 else
13186 ac_check_soname_save_LIBS=$LIBS
13187 LIBS="-lcups $ac_cups_libs $LIBS"
13188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13189 /* end confdefs.h. */
13191 /* Override any GCC internal prototype to avoid an error.
13192 Use char because int might match the return type of a GCC
13193 builtin and then its argument prototype would still apply. */
13194 #ifdef __cplusplus
13195 extern "C"
13196 #endif
13197 char cupsGetDefault ();
13199 main ()
13201 return cupsGetDefault ();
13203 return 0;
13205 _ACEOF
13206 if ac_fn_c_try_link "$LINENO"; then :
13207 case "$LIBEXT" in
13208 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13209 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'` ;;
13210 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13211 if ${ac_cv_lib_soname_cups:+false} :; then :
13212 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13213 fi ;;
13214 esac
13216 rm -f core conftest.err conftest.$ac_objext \
13217 conftest$ac_exeext conftest.$ac_ext
13218 LIBS=$ac_check_soname_save_LIBS
13220 if ${ac_cv_lib_soname_cups:+false} :; then :
13221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13222 $as_echo "not found" >&6; }
13224 else
13225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13226 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13228 cat >>confdefs.h <<_ACEOF
13229 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13230 _ACEOF
13232 CUPS_CFLAGS="$ac_cups_cflags"
13234 for ac_header in cups/ppd.h
13235 do :
13236 ac_fn_c_check_header_mongrel "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13237 if test "x$ac_cv_header_cups_ppd_h" = xyes; then :
13238 cat >>confdefs.h <<_ACEOF
13239 #define HAVE_CUPS_PPD_H 1
13240 _ACEOF
13244 done
13248 done
13250 CPPFLAGS="$ac_save_CPPFLAGS"
13252 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13253 case "x$with_cups" in
13254 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13255 xno) ;;
13256 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13257 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13258 esac
13262 if test "x$with_fontconfig" != "xno"
13263 then
13264 if ${FONTCONFIG_CFLAGS:+false} :; then :
13265 if ${PKG_CONFIG+:} false; then :
13266 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13269 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13270 if ${FONTCONFIG_LIBS:+false} :; then :
13271 if ${PKG_CONFIG+:} false; then :
13272 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13275 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13277 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13278 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13279 ac_save_CPPFLAGS=$CPPFLAGS
13280 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13281 for ac_header in fontconfig/fontconfig.h
13282 do :
13283 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13284 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13285 cat >>confdefs.h <<_ACEOF
13286 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13287 _ACEOF
13291 done
13293 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13294 then
13295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13296 $as_echo_n "checking for -lfontconfig... " >&6; }
13297 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13298 $as_echo_n "(cached) " >&6
13299 else
13300 ac_check_soname_save_LIBS=$LIBS
13301 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13303 /* end confdefs.h. */
13305 /* Override any GCC internal prototype to avoid an error.
13306 Use char because int might match the return type of a GCC
13307 builtin and then its argument prototype would still apply. */
13308 #ifdef __cplusplus
13309 extern "C"
13310 #endif
13311 char FcInit ();
13313 main ()
13315 return FcInit ();
13317 return 0;
13319 _ACEOF
13320 if ac_fn_c_try_link "$LINENO"; then :
13321 case "$LIBEXT" in
13322 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13323 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'` ;;
13324 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13325 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13326 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13327 fi ;;
13328 esac
13330 rm -f core conftest.err conftest.$ac_objext \
13331 conftest$ac_exeext conftest.$ac_ext
13332 LIBS=$ac_check_soname_save_LIBS
13334 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13336 $as_echo "not found" >&6; }
13337 FONTCONFIG_CFLAGS=""
13338 else
13339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13340 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13342 cat >>confdefs.h <<_ACEOF
13343 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13344 _ACEOF
13348 else
13349 FONTCONFIG_CFLAGS=""
13351 CPPFLAGS=$ac_save_CPPFLAGS
13352 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13353 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13356 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13357 case "x$with_fontconfig" in
13358 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13359 xno) ;;
13360 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13361 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13362 esac
13366 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13367 then
13368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13369 $as_echo_n "checking for -lgsm... " >&6; }
13370 if ${ac_cv_lib_soname_gsm+:} false; then :
13371 $as_echo_n "(cached) " >&6
13372 else
13373 ac_check_soname_save_LIBS=$LIBS
13374 LIBS="-lgsm $LIBS"
13375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13376 /* end confdefs.h. */
13378 /* Override any GCC internal prototype to avoid an error.
13379 Use char because int might match the return type of a GCC
13380 builtin and then its argument prototype would still apply. */
13381 #ifdef __cplusplus
13382 extern "C"
13383 #endif
13384 char gsm_create ();
13386 main ()
13388 return gsm_create ();
13390 return 0;
13392 _ACEOF
13393 if ac_fn_c_try_link "$LINENO"; then :
13394 case "$LIBEXT" in
13395 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13396 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'` ;;
13397 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13398 if ${ac_cv_lib_soname_gsm:+false} :; then :
13399 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13400 fi ;;
13401 esac
13403 rm -f core conftest.err conftest.$ac_objext \
13404 conftest$ac_exeext conftest.$ac_ext
13405 LIBS=$ac_check_soname_save_LIBS
13407 if ${ac_cv_lib_soname_gsm:+false} :; then :
13408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13409 $as_echo "not found" >&6; }
13411 else
13412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13413 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13415 cat >>confdefs.h <<_ACEOF
13416 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13417 _ACEOF
13422 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13423 case "x$with_gsm" in
13424 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13425 xno) ;;
13426 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13427 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13428 esac
13432 if test "x$with_jpeg" != "xno"
13433 then
13434 if ${JPEG_CFLAGS:+false} :; then :
13435 if ${PKG_CONFIG+:} false; then :
13436 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13440 if ${JPEG_LIBS:+false} :; then :
13441 if ${PKG_CONFIG+:} false; then :
13442 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13447 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13448 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13449 ac_save_CPPFLAGS=$CPPFLAGS
13450 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13451 for ac_header in jpeglib.h
13452 do :
13453 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13454 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13455 cat >>confdefs.h <<_ACEOF
13456 #define HAVE_JPEGLIB_H 1
13457 _ACEOF
13461 done
13463 if test "$ac_cv_header_jpeglib_h" = "yes"
13464 then
13465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13466 $as_echo_n "checking for -ljpeg... " >&6; }
13467 if ${ac_cv_lib_soname_jpeg+:} false; then :
13468 $as_echo_n "(cached) " >&6
13469 else
13470 ac_check_soname_save_LIBS=$LIBS
13471 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13473 /* end confdefs.h. */
13475 /* Override any GCC internal prototype to avoid an error.
13476 Use char because int might match the return type of a GCC
13477 builtin and then its argument prototype would still apply. */
13478 #ifdef __cplusplus
13479 extern "C"
13480 #endif
13481 char jpeg_start_decompress ();
13483 main ()
13485 return jpeg_start_decompress ();
13487 return 0;
13489 _ACEOF
13490 if ac_fn_c_try_link "$LINENO"; then :
13491 case "$LIBEXT" in
13492 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13493 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'` ;;
13494 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13495 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13496 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13497 fi ;;
13498 esac
13500 rm -f core conftest.err conftest.$ac_objext \
13501 conftest$ac_exeext conftest.$ac_ext
13502 LIBS=$ac_check_soname_save_LIBS
13504 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13506 $as_echo "not found" >&6; }
13507 JPEG_CFLAGS=""
13508 else
13509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13510 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13512 cat >>confdefs.h <<_ACEOF
13513 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13514 _ACEOF
13518 else
13519 JPEG_CFLAGS=""
13521 CPPFLAGS=$ac_save_CPPFLAGS
13522 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13523 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13526 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13527 case "x$with_jpeg" in
13528 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13529 xno) ;;
13530 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13531 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13532 esac
13536 if test "x$with_png" != "xno"
13537 then
13538 if ${PNG_CFLAGS:+false} :; then :
13539 if ${PKG_CONFIG+:} false; then :
13540 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13543 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13544 if ${PNG_LIBS:+false} :; then :
13545 if ${PKG_CONFIG+:} false; then :
13546 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13549 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13551 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13552 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13553 ac_save_CPPFLAGS=$CPPFLAGS
13554 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13555 for ac_header in png.h
13556 do :
13557 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13558 if test "x$ac_cv_header_png_h" = xyes; then :
13559 cat >>confdefs.h <<_ACEOF
13560 #define HAVE_PNG_H 1
13561 _ACEOF
13565 done
13567 if test "$ac_cv_header_png_h" = "yes"
13568 then
13569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13570 $as_echo_n "checking for -lpng... " >&6; }
13571 if ${ac_cv_lib_soname_png+:} false; then :
13572 $as_echo_n "(cached) " >&6
13573 else
13574 ac_check_soname_save_LIBS=$LIBS
13575 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13577 /* end confdefs.h. */
13579 /* Override any GCC internal prototype to avoid an error.
13580 Use char because int might match the return type of a GCC
13581 builtin and then its argument prototype would still apply. */
13582 #ifdef __cplusplus
13583 extern "C"
13584 #endif
13585 char png_create_read_struct ();
13587 main ()
13589 return png_create_read_struct ();
13591 return 0;
13593 _ACEOF
13594 if ac_fn_c_try_link "$LINENO"; then :
13595 case "$LIBEXT" in
13596 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13597 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'` ;;
13598 *) 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'`
13599 if ${ac_cv_lib_soname_png:+false} :; then :
13600 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13601 fi ;;
13602 esac
13604 rm -f core conftest.err conftest.$ac_objext \
13605 conftest$ac_exeext conftest.$ac_ext
13606 LIBS=$ac_check_soname_save_LIBS
13608 if ${ac_cv_lib_soname_png:+false} :; then :
13609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13610 $as_echo "not found" >&6; }
13611 PNG_CFLAGS=""
13612 else
13613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13614 $as_echo "$ac_cv_lib_soname_png" >&6; }
13616 cat >>confdefs.h <<_ACEOF
13617 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13618 _ACEOF
13620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13621 /* end confdefs.h. */
13622 #include <png.h>
13624 main ()
13626 typeof(png_set_expand_gray_1_2_4_to_8) *p
13628 return 0;
13630 _ACEOF
13631 if ac_fn_c_try_compile "$LINENO"; then :
13633 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13638 else
13639 PNG_CFLAGS=""
13641 CPPFLAGS=$ac_save_CPPFLAGS
13642 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13643 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13646 if test "x$ac_cv_lib_soname_png" = "x"; then :
13647 case "x$with_png" in
13648 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13649 xno) ;;
13650 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13651 This is an error since --with-png was requested." "$LINENO" 5 ;;
13652 esac
13656 if test "x$with_tiff" != "xno"
13657 then
13658 if ${TIFF_CFLAGS:+false} :; then :
13659 if ${PKG_CONFIG+:} false; then :
13660 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13664 if ${TIFF_LIBS:+false} :; then :
13665 if ${PKG_CONFIG+:} false; then :
13666 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13671 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13672 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13673 ac_save_CPPFLAGS=$CPPFLAGS
13674 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13675 for ac_header in tiffio.h
13676 do :
13677 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13678 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13679 cat >>confdefs.h <<_ACEOF
13680 #define HAVE_TIFFIO_H 1
13681 _ACEOF
13685 done
13687 if test "$ac_cv_header_tiffio_h" = "yes"
13688 then
13689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13690 $as_echo_n "checking for -ltiff... " >&6; }
13691 if ${ac_cv_lib_soname_tiff+:} false; then :
13692 $as_echo_n "(cached) " >&6
13693 else
13694 ac_check_soname_save_LIBS=$LIBS
13695 LIBS="-ltiff $TIFF_LIBS $LIBS"
13696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13697 /* end confdefs.h. */
13699 /* Override any GCC internal prototype to avoid an error.
13700 Use char because int might match the return type of a GCC
13701 builtin and then its argument prototype would still apply. */
13702 #ifdef __cplusplus
13703 extern "C"
13704 #endif
13705 char TIFFClientOpen ();
13707 main ()
13709 return TIFFClientOpen ();
13711 return 0;
13713 _ACEOF
13714 if ac_fn_c_try_link "$LINENO"; then :
13715 case "$LIBEXT" in
13716 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13717 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'` ;;
13718 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13719 if ${ac_cv_lib_soname_tiff:+false} :; then :
13720 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13721 fi ;;
13722 esac
13724 rm -f core conftest.err conftest.$ac_objext \
13725 conftest$ac_exeext conftest.$ac_ext
13726 LIBS=$ac_check_soname_save_LIBS
13728 if ${ac_cv_lib_soname_tiff:+false} :; then :
13729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13730 $as_echo "not found" >&6; }
13732 else
13733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13734 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13736 cat >>confdefs.h <<_ACEOF
13737 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13738 _ACEOF
13743 CPPFLAGS=$ac_save_CPPFLAGS
13744 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13745 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13748 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13749 case "x$with_tiff" in
13750 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13751 xno) ;;
13752 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13753 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13754 esac
13758 if test "x$with_mpg123" != "xno"
13759 then
13760 if ${MPG123_CFLAGS:+false} :; then :
13761 if ${PKG_CONFIG+:} false; then :
13762 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13766 if ${MPG123_LIBS:+false} :; then :
13767 if ${PKG_CONFIG+:} false; then :
13768 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13772 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13773 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13774 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13775 ac_save_CPPFLAGS=$CPPFLAGS
13776 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13777 for ac_header in mpg123.h
13778 do :
13779 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13780 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13781 cat >>confdefs.h <<_ACEOF
13782 #define HAVE_MPG123_H 1
13783 _ACEOF
13787 done
13789 if test "$ac_cv_header_mpg123_h" = "yes"
13790 then
13791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13792 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13793 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13794 $as_echo_n "(cached) " >&6
13795 else
13796 ac_check_lib_save_LIBS=$LIBS
13797 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13799 /* end confdefs.h. */
13801 /* Override any GCC internal prototype to avoid an error.
13802 Use char because int might match the return type of a GCC
13803 builtin and then its argument prototype would still apply. */
13804 #ifdef __cplusplus
13805 extern "C"
13806 #endif
13807 char mpg123_feed ();
13809 main ()
13811 return mpg123_feed ();
13813 return 0;
13815 _ACEOF
13816 if ac_fn_c_try_link "$LINENO"; then :
13817 ac_cv_lib_mpg123_mpg123_feed=yes
13818 else
13819 ac_cv_lib_mpg123_mpg123_feed=no
13821 rm -f core conftest.err conftest.$ac_objext \
13822 conftest$ac_exeext conftest.$ac_ext
13823 LIBS=$ac_check_lib_save_LIBS
13825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13826 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13827 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13829 else
13830 MPG123_LIBS=""
13833 else
13834 MPG123_CFLAGS=""
13835 MPG123_LIBS=""
13837 CPPFLAGS=$ac_save_CPPFLAGS
13838 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13839 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13842 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13843 case "x$with_mpg123" in
13844 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13845 xno) ;;
13846 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13847 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13848 esac
13849 enable_winemp3_acm=${enable_winemp3_acm:-no}
13852 if test "$ac_cv_header_AL_al_h" = "yes"
13853 then
13854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13855 $as_echo_n "checking for -lopenal... " >&6; }
13856 if ${ac_cv_lib_soname_openal+:} false; then :
13857 $as_echo_n "(cached) " >&6
13858 else
13859 ac_check_soname_save_LIBS=$LIBS
13860 LIBS="-lopenal $LIBS"
13861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13862 /* end confdefs.h. */
13864 /* Override any GCC internal prototype to avoid an error.
13865 Use char because int might match the return type of a GCC
13866 builtin and then its argument prototype would still apply. */
13867 #ifdef __cplusplus
13868 extern "C"
13869 #endif
13870 char alGetSource3i ();
13872 main ()
13874 return alGetSource3i ();
13876 return 0;
13878 _ACEOF
13879 if ac_fn_c_try_link "$LINENO"; then :
13880 case "$LIBEXT" in
13881 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13882 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'` ;;
13883 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13884 if ${ac_cv_lib_soname_openal:+false} :; then :
13885 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13886 fi ;;
13887 esac
13889 rm -f core conftest.err conftest.$ac_objext \
13890 conftest$ac_exeext conftest.$ac_ext
13891 LIBS=$ac_check_soname_save_LIBS
13893 if ${ac_cv_lib_soname_openal:+false} :; then :
13894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13895 $as_echo "not found" >&6; }
13897 else
13898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13899 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13901 cat >>confdefs.h <<_ACEOF
13902 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13903 _ACEOF
13905 OPENAL_LIBS="-lopenal"
13907 ac_cv_lib_openal=yes
13909 cat >>confdefs.h <<_ACEOF
13910 #define HAVE_OPENAL 1
13911 _ACEOF
13915 if test "x$ac_cv_lib_openal" != xyes; then :
13916 case "x$with_openal" in
13917 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13918 xno) ;;
13919 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13920 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13921 esac
13922 enable_openal32=${enable_openal32:-no}
13925 if test "x$ac_cv_lib_openal" = xyes
13926 then
13927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13928 $as_echo_n "checking for openal-soft... " >&6; }
13929 if ${ac_cv_have_openalsoft+:} false; then :
13930 $as_echo_n "(cached) " >&6
13931 else
13932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13933 /* end confdefs.h. */
13934 #include <AL/al.h>
13935 #include <AL/alc.h>
13936 #include <AL/alext.h>
13937 LPALCRENDERSAMPLESSOFT x;
13939 main ()
13943 return 0;
13945 _ACEOF
13946 if ac_fn_c_try_compile "$LINENO"; then :
13947 ac_cv_have_openalsoft=yes
13948 else
13949 ac_cv_have_openalsoft=no
13951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13954 $as_echo "$ac_cv_have_openalsoft" >&6; }
13956 if test "x$ac_cv_have_openalsoft" != xyes
13957 then
13958 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13959 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
13960 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
13961 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
13962 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
13963 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
13964 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
13965 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
13966 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
13967 enable_xapofx1_1=${enable_xapofx1_1:-no}
13968 enable_xapofx1_2=${enable_xapofx1_2:-no}
13969 enable_xapofx1_3=${enable_xapofx1_3:-no}
13970 enable_xapofx1_4=${enable_xapofx1_4:-no}
13971 enable_xapofx1_5=${enable_xapofx1_5:-no}
13972 enable_xaudio2_0=${enable_xaudio2_0:-no}
13973 enable_xaudio2_1=${enable_xaudio2_1:-no}
13974 enable_xaudio2_2=${enable_xaudio2_2:-no}
13975 enable_xaudio2_3=${enable_xaudio2_3:-no}
13976 enable_xaudio2_4=${enable_xaudio2_4:-no}
13977 enable_xaudio2_5=${enable_xaudio2_5:-no}
13978 enable_xaudio2_6=${enable_xaudio2_6:-no}
13979 enable_xaudio2_7=${enable_xaudio2_7:-no}
13980 enable_xaudio2_8=${enable_xaudio2_8:-no}
13981 enable_xaudio2_9=${enable_xaudio2_9:-no}
13984 if test "$ac_cv_header_kstat_h" = "yes"
13985 then
13986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13987 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13988 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13989 $as_echo_n "(cached) " >&6
13990 else
13991 ac_check_lib_save_LIBS=$LIBS
13992 LIBS="-lkstat $LIBS"
13993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13994 /* end confdefs.h. */
13996 /* Override any GCC internal prototype to avoid an error.
13997 Use char because int might match the return type of a GCC
13998 builtin and then its argument prototype would still apply. */
13999 #ifdef __cplusplus
14000 extern "C"
14001 #endif
14002 char kstat_open ();
14004 main ()
14006 return kstat_open ();
14008 return 0;
14010 _ACEOF
14011 if ac_fn_c_try_link "$LINENO"; then :
14012 ac_cv_lib_kstat_kstat_open=yes
14013 else
14014 ac_cv_lib_kstat_kstat_open=no
14016 rm -f core conftest.err conftest.$ac_objext \
14017 conftest$ac_exeext conftest.$ac_ext
14018 LIBS=$ac_check_lib_save_LIBS
14020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14021 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14022 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14024 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14026 KSTAT_LIBS="-lkstat"
14032 if test "$ac_cv_header_libprocstat_h" = "yes"
14033 then
14034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14035 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14036 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14037 $as_echo_n "(cached) " >&6
14038 else
14039 ac_check_lib_save_LIBS=$LIBS
14040 LIBS="-lprocstat $LIBS"
14041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14042 /* end confdefs.h. */
14044 /* Override any GCC internal prototype to avoid an error.
14045 Use char because int might match the return type of a GCC
14046 builtin and then its argument prototype would still apply. */
14047 #ifdef __cplusplus
14048 extern "C"
14049 #endif
14050 char procstat_open_sysctl ();
14052 main ()
14054 return procstat_open_sysctl ();
14056 return 0;
14058 _ACEOF
14059 if ac_fn_c_try_link "$LINENO"; then :
14060 ac_cv_lib_procstat_procstat_open_sysctl=yes
14061 else
14062 ac_cv_lib_procstat_procstat_open_sysctl=no
14064 rm -f core conftest.err conftest.$ac_objext \
14065 conftest$ac_exeext conftest.$ac_ext
14066 LIBS=$ac_check_lib_save_LIBS
14068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14069 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14070 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14072 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14074 PROCSTAT_LIBS="-lprocstat"
14080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14081 $as_echo_n "checking for -lodbc... " >&6; }
14082 if ${ac_cv_lib_soname_odbc+:} false; then :
14083 $as_echo_n "(cached) " >&6
14084 else
14085 ac_check_soname_save_LIBS=$LIBS
14086 LIBS="-lodbc $LIBS"
14087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14088 /* end confdefs.h. */
14090 /* Override any GCC internal prototype to avoid an error.
14091 Use char because int might match the return type of a GCC
14092 builtin and then its argument prototype would still apply. */
14093 #ifdef __cplusplus
14094 extern "C"
14095 #endif
14096 char SQLConnect ();
14098 main ()
14100 return SQLConnect ();
14102 return 0;
14104 _ACEOF
14105 if ac_fn_c_try_link "$LINENO"; then :
14106 case "$LIBEXT" in
14107 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14108 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'` ;;
14109 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14110 if ${ac_cv_lib_soname_odbc:+false} :; then :
14111 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14112 fi ;;
14113 esac
14115 rm -f core conftest.err conftest.$ac_objext \
14116 conftest$ac_exeext conftest.$ac_ext
14117 LIBS=$ac_check_soname_save_LIBS
14119 if ${ac_cv_lib_soname_odbc:+false} :; then :
14120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14121 $as_echo "not found" >&6; }
14122 cat >>confdefs.h <<_ACEOF
14123 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14124 _ACEOF
14126 else
14127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14128 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14130 cat >>confdefs.h <<_ACEOF
14131 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14132 _ACEOF
14137 if test "x$with_netapi" != "xno"
14138 then
14139 if ${NETAPI_CFLAGS:+false} :; then :
14140 if ${PKG_CONFIG+:} false; then :
14141 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14145 if ${NETAPI_LIBS:+false} :; then :
14146 if ${PKG_CONFIG+:} false; then :
14147 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14152 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14153 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14154 ac_save_CPPFLAGS=$CPPFLAGS
14155 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14157 $as_echo_n "checking for -lnetapi... " >&6; }
14158 if ${ac_cv_lib_soname_netapi+:} false; then :
14159 $as_echo_n "(cached) " >&6
14160 else
14161 ac_check_soname_save_LIBS=$LIBS
14162 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14164 /* end confdefs.h. */
14166 /* Override any GCC internal prototype to avoid an error.
14167 Use char because int might match the return type of a GCC
14168 builtin and then its argument prototype would still apply. */
14169 #ifdef __cplusplus
14170 extern "C"
14171 #endif
14172 char libnetapi_init ();
14174 main ()
14176 return libnetapi_init ();
14178 return 0;
14180 _ACEOF
14181 if ac_fn_c_try_link "$LINENO"; then :
14182 case "$LIBEXT" in
14183 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14184 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'` ;;
14185 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14186 if ${ac_cv_lib_soname_netapi:+false} :; then :
14187 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14188 fi ;;
14189 esac
14191 rm -f core conftest.err conftest.$ac_objext \
14192 conftest$ac_exeext conftest.$ac_ext
14193 LIBS=$ac_check_soname_save_LIBS
14195 if ${ac_cv_lib_soname_netapi:+false} :; then :
14196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14197 $as_echo "not found" >&6; }
14198 cat >>confdefs.h <<_ACEOF
14199 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14200 _ACEOF
14202 else
14203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14204 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14206 cat >>confdefs.h <<_ACEOF
14207 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14208 _ACEOF
14212 CPPFLAGS=$ac_save_CPPFLAGS
14213 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14214 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14218 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
14219 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14220 then
14221 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14225 EXTRACFLAGS=""
14227 if test "x${GCC}" = "xyes"
14228 then
14229 EXTRACFLAGS="-Wall -pipe"
14231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14232 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14233 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14234 $as_echo_n "(cached) " >&6
14235 else
14236 if test "$cross_compiling" = yes; then :
14237 ac_cv_c_gcc_strength_bug="no"
14238 else
14239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14240 /* end confdefs.h. */
14241 int L[4] = {0,1,2,3};
14243 main ()
14245 static int Array[3];
14246 unsigned int B = 3;
14247 int i;
14248 for(i=0; i<B; i++) Array[i] = i - 3;
14249 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14250 L[i] = 4;
14251 return (Array[1] != -2 || L[2] != 3)
14253 return 0;
14255 _ACEOF
14256 if ac_fn_c_try_run "$LINENO"; then :
14257 ac_cv_c_gcc_strength_bug="no"
14258 else
14259 ac_cv_c_gcc_strength_bug="yes"
14261 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14262 conftest.$ac_objext conftest.beam conftest.$ac_ext
14266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14267 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14268 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14269 then
14270 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14274 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14275 if ${ac_cv_cflags__fno_builtin+:} false; then :
14276 $as_echo_n "(cached) " >&6
14277 else
14278 ac_wine_try_cflags_saved=$CFLAGS
14279 CFLAGS="$CFLAGS -fno-builtin"
14280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14281 /* end confdefs.h. */
14282 int main(int argc, char **argv) { return 0; }
14283 _ACEOF
14284 if ac_fn_c_try_link "$LINENO"; then :
14285 ac_cv_cflags__fno_builtin=yes
14286 else
14287 ac_cv_cflags__fno_builtin=no
14289 rm -f core conftest.err conftest.$ac_objext \
14290 conftest$ac_exeext conftest.$ac_ext
14291 CFLAGS=$ac_wine_try_cflags_saved
14293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14294 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14295 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14296 BUILTINFLAG="-fno-builtin"
14299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14300 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14301 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14302 $as_echo_n "(cached) " >&6
14303 else
14304 ac_wine_try_cflags_saved=$CFLAGS
14305 CFLAGS="$CFLAGS -fno-strict-aliasing"
14306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14307 /* end confdefs.h. */
14308 int main(int argc, char **argv) { return 0; }
14309 _ACEOF
14310 if ac_fn_c_try_link "$LINENO"; then :
14311 ac_cv_cflags__fno_strict_aliasing=yes
14312 else
14313 ac_cv_cflags__fno_strict_aliasing=no
14315 rm -f core conftest.err conftest.$ac_objext \
14316 conftest$ac_exeext conftest.$ac_ext
14317 CFLAGS=$ac_wine_try_cflags_saved
14319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14320 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14321 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14322 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14325 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14326 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14327 $as_echo_n "(cached) " >&6
14328 else
14329 ac_wine_try_cflags_saved=$CFLAGS
14330 CFLAGS="$CFLAGS -fexcess-precision=standard"
14331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14332 /* end confdefs.h. */
14333 int main(int argc, char **argv) { return 0; }
14334 _ACEOF
14335 if ac_fn_c_try_link "$LINENO"; then :
14336 ac_cv_cflags__fexcess_precision_standard=yes
14337 else
14338 ac_cv_cflags__fexcess_precision_standard=no
14340 rm -f core conftest.err conftest.$ac_objext \
14341 conftest$ac_exeext conftest.$ac_ext
14342 CFLAGS=$ac_wine_try_cflags_saved
14344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14345 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14346 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14347 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14350 saved_CFLAGS=$CFLAGS
14351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14352 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14353 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14354 $as_echo_n "(cached) " >&6
14355 else
14356 ac_wine_try_cflags_saved=$CFLAGS
14357 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14359 /* end confdefs.h. */
14360 int main(int argc, char **argv) { return 0; }
14361 _ACEOF
14362 if ac_fn_c_try_link "$LINENO"; then :
14363 ac_cv_cflags__Werror_unknown_warning_option=yes
14364 else
14365 ac_cv_cflags__Werror_unknown_warning_option=no
14367 rm -f core conftest.err conftest.$ac_objext \
14368 conftest$ac_exeext conftest.$ac_ext
14369 CFLAGS=$ac_wine_try_cflags_saved
14371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14372 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14373 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14374 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14377 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14378 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14379 $as_echo_n "(cached) " >&6
14380 else
14381 ac_wine_try_cflags_saved=$CFLAGS
14382 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14384 /* end confdefs.h. */
14385 int main(int argc, char **argv) { return 0; }
14386 _ACEOF
14387 if ac_fn_c_try_link "$LINENO"; then :
14388 ac_cv_cflags__Wdeclaration_after_statement=yes
14389 else
14390 ac_cv_cflags__Wdeclaration_after_statement=no
14392 rm -f core conftest.err conftest.$ac_objext \
14393 conftest$ac_exeext conftest.$ac_ext
14394 CFLAGS=$ac_wine_try_cflags_saved
14396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14397 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14398 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14399 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14402 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14403 if ${ac_cv_cflags__Wempty_body+:} false; then :
14404 $as_echo_n "(cached) " >&6
14405 else
14406 ac_wine_try_cflags_saved=$CFLAGS
14407 CFLAGS="$CFLAGS -Wempty-body"
14408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14409 /* end confdefs.h. */
14410 int main(int argc, char **argv) { return 0; }
14411 _ACEOF
14412 if ac_fn_c_try_link "$LINENO"; then :
14413 ac_cv_cflags__Wempty_body=yes
14414 else
14415 ac_cv_cflags__Wempty_body=no
14417 rm -f core conftest.err conftest.$ac_objext \
14418 conftest$ac_exeext conftest.$ac_ext
14419 CFLAGS=$ac_wine_try_cflags_saved
14421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14422 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14423 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14424 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14427 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14428 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14429 $as_echo_n "(cached) " >&6
14430 else
14431 ac_wine_try_cflags_saved=$CFLAGS
14432 CFLAGS="$CFLAGS -Wignored-qualifiers"
14433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14434 /* end confdefs.h. */
14435 int main(int argc, char **argv) { return 0; }
14436 _ACEOF
14437 if ac_fn_c_try_link "$LINENO"; then :
14438 ac_cv_cflags__Wignored_qualifiers=yes
14439 else
14440 ac_cv_cflags__Wignored_qualifiers=no
14442 rm -f core conftest.err conftest.$ac_objext \
14443 conftest$ac_exeext conftest.$ac_ext
14444 CFLAGS=$ac_wine_try_cflags_saved
14446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14447 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14448 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14449 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14452 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14453 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14454 $as_echo_n "(cached) " >&6
14455 else
14456 ac_wine_try_cflags_saved=$CFLAGS
14457 CFLAGS="$CFLAGS -Wshift-overflow=2"
14458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14459 /* end confdefs.h. */
14460 int main(int argc, char **argv) { return 0; }
14461 _ACEOF
14462 if ac_fn_c_try_link "$LINENO"; then :
14463 ac_cv_cflags__Wshift_overflow_2=yes
14464 else
14465 ac_cv_cflags__Wshift_overflow_2=no
14467 rm -f core conftest.err conftest.$ac_objext \
14468 conftest$ac_exeext conftest.$ac_ext
14469 CFLAGS=$ac_wine_try_cflags_saved
14471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14472 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14473 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14474 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14477 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14478 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14479 $as_echo_n "(cached) " >&6
14480 else
14481 ac_wine_try_cflags_saved=$CFLAGS
14482 CFLAGS="$CFLAGS -Wstrict-prototypes"
14483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14484 /* end confdefs.h. */
14485 int main(int argc, char **argv) { return 0; }
14486 _ACEOF
14487 if ac_fn_c_try_link "$LINENO"; then :
14488 ac_cv_cflags__Wstrict_prototypes=yes
14489 else
14490 ac_cv_cflags__Wstrict_prototypes=no
14492 rm -f core conftest.err conftest.$ac_objext \
14493 conftest$ac_exeext conftest.$ac_ext
14494 CFLAGS=$ac_wine_try_cflags_saved
14496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14497 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14498 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14499 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14502 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14503 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14504 $as_echo_n "(cached) " >&6
14505 else
14506 ac_wine_try_cflags_saved=$CFLAGS
14507 CFLAGS="$CFLAGS -Wtype-limits"
14508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14509 /* end confdefs.h. */
14510 int main(int argc, char **argv) { return 0; }
14511 _ACEOF
14512 if ac_fn_c_try_link "$LINENO"; then :
14513 ac_cv_cflags__Wtype_limits=yes
14514 else
14515 ac_cv_cflags__Wtype_limits=no
14517 rm -f core conftest.err conftest.$ac_objext \
14518 conftest$ac_exeext conftest.$ac_ext
14519 CFLAGS=$ac_wine_try_cflags_saved
14521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14522 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14523 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14524 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14527 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14528 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14529 $as_echo_n "(cached) " >&6
14530 else
14531 ac_wine_try_cflags_saved=$CFLAGS
14532 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14534 /* end confdefs.h. */
14535 int main(int argc, char **argv) { return 0; }
14536 _ACEOF
14537 if ac_fn_c_try_link "$LINENO"; then :
14538 ac_cv_cflags__Wunused_but_set_parameter=yes
14539 else
14540 ac_cv_cflags__Wunused_but_set_parameter=no
14542 rm -f core conftest.err conftest.$ac_objext \
14543 conftest$ac_exeext conftest.$ac_ext
14544 CFLAGS=$ac_wine_try_cflags_saved
14546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14547 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14548 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14549 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14552 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14553 if ${ac_cv_cflags__Wvla+:} false; then :
14554 $as_echo_n "(cached) " >&6
14555 else
14556 ac_wine_try_cflags_saved=$CFLAGS
14557 CFLAGS="$CFLAGS -Wvla"
14558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14559 /* end confdefs.h. */
14560 int main(int argc, char **argv) { return 0; }
14561 _ACEOF
14562 if ac_fn_c_try_link "$LINENO"; then :
14563 ac_cv_cflags__Wvla=yes
14564 else
14565 ac_cv_cflags__Wvla=no
14567 rm -f core conftest.err conftest.$ac_objext \
14568 conftest$ac_exeext conftest.$ac_ext
14569 CFLAGS=$ac_wine_try_cflags_saved
14571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14572 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14573 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14574 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14577 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14578 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14579 $as_echo_n "(cached) " >&6
14580 else
14581 ac_wine_try_cflags_saved=$CFLAGS
14582 CFLAGS="$CFLAGS -Wwrite-strings"
14583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14584 /* end confdefs.h. */
14585 int main(int argc, char **argv) { return 0; }
14586 _ACEOF
14587 if ac_fn_c_try_link "$LINENO"; then :
14588 ac_cv_cflags__Wwrite_strings=yes
14589 else
14590 ac_cv_cflags__Wwrite_strings=no
14592 rm -f core conftest.err conftest.$ac_objext \
14593 conftest$ac_exeext conftest.$ac_ext
14594 CFLAGS=$ac_wine_try_cflags_saved
14596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14597 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14598 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14599 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14603 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14604 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14605 $as_echo_n "(cached) " >&6
14606 else
14607 ac_wine_try_cflags_saved=$CFLAGS
14608 CFLAGS="$CFLAGS -Wpointer-arith"
14609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14610 /* end confdefs.h. */
14611 int main(int argc, char **argv) { return 0; }
14612 _ACEOF
14613 if ac_fn_c_try_link "$LINENO"; then :
14614 ac_cv_cflags__Wpointer_arith=yes
14615 else
14616 ac_cv_cflags__Wpointer_arith=no
14618 rm -f core conftest.err conftest.$ac_objext \
14619 conftest$ac_exeext conftest.$ac_ext
14620 CFLAGS=$ac_wine_try_cflags_saved
14622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14623 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14624 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14625 saved_string_h_CFLAGS=$CFLAGS
14626 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14628 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14629 if ${ac_cv_c_string_h_warnings+:} false; then :
14630 $as_echo_n "(cached) " >&6
14631 else
14632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14633 /* end confdefs.h. */
14634 #include <string.h>
14636 main ()
14640 return 0;
14642 _ACEOF
14643 if ac_fn_c_try_compile "$LINENO"; then :
14644 ac_cv_c_string_h_warnings=no
14645 else
14646 ac_cv_c_string_h_warnings=yes
14648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14651 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14652 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14653 CFLAGS=$saved_string_h_CFLAGS
14656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14657 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14658 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14659 $as_echo_n "(cached) " >&6
14660 else
14661 ac_wine_try_cflags_saved=$CFLAGS
14662 CFLAGS="$CFLAGS -Wlogical-op"
14663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14664 /* end confdefs.h. */
14665 int main(int argc, char **argv) { return 0; }
14666 _ACEOF
14667 if ac_fn_c_try_link "$LINENO"; then :
14668 ac_cv_cflags__Wlogical_op=yes
14669 else
14670 ac_cv_cflags__Wlogical_op=no
14672 rm -f core conftest.err conftest.$ac_objext \
14673 conftest$ac_exeext conftest.$ac_ext
14674 CFLAGS=$ac_wine_try_cflags_saved
14676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14677 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14678 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14679 saved_string_h_CFLAGS=$CFLAGS
14680 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14682 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14683 if ${ac_cv_c_logicalop_noisy+:} false; then :
14684 $as_echo_n "(cached) " >&6
14685 else
14686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14687 /* end confdefs.h. */
14688 #include <string.h>
14689 char*f(const char *h,char n) {return strchr(h,n);}
14691 main ()
14695 return 0;
14697 _ACEOF
14698 if ac_fn_c_try_compile "$LINENO"; then :
14699 ac_cv_c_logicalop_noisy=no
14700 else
14701 ac_cv_c_logicalop_noisy=yes
14703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14706 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14707 CFLAGS=$saved_string_h_CFLAGS
14708 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14711 CFLAGS=$saved_CFLAGS
14713 for ac_flag in $CFLAGS; do
14714 case $ac_flag in
14715 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14716 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14717 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14718 $as_echo_n "(cached) " >&6
14719 else
14720 ac_wine_try_cflags_saved=$CFLAGS
14721 CFLAGS="$CFLAGS -gdwarf-2"
14722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14723 /* end confdefs.h. */
14724 int main(int argc, char **argv) { return 0; }
14725 _ACEOF
14726 if ac_fn_c_try_link "$LINENO"; then :
14727 ac_cv_cflags__gdwarf_2=yes
14728 else
14729 ac_cv_cflags__gdwarf_2=no
14731 rm -f core conftest.err conftest.$ac_objext \
14732 conftest$ac_exeext conftest.$ac_ext
14733 CFLAGS=$ac_wine_try_cflags_saved
14735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14736 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14737 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14738 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14741 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14742 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14743 $as_echo_n "(cached) " >&6
14744 else
14745 ac_wine_try_cflags_saved=$CFLAGS
14746 CFLAGS="$CFLAGS -gstrict-dwarf"
14747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14748 /* end confdefs.h. */
14749 int main(int argc, char **argv) { return 0; }
14750 _ACEOF
14751 if ac_fn_c_try_link "$LINENO"; then :
14752 ac_cv_cflags__gstrict_dwarf=yes
14753 else
14754 ac_cv_cflags__gstrict_dwarf=no
14756 rm -f core conftest.err conftest.$ac_objext \
14757 conftest$ac_exeext conftest.$ac_ext
14758 CFLAGS=$ac_wine_try_cflags_saved
14760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14761 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14762 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14763 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14764 fi ;;
14765 esac
14766 done
14768 case $host_cpu in
14769 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14770 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14771 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14772 $as_echo_n "(cached) " >&6
14773 else
14774 ac_wine_try_cflags_saved=$CFLAGS
14775 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14777 /* end confdefs.h. */
14778 int main(int argc, char **argv) { return 0; }
14779 _ACEOF
14780 if ac_fn_c_try_link "$LINENO"; then :
14781 ac_cv_cflags__fno_omit_frame_pointer=yes
14782 else
14783 ac_cv_cflags__fno_omit_frame_pointer=no
14785 rm -f core conftest.err conftest.$ac_objext \
14786 conftest$ac_exeext conftest.$ac_ext
14787 CFLAGS=$ac_wine_try_cflags_saved
14789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14790 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14791 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14792 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14793 fi ;;
14794 esac
14796 case $host in
14797 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14798 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14799 if ${ac_cv_cflags__Wno_format+:} false; then :
14800 $as_echo_n "(cached) " >&6
14801 else
14802 ac_wine_try_cflags_saved=$CFLAGS
14803 CFLAGS="$CFLAGS -Wno-format"
14804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14805 /* end confdefs.h. */
14806 int main(int argc, char **argv) { return 0; }
14807 _ACEOF
14808 if ac_fn_c_try_link "$LINENO"; then :
14809 ac_cv_cflags__Wno_format=yes
14810 else
14811 ac_cv_cflags__Wno_format=no
14813 rm -f core conftest.err conftest.$ac_objext \
14814 conftest$ac_exeext conftest.$ac_ext
14815 CFLAGS=$ac_wine_try_cflags_saved
14817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14818 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14819 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14820 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14821 fi ;;
14822 esac
14824 if test "x$enable_maintainer_mode" = "xyes"
14825 then
14826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14827 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14828 if ${ac_cv_cflags__Werror+:} false; then :
14829 $as_echo_n "(cached) " >&6
14830 else
14831 ac_wine_try_cflags_saved=$CFLAGS
14832 CFLAGS="$CFLAGS -Werror"
14833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14834 /* end confdefs.h. */
14835 int main(int argc, char **argv) { return 0; }
14836 _ACEOF
14837 if ac_fn_c_try_link "$LINENO"; then :
14838 ac_cv_cflags__Werror=yes
14839 else
14840 ac_cv_cflags__Werror=no
14842 rm -f core conftest.err conftest.$ac_objext \
14843 conftest$ac_exeext conftest.$ac_ext
14844 CFLAGS=$ac_wine_try_cflags_saved
14846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14847 $as_echo "$ac_cv_cflags__Werror" >&6; }
14848 if test "x$ac_cv_cflags__Werror" = xyes; then :
14849 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14853 saved_CFLAGS="$CFLAGS"
14854 CFLAGS="$CFLAGS -Werror"
14855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14856 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14857 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14858 $as_echo_n "(cached) " >&6
14859 else
14860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14861 /* end confdefs.h. */
14862 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14864 main ()
14868 return 0;
14870 _ACEOF
14871 if ac_fn_c_try_compile "$LINENO"; then :
14872 ac_cv_have_ms_hook_prologue="yes"
14873 else
14874 ac_cv_have_ms_hook_prologue="no"
14876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14879 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14880 CFLAGS="$saved_CFLAGS"
14881 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14882 then
14884 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14886 else
14887 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14894 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14895 if ${ac_cv_c_fortify_enabled+:} false; then :
14896 $as_echo_n "(cached) " >&6
14897 else
14898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14899 /* end confdefs.h. */
14900 #include <string.h>
14902 main ()
14904 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14905 #error Fortify enabled
14906 #endif
14908 return 0;
14910 _ACEOF
14911 if ac_fn_c_try_compile "$LINENO"; then :
14912 ac_cv_c_fortify_enabled=no
14913 else
14914 ac_cv_c_fortify_enabled=yes
14916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14919 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14920 if test "$ac_cv_c_fortify_enabled" = yes
14921 then
14922 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14927 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14928 if ${ac_cv_c_extern_prefix+:} false; then :
14929 $as_echo_n "(cached) " >&6
14930 else
14931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14932 /* end confdefs.h. */
14933 extern int ac_test;
14935 main ()
14937 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14939 return 0;
14941 _ACEOF
14942 if ac_fn_c_try_link "$LINENO"; then :
14943 ac_cv_c_extern_prefix="yes"
14944 else
14945 ac_cv_c_extern_prefix="no"
14947 rm -f core conftest.err conftest.$ac_objext \
14948 conftest$ac_exeext conftest.$ac_ext
14950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14951 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14953 case $host_cpu in
14954 *i[3456789]86*)
14955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14956 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14957 if ${ac_cv_c_stdcall_suffix+:} false; then :
14958 $as_echo_n "(cached) " >&6
14959 else
14960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14961 /* end confdefs.h. */
14962 #ifndef _MSC_VER
14963 #define __stdcall __attribute__((__stdcall__))
14964 #endif
14965 int __stdcall ac_test(int i) { return i; }
14967 main ()
14969 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14971 return 0;
14973 _ACEOF
14974 if ac_fn_c_try_link "$LINENO"; then :
14975 ac_cv_c_stdcall_suffix="yes"
14976 else
14977 ac_cv_c_stdcall_suffix="no"
14979 rm -f core conftest.err conftest.$ac_objext \
14980 conftest$ac_exeext conftest.$ac_ext
14982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14983 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14984 *) ac_cv_c_stdcall_suffix="no" ;;
14985 esac
14988 if test "$ac_cv_c_extern_prefix" = "yes"
14989 then
14990 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14992 asm_name_prefix="_"
14993 else
14994 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14996 asm_name_prefix=""
15000 if test "$ac_cv_c_stdcall_suffix" = "yes"
15001 then
15002 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15004 else
15005 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15011 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15012 if ${ac_cv_asm_func_def+:} false; then :
15013 $as_echo_n "(cached) " >&6
15014 else
15015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15016 /* end confdefs.h. */
15019 main ()
15021 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15023 return 0;
15025 _ACEOF
15026 if ac_fn_c_try_link "$LINENO"; then :
15027 ac_cv_asm_func_def=".def"
15028 else
15029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15030 /* end confdefs.h. */
15033 main ()
15035 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15037 return 0;
15039 _ACEOF
15040 if ac_fn_c_try_link "$LINENO"; then :
15041 ac_cv_asm_func_def=".type @function"
15042 else
15043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15044 /* end confdefs.h. */
15047 main ()
15049 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15051 return 0;
15053 _ACEOF
15054 if ac_fn_c_try_link "$LINENO"; then :
15055 ac_cv_asm_func_def=".type 2"
15056 else
15057 ac_cv_asm_func_def="unknown"
15059 rm -f core conftest.err conftest.$ac_objext \
15060 conftest$ac_exeext conftest.$ac_ext
15062 rm -f core conftest.err conftest.$ac_objext \
15063 conftest$ac_exeext conftest.$ac_ext
15065 rm -f core conftest.err conftest.$ac_objext \
15066 conftest$ac_exeext conftest.$ac_ext
15068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15069 $as_echo "$ac_cv_asm_func_def" >&6; }
15072 case "$ac_cv_asm_func_def" in
15073 ".def")
15074 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15076 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15077 ".type @function")
15078 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15080 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15081 ".type 2")
15082 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15084 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15086 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15088 asm_func_header="" ;;
15089 esac
15091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15092 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15093 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15094 $as_echo_n "(cached) " >&6
15095 else
15096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15097 /* end confdefs.h. */
15098 asm(".text\n\t.long 0");
15100 main ()
15104 return 0;
15106 _ACEOF
15107 if ac_fn_c_try_compile "$LINENO"; then :
15108 ac_cv_c_asm_outside_funcs="yes"
15109 else
15110 ac_cv_c_asm_outside_funcs="no"
15112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15115 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15118 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15119 if ${ac_cv_c_dot_previous+:} false; then :
15120 $as_echo_n "(cached) " >&6
15121 else
15122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15123 /* end confdefs.h. */
15126 main ()
15128 asm(".text\nac_test:\t.long 0\n\t.previous");
15130 return 0;
15132 _ACEOF
15133 if ac_fn_c_try_link "$LINENO"; then :
15134 ac_cv_c_dot_previous="yes"
15135 else
15136 ac_cv_c_dot_previous="no"
15138 rm -f core conftest.err conftest.$ac_objext \
15139 conftest$ac_exeext conftest.$ac_ext
15141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15142 $as_echo "$ac_cv_c_dot_previous" >&6; }
15144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15145 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15146 if ${ac_cv_c_cfi_support+:} false; then :
15147 $as_echo_n "(cached) " >&6
15148 else
15149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15150 /* end confdefs.h. */
15151 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15153 main ()
15157 return 0;
15159 _ACEOF
15160 if ac_fn_c_try_compile "$LINENO"; then :
15161 ac_cv_c_cfi_support="yes"
15162 else
15163 ac_cv_c_cfi_support="no"
15165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15168 $as_echo "$ac_cv_c_cfi_support" >&6; }
15170 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15171 asm_func_trailer=""
15172 if test "$ac_cv_c_dot_previous" = "yes"
15173 then
15174 asm_func_trailer="\\n\\t.previous"
15176 if test "$ac_cv_c_cfi_support" = "yes"
15177 then
15178 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15179 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15181 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15183 UNWINDFLAGS=-fasynchronous-unwind-tables
15185 else
15186 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15188 if test "x$enable_win64" = "xyes"
15189 then
15190 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15194 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15197 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15198 then
15199 cat >>confdefs.h <<_ACEOF
15200 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15201 _ACEOF
15203 else
15204 cat >>confdefs.h <<_ACEOF
15205 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15206 _ACEOF
15210 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15213 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15217 case $build_os in
15218 cygwin*|mingw32*) TOOLSEXT=".exe"
15220 esac
15222 case $host_os in
15223 linux-android*) ;;
15224 linux*)
15225 case $host_cpu in
15226 *i[3456789]86*|x86_64*)
15227 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15228 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15230 esac
15232 esac
15235 ac_save_CFLAGS="$CFLAGS"
15236 CFLAGS="$CFLAGS $BUILTINFLAG"
15237 for ac_func in \
15238 __res_get_state \
15239 __res_getservers \
15240 _finite \
15241 _isnan \
15242 _pclose \
15243 _popen \
15244 _snprintf \
15245 _spawnvp \
15246 _strdup \
15247 _stricmp \
15248 _strnicmp \
15249 _strtoi64 \
15250 _strtoui64 \
15251 _vsnprintf \
15252 asctime_r \
15253 chsize \
15254 dlopen \
15255 epoll_create \
15256 ffs \
15257 finitef \
15258 fnmatch \
15259 fork \
15260 fpclass \
15261 fstatfs \
15262 fstatvfs \
15263 ftruncate \
15264 futimens \
15265 futimes \
15266 futimesat \
15267 getattrlist \
15268 getopt_long_only \
15269 getpwuid \
15270 gettimeofday \
15271 getuid \
15272 if_nameindex \
15273 isnanf \
15274 kqueue \
15275 lstat \
15276 memmove \
15277 mmap \
15278 pclose \
15279 pipe2 \
15280 poll \
15281 popen \
15282 port_create \
15283 prctl \
15284 pread \
15285 proc_pidinfo \
15286 pwrite \
15287 readdir \
15288 readlink \
15289 sched_yield \
15290 select \
15291 setproctitle \
15292 setprogname \
15293 setrlimit \
15294 settimeofday \
15295 sigaltstack \
15296 sigprocmask \
15297 snprintf \
15298 statfs \
15299 statvfs \
15300 strcasecmp \
15301 strdup \
15302 strerror \
15303 strncasecmp \
15304 strtold \
15305 strtoll \
15306 strtoull \
15307 symlink \
15308 sysinfo \
15309 tcdrain \
15310 thr_kill2 \
15311 timegm \
15312 usleep \
15313 vsnprintf
15315 do :
15316 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15317 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15318 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15319 cat >>confdefs.h <<_ACEOF
15320 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15321 _ACEOF
15324 done
15326 CFLAGS="$ac_save_CFLAGS"
15328 if test "$ac_cv_func_dlopen" = no
15329 then
15330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15331 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15332 if ${ac_cv_lib_dl_dlopen+:} false; then :
15333 $as_echo_n "(cached) " >&6
15334 else
15335 ac_check_lib_save_LIBS=$LIBS
15336 LIBS="-ldl $LIBS"
15337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15338 /* end confdefs.h. */
15340 /* Override any GCC internal prototype to avoid an error.
15341 Use char because int might match the return type of a GCC
15342 builtin and then its argument prototype would still apply. */
15343 #ifdef __cplusplus
15344 extern "C"
15345 #endif
15346 char dlopen ();
15348 main ()
15350 return dlopen ();
15352 return 0;
15354 _ACEOF
15355 if ac_fn_c_try_link "$LINENO"; then :
15356 ac_cv_lib_dl_dlopen=yes
15357 else
15358 ac_cv_lib_dl_dlopen=no
15360 rm -f core conftest.err conftest.$ac_objext \
15361 conftest$ac_exeext conftest.$ac_ext
15362 LIBS=$ac_check_lib_save_LIBS
15364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15365 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15366 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15367 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15368 DL_LIBS="-ldl"
15373 ac_wine_check_funcs_save_LIBS="$LIBS"
15374 LIBS="$LIBS $DL_LIBS"
15375 for ac_func in dladdr
15376 do :
15377 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15378 if test "x$ac_cv_func_dladdr" = xyes; then :
15379 cat >>confdefs.h <<_ACEOF
15380 #define HAVE_DLADDR 1
15381 _ACEOF
15384 done
15386 LIBS="$ac_wine_check_funcs_save_LIBS"
15388 if test "$ac_cv_func_poll" = no
15389 then
15390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15391 $as_echo_n "checking for poll in -lpoll... " >&6; }
15392 if ${ac_cv_lib_poll_poll+:} false; then :
15393 $as_echo_n "(cached) " >&6
15394 else
15395 ac_check_lib_save_LIBS=$LIBS
15396 LIBS="-lpoll $LIBS"
15397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15398 /* end confdefs.h. */
15400 /* Override any GCC internal prototype to avoid an error.
15401 Use char because int might match the return type of a GCC
15402 builtin and then its argument prototype would still apply. */
15403 #ifdef __cplusplus
15404 extern "C"
15405 #endif
15406 char poll ();
15408 main ()
15410 return poll ();
15412 return 0;
15414 _ACEOF
15415 if ac_fn_c_try_link "$LINENO"; then :
15416 ac_cv_lib_poll_poll=yes
15417 else
15418 ac_cv_lib_poll_poll=no
15420 rm -f core conftest.err conftest.$ac_objext \
15421 conftest$ac_exeext conftest.$ac_ext
15422 LIBS=$ac_check_lib_save_LIBS
15424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15425 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15426 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15427 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15428 POLL_LIBS="-lpoll"
15434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15435 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15436 if ${ac_cv_search_gethostbyname+:} false; then :
15437 $as_echo_n "(cached) " >&6
15438 else
15439 ac_func_search_save_LIBS=$LIBS
15440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15441 /* end confdefs.h. */
15443 /* Override any GCC internal prototype to avoid an error.
15444 Use char because int might match the return type of a GCC
15445 builtin and then its argument prototype would still apply. */
15446 #ifdef __cplusplus
15447 extern "C"
15448 #endif
15449 char gethostbyname ();
15451 main ()
15453 return gethostbyname ();
15455 return 0;
15457 _ACEOF
15458 for ac_lib in '' nsl; do
15459 if test -z "$ac_lib"; then
15460 ac_res="none required"
15461 else
15462 ac_res=-l$ac_lib
15463 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15465 if ac_fn_c_try_link "$LINENO"; then :
15466 ac_cv_search_gethostbyname=$ac_res
15468 rm -f core conftest.err conftest.$ac_objext \
15469 conftest$ac_exeext
15470 if ${ac_cv_search_gethostbyname+:} false; then :
15471 break
15473 done
15474 if ${ac_cv_search_gethostbyname+:} false; then :
15476 else
15477 ac_cv_search_gethostbyname=no
15479 rm conftest.$ac_ext
15480 LIBS=$ac_func_search_save_LIBS
15482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15483 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15484 ac_res=$ac_cv_search_gethostbyname
15485 if test "$ac_res" != no; then :
15486 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15492 $as_echo_n "checking for library containing connect... " >&6; }
15493 if ${ac_cv_search_connect+:} false; then :
15494 $as_echo_n "(cached) " >&6
15495 else
15496 ac_func_search_save_LIBS=$LIBS
15497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15498 /* end confdefs.h. */
15500 /* Override any GCC internal prototype to avoid an error.
15501 Use char because int might match the return type of a GCC
15502 builtin and then its argument prototype would still apply. */
15503 #ifdef __cplusplus
15504 extern "C"
15505 #endif
15506 char connect ();
15508 main ()
15510 return connect ();
15512 return 0;
15514 _ACEOF
15515 for ac_lib in '' socket; do
15516 if test -z "$ac_lib"; then
15517 ac_res="none required"
15518 else
15519 ac_res=-l$ac_lib
15520 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15522 if ac_fn_c_try_link "$LINENO"; then :
15523 ac_cv_search_connect=$ac_res
15525 rm -f core conftest.err conftest.$ac_objext \
15526 conftest$ac_exeext
15527 if ${ac_cv_search_connect+:} false; then :
15528 break
15530 done
15531 if ${ac_cv_search_connect+:} false; then :
15533 else
15534 ac_cv_search_connect=no
15536 rm conftest.$ac_ext
15537 LIBS=$ac_func_search_save_LIBS
15539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15540 $as_echo "$ac_cv_search_connect" >&6; }
15541 ac_res=$ac_cv_search_connect
15542 if test "$ac_res" != no; then :
15543 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15549 $as_echo_n "checking for library containing inet_aton... " >&6; }
15550 if ${ac_cv_search_inet_aton+:} false; then :
15551 $as_echo_n "(cached) " >&6
15552 else
15553 ac_func_search_save_LIBS=$LIBS
15554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15555 /* end confdefs.h. */
15557 /* Override any GCC internal prototype to avoid an error.
15558 Use char because int might match the return type of a GCC
15559 builtin and then its argument prototype would still apply. */
15560 #ifdef __cplusplus
15561 extern "C"
15562 #endif
15563 char inet_aton ();
15565 main ()
15567 return inet_aton ();
15569 return 0;
15571 _ACEOF
15572 for ac_lib in '' resolv; do
15573 if test -z "$ac_lib"; then
15574 ac_res="none required"
15575 else
15576 ac_res=-l$ac_lib
15577 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15579 if ac_fn_c_try_link "$LINENO"; then :
15580 ac_cv_search_inet_aton=$ac_res
15582 rm -f core conftest.err conftest.$ac_objext \
15583 conftest$ac_exeext
15584 if ${ac_cv_search_inet_aton+:} false; then :
15585 break
15587 done
15588 if ${ac_cv_search_inet_aton+:} false; then :
15590 else
15591 ac_cv_search_inet_aton=no
15593 rm conftest.$ac_ext
15594 LIBS=$ac_func_search_save_LIBS
15596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15597 $as_echo "$ac_cv_search_inet_aton" >&6; }
15598 ac_res=$ac_cv_search_inet_aton
15599 if test "$ac_res" != no; then :
15600 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15605 for ac_func in \
15606 getaddrinfo \
15607 getnameinfo \
15608 getnetbyname \
15609 getprotobyname \
15610 getprotobynumber \
15611 getservbyport \
15612 inet_addr \
15613 inet_network \
15614 inet_ntop \
15615 inet_pton \
15616 sendmsg \
15617 socketpair \
15619 do :
15620 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15621 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15622 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15623 cat >>confdefs.h <<_ACEOF
15624 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15625 _ACEOF
15628 done
15631 ac_save_LIBS=$LIBS
15632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15633 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15634 if ${ac_cv_search_clock_gettime+:} false; then :
15635 $as_echo_n "(cached) " >&6
15636 else
15637 ac_func_search_save_LIBS=$LIBS
15638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15639 /* end confdefs.h. */
15641 /* Override any GCC internal prototype to avoid an error.
15642 Use char because int might match the return type of a GCC
15643 builtin and then its argument prototype would still apply. */
15644 #ifdef __cplusplus
15645 extern "C"
15646 #endif
15647 char clock_gettime ();
15649 main ()
15651 return clock_gettime ();
15653 return 0;
15655 _ACEOF
15656 for ac_lib in '' rt; do
15657 if test -z "$ac_lib"; then
15658 ac_res="none required"
15659 else
15660 ac_res=-l$ac_lib
15661 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15663 if ac_fn_c_try_link "$LINENO"; then :
15664 ac_cv_search_clock_gettime=$ac_res
15666 rm -f core conftest.err conftest.$ac_objext \
15667 conftest$ac_exeext
15668 if ${ac_cv_search_clock_gettime+:} false; then :
15669 break
15671 done
15672 if ${ac_cv_search_clock_gettime+:} false; then :
15674 else
15675 ac_cv_search_clock_gettime=no
15677 rm conftest.$ac_ext
15678 LIBS=$ac_func_search_save_LIBS
15680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15681 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15682 ac_res=$ac_cv_search_clock_gettime
15683 if test "$ac_res" != no; then :
15684 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15686 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15688 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15692 LIBS=$ac_save_LIBS
15694 LDAP_LIBS=""
15696 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15697 then
15698 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15700 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15702 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15703 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15704 $as_echo_n "(cached) " >&6
15705 else
15706 ac_check_lib_save_LIBS=$LIBS
15707 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15709 /* end confdefs.h. */
15711 /* Override any GCC internal prototype to avoid an error.
15712 Use char because int might match the return type of a GCC
15713 builtin and then its argument prototype would still apply. */
15714 #ifdef __cplusplus
15715 extern "C"
15716 #endif
15717 char ldap_initialize ();
15719 main ()
15721 return ldap_initialize ();
15723 return 0;
15725 _ACEOF
15726 if ac_fn_c_try_link "$LINENO"; then :
15727 ac_cv_lib_ldap_r_ldap_initialize=yes
15728 else
15729 ac_cv_lib_ldap_r_ldap_initialize=no
15731 rm -f core conftest.err conftest.$ac_objext \
15732 conftest$ac_exeext conftest.$ac_ext
15733 LIBS=$ac_check_lib_save_LIBS
15735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15736 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15737 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15739 $as_echo_n "checking for ber_init in -llber... " >&6; }
15740 if ${ac_cv_lib_lber_ber_init+:} false; then :
15741 $as_echo_n "(cached) " >&6
15742 else
15743 ac_check_lib_save_LIBS=$LIBS
15744 LIBS="-llber $PTHREAD_LIBS $LIBS"
15745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15746 /* end confdefs.h. */
15748 /* Override any GCC internal prototype to avoid an error.
15749 Use char because int might match the return type of a GCC
15750 builtin and then its argument prototype would still apply. */
15751 #ifdef __cplusplus
15752 extern "C"
15753 #endif
15754 char ber_init ();
15756 main ()
15758 return ber_init ();
15760 return 0;
15762 _ACEOF
15763 if ac_fn_c_try_link "$LINENO"; then :
15764 ac_cv_lib_lber_ber_init=yes
15765 else
15766 ac_cv_lib_lber_ber_init=no
15768 rm -f core conftest.err conftest.$ac_objext \
15769 conftest$ac_exeext conftest.$ac_ext
15770 LIBS=$ac_check_lib_save_LIBS
15772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15773 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15774 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15776 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15778 LDAP_LIBS="-lldap_r -llber"
15785 ac_wine_check_funcs_save_LIBS="$LIBS"
15786 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15787 for ac_func in \
15788 ldap_count_references \
15789 ldap_first_reference \
15790 ldap_next_reference \
15791 ldap_parse_reference \
15792 ldap_parse_sort_control \
15793 ldap_parse_sortresponse_control \
15794 ldap_parse_vlv_control \
15795 ldap_parse_vlvresponse_control
15796 do :
15797 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15798 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15799 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15800 cat >>confdefs.h <<_ACEOF
15801 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15802 _ACEOF
15805 done
15807 LIBS="$ac_wine_check_funcs_save_LIBS"
15809 if test "x$LDAP_LIBS" = "x"; then :
15810 case "x$with_ldap" in
15811 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15812 xno) ;;
15813 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15814 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15815 esac
15819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15820 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15821 if ${wine_cv_one_arg_mkdir+:} false; then :
15822 $as_echo_n "(cached) " >&6
15823 else
15824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15825 /* end confdefs.h. */
15826 #include <sys/stat.h>
15828 main ()
15830 mkdir("foo");
15832 return 0;
15834 _ACEOF
15835 if ac_fn_c_try_compile "$LINENO"; then :
15836 wine_cv_one_arg_mkdir=yes
15837 else
15838 wine_cv_one_arg_mkdir=no
15840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15843 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15844 if test "$wine_cv_one_arg_mkdir" = "yes"
15845 then
15847 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15852 $as_echo_n "checking for sched_setaffinity... " >&6; }
15853 if ${wine_cv_have_sched_setaffinity+:} false; then :
15854 $as_echo_n "(cached) " >&6
15855 else
15856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15857 /* end confdefs.h. */
15858 #define _GNU_SOURCE
15859 #include <sched.h>
15861 main ()
15863 sched_setaffinity(0, 0, 0);
15865 return 0;
15867 _ACEOF
15868 if ac_fn_c_try_link "$LINENO"; then :
15869 wine_cv_have_sched_setaffinity=yes
15870 else
15871 wine_cv_have_sched_setaffinity=no
15873 rm -f core conftest.err conftest.$ac_objext \
15874 conftest$ac_exeext conftest.$ac_ext
15876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15877 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15878 if test "$wine_cv_have_sched_setaffinity" = "yes"
15879 then
15881 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15886 $as_echo_n "checking for fallocate... " >&6; }
15887 if ${wine_cv_have_fallocate+:} false; then :
15888 $as_echo_n "(cached) " >&6
15889 else
15890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15891 /* end confdefs.h. */
15892 #define _GNU_SOURCE
15893 #include <fcntl.h>
15895 main ()
15897 fallocate(-1, 0, 0, 0);
15899 return 0;
15901 _ACEOF
15902 if ac_fn_c_try_link "$LINENO"; then :
15903 wine_cv_have_fallocate=yes
15904 else
15905 wine_cv_have_fallocate=no
15907 rm -f core conftest.err conftest.$ac_objext \
15908 conftest$ac_exeext conftest.$ac_ext
15910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15911 $as_echo "$wine_cv_have_fallocate" >&6; }
15912 if test "$wine_cv_have_fallocate" = "yes"
15913 then
15915 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15921 $as_echo_n "checking for inline... " >&6; }
15922 if ${ac_cv_c_inline+:} false; then :
15923 $as_echo_n "(cached) " >&6
15924 else
15925 ac_cv_c_inline=no
15926 for ac_kw in inline __inline__ __inline; do
15927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15928 /* end confdefs.h. */
15929 #ifndef __cplusplus
15930 typedef int foo_t;
15931 static $ac_kw foo_t static_foo () {return 0; }
15932 $ac_kw foo_t foo () {return 0; }
15933 #endif
15935 _ACEOF
15936 if ac_fn_c_try_compile "$LINENO"; then :
15937 ac_cv_c_inline=$ac_kw
15939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15940 test "$ac_cv_c_inline" != no && break
15941 done
15944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15945 $as_echo "$ac_cv_c_inline" >&6; }
15947 case $ac_cv_c_inline in
15948 inline | yes) ;;
15950 case $ac_cv_c_inline in
15951 no) ac_val=;;
15952 *) ac_val=$ac_cv_c_inline;;
15953 esac
15954 cat >>confdefs.h <<_ACEOF
15955 #ifndef __cplusplus
15956 #define inline $ac_val
15957 #endif
15958 _ACEOF
15960 esac
15962 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15963 if test "x$ac_cv_type_mode_t" = xyes; then :
15965 cat >>confdefs.h <<_ACEOF
15966 #define HAVE_MODE_T 1
15967 _ACEOF
15971 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15972 if test "x$ac_cv_type_off_t" = xyes; then :
15974 cat >>confdefs.h <<_ACEOF
15975 #define HAVE_OFF_T 1
15976 _ACEOF
15980 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15981 if test "x$ac_cv_type_pid_t" = xyes; then :
15983 cat >>confdefs.h <<_ACEOF
15984 #define HAVE_PID_T 1
15985 _ACEOF
15989 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15990 if test "x$ac_cv_type_size_t" = xyes; then :
15992 cat >>confdefs.h <<_ACEOF
15993 #define HAVE_SIZE_T 1
15994 _ACEOF
15998 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15999 if test "x$ac_cv_type_ssize_t" = xyes; then :
16001 cat >>confdefs.h <<_ACEOF
16002 #define HAVE_SSIZE_T 1
16003 _ACEOF
16007 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16008 if test "x$ac_cv_type_long_long" = xyes; then :
16010 cat >>confdefs.h <<_ACEOF
16011 #define HAVE_LONG_LONG 1
16012 _ACEOF
16016 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16017 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16019 cat >>confdefs.h <<_ACEOF
16020 #define HAVE_FSBLKCNT_T 1
16021 _ACEOF
16025 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16026 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16028 cat >>confdefs.h <<_ACEOF
16029 #define HAVE_FSFILCNT_T 1
16030 _ACEOF
16035 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16036 #include <signal.h>
16038 if test "x$ac_cv_type_sigset_t" = xyes; then :
16040 cat >>confdefs.h <<_ACEOF
16041 #define HAVE_SIGSET_T 1
16042 _ACEOF
16047 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16049 if test "x$ac_cv_type_request_sense" = xyes; then :
16051 cat >>confdefs.h <<_ACEOF
16052 #define HAVE_REQUEST_SENSE 1
16053 _ACEOF
16059 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16060 #ifdef HAVE_SYS_SOCKET_H
16061 #include <sys/socket.h>
16062 #endif
16063 #ifdef HAVE_SYS_SOCKETVAR_H
16064 #include <sys/socketvar.h>
16065 #endif
16066 #ifdef HAVE_NET_ROUTE_H
16067 #include <net/route.h>
16068 #endif
16069 #ifdef HAVE_NETINET_IN_H
16070 #include <netinet/in.h>
16071 #endif
16072 #ifdef HAVE_NETINET_IN_SYSTM_H
16073 #include <netinet/in_systm.h>
16074 #endif
16075 #ifdef HAVE_NETINET_IP_H
16076 #include <netinet/ip.h>
16077 #endif
16078 #ifdef HAVE_NETINET_IN_PCB_H
16079 #include <netinet/in_pcb.h>
16080 #endif
16082 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16084 cat >>confdefs.h <<_ACEOF
16085 #define HAVE_STRUCT_XINPGEN 1
16086 _ACEOF
16092 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16093 #include <link.h>
16094 #endif
16095 #ifdef HAVE_SYS_LINK_H
16096 #include <sys/link.h>
16097 #endif
16099 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16101 cat >>confdefs.h <<_ACEOF
16102 #define HAVE_STRUCT_R_DEBUG 1
16103 _ACEOF
16107 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16108 #include <link.h>
16109 #endif
16110 #ifdef HAVE_SYS_LINK_H
16111 #include <sys/link.h>
16112 #endif
16114 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16116 cat >>confdefs.h <<_ACEOF
16117 #define HAVE_STRUCT_LINK_MAP 1
16118 _ACEOF
16124 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16125 #include <linux/input.h>
16126 #endif
16128 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16130 cat >>confdefs.h <<_ACEOF
16131 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16132 _ACEOF
16138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16139 $as_echo_n "checking for sigaddset... " >&6; }
16140 if ${wine_cv_have_sigaddset+:} false; then :
16141 $as_echo_n "(cached) " >&6
16142 else
16143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16144 /* end confdefs.h. */
16145 #include <signal.h>
16147 main ()
16149 sigset_t set; sigaddset(&set,SIGTERM);
16151 return 0;
16153 _ACEOF
16154 if ac_fn_c_try_link "$LINENO"; then :
16155 wine_cv_have_sigaddset=yes
16156 else
16157 wine_cv_have_sigaddset=no
16159 rm -f core conftest.err conftest.$ac_objext \
16160 conftest$ac_exeext conftest.$ac_ext
16162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16163 $as_echo "$wine_cv_have_sigaddset" >&6; }
16164 if test "$wine_cv_have_sigaddset" = "yes"
16165 then
16167 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16173 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16174 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16175 $as_echo_n "(cached) " >&6
16176 else
16177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16178 /* end confdefs.h. */
16179 #include <netdb.h>
16181 main ()
16184 char *name=0;
16185 struct hostent he;
16186 struct hostent *result;
16187 char *buf=0;
16188 int bufsize=0;
16189 int errnr;
16190 char *addr=0;
16191 int addrlen=0;
16192 int addrtype=0;
16193 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16194 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16197 return 0;
16199 _ACEOF
16200 if ac_fn_c_try_link "$LINENO"; then :
16201 wine_cv_linux_gethostbyname_r_6=yes
16202 else
16203 wine_cv_linux_gethostbyname_r_6=no
16206 rm -f core conftest.err conftest.$ac_objext \
16207 conftest$ac_exeext conftest.$ac_ext
16210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16211 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16212 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16213 then
16215 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16219 if test "$ac_cv_header_linux_joystick_h" = "yes"
16220 then
16221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16222 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16223 if ${wine_cv_linux_joystick_22_api+:} false; then :
16224 $as_echo_n "(cached) " >&6
16225 else
16226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16227 /* end confdefs.h. */
16229 #include <sys/ioctl.h>
16230 #include <sys/types.h>
16231 #include <linux/joystick.h>
16233 struct js_event blub;
16234 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16235 #error "no 2.2 header"
16236 #endif
16239 main ()
16241 /*empty*/
16243 return 0;
16245 _ACEOF
16246 if ac_fn_c_try_compile "$LINENO"; then :
16247 wine_cv_linux_joystick_22_api=yes
16248 else
16249 wine_cv_linux_joystick_22_api=no
16251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16255 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16256 if test "$wine_cv_linux_joystick_22_api" = "yes"
16257 then
16259 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16265 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16266 #ifdef HAVE_SYS_PARAM_H
16267 # include <sys/param.h>
16268 #endif
16269 #ifdef HAVE_SYS_MOUNT_H
16270 # include <sys/mount.h>
16271 #endif
16272 #ifdef HAVE_SYS_VFS_H
16273 # include <sys/vfs.h>
16274 #endif
16275 #ifdef HAVE_SYS_STATFS_H
16276 # include <sys/statfs.h>
16277 #endif
16279 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16281 cat >>confdefs.h <<_ACEOF
16282 #define HAVE_STRUCT_STATFS_F_BFREE 1
16283 _ACEOF
16287 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16288 #ifdef HAVE_SYS_PARAM_H
16289 # include <sys/param.h>
16290 #endif
16291 #ifdef HAVE_SYS_MOUNT_H
16292 # include <sys/mount.h>
16293 #endif
16294 #ifdef HAVE_SYS_VFS_H
16295 # include <sys/vfs.h>
16296 #endif
16297 #ifdef HAVE_SYS_STATFS_H
16298 # include <sys/statfs.h>
16299 #endif
16301 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16303 cat >>confdefs.h <<_ACEOF
16304 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16305 _ACEOF
16309 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16310 #ifdef HAVE_SYS_PARAM_H
16311 # include <sys/param.h>
16312 #endif
16313 #ifdef HAVE_SYS_MOUNT_H
16314 # include <sys/mount.h>
16315 #endif
16316 #ifdef HAVE_SYS_VFS_H
16317 # include <sys/vfs.h>
16318 #endif
16319 #ifdef HAVE_SYS_STATFS_H
16320 # include <sys/statfs.h>
16321 #endif
16323 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16325 cat >>confdefs.h <<_ACEOF
16326 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16327 _ACEOF
16331 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16332 #ifdef HAVE_SYS_PARAM_H
16333 # include <sys/param.h>
16334 #endif
16335 #ifdef HAVE_SYS_MOUNT_H
16336 # include <sys/mount.h>
16337 #endif
16338 #ifdef HAVE_SYS_VFS_H
16339 # include <sys/vfs.h>
16340 #endif
16341 #ifdef HAVE_SYS_STATFS_H
16342 # include <sys/statfs.h>
16343 #endif
16345 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16347 cat >>confdefs.h <<_ACEOF
16348 #define HAVE_STRUCT_STATFS_F_FFREE 1
16349 _ACEOF
16353 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16354 #ifdef HAVE_SYS_PARAM_H
16355 # include <sys/param.h>
16356 #endif
16357 #ifdef HAVE_SYS_MOUNT_H
16358 # include <sys/mount.h>
16359 #endif
16360 #ifdef HAVE_SYS_VFS_H
16361 # include <sys/vfs.h>
16362 #endif
16363 #ifdef HAVE_SYS_STATFS_H
16364 # include <sys/statfs.h>
16365 #endif
16367 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16369 cat >>confdefs.h <<_ACEOF
16370 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16371 _ACEOF
16375 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16376 #ifdef HAVE_SYS_PARAM_H
16377 # include <sys/param.h>
16378 #endif
16379 #ifdef HAVE_SYS_MOUNT_H
16380 # include <sys/mount.h>
16381 #endif
16382 #ifdef HAVE_SYS_VFS_H
16383 # include <sys/vfs.h>
16384 #endif
16385 #ifdef HAVE_SYS_STATFS_H
16386 # include <sys/statfs.h>
16387 #endif
16389 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16391 cat >>confdefs.h <<_ACEOF
16392 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16393 _ACEOF
16399 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16400 #include <sys/statvfs.h>
16401 #endif
16403 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16405 cat >>confdefs.h <<_ACEOF
16406 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16407 _ACEOF
16413 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16414 #include <dirent.h>
16415 #endif
16417 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16419 cat >>confdefs.h <<_ACEOF
16420 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16421 _ACEOF
16427 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16428 #ifdef HAVE_SYS_SOCKET_H
16429 # include <sys/socket.h>
16430 #endif
16431 #ifdef HAVE_SYS_UN_H
16432 # include <sys/un.h>
16433 #endif
16435 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16437 cat >>confdefs.h <<_ACEOF
16438 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16439 _ACEOF
16443 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16444 #ifdef HAVE_SYS_SOCKET_H
16445 # include <sys/socket.h>
16446 #endif
16447 #ifdef HAVE_SYS_UN_H
16448 # include <sys/un.h>
16449 #endif
16451 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16453 cat >>confdefs.h <<_ACEOF
16454 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16455 _ACEOF
16459 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16460 #ifdef HAVE_SYS_SOCKET_H
16461 # include <sys/socket.h>
16462 #endif
16463 #ifdef HAVE_SYS_UN_H
16464 # include <sys/un.h>
16465 #endif
16467 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16469 cat >>confdefs.h <<_ACEOF
16470 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16471 _ACEOF
16477 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16478 #ifdef HAVE_SCSI_SG_H
16479 #include <scsi/sg.h>
16480 #endif
16482 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16484 cat >>confdefs.h <<_ACEOF
16485 #define HAVE_SCSIREQ_T_CMD 1
16486 _ACEOF
16490 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>
16491 #ifdef HAVE_SCSI_SG_H
16492 #include <scsi/sg.h>
16493 #endif
16495 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16497 cat >>confdefs.h <<_ACEOF
16498 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16499 _ACEOF
16505 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16507 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16509 cat >>confdefs.h <<_ACEOF
16510 #define HAVE_SIGINFO_T_SI_FD 1
16511 _ACEOF
16517 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16518 #ifdef HAVE_SYS_MTIO_H
16519 #include <sys/mtio.h>
16520 #endif
16522 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16524 cat >>confdefs.h <<_ACEOF
16525 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16526 _ACEOF
16530 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16531 #ifdef HAVE_SYS_MTIO_H
16532 #include <sys/mtio.h>
16533 #endif
16535 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16537 cat >>confdefs.h <<_ACEOF
16538 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16539 _ACEOF
16543 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16544 #ifdef HAVE_SYS_MTIO_H
16545 #include <sys/mtio.h>
16546 #endif
16548 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16550 cat >>confdefs.h <<_ACEOF
16551 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16552 _ACEOF
16558 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16559 #include <getopt.h>
16560 #endif
16562 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16564 cat >>confdefs.h <<_ACEOF
16565 #define HAVE_STRUCT_OPTION_NAME 1
16566 _ACEOF
16572 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16573 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16575 cat >>confdefs.h <<_ACEOF
16576 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16577 _ACEOF
16581 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16582 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16584 cat >>confdefs.h <<_ACEOF
16585 #define HAVE_STRUCT_STAT_ST_MTIM 1
16586 _ACEOF
16590 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16591 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16593 cat >>confdefs.h <<_ACEOF
16594 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16595 _ACEOF
16599 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16600 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16602 cat >>confdefs.h <<_ACEOF
16603 #define HAVE_STRUCT_STAT_ST_CTIM 1
16604 _ACEOF
16608 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16609 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16611 cat >>confdefs.h <<_ACEOF
16612 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16613 _ACEOF
16617 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16618 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16620 cat >>confdefs.h <<_ACEOF
16621 #define HAVE_STRUCT_STAT_ST_ATIM 1
16622 _ACEOF
16626 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16627 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16629 cat >>confdefs.h <<_ACEOF
16630 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16631 _ACEOF
16635 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16636 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16638 cat >>confdefs.h <<_ACEOF
16639 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16640 _ACEOF
16644 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16645 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16647 cat >>confdefs.h <<_ACEOF
16648 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16649 _ACEOF
16653 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16654 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16656 cat >>confdefs.h <<_ACEOF
16657 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16658 _ACEOF
16662 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16663 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16665 cat >>confdefs.h <<_ACEOF
16666 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16667 _ACEOF
16671 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16672 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16674 cat >>confdefs.h <<_ACEOF
16675 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16676 _ACEOF
16682 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
16683 #include <sys/types.h>
16684 #endif
16685 #ifdef HAVE_NETINET_IN_H
16686 #include <netinet/in.h>
16687 #endif
16689 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16691 cat >>confdefs.h <<_ACEOF
16692 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16693 _ACEOF
16699 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16700 #include <resolv.h>
16701 #endif
16703 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16705 cat >>confdefs.h <<_ACEOF
16706 #define HAVE_STRUCT___RES_STATE 1
16707 _ACEOF
16713 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
16714 #include <resolv.h>
16715 #endif
16717 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16719 cat >>confdefs.h <<_ACEOF
16720 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16721 _ACEOF
16727 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16728 #include <sys/types.h>
16729 #endif
16730 #ifdef HAVE_NETINET_IN_H
16731 # include <netinet/in.h>
16732 #endif
16733 #ifdef HAVE_ARPA_NAMESER_H
16734 # include <arpa/nameser.h>
16735 #endif
16737 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16739 cat >>confdefs.h <<_ACEOF
16740 #define HAVE_NS_MSG__MSG_PTR 1
16741 _ACEOF
16747 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16748 #include <sys/types.h>
16749 #endif
16750 #ifdef HAVE_NETINET_IP_H
16751 #include <netinet/ip.h>
16752 #endif
16753 #ifdef HAVE_NETINET_IP_ICMP_H
16754 #include <netinet/ip_icmp.h>
16755 #endif
16756 #ifdef HAVE_NETINET_ICMP_VAR_H
16757 #include <netinet/icmp_var.h>
16758 #endif
16760 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16762 cat >>confdefs.h <<_ACEOF
16763 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16764 _ACEOF
16770 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16771 #include <sys/types.h>
16772 #endif
16773 #ifdef HAVE_ALIAS_H
16774 #include <alias.h>
16775 #endif
16776 #ifdef HAVE_SYS_SOCKET_H
16777 #include <sys/socket.h>
16778 #endif
16779 #ifdef HAVE_SYS_SOCKETVAR_H
16780 #include <sys/socketvar.h>
16781 #endif
16782 #ifdef HAVE_SYS_TIMEOUT_H
16783 #include <sys/timeout.h>
16784 #endif
16785 #ifdef HAVE_NETINET_IN_H
16786 #include <netinet/in.h>
16787 #endif
16788 #ifdef HAVE_NETINET_IN_SYSTM_H
16789 #include <netinet/in_systm.h>
16790 #endif
16791 #ifdef HAVE_NETINET_IP_H
16792 #include <netinet/ip.h>
16793 #endif
16794 #ifdef HAVE_NETINET_IP_VAR_H
16795 #include <netinet/ip_var.h>
16796 #endif
16797 #ifdef HAVE_NETINET_IP_ICMP_H
16798 #include <netinet/ip_icmp.h>
16799 #endif
16800 #ifdef HAVE_NETINET_ICMP_VAR_H
16801 #include <netinet/icmp_var.h>
16802 #endif
16804 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16806 cat >>confdefs.h <<_ACEOF
16807 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16808 _ACEOF
16814 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16815 #include <sys/types.h>
16816 #endif
16817 #ifdef HAVE_SYS_SOCKETVAR_H
16818 #include <sys/socketvar.h>
16819 #endif
16820 #ifdef HAVE_NETINET_IN_H
16821 #include <netinet/in.h>
16822 #endif
16823 #ifdef HAVE_NETINET_IP_VAR_H
16824 #include <netinet/ip_var.h>
16825 #endif
16827 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16829 cat >>confdefs.h <<_ACEOF
16830 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16831 _ACEOF
16837 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
16838 #include <netinet/ip_var.h>
16839 #endif
16841 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16843 cat >>confdefs.h <<_ACEOF
16844 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16845 _ACEOF
16851 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16852 #include <sys/types.h>
16853 #endif
16854 #ifdef HAVE_SYS_SOCKETVAR_H
16855 #include <sys/socketvar.h>
16856 #endif
16857 #ifdef HAVE_NETINET_IN_H
16858 #include <netinet/in.h>
16859 #endif
16860 #ifdef HAVE_NETINET_TCP_H
16861 #include <netinet/tcp.h>
16862 #endif
16863 #ifdef HAVE_NETINET_TCP_VAR_H
16864 #include <netinet/tcp_var.h>
16865 #endif
16867 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16869 cat >>confdefs.h <<_ACEOF
16870 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16871 _ACEOF
16877 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
16878 #include <netinet/tcp_var.h>
16879 #endif
16881 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16883 cat >>confdefs.h <<_ACEOF
16884 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16885 _ACEOF
16891 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16892 #include <sys/types.h>
16893 #endif
16894 #ifdef HAVE_NETINET_IN_H
16895 #include <netinet/in.h>
16896 #endif
16897 #ifdef HAVE_NETINET_IP_VAR_H
16898 #include <netinet/ip_var.h>
16899 #endif
16900 #ifdef HAVE_NETINET_UDP_H
16901 #include <netinet/udp.h>
16902 #endif
16903 #ifdef HAVE_NETINET_UDP_VAR_H
16904 #include <netinet/udp_var.h>
16905 #endif
16907 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16909 cat >>confdefs.h <<_ACEOF
16910 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16911 _ACEOF
16917 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16918 #include <sys/types.h>
16919 #endif
16920 #ifdef HAVE_NET_IF_H
16921 # include <net/if.h>
16922 #endif
16924 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16926 cat >>confdefs.h <<_ACEOF
16927 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16928 _ACEOF
16934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16935 $as_echo_n "checking for timezone variable... " >&6; }
16936 if ${ac_cv_have_timezone+:} false; then :
16937 $as_echo_n "(cached) " >&6
16938 else
16939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16940 /* end confdefs.h. */
16941 #include <time.h>
16943 main ()
16945 timezone = 1
16947 return 0;
16949 _ACEOF
16950 if ac_fn_c_try_link "$LINENO"; then :
16951 ac_cv_have_timezone="yes"
16952 else
16953 ac_cv_have_timezone="no"
16955 rm -f core conftest.err conftest.$ac_objext \
16956 conftest$ac_exeext conftest.$ac_ext
16958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16959 $as_echo "$ac_cv_have_timezone" >&6; }
16960 if test "$ac_cv_have_timezone" = "yes"
16961 then
16963 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16967 $as_echo_n "checking for daylight variable... " >&6; }
16968 if ${ac_cv_have_daylight+:} false; then :
16969 $as_echo_n "(cached) " >&6
16970 else
16971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16972 /* end confdefs.h. */
16973 #include <time.h>
16975 main ()
16977 daylight = 1
16979 return 0;
16981 _ACEOF
16982 if ac_fn_c_try_link "$LINENO"; then :
16983 ac_cv_have_daylight="yes"
16984 else
16985 ac_cv_have_daylight="no"
16987 rm -f core conftest.err conftest.$ac_objext \
16988 conftest$ac_exeext conftest.$ac_ext
16990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16991 $as_echo "$ac_cv_have_daylight" >&6; }
16992 if test "$ac_cv_have_daylight" = "yes"
16993 then
16995 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16999 ac_save_LIBS="$LIBS"
17000 LIBS="$LIBS -lm"
17001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17002 $as_echo_n "checking for isfinite... " >&6; }
17003 if ${ac_cv_have_isfinite+:} false; then :
17004 $as_echo_n "(cached) " >&6
17005 else
17006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17007 /* end confdefs.h. */
17008 #define _GNU_SOURCE
17009 #include <math.h>
17011 main ()
17013 float f = 0.0; return isfinite(f)
17015 return 0;
17017 _ACEOF
17018 if ac_fn_c_try_link "$LINENO"; then :
17019 ac_cv_have_isfinite="yes"
17020 else
17021 ac_cv_have_isfinite="no"
17023 rm -f core conftest.err conftest.$ac_objext \
17024 conftest$ac_exeext conftest.$ac_ext
17026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17027 $as_echo "$ac_cv_have_isfinite" >&6; }
17028 if test "$ac_cv_have_isfinite" = "yes"
17029 then
17031 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17036 $as_echo_n "checking for isinf... " >&6; }
17037 if ${ac_cv_have_isinf+:} false; then :
17038 $as_echo_n "(cached) " >&6
17039 else
17040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17041 /* end confdefs.h. */
17042 #include <math.h>
17044 main ()
17046 float f = 0.0; return isinf(f)
17048 return 0;
17050 _ACEOF
17051 if ac_fn_c_try_link "$LINENO"; then :
17052 ac_cv_have_isinf="yes"
17053 else
17054 ac_cv_have_isinf="no"
17056 rm -f core conftest.err conftest.$ac_objext \
17057 conftest$ac_exeext conftest.$ac_ext
17059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17060 $as_echo "$ac_cv_have_isinf" >&6; }
17061 if test "$ac_cv_have_isinf" = "yes"
17062 then
17064 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17069 $as_echo_n "checking for isnan... " >&6; }
17070 if ${ac_cv_have_isnan+:} false; then :
17071 $as_echo_n "(cached) " >&6
17072 else
17073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17074 /* end confdefs.h. */
17075 #include <math.h>
17077 main ()
17079 float f = 0.0; return isnan(f)
17081 return 0;
17083 _ACEOF
17084 if ac_fn_c_try_link "$LINENO"; then :
17085 ac_cv_have_isnan="yes"
17086 else
17087 ac_cv_have_isnan="no"
17089 rm -f core conftest.err conftest.$ac_objext \
17090 conftest$ac_exeext conftest.$ac_ext
17092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17093 $as_echo "$ac_cv_have_isnan" >&6; }
17094 if test "$ac_cv_have_isnan" = "yes"
17095 then
17097 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17101 for ac_func in \
17102 asinh \
17103 asinhf \
17104 cbrt \
17105 cbrtf \
17106 erf \
17107 erff \
17108 exp2 \
17109 exp2f \
17110 lgamma \
17111 lgammaf \
17112 llrint \
17113 llrintf \
17114 llround \
17115 llroundf \
17116 log2 \
17117 log2f \
17118 lrint \
17119 lrintf \
17120 lround \
17121 lroundf \
17122 powl \
17123 remainder \
17124 remainderf \
17125 rint \
17126 rintf \
17127 round \
17128 roundf \
17129 trunc \
17130 truncf
17132 do :
17133 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17134 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17135 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17136 cat >>confdefs.h <<_ACEOF
17137 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17138 _ACEOF
17141 done
17143 LIBS="$ac_save_LIBS"
17145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17146 $as_echo_n "checking for __builtin_clz... " >&6; }
17147 if ${ac_cv_have___builtin_clz+:} false; then :
17148 $as_echo_n "(cached) " >&6
17149 else
17150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17151 /* end confdefs.h. */
17154 main ()
17156 return __builtin_clz(1)
17158 return 0;
17160 _ACEOF
17161 if ac_fn_c_try_link "$LINENO"; then :
17162 ac_cv_have___builtin_clz="yes"
17163 else
17164 ac_cv_have___builtin_clz="no"
17166 rm -f core conftest.err conftest.$ac_objext \
17167 conftest$ac_exeext conftest.$ac_ext
17169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17170 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17171 if test "$ac_cv_have___builtin_clz" = "yes"
17172 then
17174 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17179 $as_echo_n "checking for __builtin_popcount... " >&6; }
17180 if ${ac_cv_have___builtin_popcount+:} false; then :
17181 $as_echo_n "(cached) " >&6
17182 else
17183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17184 /* end confdefs.h. */
17187 main ()
17189 return __builtin_popcount(1)
17191 return 0;
17193 _ACEOF
17194 if ac_fn_c_try_link "$LINENO"; then :
17195 ac_cv_have___builtin_popcount="yes"
17196 else
17197 ac_cv_have___builtin_popcount="no"
17199 rm -f core conftest.err conftest.$ac_objext \
17200 conftest$ac_exeext conftest.$ac_ext
17202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17203 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17204 if test "$ac_cv_have___builtin_popcount" = "yes"
17205 then
17207 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17212 case $host_cpu in
17213 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17214 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17215 if ${ac_cv_cpp_def___i386__+:} false; then :
17216 $as_echo_n "(cached) " >&6
17217 else
17218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17219 /* end confdefs.h. */
17220 #ifndef __i386__
17222 #endif
17223 _ACEOF
17224 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17225 $EGREP "yes" >/dev/null 2>&1; then :
17226 ac_cv_cpp_def___i386__=yes
17227 else
17228 ac_cv_cpp_def___i386__=no
17230 rm -f conftest*
17233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17234 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17235 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17236 CFLAGS="$CFLAGS -D__i386__"
17237 LINTFLAGS="$LINTFLAGS -D__i386__"
17238 fi ;;
17239 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17240 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17241 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17242 $as_echo_n "(cached) " >&6
17243 else
17244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17245 /* end confdefs.h. */
17246 #ifndef __x86_64__
17248 #endif
17249 _ACEOF
17250 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17251 $EGREP "yes" >/dev/null 2>&1; then :
17252 ac_cv_cpp_def___x86_64__=yes
17253 else
17254 ac_cv_cpp_def___x86_64__=no
17256 rm -f conftest*
17259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17260 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17261 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17262 CFLAGS="$CFLAGS -D__x86_64__"
17263 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17264 fi ;;
17265 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17266 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17267 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17268 $as_echo_n "(cached) " >&6
17269 else
17270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17271 /* end confdefs.h. */
17272 #ifndef __sparc64__
17274 #endif
17275 _ACEOF
17276 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17277 $EGREP "yes" >/dev/null 2>&1; then :
17278 ac_cv_cpp_def___sparc64__=yes
17279 else
17280 ac_cv_cpp_def___sparc64__=no
17282 rm -f conftest*
17285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17286 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17287 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17288 CFLAGS="$CFLAGS -D__sparc64__"
17289 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17290 fi ;;
17291 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17292 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17293 if ${ac_cv_cpp_def___sparc__+:} false; then :
17294 $as_echo_n "(cached) " >&6
17295 else
17296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17297 /* end confdefs.h. */
17298 #ifndef __sparc__
17300 #endif
17301 _ACEOF
17302 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17303 $EGREP "yes" >/dev/null 2>&1; then :
17304 ac_cv_cpp_def___sparc__=yes
17305 else
17306 ac_cv_cpp_def___sparc__=no
17308 rm -f conftest*
17311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17312 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17313 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17314 CFLAGS="$CFLAGS -D__sparc__"
17315 LINTFLAGS="$LINTFLAGS -D__sparc__"
17316 fi ;;
17317 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17318 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17319 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17320 $as_echo_n "(cached) " >&6
17321 else
17322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17323 /* end confdefs.h. */
17324 #ifndef __powerpc64__
17326 #endif
17327 _ACEOF
17328 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17329 $EGREP "yes" >/dev/null 2>&1; then :
17330 ac_cv_cpp_def___powerpc64__=yes
17331 else
17332 ac_cv_cpp_def___powerpc64__=no
17334 rm -f conftest*
17337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17338 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17339 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17340 CFLAGS="$CFLAGS -D__powerpc64__"
17341 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17342 fi ;;
17343 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17344 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17345 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17346 $as_echo_n "(cached) " >&6
17347 else
17348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17349 /* end confdefs.h. */
17350 #ifndef __powerpc__
17352 #endif
17353 _ACEOF
17354 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17355 $EGREP "yes" >/dev/null 2>&1; then :
17356 ac_cv_cpp_def___powerpc__=yes
17357 else
17358 ac_cv_cpp_def___powerpc__=no
17360 rm -f conftest*
17363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17364 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17365 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17366 CFLAGS="$CFLAGS -D__powerpc__"
17367 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17368 fi ;;
17369 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17370 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17371 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17372 $as_echo_n "(cached) " >&6
17373 else
17374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17375 /* end confdefs.h. */
17376 #ifndef __aarch64__
17378 #endif
17379 _ACEOF
17380 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17381 $EGREP "yes" >/dev/null 2>&1; then :
17382 ac_cv_cpp_def___aarch64__=yes
17383 else
17384 ac_cv_cpp_def___aarch64__=no
17386 rm -f conftest*
17389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17390 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17391 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17392 CFLAGS="$CFLAGS -D__aarch64__"
17393 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17394 fi ;;
17395 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17396 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17397 if ${ac_cv_cpp_def___arm__+:} false; then :
17398 $as_echo_n "(cached) " >&6
17399 else
17400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17401 /* end confdefs.h. */
17402 #ifndef __arm__
17404 #endif
17405 _ACEOF
17406 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17407 $EGREP "yes" >/dev/null 2>&1; then :
17408 ac_cv_cpp_def___arm__=yes
17409 else
17410 ac_cv_cpp_def___arm__=no
17412 rm -f conftest*
17415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17416 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17417 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17418 CFLAGS="$CFLAGS -D__arm__"
17419 LINTFLAGS="$LINTFLAGS -D__arm__"
17420 fi ;;
17421 esac
17423 case $host_vendor in
17424 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17425 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17426 if ${ac_cv_cpp_def___sun__+:} false; then :
17427 $as_echo_n "(cached) " >&6
17428 else
17429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17430 /* end confdefs.h. */
17431 #ifndef __sun__
17433 #endif
17434 _ACEOF
17435 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17436 $EGREP "yes" >/dev/null 2>&1; then :
17437 ac_cv_cpp_def___sun__=yes
17438 else
17439 ac_cv_cpp_def___sun__=no
17441 rm -f conftest*
17444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17445 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17446 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17447 CFLAGS="$CFLAGS -D__sun__"
17448 LINTFLAGS="$LINTFLAGS -D__sun__"
17449 fi ;;
17450 esac
17456 ac_config_commands="$ac_config_commands include/stamp-h"
17458 $as_echo_n "creating Makefile rules..." >&6
17460 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17461 SOCKET_LIBS = $SOCKET_LIBS
17462 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17463 IOKIT_LIBS = $IOKIT_LIBS
17464 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17465 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17466 CORESERVICES_LIBS = $CORESERVICES_LIBS
17467 APPKIT_LIBS = $APPKIT_LIBS
17468 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17469 SECURITY_LIBS = $SECURITY_LIBS
17470 COREAUDIO_LIBS = $COREAUDIO_LIBS
17471 OPENAL_LIBS = $OPENAL_LIBS
17472 OPENCL_LIBS = $OPENCL_LIBS
17473 QUICKTIME_LIBS = $QUICKTIME_LIBS
17474 CARBON_LIBS = $CARBON_LIBS
17475 PTHREAD_LIBS = $PTHREAD_LIBS
17476 X_CFLAGS = $X_CFLAGS
17477 X_PRE_LIBS = $X_PRE_LIBS
17478 X_LIBS = $X_LIBS
17479 X_EXTRA_LIBS = $X_EXTRA_LIBS
17480 PCAP_LIBS = $PCAP_LIBS
17481 XML2_CFLAGS = $XML2_CFLAGS
17482 XML2_LIBS = $XML2_LIBS
17483 XSLT_CFLAGS = $XSLT_CFLAGS
17484 XSLT_LIBS = $XSLT_LIBS
17485 DBUS_CFLAGS = $DBUS_CFLAGS
17486 DBUS_LIBS = $DBUS_LIBS
17487 HAL_CFLAGS = $HAL_CFLAGS
17488 HAL_LIBS = $HAL_LIBS
17489 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17490 GNUTLS_LIBS = $GNUTLS_LIBS
17491 SANE_CFLAGS = $SANE_CFLAGS
17492 SANE_LIBS = $SANE_LIBS
17493 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17494 GPHOTO2_LIBS = $GPHOTO2_LIBS
17495 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17496 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17497 RESOLV_LIBS = $RESOLV_LIBS
17498 LCMS2_CFLAGS = $LCMS2_CFLAGS
17499 LCMS2_LIBS = $LCMS2_LIBS
17500 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17501 FREETYPE_LIBS = $FREETYPE_LIBS
17502 Z_LIBS = $Z_LIBS
17503 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17504 PULSE_CFLAGS = $PULSE_CFLAGS
17505 PULSE_LIBS = $PULSE_LIBS
17506 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17507 GSTREAMER_LIBS = $GSTREAMER_LIBS
17508 ALSA_LIBS = $ALSA_LIBS
17509 OSS4_CFLAGS = $OSS4_CFLAGS
17510 UDEV_CFLAGS = $UDEV_CFLAGS
17511 UDEV_LIBS = $UDEV_LIBS
17512 CAPI20_CFLAGS = $CAPI20_CFLAGS
17513 CAPI20_LIBS = $CAPI20_LIBS
17514 CUPS_CFLAGS = $CUPS_CFLAGS
17515 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17516 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17517 JPEG_CFLAGS = $JPEG_CFLAGS
17518 JPEG_LIBS = $JPEG_LIBS
17519 PNG_CFLAGS = $PNG_CFLAGS
17520 PNG_LIBS = $PNG_LIBS
17521 TIFF_CFLAGS = $TIFF_CFLAGS
17522 TIFF_LIBS = $TIFF_LIBS
17523 MPG123_CFLAGS = $MPG123_CFLAGS
17524 MPG123_LIBS = $MPG123_LIBS
17525 KSTAT_LIBS = $KSTAT_LIBS
17526 PROCSTAT_LIBS = $PROCSTAT_LIBS
17527 NETAPI_CFLAGS = $NETAPI_CFLAGS
17528 NETAPI_LIBS = $NETAPI_LIBS
17529 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17530 DL_LIBS = $DL_LIBS
17531 POLL_LIBS = $POLL_LIBS
17532 RT_LIBS = $RT_LIBS
17533 LDAP_LIBS = $LDAP_LIBS
17538 wine_fn_append_rule "
17539 # Rules automatically generated by configure
17541 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17543 .INIT: Makefile
17544 .MAKEFILEDEPS:
17545 all: Makefile
17546 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17547 @./config.status Make.tmp Makefile
17548 depend: \$(MAKEDEP) dummy
17549 \$(MAKEDEP)"
17551 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17552 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17554 if test "x$enable_fonts" != xno; then
17555 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17556 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17557 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17558 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17559 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17560 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17562 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17563 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17564 ac_config_links="$ac_config_links wine:tools/winewrapper"
17565 wine_fn_config_symlink wine
17566 if test "x$enable_win64" != xno; then
17567 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17568 wine_fn_config_symlink wine64
17571 wine_fn_config_dll acledit enable_acledit
17572 wine_fn_config_dll aclui enable_aclui implib
17573 wine_fn_config_dll activeds enable_activeds implib
17574 wine_fn_config_dll actxprxy enable_actxprxy clean
17575 wine_fn_config_lib adsiid
17576 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17577 wine_fn_config_test dlls/advapi32/tests advapi32_test
17578 wine_fn_config_dll advpack enable_advpack implib
17579 wine_fn_config_test dlls/advpack/tests advpack_test
17580 wine_fn_config_dll amstream enable_amstream clean
17581 wine_fn_config_test dlls/amstream/tests amstream_test
17582 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
17583 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17584 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
17585 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
17586 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17587 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
17588 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17589 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17590 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17591 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17592 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17593 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17594 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17595 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17596 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
17597 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17598 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17599 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17600 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17601 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17602 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17603 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17604 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17605 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17606 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17607 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17608 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17609 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17610 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17611 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17612 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17613 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17614 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
17615 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17616 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17617 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17618 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17619 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17620 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
17621 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17622 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17623 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17624 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
17625 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17626 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17627 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17628 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
17629 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17630 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
17631 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
17632 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17633 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17634 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17635 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17636 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17637 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17638 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17639 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
17640 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
17641 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17642 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
17643 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17644 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17645 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17646 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17647 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17648 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17649 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17650 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
17651 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
17652 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17653 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
17654 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17655 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17656 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17657 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
17658 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
17659 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17660 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17661 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
17662 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
17663 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17664 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17665 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17666 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17667 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17668 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
17669 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17670 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17671 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17672 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
17673 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17674 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17675 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17676 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
17677 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
17678 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
17679 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17680 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17681 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
17682 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17683 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17684 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17685 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17686 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
17687 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17688 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17689 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17690 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17691 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17692 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17693 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17694 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17695 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17696 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17697 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17698 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17699 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17700 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17701 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17702 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17703 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17704 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17705 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17706 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17707 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17708 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17709 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17710 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17711 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17712 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17713 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
17714 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
17715 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17716 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
17717 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17718 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
17719 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
17720 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17721 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17722 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
17723 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17724 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17725 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17726 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
17727 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17728 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17729 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
17730 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
17731 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
17732 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17733 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
17734 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
17735 wine_fn_config_dll apphelp enable_apphelp
17736 wine_fn_config_test dlls/apphelp/tests apphelp_test
17737 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17738 wine_fn_config_dll atl enable_atl clean,implib
17739 wine_fn_config_test dlls/atl/tests atl_test
17740 wine_fn_config_dll atl100 enable_atl100 clean,implib
17741 wine_fn_config_test dlls/atl100/tests atl100_test
17742 wine_fn_config_dll atl110 enable_atl110 clean
17743 wine_fn_config_dll atl80 enable_atl80 clean,implib
17744 wine_fn_config_test dlls/atl80/tests atl80_test
17745 wine_fn_config_dll atl90 enable_atl90 clean
17746 wine_fn_config_dll authz enable_authz
17747 wine_fn_config_dll avicap32 enable_avicap32 implib
17748 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
17749 wine_fn_config_test dlls/avifil32/tests avifil32_test
17750 wine_fn_config_dll avifile.dll16 enable_win16
17751 wine_fn_config_dll avrt enable_avrt implib
17752 wine_fn_config_dll bcrypt enable_bcrypt implib
17753 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17754 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17755 wine_fn_config_dll browseui enable_browseui clean
17756 wine_fn_config_test dlls/browseui/tests browseui_test
17757 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17758 wine_fn_config_dll cabinet enable_cabinet implib
17759 wine_fn_config_test dlls/cabinet/tests cabinet_test
17760 wine_fn_config_dll capi2032 enable_capi2032 implib
17761 wine_fn_config_dll cards enable_cards implib
17762 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17763 wine_fn_config_dll clusapi enable_clusapi implib
17764 wine_fn_config_dll combase enable_combase
17765 wine_fn_config_test dlls/combase/tests combase_test
17766 wine_fn_config_dll comcat enable_comcat
17767 wine_fn_config_test dlls/comcat/tests comcat_test
17768 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
17769 wine_fn_config_test dlls/comctl32/tests comctl32_test
17770 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
17771 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17772 wine_fn_config_dll comm.drv16 enable_win16
17773 wine_fn_config_dll commdlg.dll16 enable_win16
17774 wine_fn_config_dll compobj.dll16 enable_win16
17775 wine_fn_config_dll compstui enable_compstui implib
17776 wine_fn_config_dll comsvcs enable_comsvcs implib
17777 wine_fn_config_dll concrt140 enable_concrt140
17778 wine_fn_config_dll connect enable_connect
17779 wine_fn_config_dll credui enable_credui clean,implib
17780 wine_fn_config_test dlls/credui/tests credui_test
17781 wine_fn_config_dll crtdll enable_crtdll
17782 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
17783 wine_fn_config_test dlls/crypt32/tests crypt32_test
17784 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17785 wine_fn_config_dll cryptdll enable_cryptdll implib
17786 wine_fn_config_dll cryptext enable_cryptext
17787 wine_fn_config_dll cryptnet enable_cryptnet implib
17788 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17789 wine_fn_config_dll cryptui enable_cryptui clean,implib
17790 wine_fn_config_test dlls/cryptui/tests cryptui_test
17791 wine_fn_config_dll ctapi32 enable_ctapi32
17792 wine_fn_config_dll ctl3d.dll16 enable_win16
17793 wine_fn_config_dll ctl3d32 enable_ctl3d32
17794 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17795 wine_fn_config_dll d2d1 enable_d2d1 implib
17796 wine_fn_config_test dlls/d2d1/tests d2d1_test
17797 wine_fn_config_dll d3d10 enable_d3d10 implib
17798 wine_fn_config_test dlls/d3d10/tests d3d10_test
17799 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17800 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17801 wine_fn_config_dll d3d10core enable_d3d10core implib
17802 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17803 wine_fn_config_dll d3d11 enable_d3d11 implib
17804 wine_fn_config_test dlls/d3d11/tests d3d11_test
17805 wine_fn_config_dll d3d8 enable_d3d8 implib
17806 wine_fn_config_test dlls/d3d8/tests d3d8_test
17807 wine_fn_config_dll d3d9 enable_d3d9 implib
17808 wine_fn_config_test dlls/d3d9/tests d3d9_test
17809 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17810 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17811 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17812 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17813 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17814 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17815 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17816 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17817 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17818 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17819 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17820 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17821 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17822 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17823 wine_fn_config_dll d3dim enable_d3dim
17824 wine_fn_config_dll d3drm enable_d3drm implib
17825 wine_fn_config_test dlls/d3drm/tests d3drm_test
17826 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17827 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17828 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17829 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17830 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17831 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17832 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17833 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17834 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17835 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17836 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17837 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
17838 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17839 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
17840 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17841 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17842 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17843 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17844 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17845 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17846 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17847 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17848 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17849 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17850 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17851 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17852 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17853 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17854 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17855 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17856 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17857 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17858 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17859 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17860 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17861 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17862 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17863 wine_fn_config_dll davclnt enable_davclnt
17864 wine_fn_config_dll dbgeng enable_dbgeng implib
17865 wine_fn_config_dll dbghelp enable_dbghelp implib
17866 wine_fn_config_dll dciman32 enable_dciman32 implib
17867 wine_fn_config_dll ddeml.dll16 enable_win16
17868 wine_fn_config_dll ddraw enable_ddraw clean,implib
17869 wine_fn_config_test dlls/ddraw/tests ddraw_test
17870 wine_fn_config_dll ddrawex enable_ddrawex clean
17871 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17872 wine_fn_config_dll devenum enable_devenum clean
17873 wine_fn_config_test dlls/devenum/tests devenum_test
17874 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17875 wine_fn_config_dll difxapi enable_difxapi
17876 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
17877 wine_fn_config_test dlls/dinput/tests dinput_test
17878 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17879 wine_fn_config_test dlls/dinput8/tests dinput8_test
17880 wine_fn_config_dll dispdib.dll16 enable_win16
17881 wine_fn_config_dll dispex enable_dispex clean
17882 wine_fn_config_test dlls/dispex/tests dispex_test
17883 wine_fn_config_dll display.drv16 enable_win16
17884 wine_fn_config_dll dmband enable_dmband clean
17885 wine_fn_config_test dlls/dmband/tests dmband_test
17886 wine_fn_config_dll dmcompos enable_dmcompos clean
17887 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17888 wine_fn_config_dll dmime enable_dmime clean
17889 wine_fn_config_test dlls/dmime/tests dmime_test
17890 wine_fn_config_dll dmloader enable_dmloader clean
17891 wine_fn_config_test dlls/dmloader/tests dmloader_test
17892 wine_fn_config_dll dmscript enable_dmscript clean
17893 wine_fn_config_test dlls/dmscript/tests dmscript_test
17894 wine_fn_config_dll dmstyle enable_dmstyle clean
17895 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17896 wine_fn_config_dll dmsynth enable_dmsynth clean
17897 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17898 wine_fn_config_dll dmusic enable_dmusic clean
17899 wine_fn_config_test dlls/dmusic/tests dmusic_test
17900 wine_fn_config_dll dmusic32 enable_dmusic32
17901 wine_fn_config_dll dnsapi enable_dnsapi implib
17902 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17903 wine_fn_config_dll dplay enable_dplay
17904 wine_fn_config_dll dplayx enable_dplayx clean,implib
17905 wine_fn_config_test dlls/dplayx/tests dplayx_test
17906 wine_fn_config_dll dpnaddr enable_dpnaddr
17907 wine_fn_config_dll dpnet enable_dpnet clean,implib
17908 wine_fn_config_test dlls/dpnet/tests dpnet_test
17909 wine_fn_config_dll dpnhpast enable_dpnhpast
17910 wine_fn_config_dll dpnlobby enable_dpnlobby
17911 wine_fn_config_dll dpvoice enable_dpvoice clean
17912 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17913 wine_fn_config_dll dpwsockx enable_dpwsockx
17914 wine_fn_config_dll drmclien enable_drmclien
17915 wine_fn_config_dll dsound enable_dsound clean,implib
17916 wine_fn_config_test dlls/dsound/tests dsound_test
17917 wine_fn_config_dll dssenh enable_dssenh
17918 wine_fn_config_test dlls/dssenh/tests dssenh_test
17919 wine_fn_config_dll dswave enable_dswave clean
17920 wine_fn_config_test dlls/dswave/tests dswave_test
17921 wine_fn_config_dll dwmapi enable_dwmapi implib
17922 wine_fn_config_dll dwrite enable_dwrite implib
17923 wine_fn_config_test dlls/dwrite/tests dwrite_test
17924 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17925 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17926 wine_fn_config_lib dxerr8
17927 wine_fn_config_lib dxerr9
17928 wine_fn_config_dll dxgi enable_dxgi implib
17929 wine_fn_config_test dlls/dxgi/tests dxgi_test
17930 wine_fn_config_lib dxguid
17931 wine_fn_config_dll dxva2 enable_dxva2
17932 wine_fn_config_dll esent enable_esent
17933 wine_fn_config_dll evr enable_evr
17934 wine_fn_config_dll explorerframe enable_explorerframe clean
17935 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17936 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
17937 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
17938 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17939 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
17940 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
17941 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
17942 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
17943 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
17944 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
17945 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
17946 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
17947 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
17948 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
17949 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
17950 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
17951 wine_fn_config_dll faultrep enable_faultrep implib
17952 wine_fn_config_test dlls/faultrep/tests faultrep_test
17953 wine_fn_config_dll fltlib enable_fltlib
17954 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17955 wine_fn_config_dll fntcache enable_fntcache
17956 wine_fn_config_dll fontsub enable_fontsub
17957 wine_fn_config_dll fusion enable_fusion
17958 wine_fn_config_test dlls/fusion/tests fusion_test
17959 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17960 wine_fn_config_dll gameux enable_gameux clean
17961 wine_fn_config_test dlls/gameux/tests gameux_test
17962 wine_fn_config_dll gdi.exe16 enable_win16
17963 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
17964 wine_fn_config_test dlls/gdi32/tests gdi32_test
17965 wine_fn_config_dll gdiplus enable_gdiplus implib
17966 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17967 wine_fn_config_dll glu32 enable_glu32 implib
17968 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
17969 wine_fn_config_dll gpkcsp enable_gpkcsp
17970 wine_fn_config_dll hal enable_hal
17971 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
17972 wine_fn_config_dll hid enable_hid implib
17973 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17974 wine_fn_config_dll hlink enable_hlink clean,implib
17975 wine_fn_config_test dlls/hlink/tests hlink_test
17976 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17977 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
17978 wine_fn_config_dll httpapi enable_httpapi
17979 wine_fn_config_dll iccvid enable_iccvid clean
17980 wine_fn_config_dll icmp enable_icmp
17981 wine_fn_config_dll ieframe enable_ieframe clean,implib
17982 wine_fn_config_test dlls/ieframe/tests ieframe_test
17983 wine_fn_config_dll ifsmgr.vxd enable_win16
17984 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17985 wine_fn_config_dll imagehlp enable_imagehlp implib
17986 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17987 wine_fn_config_dll imm.dll16 enable_win16
17988 wine_fn_config_dll imm32 enable_imm32 implib
17989 wine_fn_config_test dlls/imm32/tests imm32_test
17990 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17991 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17992 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
17993 wine_fn_config_dll inetmib1 enable_inetmib1
17994 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17995 wine_fn_config_dll infosoft enable_infosoft clean
17996 wine_fn_config_test dlls/infosoft/tests infosoft_test
17997 wine_fn_config_dll initpki enable_initpki
17998 wine_fn_config_dll inkobj enable_inkobj
17999 wine_fn_config_dll inseng enable_inseng clean
18000 wine_fn_config_dll iphlpapi enable_iphlpapi implib
18001 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
18002 wine_fn_config_dll iprop enable_iprop
18003 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18004 wine_fn_config_dll itircl enable_itircl
18005 wine_fn_config_dll itss enable_itss clean
18006 wine_fn_config_test dlls/itss/tests itss_test
18007 wine_fn_config_dll joy.cpl enable_joy_cpl clean
18008 wine_fn_config_dll jscript enable_jscript clean
18009 wine_fn_config_test dlls/jscript/tests jscript_test
18010 wine_fn_config_dll jsproxy enable_jsproxy implib
18011 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
18012 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
18013 wine_fn_config_test dlls/kernel32/tests kernel32_test
18014 wine_fn_config_dll kernelbase enable_kernelbase
18015 wine_fn_config_dll keyboard.drv16 enable_win16
18016 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
18017 wine_fn_config_dll ksuser enable_ksuser
18018 wine_fn_config_dll ktmw32 enable_ktmw32
18019 wine_fn_config_dll loadperf enable_loadperf implib
18020 wine_fn_config_dll localspl enable_localspl clean
18021 wine_fn_config_test dlls/localspl/tests localspl_test
18022 wine_fn_config_dll localui enable_localui clean
18023 wine_fn_config_test dlls/localui/tests localui_test
18024 wine_fn_config_dll lz32 enable_lz32 implib
18025 wine_fn_config_test dlls/lz32/tests lz32_test
18026 wine_fn_config_dll lzexpand.dll16 enable_win16
18027 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
18028 wine_fn_config_test dlls/mapi32/tests mapi32_test
18029 wine_fn_config_dll mapistub enable_mapistub
18030 wine_fn_config_dll mciavi32 enable_mciavi32
18031 wine_fn_config_dll mcicda enable_mcicda
18032 wine_fn_config_dll mciqtz32 enable_mciqtz32
18033 wine_fn_config_dll mciseq enable_mciseq
18034 wine_fn_config_dll mciwave enable_mciwave
18035 wine_fn_config_dll mf enable_mf
18036 wine_fn_config_dll mfplat enable_mfplat
18037 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18038 wine_fn_config_dll mgmtapi enable_mgmtapi
18039 wine_fn_config_dll midimap enable_midimap
18040 wine_fn_config_dll mlang enable_mlang clean,implib
18041 wine_fn_config_test dlls/mlang/tests mlang_test
18042 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18043 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
18044 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18045 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
18046 wine_fn_config_dll mmdevldr.vxd enable_win16
18047 wine_fn_config_dll mmsystem.dll16 enable_win16
18048 wine_fn_config_dll monodebg.vxd enable_win16
18049 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18050 wine_fn_config_dll mouse.drv16 enable_win16
18051 wine_fn_config_dll mpr enable_mpr clean,implib
18052 wine_fn_config_test dlls/mpr/tests mpr_test
18053 wine_fn_config_dll mprapi enable_mprapi implib
18054 wine_fn_config_dll msacm.dll16 enable_win16
18055 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18056 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
18057 wine_fn_config_test dlls/msacm32/tests msacm32_test
18058 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18059 wine_fn_config_dll msasn1 enable_msasn1 implib
18060 wine_fn_config_dll mscat32 enable_mscat32
18061 wine_fn_config_dll mscms enable_mscms implib
18062 wine_fn_config_test dlls/mscms/tests mscms_test
18063 wine_fn_config_dll mscoree enable_mscoree clean
18064 wine_fn_config_test dlls/mscoree/tests mscoree_test
18065 wine_fn_config_dll msctf enable_msctf clean
18066 wine_fn_config_test dlls/msctf/tests msctf_test
18067 wine_fn_config_dll msctfp enable_msctfp clean
18068 wine_fn_config_dll msdaps enable_msdaps clean
18069 wine_fn_config_dll msdelta enable_msdelta
18070 wine_fn_config_dll msdmo enable_msdmo implib
18071 wine_fn_config_test dlls/msdmo/tests msdmo_test
18072 wine_fn_config_dll msdrm enable_msdrm
18073 wine_fn_config_dll msftedit enable_msftedit
18074 wine_fn_config_dll msg711.acm enable_msg711_acm
18075 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18076 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18077 wine_fn_config_dll mshtml enable_mshtml clean,implib
18078 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
18079 wine_fn_config_dll msi enable_msi clean,implib
18080 wine_fn_config_test dlls/msi/tests msi_test
18081 wine_fn_config_dll msident enable_msident clean
18082 wine_fn_config_dll msimg32 enable_msimg32 implib
18083 wine_fn_config_dll msimsg enable_msimsg
18084 wine_fn_config_dll msimtf enable_msimtf clean
18085 wine_fn_config_dll msisip enable_msisip
18086 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18087 wine_fn_config_dll msls31 enable_msls31
18088 wine_fn_config_dll msnet32 enable_msnet32
18089 wine_fn_config_dll mspatcha enable_mspatcha implib
18090 wine_fn_config_dll msports enable_msports
18091 wine_fn_config_dll msrle32 enable_msrle32 clean
18092 wine_fn_config_test dlls/msrle32/tests msrle32_test
18093 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18094 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
18095 wine_fn_config_dll mssign32 enable_mssign32
18096 wine_fn_config_dll mssip32 enable_mssip32
18097 wine_fn_config_dll mstask enable_mstask clean
18098 wine_fn_config_test dlls/mstask/tests mstask_test
18099 wine_fn_config_dll msvcirt enable_msvcirt
18100 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18101 wine_fn_config_dll msvcm80 enable_msvcm80
18102 wine_fn_config_dll msvcm90 enable_msvcm90
18103 wine_fn_config_dll msvcp100 enable_msvcp100
18104 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18105 wine_fn_config_dll msvcp110 enable_msvcp110
18106 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18107 wine_fn_config_dll msvcp120 enable_msvcp120
18108 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18109 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18110 wine_fn_config_dll msvcp140 enable_msvcp140
18111 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18112 wine_fn_config_dll msvcp60 enable_msvcp60
18113 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18114 wine_fn_config_dll msvcp70 enable_msvcp70
18115 wine_fn_config_dll msvcp71 enable_msvcp71
18116 wine_fn_config_dll msvcp80 enable_msvcp80
18117 wine_fn_config_dll msvcp90 enable_msvcp90
18118 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18119 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18120 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18121 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18122 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18123 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18124 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18125 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18126 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18127 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18128 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18129 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18130 wine_fn_config_dll msvcrt enable_msvcrt implib
18131 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18132 wine_fn_config_dll msvcrt20 enable_msvcrt20
18133 wine_fn_config_dll msvcrt40 enable_msvcrt40
18134 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18135 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18136 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
18137 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18138 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18139 wine_fn_config_dll msvideo.dll16 enable_win16
18140 wine_fn_config_dll mswsock enable_mswsock implib
18141 wine_fn_config_dll msxml enable_msxml clean
18142 wine_fn_config_dll msxml2 enable_msxml2 clean
18143 wine_fn_config_dll msxml3 enable_msxml3 clean
18144 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
18145 wine_fn_config_dll msxml4 enable_msxml4 clean
18146 wine_fn_config_dll msxml6 enable_msxml6 clean
18147 wine_fn_config_dll ncrypt enable_ncrypt
18148 wine_fn_config_dll nddeapi enable_nddeapi implib
18149 wine_fn_config_dll ndis.sys enable_ndis_sys
18150 wine_fn_config_dll netapi32 enable_netapi32 implib
18151 wine_fn_config_test dlls/netapi32/tests netapi32_test
18152 wine_fn_config_dll netcfgx enable_netcfgx clean
18153 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18154 wine_fn_config_dll netprofm enable_netprofm clean
18155 wine_fn_config_test dlls/netprofm/tests netprofm_test
18156 wine_fn_config_dll newdev enable_newdev implib
18157 wine_fn_config_dll normaliz enable_normaliz implib
18158 wine_fn_config_dll npmshtml enable_npmshtml
18159 wine_fn_config_dll npptools enable_npptools
18160 wine_fn_config_dll ntdll enable_ntdll implib
18161 wine_fn_config_test dlls/ntdll/tests ntdll_test
18162 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18163 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18164 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18165 wine_fn_config_dll ntprint enable_ntprint
18166 wine_fn_config_test dlls/ntprint/tests ntprint_test
18167 wine_fn_config_dll objsel enable_objsel clean
18168 wine_fn_config_dll odbc32 enable_odbc32 implib
18169 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18170 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18171 wine_fn_config_dll odbccu32 enable_odbccu32
18172 wine_fn_config_dll ole2.dll16 enable_win16
18173 wine_fn_config_dll ole2conv.dll16 enable_win16
18174 wine_fn_config_dll ole2disp.dll16 enable_win16
18175 wine_fn_config_dll ole2nls.dll16 enable_win16
18176 wine_fn_config_dll ole2prox.dll16 enable_win16
18177 wine_fn_config_dll ole2thk.dll16 enable_win16
18178 wine_fn_config_dll ole32 enable_ole32 clean,implib
18179 wine_fn_config_test dlls/ole32/tests ole32_test
18180 wine_fn_config_dll oleacc enable_oleacc clean,implib
18181 wine_fn_config_test dlls/oleacc/tests oleacc_test
18182 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
18183 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
18184 wine_fn_config_dll olecli.dll16 enable_win16
18185 wine_fn_config_dll olecli32 enable_olecli32 implib
18186 wine_fn_config_dll oledb32 enable_oledb32 clean
18187 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
18188 wine_fn_config_dll oledlg enable_oledlg clean,implib
18189 wine_fn_config_test dlls/oledlg/tests oledlg_test
18190 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
18191 wine_fn_config_dll olesvr.dll16 enable_win16
18192 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18193 wine_fn_config_dll olethk32 enable_olethk32
18194 wine_fn_config_dll openal32 enable_openal32
18195 wine_fn_config_dll opencl enable_opencl
18196 wine_fn_config_dll opengl32 enable_opengl32 implib
18197 wine_fn_config_test dlls/opengl32/tests opengl32_test
18198 wine_fn_config_dll packager enable_packager clean
18199 wine_fn_config_test dlls/packager/tests packager_test
18200 wine_fn_config_dll pdh enable_pdh implib
18201 wine_fn_config_test dlls/pdh/tests pdh_test
18202 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18203 wine_fn_config_dll pidgen enable_pidgen
18204 wine_fn_config_dll powrprof enable_powrprof implib
18205 wine_fn_config_dll printui enable_printui
18206 wine_fn_config_dll prntvpt enable_prntvpt
18207 wine_fn_config_dll propsys enable_propsys clean,implib
18208 wine_fn_config_test dlls/propsys/tests propsys_test
18209 wine_fn_config_dll psapi enable_psapi implib
18210 wine_fn_config_test dlls/psapi/tests psapi_test
18211 wine_fn_config_dll pstorec enable_pstorec clean
18212 wine_fn_config_dll qcap enable_qcap
18213 wine_fn_config_test dlls/qcap/tests qcap_test
18214 wine_fn_config_dll qedit enable_qedit clean
18215 wine_fn_config_test dlls/qedit/tests qedit_test
18216 wine_fn_config_dll qmgr enable_qmgr clean
18217 wine_fn_config_test dlls/qmgr/tests qmgr_test
18218 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18219 wine_fn_config_dll quartz enable_quartz clean,implib
18220 wine_fn_config_test dlls/quartz/tests quartz_test clean
18221 wine_fn_config_dll query enable_query
18222 wine_fn_config_dll rasapi16.dll16 enable_win16
18223 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18224 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18225 wine_fn_config_dll rasdlg enable_rasdlg implib
18226 wine_fn_config_dll regapi enable_regapi
18227 wine_fn_config_dll resutils enable_resutils implib
18228 wine_fn_config_dll riched20 enable_riched20 clean,implib
18229 wine_fn_config_test dlls/riched20/tests riched20_test
18230 wine_fn_config_dll riched32 enable_riched32
18231 wine_fn_config_test dlls/riched32/tests riched32_test
18232 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
18233 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
18234 wine_fn_config_dll rsabase enable_rsabase
18235 wine_fn_config_dll rsaenh enable_rsaenh implib
18236 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18237 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18238 wine_fn_config_dll rtutils enable_rtutils implib
18239 wine_fn_config_dll samlib enable_samlib
18240 wine_fn_config_dll sane.ds enable_sane_ds clean
18241 wine_fn_config_dll scarddlg enable_scarddlg
18242 wine_fn_config_dll sccbase enable_sccbase
18243 wine_fn_config_dll schannel enable_schannel
18244 wine_fn_config_test dlls/schannel/tests schannel_test
18245 wine_fn_config_dll schedsvc enable_schedsvc clean
18246 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18247 wine_fn_config_dll scrrun enable_scrrun clean
18248 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18249 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18250 wine_fn_config_dll secur32 enable_secur32 implib
18251 wine_fn_config_test dlls/secur32/tests secur32_test
18252 wine_fn_config_dll security enable_security
18253 wine_fn_config_dll sensapi enable_sensapi implib
18254 wine_fn_config_dll serialui enable_serialui clean
18255 wine_fn_config_test dlls/serialui/tests serialui_test
18256 wine_fn_config_dll setupapi enable_setupapi clean,implib
18257 wine_fn_config_test dlls/setupapi/tests setupapi_test
18258 wine_fn_config_dll setupx.dll16 enable_win16
18259 wine_fn_config_dll sfc enable_sfc implib
18260 wine_fn_config_dll sfc_os enable_sfc_os implib
18261 wine_fn_config_dll shdoclc enable_shdoclc clean
18262 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18263 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18264 wine_fn_config_dll shell.dll16 enable_win16
18265 wine_fn_config_dll shell32 enable_shell32 clean,implib
18266 wine_fn_config_test dlls/shell32/tests shell32_test
18267 wine_fn_config_dll shfolder enable_shfolder implib
18268 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18269 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18270 wine_fn_config_dll slbcsp enable_slbcsp
18271 wine_fn_config_dll slc enable_slc implib
18272 wine_fn_config_test dlls/slc/tests slc_test
18273 wine_fn_config_dll snmpapi enable_snmpapi implib
18274 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18275 wine_fn_config_dll softpub enable_softpub
18276 wine_fn_config_dll sound.drv16 enable_win16
18277 wine_fn_config_dll spoolss enable_spoolss implib
18278 wine_fn_config_test dlls/spoolss/tests spoolss_test
18279 wine_fn_config_dll sspicli enable_sspicli
18280 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18281 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18282 wine_fn_config_dll sti enable_sti clean,implib
18283 wine_fn_config_test dlls/sti/tests sti_test
18284 wine_fn_config_dll storage.dll16 enable_win16
18285 wine_fn_config_dll stress.dll16 enable_win16
18286 wine_fn_config_lib strmbase
18287 wine_fn_config_lib strmiids
18288 wine_fn_config_dll svrapi enable_svrapi
18289 wine_fn_config_dll sxs enable_sxs implib
18290 wine_fn_config_test dlls/sxs/tests sxs_test
18291 wine_fn_config_dll system.drv16 enable_win16
18292 wine_fn_config_dll t2embed enable_t2embed implib
18293 wine_fn_config_test dlls/t2embed/tests t2embed_test
18294 wine_fn_config_dll tapi32 enable_tapi32 implib
18295 wine_fn_config_dll taskschd enable_taskschd clean
18296 wine_fn_config_test dlls/taskschd/tests taskschd_test
18297 wine_fn_config_dll tdi.sys enable_tdi_sys
18298 wine_fn_config_dll toolhelp.dll16 enable_win16
18299 wine_fn_config_dll traffic enable_traffic
18300 wine_fn_config_dll twain.dll16 enable_win16
18301 wine_fn_config_dll twain_32 enable_twain_32
18302 wine_fn_config_test dlls/twain_32/tests twain_32_test
18303 wine_fn_config_dll typelib.dll16 enable_win16
18304 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18305 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18306 wine_fn_config_dll unicows enable_unicows implib
18307 wine_fn_config_dll updspapi enable_updspapi
18308 wine_fn_config_dll url enable_url implib
18309 wine_fn_config_dll urlmon enable_urlmon clean,implib
18310 wine_fn_config_test dlls/urlmon/tests urlmon_test
18311 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18312 wine_fn_config_dll user.exe16 enable_win16
18313 wine_fn_config_dll user32 enable_user32 clean,implib
18314 wine_fn_config_test dlls/user32/tests user32_test
18315 wine_fn_config_dll userenv enable_userenv implib
18316 wine_fn_config_test dlls/userenv/tests userenv_test
18317 wine_fn_config_dll usp10 enable_usp10 implib
18318 wine_fn_config_test dlls/usp10/tests usp10_test
18319 wine_fn_config_lib uuid
18320 wine_fn_config_dll uxtheme enable_uxtheme implib
18321 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18322 wine_fn_config_dll vbscript enable_vbscript clean
18323 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18324 wine_fn_config_dll vcomp enable_vcomp
18325 wine_fn_config_test dlls/vcomp/tests vcomp_test
18326 wine_fn_config_dll vcomp100 enable_vcomp100
18327 wine_fn_config_dll vcomp110 enable_vcomp110
18328 wine_fn_config_dll vcomp120 enable_vcomp120
18329 wine_fn_config_dll vcomp140 enable_vcomp140
18330 wine_fn_config_dll vcomp90 enable_vcomp90
18331 wine_fn_config_dll vcruntime140 enable_vcruntime140
18332 wine_fn_config_dll vdhcp.vxd enable_win16
18333 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18334 wine_fn_config_dll ver.dll16 enable_win16
18335 wine_fn_config_dll version enable_version implib
18336 wine_fn_config_test dlls/version/tests version_test
18337 wine_fn_config_dll vmm.vxd enable_win16
18338 wine_fn_config_dll vnbt.vxd enable_win16
18339 wine_fn_config_dll vnetbios.vxd enable_win16
18340 wine_fn_config_dll vssapi enable_vssapi
18341 wine_fn_config_dll vtdapi.vxd enable_win16
18342 wine_fn_config_dll vwin32.vxd enable_win16
18343 wine_fn_config_dll w32skrnl enable_win16
18344 wine_fn_config_dll w32sys.dll16 enable_win16
18345 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18346 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18347 wine_fn_config_dll wbemprox enable_wbemprox clean
18348 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18349 wine_fn_config_dll webservices enable_webservices implib
18350 wine_fn_config_test dlls/webservices/tests webservices_test
18351 wine_fn_config_dll wer enable_wer implib
18352 wine_fn_config_test dlls/wer/tests wer_test
18353 wine_fn_config_dll wevtapi enable_wevtapi
18354 wine_fn_config_dll wiaservc enable_wiaservc clean
18355 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18356 wine_fn_config_dll wimgapi enable_wimgapi
18357 wine_fn_config_dll win32s16.dll16 enable_win16
18358 wine_fn_config_dll win87em.dll16 enable_win16
18359 wine_fn_config_dll winaspi.dll16 enable_win16
18360 wine_fn_config_dll windebug.dll16 enable_win16
18361 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18362 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18363 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18364 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18365 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18366 wine_fn_config_dll winebus.sys enable_winebus_sys
18367 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18368 wine_fn_config_lib winecrt0
18369 wine_fn_config_dll wined3d enable_wined3d implib
18370 wine_fn_config_dll winegstreamer enable_winegstreamer
18371 wine_fn_config_dll winehid.sys enable_winehid_sys
18372 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18373 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18374 wine_fn_config_dll winemapi enable_winemapi
18375 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18376 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18377 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18378 wine_fn_config_dll wineps16.drv16 enable_win16
18379 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18380 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18381 wine_fn_config_dll winex11.drv enable_winex11_drv
18382 wine_fn_config_dll wing.dll16 enable_win16
18383 wine_fn_config_dll wing32 enable_wing32
18384 wine_fn_config_dll winhttp enable_winhttp clean,implib
18385 wine_fn_config_test dlls/winhttp/tests winhttp_test
18386 wine_fn_config_dll wininet enable_wininet clean,implib
18387 wine_fn_config_test dlls/wininet/tests wininet_test
18388 wine_fn_config_dll winmm enable_winmm clean,implib
18389 wine_fn_config_test dlls/winmm/tests winmm_test
18390 wine_fn_config_dll winnls.dll16 enable_win16
18391 wine_fn_config_dll winnls32 enable_winnls32 implib
18392 wine_fn_config_dll winscard enable_winscard implib
18393 wine_fn_config_dll winsock.dll16 enable_win16
18394 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18395 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18396 wine_fn_config_dll winsta enable_winsta
18397 wine_fn_config_dll wintab.dll16 enable_win16
18398 wine_fn_config_dll wintab32 enable_wintab32 implib
18399 wine_fn_config_test dlls/wintab32/tests wintab32_test
18400 wine_fn_config_dll wintrust enable_wintrust implib
18401 wine_fn_config_test dlls/wintrust/tests wintrust_test
18402 wine_fn_config_dll wlanapi enable_wlanapi
18403 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18404 wine_fn_config_test dlls/wldap32/tests wldap32_test
18405 wine_fn_config_dll wmasf enable_wmasf
18406 wine_fn_config_dll wmi enable_wmi
18407 wine_fn_config_dll wmiutils enable_wmiutils clean
18408 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18409 wine_fn_config_dll wmp enable_wmp clean
18410 wine_fn_config_test dlls/wmp/tests wmp_test
18411 wine_fn_config_dll wmvcore enable_wmvcore
18412 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18413 wine_fn_config_dll wow32 enable_win16 implib
18414 wine_fn_config_dll wpc enable_wpc clean
18415 wine_fn_config_test dlls/wpc/tests wpc_test
18416 wine_fn_config_dll wpcap enable_wpcap
18417 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18418 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18419 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18420 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18421 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18422 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18423 wine_fn_config_dll wsock32 enable_wsock32 implib
18424 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18425 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18426 wine_fn_config_dll wuapi enable_wuapi clean
18427 wine_fn_config_dll wuaueng enable_wuaueng
18428 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18429 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18430 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18431 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18432 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18433 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18434 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18435 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18436 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18437 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18438 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18439 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18440 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18441 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18442 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18443 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18444 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18445 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18446 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18447 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18448 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18449 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18450 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18451 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18452 wine_fn_config_dll xinput1_1 enable_xinput1_1
18453 wine_fn_config_dll xinput1_2 enable_xinput1_2
18454 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18455 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18456 wine_fn_config_dll xinput1_4 enable_xinput1_4
18457 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18458 wine_fn_config_dll xmllite enable_xmllite implib
18459 wine_fn_config_test dlls/xmllite/tests xmllite_test
18460 wine_fn_config_dll xolehlp enable_xolehlp
18461 wine_fn_config_dll xpsprint enable_xpsprint
18462 wine_fn_config_dll xpssvcs enable_xpssvcs
18463 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18464 wine_fn_config_makefile include enable_include clean,install-dev
18465 wine_fn_config_makefile libs/port enable_libs_port
18466 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18467 wine_fn_config_makefile libs/wpp enable_libs_wpp
18468 wine_fn_config_makefile loader enable_loader clean,install-lib
18469 wine_fn_config_makefile po enable_po clean
18470 wine_fn_config_program arp enable_arp install
18471 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18472 wine_fn_config_program attrib enable_attrib clean,install
18473 wine_fn_config_program cabarc enable_cabarc install
18474 wine_fn_config_program cacls enable_cacls install
18475 wine_fn_config_program clock enable_clock clean,install
18476 wine_fn_config_program cmd enable_cmd clean,install
18477 wine_fn_config_test programs/cmd/tests cmd.exe_test
18478 wine_fn_config_program conhost enable_conhost install
18479 wine_fn_config_program control enable_control install
18480 wine_fn_config_program cscript enable_cscript clean,install
18481 wine_fn_config_program dpnsvr enable_dpnsvr install
18482 wine_fn_config_program dxdiag enable_dxdiag clean,install
18483 wine_fn_config_program eject enable_eject install
18484 wine_fn_config_program expand enable_expand install
18485 wine_fn_config_program explorer enable_explorer clean,install
18486 wine_fn_config_program extrac32 enable_extrac32 install
18487 wine_fn_config_program findstr enable_findstr install
18488 wine_fn_config_program fsutil enable_fsutil install
18489 wine_fn_config_program hh enable_hh install
18490 wine_fn_config_program hostname enable_hostname clean,install
18491 wine_fn_config_program icacls enable_icacls install
18492 wine_fn_config_program icinfo enable_icinfo install
18493 wine_fn_config_program iexplore enable_iexplore install
18494 wine_fn_config_program ipconfig enable_ipconfig clean,install
18495 wine_fn_config_program lodctr enable_lodctr install
18496 wine_fn_config_program mofcomp enable_mofcomp install
18497 wine_fn_config_program mshta enable_mshta install
18498 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18499 wine_fn_config_program msinfo32 enable_msinfo32 clean,install
18500 wine_fn_config_program net enable_net clean,install
18501 wine_fn_config_program netsh enable_netsh install
18502 wine_fn_config_program netstat enable_netstat clean,install
18503 wine_fn_config_program ngen enable_ngen install
18504 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18505 wine_fn_config_program oleview enable_oleview clean,install
18506 wine_fn_config_program ping enable_ping install
18507 wine_fn_config_program plugplay enable_plugplay install
18508 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18509 wine_fn_config_program progman enable_progman clean,install
18510 wine_fn_config_program reg enable_reg clean,install
18511 wine_fn_config_test programs/reg/tests reg.exe_test
18512 wine_fn_config_program regasm enable_regasm install
18513 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18514 wine_fn_config_test programs/regedit/tests regedit.exe_test
18515 wine_fn_config_program regsvcs enable_regsvcs install
18516 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18517 wine_fn_config_program rpcss enable_rpcss clean,install
18518 wine_fn_config_program rundll.exe16 enable_win16 install
18519 wine_fn_config_program rundll32 enable_rundll32 install
18520 wine_fn_config_program sc enable_sc install
18521 wine_fn_config_program schtasks enable_schtasks install
18522 wine_fn_config_program sdbinst enable_sdbinst install
18523 wine_fn_config_program secedit enable_secedit install
18524 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18525 wine_fn_config_program services enable_services clean,install
18526 wine_fn_config_test programs/services/tests services.exe_test
18527 wine_fn_config_program shutdown enable_shutdown install
18528 wine_fn_config_program spoolsv enable_spoolsv install
18529 wine_fn_config_program start enable_start clean,install
18530 wine_fn_config_program subst enable_subst install
18531 wine_fn_config_program svchost enable_svchost install
18532 wine_fn_config_program systeminfo enable_systeminfo install
18533 wine_fn_config_program taskkill enable_taskkill clean,install
18534 wine_fn_config_program tasklist enable_tasklist install
18535 wine_fn_config_program taskmgr enable_taskmgr clean,install
18536 wine_fn_config_program termsv enable_termsv install
18537 wine_fn_config_program uninstaller enable_uninstaller clean,install
18538 wine_fn_config_program unlodctr enable_unlodctr install
18539 wine_fn_config_program view enable_view clean,install
18540 wine_fn_config_program wevtutil enable_wevtutil install
18541 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18542 wine_fn_config_program winebrowser enable_winebrowser install
18543 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18544 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18545 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18546 wine_fn_config_program winedevice enable_winedevice install
18547 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18548 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18549 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18550 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18551 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18552 wine_fn_config_program winetest enable_winetest clean
18553 wine_fn_config_program winevdm enable_win16 install
18554 wine_fn_config_program winhelp.exe16 enable_win16 install
18555 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18556 wine_fn_config_program winoldap.mod16 enable_win16 install
18557 wine_fn_config_program winver enable_winver install
18558 wine_fn_config_program wmic enable_wmic clean,install
18559 wine_fn_config_program wmplayer enable_wmplayer install
18560 wine_fn_config_program wordpad enable_wordpad clean,install
18561 wine_fn_config_program write enable_write clean,install
18562 wine_fn_config_program wscript enable_wscript clean,install
18563 wine_fn_config_test programs/wscript/tests wscript.exe_test
18564 wine_fn_config_program wusa enable_wusa install
18565 wine_fn_config_program xcopy enable_xcopy clean,install
18566 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18567 wine_fn_config_makefile server enable_server clean,install-lib
18568 wine_fn_config_tool tools clean
18569 wine_fn_config_tool tools/sfnt2fon clean
18570 wine_fn_config_tool tools/widl clean,install-dev
18571 wine_fn_config_tool tools/winebuild clean,install-dev
18572 wine_fn_config_tool tools/winedump clean,install-dev
18573 wine_fn_config_tool tools/winegcc clean,install-dev
18574 wine_fn_config_tool tools/winemaker clean,install-dev
18575 wine_fn_config_tool tools/wmc clean,install-dev
18576 wine_fn_config_tool tools/wrc clean,install-dev
18579 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
18580 wine_fn_append_file CONFIGURE_TARGETS "tags"
18581 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
18582 wine_fn_append_file CONFIGURE_TARGETS "config.log"
18583 wine_fn_append_file CONFIGURE_TARGETS "config.status"
18584 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
18585 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
18586 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
18588 if test "x$enable_tools" != xno
18589 then
18590 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
18591 ac_config_commands="$ac_config_commands tools/makedep"
18595 ac_config_commands="$ac_config_commands Makefile"
18598 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18602 if test "x$enable_maintainer_mode" = xyes
18603 then
18604 wine_fn_append_rule "configure: configure.ac aclocal.m4
18605 autoconf --warnings=all
18606 include/config.h.in: include/stamp-h.in
18607 include/stamp-h.in: configure.ac aclocal.m4
18608 autoheader --warnings=all
18609 @echo timestamp > \$@"
18612 if test "x$enable_tools" != xno
18613 then
18614 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18615 @./config.status tools/makedep
18616 Makefile: tools/makedep$ac_exeext"
18617 else
18618 wine_fn_append_rule "\$(MAKEDEP):
18619 @echo \"You need to run make in $TOOLSDIR first\" && false"
18622 if test -n "$with_wine64"
18623 then
18624 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18625 fonts server:
18626 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18627 $with_wine64/loader/wine:
18628 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18629 $with_wine64/loader/wine-preloader:
18630 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18631 clean::
18632 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18633 else
18634 WINELOADER_INSTALL="wine.inf"
18636 wine_fn_append_rule "install install-lib::
18637 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18638 uninstall::
18639 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18640 case $host_os in
18641 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18642 *) wine_fn_append_rule "install install-lib::
18643 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18644 uninstall::
18645 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18646 esac
18649 $as_echo " done" >&6
18650 cat >confcache <<\_ACEOF
18651 # This file is a shell script that caches the results of configure
18652 # tests run on this system so they can be shared between configure
18653 # scripts and configure runs, see configure's option --config-cache.
18654 # It is not useful on other systems. If it contains results you don't
18655 # want to keep, you may remove or edit it.
18657 # config.status only pays attention to the cache file if you give it
18658 # the --recheck option to rerun configure.
18660 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18661 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18662 # following values.
18664 _ACEOF
18666 # The following way of writing the cache mishandles newlines in values,
18667 # but we know of no workaround that is simple, portable, and efficient.
18668 # So, we kill variables containing newlines.
18669 # Ultrix sh set writes to stderr and can't be redirected directly,
18670 # and sets the high bit in the cache file unless we assign to the vars.
18672 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18673 eval ac_val=\$$ac_var
18674 case $ac_val in #(
18675 *${as_nl}*)
18676 case $ac_var in #(
18677 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18678 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18679 esac
18680 case $ac_var in #(
18681 _ | IFS | as_nl) ;; #(
18682 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18683 *) { eval $ac_var=; unset $ac_var;} ;;
18684 esac ;;
18685 esac
18686 done
18688 (set) 2>&1 |
18689 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18690 *${as_nl}ac_space=\ *)
18691 # `set' does not quote correctly, so add quotes: double-quote
18692 # substitution turns \\\\ into \\, and sed turns \\ into \.
18693 sed -n \
18694 "s/'/'\\\\''/g;
18695 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18696 ;; #(
18698 # `set' quotes correctly as required by POSIX, so do not add quotes.
18699 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18701 esac |
18702 sort
18704 sed '
18705 /^ac_cv_env_/b end
18706 t clear
18707 :clear
18708 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18709 t end
18710 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18711 :end' >>confcache
18712 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18713 if test -w "$cache_file"; then
18714 if test "x$cache_file" != "x/dev/null"; then
18715 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18716 $as_echo "$as_me: updating cache $cache_file" >&6;}
18717 if test ! -f "$cache_file" || test -h "$cache_file"; then
18718 cat confcache >"$cache_file"
18719 else
18720 case $cache_file in #(
18721 */* | ?:*)
18722 mv -f confcache "$cache_file"$$ &&
18723 mv -f "$cache_file"$$ "$cache_file" ;; #(
18725 mv -f confcache "$cache_file" ;;
18726 esac
18729 else
18730 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18731 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18734 rm -f confcache
18736 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18737 # Let make expand exec_prefix.
18738 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18740 DEFS=-DHAVE_CONFIG_H
18742 ac_libobjs=
18743 ac_ltlibobjs=
18745 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18746 # 1. Remove the extension, and $U if already installed.
18747 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18748 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18749 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18750 # will be set to the directory where LIBOBJS objects are built.
18751 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18752 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18753 done
18754 LIBOBJS=$ac_libobjs
18756 LTLIBOBJS=$ac_ltlibobjs
18760 : "${CONFIG_STATUS=./config.status}"
18761 ac_write_fail=0
18762 ac_clean_files_save=$ac_clean_files
18763 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18764 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18765 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18766 as_write_fail=0
18767 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18768 #! $SHELL
18769 # Generated by $as_me.
18770 # Run this file to recreate the current configuration.
18771 # Compiler output produced by configure, useful for debugging
18772 # configure, is in config.log if it exists.
18774 debug=false
18775 ac_cs_recheck=false
18776 ac_cs_silent=false
18778 SHELL=\${CONFIG_SHELL-$SHELL}
18779 export SHELL
18780 _ASEOF
18781 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18782 ## -------------------- ##
18783 ## M4sh Initialization. ##
18784 ## -------------------- ##
18786 # Be more Bourne compatible
18787 DUALCASE=1; export DUALCASE # for MKS sh
18788 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18789 emulate sh
18790 NULLCMD=:
18791 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18792 # is contrary to our usage. Disable this feature.
18793 alias -g '${1+"$@"}'='"$@"'
18794 setopt NO_GLOB_SUBST
18795 else
18796 case `(set -o) 2>/dev/null` in #(
18797 *posix*) :
18798 set -o posix ;; #(
18799 *) :
18801 esac
18805 as_nl='
18807 export as_nl
18808 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18809 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18810 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18811 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18812 # Prefer a ksh shell builtin over an external printf program on Solaris,
18813 # but without wasting forks for bash or zsh.
18814 if test -z "$BASH_VERSION$ZSH_VERSION" \
18815 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18816 as_echo='print -r --'
18817 as_echo_n='print -rn --'
18818 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18819 as_echo='printf %s\n'
18820 as_echo_n='printf %s'
18821 else
18822 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18823 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18824 as_echo_n='/usr/ucb/echo -n'
18825 else
18826 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18827 as_echo_n_body='eval
18828 arg=$1;
18829 case $arg in #(
18830 *"$as_nl"*)
18831 expr "X$arg" : "X\\(.*\\)$as_nl";
18832 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18833 esac;
18834 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18836 export as_echo_n_body
18837 as_echo_n='sh -c $as_echo_n_body as_echo'
18839 export as_echo_body
18840 as_echo='sh -c $as_echo_body as_echo'
18843 # The user is always right.
18844 if test "${PATH_SEPARATOR+set}" != set; then
18845 PATH_SEPARATOR=:
18846 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18847 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18848 PATH_SEPARATOR=';'
18853 # IFS
18854 # We need space, tab and new line, in precisely that order. Quoting is
18855 # there to prevent editors from complaining about space-tab.
18856 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18857 # splitting by setting IFS to empty value.)
18858 IFS=" "" $as_nl"
18860 # Find who we are. Look in the path if we contain no directory separator.
18861 as_myself=
18862 case $0 in #((
18863 *[\\/]* ) as_myself=$0 ;;
18864 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18865 for as_dir in $PATH
18867 IFS=$as_save_IFS
18868 test -z "$as_dir" && as_dir=.
18869 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18870 done
18871 IFS=$as_save_IFS
18874 esac
18875 # We did not find ourselves, most probably we were run as `sh COMMAND'
18876 # in which case we are not to be found in the path.
18877 if test "x$as_myself" = x; then
18878 as_myself=$0
18880 if test ! -f "$as_myself"; then
18881 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18882 exit 1
18885 # Unset variables that we do not need and which cause bugs (e.g. in
18886 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18887 # suppresses any "Segmentation fault" message there. '((' could
18888 # trigger a bug in pdksh 5.2.14.
18889 for as_var in BASH_ENV ENV MAIL MAILPATH
18890 do eval test x\${$as_var+set} = xset \
18891 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18892 done
18893 PS1='$ '
18894 PS2='> '
18895 PS4='+ '
18897 # NLS nuisances.
18898 LC_ALL=C
18899 export LC_ALL
18900 LANGUAGE=C
18901 export LANGUAGE
18903 # CDPATH.
18904 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18907 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18908 # ----------------------------------------
18909 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18910 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18911 # script with STATUS, using 1 if that was 0.
18912 as_fn_error ()
18914 as_status=$1; test $as_status -eq 0 && as_status=1
18915 if test "$4"; then
18916 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18917 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18919 $as_echo "$as_me: error: $2" >&2
18920 as_fn_exit $as_status
18921 } # as_fn_error
18924 # as_fn_set_status STATUS
18925 # -----------------------
18926 # Set $? to STATUS, without forking.
18927 as_fn_set_status ()
18929 return $1
18930 } # as_fn_set_status
18932 # as_fn_exit STATUS
18933 # -----------------
18934 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18935 as_fn_exit ()
18937 set +e
18938 as_fn_set_status $1
18939 exit $1
18940 } # as_fn_exit
18942 # as_fn_unset VAR
18943 # ---------------
18944 # Portably unset VAR.
18945 as_fn_unset ()
18947 { eval $1=; unset $1;}
18949 as_unset=as_fn_unset
18950 # as_fn_append VAR VALUE
18951 # ----------------------
18952 # Append the text in VALUE to the end of the definition contained in VAR. Take
18953 # advantage of any shell optimizations that allow amortized linear growth over
18954 # repeated appends, instead of the typical quadratic growth present in naive
18955 # implementations.
18956 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18957 eval 'as_fn_append ()
18959 eval $1+=\$2
18961 else
18962 as_fn_append ()
18964 eval $1=\$$1\$2
18966 fi # as_fn_append
18968 # as_fn_arith ARG...
18969 # ------------------
18970 # Perform arithmetic evaluation on the ARGs, and store the result in the
18971 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18972 # must be portable across $(()) and expr.
18973 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18974 eval 'as_fn_arith ()
18976 as_val=$(( $* ))
18978 else
18979 as_fn_arith ()
18981 as_val=`expr "$@" || test $? -eq 1`
18983 fi # as_fn_arith
18986 if expr a : '\(a\)' >/dev/null 2>&1 &&
18987 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18988 as_expr=expr
18989 else
18990 as_expr=false
18993 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18994 as_basename=basename
18995 else
18996 as_basename=false
18999 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19000 as_dirname=dirname
19001 else
19002 as_dirname=false
19005 as_me=`$as_basename -- "$0" ||
19006 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19007 X"$0" : 'X\(//\)$' \| \
19008 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19009 $as_echo X/"$0" |
19010 sed '/^.*\/\([^/][^/]*\)\/*$/{
19011 s//\1/
19014 /^X\/\(\/\/\)$/{
19015 s//\1/
19018 /^X\/\(\/\).*/{
19019 s//\1/
19022 s/.*/./; q'`
19024 # Avoid depending upon Character Ranges.
19025 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19026 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19027 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19028 as_cr_digits='0123456789'
19029 as_cr_alnum=$as_cr_Letters$as_cr_digits
19031 ECHO_C= ECHO_N= ECHO_T=
19032 case `echo -n x` in #(((((
19033 -n*)
19034 case `echo 'xy\c'` in
19035 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19036 xy) ECHO_C='\c';;
19037 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19038 ECHO_T=' ';;
19039 esac;;
19041 ECHO_N='-n';;
19042 esac
19044 rm -f conf$$ conf$$.exe conf$$.file
19045 if test -d conf$$.dir; then
19046 rm -f conf$$.dir/conf$$.file
19047 else
19048 rm -f conf$$.dir
19049 mkdir conf$$.dir 2>/dev/null
19051 if (echo >conf$$.file) 2>/dev/null; then
19052 if ln -s conf$$.file conf$$ 2>/dev/null; then
19053 as_ln_s='ln -s'
19054 # ... but there are two gotchas:
19055 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19056 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19057 # In both cases, we have to default to `cp -pR'.
19058 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19059 as_ln_s='cp -pR'
19060 elif ln conf$$.file conf$$ 2>/dev/null; then
19061 as_ln_s=ln
19062 else
19063 as_ln_s='cp -pR'
19065 else
19066 as_ln_s='cp -pR'
19068 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19069 rmdir conf$$.dir 2>/dev/null
19072 # as_fn_mkdir_p
19073 # -------------
19074 # Create "$as_dir" as a directory, including parents if necessary.
19075 as_fn_mkdir_p ()
19078 case $as_dir in #(
19079 -*) as_dir=./$as_dir;;
19080 esac
19081 test -d "$as_dir" || eval $as_mkdir_p || {
19082 as_dirs=
19083 while :; do
19084 case $as_dir in #(
19085 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19086 *) as_qdir=$as_dir;;
19087 esac
19088 as_dirs="'$as_qdir' $as_dirs"
19089 as_dir=`$as_dirname -- "$as_dir" ||
19090 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19091 X"$as_dir" : 'X\(//\)[^/]' \| \
19092 X"$as_dir" : 'X\(//\)$' \| \
19093 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19094 $as_echo X"$as_dir" |
19095 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19096 s//\1/
19099 /^X\(\/\/\)[^/].*/{
19100 s//\1/
19103 /^X\(\/\/\)$/{
19104 s//\1/
19107 /^X\(\/\).*/{
19108 s//\1/
19111 s/.*/./; q'`
19112 test -d "$as_dir" && break
19113 done
19114 test -z "$as_dirs" || eval "mkdir $as_dirs"
19115 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19118 } # as_fn_mkdir_p
19119 if mkdir -p . 2>/dev/null; then
19120 as_mkdir_p='mkdir -p "$as_dir"'
19121 else
19122 test -d ./-p && rmdir ./-p
19123 as_mkdir_p=false
19127 # as_fn_executable_p FILE
19128 # -----------------------
19129 # Test if FILE is an executable regular file.
19130 as_fn_executable_p ()
19132 test -f "$1" && test -x "$1"
19133 } # as_fn_executable_p
19134 as_test_x='test -x'
19135 as_executable_p=as_fn_executable_p
19137 # Sed expression to map a string onto a valid CPP name.
19138 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19140 # Sed expression to map a string onto a valid variable name.
19141 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19144 exec 6>&1
19145 ## ----------------------------------- ##
19146 ## Main body of $CONFIG_STATUS script. ##
19147 ## ----------------------------------- ##
19148 _ASEOF
19149 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19151 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19152 # Save the log message, to keep $0 and so on meaningful, and to
19153 # report actual input values of CONFIG_FILES etc. instead of their
19154 # values after options handling.
19155 ac_log="
19156 This file was extended by Wine $as_me 1.9.22, which was
19157 generated by GNU Autoconf 2.69. Invocation command line was
19159 CONFIG_FILES = $CONFIG_FILES
19160 CONFIG_HEADERS = $CONFIG_HEADERS
19161 CONFIG_LINKS = $CONFIG_LINKS
19162 CONFIG_COMMANDS = $CONFIG_COMMANDS
19163 $ $0 $@
19165 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19168 _ACEOF
19170 case $ac_config_files in *"
19171 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19172 esac
19174 case $ac_config_headers in *"
19175 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19176 esac
19179 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19180 # Files that config.status was made for.
19181 config_files="$ac_config_files"
19182 config_headers="$ac_config_headers"
19183 config_links="$ac_config_links"
19184 config_commands="$ac_config_commands"
19186 _ACEOF
19188 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19189 ac_cs_usage="\
19190 \`$as_me' instantiates files and other configuration actions
19191 from templates according to the current configuration. Unless the files
19192 and actions are specified as TAGs, all are instantiated by default.
19194 Usage: $0 [OPTION]... [TAG]...
19196 -h, --help print this help, then exit
19197 -V, --version print version number and configuration settings, then exit
19198 --config print configuration, then exit
19199 -q, --quiet, --silent
19200 do not print progress messages
19201 -d, --debug don't remove temporary files
19202 --recheck update $as_me by reconfiguring in the same conditions
19203 --file=FILE[:TEMPLATE]
19204 instantiate the configuration file FILE
19205 --header=FILE[:TEMPLATE]
19206 instantiate the configuration header FILE
19208 Configuration files:
19209 $config_files
19211 Configuration headers:
19212 $config_headers
19214 Configuration links:
19215 $config_links
19217 Configuration commands:
19218 $config_commands
19220 Report bugs to <wine-devel@winehq.org>.
19221 Wine home page: <http://www.winehq.org>."
19223 _ACEOF
19224 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19225 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19226 ac_cs_version="\\
19227 Wine config.status 1.9.22
19228 configured by $0, generated by GNU Autoconf 2.69,
19229 with options \\"\$ac_cs_config\\"
19231 Copyright (C) 2012 Free Software Foundation, Inc.
19232 This config.status script is free software; the Free Software Foundation
19233 gives unlimited permission to copy, distribute and modify it."
19235 ac_pwd='$ac_pwd'
19236 srcdir='$srcdir'
19237 test -n "\$AWK" || AWK=awk
19238 _ACEOF
19240 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19241 # The default lists apply if the user does not specify any file.
19242 ac_need_defaults=:
19243 while test $# != 0
19245 case $1 in
19246 --*=?*)
19247 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19248 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19249 ac_shift=:
19251 --*=)
19252 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19253 ac_optarg=
19254 ac_shift=:
19257 ac_option=$1
19258 ac_optarg=$2
19259 ac_shift=shift
19261 esac
19263 case $ac_option in
19264 # Handling of the options.
19265 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19266 ac_cs_recheck=: ;;
19267 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19268 $as_echo "$ac_cs_version"; exit ;;
19269 --config | --confi | --conf | --con | --co | --c )
19270 $as_echo "$ac_cs_config"; exit ;;
19271 --debug | --debu | --deb | --de | --d | -d )
19272 debug=: ;;
19273 --file | --fil | --fi | --f )
19274 $ac_shift
19275 case $ac_optarg in
19276 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19277 '') as_fn_error $? "missing file argument" ;;
19278 esac
19279 as_fn_append CONFIG_FILES " '$ac_optarg'"
19280 ac_need_defaults=false;;
19281 --header | --heade | --head | --hea )
19282 $ac_shift
19283 case $ac_optarg in
19284 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19285 esac
19286 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19287 ac_need_defaults=false;;
19288 --he | --h)
19289 # Conflict between --help and --header
19290 as_fn_error $? "ambiguous option: \`$1'
19291 Try \`$0 --help' for more information.";;
19292 --help | --hel | -h )
19293 $as_echo "$ac_cs_usage"; exit ;;
19294 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19295 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19296 ac_cs_silent=: ;;
19298 # This is an error.
19299 -*) as_fn_error $? "unrecognized option: \`$1'
19300 Try \`$0 --help' for more information." ;;
19302 *) as_fn_append ac_config_targets " $1"
19303 ac_need_defaults=false ;;
19305 esac
19306 shift
19307 done
19309 ac_configure_extra_args=
19311 if $ac_cs_silent; then
19312 exec 6>/dev/null
19313 ac_configure_extra_args="$ac_configure_extra_args --silent"
19316 _ACEOF
19317 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19318 if \$ac_cs_recheck; then
19319 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19320 shift
19321 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19322 CONFIG_SHELL='$SHELL'
19323 export CONFIG_SHELL
19324 exec "\$@"
19327 _ACEOF
19328 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19329 exec 5>>config.log
19331 echo
19332 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19333 ## Running $as_me. ##
19334 _ASBOX
19335 $as_echo "$ac_log"
19336 } >&5
19338 _ACEOF
19339 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19341 # INIT-COMMANDS
19343 wine_fn_output_makedep ()
19345 as_dir=tools; as_fn_mkdir_p
19346 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19348 wine_fn_output_makefile ()
19350 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19351 `cat $wine_rules_file`
19352 _WINE_EOF
19353 as_fn_error $? "could not create Makefile" "$LINENO" 5
19356 _ACEOF
19358 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19360 # Handling of arguments.
19361 for ac_config_target in $ac_config_targets
19363 case $ac_config_target in
19364 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19365 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19366 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19367 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19368 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19369 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19370 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19371 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19372 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19373 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19374 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19375 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19376 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19378 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19379 esac
19380 done
19383 # If the user did not use the arguments to specify the items to instantiate,
19384 # then the envvar interface is used. Set only those that are not.
19385 # We use the long form for the default assignment because of an extremely
19386 # bizarre bug on SunOS 4.1.3.
19387 if $ac_need_defaults; then
19388 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19389 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19390 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19391 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19394 # Have a temporary directory for convenience. Make it in the build tree
19395 # simply because there is no reason against having it here, and in addition,
19396 # creating and moving files from /tmp can sometimes cause problems.
19397 # Hook for its removal unless debugging.
19398 # Note that there is a small window in which the directory will not be cleaned:
19399 # after its creation but before its name has been assigned to `$tmp'.
19400 $debug ||
19402 tmp= ac_tmp=
19403 trap 'exit_status=$?
19404 : "${ac_tmp:=$tmp}"
19405 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19407 trap 'as_fn_exit 1' 1 2 13 15
19409 # Create a (secure) tmp directory for tmp files.
19412 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19413 test -d "$tmp"
19414 } ||
19416 tmp=./conf$$-$RANDOM
19417 (umask 077 && mkdir "$tmp")
19418 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19419 ac_tmp=$tmp
19421 # Set up the scripts for CONFIG_FILES section.
19422 # No need to generate them if there are no CONFIG_FILES.
19423 # This happens for instance with `./config.status config.h'.
19424 if test -n "$CONFIG_FILES"; then
19427 ac_cr=`echo X | tr X '\015'`
19428 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19429 # But we know of no other shell where ac_cr would be empty at this
19430 # point, so we can use a bashism as a fallback.
19431 if test "x$ac_cr" = x; then
19432 eval ac_cr=\$\'\\r\'
19434 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19435 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19436 ac_cs_awk_cr='\\r'
19437 else
19438 ac_cs_awk_cr=$ac_cr
19441 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19442 _ACEOF
19446 echo "cat >conf$$subs.awk <<_ACEOF" &&
19447 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19448 echo "_ACEOF"
19449 } >conf$$subs.sh ||
19450 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19451 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19452 ac_delim='%!_!# '
19453 for ac_last_try in false false false false false :; do
19454 . ./conf$$subs.sh ||
19455 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19457 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19458 if test $ac_delim_n = $ac_delim_num; then
19459 break
19460 elif $ac_last_try; then
19461 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19462 else
19463 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19465 done
19466 rm -f conf$$subs.sh
19468 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19469 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19470 _ACEOF
19471 sed -n '
19473 s/^/S["/; s/!.*/"]=/
19476 s/^[^!]*!//
19477 :repl
19478 t repl
19479 s/'"$ac_delim"'$//
19480 t delim
19483 s/\(.\{148\}\)..*/\1/
19484 t more1
19485 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19488 b repl
19489 :more1
19490 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19493 s/.\{148\}//
19494 t nl
19495 :delim
19497 s/\(.\{148\}\)..*/\1/
19498 t more2
19499 s/["\\]/\\&/g; s/^/"/; s/$/"/
19502 :more2
19503 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19506 s/.\{148\}//
19507 t delim
19508 ' <conf$$subs.awk | sed '
19509 /^[^""]/{
19511 s/\n//
19513 ' >>$CONFIG_STATUS || ac_write_fail=1
19514 rm -f conf$$subs.awk
19515 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19516 _ACAWK
19517 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19518 for (key in S) S_is_set[key] = 1
19519 FS = "\a"
19523 line = $ 0
19524 nfields = split(line, field, "@")
19525 substed = 0
19526 len = length(field[1])
19527 for (i = 2; i < nfields; i++) {
19528 key = field[i]
19529 keylen = length(key)
19530 if (S_is_set[key]) {
19531 value = S[key]
19532 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19533 len += length(value) + length(field[++i])
19534 substed = 1
19535 } else
19536 len += 1 + keylen
19539 print line
19542 _ACAWK
19543 _ACEOF
19544 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19545 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19546 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19547 else
19549 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19550 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19551 _ACEOF
19553 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19554 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19555 # trailing colons and then remove the whole line if VPATH becomes empty
19556 # (actually we leave an empty line to preserve line numbers).
19557 if test "x$srcdir" = x.; then
19558 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19560 s///
19561 s/^/:/
19562 s/[ ]*$/:/
19563 s/:\$(srcdir):/:/g
19564 s/:\${srcdir}:/:/g
19565 s/:@srcdir@:/:/g
19566 s/^:*//
19567 s/:*$//
19569 s/\(=[ ]*\).*/\1/
19571 s/\n//
19572 s/^[^=]*=[ ]*$//
19576 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19577 fi # test -n "$CONFIG_FILES"
19579 # Set up the scripts for CONFIG_HEADERS section.
19580 # No need to generate them if there are no CONFIG_HEADERS.
19581 # This happens for instance with `./config.status Makefile'.
19582 if test -n "$CONFIG_HEADERS"; then
19583 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19584 BEGIN {
19585 _ACEOF
19587 # Transform confdefs.h into an awk script `defines.awk', embedded as
19588 # here-document in config.status, that substitutes the proper values into
19589 # config.h.in to produce config.h.
19591 # Create a delimiter string that does not exist in confdefs.h, to ease
19592 # handling of long lines.
19593 ac_delim='%!_!# '
19594 for ac_last_try in false false :; do
19595 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19596 if test -z "$ac_tt"; then
19597 break
19598 elif $ac_last_try; then
19599 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19600 else
19601 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19603 done
19605 # For the awk script, D is an array of macro values keyed by name,
19606 # likewise P contains macro parameters if any. Preserve backslash
19607 # newline sequences.
19609 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19610 sed -n '
19611 s/.\{148\}/&'"$ac_delim"'/g
19612 t rset
19613 :rset
19614 s/^[ ]*#[ ]*define[ ][ ]*/ /
19615 t def
19617 :def
19618 s/\\$//
19619 t bsnl
19620 s/["\\]/\\&/g
19621 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19622 D["\1"]=" \3"/p
19623 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19625 :bsnl
19626 s/["\\]/\\&/g
19627 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19628 D["\1"]=" \3\\\\\\n"\\/p
19629 t cont
19630 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19631 t cont
19633 :cont
19635 s/.\{148\}/&'"$ac_delim"'/g
19636 t clear
19637 :clear
19638 s/\\$//
19639 t bsnlc
19640 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19642 :bsnlc
19643 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19644 b cont
19645 ' <confdefs.h | sed '
19646 s/'"$ac_delim"'/"\\\
19647 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19649 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19650 for (key in D) D_is_set[key] = 1
19651 FS = "\a"
19653 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19654 line = \$ 0
19655 split(line, arg, " ")
19656 if (arg[1] == "#") {
19657 defundef = arg[2]
19658 mac1 = arg[3]
19659 } else {
19660 defundef = substr(arg[1], 2)
19661 mac1 = arg[2]
19663 split(mac1, mac2, "(") #)
19664 macro = mac2[1]
19665 prefix = substr(line, 1, index(line, defundef) - 1)
19666 if (D_is_set[macro]) {
19667 # Preserve the white space surrounding the "#".
19668 print prefix "define", macro P[macro] D[macro]
19669 next
19670 } else {
19671 # Replace #undef with comments. This is necessary, for example,
19672 # in the case of _POSIX_SOURCE, which is predefined and required
19673 # on some systems where configure will not decide to define it.
19674 if (defundef == "undef") {
19675 print "/*", prefix defundef, macro, "*/"
19676 next
19680 { print }
19681 _ACAWK
19682 _ACEOF
19683 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19684 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19685 fi # test -n "$CONFIG_HEADERS"
19688 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19689 shift
19690 for ac_tag
19692 case $ac_tag in
19693 :[FHLC]) ac_mode=$ac_tag; continue;;
19694 esac
19695 case $ac_mode$ac_tag in
19696 :[FHL]*:*);;
19697 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19698 :[FH]-) ac_tag=-:-;;
19699 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19700 esac
19701 ac_save_IFS=$IFS
19702 IFS=:
19703 set x $ac_tag
19704 IFS=$ac_save_IFS
19705 shift
19706 ac_file=$1
19707 shift
19709 case $ac_mode in
19710 :L) ac_source=$1;;
19711 :[FH])
19712 ac_file_inputs=
19713 for ac_f
19715 case $ac_f in
19716 -) ac_f="$ac_tmp/stdin";;
19717 *) # Look for the file first in the build tree, then in the source tree
19718 # (if the path is not absolute). The absolute path cannot be DOS-style,
19719 # because $ac_f cannot contain `:'.
19720 test -f "$ac_f" ||
19721 case $ac_f in
19722 [\\/$]*) false;;
19723 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19724 esac ||
19725 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19726 esac
19727 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19728 as_fn_append ac_file_inputs " '$ac_f'"
19729 done
19731 # Let's still pretend it is `configure' which instantiates (i.e., don't
19732 # use $as_me), people would be surprised to read:
19733 # /* config.h. Generated by config.status. */
19734 configure_input='Generated from '`
19735 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19736 `' by configure.'
19737 if test x"$ac_file" != x-; then
19738 configure_input="$ac_file. $configure_input"
19739 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19740 $as_echo "$as_me: creating $ac_file" >&6;}
19742 # Neutralize special characters interpreted by sed in replacement strings.
19743 case $configure_input in #(
19744 *\&* | *\|* | *\\* )
19745 ac_sed_conf_input=`$as_echo "$configure_input" |
19746 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19747 *) ac_sed_conf_input=$configure_input;;
19748 esac
19750 case $ac_tag in
19751 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19752 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19753 esac
19755 esac
19757 ac_dir=`$as_dirname -- "$ac_file" ||
19758 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19759 X"$ac_file" : 'X\(//\)[^/]' \| \
19760 X"$ac_file" : 'X\(//\)$' \| \
19761 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19762 $as_echo X"$ac_file" |
19763 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19764 s//\1/
19767 /^X\(\/\/\)[^/].*/{
19768 s//\1/
19771 /^X\(\/\/\)$/{
19772 s//\1/
19775 /^X\(\/\).*/{
19776 s//\1/
19779 s/.*/./; q'`
19780 as_dir="$ac_dir"; as_fn_mkdir_p
19781 ac_builddir=.
19783 case "$ac_dir" in
19784 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19786 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19787 # A ".." for each directory in $ac_dir_suffix.
19788 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19789 case $ac_top_builddir_sub in
19790 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19791 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19792 esac ;;
19793 esac
19794 ac_abs_top_builddir=$ac_pwd
19795 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19796 # for backward compatibility:
19797 ac_top_builddir=$ac_top_build_prefix
19799 case $srcdir in
19800 .) # We are building in place.
19801 ac_srcdir=.
19802 ac_top_srcdir=$ac_top_builddir_sub
19803 ac_abs_top_srcdir=$ac_pwd ;;
19804 [\\/]* | ?:[\\/]* ) # Absolute name.
19805 ac_srcdir=$srcdir$ac_dir_suffix;
19806 ac_top_srcdir=$srcdir
19807 ac_abs_top_srcdir=$srcdir ;;
19808 *) # Relative name.
19809 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19810 ac_top_srcdir=$ac_top_build_prefix$srcdir
19811 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19812 esac
19813 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19816 case $ac_mode in
19819 # CONFIG_FILE
19822 _ACEOF
19824 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19825 # If the template does not know about datarootdir, expand it.
19826 # FIXME: This hack should be removed a few years after 2.60.
19827 ac_datarootdir_hack=; ac_datarootdir_seen=
19828 ac_sed_dataroot='
19829 /datarootdir/ {
19833 /@datadir@/p
19834 /@docdir@/p
19835 /@infodir@/p
19836 /@localedir@/p
19837 /@mandir@/p'
19838 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19839 *datarootdir*) ac_datarootdir_seen=yes;;
19840 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19842 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19843 _ACEOF
19844 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19845 ac_datarootdir_hack='
19846 s&@datadir@&$datadir&g
19847 s&@docdir@&$docdir&g
19848 s&@infodir@&$infodir&g
19849 s&@localedir@&$localedir&g
19850 s&@mandir@&$mandir&g
19851 s&\\\${datarootdir}&$datarootdir&g' ;;
19852 esac
19853 _ACEOF
19855 # Neutralize VPATH when `$srcdir' = `.'.
19856 # Shell code in configure.ac might set extrasub.
19857 # FIXME: do we really want to maintain this feature?
19858 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19859 ac_sed_extra="$ac_vpsub
19860 $extrasub
19861 _ACEOF
19862 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19864 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19865 s|@configure_input@|$ac_sed_conf_input|;t t
19866 s&@top_builddir@&$ac_top_builddir_sub&;t t
19867 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19868 s&@srcdir@&$ac_srcdir&;t t
19869 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19870 s&@top_srcdir@&$ac_top_srcdir&;t t
19871 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19872 s&@builddir@&$ac_builddir&;t t
19873 s&@abs_builddir@&$ac_abs_builddir&;t t
19874 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19875 $ac_datarootdir_hack
19877 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19878 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19880 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19881 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19882 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19883 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19885 which seems to be undefined. Please make sure it is defined" >&5
19886 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19887 which seems to be undefined. Please make sure it is defined" >&2;}
19889 rm -f "$ac_tmp/stdin"
19890 case $ac_file in
19891 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19892 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19893 esac \
19894 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19898 # CONFIG_HEADER
19900 if test x"$ac_file" != x-; then
19902 $as_echo "/* $configure_input */" \
19903 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19904 } >"$ac_tmp/config.h" \
19905 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19906 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19907 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19908 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19909 else
19910 rm -f "$ac_file"
19911 mv "$ac_tmp/config.h" "$ac_file" \
19912 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19914 else
19915 $as_echo "/* $configure_input */" \
19916 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19917 || as_fn_error $? "could not create -" "$LINENO" 5
19922 # CONFIG_LINK
19925 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19927 else
19928 # Prefer the file from the source tree if names are identical.
19929 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19930 ac_source=$srcdir/$ac_source
19933 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19934 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19936 if test ! -r "$ac_source"; then
19937 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19939 rm -f "$ac_file"
19941 # Try a relative symlink, then a hard link, then a copy.
19942 case $ac_source in
19943 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19944 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19945 esac
19946 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19947 ln "$ac_source" "$ac_file" 2>/dev/null ||
19948 cp -p "$ac_source" "$ac_file" ||
19949 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19952 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19953 $as_echo "$as_me: executing $ac_file commands" >&6;}
19955 esac
19958 case $ac_file$ac_mode in
19959 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19960 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19961 "Makefile":C) wine_fn_output_makefile Makefile ;;
19963 esac
19964 done # for ac_tag
19967 as_fn_exit 0
19968 _ACEOF
19969 ac_clean_files=$ac_clean_files_save
19971 test $ac_write_fail = 0 ||
19972 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19975 # configure is writing to config.log, and then calls config.status.
19976 # config.status does its own redirection, appending to config.log.
19977 # Unfortunately, on DOS this fails, as config.log is still kept open
19978 # by configure, so config.status won't be able to write to it; its
19979 # output is simply discarded. So we exec the FD to /dev/null,
19980 # effectively closing config.log, so it can be properly (re)opened and
19981 # appended to by config.status. When coming back to configure, we
19982 # need to make the FD available again.
19983 if test "$no_create" != yes; then
19984 ac_cs_success=:
19985 ac_config_status_args=
19986 test "$silent" = yes &&
19987 ac_config_status_args="$ac_config_status_args --quiet"
19988 exec 5>/dev/null
19989 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19990 exec 5>>config.log
19991 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19992 # would make configure fail if this is the last instruction.
19993 $ac_cs_success || as_fn_exit 1
19995 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19996 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19997 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20001 if test "$no_create" = "yes"
20002 then
20003 exit 0
20006 ac_save_IFS="$IFS"
20007 if test "x$wine_notices" != x; then
20008 echo >&6
20009 IFS="|"
20010 for msg in $wine_notices; do
20011 IFS="$ac_save_IFS"
20012 if ${msg:+false} :; then :
20014 else
20015 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20016 $as_echo "$as_me: $msg" >&6;}
20018 done
20020 IFS="|"
20021 for msg in $wine_warnings; do
20022 IFS="$ac_save_IFS"
20023 if ${msg:+false} :; then :
20025 else
20026 echo >&2
20027 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20028 $as_echo "$as_me: WARNING: $msg" >&2;}
20030 done
20031 IFS="$ac_save_IFS"
20033 $as_echo "
20034 $as_me: Finished. Do '${ac_make}' to compile Wine.
20035 " >&6