kerberos: Implement SpFreeCredentialsHandle.
[wine.git] / configure
blob96225801ca0530fa8afbb3c01cf22a077c73c75d
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 3.0.
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='3.0'
584 PACKAGE_STRING='Wine 3.0'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='https://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 LDAP_CFLAGS
631 RT_LIBS
632 POLL_LIBS
633 DL_LIBS
634 TOOLSEXT
635 UNWINDFLAGS
636 EXCESS_PRECISION_CFLAGS
637 BUILTINFLAG
638 EXTRACFLAGS
639 NETAPI_LIBS
640 NETAPI_CFLAGS
641 PROCSTAT_LIBS
642 KSTAT_LIBS
643 MPG123_LIBS
644 MPG123_CFLAGS
645 TIFF_LIBS
646 TIFF_CFLAGS
647 PNG_LIBS
648 PNG_CFLAGS
649 JPEG_LIBS
650 JPEG_CFLAGS
651 GSSAPI_LIBS
652 GSSAPI_CFLAGS
653 KRB5_LIBS
654 KRB5_CFLAGS
655 FONTCONFIG_LIBS
656 FONTCONFIG_CFLAGS
657 CUPS_LIBS
658 CUPS_CFLAGS
659 CAPI20_LIBS
660 CAPI20_CFLAGS
661 UDEV_LIBS
662 UDEV_CFLAGS
663 OSS4_CFLAGS
664 ALSA_LIBS
665 GSTREAMER_LIBS
666 GSTREAMER_CFLAGS
667 PULSE_LIBS
668 PULSE_CFLAGS
669 GETTEXTPO_LIBS
670 Z_LIBS
671 FREETYPE_LIBS
672 FREETYPE_CFLAGS
673 LCMS2_LIBS
674 LCMS2_CFLAGS
675 RESOLV_LIBS
676 GPHOTO2_PORT_LIBS
677 GPHOTO2_PORT_CFLAGS
678 GPHOTO2_LIBS
679 GPHOTO2_CFLAGS
680 SANE_LIBS
681 SANE_CFLAGS
682 GNUTLS_LIBS
683 GNUTLS_CFLAGS
684 HAL_LIBS
685 HAL_CFLAGS
686 DBUS_LIBS
687 DBUS_CFLAGS
688 XSLT_LIBS
689 XSLT_CFLAGS
690 XML2_LIBS
691 XML2_CFLAGS
692 PCAP_LIBS
693 X_EXTRA_LIBS
694 X_LIBS
695 X_PRE_LIBS
696 X_CFLAGS
697 XMKMF
698 PTHREAD_LIBS
699 CROSSCFLAGS
700 CROSSCC
701 CROSSTARGET
702 PRELINK
703 WINELOADER_DEPENDS
704 CARBON_LIBS
705 QUICKTIME_LIBS
706 OPENCL_LIBS
707 OPENAL_LIBS
708 COREAUDIO_LIBS
709 SECURITY_LIBS
710 DISKARBITRATION_LIBS
711 APPKIT_LIBS
712 CORESERVICES_LIBS
713 APPLICATIONSERVICES_LIBS
714 FORCEFEEDBACK_LIBS
715 IOKIT_LIBS
716 COREFOUNDATION_LIBS
717 LIBWINE_DEPENDS
718 LIBWINE_LDFLAGS
719 LIBWINE_INSTALL_DEV
720 LIBWINE_INSTALL_LIB
721 LIBWINE_IMPORTLIB
722 LIBWINE_SHAREDLIB
723 SOCKET_LIBS
724 DLLTOOL
725 WINELOADER_PROGRAMS
726 ALL_TEST_RESOURCES
727 CONFIGURE_TARGETS
728 DISABLED_SUBDIRS
729 SUBDIRS
730 READELF
731 OTOOL
733 WINELOADER_LDFLAGS
734 LDEXECFLAGS
735 LDRPATH_LOCAL
736 LDRPATH_INSTALL
737 DLLFLAGS
738 dlldir
740 OPENGL_LIBS
741 ICOTOOL
742 CONVERT
743 RSVG
744 FONTFORGE
745 PKG_CONFIG
746 MSGFMT
747 LDCONFIG
748 EGREP
749 GREP
750 LN_S
751 RANLIB
752 ARFLAGS
753 STRIP
754 ac_ct_AR
756 BISON
757 FLEX
758 TOOLSDIR
759 TARGETFLAGS
761 CPPBIN
762 ac_ct_CXX
763 CXXFLAGS
765 OBJEXT
766 EXEEXT
767 ac_ct_CC
768 CPPFLAGS
769 LDFLAGS
770 CFLAGS
772 SET_MAKE
773 host_os
774 host_vendor
775 host_cpu
776 host
777 build_os
778 build_vendor
779 build_cpu
780 build
781 target_alias
782 host_alias
783 build_alias
784 LIBS
785 ECHO_T
786 ECHO_N
787 ECHO_C
788 DEFS
789 mandir
790 localedir
791 libdir
792 psdir
793 pdfdir
794 dvidir
795 htmldir
796 infodir
797 docdir
798 oldincludedir
799 includedir
800 runstatedir
801 localstatedir
802 sharedstatedir
803 sysconfdir
804 datadir
805 datarootdir
806 libexecdir
807 sbindir
808 bindir
809 program_transform_name
810 prefix
811 exec_prefix
812 PACKAGE_URL
813 PACKAGE_BUGREPORT
814 PACKAGE_STRING
815 PACKAGE_VERSION
816 PACKAGE_TARNAME
817 PACKAGE_NAME
818 PATH_SEPARATOR
819 SHELL'
820 ac_subst_files=''
821 ac_user_opts='
822 enable_option_checking
823 enable_win16
824 enable_win64
825 enable_tests
826 enable_maintainer_mode
827 with_alsa
828 with_capi
829 with_cms
830 with_coreaudio
831 with_cups
832 with_curses
833 with_dbus
834 with_float_abi
835 with_fontconfig
836 with_freetype
837 with_gettext
838 with_gettextpo
839 with_gphoto
840 with_glu
841 with_gnutls
842 with_gsm
843 with_gssapi
844 with_gstreamer
845 with_hal
846 with_jpeg
847 with_krb5
848 with_ldap
849 with_mpg123
850 with_netapi
851 with_openal
852 with_opencl
853 with_opengl
854 with_osmesa
855 with_oss
856 with_pcap
857 with_png
858 with_pthread
859 with_pulse
860 with_sane
861 with_tiff
862 with_udev
863 with_v4l
864 with_xcomposite
865 with_xcursor
866 with_xfixes
867 with_xinerama
868 with_xinput
869 with_xinput2
870 with_xml
871 with_xrandr
872 with_xrender
873 with_xshape
874 with_xshm
875 with_xslt
876 with_xxf86vm
877 with_zlib
878 with_wine_tools
879 with_wine64
880 enable_largefile
881 with_x
882 enable_acledit
883 enable_aclui
884 enable_activeds
885 enable_actxprxy
886 enable_adsldpc
887 enable_advapi32
888 enable_advpack
889 enable_amstream
890 enable_api_ms_win_appmodel_identity_l1_1_0
891 enable_api_ms_win_appmodel_runtime_l1_1_1
892 enable_api_ms_win_appmodel_runtime_l1_1_2
893 enable_api_ms_win_core_apiquery_l1_1_0
894 enable_api_ms_win_core_appcompat_l1_1_1
895 enable_api_ms_win_core_appinit_l1_1_0
896 enable_api_ms_win_core_atoms_l1_1_0
897 enable_api_ms_win_core_bem_l1_1_0
898 enable_api_ms_win_core_com_l1_1_0
899 enable_api_ms_win_core_com_l1_1_1
900 enable_api_ms_win_core_com_private_l1_1_0
901 enable_api_ms_win_core_console_l1_1_0
902 enable_api_ms_win_core_console_l2_1_0
903 enable_api_ms_win_core_crt_l1_1_0
904 enable_api_ms_win_core_crt_l2_1_0
905 enable_api_ms_win_core_datetime_l1_1_0
906 enable_api_ms_win_core_datetime_l1_1_1
907 enable_api_ms_win_core_debug_l1_1_0
908 enable_api_ms_win_core_debug_l1_1_1
909 enable_api_ms_win_core_delayload_l1_1_0
910 enable_api_ms_win_core_delayload_l1_1_1
911 enable_api_ms_win_core_errorhandling_l1_1_0
912 enable_api_ms_win_core_errorhandling_l1_1_1
913 enable_api_ms_win_core_errorhandling_l1_1_2
914 enable_api_ms_win_core_errorhandling_l1_1_3
915 enable_api_ms_win_core_fibers_l1_1_0
916 enable_api_ms_win_core_fibers_l1_1_1
917 enable_api_ms_win_core_file_l1_1_0
918 enable_api_ms_win_core_file_l1_2_0
919 enable_api_ms_win_core_file_l1_2_1
920 enable_api_ms_win_core_file_l1_2_2
921 enable_api_ms_win_core_file_l2_1_0
922 enable_api_ms_win_core_file_l2_1_1
923 enable_api_ms_win_core_file_l2_1_2
924 enable_api_ms_win_core_handle_l1_1_0
925 enable_api_ms_win_core_heap_l1_1_0
926 enable_api_ms_win_core_heap_l1_2_0
927 enable_api_ms_win_core_heap_l2_1_0
928 enable_api_ms_win_core_heap_obsolete_l1_1_0
929 enable_api_ms_win_core_interlocked_l1_1_0
930 enable_api_ms_win_core_interlocked_l1_2_0
931 enable_api_ms_win_core_io_l1_1_0
932 enable_api_ms_win_core_io_l1_1_1
933 enable_api_ms_win_core_job_l1_1_0
934 enable_api_ms_win_core_job_l2_1_0
935 enable_api_ms_win_core_kernel32_legacy_l1_1_0
936 enable_api_ms_win_core_kernel32_legacy_l1_1_1
937 enable_api_ms_win_core_kernel32_private_l1_1_1
938 enable_api_ms_win_core_libraryloader_l1_1_0
939 enable_api_ms_win_core_libraryloader_l1_1_1
940 enable_api_ms_win_core_libraryloader_l1_2_0
941 enable_api_ms_win_core_libraryloader_l1_2_1
942 enable_api_ms_win_core_libraryloader_l1_2_2
943 enable_api_ms_win_core_localization_l1_1_0
944 enable_api_ms_win_core_localization_l1_2_0
945 enable_api_ms_win_core_localization_l1_2_1
946 enable_api_ms_win_core_localization_l2_1_0
947 enable_api_ms_win_core_localization_obsolete_l1_1_0
948 enable_api_ms_win_core_localization_obsolete_l1_2_0
949 enable_api_ms_win_core_localization_obsolete_l1_3_0
950 enable_api_ms_win_core_localization_private_l1_1_0
951 enable_api_ms_win_core_localregistry_l1_1_0
952 enable_api_ms_win_core_memory_l1_1_0
953 enable_api_ms_win_core_memory_l1_1_1
954 enable_api_ms_win_core_memory_l1_1_2
955 enable_api_ms_win_core_misc_l1_1_0
956 enable_api_ms_win_core_namedpipe_l1_1_0
957 enable_api_ms_win_core_namedpipe_l1_2_0
958 enable_api_ms_win_core_namespace_l1_1_0
959 enable_api_ms_win_core_normalization_l1_1_0
960 enable_api_ms_win_core_path_l1_1_0
961 enable_api_ms_win_core_privateprofile_l1_1_1
962 enable_api_ms_win_core_processenvironment_l1_1_0
963 enable_api_ms_win_core_processenvironment_l1_2_0
964 enable_api_ms_win_core_processthreads_l1_1_0
965 enable_api_ms_win_core_processthreads_l1_1_1
966 enable_api_ms_win_core_processthreads_l1_1_2
967 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
968 enable_api_ms_win_core_profile_l1_1_0
969 enable_api_ms_win_core_psapi_ansi_l1_1_0
970 enable_api_ms_win_core_psapi_l1_1_0
971 enable_api_ms_win_core_psapi_obsolete_l1_1_0
972 enable_api_ms_win_core_quirks_l1_1_0
973 enable_api_ms_win_core_realtime_l1_1_0
974 enable_api_ms_win_core_registry_l1_1_0
975 enable_api_ms_win_core_registry_l2_1_0
976 enable_api_ms_win_core_registryuserspecific_l1_1_0
977 enable_api_ms_win_core_rtlsupport_l1_1_0
978 enable_api_ms_win_core_rtlsupport_l1_2_0
979 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
980 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
981 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
982 enable_api_ms_win_core_sidebyside_l1_1_0
983 enable_api_ms_win_core_string_l1_1_0
984 enable_api_ms_win_core_string_l2_1_0
985 enable_api_ms_win_core_string_obsolete_l1_1_0
986 enable_api_ms_win_core_stringansi_l1_1_0
987 enable_api_ms_win_core_synch_ansi_l1_1_0
988 enable_api_ms_win_core_synch_l1_1_0
989 enable_api_ms_win_core_synch_l1_2_0
990 enable_api_ms_win_core_synch_l1_2_1
991 enable_api_ms_win_core_sysinfo_l1_1_0
992 enable_api_ms_win_core_sysinfo_l1_2_0
993 enable_api_ms_win_core_sysinfo_l1_2_1
994 enable_api_ms_win_core_threadpool_l1_1_0
995 enable_api_ms_win_core_threadpool_l1_2_0
996 enable_api_ms_win_core_threadpool_legacy_l1_1_0
997 enable_api_ms_win_core_threadpool_private_l1_1_0
998 enable_api_ms_win_core_timezone_l1_1_0
999 enable_api_ms_win_core_toolhelp_l1_1_0
1000 enable_api_ms_win_core_url_l1_1_0
1001 enable_api_ms_win_core_util_l1_1_0
1002 enable_api_ms_win_core_version_l1_1_0
1003 enable_api_ms_win_core_version_l1_1_1
1004 enable_api_ms_win_core_version_private_l1_1_0
1005 enable_api_ms_win_core_versionansi_l1_1_0
1006 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1007 enable_api_ms_win_core_winrt_error_l1_1_0
1008 enable_api_ms_win_core_winrt_error_l1_1_1
1009 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1010 enable_api_ms_win_core_winrt_l1_1_0
1011 enable_api_ms_win_core_winrt_registration_l1_1_0
1012 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1013 enable_api_ms_win_core_winrt_string_l1_1_0
1014 enable_api_ms_win_core_wow64_l1_1_0
1015 enable_api_ms_win_core_wow64_l1_1_1
1016 enable_api_ms_win_core_xstate_l1_1_0
1017 enable_api_ms_win_core_xstate_l2_1_0
1018 enable_api_ms_win_crt_conio_l1_1_0
1019 enable_api_ms_win_crt_convert_l1_1_0
1020 enable_api_ms_win_crt_environment_l1_1_0
1021 enable_api_ms_win_crt_filesystem_l1_1_0
1022 enable_api_ms_win_crt_heap_l1_1_0
1023 enable_api_ms_win_crt_locale_l1_1_0
1024 enable_api_ms_win_crt_math_l1_1_0
1025 enable_api_ms_win_crt_multibyte_l1_1_0
1026 enable_api_ms_win_crt_private_l1_1_0
1027 enable_api_ms_win_crt_process_l1_1_0
1028 enable_api_ms_win_crt_runtime_l1_1_0
1029 enable_api_ms_win_crt_stdio_l1_1_0
1030 enable_api_ms_win_crt_string_l1_1_0
1031 enable_api_ms_win_crt_time_l1_1_0
1032 enable_api_ms_win_crt_utility_l1_1_0
1033 enable_api_ms_win_devices_config_l1_1_1
1034 enable_api_ms_win_devices_query_l1_1_1
1035 enable_api_ms_win_downlevel_advapi32_l1_1_0
1036 enable_api_ms_win_downlevel_advapi32_l2_1_0
1037 enable_api_ms_win_downlevel_normaliz_l1_1_0
1038 enable_api_ms_win_downlevel_ole32_l1_1_0
1039 enable_api_ms_win_downlevel_shell32_l1_1_0
1040 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1041 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1042 enable_api_ms_win_downlevel_user32_l1_1_0
1043 enable_api_ms_win_downlevel_version_l1_1_0
1044 enable_api_ms_win_dx_d3dkmt_l1_1_0
1045 enable_api_ms_win_eventing_classicprovider_l1_1_0
1046 enable_api_ms_win_eventing_consumer_l1_1_0
1047 enable_api_ms_win_eventing_controller_l1_1_0
1048 enable_api_ms_win_eventing_legacy_l1_1_0
1049 enable_api_ms_win_eventing_provider_l1_1_0
1050 enable_api_ms_win_eventlog_legacy_l1_1_0
1051 enable_api_ms_win_mm_joystick_l1_1_0
1052 enable_api_ms_win_mm_misc_l1_1_1
1053 enable_api_ms_win_mm_mme_l1_1_0
1054 enable_api_ms_win_mm_time_l1_1_0
1055 enable_api_ms_win_ntuser_dc_access_l1_1_0
1056 enable_api_ms_win_ntuser_rectangle_l1_1_0
1057 enable_api_ms_win_power_base_l1_1_0
1058 enable_api_ms_win_power_setting_l1_1_0
1059 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1060 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1061 enable_api_ms_win_security_audit_l1_1_1
1062 enable_api_ms_win_security_base_l1_1_0
1063 enable_api_ms_win_security_base_l1_2_0
1064 enable_api_ms_win_security_base_private_l1_1_1
1065 enable_api_ms_win_security_credentials_l1_1_0
1066 enable_api_ms_win_security_grouppolicy_l1_1_0
1067 enable_api_ms_win_security_lsalookup_l1_1_0
1068 enable_api_ms_win_security_lsalookup_l1_1_1
1069 enable_api_ms_win_security_lsalookup_l2_1_1
1070 enable_api_ms_win_security_lsapolicy_l1_1_0
1071 enable_api_ms_win_security_provider_l1_1_0
1072 enable_api_ms_win_security_sddl_l1_1_0
1073 enable_api_ms_win_security_systemfunctions_l1_1_0
1074 enable_api_ms_win_service_core_l1_1_0
1075 enable_api_ms_win_service_core_l1_1_1
1076 enable_api_ms_win_service_management_l1_1_0
1077 enable_api_ms_win_service_management_l2_1_0
1078 enable_api_ms_win_service_private_l1_1_1
1079 enable_api_ms_win_service_winsvc_l1_1_0
1080 enable_api_ms_win_service_winsvc_l1_2_0
1081 enable_api_ms_win_shcore_scaling_l1_1_1
1082 enable_api_ms_win_shell_shellcom_l1_1_0
1083 enable_api_ms_win_shell_shellfolders_l1_1_0
1084 enable_apphelp
1085 enable_appwiz_cpl
1086 enable_atl
1087 enable_atl100
1088 enable_atl110
1089 enable_atl80
1090 enable_atl90
1091 enable_authz
1092 enable_avicap32
1093 enable_avifil32
1094 enable_avrt
1095 enable_bcrypt
1096 enable_bluetoothapis
1097 enable_browseui
1098 enable_bthprops_cpl
1099 enable_cabinet
1100 enable_capi2032
1101 enable_cards
1102 enable_cfgmgr32
1103 enable_clusapi
1104 enable_combase
1105 enable_comcat
1106 enable_comctl32
1107 enable_comdlg32
1108 enable_compstui
1109 enable_comsvcs
1110 enable_concrt140
1111 enable_connect
1112 enable_credui
1113 enable_crtdll
1114 enable_crypt32
1115 enable_cryptdlg
1116 enable_cryptdll
1117 enable_cryptext
1118 enable_cryptnet
1119 enable_cryptui
1120 enable_ctapi32
1121 enable_ctl3d32
1122 enable_d2d1
1123 enable_d3d10
1124 enable_d3d10_1
1125 enable_d3d10core
1126 enable_d3d11
1127 enable_d3d8
1128 enable_d3d9
1129 enable_d3dcompiler_33
1130 enable_d3dcompiler_34
1131 enable_d3dcompiler_35
1132 enable_d3dcompiler_36
1133 enable_d3dcompiler_37
1134 enable_d3dcompiler_38
1135 enable_d3dcompiler_39
1136 enable_d3dcompiler_40
1137 enable_d3dcompiler_41
1138 enable_d3dcompiler_42
1139 enable_d3dcompiler_43
1140 enable_d3dcompiler_46
1141 enable_d3dcompiler_47
1142 enable_d3dim
1143 enable_d3drm
1144 enable_d3dx10_33
1145 enable_d3dx10_34
1146 enable_d3dx10_35
1147 enable_d3dx10_36
1148 enable_d3dx10_37
1149 enable_d3dx10_38
1150 enable_d3dx10_39
1151 enable_d3dx10_40
1152 enable_d3dx10_41
1153 enable_d3dx10_42
1154 enable_d3dx10_43
1155 enable_d3dx11_42
1156 enable_d3dx11_43
1157 enable_d3dx9_24
1158 enable_d3dx9_25
1159 enable_d3dx9_26
1160 enable_d3dx9_27
1161 enable_d3dx9_28
1162 enable_d3dx9_29
1163 enable_d3dx9_30
1164 enable_d3dx9_31
1165 enable_d3dx9_32
1166 enable_d3dx9_33
1167 enable_d3dx9_34
1168 enable_d3dx9_35
1169 enable_d3dx9_36
1170 enable_d3dx9_37
1171 enable_d3dx9_38
1172 enable_d3dx9_39
1173 enable_d3dx9_40
1174 enable_d3dx9_41
1175 enable_d3dx9_42
1176 enable_d3dx9_43
1177 enable_d3dxof
1178 enable_davclnt
1179 enable_dbgeng
1180 enable_dbghelp
1181 enable_dciman32
1182 enable_ddraw
1183 enable_ddrawex
1184 enable_devenum
1185 enable_dhcpcsvc
1186 enable_dhtmled_ocx
1187 enable_difxapi
1188 enable_dinput
1189 enable_dinput8
1190 enable_dispex
1191 enable_dmband
1192 enable_dmcompos
1193 enable_dmime
1194 enable_dmloader
1195 enable_dmscript
1196 enable_dmstyle
1197 enable_dmsynth
1198 enable_dmusic
1199 enable_dmusic32
1200 enable_dnsapi
1201 enable_dplay
1202 enable_dplayx
1203 enable_dpnaddr
1204 enable_dpnet
1205 enable_dpnhpast
1206 enable_dpnlobby
1207 enable_dpvoice
1208 enable_dpwsockx
1209 enable_drmclien
1210 enable_dsound
1211 enable_dsquery
1212 enable_dssenh
1213 enable_dswave
1214 enable_dwmapi
1215 enable_dwrite
1216 enable_dx8vb
1217 enable_dxdiagn
1218 enable_dxgi
1219 enable_dxva2
1220 enable_esent
1221 enable_evr
1222 enable_explorerframe
1223 enable_ext_ms_win_authz_context_l1_1_0
1224 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1225 enable_ext_ms_win_gdi_dc_create_l1_1_1
1226 enable_ext_ms_win_gdi_dc_l1_2_0
1227 enable_ext_ms_win_gdi_devcaps_l1_1_0
1228 enable_ext_ms_win_gdi_draw_l1_1_1
1229 enable_ext_ms_win_gdi_render_l1_1_0
1230 enable_ext_ms_win_kernel32_package_current_l1_1_0
1231 enable_ext_ms_win_kernel32_package_l1_1_1
1232 enable_ext_ms_win_ntuser_message_l1_1_1
1233 enable_ext_ms_win_ntuser_private_l1_1_1
1234 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1235 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1236 enable_ext_ms_win_ntuser_window_l1_1_1
1237 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1238 enable_ext_ms_win_ras_rasapi32_l1_1_0
1239 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1240 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1241 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1242 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1243 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1244 enable_ext_ms_win_security_credui_l1_1_0
1245 enable_ext_ms_win_security_cryptui_l1_1_0
1246 enable_faultrep
1247 enable_fltlib
1248 enable_fltmgr_sys
1249 enable_fntcache
1250 enable_fontsub
1251 enable_fusion
1252 enable_fwpuclnt
1253 enable_gameux
1254 enable_gdi32
1255 enable_gdiplus
1256 enable_glu32
1257 enable_gphoto2_ds
1258 enable_gpkcsp
1259 enable_hal
1260 enable_hhctrl_ocx
1261 enable_hid
1262 enable_hidclass_sys
1263 enable_hlink
1264 enable_hnetcfg
1265 enable_httpapi
1266 enable_iccvid
1267 enable_icmp
1268 enable_ieframe
1269 enable_ieproxy
1270 enable_imaadp32_acm
1271 enable_imagehlp
1272 enable_imm32
1273 enable_inetcomm
1274 enable_inetcpl_cpl
1275 enable_inetmib1
1276 enable_infosoft
1277 enable_initpki
1278 enable_inkobj
1279 enable_inseng
1280 enable_iphlpapi
1281 enable_iprop
1282 enable_irprops_cpl
1283 enable_itircl
1284 enable_itss
1285 enable_joy_cpl
1286 enable_jscript
1287 enable_jsproxy
1288 enable_kerberos
1289 enable_kernel32
1290 enable_kernelbase
1291 enable_ksuser
1292 enable_ktmw32
1293 enable_l3codeca_acm
1294 enable_loadperf
1295 enable_localspl
1296 enable_localui
1297 enable_lz32
1298 enable_mapi32
1299 enable_mapistub
1300 enable_mciavi32
1301 enable_mcicda
1302 enable_mciqtz32
1303 enable_mciseq
1304 enable_mciwave
1305 enable_mf
1306 enable_mf3216
1307 enable_mfplat
1308 enable_mfreadwrite
1309 enable_mgmtapi
1310 enable_midimap
1311 enable_mlang
1312 enable_mmcndmgr
1313 enable_mmdevapi
1314 enable_mountmgr_sys
1315 enable_mpr
1316 enable_mprapi
1317 enable_msacm32_drv
1318 enable_msacm32
1319 enable_msadp32_acm
1320 enable_msasn1
1321 enable_mscat32
1322 enable_mscms
1323 enable_mscoree
1324 enable_msctf
1325 enable_msctfp
1326 enable_msdaps
1327 enable_msdelta
1328 enable_msdmo
1329 enable_msdrm
1330 enable_msftedit
1331 enable_msg711_acm
1332 enable_msgsm32_acm
1333 enable_mshtml_tlb
1334 enable_mshtml
1335 enable_msi
1336 enable_msident
1337 enable_msimg32
1338 enable_msimsg
1339 enable_msimtf
1340 enable_msisip
1341 enable_msisys_ocx
1342 enable_msls31
1343 enable_msnet32
1344 enable_mspatcha
1345 enable_msports
1346 enable_msrle32
1347 enable_msscript_ocx
1348 enable_mssign32
1349 enable_mssip32
1350 enable_mstask
1351 enable_msvcirt
1352 enable_msvcm80
1353 enable_msvcm90
1354 enable_msvcp100
1355 enable_msvcp110
1356 enable_msvcp120
1357 enable_msvcp120_app
1358 enable_msvcp140
1359 enable_msvcp60
1360 enable_msvcp70
1361 enable_msvcp71
1362 enable_msvcp80
1363 enable_msvcp90
1364 enable_msvcr100
1365 enable_msvcr110
1366 enable_msvcr120
1367 enable_msvcr120_app
1368 enable_msvcr70
1369 enable_msvcr71
1370 enable_msvcr80
1371 enable_msvcr90
1372 enable_msvcrt
1373 enable_msvcrt20
1374 enable_msvcrt40
1375 enable_msvcrtd
1376 enable_msvfw32
1377 enable_msvidc32
1378 enable_mswsock
1379 enable_msxml
1380 enable_msxml2
1381 enable_msxml3
1382 enable_msxml4
1383 enable_msxml6
1384 enable_mtxdm
1385 enable_ncrypt
1386 enable_nddeapi
1387 enable_ndis_sys
1388 enable_netapi32
1389 enable_netcfgx
1390 enable_netprofm
1391 enable_newdev
1392 enable_normaliz
1393 enable_npmshtml
1394 enable_npptools
1395 enable_ntdll
1396 enable_ntdsapi
1397 enable_ntoskrnl_exe
1398 enable_ntprint
1399 enable_objsel
1400 enable_odbc32
1401 enable_odbccp32
1402 enable_odbccu32
1403 enable_ole32
1404 enable_oleacc
1405 enable_oleaut32
1406 enable_olecli32
1407 enable_oledb32
1408 enable_oledlg
1409 enable_olepro32
1410 enable_olesvr32
1411 enable_olethk32
1412 enable_openal32
1413 enable_opencl
1414 enable_opengl32
1415 enable_packager
1416 enable_pdh
1417 enable_photometadatahandler
1418 enable_pidgen
1419 enable_powrprof
1420 enable_printui
1421 enable_prntvpt
1422 enable_propsys
1423 enable_psapi
1424 enable_pstorec
1425 enable_qcap
1426 enable_qedit
1427 enable_qmgr
1428 enable_qmgrprxy
1429 enable_quartz
1430 enable_query
1431 enable_rasapi32
1432 enable_rasdlg
1433 enable_regapi
1434 enable_resutils
1435 enable_riched20
1436 enable_riched32
1437 enable_rpcrt4
1438 enable_rsabase
1439 enable_rsaenh
1440 enable_rstrtmgr
1441 enable_rtutils
1442 enable_samlib
1443 enable_sane_ds
1444 enable_sapi
1445 enable_scarddlg
1446 enable_sccbase
1447 enable_schannel
1448 enable_schedsvc
1449 enable_scrobj
1450 enable_scrrun
1451 enable_scsiport_sys
1452 enable_secur32
1453 enable_security
1454 enable_sensapi
1455 enable_serialui
1456 enable_setupapi
1457 enable_sfc
1458 enable_sfc_os
1459 enable_shdoclc
1460 enable_shdocvw
1461 enable_shell32
1462 enable_shfolder
1463 enable_shlwapi
1464 enable_slbcsp
1465 enable_slc
1466 enable_snmpapi
1467 enable_softpub
1468 enable_spoolss
1469 enable_sspicli
1470 enable_stdole2_tlb
1471 enable_stdole32_tlb
1472 enable_sti
1473 enable_svrapi
1474 enable_sxs
1475 enable_t2embed
1476 enable_tapi32
1477 enable_taskschd
1478 enable_tdh
1479 enable_tdi_sys
1480 enable_traffic
1481 enable_twain_32
1482 enable_ucrtbase
1483 enable_uiautomationcore
1484 enable_uiribbon
1485 enable_unicows
1486 enable_updspapi
1487 enable_url
1488 enable_urlmon
1489 enable_usbd_sys
1490 enable_user32
1491 enable_userenv
1492 enable_usp10
1493 enable_uxtheme
1494 enable_vbscript
1495 enable_vcomp
1496 enable_vcomp100
1497 enable_vcomp110
1498 enable_vcomp120
1499 enable_vcomp140
1500 enable_vcomp90
1501 enable_vcruntime140
1502 enable_vdmdbg
1503 enable_version
1504 enable_virtdisk
1505 enable_vssapi
1506 enable_wbemdisp
1507 enable_wbemprox
1508 enable_wdscore
1509 enable_webservices
1510 enable_wer
1511 enable_wevtapi
1512 enable_wiaservc
1513 enable_wimgapi
1514 enable_windowscodecs
1515 enable_windowscodecsext
1516 enable_winealsa_drv
1517 enable_wineandroid_drv
1518 enable_winebus_sys
1519 enable_winecoreaudio_drv
1520 enable_wined3d
1521 enable_winegstreamer
1522 enable_winehid_sys
1523 enable_winejoystick_drv
1524 enable_winemac_drv
1525 enable_winemapi
1526 enable_wineoss_drv
1527 enable_wineps_drv
1528 enable_winepulse_drv
1529 enable_wineqtdecoder
1530 enable_winex11_drv
1531 enable_wing32
1532 enable_winhttp
1533 enable_wininet
1534 enable_winmm
1535 enable_winnls32
1536 enable_winscard
1537 enable_winspool_drv
1538 enable_winsta
1539 enable_wintab32
1540 enable_wintrust
1541 enable_winusb
1542 enable_wlanapi
1543 enable_wldap32
1544 enable_wmasf
1545 enable_wmi
1546 enable_wmiutils
1547 enable_wmp
1548 enable_wmphoto
1549 enable_wmvcore
1550 enable_wnaspi32
1551 enable_wpc
1552 enable_wpcap
1553 enable_ws2_32
1554 enable_wsdapi
1555 enable_wshom_ocx
1556 enable_wsnmp32
1557 enable_wsock32
1558 enable_wtsapi32
1559 enable_wuapi
1560 enable_wuaueng
1561 enable_x3daudio1_0
1562 enable_x3daudio1_1
1563 enable_x3daudio1_2
1564 enable_x3daudio1_3
1565 enable_x3daudio1_4
1566 enable_x3daudio1_5
1567 enable_x3daudio1_6
1568 enable_x3daudio1_7
1569 enable_xapofx1_1
1570 enable_xapofx1_2
1571 enable_xapofx1_3
1572 enable_xapofx1_4
1573 enable_xapofx1_5
1574 enable_xaudio2_0
1575 enable_xaudio2_1
1576 enable_xaudio2_2
1577 enable_xaudio2_3
1578 enable_xaudio2_4
1579 enable_xaudio2_5
1580 enable_xaudio2_6
1581 enable_xaudio2_7
1582 enable_xaudio2_8
1583 enable_xaudio2_9
1584 enable_xinput1_1
1585 enable_xinput1_2
1586 enable_xinput1_3
1587 enable_xinput1_4
1588 enable_xinput9_1_0
1589 enable_xmllite
1590 enable_xolehlp
1591 enable_xpsprint
1592 enable_xpssvcs
1593 enable_fonts
1594 enable_include
1595 enable_libs_port
1596 enable_libs_wine
1597 enable_libs_wpp
1598 enable_loader
1599 enable_po
1600 enable_arp
1601 enable_aspnet_regiis
1602 enable_attrib
1603 enable_cabarc
1604 enable_cacls
1605 enable_clock
1606 enable_cmd
1607 enable_conhost
1608 enable_control
1609 enable_cscript
1610 enable_dpnsvr
1611 enable_dxdiag
1612 enable_eject
1613 enable_expand
1614 enable_explorer
1615 enable_extrac32
1616 enable_findstr
1617 enable_fsutil
1618 enable_hh
1619 enable_hostname
1620 enable_icacls
1621 enable_icinfo
1622 enable_iexplore
1623 enable_ipconfig
1624 enable_lodctr
1625 enable_mofcomp
1626 enable_mshta
1627 enable_msiexec
1628 enable_msinfo32
1629 enable_net
1630 enable_netsh
1631 enable_netstat
1632 enable_ngen
1633 enable_notepad
1634 enable_oleview
1635 enable_ping
1636 enable_plugplay
1637 enable_powershell
1638 enable_presentationfontcache
1639 enable_progman
1640 enable_reg
1641 enable_regasm
1642 enable_regedit
1643 enable_regsvcs
1644 enable_regsvr32
1645 enable_rpcss
1646 enable_rundll32
1647 enable_sc
1648 enable_schtasks
1649 enable_sdbinst
1650 enable_secedit
1651 enable_servicemodelreg
1652 enable_services
1653 enable_shutdown
1654 enable_spoolsv
1655 enable_start
1656 enable_subst
1657 enable_svchost
1658 enable_systeminfo
1659 enable_taskkill
1660 enable_tasklist
1661 enable_taskmgr
1662 enable_termsv
1663 enable_uninstaller
1664 enable_unlodctr
1665 enable_view
1666 enable_wevtutil
1667 enable_wineboot
1668 enable_winebrowser
1669 enable_winecfg
1670 enable_wineconsole
1671 enable_winedbg
1672 enable_winedevice
1673 enable_winefile
1674 enable_winemenubuilder
1675 enable_winemine
1676 enable_winemsibuilder
1677 enable_winepath
1678 enable_winetest
1679 enable_winhlp32
1680 enable_winver
1681 enable_wmic
1682 enable_wmplayer
1683 enable_wordpad
1684 enable_write
1685 enable_wscript
1686 enable_wusa
1687 enable_xcopy
1688 enable_server
1689 enable_tools
1691 ac_precious_vars='build_alias
1692 host_alias
1693 target_alias
1695 CFLAGS
1696 LDFLAGS
1697 LIBS
1698 CPPFLAGS
1700 CXXFLAGS
1703 XMKMF
1704 XML2_CFLAGS
1705 XML2_LIBS
1706 XSLT_CFLAGS
1707 XSLT_LIBS
1708 DBUS_CFLAGS
1709 DBUS_LIBS
1710 HAL_CFLAGS
1711 HAL_LIBS
1712 GNUTLS_CFLAGS
1713 GNUTLS_LIBS
1714 SANE_CFLAGS
1715 SANE_LIBS
1716 GPHOTO2_CFLAGS
1717 GPHOTO2_LIBS
1718 GPHOTO2_PORT_CFLAGS
1719 GPHOTO2_PORT_LIBS
1720 LCMS2_CFLAGS
1721 LCMS2_LIBS
1722 FREETYPE_CFLAGS
1723 FREETYPE_LIBS
1724 PULSE_CFLAGS
1725 PULSE_LIBS
1726 GSTREAMER_CFLAGS
1727 GSTREAMER_LIBS
1728 UDEV_CFLAGS
1729 UDEV_LIBS
1730 CAPI20_CFLAGS
1731 CAPI20_LIBS
1732 CUPS_CFLAGS
1733 CUPS_LIBS
1734 FONTCONFIG_CFLAGS
1735 FONTCONFIG_LIBS
1736 KRB5_CFLAGS
1737 KRB5_LIBS
1738 GSSAPI_CFLAGS
1739 GSSAPI_LIBS
1740 JPEG_CFLAGS
1741 JPEG_LIBS
1742 PNG_CFLAGS
1743 PNG_LIBS
1744 TIFF_CFLAGS
1745 TIFF_LIBS
1746 MPG123_CFLAGS
1747 MPG123_LIBS
1748 NETAPI_CFLAGS
1749 NETAPI_LIBS
1750 LDAP_CFLAGS
1751 LDAP_LIBS'
1754 # Initialize some variables set by options.
1755 ac_init_help=
1756 ac_init_version=false
1757 ac_unrecognized_opts=
1758 ac_unrecognized_sep=
1759 # The variables have the same names as the options, with
1760 # dashes changed to underlines.
1761 cache_file=/dev/null
1762 exec_prefix=NONE
1763 no_create=
1764 no_recursion=
1765 prefix=NONE
1766 program_prefix=NONE
1767 program_suffix=NONE
1768 program_transform_name=s,x,x,
1769 silent=
1770 site=
1771 srcdir=
1772 verbose=
1773 x_includes=NONE
1774 x_libraries=NONE
1776 # Installation directory options.
1777 # These are left unexpanded so users can "make install exec_prefix=/foo"
1778 # and all the variables that are supposed to be based on exec_prefix
1779 # by default will actually change.
1780 # Use braces instead of parens because sh, perl, etc. also accept them.
1781 # (The list follows the same order as the GNU Coding Standards.)
1782 bindir='${exec_prefix}/bin'
1783 sbindir='${exec_prefix}/sbin'
1784 libexecdir='${exec_prefix}/libexec'
1785 datarootdir='${prefix}/share'
1786 datadir='${datarootdir}'
1787 sysconfdir='${prefix}/etc'
1788 sharedstatedir='${prefix}/com'
1789 localstatedir='${prefix}/var'
1790 runstatedir='${localstatedir}/run'
1791 includedir='${prefix}/include'
1792 oldincludedir='/usr/include'
1793 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1794 infodir='${datarootdir}/info'
1795 htmldir='${docdir}'
1796 dvidir='${docdir}'
1797 pdfdir='${docdir}'
1798 psdir='${docdir}'
1799 libdir='${exec_prefix}/lib'
1800 localedir='${datarootdir}/locale'
1801 mandir='${datarootdir}/man'
1803 ac_prev=
1804 ac_dashdash=
1805 for ac_option
1807 # If the previous option needs an argument, assign it.
1808 if test -n "$ac_prev"; then
1809 eval $ac_prev=\$ac_option
1810 ac_prev=
1811 continue
1814 case $ac_option in
1815 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1816 *=) ac_optarg= ;;
1817 *) ac_optarg=yes ;;
1818 esac
1820 # Accept the important Cygnus configure options, so we can diagnose typos.
1822 case $ac_dashdash$ac_option in
1824 ac_dashdash=yes ;;
1826 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1827 ac_prev=bindir ;;
1828 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1829 bindir=$ac_optarg ;;
1831 -build | --build | --buil | --bui | --bu)
1832 ac_prev=build_alias ;;
1833 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1834 build_alias=$ac_optarg ;;
1836 -cache-file | --cache-file | --cache-fil | --cache-fi \
1837 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1838 ac_prev=cache_file ;;
1839 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1840 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1841 cache_file=$ac_optarg ;;
1843 --config-cache | -C)
1844 cache_file=config.cache ;;
1846 -datadir | --datadir | --datadi | --datad)
1847 ac_prev=datadir ;;
1848 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1849 datadir=$ac_optarg ;;
1851 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1852 | --dataroo | --dataro | --datar)
1853 ac_prev=datarootdir ;;
1854 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1855 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1856 datarootdir=$ac_optarg ;;
1858 -disable-* | --disable-*)
1859 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1860 # Reject names that are not valid shell variable names.
1861 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1862 as_fn_error $? "invalid feature name: $ac_useropt"
1863 ac_useropt_orig=$ac_useropt
1864 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1865 case $ac_user_opts in
1867 "enable_$ac_useropt"
1868 "*) ;;
1869 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1870 ac_unrecognized_sep=', ';;
1871 esac
1872 eval enable_$ac_useropt=no ;;
1874 -docdir | --docdir | --docdi | --doc | --do)
1875 ac_prev=docdir ;;
1876 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1877 docdir=$ac_optarg ;;
1879 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1880 ac_prev=dvidir ;;
1881 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1882 dvidir=$ac_optarg ;;
1884 -enable-* | --enable-*)
1885 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1886 # Reject names that are not valid shell variable names.
1887 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1888 as_fn_error $? "invalid feature name: $ac_useropt"
1889 ac_useropt_orig=$ac_useropt
1890 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1891 case $ac_user_opts in
1893 "enable_$ac_useropt"
1894 "*) ;;
1895 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1896 ac_unrecognized_sep=', ';;
1897 esac
1898 eval enable_$ac_useropt=\$ac_optarg ;;
1900 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1901 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1902 | --exec | --exe | --ex)
1903 ac_prev=exec_prefix ;;
1904 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1905 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1906 | --exec=* | --exe=* | --ex=*)
1907 exec_prefix=$ac_optarg ;;
1909 -gas | --gas | --ga | --g)
1910 # Obsolete; use --with-gas.
1911 with_gas=yes ;;
1913 -help | --help | --hel | --he | -h)
1914 ac_init_help=long ;;
1915 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1916 ac_init_help=recursive ;;
1917 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1918 ac_init_help=short ;;
1920 -host | --host | --hos | --ho)
1921 ac_prev=host_alias ;;
1922 -host=* | --host=* | --hos=* | --ho=*)
1923 host_alias=$ac_optarg ;;
1925 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1926 ac_prev=htmldir ;;
1927 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1928 | --ht=*)
1929 htmldir=$ac_optarg ;;
1931 -includedir | --includedir | --includedi | --included | --include \
1932 | --includ | --inclu | --incl | --inc)
1933 ac_prev=includedir ;;
1934 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1935 | --includ=* | --inclu=* | --incl=* | --inc=*)
1936 includedir=$ac_optarg ;;
1938 -infodir | --infodir | --infodi | --infod | --info | --inf)
1939 ac_prev=infodir ;;
1940 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1941 infodir=$ac_optarg ;;
1943 -libdir | --libdir | --libdi | --libd)
1944 ac_prev=libdir ;;
1945 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1946 libdir=$ac_optarg ;;
1948 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1949 | --libexe | --libex | --libe)
1950 ac_prev=libexecdir ;;
1951 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1952 | --libexe=* | --libex=* | --libe=*)
1953 libexecdir=$ac_optarg ;;
1955 -localedir | --localedir | --localedi | --localed | --locale)
1956 ac_prev=localedir ;;
1957 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1958 localedir=$ac_optarg ;;
1960 -localstatedir | --localstatedir | --localstatedi | --localstated \
1961 | --localstate | --localstat | --localsta | --localst | --locals)
1962 ac_prev=localstatedir ;;
1963 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1964 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1965 localstatedir=$ac_optarg ;;
1967 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1968 ac_prev=mandir ;;
1969 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1970 mandir=$ac_optarg ;;
1972 -nfp | --nfp | --nf)
1973 # Obsolete; use --without-fp.
1974 with_fp=no ;;
1976 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1977 | --no-cr | --no-c | -n)
1978 no_create=yes ;;
1980 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1981 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1982 no_recursion=yes ;;
1984 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1985 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1986 | --oldin | --oldi | --old | --ol | --o)
1987 ac_prev=oldincludedir ;;
1988 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1989 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1990 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1991 oldincludedir=$ac_optarg ;;
1993 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1994 ac_prev=prefix ;;
1995 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1996 prefix=$ac_optarg ;;
1998 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1999 | --program-pre | --program-pr | --program-p)
2000 ac_prev=program_prefix ;;
2001 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2002 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2003 program_prefix=$ac_optarg ;;
2005 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2006 | --program-suf | --program-su | --program-s)
2007 ac_prev=program_suffix ;;
2008 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2009 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2010 program_suffix=$ac_optarg ;;
2012 -program-transform-name | --program-transform-name \
2013 | --program-transform-nam | --program-transform-na \
2014 | --program-transform-n | --program-transform- \
2015 | --program-transform | --program-transfor \
2016 | --program-transfo | --program-transf \
2017 | --program-trans | --program-tran \
2018 | --progr-tra | --program-tr | --program-t)
2019 ac_prev=program_transform_name ;;
2020 -program-transform-name=* | --program-transform-name=* \
2021 | --program-transform-nam=* | --program-transform-na=* \
2022 | --program-transform-n=* | --program-transform-=* \
2023 | --program-transform=* | --program-transfor=* \
2024 | --program-transfo=* | --program-transf=* \
2025 | --program-trans=* | --program-tran=* \
2026 | --progr-tra=* | --program-tr=* | --program-t=*)
2027 program_transform_name=$ac_optarg ;;
2029 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2030 ac_prev=pdfdir ;;
2031 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2032 pdfdir=$ac_optarg ;;
2034 -psdir | --psdir | --psdi | --psd | --ps)
2035 ac_prev=psdir ;;
2036 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2037 psdir=$ac_optarg ;;
2039 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2040 | -silent | --silent | --silen | --sile | --sil)
2041 silent=yes ;;
2043 -runstatedir | --runstatedir | --runstatedi | --runstated \
2044 | --runstate | --runstat | --runsta | --runst | --runs \
2045 | --run | --ru | --r)
2046 ac_prev=runstatedir ;;
2047 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2048 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2049 | --run=* | --ru=* | --r=*)
2050 runstatedir=$ac_optarg ;;
2052 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2053 ac_prev=sbindir ;;
2054 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2055 | --sbi=* | --sb=*)
2056 sbindir=$ac_optarg ;;
2058 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2059 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2060 | --sharedst | --shareds | --shared | --share | --shar \
2061 | --sha | --sh)
2062 ac_prev=sharedstatedir ;;
2063 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2064 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2065 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2066 | --sha=* | --sh=*)
2067 sharedstatedir=$ac_optarg ;;
2069 -site | --site | --sit)
2070 ac_prev=site ;;
2071 -site=* | --site=* | --sit=*)
2072 site=$ac_optarg ;;
2074 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2075 ac_prev=srcdir ;;
2076 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2077 srcdir=$ac_optarg ;;
2079 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2080 | --syscon | --sysco | --sysc | --sys | --sy)
2081 ac_prev=sysconfdir ;;
2082 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2083 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2084 sysconfdir=$ac_optarg ;;
2086 -target | --target | --targe | --targ | --tar | --ta | --t)
2087 ac_prev=target_alias ;;
2088 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2089 target_alias=$ac_optarg ;;
2091 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2092 verbose=yes ;;
2094 -version | --version | --versio | --versi | --vers | -V)
2095 ac_init_version=: ;;
2097 -with-* | --with-*)
2098 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2099 # Reject names that are not valid shell variable names.
2100 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2101 as_fn_error $? "invalid package name: $ac_useropt"
2102 ac_useropt_orig=$ac_useropt
2103 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2104 case $ac_user_opts in
2106 "with_$ac_useropt"
2107 "*) ;;
2108 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2109 ac_unrecognized_sep=', ';;
2110 esac
2111 eval with_$ac_useropt=\$ac_optarg ;;
2113 -without-* | --without-*)
2114 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2115 # Reject names that are not valid shell variable names.
2116 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2117 as_fn_error $? "invalid package name: $ac_useropt"
2118 ac_useropt_orig=$ac_useropt
2119 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2120 case $ac_user_opts in
2122 "with_$ac_useropt"
2123 "*) ;;
2124 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2125 ac_unrecognized_sep=', ';;
2126 esac
2127 eval with_$ac_useropt=no ;;
2129 --x)
2130 # Obsolete; use --with-x.
2131 with_x=yes ;;
2133 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2134 | --x-incl | --x-inc | --x-in | --x-i)
2135 ac_prev=x_includes ;;
2136 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2137 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2138 x_includes=$ac_optarg ;;
2140 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2141 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2142 ac_prev=x_libraries ;;
2143 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2144 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2145 x_libraries=$ac_optarg ;;
2147 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2148 Try \`$0 --help' for more information"
2151 *=*)
2152 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2153 # Reject names that are not valid shell variable names.
2154 case $ac_envvar in #(
2155 '' | [0-9]* | *[!_$as_cr_alnum]* )
2156 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2157 esac
2158 eval $ac_envvar=\$ac_optarg
2159 export $ac_envvar ;;
2162 # FIXME: should be removed in autoconf 3.0.
2163 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2164 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2165 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2166 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2169 esac
2170 done
2172 if test -n "$ac_prev"; then
2173 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2174 as_fn_error $? "missing argument to $ac_option"
2177 if test -n "$ac_unrecognized_opts"; then
2178 case $enable_option_checking in
2179 no) ;;
2180 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2181 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2182 esac
2185 # Check all directory arguments for consistency.
2186 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2187 datadir sysconfdir sharedstatedir localstatedir includedir \
2188 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2189 libdir localedir mandir runstatedir
2191 eval ac_val=\$$ac_var
2192 # Remove trailing slashes.
2193 case $ac_val in
2194 */ )
2195 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2196 eval $ac_var=\$ac_val;;
2197 esac
2198 # Be sure to have absolute directory names.
2199 case $ac_val in
2200 [\\/$]* | ?:[\\/]* ) continue;;
2201 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2202 esac
2203 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2204 done
2206 # There might be people who depend on the old broken behavior: `$host'
2207 # used to hold the argument of --host etc.
2208 # FIXME: To remove some day.
2209 build=$build_alias
2210 host=$host_alias
2211 target=$target_alias
2213 # FIXME: To remove some day.
2214 if test "x$host_alias" != x; then
2215 if test "x$build_alias" = x; then
2216 cross_compiling=maybe
2217 elif test "x$build_alias" != "x$host_alias"; then
2218 cross_compiling=yes
2222 ac_tool_prefix=
2223 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2225 test "$silent" = yes && exec 6>/dev/null
2228 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2229 ac_ls_di=`ls -di .` &&
2230 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2231 as_fn_error $? "working directory cannot be determined"
2232 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2233 as_fn_error $? "pwd does not report name of working directory"
2236 # Find the source files, if location was not specified.
2237 if test -z "$srcdir"; then
2238 ac_srcdir_defaulted=yes
2239 # Try the directory containing this script, then the parent directory.
2240 ac_confdir=`$as_dirname -- "$as_myself" ||
2241 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2242 X"$as_myself" : 'X\(//\)[^/]' \| \
2243 X"$as_myself" : 'X\(//\)$' \| \
2244 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2245 $as_echo X"$as_myself" |
2246 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2247 s//\1/
2250 /^X\(\/\/\)[^/].*/{
2251 s//\1/
2254 /^X\(\/\/\)$/{
2255 s//\1/
2258 /^X\(\/\).*/{
2259 s//\1/
2262 s/.*/./; q'`
2263 srcdir=$ac_confdir
2264 if test ! -r "$srcdir/$ac_unique_file"; then
2265 srcdir=..
2267 else
2268 ac_srcdir_defaulted=no
2270 if test ! -r "$srcdir/$ac_unique_file"; then
2271 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2272 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2274 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2275 ac_abs_confdir=`(
2276 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2277 pwd)`
2278 # When building in place, set srcdir=.
2279 if test "$ac_abs_confdir" = "$ac_pwd"; then
2280 srcdir=.
2282 # Remove unnecessary trailing slashes from srcdir.
2283 # Double slashes in file names in object file debugging info
2284 # mess up M-x gdb in Emacs.
2285 case $srcdir in
2286 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2287 esac
2288 for ac_var in $ac_precious_vars; do
2289 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2290 eval ac_env_${ac_var}_value=\$${ac_var}
2291 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2292 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2293 done
2296 # Report the --help message.
2298 if test "$ac_init_help" = "long"; then
2299 # Omit some internal or obsolete options to make the list less imposing.
2300 # This message is too long to be a string in the A/UX 3.1 sh.
2301 cat <<_ACEOF
2302 \`configure' configures Wine 3.0 to adapt to many kinds of systems.
2304 Usage: $0 [OPTION]... [VAR=VALUE]...
2306 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2307 VAR=VALUE. See below for descriptions of some of the useful variables.
2309 Defaults for the options are specified in brackets.
2311 Configuration:
2312 -h, --help display this help and exit
2313 --help=short display options specific to this package
2314 --help=recursive display the short help of all the included packages
2315 -V, --version display version information and exit
2316 -q, --quiet, --silent do not print \`checking ...' messages
2317 --cache-file=FILE cache test results in FILE [disabled]
2318 -C, --config-cache alias for \`--cache-file=config.cache'
2319 -n, --no-create do not create output files
2320 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2322 Installation directories:
2323 --prefix=PREFIX install architecture-independent files in PREFIX
2324 [$ac_default_prefix]
2325 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2326 [PREFIX]
2328 By default, \`make install' will install all the files in
2329 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2330 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2331 for instance \`--prefix=\$HOME'.
2333 For better control, use the options below.
2335 Fine tuning of the installation directories:
2336 --bindir=DIR user executables [EPREFIX/bin]
2337 --sbindir=DIR system admin executables [EPREFIX/sbin]
2338 --libexecdir=DIR program executables [EPREFIX/libexec]
2339 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2340 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2341 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2342 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2343 --libdir=DIR object code libraries [EPREFIX/lib]
2344 --includedir=DIR C header files [PREFIX/include]
2345 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2346 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2347 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2348 --infodir=DIR info documentation [DATAROOTDIR/info]
2349 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2350 --mandir=DIR man documentation [DATAROOTDIR/man]
2351 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2352 --htmldir=DIR html documentation [DOCDIR]
2353 --dvidir=DIR dvi documentation [DOCDIR]
2354 --pdfdir=DIR pdf documentation [DOCDIR]
2355 --psdir=DIR ps documentation [DOCDIR]
2356 _ACEOF
2358 cat <<\_ACEOF
2360 X features:
2361 --x-includes=DIR X include files are in DIR
2362 --x-libraries=DIR X library files are in DIR
2364 System types:
2365 --build=BUILD configure for building on BUILD [guessed]
2366 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2367 _ACEOF
2370 if test -n "$ac_init_help"; then
2371 case $ac_init_help in
2372 short | recursive ) echo "Configuration of Wine 3.0:";;
2373 esac
2374 cat <<\_ACEOF
2376 Optional Features:
2377 --disable-option-checking ignore unrecognized --enable/--with options
2378 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2379 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2380 --disable-win16 do not include Win16 support
2381 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2382 binaries)
2383 --disable-tests do not build the regression tests
2384 --enable-maintainer-mode
2385 enable maintainer-specific build rules
2386 --disable-largefile omit support for large files
2388 Optional Packages:
2389 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2390 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2391 --without-alsa do not use the Alsa sound support
2392 --without-capi do not use CAPI (ISDN support)
2393 --without-cms do not use CMS (color management support)
2394 --without-coreaudio do not use the CoreAudio sound support
2395 --without-cups do not use CUPS
2396 --without-curses do not use (n)curses
2397 --without-dbus do not use DBus (dynamic device support)
2398 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2399 --without-fontconfig do not use fontconfig
2400 --without-freetype do not use the FreeType library
2401 --without-gettext do not use gettext
2402 --with-gettextpo use the GetTextPO library to rebuild po files
2403 --without-gphoto do not use gphoto (Digital Camera support)
2404 --without-glu do not use the GLU library
2405 --without-gnutls do not use GnuTLS (schannel support)
2406 --without-gsm do not use libgsm (GSM 06.10 codec support)
2407 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2408 --without-gstreamer do not use GStreamer (codecs support)
2409 --without-hal do not use HAL (dynamic device support)
2410 --without-jpeg do not use JPEG
2411 --without-krb5 do not use krb5 (Kerberos)
2412 --without-ldap do not use LDAP
2413 --without-mpg123 do not use the mpg123 library
2414 --without-netapi do not use the Samba NetAPI library
2415 --without-openal do not use OpenAL
2416 --without-opencl do not use OpenCL
2417 --without-opengl do not use OpenGL
2418 --without-osmesa do not use the OSMesa library
2419 --without-oss do not use the OSS sound support
2420 --without-pcap do not use the Packet Capture library
2421 --without-png do not use PNG
2422 --without-pthread do not use the pthread library
2423 --without-pulse do not use PulseAudio sound support
2424 --without-sane do not use SANE (scanner support)
2425 --without-tiff do not use TIFF
2426 --without-udev do not use udev (plug and play support)
2427 --without-v4l do not use v4l1 (v4l support)
2428 --without-xcomposite do not use the Xcomposite extension
2429 --without-xcursor do not use the Xcursor extension
2430 --without-xfixes do not use Xfixes for clipboard change notifications
2431 --without-xinerama do not use Xinerama (multi-monitor support)
2432 --without-xinput do not use the Xinput extension
2433 --without-xinput2 do not use the Xinput 2 extension
2434 --without-xml do not use XML
2435 --without-xrandr do not use Xrandr (resolution changes)
2436 --without-xrender do not use the Xrender extension
2437 --without-xshape do not use the Xshape extension
2438 --without-xshm do not use XShm (shared memory extension)
2439 --without-xslt do not use XSLT
2440 --without-xxf86vm do not use XFree video mode extension
2441 --without-zlib do not use Zlib (data compression)
2442 --with-wine-tools=DIR use Wine tools from directory DIR
2443 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2444 --with-x use the X Window System
2446 Some influential environment variables:
2447 CC C compiler command
2448 CFLAGS C compiler flags
2449 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2450 nonstandard directory <lib dir>
2451 LIBS libraries to pass to the linker, e.g. -l<library>
2452 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2453 you have headers in a nonstandard directory <include dir>
2454 CXX C++ compiler command
2455 CXXFLAGS C++ compiler flags
2456 CPP C preprocessor
2457 XMKMF Path to xmkmf, Makefile generator for X Window System
2458 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2459 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2460 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2461 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2462 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2463 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2464 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2465 HAL_LIBS Linker flags for hal, overriding pkg-config
2466 GNUTLS_CFLAGS
2467 C compiler flags for gnutls, overriding pkg-config
2468 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2469 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2470 SANE_LIBS Linker flags for libsane, overriding pkg-config
2471 GPHOTO2_CFLAGS
2472 C compiler flags for libgphoto2, overriding pkg-config
2473 GPHOTO2_LIBS
2474 Linker flags for libgphoto2, overriding pkg-config
2475 GPHOTO2_PORT_CFLAGS
2476 C compiler flags for libgphoto2_port, overriding pkg-config
2477 GPHOTO2_PORT_LIBS
2478 Linker flags for libgphoto2_port, overriding pkg-config
2479 LCMS2_CFLAGS
2480 C compiler flags for lcms2, overriding pkg-config
2481 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2482 FREETYPE_CFLAGS
2483 C compiler flags for freetype2, overriding pkg-config
2484 FREETYPE_LIBS
2485 Linker flags for freetype2, overriding pkg-config
2486 PULSE_CFLAGS
2487 C compiler flags for libpulse, overriding pkg-config
2488 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2489 GSTREAMER_CFLAGS
2490 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2491 gstreamer-audio-1.0, overriding pkg-config
2492 GSTREAMER_LIBS
2493 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2494 gstreamer-audio-1.0, overriding pkg-config
2495 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2496 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2497 CAPI20_CFLAGS
2498 C compiler flags for capi20, overriding pkg-config
2499 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2500 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2501 CUPS_LIBS Linker flags for cups, overriding pkg-config
2502 FONTCONFIG_CFLAGS
2503 C compiler flags for fontconfig, overriding pkg-config
2504 FONTCONFIG_LIBS
2505 Linker flags for fontconfig, overriding pkg-config
2506 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2507 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2508 GSSAPI_CFLAGS
2509 C compiler flags for krb5-gssapi, overriding pkg-config
2510 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2511 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2512 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2513 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2514 PNG_LIBS Linker flags for libpng, overriding pkg-config
2515 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2516 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2517 MPG123_CFLAGS
2518 C compiler flags for libmpg123, overriding pkg-config
2519 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2520 NETAPI_CFLAGS
2521 C compiler flags for netapi, overriding pkg-config
2522 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2523 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2524 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2526 Use these variables to override the choices made by `configure' or to help
2527 it to find libraries and programs with nonstandard names/locations.
2529 Report bugs to <wine-devel@winehq.org>.
2530 Wine home page: <https://www.winehq.org>.
2531 _ACEOF
2532 ac_status=$?
2535 if test "$ac_init_help" = "recursive"; then
2536 # If there are subdirs, report their specific --help.
2537 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2538 test -d "$ac_dir" ||
2539 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2540 continue
2541 ac_builddir=.
2543 case "$ac_dir" in
2544 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2546 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2547 # A ".." for each directory in $ac_dir_suffix.
2548 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2549 case $ac_top_builddir_sub in
2550 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2551 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2552 esac ;;
2553 esac
2554 ac_abs_top_builddir=$ac_pwd
2555 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2556 # for backward compatibility:
2557 ac_top_builddir=$ac_top_build_prefix
2559 case $srcdir in
2560 .) # We are building in place.
2561 ac_srcdir=.
2562 ac_top_srcdir=$ac_top_builddir_sub
2563 ac_abs_top_srcdir=$ac_pwd ;;
2564 [\\/]* | ?:[\\/]* ) # Absolute name.
2565 ac_srcdir=$srcdir$ac_dir_suffix;
2566 ac_top_srcdir=$srcdir
2567 ac_abs_top_srcdir=$srcdir ;;
2568 *) # Relative name.
2569 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2570 ac_top_srcdir=$ac_top_build_prefix$srcdir
2571 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2572 esac
2573 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2575 cd "$ac_dir" || { ac_status=$?; continue; }
2576 # Check for guested configure.
2577 if test -f "$ac_srcdir/configure.gnu"; then
2578 echo &&
2579 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2580 elif test -f "$ac_srcdir/configure"; then
2581 echo &&
2582 $SHELL "$ac_srcdir/configure" --help=recursive
2583 else
2584 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2585 fi || ac_status=$?
2586 cd "$ac_pwd" || { ac_status=$?; break; }
2587 done
2590 test -n "$ac_init_help" && exit $ac_status
2591 if $ac_init_version; then
2592 cat <<\_ACEOF
2593 Wine configure 3.0
2594 generated by GNU Autoconf 2.69
2596 Copyright (C) 2012 Free Software Foundation, Inc.
2597 This configure script is free software; the Free Software Foundation
2598 gives unlimited permission to copy, distribute and modify it.
2599 _ACEOF
2600 exit
2603 ## ------------------------ ##
2604 ## Autoconf initialization. ##
2605 ## ------------------------ ##
2607 # ac_fn_c_try_compile LINENO
2608 # --------------------------
2609 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2610 ac_fn_c_try_compile ()
2612 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2613 rm -f conftest.$ac_objext
2614 if { { ac_try="$ac_compile"
2615 case "(($ac_try" in
2616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2617 *) ac_try_echo=$ac_try;;
2618 esac
2619 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2620 $as_echo "$ac_try_echo"; } >&5
2621 (eval "$ac_compile") 2>conftest.err
2622 ac_status=$?
2623 if test -s conftest.err; then
2624 grep -v '^ *+' conftest.err >conftest.er1
2625 cat conftest.er1 >&5
2626 mv -f conftest.er1 conftest.err
2628 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2629 test $ac_status = 0; } && {
2630 test -z "$ac_c_werror_flag" ||
2631 test ! -s conftest.err
2632 } && test -s conftest.$ac_objext; then :
2633 ac_retval=0
2634 else
2635 $as_echo "$as_me: failed program was:" >&5
2636 sed 's/^/| /' conftest.$ac_ext >&5
2638 ac_retval=1
2640 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2641 as_fn_set_status $ac_retval
2643 } # ac_fn_c_try_compile
2645 # ac_fn_cxx_try_compile LINENO
2646 # ----------------------------
2647 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2648 ac_fn_cxx_try_compile ()
2650 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2651 rm -f conftest.$ac_objext
2652 if { { ac_try="$ac_compile"
2653 case "(($ac_try" in
2654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2655 *) ac_try_echo=$ac_try;;
2656 esac
2657 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2658 $as_echo "$ac_try_echo"; } >&5
2659 (eval "$ac_compile") 2>conftest.err
2660 ac_status=$?
2661 if test -s conftest.err; then
2662 grep -v '^ *+' conftest.err >conftest.er1
2663 cat conftest.er1 >&5
2664 mv -f conftest.er1 conftest.err
2666 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2667 test $ac_status = 0; } && {
2668 test -z "$ac_cxx_werror_flag" ||
2669 test ! -s conftest.err
2670 } && test -s conftest.$ac_objext; then :
2671 ac_retval=0
2672 else
2673 $as_echo "$as_me: failed program was:" >&5
2674 sed 's/^/| /' conftest.$ac_ext >&5
2676 ac_retval=1
2678 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2679 as_fn_set_status $ac_retval
2681 } # ac_fn_cxx_try_compile
2683 # ac_fn_c_try_link LINENO
2684 # -----------------------
2685 # Try to link conftest.$ac_ext, and return whether this succeeded.
2686 ac_fn_c_try_link ()
2688 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2689 rm -f conftest.$ac_objext conftest$ac_exeext
2690 if { { ac_try="$ac_link"
2691 case "(($ac_try" in
2692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2693 *) ac_try_echo=$ac_try;;
2694 esac
2695 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2696 $as_echo "$ac_try_echo"; } >&5
2697 (eval "$ac_link") 2>conftest.err
2698 ac_status=$?
2699 if test -s conftest.err; then
2700 grep -v '^ *+' conftest.err >conftest.er1
2701 cat conftest.er1 >&5
2702 mv -f conftest.er1 conftest.err
2704 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2705 test $ac_status = 0; } && {
2706 test -z "$ac_c_werror_flag" ||
2707 test ! -s conftest.err
2708 } && test -s conftest$ac_exeext && {
2709 test "$cross_compiling" = yes ||
2710 test -x conftest$ac_exeext
2711 }; then :
2712 ac_retval=0
2713 else
2714 $as_echo "$as_me: failed program was:" >&5
2715 sed 's/^/| /' conftest.$ac_ext >&5
2717 ac_retval=1
2719 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2720 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2721 # interfere with the next link command; also delete a directory that is
2722 # left behind by Apple's compiler. We do this before executing the actions.
2723 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2724 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2725 as_fn_set_status $ac_retval
2727 } # ac_fn_c_try_link
2729 # ac_fn_c_try_cpp LINENO
2730 # ----------------------
2731 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2732 ac_fn_c_try_cpp ()
2734 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2735 if { { ac_try="$ac_cpp conftest.$ac_ext"
2736 case "(($ac_try" in
2737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2738 *) ac_try_echo=$ac_try;;
2739 esac
2740 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2741 $as_echo "$ac_try_echo"; } >&5
2742 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2743 ac_status=$?
2744 if test -s conftest.err; then
2745 grep -v '^ *+' conftest.err >conftest.er1
2746 cat conftest.er1 >&5
2747 mv -f conftest.er1 conftest.err
2749 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2750 test $ac_status = 0; } > conftest.i && {
2751 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2752 test ! -s conftest.err
2753 }; then :
2754 ac_retval=0
2755 else
2756 $as_echo "$as_me: failed program was:" >&5
2757 sed 's/^/| /' conftest.$ac_ext >&5
2759 ac_retval=1
2761 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2762 as_fn_set_status $ac_retval
2764 } # ac_fn_c_try_cpp
2766 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2767 # -------------------------------------------------------
2768 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2769 # the include files in INCLUDES and setting the cache variable VAR
2770 # accordingly.
2771 ac_fn_c_check_header_mongrel ()
2773 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2774 if eval \${$3+:} false; then :
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2776 $as_echo_n "checking for $2... " >&6; }
2777 if eval \${$3+:} false; then :
2778 $as_echo_n "(cached) " >&6
2780 eval ac_res=\$$3
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2782 $as_echo "$ac_res" >&6; }
2783 else
2784 # Is the header compilable?
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2786 $as_echo_n "checking $2 usability... " >&6; }
2787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2788 /* end confdefs.h. */
2790 #include <$2>
2791 _ACEOF
2792 if ac_fn_c_try_compile "$LINENO"; then :
2793 ac_header_compiler=yes
2794 else
2795 ac_header_compiler=no
2797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2799 $as_echo "$ac_header_compiler" >&6; }
2801 # Is the header present?
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2803 $as_echo_n "checking $2 presence... " >&6; }
2804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2805 /* end confdefs.h. */
2806 #include <$2>
2807 _ACEOF
2808 if ac_fn_c_try_cpp "$LINENO"; then :
2809 ac_header_preproc=yes
2810 else
2811 ac_header_preproc=no
2813 rm -f conftest.err conftest.i conftest.$ac_ext
2814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2815 $as_echo "$ac_header_preproc" >&6; }
2817 # So? What about this header?
2818 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2819 yes:no: )
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2821 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2823 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2825 no:yes:* )
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2827 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2829 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2831 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2833 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2835 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2836 ( $as_echo "## ------------------------------------ ##
2837 ## Report this to wine-devel@winehq.org ##
2838 ## ------------------------------------ ##"
2839 ) | sed "s/^/$as_me: WARNING: /" >&2
2841 esac
2842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2843 $as_echo_n "checking for $2... " >&6; }
2844 if eval \${$3+:} false; then :
2845 $as_echo_n "(cached) " >&6
2846 else
2847 eval "$3=\$ac_header_compiler"
2849 eval ac_res=\$$3
2850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2851 $as_echo "$ac_res" >&6; }
2853 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2855 } # ac_fn_c_check_header_mongrel
2857 # ac_fn_c_try_run LINENO
2858 # ----------------------
2859 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2860 # that executables *can* be run.
2861 ac_fn_c_try_run ()
2863 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2864 if { { ac_try="$ac_link"
2865 case "(($ac_try" in
2866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2867 *) ac_try_echo=$ac_try;;
2868 esac
2869 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2870 $as_echo "$ac_try_echo"; } >&5
2871 (eval "$ac_link") 2>&5
2872 ac_status=$?
2873 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2874 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2875 { { case "(($ac_try" in
2876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2877 *) ac_try_echo=$ac_try;;
2878 esac
2879 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2880 $as_echo "$ac_try_echo"; } >&5
2881 (eval "$ac_try") 2>&5
2882 ac_status=$?
2883 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2884 test $ac_status = 0; }; }; then :
2885 ac_retval=0
2886 else
2887 $as_echo "$as_me: program exited with status $ac_status" >&5
2888 $as_echo "$as_me: failed program was:" >&5
2889 sed 's/^/| /' conftest.$ac_ext >&5
2891 ac_retval=$ac_status
2893 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2894 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2895 as_fn_set_status $ac_retval
2897 } # ac_fn_c_try_run
2899 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2900 # -------------------------------------------------------
2901 # Tests whether HEADER exists and can be compiled using the include files in
2902 # INCLUDES, setting the cache variable VAR accordingly.
2903 ac_fn_c_check_header_compile ()
2905 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2907 $as_echo_n "checking for $2... " >&6; }
2908 if eval \${$3+:} false; then :
2909 $as_echo_n "(cached) " >&6
2910 else
2911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2912 /* end confdefs.h. */
2914 #include <$2>
2915 _ACEOF
2916 if ac_fn_c_try_compile "$LINENO"; then :
2917 eval "$3=yes"
2918 else
2919 eval "$3=no"
2921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2923 eval ac_res=\$$3
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2925 $as_echo "$ac_res" >&6; }
2926 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2928 } # ac_fn_c_check_header_compile
2930 # ac_fn_c_check_func LINENO FUNC VAR
2931 # ----------------------------------
2932 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2933 ac_fn_c_check_func ()
2935 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2937 $as_echo_n "checking for $2... " >&6; }
2938 if eval \${$3+:} false; then :
2939 $as_echo_n "(cached) " >&6
2940 else
2941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2942 /* end confdefs.h. */
2943 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2944 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2945 #define $2 innocuous_$2
2947 /* System header to define __stub macros and hopefully few prototypes,
2948 which can conflict with char $2 (); below.
2949 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2950 <limits.h> exists even on freestanding compilers. */
2952 #ifdef __STDC__
2953 # include <limits.h>
2954 #else
2955 # include <assert.h>
2956 #endif
2958 #undef $2
2960 /* Override any GCC internal prototype to avoid an error.
2961 Use char because int might match the return type of a GCC
2962 builtin and then its argument prototype would still apply. */
2963 #ifdef __cplusplus
2964 extern "C"
2965 #endif
2966 char $2 ();
2967 /* The GNU C library defines this for functions which it implements
2968 to always fail with ENOSYS. Some functions are actually named
2969 something starting with __ and the normal name is an alias. */
2970 #if defined __stub_$2 || defined __stub___$2
2971 choke me
2972 #endif
2975 main ()
2977 return $2 ();
2979 return 0;
2981 _ACEOF
2982 if ac_fn_c_try_link "$LINENO"; then :
2983 eval "$3=yes"
2984 else
2985 eval "$3=no"
2987 rm -f core conftest.err conftest.$ac_objext \
2988 conftest$ac_exeext conftest.$ac_ext
2990 eval ac_res=\$$3
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2992 $as_echo "$ac_res" >&6; }
2993 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2995 } # ac_fn_c_check_func
2997 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2998 # ----------------------------------------------------
2999 # Tries to find if the field MEMBER exists in type AGGR, after including
3000 # INCLUDES, setting cache variable VAR accordingly.
3001 ac_fn_c_check_member ()
3003 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3005 $as_echo_n "checking for $2.$3... " >&6; }
3006 if eval \${$4+:} false; then :
3007 $as_echo_n "(cached) " >&6
3008 else
3009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3010 /* end confdefs.h. */
3013 main ()
3015 static $2 ac_aggr;
3016 if (ac_aggr.$3)
3017 return 0;
3019 return 0;
3021 _ACEOF
3022 if ac_fn_c_try_compile "$LINENO"; then :
3023 eval "$4=yes"
3024 else
3025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3026 /* end confdefs.h. */
3029 main ()
3031 static $2 ac_aggr;
3032 if (sizeof ac_aggr.$3)
3033 return 0;
3035 return 0;
3037 _ACEOF
3038 if ac_fn_c_try_compile "$LINENO"; then :
3039 eval "$4=yes"
3040 else
3041 eval "$4=no"
3043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3047 eval ac_res=\$$4
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3049 $as_echo "$ac_res" >&6; }
3050 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3052 } # ac_fn_c_check_member
3054 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3055 # -------------------------------------------
3056 # Tests whether TYPE exists after having included INCLUDES, setting cache
3057 # variable VAR accordingly.
3058 ac_fn_c_check_type ()
3060 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3062 $as_echo_n "checking for $2... " >&6; }
3063 if eval \${$3+:} false; then :
3064 $as_echo_n "(cached) " >&6
3065 else
3066 eval "$3=no"
3067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3068 /* end confdefs.h. */
3071 main ()
3073 if (sizeof ($2))
3074 return 0;
3076 return 0;
3078 _ACEOF
3079 if ac_fn_c_try_compile "$LINENO"; then :
3080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3081 /* end confdefs.h. */
3084 main ()
3086 if (sizeof (($2)))
3087 return 0;
3089 return 0;
3091 _ACEOF
3092 if ac_fn_c_try_compile "$LINENO"; then :
3094 else
3095 eval "$3=yes"
3097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3101 eval ac_res=\$$3
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3103 $as_echo "$ac_res" >&6; }
3104 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3106 } # ac_fn_c_check_type
3107 cat >config.log <<_ACEOF
3108 This file contains any messages produced by compilers while
3109 running configure, to aid debugging if configure makes a mistake.
3111 It was created by Wine $as_me 3.0, which was
3112 generated by GNU Autoconf 2.69. Invocation command line was
3114 $ $0 $@
3116 _ACEOF
3117 exec 5>>config.log
3119 cat <<_ASUNAME
3120 ## --------- ##
3121 ## Platform. ##
3122 ## --------- ##
3124 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3125 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3126 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3127 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3128 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3130 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3131 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3133 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3134 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3135 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3136 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3137 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3138 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3139 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3141 _ASUNAME
3143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3144 for as_dir in $PATH
3146 IFS=$as_save_IFS
3147 test -z "$as_dir" && as_dir=.
3148 $as_echo "PATH: $as_dir"
3149 done
3150 IFS=$as_save_IFS
3152 } >&5
3154 cat >&5 <<_ACEOF
3157 ## ----------- ##
3158 ## Core tests. ##
3159 ## ----------- ##
3161 _ACEOF
3164 # Keep a trace of the command line.
3165 # Strip out --no-create and --no-recursion so they do not pile up.
3166 # Strip out --silent because we don't want to record it for future runs.
3167 # Also quote any args containing shell meta-characters.
3168 # Make two passes to allow for proper duplicate-argument suppression.
3169 ac_configure_args=
3170 ac_configure_args0=
3171 ac_configure_args1=
3172 ac_must_keep_next=false
3173 for ac_pass in 1 2
3175 for ac_arg
3177 case $ac_arg in
3178 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3179 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3180 | -silent | --silent | --silen | --sile | --sil)
3181 continue ;;
3182 *\'*)
3183 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3184 esac
3185 case $ac_pass in
3186 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3188 as_fn_append ac_configure_args1 " '$ac_arg'"
3189 if test $ac_must_keep_next = true; then
3190 ac_must_keep_next=false # Got value, back to normal.
3191 else
3192 case $ac_arg in
3193 *=* | --config-cache | -C | -disable-* | --disable-* \
3194 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3195 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3196 | -with-* | --with-* | -without-* | --without-* | --x)
3197 case "$ac_configure_args0 " in
3198 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3199 esac
3201 -* ) ac_must_keep_next=true ;;
3202 esac
3204 as_fn_append ac_configure_args " '$ac_arg'"
3206 esac
3207 done
3208 done
3209 { ac_configure_args0=; unset ac_configure_args0;}
3210 { ac_configure_args1=; unset ac_configure_args1;}
3212 # When interrupted or exit'd, cleanup temporary files, and complete
3213 # config.log. We remove comments because anyway the quotes in there
3214 # would cause problems or look ugly.
3215 # WARNING: Use '\'' to represent an apostrophe within the trap.
3216 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3217 trap 'exit_status=$?
3218 # Save into config.log some information that might help in debugging.
3220 echo
3222 $as_echo "## ---------------- ##
3223 ## Cache variables. ##
3224 ## ---------------- ##"
3225 echo
3226 # The following way of writing the cache mishandles newlines in values,
3228 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3229 eval ac_val=\$$ac_var
3230 case $ac_val in #(
3231 *${as_nl}*)
3232 case $ac_var in #(
3233 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3234 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3235 esac
3236 case $ac_var in #(
3237 _ | IFS | as_nl) ;; #(
3238 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3239 *) { eval $ac_var=; unset $ac_var;} ;;
3240 esac ;;
3241 esac
3242 done
3243 (set) 2>&1 |
3244 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3245 *${as_nl}ac_space=\ *)
3246 sed -n \
3247 "s/'\''/'\''\\\\'\'''\''/g;
3248 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3249 ;; #(
3251 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3253 esac |
3254 sort
3256 echo
3258 $as_echo "## ----------------- ##
3259 ## Output variables. ##
3260 ## ----------------- ##"
3261 echo
3262 for ac_var in $ac_subst_vars
3264 eval ac_val=\$$ac_var
3265 case $ac_val in
3266 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3267 esac
3268 $as_echo "$ac_var='\''$ac_val'\''"
3269 done | sort
3270 echo
3272 if test -n "$ac_subst_files"; then
3273 $as_echo "## ------------------- ##
3274 ## File substitutions. ##
3275 ## ------------------- ##"
3276 echo
3277 for ac_var in $ac_subst_files
3279 eval ac_val=\$$ac_var
3280 case $ac_val in
3281 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3282 esac
3283 $as_echo "$ac_var='\''$ac_val'\''"
3284 done | sort
3285 echo
3288 if test -s confdefs.h; then
3289 $as_echo "## ----------- ##
3290 ## confdefs.h. ##
3291 ## ----------- ##"
3292 echo
3293 cat confdefs.h
3294 echo
3296 test "$ac_signal" != 0 &&
3297 $as_echo "$as_me: caught signal $ac_signal"
3298 $as_echo "$as_me: exit $exit_status"
3299 } >&5
3300 rm -f core *.core core.conftest.* &&
3301 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3302 exit $exit_status
3304 for ac_signal in 1 2 13 15; do
3305 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3306 done
3307 ac_signal=0
3309 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3310 rm -f -r conftest* confdefs.h
3312 $as_echo "/* confdefs.h */" > confdefs.h
3314 # Predefined preprocessor variables.
3316 cat >>confdefs.h <<_ACEOF
3317 #define PACKAGE_NAME "$PACKAGE_NAME"
3318 _ACEOF
3320 cat >>confdefs.h <<_ACEOF
3321 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3322 _ACEOF
3324 cat >>confdefs.h <<_ACEOF
3325 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3326 _ACEOF
3328 cat >>confdefs.h <<_ACEOF
3329 #define PACKAGE_STRING "$PACKAGE_STRING"
3330 _ACEOF
3332 cat >>confdefs.h <<_ACEOF
3333 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3334 _ACEOF
3336 cat >>confdefs.h <<_ACEOF
3337 #define PACKAGE_URL "$PACKAGE_URL"
3338 _ACEOF
3341 # Let the site file select an alternate cache file if it wants to.
3342 # Prefer an explicitly selected file to automatically selected ones.
3343 ac_site_file1=NONE
3344 ac_site_file2=NONE
3345 if test -n "$CONFIG_SITE"; then
3346 # We do not want a PATH search for config.site.
3347 case $CONFIG_SITE in #((
3348 -*) ac_site_file1=./$CONFIG_SITE;;
3349 */*) ac_site_file1=$CONFIG_SITE;;
3350 *) ac_site_file1=./$CONFIG_SITE;;
3351 esac
3352 elif test "x$prefix" != xNONE; then
3353 ac_site_file1=$prefix/share/config.site
3354 ac_site_file2=$prefix/etc/config.site
3355 else
3356 ac_site_file1=$ac_default_prefix/share/config.site
3357 ac_site_file2=$ac_default_prefix/etc/config.site
3359 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3361 test "x$ac_site_file" = xNONE && continue
3362 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3363 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3364 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3365 sed 's/^/| /' "$ac_site_file" >&5
3366 . "$ac_site_file" \
3367 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3368 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3369 as_fn_error $? "failed to load site script $ac_site_file
3370 See \`config.log' for more details" "$LINENO" 5; }
3372 done
3374 if test -r "$cache_file"; then
3375 # Some versions of bash will fail to source /dev/null (special files
3376 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3377 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3378 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3379 $as_echo "$as_me: loading cache $cache_file" >&6;}
3380 case $cache_file in
3381 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3382 *) . "./$cache_file";;
3383 esac
3385 else
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3387 $as_echo "$as_me: creating cache $cache_file" >&6;}
3388 >$cache_file
3391 # Check that the precious variables saved in the cache have kept the same
3392 # value.
3393 ac_cache_corrupted=false
3394 for ac_var in $ac_precious_vars; do
3395 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3396 eval ac_new_set=\$ac_env_${ac_var}_set
3397 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3398 eval ac_new_val=\$ac_env_${ac_var}_value
3399 case $ac_old_set,$ac_new_set in
3400 set,)
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3402 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3403 ac_cache_corrupted=: ;;
3404 ,set)
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3406 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3407 ac_cache_corrupted=: ;;
3408 ,);;
3410 if test "x$ac_old_val" != "x$ac_new_val"; then
3411 # differences in whitespace do not lead to failure.
3412 ac_old_val_w=`echo x $ac_old_val`
3413 ac_new_val_w=`echo x $ac_new_val`
3414 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3415 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3416 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3417 ac_cache_corrupted=:
3418 else
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3420 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3421 eval $ac_var=\$ac_old_val
3423 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3424 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3426 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3427 fi;;
3428 esac
3429 # Pass precious variables to config.status.
3430 if test "$ac_new_set" = set; then
3431 case $ac_new_val in
3432 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3433 *) ac_arg=$ac_var=$ac_new_val ;;
3434 esac
3435 case " $ac_configure_args " in
3436 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3437 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3438 esac
3440 done
3441 if $ac_cache_corrupted; then
3442 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3443 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3445 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3446 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3448 ## -------------------- ##
3449 ## Main body of script. ##
3450 ## -------------------- ##
3452 ac_ext=c
3453 ac_cpp='$CPP $CPPFLAGS'
3454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3460 ac_config_headers="$ac_config_headers include/config.h"
3462 ac_aux_dir=
3463 for ac_dir in tools "$srcdir"/tools; do
3464 if test -f "$ac_dir/install-sh"; then
3465 ac_aux_dir=$ac_dir
3466 ac_install_sh="$ac_aux_dir/install-sh -c"
3467 break
3468 elif test -f "$ac_dir/install.sh"; then
3469 ac_aux_dir=$ac_dir
3470 ac_install_sh="$ac_aux_dir/install.sh -c"
3471 break
3472 elif test -f "$ac_dir/shtool"; then
3473 ac_aux_dir=$ac_dir
3474 ac_install_sh="$ac_aux_dir/shtool install -c"
3475 break
3477 done
3478 if test -z "$ac_aux_dir"; then
3479 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3482 # These three variables are undocumented and unsupported,
3483 # and are intended to be withdrawn in a future Autoconf release.
3484 # They can cause serious problems if a builder's source tree is in a directory
3485 # whose full name contains unusual characters.
3486 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3487 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3488 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3492 libwine_version="1.0"
3496 # Check whether --enable-win16 was given.
3497 if test "${enable_win16+set}" = set; then :
3498 enableval=$enable_win16;
3501 # Check whether --enable-win64 was given.
3502 if test "${enable_win64+set}" = set; then :
3503 enableval=$enable_win64;
3506 # Check whether --enable-tests was given.
3507 if test "${enable_tests+set}" = set; then :
3508 enableval=$enable_tests;
3511 # Check whether --enable-maintainer-mode was given.
3512 if test "${enable_maintainer_mode+set}" = set; then :
3513 enableval=$enable_maintainer_mode;
3518 # Check whether --with-alsa was given.
3519 if test "${with_alsa+set}" = set; then :
3520 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3524 # Check whether --with-capi was given.
3525 if test "${with_capi+set}" = set; then :
3526 withval=$with_capi;
3530 # Check whether --with-cms was given.
3531 if test "${with_cms+set}" = set; then :
3532 withval=$with_cms;
3536 # Check whether --with-coreaudio was given.
3537 if test "${with_coreaudio+set}" = set; then :
3538 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3542 # Check whether --with-cups was given.
3543 if test "${with_cups+set}" = set; then :
3544 withval=$with_cups;
3548 # Check whether --with-curses was given.
3549 if test "${with_curses+set}" = set; then :
3550 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3554 # Check whether --with-dbus was given.
3555 if test "${with_dbus+set}" = set; then :
3556 withval=$with_dbus;
3560 # Check whether --with-float-abi was given.
3561 if test "${with_float_abi+set}" = set; then :
3562 withval=$with_float_abi;
3566 # Check whether --with-fontconfig was given.
3567 if test "${with_fontconfig+set}" = set; then :
3568 withval=$with_fontconfig;
3572 # Check whether --with-freetype was given.
3573 if test "${with_freetype+set}" = set; then :
3574 withval=$with_freetype;
3578 # Check whether --with-gettext was given.
3579 if test "${with_gettext+set}" = set; then :
3580 withval=$with_gettext;
3584 # Check whether --with-gettextpo was given.
3585 if test "${with_gettextpo+set}" = set; then :
3586 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3590 # Check whether --with-gphoto was given.
3591 if test "${with_gphoto+set}" = set; then :
3592 withval=$with_gphoto;
3596 # Check whether --with-glu was given.
3597 if test "${with_glu+set}" = set; then :
3598 withval=$with_glu;
3602 # Check whether --with-gnutls was given.
3603 if test "${with_gnutls+set}" = set; then :
3604 withval=$with_gnutls;
3608 # Check whether --with-gsm was given.
3609 if test "${with_gsm+set}" = set; then :
3610 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3614 # Check whether --with-gssapi was given.
3615 if test "${with_gssapi+set}" = set; then :
3616 withval=$with_gssapi;
3620 # Check whether --with-gstreamer was given.
3621 if test "${with_gstreamer+set}" = set; then :
3622 withval=$with_gstreamer;
3626 # Check whether --with-hal was given.
3627 if test "${with_hal+set}" = set; then :
3628 withval=$with_hal;
3632 # Check whether --with-jpeg was given.
3633 if test "${with_jpeg+set}" = set; then :
3634 withval=$with_jpeg;
3638 # Check whether --with-krb5 was given.
3639 if test "${with_krb5+set}" = set; then :
3640 withval=$with_krb5;
3644 # Check whether --with-ldap was given.
3645 if test "${with_ldap+set}" = set; then :
3646 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3650 # Check whether --with-mpg123 was given.
3651 if test "${with_mpg123+set}" = set; then :
3652 withval=$with_mpg123;
3656 # Check whether --with-netapi was given.
3657 if test "${with_netapi+set}" = set; then :
3658 withval=$with_netapi;
3662 # Check whether --with-openal was given.
3663 if test "${with_openal+set}" = set; then :
3664 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3668 # Check whether --with-opencl was given.
3669 if test "${with_opencl+set}" = set; then :
3670 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3674 # Check whether --with-opengl was given.
3675 if test "${with_opengl+set}" = set; then :
3676 withval=$with_opengl;
3680 # Check whether --with-osmesa was given.
3681 if test "${with_osmesa+set}" = set; then :
3682 withval=$with_osmesa;
3686 # Check whether --with-oss was given.
3687 if test "${with_oss+set}" = set; then :
3688 withval=$with_oss;
3692 # Check whether --with-pcap was given.
3693 if test "${with_pcap+set}" = set; then :
3694 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3698 # Check whether --with-png was given.
3699 if test "${with_png+set}" = set; then :
3700 withval=$with_png;
3704 # Check whether --with-pthread was given.
3705 if test "${with_pthread+set}" = set; then :
3706 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3710 # Check whether --with-pulse was given.
3711 if test "${with_pulse+set}" = set; then :
3712 withval=$with_pulse;
3716 # Check whether --with-sane was given.
3717 if test "${with_sane+set}" = set; then :
3718 withval=$with_sane;
3722 # Check whether --with-tiff was given.
3723 if test "${with_tiff+set}" = set; then :
3724 withval=$with_tiff;
3728 # Check whether --with-udev was given.
3729 if test "${with_udev+set}" = set; then :
3730 withval=$with_udev;
3734 # Check whether --with-v4l was given.
3735 if test "${with_v4l+set}" = set; then :
3736 withval=$with_v4l;
3740 # Check whether --with-xcomposite was given.
3741 if test "${with_xcomposite+set}" = set; then :
3742 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3746 # Check whether --with-xcursor was given.
3747 if test "${with_xcursor+set}" = set; then :
3748 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3752 # Check whether --with-xfixes was given.
3753 if test "${with_xfixes+set}" = set; then :
3754 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
3758 # Check whether --with-xinerama was given.
3759 if test "${with_xinerama+set}" = set; then :
3760 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3764 # Check whether --with-xinput was given.
3765 if test "${with_xinput+set}" = set; then :
3766 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3770 # Check whether --with-xinput2 was given.
3771 if test "${with_xinput2+set}" = set; then :
3772 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3776 # Check whether --with-xml was given.
3777 if test "${with_xml+set}" = set; then :
3778 withval=$with_xml;
3782 # Check whether --with-xrandr was given.
3783 if test "${with_xrandr+set}" = set; then :
3784 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3788 # Check whether --with-xrender was given.
3789 if test "${with_xrender+set}" = set; then :
3790 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3794 # Check whether --with-xshape was given.
3795 if test "${with_xshape+set}" = set; then :
3796 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3800 # Check whether --with-xshm was given.
3801 if test "${with_xshm+set}" = set; then :
3802 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3806 # Check whether --with-xslt was given.
3807 if test "${with_xslt+set}" = set; then :
3808 withval=$with_xslt;
3812 # Check whether --with-xxf86vm was given.
3813 if test "${with_xxf86vm+set}" = set; then :
3814 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
3818 # Check whether --with-zlib was given.
3819 if test "${with_zlib+set}" = set; then :
3820 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3825 # Check whether --with-wine-tools was given.
3826 if test "${with_wine_tools+set}" = set; then :
3827 withval=$with_wine_tools;
3831 # Check whether --with-wine64 was given.
3832 if test "${with_wine64+set}" = set; then :
3833 withval=$with_wine64;
3837 # Make sure we can run config.sub.
3838 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3839 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3842 $as_echo_n "checking build system type... " >&6; }
3843 if ${ac_cv_build+:} false; then :
3844 $as_echo_n "(cached) " >&6
3845 else
3846 ac_build_alias=$build_alias
3847 test "x$ac_build_alias" = x &&
3848 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3849 test "x$ac_build_alias" = x &&
3850 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3851 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3852 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3856 $as_echo "$ac_cv_build" >&6; }
3857 case $ac_cv_build in
3858 *-*-*) ;;
3859 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3860 esac
3861 build=$ac_cv_build
3862 ac_save_IFS=$IFS; IFS='-'
3863 set x $ac_cv_build
3864 shift
3865 build_cpu=$1
3866 build_vendor=$2
3867 shift; shift
3868 # Remember, the first character of IFS is used to create $*,
3869 # except with old shells:
3870 build_os=$*
3871 IFS=$ac_save_IFS
3872 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3876 $as_echo_n "checking host system type... " >&6; }
3877 if ${ac_cv_host+:} false; then :
3878 $as_echo_n "(cached) " >&6
3879 else
3880 if test "x$host_alias" = x; then
3881 ac_cv_host=$ac_cv_build
3882 else
3883 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3884 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3889 $as_echo "$ac_cv_host" >&6; }
3890 case $ac_cv_host in
3891 *-*-*) ;;
3892 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3893 esac
3894 host=$ac_cv_host
3895 ac_save_IFS=$IFS; IFS='-'
3896 set x $ac_cv_host
3897 shift
3898 host_cpu=$1
3899 host_vendor=$2
3900 shift; shift
3901 # Remember, the first character of IFS is used to create $*,
3902 # except with old shells:
3903 host_os=$*
3904 IFS=$ac_save_IFS
3905 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3909 case "$srcdir" in
3910 .) ;;
3911 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3912 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3913 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3914 fi ;;
3915 esac
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3919 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3920 set x ${MAKE-make}
3921 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3922 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3923 $as_echo_n "(cached) " >&6
3924 else
3925 cat >conftest.make <<\_ACEOF
3926 SHELL = /bin/sh
3927 all:
3928 @echo '@@@%%%=$(MAKE)=@@@%%%'
3929 _ACEOF
3930 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3931 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3932 *@@@%%%=?*=@@@%%%*)
3933 eval ac_cv_prog_make_${ac_make}_set=yes;;
3935 eval ac_cv_prog_make_${ac_make}_set=no;;
3936 esac
3937 rm -f conftest.make
3939 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3941 $as_echo "yes" >&6; }
3942 SET_MAKE=
3943 else
3944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3945 $as_echo "no" >&6; }
3946 SET_MAKE="MAKE=${MAKE-make}"
3949 ac_ext=c
3950 ac_cpp='$CPP $CPPFLAGS'
3951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3954 if test -n "$ac_tool_prefix"; then
3955 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3956 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3958 $as_echo_n "checking for $ac_word... " >&6; }
3959 if ${ac_cv_prog_CC+:} false; then :
3960 $as_echo_n "(cached) " >&6
3961 else
3962 if test -n "$CC"; then
3963 ac_cv_prog_CC="$CC" # Let the user override the test.
3964 else
3965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3966 for as_dir in $PATH
3968 IFS=$as_save_IFS
3969 test -z "$as_dir" && as_dir=.
3970 for ac_exec_ext in '' $ac_executable_extensions; do
3971 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3972 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3974 break 2
3976 done
3977 done
3978 IFS=$as_save_IFS
3982 CC=$ac_cv_prog_CC
3983 if test -n "$CC"; then
3984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3985 $as_echo "$CC" >&6; }
3986 else
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3988 $as_echo "no" >&6; }
3993 if test -z "$ac_cv_prog_CC"; then
3994 ac_ct_CC=$CC
3995 # Extract the first word of "gcc", so it can be a program name with args.
3996 set dummy gcc; ac_word=$2
3997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3998 $as_echo_n "checking for $ac_word... " >&6; }
3999 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4000 $as_echo_n "(cached) " >&6
4001 else
4002 if test -n "$ac_ct_CC"; then
4003 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4004 else
4005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4006 for as_dir in $PATH
4008 IFS=$as_save_IFS
4009 test -z "$as_dir" && as_dir=.
4010 for ac_exec_ext in '' $ac_executable_extensions; do
4011 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4012 ac_cv_prog_ac_ct_CC="gcc"
4013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4014 break 2
4016 done
4017 done
4018 IFS=$as_save_IFS
4022 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4023 if test -n "$ac_ct_CC"; then
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4025 $as_echo "$ac_ct_CC" >&6; }
4026 else
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4028 $as_echo "no" >&6; }
4031 if test "x$ac_ct_CC" = x; then
4032 CC=""
4033 else
4034 case $cross_compiling:$ac_tool_warned in
4035 yes:)
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4037 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4038 ac_tool_warned=yes ;;
4039 esac
4040 CC=$ac_ct_CC
4042 else
4043 CC="$ac_cv_prog_CC"
4046 if test -z "$CC"; then
4047 if test -n "$ac_tool_prefix"; then
4048 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4049 set dummy ${ac_tool_prefix}cc; ac_word=$2
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4051 $as_echo_n "checking for $ac_word... " >&6; }
4052 if ${ac_cv_prog_CC+:} false; then :
4053 $as_echo_n "(cached) " >&6
4054 else
4055 if test -n "$CC"; then
4056 ac_cv_prog_CC="$CC" # Let the user override the test.
4057 else
4058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4059 for as_dir in $PATH
4061 IFS=$as_save_IFS
4062 test -z "$as_dir" && as_dir=.
4063 for ac_exec_ext in '' $ac_executable_extensions; do
4064 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4065 ac_cv_prog_CC="${ac_tool_prefix}cc"
4066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4067 break 2
4069 done
4070 done
4071 IFS=$as_save_IFS
4075 CC=$ac_cv_prog_CC
4076 if test -n "$CC"; then
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4078 $as_echo "$CC" >&6; }
4079 else
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4081 $as_echo "no" >&6; }
4087 if test -z "$CC"; then
4088 # Extract the first word of "cc", so it can be a program name with args.
4089 set dummy cc; ac_word=$2
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4091 $as_echo_n "checking for $ac_word... " >&6; }
4092 if ${ac_cv_prog_CC+:} false; then :
4093 $as_echo_n "(cached) " >&6
4094 else
4095 if test -n "$CC"; then
4096 ac_cv_prog_CC="$CC" # Let the user override the test.
4097 else
4098 ac_prog_rejected=no
4099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4100 for as_dir in $PATH
4102 IFS=$as_save_IFS
4103 test -z "$as_dir" && as_dir=.
4104 for ac_exec_ext in '' $ac_executable_extensions; do
4105 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4106 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4107 ac_prog_rejected=yes
4108 continue
4110 ac_cv_prog_CC="cc"
4111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4112 break 2
4114 done
4115 done
4116 IFS=$as_save_IFS
4118 if test $ac_prog_rejected = yes; then
4119 # We found a bogon in the path, so make sure we never use it.
4120 set dummy $ac_cv_prog_CC
4121 shift
4122 if test $# != 0; then
4123 # We chose a different compiler from the bogus one.
4124 # However, it has the same basename, so the bogon will be chosen
4125 # first if we set CC to just the basename; use the full file name.
4126 shift
4127 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4132 CC=$ac_cv_prog_CC
4133 if test -n "$CC"; then
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4135 $as_echo "$CC" >&6; }
4136 else
4137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4138 $as_echo "no" >&6; }
4143 if test -z "$CC"; then
4144 if test -n "$ac_tool_prefix"; then
4145 for ac_prog in cl.exe
4147 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4148 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4150 $as_echo_n "checking for $ac_word... " >&6; }
4151 if ${ac_cv_prog_CC+:} false; then :
4152 $as_echo_n "(cached) " >&6
4153 else
4154 if test -n "$CC"; then
4155 ac_cv_prog_CC="$CC" # Let the user override the test.
4156 else
4157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4158 for as_dir in $PATH
4160 IFS=$as_save_IFS
4161 test -z "$as_dir" && as_dir=.
4162 for ac_exec_ext in '' $ac_executable_extensions; do
4163 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4164 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4165 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4166 break 2
4168 done
4169 done
4170 IFS=$as_save_IFS
4174 CC=$ac_cv_prog_CC
4175 if test -n "$CC"; then
4176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4177 $as_echo "$CC" >&6; }
4178 else
4179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4180 $as_echo "no" >&6; }
4184 test -n "$CC" && break
4185 done
4187 if test -z "$CC"; then
4188 ac_ct_CC=$CC
4189 for ac_prog in cl.exe
4191 # Extract the first word of "$ac_prog", so it can be a program name with args.
4192 set dummy $ac_prog; ac_word=$2
4193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4194 $as_echo_n "checking for $ac_word... " >&6; }
4195 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4196 $as_echo_n "(cached) " >&6
4197 else
4198 if test -n "$ac_ct_CC"; then
4199 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4200 else
4201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4202 for as_dir in $PATH
4204 IFS=$as_save_IFS
4205 test -z "$as_dir" && as_dir=.
4206 for ac_exec_ext in '' $ac_executable_extensions; do
4207 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4208 ac_cv_prog_ac_ct_CC="$ac_prog"
4209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4210 break 2
4212 done
4213 done
4214 IFS=$as_save_IFS
4218 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4219 if test -n "$ac_ct_CC"; then
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4221 $as_echo "$ac_ct_CC" >&6; }
4222 else
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4224 $as_echo "no" >&6; }
4228 test -n "$ac_ct_CC" && break
4229 done
4231 if test "x$ac_ct_CC" = x; then
4232 CC=""
4233 else
4234 case $cross_compiling:$ac_tool_warned in
4235 yes:)
4236 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4237 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4238 ac_tool_warned=yes ;;
4239 esac
4240 CC=$ac_ct_CC
4247 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4248 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4249 as_fn_error $? "no acceptable C compiler found in \$PATH
4250 See \`config.log' for more details" "$LINENO" 5; }
4252 # Provide some information about the compiler.
4253 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4254 set X $ac_compile
4255 ac_compiler=$2
4256 for ac_option in --version -v -V -qversion; do
4257 { { ac_try="$ac_compiler $ac_option >&5"
4258 case "(($ac_try" in
4259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4260 *) ac_try_echo=$ac_try;;
4261 esac
4262 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4263 $as_echo "$ac_try_echo"; } >&5
4264 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4265 ac_status=$?
4266 if test -s conftest.err; then
4267 sed '10a\
4268 ... rest of stderr output deleted ...
4269 10q' conftest.err >conftest.er1
4270 cat conftest.er1 >&5
4272 rm -f conftest.er1 conftest.err
4273 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4274 test $ac_status = 0; }
4275 done
4277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4278 /* end confdefs.h. */
4281 main ()
4285 return 0;
4287 _ACEOF
4288 ac_clean_files_save=$ac_clean_files
4289 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4290 # Try to create an executable without -o first, disregard a.out.
4291 # It will help us diagnose broken compilers, and finding out an intuition
4292 # of exeext.
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4294 $as_echo_n "checking whether the C compiler works... " >&6; }
4295 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4297 # The possible output files:
4298 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4300 ac_rmfiles=
4301 for ac_file in $ac_files
4303 case $ac_file in
4304 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4305 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4306 esac
4307 done
4308 rm -f $ac_rmfiles
4310 if { { ac_try="$ac_link_default"
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_default") 2>&5
4318 ac_status=$?
4319 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4320 test $ac_status = 0; }; then :
4321 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4322 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4323 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4324 # so that the user can short-circuit this test for compilers unknown to
4325 # Autoconf.
4326 for ac_file in $ac_files ''
4328 test -f "$ac_file" || continue
4329 case $ac_file in
4330 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4332 [ab].out )
4333 # We found the default executable, but exeext='' is most
4334 # certainly right.
4335 break;;
4336 *.* )
4337 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4338 then :; else
4339 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4341 # We set ac_cv_exeext here because the later test for it is not
4342 # safe: cross compilers may not add the suffix if given an `-o'
4343 # argument, so we may need to know it at that point already.
4344 # Even if this section looks crufty: it has the advantage of
4345 # actually working.
4346 break;;
4348 break;;
4349 esac
4350 done
4351 test "$ac_cv_exeext" = no && ac_cv_exeext=
4353 else
4354 ac_file=''
4356 if test -z "$ac_file"; then :
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4358 $as_echo "no" >&6; }
4359 $as_echo "$as_me: failed program was:" >&5
4360 sed 's/^/| /' conftest.$ac_ext >&5
4362 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4363 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4364 as_fn_error 77 "C compiler cannot create executables
4365 See \`config.log' for more details" "$LINENO" 5; }
4366 else
4367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4368 $as_echo "yes" >&6; }
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4371 $as_echo_n "checking for C compiler default output file name... " >&6; }
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4373 $as_echo "$ac_file" >&6; }
4374 ac_exeext=$ac_cv_exeext
4376 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4377 ac_clean_files=$ac_clean_files_save
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4379 $as_echo_n "checking for suffix of executables... " >&6; }
4380 if { { ac_try="$ac_link"
4381 case "(($ac_try" in
4382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4383 *) ac_try_echo=$ac_try;;
4384 esac
4385 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4386 $as_echo "$ac_try_echo"; } >&5
4387 (eval "$ac_link") 2>&5
4388 ac_status=$?
4389 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4390 test $ac_status = 0; }; then :
4391 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4392 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4393 # work properly (i.e., refer to `conftest.exe'), while it won't with
4394 # `rm'.
4395 for ac_file in conftest.exe conftest conftest.*; do
4396 test -f "$ac_file" || continue
4397 case $ac_file in
4398 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4399 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4400 break;;
4401 * ) break;;
4402 esac
4403 done
4404 else
4405 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4406 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4407 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4408 See \`config.log' for more details" "$LINENO" 5; }
4410 rm -f conftest conftest$ac_cv_exeext
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4412 $as_echo "$ac_cv_exeext" >&6; }
4414 rm -f conftest.$ac_ext
4415 EXEEXT=$ac_cv_exeext
4416 ac_exeext=$EXEEXT
4417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4418 /* end confdefs.h. */
4419 #include <stdio.h>
4421 main ()
4423 FILE *f = fopen ("conftest.out", "w");
4424 return ferror (f) || fclose (f) != 0;
4427 return 0;
4429 _ACEOF
4430 ac_clean_files="$ac_clean_files conftest.out"
4431 # Check that the compiler produces executables we can run. If not, either
4432 # the compiler is broken, or we cross compile.
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4434 $as_echo_n "checking whether we are cross compiling... " >&6; }
4435 if test "$cross_compiling" != yes; then
4436 { { ac_try="$ac_link"
4437 case "(($ac_try" in
4438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4439 *) ac_try_echo=$ac_try;;
4440 esac
4441 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4442 $as_echo "$ac_try_echo"; } >&5
4443 (eval "$ac_link") 2>&5
4444 ac_status=$?
4445 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4446 test $ac_status = 0; }
4447 if { ac_try='./conftest$ac_cv_exeext'
4448 { { case "(($ac_try" in
4449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4450 *) ac_try_echo=$ac_try;;
4451 esac
4452 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4453 $as_echo "$ac_try_echo"; } >&5
4454 (eval "$ac_try") 2>&5
4455 ac_status=$?
4456 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4457 test $ac_status = 0; }; }; then
4458 cross_compiling=no
4459 else
4460 if test "$cross_compiling" = maybe; then
4461 cross_compiling=yes
4462 else
4463 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4464 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4465 as_fn_error $? "cannot run C compiled programs.
4466 If you meant to cross compile, use \`--host'.
4467 See \`config.log' for more details" "$LINENO" 5; }
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4472 $as_echo "$cross_compiling" >&6; }
4474 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4475 ac_clean_files=$ac_clean_files_save
4476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4477 $as_echo_n "checking for suffix of object files... " >&6; }
4478 if ${ac_cv_objext+:} false; then :
4479 $as_echo_n "(cached) " >&6
4480 else
4481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4482 /* end confdefs.h. */
4485 main ()
4489 return 0;
4491 _ACEOF
4492 rm -f conftest.o conftest.obj
4493 if { { ac_try="$ac_compile"
4494 case "(($ac_try" in
4495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4496 *) ac_try_echo=$ac_try;;
4497 esac
4498 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4499 $as_echo "$ac_try_echo"; } >&5
4500 (eval "$ac_compile") 2>&5
4501 ac_status=$?
4502 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4503 test $ac_status = 0; }; then :
4504 for ac_file in conftest.o conftest.obj conftest.*; do
4505 test -f "$ac_file" || continue;
4506 case $ac_file in
4507 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4508 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4509 break;;
4510 esac
4511 done
4512 else
4513 $as_echo "$as_me: failed program was:" >&5
4514 sed 's/^/| /' conftest.$ac_ext >&5
4516 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4517 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4518 as_fn_error $? "cannot compute suffix of object files: cannot compile
4519 See \`config.log' for more details" "$LINENO" 5; }
4521 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4524 $as_echo "$ac_cv_objext" >&6; }
4525 OBJEXT=$ac_cv_objext
4526 ac_objext=$OBJEXT
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4528 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4529 if ${ac_cv_c_compiler_gnu+:} false; then :
4530 $as_echo_n "(cached) " >&6
4531 else
4532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4533 /* end confdefs.h. */
4536 main ()
4538 #ifndef __GNUC__
4539 choke me
4540 #endif
4543 return 0;
4545 _ACEOF
4546 if ac_fn_c_try_compile "$LINENO"; then :
4547 ac_compiler_gnu=yes
4548 else
4549 ac_compiler_gnu=no
4551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4552 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4556 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4557 if test $ac_compiler_gnu = yes; then
4558 GCC=yes
4559 else
4560 GCC=
4562 ac_test_CFLAGS=${CFLAGS+set}
4563 ac_save_CFLAGS=$CFLAGS
4564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4565 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4566 if ${ac_cv_prog_cc_g+:} false; then :
4567 $as_echo_n "(cached) " >&6
4568 else
4569 ac_save_c_werror_flag=$ac_c_werror_flag
4570 ac_c_werror_flag=yes
4571 ac_cv_prog_cc_g=no
4572 CFLAGS="-g"
4573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4574 /* end confdefs.h. */
4577 main ()
4581 return 0;
4583 _ACEOF
4584 if ac_fn_c_try_compile "$LINENO"; then :
4585 ac_cv_prog_cc_g=yes
4586 else
4587 CFLAGS=""
4588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4589 /* end confdefs.h. */
4592 main ()
4596 return 0;
4598 _ACEOF
4599 if ac_fn_c_try_compile "$LINENO"; then :
4601 else
4602 ac_c_werror_flag=$ac_save_c_werror_flag
4603 CFLAGS="-g"
4604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4605 /* end confdefs.h. */
4608 main ()
4612 return 0;
4614 _ACEOF
4615 if ac_fn_c_try_compile "$LINENO"; then :
4616 ac_cv_prog_cc_g=yes
4618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4623 ac_c_werror_flag=$ac_save_c_werror_flag
4625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4626 $as_echo "$ac_cv_prog_cc_g" >&6; }
4627 if test "$ac_test_CFLAGS" = set; then
4628 CFLAGS=$ac_save_CFLAGS
4629 elif test $ac_cv_prog_cc_g = yes; then
4630 if test "$GCC" = yes; then
4631 CFLAGS="-g -O2"
4632 else
4633 CFLAGS="-g"
4635 else
4636 if test "$GCC" = yes; then
4637 CFLAGS="-O2"
4638 else
4639 CFLAGS=
4642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4643 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4644 if ${ac_cv_prog_cc_c89+:} false; then :
4645 $as_echo_n "(cached) " >&6
4646 else
4647 ac_cv_prog_cc_c89=no
4648 ac_save_CC=$CC
4649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4650 /* end confdefs.h. */
4651 #include <stdarg.h>
4652 #include <stdio.h>
4653 struct stat;
4654 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4655 struct buf { int x; };
4656 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4657 static char *e (p, i)
4658 char **p;
4659 int i;
4661 return p[i];
4663 static char *f (char * (*g) (char **, int), char **p, ...)
4665 char *s;
4666 va_list v;
4667 va_start (v,p);
4668 s = g (p, va_arg (v,int));
4669 va_end (v);
4670 return s;
4673 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4674 function prototypes and stuff, but not '\xHH' hex character constants.
4675 These don't provoke an error unfortunately, instead are silently treated
4676 as 'x'. The following induces an error, until -std is added to get
4677 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4678 array size at least. It's necessary to write '\x00'==0 to get something
4679 that's true only with -std. */
4680 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4682 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4683 inside strings and character constants. */
4684 #define FOO(x) 'x'
4685 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4687 int test (int i, double x);
4688 struct s1 {int (*f) (int a);};
4689 struct s2 {int (*f) (double a);};
4690 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4691 int argc;
4692 char **argv;
4694 main ()
4696 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4698 return 0;
4700 _ACEOF
4701 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4702 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4704 CC="$ac_save_CC $ac_arg"
4705 if ac_fn_c_try_compile "$LINENO"; then :
4706 ac_cv_prog_cc_c89=$ac_arg
4708 rm -f core conftest.err conftest.$ac_objext
4709 test "x$ac_cv_prog_cc_c89" != "xno" && break
4710 done
4711 rm -f conftest.$ac_ext
4712 CC=$ac_save_CC
4715 # AC_CACHE_VAL
4716 case "x$ac_cv_prog_cc_c89" in
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4719 $as_echo "none needed" >&6; } ;;
4720 xno)
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4722 $as_echo "unsupported" >&6; } ;;
4724 CC="$CC $ac_cv_prog_cc_c89"
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4726 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4727 esac
4728 if test "x$ac_cv_prog_cc_c89" != xno; then :
4732 ac_ext=c
4733 ac_cpp='$CPP $CPPFLAGS'
4734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4738 ac_ext=cpp
4739 ac_cpp='$CXXCPP $CPPFLAGS'
4740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4743 if test -z "$CXX"; then
4744 if test -n "$CCC"; then
4745 CXX=$CCC
4746 else
4747 if test -n "$ac_tool_prefix"; then
4748 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4750 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4751 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4753 $as_echo_n "checking for $ac_word... " >&6; }
4754 if ${ac_cv_prog_CXX+:} false; then :
4755 $as_echo_n "(cached) " >&6
4756 else
4757 if test -n "$CXX"; then
4758 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4759 else
4760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4761 for as_dir in $PATH
4763 IFS=$as_save_IFS
4764 test -z "$as_dir" && as_dir=.
4765 for ac_exec_ext in '' $ac_executable_extensions; do
4766 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4767 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4769 break 2
4771 done
4772 done
4773 IFS=$as_save_IFS
4777 CXX=$ac_cv_prog_CXX
4778 if test -n "$CXX"; then
4779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4780 $as_echo "$CXX" >&6; }
4781 else
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4783 $as_echo "no" >&6; }
4787 test -n "$CXX" && break
4788 done
4790 if test -z "$CXX"; then
4791 ac_ct_CXX=$CXX
4792 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4794 # Extract the first word of "$ac_prog", so it can be a program name with args.
4795 set dummy $ac_prog; ac_word=$2
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4797 $as_echo_n "checking for $ac_word... " >&6; }
4798 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4799 $as_echo_n "(cached) " >&6
4800 else
4801 if test -n "$ac_ct_CXX"; then
4802 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4803 else
4804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4805 for as_dir in $PATH
4807 IFS=$as_save_IFS
4808 test -z "$as_dir" && as_dir=.
4809 for ac_exec_ext in '' $ac_executable_extensions; do
4810 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4811 ac_cv_prog_ac_ct_CXX="$ac_prog"
4812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4813 break 2
4815 done
4816 done
4817 IFS=$as_save_IFS
4821 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4822 if test -n "$ac_ct_CXX"; then
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4824 $as_echo "$ac_ct_CXX" >&6; }
4825 else
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4827 $as_echo "no" >&6; }
4831 test -n "$ac_ct_CXX" && break
4832 done
4834 if test "x$ac_ct_CXX" = x; then
4835 CXX="g++"
4836 else
4837 case $cross_compiling:$ac_tool_warned in
4838 yes:)
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4840 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4841 ac_tool_warned=yes ;;
4842 esac
4843 CXX=$ac_ct_CXX
4849 # Provide some information about the compiler.
4850 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4851 set X $ac_compile
4852 ac_compiler=$2
4853 for ac_option in --version -v -V -qversion; do
4854 { { ac_try="$ac_compiler $ac_option >&5"
4855 case "(($ac_try" in
4856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4857 *) ac_try_echo=$ac_try;;
4858 esac
4859 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4860 $as_echo "$ac_try_echo"; } >&5
4861 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4862 ac_status=$?
4863 if test -s conftest.err; then
4864 sed '10a\
4865 ... rest of stderr output deleted ...
4866 10q' conftest.err >conftest.er1
4867 cat conftest.er1 >&5
4869 rm -f conftest.er1 conftest.err
4870 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4871 test $ac_status = 0; }
4872 done
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4875 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4876 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4877 $as_echo_n "(cached) " >&6
4878 else
4879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4880 /* end confdefs.h. */
4883 main ()
4885 #ifndef __GNUC__
4886 choke me
4887 #endif
4890 return 0;
4892 _ACEOF
4893 if ac_fn_cxx_try_compile "$LINENO"; then :
4894 ac_compiler_gnu=yes
4895 else
4896 ac_compiler_gnu=no
4898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4899 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4903 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4904 if test $ac_compiler_gnu = yes; then
4905 GXX=yes
4906 else
4907 GXX=
4909 ac_test_CXXFLAGS=${CXXFLAGS+set}
4910 ac_save_CXXFLAGS=$CXXFLAGS
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4912 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4913 if ${ac_cv_prog_cxx_g+:} false; then :
4914 $as_echo_n "(cached) " >&6
4915 else
4916 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4917 ac_cxx_werror_flag=yes
4918 ac_cv_prog_cxx_g=no
4919 CXXFLAGS="-g"
4920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4921 /* end confdefs.h. */
4924 main ()
4928 return 0;
4930 _ACEOF
4931 if ac_fn_cxx_try_compile "$LINENO"; then :
4932 ac_cv_prog_cxx_g=yes
4933 else
4934 CXXFLAGS=""
4935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4936 /* end confdefs.h. */
4939 main ()
4943 return 0;
4945 _ACEOF
4946 if ac_fn_cxx_try_compile "$LINENO"; then :
4948 else
4949 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4950 CXXFLAGS="-g"
4951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4952 /* end confdefs.h. */
4955 main ()
4959 return 0;
4961 _ACEOF
4962 if ac_fn_cxx_try_compile "$LINENO"; then :
4963 ac_cv_prog_cxx_g=yes
4965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4970 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4973 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4974 if test "$ac_test_CXXFLAGS" = set; then
4975 CXXFLAGS=$ac_save_CXXFLAGS
4976 elif test $ac_cv_prog_cxx_g = yes; then
4977 if test "$GXX" = yes; then
4978 CXXFLAGS="-g -O2"
4979 else
4980 CXXFLAGS="-g"
4982 else
4983 if test "$GXX" = yes; then
4984 CXXFLAGS="-O2"
4985 else
4986 CXXFLAGS=
4989 ac_ext=c
4990 ac_cpp='$CPP $CPPFLAGS'
4991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4995 if test -n "$ac_tool_prefix"; then
4996 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4997 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4999 $as_echo_n "checking for $ac_word... " >&6; }
5000 if ${ac_cv_prog_CPPBIN+:} false; then :
5001 $as_echo_n "(cached) " >&6
5002 else
5003 if test -n "$CPPBIN"; then
5004 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5005 else
5006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5007 for as_dir in $PATH
5009 IFS=$as_save_IFS
5010 test -z "$as_dir" && as_dir=.
5011 for ac_exec_ext in '' $ac_executable_extensions; do
5012 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5013 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5014 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5015 break 2
5017 done
5018 done
5019 IFS=$as_save_IFS
5023 CPPBIN=$ac_cv_prog_CPPBIN
5024 if test -n "$CPPBIN"; then
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5026 $as_echo "$CPPBIN" >&6; }
5027 else
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5029 $as_echo "no" >&6; }
5034 if test -z "$ac_cv_prog_CPPBIN"; then
5035 ac_ct_CPPBIN=$CPPBIN
5036 # Extract the first word of "cpp", so it can be a program name with args.
5037 set dummy cpp; ac_word=$2
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5039 $as_echo_n "checking for $ac_word... " >&6; }
5040 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5041 $as_echo_n "(cached) " >&6
5042 else
5043 if test -n "$ac_ct_CPPBIN"; then
5044 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5045 else
5046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5047 for as_dir in $PATH
5049 IFS=$as_save_IFS
5050 test -z "$as_dir" && as_dir=.
5051 for ac_exec_ext in '' $ac_executable_extensions; do
5052 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5053 ac_cv_prog_ac_ct_CPPBIN="cpp"
5054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5055 break 2
5057 done
5058 done
5059 IFS=$as_save_IFS
5063 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5064 if test -n "$ac_ct_CPPBIN"; then
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5066 $as_echo "$ac_ct_CPPBIN" >&6; }
5067 else
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5069 $as_echo "no" >&6; }
5072 if test "x$ac_ct_CPPBIN" = x; then
5073 CPPBIN="cpp"
5074 else
5075 case $cross_compiling:$ac_tool_warned in
5076 yes:)
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5078 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5079 ac_tool_warned=yes ;;
5080 esac
5081 CPPBIN=$ac_ct_CPPBIN
5083 else
5084 CPPBIN="$ac_cv_prog_CPPBIN"
5088 cat >>confdefs.h <<_ACEOF
5089 #define EXEEXT "$ac_exeext"
5090 _ACEOF
5092 if test -n "$ac_tool_prefix"; then
5093 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5094 set dummy ${ac_tool_prefix}ld; ac_word=$2
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5096 $as_echo_n "checking for $ac_word... " >&6; }
5097 if ${ac_cv_prog_LD+:} false; then :
5098 $as_echo_n "(cached) " >&6
5099 else
5100 if test -n "$LD"; then
5101 ac_cv_prog_LD="$LD" # Let the user override the test.
5102 else
5103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5104 for as_dir in $PATH
5106 IFS=$as_save_IFS
5107 test -z "$as_dir" && as_dir=.
5108 for ac_exec_ext in '' $ac_executable_extensions; do
5109 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5110 ac_cv_prog_LD="${ac_tool_prefix}ld"
5111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5112 break 2
5114 done
5115 done
5116 IFS=$as_save_IFS
5120 LD=$ac_cv_prog_LD
5121 if test -n "$LD"; then
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5123 $as_echo "$LD" >&6; }
5124 else
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5126 $as_echo "no" >&6; }
5131 if test -z "$ac_cv_prog_LD"; then
5132 ac_ct_LD=$LD
5133 # Extract the first word of "ld", so it can be a program name with args.
5134 set dummy ld; ac_word=$2
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5136 $as_echo_n "checking for $ac_word... " >&6; }
5137 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5138 $as_echo_n "(cached) " >&6
5139 else
5140 if test -n "$ac_ct_LD"; then
5141 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5142 else
5143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5144 for as_dir in $PATH
5146 IFS=$as_save_IFS
5147 test -z "$as_dir" && as_dir=.
5148 for ac_exec_ext in '' $ac_executable_extensions; do
5149 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5150 ac_cv_prog_ac_ct_LD="ld"
5151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5152 break 2
5154 done
5155 done
5156 IFS=$as_save_IFS
5160 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5161 if test -n "$ac_ct_LD"; then
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5163 $as_echo "$ac_ct_LD" >&6; }
5164 else
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5166 $as_echo "no" >&6; }
5169 if test "x$ac_ct_LD" = x; then
5170 LD=""
5171 else
5172 case $cross_compiling:$ac_tool_warned in
5173 yes:)
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5175 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5176 ac_tool_warned=yes ;;
5177 esac
5178 LD=$ac_ct_LD
5180 else
5181 LD="$ac_cv_prog_LD"
5185 case $host in
5186 *-darwin*)
5187 with_fontconfig=${with_fontconfig:-no}
5189 *-mingw32*|*-cygwin*)
5190 enable_win16=${enable_win16:-no}
5191 CFLAGS="$CFLAGS -D_WIN32"
5193 esac
5195 case $host in
5196 x86_64*|amd64*)
5197 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5198 then
5199 CC="$CC -m32"
5200 CXX="$CXX -m32"
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5202 $as_echo_n "checking whether $CC works... " >&6; }
5204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5205 /* end confdefs.h. */
5208 main ()
5212 return 0;
5214 _ACEOF
5215 if ac_fn_c_try_link "$LINENO"; then :
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5217 $as_echo "yes" >&6; }
5218 else
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5220 $as_echo "no" >&6; }
5221 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5223 rm -f core conftest.err conftest.$ac_objext \
5224 conftest$ac_exeext conftest.$ac_ext
5225 host_cpu="i386"
5226 notice_platform="32-bit "
5227 TARGETFLAGS="-m32"
5229 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5230 export PKG_CONFIG_PATH
5231 enable_win16=${enable_win16:-yes}
5232 else
5233 if test "x${GCC}" = "xyes"
5234 then
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5236 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5238 /* end confdefs.h. */
5239 #include <stdarg.h>
5241 main ()
5243 void func(__builtin_ms_va_list *args);
5245 return 0;
5247 _ACEOF
5248 if ac_fn_c_try_compile "$LINENO"; then :
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5250 $as_echo "yes" >&6; }
5251 else
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5253 $as_echo "no" >&6; }
5254 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5258 CC="$CC -m64"
5259 CXX="$CXX -m64"
5260 host_cpu="x86_64"
5261 notice_platform="64-bit "
5262 TARGETFLAGS="-m64"
5266 arm*)
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5268 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5270 /* end confdefs.h. */
5271 int ac_test(int i) { return i; }
5273 main ()
5275 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5277 return 0;
5279 _ACEOF
5280 if ac_fn_c_try_link "$LINENO"; then :
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5282 $as_echo "yes" >&6; }
5283 else
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5285 $as_echo "no" >&6; }
5286 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5288 rm -f core conftest.err conftest.$ac_objext \
5289 conftest$ac_exeext conftest.$ac_ext
5290 case $with_float_abi in
5291 soft|softfp|hard)
5292 float_abi=$with_float_abi ;;
5294 case $host_os in
5295 *eabihf)
5296 float_abi=hard ;;
5298 float_abi=softfp
5299 saved_CFLAGS=$CFLAGS
5300 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5302 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5304 /* end confdefs.h. */
5307 main ()
5309 asm("vmrs r2,fpscr");
5311 return 0;
5313 _ACEOF
5314 if ac_fn_c_try_link "$LINENO"; then :
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5316 $as_echo "yes" >&6; }
5317 else
5318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5319 $as_echo "no" >&6; }
5320 float_abi=soft
5321 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5323 rm -f core conftest.err conftest.$ac_objext \
5324 conftest$ac_exeext conftest.$ac_ext
5325 CFLAGS=$saved_CFLAGS
5326 esac
5328 esac
5329 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5330 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5333 i[3456789]86*)
5334 enable_win16=${enable_win16:-yes}
5336 esac
5338 enable_win16=${enable_win16:-no}
5339 enable_win64=${enable_win64:-no}
5341 enable_winetest=${enable_winetest:-$enable_tests}
5343 if test -n "$with_wine64"
5344 then
5345 if test "x$enable_win64" = "xyes"
5346 then
5347 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5348 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5350 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5351 You should create a separate build directory and run configure from there." "$LINENO" 5
5352 enable_fonts=${enable_fonts:-no}
5353 enable_server=${enable_server:-no}
5354 elif test "x$enable_win64" = "xyes"
5355 then
5356 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5360 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5361 if ${wine_cv_toolsdir+:} false; then :
5362 $as_echo_n "(cached) " >&6
5363 else
5364 wine_cv_toolsdir="$with_wine_tools"
5365 if test -z "$with_wine_tools"; then
5366 if test "$cross_compiling" = "yes"; then
5367 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5368 elif test -n "$with_wine64"; then
5369 wine_cv_toolsdir="$with_wine64"
5372 if test -z "$wine_cv_toolsdir"; then
5373 wine_makedep=tools/makedep
5374 wine_cv_toolsdir="\$(top_builddir)"
5375 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5376 wine_makedep=$wine_cv_toolsdir/tools/makedep
5377 case "$wine_cv_toolsdir" in
5378 /*) ;;
5379 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5380 esac
5381 enable_tools=${enable_tools:-no}
5382 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5383 else
5384 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5388 $as_echo "$wine_cv_toolsdir" >&6; }
5389 TOOLSDIR=$wine_cv_toolsdir
5391 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5392 then
5393 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5397 for ac_prog in flex
5399 # Extract the first word of "$ac_prog", so it can be a program name with args.
5400 set dummy $ac_prog; ac_word=$2
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5402 $as_echo_n "checking for $ac_word... " >&6; }
5403 if ${ac_cv_prog_FLEX+:} false; then :
5404 $as_echo_n "(cached) " >&6
5405 else
5406 if test -n "$FLEX"; then
5407 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5408 else
5409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5410 for as_dir in $PATH
5412 IFS=$as_save_IFS
5413 test -z "$as_dir" && as_dir=.
5414 for ac_exec_ext in '' $ac_executable_extensions; do
5415 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5416 ac_cv_prog_FLEX="$ac_prog"
5417 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5418 break 2
5420 done
5421 done
5422 IFS=$as_save_IFS
5426 FLEX=$ac_cv_prog_FLEX
5427 if test -n "$FLEX"; then
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5429 $as_echo "$FLEX" >&6; }
5430 else
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5432 $as_echo "no" >&6; }
5436 test -n "$FLEX" && break
5437 done
5438 test -n "$FLEX" || FLEX="none"
5440 if test "$FLEX" = "none"
5441 then
5442 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5445 $as_echo_n "checking whether flex is recent enough... " >&6; }
5446 cat >conftest.l <<EOF
5447 %top{
5448 #include "prediluvian.h"
5452 if $FLEX -t conftest.l >/dev/null 2>&5
5453 then
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5455 $as_echo "yes" >&6; }
5456 else
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5458 $as_echo "no" >&6; }
5459 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5462 for ac_prog in bison
5464 # Extract the first word of "$ac_prog", so it can be a program name with args.
5465 set dummy $ac_prog; ac_word=$2
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5467 $as_echo_n "checking for $ac_word... " >&6; }
5468 if ${ac_cv_prog_BISON+:} false; then :
5469 $as_echo_n "(cached) " >&6
5470 else
5471 if test -n "$BISON"; then
5472 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5473 else
5474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5475 for as_dir in $PATH
5477 IFS=$as_save_IFS
5478 test -z "$as_dir" && as_dir=.
5479 for ac_exec_ext in '' $ac_executable_extensions; do
5480 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5481 ac_cv_prog_BISON="$ac_prog"
5482 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5483 break 2
5485 done
5486 done
5487 IFS=$as_save_IFS
5491 BISON=$ac_cv_prog_BISON
5492 if test -n "$BISON"; then
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5494 $as_echo "$BISON" >&6; }
5495 else
5496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5497 $as_echo "no" >&6; }
5501 test -n "$BISON" && break
5502 done
5503 test -n "$BISON" || BISON="none"
5505 if test "$BISON" = "none"
5506 then
5507 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5510 if test -n "$ac_tool_prefix"; then
5511 for ac_prog in ar gar
5513 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5514 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5516 $as_echo_n "checking for $ac_word... " >&6; }
5517 if ${ac_cv_prog_AR+:} false; then :
5518 $as_echo_n "(cached) " >&6
5519 else
5520 if test -n "$AR"; then
5521 ac_cv_prog_AR="$AR" # Let the user override the test.
5522 else
5523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5524 for as_dir in $PATH
5526 IFS=$as_save_IFS
5527 test -z "$as_dir" && as_dir=.
5528 for ac_exec_ext in '' $ac_executable_extensions; do
5529 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5530 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5532 break 2
5534 done
5535 done
5536 IFS=$as_save_IFS
5540 AR=$ac_cv_prog_AR
5541 if test -n "$AR"; then
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5543 $as_echo "$AR" >&6; }
5544 else
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5546 $as_echo "no" >&6; }
5550 test -n "$AR" && break
5551 done
5553 if test -z "$AR"; then
5554 ac_ct_AR=$AR
5555 for ac_prog in ar gar
5557 # Extract the first word of "$ac_prog", so it can be a program name with args.
5558 set dummy $ac_prog; ac_word=$2
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5560 $as_echo_n "checking for $ac_word... " >&6; }
5561 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5562 $as_echo_n "(cached) " >&6
5563 else
5564 if test -n "$ac_ct_AR"; then
5565 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5566 else
5567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5568 for as_dir in $PATH
5570 IFS=$as_save_IFS
5571 test -z "$as_dir" && as_dir=.
5572 for ac_exec_ext in '' $ac_executable_extensions; do
5573 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5574 ac_cv_prog_ac_ct_AR="$ac_prog"
5575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5576 break 2
5578 done
5579 done
5580 IFS=$as_save_IFS
5584 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5585 if test -n "$ac_ct_AR"; then
5586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5587 $as_echo "$ac_ct_AR" >&6; }
5588 else
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5590 $as_echo "no" >&6; }
5594 test -n "$ac_ct_AR" && break
5595 done
5597 if test "x$ac_ct_AR" = x; then
5598 AR="ar"
5599 else
5600 case $cross_compiling:$ac_tool_warned in
5601 yes:)
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5603 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5604 ac_tool_warned=yes ;;
5605 esac
5606 AR=$ac_ct_AR
5610 if test -n "$ac_tool_prefix"; then
5611 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5612 set dummy ${ac_tool_prefix}strip; ac_word=$2
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5614 $as_echo_n "checking for $ac_word... " >&6; }
5615 if ${ac_cv_prog_STRIP+:} false; then :
5616 $as_echo_n "(cached) " >&6
5617 else
5618 if test -n "$STRIP"; then
5619 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5620 else
5621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5622 for as_dir in $PATH
5624 IFS=$as_save_IFS
5625 test -z "$as_dir" && as_dir=.
5626 for ac_exec_ext in '' $ac_executable_extensions; do
5627 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5628 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5630 break 2
5632 done
5633 done
5634 IFS=$as_save_IFS
5638 STRIP=$ac_cv_prog_STRIP
5639 if test -n "$STRIP"; then
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5641 $as_echo "$STRIP" >&6; }
5642 else
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5644 $as_echo "no" >&6; }
5649 if test -z "$ac_cv_prog_STRIP"; then
5650 ac_ct_STRIP=$STRIP
5651 # Extract the first word of "strip", so it can be a program name with args.
5652 set dummy strip; ac_word=$2
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5654 $as_echo_n "checking for $ac_word... " >&6; }
5655 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5656 $as_echo_n "(cached) " >&6
5657 else
5658 if test -n "$ac_ct_STRIP"; then
5659 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5660 else
5661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5662 for as_dir in $PATH
5664 IFS=$as_save_IFS
5665 test -z "$as_dir" && as_dir=.
5666 for ac_exec_ext in '' $ac_executable_extensions; do
5667 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5668 ac_cv_prog_ac_ct_STRIP="strip"
5669 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5670 break 2
5672 done
5673 done
5674 IFS=$as_save_IFS
5678 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5679 if test -n "$ac_ct_STRIP"; then
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5681 $as_echo "$ac_ct_STRIP" >&6; }
5682 else
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5684 $as_echo "no" >&6; }
5687 if test "x$ac_ct_STRIP" = x; then
5688 STRIP="strip"
5689 else
5690 case $cross_compiling:$ac_tool_warned in
5691 yes:)
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5693 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5694 ac_tool_warned=yes ;;
5695 esac
5696 STRIP=$ac_ct_STRIP
5698 else
5699 STRIP="$ac_cv_prog_STRIP"
5702 ARFLAGS=rc
5704 if test -n "$ac_tool_prefix"; then
5705 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5706 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5708 $as_echo_n "checking for $ac_word... " >&6; }
5709 if ${ac_cv_prog_RANLIB+:} false; then :
5710 $as_echo_n "(cached) " >&6
5711 else
5712 if test -n "$RANLIB"; then
5713 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5714 else
5715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5716 for as_dir in $PATH
5718 IFS=$as_save_IFS
5719 test -z "$as_dir" && as_dir=.
5720 for ac_exec_ext in '' $ac_executable_extensions; do
5721 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5722 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5724 break 2
5726 done
5727 done
5728 IFS=$as_save_IFS
5732 RANLIB=$ac_cv_prog_RANLIB
5733 if test -n "$RANLIB"; then
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5735 $as_echo "$RANLIB" >&6; }
5736 else
5737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5738 $as_echo "no" >&6; }
5743 if test -z "$ac_cv_prog_RANLIB"; then
5744 ac_ct_RANLIB=$RANLIB
5745 # Extract the first word of "ranlib", so it can be a program name with args.
5746 set dummy ranlib; ac_word=$2
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5748 $as_echo_n "checking for $ac_word... " >&6; }
5749 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5750 $as_echo_n "(cached) " >&6
5751 else
5752 if test -n "$ac_ct_RANLIB"; then
5753 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5754 else
5755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5756 for as_dir in $PATH
5758 IFS=$as_save_IFS
5759 test -z "$as_dir" && as_dir=.
5760 for ac_exec_ext in '' $ac_executable_extensions; do
5761 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5762 ac_cv_prog_ac_ct_RANLIB="ranlib"
5763 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5764 break 2
5766 done
5767 done
5768 IFS=$as_save_IFS
5772 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5773 if test -n "$ac_ct_RANLIB"; then
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5775 $as_echo "$ac_ct_RANLIB" >&6; }
5776 else
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5778 $as_echo "no" >&6; }
5781 if test "x$ac_ct_RANLIB" = x; then
5782 RANLIB=":"
5783 else
5784 case $cross_compiling:$ac_tool_warned in
5785 yes:)
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5787 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5788 ac_tool_warned=yes ;;
5789 esac
5790 RANLIB=$ac_ct_RANLIB
5792 else
5793 RANLIB="$ac_cv_prog_RANLIB"
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5797 $as_echo_n "checking whether ln -s works... " >&6; }
5798 LN_S=$as_ln_s
5799 if test "$LN_S" = "ln -s"; then
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5801 $as_echo "yes" >&6; }
5802 else
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5804 $as_echo "no, using $LN_S" >&6; }
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5808 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5809 if ${ac_cv_path_GREP+:} false; then :
5810 $as_echo_n "(cached) " >&6
5811 else
5812 if test -z "$GREP"; then
5813 ac_path_GREP_found=false
5814 # Loop through the user's path and test for each of PROGNAME-LIST
5815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5816 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5818 IFS=$as_save_IFS
5819 test -z "$as_dir" && as_dir=.
5820 for ac_prog in grep ggrep; do
5821 for ac_exec_ext in '' $ac_executable_extensions; do
5822 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5823 as_fn_executable_p "$ac_path_GREP" || continue
5824 # Check for GNU ac_path_GREP and select it if it is found.
5825 # Check for GNU $ac_path_GREP
5826 case `"$ac_path_GREP" --version 2>&1` in
5827 *GNU*)
5828 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5830 ac_count=0
5831 $as_echo_n 0123456789 >"conftest.in"
5832 while :
5834 cat "conftest.in" "conftest.in" >"conftest.tmp"
5835 mv "conftest.tmp" "conftest.in"
5836 cp "conftest.in" "conftest.nl"
5837 $as_echo 'GREP' >> "conftest.nl"
5838 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5839 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5840 as_fn_arith $ac_count + 1 && ac_count=$as_val
5841 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5842 # Best one so far, save it but keep looking for a better one
5843 ac_cv_path_GREP="$ac_path_GREP"
5844 ac_path_GREP_max=$ac_count
5846 # 10*(2^10) chars as input seems more than enough
5847 test $ac_count -gt 10 && break
5848 done
5849 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5850 esac
5852 $ac_path_GREP_found && break 3
5853 done
5854 done
5855 done
5856 IFS=$as_save_IFS
5857 if test -z "$ac_cv_path_GREP"; then
5858 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5860 else
5861 ac_cv_path_GREP=$GREP
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5866 $as_echo "$ac_cv_path_GREP" >&6; }
5867 GREP="$ac_cv_path_GREP"
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5871 $as_echo_n "checking for egrep... " >&6; }
5872 if ${ac_cv_path_EGREP+:} false; then :
5873 $as_echo_n "(cached) " >&6
5874 else
5875 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5876 then ac_cv_path_EGREP="$GREP -E"
5877 else
5878 if test -z "$EGREP"; then
5879 ac_path_EGREP_found=false
5880 # Loop through the user's path and test for each of PROGNAME-LIST
5881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5882 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5884 IFS=$as_save_IFS
5885 test -z "$as_dir" && as_dir=.
5886 for ac_prog in egrep; do
5887 for ac_exec_ext in '' $ac_executable_extensions; do
5888 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5889 as_fn_executable_p "$ac_path_EGREP" || continue
5890 # Check for GNU ac_path_EGREP and select it if it is found.
5891 # Check for GNU $ac_path_EGREP
5892 case `"$ac_path_EGREP" --version 2>&1` in
5893 *GNU*)
5894 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5896 ac_count=0
5897 $as_echo_n 0123456789 >"conftest.in"
5898 while :
5900 cat "conftest.in" "conftest.in" >"conftest.tmp"
5901 mv "conftest.tmp" "conftest.in"
5902 cp "conftest.in" "conftest.nl"
5903 $as_echo 'EGREP' >> "conftest.nl"
5904 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5905 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5906 as_fn_arith $ac_count + 1 && ac_count=$as_val
5907 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5908 # Best one so far, save it but keep looking for a better one
5909 ac_cv_path_EGREP="$ac_path_EGREP"
5910 ac_path_EGREP_max=$ac_count
5912 # 10*(2^10) chars as input seems more than enough
5913 test $ac_count -gt 10 && break
5914 done
5915 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5916 esac
5918 $ac_path_EGREP_found && break 3
5919 done
5920 done
5921 done
5922 IFS=$as_save_IFS
5923 if test -z "$ac_cv_path_EGREP"; then
5924 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5926 else
5927 ac_cv_path_EGREP=$EGREP
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5933 $as_echo "$ac_cv_path_EGREP" >&6; }
5934 EGREP="$ac_cv_path_EGREP"
5937 # Extract the first word of "ldconfig", so it can be a program name with args.
5938 set dummy ldconfig; ac_word=$2
5939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5940 $as_echo_n "checking for $ac_word... " >&6; }
5941 if ${ac_cv_path_LDCONFIG+:} false; then :
5942 $as_echo_n "(cached) " >&6
5943 else
5944 case $LDCONFIG in
5945 [\\/]* | ?:[\\/]*)
5946 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5950 for as_dir in /sbin /usr/sbin $PATH
5952 IFS=$as_save_IFS
5953 test -z "$as_dir" && as_dir=.
5954 for ac_exec_ext in '' $ac_executable_extensions; do
5955 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5956 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5958 break 2
5960 done
5961 done
5962 IFS=$as_save_IFS
5964 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5966 esac
5968 LDCONFIG=$ac_cv_path_LDCONFIG
5969 if test -n "$LDCONFIG"; then
5970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5971 $as_echo "$LDCONFIG" >&6; }
5972 else
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5974 $as_echo "no" >&6; }
5978 for ac_prog in msgfmt
5980 # Extract the first word of "$ac_prog", so it can be a program name with args.
5981 set dummy $ac_prog; ac_word=$2
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5983 $as_echo_n "checking for $ac_word... " >&6; }
5984 if ${ac_cv_prog_MSGFMT+:} false; then :
5985 $as_echo_n "(cached) " >&6
5986 else
5987 if test -n "$MSGFMT"; then
5988 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5989 else
5990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5991 for as_dir in $PATH
5993 IFS=$as_save_IFS
5994 test -z "$as_dir" && as_dir=.
5995 for ac_exec_ext in '' $ac_executable_extensions; do
5996 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5997 ac_cv_prog_MSGFMT="$ac_prog"
5998 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5999 break 2
6001 done
6002 done
6003 IFS=$as_save_IFS
6007 MSGFMT=$ac_cv_prog_MSGFMT
6008 if test -n "$MSGFMT"; then
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6010 $as_echo "$MSGFMT" >&6; }
6011 else
6012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6013 $as_echo "no" >&6; }
6017 test -n "$MSGFMT" && break
6018 done
6019 test -n "$MSGFMT" || MSGFMT="false"
6021 if ${ac_tool_prefix+:} false; then :
6022 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6023 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6025 $as_echo_n "checking for $ac_word... " >&6; }
6026 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6027 $as_echo_n "(cached) " >&6
6028 else
6029 if test -n "$PKG_CONFIG"; then
6030 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6031 else
6032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6033 for as_dir in $PATH
6035 IFS=$as_save_IFS
6036 test -z "$as_dir" && as_dir=.
6037 for ac_exec_ext in '' $ac_executable_extensions; do
6038 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6039 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6041 break 2
6043 done
6044 done
6045 IFS=$as_save_IFS
6049 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6050 if test -n "$PKG_CONFIG"; then
6051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6052 $as_echo "$PKG_CONFIG" >&6; }
6053 else
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6055 $as_echo "no" >&6; }
6060 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6061 if test "x$cross_compiling" = xyes; then :
6063 else
6064 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6065 # Extract the first word of "pkg-config", so it can be a program name with args.
6066 set dummy pkg-config; ac_word=$2
6067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6068 $as_echo_n "checking for $ac_word... " >&6; }
6069 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6070 $as_echo_n "(cached) " >&6
6071 else
6072 if test -n "$PKG_CONFIG"; then
6073 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6074 else
6075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6076 for as_dir in $PATH
6078 IFS=$as_save_IFS
6079 test -z "$as_dir" && as_dir=.
6080 for ac_exec_ext in '' $ac_executable_extensions; do
6081 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6082 ac_cv_prog_PKG_CONFIG="pkg-config"
6083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6084 break 2
6086 done
6087 done
6088 IFS=$as_save_IFS
6092 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6093 if test -n "$PKG_CONFIG"; then
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6095 $as_echo "$PKG_CONFIG" >&6; }
6096 else
6097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6098 $as_echo "no" >&6; }
6103 else
6104 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6107 if test "x$enable_maintainer_mode" != "xyes"
6108 then
6109 FONTFORGE=""
6110 RSVG=""
6111 CONVERT=""
6112 ICOTOOL=""
6113 else
6114 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6115 for ac_prog in fontforge
6117 # Extract the first word of "$ac_prog", so it can be a program name with args.
6118 set dummy $ac_prog; ac_word=$2
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6120 $as_echo_n "checking for $ac_word... " >&6; }
6121 if ${ac_cv_prog_FONTFORGE+:} false; then :
6122 $as_echo_n "(cached) " >&6
6123 else
6124 if test -n "$FONTFORGE"; then
6125 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6126 else
6127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6128 for as_dir in $PATH
6130 IFS=$as_save_IFS
6131 test -z "$as_dir" && as_dir=.
6132 for ac_exec_ext in '' $ac_executable_extensions; do
6133 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6134 ac_cv_prog_FONTFORGE="$ac_prog"
6135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6136 break 2
6138 done
6139 done
6140 IFS=$as_save_IFS
6144 FONTFORGE=$ac_cv_prog_FONTFORGE
6145 if test -n "$FONTFORGE"; then
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6147 $as_echo "$FONTFORGE" >&6; }
6148 else
6149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6150 $as_echo "no" >&6; }
6154 test -n "$FONTFORGE" && break
6155 done
6156 test -n "$FONTFORGE" || FONTFORGE="false"
6158 for ac_prog in rsvg-convert rsvg
6160 # Extract the first word of "$ac_prog", so it can be a program name with args.
6161 set dummy $ac_prog; ac_word=$2
6162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6163 $as_echo_n "checking for $ac_word... " >&6; }
6164 if ${ac_cv_prog_RSVG+:} false; then :
6165 $as_echo_n "(cached) " >&6
6166 else
6167 if test -n "$RSVG"; then
6168 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6169 else
6170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6171 for as_dir in $PATH
6173 IFS=$as_save_IFS
6174 test -z "$as_dir" && as_dir=.
6175 for ac_exec_ext in '' $ac_executable_extensions; do
6176 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6177 ac_cv_prog_RSVG="$ac_prog"
6178 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6179 break 2
6181 done
6182 done
6183 IFS=$as_save_IFS
6187 RSVG=$ac_cv_prog_RSVG
6188 if test -n "$RSVG"; then
6189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6190 $as_echo "$RSVG" >&6; }
6191 else
6192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6193 $as_echo "no" >&6; }
6197 test -n "$RSVG" && break
6198 done
6199 test -n "$RSVG" || RSVG="false"
6201 for ac_prog in convert
6203 # Extract the first word of "$ac_prog", so it can be a program name with args.
6204 set dummy $ac_prog; ac_word=$2
6205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6206 $as_echo_n "checking for $ac_word... " >&6; }
6207 if ${ac_cv_prog_CONVERT+:} false; then :
6208 $as_echo_n "(cached) " >&6
6209 else
6210 if test -n "$CONVERT"; then
6211 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6212 else
6213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6214 for as_dir in $PATH
6216 IFS=$as_save_IFS
6217 test -z "$as_dir" && as_dir=.
6218 for ac_exec_ext in '' $ac_executable_extensions; do
6219 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6220 ac_cv_prog_CONVERT="$ac_prog"
6221 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6222 break 2
6224 done
6225 done
6226 IFS=$as_save_IFS
6230 CONVERT=$ac_cv_prog_CONVERT
6231 if test -n "$CONVERT"; then
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6233 $as_echo "$CONVERT" >&6; }
6234 else
6235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6236 $as_echo "no" >&6; }
6240 test -n "$CONVERT" && break
6241 done
6242 test -n "$CONVERT" || CONVERT="false"
6244 for ac_prog in icotool
6246 # Extract the first word of "$ac_prog", so it can be a program name with args.
6247 set dummy $ac_prog; ac_word=$2
6248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6249 $as_echo_n "checking for $ac_word... " >&6; }
6250 if ${ac_cv_prog_ICOTOOL+:} false; then :
6251 $as_echo_n "(cached) " >&6
6252 else
6253 if test -n "$ICOTOOL"; then
6254 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6255 else
6256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6257 for as_dir in $PATH
6259 IFS=$as_save_IFS
6260 test -z "$as_dir" && as_dir=.
6261 for ac_exec_ext in '' $ac_executable_extensions; do
6262 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6263 ac_cv_prog_ICOTOOL="$ac_prog"
6264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6265 break 2
6267 done
6268 done
6269 IFS=$as_save_IFS
6273 ICOTOOL=$ac_cv_prog_ICOTOOL
6274 if test -n "$ICOTOOL"; then
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6276 $as_echo "$ICOTOOL" >&6; }
6277 else
6278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6279 $as_echo "no" >&6; }
6283 test -n "$ICOTOOL" && break
6284 done
6285 test -n "$ICOTOOL" || ICOTOOL="false"
6287 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6288 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6290 if test "$CONVERT" = false
6291 then
6292 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6293 else
6294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6295 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6296 convert_version=`convert --version | head -n1`
6297 if test "x$convert_version" != "x"
6298 then
6299 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6300 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6301 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6302 then
6303 CONVERT=false
6306 if test "$CONVERT" = false
6307 then
6308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6309 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6310 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6311 else
6312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6313 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6317 if test "$ICOTOOL" = false
6318 then
6319 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6320 else
6321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6322 $as_echo_n "checking for recent enough icotool... " >&6; }
6323 icotool_version=`icotool --version | head -n1`
6324 if test "x$icotool_version" != "x"
6325 then
6326 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6327 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6328 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6329 then
6330 ICOTOOL=false
6331 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6334 if test "$ICOTOOL" = false
6335 then
6336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6337 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6338 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6339 else
6340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6341 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6345 with_gettext=yes
6346 with_gettextpo=yes
6347 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6350 test "x$with_gettext" != xno || MSGFMT=false
6351 if test "$MSGFMT" != "false"
6352 then
6353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6354 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6355 cat >conftest.po <<EOF
6356 # comment
6357 msgctxt "ctxt"
6358 msgid "id"
6359 msgstr "str"
6361 if $MSGFMT -o /dev/null conftest.po 2>&5
6362 then
6363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6364 $as_echo "yes" >&6; }
6365 else
6366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6367 $as_echo "no" >&6; }
6368 MSGFMT=false
6371 if test "$MSGFMT" = false; then :
6372 case "x$with_gettext" in
6373 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6374 xno) ;;
6375 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6376 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6377 esac
6378 enable_po=${enable_po:-no}
6382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6383 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6384 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6385 $as_echo_n "(cached) " >&6
6386 else
6387 ac_check_lib_save_LIBS=$LIBS
6388 LIBS="-li386 $LIBS"
6389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6390 /* end confdefs.h. */
6392 /* Override any GCC internal prototype to avoid an error.
6393 Use char because int might match the return type of a GCC
6394 builtin and then its argument prototype would still apply. */
6395 #ifdef __cplusplus
6396 extern "C"
6397 #endif
6398 char i386_set_ldt ();
6400 main ()
6402 return i386_set_ldt ();
6404 return 0;
6406 _ACEOF
6407 if ac_fn_c_try_link "$LINENO"; then :
6408 ac_cv_lib_i386_i386_set_ldt=yes
6409 else
6410 ac_cv_lib_i386_i386_set_ldt=no
6412 rm -f core conftest.err conftest.$ac_objext \
6413 conftest$ac_exeext conftest.$ac_ext
6414 LIBS=$ac_check_lib_save_LIBS
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6417 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6418 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6419 cat >>confdefs.h <<_ACEOF
6420 #define HAVE_LIBI386 1
6421 _ACEOF
6423 LIBS="-li386 $LIBS"
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6428 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6429 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6430 $as_echo_n "(cached) " >&6
6431 else
6432 ac_check_lib_save_LIBS=$LIBS
6433 LIBS="-lossaudio $LIBS"
6434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6435 /* end confdefs.h. */
6437 /* Override any GCC internal prototype to avoid an error.
6438 Use char because int might match the return type of a GCC
6439 builtin and then its argument prototype would still apply. */
6440 #ifdef __cplusplus
6441 extern "C"
6442 #endif
6443 char _oss_ioctl ();
6445 main ()
6447 return _oss_ioctl ();
6449 return 0;
6451 _ACEOF
6452 if ac_fn_c_try_link "$LINENO"; then :
6453 ac_cv_lib_ossaudio__oss_ioctl=yes
6454 else
6455 ac_cv_lib_ossaudio__oss_ioctl=no
6457 rm -f core conftest.err conftest.$ac_objext \
6458 conftest$ac_exeext conftest.$ac_ext
6459 LIBS=$ac_check_lib_save_LIBS
6461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6462 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6463 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6464 cat >>confdefs.h <<_ACEOF
6465 #define HAVE_LIBOSSAUDIO 1
6466 _ACEOF
6468 LIBS="-lossaudio $LIBS"
6473 OPENGL_LIBS=""
6477 # Check whether --enable-largefile was given.
6478 if test "${enable_largefile+set}" = set; then :
6479 enableval=$enable_largefile;
6482 if test "$enable_largefile" != no; then
6484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6485 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6486 if ${ac_cv_sys_largefile_CC+:} false; then :
6487 $as_echo_n "(cached) " >&6
6488 else
6489 ac_cv_sys_largefile_CC=no
6490 if test "$GCC" != yes; then
6491 ac_save_CC=$CC
6492 while :; do
6493 # IRIX 6.2 and later do not support large files by default,
6494 # so use the C compiler's -n32 option if that helps.
6495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6496 /* end confdefs.h. */
6497 #include <sys/types.h>
6498 /* Check that off_t can represent 2**63 - 1 correctly.
6499 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6500 since some C++ compilers masquerading as C compilers
6501 incorrectly reject 9223372036854775807. */
6502 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6503 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6504 && LARGE_OFF_T % 2147483647 == 1)
6505 ? 1 : -1];
6507 main ()
6511 return 0;
6513 _ACEOF
6514 if ac_fn_c_try_compile "$LINENO"; then :
6515 break
6517 rm -f core conftest.err conftest.$ac_objext
6518 CC="$CC -n32"
6519 if ac_fn_c_try_compile "$LINENO"; then :
6520 ac_cv_sys_largefile_CC=' -n32'; break
6522 rm -f core conftest.err conftest.$ac_objext
6523 break
6524 done
6525 CC=$ac_save_CC
6526 rm -f conftest.$ac_ext
6529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6530 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6531 if test "$ac_cv_sys_largefile_CC" != no; then
6532 CC=$CC$ac_cv_sys_largefile_CC
6535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6536 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6537 if ${ac_cv_sys_file_offset_bits+:} false; then :
6538 $as_echo_n "(cached) " >&6
6539 else
6540 while :; do
6541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6542 /* end confdefs.h. */
6543 #include <sys/types.h>
6544 /* Check that off_t can represent 2**63 - 1 correctly.
6545 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6546 since some C++ compilers masquerading as C compilers
6547 incorrectly reject 9223372036854775807. */
6548 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6549 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6550 && LARGE_OFF_T % 2147483647 == 1)
6551 ? 1 : -1];
6553 main ()
6557 return 0;
6559 _ACEOF
6560 if ac_fn_c_try_compile "$LINENO"; then :
6561 ac_cv_sys_file_offset_bits=no; break
6563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6565 /* end confdefs.h. */
6566 #define _FILE_OFFSET_BITS 64
6567 #include <sys/types.h>
6568 /* Check that off_t can represent 2**63 - 1 correctly.
6569 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6570 since some C++ compilers masquerading as C compilers
6571 incorrectly reject 9223372036854775807. */
6572 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6573 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6574 && LARGE_OFF_T % 2147483647 == 1)
6575 ? 1 : -1];
6577 main ()
6581 return 0;
6583 _ACEOF
6584 if ac_fn_c_try_compile "$LINENO"; then :
6585 ac_cv_sys_file_offset_bits=64; break
6587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6588 ac_cv_sys_file_offset_bits=unknown
6589 break
6590 done
6592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6593 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6594 case $ac_cv_sys_file_offset_bits in #(
6595 no | unknown) ;;
6597 cat >>confdefs.h <<_ACEOF
6598 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6599 _ACEOF
6601 esac
6602 rm -rf conftest*
6603 if test $ac_cv_sys_file_offset_bits = unknown; then
6604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6605 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6606 if ${ac_cv_sys_large_files+:} false; then :
6607 $as_echo_n "(cached) " >&6
6608 else
6609 while :; do
6610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6611 /* end confdefs.h. */
6612 #include <sys/types.h>
6613 /* Check that off_t can represent 2**63 - 1 correctly.
6614 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6615 since some C++ compilers masquerading as C compilers
6616 incorrectly reject 9223372036854775807. */
6617 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6618 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6619 && LARGE_OFF_T % 2147483647 == 1)
6620 ? 1 : -1];
6622 main ()
6626 return 0;
6628 _ACEOF
6629 if ac_fn_c_try_compile "$LINENO"; then :
6630 ac_cv_sys_large_files=no; break
6632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6634 /* end confdefs.h. */
6635 #define _LARGE_FILES 1
6636 #include <sys/types.h>
6637 /* Check that off_t can represent 2**63 - 1 correctly.
6638 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6639 since some C++ compilers masquerading as C compilers
6640 incorrectly reject 9223372036854775807. */
6641 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6642 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6643 && LARGE_OFF_T % 2147483647 == 1)
6644 ? 1 : -1];
6646 main ()
6650 return 0;
6652 _ACEOF
6653 if ac_fn_c_try_compile "$LINENO"; then :
6654 ac_cv_sys_large_files=1; break
6656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6657 ac_cv_sys_large_files=unknown
6658 break
6659 done
6661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6662 $as_echo "$ac_cv_sys_large_files" >&6; }
6663 case $ac_cv_sys_large_files in #(
6664 no | unknown) ;;
6666 cat >>confdefs.h <<_ACEOF
6667 #define _LARGE_FILES $ac_cv_sys_large_files
6668 _ACEOF
6670 esac
6671 rm -rf conftest*
6678 ac_ext=c
6679 ac_cpp='$CPP $CPPFLAGS'
6680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6684 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6685 # On Suns, sometimes $CPP names a directory.
6686 if test -n "$CPP" && test -d "$CPP"; then
6687 CPP=
6689 if test -z "$CPP"; then
6690 if ${ac_cv_prog_CPP+:} false; then :
6691 $as_echo_n "(cached) " >&6
6692 else
6693 # Double quotes because CPP needs to be expanded
6694 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6696 ac_preproc_ok=false
6697 for ac_c_preproc_warn_flag in '' yes
6699 # Use a header file that comes with gcc, so configuring glibc
6700 # with a fresh cross-compiler works.
6701 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6702 # <limits.h> exists even on freestanding compilers.
6703 # On the NeXT, cc -E runs the code through the compiler's parser,
6704 # not just through cpp. "Syntax error" is here to catch this case.
6705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6706 /* end confdefs.h. */
6707 #ifdef __STDC__
6708 # include <limits.h>
6709 #else
6710 # include <assert.h>
6711 #endif
6712 Syntax error
6713 _ACEOF
6714 if ac_fn_c_try_cpp "$LINENO"; then :
6716 else
6717 # Broken: fails on valid input.
6718 continue
6720 rm -f conftest.err conftest.i conftest.$ac_ext
6722 # OK, works on sane cases. Now check whether nonexistent headers
6723 # can be detected and how.
6724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6725 /* end confdefs.h. */
6726 #include <ac_nonexistent.h>
6727 _ACEOF
6728 if ac_fn_c_try_cpp "$LINENO"; then :
6729 # Broken: success on invalid input.
6730 continue
6731 else
6732 # Passes both tests.
6733 ac_preproc_ok=:
6734 break
6736 rm -f conftest.err conftest.i conftest.$ac_ext
6738 done
6739 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6740 rm -f conftest.i conftest.err conftest.$ac_ext
6741 if $ac_preproc_ok; then :
6742 break
6745 done
6746 ac_cv_prog_CPP=$CPP
6749 CPP=$ac_cv_prog_CPP
6750 else
6751 ac_cv_prog_CPP=$CPP
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6754 $as_echo "$CPP" >&6; }
6755 ac_preproc_ok=false
6756 for ac_c_preproc_warn_flag in '' yes
6758 # Use a header file that comes with gcc, so configuring glibc
6759 # with a fresh cross-compiler works.
6760 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6761 # <limits.h> exists even on freestanding compilers.
6762 # On the NeXT, cc -E runs the code through the compiler's parser,
6763 # not just through cpp. "Syntax error" is here to catch this case.
6764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6765 /* end confdefs.h. */
6766 #ifdef __STDC__
6767 # include <limits.h>
6768 #else
6769 # include <assert.h>
6770 #endif
6771 Syntax error
6772 _ACEOF
6773 if ac_fn_c_try_cpp "$LINENO"; then :
6775 else
6776 # Broken: fails on valid input.
6777 continue
6779 rm -f conftest.err conftest.i conftest.$ac_ext
6781 # OK, works on sane cases. Now check whether nonexistent headers
6782 # can be detected and how.
6783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6784 /* end confdefs.h. */
6785 #include <ac_nonexistent.h>
6786 _ACEOF
6787 if ac_fn_c_try_cpp "$LINENO"; then :
6788 # Broken: success on invalid input.
6789 continue
6790 else
6791 # Passes both tests.
6792 ac_preproc_ok=:
6793 break
6795 rm -f conftest.err conftest.i conftest.$ac_ext
6797 done
6798 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6799 rm -f conftest.i conftest.err conftest.$ac_ext
6800 if $ac_preproc_ok; then :
6802 else
6803 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6804 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6805 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6806 See \`config.log' for more details" "$LINENO" 5; }
6809 ac_ext=c
6810 ac_cpp='$CPP $CPPFLAGS'
6811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6817 $as_echo_n "checking for ANSI C header files... " >&6; }
6818 if ${ac_cv_header_stdc+:} false; then :
6819 $as_echo_n "(cached) " >&6
6820 else
6821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6822 /* end confdefs.h. */
6823 #include <stdlib.h>
6824 #include <stdarg.h>
6825 #include <string.h>
6826 #include <float.h>
6829 main ()
6833 return 0;
6835 _ACEOF
6836 if ac_fn_c_try_compile "$LINENO"; then :
6837 ac_cv_header_stdc=yes
6838 else
6839 ac_cv_header_stdc=no
6841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6843 if test $ac_cv_header_stdc = yes; then
6844 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6846 /* end confdefs.h. */
6847 #include <string.h>
6849 _ACEOF
6850 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6851 $EGREP "memchr" >/dev/null 2>&1; then :
6853 else
6854 ac_cv_header_stdc=no
6856 rm -f conftest*
6860 if test $ac_cv_header_stdc = yes; then
6861 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6863 /* end confdefs.h. */
6864 #include <stdlib.h>
6866 _ACEOF
6867 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6868 $EGREP "free" >/dev/null 2>&1; then :
6870 else
6871 ac_cv_header_stdc=no
6873 rm -f conftest*
6877 if test $ac_cv_header_stdc = yes; then
6878 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6879 if test "$cross_compiling" = yes; then :
6881 else
6882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6883 /* end confdefs.h. */
6884 #include <ctype.h>
6885 #include <stdlib.h>
6886 #if ((' ' & 0x0FF) == 0x020)
6887 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6888 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6889 #else
6890 # define ISLOWER(c) \
6891 (('a' <= (c) && (c) <= 'i') \
6892 || ('j' <= (c) && (c) <= 'r') \
6893 || ('s' <= (c) && (c) <= 'z'))
6894 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6895 #endif
6897 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6899 main ()
6901 int i;
6902 for (i = 0; i < 256; i++)
6903 if (XOR (islower (i), ISLOWER (i))
6904 || toupper (i) != TOUPPER (i))
6905 return 2;
6906 return 0;
6908 _ACEOF
6909 if ac_fn_c_try_run "$LINENO"; then :
6911 else
6912 ac_cv_header_stdc=no
6914 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6915 conftest.$ac_objext conftest.beam conftest.$ac_ext
6920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6921 $as_echo "$ac_cv_header_stdc" >&6; }
6922 if test $ac_cv_header_stdc = yes; then
6924 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6928 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6929 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6930 inttypes.h stdint.h unistd.h
6931 do :
6932 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6933 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6935 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6936 cat >>confdefs.h <<_ACEOF
6937 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6938 _ACEOF
6942 done
6945 for ac_header in \
6946 AL/al.h \
6947 ApplicationServices/ApplicationServices.h \
6948 AudioToolbox/AudioConverter.h \
6949 AudioUnit/AudioUnit.h \
6950 AudioUnit/AudioComponent.h \
6951 CL/cl.h \
6952 Carbon/Carbon.h \
6953 CommonCrypto/CommonCryptor.h \
6954 CoreAudio/CoreAudio.h \
6955 CoreServices/CoreServices.h \
6956 DiskArbitration/DiskArbitration.h \
6957 EGL/egl.h \
6958 IOKit/IOKitLib.h \
6959 IOKit/hid/IOHIDLib.h \
6960 OpenAL/al.h \
6961 OpenCL/opencl.h \
6962 QuickTime/ImageCompression.h \
6963 Security/Security.h \
6964 alias.h \
6965 alsa/asoundlib.h \
6966 arpa/inet.h \
6967 arpa/nameser.h \
6968 asm/types.h \
6969 asm/user.h \
6970 curses.h \
6971 direct.h \
6972 dirent.h \
6973 dlfcn.h \
6974 elf.h \
6975 float.h \
6976 fnmatch.h \
6977 getopt.h \
6978 gettext-po.h \
6979 grp.h \
6980 gsm.h \
6981 gsm/gsm.h \
6982 ieeefp.h \
6983 inet/mib2.h \
6984 io.h \
6985 kstat.h \
6986 libproc.h \
6987 link.h \
6988 linux/cdrom.h \
6989 linux/compiler.h \
6990 linux/filter.h \
6991 linux/hdreg.h \
6992 linux/hidraw.h \
6993 linux/input.h \
6994 linux/ioctl.h \
6995 linux/joystick.h \
6996 linux/major.h \
6997 linux/param.h \
6998 linux/serial.h \
6999 linux/types.h \
7000 linux/ucdrom.h \
7001 lwp.h \
7002 mach-o/nlist.h \
7003 mach-o/loader.h \
7004 mach/mach.h \
7005 mach/machine.h \
7006 machine/cpu.h \
7007 machine/limits.h \
7008 machine/sysarch.h \
7009 mntent.h \
7010 ncurses.h \
7011 netdb.h \
7012 netinet/in.h \
7013 netinet/in_systm.h \
7014 netinet/tcp.h \
7015 netinet/tcp_fsm.h \
7016 pcap/pcap.h \
7017 poll.h \
7018 port.h \
7019 process.h \
7020 pthread.h \
7021 pwd.h \
7022 sched.h \
7023 scsi/scsi.h \
7024 scsi/scsi_ioctl.h \
7025 scsi/sg.h \
7026 stdbool.h \
7027 stdint.h \
7028 stropts.h \
7029 sys/asoundlib.h \
7030 sys/attr.h \
7031 sys/auxv.h \
7032 sys/cdio.h \
7033 sys/elf32.h \
7034 sys/epoll.h \
7035 sys/event.h \
7036 sys/exec_elf.h \
7037 sys/filio.h \
7038 sys/inotify.h \
7039 sys/ioctl.h \
7040 sys/ipc.h \
7041 sys/limits.h \
7042 sys/link.h \
7043 sys/mman.h \
7044 sys/modem.h \
7045 sys/msg.h \
7046 sys/mtio.h \
7047 sys/param.h \
7048 sys/poll.h \
7049 sys/prctl.h \
7050 sys/protosw.h \
7051 sys/ptrace.h \
7052 sys/queue.h \
7053 sys/resource.h \
7054 sys/scsiio.h \
7055 sys/shm.h \
7056 sys/signal.h \
7057 sys/socket.h \
7058 sys/socketvar.h \
7059 sys/sockio.h \
7060 sys/statvfs.h \
7061 sys/strtio.h \
7062 sys/syscall.h \
7063 sys/sysinfo.h \
7064 sys/tihdr.h \
7065 sys/time.h \
7066 sys/timeout.h \
7067 sys/times.h \
7068 sys/uio.h \
7069 sys/user.h \
7070 sys/utsname.h \
7071 sys/vm86.h \
7072 sys/vnode.h \
7073 sys/wait.h \
7074 syscall.h \
7075 termios.h \
7076 unistd.h \
7077 utime.h \
7078 valgrind/memcheck.h \
7079 valgrind/valgrind.h \
7080 zlib.h
7082 do :
7083 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7084 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7085 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7086 cat >>confdefs.h <<_ACEOF
7087 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7088 _ACEOF
7092 done
7094 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7095 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7097 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7102 if test $ac_cv_header_sys_mkdev_h = no; then
7103 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7104 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7106 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7113 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7114 if ${ac_cv_header_stat_broken+:} false; then :
7115 $as_echo_n "(cached) " >&6
7116 else
7117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7118 /* end confdefs.h. */
7119 #include <sys/types.h>
7120 #include <sys/stat.h>
7122 #if defined S_ISBLK && defined S_IFDIR
7123 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7124 #endif
7126 #if defined S_ISBLK && defined S_IFCHR
7127 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7128 #endif
7130 #if defined S_ISLNK && defined S_IFREG
7131 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7132 #endif
7134 #if defined S_ISSOCK && defined S_IFREG
7135 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7136 #endif
7138 _ACEOF
7139 if ac_fn_c_try_compile "$LINENO"; then :
7140 ac_cv_header_stat_broken=no
7141 else
7142 ac_cv_header_stat_broken=yes
7144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7147 $as_echo "$ac_cv_header_stat_broken" >&6; }
7148 if test $ac_cv_header_stat_broken = yes; then
7150 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7156 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7157 do :
7158 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7159 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7160 #ifdef HAVE_SYS_PARAM_H
7161 # include <sys/param.h>
7162 #endif
7164 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7165 cat >>confdefs.h <<_ACEOF
7166 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7167 _ACEOF
7171 done
7174 for ac_header in \
7175 netinet/ip.h \
7176 net/if.h \
7177 net/if_arp.h \
7178 net/if_dl.h \
7179 net/if_types.h \
7180 net/route.h \
7181 netinet/if_ether.h \
7182 netinet/if_inarp.h \
7183 netinet/in_pcb.h \
7184 netinet/ip_icmp.h \
7185 netinet/ip_var.h \
7186 netinet/udp.h \
7187 netipx/ipx.h \
7188 sys/un.h \
7190 do :
7191 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7192 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7193 #ifdef HAVE_SYS_SOCKET_H
7194 # include <sys/socket.h>
7195 #endif
7196 #ifdef HAVE_SYS_SOCKETVAR_H
7197 # include <sys/socketvar.h>
7198 #endif
7199 #ifdef HAVE_NET_ROUTE_H
7200 # include <net/route.h>
7201 #endif
7202 #ifdef HAVE_NETINET_IN_H
7203 # include <netinet/in.h>
7204 #endif
7205 #ifdef HAVE_NETINET_IN_SYSTM_H
7206 # include <netinet/in_systm.h>
7207 #endif
7208 #ifdef HAVE_NET_IF_H
7209 # include <net/if.h>
7210 #endif
7211 #ifdef HAVE_NETINET_IP_H
7212 # include <netinet/ip.h>
7213 #endif
7215 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7216 cat >>confdefs.h <<_ACEOF
7217 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7218 _ACEOF
7222 done
7225 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7226 do :
7227 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7228 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7229 #ifdef HAVE_ALIAS_H
7230 # include <alias.h>
7231 #endif
7232 #ifdef HAVE_SYS_SOCKET_H
7233 # include <sys/socket.h>
7234 #endif
7235 #ifdef HAVE_SYS_SOCKETVAR_H
7236 # include <sys/socketvar.h>
7237 #endif
7238 #ifdef HAVE_SYS_TIMEOUT_H
7239 # include <sys/timeout.h>
7240 #endif
7241 #ifdef HAVE_NETINET_IN_H
7242 # include <netinet/in.h>
7243 #endif
7244 #ifdef HAVE_NETINET_IN_SYSTM_H
7245 # include <netinet/in_systm.h>
7246 #endif
7247 #ifdef HAVE_NETINET_IP_H
7248 # include <netinet/ip.h>
7249 #endif
7250 #ifdef HAVE_NETINET_IP_VAR_H
7251 # include <netinet/ip_var.h>
7252 #endif
7253 #ifdef HAVE_NETINET_IP_ICMP_H
7254 # include <netinet/ip_icmp.h>
7255 #endif
7256 #ifdef HAVE_NETINET_UDP_H
7257 # include <netinet/udp.h>
7258 #endif
7259 #ifdef HAVE_NETINET_TCP_H
7260 # include <netinet/tcp.h>
7261 #endif
7262 #ifdef HAVE_NETINET_TCP_TIMER_H
7263 #include <netinet/tcp_timer.h>
7264 #endif
7266 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7267 cat >>confdefs.h <<_ACEOF
7268 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7269 _ACEOF
7273 done
7276 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7277 do :
7278 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7279 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7280 #ifdef HAVE_ASM_TYPES_H
7281 # include <asm/types.h>
7282 #endif
7283 #ifdef HAVE_SYS_SOCKET_H
7284 # include <sys/socket.h>
7285 #endif
7286 #ifdef HAVE_LINUX_TYPES_H
7287 # include <linux/types.h>
7288 #endif
7290 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7291 cat >>confdefs.h <<_ACEOF
7292 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7293 _ACEOF
7297 done
7300 for ac_header in mach-o/dyld_images.h
7301 do :
7302 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7303 # include <stdbool.h>
7304 #endif
7305 #ifdef HAVE_STDINT_H
7306 # include <stdint.h>
7307 #endif
7309 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7310 cat >>confdefs.h <<_ACEOF
7311 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7312 _ACEOF
7316 done
7319 for ac_header in resolv.h
7320 do :
7321 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7322 #ifdef HAVE_SYS_SOCKET_H
7323 # include <sys/socket.h>
7324 #endif
7325 #ifdef HAVE_NETINET_IN_H
7326 # include <netinet/in.h>
7327 #endif
7328 #ifdef HAVE_ARPA_NAMESER_H
7329 # include <arpa/nameser.h>
7330 #endif
7332 if test "x$ac_cv_header_resolv_h" = xyes; then :
7333 cat >>confdefs.h <<_ACEOF
7334 #define HAVE_RESOLV_H 1
7335 _ACEOF
7339 done
7342 for ac_header in ifaddrs.h
7343 do :
7344 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7346 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7347 cat >>confdefs.h <<_ACEOF
7348 #define HAVE_IFADDRS_H 1
7349 _ACEOF
7353 done
7356 for ac_header in sys/ucontext.h
7357 do :
7358 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7360 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7361 cat >>confdefs.h <<_ACEOF
7362 #define HAVE_SYS_UCONTEXT_H 1
7363 _ACEOF
7367 done
7370 for ac_header in sys/thr.h
7371 do :
7372 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7373 #ifdef HAVE_SYS_UCONTEXT_H
7374 #include <sys/ucontext.h>
7375 #endif
7377 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7378 cat >>confdefs.h <<_ACEOF
7379 #define HAVE_SYS_THR_H 1
7380 _ACEOF
7384 done
7387 for ac_header in pthread_np.h
7388 do :
7389 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7390 #include <pthread.h>
7391 #endif
7393 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7394 cat >>confdefs.h <<_ACEOF
7395 #define HAVE_PTHREAD_NP_H 1
7396 _ACEOF
7400 done
7403 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7404 do :
7405 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7406 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7407 #include <sys/time.h>
7408 #endif
7409 #include <sys/types.h>
7410 #ifdef HAVE_ASM_TYPES_H
7411 #include <asm/types.h>
7412 #endif
7414 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7415 cat >>confdefs.h <<_ACEOF
7416 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7417 _ACEOF
7421 done
7424 for ac_header in libprocstat.h
7425 do :
7426 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7427 #include <sys/param.h>
7428 #endif
7429 #ifdef HAVE_SYS_QUEUE_H
7430 #include <sys/queue.h>
7431 #endif
7432 #ifdef HAVE_SYS_SOCKET_H
7433 #include <sys/socket.h>
7434 #endif
7436 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7437 cat >>confdefs.h <<_ACEOF
7438 #define HAVE_LIBPROCSTAT_H 1
7439 _ACEOF
7443 done
7447 dlldir="\${libdir}/wine"
7449 DLLFLAGS="-D_REENTRANT"
7451 LDRPATH_INSTALL=""
7453 LDRPATH_LOCAL=""
7455 LDEXECFLAGS=""
7457 WINELOADER_LDFLAGS=""
7459 LIBEXT="so"
7460 DLLEXT=".so"
7461 IMPLIBEXT="def"
7462 # Extract the first word of "ldd", so it can be a program name with args.
7463 set dummy ldd; ac_word=$2
7464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7465 $as_echo_n "checking for $ac_word... " >&6; }
7466 if ${ac_cv_path_LDD+:} false; then :
7467 $as_echo_n "(cached) " >&6
7468 else
7469 case $LDD in
7470 [\\/]* | ?:[\\/]*)
7471 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7475 as_dummy="/sbin:/usr/sbin:$PATH"
7476 for as_dir in $as_dummy
7478 IFS=$as_save_IFS
7479 test -z "$as_dir" && as_dir=.
7480 for ac_exec_ext in '' $ac_executable_extensions; do
7481 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7482 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7484 break 2
7486 done
7487 done
7488 IFS=$as_save_IFS
7490 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7492 esac
7494 LDD=$ac_cv_path_LDD
7495 if test -n "$LDD"; then
7496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7497 $as_echo "$LDD" >&6; }
7498 else
7499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7500 $as_echo "no" >&6; }
7504 if test -n "$ac_tool_prefix"; then
7505 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7506 set dummy ${ac_tool_prefix}otool; ac_word=$2
7507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7508 $as_echo_n "checking for $ac_word... " >&6; }
7509 if ${ac_cv_prog_OTOOL+:} false; then :
7510 $as_echo_n "(cached) " >&6
7511 else
7512 if test -n "$OTOOL"; then
7513 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7514 else
7515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7516 for as_dir in $PATH
7518 IFS=$as_save_IFS
7519 test -z "$as_dir" && as_dir=.
7520 for ac_exec_ext in '' $ac_executable_extensions; do
7521 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7522 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7524 break 2
7526 done
7527 done
7528 IFS=$as_save_IFS
7532 OTOOL=$ac_cv_prog_OTOOL
7533 if test -n "$OTOOL"; then
7534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7535 $as_echo "$OTOOL" >&6; }
7536 else
7537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7538 $as_echo "no" >&6; }
7543 if test -z "$ac_cv_prog_OTOOL"; then
7544 ac_ct_OTOOL=$OTOOL
7545 # Extract the first word of "otool", so it can be a program name with args.
7546 set dummy otool; ac_word=$2
7547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7548 $as_echo_n "checking for $ac_word... " >&6; }
7549 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7550 $as_echo_n "(cached) " >&6
7551 else
7552 if test -n "$ac_ct_OTOOL"; then
7553 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7554 else
7555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7556 for as_dir in $PATH
7558 IFS=$as_save_IFS
7559 test -z "$as_dir" && as_dir=.
7560 for ac_exec_ext in '' $ac_executable_extensions; do
7561 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7562 ac_cv_prog_ac_ct_OTOOL="otool"
7563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7564 break 2
7566 done
7567 done
7568 IFS=$as_save_IFS
7572 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7573 if test -n "$ac_ct_OTOOL"; then
7574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7575 $as_echo "$ac_ct_OTOOL" >&6; }
7576 else
7577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7578 $as_echo "no" >&6; }
7581 if test "x$ac_ct_OTOOL" = x; then
7582 OTOOL="otool"
7583 else
7584 case $cross_compiling:$ac_tool_warned in
7585 yes:)
7586 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7587 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7588 ac_tool_warned=yes ;;
7589 esac
7590 OTOOL=$ac_ct_OTOOL
7592 else
7593 OTOOL="$ac_cv_prog_OTOOL"
7596 if test -n "$ac_tool_prefix"; then
7597 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7598 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7600 $as_echo_n "checking for $ac_word... " >&6; }
7601 if ${ac_cv_prog_READELF+:} false; then :
7602 $as_echo_n "(cached) " >&6
7603 else
7604 if test -n "$READELF"; then
7605 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7606 else
7607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7608 for as_dir in $PATH
7610 IFS=$as_save_IFS
7611 test -z "$as_dir" && as_dir=.
7612 for ac_exec_ext in '' $ac_executable_extensions; do
7613 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7614 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7616 break 2
7618 done
7619 done
7620 IFS=$as_save_IFS
7624 READELF=$ac_cv_prog_READELF
7625 if test -n "$READELF"; then
7626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7627 $as_echo "$READELF" >&6; }
7628 else
7629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7630 $as_echo "no" >&6; }
7635 if test -z "$ac_cv_prog_READELF"; then
7636 ac_ct_READELF=$READELF
7637 # Extract the first word of "readelf", so it can be a program name with args.
7638 set dummy readelf; ac_word=$2
7639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7640 $as_echo_n "checking for $ac_word... " >&6; }
7641 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7642 $as_echo_n "(cached) " >&6
7643 else
7644 if test -n "$ac_ct_READELF"; then
7645 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7646 else
7647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7648 for as_dir in $PATH
7650 IFS=$as_save_IFS
7651 test -z "$as_dir" && as_dir=.
7652 for ac_exec_ext in '' $ac_executable_extensions; do
7653 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7654 ac_cv_prog_ac_ct_READELF="readelf"
7655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7656 break 2
7658 done
7659 done
7660 IFS=$as_save_IFS
7664 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7665 if test -n "$ac_ct_READELF"; then
7666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7667 $as_echo "$ac_ct_READELF" >&6; }
7668 else
7669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7670 $as_echo "no" >&6; }
7673 if test "x$ac_ct_READELF" = x; then
7674 READELF="true"
7675 else
7676 case $cross_compiling:$ac_tool_warned in
7677 yes:)
7678 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7679 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7680 ac_tool_warned=yes ;;
7681 esac
7682 READELF=$ac_ct_READELF
7684 else
7685 READELF="$ac_cv_prog_READELF"
7688 wine_rules_file=conf$$rules.make
7689 rm -f $wine_rules_file
7690 SUBDIRS=""
7692 DISABLED_SUBDIRS=""
7694 CONFIGURE_TARGETS=""
7696 ALL_TEST_RESOURCES=""
7699 wine_fn_append_file ()
7701 as_fn_append $1 " \\$as_nl $2"
7704 wine_fn_append_rule ()
7706 $as_echo "$1" >>$wine_rules_file
7709 wine_fn_has_flag ()
7711 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7714 wine_fn_all_rules ()
7716 wine_fn_append_file SUBDIRS $ac_dir
7717 wine_fn_append_rule \
7718 "all: $ac_dir
7719 .PHONY: $ac_dir
7720 $ac_dir: dummy
7721 @cd $ac_dir && \$(MAKE)"
7724 wine_fn_install_rules ()
7726 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7728 wine_fn_append_rule \
7729 ".PHONY: $ac_dir/install $ac_dir/uninstall
7730 $ac_dir/install:: $ac_dir
7731 @cd $ac_dir && \$(MAKE) install
7732 $ac_dir/uninstall::
7733 @cd $ac_dir && \$(MAKE) uninstall
7734 install:: $ac_dir/install
7735 __uninstall__: $ac_dir/uninstall"
7737 if wine_fn_has_flag install-lib
7738 then
7739 wine_fn_append_rule \
7740 ".PHONY: $ac_dir/install-lib
7741 $ac_dir/install-lib:: $ac_dir
7742 @cd $ac_dir && \$(MAKE) install-lib
7743 install-lib:: $ac_dir/install-lib"
7746 if wine_fn_has_flag install-dev
7747 then
7748 wine_fn_append_rule \
7749 ".PHONY: $ac_dir/install-dev
7750 $ac_dir/install-dev:: $ac_dir
7751 @cd $ac_dir && \$(MAKE) install-dev
7752 install-dev:: $ac_dir/install-dev"
7756 wine_fn_clean_rules ()
7758 ac_clean=$@
7760 if wine_fn_has_flag clean
7761 then
7762 wine_fn_append_rule \
7763 "$ac_dir/clean: dummy
7764 @cd $ac_dir && \$(MAKE) clean"
7765 else
7766 wine_fn_append_rule \
7767 "$ac_dir/clean: dummy
7768 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7770 wine_fn_append_rule \
7771 "__clean__: $ac_dir/clean
7772 .PHONY: $ac_dir/clean"
7775 wine_fn_disabled_rules ()
7777 ac_clean=$@
7779 wine_fn_append_file SUBDIRS $ac_dir
7780 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7781 wine_fn_append_rule \
7782 "__clean__: $ac_dir/clean
7783 .PHONY: $ac_dir/clean
7784 $ac_dir/clean: dummy
7785 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7788 wine_fn_config_makefile ()
7790 ac_dir=$1
7791 ac_enable=$2
7792 ac_flags=$3
7794 case $ac_dir in
7795 fonts|server) test -z "$with_wine64" || return ;;
7796 esac
7797 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7798 wine_fn_disabled_rules; return
7800 wine_fn_all_rules
7801 wine_fn_install_rules
7802 wine_fn_clean_rules
7805 wine_fn_config_lib ()
7807 ac_name=$1
7808 ac_flags=$2
7809 ac_dir=dlls/$ac_name
7810 ac_deps="include"
7812 if test "x$enable_tools" = xno; then :
7814 else
7815 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7817 wine_fn_all_rules
7818 wine_fn_clean_rules
7820 wine_fn_append_rule \
7821 ".PHONY: $ac_dir/install $ac_dir/uninstall
7822 $ac_dir/install:: $ac_dir
7823 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7824 $ac_dir/uninstall::
7825 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7826 install install-dev:: $ac_dir/install
7827 __uninstall__: $ac_dir/uninstall
7828 __builddeps__: $ac_dir
7829 $ac_dir: $ac_deps"
7832 wine_fn_config_dll ()
7834 ac_name=$1
7835 ac_dir=dlls/$ac_name
7836 ac_enable=$2
7837 ac_flags=$3
7838 ac_implib=${4:-$ac_name}
7839 ac_file=$ac_dir/lib$ac_implib
7840 ac_dll=$ac_name
7841 ac_deps="include"
7842 ac_implibflags=""
7844 if test "x$enable_tools" = xno; then :
7846 else
7847 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7849 case $ac_name in
7850 *.*16) ac_implibflags=" -m16" ;;
7851 *.*) ;;
7852 *) ac_dll=$ac_dll.dll ;;
7853 esac
7855 ac_clean=
7856 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7857 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7859 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7860 if test "$ac_enable" != enable_win16
7861 then
7862 wine_fn_clean_rules $ac_clean
7863 wine_fn_append_file SUBDIRS $ac_dir
7864 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7865 else
7866 wine_fn_disabled_rules $ac_clean
7867 return
7869 else
7870 wine_fn_all_rules
7871 wine_fn_clean_rules $ac_clean
7872 wine_fn_append_rule \
7873 "$ac_dir: __builddeps__
7874 manpages htmlpages sgmlpages xmlpages::
7875 @cd $ac_dir && \$(MAKE) \$@
7876 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7877 install install-lib:: $ac_dir/install-lib
7878 __uninstall__: $ac_dir/uninstall"
7879 if test -n "$DLLEXT"
7880 then
7881 wine_fn_append_rule \
7882 "$ac_dir/install-lib:: $ac_dir
7883 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7884 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7885 $ac_dir/uninstall::
7886 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7887 else
7888 wine_fn_append_rule \
7889 "$ac_dir/install-lib:: $ac_dir
7890 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7891 $ac_dir/uninstall::
7892 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7896 if wine_fn_has_flag staticimplib
7897 then
7898 wine_fn_append_rule \
7899 "__builddeps__: $ac_file.a
7900 $ac_file.a $ac_file.cross.a: $ac_deps
7901 $ac_file.a: dummy
7902 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7903 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7904 $ac_dir/install-dev:: $ac_file.a
7905 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7906 $ac_dir/uninstall::
7907 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7908 install install-dev:: $ac_dir/install-dev
7909 __uninstall__: $ac_dir/uninstall"
7911 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7912 then
7913 wine_fn_append_rule \
7914 "__builddeps__: $ac_file.cross.a
7915 $ac_file.cross.a: dummy
7916 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7919 elif wine_fn_has_flag implib
7920 then
7921 wine_fn_append_rule \
7922 "__builddeps__: $ac_file.$IMPLIBEXT
7923 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7924 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7925 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7926 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7927 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7928 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7929 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7930 $ac_dir/uninstall::
7931 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7932 install install-dev:: $ac_dir/install-dev
7933 __uninstall__: $ac_dir/uninstall"
7934 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7935 then
7936 wine_fn_append_rule \
7937 "__builddeps__: $ac_file.cross.a
7938 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7939 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7944 wine_fn_config_program ()
7946 ac_name=$1
7947 ac_dir=programs/$ac_name
7948 ac_enable=$2
7949 ac_flags=$3
7950 ac_program=$ac_name
7952 case $ac_name in
7953 *.*) ;;
7954 *) ac_program=$ac_program.exe ;;
7955 esac
7957 ac_clean=
7958 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7959 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7961 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7962 wine_fn_disabled_rules $ac_clean; return
7965 wine_fn_all_rules
7966 wine_fn_clean_rules $ac_clean
7967 wine_fn_append_rule "$ac_dir: __builddeps__"
7969 wine_fn_has_flag install || return
7970 wine_fn_append_rule \
7971 ".PHONY: $ac_dir/install $ac_dir/uninstall
7972 install install-lib:: $ac_dir/install
7973 __uninstall__: $ac_dir/uninstall"
7975 if test -n "$DLLEXT"
7976 then
7977 wine_fn_append_rule \
7978 "$ac_dir/install:: $ac_dir
7979 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7980 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7981 $ac_dir/uninstall::
7982 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7984 if test -z "$with_wine64" && wine_fn_has_flag installbin
7985 then
7986 wine_fn_append_rule \
7987 "$ac_dir/install:: __tooldeps__
7988 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7989 $ac_dir/uninstall::
7990 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7992 else
7993 wine_fn_append_rule \
7994 "$ac_dir/install:: $ac_dir
7995 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7996 $ac_dir/uninstall::
7997 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
8000 if test -z "$with_wine64" && wine_fn_has_flag manpage
8001 then
8002 wine_fn_append_rule \
8003 "$ac_dir/install:: $ac_dir
8004 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
8005 $ac_dir/uninstall::
8006 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
8010 wine_fn_config_test ()
8012 ac_dir=$1
8013 ac_name=$2
8014 ac_flags=$3
8016 ac_clean=
8017 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
8018 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
8020 if test "x$enable_tests" = xno; then :
8021 wine_fn_disabled_rules $ac_clean; return
8024 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
8025 wine_fn_all_rules
8026 wine_fn_clean_rules $ac_clean
8028 wine_fn_append_rule \
8029 "$ac_dir: __builddeps__
8030 programs/winetest: $ac_dir
8031 check test: $ac_dir/test
8032 .PHONY: $ac_dir/test
8033 $ac_dir/test: dummy
8034 @cd $ac_dir && \$(MAKE) test
8035 testclean::
8036 \$(RM) $ac_dir/*.ok"
8038 if test -n "$CROSSTARGET"
8039 then
8040 wine_fn_append_rule \
8041 "crosstest: $ac_dir/crosstest
8042 .PHONY: $ac_dir/crosstest
8043 $ac_dir/crosstest: __builddeps__ dummy
8044 @cd $ac_dir && \$(MAKE) crosstest"
8048 wine_fn_config_tool ()
8050 ac_dir=$1
8051 ac_flags=$2
8052 if test "x$enable_tools" = xno; then :
8053 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
8056 wine_fn_all_rules
8057 wine_fn_install_rules
8058 wine_fn_clean_rules
8060 wine_fn_append_rule "__tooldeps__: $ac_dir"
8061 wine_fn_append_rule "$ac_dir: libs/port"
8062 case $ac_dir in
8063 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
8064 esac
8067 wine_fn_config_symlink ()
8069 ac_linkdir=
8070 if test "x$1" = "x-d"
8071 then
8072 ac_linkdir=$2
8073 shift; shift
8075 ac_links=$@
8076 wine_fn_append_rule \
8077 "$ac_links:
8078 @./config.status \$@"
8079 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8080 test -n "$ac_linkdir" || return
8081 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
8084 wine_binary="wine"
8085 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8086 WINELOADER_PROGRAMS="$wine_binary"
8088 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8090 case $host_os in
8091 cygwin*|mingw32*)
8092 if test -n "$ac_tool_prefix"; then
8093 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8094 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8096 $as_echo_n "checking for $ac_word... " >&6; }
8097 if ${ac_cv_prog_DLLTOOL+:} false; then :
8098 $as_echo_n "(cached) " >&6
8099 else
8100 if test -n "$DLLTOOL"; then
8101 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8102 else
8103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8104 for as_dir in $PATH
8106 IFS=$as_save_IFS
8107 test -z "$as_dir" && as_dir=.
8108 for ac_exec_ext in '' $ac_executable_extensions; do
8109 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8110 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8112 break 2
8114 done
8115 done
8116 IFS=$as_save_IFS
8120 DLLTOOL=$ac_cv_prog_DLLTOOL
8121 if test -n "$DLLTOOL"; then
8122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8123 $as_echo "$DLLTOOL" >&6; }
8124 else
8125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8126 $as_echo "no" >&6; }
8131 if test -z "$ac_cv_prog_DLLTOOL"; then
8132 ac_ct_DLLTOOL=$DLLTOOL
8133 # Extract the first word of "dlltool", so it can be a program name with args.
8134 set dummy dlltool; ac_word=$2
8135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8136 $as_echo_n "checking for $ac_word... " >&6; }
8137 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8138 $as_echo_n "(cached) " >&6
8139 else
8140 if test -n "$ac_ct_DLLTOOL"; then
8141 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8142 else
8143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8144 for as_dir in $PATH
8146 IFS=$as_save_IFS
8147 test -z "$as_dir" && as_dir=.
8148 for ac_exec_ext in '' $ac_executable_extensions; do
8149 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8150 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8152 break 2
8154 done
8155 done
8156 IFS=$as_save_IFS
8160 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8161 if test -n "$ac_ct_DLLTOOL"; then
8162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8163 $as_echo "$ac_ct_DLLTOOL" >&6; }
8164 else
8165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8166 $as_echo "no" >&6; }
8169 if test "x$ac_ct_DLLTOOL" = x; then
8170 DLLTOOL="false"
8171 else
8172 case $cross_compiling:$ac_tool_warned in
8173 yes:)
8174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8175 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8176 ac_tool_warned=yes ;;
8177 esac
8178 DLLTOOL=$ac_ct_DLLTOOL
8180 else
8181 DLLTOOL="$ac_cv_prog_DLLTOOL"
8184 LIBEXT="dll"
8185 DLLEXT=""
8186 IMPLIBEXT="a"
8187 enable_iphlpapi=${enable_iphlpapi:-no}
8188 enable_kernel32=${enable_kernel32:-no}
8189 enable_msvcrt=${enable_msvcrt:-no}
8190 enable_ntdll=${enable_ntdll:-no}
8191 enable_ws2_32=${enable_ws2_32:-no}
8192 enable_loader=${enable_loader:-no}
8193 enable_server=${enable_server:-no}
8194 with_x=${with_x:-no}
8195 with_pthread=${with_pthread:-no}
8197 crtlibs=""
8198 case $host_os in
8199 mingw32*)
8200 crtlibs="-lmsvcrt"
8201 SOCKET_LIBS="-lws2_32"
8203 esac
8205 LIBWINE_SHAREDLIB="libwine.dll"
8207 LIBWINE_IMPORTLIB="libwine.a"
8209 LIBWINE_INSTALL_LIB="libwine.dll"
8211 LIBWINE_INSTALL_DEV="libwine.a"
8213 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8215 LIBWINE_DEPENDS="wine.def"
8219 darwin*|macosx*)
8220 for ac_header in libunwind.h
8221 do :
8222 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8223 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8224 cat >>confdefs.h <<_ACEOF
8225 #define HAVE_LIBUNWIND_H 1
8226 _ACEOF
8230 done
8232 LIBEXT="dylib"
8233 DLLFLAGS="$DLLFLAGS -fPIC"
8234 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8235 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8236 COREFOUNDATION_LIBS="-framework CoreFoundation"
8238 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8240 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8242 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8244 CORESERVICES_LIBS="-framework CoreServices"
8246 APPKIT_LIBS="-framework AppKit"
8248 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8250 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8251 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8252 $as_echo_n "(cached) " >&6
8253 else
8254 ac_wine_try_cflags_saved=$CFLAGS
8255 CFLAGS="$CFLAGS -Wl,-no_pie"
8256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8257 /* end confdefs.h. */
8258 int main(int argc, char **argv) { return 0; }
8259 _ACEOF
8260 if ac_fn_c_try_link "$LINENO"; then :
8261 ac_cv_cflags__Wl__no_pie=yes
8262 else
8263 ac_cv_cflags__Wl__no_pie=no
8265 rm -f core conftest.err conftest.$ac_objext \
8266 conftest$ac_exeext conftest.$ac_ext
8267 CFLAGS=$ac_wine_try_cflags_saved
8269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8270 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8271 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8272 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
8274 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8275 then
8276 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8279 if test "$ac_cv_header_Security_Security_h" = "yes"
8280 then
8281 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8283 ac_save_LIBS="$LIBS"
8284 LIBS="$LIBS $SECURITY_LIBS"
8285 for ac_func in SSLCopyPeerCertificates
8286 do :
8287 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8288 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8289 cat >>confdefs.h <<_ACEOF
8290 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8291 _ACEOF
8294 done
8296 LIBS="$ac_save_LIBS"
8297 with_gnutls=${with_gnutls:-no}
8299 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8300 then
8301 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8302 then
8303 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8305 else
8306 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8309 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8310 ac_save_LIBS="$LIBS"
8311 LIBS="$LIBS $COREAUDIO_LIBS"
8312 for ac_func in AUGraphAddNode
8313 do :
8314 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8315 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8316 cat >>confdefs.h <<_ACEOF
8317 #define HAVE_AUGRAPHADDNODE 1
8318 _ACEOF
8321 done
8323 LIBS="$ac_save_LIBS"
8325 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8326 then
8327 OPENAL_LIBS="-framework OpenAL"
8330 cat >>confdefs.h <<_ACEOF
8331 #define HAVE_OPENAL 1
8332 _ACEOF
8334 ac_cv_lib_openal=yes
8336 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8337 then
8338 OPENCL_LIBS="-framework OpenCL"
8340 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8342 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8343 then
8344 ac_save_LIBS="$LIBS"
8345 LIBS="$LIBS $IOKIT_LIBS"
8346 for ac_func in IOHIDManagerCreate
8347 do :
8348 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8349 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8350 cat >>confdefs.h <<_ACEOF
8351 #define HAVE_IOHIDMANAGERCREATE 1
8352 _ACEOF
8355 done
8357 LIBS="$ac_save_LIBS"
8359 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8360 then
8361 ac_save_LIBS="$LIBS"
8362 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8364 $as_echo_n "checking for the QuickTime framework... " >&6; }
8365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8366 /* end confdefs.h. */
8367 #include <QuickTime/ImageCompression.h>
8369 main ()
8371 CodecManagerVersion(NULL);
8373 return 0;
8375 _ACEOF
8376 if ac_fn_c_try_link "$LINENO"; then :
8377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8378 $as_echo "yes" >&6; }
8379 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8381 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8382 else
8383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8384 $as_echo "no" >&6; }
8385 ac_cv_header_QuickTime_ImageCompression_h=no
8387 rm -f core conftest.err conftest.$ac_objext \
8388 conftest$ac_exeext conftest.$ac_ext
8389 LIBS="$ac_save_LIBS"
8391 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8392 then
8393 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8395 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8396 then
8397 CARBON_LIBS="-framework Carbon"
8401 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8402 then
8403 ac_save_LIBS="$LIBS"
8404 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8405 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8406 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8407 enable_winemac_drv=${enable_winemac_drv:-yes}
8410 LIBS="$ac_save_LIBS"
8413 if test "x$enable_win16" = "xyes"
8414 then
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8416 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8417 if test "$cross_compiling" = yes; then :
8418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8419 $as_echo "cross-compiling, assuming yes" >&6; }
8420 else
8421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8422 /* end confdefs.h. */
8423 asm(".text\n"
8424 "bad:\tnop;nop\n"
8425 "good:\tnop;nop\n\t"
8426 ".globl _testfunc\n"
8427 "_testfunc:\tcallw good");
8428 extern void testfunc();
8430 main ()
8432 unsigned short *p = (unsigned short *)testfunc;
8433 return p[0] != 0xe866 || p[1] != 0xfffa
8435 return 0;
8437 _ACEOF
8438 if ac_fn_c_try_run "$LINENO"; then :
8439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8440 $as_echo "yes" >&6; }
8441 else
8442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8443 $as_echo "no" >&6; }
8444 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
8446 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8447 conftest.$ac_objext conftest.beam conftest.$ac_ext
8452 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8454 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8456 LIBWINE_INSTALL_DEV="libwine.dylib"
8458 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8460 WINELOADER_DEPENDS="wine_info.plist"
8464 linux-android*)
8465 DLLFLAGS="$DLLFLAGS -fPIC"
8466 LDEXECFLAGS="-Wl,-pie"
8467 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8469 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8470 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8471 $as_echo_n "(cached) " >&6
8472 else
8473 ac_wine_try_cflags_saved=$CFLAGS
8474 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8476 /* end confdefs.h. */
8477 int main(int argc, char **argv) { return 0; }
8478 _ACEOF
8479 if ac_fn_c_try_link "$LINENO"; then :
8480 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8481 else
8482 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8484 rm -f core conftest.err conftest.$ac_objext \
8485 conftest$ac_exeext conftest.$ac_ext
8486 CFLAGS=$ac_wine_try_cflags_saved
8488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8489 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8490 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8491 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8493 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8495 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8496 if eval \${$as_ac_var+:} false; then :
8497 $as_echo_n "(cached) " >&6
8498 else
8499 ac_wine_try_cflags_saved=$CFLAGS
8500 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8502 /* end confdefs.h. */
8503 int main(int argc, char **argv) { return 0; }
8504 _ACEOF
8505 if ac_fn_c_try_link "$LINENO"; then :
8506 eval "$as_ac_var=yes"
8507 else
8508 eval "$as_ac_var=no"
8510 rm -f core conftest.err conftest.$ac_objext \
8511 conftest$ac_exeext conftest.$ac_ext
8512 CFLAGS=$ac_wine_try_cflags_saved
8514 eval ac_res=\$$as_ac_var
8515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8516 $as_echo "$ac_res" >&6; }
8517 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8518 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8519 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8520 else
8521 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8523 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8524 if eval \${$as_ac_var+:} false; then :
8525 $as_echo_n "(cached) " >&6
8526 else
8527 ac_wine_try_cflags_saved=$CFLAGS
8528 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8530 /* end confdefs.h. */
8531 int main(int argc, char **argv) { return 0; }
8532 _ACEOF
8533 if ac_fn_c_try_link "$LINENO"; then :
8534 eval "$as_ac_var=yes"
8535 else
8536 eval "$as_ac_var=no"
8538 rm -f core conftest.err conftest.$ac_objext \
8539 conftest$ac_exeext conftest.$ac_ext
8540 CFLAGS=$ac_wine_try_cflags_saved
8542 eval ac_res=\$$as_ac_var
8543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8544 $as_echo "$ac_res" >&6; }
8545 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8546 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8547 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8551 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8552 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8553 $as_echo_n "(cached) " >&6
8554 else
8555 ac_wine_try_cflags_saved=$CFLAGS
8556 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8558 /* end confdefs.h. */
8559 int main(int argc, char **argv) { return 0; }
8560 _ACEOF
8561 if ac_fn_c_try_link "$LINENO"; then :
8562 ac_cv_cflags__Wl___enable_new_dtags=yes
8563 else
8564 ac_cv_cflags__Wl___enable_new_dtags=no
8566 rm -f core conftest.err conftest.$ac_objext \
8567 conftest$ac_exeext conftest.$ac_ext
8568 CFLAGS=$ac_wine_try_cflags_saved
8570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8571 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8572 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8573 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8576 LIBWINE_SHAREDLIB="libwine.so"
8578 LIBWINE_INSTALL_LIB="libwine.so"
8580 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
8584 $as_echo_n "checking for -lEGL... " >&6; }
8585 if ${ac_cv_lib_soname_EGL+:} false; then :
8586 $as_echo_n "(cached) " >&6
8587 else
8588 ac_check_soname_save_LIBS=$LIBS
8589 LIBS="-lEGL $LIBS"
8590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8591 /* end confdefs.h. */
8593 /* Override any GCC internal prototype to avoid an error.
8594 Use char because int might match the return type of a GCC
8595 builtin and then its argument prototype would still apply. */
8596 #ifdef __cplusplus
8597 extern "C"
8598 #endif
8599 char eglGetProcAddress ();
8601 main ()
8603 return eglGetProcAddress ();
8605 return 0;
8607 _ACEOF
8608 if ac_fn_c_try_link "$LINENO"; then :
8609 case "$LIBEXT" in
8610 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8611 dylib) ac_cv_lib_soname_EGL=`$OTOOL -L conftest$ac_exeext | grep "libEGL\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libEGL\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
8612 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8613 if ${ac_cv_lib_soname_EGL:+false} :; then :
8614 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8615 fi ;;
8616 esac
8618 rm -f core conftest.err conftest.$ac_objext \
8619 conftest$ac_exeext conftest.$ac_ext
8620 LIBS=$ac_check_soname_save_LIBS
8622 if ${ac_cv_lib_soname_EGL:+false} :; then :
8623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8624 $as_echo "not found" >&6; }
8626 else
8627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
8628 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
8630 cat >>confdefs.h <<_ACEOF
8631 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
8632 _ACEOF
8636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
8637 $as_echo_n "checking for -lGLESv2... " >&6; }
8638 if ${ac_cv_lib_soname_GLESv2+:} false; then :
8639 $as_echo_n "(cached) " >&6
8640 else
8641 ac_check_soname_save_LIBS=$LIBS
8642 LIBS="-lGLESv2 $LIBS"
8643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8644 /* end confdefs.h. */
8646 /* Override any GCC internal prototype to avoid an error.
8647 Use char because int might match the return type of a GCC
8648 builtin and then its argument prototype would still apply. */
8649 #ifdef __cplusplus
8650 extern "C"
8651 #endif
8652 char glFlush ();
8654 main ()
8656 return glFlush ();
8658 return 0;
8660 _ACEOF
8661 if ac_fn_c_try_link "$LINENO"; then :
8662 case "$LIBEXT" in
8663 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8664 dylib) ac_cv_lib_soname_GLESv2=`$OTOOL -L conftest$ac_exeext | grep "libGLESv2\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGLESv2\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
8665 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8666 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8667 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8668 fi ;;
8669 esac
8671 rm -f core conftest.err conftest.$ac_objext \
8672 conftest$ac_exeext conftest.$ac_ext
8673 LIBS=$ac_check_soname_save_LIBS
8675 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8677 $as_echo "not found" >&6; }
8679 else
8680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
8681 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
8683 cat >>confdefs.h <<_ACEOF
8684 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
8685 _ACEOF
8690 if test "x$exec_prefix" = xNONE
8691 then
8692 case $host_cpu in
8693 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
8694 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
8695 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
8696 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
8697 esac
8702 DLLFLAGS="$DLLFLAGS -fPIC"
8703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8704 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8705 if ${ac_cv_c_dll_gnuelf+:} false; then :
8706 $as_echo_n "(cached) " >&6
8707 else
8708 ac_wine_try_cflags_saved=$CFLAGS
8709 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8711 /* end confdefs.h. */
8712 void myfunc() {}
8713 _ACEOF
8714 if ac_fn_c_try_link "$LINENO"; then :
8715 ac_cv_c_dll_gnuelf="yes"
8716 else
8717 ac_cv_c_dll_gnuelf="no"
8719 rm -f core conftest.err conftest.$ac_objext \
8720 conftest$ac_exeext conftest.$ac_ext
8721 CFLAGS=$ac_wine_try_cflags_saved
8723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8724 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8725 if test "$ac_cv_c_dll_gnuelf" = "yes"
8726 then
8727 LIBWINE_LDFLAGS="-shared"
8728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8729 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8730 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8731 $as_echo_n "(cached) " >&6
8732 else
8733 ac_wine_try_cflags_saved=$CFLAGS
8734 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8736 /* end confdefs.h. */
8737 int main(int argc, char **argv) { return 0; }
8738 _ACEOF
8739 if ac_fn_c_try_link "$LINENO"; then :
8740 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8741 else
8742 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8744 rm -f core conftest.err conftest.$ac_objext \
8745 conftest$ac_exeext conftest.$ac_ext
8746 CFLAGS=$ac_wine_try_cflags_saved
8748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8749 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8750 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8751 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8752 else
8753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8754 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8755 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8756 $as_echo_n "(cached) " >&6
8757 else
8758 ac_wine_try_cflags_saved=$CFLAGS
8759 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8761 /* end confdefs.h. */
8762 int main(int argc, char **argv) { return 0; }
8763 _ACEOF
8764 if ac_fn_c_try_link "$LINENO"; then :
8765 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8766 else
8767 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8769 rm -f core conftest.err conftest.$ac_objext \
8770 conftest$ac_exeext conftest.$ac_ext
8771 CFLAGS=$ac_wine_try_cflags_saved
8773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8774 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8775 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8776 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8780 echo '{ global: *; };' >conftest.map
8781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8782 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8783 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8784 $as_echo_n "(cached) " >&6
8785 else
8786 ac_wine_try_cflags_saved=$CFLAGS
8787 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8789 /* end confdefs.h. */
8790 int main(int argc, char **argv) { return 0; }
8791 _ACEOF
8792 if ac_fn_c_try_link "$LINENO"; then :
8793 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8794 else
8795 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8797 rm -f core conftest.err conftest.$ac_objext \
8798 conftest$ac_exeext conftest.$ac_ext
8799 CFLAGS=$ac_wine_try_cflags_saved
8801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8802 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8803 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8804 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8806 rm -f conftest.map
8808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8809 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8810 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8811 $as_echo_n "(cached) " >&6
8812 else
8813 ac_wine_try_cflags_saved=$CFLAGS
8814 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8816 /* end confdefs.h. */
8817 int main(int argc, char **argv) { return 0; }
8818 _ACEOF
8819 if ac_fn_c_try_link "$LINENO"; then :
8820 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8821 else
8822 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8824 rm -f core conftest.err conftest.$ac_objext \
8825 conftest$ac_exeext conftest.$ac_ext
8826 CFLAGS=$ac_wine_try_cflags_saved
8828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8829 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8830 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8831 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8834 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8836 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8837 if eval \${$as_ac_var+:} false; then :
8838 $as_echo_n "(cached) " >&6
8839 else
8840 ac_wine_try_cflags_saved=$CFLAGS
8841 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8843 /* end confdefs.h. */
8844 int main(int argc, char **argv) { return 0; }
8845 _ACEOF
8846 if ac_fn_c_try_link "$LINENO"; then :
8847 eval "$as_ac_var=yes"
8848 else
8849 eval "$as_ac_var=no"
8851 rm -f core conftest.err conftest.$ac_objext \
8852 conftest$ac_exeext conftest.$ac_ext
8853 CFLAGS=$ac_wine_try_cflags_saved
8855 eval ac_res=\$$as_ac_var
8856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8857 $as_echo "$ac_res" >&6; }
8858 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8859 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8860 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8861 else
8862 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8864 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8865 if eval \${$as_ac_var+:} false; then :
8866 $as_echo_n "(cached) " >&6
8867 else
8868 ac_wine_try_cflags_saved=$CFLAGS
8869 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8871 /* end confdefs.h. */
8872 int main(int argc, char **argv) { return 0; }
8873 _ACEOF
8874 if ac_fn_c_try_link "$LINENO"; then :
8875 eval "$as_ac_var=yes"
8876 else
8877 eval "$as_ac_var=no"
8879 rm -f core conftest.err conftest.$ac_objext \
8880 conftest$ac_exeext conftest.$ac_ext
8881 CFLAGS=$ac_wine_try_cflags_saved
8883 eval ac_res=\$$as_ac_var
8884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8885 $as_echo "$ac_res" >&6; }
8886 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8887 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8888 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8893 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8894 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8895 $as_echo_n "(cached) " >&6
8896 else
8897 ac_wine_try_cflags_saved=$CFLAGS
8898 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8900 /* end confdefs.h. */
8901 int main(int argc, char **argv) { return 0; }
8902 _ACEOF
8903 if ac_fn_c_try_link "$LINENO"; then :
8904 ac_cv_cflags__Wl___enable_new_dtags=yes
8905 else
8906 ac_cv_cflags__Wl___enable_new_dtags=no
8908 rm -f core conftest.err conftest.$ac_objext \
8909 conftest$ac_exeext conftest.$ac_ext
8910 CFLAGS=$ac_wine_try_cflags_saved
8912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8913 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8914 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8915 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8918 case $host_cpu in
8919 *i[3456789]86* | x86_64 | *aarch64*)
8920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8921 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8922 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8923 $as_echo_n "(cached) " >&6
8924 else
8925 ac_wine_try_cflags_saved=$CFLAGS
8926 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8928 /* end confdefs.h. */
8929 int main(int argc, char **argv) { return 0; }
8930 _ACEOF
8931 if ac_fn_c_try_link "$LINENO"; then :
8932 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8933 else
8934 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8936 rm -f core conftest.err conftest.$ac_objext \
8937 conftest$ac_exeext conftest.$ac_ext
8938 CFLAGS=$ac_wine_try_cflags_saved
8940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8941 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8942 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8943 case $host_os in
8944 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8945 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8946 esac
8947 else
8948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8949 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8950 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8951 $as_echo_n "(cached) " >&6
8952 else
8953 ac_wine_try_cflags_saved=$CFLAGS
8954 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8956 /* end confdefs.h. */
8957 int main(int argc, char **argv) { return 0; }
8958 _ACEOF
8959 if ac_fn_c_try_link "$LINENO"; then :
8960 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8961 else
8962 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8964 rm -f core conftest.err conftest.$ac_objext \
8965 conftest$ac_exeext conftest.$ac_ext
8966 CFLAGS=$ac_wine_try_cflags_saved
8968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8969 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8970 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8971 case $host_os in
8972 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8973 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8974 esac
8976 # Extract the first word of "prelink", so it can be a program name with args.
8977 set dummy prelink; ac_word=$2
8978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8979 $as_echo_n "checking for $ac_word... " >&6; }
8980 if ${ac_cv_path_PRELINK+:} false; then :
8981 $as_echo_n "(cached) " >&6
8982 else
8983 case $PRELINK in
8984 [\\/]* | ?:[\\/]*)
8985 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8989 for as_dir in /sbin /usr/sbin $PATH
8991 IFS=$as_save_IFS
8992 test -z "$as_dir" && as_dir=.
8993 for ac_exec_ext in '' $ac_executable_extensions; do
8994 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8995 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8997 break 2
8999 done
9000 done
9001 IFS=$as_save_IFS
9003 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9005 esac
9007 PRELINK=$ac_cv_path_PRELINK
9008 if test -n "$PRELINK"; then
9009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9010 $as_echo "$PRELINK" >&6; }
9011 else
9012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9013 $as_echo "no" >&6; }
9017 if test "x$PRELINK" = xfalse
9018 then
9019 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9023 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9024 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9025 $as_echo_n "(cached) " >&6
9026 else
9027 ac_wine_try_cflags_saved=$CFLAGS
9028 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9030 /* end confdefs.h. */
9031 int main(int argc, char **argv) { return 0; }
9032 _ACEOF
9033 if ac_fn_c_try_link "$LINENO"; then :
9034 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9035 else
9036 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9038 rm -f core conftest.err conftest.$ac_objext \
9039 conftest$ac_exeext conftest.$ac_ext
9040 CFLAGS=$ac_wine_try_cflags_saved
9042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9043 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9044 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9045 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9048 esac
9050 else
9051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9052 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9053 if ${ac_cv_c_dll_unixware+:} false; then :
9054 $as_echo_n "(cached) " >&6
9055 else
9056 ac_wine_try_cflags_saved=$CFLAGS
9057 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9059 /* end confdefs.h. */
9060 void myfunc() {}
9061 _ACEOF
9062 if ac_fn_c_try_link "$LINENO"; then :
9063 ac_cv_c_dll_unixware="yes"
9064 else
9065 ac_cv_c_dll_unixware="no"
9067 rm -f core conftest.err conftest.$ac_objext \
9068 conftest$ac_exeext conftest.$ac_ext
9069 CFLAGS=$ac_wine_try_cflags_saved
9071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9072 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9073 if test "$ac_cv_c_dll_unixware" = "yes"
9074 then
9075 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9078 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9080 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
9082 LIBWINE_INSTALL_DEV="libwine.so"
9084 LIBWINE_DEPENDS="wine.map"
9087 esac
9089 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9090 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9091 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9092 enable_winemac_drv=${enable_winemac_drv:-no}
9093 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9095 CROSSTARGET=""
9097 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
9098 then
9099 case "$host_cpu" in
9100 arm*)
9101 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9102 i[3456789]86*)
9103 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
9104 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9105 mingw32-gcc" ;;
9106 x86_64)
9107 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
9108 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9110 ac_prefix_list="" ;;
9111 esac
9112 for ac_prog in $ac_prefix_list
9114 # Extract the first word of "$ac_prog", so it can be a program name with args.
9115 set dummy $ac_prog; ac_word=$2
9116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9117 $as_echo_n "checking for $ac_word... " >&6; }
9118 if ${ac_cv_prog_CROSSCC+:} false; then :
9119 $as_echo_n "(cached) " >&6
9120 else
9121 if test -n "$CROSSCC"; then
9122 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9123 else
9124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9125 for as_dir in $PATH
9127 IFS=$as_save_IFS
9128 test -z "$as_dir" && as_dir=.
9129 for ac_exec_ext in '' $ac_executable_extensions; do
9130 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9131 ac_cv_prog_CROSSCC="$ac_prog"
9132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9133 break 2
9135 done
9136 done
9137 IFS=$as_save_IFS
9141 CROSSCC=$ac_cv_prog_CROSSCC
9142 if test -n "$CROSSCC"; then
9143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9144 $as_echo "$CROSSCC" >&6; }
9145 else
9146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9147 $as_echo "no" >&6; }
9151 test -n "$CROSSCC" && break
9152 done
9153 test -n "$CROSSCC" || CROSSCC="false"
9155 if test "$CROSSCC" != "false"
9156 then
9157 ac_save_CC="$CC"
9158 CC="$CROSSCC"
9159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9160 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9162 /* end confdefs.h. */
9165 main ()
9169 return 0;
9171 _ACEOF
9172 if ac_fn_c_try_compile "$LINENO"; then :
9173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9174 $as_echo "yes" >&6; }
9175 set x $CROSSCC
9176 shift
9177 while test $# -ge 1
9179 case "$1" in
9180 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9181 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9182 esac
9183 shift
9184 done
9185 else
9186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9187 $as_echo "no" >&6; }
9189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9190 CC="$ac_save_CC"
9191 CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS}
9197 if test "$ac_cv_header_pthread_h" = "yes"
9198 then
9199 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
9200 if test "x$ac_cv_func_pthread_create" = xyes; then :
9202 else
9203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
9204 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
9205 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
9206 $as_echo_n "(cached) " >&6
9207 else
9208 ac_check_lib_save_LIBS=$LIBS
9209 LIBS="-lpthread $LIBS"
9210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9211 /* end confdefs.h. */
9213 /* Override any GCC internal prototype to avoid an error.
9214 Use char because int might match the return type of a GCC
9215 builtin and then its argument prototype would still apply. */
9216 #ifdef __cplusplus
9217 extern "C"
9218 #endif
9219 char pthread_create ();
9221 main ()
9223 return pthread_create ();
9225 return 0;
9227 _ACEOF
9228 if ac_fn_c_try_link "$LINENO"; then :
9229 ac_cv_lib_pthread_pthread_create=yes
9230 else
9231 ac_cv_lib_pthread_pthread_create=no
9233 rm -f core conftest.err conftest.$ac_objext \
9234 conftest$ac_exeext conftest.$ac_ext
9235 LIBS=$ac_check_lib_save_LIBS
9237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9238 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9239 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9240 PTHREAD_LIBS="-lpthread"
9247 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9248 case "x$with_pthread" in
9249 xno) ;;
9250 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9251 Wine cannot support threads without libpthread.
9252 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9253 esac
9258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9259 $as_echo_n "checking for X... " >&6; }
9262 # Check whether --with-x was given.
9263 if test "${with_x+set}" = set; then :
9264 withval=$with_x;
9267 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9268 if test "x$with_x" = xno; then
9269 # The user explicitly disabled X.
9270 have_x=disabled
9271 else
9272 case $x_includes,$x_libraries in #(
9273 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9274 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9275 $as_echo_n "(cached) " >&6
9276 else
9277 # One or both of the vars are not set, and there is no cached value.
9278 ac_x_includes=no ac_x_libraries=no
9279 rm -f -r conftest.dir
9280 if mkdir conftest.dir; then
9281 cd conftest.dir
9282 cat >Imakefile <<'_ACEOF'
9283 incroot:
9284 @echo incroot='${INCROOT}'
9285 usrlibdir:
9286 @echo usrlibdir='${USRLIBDIR}'
9287 libdir:
9288 @echo libdir='${LIBDIR}'
9289 _ACEOF
9290 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9291 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9292 for ac_var in incroot usrlibdir libdir; do
9293 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9294 done
9295 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9296 for ac_extension in a so sl dylib la dll; do
9297 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9298 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9299 ac_im_usrlibdir=$ac_im_libdir; break
9301 done
9302 # Screen out bogus values from the imake configuration. They are
9303 # bogus both because they are the default anyway, and because
9304 # using them would break gcc on systems where it needs fixed includes.
9305 case $ac_im_incroot in
9306 /usr/include) ac_x_includes= ;;
9307 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9308 esac
9309 case $ac_im_usrlibdir in
9310 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9311 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9312 esac
9314 cd ..
9315 rm -f -r conftest.dir
9318 # Standard set of common directories for X headers.
9319 # Check X11 before X11Rn because it is often a symlink to the current release.
9320 ac_x_header_dirs='
9321 /usr/X11/include
9322 /usr/X11R7/include
9323 /usr/X11R6/include
9324 /usr/X11R5/include
9325 /usr/X11R4/include
9327 /usr/include/X11
9328 /usr/include/X11R7
9329 /usr/include/X11R6
9330 /usr/include/X11R5
9331 /usr/include/X11R4
9333 /usr/local/X11/include
9334 /usr/local/X11R7/include
9335 /usr/local/X11R6/include
9336 /usr/local/X11R5/include
9337 /usr/local/X11R4/include
9339 /usr/local/include/X11
9340 /usr/local/include/X11R7
9341 /usr/local/include/X11R6
9342 /usr/local/include/X11R5
9343 /usr/local/include/X11R4
9345 /usr/X386/include
9346 /usr/x386/include
9347 /usr/XFree86/include/X11
9349 /usr/include
9350 /usr/local/include
9351 /usr/unsupported/include
9352 /usr/athena/include
9353 /usr/local/x11r5/include
9354 /usr/lpp/Xamples/include
9356 /usr/openwin/include
9357 /usr/openwin/share/include'
9359 if test "$ac_x_includes" = no; then
9360 # Guess where to find include files, by looking for Xlib.h.
9361 # First, try using that file with no special directory specified.
9362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9363 /* end confdefs.h. */
9364 #include <X11/Xlib.h>
9365 _ACEOF
9366 if ac_fn_c_try_cpp "$LINENO"; then :
9367 # We can compile using X headers with no special include directory.
9368 ac_x_includes=
9369 else
9370 for ac_dir in $ac_x_header_dirs; do
9371 if test -r "$ac_dir/X11/Xlib.h"; then
9372 ac_x_includes=$ac_dir
9373 break
9375 done
9377 rm -f conftest.err conftest.i conftest.$ac_ext
9378 fi # $ac_x_includes = no
9380 if test "$ac_x_libraries" = no; then
9381 # Check for the libraries.
9382 # See if we find them without any special options.
9383 # Don't add to $LIBS permanently.
9384 ac_save_LIBS=$LIBS
9385 LIBS="-lX11 $LIBS"
9386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9387 /* end confdefs.h. */
9388 #include <X11/Xlib.h>
9390 main ()
9392 XrmInitialize ()
9394 return 0;
9396 _ACEOF
9397 if ac_fn_c_try_link "$LINENO"; then :
9398 LIBS=$ac_save_LIBS
9399 # We can link X programs with no special library path.
9400 ac_x_libraries=
9401 else
9402 LIBS=$ac_save_LIBS
9403 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9405 # Don't even attempt the hair of trying to link an X program!
9406 for ac_extension in a so sl dylib la dll; do
9407 if test -r "$ac_dir/libX11.$ac_extension"; then
9408 ac_x_libraries=$ac_dir
9409 break 2
9411 done
9412 done
9414 rm -f core conftest.err conftest.$ac_objext \
9415 conftest$ac_exeext conftest.$ac_ext
9416 fi # $ac_x_libraries = no
9418 case $ac_x_includes,$ac_x_libraries in #(
9419 no,* | *,no | *\'*)
9420 # Didn't find X, or a directory has "'" in its name.
9421 ac_cv_have_x="have_x=no";; #(
9423 # Record where we found X for the cache.
9424 ac_cv_have_x="have_x=yes\
9425 ac_x_includes='$ac_x_includes'\
9426 ac_x_libraries='$ac_x_libraries'"
9427 esac
9429 ;; #(
9430 *) have_x=yes;;
9431 esac
9432 eval "$ac_cv_have_x"
9433 fi # $with_x != no
9435 if test "$have_x" != yes; then
9436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9437 $as_echo "$have_x" >&6; }
9438 no_x=yes
9439 else
9440 # If each of the values was on the command line, it overrides each guess.
9441 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9442 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9443 # Update the cache value to reflect the command line values.
9444 ac_cv_have_x="have_x=yes\
9445 ac_x_includes='$x_includes'\
9446 ac_x_libraries='$x_libraries'"
9447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9448 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9451 if test "$no_x" = yes; then
9452 # Not all programs may use this symbol, but it does not hurt to define it.
9454 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9456 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9457 else
9458 if test -n "$x_includes"; then
9459 X_CFLAGS="$X_CFLAGS -I$x_includes"
9462 # It would also be nice to do this for all -L options, not just this one.
9463 if test -n "$x_libraries"; then
9464 X_LIBS="$X_LIBS -L$x_libraries"
9465 # For Solaris; some versions of Sun CC require a space after -R and
9466 # others require no space. Words are not sufficient . . . .
9467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9468 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9469 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9470 ac_xsave_c_werror_flag=$ac_c_werror_flag
9471 ac_c_werror_flag=yes
9472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9473 /* end confdefs.h. */
9476 main ()
9480 return 0;
9482 _ACEOF
9483 if ac_fn_c_try_link "$LINENO"; then :
9484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9485 $as_echo "no" >&6; }
9486 X_LIBS="$X_LIBS -R$x_libraries"
9487 else
9488 LIBS="$ac_xsave_LIBS -R $x_libraries"
9489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9490 /* end confdefs.h. */
9493 main ()
9497 return 0;
9499 _ACEOF
9500 if ac_fn_c_try_link "$LINENO"; then :
9501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9502 $as_echo "yes" >&6; }
9503 X_LIBS="$X_LIBS -R $x_libraries"
9504 else
9505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9506 $as_echo "neither works" >&6; }
9508 rm -f core conftest.err conftest.$ac_objext \
9509 conftest$ac_exeext conftest.$ac_ext
9511 rm -f core conftest.err conftest.$ac_objext \
9512 conftest$ac_exeext conftest.$ac_ext
9513 ac_c_werror_flag=$ac_xsave_c_werror_flag
9514 LIBS=$ac_xsave_LIBS
9517 # Check for system-dependent libraries X programs must link with.
9518 # Do this before checking for the system-independent R6 libraries
9519 # (-lICE), since we may need -lsocket or whatever for X linking.
9521 if test "$ISC" = yes; then
9522 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9523 else
9524 # Martyn Johnson says this is needed for Ultrix, if the X
9525 # libraries were built with DECnet support. And Karl Berry says
9526 # the Alpha needs dnet_stub (dnet does not exist).
9527 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9529 /* end confdefs.h. */
9531 /* Override any GCC internal prototype to avoid an error.
9532 Use char because int might match the return type of a GCC
9533 builtin and then its argument prototype would still apply. */
9534 #ifdef __cplusplus
9535 extern "C"
9536 #endif
9537 char XOpenDisplay ();
9539 main ()
9541 return XOpenDisplay ();
9543 return 0;
9545 _ACEOF
9546 if ac_fn_c_try_link "$LINENO"; then :
9548 else
9549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9550 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9551 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9552 $as_echo_n "(cached) " >&6
9553 else
9554 ac_check_lib_save_LIBS=$LIBS
9555 LIBS="-ldnet $LIBS"
9556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9557 /* end confdefs.h. */
9559 /* Override any GCC internal prototype to avoid an error.
9560 Use char because int might match the return type of a GCC
9561 builtin and then its argument prototype would still apply. */
9562 #ifdef __cplusplus
9563 extern "C"
9564 #endif
9565 char dnet_ntoa ();
9567 main ()
9569 return dnet_ntoa ();
9571 return 0;
9573 _ACEOF
9574 if ac_fn_c_try_link "$LINENO"; then :
9575 ac_cv_lib_dnet_dnet_ntoa=yes
9576 else
9577 ac_cv_lib_dnet_dnet_ntoa=no
9579 rm -f core conftest.err conftest.$ac_objext \
9580 conftest$ac_exeext conftest.$ac_ext
9581 LIBS=$ac_check_lib_save_LIBS
9583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9584 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9585 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9586 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9589 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9591 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9592 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9593 $as_echo_n "(cached) " >&6
9594 else
9595 ac_check_lib_save_LIBS=$LIBS
9596 LIBS="-ldnet_stub $LIBS"
9597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9598 /* end confdefs.h. */
9600 /* Override any GCC internal prototype to avoid an error.
9601 Use char because int might match the return type of a GCC
9602 builtin and then its argument prototype would still apply. */
9603 #ifdef __cplusplus
9604 extern "C"
9605 #endif
9606 char dnet_ntoa ();
9608 main ()
9610 return dnet_ntoa ();
9612 return 0;
9614 _ACEOF
9615 if ac_fn_c_try_link "$LINENO"; then :
9616 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9617 else
9618 ac_cv_lib_dnet_stub_dnet_ntoa=no
9620 rm -f core conftest.err conftest.$ac_objext \
9621 conftest$ac_exeext conftest.$ac_ext
9622 LIBS=$ac_check_lib_save_LIBS
9624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9625 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9626 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9627 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9632 rm -f core conftest.err conftest.$ac_objext \
9633 conftest$ac_exeext conftest.$ac_ext
9634 LIBS="$ac_xsave_LIBS"
9636 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9637 # to get the SysV transport functions.
9638 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9639 # needs -lnsl.
9640 # The nsl library prevents programs from opening the X display
9641 # on Irix 5.2, according to T.E. Dickey.
9642 # The functions gethostbyname, getservbyname, and inet_addr are
9643 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9644 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9645 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9649 if test $ac_cv_func_gethostbyname = no; then
9650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9651 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9652 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9653 $as_echo_n "(cached) " >&6
9654 else
9655 ac_check_lib_save_LIBS=$LIBS
9656 LIBS="-lnsl $LIBS"
9657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9658 /* end confdefs.h. */
9660 /* Override any GCC internal prototype to avoid an error.
9661 Use char because int might match the return type of a GCC
9662 builtin and then its argument prototype would still apply. */
9663 #ifdef __cplusplus
9664 extern "C"
9665 #endif
9666 char gethostbyname ();
9668 main ()
9670 return gethostbyname ();
9672 return 0;
9674 _ACEOF
9675 if ac_fn_c_try_link "$LINENO"; then :
9676 ac_cv_lib_nsl_gethostbyname=yes
9677 else
9678 ac_cv_lib_nsl_gethostbyname=no
9680 rm -f core conftest.err conftest.$ac_objext \
9681 conftest$ac_exeext conftest.$ac_ext
9682 LIBS=$ac_check_lib_save_LIBS
9684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9685 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9686 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9687 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9690 if test $ac_cv_lib_nsl_gethostbyname = no; then
9691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9692 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9693 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9694 $as_echo_n "(cached) " >&6
9695 else
9696 ac_check_lib_save_LIBS=$LIBS
9697 LIBS="-lbsd $LIBS"
9698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9699 /* end confdefs.h. */
9701 /* Override any GCC internal prototype to avoid an error.
9702 Use char because int might match the return type of a GCC
9703 builtin and then its argument prototype would still apply. */
9704 #ifdef __cplusplus
9705 extern "C"
9706 #endif
9707 char gethostbyname ();
9709 main ()
9711 return gethostbyname ();
9713 return 0;
9715 _ACEOF
9716 if ac_fn_c_try_link "$LINENO"; then :
9717 ac_cv_lib_bsd_gethostbyname=yes
9718 else
9719 ac_cv_lib_bsd_gethostbyname=no
9721 rm -f core conftest.err conftest.$ac_objext \
9722 conftest$ac_exeext conftest.$ac_ext
9723 LIBS=$ac_check_lib_save_LIBS
9725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9726 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9727 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9728 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9734 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9735 # socket/setsockopt and other routines are undefined under SCO ODT
9736 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9737 # on later versions), says Simon Leinen: it contains gethostby*
9738 # variants that don't use the name server (or something). -lsocket
9739 # must be given before -lnsl if both are needed. We assume that
9740 # if connect needs -lnsl, so does gethostbyname.
9741 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9742 if test "x$ac_cv_func_connect" = xyes; then :
9746 if test $ac_cv_func_connect = no; then
9747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9748 $as_echo_n "checking for connect in -lsocket... " >&6; }
9749 if ${ac_cv_lib_socket_connect+:} false; then :
9750 $as_echo_n "(cached) " >&6
9751 else
9752 ac_check_lib_save_LIBS=$LIBS
9753 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9755 /* end confdefs.h. */
9757 /* Override any GCC internal prototype to avoid an error.
9758 Use char because int might match the return type of a GCC
9759 builtin and then its argument prototype would still apply. */
9760 #ifdef __cplusplus
9761 extern "C"
9762 #endif
9763 char connect ();
9765 main ()
9767 return connect ();
9769 return 0;
9771 _ACEOF
9772 if ac_fn_c_try_link "$LINENO"; then :
9773 ac_cv_lib_socket_connect=yes
9774 else
9775 ac_cv_lib_socket_connect=no
9777 rm -f core conftest.err conftest.$ac_objext \
9778 conftest$ac_exeext conftest.$ac_ext
9779 LIBS=$ac_check_lib_save_LIBS
9781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9782 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9783 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9784 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9789 # Guillermo Gomez says -lposix is necessary on A/UX.
9790 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9791 if test "x$ac_cv_func_remove" = xyes; then :
9795 if test $ac_cv_func_remove = no; then
9796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9797 $as_echo_n "checking for remove in -lposix... " >&6; }
9798 if ${ac_cv_lib_posix_remove+:} false; then :
9799 $as_echo_n "(cached) " >&6
9800 else
9801 ac_check_lib_save_LIBS=$LIBS
9802 LIBS="-lposix $LIBS"
9803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9804 /* end confdefs.h. */
9806 /* Override any GCC internal prototype to avoid an error.
9807 Use char because int might match the return type of a GCC
9808 builtin and then its argument prototype would still apply. */
9809 #ifdef __cplusplus
9810 extern "C"
9811 #endif
9812 char remove ();
9814 main ()
9816 return remove ();
9818 return 0;
9820 _ACEOF
9821 if ac_fn_c_try_link "$LINENO"; then :
9822 ac_cv_lib_posix_remove=yes
9823 else
9824 ac_cv_lib_posix_remove=no
9826 rm -f core conftest.err conftest.$ac_objext \
9827 conftest$ac_exeext conftest.$ac_ext
9828 LIBS=$ac_check_lib_save_LIBS
9830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9831 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9832 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9833 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9838 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9839 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9840 if test "x$ac_cv_func_shmat" = xyes; then :
9844 if test $ac_cv_func_shmat = no; then
9845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9846 $as_echo_n "checking for shmat in -lipc... " >&6; }
9847 if ${ac_cv_lib_ipc_shmat+:} false; then :
9848 $as_echo_n "(cached) " >&6
9849 else
9850 ac_check_lib_save_LIBS=$LIBS
9851 LIBS="-lipc $LIBS"
9852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9853 /* end confdefs.h. */
9855 /* Override any GCC internal prototype to avoid an error.
9856 Use char because int might match the return type of a GCC
9857 builtin and then its argument prototype would still apply. */
9858 #ifdef __cplusplus
9859 extern "C"
9860 #endif
9861 char shmat ();
9863 main ()
9865 return shmat ();
9867 return 0;
9869 _ACEOF
9870 if ac_fn_c_try_link "$LINENO"; then :
9871 ac_cv_lib_ipc_shmat=yes
9872 else
9873 ac_cv_lib_ipc_shmat=no
9875 rm -f core conftest.err conftest.$ac_objext \
9876 conftest$ac_exeext conftest.$ac_ext
9877 LIBS=$ac_check_lib_save_LIBS
9879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9880 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9881 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9882 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9888 # Check for libraries that X11R6 Xt/Xaw programs need.
9889 ac_save_LDFLAGS=$LDFLAGS
9890 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9891 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9892 # check for ICE first), but we must link in the order -lSM -lICE or
9893 # we get undefined symbols. So assume we have SM if we have ICE.
9894 # These have to be linked with before -lX11, unlike the other
9895 # libraries we check for below, so use a different variable.
9896 # John Interrante, Karl Berry
9897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9898 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9899 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9900 $as_echo_n "(cached) " >&6
9901 else
9902 ac_check_lib_save_LIBS=$LIBS
9903 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9905 /* end confdefs.h. */
9907 /* Override any GCC internal prototype to avoid an error.
9908 Use char because int might match the return type of a GCC
9909 builtin and then its argument prototype would still apply. */
9910 #ifdef __cplusplus
9911 extern "C"
9912 #endif
9913 char IceConnectionNumber ();
9915 main ()
9917 return IceConnectionNumber ();
9919 return 0;
9921 _ACEOF
9922 if ac_fn_c_try_link "$LINENO"; then :
9923 ac_cv_lib_ICE_IceConnectionNumber=yes
9924 else
9925 ac_cv_lib_ICE_IceConnectionNumber=no
9927 rm -f core conftest.err conftest.$ac_objext \
9928 conftest$ac_exeext conftest.$ac_ext
9929 LIBS=$ac_check_lib_save_LIBS
9931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9932 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9933 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9934 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9937 LDFLAGS=$ac_save_LDFLAGS
9942 if test "$have_x" = "yes"
9943 then
9944 ac_save_CPPFLAGS="$CPPFLAGS"
9945 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9948 $as_echo_n "checking for -lX11... " >&6; }
9949 if ${ac_cv_lib_soname_X11+:} false; then :
9950 $as_echo_n "(cached) " >&6
9951 else
9952 ac_check_soname_save_LIBS=$LIBS
9953 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9955 /* end confdefs.h. */
9957 /* Override any GCC internal prototype to avoid an error.
9958 Use char because int might match the return type of a GCC
9959 builtin and then its argument prototype would still apply. */
9960 #ifdef __cplusplus
9961 extern "C"
9962 #endif
9963 char XCreateWindow ();
9965 main ()
9967 return XCreateWindow ();
9969 return 0;
9971 _ACEOF
9972 if ac_fn_c_try_link "$LINENO"; then :
9973 case "$LIBEXT" in
9974 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9975 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'` ;;
9976 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9977 if ${ac_cv_lib_soname_X11:+false} :; then :
9978 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9979 fi ;;
9980 esac
9982 rm -f core conftest.err conftest.$ac_objext \
9983 conftest$ac_exeext conftest.$ac_ext
9984 LIBS=$ac_check_soname_save_LIBS
9986 if ${ac_cv_lib_soname_X11:+false} :; then :
9987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9988 $as_echo "not found" >&6; }
9990 else
9991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9992 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9994 cat >>confdefs.h <<_ACEOF
9995 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9996 _ACEOF
10000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
10001 $as_echo_n "checking for -lXext... " >&6; }
10002 if ${ac_cv_lib_soname_Xext+:} false; then :
10003 $as_echo_n "(cached) " >&6
10004 else
10005 ac_check_soname_save_LIBS=$LIBS
10006 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
10007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10008 /* end confdefs.h. */
10010 /* Override any GCC internal prototype to avoid an error.
10011 Use char because int might match the return type of a GCC
10012 builtin and then its argument prototype would still apply. */
10013 #ifdef __cplusplus
10014 extern "C"
10015 #endif
10016 char XextCreateExtension ();
10018 main ()
10020 return XextCreateExtension ();
10022 return 0;
10024 _ACEOF
10025 if ac_fn_c_try_link "$LINENO"; then :
10026 case "$LIBEXT" in
10027 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10028 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'` ;;
10029 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10030 if ${ac_cv_lib_soname_Xext:+false} :; then :
10031 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10032 fi ;;
10033 esac
10035 rm -f core conftest.err conftest.$ac_objext \
10036 conftest$ac_exeext conftest.$ac_ext
10037 LIBS=$ac_check_soname_save_LIBS
10039 if ${ac_cv_lib_soname_Xext:+false} :; then :
10040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10041 $as_echo "not found" >&6; }
10043 else
10044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
10045 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
10047 cat >>confdefs.h <<_ACEOF
10048 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
10049 _ACEOF
10051 X_LIBS="$X_LIBS -lXext"
10053 X_LIBS="$X_LIBS -lX11"
10055 for ac_header in X11/Xlib.h \
10056 X11/XKBlib.h \
10057 X11/Xutil.h \
10058 X11/Xcursor/Xcursor.h \
10059 X11/extensions/shape.h \
10060 X11/extensions/XInput.h \
10061 X11/extensions/XInput2.h \
10062 X11/extensions/XShm.h \
10063 X11/extensions/Xcomposite.h \
10064 X11/extensions/Xfixes.h \
10065 X11/extensions/Xinerama.h \
10066 X11/extensions/Xrandr.h \
10067 X11/extensions/Xrender.h \
10068 X11/extensions/xf86vmode.h \
10069 X11/extensions/xf86vmproto.h
10070 do :
10071 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10072 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
10073 # include <X11/Xlib.h>
10074 #endif
10075 #ifdef HAVE_X11_XUTIL_H
10076 # include <X11/Xutil.h>
10077 #endif
10079 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10080 cat >>confdefs.h <<_ACEOF
10081 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10082 _ACEOF
10086 done
10089 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
10090 then
10091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
10092 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
10093 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
10094 $as_echo_n "(cached) " >&6
10095 else
10096 ac_check_lib_save_LIBS=$LIBS
10097 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10099 /* end confdefs.h. */
10101 /* Override any GCC internal prototype to avoid an error.
10102 Use char because int might match the return type of a GCC
10103 builtin and then its argument prototype would still apply. */
10104 #ifdef __cplusplus
10105 extern "C"
10106 #endif
10107 char XkbQueryExtension ();
10109 main ()
10111 return XkbQueryExtension ();
10113 return 0;
10115 _ACEOF
10116 if ac_fn_c_try_link "$LINENO"; then :
10117 ac_cv_lib_X11_XkbQueryExtension=yes
10118 else
10119 ac_cv_lib_X11_XkbQueryExtension=no
10121 rm -f core conftest.err conftest.$ac_objext \
10122 conftest$ac_exeext conftest.$ac_ext
10123 LIBS=$ac_check_lib_save_LIBS
10125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
10126 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
10127 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
10129 $as_echo "#define HAVE_XKB 1" >>confdefs.h
10135 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
10136 then
10137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
10138 $as_echo_n "checking for -lXcursor... " >&6; }
10139 if ${ac_cv_lib_soname_Xcursor+:} false; then :
10140 $as_echo_n "(cached) " >&6
10141 else
10142 ac_check_soname_save_LIBS=$LIBS
10143 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
10144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10145 /* end confdefs.h. */
10147 /* Override any GCC internal prototype to avoid an error.
10148 Use char because int might match the return type of a GCC
10149 builtin and then its argument prototype would still apply. */
10150 #ifdef __cplusplus
10151 extern "C"
10152 #endif
10153 char XcursorImageLoadCursor ();
10155 main ()
10157 return XcursorImageLoadCursor ();
10159 return 0;
10161 _ACEOF
10162 if ac_fn_c_try_link "$LINENO"; then :
10163 case "$LIBEXT" in
10164 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10165 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'` ;;
10166 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10167 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10168 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10169 fi ;;
10170 esac
10172 rm -f core conftest.err conftest.$ac_objext \
10173 conftest$ac_exeext conftest.$ac_ext
10174 LIBS=$ac_check_soname_save_LIBS
10176 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10178 $as_echo "not found" >&6; }
10180 else
10181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
10182 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
10184 cat >>confdefs.h <<_ACEOF
10185 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
10186 _ACEOF
10191 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
10192 case "x$with_xcursor" in
10193 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
10194 xno) ;;
10195 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
10196 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
10197 esac
10201 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
10202 then
10203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
10204 $as_echo_n "checking for -lXi... " >&6; }
10205 if ${ac_cv_lib_soname_Xi+:} false; then :
10206 $as_echo_n "(cached) " >&6
10207 else
10208 ac_check_soname_save_LIBS=$LIBS
10209 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
10210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10211 /* end confdefs.h. */
10213 /* Override any GCC internal prototype to avoid an error.
10214 Use char because int might match the return type of a GCC
10215 builtin and then its argument prototype would still apply. */
10216 #ifdef __cplusplus
10217 extern "C"
10218 #endif
10219 char XOpenDevice ();
10221 main ()
10223 return XOpenDevice ();
10225 return 0;
10227 _ACEOF
10228 if ac_fn_c_try_link "$LINENO"; then :
10229 case "$LIBEXT" in
10230 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10231 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'` ;;
10232 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10233 if ${ac_cv_lib_soname_Xi:+false} :; then :
10234 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10235 fi ;;
10236 esac
10238 rm -f core conftest.err conftest.$ac_objext \
10239 conftest$ac_exeext conftest.$ac_ext
10240 LIBS=$ac_check_soname_save_LIBS
10242 if ${ac_cv_lib_soname_Xi:+false} :; then :
10243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10244 $as_echo "not found" >&6; }
10246 else
10247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10248 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10250 cat >>confdefs.h <<_ACEOF
10251 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10252 _ACEOF
10257 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10258 case "x$with_xinput" in
10259 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10260 xno) ;;
10261 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10262 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10263 esac
10267 if test "x$ac_cv_lib_soname_Xi" != x
10268 then
10269 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10270 case "x$with_xinput2" in
10271 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10272 xno) ;;
10273 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10274 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10275 esac
10280 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10281 then
10282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10283 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10284 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10285 $as_echo_n "(cached) " >&6
10286 else
10287 ac_check_lib_save_LIBS=$LIBS
10288 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10290 /* end confdefs.h. */
10292 /* Override any GCC internal prototype to avoid an error.
10293 Use char because int might match the return type of a GCC
10294 builtin and then its argument prototype would still apply. */
10295 #ifdef __cplusplus
10296 extern "C"
10297 #endif
10298 char XShmQueryExtension ();
10300 main ()
10302 return XShmQueryExtension ();
10304 return 0;
10306 _ACEOF
10307 if ac_fn_c_try_link "$LINENO"; then :
10308 ac_cv_lib_Xext_XShmQueryExtension=yes
10309 else
10310 ac_cv_lib_Xext_XShmQueryExtension=no
10312 rm -f core conftest.err conftest.$ac_objext \
10313 conftest$ac_exeext conftest.$ac_ext
10314 LIBS=$ac_check_lib_save_LIBS
10316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10317 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10318 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10320 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10325 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10326 case "x$with_xshm" in
10327 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10328 xno) ;;
10329 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10330 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10331 esac
10335 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10336 then
10337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10338 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10339 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10340 $as_echo_n "(cached) " >&6
10341 else
10342 ac_check_lib_save_LIBS=$LIBS
10343 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10345 /* end confdefs.h. */
10347 /* Override any GCC internal prototype to avoid an error.
10348 Use char because int might match the return type of a GCC
10349 builtin and then its argument prototype would still apply. */
10350 #ifdef __cplusplus
10351 extern "C"
10352 #endif
10353 char XShapeQueryExtension ();
10355 main ()
10357 return XShapeQueryExtension ();
10359 return 0;
10361 _ACEOF
10362 if ac_fn_c_try_link "$LINENO"; then :
10363 ac_cv_lib_Xext_XShapeQueryExtension=yes
10364 else
10365 ac_cv_lib_Xext_XShapeQueryExtension=no
10367 rm -f core conftest.err conftest.$ac_objext \
10368 conftest$ac_exeext conftest.$ac_ext
10369 LIBS=$ac_check_lib_save_LIBS
10371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10372 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10373 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10375 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10380 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10381 case "x$with_xshape" in
10382 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10383 xno) ;;
10384 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10385 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10386 esac
10390 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10391 then
10392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10393 $as_echo_n "checking for -lXxf86vm... " >&6; }
10394 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10395 $as_echo_n "(cached) " >&6
10396 else
10397 ac_check_soname_save_LIBS=$LIBS
10398 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10400 /* end confdefs.h. */
10402 /* Override any GCC internal prototype to avoid an error.
10403 Use char because int might match the return type of a GCC
10404 builtin and then its argument prototype would still apply. */
10405 #ifdef __cplusplus
10406 extern "C"
10407 #endif
10408 char XF86VidModeQueryExtension ();
10410 main ()
10412 return XF86VidModeQueryExtension ();
10414 return 0;
10416 _ACEOF
10417 if ac_fn_c_try_link "$LINENO"; then :
10418 case "$LIBEXT" in
10419 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10420 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'` ;;
10421 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10422 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10423 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10424 fi ;;
10425 esac
10427 rm -f core conftest.err conftest.$ac_objext \
10428 conftest$ac_exeext conftest.$ac_ext
10429 LIBS=$ac_check_soname_save_LIBS
10431 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10433 $as_echo "not found" >&6; }
10435 else
10436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10437 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10439 cat >>confdefs.h <<_ACEOF
10440 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10441 _ACEOF
10446 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10447 case "x$with_xxf86vm" in
10448 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10449 xno) ;;
10450 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10451 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10452 esac
10456 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10457 then
10458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10459 $as_echo_n "checking for -lXrender... " >&6; }
10460 if ${ac_cv_lib_soname_Xrender+:} false; then :
10461 $as_echo_n "(cached) " >&6
10462 else
10463 ac_check_soname_save_LIBS=$LIBS
10464 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10466 /* end confdefs.h. */
10468 /* Override any GCC internal prototype to avoid an error.
10469 Use char because int might match the return type of a GCC
10470 builtin and then its argument prototype would still apply. */
10471 #ifdef __cplusplus
10472 extern "C"
10473 #endif
10474 char XRenderQueryExtension ();
10476 main ()
10478 return XRenderQueryExtension ();
10480 return 0;
10482 _ACEOF
10483 if ac_fn_c_try_link "$LINENO"; then :
10484 case "$LIBEXT" in
10485 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10486 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'` ;;
10487 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10488 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10489 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10490 fi ;;
10491 esac
10493 rm -f core conftest.err conftest.$ac_objext \
10494 conftest$ac_exeext conftest.$ac_ext
10495 LIBS=$ac_check_soname_save_LIBS
10497 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10499 $as_echo "not found" >&6; }
10501 else
10502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10503 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10505 cat >>confdefs.h <<_ACEOF
10506 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10507 _ACEOF
10509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10510 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10511 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10512 $as_echo_n "(cached) " >&6
10513 else
10514 ac_check_lib_save_LIBS=$LIBS
10515 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10517 /* end confdefs.h. */
10519 /* Override any GCC internal prototype to avoid an error.
10520 Use char because int might match the return type of a GCC
10521 builtin and then its argument prototype would still apply. */
10522 #ifdef __cplusplus
10523 extern "C"
10524 #endif
10525 char XRenderSetPictureTransform ();
10527 main ()
10529 return XRenderSetPictureTransform ();
10531 return 0;
10533 _ACEOF
10534 if ac_fn_c_try_link "$LINENO"; then :
10535 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10536 else
10537 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10539 rm -f core conftest.err conftest.$ac_objext \
10540 conftest$ac_exeext conftest.$ac_ext
10541 LIBS=$ac_check_lib_save_LIBS
10543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10544 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10545 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10547 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10552 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10553 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10554 $as_echo_n "(cached) " >&6
10555 else
10556 ac_check_lib_save_LIBS=$LIBS
10557 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10559 /* end confdefs.h. */
10561 /* Override any GCC internal prototype to avoid an error.
10562 Use char because int might match the return type of a GCC
10563 builtin and then its argument prototype would still apply. */
10564 #ifdef __cplusplus
10565 extern "C"
10566 #endif
10567 char XRenderCreateLinearGradient ();
10569 main ()
10571 return XRenderCreateLinearGradient ();
10573 return 0;
10575 _ACEOF
10576 if ac_fn_c_try_link "$LINENO"; then :
10577 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10578 else
10579 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10581 rm -f core conftest.err conftest.$ac_objext \
10582 conftest$ac_exeext conftest.$ac_ext
10583 LIBS=$ac_check_lib_save_LIBS
10585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10586 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10587 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10589 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10596 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10597 case "x$with_xrender" in
10598 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10599 xno) ;;
10600 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10601 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10602 esac
10606 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10607 then
10608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10609 /* end confdefs.h. */
10610 #include <X11/Xlib.h>
10611 #include <X11/extensions/Xrandr.h>
10613 main ()
10615 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10617 return 0;
10619 _ACEOF
10620 if ac_fn_c_try_compile "$LINENO"; then :
10621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10622 $as_echo_n "checking for -lXrandr... " >&6; }
10623 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10624 $as_echo_n "(cached) " >&6
10625 else
10626 ac_check_soname_save_LIBS=$LIBS
10627 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10629 /* end confdefs.h. */
10631 /* Override any GCC internal prototype to avoid an error.
10632 Use char because int might match the return type of a GCC
10633 builtin and then its argument prototype would still apply. */
10634 #ifdef __cplusplus
10635 extern "C"
10636 #endif
10637 char XRRQueryExtension ();
10639 main ()
10641 return XRRQueryExtension ();
10643 return 0;
10645 _ACEOF
10646 if ac_fn_c_try_link "$LINENO"; then :
10647 case "$LIBEXT" in
10648 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10649 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'` ;;
10650 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10651 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10652 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10653 fi ;;
10654 esac
10656 rm -f core conftest.err conftest.$ac_objext \
10657 conftest$ac_exeext conftest.$ac_ext
10658 LIBS=$ac_check_soname_save_LIBS
10660 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10662 $as_echo "not found" >&6; }
10664 else
10665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10666 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10668 cat >>confdefs.h <<_ACEOF
10669 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10670 _ACEOF
10672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10673 /* end confdefs.h. */
10674 #include <X11/Xlib.h>
10675 #include <X11/extensions/Xrandr.h>
10677 main ()
10679 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10681 return 0;
10683 _ACEOF
10684 if ac_fn_c_try_compile "$LINENO"; then :
10686 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10694 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10695 case "x$with_xrandr" in
10696 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10697 xno) ;;
10698 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10699 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10700 esac
10704 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
10705 then
10706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10707 /* end confdefs.h. */
10708 #include <X11/Xlib.h>
10709 #include <X11/extensions/Xfixes.h>
10711 main ()
10713 static typeof(XFixesQueryVersion) * func; if (func) return 0;
10715 return 0;
10717 _ACEOF
10718 if ac_fn_c_try_compile "$LINENO"; then :
10719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
10720 $as_echo_n "checking for -lXfixes... " >&6; }
10721 if ${ac_cv_lib_soname_Xfixes+:} false; then :
10722 $as_echo_n "(cached) " >&6
10723 else
10724 ac_check_soname_save_LIBS=$LIBS
10725 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
10726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10727 /* end confdefs.h. */
10729 /* Override any GCC internal prototype to avoid an error.
10730 Use char because int might match the return type of a GCC
10731 builtin and then its argument prototype would still apply. */
10732 #ifdef __cplusplus
10733 extern "C"
10734 #endif
10735 char XFixesQueryVersion ();
10737 main ()
10739 return XFixesQueryVersion ();
10741 return 0;
10743 _ACEOF
10744 if ac_fn_c_try_link "$LINENO"; then :
10745 case "$LIBEXT" in
10746 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10747 dylib) ac_cv_lib_soname_Xfixes=`$OTOOL -L conftest$ac_exeext | grep "libXfixes\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXfixes\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10748 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10749 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10750 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10751 fi ;;
10752 esac
10754 rm -f core conftest.err conftest.$ac_objext \
10755 conftest$ac_exeext conftest.$ac_ext
10756 LIBS=$ac_check_soname_save_LIBS
10758 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10760 $as_echo "not found" >&6; }
10762 else
10763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
10764 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
10766 cat >>confdefs.h <<_ACEOF
10767 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
10768 _ACEOF
10773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10775 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
10776 case "x$with_xfixes" in
10777 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
10778 xno) ;;
10779 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
10780 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
10781 esac
10785 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10786 then
10787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10788 /* end confdefs.h. */
10789 #include <X11/Xlib.h>
10790 #include <X11/extensions/Xinerama.h>
10792 main ()
10794 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10796 return 0;
10798 _ACEOF
10799 if ac_fn_c_try_compile "$LINENO"; then :
10800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10801 $as_echo_n "checking for -lXinerama... " >&6; }
10802 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10803 $as_echo_n "(cached) " >&6
10804 else
10805 ac_check_soname_save_LIBS=$LIBS
10806 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10808 /* end confdefs.h. */
10810 /* Override any GCC internal prototype to avoid an error.
10811 Use char because int might match the return type of a GCC
10812 builtin and then its argument prototype would still apply. */
10813 #ifdef __cplusplus
10814 extern "C"
10815 #endif
10816 char XineramaQueryScreens ();
10818 main ()
10820 return XineramaQueryScreens ();
10822 return 0;
10824 _ACEOF
10825 if ac_fn_c_try_link "$LINENO"; then :
10826 case "$LIBEXT" in
10827 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10828 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'` ;;
10829 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10830 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10831 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10832 fi ;;
10833 esac
10835 rm -f core conftest.err conftest.$ac_objext \
10836 conftest$ac_exeext conftest.$ac_ext
10837 LIBS=$ac_check_soname_save_LIBS
10839 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10841 $as_echo "not found" >&6; }
10843 else
10844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10845 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10847 cat >>confdefs.h <<_ACEOF
10848 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10849 _ACEOF
10854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10856 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10857 case "x$with_xinerama" in
10858 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10859 xno) ;;
10860 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10861 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10862 esac
10866 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10867 then
10868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10869 $as_echo_n "checking for -lXcomposite... " >&6; }
10870 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10871 $as_echo_n "(cached) " >&6
10872 else
10873 ac_check_soname_save_LIBS=$LIBS
10874 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10876 /* end confdefs.h. */
10878 /* Override any GCC internal prototype to avoid an error.
10879 Use char because int might match the return type of a GCC
10880 builtin and then its argument prototype would still apply. */
10881 #ifdef __cplusplus
10882 extern "C"
10883 #endif
10884 char XCompositeRedirectWindow ();
10886 main ()
10888 return XCompositeRedirectWindow ();
10890 return 0;
10892 _ACEOF
10893 if ac_fn_c_try_link "$LINENO"; then :
10894 case "$LIBEXT" in
10895 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10896 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'` ;;
10897 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10898 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10899 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10900 fi ;;
10901 esac
10903 rm -f core conftest.err conftest.$ac_objext \
10904 conftest$ac_exeext conftest.$ac_ext
10905 LIBS=$ac_check_soname_save_LIBS
10907 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10909 $as_echo "not found" >&6; }
10911 else
10912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10913 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10915 cat >>confdefs.h <<_ACEOF
10916 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10917 _ACEOF
10922 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10923 case "x$with_xcomposite" in
10924 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10925 xno) ;;
10926 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10927 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10928 esac
10932 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10933 #include <X11/Xlib.h>
10934 #endif
10936 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10938 cat >>confdefs.h <<_ACEOF
10939 #define HAVE_XICCALLBACK_CALLBACK 1
10940 _ACEOF
10944 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10945 #include <X11/Xlib.h>
10946 #endif
10948 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10950 cat >>confdefs.h <<_ACEOF
10951 #define HAVE_XEVENT_XCOOKIE 1
10952 _ACEOF
10959 opengl_msg=""
10960 if test "x$with_opengl" != "xno"
10961 then
10962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10963 $as_echo_n "checking for -lGL... " >&6; }
10964 if ${ac_cv_lib_soname_GL+:} false; then :
10965 $as_echo_n "(cached) " >&6
10966 else
10967 ac_check_soname_save_LIBS=$LIBS
10968 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10970 /* end confdefs.h. */
10972 /* Override any GCC internal prototype to avoid an error.
10973 Use char because int might match the return type of a GCC
10974 builtin and then its argument prototype would still apply. */
10975 #ifdef __cplusplus
10976 extern "C"
10977 #endif
10978 char glXCreateContext ();
10980 main ()
10982 return glXCreateContext ();
10984 return 0;
10986 _ACEOF
10987 if ac_fn_c_try_link "$LINENO"; then :
10988 case "$LIBEXT" in
10989 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10990 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'` ;;
10991 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10992 if ${ac_cv_lib_soname_GL:+false} :; then :
10993 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10994 fi ;;
10995 esac
10997 rm -f core conftest.err conftest.$ac_objext \
10998 conftest$ac_exeext conftest.$ac_ext
10999 LIBS=$ac_check_soname_save_LIBS
11001 if ${ac_cv_lib_soname_GL:+false} :; then :
11002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11003 $as_echo "not found" >&6; }
11004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
11005 $as_echo_n "checking for -lGL... " >&6; }
11006 if ${ac_cv_lib_soname_GL+:} false; then :
11007 $as_echo_n "(cached) " >&6
11008 else
11009 ac_check_soname_save_LIBS=$LIBS
11010 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"
11011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11012 /* end confdefs.h. */
11014 /* Override any GCC internal prototype to avoid an error.
11015 Use char because int might match the return type of a GCC
11016 builtin and then its argument prototype would still apply. */
11017 #ifdef __cplusplus
11018 extern "C"
11019 #endif
11020 char glXCreateContext ();
11022 main ()
11024 return glXCreateContext ();
11026 return 0;
11028 _ACEOF
11029 if ac_fn_c_try_link "$LINENO"; then :
11030 case "$LIBEXT" in
11031 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11032 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'` ;;
11033 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11034 if ${ac_cv_lib_soname_GL:+false} :; then :
11035 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11036 fi ;;
11037 esac
11039 rm -f core conftest.err conftest.$ac_objext \
11040 conftest$ac_exeext conftest.$ac_ext
11041 LIBS=$ac_check_soname_save_LIBS
11043 if ${ac_cv_lib_soname_GL:+false} :; then :
11044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11045 $as_echo "not found" >&6; }
11046 if test -f /usr/X11R6/lib/libGL.a
11047 then
11048 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
11049 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
11050 else
11051 opengl_msg="No OpenGL library found on this system."
11053 else
11054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11055 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11057 cat >>confdefs.h <<_ACEOF
11058 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11059 _ACEOF
11061 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"
11063 else
11064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11065 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11067 cat >>confdefs.h <<_ACEOF
11068 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11069 _ACEOF
11071 OPENGL_LIBS="-lGL"
11073 if test "x$with_glu" != "xno"
11074 then
11075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
11076 $as_echo_n "checking for -lGLU... " >&6; }
11077 if ${ac_cv_lib_soname_GLU+:} false; then :
11078 $as_echo_n "(cached) " >&6
11079 else
11080 ac_check_soname_save_LIBS=$LIBS
11081 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11083 /* end confdefs.h. */
11085 /* Override any GCC internal prototype to avoid an error.
11086 Use char because int might match the return type of a GCC
11087 builtin and then its argument prototype would still apply. */
11088 #ifdef __cplusplus
11089 extern "C"
11090 #endif
11091 char gluLookAt ();
11093 main ()
11095 return gluLookAt ();
11097 return 0;
11099 _ACEOF
11100 if ac_fn_c_try_link "$LINENO"; then :
11101 case "$LIBEXT" in
11102 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11103 dylib) ac_cv_lib_soname_GLU=`$OTOOL -L conftest$ac_exeext | grep "libGLU\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGLU\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11104 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11105 if ${ac_cv_lib_soname_GLU:+false} :; then :
11106 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11107 fi ;;
11108 esac
11110 rm -f core conftest.err conftest.$ac_objext \
11111 conftest$ac_exeext conftest.$ac_ext
11112 LIBS=$ac_check_soname_save_LIBS
11114 if ${ac_cv_lib_soname_GLU:+false} :; then :
11115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11116 $as_echo "not found" >&6; }
11118 else
11119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
11120 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
11122 cat >>confdefs.h <<_ACEOF
11123 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11124 _ACEOF
11128 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
11129 case "x$with_glu" in
11130 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
11131 xno) ;;
11132 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
11133 This is an error since --with-glu was requested." "$LINENO" 5 ;;
11134 esac
11139 if test "x$with_osmesa" != "xno"
11140 then
11141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
11142 $as_echo_n "checking for -lOSMesa... " >&6; }
11143 if ${ac_cv_lib_soname_OSMesa+:} false; then :
11144 $as_echo_n "(cached) " >&6
11145 else
11146 ac_check_soname_save_LIBS=$LIBS
11147 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11149 /* end confdefs.h. */
11151 /* Override any GCC internal prototype to avoid an error.
11152 Use char because int might match the return type of a GCC
11153 builtin and then its argument prototype would still apply. */
11154 #ifdef __cplusplus
11155 extern "C"
11156 #endif
11157 char OSMesaGetProcAddress ();
11159 main ()
11161 return OSMesaGetProcAddress ();
11163 return 0;
11165 _ACEOF
11166 if ac_fn_c_try_link "$LINENO"; then :
11167 case "$LIBEXT" in
11168 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11169 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'` ;;
11170 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11171 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11172 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11173 fi ;;
11174 esac
11176 rm -f core conftest.err conftest.$ac_objext \
11177 conftest$ac_exeext conftest.$ac_ext
11178 LIBS=$ac_check_soname_save_LIBS
11180 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11182 $as_echo "not found" >&6; }
11184 else
11185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
11186 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
11188 cat >>confdefs.h <<_ACEOF
11189 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
11190 _ACEOF
11194 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
11195 case "x$with_osmesa" in
11196 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
11197 xno) ;;
11198 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
11199 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
11200 esac
11205 if test -n "$opengl_msg"; then :
11206 case "x$with_opengl" in
11207 x) as_fn_append wine_warnings "|$opengl_msg
11208 OpenGL and Direct3D won't be supported." ;;
11209 xno) ;;
11210 *) as_fn_error $? "$opengl_msg
11211 OpenGL and Direct3D won't be supported.
11212 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
11213 esac
11217 CPPFLAGS="$ac_save_CPPFLAGS"
11218 else
11219 X_CFLAGS=""
11220 X_LIBS=""
11223 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
11224 then
11225 if test "x$X_LIBS" = "x"; then :
11226 case "x$with_x" in
11227 xno) ;;
11228 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
11229 without X support, which probably isn't what you want. You will need
11230 to install ${notice_platform}development packages of Xlib at the very least.
11231 Use the --without-x option if you really want this." "$LINENO" 5 ;;
11232 esac
11233 enable_winex11_drv=${enable_winex11_drv:-no}
11235 else
11236 if test "x$X_LIBS" = "x"; then :
11237 case "x$with_x" in
11238 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
11239 xno) ;;
11240 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
11241 This is an error since --with-x was requested." "$LINENO" 5 ;;
11242 esac
11243 enable_winex11_drv=${enable_winex11_drv:-no}
11247 if test "$ac_cv_header_CL_cl_h" = "yes"
11248 then
11249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
11250 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
11251 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
11252 $as_echo_n "(cached) " >&6
11253 else
11254 ac_check_lib_save_LIBS=$LIBS
11255 LIBS="-lOpenCL $LIBS"
11256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11257 /* end confdefs.h. */
11259 /* Override any GCC internal prototype to avoid an error.
11260 Use char because int might match the return type of a GCC
11261 builtin and then its argument prototype would still apply. */
11262 #ifdef __cplusplus
11263 extern "C"
11264 #endif
11265 char clGetPlatformInfo ();
11267 main ()
11269 return clGetPlatformInfo ();
11271 return 0;
11273 _ACEOF
11274 if ac_fn_c_try_link "$LINENO"; then :
11275 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
11276 else
11277 ac_cv_lib_OpenCL_clGetPlatformInfo=no
11279 rm -f core conftest.err conftest.$ac_objext \
11280 conftest$ac_exeext conftest.$ac_ext
11281 LIBS=$ac_check_lib_save_LIBS
11283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11284 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11285 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
11286 OPENCL_LIBS="-lOpenCL"
11291 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11292 case "x$with_opencl" in
11293 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11294 xno) ;;
11295 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11296 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11297 esac
11298 enable_opencl=${enable_opencl:-no}
11301 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11302 then
11303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11304 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11305 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11306 $as_echo_n "(cached) " >&6
11307 else
11308 ac_check_lib_save_LIBS=$LIBS
11309 LIBS="-lpcap $LIBS"
11310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11311 /* end confdefs.h. */
11313 /* Override any GCC internal prototype to avoid an error.
11314 Use char because int might match the return type of a GCC
11315 builtin and then its argument prototype would still apply. */
11316 #ifdef __cplusplus
11317 extern "C"
11318 #endif
11319 char pcap_create ();
11321 main ()
11323 return pcap_create ();
11325 return 0;
11327 _ACEOF
11328 if ac_fn_c_try_link "$LINENO"; then :
11329 ac_cv_lib_pcap_pcap_create=yes
11330 else
11331 ac_cv_lib_pcap_pcap_create=no
11333 rm -f core conftest.err conftest.$ac_objext \
11334 conftest$ac_exeext conftest.$ac_ext
11335 LIBS=$ac_check_lib_save_LIBS
11337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11338 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11339 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11340 PCAP_LIBS="-lpcap"
11345 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11346 case "x$with_pcap" in
11347 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11348 xno) ;;
11349 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11350 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11351 esac
11352 enable_wpcap=${enable_wpcap:-no}
11356 if test "x$with_xml" != "xno"
11357 then
11358 if ${XML2_CFLAGS:+false} :; then :
11359 if ${PKG_CONFIG+:} false; then :
11360 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11363 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11364 if ${XML2_LIBS:+false} :; then :
11365 if ${PKG_CONFIG+:} false; then :
11366 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11369 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11370 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11371 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11372 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11373 ac_save_CPPFLAGS=$CPPFLAGS
11374 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11375 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11376 do :
11377 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11378 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11379 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11380 cat >>confdefs.h <<_ACEOF
11381 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11382 _ACEOF
11386 done
11388 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"
11389 then
11390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11391 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11392 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11393 $as_echo_n "(cached) " >&6
11394 else
11395 ac_check_lib_save_LIBS=$LIBS
11396 LIBS="-lxml2 $XML2_LIBS $LIBS"
11397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11398 /* end confdefs.h. */
11400 /* Override any GCC internal prototype to avoid an error.
11401 Use char because int might match the return type of a GCC
11402 builtin and then its argument prototype would still apply. */
11403 #ifdef __cplusplus
11404 extern "C"
11405 #endif
11406 char xmlParseMemory ();
11408 main ()
11410 return xmlParseMemory ();
11412 return 0;
11414 _ACEOF
11415 if ac_fn_c_try_link "$LINENO"; then :
11416 ac_cv_lib_xml2_xmlParseMemory=yes
11417 else
11418 ac_cv_lib_xml2_xmlParseMemory=no
11420 rm -f core conftest.err conftest.$ac_objext \
11421 conftest$ac_exeext conftest.$ac_ext
11422 LIBS=$ac_check_lib_save_LIBS
11424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11425 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11426 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11428 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11430 else
11431 XML2_LIBS=""
11434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11435 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11436 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11437 $as_echo_n "(cached) " >&6
11438 else
11439 ac_check_lib_save_LIBS=$LIBS
11440 LIBS="-lxml2 $XML2_LIBS $LIBS"
11441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11442 /* end confdefs.h. */
11444 /* Override any GCC internal prototype to avoid an error.
11445 Use char because int might match the return type of a GCC
11446 builtin and then its argument prototype would still apply. */
11447 #ifdef __cplusplus
11448 extern "C"
11449 #endif
11450 char xmlReadMemory ();
11452 main ()
11454 return xmlReadMemory ();
11456 return 0;
11458 _ACEOF
11459 if ac_fn_c_try_link "$LINENO"; then :
11460 ac_cv_lib_xml2_xmlReadMemory=yes
11461 else
11462 ac_cv_lib_xml2_xmlReadMemory=no
11464 rm -f core conftest.err conftest.$ac_objext \
11465 conftest$ac_exeext conftest.$ac_ext
11466 LIBS=$ac_check_lib_save_LIBS
11468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11469 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11470 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11472 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11477 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11478 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11479 $as_echo_n "(cached) " >&6
11480 else
11481 ac_check_lib_save_LIBS=$LIBS
11482 LIBS="-lxml2 $XML2_LIBS $LIBS"
11483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11484 /* end confdefs.h. */
11486 /* Override any GCC internal prototype to avoid an error.
11487 Use char because int might match the return type of a GCC
11488 builtin and then its argument prototype would still apply. */
11489 #ifdef __cplusplus
11490 extern "C"
11491 #endif
11492 char xmlNewDocPI ();
11494 main ()
11496 return xmlNewDocPI ();
11498 return 0;
11500 _ACEOF
11501 if ac_fn_c_try_link "$LINENO"; then :
11502 ac_cv_lib_xml2_xmlNewDocPI=yes
11503 else
11504 ac_cv_lib_xml2_xmlNewDocPI=no
11506 rm -f core conftest.err conftest.$ac_objext \
11507 conftest$ac_exeext conftest.$ac_ext
11508 LIBS=$ac_check_lib_save_LIBS
11510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11511 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11512 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11514 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11519 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11520 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11521 $as_echo_n "(cached) " >&6
11522 else
11523 ac_check_lib_save_LIBS=$LIBS
11524 LIBS="-lxml2 $XML2_LIBS $LIBS"
11525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11526 /* end confdefs.h. */
11528 /* Override any GCC internal prototype to avoid an error.
11529 Use char because int might match the return type of a GCC
11530 builtin and then its argument prototype would still apply. */
11531 #ifdef __cplusplus
11532 extern "C"
11533 #endif
11534 char xmlSchemaSetParserStructuredErrors ();
11536 main ()
11538 return xmlSchemaSetParserStructuredErrors ();
11540 return 0;
11542 _ACEOF
11543 if ac_fn_c_try_link "$LINENO"; then :
11544 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11545 else
11546 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11548 rm -f core conftest.err conftest.$ac_objext \
11549 conftest$ac_exeext conftest.$ac_ext
11550 LIBS=$ac_check_lib_save_LIBS
11552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11553 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11554 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11556 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11561 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11562 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11563 $as_echo_n "(cached) " >&6
11564 else
11565 ac_check_lib_save_LIBS=$LIBS
11566 LIBS="-lxml2 $XML2_LIBS $LIBS"
11567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11568 /* end confdefs.h. */
11570 /* Override any GCC internal prototype to avoid an error.
11571 Use char because int might match the return type of a GCC
11572 builtin and then its argument prototype would still apply. */
11573 #ifdef __cplusplus
11574 extern "C"
11575 #endif
11576 char xmlSchemaSetValidStructuredErrors ();
11578 main ()
11580 return xmlSchemaSetValidStructuredErrors ();
11582 return 0;
11584 _ACEOF
11585 if ac_fn_c_try_link "$LINENO"; then :
11586 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11587 else
11588 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11590 rm -f core conftest.err conftest.$ac_objext \
11591 conftest$ac_exeext conftest.$ac_ext
11592 LIBS=$ac_check_lib_save_LIBS
11594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11595 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11596 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11598 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11603 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11604 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11605 $as_echo_n "(cached) " >&6
11606 else
11607 ac_check_lib_save_LIBS=$LIBS
11608 LIBS="-lxml2 $XML2_LIBS $LIBS"
11609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11610 /* end confdefs.h. */
11612 /* Override any GCC internal prototype to avoid an error.
11613 Use char because int might match the return type of a GCC
11614 builtin and then its argument prototype would still apply. */
11615 #ifdef __cplusplus
11616 extern "C"
11617 #endif
11618 char xmlFirstElementChild ();
11620 main ()
11622 return xmlFirstElementChild ();
11624 return 0;
11626 _ACEOF
11627 if ac_fn_c_try_link "$LINENO"; then :
11628 ac_cv_lib_xml2_xmlFirstElementChild=yes
11629 else
11630 ac_cv_lib_xml2_xmlFirstElementChild=no
11632 rm -f core conftest.err conftest.$ac_objext \
11633 conftest$ac_exeext conftest.$ac_ext
11634 LIBS=$ac_check_lib_save_LIBS
11636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11637 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11638 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11640 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11644 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11646 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11648 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11652 else
11653 XML2_CFLAGS=""
11654 XML2_LIBS=""
11656 CPPFLAGS=$ac_save_CPPFLAGS
11657 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11658 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11661 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11662 case "x$with_xml" in
11663 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11664 xno) ;;
11665 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11666 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11667 esac
11671 if test "x$with_xslt" != "xno"
11672 then
11673 if ${XSLT_CFLAGS:+false} :; then :
11674 if ${PKG_CONFIG+:} false; then :
11675 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11678 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11679 if ${XSLT_LIBS:+false} :; then :
11680 if ${PKG_CONFIG+:} false; then :
11681 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11684 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11685 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11686 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11687 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11688 ac_save_CPPFLAGS=$CPPFLAGS
11689 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11690 for ac_header in libxslt/pattern.h libxslt/transform.h
11691 do :
11692 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11693 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11694 # include <libxslt/pattern.h>
11695 #endif
11697 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11698 cat >>confdefs.h <<_ACEOF
11699 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11700 _ACEOF
11704 done
11706 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11707 then
11708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11709 $as_echo_n "checking for -lxslt... " >&6; }
11710 if ${ac_cv_lib_soname_xslt+:} false; then :
11711 $as_echo_n "(cached) " >&6
11712 else
11713 ac_check_soname_save_LIBS=$LIBS
11714 LIBS="-lxslt $XSLT_LIBS $LIBS"
11715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11716 /* end confdefs.h. */
11718 /* Override any GCC internal prototype to avoid an error.
11719 Use char because int might match the return type of a GCC
11720 builtin and then its argument prototype would still apply. */
11721 #ifdef __cplusplus
11722 extern "C"
11723 #endif
11724 char xsltCompilePattern ();
11726 main ()
11728 return xsltCompilePattern ();
11730 return 0;
11732 _ACEOF
11733 if ac_fn_c_try_link "$LINENO"; then :
11734 case "$LIBEXT" in
11735 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11736 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'` ;;
11737 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11738 if ${ac_cv_lib_soname_xslt:+false} :; then :
11739 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11740 fi ;;
11741 esac
11743 rm -f core conftest.err conftest.$ac_objext \
11744 conftest$ac_exeext conftest.$ac_ext
11745 LIBS=$ac_check_soname_save_LIBS
11747 if ${ac_cv_lib_soname_xslt:+false} :; then :
11748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11749 $as_echo "not found" >&6; }
11751 else
11752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11753 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11755 cat >>confdefs.h <<_ACEOF
11756 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11757 _ACEOF
11761 else
11762 XSLT_CFLAGS=""
11764 CPPFLAGS=$ac_save_CPPFLAGS
11765 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11766 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11769 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11770 case "x$with_xslt" in
11771 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11772 xno) ;;
11773 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11774 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11775 esac
11779 if test "x$with_dbus" != "xno"
11780 then
11781 if ${DBUS_CFLAGS:+false} :; then :
11782 if ${PKG_CONFIG+:} false; then :
11783 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11787 if ${DBUS_LIBS:+false} :; then :
11788 if ${PKG_CONFIG+:} false; then :
11789 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11794 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11795 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11796 ac_save_CPPFLAGS=$CPPFLAGS
11797 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11798 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11799 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11801 $as_echo_n "checking for -ldbus-1... " >&6; }
11802 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11803 $as_echo_n "(cached) " >&6
11804 else
11805 ac_check_soname_save_LIBS=$LIBS
11806 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11808 /* end confdefs.h. */
11810 /* Override any GCC internal prototype to avoid an error.
11811 Use char because int might match the return type of a GCC
11812 builtin and then its argument prototype would still apply. */
11813 #ifdef __cplusplus
11814 extern "C"
11815 #endif
11816 char dbus_connection_close ();
11818 main ()
11820 return dbus_connection_close ();
11822 return 0;
11824 _ACEOF
11825 if ac_fn_c_try_link "$LINENO"; then :
11826 case "$LIBEXT" in
11827 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11828 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'` ;;
11829 *) 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'`
11830 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11831 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11832 fi ;;
11833 esac
11835 rm -f core conftest.err conftest.$ac_objext \
11836 conftest$ac_exeext conftest.$ac_ext
11837 LIBS=$ac_check_soname_save_LIBS
11839 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11841 $as_echo "not found" >&6; }
11842 DBUS_CFLAGS=""
11843 else
11844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11845 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11847 cat >>confdefs.h <<_ACEOF
11848 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11849 _ACEOF
11853 else
11854 DBUS_CFLAGS=""
11858 CPPFLAGS=$ac_save_CPPFLAGS
11859 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11860 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11863 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11864 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11865 case "x$with_dbus" in
11866 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11867 xno) ;;
11868 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11869 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11870 esac
11874 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11875 then
11876 if ${HAL_CFLAGS:+false} :; then :
11877 if ${PKG_CONFIG+:} false; then :
11878 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11882 if ${HAL_LIBS:+false} :; then :
11883 if ${PKG_CONFIG+:} false; then :
11884 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11888 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11889 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11890 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11891 ac_save_CPPFLAGS=$CPPFLAGS
11892 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11893 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11894 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11896 $as_echo_n "checking for -lhal... " >&6; }
11897 if ${ac_cv_lib_soname_hal+:} false; then :
11898 $as_echo_n "(cached) " >&6
11899 else
11900 ac_check_soname_save_LIBS=$LIBS
11901 LIBS="-lhal $HAL_LIBS $LIBS"
11902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11903 /* end confdefs.h. */
11905 /* Override any GCC internal prototype to avoid an error.
11906 Use char because int might match the return type of a GCC
11907 builtin and then its argument prototype would still apply. */
11908 #ifdef __cplusplus
11909 extern "C"
11910 #endif
11911 char libhal_ctx_new ();
11913 main ()
11915 return libhal_ctx_new ();
11917 return 0;
11919 _ACEOF
11920 if ac_fn_c_try_link "$LINENO"; then :
11921 case "$LIBEXT" in
11922 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11923 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'` ;;
11924 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11925 if ${ac_cv_lib_soname_hal:+false} :; then :
11926 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11927 fi ;;
11928 esac
11930 rm -f core conftest.err conftest.$ac_objext \
11931 conftest$ac_exeext conftest.$ac_ext
11932 LIBS=$ac_check_soname_save_LIBS
11934 if ${ac_cv_lib_soname_hal:+false} :; then :
11935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11936 $as_echo "not found" >&6; }
11937 HAL_CFLAGS=""
11938 else
11939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11940 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11942 cat >>confdefs.h <<_ACEOF
11943 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11944 _ACEOF
11948 else
11949 HAL_CFLAGS=""
11953 CPPFLAGS=$ac_save_CPPFLAGS
11954 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11955 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11957 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11958 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11959 case "x$with_hal" in
11960 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11961 xno) ;;
11962 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11963 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11964 esac
11969 if test "x$with_gnutls" != "xno"
11970 then
11971 if ${GNUTLS_CFLAGS:+false} :; then :
11972 if ${PKG_CONFIG+:} false; then :
11973 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11977 if ${GNUTLS_LIBS:+false} :; then :
11978 if ${PKG_CONFIG+:} false; then :
11979 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11984 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11985 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11986 ac_save_CPPFLAGS=$CPPFLAGS
11987 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11988 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11989 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11991 /* end confdefs.h. */
11992 #include <gnutls/gnutls.h>
11993 #include <gnutls/crypto.h>
11995 main ()
11997 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11999 return 0;
12001 _ACEOF
12002 if ac_fn_c_try_compile "$LINENO"; then :
12003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
12004 $as_echo_n "checking for -lgnutls... " >&6; }
12005 if ${ac_cv_lib_soname_gnutls+:} false; then :
12006 $as_echo_n "(cached) " >&6
12007 else
12008 ac_check_soname_save_LIBS=$LIBS
12009 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
12010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12011 /* end confdefs.h. */
12013 /* Override any GCC internal prototype to avoid an error.
12014 Use char because int might match the return type of a GCC
12015 builtin and then its argument prototype would still apply. */
12016 #ifdef __cplusplus
12017 extern "C"
12018 #endif
12019 char gnutls_global_init ();
12021 main ()
12023 return gnutls_global_init ();
12025 return 0;
12027 _ACEOF
12028 if ac_fn_c_try_link "$LINENO"; then :
12029 case "$LIBEXT" in
12030 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12031 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'` ;;
12032 *) 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'`
12033 if ${ac_cv_lib_soname_gnutls:+false} :; then :
12034 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'`
12035 fi ;;
12036 esac
12038 rm -f core conftest.err conftest.$ac_objext \
12039 conftest$ac_exeext conftest.$ac_ext
12040 LIBS=$ac_check_soname_save_LIBS
12042 if ${ac_cv_lib_soname_gnutls:+false} :; then :
12043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12044 $as_echo "not found" >&6; }
12045 GNUTLS_CFLAGS=""
12046 else
12047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
12048 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
12050 cat >>confdefs.h <<_ACEOF
12051 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
12052 _ACEOF
12056 ac_wine_check_funcs_save_LIBS="$LIBS"
12057 LIBS="$LIBS $GNUTLS_LIBS"
12058 for ac_func in gnutls_cipher_init
12059 do :
12060 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
12061 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
12062 cat >>confdefs.h <<_ACEOF
12063 #define HAVE_GNUTLS_CIPHER_INIT 1
12064 _ACEOF
12066 else
12067 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
12069 done
12071 LIBS="$ac_wine_check_funcs_save_LIBS"
12073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12074 else
12075 GNUTLS_CFLAGS=""
12079 CPPFLAGS=$ac_save_CPPFLAGS
12080 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12081 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12084 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
12085 case "x$with_gnutls" in
12086 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
12087 xno) ;;
12088 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
12089 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
12090 esac
12094 CURSES_LIBS=""
12095 if test "$ac_cv_header_ncurses_h" = "yes"
12096 then
12097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
12098 $as_echo_n "checking for -lncurses... " >&6; }
12099 if ${ac_cv_lib_soname_ncurses+:} false; then :
12100 $as_echo_n "(cached) " >&6
12101 else
12102 ac_check_soname_save_LIBS=$LIBS
12103 LIBS="-lncurses $LIBS"
12104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12105 /* end confdefs.h. */
12107 /* Override any GCC internal prototype to avoid an error.
12108 Use char because int might match the return type of a GCC
12109 builtin and then its argument prototype would still apply. */
12110 #ifdef __cplusplus
12111 extern "C"
12112 #endif
12113 char waddch ();
12115 main ()
12117 return waddch ();
12119 return 0;
12121 _ACEOF
12122 if ac_fn_c_try_link "$LINENO"; then :
12123 case "$LIBEXT" in
12124 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12125 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'` ;;
12126 *) 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'`
12127 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12128 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12129 fi ;;
12130 esac
12132 rm -f core conftest.err conftest.$ac_objext \
12133 conftest$ac_exeext conftest.$ac_ext
12134 LIBS=$ac_check_soname_save_LIBS
12136 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12138 $as_echo "not found" >&6; }
12140 else
12141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
12142 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
12144 cat >>confdefs.h <<_ACEOF
12145 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12146 _ACEOF
12148 CURSES_LIBS="-lncurses"
12150 elif test "$ac_cv_header_curses_h" = "yes"
12151 then
12152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
12153 $as_echo_n "checking for -lcurses... " >&6; }
12154 if ${ac_cv_lib_soname_curses+:} false; then :
12155 $as_echo_n "(cached) " >&6
12156 else
12157 ac_check_soname_save_LIBS=$LIBS
12158 LIBS="-lcurses $LIBS"
12159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12160 /* end confdefs.h. */
12162 /* Override any GCC internal prototype to avoid an error.
12163 Use char because int might match the return type of a GCC
12164 builtin and then its argument prototype would still apply. */
12165 #ifdef __cplusplus
12166 extern "C"
12167 #endif
12168 char waddch ();
12170 main ()
12172 return waddch ();
12174 return 0;
12176 _ACEOF
12177 if ac_fn_c_try_link "$LINENO"; then :
12178 case "$LIBEXT" in
12179 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12180 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'` ;;
12181 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12182 if ${ac_cv_lib_soname_curses:+false} :; then :
12183 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12184 fi ;;
12185 esac
12187 rm -f core conftest.err conftest.$ac_objext \
12188 conftest$ac_exeext conftest.$ac_ext
12189 LIBS=$ac_check_soname_save_LIBS
12191 if ${ac_cv_lib_soname_curses:+false} :; then :
12192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12193 $as_echo "not found" >&6; }
12195 else
12196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
12197 $as_echo "$ac_cv_lib_soname_curses" >&6; }
12199 cat >>confdefs.h <<_ACEOF
12200 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12201 _ACEOF
12203 CURSES_LIBS="-lcurses"
12206 ac_save_LIBS="$LIBS"
12207 LIBS="$LIBS $CURSES_LIBS"
12208 for ac_func in mousemask
12209 do :
12210 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
12211 if test "x$ac_cv_func_mousemask" = xyes; then :
12212 cat >>confdefs.h <<_ACEOF
12213 #define HAVE_MOUSEMASK 1
12214 _ACEOF
12217 done
12219 LIBS="$ac_save_LIBS"
12220 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
12221 case "x$with_curses" in
12222 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
12223 xno) ;;
12224 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
12225 This is an error since --with-curses was requested." "$LINENO" 5 ;;
12226 esac
12230 if test "x$with_sane" != "xno"
12231 then
12232 if ${SANE_CFLAGS:+false} :; then :
12233 if ${PKG_CONFIG+:} false; then :
12234 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
12237 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
12238 if ${SANE_LIBS:+false} :; then :
12239 if ${PKG_CONFIG+:} false; then :
12240 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
12243 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
12245 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
12246 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
12247 ac_save_CPPFLAGS=$CPPFLAGS
12248 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
12249 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
12250 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
12251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
12252 $as_echo_n "checking for -lsane... " >&6; }
12253 if ${ac_cv_lib_soname_sane+:} false; then :
12254 $as_echo_n "(cached) " >&6
12255 else
12256 ac_check_soname_save_LIBS=$LIBS
12257 LIBS="-lsane $SANE_LIBS $LIBS"
12258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12259 /* end confdefs.h. */
12261 /* Override any GCC internal prototype to avoid an error.
12262 Use char because int might match the return type of a GCC
12263 builtin and then its argument prototype would still apply. */
12264 #ifdef __cplusplus
12265 extern "C"
12266 #endif
12267 char sane_init ();
12269 main ()
12271 return sane_init ();
12273 return 0;
12275 _ACEOF
12276 if ac_fn_c_try_link "$LINENO"; then :
12277 case "$LIBEXT" in
12278 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12279 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'` ;;
12280 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12281 if ${ac_cv_lib_soname_sane:+false} :; then :
12282 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12283 fi ;;
12284 esac
12286 rm -f core conftest.err conftest.$ac_objext \
12287 conftest$ac_exeext conftest.$ac_ext
12288 LIBS=$ac_check_soname_save_LIBS
12290 if ${ac_cv_lib_soname_sane:+false} :; then :
12291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12292 $as_echo "not found" >&6; }
12293 SANE_CFLAGS=""
12294 else
12295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12296 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12298 cat >>confdefs.h <<_ACEOF
12299 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12300 _ACEOF
12304 else
12305 SANE_CFLAGS=""
12309 CPPFLAGS=$ac_save_CPPFLAGS
12310 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12311 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12314 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12315 case "x$with_sane" in
12316 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12317 xno) ;;
12318 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12319 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12320 esac
12324 if test "x$with_v4l" != "xno"
12325 then
12326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12327 $as_echo_n "checking for -lv4l1... " >&6; }
12328 if ${ac_cv_lib_soname_v4l1+:} false; then :
12329 $as_echo_n "(cached) " >&6
12330 else
12331 ac_check_soname_save_LIBS=$LIBS
12332 LIBS="-lv4l1 $LIBS"
12333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12334 /* end confdefs.h. */
12336 /* Override any GCC internal prototype to avoid an error.
12337 Use char because int might match the return type of a GCC
12338 builtin and then its argument prototype would still apply. */
12339 #ifdef __cplusplus
12340 extern "C"
12341 #endif
12342 char v4l1_open ();
12344 main ()
12346 return v4l1_open ();
12348 return 0;
12350 _ACEOF
12351 if ac_fn_c_try_link "$LINENO"; then :
12352 case "$LIBEXT" in
12353 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12354 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'` ;;
12355 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12356 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12357 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12358 fi ;;
12359 esac
12361 rm -f core conftest.err conftest.$ac_objext \
12362 conftest$ac_exeext conftest.$ac_ext
12363 LIBS=$ac_check_soname_save_LIBS
12365 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12367 $as_echo "not found" >&6; }
12369 else
12370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12371 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12373 cat >>confdefs.h <<_ACEOF
12374 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12375 _ACEOF
12380 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12381 case "x$with_v4l" in
12382 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12383 xno) ;;
12384 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12385 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12386 esac
12390 if test "x$with_gphoto" != "xno"
12391 then
12392 if ${GPHOTO2_CFLAGS:+false} :; then :
12393 if ${PKG_CONFIG+:} false; then :
12394 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12397 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12398 if ${GPHOTO2_LIBS:+false} :; then :
12399 if ${PKG_CONFIG+:} false; then :
12400 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12403 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12404 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12405 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12406 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12407 ac_save_CPPFLAGS=$CPPFLAGS
12408 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12409 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12410 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12412 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12413 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12414 $as_echo_n "(cached) " >&6
12415 else
12416 ac_check_lib_save_LIBS=$LIBS
12417 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12419 /* end confdefs.h. */
12421 /* Override any GCC internal prototype to avoid an error.
12422 Use char because int might match the return type of a GCC
12423 builtin and then its argument prototype would still apply. */
12424 #ifdef __cplusplus
12425 extern "C"
12426 #endif
12427 char gp_camera_new ();
12429 main ()
12431 return gp_camera_new ();
12433 return 0;
12435 _ACEOF
12436 if ac_fn_c_try_link "$LINENO"; then :
12437 ac_cv_lib_gphoto2_gp_camera_new=yes
12438 else
12439 ac_cv_lib_gphoto2_gp_camera_new=no
12441 rm -f core conftest.err conftest.$ac_objext \
12442 conftest$ac_exeext conftest.$ac_ext
12443 LIBS=$ac_check_lib_save_LIBS
12445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12446 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12447 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12449 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12451 else
12452 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12455 else
12456 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12460 CPPFLAGS=$ac_save_CPPFLAGS
12461 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12462 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12464 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12465 if ${PKG_CONFIG+:} false; then :
12466 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12469 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12470 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12471 if ${PKG_CONFIG+:} false; then :
12472 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12475 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12476 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12477 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12478 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12479 ac_save_CPPFLAGS=$CPPFLAGS
12480 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12481 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12482 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12484 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12485 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12486 $as_echo_n "(cached) " >&6
12487 else
12488 ac_check_lib_save_LIBS=$LIBS
12489 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12491 /* end confdefs.h. */
12493 /* Override any GCC internal prototype to avoid an error.
12494 Use char because int might match the return type of a GCC
12495 builtin and then its argument prototype would still apply. */
12496 #ifdef __cplusplus
12497 extern "C"
12498 #endif
12499 char gp_port_info_list_new ();
12501 main ()
12503 return gp_port_info_list_new ();
12505 return 0;
12507 _ACEOF
12508 if ac_fn_c_try_link "$LINENO"; then :
12509 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12510 else
12511 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12513 rm -f core conftest.err conftest.$ac_objext \
12514 conftest$ac_exeext conftest.$ac_ext
12515 LIBS=$ac_check_lib_save_LIBS
12517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12518 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12519 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12521 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12523 else
12524 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12527 else
12528 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12532 CPPFLAGS=$ac_save_CPPFLAGS
12533 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12534 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12537 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12538 case "x$with_gphoto" in
12539 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12540 xno) ;;
12541 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12542 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12543 esac
12546 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12547 case "x$with_gphoto" in
12548 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12549 xno) ;;
12550 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12551 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12552 esac
12557 if test "$ac_cv_header_resolv_h" = "yes"
12558 then
12559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12560 $as_echo_n "checking for resolver library... " >&6; }
12561 if ${ac_cv_have_resolv+:} false; then :
12562 $as_echo_n "(cached) " >&6
12563 else
12564 ac_save_LIBS="$LIBS"
12565 for lib in '' -lresolv
12567 LIBS="$lib $ac_save_LIBS"
12568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12569 /* end confdefs.h. */
12570 #ifdef HAVE_NETINET_IN_H
12571 #include <netinet/in.h>
12572 #endif
12573 #include <resolv.h>
12575 main ()
12577 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12579 return 0;
12581 _ACEOF
12582 if ac_fn_c_try_link "$LINENO"; then :
12583 ac_cv_have_resolv=${lib:-"none required"}
12584 else
12585 ac_cv_have_resolv="not found"
12587 rm -f core conftest.err conftest.$ac_objext \
12588 conftest$ac_exeext conftest.$ac_ext
12589 test "x$ac_cv_have_resolv" = "xnot found" || break
12590 done
12591 LIBS="$ac_save_LIBS"
12593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12594 $as_echo "$ac_cv_have_resolv" >&6; }
12596 case "$ac_cv_have_resolv" in
12597 "not found") ;;
12598 "none required")
12600 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12603 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12605 RESOLV_LIBS=$ac_cv_have_resolv
12607 esac
12610 if test "x$with_cms" != "xno"
12611 then
12612 if ${LCMS2_CFLAGS:+false} :; then :
12613 if ${PKG_CONFIG+:} false; then :
12614 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12618 if ${LCMS2_LIBS:+false} :; then :
12619 if ${PKG_CONFIG+:} false; then :
12620 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12624 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12625 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12626 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12627 ac_save_CPPFLAGS=$CPPFLAGS
12628 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12629 for ac_header in lcms2.h
12630 do :
12631 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12632 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12633 cat >>confdefs.h <<_ACEOF
12634 #define HAVE_LCMS2_H 1
12635 _ACEOF
12639 done
12641 if test "$ac_cv_header_lcms2_h" = "yes"
12642 then
12643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12644 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12645 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12646 $as_echo_n "(cached) " >&6
12647 else
12648 ac_check_lib_save_LIBS=$LIBS
12649 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12651 /* end confdefs.h. */
12653 /* Override any GCC internal prototype to avoid an error.
12654 Use char because int might match the return type of a GCC
12655 builtin and then its argument prototype would still apply. */
12656 #ifdef __cplusplus
12657 extern "C"
12658 #endif
12659 char cmsOpenProfileFromFile ();
12661 main ()
12663 return cmsOpenProfileFromFile ();
12665 return 0;
12667 _ACEOF
12668 if ac_fn_c_try_link "$LINENO"; then :
12669 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12670 else
12671 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12673 rm -f core conftest.err conftest.$ac_objext \
12674 conftest$ac_exeext conftest.$ac_ext
12675 LIBS=$ac_check_lib_save_LIBS
12677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12678 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12679 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12681 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12683 else
12684 LCMS2_LIBS=""
12687 else
12688 LCMS2_CFLAGS=""
12689 LCMS2_LIBS=""
12691 CPPFLAGS=$ac_save_CPPFLAGS
12692 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12693 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12696 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12697 case "x$with_cms" in
12698 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12699 xno) ;;
12700 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12701 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12702 esac
12706 if test "x$with_freetype" != "xno"
12707 then
12708 if ${FREETYPE_CFLAGS:+false} :; then :
12709 if ${PKG_CONFIG+:} false; then :
12710 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12713 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12714 if ${FREETYPE_LIBS:+false} :; then :
12715 if ${PKG_CONFIG+:} false; then :
12716 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12719 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12720 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12721 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12722 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12723 ac_save_CPPFLAGS=$CPPFLAGS
12724 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12725 for ac_header in ft2build.h
12726 do :
12727 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12728 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12729 cat >>confdefs.h <<_ACEOF
12730 #define HAVE_FT2BUILD_H 1
12731 _ACEOF
12735 done
12737 if test "$ac_cv_header_ft2build_h" = "yes"
12738 then
12739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12740 $as_echo_n "checking for -lfreetype... " >&6; }
12741 if ${ac_cv_lib_soname_freetype+:} false; then :
12742 $as_echo_n "(cached) " >&6
12743 else
12744 ac_check_soname_save_LIBS=$LIBS
12745 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12747 /* end confdefs.h. */
12749 /* Override any GCC internal prototype to avoid an error.
12750 Use char because int might match the return type of a GCC
12751 builtin and then its argument prototype would still apply. */
12752 #ifdef __cplusplus
12753 extern "C"
12754 #endif
12755 char FT_Init_FreeType ();
12757 main ()
12759 return FT_Init_FreeType ();
12761 return 0;
12763 _ACEOF
12764 if ac_fn_c_try_link "$LINENO"; then :
12765 case "$LIBEXT" in
12766 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12767 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'` ;;
12768 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12769 if ${ac_cv_lib_soname_freetype:+false} :; then :
12770 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12771 fi ;;
12772 esac
12774 rm -f core conftest.err conftest.$ac_objext \
12775 conftest$ac_exeext conftest.$ac_ext
12776 LIBS=$ac_check_soname_save_LIBS
12778 if ${ac_cv_lib_soname_freetype:+false} :; then :
12779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12780 $as_echo "not found" >&6; }
12781 FREETYPE_LIBS=""
12782 else
12783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12784 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12786 cat >>confdefs.h <<_ACEOF
12787 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12788 _ACEOF
12791 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12793 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12794 #include FT_MODULE_H
12796 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12798 cat >>confdefs.h <<_ACEOF
12799 #define HAVE_FT_TRUETYPEENGINETYPE 1
12800 _ACEOF
12806 else
12807 FREETYPE_CFLAGS=""
12808 FREETYPE_LIBS=""
12810 CPPFLAGS=$ac_save_CPPFLAGS
12811 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12812 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12815 if test "x$ac_cv_lib_soname_freetype" = x; then :
12816 case "x$with_freetype" in
12817 xno) ;;
12818 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12819 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12820 esac
12821 enable_fonts=${enable_fonts:-no}
12824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12825 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12826 if ${ac_cv_c_ppdev+:} false; then :
12827 $as_echo_n "(cached) " >&6
12828 else
12829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12830 /* end confdefs.h. */
12831 #ifdef HAVE_SYS_IOCTL_H
12832 # include <sys/ioctl.h>
12833 #endif
12834 #include <linux/ppdev.h>
12836 main ()
12838 ioctl (1,PPCLAIM,0)
12840 return 0;
12842 _ACEOF
12843 if ac_fn_c_try_compile "$LINENO"; then :
12844 ac_cv_c_ppdev="yes"
12845 else
12846 ac_cv_c_ppdev="no"
12848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12851 $as_echo "$ac_cv_c_ppdev" >&6; }
12852 if test "$ac_cv_c_ppdev" = "yes"
12853 then
12855 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12859 ac_wine_check_funcs_save_LIBS="$LIBS"
12860 LIBS="$LIBS $PTHREAD_LIBS"
12861 for ac_func in \
12862 pthread_attr_get_np \
12863 pthread_getattr_np \
12864 pthread_getthreadid_np \
12865 pthread_get_stackaddr_np \
12866 pthread_get_stacksize_np
12867 do :
12868 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12869 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12870 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12871 cat >>confdefs.h <<_ACEOF
12872 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12873 _ACEOF
12876 done
12878 LIBS="$ac_wine_check_funcs_save_LIBS"
12880 if test "$ac_cv_header_zlib_h" = "yes"
12881 then
12882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12883 $as_echo_n "checking for inflate in -lz... " >&6; }
12884 if ${ac_cv_lib_z_inflate+:} false; then :
12885 $as_echo_n "(cached) " >&6
12886 else
12887 ac_check_lib_save_LIBS=$LIBS
12888 LIBS="-lz $LIBS"
12889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12890 /* end confdefs.h. */
12892 /* Override any GCC internal prototype to avoid an error.
12893 Use char because int might match the return type of a GCC
12894 builtin and then its argument prototype would still apply. */
12895 #ifdef __cplusplus
12896 extern "C"
12897 #endif
12898 char inflate ();
12900 main ()
12902 return inflate ();
12904 return 0;
12906 _ACEOF
12907 if ac_fn_c_try_link "$LINENO"; then :
12908 ac_cv_lib_z_inflate=yes
12909 else
12910 ac_cv_lib_z_inflate=no
12912 rm -f core conftest.err conftest.$ac_objext \
12913 conftest$ac_exeext conftest.$ac_ext
12914 LIBS=$ac_check_lib_save_LIBS
12916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12917 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12918 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12920 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12922 Z_LIBS="-lz"
12927 if test "x$Z_LIBS" = "x"; then :
12928 case "x$with_zlib" in
12929 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12930 xno) ;;
12931 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12932 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12933 esac
12937 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12938 then
12939 if test "$ac_cv_header_gettext_po_h" = "yes"
12940 then
12941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12942 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12943 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12944 $as_echo_n "(cached) " >&6
12945 else
12946 ac_check_lib_save_LIBS=$LIBS
12947 LIBS="-lgettextpo $LIBS"
12948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12949 /* end confdefs.h. */
12951 /* Override any GCC internal prototype to avoid an error.
12952 Use char because int might match the return type of a GCC
12953 builtin and then its argument prototype would still apply. */
12954 #ifdef __cplusplus
12955 extern "C"
12956 #endif
12957 char po_message_msgctxt ();
12959 main ()
12961 return po_message_msgctxt ();
12963 return 0;
12965 _ACEOF
12966 if ac_fn_c_try_link "$LINENO"; then :
12967 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12968 else
12969 ac_cv_lib_gettextpo_po_message_msgctxt=no
12971 rm -f core conftest.err conftest.$ac_objext \
12972 conftest$ac_exeext conftest.$ac_ext
12973 LIBS=$ac_check_lib_save_LIBS
12975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12976 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12977 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12979 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12981 GETTEXTPO_LIBS="-lgettextpo"
12986 if test "x$GETTEXTPO_LIBS" = "x"; then :
12987 case "x$with_gettextpo" in
12988 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12989 xno) ;;
12990 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12991 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12992 esac
12995 if test "$srcdir" != .; then :
12996 case "x$with_gettextpo" in
12997 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12998 xno) ;;
12999 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
13000 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
13001 esac
13006 if test "x$with_pulse" != "xno";
13007 then
13008 if ${PULSE_CFLAGS:+false} :; then :
13009 if ${PKG_CONFIG+:} false; then :
13010 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
13014 if ${PULSE_LIBS:+false} :; then :
13015 if ${PKG_CONFIG+:} false; then :
13016 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
13021 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
13022 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
13023 ac_save_CPPFLAGS=$CPPFLAGS
13024 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
13025 for ac_header in pulse/pulseaudio.h
13026 do :
13027 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
13028 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
13029 cat >>confdefs.h <<_ACEOF
13030 #define HAVE_PULSE_PULSEAUDIO_H 1
13031 _ACEOF
13032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
13033 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
13034 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
13035 $as_echo_n "(cached) " >&6
13036 else
13037 ac_check_lib_save_LIBS=$LIBS
13038 LIBS="-lpulse $PULSE_LIBS $LIBS"
13039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13040 /* end confdefs.h. */
13042 /* Override any GCC internal prototype to avoid an error.
13043 Use char because int might match the return type of a GCC
13044 builtin and then its argument prototype would still apply. */
13045 #ifdef __cplusplus
13046 extern "C"
13047 #endif
13048 char pa_stream_is_corked ();
13050 main ()
13052 return pa_stream_is_corked ();
13054 return 0;
13056 _ACEOF
13057 if ac_fn_c_try_link "$LINENO"; then :
13058 ac_cv_lib_pulse_pa_stream_is_corked=yes
13059 else
13060 ac_cv_lib_pulse_pa_stream_is_corked=no
13062 rm -f core conftest.err conftest.$ac_objext \
13063 conftest$ac_exeext conftest.$ac_ext
13064 LIBS=$ac_check_lib_save_LIBS
13066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
13067 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
13068 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
13070 else
13071 PULSE_LIBS=""
13074 else
13075 PULSE_LIBS=""
13078 done
13080 CPPFLAGS=$ac_save_CPPFLAGS
13081 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13082 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13085 if test -z "$PULSE_LIBS"; then :
13086 case "x$with_pulse" in
13087 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
13088 xno) ;;
13089 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
13090 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
13091 esac
13092 enable_winepulse_drv=${enable_winepulse_drv:-no}
13095 if test "x$with_gstreamer" != "xno"
13096 then
13097 if ${GSTREAMER_CFLAGS:+false} :; then :
13098 if ${PKG_CONFIG+:} false; then :
13099 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13103 if ${GSTREAMER_LIBS:+false} :; then :
13104 if ${PKG_CONFIG+:} false; then :
13105 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13110 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
13111 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
13112 ac_save_CPPFLAGS=$CPPFLAGS
13113 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
13114 ac_gst_incl=""
13115 for i in $GSTREAMER_CFLAGS
13117 case "$i" in
13118 -I*) ac_gst_incl="$ac_gst_incl $i";;
13119 esac
13120 done
13121 GSTREAMER_CFLAGS=$ac_gst_incl
13122 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
13123 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
13124 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
13125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
13126 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
13127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13128 /* end confdefs.h. */
13129 #include <gst/gst.h>
13131 main ()
13133 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
13135 return 0;
13137 _ACEOF
13138 if ac_fn_c_try_compile "$LINENO"; then :
13139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13140 $as_echo "yes" >&6; }
13141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
13142 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
13143 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
13144 $as_echo_n "(cached) " >&6
13145 else
13146 ac_check_lib_save_LIBS=$LIBS
13147 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
13148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13149 /* end confdefs.h. */
13151 /* Override any GCC internal prototype to avoid an error.
13152 Use char because int might match the return type of a GCC
13153 builtin and then its argument prototype would still apply. */
13154 #ifdef __cplusplus
13155 extern "C"
13156 #endif
13157 char gst_pad_new ();
13159 main ()
13161 return gst_pad_new ();
13163 return 0;
13165 _ACEOF
13166 if ac_fn_c_try_link "$LINENO"; then :
13167 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
13168 else
13169 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
13171 rm -f core conftest.err conftest.$ac_objext \
13172 conftest$ac_exeext conftest.$ac_ext
13173 LIBS=$ac_check_lib_save_LIBS
13175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
13176 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
13177 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
13181 else
13182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13183 $as_echo "no" >&6; }
13184 ac_glib2_broken=yes
13185 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
13187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13191 CPPFLAGS=$ac_save_CPPFLAGS
13192 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13193 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13196 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 :
13197 case "x$with_gstreamer" in
13198 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
13199 xno) ;;
13200 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
13201 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
13202 esac
13205 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
13207 ALSA_LIBS=""
13209 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13210 then
13211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
13212 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
13213 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
13214 $as_echo_n "(cached) " >&6
13215 else
13216 ac_check_lib_save_LIBS=$LIBS
13217 LIBS="-lasound $LIBS"
13218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13219 /* end confdefs.h. */
13221 /* Override any GCC internal prototype to avoid an error.
13222 Use char because int might match the return type of a GCC
13223 builtin and then its argument prototype would still apply. */
13224 #ifdef __cplusplus
13225 extern "C"
13226 #endif
13227 char snd_pcm_hw_params_get_access_mask ();
13229 main ()
13231 return snd_pcm_hw_params_get_access_mask ();
13233 return 0;
13235 _ACEOF
13236 if ac_fn_c_try_link "$LINENO"; then :
13237 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
13238 else
13239 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
13241 rm -f core conftest.err conftest.$ac_objext \
13242 conftest$ac_exeext conftest.$ac_ext
13243 LIBS=$ac_check_lib_save_LIBS
13245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
13246 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
13247 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
13248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13249 /* end confdefs.h. */
13250 #ifdef HAVE_ALSA_ASOUNDLIB_H
13251 #include <alsa/asoundlib.h>
13252 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13253 #include <sys/asoundlib.h>
13254 #endif
13256 main ()
13258 snd_pcm_hw_params_get_access_mask(NULL, NULL)
13260 return 0;
13262 _ACEOF
13263 if ac_fn_c_try_compile "$LINENO"; then :
13264 ALSA_LIBS="-lasound"
13266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13270 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13272 if test "x$with_oss" != xno
13273 then
13274 ac_save_CPPFLAGS="$CPPFLAGS"
13275 if test -f /etc/oss.conf
13276 then
13277 . /etc/oss.conf
13279 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
13280 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
13281 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13282 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
13283 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13285 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
13287 cat >>confdefs.h <<_ACEOF
13288 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13289 _ACEOF
13291 OSS4_CFLAGS="$ac_oss_incl"
13298 CPPFLAGS="$ac_save_CPPFLAGS"
13300 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13301 case "x$with_oss" in
13302 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13303 xno) ;;
13304 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13305 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13306 esac
13307 enable_wineoss_drv=${enable_wineoss_drv:-no}
13310 if test "x$with_udev" != "xno"
13311 then
13312 if ${UDEV_CFLAGS:+false} :; then :
13313 if ${PKG_CONFIG+:} false; then :
13314 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13318 if ${UDEV_LIBS:+false} :; then :
13319 if ${PKG_CONFIG+:} false; then :
13320 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13324 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13325 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13326 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13327 ac_save_CPPFLAGS=$CPPFLAGS
13328 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13329 for ac_header in libudev.h
13330 do :
13331 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13332 if test "x$ac_cv_header_libudev_h" = xyes; then :
13333 cat >>confdefs.h <<_ACEOF
13334 #define HAVE_LIBUDEV_H 1
13335 _ACEOF
13336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13337 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13338 if ${ac_cv_lib_udev_udev_new+:} false; then :
13339 $as_echo_n "(cached) " >&6
13340 else
13341 ac_check_lib_save_LIBS=$LIBS
13342 LIBS="-ludev $UDEV_LIBS $LIBS"
13343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13344 /* end confdefs.h. */
13346 /* Override any GCC internal prototype to avoid an error.
13347 Use char because int might match the return type of a GCC
13348 builtin and then its argument prototype would still apply. */
13349 #ifdef __cplusplus
13350 extern "C"
13351 #endif
13352 char udev_new ();
13354 main ()
13356 return udev_new ();
13358 return 0;
13360 _ACEOF
13361 if ac_fn_c_try_link "$LINENO"; then :
13362 ac_cv_lib_udev_udev_new=yes
13363 else
13364 ac_cv_lib_udev_udev_new=no
13366 rm -f core conftest.err conftest.$ac_objext \
13367 conftest$ac_exeext conftest.$ac_ext
13368 LIBS=$ac_check_lib_save_LIBS
13370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13371 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13372 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13374 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13376 else
13377 UDEV_LIBS=""
13380 else
13381 UDEV_LIBS=""
13384 done
13386 CPPFLAGS=$ac_save_CPPFLAGS
13387 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13388 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13391 if test "x$UDEV_LIBS" = "x"; then :
13392 case "x$with_udev" in
13393 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13394 xno) ;;
13395 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13396 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13397 esac
13401 if test "x$with_capi" != "xno"
13402 then
13403 if ${CAPI20_CFLAGS:+false} :; then :
13404 if ${PKG_CONFIG+:} false; then :
13405 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13409 if ${CAPI20_LIBS:+false} :; then :
13410 if ${PKG_CONFIG+:} false; then :
13411 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13416 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13417 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13418 ac_save_CPPFLAGS=$CPPFLAGS
13419 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13420 for ac_header in capi20.h linux/capi.h
13421 do :
13422 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13423 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13425 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13426 cat >>confdefs.h <<_ACEOF
13427 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13428 _ACEOF
13432 done
13434 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13435 then
13436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13437 $as_echo_n "checking for -lcapi20... " >&6; }
13438 if ${ac_cv_lib_soname_capi20+:} false; then :
13439 $as_echo_n "(cached) " >&6
13440 else
13441 ac_check_soname_save_LIBS=$LIBS
13442 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13444 /* end confdefs.h. */
13446 /* Override any GCC internal prototype to avoid an error.
13447 Use char because int might match the return type of a GCC
13448 builtin and then its argument prototype would still apply. */
13449 #ifdef __cplusplus
13450 extern "C"
13451 #endif
13452 char capi20_register ();
13454 main ()
13456 return capi20_register ();
13458 return 0;
13460 _ACEOF
13461 if ac_fn_c_try_link "$LINENO"; then :
13462 case "$LIBEXT" in
13463 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13464 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'` ;;
13465 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13466 if ${ac_cv_lib_soname_capi20:+false} :; then :
13467 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13468 fi ;;
13469 esac
13471 rm -f core conftest.err conftest.$ac_objext \
13472 conftest$ac_exeext conftest.$ac_ext
13473 LIBS=$ac_check_soname_save_LIBS
13475 if ${ac_cv_lib_soname_capi20:+false} :; then :
13476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13477 $as_echo "not found" >&6; }
13479 else
13480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13481 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13483 cat >>confdefs.h <<_ACEOF
13484 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13485 _ACEOF
13490 CPPFLAGS=$ac_save_CPPFLAGS
13491 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13492 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13495 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13496 case "x$with_capi" in
13497 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13498 xno) ;;
13499 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13500 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13501 esac
13505 if test "x$with_cups" != "xno"
13506 then
13507 if ${CUPS_CFLAGS:+false} :; then :
13508 if ${PKG_CONFIG+:} false; then :
13509 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
13512 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
13513 if ${CUPS_LIBS:+false} :; then :
13514 if ${PKG_CONFIG+:} false; then :
13515 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
13518 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
13519 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
13520 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
13521 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
13522 ac_save_CPPFLAGS=$CPPFLAGS
13523 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
13524 for ac_header in cups/cups.h cups/ppd.h
13525 do :
13526 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13527 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13528 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13529 cat >>confdefs.h <<_ACEOF
13530 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13531 _ACEOF
13535 done
13537 if test "$ac_cv_header_cups_cups_h" = "yes"
13538 then
13539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13540 $as_echo_n "checking for -lcups... " >&6; }
13541 if ${ac_cv_lib_soname_cups+:} false; then :
13542 $as_echo_n "(cached) " >&6
13543 else
13544 ac_check_soname_save_LIBS=$LIBS
13545 LIBS="-lcups $CUPS_LIBS $LIBS"
13546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13547 /* end confdefs.h. */
13549 /* Override any GCC internal prototype to avoid an error.
13550 Use char because int might match the return type of a GCC
13551 builtin and then its argument prototype would still apply. */
13552 #ifdef __cplusplus
13553 extern "C"
13554 #endif
13555 char cupsGetDefault ();
13557 main ()
13559 return cupsGetDefault ();
13561 return 0;
13563 _ACEOF
13564 if ac_fn_c_try_link "$LINENO"; then :
13565 case "$LIBEXT" in
13566 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13567 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'` ;;
13568 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13569 if ${ac_cv_lib_soname_cups:+false} :; then :
13570 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13571 fi ;;
13572 esac
13574 rm -f core conftest.err conftest.$ac_objext \
13575 conftest$ac_exeext conftest.$ac_ext
13576 LIBS=$ac_check_soname_save_LIBS
13578 if ${ac_cv_lib_soname_cups:+false} :; then :
13579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13580 $as_echo "not found" >&6; }
13581 CUPS_LIBS=""
13582 else
13583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13584 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13586 cat >>confdefs.h <<_ACEOF
13587 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13588 _ACEOF
13592 else
13593 CUPS_CFLAGS=""
13594 CUPS_LIBS=""
13596 CPPFLAGS=$ac_save_CPPFLAGS
13597 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13598 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13601 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13602 case "x$with_cups" in
13603 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13604 xno) ;;
13605 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13606 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13607 esac
13611 if test "x$with_fontconfig" != "xno"
13612 then
13613 if ${FONTCONFIG_CFLAGS:+false} :; then :
13614 if ${PKG_CONFIG+:} false; then :
13615 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13618 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13619 if ${FONTCONFIG_LIBS:+false} :; then :
13620 if ${PKG_CONFIG+:} false; then :
13621 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13624 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13626 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13627 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13628 ac_save_CPPFLAGS=$CPPFLAGS
13629 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13630 for ac_header in fontconfig/fontconfig.h
13631 do :
13632 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13633 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13634 cat >>confdefs.h <<_ACEOF
13635 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13636 _ACEOF
13640 done
13642 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13643 then
13644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13645 $as_echo_n "checking for -lfontconfig... " >&6; }
13646 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13647 $as_echo_n "(cached) " >&6
13648 else
13649 ac_check_soname_save_LIBS=$LIBS
13650 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13652 /* end confdefs.h. */
13654 /* Override any GCC internal prototype to avoid an error.
13655 Use char because int might match the return type of a GCC
13656 builtin and then its argument prototype would still apply. */
13657 #ifdef __cplusplus
13658 extern "C"
13659 #endif
13660 char FcInit ();
13662 main ()
13664 return FcInit ();
13666 return 0;
13668 _ACEOF
13669 if ac_fn_c_try_link "$LINENO"; then :
13670 case "$LIBEXT" in
13671 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13672 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'` ;;
13673 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13674 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13675 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13676 fi ;;
13677 esac
13679 rm -f core conftest.err conftest.$ac_objext \
13680 conftest$ac_exeext conftest.$ac_ext
13681 LIBS=$ac_check_soname_save_LIBS
13683 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13685 $as_echo "not found" >&6; }
13686 FONTCONFIG_CFLAGS=""
13687 else
13688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13689 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13691 cat >>confdefs.h <<_ACEOF
13692 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13693 _ACEOF
13697 else
13698 FONTCONFIG_CFLAGS=""
13700 CPPFLAGS=$ac_save_CPPFLAGS
13701 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13702 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13705 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13706 case "x$with_fontconfig" in
13707 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13708 xno) ;;
13709 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13710 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13711 esac
13715 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13716 then
13717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13718 $as_echo_n "checking for -lgsm... " >&6; }
13719 if ${ac_cv_lib_soname_gsm+:} false; then :
13720 $as_echo_n "(cached) " >&6
13721 else
13722 ac_check_soname_save_LIBS=$LIBS
13723 LIBS="-lgsm $LIBS"
13724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13725 /* end confdefs.h. */
13727 /* Override any GCC internal prototype to avoid an error.
13728 Use char because int might match the return type of a GCC
13729 builtin and then its argument prototype would still apply. */
13730 #ifdef __cplusplus
13731 extern "C"
13732 #endif
13733 char gsm_create ();
13735 main ()
13737 return gsm_create ();
13739 return 0;
13741 _ACEOF
13742 if ac_fn_c_try_link "$LINENO"; then :
13743 case "$LIBEXT" in
13744 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13745 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'` ;;
13746 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13747 if ${ac_cv_lib_soname_gsm:+false} :; then :
13748 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13749 fi ;;
13750 esac
13752 rm -f core conftest.err conftest.$ac_objext \
13753 conftest$ac_exeext conftest.$ac_ext
13754 LIBS=$ac_check_soname_save_LIBS
13756 if ${ac_cv_lib_soname_gsm:+false} :; then :
13757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13758 $as_echo "not found" >&6; }
13760 else
13761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13762 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13764 cat >>confdefs.h <<_ACEOF
13765 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13766 _ACEOF
13771 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13772 case "x$with_gsm" in
13773 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13774 xno) ;;
13775 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13776 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13777 esac
13781 if test "x$with_krb5" != "xno"
13782 then
13783 if ${KRB5_CFLAGS:+false} :; then :
13784 if ${PKG_CONFIG+:} false; then :
13785 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
13788 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
13789 if ${KRB5_LIBS:+false} :; then :
13790 if ${PKG_CONFIG+:} false; then :
13791 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
13794 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
13796 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
13797 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
13798 ac_save_CPPFLAGS=$CPPFLAGS
13799 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
13800 for ac_header in krb5/krb5.h
13801 do :
13802 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
13803 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
13804 cat >>confdefs.h <<_ACEOF
13805 #define HAVE_KRB5_KRB5_H 1
13806 _ACEOF
13810 done
13812 if test "$ac_cv_header_krb5_krb5_h" = "yes"
13813 then
13814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
13815 $as_echo_n "checking for -lkrb5... " >&6; }
13816 if ${ac_cv_lib_soname_krb5+:} false; then :
13817 $as_echo_n "(cached) " >&6
13818 else
13819 ac_check_soname_save_LIBS=$LIBS
13820 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
13821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13822 /* end confdefs.h. */
13824 /* Override any GCC internal prototype to avoid an error.
13825 Use char because int might match the return type of a GCC
13826 builtin and then its argument prototype would still apply. */
13827 #ifdef __cplusplus
13828 extern "C"
13829 #endif
13830 char krb5_init_context ();
13832 main ()
13834 return krb5_init_context ();
13836 return 0;
13838 _ACEOF
13839 if ac_fn_c_try_link "$LINENO"; then :
13840 case "$LIBEXT" in
13841 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13842 dylib) ac_cv_lib_soname_krb5=`$OTOOL -L conftest$ac_exeext | grep "libkrb5\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libkrb5\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
13843 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13844 if ${ac_cv_lib_soname_krb5:+false} :; then :
13845 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13846 fi ;;
13847 esac
13849 rm -f core conftest.err conftest.$ac_objext \
13850 conftest$ac_exeext conftest.$ac_ext
13851 LIBS=$ac_check_soname_save_LIBS
13853 if ${ac_cv_lib_soname_krb5:+false} :; then :
13854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13855 $as_echo "not found" >&6; }
13856 KRB5_CFLAGS=""
13857 else
13858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
13859 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
13861 cat >>confdefs.h <<_ACEOF
13862 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
13863 _ACEOF
13867 else
13868 KRB5_CFLAGS=""
13870 CPPFLAGS=$ac_save_CPPFLAGS
13871 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13872 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13875 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
13876 case "x$with_krb5" in
13877 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found, Kerberos won't be supported." ;;
13878 xno) ;;
13879 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found, Kerberos won't be supported.
13880 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
13881 esac
13885 if test "x$with_gssapi" != "xno"
13886 then
13887 if ${GSSAPI_CFLAGS:+false} :; then :
13888 if ${PKG_CONFIG+:} false; then :
13889 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
13892 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
13893 if ${GSSAPI_LIBS:+false} :; then :
13894 if ${PKG_CONFIG+:} false; then :
13895 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
13898 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
13900 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
13901 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
13902 ac_save_CPPFLAGS=$CPPFLAGS
13903 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
13904 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
13905 do :
13906 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13907 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13908 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13909 cat >>confdefs.h <<_ACEOF
13910 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13911 _ACEOF
13915 done
13917 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
13918 then
13919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
13920 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
13921 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
13922 $as_echo_n "(cached) " >&6
13923 else
13924 ac_check_soname_save_LIBS=$LIBS
13925 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
13926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13927 /* end confdefs.h. */
13929 /* Override any GCC internal prototype to avoid an error.
13930 Use char because int might match the return type of a GCC
13931 builtin and then its argument prototype would still apply. */
13932 #ifdef __cplusplus
13933 extern "C"
13934 #endif
13935 char gss_init_sec_context ();
13937 main ()
13939 return gss_init_sec_context ();
13941 return 0;
13943 _ACEOF
13944 if ac_fn_c_try_link "$LINENO"; then :
13945 case "$LIBEXT" in
13946 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13947 dylib) ac_cv_lib_soname_gssapi_krb5=`$OTOOL -L conftest$ac_exeext | grep "libgssapi_krb5\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libgssapi_krb5\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
13948 *) ac_cv_lib_soname_gssapi_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgssapi_krb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13949 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
13950 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13951 fi ;;
13952 esac
13954 rm -f core conftest.err conftest.$ac_objext \
13955 conftest$ac_exeext conftest.$ac_ext
13956 LIBS=$ac_check_soname_save_LIBS
13958 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
13959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13960 $as_echo "not found" >&6; }
13961 GSSAPI_CFLAGS=""
13962 else
13963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
13964 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
13966 cat >>confdefs.h <<_ACEOF
13967 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
13968 _ACEOF
13972 else
13973 GSSAPI_CFLAGS=""
13975 CPPFLAGS=$ac_save_CPPFLAGS
13976 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13977 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13980 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
13981 case "x$with_gssapi" in
13982 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
13983 xno) ;;
13984 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
13985 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
13986 esac
13990 if test "x$with_jpeg" != "xno"
13991 then
13992 if ${JPEG_CFLAGS:+false} :; then :
13993 if ${PKG_CONFIG+:} false; then :
13994 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13998 if ${JPEG_LIBS:+false} :; then :
13999 if ${PKG_CONFIG+:} false; then :
14000 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
14005 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
14006 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
14007 ac_save_CPPFLAGS=$CPPFLAGS
14008 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
14009 for ac_header in jpeglib.h
14010 do :
14011 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
14012 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
14013 cat >>confdefs.h <<_ACEOF
14014 #define HAVE_JPEGLIB_H 1
14015 _ACEOF
14019 done
14021 if test "$ac_cv_header_jpeglib_h" = "yes"
14022 then
14023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
14024 $as_echo_n "checking for -ljpeg... " >&6; }
14025 if ${ac_cv_lib_soname_jpeg+:} false; then :
14026 $as_echo_n "(cached) " >&6
14027 else
14028 ac_check_soname_save_LIBS=$LIBS
14029 LIBS="-ljpeg $JPEG_LIBS $LIBS"
14030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14031 /* end confdefs.h. */
14033 /* Override any GCC internal prototype to avoid an error.
14034 Use char because int might match the return type of a GCC
14035 builtin and then its argument prototype would still apply. */
14036 #ifdef __cplusplus
14037 extern "C"
14038 #endif
14039 char jpeg_start_decompress ();
14041 main ()
14043 return jpeg_start_decompress ();
14045 return 0;
14047 _ACEOF
14048 if ac_fn_c_try_link "$LINENO"; then :
14049 case "$LIBEXT" in
14050 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14051 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'` ;;
14052 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14053 if ${ac_cv_lib_soname_jpeg:+false} :; then :
14054 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14055 fi ;;
14056 esac
14058 rm -f core conftest.err conftest.$ac_objext \
14059 conftest$ac_exeext conftest.$ac_ext
14060 LIBS=$ac_check_soname_save_LIBS
14062 if ${ac_cv_lib_soname_jpeg:+false} :; then :
14063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14064 $as_echo "not found" >&6; }
14065 JPEG_CFLAGS=""
14066 else
14067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
14068 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
14070 cat >>confdefs.h <<_ACEOF
14071 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
14072 _ACEOF
14076 else
14077 JPEG_CFLAGS=""
14079 CPPFLAGS=$ac_save_CPPFLAGS
14080 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14081 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14084 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
14085 case "x$with_jpeg" in
14086 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
14087 xno) ;;
14088 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
14089 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
14090 esac
14094 if test "x$with_png" != "xno"
14095 then
14096 if ${PNG_CFLAGS:+false} :; then :
14097 if ${PKG_CONFIG+:} false; then :
14098 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
14101 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
14102 if ${PNG_LIBS:+false} :; then :
14103 if ${PKG_CONFIG+:} false; then :
14104 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
14107 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
14109 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
14110 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
14111 ac_save_CPPFLAGS=$CPPFLAGS
14112 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
14113 for ac_header in png.h
14114 do :
14115 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
14116 if test "x$ac_cv_header_png_h" = xyes; then :
14117 cat >>confdefs.h <<_ACEOF
14118 #define HAVE_PNG_H 1
14119 _ACEOF
14123 done
14125 if test "$ac_cv_header_png_h" = "yes"
14126 then
14127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
14128 $as_echo_n "checking for -lpng... " >&6; }
14129 if ${ac_cv_lib_soname_png+:} false; then :
14130 $as_echo_n "(cached) " >&6
14131 else
14132 ac_check_soname_save_LIBS=$LIBS
14133 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
14134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14135 /* end confdefs.h. */
14137 /* Override any GCC internal prototype to avoid an error.
14138 Use char because int might match the return type of a GCC
14139 builtin and then its argument prototype would still apply. */
14140 #ifdef __cplusplus
14141 extern "C"
14142 #endif
14143 char png_create_read_struct ();
14145 main ()
14147 return png_create_read_struct ();
14149 return 0;
14151 _ACEOF
14152 if ac_fn_c_try_link "$LINENO"; then :
14153 case "$LIBEXT" in
14154 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14155 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'` ;;
14156 *) 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'`
14157 if ${ac_cv_lib_soname_png:+false} :; then :
14158 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14159 fi ;;
14160 esac
14162 rm -f core conftest.err conftest.$ac_objext \
14163 conftest$ac_exeext conftest.$ac_ext
14164 LIBS=$ac_check_soname_save_LIBS
14166 if ${ac_cv_lib_soname_png:+false} :; then :
14167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14168 $as_echo "not found" >&6; }
14169 PNG_CFLAGS=""
14170 else
14171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
14172 $as_echo "$ac_cv_lib_soname_png" >&6; }
14174 cat >>confdefs.h <<_ACEOF
14175 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
14176 _ACEOF
14180 else
14181 PNG_CFLAGS=""
14183 CPPFLAGS=$ac_save_CPPFLAGS
14184 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14185 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14188 if test "x$ac_cv_lib_soname_png" = "x"; then :
14189 case "x$with_png" in
14190 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
14191 xno) ;;
14192 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
14193 This is an error since --with-png was requested." "$LINENO" 5 ;;
14194 esac
14198 if test "x$with_tiff" != "xno"
14199 then
14200 if ${TIFF_CFLAGS:+false} :; then :
14201 if ${PKG_CONFIG+:} false; then :
14202 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
14206 if ${TIFF_LIBS:+false} :; then :
14207 if ${PKG_CONFIG+:} false; then :
14208 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
14213 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
14214 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
14215 ac_save_CPPFLAGS=$CPPFLAGS
14216 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
14217 for ac_header in tiffio.h
14218 do :
14219 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
14220 if test "x$ac_cv_header_tiffio_h" = xyes; then :
14221 cat >>confdefs.h <<_ACEOF
14222 #define HAVE_TIFFIO_H 1
14223 _ACEOF
14227 done
14229 if test "$ac_cv_header_tiffio_h" = "yes"
14230 then
14231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
14232 $as_echo_n "checking for -ltiff... " >&6; }
14233 if ${ac_cv_lib_soname_tiff+:} false; then :
14234 $as_echo_n "(cached) " >&6
14235 else
14236 ac_check_soname_save_LIBS=$LIBS
14237 LIBS="-ltiff $TIFF_LIBS $LIBS"
14238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14239 /* end confdefs.h. */
14241 /* Override any GCC internal prototype to avoid an error.
14242 Use char because int might match the return type of a GCC
14243 builtin and then its argument prototype would still apply. */
14244 #ifdef __cplusplus
14245 extern "C"
14246 #endif
14247 char TIFFClientOpen ();
14249 main ()
14251 return TIFFClientOpen ();
14253 return 0;
14255 _ACEOF
14256 if ac_fn_c_try_link "$LINENO"; then :
14257 case "$LIBEXT" in
14258 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14259 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'` ;;
14260 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14261 if ${ac_cv_lib_soname_tiff:+false} :; then :
14262 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14263 fi ;;
14264 esac
14266 rm -f core conftest.err conftest.$ac_objext \
14267 conftest$ac_exeext conftest.$ac_ext
14268 LIBS=$ac_check_soname_save_LIBS
14270 if ${ac_cv_lib_soname_tiff:+false} :; then :
14271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14272 $as_echo "not found" >&6; }
14274 else
14275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
14276 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
14278 cat >>confdefs.h <<_ACEOF
14279 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
14280 _ACEOF
14285 CPPFLAGS=$ac_save_CPPFLAGS
14286 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14287 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14290 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
14291 case "x$with_tiff" in
14292 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
14293 xno) ;;
14294 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
14295 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14296 esac
14300 if test "x$with_mpg123" != "xno"
14301 then
14302 if ${MPG123_CFLAGS:+false} :; then :
14303 if ${PKG_CONFIG+:} false; then :
14304 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14308 if ${MPG123_LIBS:+false} :; then :
14309 if ${PKG_CONFIG+:} false; then :
14310 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14314 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
14315 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14316 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14317 ac_save_CPPFLAGS=$CPPFLAGS
14318 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
14319 for ac_header in mpg123.h
14320 do :
14321 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14322 if test "x$ac_cv_header_mpg123_h" = xyes; then :
14323 cat >>confdefs.h <<_ACEOF
14324 #define HAVE_MPG123_H 1
14325 _ACEOF
14329 done
14331 if test "$ac_cv_header_mpg123_h" = "yes"
14332 then
14333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14334 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14335 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
14336 $as_echo_n "(cached) " >&6
14337 else
14338 ac_check_lib_save_LIBS=$LIBS
14339 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
14340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14341 /* end confdefs.h. */
14343 /* Override any GCC internal prototype to avoid an error.
14344 Use char because int might match the return type of a GCC
14345 builtin and then its argument prototype would still apply. */
14346 #ifdef __cplusplus
14347 extern "C"
14348 #endif
14349 char mpg123_feed ();
14351 main ()
14353 return mpg123_feed ();
14355 return 0;
14357 _ACEOF
14358 if ac_fn_c_try_link "$LINENO"; then :
14359 ac_cv_lib_mpg123_mpg123_feed=yes
14360 else
14361 ac_cv_lib_mpg123_mpg123_feed=no
14363 rm -f core conftest.err conftest.$ac_objext \
14364 conftest$ac_exeext conftest.$ac_ext
14365 LIBS=$ac_check_lib_save_LIBS
14367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14368 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14369 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
14371 else
14372 MPG123_LIBS=""
14375 else
14376 MPG123_CFLAGS=""
14377 MPG123_LIBS=""
14379 CPPFLAGS=$ac_save_CPPFLAGS
14380 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14381 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14384 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
14385 case "x$with_mpg123" in
14386 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14387 xno) ;;
14388 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14389 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14390 esac
14391 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
14394 if test "$ac_cv_header_AL_al_h" = "yes"
14395 then
14396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14397 $as_echo_n "checking for -lopenal... " >&6; }
14398 if ${ac_cv_lib_soname_openal+:} false; then :
14399 $as_echo_n "(cached) " >&6
14400 else
14401 ac_check_soname_save_LIBS=$LIBS
14402 LIBS="-lopenal $LIBS"
14403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14404 /* end confdefs.h. */
14406 /* Override any GCC internal prototype to avoid an error.
14407 Use char because int might match the return type of a GCC
14408 builtin and then its argument prototype would still apply. */
14409 #ifdef __cplusplus
14410 extern "C"
14411 #endif
14412 char alGetSource3i ();
14414 main ()
14416 return alGetSource3i ();
14418 return 0;
14420 _ACEOF
14421 if ac_fn_c_try_link "$LINENO"; then :
14422 case "$LIBEXT" in
14423 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14424 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'` ;;
14425 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14426 if ${ac_cv_lib_soname_openal:+false} :; then :
14427 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14428 fi ;;
14429 esac
14431 rm -f core conftest.err conftest.$ac_objext \
14432 conftest$ac_exeext conftest.$ac_ext
14433 LIBS=$ac_check_soname_save_LIBS
14435 if ${ac_cv_lib_soname_openal:+false} :; then :
14436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14437 $as_echo "not found" >&6; }
14439 else
14440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14441 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14443 cat >>confdefs.h <<_ACEOF
14444 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14445 _ACEOF
14447 OPENAL_LIBS="-lopenal"
14449 ac_cv_lib_openal=yes
14451 cat >>confdefs.h <<_ACEOF
14452 #define HAVE_OPENAL 1
14453 _ACEOF
14457 if test "x$ac_cv_lib_openal" != xyes; then :
14458 case "x$with_openal" in
14459 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14460 xno) ;;
14461 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14462 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14463 esac
14464 enable_openal32=${enable_openal32:-no}
14467 if test "x$ac_cv_lib_openal" = xyes
14468 then
14469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14470 $as_echo_n "checking for openal-soft... " >&6; }
14471 if ${ac_cv_have_openalsoft+:} false; then :
14472 $as_echo_n "(cached) " >&6
14473 else
14474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14475 /* end confdefs.h. */
14476 #include <AL/al.h>
14477 #include <AL/alc.h>
14478 #include <AL/alext.h>
14479 LPALCRENDERSAMPLESSOFT x;
14481 main ()
14485 return 0;
14487 _ACEOF
14488 if ac_fn_c_try_compile "$LINENO"; then :
14489 ac_cv_have_openalsoft=yes
14490 else
14491 ac_cv_have_openalsoft=no
14493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14496 $as_echo "$ac_cv_have_openalsoft" >&6; }
14498 if test "x$ac_cv_have_openalsoft" != xyes
14499 then
14500 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14501 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
14502 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
14503 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14504 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14505 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14506 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14507 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14508 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14509 enable_xapofx1_1=${enable_xapofx1_1:-no}
14510 enable_xapofx1_2=${enable_xapofx1_2:-no}
14511 enable_xapofx1_3=${enable_xapofx1_3:-no}
14512 enable_xapofx1_4=${enable_xapofx1_4:-no}
14513 enable_xapofx1_5=${enable_xapofx1_5:-no}
14514 enable_xaudio2_0=${enable_xaudio2_0:-no}
14515 enable_xaudio2_1=${enable_xaudio2_1:-no}
14516 enable_xaudio2_2=${enable_xaudio2_2:-no}
14517 enable_xaudio2_3=${enable_xaudio2_3:-no}
14518 enable_xaudio2_4=${enable_xaudio2_4:-no}
14519 enable_xaudio2_5=${enable_xaudio2_5:-no}
14520 enable_xaudio2_6=${enable_xaudio2_6:-no}
14521 enable_xaudio2_7=${enable_xaudio2_7:-no}
14522 enable_xaudio2_8=${enable_xaudio2_8:-no}
14523 enable_xaudio2_9=${enable_xaudio2_9:-no}
14526 if test "$ac_cv_header_kstat_h" = "yes"
14527 then
14528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14529 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14530 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14531 $as_echo_n "(cached) " >&6
14532 else
14533 ac_check_lib_save_LIBS=$LIBS
14534 LIBS="-lkstat $LIBS"
14535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14536 /* end confdefs.h. */
14538 /* Override any GCC internal prototype to avoid an error.
14539 Use char because int might match the return type of a GCC
14540 builtin and then its argument prototype would still apply. */
14541 #ifdef __cplusplus
14542 extern "C"
14543 #endif
14544 char kstat_open ();
14546 main ()
14548 return kstat_open ();
14550 return 0;
14552 _ACEOF
14553 if ac_fn_c_try_link "$LINENO"; then :
14554 ac_cv_lib_kstat_kstat_open=yes
14555 else
14556 ac_cv_lib_kstat_kstat_open=no
14558 rm -f core conftest.err conftest.$ac_objext \
14559 conftest$ac_exeext conftest.$ac_ext
14560 LIBS=$ac_check_lib_save_LIBS
14562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14563 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14564 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14566 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14568 KSTAT_LIBS="-lkstat"
14574 if test "$ac_cv_header_libprocstat_h" = "yes"
14575 then
14576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14577 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14578 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14579 $as_echo_n "(cached) " >&6
14580 else
14581 ac_check_lib_save_LIBS=$LIBS
14582 LIBS="-lprocstat $LIBS"
14583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14584 /* end confdefs.h. */
14586 /* Override any GCC internal prototype to avoid an error.
14587 Use char because int might match the return type of a GCC
14588 builtin and then its argument prototype would still apply. */
14589 #ifdef __cplusplus
14590 extern "C"
14591 #endif
14592 char procstat_open_sysctl ();
14594 main ()
14596 return procstat_open_sysctl ();
14598 return 0;
14600 _ACEOF
14601 if ac_fn_c_try_link "$LINENO"; then :
14602 ac_cv_lib_procstat_procstat_open_sysctl=yes
14603 else
14604 ac_cv_lib_procstat_procstat_open_sysctl=no
14606 rm -f core conftest.err conftest.$ac_objext \
14607 conftest$ac_exeext conftest.$ac_ext
14608 LIBS=$ac_check_lib_save_LIBS
14610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14611 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14612 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14614 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14616 PROCSTAT_LIBS="-lprocstat"
14622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14623 $as_echo_n "checking for -lodbc... " >&6; }
14624 if ${ac_cv_lib_soname_odbc+:} false; then :
14625 $as_echo_n "(cached) " >&6
14626 else
14627 ac_check_soname_save_LIBS=$LIBS
14628 LIBS="-lodbc $LIBS"
14629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14630 /* end confdefs.h. */
14632 /* Override any GCC internal prototype to avoid an error.
14633 Use char because int might match the return type of a GCC
14634 builtin and then its argument prototype would still apply. */
14635 #ifdef __cplusplus
14636 extern "C"
14637 #endif
14638 char SQLConnect ();
14640 main ()
14642 return SQLConnect ();
14644 return 0;
14646 _ACEOF
14647 if ac_fn_c_try_link "$LINENO"; then :
14648 case "$LIBEXT" in
14649 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14650 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'` ;;
14651 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14652 if ${ac_cv_lib_soname_odbc:+false} :; then :
14653 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14654 fi ;;
14655 esac
14657 rm -f core conftest.err conftest.$ac_objext \
14658 conftest$ac_exeext conftest.$ac_ext
14659 LIBS=$ac_check_soname_save_LIBS
14661 if ${ac_cv_lib_soname_odbc:+false} :; then :
14662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14663 $as_echo "not found" >&6; }
14664 cat >>confdefs.h <<_ACEOF
14665 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14666 _ACEOF
14668 else
14669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14670 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14672 cat >>confdefs.h <<_ACEOF
14673 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14674 _ACEOF
14679 if test "x$with_netapi" != "xno"
14680 then
14681 if ${NETAPI_CFLAGS:+false} :; then :
14682 if ${PKG_CONFIG+:} false; then :
14683 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14687 if ${NETAPI_LIBS:+false} :; then :
14688 if ${PKG_CONFIG+:} false; then :
14689 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14694 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14695 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14696 ac_save_CPPFLAGS=$CPPFLAGS
14697 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14699 $as_echo_n "checking for -lnetapi... " >&6; }
14700 if ${ac_cv_lib_soname_netapi+:} false; then :
14701 $as_echo_n "(cached) " >&6
14702 else
14703 ac_check_soname_save_LIBS=$LIBS
14704 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14706 /* end confdefs.h. */
14708 /* Override any GCC internal prototype to avoid an error.
14709 Use char because int might match the return type of a GCC
14710 builtin and then its argument prototype would still apply. */
14711 #ifdef __cplusplus
14712 extern "C"
14713 #endif
14714 char libnetapi_init ();
14716 main ()
14718 return libnetapi_init ();
14720 return 0;
14722 _ACEOF
14723 if ac_fn_c_try_link "$LINENO"; then :
14724 case "$LIBEXT" in
14725 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14726 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'` ;;
14727 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14728 if ${ac_cv_lib_soname_netapi:+false} :; then :
14729 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14730 fi ;;
14731 esac
14733 rm -f core conftest.err conftest.$ac_objext \
14734 conftest$ac_exeext conftest.$ac_ext
14735 LIBS=$ac_check_soname_save_LIBS
14737 if ${ac_cv_lib_soname_netapi:+false} :; then :
14738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14739 $as_echo "not found" >&6; }
14740 cat >>confdefs.h <<_ACEOF
14741 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14742 _ACEOF
14744 else
14745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14746 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14748 cat >>confdefs.h <<_ACEOF
14749 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14750 _ACEOF
14754 CPPFLAGS=$ac_save_CPPFLAGS
14755 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14756 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14760 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
14761 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14762 then
14763 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14767 EXTRACFLAGS=""
14769 if test "x${GCC}" = "xyes"
14770 then
14771 EXTRACFLAGS="-Wall -pipe"
14773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14774 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14775 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14776 $as_echo_n "(cached) " >&6
14777 else
14778 if test "$cross_compiling" = yes; then :
14779 ac_cv_c_gcc_strength_bug="no"
14780 else
14781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14782 /* end confdefs.h. */
14783 int L[4] = {0,1,2,3};
14785 main ()
14787 static int Array[3];
14788 unsigned int B = 3;
14789 int i;
14790 for(i=0; i<B; i++) Array[i] = i - 3;
14791 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14792 L[i] = 4;
14793 return (Array[1] != -2 || L[2] != 3)
14795 return 0;
14797 _ACEOF
14798 if ac_fn_c_try_run "$LINENO"; then :
14799 ac_cv_c_gcc_strength_bug="no"
14800 else
14801 ac_cv_c_gcc_strength_bug="yes"
14803 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14804 conftest.$ac_objext conftest.beam conftest.$ac_ext
14808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14809 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14810 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14811 then
14812 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14816 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14817 if ${ac_cv_cflags__fno_builtin+:} false; then :
14818 $as_echo_n "(cached) " >&6
14819 else
14820 ac_wine_try_cflags_saved=$CFLAGS
14821 CFLAGS="$CFLAGS -fno-builtin"
14822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14823 /* end confdefs.h. */
14824 int main(int argc, char **argv) { return 0; }
14825 _ACEOF
14826 if ac_fn_c_try_link "$LINENO"; then :
14827 ac_cv_cflags__fno_builtin=yes
14828 else
14829 ac_cv_cflags__fno_builtin=no
14831 rm -f core conftest.err conftest.$ac_objext \
14832 conftest$ac_exeext conftest.$ac_ext
14833 CFLAGS=$ac_wine_try_cflags_saved
14835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14836 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14837 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14838 BUILTINFLAG="-fno-builtin"
14841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14842 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14843 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14844 $as_echo_n "(cached) " >&6
14845 else
14846 ac_wine_try_cflags_saved=$CFLAGS
14847 CFLAGS="$CFLAGS -fno-strict-aliasing"
14848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14849 /* end confdefs.h. */
14850 int main(int argc, char **argv) { return 0; }
14851 _ACEOF
14852 if ac_fn_c_try_link "$LINENO"; then :
14853 ac_cv_cflags__fno_strict_aliasing=yes
14854 else
14855 ac_cv_cflags__fno_strict_aliasing=no
14857 rm -f core conftest.err conftest.$ac_objext \
14858 conftest$ac_exeext conftest.$ac_ext
14859 CFLAGS=$ac_wine_try_cflags_saved
14861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14862 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14863 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14864 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14867 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14868 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14869 $as_echo_n "(cached) " >&6
14870 else
14871 ac_wine_try_cflags_saved=$CFLAGS
14872 CFLAGS="$CFLAGS -fexcess-precision=standard"
14873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14874 /* end confdefs.h. */
14875 int main(int argc, char **argv) { return 0; }
14876 _ACEOF
14877 if ac_fn_c_try_link "$LINENO"; then :
14878 ac_cv_cflags__fexcess_precision_standard=yes
14879 else
14880 ac_cv_cflags__fexcess_precision_standard=no
14882 rm -f core conftest.err conftest.$ac_objext \
14883 conftest$ac_exeext conftest.$ac_ext
14884 CFLAGS=$ac_wine_try_cflags_saved
14886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14887 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14888 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14889 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14892 saved_CFLAGS=$CFLAGS
14893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14894 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14895 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14896 $as_echo_n "(cached) " >&6
14897 else
14898 ac_wine_try_cflags_saved=$CFLAGS
14899 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14901 /* end confdefs.h. */
14902 int main(int argc, char **argv) { return 0; }
14903 _ACEOF
14904 if ac_fn_c_try_link "$LINENO"; then :
14905 ac_cv_cflags__Werror_unknown_warning_option=yes
14906 else
14907 ac_cv_cflags__Werror_unknown_warning_option=no
14909 rm -f core conftest.err conftest.$ac_objext \
14910 conftest$ac_exeext conftest.$ac_ext
14911 CFLAGS=$ac_wine_try_cflags_saved
14913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14914 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14915 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14916 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14919 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14920 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14921 $as_echo_n "(cached) " >&6
14922 else
14923 ac_wine_try_cflags_saved=$CFLAGS
14924 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14926 /* end confdefs.h. */
14927 int main(int argc, char **argv) { return 0; }
14928 _ACEOF
14929 if ac_fn_c_try_link "$LINENO"; then :
14930 ac_cv_cflags__Wdeclaration_after_statement=yes
14931 else
14932 ac_cv_cflags__Wdeclaration_after_statement=no
14934 rm -f core conftest.err conftest.$ac_objext \
14935 conftest$ac_exeext conftest.$ac_ext
14936 CFLAGS=$ac_wine_try_cflags_saved
14938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14939 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14940 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14941 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14944 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14945 if ${ac_cv_cflags__Wempty_body+:} false; then :
14946 $as_echo_n "(cached) " >&6
14947 else
14948 ac_wine_try_cflags_saved=$CFLAGS
14949 CFLAGS="$CFLAGS -Wempty-body"
14950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14951 /* end confdefs.h. */
14952 int main(int argc, char **argv) { return 0; }
14953 _ACEOF
14954 if ac_fn_c_try_link "$LINENO"; then :
14955 ac_cv_cflags__Wempty_body=yes
14956 else
14957 ac_cv_cflags__Wempty_body=no
14959 rm -f core conftest.err conftest.$ac_objext \
14960 conftest$ac_exeext conftest.$ac_ext
14961 CFLAGS=$ac_wine_try_cflags_saved
14963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14964 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14965 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14966 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14969 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14970 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14971 $as_echo_n "(cached) " >&6
14972 else
14973 ac_wine_try_cflags_saved=$CFLAGS
14974 CFLAGS="$CFLAGS -Wignored-qualifiers"
14975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14976 /* end confdefs.h. */
14977 int main(int argc, char **argv) { return 0; }
14978 _ACEOF
14979 if ac_fn_c_try_link "$LINENO"; then :
14980 ac_cv_cflags__Wignored_qualifiers=yes
14981 else
14982 ac_cv_cflags__Wignored_qualifiers=no
14984 rm -f core conftest.err conftest.$ac_objext \
14985 conftest$ac_exeext conftest.$ac_ext
14986 CFLAGS=$ac_wine_try_cflags_saved
14988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14989 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14990 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14991 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
14994 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
14995 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
14996 $as_echo_n "(cached) " >&6
14997 else
14998 ac_wine_try_cflags_saved=$CFLAGS
14999 CFLAGS="$CFLAGS -Wpacked-not-aligned"
15000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15001 /* end confdefs.h. */
15002 int main(int argc, char **argv) { return 0; }
15003 _ACEOF
15004 if ac_fn_c_try_link "$LINENO"; then :
15005 ac_cv_cflags__Wpacked_not_aligned=yes
15006 else
15007 ac_cv_cflags__Wpacked_not_aligned=no
15009 rm -f core conftest.err conftest.$ac_objext \
15010 conftest$ac_exeext conftest.$ac_ext
15011 CFLAGS=$ac_wine_try_cflags_saved
15013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
15014 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
15015 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
15016 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
15018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
15019 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
15020 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
15021 $as_echo_n "(cached) " >&6
15022 else
15023 ac_wine_try_cflags_saved=$CFLAGS
15024 CFLAGS="$CFLAGS -Wpragma-pack"
15025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15026 /* end confdefs.h. */
15027 int main(int argc, char **argv) { return 0; }
15028 _ACEOF
15029 if ac_fn_c_try_link "$LINENO"; then :
15030 ac_cv_cflags__Wpragma_pack=yes
15031 else
15032 ac_cv_cflags__Wpragma_pack=no
15034 rm -f core conftest.err conftest.$ac_objext \
15035 conftest$ac_exeext conftest.$ac_ext
15036 CFLAGS=$ac_wine_try_cflags_saved
15038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
15039 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
15040 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
15041 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
15043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
15044 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
15045 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
15046 $as_echo_n "(cached) " >&6
15047 else
15048 ac_wine_try_cflags_saved=$CFLAGS
15049 CFLAGS="$CFLAGS -Wshift-overflow=2"
15050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15051 /* end confdefs.h. */
15052 int main(int argc, char **argv) { return 0; }
15053 _ACEOF
15054 if ac_fn_c_try_link "$LINENO"; then :
15055 ac_cv_cflags__Wshift_overflow_2=yes
15056 else
15057 ac_cv_cflags__Wshift_overflow_2=no
15059 rm -f core conftest.err conftest.$ac_objext \
15060 conftest$ac_exeext conftest.$ac_ext
15061 CFLAGS=$ac_wine_try_cflags_saved
15063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
15064 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
15065 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
15066 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
15068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
15069 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
15070 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
15071 $as_echo_n "(cached) " >&6
15072 else
15073 ac_wine_try_cflags_saved=$CFLAGS
15074 CFLAGS="$CFLAGS -Wstrict-prototypes"
15075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15076 /* end confdefs.h. */
15077 int main(int argc, char **argv) { return 0; }
15078 _ACEOF
15079 if ac_fn_c_try_link "$LINENO"; then :
15080 ac_cv_cflags__Wstrict_prototypes=yes
15081 else
15082 ac_cv_cflags__Wstrict_prototypes=no
15084 rm -f core conftest.err conftest.$ac_objext \
15085 conftest$ac_exeext conftest.$ac_ext
15086 CFLAGS=$ac_wine_try_cflags_saved
15088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
15089 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
15090 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
15091 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
15093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
15094 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
15095 if ${ac_cv_cflags__Wtype_limits+:} false; then :
15096 $as_echo_n "(cached) " >&6
15097 else
15098 ac_wine_try_cflags_saved=$CFLAGS
15099 CFLAGS="$CFLAGS -Wtype-limits"
15100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15101 /* end confdefs.h. */
15102 int main(int argc, char **argv) { return 0; }
15103 _ACEOF
15104 if ac_fn_c_try_link "$LINENO"; then :
15105 ac_cv_cflags__Wtype_limits=yes
15106 else
15107 ac_cv_cflags__Wtype_limits=no
15109 rm -f core conftest.err conftest.$ac_objext \
15110 conftest$ac_exeext conftest.$ac_ext
15111 CFLAGS=$ac_wine_try_cflags_saved
15113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
15114 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
15115 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
15116 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
15118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
15119 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
15120 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
15121 $as_echo_n "(cached) " >&6
15122 else
15123 ac_wine_try_cflags_saved=$CFLAGS
15124 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
15125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15126 /* end confdefs.h. */
15127 int main(int argc, char **argv) { return 0; }
15128 _ACEOF
15129 if ac_fn_c_try_link "$LINENO"; then :
15130 ac_cv_cflags__Wunused_but_set_parameter=yes
15131 else
15132 ac_cv_cflags__Wunused_but_set_parameter=no
15134 rm -f core conftest.err conftest.$ac_objext \
15135 conftest$ac_exeext conftest.$ac_ext
15136 CFLAGS=$ac_wine_try_cflags_saved
15138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
15139 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
15140 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
15141 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
15143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
15144 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
15145 if ${ac_cv_cflags__Wvla+:} false; then :
15146 $as_echo_n "(cached) " >&6
15147 else
15148 ac_wine_try_cflags_saved=$CFLAGS
15149 CFLAGS="$CFLAGS -Wvla"
15150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15151 /* end confdefs.h. */
15152 int main(int argc, char **argv) { return 0; }
15153 _ACEOF
15154 if ac_fn_c_try_link "$LINENO"; then :
15155 ac_cv_cflags__Wvla=yes
15156 else
15157 ac_cv_cflags__Wvla=no
15159 rm -f core conftest.err conftest.$ac_objext \
15160 conftest$ac_exeext conftest.$ac_ext
15161 CFLAGS=$ac_wine_try_cflags_saved
15163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
15164 $as_echo "$ac_cv_cflags__Wvla" >&6; }
15165 if test "x$ac_cv_cflags__Wvla" = xyes; then :
15166 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
15168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
15169 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
15170 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
15171 $as_echo_n "(cached) " >&6
15172 else
15173 ac_wine_try_cflags_saved=$CFLAGS
15174 CFLAGS="$CFLAGS -Wwrite-strings"
15175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15176 /* end confdefs.h. */
15177 int main(int argc, char **argv) { return 0; }
15178 _ACEOF
15179 if ac_fn_c_try_link "$LINENO"; then :
15180 ac_cv_cflags__Wwrite_strings=yes
15181 else
15182 ac_cv_cflags__Wwrite_strings=no
15184 rm -f core conftest.err conftest.$ac_objext \
15185 conftest$ac_exeext conftest.$ac_ext
15186 CFLAGS=$ac_wine_try_cflags_saved
15188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
15189 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
15190 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
15191 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
15194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
15195 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
15196 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
15197 $as_echo_n "(cached) " >&6
15198 else
15199 ac_wine_try_cflags_saved=$CFLAGS
15200 CFLAGS="$CFLAGS -Wpointer-arith"
15201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15202 /* end confdefs.h. */
15203 int main(int argc, char **argv) { return 0; }
15204 _ACEOF
15205 if ac_fn_c_try_link "$LINENO"; then :
15206 ac_cv_cflags__Wpointer_arith=yes
15207 else
15208 ac_cv_cflags__Wpointer_arith=no
15210 rm -f core conftest.err conftest.$ac_objext \
15211 conftest$ac_exeext conftest.$ac_ext
15212 CFLAGS=$ac_wine_try_cflags_saved
15214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
15215 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
15216 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
15217 saved_string_h_CFLAGS=$CFLAGS
15218 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
15220 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
15221 if ${ac_cv_c_string_h_warnings+:} false; then :
15222 $as_echo_n "(cached) " >&6
15223 else
15224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15225 /* end confdefs.h. */
15226 #include <string.h>
15228 main ()
15232 return 0;
15234 _ACEOF
15235 if ac_fn_c_try_compile "$LINENO"; then :
15236 ac_cv_c_string_h_warnings=no
15237 else
15238 ac_cv_c_string_h_warnings=yes
15240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
15243 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
15244 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15245 CFLAGS=$saved_string_h_CFLAGS
15248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
15249 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
15250 if ${ac_cv_cflags__Wlogical_op+:} false; then :
15251 $as_echo_n "(cached) " >&6
15252 else
15253 ac_wine_try_cflags_saved=$CFLAGS
15254 CFLAGS="$CFLAGS -Wlogical-op"
15255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15256 /* end confdefs.h. */
15257 int main(int argc, char **argv) { return 0; }
15258 _ACEOF
15259 if ac_fn_c_try_link "$LINENO"; then :
15260 ac_cv_cflags__Wlogical_op=yes
15261 else
15262 ac_cv_cflags__Wlogical_op=no
15264 rm -f core conftest.err conftest.$ac_objext \
15265 conftest$ac_exeext conftest.$ac_ext
15266 CFLAGS=$ac_wine_try_cflags_saved
15268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
15269 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
15270 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
15271 saved_string_h_CFLAGS=$CFLAGS
15272 CFLAGS="$CFLAGS -Wlogical-op -Werror"
15273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
15274 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
15275 if ${ac_cv_c_logicalop_noisy+:} false; then :
15276 $as_echo_n "(cached) " >&6
15277 else
15278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15279 /* end confdefs.h. */
15280 #include <string.h>
15281 char*f(const char *h,char n) {return strchr(h,n);}
15283 main ()
15287 return 0;
15289 _ACEOF
15290 if ac_fn_c_try_compile "$LINENO"; then :
15291 ac_cv_c_logicalop_noisy=no
15292 else
15293 ac_cv_c_logicalop_noisy=yes
15295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
15298 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
15299 CFLAGS=$saved_string_h_CFLAGS
15300 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
15303 CFLAGS=$saved_CFLAGS
15305 for ac_flag in $CFLAGS; do
15306 case $ac_flag in
15307 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
15308 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
15309 if ${ac_cv_cflags__gdwarf_2+:} false; then :
15310 $as_echo_n "(cached) " >&6
15311 else
15312 ac_wine_try_cflags_saved=$CFLAGS
15313 CFLAGS="$CFLAGS -gdwarf-2"
15314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15315 /* end confdefs.h. */
15316 int main(int argc, char **argv) { return 0; }
15317 _ACEOF
15318 if ac_fn_c_try_link "$LINENO"; then :
15319 ac_cv_cflags__gdwarf_2=yes
15320 else
15321 ac_cv_cflags__gdwarf_2=no
15323 rm -f core conftest.err conftest.$ac_objext \
15324 conftest$ac_exeext conftest.$ac_ext
15325 CFLAGS=$ac_wine_try_cflags_saved
15327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
15328 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
15329 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
15330 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
15332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
15333 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
15334 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
15335 $as_echo_n "(cached) " >&6
15336 else
15337 ac_wine_try_cflags_saved=$CFLAGS
15338 CFLAGS="$CFLAGS -gstrict-dwarf"
15339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15340 /* end confdefs.h. */
15341 int main(int argc, char **argv) { return 0; }
15342 _ACEOF
15343 if ac_fn_c_try_link "$LINENO"; then :
15344 ac_cv_cflags__gstrict_dwarf=yes
15345 else
15346 ac_cv_cflags__gstrict_dwarf=no
15348 rm -f core conftest.err conftest.$ac_objext \
15349 conftest$ac_exeext conftest.$ac_ext
15350 CFLAGS=$ac_wine_try_cflags_saved
15352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
15353 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
15354 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
15355 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
15356 fi ;;
15357 esac
15358 done
15360 case $host_cpu in
15361 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
15362 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
15363 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
15364 $as_echo_n "(cached) " >&6
15365 else
15366 ac_wine_try_cflags_saved=$CFLAGS
15367 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
15368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15369 /* end confdefs.h. */
15370 int main(int argc, char **argv) { return 0; }
15371 _ACEOF
15372 if ac_fn_c_try_link "$LINENO"; then :
15373 ac_cv_cflags__fno_omit_frame_pointer=yes
15374 else
15375 ac_cv_cflags__fno_omit_frame_pointer=no
15377 rm -f core conftest.err conftest.$ac_objext \
15378 conftest$ac_exeext conftest.$ac_ext
15379 CFLAGS=$ac_wine_try_cflags_saved
15381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
15382 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
15383 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
15384 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
15385 fi ;;
15386 esac
15388 case $host in
15389 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
15390 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
15391 if ${ac_cv_cflags__Wno_format+:} false; then :
15392 $as_echo_n "(cached) " >&6
15393 else
15394 ac_wine_try_cflags_saved=$CFLAGS
15395 CFLAGS="$CFLAGS -Wno-format"
15396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15397 /* end confdefs.h. */
15398 int main(int argc, char **argv) { return 0; }
15399 _ACEOF
15400 if ac_fn_c_try_link "$LINENO"; then :
15401 ac_cv_cflags__Wno_format=yes
15402 else
15403 ac_cv_cflags__Wno_format=no
15405 rm -f core conftest.err conftest.$ac_objext \
15406 conftest$ac_exeext conftest.$ac_ext
15407 CFLAGS=$ac_wine_try_cflags_saved
15409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
15410 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
15411 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
15412 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
15413 fi ;;
15414 esac
15416 if test "x$enable_maintainer_mode" = "xyes"
15417 then
15418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
15419 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
15420 if ${ac_cv_cflags__Werror+:} false; then :
15421 $as_echo_n "(cached) " >&6
15422 else
15423 ac_wine_try_cflags_saved=$CFLAGS
15424 CFLAGS="$CFLAGS -Werror"
15425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15426 /* end confdefs.h. */
15427 int main(int argc, char **argv) { return 0; }
15428 _ACEOF
15429 if ac_fn_c_try_link "$LINENO"; then :
15430 ac_cv_cflags__Werror=yes
15431 else
15432 ac_cv_cflags__Werror=no
15434 rm -f core conftest.err conftest.$ac_objext \
15435 conftest$ac_exeext conftest.$ac_ext
15436 CFLAGS=$ac_wine_try_cflags_saved
15438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
15439 $as_echo "$ac_cv_cflags__Werror" >&6; }
15440 if test "x$ac_cv_cflags__Werror" = xyes; then :
15441 EXTRACFLAGS="$EXTRACFLAGS -Werror"
15445 saved_CFLAGS="$CFLAGS"
15446 CFLAGS="$CFLAGS -Werror"
15447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
15448 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
15449 if ${ac_cv_have_ms_hook_prologue+:} false; then :
15450 $as_echo_n "(cached) " >&6
15451 else
15452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15453 /* end confdefs.h. */
15454 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
15456 main ()
15460 return 0;
15462 _ACEOF
15463 if ac_fn_c_try_compile "$LINENO"; then :
15464 ac_cv_have_ms_hook_prologue="yes"
15465 else
15466 ac_cv_have_ms_hook_prologue="no"
15468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
15471 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
15472 CFLAGS="$saved_CFLAGS"
15473 if test "$ac_cv_have_ms_hook_prologue" = "yes"
15474 then
15476 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
15478 else
15479 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
15485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
15486 $as_echo_n "checking for the need to disable Fortify... " >&6; }
15487 if ${ac_cv_c_fortify_enabled+:} false; then :
15488 $as_echo_n "(cached) " >&6
15489 else
15490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15491 /* end confdefs.h. */
15492 #include <string.h>
15494 main ()
15496 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
15497 #error Fortify enabled
15498 #endif
15500 return 0;
15502 _ACEOF
15503 if ac_fn_c_try_compile "$LINENO"; then :
15504 ac_cv_c_fortify_enabled=no
15505 else
15506 ac_cv_c_fortify_enabled=yes
15508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
15511 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
15512 if test "$ac_cv_c_fortify_enabled" = yes
15513 then
15514 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
15518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
15519 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
15520 if ${ac_cv_c_extern_prefix+:} false; then :
15521 $as_echo_n "(cached) " >&6
15522 else
15523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15524 /* end confdefs.h. */
15525 extern int ac_test;
15527 main ()
15529 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15531 return 0;
15533 _ACEOF
15534 if ac_fn_c_try_link "$LINENO"; then :
15535 ac_cv_c_extern_prefix="yes"
15536 else
15537 ac_cv_c_extern_prefix="no"
15539 rm -f core conftest.err conftest.$ac_objext \
15540 conftest$ac_exeext conftest.$ac_ext
15542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
15543 $as_echo "$ac_cv_c_extern_prefix" >&6; }
15545 case $host_cpu in
15546 *i[3456789]86*)
15547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
15548 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
15549 if ${ac_cv_c_stdcall_suffix+:} false; then :
15550 $as_echo_n "(cached) " >&6
15551 else
15552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15553 /* end confdefs.h. */
15554 #ifndef _MSC_VER
15555 #define __stdcall __attribute__((__stdcall__))
15556 #endif
15557 int __stdcall ac_test(int i) { return i; }
15559 main ()
15561 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
15563 return 0;
15565 _ACEOF
15566 if ac_fn_c_try_link "$LINENO"; then :
15567 ac_cv_c_stdcall_suffix="yes"
15568 else
15569 ac_cv_c_stdcall_suffix="no"
15571 rm -f core conftest.err conftest.$ac_objext \
15572 conftest$ac_exeext conftest.$ac_ext
15574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15575 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15576 *) ac_cv_c_stdcall_suffix="no" ;;
15577 esac
15580 if test "$ac_cv_c_extern_prefix" = "yes"
15581 then
15582 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15584 asm_name_prefix="_"
15585 else
15586 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15588 asm_name_prefix=""
15592 if test "$ac_cv_c_stdcall_suffix" = "yes"
15593 then
15594 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15596 else
15597 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15603 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15604 if ${ac_cv_asm_func_def+:} false; then :
15605 $as_echo_n "(cached) " >&6
15606 else
15607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15608 /* end confdefs.h. */
15611 main ()
15613 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15615 return 0;
15617 _ACEOF
15618 if ac_fn_c_try_link "$LINENO"; then :
15619 ac_cv_asm_func_def=".def"
15620 else
15621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15622 /* end confdefs.h. */
15625 main ()
15627 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15629 return 0;
15631 _ACEOF
15632 if ac_fn_c_try_link "$LINENO"; then :
15633 ac_cv_asm_func_def=".type @function"
15634 else
15635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15636 /* end confdefs.h. */
15639 main ()
15641 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15643 return 0;
15645 _ACEOF
15646 if ac_fn_c_try_link "$LINENO"; then :
15647 ac_cv_asm_func_def=".type 2"
15648 else
15649 ac_cv_asm_func_def="unknown"
15651 rm -f core conftest.err conftest.$ac_objext \
15652 conftest$ac_exeext conftest.$ac_ext
15654 rm -f core conftest.err conftest.$ac_objext \
15655 conftest$ac_exeext conftest.$ac_ext
15657 rm -f core conftest.err conftest.$ac_objext \
15658 conftest$ac_exeext conftest.$ac_ext
15660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15661 $as_echo "$ac_cv_asm_func_def" >&6; }
15664 case "$ac_cv_asm_func_def" in
15665 ".def")
15666 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15668 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15669 ".type @function")
15670 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15672 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15673 ".type 2")
15674 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15676 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15678 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15680 asm_func_header="" ;;
15681 esac
15683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15684 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15685 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15686 $as_echo_n "(cached) " >&6
15687 else
15688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15689 /* end confdefs.h. */
15690 asm(".text\n\t.long 0");
15692 main ()
15696 return 0;
15698 _ACEOF
15699 if ac_fn_c_try_compile "$LINENO"; then :
15700 ac_cv_c_asm_outside_funcs="yes"
15701 else
15702 ac_cv_c_asm_outside_funcs="no"
15704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15707 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15710 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15711 if ${ac_cv_c_dot_previous+:} false; then :
15712 $as_echo_n "(cached) " >&6
15713 else
15714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15715 /* end confdefs.h. */
15718 main ()
15720 asm(".text\nac_test:\t.long 0\n\t.previous");
15722 return 0;
15724 _ACEOF
15725 if ac_fn_c_try_link "$LINENO"; then :
15726 ac_cv_c_dot_previous="yes"
15727 else
15728 ac_cv_c_dot_previous="no"
15730 rm -f core conftest.err conftest.$ac_objext \
15731 conftest$ac_exeext conftest.$ac_ext
15733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15734 $as_echo "$ac_cv_c_dot_previous" >&6; }
15736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15737 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15738 if ${ac_cv_c_cfi_support+:} false; then :
15739 $as_echo_n "(cached) " >&6
15740 else
15741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15742 /* end confdefs.h. */
15743 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15745 main ()
15749 return 0;
15751 _ACEOF
15752 if ac_fn_c_try_compile "$LINENO"; then :
15753 ac_cv_c_cfi_support="yes"
15754 else
15755 ac_cv_c_cfi_support="no"
15757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15760 $as_echo "$ac_cv_c_cfi_support" >&6; }
15762 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15763 asm_func_trailer=""
15764 if test "$ac_cv_c_dot_previous" = "yes"
15765 then
15766 asm_func_trailer="\\n\\t.previous"
15768 if test "$ac_cv_c_cfi_support" = "yes"
15769 then
15770 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15771 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15773 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15775 UNWINDFLAGS=-fasynchronous-unwind-tables
15777 else
15778 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15780 if test "x$enable_win64" = "xyes"
15781 then
15782 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15786 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15789 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15790 then
15791 cat >>confdefs.h <<_ACEOF
15792 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15793 _ACEOF
15795 else
15796 cat >>confdefs.h <<_ACEOF
15797 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15798 _ACEOF
15802 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15805 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15809 case $build_os in
15810 cygwin*|mingw32*) TOOLSEXT=".exe"
15812 esac
15814 case $host_os in
15815 linux*)
15816 case $host_cpu in
15817 *i[3456789]86*|x86_64*|*aarch64*)
15818 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15819 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15821 esac
15823 esac
15826 ac_save_CFLAGS="$CFLAGS"
15827 CFLAGS="$CFLAGS $BUILTINFLAG"
15828 for ac_func in \
15829 __res_get_state \
15830 __res_getservers \
15831 _finite \
15832 _isnan \
15833 _pclose \
15834 _popen \
15835 _snprintf \
15836 _spawnvp \
15837 _strdup \
15838 _stricmp \
15839 _strnicmp \
15840 _strtoi64 \
15841 _strtoui64 \
15842 _vsnprintf \
15843 asctime_r \
15844 chsize \
15845 dlopen \
15846 epoll_create \
15847 ffs \
15848 finitef \
15849 fnmatch \
15850 fork \
15851 fpclass \
15852 fstatfs \
15853 fstatvfs \
15854 ftruncate \
15855 futimens \
15856 futimes \
15857 futimesat \
15858 getattrlist \
15859 getauxval \
15860 getifaddrs \
15861 getopt_long_only \
15862 getpwuid \
15863 gettimeofday \
15864 getuid \
15865 isnanf \
15866 kqueue \
15867 lstat \
15868 memmove \
15869 mmap \
15870 pclose \
15871 pipe2 \
15872 poll \
15873 popen \
15874 port_create \
15875 prctl \
15876 pread \
15877 proc_pidinfo \
15878 pwrite \
15879 readdir \
15880 readlink \
15881 sched_yield \
15882 select \
15883 setproctitle \
15884 setprogname \
15885 setrlimit \
15886 settimeofday \
15887 sigaltstack \
15888 sigprocmask \
15889 snprintf \
15890 statfs \
15891 statvfs \
15892 strcasecmp \
15893 strdup \
15894 strerror \
15895 strncasecmp \
15896 strnlen \
15897 strtold \
15898 strtoll \
15899 strtoull \
15900 symlink \
15901 sysinfo \
15902 tcdrain \
15903 thr_kill2 \
15904 timegm \
15905 usleep \
15906 vsnprintf
15908 do :
15909 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15910 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15911 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15912 cat >>confdefs.h <<_ACEOF
15913 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15914 _ACEOF
15917 done
15919 CFLAGS="$ac_save_CFLAGS"
15921 if test "$ac_cv_func_dlopen" = no
15922 then
15923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15924 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15925 if ${ac_cv_lib_dl_dlopen+:} false; then :
15926 $as_echo_n "(cached) " >&6
15927 else
15928 ac_check_lib_save_LIBS=$LIBS
15929 LIBS="-ldl $LIBS"
15930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15931 /* end confdefs.h. */
15933 /* Override any GCC internal prototype to avoid an error.
15934 Use char because int might match the return type of a GCC
15935 builtin and then its argument prototype would still apply. */
15936 #ifdef __cplusplus
15937 extern "C"
15938 #endif
15939 char dlopen ();
15941 main ()
15943 return dlopen ();
15945 return 0;
15947 _ACEOF
15948 if ac_fn_c_try_link "$LINENO"; then :
15949 ac_cv_lib_dl_dlopen=yes
15950 else
15951 ac_cv_lib_dl_dlopen=no
15953 rm -f core conftest.err conftest.$ac_objext \
15954 conftest$ac_exeext conftest.$ac_ext
15955 LIBS=$ac_check_lib_save_LIBS
15957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15958 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15959 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15960 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15961 DL_LIBS="-ldl"
15966 ac_wine_check_funcs_save_LIBS="$LIBS"
15967 LIBS="$LIBS $DL_LIBS"
15968 for ac_func in dladdr
15969 do :
15970 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15971 if test "x$ac_cv_func_dladdr" = xyes; then :
15972 cat >>confdefs.h <<_ACEOF
15973 #define HAVE_DLADDR 1
15974 _ACEOF
15977 done
15979 LIBS="$ac_wine_check_funcs_save_LIBS"
15981 if test "$ac_cv_func_poll" = no
15982 then
15983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15984 $as_echo_n "checking for poll in -lpoll... " >&6; }
15985 if ${ac_cv_lib_poll_poll+:} false; then :
15986 $as_echo_n "(cached) " >&6
15987 else
15988 ac_check_lib_save_LIBS=$LIBS
15989 LIBS="-lpoll $LIBS"
15990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15991 /* end confdefs.h. */
15993 /* Override any GCC internal prototype to avoid an error.
15994 Use char because int might match the return type of a GCC
15995 builtin and then its argument prototype would still apply. */
15996 #ifdef __cplusplus
15997 extern "C"
15998 #endif
15999 char poll ();
16001 main ()
16003 return poll ();
16005 return 0;
16007 _ACEOF
16008 if ac_fn_c_try_link "$LINENO"; then :
16009 ac_cv_lib_poll_poll=yes
16010 else
16011 ac_cv_lib_poll_poll=no
16013 rm -f core conftest.err conftest.$ac_objext \
16014 conftest$ac_exeext conftest.$ac_ext
16015 LIBS=$ac_check_lib_save_LIBS
16017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
16018 $as_echo "$ac_cv_lib_poll_poll" >&6; }
16019 if test "x$ac_cv_lib_poll_poll" = xyes; then :
16020 $as_echo "#define HAVE_POLL 1" >>confdefs.h
16021 POLL_LIBS="-lpoll"
16027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
16028 $as_echo_n "checking for library containing gethostbyname... " >&6; }
16029 if ${ac_cv_search_gethostbyname+:} false; then :
16030 $as_echo_n "(cached) " >&6
16031 else
16032 ac_func_search_save_LIBS=$LIBS
16033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16034 /* end confdefs.h. */
16036 /* Override any GCC internal prototype to avoid an error.
16037 Use char because int might match the return type of a GCC
16038 builtin and then its argument prototype would still apply. */
16039 #ifdef __cplusplus
16040 extern "C"
16041 #endif
16042 char gethostbyname ();
16044 main ()
16046 return gethostbyname ();
16048 return 0;
16050 _ACEOF
16051 for ac_lib in '' nsl; do
16052 if test -z "$ac_lib"; then
16053 ac_res="none required"
16054 else
16055 ac_res=-l$ac_lib
16056 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16058 if ac_fn_c_try_link "$LINENO"; then :
16059 ac_cv_search_gethostbyname=$ac_res
16061 rm -f core conftest.err conftest.$ac_objext \
16062 conftest$ac_exeext
16063 if ${ac_cv_search_gethostbyname+:} false; then :
16064 break
16066 done
16067 if ${ac_cv_search_gethostbyname+:} false; then :
16069 else
16070 ac_cv_search_gethostbyname=no
16072 rm conftest.$ac_ext
16073 LIBS=$ac_func_search_save_LIBS
16075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
16076 $as_echo "$ac_cv_search_gethostbyname" >&6; }
16077 ac_res=$ac_cv_search_gethostbyname
16078 if test "$ac_res" != no; then :
16079 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
16085 $as_echo_n "checking for library containing connect... " >&6; }
16086 if ${ac_cv_search_connect+:} false; then :
16087 $as_echo_n "(cached) " >&6
16088 else
16089 ac_func_search_save_LIBS=$LIBS
16090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16091 /* end confdefs.h. */
16093 /* Override any GCC internal prototype to avoid an error.
16094 Use char because int might match the return type of a GCC
16095 builtin and then its argument prototype would still apply. */
16096 #ifdef __cplusplus
16097 extern "C"
16098 #endif
16099 char connect ();
16101 main ()
16103 return connect ();
16105 return 0;
16107 _ACEOF
16108 for ac_lib in '' socket; do
16109 if test -z "$ac_lib"; then
16110 ac_res="none required"
16111 else
16112 ac_res=-l$ac_lib
16113 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16115 if ac_fn_c_try_link "$LINENO"; then :
16116 ac_cv_search_connect=$ac_res
16118 rm -f core conftest.err conftest.$ac_objext \
16119 conftest$ac_exeext
16120 if ${ac_cv_search_connect+:} false; then :
16121 break
16123 done
16124 if ${ac_cv_search_connect+:} false; then :
16126 else
16127 ac_cv_search_connect=no
16129 rm conftest.$ac_ext
16130 LIBS=$ac_func_search_save_LIBS
16132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
16133 $as_echo "$ac_cv_search_connect" >&6; }
16134 ac_res=$ac_cv_search_connect
16135 if test "$ac_res" != no; then :
16136 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
16142 $as_echo_n "checking for library containing inet_aton... " >&6; }
16143 if ${ac_cv_search_inet_aton+:} false; then :
16144 $as_echo_n "(cached) " >&6
16145 else
16146 ac_func_search_save_LIBS=$LIBS
16147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16148 /* end confdefs.h. */
16150 /* Override any GCC internal prototype to avoid an error.
16151 Use char because int might match the return type of a GCC
16152 builtin and then its argument prototype would still apply. */
16153 #ifdef __cplusplus
16154 extern "C"
16155 #endif
16156 char inet_aton ();
16158 main ()
16160 return inet_aton ();
16162 return 0;
16164 _ACEOF
16165 for ac_lib in '' resolv; do
16166 if test -z "$ac_lib"; then
16167 ac_res="none required"
16168 else
16169 ac_res=-l$ac_lib
16170 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16172 if ac_fn_c_try_link "$LINENO"; then :
16173 ac_cv_search_inet_aton=$ac_res
16175 rm -f core conftest.err conftest.$ac_objext \
16176 conftest$ac_exeext
16177 if ${ac_cv_search_inet_aton+:} false; then :
16178 break
16180 done
16181 if ${ac_cv_search_inet_aton+:} false; then :
16183 else
16184 ac_cv_search_inet_aton=no
16186 rm conftest.$ac_ext
16187 LIBS=$ac_func_search_save_LIBS
16189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
16190 $as_echo "$ac_cv_search_inet_aton" >&6; }
16191 ac_res=$ac_cv_search_inet_aton
16192 if test "$ac_res" != no; then :
16193 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16198 for ac_func in \
16199 getaddrinfo \
16200 getnameinfo \
16201 getnetbyname \
16202 getprotobyname \
16203 getprotobynumber \
16204 getservbyport \
16205 inet_addr \
16206 inet_network \
16207 inet_ntop \
16208 inet_pton \
16209 sendmsg \
16210 socketpair \
16212 do :
16213 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16214 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16215 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16216 cat >>confdefs.h <<_ACEOF
16217 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16218 _ACEOF
16221 done
16224 ac_save_LIBS=$LIBS
16225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
16226 $as_echo_n "checking for library containing clock_gettime... " >&6; }
16227 if ${ac_cv_search_clock_gettime+:} false; then :
16228 $as_echo_n "(cached) " >&6
16229 else
16230 ac_func_search_save_LIBS=$LIBS
16231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16232 /* end confdefs.h. */
16234 /* Override any GCC internal prototype to avoid an error.
16235 Use char because int might match the return type of a GCC
16236 builtin and then its argument prototype would still apply. */
16237 #ifdef __cplusplus
16238 extern "C"
16239 #endif
16240 char clock_gettime ();
16242 main ()
16244 return clock_gettime ();
16246 return 0;
16248 _ACEOF
16249 for ac_lib in '' rt; do
16250 if test -z "$ac_lib"; then
16251 ac_res="none required"
16252 else
16253 ac_res=-l$ac_lib
16254 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16256 if ac_fn_c_try_link "$LINENO"; then :
16257 ac_cv_search_clock_gettime=$ac_res
16259 rm -f core conftest.err conftest.$ac_objext \
16260 conftest$ac_exeext
16261 if ${ac_cv_search_clock_gettime+:} false; then :
16262 break
16264 done
16265 if ${ac_cv_search_clock_gettime+:} false; then :
16267 else
16268 ac_cv_search_clock_gettime=no
16270 rm conftest.$ac_ext
16271 LIBS=$ac_func_search_save_LIBS
16273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
16274 $as_echo "$ac_cv_search_clock_gettime" >&6; }
16275 ac_res=$ac_cv_search_clock_gettime
16276 if test "$ac_res" != no; then :
16277 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16279 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
16281 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
16285 LIBS=$ac_save_LIBS
16287 if test "x$with_ldap" != "xno"
16288 then
16289 if ${LDAP_CFLAGS:+false} :; then :
16290 if ${PKG_CONFIG+:} false; then :
16291 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
16295 if ${LDAP_LIBS:+false} :; then :
16296 if ${PKG_CONFIG+:} false; then :
16297 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
16301 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
16302 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
16303 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
16304 ac_save_CPPFLAGS=$CPPFLAGS
16305 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
16306 for ac_header in ldap.h lber.h
16307 do :
16308 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16309 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16310 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16311 cat >>confdefs.h <<_ACEOF
16312 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16313 _ACEOF
16317 done
16319 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
16320 then
16321 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
16323 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
16324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
16325 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
16326 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
16327 $as_echo_n "(cached) " >&6
16328 else
16329 ac_check_lib_save_LIBS=$LIBS
16330 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16332 /* end confdefs.h. */
16334 /* Override any GCC internal prototype to avoid an error.
16335 Use char because int might match the return type of a GCC
16336 builtin and then its argument prototype would still apply. */
16337 #ifdef __cplusplus
16338 extern "C"
16339 #endif
16340 char ldap_initialize ();
16342 main ()
16344 return ldap_initialize ();
16346 return 0;
16348 _ACEOF
16349 if ac_fn_c_try_link "$LINENO"; then :
16350 ac_cv_lib_ldap_r_ldap_initialize=yes
16351 else
16352 ac_cv_lib_ldap_r_ldap_initialize=no
16354 rm -f core conftest.err conftest.$ac_objext \
16355 conftest$ac_exeext conftest.$ac_ext
16356 LIBS=$ac_check_lib_save_LIBS
16358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
16359 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
16360 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
16361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
16362 $as_echo_n "checking for ber_init in -llber... " >&6; }
16363 if ${ac_cv_lib_lber_ber_init+:} false; then :
16364 $as_echo_n "(cached) " >&6
16365 else
16366 ac_check_lib_save_LIBS=$LIBS
16367 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16369 /* end confdefs.h. */
16371 /* Override any GCC internal prototype to avoid an error.
16372 Use char because int might match the return type of a GCC
16373 builtin and then its argument prototype would still apply. */
16374 #ifdef __cplusplus
16375 extern "C"
16376 #endif
16377 char ber_init ();
16379 main ()
16381 return ber_init ();
16383 return 0;
16385 _ACEOF
16386 if ac_fn_c_try_link "$LINENO"; then :
16387 ac_cv_lib_lber_ber_init=yes
16388 else
16389 ac_cv_lib_lber_ber_init=no
16391 rm -f core conftest.err conftest.$ac_objext \
16392 conftest$ac_exeext conftest.$ac_ext
16393 LIBS=$ac_check_lib_save_LIBS
16395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
16396 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
16397 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
16399 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
16401 else
16402 LDAP_LIBS=""
16405 else
16406 LDAP_LIBS=""
16409 else
16410 LDAP_LIBS=""
16413 ac_wine_check_funcs_save_LIBS="$LIBS"
16414 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
16415 for ac_func in \
16416 ldap_count_references \
16417 ldap_first_reference \
16418 ldap_next_reference \
16419 ldap_parse_reference \
16420 ldap_parse_sort_control \
16421 ldap_parse_sortresponse_control \
16422 ldap_parse_vlv_control \
16423 ldap_parse_vlvresponse_control
16424 do :
16425 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16426 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16427 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16428 cat >>confdefs.h <<_ACEOF
16429 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16430 _ACEOF
16433 done
16435 LIBS="$ac_wine_check_funcs_save_LIBS"
16436 else
16437 LDAP_LIBS=""
16439 CPPFLAGS=$ac_save_CPPFLAGS
16440 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16441 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16444 if test "x$LDAP_LIBS" = "x"; then :
16445 case "x$with_ldap" in
16446 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
16447 xno) ;;
16448 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
16449 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
16450 esac
16454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
16455 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
16456 if ${wine_cv_one_arg_mkdir+:} false; then :
16457 $as_echo_n "(cached) " >&6
16458 else
16459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16460 /* end confdefs.h. */
16461 #include <sys/stat.h>
16463 main ()
16465 mkdir("foo");
16467 return 0;
16469 _ACEOF
16470 if ac_fn_c_try_compile "$LINENO"; then :
16471 wine_cv_one_arg_mkdir=yes
16472 else
16473 wine_cv_one_arg_mkdir=no
16475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
16478 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
16479 if test "$wine_cv_one_arg_mkdir" = "yes"
16480 then
16482 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
16486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
16487 $as_echo_n "checking for sched_setaffinity... " >&6; }
16488 if ${wine_cv_have_sched_setaffinity+:} false; then :
16489 $as_echo_n "(cached) " >&6
16490 else
16491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16492 /* end confdefs.h. */
16493 #define _GNU_SOURCE
16494 #include <sched.h>
16496 main ()
16498 sched_setaffinity(0, 0, 0);
16500 return 0;
16502 _ACEOF
16503 if ac_fn_c_try_link "$LINENO"; then :
16504 wine_cv_have_sched_setaffinity=yes
16505 else
16506 wine_cv_have_sched_setaffinity=no
16508 rm -f core conftest.err conftest.$ac_objext \
16509 conftest$ac_exeext conftest.$ac_ext
16511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
16512 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
16513 if test "$wine_cv_have_sched_setaffinity" = "yes"
16514 then
16516 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
16520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
16521 $as_echo_n "checking for fallocate... " >&6; }
16522 if ${wine_cv_have_fallocate+:} false; then :
16523 $as_echo_n "(cached) " >&6
16524 else
16525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16526 /* end confdefs.h. */
16527 #define _GNU_SOURCE
16528 #include <fcntl.h>
16530 main ()
16532 fallocate(-1, 0, 0, 0);
16534 return 0;
16536 _ACEOF
16537 if ac_fn_c_try_link "$LINENO"; then :
16538 wine_cv_have_fallocate=yes
16539 else
16540 wine_cv_have_fallocate=no
16542 rm -f core conftest.err conftest.$ac_objext \
16543 conftest$ac_exeext conftest.$ac_ext
16545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
16546 $as_echo "$wine_cv_have_fallocate" >&6; }
16547 if test "$wine_cv_have_fallocate" = "yes"
16548 then
16550 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
16555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
16556 $as_echo_n "checking for inline... " >&6; }
16557 if ${ac_cv_c_inline+:} false; then :
16558 $as_echo_n "(cached) " >&6
16559 else
16560 ac_cv_c_inline=no
16561 for ac_kw in inline __inline__ __inline; do
16562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16563 /* end confdefs.h. */
16564 #ifndef __cplusplus
16565 typedef int foo_t;
16566 static $ac_kw foo_t static_foo () {return 0; }
16567 $ac_kw foo_t foo () {return 0; }
16568 #endif
16570 _ACEOF
16571 if ac_fn_c_try_compile "$LINENO"; then :
16572 ac_cv_c_inline=$ac_kw
16574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16575 test "$ac_cv_c_inline" != no && break
16576 done
16579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
16580 $as_echo "$ac_cv_c_inline" >&6; }
16582 case $ac_cv_c_inline in
16583 inline | yes) ;;
16585 case $ac_cv_c_inline in
16586 no) ac_val=;;
16587 *) ac_val=$ac_cv_c_inline;;
16588 esac
16589 cat >>confdefs.h <<_ACEOF
16590 #ifndef __cplusplus
16591 #define inline $ac_val
16592 #endif
16593 _ACEOF
16595 esac
16597 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
16598 if test "x$ac_cv_type_mode_t" = xyes; then :
16600 cat >>confdefs.h <<_ACEOF
16601 #define HAVE_MODE_T 1
16602 _ACEOF
16606 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16607 if test "x$ac_cv_type_off_t" = xyes; then :
16609 cat >>confdefs.h <<_ACEOF
16610 #define HAVE_OFF_T 1
16611 _ACEOF
16615 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16616 if test "x$ac_cv_type_pid_t" = xyes; then :
16618 cat >>confdefs.h <<_ACEOF
16619 #define HAVE_PID_T 1
16620 _ACEOF
16624 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16625 if test "x$ac_cv_type_size_t" = xyes; then :
16627 cat >>confdefs.h <<_ACEOF
16628 #define HAVE_SIZE_T 1
16629 _ACEOF
16633 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16634 if test "x$ac_cv_type_ssize_t" = xyes; then :
16636 cat >>confdefs.h <<_ACEOF
16637 #define HAVE_SSIZE_T 1
16638 _ACEOF
16642 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16643 if test "x$ac_cv_type_long_long" = xyes; then :
16645 cat >>confdefs.h <<_ACEOF
16646 #define HAVE_LONG_LONG 1
16647 _ACEOF
16651 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16652 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16654 cat >>confdefs.h <<_ACEOF
16655 #define HAVE_FSBLKCNT_T 1
16656 _ACEOF
16660 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16661 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16663 cat >>confdefs.h <<_ACEOF
16664 #define HAVE_FSFILCNT_T 1
16665 _ACEOF
16670 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16671 #include <signal.h>
16673 if test "x$ac_cv_type_sigset_t" = xyes; then :
16675 cat >>confdefs.h <<_ACEOF
16676 #define HAVE_SIGSET_T 1
16677 _ACEOF
16682 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16684 if test "x$ac_cv_type_request_sense" = xyes; then :
16686 cat >>confdefs.h <<_ACEOF
16687 #define HAVE_REQUEST_SENSE 1
16688 _ACEOF
16694 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16695 #ifdef HAVE_SYS_SOCKET_H
16696 #include <sys/socket.h>
16697 #endif
16698 #ifdef HAVE_SYS_SOCKETVAR_H
16699 #include <sys/socketvar.h>
16700 #endif
16701 #ifdef HAVE_NET_ROUTE_H
16702 #include <net/route.h>
16703 #endif
16704 #ifdef HAVE_NETINET_IN_H
16705 #include <netinet/in.h>
16706 #endif
16707 #ifdef HAVE_NETINET_IN_SYSTM_H
16708 #include <netinet/in_systm.h>
16709 #endif
16710 #ifdef HAVE_NETINET_IP_H
16711 #include <netinet/ip.h>
16712 #endif
16713 #ifdef HAVE_NETINET_IN_PCB_H
16714 #include <netinet/in_pcb.h>
16715 #endif
16717 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16719 cat >>confdefs.h <<_ACEOF
16720 #define HAVE_STRUCT_XINPGEN 1
16721 _ACEOF
16727 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16728 #include <link.h>
16729 #endif
16730 #ifdef HAVE_SYS_LINK_H
16731 #include <sys/link.h>
16732 #endif
16734 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16736 cat >>confdefs.h <<_ACEOF
16737 #define HAVE_STRUCT_R_DEBUG 1
16738 _ACEOF
16742 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16743 #include <link.h>
16744 #endif
16745 #ifdef HAVE_SYS_LINK_H
16746 #include <sys/link.h>
16747 #endif
16749 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16751 cat >>confdefs.h <<_ACEOF
16752 #define HAVE_STRUCT_LINK_MAP 1
16753 _ACEOF
16759 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16760 #include <linux/input.h>
16761 #endif
16763 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16765 cat >>confdefs.h <<_ACEOF
16766 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16767 _ACEOF
16773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
16774 $as_echo_n "checking for if_nameindex... " >&6; }
16775 if ${wine_cv_have_if_nameindex+:} false; then :
16776 $as_echo_n "(cached) " >&6
16777 else
16778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16779 /* end confdefs.h. */
16780 #ifdef HAVE_SYS_TYPES_H
16781 #include <sys/types.h>
16782 #endif
16783 #ifdef HAVE_SYS_SOCKET_H
16784 #include <sys/socket.h>
16785 #endif
16786 #ifdef HAVE_NET_IF_H
16787 # include <net/if.h>
16788 #endif
16790 main ()
16792 struct if_nameindex *p = if_nameindex(); return p->if_index;
16794 return 0;
16796 _ACEOF
16797 if ac_fn_c_try_link "$LINENO"; then :
16798 wine_cv_have_if_nameindex=yes
16799 else
16800 wine_cv_have_if_nameindex=no
16802 rm -f core conftest.err conftest.$ac_objext \
16803 conftest$ac_exeext conftest.$ac_ext
16805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
16806 $as_echo "$wine_cv_have_if_nameindex" >&6; }
16807 if test "$wine_cv_have_if_nameindex" = "yes"
16808 then
16810 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
16814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16815 $as_echo_n "checking for sigaddset... " >&6; }
16816 if ${wine_cv_have_sigaddset+:} false; then :
16817 $as_echo_n "(cached) " >&6
16818 else
16819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16820 /* end confdefs.h. */
16821 #include <signal.h>
16823 main ()
16825 sigset_t set; sigaddset(&set,SIGTERM);
16827 return 0;
16829 _ACEOF
16830 if ac_fn_c_try_link "$LINENO"; then :
16831 wine_cv_have_sigaddset=yes
16832 else
16833 wine_cv_have_sigaddset=no
16835 rm -f core conftest.err conftest.$ac_objext \
16836 conftest$ac_exeext conftest.$ac_ext
16838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16839 $as_echo "$wine_cv_have_sigaddset" >&6; }
16840 if test "$wine_cv_have_sigaddset" = "yes"
16841 then
16843 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16849 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16850 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16851 $as_echo_n "(cached) " >&6
16852 else
16853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16854 /* end confdefs.h. */
16855 #include <netdb.h>
16857 main ()
16860 char *name=0;
16861 struct hostent he;
16862 struct hostent *result;
16863 char *buf=0;
16864 int bufsize=0;
16865 int errnr;
16866 char *addr=0;
16867 int addrlen=0;
16868 int addrtype=0;
16869 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16870 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16873 return 0;
16875 _ACEOF
16876 if ac_fn_c_try_link "$LINENO"; then :
16877 wine_cv_linux_gethostbyname_r_6=yes
16878 else
16879 wine_cv_linux_gethostbyname_r_6=no
16882 rm -f core conftest.err conftest.$ac_objext \
16883 conftest$ac_exeext conftest.$ac_ext
16886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16887 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16888 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16889 then
16891 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16895 if test "$ac_cv_header_linux_joystick_h" = "yes"
16896 then
16897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16898 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16899 if ${wine_cv_linux_joystick_22_api+:} false; then :
16900 $as_echo_n "(cached) " >&6
16901 else
16902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16903 /* end confdefs.h. */
16905 #include <sys/ioctl.h>
16906 #include <sys/types.h>
16907 #include <linux/joystick.h>
16909 struct js_event blub;
16910 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16911 #error "no 2.2 header"
16912 #endif
16915 main ()
16917 /*empty*/
16919 return 0;
16921 _ACEOF
16922 if ac_fn_c_try_compile "$LINENO"; then :
16923 wine_cv_linux_joystick_22_api=yes
16924 else
16925 wine_cv_linux_joystick_22_api=no
16927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16931 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16932 if test "$wine_cv_linux_joystick_22_api" = "yes"
16933 then
16935 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16941 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16942 #ifdef HAVE_SYS_PARAM_H
16943 # include <sys/param.h>
16944 #endif
16945 #ifdef HAVE_SYS_MOUNT_H
16946 # include <sys/mount.h>
16947 #endif
16948 #ifdef HAVE_SYS_VFS_H
16949 # include <sys/vfs.h>
16950 #endif
16951 #ifdef HAVE_SYS_STATFS_H
16952 # include <sys/statfs.h>
16953 #endif
16955 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16957 cat >>confdefs.h <<_ACEOF
16958 #define HAVE_STRUCT_STATFS_F_BFREE 1
16959 _ACEOF
16963 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16964 #ifdef HAVE_SYS_PARAM_H
16965 # include <sys/param.h>
16966 #endif
16967 #ifdef HAVE_SYS_MOUNT_H
16968 # include <sys/mount.h>
16969 #endif
16970 #ifdef HAVE_SYS_VFS_H
16971 # include <sys/vfs.h>
16972 #endif
16973 #ifdef HAVE_SYS_STATFS_H
16974 # include <sys/statfs.h>
16975 #endif
16977 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16979 cat >>confdefs.h <<_ACEOF
16980 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16981 _ACEOF
16985 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16986 #ifdef HAVE_SYS_PARAM_H
16987 # include <sys/param.h>
16988 #endif
16989 #ifdef HAVE_SYS_MOUNT_H
16990 # include <sys/mount.h>
16991 #endif
16992 #ifdef HAVE_SYS_VFS_H
16993 # include <sys/vfs.h>
16994 #endif
16995 #ifdef HAVE_SYS_STATFS_H
16996 # include <sys/statfs.h>
16997 #endif
16999 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
17001 cat >>confdefs.h <<_ACEOF
17002 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
17003 _ACEOF
17007 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
17008 #ifdef HAVE_SYS_PARAM_H
17009 # include <sys/param.h>
17010 #endif
17011 #ifdef HAVE_SYS_MOUNT_H
17012 # include <sys/mount.h>
17013 #endif
17014 #ifdef HAVE_SYS_VFS_H
17015 # include <sys/vfs.h>
17016 #endif
17017 #ifdef HAVE_SYS_STATFS_H
17018 # include <sys/statfs.h>
17019 #endif
17021 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
17023 cat >>confdefs.h <<_ACEOF
17024 #define HAVE_STRUCT_STATFS_F_FFREE 1
17025 _ACEOF
17029 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
17030 #ifdef HAVE_SYS_PARAM_H
17031 # include <sys/param.h>
17032 #endif
17033 #ifdef HAVE_SYS_MOUNT_H
17034 # include <sys/mount.h>
17035 #endif
17036 #ifdef HAVE_SYS_VFS_H
17037 # include <sys/vfs.h>
17038 #endif
17039 #ifdef HAVE_SYS_STATFS_H
17040 # include <sys/statfs.h>
17041 #endif
17043 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
17045 cat >>confdefs.h <<_ACEOF
17046 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
17047 _ACEOF
17051 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
17052 #ifdef HAVE_SYS_PARAM_H
17053 # include <sys/param.h>
17054 #endif
17055 #ifdef HAVE_SYS_MOUNT_H
17056 # include <sys/mount.h>
17057 #endif
17058 #ifdef HAVE_SYS_VFS_H
17059 # include <sys/vfs.h>
17060 #endif
17061 #ifdef HAVE_SYS_STATFS_H
17062 # include <sys/statfs.h>
17063 #endif
17065 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
17067 cat >>confdefs.h <<_ACEOF
17068 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
17069 _ACEOF
17075 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
17076 #include <sys/statvfs.h>
17077 #endif
17079 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
17081 cat >>confdefs.h <<_ACEOF
17082 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
17083 _ACEOF
17089 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
17090 #include <dirent.h>
17091 #endif
17093 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
17095 cat >>confdefs.h <<_ACEOF
17096 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
17097 _ACEOF
17103 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
17104 #ifdef HAVE_SYS_SOCKET_H
17105 # include <sys/socket.h>
17106 #endif
17107 #ifdef HAVE_SYS_UN_H
17108 # include <sys/un.h>
17109 #endif
17111 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
17113 cat >>confdefs.h <<_ACEOF
17114 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
17115 _ACEOF
17119 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
17120 #ifdef HAVE_SYS_SOCKET_H
17121 # include <sys/socket.h>
17122 #endif
17123 #ifdef HAVE_SYS_UN_H
17124 # include <sys/un.h>
17125 #endif
17127 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
17129 cat >>confdefs.h <<_ACEOF
17130 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
17131 _ACEOF
17135 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
17136 #ifdef HAVE_SYS_SOCKET_H
17137 # include <sys/socket.h>
17138 #endif
17139 #ifdef HAVE_SYS_UN_H
17140 # include <sys/un.h>
17141 #endif
17143 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
17145 cat >>confdefs.h <<_ACEOF
17146 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
17147 _ACEOF
17153 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
17154 #ifdef HAVE_SCSI_SG_H
17155 #include <scsi/sg.h>
17156 #endif
17158 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
17160 cat >>confdefs.h <<_ACEOF
17161 #define HAVE_SCSIREQ_T_CMD 1
17162 _ACEOF
17166 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>
17167 #ifdef HAVE_SCSI_SG_H
17168 #include <scsi/sg.h>
17169 #endif
17171 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
17173 cat >>confdefs.h <<_ACEOF
17174 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
17175 _ACEOF
17181 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
17183 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
17185 cat >>confdefs.h <<_ACEOF
17186 #define HAVE_SIGINFO_T_SI_FD 1
17187 _ACEOF
17193 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
17194 #ifdef HAVE_SYS_MTIO_H
17195 #include <sys/mtio.h>
17196 #endif
17198 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
17200 cat >>confdefs.h <<_ACEOF
17201 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
17202 _ACEOF
17206 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
17207 #ifdef HAVE_SYS_MTIO_H
17208 #include <sys/mtio.h>
17209 #endif
17211 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
17213 cat >>confdefs.h <<_ACEOF
17214 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
17215 _ACEOF
17219 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
17220 #ifdef HAVE_SYS_MTIO_H
17221 #include <sys/mtio.h>
17222 #endif
17224 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
17226 cat >>confdefs.h <<_ACEOF
17227 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
17228 _ACEOF
17234 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
17235 #include <getopt.h>
17236 #endif
17238 if test "x$ac_cv_member_struct_option_name" = xyes; then :
17240 cat >>confdefs.h <<_ACEOF
17241 #define HAVE_STRUCT_OPTION_NAME 1
17242 _ACEOF
17248 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
17249 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
17251 cat >>confdefs.h <<_ACEOF
17252 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17253 _ACEOF
17257 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
17258 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
17260 cat >>confdefs.h <<_ACEOF
17261 #define HAVE_STRUCT_STAT_ST_MTIM 1
17262 _ACEOF
17266 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
17267 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
17269 cat >>confdefs.h <<_ACEOF
17270 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
17271 _ACEOF
17275 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
17276 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
17278 cat >>confdefs.h <<_ACEOF
17279 #define HAVE_STRUCT_STAT_ST_CTIM 1
17280 _ACEOF
17284 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
17285 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
17287 cat >>confdefs.h <<_ACEOF
17288 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
17289 _ACEOF
17293 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
17294 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
17296 cat >>confdefs.h <<_ACEOF
17297 #define HAVE_STRUCT_STAT_ST_ATIM 1
17298 _ACEOF
17302 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
17303 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
17305 cat >>confdefs.h <<_ACEOF
17306 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
17307 _ACEOF
17311 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
17312 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
17314 cat >>confdefs.h <<_ACEOF
17315 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
17316 _ACEOF
17320 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
17321 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
17323 cat >>confdefs.h <<_ACEOF
17324 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
17325 _ACEOF
17329 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
17330 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
17332 cat >>confdefs.h <<_ACEOF
17333 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
17334 _ACEOF
17338 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
17339 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
17341 cat >>confdefs.h <<_ACEOF
17342 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
17343 _ACEOF
17347 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
17348 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
17350 cat >>confdefs.h <<_ACEOF
17351 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
17352 _ACEOF
17358 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
17359 #include <sys/types.h>
17360 #endif
17361 #ifdef HAVE_NETINET_IN_H
17362 #include <netinet/in.h>
17363 #endif
17365 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
17367 cat >>confdefs.h <<_ACEOF
17368 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
17369 _ACEOF
17375 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
17376 #include <sys/types.h>
17377 #endif
17378 #ifdef HAVE_NETINET_IN_H
17379 #include <netinet/in.h>
17380 #endif
17381 #ifdef HAVE_RESOLV_H
17382 #include <resolv.h>
17383 #endif
17385 if test "x$ac_cv_type_struct___res_state" = xyes; then :
17387 cat >>confdefs.h <<_ACEOF
17388 #define HAVE_STRUCT___RES_STATE 1
17389 _ACEOF
17395 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
17396 #include <resolv.h>
17397 #endif
17399 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
17401 cat >>confdefs.h <<_ACEOF
17402 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
17403 _ACEOF
17409 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
17410 #include <sys/types.h>
17411 #endif
17412 #ifdef HAVE_NETINET_IN_H
17413 # include <netinet/in.h>
17414 #endif
17415 #ifdef HAVE_ARPA_NAMESER_H
17416 # include <arpa/nameser.h>
17417 #endif
17419 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
17421 cat >>confdefs.h <<_ACEOF
17422 #define HAVE_NS_MSG__MSG_PTR 1
17423 _ACEOF
17429 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
17430 #include <sys/types.h>
17431 #endif
17432 #ifdef HAVE_NETINET_IN_H
17433 #include <netinet/in.h>
17434 #endif
17435 #ifdef HAVE_NETINET_IP_H
17436 #include <netinet/ip.h>
17437 #endif
17438 #ifdef HAVE_NETINET_IP_ICMP_H
17439 #include <netinet/ip_icmp.h>
17440 #endif
17441 #ifdef HAVE_NETINET_ICMP_VAR_H
17442 #include <netinet/icmp_var.h>
17443 #endif
17445 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
17447 cat >>confdefs.h <<_ACEOF
17448 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
17449 _ACEOF
17455 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
17456 #include <sys/types.h>
17457 #endif
17458 #ifdef HAVE_ALIAS_H
17459 #include <alias.h>
17460 #endif
17461 #ifdef HAVE_SYS_SOCKET_H
17462 #include <sys/socket.h>
17463 #endif
17464 #ifdef HAVE_SYS_SOCKETVAR_H
17465 #include <sys/socketvar.h>
17466 #endif
17467 #ifdef HAVE_SYS_TIMEOUT_H
17468 #include <sys/timeout.h>
17469 #endif
17470 #ifdef HAVE_NETINET_IN_H
17471 #include <netinet/in.h>
17472 #endif
17473 #ifdef HAVE_NETINET_IN_SYSTM_H
17474 #include <netinet/in_systm.h>
17475 #endif
17476 #ifdef HAVE_NETINET_IP_H
17477 #include <netinet/ip.h>
17478 #endif
17479 #ifdef HAVE_NETINET_IP_VAR_H
17480 #include <netinet/ip_var.h>
17481 #endif
17482 #ifdef HAVE_NETINET_IP_ICMP_H
17483 #include <netinet/ip_icmp.h>
17484 #endif
17485 #ifdef HAVE_NETINET_ICMP_VAR_H
17486 #include <netinet/icmp_var.h>
17487 #endif
17489 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
17491 cat >>confdefs.h <<_ACEOF
17492 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
17493 _ACEOF
17499 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
17500 #include <sys/types.h>
17501 #endif
17502 #ifdef HAVE_SYS_SOCKETVAR_H
17503 #include <sys/socketvar.h>
17504 #endif
17505 #ifdef HAVE_NETINET_IN_H
17506 #include <netinet/in.h>
17507 #endif
17508 #ifdef HAVE_NETINET_IP_VAR_H
17509 #include <netinet/ip_var.h>
17510 #endif
17512 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
17514 cat >>confdefs.h <<_ACEOF
17515 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
17516 _ACEOF
17522 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
17523 #include <netinet/ip_var.h>
17524 #endif
17526 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
17528 cat >>confdefs.h <<_ACEOF
17529 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
17530 _ACEOF
17536 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
17537 #include <sys/types.h>
17538 #endif
17539 #ifdef HAVE_SYS_SOCKETVAR_H
17540 #include <sys/socketvar.h>
17541 #endif
17542 #ifdef HAVE_NETINET_IN_H
17543 #include <netinet/in.h>
17544 #endif
17545 #ifdef HAVE_NETINET_TCP_H
17546 #include <netinet/tcp.h>
17547 #endif
17548 #ifdef HAVE_NETINET_TCP_VAR_H
17549 #include <netinet/tcp_var.h>
17550 #endif
17552 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
17554 cat >>confdefs.h <<_ACEOF
17555 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
17556 _ACEOF
17562 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
17563 #include <netinet/tcp_var.h>
17564 #endif
17566 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
17568 cat >>confdefs.h <<_ACEOF
17569 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
17570 _ACEOF
17576 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
17577 #include <sys/types.h>
17578 #endif
17579 #ifdef HAVE_NETINET_IN_H
17580 #include <netinet/in.h>
17581 #endif
17582 #ifdef HAVE_NETINET_IP_VAR_H
17583 #include <netinet/ip_var.h>
17584 #endif
17585 #ifdef HAVE_NETINET_UDP_H
17586 #include <netinet/udp.h>
17587 #endif
17588 #ifdef HAVE_NETINET_UDP_VAR_H
17589 #include <netinet/udp_var.h>
17590 #endif
17592 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
17594 cat >>confdefs.h <<_ACEOF
17595 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
17596 _ACEOF
17602 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
17603 #include <sys/types.h>
17604 #endif
17605 #ifdef HAVE_NET_IF_H
17606 # include <net/if.h>
17607 #endif
17609 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
17611 cat >>confdefs.h <<_ACEOF
17612 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
17613 _ACEOF
17619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
17620 $as_echo_n "checking for timezone variable... " >&6; }
17621 if ${ac_cv_have_timezone+:} false; then :
17622 $as_echo_n "(cached) " >&6
17623 else
17624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17625 /* end confdefs.h. */
17626 #include <time.h>
17628 main ()
17630 timezone = 1
17632 return 0;
17634 _ACEOF
17635 if ac_fn_c_try_link "$LINENO"; then :
17636 ac_cv_have_timezone="yes"
17637 else
17638 ac_cv_have_timezone="no"
17640 rm -f core conftest.err conftest.$ac_objext \
17641 conftest$ac_exeext conftest.$ac_ext
17643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
17644 $as_echo "$ac_cv_have_timezone" >&6; }
17645 if test "$ac_cv_have_timezone" = "yes"
17646 then
17648 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17652 $as_echo_n "checking for daylight variable... " >&6; }
17653 if ${ac_cv_have_daylight+:} false; then :
17654 $as_echo_n "(cached) " >&6
17655 else
17656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17657 /* end confdefs.h. */
17658 #include <time.h>
17660 main ()
17662 daylight = 1
17664 return 0;
17666 _ACEOF
17667 if ac_fn_c_try_link "$LINENO"; then :
17668 ac_cv_have_daylight="yes"
17669 else
17670 ac_cv_have_daylight="no"
17672 rm -f core conftest.err conftest.$ac_objext \
17673 conftest$ac_exeext conftest.$ac_ext
17675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17676 $as_echo "$ac_cv_have_daylight" >&6; }
17677 if test "$ac_cv_have_daylight" = "yes"
17678 then
17680 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17684 ac_save_LIBS="$LIBS"
17685 LIBS="$LIBS -lm"
17686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17687 $as_echo_n "checking for isfinite... " >&6; }
17688 if ${ac_cv_have_isfinite+:} false; then :
17689 $as_echo_n "(cached) " >&6
17690 else
17691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17692 /* end confdefs.h. */
17693 #define _GNU_SOURCE
17694 #include <math.h>
17696 main ()
17698 float f = 0.0; return isfinite(f)
17700 return 0;
17702 _ACEOF
17703 if ac_fn_c_try_link "$LINENO"; then :
17704 ac_cv_have_isfinite="yes"
17705 else
17706 ac_cv_have_isfinite="no"
17708 rm -f core conftest.err conftest.$ac_objext \
17709 conftest$ac_exeext conftest.$ac_ext
17711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17712 $as_echo "$ac_cv_have_isfinite" >&6; }
17713 if test "$ac_cv_have_isfinite" = "yes"
17714 then
17716 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17721 $as_echo_n "checking for isinf... " >&6; }
17722 if ${ac_cv_have_isinf+:} false; then :
17723 $as_echo_n "(cached) " >&6
17724 else
17725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17726 /* end confdefs.h. */
17727 #include <math.h>
17729 main ()
17731 float f = 0.0; return isinf(f)
17733 return 0;
17735 _ACEOF
17736 if ac_fn_c_try_link "$LINENO"; then :
17737 ac_cv_have_isinf="yes"
17738 else
17739 ac_cv_have_isinf="no"
17741 rm -f core conftest.err conftest.$ac_objext \
17742 conftest$ac_exeext conftest.$ac_ext
17744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17745 $as_echo "$ac_cv_have_isinf" >&6; }
17746 if test "$ac_cv_have_isinf" = "yes"
17747 then
17749 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17754 $as_echo_n "checking for isnan... " >&6; }
17755 if ${ac_cv_have_isnan+:} false; then :
17756 $as_echo_n "(cached) " >&6
17757 else
17758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17759 /* end confdefs.h. */
17760 #include <math.h>
17762 main ()
17764 float f = 0.0; return isnan(f)
17766 return 0;
17768 _ACEOF
17769 if ac_fn_c_try_link "$LINENO"; then :
17770 ac_cv_have_isnan="yes"
17771 else
17772 ac_cv_have_isnan="no"
17774 rm -f core conftest.err conftest.$ac_objext \
17775 conftest$ac_exeext conftest.$ac_ext
17777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17778 $as_echo "$ac_cv_have_isnan" >&6; }
17779 if test "$ac_cv_have_isnan" = "yes"
17780 then
17782 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17786 for ac_func in \
17787 acosh \
17788 acoshf \
17789 asinh \
17790 asinhf \
17791 atanh \
17792 atanhf \
17793 cbrt \
17794 cbrtf \
17795 erf \
17796 erfc \
17797 erfcf \
17798 erff \
17799 exp2 \
17800 exp2f \
17801 expm1 \
17802 expm1f \
17803 lgamma \
17804 lgammaf \
17805 llrint \
17806 llrintf \
17807 llround \
17808 llroundf \
17809 log1p \
17810 log1pf \
17811 log2 \
17812 log2f \
17813 lrint \
17814 lrintf \
17815 lround \
17816 lroundf \
17817 nearbyint \
17818 nearbyintf \
17819 powl \
17820 remainder \
17821 remainderf \
17822 rint \
17823 rintf \
17824 round \
17825 roundf \
17826 trunc \
17827 truncf
17829 do :
17830 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17831 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17832 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17833 cat >>confdefs.h <<_ACEOF
17834 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17835 _ACEOF
17838 done
17840 LIBS="$ac_save_LIBS"
17842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17843 $as_echo_n "checking for __builtin_clz... " >&6; }
17844 if ${ac_cv_have___builtin_clz+:} false; then :
17845 $as_echo_n "(cached) " >&6
17846 else
17847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17848 /* end confdefs.h. */
17851 main ()
17853 return __builtin_clz(1)
17855 return 0;
17857 _ACEOF
17858 if ac_fn_c_try_link "$LINENO"; then :
17859 ac_cv_have___builtin_clz="yes"
17860 else
17861 ac_cv_have___builtin_clz="no"
17863 rm -f core conftest.err conftest.$ac_objext \
17864 conftest$ac_exeext conftest.$ac_ext
17866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17867 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17868 if test "$ac_cv_have___builtin_clz" = "yes"
17869 then
17871 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17876 $as_echo_n "checking for __builtin_popcount... " >&6; }
17877 if ${ac_cv_have___builtin_popcount+:} false; then :
17878 $as_echo_n "(cached) " >&6
17879 else
17880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17881 /* end confdefs.h. */
17884 main ()
17886 return __builtin_popcount(1)
17888 return 0;
17890 _ACEOF
17891 if ac_fn_c_try_link "$LINENO"; then :
17892 ac_cv_have___builtin_popcount="yes"
17893 else
17894 ac_cv_have___builtin_popcount="no"
17896 rm -f core conftest.err conftest.$ac_objext \
17897 conftest$ac_exeext conftest.$ac_ext
17899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17900 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17901 if test "$ac_cv_have___builtin_popcount" = "yes"
17902 then
17904 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
17909 $as_echo_n "checking for __clear_cache... " >&6; }
17910 if ${ac_cv_have___clear_cache+:} false; then :
17911 $as_echo_n "(cached) " >&6
17912 else
17913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17914 /* end confdefs.h. */
17917 main ()
17919 __clear_cache((void*)0, (void*)0); return 0;
17921 return 0;
17923 _ACEOF
17924 if ac_fn_c_try_link "$LINENO"; then :
17925 ac_cv_have___clear_cache="yes"
17926 else
17927 ac_cv_have___clear_cache="no"
17929 rm -f core conftest.err conftest.$ac_objext \
17930 conftest$ac_exeext conftest.$ac_ext
17932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
17933 $as_echo "$ac_cv_have___clear_cache" >&6; }
17934 if test "$ac_cv_have___clear_cache" = "yes"
17935 then
17937 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
17942 case $host_cpu in
17943 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17944 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17945 if ${ac_cv_cpp_def___i386__+:} false; then :
17946 $as_echo_n "(cached) " >&6
17947 else
17948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17949 /* end confdefs.h. */
17950 #ifndef __i386__
17952 #endif
17953 _ACEOF
17954 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17955 $EGREP "yes" >/dev/null 2>&1; then :
17956 ac_cv_cpp_def___i386__=yes
17957 else
17958 ac_cv_cpp_def___i386__=no
17960 rm -f conftest*
17963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17964 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17965 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17966 CFLAGS="$CFLAGS -D__i386__"
17967 LINTFLAGS="$LINTFLAGS -D__i386__"
17968 fi ;;
17969 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17970 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17971 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17972 $as_echo_n "(cached) " >&6
17973 else
17974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17975 /* end confdefs.h. */
17976 #ifndef __x86_64__
17978 #endif
17979 _ACEOF
17980 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17981 $EGREP "yes" >/dev/null 2>&1; then :
17982 ac_cv_cpp_def___x86_64__=yes
17983 else
17984 ac_cv_cpp_def___x86_64__=no
17986 rm -f conftest*
17989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17990 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17991 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17992 CFLAGS="$CFLAGS -D__x86_64__"
17993 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17994 fi ;;
17995 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17996 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17997 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17998 $as_echo_n "(cached) " >&6
17999 else
18000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18001 /* end confdefs.h. */
18002 #ifndef __sparc64__
18004 #endif
18005 _ACEOF
18006 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18007 $EGREP "yes" >/dev/null 2>&1; then :
18008 ac_cv_cpp_def___sparc64__=yes
18009 else
18010 ac_cv_cpp_def___sparc64__=no
18012 rm -f conftest*
18015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
18016 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
18017 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
18018 CFLAGS="$CFLAGS -D__sparc64__"
18019 LINTFLAGS="$LINTFLAGS -D__sparc64__"
18020 fi ;;
18021 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
18022 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
18023 if ${ac_cv_cpp_def___sparc__+:} false; then :
18024 $as_echo_n "(cached) " >&6
18025 else
18026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18027 /* end confdefs.h. */
18028 #ifndef __sparc__
18030 #endif
18031 _ACEOF
18032 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18033 $EGREP "yes" >/dev/null 2>&1; then :
18034 ac_cv_cpp_def___sparc__=yes
18035 else
18036 ac_cv_cpp_def___sparc__=no
18038 rm -f conftest*
18041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
18042 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
18043 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
18044 CFLAGS="$CFLAGS -D__sparc__"
18045 LINTFLAGS="$LINTFLAGS -D__sparc__"
18046 fi ;;
18047 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
18048 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
18049 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
18050 $as_echo_n "(cached) " >&6
18051 else
18052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18053 /* end confdefs.h. */
18054 #ifndef __powerpc64__
18056 #endif
18057 _ACEOF
18058 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18059 $EGREP "yes" >/dev/null 2>&1; then :
18060 ac_cv_cpp_def___powerpc64__=yes
18061 else
18062 ac_cv_cpp_def___powerpc64__=no
18064 rm -f conftest*
18067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
18068 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
18069 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
18070 CFLAGS="$CFLAGS -D__powerpc64__"
18071 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
18072 fi ;;
18073 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
18074 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
18075 if ${ac_cv_cpp_def___powerpc__+:} false; then :
18076 $as_echo_n "(cached) " >&6
18077 else
18078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18079 /* end confdefs.h. */
18080 #ifndef __powerpc__
18082 #endif
18083 _ACEOF
18084 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18085 $EGREP "yes" >/dev/null 2>&1; then :
18086 ac_cv_cpp_def___powerpc__=yes
18087 else
18088 ac_cv_cpp_def___powerpc__=no
18090 rm -f conftest*
18093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
18094 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
18095 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
18096 CFLAGS="$CFLAGS -D__powerpc__"
18097 LINTFLAGS="$LINTFLAGS -D__powerpc__"
18098 fi ;;
18099 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
18100 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
18101 if ${ac_cv_cpp_def___aarch64__+:} false; then :
18102 $as_echo_n "(cached) " >&6
18103 else
18104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18105 /* end confdefs.h. */
18106 #ifndef __aarch64__
18108 #endif
18109 _ACEOF
18110 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18111 $EGREP "yes" >/dev/null 2>&1; then :
18112 ac_cv_cpp_def___aarch64__=yes
18113 else
18114 ac_cv_cpp_def___aarch64__=no
18116 rm -f conftest*
18119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
18120 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
18121 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
18122 CFLAGS="$CFLAGS -D__aarch64__"
18123 LINTFLAGS="$LINTFLAGS -D__aarch64__"
18124 fi ;;
18125 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
18126 $as_echo_n "checking whether we need to define __arm__... " >&6; }
18127 if ${ac_cv_cpp_def___arm__+:} false; then :
18128 $as_echo_n "(cached) " >&6
18129 else
18130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18131 /* end confdefs.h. */
18132 #ifndef __arm__
18134 #endif
18135 _ACEOF
18136 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18137 $EGREP "yes" >/dev/null 2>&1; then :
18138 ac_cv_cpp_def___arm__=yes
18139 else
18140 ac_cv_cpp_def___arm__=no
18142 rm -f conftest*
18145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
18146 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
18147 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
18148 CFLAGS="$CFLAGS -D__arm__"
18149 LINTFLAGS="$LINTFLAGS -D__arm__"
18150 fi ;;
18151 esac
18153 case $host_vendor in
18154 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
18155 $as_echo_n "checking whether we need to define __sun__... " >&6; }
18156 if ${ac_cv_cpp_def___sun__+:} false; then :
18157 $as_echo_n "(cached) " >&6
18158 else
18159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18160 /* end confdefs.h. */
18161 #ifndef __sun__
18163 #endif
18164 _ACEOF
18165 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18166 $EGREP "yes" >/dev/null 2>&1; then :
18167 ac_cv_cpp_def___sun__=yes
18168 else
18169 ac_cv_cpp_def___sun__=no
18171 rm -f conftest*
18174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
18175 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
18176 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
18177 CFLAGS="$CFLAGS -D__sun__"
18178 LINTFLAGS="$LINTFLAGS -D__sun__"
18179 fi ;;
18180 esac
18186 ac_config_commands="$ac_config_commands include/stamp-h"
18188 $as_echo_n "creating Makefile rules..." >&6
18190 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
18191 SOCKET_LIBS = $SOCKET_LIBS
18192 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
18193 IOKIT_LIBS = $IOKIT_LIBS
18194 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
18195 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
18196 CORESERVICES_LIBS = $CORESERVICES_LIBS
18197 APPKIT_LIBS = $APPKIT_LIBS
18198 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
18199 SECURITY_LIBS = $SECURITY_LIBS
18200 COREAUDIO_LIBS = $COREAUDIO_LIBS
18201 OPENAL_LIBS = $OPENAL_LIBS
18202 OPENCL_LIBS = $OPENCL_LIBS
18203 QUICKTIME_LIBS = $QUICKTIME_LIBS
18204 CARBON_LIBS = $CARBON_LIBS
18205 PTHREAD_LIBS = $PTHREAD_LIBS
18206 X_CFLAGS = $X_CFLAGS
18207 X_PRE_LIBS = $X_PRE_LIBS
18208 X_LIBS = $X_LIBS
18209 X_EXTRA_LIBS = $X_EXTRA_LIBS
18210 PCAP_LIBS = $PCAP_LIBS
18211 XML2_CFLAGS = $XML2_CFLAGS
18212 XML2_LIBS = $XML2_LIBS
18213 XSLT_CFLAGS = $XSLT_CFLAGS
18214 XSLT_LIBS = $XSLT_LIBS
18215 DBUS_CFLAGS = $DBUS_CFLAGS
18216 DBUS_LIBS = $DBUS_LIBS
18217 HAL_CFLAGS = $HAL_CFLAGS
18218 HAL_LIBS = $HAL_LIBS
18219 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
18220 GNUTLS_LIBS = $GNUTLS_LIBS
18221 SANE_CFLAGS = $SANE_CFLAGS
18222 SANE_LIBS = $SANE_LIBS
18223 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
18224 GPHOTO2_LIBS = $GPHOTO2_LIBS
18225 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
18226 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
18227 RESOLV_LIBS = $RESOLV_LIBS
18228 LCMS2_CFLAGS = $LCMS2_CFLAGS
18229 LCMS2_LIBS = $LCMS2_LIBS
18230 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
18231 FREETYPE_LIBS = $FREETYPE_LIBS
18232 Z_LIBS = $Z_LIBS
18233 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
18234 PULSE_CFLAGS = $PULSE_CFLAGS
18235 PULSE_LIBS = $PULSE_LIBS
18236 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
18237 GSTREAMER_LIBS = $GSTREAMER_LIBS
18238 ALSA_LIBS = $ALSA_LIBS
18239 OSS4_CFLAGS = $OSS4_CFLAGS
18240 UDEV_CFLAGS = $UDEV_CFLAGS
18241 UDEV_LIBS = $UDEV_LIBS
18242 CAPI20_CFLAGS = $CAPI20_CFLAGS
18243 CAPI20_LIBS = $CAPI20_LIBS
18244 CUPS_CFLAGS = $CUPS_CFLAGS
18245 CUPS_LIBS = $CUPS_LIBS
18246 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
18247 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
18248 KRB5_CFLAGS = $KRB5_CFLAGS
18249 KRB5_LIBS = $KRB5_LIBS
18250 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
18251 GSSAPI_LIBS = $GSSAPI_LIBS
18252 JPEG_CFLAGS = $JPEG_CFLAGS
18253 JPEG_LIBS = $JPEG_LIBS
18254 PNG_CFLAGS = $PNG_CFLAGS
18255 PNG_LIBS = $PNG_LIBS
18256 TIFF_CFLAGS = $TIFF_CFLAGS
18257 TIFF_LIBS = $TIFF_LIBS
18258 MPG123_CFLAGS = $MPG123_CFLAGS
18259 MPG123_LIBS = $MPG123_LIBS
18260 KSTAT_LIBS = $KSTAT_LIBS
18261 PROCSTAT_LIBS = $PROCSTAT_LIBS
18262 NETAPI_CFLAGS = $NETAPI_CFLAGS
18263 NETAPI_LIBS = $NETAPI_LIBS
18264 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
18265 DL_LIBS = $DL_LIBS
18266 POLL_LIBS = $POLL_LIBS
18267 RT_LIBS = $RT_LIBS
18268 LDAP_CFLAGS = $LDAP_CFLAGS
18269 LDAP_LIBS = $LDAP_LIBS
18274 wine_fn_append_rule "
18275 # Rules automatically generated by configure
18277 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
18279 .INIT: Makefile
18280 .MAKEFILEDEPS:
18281 all: Makefile
18282 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
18283 @./config.status Make.tmp Makefile
18284 depend: \$(MAKEDEP) dummy
18285 \$(MAKEDEP)"
18287 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
18288 @echo \"crosstest is not supported (mingw not installed?)\" && false"
18290 if test "x$enable_fonts" != xno; then
18291 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
18292 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
18293 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
18294 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
18295 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
18296 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
18298 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
18299 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
18300 ac_config_links="$ac_config_links wine:tools/winewrapper"
18301 wine_fn_config_symlink wine
18302 if test "x$enable_win64" != xno; then
18303 ac_config_links="$ac_config_links wine64:tools/winewrapper"
18304 wine_fn_config_symlink wine64
18307 wine_fn_config_dll acledit enable_acledit
18308 wine_fn_config_dll aclui enable_aclui implib
18309 wine_fn_config_dll activeds enable_activeds implib
18310 wine_fn_config_dll actxprxy enable_actxprxy clean
18311 wine_fn_config_lib adsiid
18312 wine_fn_config_dll adsldpc enable_adsldpc
18313 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
18314 wine_fn_config_test dlls/advapi32/tests advapi32_test
18315 wine_fn_config_dll advpack enable_advpack implib
18316 wine_fn_config_test dlls/advpack/tests advpack_test
18317 wine_fn_config_dll amstream enable_amstream clean
18318 wine_fn_config_test dlls/amstream/tests amstream_test
18319 wine_fn_config_dll api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
18320 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
18321 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
18322 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
18323 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
18324 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
18325 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
18326 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
18327 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
18328 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
18329 wine_fn_config_dll api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
18330 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
18331 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
18332 wine_fn_config_dll api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
18333 wine_fn_config_dll api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
18334 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
18335 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
18336 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
18337 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
18338 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
18339 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
18340 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
18341 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
18342 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
18343 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
18344 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
18345 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
18346 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
18347 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
18348 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
18349 wine_fn_config_dll api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
18350 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
18351 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
18352 wine_fn_config_dll api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
18353 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
18354 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
18355 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
18356 wine_fn_config_dll api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
18357 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
18358 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
18359 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
18360 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
18361 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
18362 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
18363 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
18364 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
18365 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
18366 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
18367 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
18368 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
18369 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
18370 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
18371 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
18372 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
18373 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
18374 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
18375 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
18376 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
18377 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
18378 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
18379 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
18380 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
18381 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
18382 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
18383 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
18384 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
18385 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
18386 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
18387 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
18388 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
18389 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
18390 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
18391 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
18392 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
18393 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
18394 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
18395 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
18396 wine_fn_config_dll api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
18397 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
18398 wine_fn_config_dll api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
18399 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
18400 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
18401 wine_fn_config_dll api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
18402 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
18403 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
18404 wine_fn_config_dll api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
18405 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
18406 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
18407 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
18408 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
18409 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
18410 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
18411 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
18412 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
18413 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
18414 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
18415 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
18416 wine_fn_config_dll api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
18417 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
18418 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
18419 wine_fn_config_dll api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
18420 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
18421 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
18422 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
18423 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
18424 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
18425 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
18426 wine_fn_config_dll api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
18427 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
18428 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
18429 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
18430 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
18431 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
18432 wine_fn_config_dll api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
18433 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
18434 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
18435 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
18436 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
18437 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
18438 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
18439 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
18440 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
18441 wine_fn_config_dll api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
18442 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
18443 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
18444 wine_fn_config_dll api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
18445 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
18446 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
18447 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
18448 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
18449 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
18450 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
18451 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
18452 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
18453 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
18454 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
18455 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
18456 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
18457 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
18458 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
18459 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
18460 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
18461 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
18462 wine_fn_config_dll api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
18463 wine_fn_config_dll api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
18464 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
18465 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
18466 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
18467 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
18468 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
18469 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
18470 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
18471 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
18472 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
18473 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
18474 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
18475 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
18476 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
18477 wine_fn_config_dll api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
18478 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
18479 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
18480 wine_fn_config_dll api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
18481 wine_fn_config_dll api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
18482 wine_fn_config_dll api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
18483 wine_fn_config_dll api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
18484 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
18485 wine_fn_config_dll api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
18486 wine_fn_config_dll api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
18487 wine_fn_config_dll api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
18488 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
18489 wine_fn_config_dll api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
18490 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
18491 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
18492 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
18493 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
18494 wine_fn_config_dll api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
18495 wine_fn_config_dll api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
18496 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
18497 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
18498 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
18499 wine_fn_config_dll api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
18500 wine_fn_config_dll api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
18501 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
18502 wine_fn_config_dll api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
18503 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
18504 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
18505 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
18506 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
18507 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
18508 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
18509 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
18510 wine_fn_config_dll api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
18511 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
18512 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
18513 wine_fn_config_dll apphelp enable_apphelp
18514 wine_fn_config_test dlls/apphelp/tests apphelp_test
18515 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
18516 wine_fn_config_dll atl enable_atl clean,implib
18517 wine_fn_config_test dlls/atl/tests atl_test
18518 wine_fn_config_dll atl100 enable_atl100 clean,implib
18519 wine_fn_config_test dlls/atl100/tests atl100_test
18520 wine_fn_config_dll atl110 enable_atl110 clean
18521 wine_fn_config_dll atl80 enable_atl80 clean,implib
18522 wine_fn_config_test dlls/atl80/tests atl80_test
18523 wine_fn_config_dll atl90 enable_atl90 clean
18524 wine_fn_config_dll authz enable_authz
18525 wine_fn_config_dll avicap32 enable_avicap32 implib
18526 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
18527 wine_fn_config_test dlls/avifil32/tests avifil32_test
18528 wine_fn_config_dll avifile.dll16 enable_win16
18529 wine_fn_config_dll avrt enable_avrt implib
18530 wine_fn_config_dll bcrypt enable_bcrypt implib
18531 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
18532 wine_fn_config_dll bluetoothapis enable_bluetoothapis
18533 wine_fn_config_dll browseui enable_browseui clean
18534 wine_fn_config_test dlls/browseui/tests browseui_test
18535 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
18536 wine_fn_config_dll cabinet enable_cabinet implib
18537 wine_fn_config_test dlls/cabinet/tests cabinet_test
18538 wine_fn_config_dll capi2032 enable_capi2032 implib
18539 wine_fn_config_dll cards enable_cards implib
18540 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
18541 wine_fn_config_dll clusapi enable_clusapi implib
18542 wine_fn_config_dll combase enable_combase
18543 wine_fn_config_test dlls/combase/tests combase_test
18544 wine_fn_config_dll comcat enable_comcat
18545 wine_fn_config_test dlls/comcat/tests comcat_test
18546 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
18547 wine_fn_config_test dlls/comctl32/tests comctl32_test
18548 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
18549 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
18550 wine_fn_config_dll comm.drv16 enable_win16
18551 wine_fn_config_dll commdlg.dll16 enable_win16
18552 wine_fn_config_dll compobj.dll16 enable_win16
18553 wine_fn_config_dll compstui enable_compstui implib
18554 wine_fn_config_dll comsvcs enable_comsvcs clean,implib
18555 wine_fn_config_dll concrt140 enable_concrt140
18556 wine_fn_config_dll connect enable_connect
18557 wine_fn_config_dll credui enable_credui clean,implib
18558 wine_fn_config_test dlls/credui/tests credui_test
18559 wine_fn_config_dll crtdll enable_crtdll
18560 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
18561 wine_fn_config_test dlls/crypt32/tests crypt32_test
18562 wine_fn_config_dll cryptdlg enable_cryptdlg clean
18563 wine_fn_config_dll cryptdll enable_cryptdll implib
18564 wine_fn_config_dll cryptext enable_cryptext
18565 wine_fn_config_dll cryptnet enable_cryptnet implib
18566 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
18567 wine_fn_config_dll cryptui enable_cryptui clean,implib
18568 wine_fn_config_test dlls/cryptui/tests cryptui_test
18569 wine_fn_config_dll ctapi32 enable_ctapi32
18570 wine_fn_config_dll ctl3d.dll16 enable_win16
18571 wine_fn_config_dll ctl3d32 enable_ctl3d32
18572 wine_fn_config_dll ctl3dv2.dll16 enable_win16
18573 wine_fn_config_dll d2d1 enable_d2d1 implib
18574 wine_fn_config_test dlls/d2d1/tests d2d1_test
18575 wine_fn_config_dll d3d10 enable_d3d10 implib
18576 wine_fn_config_test dlls/d3d10/tests d3d10_test
18577 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
18578 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
18579 wine_fn_config_dll d3d10core enable_d3d10core implib
18580 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
18581 wine_fn_config_dll d3d11 enable_d3d11 implib
18582 wine_fn_config_test dlls/d3d11/tests d3d11_test
18583 wine_fn_config_dll d3d8 enable_d3d8 implib
18584 wine_fn_config_test dlls/d3d8/tests d3d8_test
18585 wine_fn_config_dll d3d9 enable_d3d9 implib
18586 wine_fn_config_test dlls/d3d9/tests d3d9_test
18587 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
18588 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
18589 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
18590 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
18591 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
18592 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
18593 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
18594 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
18595 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
18596 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
18597 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
18598 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
18599 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
18600 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
18601 wine_fn_config_dll d3dim enable_d3dim
18602 wine_fn_config_dll d3drm enable_d3drm implib
18603 wine_fn_config_test dlls/d3drm/tests d3drm_test
18604 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
18605 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
18606 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
18607 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
18608 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
18609 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
18610 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
18611 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
18612 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
18613 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
18614 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
18615 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
18616 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
18617 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
18618 wine_fn_config_test dlls/d3dx11_43/tests d3dx11_43_test
18619 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
18620 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
18621 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
18622 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
18623 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
18624 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
18625 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
18626 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
18627 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
18628 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
18629 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
18630 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
18631 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
18632 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
18633 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
18634 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
18635 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
18636 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
18637 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
18638 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
18639 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
18640 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
18641 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
18642 wine_fn_config_dll davclnt enable_davclnt
18643 wine_fn_config_dll dbgeng enable_dbgeng implib
18644 wine_fn_config_dll dbghelp enable_dbghelp implib
18645 wine_fn_config_dll dciman32 enable_dciman32 implib
18646 wine_fn_config_dll ddeml.dll16 enable_win16
18647 wine_fn_config_dll ddraw enable_ddraw clean,implib
18648 wine_fn_config_test dlls/ddraw/tests ddraw_test
18649 wine_fn_config_dll ddrawex enable_ddrawex clean
18650 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
18651 wine_fn_config_dll devenum enable_devenum clean
18652 wine_fn_config_test dlls/devenum/tests devenum_test
18653 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
18654 wine_fn_config_dll dhtmled.ocx enable_dhtmled_ocx clean
18655 wine_fn_config_dll difxapi enable_difxapi
18656 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
18657 wine_fn_config_test dlls/dinput/tests dinput_test
18658 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
18659 wine_fn_config_test dlls/dinput8/tests dinput8_test
18660 wine_fn_config_dll dispdib.dll16 enable_win16
18661 wine_fn_config_dll dispex enable_dispex clean
18662 wine_fn_config_test dlls/dispex/tests dispex_test
18663 wine_fn_config_dll display.drv16 enable_win16
18664 wine_fn_config_dll dmband enable_dmband clean
18665 wine_fn_config_test dlls/dmband/tests dmband_test
18666 wine_fn_config_dll dmcompos enable_dmcompos clean
18667 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
18668 wine_fn_config_dll dmime enable_dmime clean
18669 wine_fn_config_test dlls/dmime/tests dmime_test
18670 wine_fn_config_dll dmloader enable_dmloader clean
18671 wine_fn_config_test dlls/dmloader/tests dmloader_test
18672 wine_fn_config_dll dmscript enable_dmscript clean
18673 wine_fn_config_test dlls/dmscript/tests dmscript_test
18674 wine_fn_config_dll dmstyle enable_dmstyle clean
18675 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
18676 wine_fn_config_dll dmsynth enable_dmsynth clean
18677 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
18678 wine_fn_config_dll dmusic enable_dmusic clean
18679 wine_fn_config_test dlls/dmusic/tests dmusic_test
18680 wine_fn_config_dll dmusic32 enable_dmusic32
18681 wine_fn_config_dll dnsapi enable_dnsapi implib
18682 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
18683 wine_fn_config_dll dplay enable_dplay
18684 wine_fn_config_dll dplayx enable_dplayx clean,implib
18685 wine_fn_config_test dlls/dplayx/tests dplayx_test
18686 wine_fn_config_dll dpnaddr enable_dpnaddr
18687 wine_fn_config_dll dpnet enable_dpnet clean,implib
18688 wine_fn_config_test dlls/dpnet/tests dpnet_test
18689 wine_fn_config_dll dpnhpast enable_dpnhpast
18690 wine_fn_config_dll dpnlobby enable_dpnlobby
18691 wine_fn_config_dll dpvoice enable_dpvoice clean
18692 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
18693 wine_fn_config_dll dpwsockx enable_dpwsockx
18694 wine_fn_config_dll drmclien enable_drmclien
18695 wine_fn_config_dll dsound enable_dsound clean,implib
18696 wine_fn_config_test dlls/dsound/tests dsound_test
18697 wine_fn_config_dll dsquery enable_dsquery clean
18698 wine_fn_config_dll dssenh enable_dssenh
18699 wine_fn_config_test dlls/dssenh/tests dssenh_test
18700 wine_fn_config_dll dswave enable_dswave clean
18701 wine_fn_config_test dlls/dswave/tests dswave_test
18702 wine_fn_config_dll dwmapi enable_dwmapi implib
18703 wine_fn_config_dll dwrite enable_dwrite implib
18704 wine_fn_config_test dlls/dwrite/tests dwrite_test
18705 wine_fn_config_dll dx8vb enable_dx8vb clean
18706 wine_fn_config_dll dxdiagn enable_dxdiagn clean
18707 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
18708 wine_fn_config_lib dxerr8
18709 wine_fn_config_lib dxerr9
18710 wine_fn_config_dll dxgi enable_dxgi implib
18711 wine_fn_config_test dlls/dxgi/tests dxgi_test
18712 wine_fn_config_lib dxguid
18713 wine_fn_config_dll dxva2 enable_dxva2
18714 wine_fn_config_dll esent enable_esent
18715 wine_fn_config_dll evr enable_evr clean
18716 wine_fn_config_test dlls/evr/tests evr_test
18717 wine_fn_config_dll explorerframe enable_explorerframe clean
18718 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
18719 wine_fn_config_dll ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
18720 wine_fn_config_dll ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
18721 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
18722 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
18723 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
18724 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
18725 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
18726 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
18727 wine_fn_config_dll ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
18728 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
18729 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
18730 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18731 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18732 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18733 wine_fn_config_dll ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
18734 wine_fn_config_dll ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
18735 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18736 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18737 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dc-access-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
18738 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18739 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18740 wine_fn_config_dll ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
18741 wine_fn_config_dll ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
18742 wine_fn_config_dll faultrep enable_faultrep implib
18743 wine_fn_config_test dlls/faultrep/tests faultrep_test
18744 wine_fn_config_dll fltlib enable_fltlib
18745 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
18746 wine_fn_config_dll fntcache enable_fntcache
18747 wine_fn_config_dll fontsub enable_fontsub
18748 wine_fn_config_dll fusion enable_fusion
18749 wine_fn_config_test dlls/fusion/tests fusion_test
18750 wine_fn_config_dll fwpuclnt enable_fwpuclnt
18751 wine_fn_config_dll gameux enable_gameux clean
18752 wine_fn_config_test dlls/gameux/tests gameux_test
18753 wine_fn_config_dll gdi.exe16 enable_win16
18754 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
18755 wine_fn_config_test dlls/gdi32/tests gdi32_test
18756 wine_fn_config_dll gdiplus enable_gdiplus implib
18757 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
18758 wine_fn_config_dll glu32 enable_glu32 implib
18759 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
18760 wine_fn_config_dll gpkcsp enable_gpkcsp
18761 wine_fn_config_dll hal enable_hal
18762 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
18763 wine_fn_config_dll hid enable_hid implib
18764 wine_fn_config_test dlls/hid/tests hid_test
18765 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
18766 wine_fn_config_dll hlink enable_hlink clean,implib
18767 wine_fn_config_test dlls/hlink/tests hlink_test
18768 wine_fn_config_dll hnetcfg enable_hnetcfg clean
18769 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
18770 wine_fn_config_dll httpapi enable_httpapi implib
18771 wine_fn_config_test dlls/httpapi/tests httpapi_test
18772 wine_fn_config_dll iccvid enable_iccvid clean
18773 wine_fn_config_dll icmp enable_icmp
18774 wine_fn_config_dll ieframe enable_ieframe clean,implib
18775 wine_fn_config_test dlls/ieframe/tests ieframe_test
18776 wine_fn_config_dll ieproxy enable_ieproxy clean
18777 wine_fn_config_dll ifsmgr.vxd enable_win16
18778 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
18779 wine_fn_config_dll imagehlp enable_imagehlp implib
18780 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
18781 wine_fn_config_dll imm.dll16 enable_win16
18782 wine_fn_config_dll imm32 enable_imm32 implib
18783 wine_fn_config_test dlls/imm32/tests imm32_test
18784 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
18785 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
18786 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
18787 wine_fn_config_dll inetmib1 enable_inetmib1
18788 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
18789 wine_fn_config_dll infosoft enable_infosoft clean
18790 wine_fn_config_test dlls/infosoft/tests infosoft_test
18791 wine_fn_config_dll initpki enable_initpki
18792 wine_fn_config_dll inkobj enable_inkobj
18793 wine_fn_config_dll inseng enable_inseng clean
18794 wine_fn_config_dll iphlpapi enable_iphlpapi implib
18795 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
18796 wine_fn_config_dll iprop enable_iprop
18797 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18798 wine_fn_config_dll itircl enable_itircl
18799 wine_fn_config_dll itss enable_itss clean
18800 wine_fn_config_test dlls/itss/tests itss_test
18801 wine_fn_config_dll joy.cpl enable_joy_cpl clean
18802 wine_fn_config_dll jscript enable_jscript clean
18803 wine_fn_config_test dlls/jscript/tests jscript_test
18804 wine_fn_config_dll jsproxy enable_jsproxy implib
18805 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
18806 wine_fn_config_dll kerberos enable_kerberos
18807 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
18808 wine_fn_config_test dlls/kernel32/tests kernel32_test
18809 wine_fn_config_dll kernelbase enable_kernelbase
18810 wine_fn_config_dll keyboard.drv16 enable_win16
18811 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
18812 wine_fn_config_dll ksuser enable_ksuser
18813 wine_fn_config_dll ktmw32 enable_ktmw32
18814 wine_fn_config_dll l3codeca.acm enable_l3codeca_acm
18815 wine_fn_config_dll loadperf enable_loadperf implib
18816 wine_fn_config_dll localspl enable_localspl clean
18817 wine_fn_config_test dlls/localspl/tests localspl_test
18818 wine_fn_config_dll localui enable_localui clean
18819 wine_fn_config_test dlls/localui/tests localui_test
18820 wine_fn_config_dll lz32 enable_lz32 implib
18821 wine_fn_config_test dlls/lz32/tests lz32_test
18822 wine_fn_config_dll lzexpand.dll16 enable_win16
18823 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
18824 wine_fn_config_test dlls/mapi32/tests mapi32_test
18825 wine_fn_config_dll mapistub enable_mapistub
18826 wine_fn_config_dll mciavi32 enable_mciavi32
18827 wine_fn_config_dll mcicda enable_mcicda
18828 wine_fn_config_dll mciqtz32 enable_mciqtz32
18829 wine_fn_config_dll mciseq enable_mciseq
18830 wine_fn_config_dll mciwave enable_mciwave
18831 wine_fn_config_dll mf enable_mf implib
18832 wine_fn_config_test dlls/mf/tests mf_test
18833 wine_fn_config_dll mf3216 enable_mf3216
18834 wine_fn_config_dll mfplat enable_mfplat implib
18835 wine_fn_config_test dlls/mfplat/tests mfplat_test
18836 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18837 wine_fn_config_lib mfuuid
18838 wine_fn_config_dll mgmtapi enable_mgmtapi
18839 wine_fn_config_dll midimap enable_midimap
18840 wine_fn_config_dll mlang enable_mlang clean,implib
18841 wine_fn_config_test dlls/mlang/tests mlang_test
18842 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18843 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
18844 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18845 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
18846 wine_fn_config_dll mmdevldr.vxd enable_win16
18847 wine_fn_config_dll mmsystem.dll16 enable_win16
18848 wine_fn_config_dll monodebg.vxd enable_win16
18849 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18850 wine_fn_config_dll mouse.drv16 enable_win16
18851 wine_fn_config_dll mpr enable_mpr clean,implib
18852 wine_fn_config_test dlls/mpr/tests mpr_test
18853 wine_fn_config_dll mprapi enable_mprapi implib
18854 wine_fn_config_dll msacm.dll16 enable_win16
18855 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18856 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
18857 wine_fn_config_test dlls/msacm32/tests msacm32_test
18858 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18859 wine_fn_config_dll msasn1 enable_msasn1 implib
18860 wine_fn_config_dll mscat32 enable_mscat32
18861 wine_fn_config_dll mscms enable_mscms implib
18862 wine_fn_config_test dlls/mscms/tests mscms_test
18863 wine_fn_config_dll mscoree enable_mscoree clean
18864 wine_fn_config_test dlls/mscoree/tests mscoree_test
18865 wine_fn_config_dll msctf enable_msctf clean
18866 wine_fn_config_test dlls/msctf/tests msctf_test
18867 wine_fn_config_dll msctfp enable_msctfp clean
18868 wine_fn_config_dll msdaps enable_msdaps clean
18869 wine_fn_config_dll msdelta enable_msdelta
18870 wine_fn_config_dll msdmo enable_msdmo implib
18871 wine_fn_config_test dlls/msdmo/tests msdmo_test
18872 wine_fn_config_dll msdrm enable_msdrm
18873 wine_fn_config_dll msftedit enable_msftedit
18874 wine_fn_config_dll msg711.acm enable_msg711_acm
18875 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18876 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18877 wine_fn_config_dll mshtml enable_mshtml clean,implib
18878 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
18879 wine_fn_config_dll msi enable_msi clean,implib
18880 wine_fn_config_test dlls/msi/tests msi_test
18881 wine_fn_config_dll msident enable_msident clean
18882 wine_fn_config_dll msimg32 enable_msimg32 implib
18883 wine_fn_config_dll msimsg enable_msimsg
18884 wine_fn_config_dll msimtf enable_msimtf clean
18885 wine_fn_config_dll msisip enable_msisip
18886 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18887 wine_fn_config_dll msls31 enable_msls31
18888 wine_fn_config_dll msnet32 enable_msnet32
18889 wine_fn_config_dll mspatcha enable_mspatcha implib
18890 wine_fn_config_dll msports enable_msports
18891 wine_fn_config_dll msrle32 enable_msrle32 clean
18892 wine_fn_config_test dlls/msrle32/tests msrle32_test
18893 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18894 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
18895 wine_fn_config_dll mssign32 enable_mssign32
18896 wine_fn_config_dll mssip32 enable_mssip32
18897 wine_fn_config_dll mstask enable_mstask clean
18898 wine_fn_config_test dlls/mstask/tests mstask_test
18899 wine_fn_config_dll msvcirt enable_msvcirt
18900 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18901 wine_fn_config_dll msvcm80 enable_msvcm80
18902 wine_fn_config_dll msvcm90 enable_msvcm90
18903 wine_fn_config_dll msvcp100 enable_msvcp100
18904 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18905 wine_fn_config_dll msvcp110 enable_msvcp110
18906 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18907 wine_fn_config_dll msvcp120 enable_msvcp120
18908 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18909 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18910 wine_fn_config_dll msvcp140 enable_msvcp140
18911 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18912 wine_fn_config_dll msvcp60 enable_msvcp60
18913 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18914 wine_fn_config_dll msvcp70 enable_msvcp70
18915 wine_fn_config_dll msvcp71 enable_msvcp71
18916 wine_fn_config_dll msvcp80 enable_msvcp80
18917 wine_fn_config_dll msvcp90 enable_msvcp90
18918 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18919 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18920 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18921 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18922 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18923 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18924 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18925 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18926 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18927 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18928 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18929 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18930 wine_fn_config_dll msvcrt enable_msvcrt implib
18931 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18932 wine_fn_config_dll msvcrt20 enable_msvcrt20
18933 wine_fn_config_dll msvcrt40 enable_msvcrt40
18934 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18935 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18936 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
18937 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18938 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18939 wine_fn_config_dll msvideo.dll16 enable_win16
18940 wine_fn_config_dll mswsock enable_mswsock implib
18941 wine_fn_config_dll msxml enable_msxml clean
18942 wine_fn_config_dll msxml2 enable_msxml2 clean
18943 wine_fn_config_dll msxml3 enable_msxml3 clean
18944 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
18945 wine_fn_config_dll msxml4 enable_msxml4 clean
18946 wine_fn_config_dll msxml6 enable_msxml6 clean
18947 wine_fn_config_dll mtxdm enable_mtxdm
18948 wine_fn_config_dll ncrypt enable_ncrypt
18949 wine_fn_config_dll nddeapi enable_nddeapi implib
18950 wine_fn_config_dll ndis.sys enable_ndis_sys
18951 wine_fn_config_dll netapi32 enable_netapi32 implib
18952 wine_fn_config_test dlls/netapi32/tests netapi32_test
18953 wine_fn_config_dll netcfgx enable_netcfgx clean
18954 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18955 wine_fn_config_dll netprofm enable_netprofm clean
18956 wine_fn_config_test dlls/netprofm/tests netprofm_test
18957 wine_fn_config_dll newdev enable_newdev implib
18958 wine_fn_config_dll normaliz enable_normaliz implib
18959 wine_fn_config_dll npmshtml enable_npmshtml
18960 wine_fn_config_dll npptools enable_npptools
18961 wine_fn_config_dll ntdll enable_ntdll implib
18962 wine_fn_config_test dlls/ntdll/tests ntdll_test
18963 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18964 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18965 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18966 wine_fn_config_dll ntprint enable_ntprint
18967 wine_fn_config_test dlls/ntprint/tests ntprint_test
18968 wine_fn_config_dll objsel enable_objsel clean
18969 wine_fn_config_dll odbc32 enable_odbc32 implib
18970 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18971 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18972 wine_fn_config_dll odbccu32 enable_odbccu32
18973 wine_fn_config_dll ole2.dll16 enable_win16
18974 wine_fn_config_dll ole2conv.dll16 enable_win16
18975 wine_fn_config_dll ole2disp.dll16 enable_win16
18976 wine_fn_config_dll ole2nls.dll16 enable_win16
18977 wine_fn_config_dll ole2prox.dll16 enable_win16
18978 wine_fn_config_dll ole2thk.dll16 enable_win16
18979 wine_fn_config_dll ole32 enable_ole32 clean,implib
18980 wine_fn_config_test dlls/ole32/tests ole32_test
18981 wine_fn_config_dll oleacc enable_oleacc clean,implib
18982 wine_fn_config_test dlls/oleacc/tests oleacc_test
18983 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
18984 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
18985 wine_fn_config_dll olecli.dll16 enable_win16
18986 wine_fn_config_dll olecli32 enable_olecli32 implib
18987 wine_fn_config_dll oledb32 enable_oledb32 clean
18988 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
18989 wine_fn_config_dll oledlg enable_oledlg clean,implib
18990 wine_fn_config_test dlls/oledlg/tests oledlg_test
18991 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
18992 wine_fn_config_dll olesvr.dll16 enable_win16
18993 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18994 wine_fn_config_dll olethk32 enable_olethk32
18995 wine_fn_config_dll openal32 enable_openal32
18996 wine_fn_config_dll opencl enable_opencl
18997 wine_fn_config_dll opengl32 enable_opengl32 implib
18998 wine_fn_config_test dlls/opengl32/tests opengl32_test
18999 wine_fn_config_dll packager enable_packager clean
19000 wine_fn_config_test dlls/packager/tests packager_test
19001 wine_fn_config_dll pdh enable_pdh implib
19002 wine_fn_config_test dlls/pdh/tests pdh_test
19003 wine_fn_config_dll photometadatahandler enable_photometadatahandler
19004 wine_fn_config_dll pidgen enable_pidgen
19005 wine_fn_config_dll powrprof enable_powrprof implib
19006 wine_fn_config_dll printui enable_printui
19007 wine_fn_config_dll prntvpt enable_prntvpt
19008 wine_fn_config_dll propsys enable_propsys clean,implib
19009 wine_fn_config_test dlls/propsys/tests propsys_test
19010 wine_fn_config_dll psapi enable_psapi implib
19011 wine_fn_config_test dlls/psapi/tests psapi_test
19012 wine_fn_config_dll pstorec enable_pstorec clean
19013 wine_fn_config_test dlls/pstorec/tests pstorec_test
19014 wine_fn_config_dll qcap enable_qcap
19015 wine_fn_config_test dlls/qcap/tests qcap_test
19016 wine_fn_config_dll qedit enable_qedit clean
19017 wine_fn_config_test dlls/qedit/tests qedit_test
19018 wine_fn_config_dll qmgr enable_qmgr clean
19019 wine_fn_config_test dlls/qmgr/tests qmgr_test
19020 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
19021 wine_fn_config_dll quartz enable_quartz clean,implib
19022 wine_fn_config_test dlls/quartz/tests quartz_test clean
19023 wine_fn_config_dll query enable_query
19024 wine_fn_config_dll rasapi16.dll16 enable_win16
19025 wine_fn_config_dll rasapi32 enable_rasapi32 implib
19026 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
19027 wine_fn_config_dll rasdlg enable_rasdlg implib
19028 wine_fn_config_dll regapi enable_regapi
19029 wine_fn_config_dll resutils enable_resutils implib
19030 wine_fn_config_dll riched20 enable_riched20 clean,implib
19031 wine_fn_config_test dlls/riched20/tests riched20_test
19032 wine_fn_config_dll riched32 enable_riched32
19033 wine_fn_config_test dlls/riched32/tests riched32_test
19034 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
19035 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
19036 wine_fn_config_dll rsabase enable_rsabase
19037 wine_fn_config_dll rsaenh enable_rsaenh implib
19038 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
19039 wine_fn_config_dll rstrtmgr enable_rstrtmgr
19040 wine_fn_config_dll rtutils enable_rtutils implib
19041 wine_fn_config_dll samlib enable_samlib
19042 wine_fn_config_dll sane.ds enable_sane_ds clean
19043 wine_fn_config_dll sapi enable_sapi clean
19044 wine_fn_config_test dlls/sapi/tests sapi_test
19045 wine_fn_config_dll scarddlg enable_scarddlg
19046 wine_fn_config_dll sccbase enable_sccbase
19047 wine_fn_config_dll schannel enable_schannel
19048 wine_fn_config_test dlls/schannel/tests schannel_test
19049 wine_fn_config_dll schedsvc enable_schedsvc clean
19050 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
19051 wine_fn_config_dll scrobj enable_scrobj clean
19052 wine_fn_config_dll scrrun enable_scrrun clean
19053 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
19054 wine_fn_config_dll scsiport.sys enable_scsiport_sys
19055 wine_fn_config_dll secur32 enable_secur32 implib
19056 wine_fn_config_test dlls/secur32/tests secur32_test
19057 wine_fn_config_dll security enable_security
19058 wine_fn_config_dll sensapi enable_sensapi implib
19059 wine_fn_config_dll serialui enable_serialui clean
19060 wine_fn_config_test dlls/serialui/tests serialui_test
19061 wine_fn_config_dll setupapi enable_setupapi clean,implib
19062 wine_fn_config_test dlls/setupapi/tests setupapi_test
19063 wine_fn_config_dll setupx.dll16 enable_win16
19064 wine_fn_config_dll sfc enable_sfc implib
19065 wine_fn_config_dll sfc_os enable_sfc_os implib
19066 wine_fn_config_dll shdoclc enable_shdoclc clean
19067 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
19068 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
19069 wine_fn_config_dll shell.dll16 enable_win16
19070 wine_fn_config_dll shell32 enable_shell32 clean,implib
19071 wine_fn_config_test dlls/shell32/tests shell32_test
19072 wine_fn_config_dll shfolder enable_shfolder implib
19073 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
19074 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
19075 wine_fn_config_dll slbcsp enable_slbcsp
19076 wine_fn_config_dll slc enable_slc implib
19077 wine_fn_config_test dlls/slc/tests slc_test
19078 wine_fn_config_dll snmpapi enable_snmpapi implib
19079 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
19080 wine_fn_config_dll softpub enable_softpub
19081 wine_fn_config_dll sound.drv16 enable_win16
19082 wine_fn_config_dll spoolss enable_spoolss implib
19083 wine_fn_config_test dlls/spoolss/tests spoolss_test
19084 wine_fn_config_dll sspicli enable_sspicli
19085 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
19086 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
19087 wine_fn_config_dll sti enable_sti clean,implib
19088 wine_fn_config_test dlls/sti/tests sti_test
19089 wine_fn_config_dll storage.dll16 enable_win16
19090 wine_fn_config_dll stress.dll16 enable_win16
19091 wine_fn_config_lib strmbase
19092 wine_fn_config_lib strmiids
19093 wine_fn_config_dll svrapi enable_svrapi
19094 wine_fn_config_dll sxs enable_sxs implib
19095 wine_fn_config_test dlls/sxs/tests sxs_test
19096 wine_fn_config_dll system.drv16 enable_win16
19097 wine_fn_config_dll t2embed enable_t2embed implib
19098 wine_fn_config_test dlls/t2embed/tests t2embed_test
19099 wine_fn_config_dll tapi32 enable_tapi32 implib
19100 wine_fn_config_dll taskschd enable_taskschd clean
19101 wine_fn_config_test dlls/taskschd/tests taskschd_test
19102 wine_fn_config_dll tdh enable_tdh
19103 wine_fn_config_dll tdi.sys enable_tdi_sys
19104 wine_fn_config_dll toolhelp.dll16 enable_win16
19105 wine_fn_config_dll traffic enable_traffic
19106 wine_fn_config_dll twain.dll16 enable_win16
19107 wine_fn_config_dll twain_32 enable_twain_32 clean
19108 wine_fn_config_test dlls/twain_32/tests twain_32_test
19109 wine_fn_config_dll typelib.dll16 enable_win16
19110 wine_fn_config_dll ucrtbase enable_ucrtbase implib
19111 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
19112 wine_fn_config_dll uiautomationcore enable_uiautomationcore
19113 wine_fn_config_dll uiribbon enable_uiribbon clean
19114 wine_fn_config_dll unicows enable_unicows implib
19115 wine_fn_config_dll updspapi enable_updspapi
19116 wine_fn_config_dll url enable_url implib
19117 wine_fn_config_dll urlmon enable_urlmon clean,implib
19118 wine_fn_config_test dlls/urlmon/tests urlmon_test
19119 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
19120 wine_fn_config_dll user.exe16 enable_win16
19121 wine_fn_config_dll user32 enable_user32 clean,implib
19122 wine_fn_config_test dlls/user32/tests user32_test
19123 wine_fn_config_dll userenv enable_userenv implib
19124 wine_fn_config_test dlls/userenv/tests userenv_test
19125 wine_fn_config_dll usp10 enable_usp10 implib
19126 wine_fn_config_test dlls/usp10/tests usp10_test
19127 wine_fn_config_lib uuid
19128 wine_fn_config_dll uxtheme enable_uxtheme implib
19129 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
19130 wine_fn_config_dll vbscript enable_vbscript clean
19131 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
19132 wine_fn_config_dll vcomp enable_vcomp
19133 wine_fn_config_test dlls/vcomp/tests vcomp_test
19134 wine_fn_config_dll vcomp100 enable_vcomp100
19135 wine_fn_config_dll vcomp110 enable_vcomp110
19136 wine_fn_config_dll vcomp120 enable_vcomp120
19137 wine_fn_config_dll vcomp140 enable_vcomp140
19138 wine_fn_config_dll vcomp90 enable_vcomp90
19139 wine_fn_config_dll vcruntime140 enable_vcruntime140
19140 wine_fn_config_dll vdhcp.vxd enable_win16
19141 wine_fn_config_dll vdmdbg enable_vdmdbg implib
19142 wine_fn_config_dll ver.dll16 enable_win16
19143 wine_fn_config_dll version enable_version implib
19144 wine_fn_config_test dlls/version/tests version_test
19145 wine_fn_config_dll virtdisk enable_virtdisk
19146 wine_fn_config_dll vmm.vxd enable_win16
19147 wine_fn_config_dll vnbt.vxd enable_win16
19148 wine_fn_config_dll vnetbios.vxd enable_win16
19149 wine_fn_config_dll vssapi enable_vssapi
19150 wine_fn_config_dll vtdapi.vxd enable_win16
19151 wine_fn_config_dll vwin32.vxd enable_win16
19152 wine_fn_config_dll w32skrnl enable_win16
19153 wine_fn_config_dll w32sys.dll16 enable_win16
19154 wine_fn_config_dll wbemdisp enable_wbemdisp clean
19155 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
19156 wine_fn_config_dll wbemprox enable_wbemprox clean
19157 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
19158 wine_fn_config_dll wdscore enable_wdscore
19159 wine_fn_config_dll webservices enable_webservices implib
19160 wine_fn_config_test dlls/webservices/tests webservices_test
19161 wine_fn_config_dll wer enable_wer implib
19162 wine_fn_config_test dlls/wer/tests wer_test
19163 wine_fn_config_dll wevtapi enable_wevtapi
19164 wine_fn_config_dll wiaservc enable_wiaservc clean
19165 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
19166 wine_fn_config_dll wimgapi enable_wimgapi
19167 wine_fn_config_dll win32s16.dll16 enable_win16
19168 wine_fn_config_dll win87em.dll16 enable_win16
19169 wine_fn_config_dll winaspi.dll16 enable_win16
19170 wine_fn_config_dll windebug.dll16 enable_win16
19171 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
19172 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
19173 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
19174 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
19175 wine_fn_config_dll winealsa.drv enable_winealsa_drv
19176 wine_fn_config_dll wineandroid.drv enable_wineandroid_drv clean
19177 wine_fn_config_dll winebus.sys enable_winebus_sys
19178 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
19179 wine_fn_config_lib winecrt0
19180 wine_fn_config_dll wined3d enable_wined3d implib
19181 wine_fn_config_dll winegstreamer enable_winegstreamer
19182 wine_fn_config_dll winehid.sys enable_winehid_sys
19183 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
19184 wine_fn_config_dll winemac.drv enable_winemac_drv clean
19185 wine_fn_config_dll winemapi enable_winemapi
19186 wine_fn_config_dll wineoss.drv enable_wineoss_drv
19187 wine_fn_config_dll wineps.drv enable_wineps_drv clean
19188 wine_fn_config_dll wineps16.drv16 enable_win16
19189 wine_fn_config_dll winepulse.drv enable_winepulse_drv
19190 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
19191 wine_fn_config_dll winex11.drv enable_winex11_drv
19192 wine_fn_config_dll wing.dll16 enable_win16
19193 wine_fn_config_dll wing32 enable_wing32
19194 wine_fn_config_dll winhttp enable_winhttp clean,implib
19195 wine_fn_config_test dlls/winhttp/tests winhttp_test
19196 wine_fn_config_dll wininet enable_wininet clean,implib
19197 wine_fn_config_test dlls/wininet/tests wininet_test
19198 wine_fn_config_dll winmm enable_winmm clean,implib
19199 wine_fn_config_test dlls/winmm/tests winmm_test
19200 wine_fn_config_dll winnls.dll16 enable_win16
19201 wine_fn_config_dll winnls32 enable_winnls32 implib
19202 wine_fn_config_dll winscard enable_winscard implib
19203 wine_fn_config_dll winsock.dll16 enable_win16
19204 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
19205 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
19206 wine_fn_config_dll winsta enable_winsta
19207 wine_fn_config_dll wintab.dll16 enable_win16
19208 wine_fn_config_dll wintab32 enable_wintab32 implib
19209 wine_fn_config_test dlls/wintab32/tests wintab32_test
19210 wine_fn_config_dll wintrust enable_wintrust implib
19211 wine_fn_config_test dlls/wintrust/tests wintrust_test
19212 wine_fn_config_dll winusb enable_winusb
19213 wine_fn_config_dll wlanapi enable_wlanapi implib
19214 wine_fn_config_test dlls/wlanapi/tests wlanapi_test
19215 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
19216 wine_fn_config_test dlls/wldap32/tests wldap32_test
19217 wine_fn_config_dll wmasf enable_wmasf
19218 wine_fn_config_dll wmi enable_wmi
19219 wine_fn_config_dll wmiutils enable_wmiutils clean
19220 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
19221 wine_fn_config_dll wmp enable_wmp clean
19222 wine_fn_config_test dlls/wmp/tests wmp_test
19223 wine_fn_config_dll wmphoto enable_wmphoto clean
19224 wine_fn_config_dll wmvcore enable_wmvcore implib
19225 wine_fn_config_test dlls/wmvcore/tests wmvcore_test
19226 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
19227 wine_fn_config_dll wow32 enable_win16 implib
19228 wine_fn_config_dll wpc enable_wpc clean
19229 wine_fn_config_test dlls/wpc/tests wpc_test
19230 wine_fn_config_dll wpcap enable_wpcap
19231 wine_fn_config_dll ws2_32 enable_ws2_32 implib
19232 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
19233 wine_fn_config_dll wsdapi enable_wsdapi implib
19234 wine_fn_config_test dlls/wsdapi/tests wsdapi_test
19235 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
19236 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
19237 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
19238 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
19239 wine_fn_config_dll wsock32 enable_wsock32 implib
19240 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
19241 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
19242 wine_fn_config_dll wuapi enable_wuapi clean
19243 wine_fn_config_dll wuaueng enable_wuaueng
19244 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
19245 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
19246 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
19247 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
19248 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
19249 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
19250 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
19251 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
19252 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
19253 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
19254 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
19255 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
19256 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
19257 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
19258 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
19259 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
19260 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
19261 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
19262 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
19263 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
19264 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
19265 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
19266 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
19267 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
19268 wine_fn_config_dll xinput1_1 enable_xinput1_1
19269 wine_fn_config_dll xinput1_2 enable_xinput1_2
19270 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
19271 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
19272 wine_fn_config_dll xinput1_4 enable_xinput1_4
19273 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
19274 wine_fn_config_dll xmllite enable_xmllite implib
19275 wine_fn_config_test dlls/xmllite/tests xmllite_test
19276 wine_fn_config_dll xolehlp enable_xolehlp
19277 wine_fn_config_dll xpsprint enable_xpsprint
19278 wine_fn_config_dll xpssvcs enable_xpssvcs
19279 wine_fn_config_makefile fonts enable_fonts clean,install-lib
19280 wine_fn_config_makefile include enable_include clean,install-dev
19281 wine_fn_config_makefile libs/port enable_libs_port
19282 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
19283 wine_fn_config_makefile libs/wpp enable_libs_wpp
19284 wine_fn_config_makefile loader enable_loader clean,install-lib
19285 wine_fn_config_makefile po enable_po clean
19286 wine_fn_config_program arp enable_arp install
19287 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
19288 wine_fn_config_program attrib enable_attrib clean,install
19289 wine_fn_config_program cabarc enable_cabarc install
19290 wine_fn_config_program cacls enable_cacls install
19291 wine_fn_config_program clock enable_clock clean,install
19292 wine_fn_config_program cmd enable_cmd clean,install
19293 wine_fn_config_test programs/cmd/tests cmd.exe_test
19294 wine_fn_config_program conhost enable_conhost install
19295 wine_fn_config_program control enable_control install
19296 wine_fn_config_program cscript enable_cscript clean,install
19297 wine_fn_config_program dpnsvr enable_dpnsvr install
19298 wine_fn_config_program dxdiag enable_dxdiag clean,install
19299 wine_fn_config_program eject enable_eject install
19300 wine_fn_config_program expand enable_expand install
19301 wine_fn_config_program explorer enable_explorer clean,install
19302 wine_fn_config_program extrac32 enable_extrac32 install
19303 wine_fn_config_program findstr enable_findstr install
19304 wine_fn_config_program fsutil enable_fsutil install
19305 wine_fn_config_program hh enable_hh install
19306 wine_fn_config_program hostname enable_hostname clean,install
19307 wine_fn_config_program icacls enable_icacls install
19308 wine_fn_config_program icinfo enable_icinfo install
19309 wine_fn_config_program iexplore enable_iexplore install
19310 wine_fn_config_program ipconfig enable_ipconfig clean,install
19311 wine_fn_config_program lodctr enable_lodctr install
19312 wine_fn_config_program mofcomp enable_mofcomp install
19313 wine_fn_config_program mshta enable_mshta install
19314 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
19315 wine_fn_config_program msinfo32 enable_msinfo32 clean,install
19316 wine_fn_config_program net enable_net clean,install
19317 wine_fn_config_program netsh enable_netsh install
19318 wine_fn_config_program netstat enable_netstat clean,install
19319 wine_fn_config_program ngen enable_ngen install
19320 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
19321 wine_fn_config_program oleview enable_oleview clean,install
19322 wine_fn_config_program ping enable_ping install
19323 wine_fn_config_program plugplay enable_plugplay install
19324 wine_fn_config_program powershell enable_powershell install
19325 wine_fn_config_program presentationfontcache enable_presentationfontcache install
19326 wine_fn_config_program progman enable_progman clean,install
19327 wine_fn_config_program reg enable_reg clean,install
19328 wine_fn_config_test programs/reg/tests reg.exe_test
19329 wine_fn_config_program regasm enable_regasm install
19330 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
19331 wine_fn_config_test programs/regedit/tests regedit.exe_test
19332 wine_fn_config_program regsvcs enable_regsvcs install
19333 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
19334 wine_fn_config_program rpcss enable_rpcss clean,install
19335 wine_fn_config_program rundll.exe16 enable_win16 install
19336 wine_fn_config_program rundll32 enable_rundll32 install
19337 wine_fn_config_program sc enable_sc install
19338 wine_fn_config_program schtasks enable_schtasks install
19339 wine_fn_config_test programs/schtasks/tests schtasks.exe_test
19340 wine_fn_config_program sdbinst enable_sdbinst install
19341 wine_fn_config_program secedit enable_secedit install
19342 wine_fn_config_program servicemodelreg enable_servicemodelreg install
19343 wine_fn_config_program services enable_services clean,install
19344 wine_fn_config_test programs/services/tests services.exe_test
19345 wine_fn_config_program shutdown enable_shutdown install
19346 wine_fn_config_program spoolsv enable_spoolsv install
19347 wine_fn_config_program start enable_start clean,install
19348 wine_fn_config_program subst enable_subst install
19349 wine_fn_config_program svchost enable_svchost install
19350 wine_fn_config_program systeminfo enable_systeminfo install
19351 wine_fn_config_program taskkill enable_taskkill clean,install
19352 wine_fn_config_program tasklist enable_tasklist install
19353 wine_fn_config_program taskmgr enable_taskmgr clean,install
19354 wine_fn_config_program termsv enable_termsv install
19355 wine_fn_config_program uninstaller enable_uninstaller clean,install
19356 wine_fn_config_program unlodctr enable_unlodctr install
19357 wine_fn_config_program view enable_view clean,install
19358 wine_fn_config_program wevtutil enable_wevtutil install
19359 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
19360 wine_fn_config_program winebrowser enable_winebrowser install
19361 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
19362 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
19363 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
19364 wine_fn_config_program winedevice enable_winedevice install
19365 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
19366 wine_fn_config_program winemenubuilder enable_winemenubuilder install
19367 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
19368 wine_fn_config_program winemsibuilder enable_winemsibuilder install
19369 wine_fn_config_program winepath enable_winepath install,installbin,manpage
19370 wine_fn_config_program winetest enable_winetest clean
19371 wine_fn_config_program winevdm enable_win16 install
19372 wine_fn_config_program winhelp.exe16 enable_win16 install
19373 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
19374 wine_fn_config_program winoldap.mod16 enable_win16 install
19375 wine_fn_config_program winver enable_winver install
19376 wine_fn_config_program wmic enable_wmic clean,install
19377 wine_fn_config_program wmplayer enable_wmplayer install
19378 wine_fn_config_program wordpad enable_wordpad clean,install
19379 wine_fn_config_program write enable_write clean,install
19380 wine_fn_config_program wscript enable_wscript clean,install
19381 wine_fn_config_test programs/wscript/tests wscript.exe_test
19382 wine_fn_config_program wusa enable_wusa install
19383 wine_fn_config_program xcopy enable_xcopy clean,install
19384 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
19385 wine_fn_config_makefile server enable_server clean,install-lib
19386 wine_fn_config_tool tools clean
19387 wine_fn_config_tool tools/sfnt2fon clean
19388 wine_fn_config_tool tools/widl clean,install-dev
19389 wine_fn_config_tool tools/winebuild clean,install-dev
19390 wine_fn_config_tool tools/winedump clean,install-dev
19391 wine_fn_config_tool tools/winegcc clean,install-dev
19392 wine_fn_config_tool tools/winemaker clean,install-dev
19393 wine_fn_config_tool tools/wmc clean,install-dev
19394 wine_fn_config_tool tools/wrc clean,install-dev
19397 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
19398 wine_fn_append_file CONFIGURE_TARGETS "tags"
19399 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
19400 wine_fn_append_file CONFIGURE_TARGETS "config.log"
19401 wine_fn_append_file CONFIGURE_TARGETS "config.status"
19402 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
19403 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
19404 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
19406 if test "x$enable_tools" != xno
19407 then
19408 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
19409 ac_config_commands="$ac_config_commands tools/makedep"
19413 ac_config_commands="$ac_config_commands Makefile"
19416 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
19420 if test "x$enable_maintainer_mode" = xyes
19421 then
19422 wine_fn_append_rule "configure: configure.ac aclocal.m4
19423 autoconf --warnings=all
19424 include/config.h.in: include/stamp-h.in
19425 include/stamp-h.in: configure.ac aclocal.m4
19426 autoheader --warnings=all
19427 @echo timestamp > \$@"
19430 if test "x$enable_tools" != xno
19431 then
19432 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
19433 @./config.status tools/makedep
19434 Makefile: tools/makedep$ac_exeext"
19435 else
19436 wine_fn_append_rule "\$(MAKEDEP):
19437 @echo \"You need to run make in $TOOLSDIR first\" && false"
19440 if test -n "$with_wine64"
19441 then
19442 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
19443 fonts server:
19444 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
19445 $with_wine64/loader/wine:
19446 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
19447 $with_wine64/loader/wine-preloader:
19448 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
19449 clean::
19450 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
19451 else
19452 WINELOADER_INSTALL="wine.inf"
19454 wine_fn_append_rule "install install-lib::
19455 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
19456 .PHONY: l_intl.nls/uninstall
19457 l_intl.nls/uninstall::
19458 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls
19459 __uninstall__: l_intl.nls/uninstall"
19460 case $host_os in
19461 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
19462 *) wine_fn_append_rule "install install-lib::
19463 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
19464 uninstall::
19465 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
19466 esac
19469 $as_echo " done" >&6
19470 cat >confcache <<\_ACEOF
19471 # This file is a shell script that caches the results of configure
19472 # tests run on this system so they can be shared between configure
19473 # scripts and configure runs, see configure's option --config-cache.
19474 # It is not useful on other systems. If it contains results you don't
19475 # want to keep, you may remove or edit it.
19477 # config.status only pays attention to the cache file if you give it
19478 # the --recheck option to rerun configure.
19480 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19481 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19482 # following values.
19484 _ACEOF
19486 # The following way of writing the cache mishandles newlines in values,
19487 # but we know of no workaround that is simple, portable, and efficient.
19488 # So, we kill variables containing newlines.
19489 # Ultrix sh set writes to stderr and can't be redirected directly,
19490 # and sets the high bit in the cache file unless we assign to the vars.
19492 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19493 eval ac_val=\$$ac_var
19494 case $ac_val in #(
19495 *${as_nl}*)
19496 case $ac_var in #(
19497 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19498 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19499 esac
19500 case $ac_var in #(
19501 _ | IFS | as_nl) ;; #(
19502 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19503 *) { eval $ac_var=; unset $ac_var;} ;;
19504 esac ;;
19505 esac
19506 done
19508 (set) 2>&1 |
19509 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19510 *${as_nl}ac_space=\ *)
19511 # `set' does not quote correctly, so add quotes: double-quote
19512 # substitution turns \\\\ into \\, and sed turns \\ into \.
19513 sed -n \
19514 "s/'/'\\\\''/g;
19515 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19516 ;; #(
19518 # `set' quotes correctly as required by POSIX, so do not add quotes.
19519 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19521 esac |
19522 sort
19524 sed '
19525 /^ac_cv_env_/b end
19526 t clear
19527 :clear
19528 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19529 t end
19530 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19531 :end' >>confcache
19532 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19533 if test -w "$cache_file"; then
19534 if test "x$cache_file" != "x/dev/null"; then
19535 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19536 $as_echo "$as_me: updating cache $cache_file" >&6;}
19537 if test ! -f "$cache_file" || test -h "$cache_file"; then
19538 cat confcache >"$cache_file"
19539 else
19540 case $cache_file in #(
19541 */* | ?:*)
19542 mv -f confcache "$cache_file"$$ &&
19543 mv -f "$cache_file"$$ "$cache_file" ;; #(
19545 mv -f confcache "$cache_file" ;;
19546 esac
19549 else
19550 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19551 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19554 rm -f confcache
19556 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19557 # Let make expand exec_prefix.
19558 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19560 DEFS=-DHAVE_CONFIG_H
19562 ac_libobjs=
19563 ac_ltlibobjs=
19565 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19566 # 1. Remove the extension, and $U if already installed.
19567 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19568 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19569 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19570 # will be set to the directory where LIBOBJS objects are built.
19571 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19572 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19573 done
19574 LIBOBJS=$ac_libobjs
19576 LTLIBOBJS=$ac_ltlibobjs
19580 : "${CONFIG_STATUS=./config.status}"
19581 ac_write_fail=0
19582 ac_clean_files_save=$ac_clean_files
19583 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19584 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19585 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19586 as_write_fail=0
19587 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19588 #! $SHELL
19589 # Generated by $as_me.
19590 # Run this file to recreate the current configuration.
19591 # Compiler output produced by configure, useful for debugging
19592 # configure, is in config.log if it exists.
19594 debug=false
19595 ac_cs_recheck=false
19596 ac_cs_silent=false
19598 SHELL=\${CONFIG_SHELL-$SHELL}
19599 export SHELL
19600 _ASEOF
19601 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19602 ## -------------------- ##
19603 ## M4sh Initialization. ##
19604 ## -------------------- ##
19606 # Be more Bourne compatible
19607 DUALCASE=1; export DUALCASE # for MKS sh
19608 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19609 emulate sh
19610 NULLCMD=:
19611 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19612 # is contrary to our usage. Disable this feature.
19613 alias -g '${1+"$@"}'='"$@"'
19614 setopt NO_GLOB_SUBST
19615 else
19616 case `(set -o) 2>/dev/null` in #(
19617 *posix*) :
19618 set -o posix ;; #(
19619 *) :
19621 esac
19625 as_nl='
19627 export as_nl
19628 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19629 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19630 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19631 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19632 # Prefer a ksh shell builtin over an external printf program on Solaris,
19633 # but without wasting forks for bash or zsh.
19634 if test -z "$BASH_VERSION$ZSH_VERSION" \
19635 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19636 as_echo='print -r --'
19637 as_echo_n='print -rn --'
19638 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19639 as_echo='printf %s\n'
19640 as_echo_n='printf %s'
19641 else
19642 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19643 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19644 as_echo_n='/usr/ucb/echo -n'
19645 else
19646 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19647 as_echo_n_body='eval
19648 arg=$1;
19649 case $arg in #(
19650 *"$as_nl"*)
19651 expr "X$arg" : "X\\(.*\\)$as_nl";
19652 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19653 esac;
19654 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19656 export as_echo_n_body
19657 as_echo_n='sh -c $as_echo_n_body as_echo'
19659 export as_echo_body
19660 as_echo='sh -c $as_echo_body as_echo'
19663 # The user is always right.
19664 if test "${PATH_SEPARATOR+set}" != set; then
19665 PATH_SEPARATOR=:
19666 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19667 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19668 PATH_SEPARATOR=';'
19673 # IFS
19674 # We need space, tab and new line, in precisely that order. Quoting is
19675 # there to prevent editors from complaining about space-tab.
19676 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19677 # splitting by setting IFS to empty value.)
19678 IFS=" "" $as_nl"
19680 # Find who we are. Look in the path if we contain no directory separator.
19681 as_myself=
19682 case $0 in #((
19683 *[\\/]* ) as_myself=$0 ;;
19684 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19685 for as_dir in $PATH
19687 IFS=$as_save_IFS
19688 test -z "$as_dir" && as_dir=.
19689 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19690 done
19691 IFS=$as_save_IFS
19694 esac
19695 # We did not find ourselves, most probably we were run as `sh COMMAND'
19696 # in which case we are not to be found in the path.
19697 if test "x$as_myself" = x; then
19698 as_myself=$0
19700 if test ! -f "$as_myself"; then
19701 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19702 exit 1
19705 # Unset variables that we do not need and which cause bugs (e.g. in
19706 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19707 # suppresses any "Segmentation fault" message there. '((' could
19708 # trigger a bug in pdksh 5.2.14.
19709 for as_var in BASH_ENV ENV MAIL MAILPATH
19710 do eval test x\${$as_var+set} = xset \
19711 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19712 done
19713 PS1='$ '
19714 PS2='> '
19715 PS4='+ '
19717 # NLS nuisances.
19718 LC_ALL=C
19719 export LC_ALL
19720 LANGUAGE=C
19721 export LANGUAGE
19723 # CDPATH.
19724 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19727 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19728 # ----------------------------------------
19729 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19730 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19731 # script with STATUS, using 1 if that was 0.
19732 as_fn_error ()
19734 as_status=$1; test $as_status -eq 0 && as_status=1
19735 if test "$4"; then
19736 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19737 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19739 $as_echo "$as_me: error: $2" >&2
19740 as_fn_exit $as_status
19741 } # as_fn_error
19744 # as_fn_set_status STATUS
19745 # -----------------------
19746 # Set $? to STATUS, without forking.
19747 as_fn_set_status ()
19749 return $1
19750 } # as_fn_set_status
19752 # as_fn_exit STATUS
19753 # -----------------
19754 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19755 as_fn_exit ()
19757 set +e
19758 as_fn_set_status $1
19759 exit $1
19760 } # as_fn_exit
19762 # as_fn_unset VAR
19763 # ---------------
19764 # Portably unset VAR.
19765 as_fn_unset ()
19767 { eval $1=; unset $1;}
19769 as_unset=as_fn_unset
19770 # as_fn_append VAR VALUE
19771 # ----------------------
19772 # Append the text in VALUE to the end of the definition contained in VAR. Take
19773 # advantage of any shell optimizations that allow amortized linear growth over
19774 # repeated appends, instead of the typical quadratic growth present in naive
19775 # implementations.
19776 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19777 eval 'as_fn_append ()
19779 eval $1+=\$2
19781 else
19782 as_fn_append ()
19784 eval $1=\$$1\$2
19786 fi # as_fn_append
19788 # as_fn_arith ARG...
19789 # ------------------
19790 # Perform arithmetic evaluation on the ARGs, and store the result in the
19791 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19792 # must be portable across $(()) and expr.
19793 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19794 eval 'as_fn_arith ()
19796 as_val=$(( $* ))
19798 else
19799 as_fn_arith ()
19801 as_val=`expr "$@" || test $? -eq 1`
19803 fi # as_fn_arith
19806 if expr a : '\(a\)' >/dev/null 2>&1 &&
19807 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19808 as_expr=expr
19809 else
19810 as_expr=false
19813 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19814 as_basename=basename
19815 else
19816 as_basename=false
19819 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19820 as_dirname=dirname
19821 else
19822 as_dirname=false
19825 as_me=`$as_basename -- "$0" ||
19826 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19827 X"$0" : 'X\(//\)$' \| \
19828 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19829 $as_echo X/"$0" |
19830 sed '/^.*\/\([^/][^/]*\)\/*$/{
19831 s//\1/
19834 /^X\/\(\/\/\)$/{
19835 s//\1/
19838 /^X\/\(\/\).*/{
19839 s//\1/
19842 s/.*/./; q'`
19844 # Avoid depending upon Character Ranges.
19845 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19846 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19847 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19848 as_cr_digits='0123456789'
19849 as_cr_alnum=$as_cr_Letters$as_cr_digits
19851 ECHO_C= ECHO_N= ECHO_T=
19852 case `echo -n x` in #(((((
19853 -n*)
19854 case `echo 'xy\c'` in
19855 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19856 xy) ECHO_C='\c';;
19857 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19858 ECHO_T=' ';;
19859 esac;;
19861 ECHO_N='-n';;
19862 esac
19864 rm -f conf$$ conf$$.exe conf$$.file
19865 if test -d conf$$.dir; then
19866 rm -f conf$$.dir/conf$$.file
19867 else
19868 rm -f conf$$.dir
19869 mkdir conf$$.dir 2>/dev/null
19871 if (echo >conf$$.file) 2>/dev/null; then
19872 if ln -s conf$$.file conf$$ 2>/dev/null; then
19873 as_ln_s='ln -s'
19874 # ... but there are two gotchas:
19875 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19876 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19877 # In both cases, we have to default to `cp -pR'.
19878 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19879 as_ln_s='cp -pR'
19880 elif ln conf$$.file conf$$ 2>/dev/null; then
19881 as_ln_s=ln
19882 else
19883 as_ln_s='cp -pR'
19885 else
19886 as_ln_s='cp -pR'
19888 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19889 rmdir conf$$.dir 2>/dev/null
19892 # as_fn_mkdir_p
19893 # -------------
19894 # Create "$as_dir" as a directory, including parents if necessary.
19895 as_fn_mkdir_p ()
19898 case $as_dir in #(
19899 -*) as_dir=./$as_dir;;
19900 esac
19901 test -d "$as_dir" || eval $as_mkdir_p || {
19902 as_dirs=
19903 while :; do
19904 case $as_dir in #(
19905 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19906 *) as_qdir=$as_dir;;
19907 esac
19908 as_dirs="'$as_qdir' $as_dirs"
19909 as_dir=`$as_dirname -- "$as_dir" ||
19910 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19911 X"$as_dir" : 'X\(//\)[^/]' \| \
19912 X"$as_dir" : 'X\(//\)$' \| \
19913 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19914 $as_echo X"$as_dir" |
19915 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19916 s//\1/
19919 /^X\(\/\/\)[^/].*/{
19920 s//\1/
19923 /^X\(\/\/\)$/{
19924 s//\1/
19927 /^X\(\/\).*/{
19928 s//\1/
19931 s/.*/./; q'`
19932 test -d "$as_dir" && break
19933 done
19934 test -z "$as_dirs" || eval "mkdir $as_dirs"
19935 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19938 } # as_fn_mkdir_p
19939 if mkdir -p . 2>/dev/null; then
19940 as_mkdir_p='mkdir -p "$as_dir"'
19941 else
19942 test -d ./-p && rmdir ./-p
19943 as_mkdir_p=false
19947 # as_fn_executable_p FILE
19948 # -----------------------
19949 # Test if FILE is an executable regular file.
19950 as_fn_executable_p ()
19952 test -f "$1" && test -x "$1"
19953 } # as_fn_executable_p
19954 as_test_x='test -x'
19955 as_executable_p=as_fn_executable_p
19957 # Sed expression to map a string onto a valid CPP name.
19958 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19960 # Sed expression to map a string onto a valid variable name.
19961 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19964 exec 6>&1
19965 ## ----------------------------------- ##
19966 ## Main body of $CONFIG_STATUS script. ##
19967 ## ----------------------------------- ##
19968 _ASEOF
19969 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19971 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19972 # Save the log message, to keep $0 and so on meaningful, and to
19973 # report actual input values of CONFIG_FILES etc. instead of their
19974 # values after options handling.
19975 ac_log="
19976 This file was extended by Wine $as_me 3.0, which was
19977 generated by GNU Autoconf 2.69. Invocation command line was
19979 CONFIG_FILES = $CONFIG_FILES
19980 CONFIG_HEADERS = $CONFIG_HEADERS
19981 CONFIG_LINKS = $CONFIG_LINKS
19982 CONFIG_COMMANDS = $CONFIG_COMMANDS
19983 $ $0 $@
19985 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19988 _ACEOF
19990 case $ac_config_files in *"
19991 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19992 esac
19994 case $ac_config_headers in *"
19995 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19996 esac
19999 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20000 # Files that config.status was made for.
20001 config_files="$ac_config_files"
20002 config_headers="$ac_config_headers"
20003 config_links="$ac_config_links"
20004 config_commands="$ac_config_commands"
20006 _ACEOF
20008 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20009 ac_cs_usage="\
20010 \`$as_me' instantiates files and other configuration actions
20011 from templates according to the current configuration. Unless the files
20012 and actions are specified as TAGs, all are instantiated by default.
20014 Usage: $0 [OPTION]... [TAG]...
20016 -h, --help print this help, then exit
20017 -V, --version print version number and configuration settings, then exit
20018 --config print configuration, then exit
20019 -q, --quiet, --silent
20020 do not print progress messages
20021 -d, --debug don't remove temporary files
20022 --recheck update $as_me by reconfiguring in the same conditions
20023 --file=FILE[:TEMPLATE]
20024 instantiate the configuration file FILE
20025 --header=FILE[:TEMPLATE]
20026 instantiate the configuration header FILE
20028 Configuration files:
20029 $config_files
20031 Configuration headers:
20032 $config_headers
20034 Configuration links:
20035 $config_links
20037 Configuration commands:
20038 $config_commands
20040 Report bugs to <wine-devel@winehq.org>.
20041 Wine home page: <https://www.winehq.org>."
20043 _ACEOF
20044 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20045 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20046 ac_cs_version="\\
20047 Wine config.status 3.0
20048 configured by $0, generated by GNU Autoconf 2.69,
20049 with options \\"\$ac_cs_config\\"
20051 Copyright (C) 2012 Free Software Foundation, Inc.
20052 This config.status script is free software; the Free Software Foundation
20053 gives unlimited permission to copy, distribute and modify it."
20055 ac_pwd='$ac_pwd'
20056 srcdir='$srcdir'
20057 test -n "\$AWK" || AWK=awk
20058 _ACEOF
20060 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20061 # The default lists apply if the user does not specify any file.
20062 ac_need_defaults=:
20063 while test $# != 0
20065 case $1 in
20066 --*=?*)
20067 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20068 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20069 ac_shift=:
20071 --*=)
20072 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20073 ac_optarg=
20074 ac_shift=:
20077 ac_option=$1
20078 ac_optarg=$2
20079 ac_shift=shift
20081 esac
20083 case $ac_option in
20084 # Handling of the options.
20085 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20086 ac_cs_recheck=: ;;
20087 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20088 $as_echo "$ac_cs_version"; exit ;;
20089 --config | --confi | --conf | --con | --co | --c )
20090 $as_echo "$ac_cs_config"; exit ;;
20091 --debug | --debu | --deb | --de | --d | -d )
20092 debug=: ;;
20093 --file | --fil | --fi | --f )
20094 $ac_shift
20095 case $ac_optarg in
20096 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20097 '') as_fn_error $? "missing file argument" ;;
20098 esac
20099 as_fn_append CONFIG_FILES " '$ac_optarg'"
20100 ac_need_defaults=false;;
20101 --header | --heade | --head | --hea )
20102 $ac_shift
20103 case $ac_optarg in
20104 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20105 esac
20106 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20107 ac_need_defaults=false;;
20108 --he | --h)
20109 # Conflict between --help and --header
20110 as_fn_error $? "ambiguous option: \`$1'
20111 Try \`$0 --help' for more information.";;
20112 --help | --hel | -h )
20113 $as_echo "$ac_cs_usage"; exit ;;
20114 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20115 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20116 ac_cs_silent=: ;;
20118 # This is an error.
20119 -*) as_fn_error $? "unrecognized option: \`$1'
20120 Try \`$0 --help' for more information." ;;
20122 *) as_fn_append ac_config_targets " $1"
20123 ac_need_defaults=false ;;
20125 esac
20126 shift
20127 done
20129 ac_configure_extra_args=
20131 if $ac_cs_silent; then
20132 exec 6>/dev/null
20133 ac_configure_extra_args="$ac_configure_extra_args --silent"
20136 _ACEOF
20137 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20138 if \$ac_cs_recheck; then
20139 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20140 shift
20141 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20142 CONFIG_SHELL='$SHELL'
20143 export CONFIG_SHELL
20144 exec "\$@"
20147 _ACEOF
20148 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20149 exec 5>>config.log
20151 echo
20152 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20153 ## Running $as_me. ##
20154 _ASBOX
20155 $as_echo "$ac_log"
20156 } >&5
20158 _ACEOF
20159 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20161 # INIT-COMMANDS
20163 wine_fn_output_makedep ()
20165 as_dir=tools; as_fn_mkdir_p
20166 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
20168 wine_fn_output_makefile ()
20170 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
20171 `cat $wine_rules_file`
20172 _WINE_EOF
20173 as_fn_error $? "could not create Makefile" "$LINENO" 5
20176 _ACEOF
20178 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20180 # Handling of arguments.
20181 for ac_config_target in $ac_config_targets
20183 case $ac_config_target in
20184 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20185 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
20186 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
20187 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
20188 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
20189 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
20190 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
20191 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
20192 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
20193 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
20194 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
20195 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
20196 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
20198 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20199 esac
20200 done
20203 # If the user did not use the arguments to specify the items to instantiate,
20204 # then the envvar interface is used. Set only those that are not.
20205 # We use the long form for the default assignment because of an extremely
20206 # bizarre bug on SunOS 4.1.3.
20207 if $ac_need_defaults; then
20208 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20209 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20210 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
20211 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20214 # Have a temporary directory for convenience. Make it in the build tree
20215 # simply because there is no reason against having it here, and in addition,
20216 # creating and moving files from /tmp can sometimes cause problems.
20217 # Hook for its removal unless debugging.
20218 # Note that there is a small window in which the directory will not be cleaned:
20219 # after its creation but before its name has been assigned to `$tmp'.
20220 $debug ||
20222 tmp= ac_tmp=
20223 trap 'exit_status=$?
20224 : "${ac_tmp:=$tmp}"
20225 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20227 trap 'as_fn_exit 1' 1 2 13 15
20229 # Create a (secure) tmp directory for tmp files.
20232 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20233 test -d "$tmp"
20234 } ||
20236 tmp=./conf$$-$RANDOM
20237 (umask 077 && mkdir "$tmp")
20238 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20239 ac_tmp=$tmp
20241 # Set up the scripts for CONFIG_FILES section.
20242 # No need to generate them if there are no CONFIG_FILES.
20243 # This happens for instance with `./config.status config.h'.
20244 if test -n "$CONFIG_FILES"; then
20247 ac_cr=`echo X | tr X '\015'`
20248 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20249 # But we know of no other shell where ac_cr would be empty at this
20250 # point, so we can use a bashism as a fallback.
20251 if test "x$ac_cr" = x; then
20252 eval ac_cr=\$\'\\r\'
20254 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20255 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20256 ac_cs_awk_cr='\\r'
20257 else
20258 ac_cs_awk_cr=$ac_cr
20261 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20262 _ACEOF
20266 echo "cat >conf$$subs.awk <<_ACEOF" &&
20267 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20268 echo "_ACEOF"
20269 } >conf$$subs.sh ||
20270 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20271 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20272 ac_delim='%!_!# '
20273 for ac_last_try in false false false false false :; do
20274 . ./conf$$subs.sh ||
20275 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20277 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20278 if test $ac_delim_n = $ac_delim_num; then
20279 break
20280 elif $ac_last_try; then
20281 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20282 else
20283 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20285 done
20286 rm -f conf$$subs.sh
20288 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20289 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
20290 _ACEOF
20291 sed -n '
20293 s/^/S["/; s/!.*/"]=/
20296 s/^[^!]*!//
20297 :repl
20298 t repl
20299 s/'"$ac_delim"'$//
20300 t delim
20303 s/\(.\{148\}\)..*/\1/
20304 t more1
20305 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20308 b repl
20309 :more1
20310 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20313 s/.\{148\}//
20314 t nl
20315 :delim
20317 s/\(.\{148\}\)..*/\1/
20318 t more2
20319 s/["\\]/\\&/g; s/^/"/; s/$/"/
20322 :more2
20323 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20326 s/.\{148\}//
20327 t delim
20328 ' <conf$$subs.awk | sed '
20329 /^[^""]/{
20331 s/\n//
20333 ' >>$CONFIG_STATUS || ac_write_fail=1
20334 rm -f conf$$subs.awk
20335 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20336 _ACAWK
20337 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
20338 for (key in S) S_is_set[key] = 1
20339 FS = "\a"
20343 line = $ 0
20344 nfields = split(line, field, "@")
20345 substed = 0
20346 len = length(field[1])
20347 for (i = 2; i < nfields; i++) {
20348 key = field[i]
20349 keylen = length(key)
20350 if (S_is_set[key]) {
20351 value = S[key]
20352 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20353 len += length(value) + length(field[++i])
20354 substed = 1
20355 } else
20356 len += 1 + keylen
20359 print line
20362 _ACAWK
20363 _ACEOF
20364 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20365 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20366 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20367 else
20369 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
20370 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20371 _ACEOF
20373 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20374 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20375 # trailing colons and then remove the whole line if VPATH becomes empty
20376 # (actually we leave an empty line to preserve line numbers).
20377 if test "x$srcdir" = x.; then
20378 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20380 s///
20381 s/^/:/
20382 s/[ ]*$/:/
20383 s/:\$(srcdir):/:/g
20384 s/:\${srcdir}:/:/g
20385 s/:@srcdir@:/:/g
20386 s/^:*//
20387 s/:*$//
20389 s/\(=[ ]*\).*/\1/
20391 s/\n//
20392 s/^[^=]*=[ ]*$//
20396 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20397 fi # test -n "$CONFIG_FILES"
20399 # Set up the scripts for CONFIG_HEADERS section.
20400 # No need to generate them if there are no CONFIG_HEADERS.
20401 # This happens for instance with `./config.status Makefile'.
20402 if test -n "$CONFIG_HEADERS"; then
20403 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20404 BEGIN {
20405 _ACEOF
20407 # Transform confdefs.h into an awk script `defines.awk', embedded as
20408 # here-document in config.status, that substitutes the proper values into
20409 # config.h.in to produce config.h.
20411 # Create a delimiter string that does not exist in confdefs.h, to ease
20412 # handling of long lines.
20413 ac_delim='%!_!# '
20414 for ac_last_try in false false :; do
20415 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20416 if test -z "$ac_tt"; then
20417 break
20418 elif $ac_last_try; then
20419 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20420 else
20421 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20423 done
20425 # For the awk script, D is an array of macro values keyed by name,
20426 # likewise P contains macro parameters if any. Preserve backslash
20427 # newline sequences.
20429 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20430 sed -n '
20431 s/.\{148\}/&'"$ac_delim"'/g
20432 t rset
20433 :rset
20434 s/^[ ]*#[ ]*define[ ][ ]*/ /
20435 t def
20437 :def
20438 s/\\$//
20439 t bsnl
20440 s/["\\]/\\&/g
20441 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20442 D["\1"]=" \3"/p
20443 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
20445 :bsnl
20446 s/["\\]/\\&/g
20447 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20448 D["\1"]=" \3\\\\\\n"\\/p
20449 t cont
20450 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20451 t cont
20453 :cont
20455 s/.\{148\}/&'"$ac_delim"'/g
20456 t clear
20457 :clear
20458 s/\\$//
20459 t bsnlc
20460 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20462 :bsnlc
20463 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20464 b cont
20465 ' <confdefs.h | sed '
20466 s/'"$ac_delim"'/"\\\
20467 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20469 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20470 for (key in D) D_is_set[key] = 1
20471 FS = "\a"
20473 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20474 line = \$ 0
20475 split(line, arg, " ")
20476 if (arg[1] == "#") {
20477 defundef = arg[2]
20478 mac1 = arg[3]
20479 } else {
20480 defundef = substr(arg[1], 2)
20481 mac1 = arg[2]
20483 split(mac1, mac2, "(") #)
20484 macro = mac2[1]
20485 prefix = substr(line, 1, index(line, defundef) - 1)
20486 if (D_is_set[macro]) {
20487 # Preserve the white space surrounding the "#".
20488 print prefix "define", macro P[macro] D[macro]
20489 next
20490 } else {
20491 # Replace #undef with comments. This is necessary, for example,
20492 # in the case of _POSIX_SOURCE, which is predefined and required
20493 # on some systems where configure will not decide to define it.
20494 if (defundef == "undef") {
20495 print "/*", prefix defundef, macro, "*/"
20496 next
20500 { print }
20501 _ACAWK
20502 _ACEOF
20503 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20504 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20505 fi # test -n "$CONFIG_HEADERS"
20508 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
20509 shift
20510 for ac_tag
20512 case $ac_tag in
20513 :[FHLC]) ac_mode=$ac_tag; continue;;
20514 esac
20515 case $ac_mode$ac_tag in
20516 :[FHL]*:*);;
20517 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20518 :[FH]-) ac_tag=-:-;;
20519 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20520 esac
20521 ac_save_IFS=$IFS
20522 IFS=:
20523 set x $ac_tag
20524 IFS=$ac_save_IFS
20525 shift
20526 ac_file=$1
20527 shift
20529 case $ac_mode in
20530 :L) ac_source=$1;;
20531 :[FH])
20532 ac_file_inputs=
20533 for ac_f
20535 case $ac_f in
20536 -) ac_f="$ac_tmp/stdin";;
20537 *) # Look for the file first in the build tree, then in the source tree
20538 # (if the path is not absolute). The absolute path cannot be DOS-style,
20539 # because $ac_f cannot contain `:'.
20540 test -f "$ac_f" ||
20541 case $ac_f in
20542 [\\/$]*) false;;
20543 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20544 esac ||
20545 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20546 esac
20547 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20548 as_fn_append ac_file_inputs " '$ac_f'"
20549 done
20551 # Let's still pretend it is `configure' which instantiates (i.e., don't
20552 # use $as_me), people would be surprised to read:
20553 # /* config.h. Generated by config.status. */
20554 configure_input='Generated from '`
20555 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20556 `' by configure.'
20557 if test x"$ac_file" != x-; then
20558 configure_input="$ac_file. $configure_input"
20559 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20560 $as_echo "$as_me: creating $ac_file" >&6;}
20562 # Neutralize special characters interpreted by sed in replacement strings.
20563 case $configure_input in #(
20564 *\&* | *\|* | *\\* )
20565 ac_sed_conf_input=`$as_echo "$configure_input" |
20566 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20567 *) ac_sed_conf_input=$configure_input;;
20568 esac
20570 case $ac_tag in
20571 *:-:* | *:-) cat >"$ac_tmp/stdin" \
20572 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20573 esac
20575 esac
20577 ac_dir=`$as_dirname -- "$ac_file" ||
20578 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20579 X"$ac_file" : 'X\(//\)[^/]' \| \
20580 X"$ac_file" : 'X\(//\)$' \| \
20581 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20582 $as_echo X"$ac_file" |
20583 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20584 s//\1/
20587 /^X\(\/\/\)[^/].*/{
20588 s//\1/
20591 /^X\(\/\/\)$/{
20592 s//\1/
20595 /^X\(\/\).*/{
20596 s//\1/
20599 s/.*/./; q'`
20600 as_dir="$ac_dir"; as_fn_mkdir_p
20601 ac_builddir=.
20603 case "$ac_dir" in
20604 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20606 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20607 # A ".." for each directory in $ac_dir_suffix.
20608 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20609 case $ac_top_builddir_sub in
20610 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20611 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20612 esac ;;
20613 esac
20614 ac_abs_top_builddir=$ac_pwd
20615 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20616 # for backward compatibility:
20617 ac_top_builddir=$ac_top_build_prefix
20619 case $srcdir in
20620 .) # We are building in place.
20621 ac_srcdir=.
20622 ac_top_srcdir=$ac_top_builddir_sub
20623 ac_abs_top_srcdir=$ac_pwd ;;
20624 [\\/]* | ?:[\\/]* ) # Absolute name.
20625 ac_srcdir=$srcdir$ac_dir_suffix;
20626 ac_top_srcdir=$srcdir
20627 ac_abs_top_srcdir=$srcdir ;;
20628 *) # Relative name.
20629 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20630 ac_top_srcdir=$ac_top_build_prefix$srcdir
20631 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20632 esac
20633 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20636 case $ac_mode in
20639 # CONFIG_FILE
20642 _ACEOF
20644 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20645 # If the template does not know about datarootdir, expand it.
20646 # FIXME: This hack should be removed a few years after 2.60.
20647 ac_datarootdir_hack=; ac_datarootdir_seen=
20648 ac_sed_dataroot='
20649 /datarootdir/ {
20653 /@datadir@/p
20654 /@docdir@/p
20655 /@infodir@/p
20656 /@localedir@/p
20657 /@mandir@/p'
20658 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20659 *datarootdir*) ac_datarootdir_seen=yes;;
20660 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20661 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20662 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20663 _ACEOF
20664 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20665 ac_datarootdir_hack='
20666 s&@datadir@&$datadir&g
20667 s&@docdir@&$docdir&g
20668 s&@infodir@&$infodir&g
20669 s&@localedir@&$localedir&g
20670 s&@mandir@&$mandir&g
20671 s&\\\${datarootdir}&$datarootdir&g' ;;
20672 esac
20673 _ACEOF
20675 # Neutralize VPATH when `$srcdir' = `.'.
20676 # Shell code in configure.ac might set extrasub.
20677 # FIXME: do we really want to maintain this feature?
20678 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20679 ac_sed_extra="$ac_vpsub
20680 $extrasub
20681 _ACEOF
20682 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20684 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20685 s|@configure_input@|$ac_sed_conf_input|;t t
20686 s&@top_builddir@&$ac_top_builddir_sub&;t t
20687 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20688 s&@srcdir@&$ac_srcdir&;t t
20689 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20690 s&@top_srcdir@&$ac_top_srcdir&;t t
20691 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20692 s&@builddir@&$ac_builddir&;t t
20693 s&@abs_builddir@&$ac_abs_builddir&;t t
20694 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20695 $ac_datarootdir_hack
20697 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20698 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20700 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20701 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20702 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20703 "$ac_tmp/out"`; test -z "$ac_out"; } &&
20704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20705 which seems to be undefined. Please make sure it is defined" >&5
20706 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20707 which seems to be undefined. Please make sure it is defined" >&2;}
20709 rm -f "$ac_tmp/stdin"
20710 case $ac_file in
20711 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20712 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20713 esac \
20714 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20718 # CONFIG_HEADER
20720 if test x"$ac_file" != x-; then
20722 $as_echo "/* $configure_input */" \
20723 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20724 } >"$ac_tmp/config.h" \
20725 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20726 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20727 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20728 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20729 else
20730 rm -f "$ac_file"
20731 mv "$ac_tmp/config.h" "$ac_file" \
20732 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20734 else
20735 $as_echo "/* $configure_input */" \
20736 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20737 || as_fn_error $? "could not create -" "$LINENO" 5
20742 # CONFIG_LINK
20745 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
20747 else
20748 # Prefer the file from the source tree if names are identical.
20749 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
20750 ac_source=$srcdir/$ac_source
20753 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
20754 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20756 if test ! -r "$ac_source"; then
20757 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20759 rm -f "$ac_file"
20761 # Try a relative symlink, then a hard link, then a copy.
20762 case $ac_source in
20763 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20764 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20765 esac
20766 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20767 ln "$ac_source" "$ac_file" 2>/dev/null ||
20768 cp -p "$ac_source" "$ac_file" ||
20769 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20772 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20773 $as_echo "$as_me: executing $ac_file commands" >&6;}
20775 esac
20778 case $ac_file$ac_mode in
20779 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20780 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20781 "Makefile":C) wine_fn_output_makefile Makefile ;;
20783 esac
20784 done # for ac_tag
20787 as_fn_exit 0
20788 _ACEOF
20789 ac_clean_files=$ac_clean_files_save
20791 test $ac_write_fail = 0 ||
20792 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20795 # configure is writing to config.log, and then calls config.status.
20796 # config.status does its own redirection, appending to config.log.
20797 # Unfortunately, on DOS this fails, as config.log is still kept open
20798 # by configure, so config.status won't be able to write to it; its
20799 # output is simply discarded. So we exec the FD to /dev/null,
20800 # effectively closing config.log, so it can be properly (re)opened and
20801 # appended to by config.status. When coming back to configure, we
20802 # need to make the FD available again.
20803 if test "$no_create" != yes; then
20804 ac_cs_success=:
20805 ac_config_status_args=
20806 test "$silent" = yes &&
20807 ac_config_status_args="$ac_config_status_args --quiet"
20808 exec 5>/dev/null
20809 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20810 exec 5>>config.log
20811 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20812 # would make configure fail if this is the last instruction.
20813 $ac_cs_success || as_fn_exit 1
20815 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20817 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20821 if test "$no_create" = "yes"
20822 then
20823 exit 0
20826 ac_save_IFS="$IFS"
20827 if test "x$wine_notices" != x; then
20828 echo >&6
20829 IFS="|"
20830 for msg in $wine_notices; do
20831 IFS="$ac_save_IFS"
20832 if ${msg:+false} :; then :
20834 else
20835 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20836 $as_echo "$as_me: $msg" >&6;}
20838 done
20840 IFS="|"
20841 for msg in $wine_warnings; do
20842 IFS="$ac_save_IFS"
20843 if ${msg:+false} :; then :
20845 else
20846 echo >&2
20847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20848 $as_echo "$as_me: WARNING: $msg" >&2;}
20850 done
20851 IFS="$ac_save_IFS"
20853 $as_echo "
20854 $as_me: Finished. Do '${ac_make}' to compile Wine.
20855 " >&6