winebus.sys: Add SDL to CriticalDeviceDatabase.
[wine.git] / configure
blob41cb3bbf47b16484dace3712800b933aa73f2dd5
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 3.2.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='3.2'
584 PACKAGE_STRING='Wine 3.2'
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 SDL2_LIBS
662 SDL2_CFLAGS
663 UDEV_LIBS
664 UDEV_CFLAGS
665 OSS4_CFLAGS
666 ALSA_LIBS
667 GSTREAMER_LIBS
668 GSTREAMER_CFLAGS
669 PULSE_LIBS
670 PULSE_CFLAGS
671 GETTEXTPO_LIBS
672 Z_LIBS
673 FREETYPE_LIBS
674 FREETYPE_CFLAGS
675 LCMS2_LIBS
676 LCMS2_CFLAGS
677 RESOLV_LIBS
678 GPHOTO2_PORT_LIBS
679 GPHOTO2_PORT_CFLAGS
680 GPHOTO2_LIBS
681 GPHOTO2_CFLAGS
682 SANE_LIBS
683 SANE_CFLAGS
684 GNUTLS_LIBS
685 GNUTLS_CFLAGS
686 HAL_LIBS
687 HAL_CFLAGS
688 DBUS_LIBS
689 DBUS_CFLAGS
690 XSLT_LIBS
691 XSLT_CFLAGS
692 XML2_LIBS
693 XML2_CFLAGS
694 PCAP_LIBS
695 X_EXTRA_LIBS
696 X_LIBS
697 X_PRE_LIBS
698 X_CFLAGS
699 XMKMF
700 PTHREAD_LIBS
701 CROSSCFLAGS
702 CROSSCC
703 CROSSTARGET
704 PRELINK
705 WINELOADER_DEPENDS
706 CARBON_LIBS
707 QUICKTIME_LIBS
708 OPENCL_LIBS
709 OPENAL_LIBS
710 COREAUDIO_LIBS
711 SECURITY_LIBS
712 DISKARBITRATION_LIBS
713 APPKIT_LIBS
714 CORESERVICES_LIBS
715 APPLICATIONSERVICES_LIBS
716 FORCEFEEDBACK_LIBS
717 IOKIT_LIBS
718 COREFOUNDATION_LIBS
719 LIBWINE_DEPENDS
720 LIBWINE_LDFLAGS
721 LIBWINE_INSTALL_DEV
722 LIBWINE_INSTALL_LIB
723 LIBWINE_IMPORTLIB
724 LIBWINE_SHAREDLIB
725 SOCKET_LIBS
726 DLLTOOL
727 WINELOADER_PROGRAMS
728 ALL_TEST_RESOURCES
729 CONFIGURE_TARGETS
730 DISABLED_SUBDIRS
731 SUBDIRS
732 READELF
733 OTOOL
735 WINELOADER_LDFLAGS
736 LDEXECFLAGS
737 LDRPATH_LOCAL
738 LDRPATH_INSTALL
739 DLLFLAGS
741 OPENGL_LIBS
742 ICOTOOL
743 CONVERT
744 RSVG
745 FONTFORGE
746 PKG_CONFIG
747 MSGFMT
748 LDCONFIG
749 EGREP
750 GREP
751 LN_S
752 RANLIB
753 ARFLAGS
754 STRIP
755 ac_ct_AR
757 BISON
758 FLEX
759 TOOLSDIR
760 TARGETFLAGS
762 CPPBIN
763 ac_ct_CXX
764 CXXFLAGS
766 OBJEXT
767 EXEEXT
768 ac_ct_CC
769 CPPFLAGS
770 LDFLAGS
771 CFLAGS
773 SET_MAKE
774 host_os
775 host_vendor
776 host_cpu
777 host
778 build_os
779 build_vendor
780 build_cpu
781 build
782 target_alias
783 host_alias
784 build_alias
785 LIBS
786 ECHO_T
787 ECHO_N
788 ECHO_C
789 DEFS
790 mandir
791 localedir
792 libdir
793 psdir
794 pdfdir
795 dvidir
796 htmldir
797 infodir
798 docdir
799 oldincludedir
800 includedir
801 runstatedir
802 localstatedir
803 sharedstatedir
804 sysconfdir
805 datadir
806 datarootdir
807 libexecdir
808 sbindir
809 bindir
810 program_transform_name
811 prefix
812 exec_prefix
813 PACKAGE_URL
814 PACKAGE_BUGREPORT
815 PACKAGE_STRING
816 PACKAGE_VERSION
817 PACKAGE_TARNAME
818 PACKAGE_NAME
819 PATH_SEPARATOR
820 SHELL'
821 ac_subst_files=''
822 ac_user_opts='
823 enable_option_checking
824 enable_win16
825 enable_win64
826 enable_tests
827 enable_maintainer_mode
828 with_alsa
829 with_capi
830 with_cms
831 with_coreaudio
832 with_cups
833 with_curses
834 with_dbus
835 with_float_abi
836 with_fontconfig
837 with_freetype
838 with_gettext
839 with_gettextpo
840 with_gphoto
841 with_glu
842 with_gnutls
843 with_gsm
844 with_gssapi
845 with_gstreamer
846 with_hal
847 with_jpeg
848 with_krb5
849 with_ldap
850 with_mpg123
851 with_netapi
852 with_openal
853 with_opencl
854 with_opengl
855 with_osmesa
856 with_oss
857 with_pcap
858 with_png
859 with_pthread
860 with_pulse
861 with_sane
862 with_tiff
863 with_udev
864 with_sdl
865 with_v4l
866 with_xcomposite
867 with_xcursor
868 with_xfixes
869 with_xinerama
870 with_xinput
871 with_xinput2
872 with_xml
873 with_xrandr
874 with_xrender
875 with_xshape
876 with_xshm
877 with_xslt
878 with_xxf86vm
879 with_zlib
880 with_wine_tools
881 with_wine64
882 enable_largefile
883 with_x
884 enable_acledit
885 enable_aclui
886 enable_activeds
887 enable_actxprxy
888 enable_adsldp
889 enable_adsldpc
890 enable_advapi32
891 enable_advpack
892 enable_amstream
893 enable_api_ms_win_appmodel_identity_l1_1_0
894 enable_api_ms_win_appmodel_runtime_l1_1_1
895 enable_api_ms_win_appmodel_runtime_l1_1_2
896 enable_api_ms_win_core_apiquery_l1_1_0
897 enable_api_ms_win_core_appcompat_l1_1_1
898 enable_api_ms_win_core_appinit_l1_1_0
899 enable_api_ms_win_core_atoms_l1_1_0
900 enable_api_ms_win_core_bem_l1_1_0
901 enable_api_ms_win_core_com_l1_1_0
902 enable_api_ms_win_core_com_l1_1_1
903 enable_api_ms_win_core_com_private_l1_1_0
904 enable_api_ms_win_core_console_l1_1_0
905 enable_api_ms_win_core_console_l2_1_0
906 enable_api_ms_win_core_crt_l1_1_0
907 enable_api_ms_win_core_crt_l2_1_0
908 enable_api_ms_win_core_datetime_l1_1_0
909 enable_api_ms_win_core_datetime_l1_1_1
910 enable_api_ms_win_core_debug_l1_1_0
911 enable_api_ms_win_core_debug_l1_1_1
912 enable_api_ms_win_core_delayload_l1_1_0
913 enable_api_ms_win_core_delayload_l1_1_1
914 enable_api_ms_win_core_errorhandling_l1_1_0
915 enable_api_ms_win_core_errorhandling_l1_1_1
916 enable_api_ms_win_core_errorhandling_l1_1_2
917 enable_api_ms_win_core_errorhandling_l1_1_3
918 enable_api_ms_win_core_fibers_l1_1_0
919 enable_api_ms_win_core_fibers_l1_1_1
920 enable_api_ms_win_core_file_l1_1_0
921 enable_api_ms_win_core_file_l1_2_0
922 enable_api_ms_win_core_file_l1_2_1
923 enable_api_ms_win_core_file_l1_2_2
924 enable_api_ms_win_core_file_l2_1_0
925 enable_api_ms_win_core_file_l2_1_1
926 enable_api_ms_win_core_file_l2_1_2
927 enable_api_ms_win_core_handle_l1_1_0
928 enable_api_ms_win_core_heap_l1_1_0
929 enable_api_ms_win_core_heap_l1_2_0
930 enable_api_ms_win_core_heap_l2_1_0
931 enable_api_ms_win_core_heap_obsolete_l1_1_0
932 enable_api_ms_win_core_interlocked_l1_1_0
933 enable_api_ms_win_core_interlocked_l1_2_0
934 enable_api_ms_win_core_io_l1_1_0
935 enable_api_ms_win_core_io_l1_1_1
936 enable_api_ms_win_core_job_l1_1_0
937 enable_api_ms_win_core_job_l2_1_0
938 enable_api_ms_win_core_kernel32_legacy_l1_1_0
939 enable_api_ms_win_core_kernel32_legacy_l1_1_1
940 enable_api_ms_win_core_kernel32_private_l1_1_1
941 enable_api_ms_win_core_libraryloader_l1_1_0
942 enable_api_ms_win_core_libraryloader_l1_1_1
943 enable_api_ms_win_core_libraryloader_l1_2_0
944 enable_api_ms_win_core_libraryloader_l1_2_1
945 enable_api_ms_win_core_libraryloader_l1_2_2
946 enable_api_ms_win_core_localization_l1_1_0
947 enable_api_ms_win_core_localization_l1_2_0
948 enable_api_ms_win_core_localization_l1_2_1
949 enable_api_ms_win_core_localization_l2_1_0
950 enable_api_ms_win_core_localization_obsolete_l1_1_0
951 enable_api_ms_win_core_localization_obsolete_l1_2_0
952 enable_api_ms_win_core_localization_obsolete_l1_3_0
953 enable_api_ms_win_core_localization_private_l1_1_0
954 enable_api_ms_win_core_localregistry_l1_1_0
955 enable_api_ms_win_core_memory_l1_1_0
956 enable_api_ms_win_core_memory_l1_1_1
957 enable_api_ms_win_core_memory_l1_1_2
958 enable_api_ms_win_core_misc_l1_1_0
959 enable_api_ms_win_core_namedpipe_l1_1_0
960 enable_api_ms_win_core_namedpipe_l1_2_0
961 enable_api_ms_win_core_namespace_l1_1_0
962 enable_api_ms_win_core_normalization_l1_1_0
963 enable_api_ms_win_core_path_l1_1_0
964 enable_api_ms_win_core_privateprofile_l1_1_1
965 enable_api_ms_win_core_processenvironment_l1_1_0
966 enable_api_ms_win_core_processenvironment_l1_2_0
967 enable_api_ms_win_core_processthreads_l1_1_0
968 enable_api_ms_win_core_processthreads_l1_1_1
969 enable_api_ms_win_core_processthreads_l1_1_2
970 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
971 enable_api_ms_win_core_profile_l1_1_0
972 enable_api_ms_win_core_psapi_ansi_l1_1_0
973 enable_api_ms_win_core_psapi_l1_1_0
974 enable_api_ms_win_core_psapi_obsolete_l1_1_0
975 enable_api_ms_win_core_quirks_l1_1_0
976 enable_api_ms_win_core_realtime_l1_1_0
977 enable_api_ms_win_core_registry_l1_1_0
978 enable_api_ms_win_core_registry_l2_1_0
979 enable_api_ms_win_core_registryuserspecific_l1_1_0
980 enable_api_ms_win_core_rtlsupport_l1_1_0
981 enable_api_ms_win_core_rtlsupport_l1_2_0
982 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
983 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
984 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
985 enable_api_ms_win_core_shutdown_l1_1_0
986 enable_api_ms_win_core_sidebyside_l1_1_0
987 enable_api_ms_win_core_string_l1_1_0
988 enable_api_ms_win_core_string_l2_1_0
989 enable_api_ms_win_core_string_obsolete_l1_1_0
990 enable_api_ms_win_core_stringansi_l1_1_0
991 enable_api_ms_win_core_synch_ansi_l1_1_0
992 enable_api_ms_win_core_synch_l1_1_0
993 enable_api_ms_win_core_synch_l1_2_0
994 enable_api_ms_win_core_synch_l1_2_1
995 enable_api_ms_win_core_sysinfo_l1_1_0
996 enable_api_ms_win_core_sysinfo_l1_2_0
997 enable_api_ms_win_core_sysinfo_l1_2_1
998 enable_api_ms_win_core_threadpool_l1_1_0
999 enable_api_ms_win_core_threadpool_l1_2_0
1000 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1001 enable_api_ms_win_core_threadpool_private_l1_1_0
1002 enable_api_ms_win_core_timezone_l1_1_0
1003 enable_api_ms_win_core_toolhelp_l1_1_0
1004 enable_api_ms_win_core_url_l1_1_0
1005 enable_api_ms_win_core_util_l1_1_0
1006 enable_api_ms_win_core_version_l1_1_0
1007 enable_api_ms_win_core_version_l1_1_1
1008 enable_api_ms_win_core_version_private_l1_1_0
1009 enable_api_ms_win_core_versionansi_l1_1_0
1010 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1011 enable_api_ms_win_core_winrt_error_l1_1_0
1012 enable_api_ms_win_core_winrt_error_l1_1_1
1013 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1014 enable_api_ms_win_core_winrt_l1_1_0
1015 enable_api_ms_win_core_winrt_registration_l1_1_0
1016 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1017 enable_api_ms_win_core_winrt_string_l1_1_0
1018 enable_api_ms_win_core_wow64_l1_1_0
1019 enable_api_ms_win_core_wow64_l1_1_1
1020 enable_api_ms_win_core_xstate_l1_1_0
1021 enable_api_ms_win_core_xstate_l2_1_0
1022 enable_api_ms_win_crt_conio_l1_1_0
1023 enable_api_ms_win_crt_convert_l1_1_0
1024 enable_api_ms_win_crt_environment_l1_1_0
1025 enable_api_ms_win_crt_filesystem_l1_1_0
1026 enable_api_ms_win_crt_heap_l1_1_0
1027 enable_api_ms_win_crt_locale_l1_1_0
1028 enable_api_ms_win_crt_math_l1_1_0
1029 enable_api_ms_win_crt_multibyte_l1_1_0
1030 enable_api_ms_win_crt_private_l1_1_0
1031 enable_api_ms_win_crt_process_l1_1_0
1032 enable_api_ms_win_crt_runtime_l1_1_0
1033 enable_api_ms_win_crt_stdio_l1_1_0
1034 enable_api_ms_win_crt_string_l1_1_0
1035 enable_api_ms_win_crt_time_l1_1_0
1036 enable_api_ms_win_crt_utility_l1_1_0
1037 enable_api_ms_win_devices_config_l1_1_1
1038 enable_api_ms_win_devices_query_l1_1_1
1039 enable_api_ms_win_downlevel_advapi32_l1_1_0
1040 enable_api_ms_win_downlevel_advapi32_l2_1_0
1041 enable_api_ms_win_downlevel_normaliz_l1_1_0
1042 enable_api_ms_win_downlevel_ole32_l1_1_0
1043 enable_api_ms_win_downlevel_shell32_l1_1_0
1044 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1045 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1046 enable_api_ms_win_downlevel_user32_l1_1_0
1047 enable_api_ms_win_downlevel_version_l1_1_0
1048 enable_api_ms_win_dx_d3dkmt_l1_1_0
1049 enable_api_ms_win_eventing_classicprovider_l1_1_0
1050 enable_api_ms_win_eventing_consumer_l1_1_0
1051 enable_api_ms_win_eventing_controller_l1_1_0
1052 enable_api_ms_win_eventing_legacy_l1_1_0
1053 enable_api_ms_win_eventing_provider_l1_1_0
1054 enable_api_ms_win_eventlog_legacy_l1_1_0
1055 enable_api_ms_win_mm_joystick_l1_1_0
1056 enable_api_ms_win_mm_misc_l1_1_1
1057 enable_api_ms_win_mm_mme_l1_1_0
1058 enable_api_ms_win_mm_time_l1_1_0
1059 enable_api_ms_win_ntuser_dc_access_l1_1_0
1060 enable_api_ms_win_ntuser_rectangle_l1_1_0
1061 enable_api_ms_win_perf_legacy_l1_1_0
1062 enable_api_ms_win_power_base_l1_1_0
1063 enable_api_ms_win_power_setting_l1_1_0
1064 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1065 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1066 enable_api_ms_win_security_audit_l1_1_1
1067 enable_api_ms_win_security_base_l1_1_0
1068 enable_api_ms_win_security_base_l1_2_0
1069 enable_api_ms_win_security_base_private_l1_1_1
1070 enable_api_ms_win_security_credentials_l1_1_0
1071 enable_api_ms_win_security_grouppolicy_l1_1_0
1072 enable_api_ms_win_security_lsalookup_l1_1_0
1073 enable_api_ms_win_security_lsalookup_l1_1_1
1074 enable_api_ms_win_security_lsalookup_l2_1_0
1075 enable_api_ms_win_security_lsalookup_l2_1_1
1076 enable_api_ms_win_security_lsapolicy_l1_1_0
1077 enable_api_ms_win_security_provider_l1_1_0
1078 enable_api_ms_win_security_sddl_l1_1_0
1079 enable_api_ms_win_security_systemfunctions_l1_1_0
1080 enable_api_ms_win_service_core_l1_1_0
1081 enable_api_ms_win_service_core_l1_1_1
1082 enable_api_ms_win_service_management_l1_1_0
1083 enable_api_ms_win_service_management_l2_1_0
1084 enable_api_ms_win_service_private_l1_1_1
1085 enable_api_ms_win_service_winsvc_l1_1_0
1086 enable_api_ms_win_service_winsvc_l1_2_0
1087 enable_api_ms_win_shcore_scaling_l1_1_1
1088 enable_api_ms_win_shell_shellcom_l1_1_0
1089 enable_api_ms_win_shell_shellfolders_l1_1_0
1090 enable_apphelp
1091 enable_appwiz_cpl
1092 enable_atl
1093 enable_atl100
1094 enable_atl110
1095 enable_atl80
1096 enable_atl90
1097 enable_authz
1098 enable_avicap32
1099 enable_avifil32
1100 enable_avrt
1101 enable_bcrypt
1102 enable_bluetoothapis
1103 enable_browseui
1104 enable_bthprops_cpl
1105 enable_cabinet
1106 enable_capi2032
1107 enable_cards
1108 enable_cdosys
1109 enable_cfgmgr32
1110 enable_clusapi
1111 enable_combase
1112 enable_comcat
1113 enable_comctl32
1114 enable_comdlg32
1115 enable_compstui
1116 enable_comsvcs
1117 enable_concrt140
1118 enable_connect
1119 enable_credui
1120 enable_crtdll
1121 enable_crypt32
1122 enable_cryptdlg
1123 enable_cryptdll
1124 enable_cryptext
1125 enable_cryptnet
1126 enable_cryptui
1127 enable_ctapi32
1128 enable_ctl3d32
1129 enable_d2d1
1130 enable_d3d10
1131 enable_d3d10_1
1132 enable_d3d10core
1133 enable_d3d11
1134 enable_d3d12
1135 enable_d3d8
1136 enable_d3d9
1137 enable_d3dcompiler_33
1138 enable_d3dcompiler_34
1139 enable_d3dcompiler_35
1140 enable_d3dcompiler_36
1141 enable_d3dcompiler_37
1142 enable_d3dcompiler_38
1143 enable_d3dcompiler_39
1144 enable_d3dcompiler_40
1145 enable_d3dcompiler_41
1146 enable_d3dcompiler_42
1147 enable_d3dcompiler_43
1148 enable_d3dcompiler_46
1149 enable_d3dcompiler_47
1150 enable_d3dim
1151 enable_d3drm
1152 enable_d3dx10_33
1153 enable_d3dx10_34
1154 enable_d3dx10_35
1155 enable_d3dx10_36
1156 enable_d3dx10_37
1157 enable_d3dx10_38
1158 enable_d3dx10_39
1159 enable_d3dx10_40
1160 enable_d3dx10_41
1161 enable_d3dx10_42
1162 enable_d3dx10_43
1163 enable_d3dx11_42
1164 enable_d3dx11_43
1165 enable_d3dx9_24
1166 enable_d3dx9_25
1167 enable_d3dx9_26
1168 enable_d3dx9_27
1169 enable_d3dx9_28
1170 enable_d3dx9_29
1171 enable_d3dx9_30
1172 enable_d3dx9_31
1173 enable_d3dx9_32
1174 enable_d3dx9_33
1175 enable_d3dx9_34
1176 enable_d3dx9_35
1177 enable_d3dx9_36
1178 enable_d3dx9_37
1179 enable_d3dx9_38
1180 enable_d3dx9_39
1181 enable_d3dx9_40
1182 enable_d3dx9_41
1183 enable_d3dx9_42
1184 enable_d3dx9_43
1185 enable_d3dxof
1186 enable_davclnt
1187 enable_dbgeng
1188 enable_dbghelp
1189 enable_dciman32
1190 enable_ddraw
1191 enable_ddrawex
1192 enable_devenum
1193 enable_dhcpcsvc
1194 enable_dhtmled_ocx
1195 enable_difxapi
1196 enable_dinput
1197 enable_dinput8
1198 enable_dispex
1199 enable_dmband
1200 enable_dmcompos
1201 enable_dmime
1202 enable_dmloader
1203 enable_dmscript
1204 enable_dmstyle
1205 enable_dmsynth
1206 enable_dmusic
1207 enable_dmusic32
1208 enable_dnsapi
1209 enable_dplay
1210 enable_dplayx
1211 enable_dpnaddr
1212 enable_dpnet
1213 enable_dpnhpast
1214 enable_dpnlobby
1215 enable_dpvoice
1216 enable_dpwsockx
1217 enable_drmclien
1218 enable_dsound
1219 enable_dsquery
1220 enable_dssenh
1221 enable_dswave
1222 enable_dwmapi
1223 enable_dwrite
1224 enable_dx8vb
1225 enable_dxdiagn
1226 enable_dxgi
1227 enable_dxva2
1228 enable_esent
1229 enable_evr
1230 enable_explorerframe
1231 enable_ext_ms_win_authz_context_l1_1_0
1232 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1233 enable_ext_ms_win_gdi_dc_create_l1_1_1
1234 enable_ext_ms_win_gdi_dc_l1_2_0
1235 enable_ext_ms_win_gdi_devcaps_l1_1_0
1236 enable_ext_ms_win_gdi_draw_l1_1_1
1237 enable_ext_ms_win_gdi_render_l1_1_0
1238 enable_ext_ms_win_kernel32_package_current_l1_1_0
1239 enable_ext_ms_win_kernel32_package_l1_1_1
1240 enable_ext_ms_win_ntuser_message_l1_1_1
1241 enable_ext_ms_win_ntuser_private_l1_1_1
1242 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1243 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1244 enable_ext_ms_win_ntuser_window_l1_1_1
1245 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1246 enable_ext_ms_win_ras_rasapi32_l1_1_0
1247 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1248 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1249 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1250 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1251 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1252 enable_ext_ms_win_security_credui_l1_1_0
1253 enable_ext_ms_win_security_cryptui_l1_1_0
1254 enable_faultrep
1255 enable_fltlib
1256 enable_fltmgr_sys
1257 enable_fntcache
1258 enable_fontsub
1259 enable_fusion
1260 enable_fwpuclnt
1261 enable_gameux
1262 enable_gdi32
1263 enable_gdiplus
1264 enable_glu32
1265 enable_gphoto2_ds
1266 enable_gpkcsp
1267 enable_hal
1268 enable_hhctrl_ocx
1269 enable_hid
1270 enable_hidclass_sys
1271 enable_hlink
1272 enable_hnetcfg
1273 enable_httpapi
1274 enable_iccvid
1275 enable_icmp
1276 enable_ieframe
1277 enable_ieproxy
1278 enable_imaadp32_acm
1279 enable_imagehlp
1280 enable_imm32
1281 enable_inetcomm
1282 enable_inetcpl_cpl
1283 enable_inetmib1
1284 enable_infosoft
1285 enable_initpki
1286 enable_inkobj
1287 enable_inseng
1288 enable_iphlpapi
1289 enable_iprop
1290 enable_irprops_cpl
1291 enable_itircl
1292 enable_itss
1293 enable_joy_cpl
1294 enable_jscript
1295 enable_jsproxy
1296 enable_kerberos
1297 enable_kernel32
1298 enable_kernelbase
1299 enable_ksuser
1300 enable_ktmw32
1301 enable_l3codeca_acm
1302 enable_loadperf
1303 enable_localspl
1304 enable_localui
1305 enable_lz32
1306 enable_mapi32
1307 enable_mapistub
1308 enable_mciavi32
1309 enable_mcicda
1310 enable_mciqtz32
1311 enable_mciseq
1312 enable_mciwave
1313 enable_mf
1314 enable_mf3216
1315 enable_mfplat
1316 enable_mfreadwrite
1317 enable_mgmtapi
1318 enable_midimap
1319 enable_mlang
1320 enable_mmcndmgr
1321 enable_mmdevapi
1322 enable_mountmgr_sys
1323 enable_mpr
1324 enable_mprapi
1325 enable_msacm32_drv
1326 enable_msacm32
1327 enable_msadp32_acm
1328 enable_msasn1
1329 enable_mscat32
1330 enable_mscms
1331 enable_mscoree
1332 enable_msctf
1333 enable_msctfp
1334 enable_msdaps
1335 enable_msdelta
1336 enable_msdmo
1337 enable_msdrm
1338 enable_msftedit
1339 enable_msg711_acm
1340 enable_msgsm32_acm
1341 enable_mshtml_tlb
1342 enable_mshtml
1343 enable_msi
1344 enable_msident
1345 enable_msimg32
1346 enable_msimsg
1347 enable_msimtf
1348 enable_msisip
1349 enable_msisys_ocx
1350 enable_msls31
1351 enable_msnet32
1352 enable_mspatcha
1353 enable_msports
1354 enable_msrle32
1355 enable_msscript_ocx
1356 enable_mssign32
1357 enable_mssip32
1358 enable_mstask
1359 enable_msvcirt
1360 enable_msvcm80
1361 enable_msvcm90
1362 enable_msvcp100
1363 enable_msvcp110
1364 enable_msvcp120
1365 enable_msvcp120_app
1366 enable_msvcp140
1367 enable_msvcp60
1368 enable_msvcp70
1369 enable_msvcp71
1370 enable_msvcp80
1371 enable_msvcp90
1372 enable_msvcr100
1373 enable_msvcr110
1374 enable_msvcr120
1375 enable_msvcr120_app
1376 enable_msvcr70
1377 enable_msvcr71
1378 enable_msvcr80
1379 enable_msvcr90
1380 enable_msvcrt
1381 enable_msvcrt20
1382 enable_msvcrt40
1383 enable_msvcrtd
1384 enable_msvfw32
1385 enable_msvidc32
1386 enable_mswsock
1387 enable_msxml
1388 enable_msxml2
1389 enable_msxml3
1390 enable_msxml4
1391 enable_msxml6
1392 enable_mtxdm
1393 enable_ncrypt
1394 enable_nddeapi
1395 enable_ndis_sys
1396 enable_netapi32
1397 enable_netcfgx
1398 enable_netprofm
1399 enable_newdev
1400 enable_normaliz
1401 enable_npmshtml
1402 enable_npptools
1403 enable_ntdll
1404 enable_ntdsapi
1405 enable_ntoskrnl_exe
1406 enable_ntprint
1407 enable_objsel
1408 enable_odbc32
1409 enable_odbccp32
1410 enable_odbccu32
1411 enable_ole32
1412 enable_oleacc
1413 enable_oleaut32
1414 enable_olecli32
1415 enable_oledb32
1416 enable_oledlg
1417 enable_olepro32
1418 enable_olesvr32
1419 enable_olethk32
1420 enable_openal32
1421 enable_opencl
1422 enable_opengl32
1423 enable_packager
1424 enable_pdh
1425 enable_photometadatahandler
1426 enable_pidgen
1427 enable_powrprof
1428 enable_printui
1429 enable_prntvpt
1430 enable_propsys
1431 enable_psapi
1432 enable_pstorec
1433 enable_qcap
1434 enable_qedit
1435 enable_qmgr
1436 enable_qmgrprxy
1437 enable_quartz
1438 enable_query
1439 enable_rasapi32
1440 enable_rasdlg
1441 enable_regapi
1442 enable_resutils
1443 enable_riched20
1444 enable_riched32
1445 enable_rpcrt4
1446 enable_rsabase
1447 enable_rsaenh
1448 enable_rstrtmgr
1449 enable_rtutils
1450 enable_samlib
1451 enable_sane_ds
1452 enable_sapi
1453 enable_scarddlg
1454 enable_sccbase
1455 enable_schannel
1456 enable_schedsvc
1457 enable_scrobj
1458 enable_scrrun
1459 enable_scsiport_sys
1460 enable_secur32
1461 enable_security
1462 enable_sensapi
1463 enable_serialui
1464 enable_setupapi
1465 enable_sfc
1466 enable_sfc_os
1467 enable_shcore
1468 enable_shdoclc
1469 enable_shdocvw
1470 enable_shell32
1471 enable_shfolder
1472 enable_shlwapi
1473 enable_slbcsp
1474 enable_slc
1475 enable_snmpapi
1476 enable_softpub
1477 enable_spoolss
1478 enable_sspicli
1479 enable_stdole2_tlb
1480 enable_stdole32_tlb
1481 enable_sti
1482 enable_svrapi
1483 enable_sxs
1484 enable_t2embed
1485 enable_tapi32
1486 enable_taskschd
1487 enable_tdh
1488 enable_tdi_sys
1489 enable_traffic
1490 enable_twain_32
1491 enable_ucrtbase
1492 enable_uiautomationcore
1493 enable_uiribbon
1494 enable_unicows
1495 enable_updspapi
1496 enable_url
1497 enable_urlmon
1498 enable_usbd_sys
1499 enable_user32
1500 enable_userenv
1501 enable_usp10
1502 enable_uxtheme
1503 enable_vbscript
1504 enable_vcomp
1505 enable_vcomp100
1506 enable_vcomp110
1507 enable_vcomp120
1508 enable_vcomp140
1509 enable_vcomp90
1510 enable_vcruntime140
1511 enable_vdmdbg
1512 enable_version
1513 enable_virtdisk
1514 enable_vssapi
1515 enable_wbemdisp
1516 enable_wbemprox
1517 enable_wdscore
1518 enable_webservices
1519 enable_wer
1520 enable_wevtapi
1521 enable_wiaservc
1522 enable_wimgapi
1523 enable_windowscodecs
1524 enable_windowscodecsext
1525 enable_winealsa_drv
1526 enable_wineandroid_drv
1527 enable_winebus_sys
1528 enable_winecoreaudio_drv
1529 enable_wined3d
1530 enable_winegstreamer
1531 enable_winehid_sys
1532 enable_winejoystick_drv
1533 enable_winemac_drv
1534 enable_winemapi
1535 enable_wineoss_drv
1536 enable_wineps_drv
1537 enable_winepulse_drv
1538 enable_wineqtdecoder
1539 enable_winex11_drv
1540 enable_wing32
1541 enable_winhttp
1542 enable_wininet
1543 enable_winmm
1544 enable_winnls32
1545 enable_winscard
1546 enable_winspool_drv
1547 enable_winsta
1548 enable_wintab32
1549 enable_wintrust
1550 enable_winusb
1551 enable_wlanapi
1552 enable_wldap32
1553 enable_wmasf
1554 enable_wmi
1555 enable_wmiutils
1556 enable_wmp
1557 enable_wmphoto
1558 enable_wmvcore
1559 enable_wnaspi32
1560 enable_wpc
1561 enable_wpcap
1562 enable_ws2_32
1563 enable_wsdapi
1564 enable_wshom_ocx
1565 enable_wsnmp32
1566 enable_wsock32
1567 enable_wtsapi32
1568 enable_wuapi
1569 enable_wuaueng
1570 enable_x3daudio1_0
1571 enable_x3daudio1_1
1572 enable_x3daudio1_2
1573 enable_x3daudio1_3
1574 enable_x3daudio1_4
1575 enable_x3daudio1_5
1576 enable_x3daudio1_6
1577 enable_x3daudio1_7
1578 enable_xapofx1_1
1579 enable_xapofx1_2
1580 enable_xapofx1_3
1581 enable_xapofx1_4
1582 enable_xapofx1_5
1583 enable_xaudio2_0
1584 enable_xaudio2_1
1585 enable_xaudio2_2
1586 enable_xaudio2_3
1587 enable_xaudio2_4
1588 enable_xaudio2_5
1589 enable_xaudio2_6
1590 enable_xaudio2_7
1591 enable_xaudio2_8
1592 enable_xaudio2_9
1593 enable_xinput1_1
1594 enable_xinput1_2
1595 enable_xinput1_3
1596 enable_xinput1_4
1597 enable_xinput9_1_0
1598 enable_xmllite
1599 enable_xolehlp
1600 enable_xpsprint
1601 enable_xpssvcs
1602 enable_fonts
1603 enable_include
1604 enable_libs_port
1605 enable_libs_wine
1606 enable_libs_wpp
1607 enable_loader
1608 enable_po
1609 enable_arp
1610 enable_aspnet_regiis
1611 enable_attrib
1612 enable_cabarc
1613 enable_cacls
1614 enable_clock
1615 enable_cmd
1616 enable_conhost
1617 enable_control
1618 enable_cscript
1619 enable_dpnsvr
1620 enable_dxdiag
1621 enable_eject
1622 enable_expand
1623 enable_explorer
1624 enable_extrac32
1625 enable_findstr
1626 enable_fsutil
1627 enable_hh
1628 enable_hostname
1629 enable_icacls
1630 enable_icinfo
1631 enable_iexplore
1632 enable_ipconfig
1633 enable_lodctr
1634 enable_mofcomp
1635 enable_mshta
1636 enable_msiexec
1637 enable_msinfo32
1638 enable_net
1639 enable_netsh
1640 enable_netstat
1641 enable_ngen
1642 enable_notepad
1643 enable_oleview
1644 enable_ping
1645 enable_plugplay
1646 enable_powershell
1647 enable_presentationfontcache
1648 enable_progman
1649 enable_reg
1650 enable_regasm
1651 enable_regedit
1652 enable_regsvcs
1653 enable_regsvr32
1654 enable_rpcss
1655 enable_rundll32
1656 enable_sc
1657 enable_schtasks
1658 enable_sdbinst
1659 enable_secedit
1660 enable_servicemodelreg
1661 enable_services
1662 enable_shutdown
1663 enable_spoolsv
1664 enable_start
1665 enable_subst
1666 enable_svchost
1667 enable_systeminfo
1668 enable_taskkill
1669 enable_tasklist
1670 enable_taskmgr
1671 enable_termsv
1672 enable_uninstaller
1673 enable_unlodctr
1674 enable_view
1675 enable_wevtutil
1676 enable_wineboot
1677 enable_winebrowser
1678 enable_winecfg
1679 enable_wineconsole
1680 enable_winedbg
1681 enable_winedevice
1682 enable_winefile
1683 enable_winemenubuilder
1684 enable_winemine
1685 enable_winemsibuilder
1686 enable_winepath
1687 enable_winetest
1688 enable_winhlp32
1689 enable_winver
1690 enable_wmic
1691 enable_wmplayer
1692 enable_wordpad
1693 enable_write
1694 enable_wscript
1695 enable_wusa
1696 enable_xcopy
1697 enable_server
1698 enable_tools
1700 ac_precious_vars='build_alias
1701 host_alias
1702 target_alias
1704 CFLAGS
1705 LDFLAGS
1706 LIBS
1707 CPPFLAGS
1709 CXXFLAGS
1712 XMKMF
1713 XML2_CFLAGS
1714 XML2_LIBS
1715 XSLT_CFLAGS
1716 XSLT_LIBS
1717 DBUS_CFLAGS
1718 DBUS_LIBS
1719 HAL_CFLAGS
1720 HAL_LIBS
1721 GNUTLS_CFLAGS
1722 GNUTLS_LIBS
1723 SANE_CFLAGS
1724 SANE_LIBS
1725 GPHOTO2_CFLAGS
1726 GPHOTO2_LIBS
1727 GPHOTO2_PORT_CFLAGS
1728 GPHOTO2_PORT_LIBS
1729 LCMS2_CFLAGS
1730 LCMS2_LIBS
1731 FREETYPE_CFLAGS
1732 FREETYPE_LIBS
1733 PULSE_CFLAGS
1734 PULSE_LIBS
1735 GSTREAMER_CFLAGS
1736 GSTREAMER_LIBS
1737 UDEV_CFLAGS
1738 UDEV_LIBS
1739 SDL2_CFLAGS
1740 SDL2_LIBS
1741 CAPI20_CFLAGS
1742 CAPI20_LIBS
1743 CUPS_CFLAGS
1744 CUPS_LIBS
1745 FONTCONFIG_CFLAGS
1746 FONTCONFIG_LIBS
1747 KRB5_CFLAGS
1748 KRB5_LIBS
1749 GSSAPI_CFLAGS
1750 GSSAPI_LIBS
1751 JPEG_CFLAGS
1752 JPEG_LIBS
1753 PNG_CFLAGS
1754 PNG_LIBS
1755 TIFF_CFLAGS
1756 TIFF_LIBS
1757 MPG123_CFLAGS
1758 MPG123_LIBS
1759 NETAPI_CFLAGS
1760 NETAPI_LIBS
1761 LDAP_CFLAGS
1762 LDAP_LIBS'
1765 # Initialize some variables set by options.
1766 ac_init_help=
1767 ac_init_version=false
1768 ac_unrecognized_opts=
1769 ac_unrecognized_sep=
1770 # The variables have the same names as the options, with
1771 # dashes changed to underlines.
1772 cache_file=/dev/null
1773 exec_prefix=NONE
1774 no_create=
1775 no_recursion=
1776 prefix=NONE
1777 program_prefix=NONE
1778 program_suffix=NONE
1779 program_transform_name=s,x,x,
1780 silent=
1781 site=
1782 srcdir=
1783 verbose=
1784 x_includes=NONE
1785 x_libraries=NONE
1787 # Installation directory options.
1788 # These are left unexpanded so users can "make install exec_prefix=/foo"
1789 # and all the variables that are supposed to be based on exec_prefix
1790 # by default will actually change.
1791 # Use braces instead of parens because sh, perl, etc. also accept them.
1792 # (The list follows the same order as the GNU Coding Standards.)
1793 bindir='${exec_prefix}/bin'
1794 sbindir='${exec_prefix}/sbin'
1795 libexecdir='${exec_prefix}/libexec'
1796 datarootdir='${prefix}/share'
1797 datadir='${datarootdir}'
1798 sysconfdir='${prefix}/etc'
1799 sharedstatedir='${prefix}/com'
1800 localstatedir='${prefix}/var'
1801 runstatedir='${localstatedir}/run'
1802 includedir='${prefix}/include'
1803 oldincludedir='/usr/include'
1804 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1805 infodir='${datarootdir}/info'
1806 htmldir='${docdir}'
1807 dvidir='${docdir}'
1808 pdfdir='${docdir}'
1809 psdir='${docdir}'
1810 libdir='${exec_prefix}/lib'
1811 localedir='${datarootdir}/locale'
1812 mandir='${datarootdir}/man'
1814 ac_prev=
1815 ac_dashdash=
1816 for ac_option
1818 # If the previous option needs an argument, assign it.
1819 if test -n "$ac_prev"; then
1820 eval $ac_prev=\$ac_option
1821 ac_prev=
1822 continue
1825 case $ac_option in
1826 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1827 *=) ac_optarg= ;;
1828 *) ac_optarg=yes ;;
1829 esac
1831 # Accept the important Cygnus configure options, so we can diagnose typos.
1833 case $ac_dashdash$ac_option in
1835 ac_dashdash=yes ;;
1837 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1838 ac_prev=bindir ;;
1839 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1840 bindir=$ac_optarg ;;
1842 -build | --build | --buil | --bui | --bu)
1843 ac_prev=build_alias ;;
1844 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1845 build_alias=$ac_optarg ;;
1847 -cache-file | --cache-file | --cache-fil | --cache-fi \
1848 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1849 ac_prev=cache_file ;;
1850 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1851 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1852 cache_file=$ac_optarg ;;
1854 --config-cache | -C)
1855 cache_file=config.cache ;;
1857 -datadir | --datadir | --datadi | --datad)
1858 ac_prev=datadir ;;
1859 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1860 datadir=$ac_optarg ;;
1862 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1863 | --dataroo | --dataro | --datar)
1864 ac_prev=datarootdir ;;
1865 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1866 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1867 datarootdir=$ac_optarg ;;
1869 -disable-* | --disable-*)
1870 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1871 # Reject names that are not valid shell variable names.
1872 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1873 as_fn_error $? "invalid feature name: $ac_useropt"
1874 ac_useropt_orig=$ac_useropt
1875 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1876 case $ac_user_opts in
1878 "enable_$ac_useropt"
1879 "*) ;;
1880 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1881 ac_unrecognized_sep=', ';;
1882 esac
1883 eval enable_$ac_useropt=no ;;
1885 -docdir | --docdir | --docdi | --doc | --do)
1886 ac_prev=docdir ;;
1887 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1888 docdir=$ac_optarg ;;
1890 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1891 ac_prev=dvidir ;;
1892 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1893 dvidir=$ac_optarg ;;
1895 -enable-* | --enable-*)
1896 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1897 # Reject names that are not valid shell variable names.
1898 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1899 as_fn_error $? "invalid feature name: $ac_useropt"
1900 ac_useropt_orig=$ac_useropt
1901 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1902 case $ac_user_opts in
1904 "enable_$ac_useropt"
1905 "*) ;;
1906 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1907 ac_unrecognized_sep=', ';;
1908 esac
1909 eval enable_$ac_useropt=\$ac_optarg ;;
1911 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1912 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1913 | --exec | --exe | --ex)
1914 ac_prev=exec_prefix ;;
1915 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1916 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1917 | --exec=* | --exe=* | --ex=*)
1918 exec_prefix=$ac_optarg ;;
1920 -gas | --gas | --ga | --g)
1921 # Obsolete; use --with-gas.
1922 with_gas=yes ;;
1924 -help | --help | --hel | --he | -h)
1925 ac_init_help=long ;;
1926 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1927 ac_init_help=recursive ;;
1928 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1929 ac_init_help=short ;;
1931 -host | --host | --hos | --ho)
1932 ac_prev=host_alias ;;
1933 -host=* | --host=* | --hos=* | --ho=*)
1934 host_alias=$ac_optarg ;;
1936 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1937 ac_prev=htmldir ;;
1938 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1939 | --ht=*)
1940 htmldir=$ac_optarg ;;
1942 -includedir | --includedir | --includedi | --included | --include \
1943 | --includ | --inclu | --incl | --inc)
1944 ac_prev=includedir ;;
1945 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1946 | --includ=* | --inclu=* | --incl=* | --inc=*)
1947 includedir=$ac_optarg ;;
1949 -infodir | --infodir | --infodi | --infod | --info | --inf)
1950 ac_prev=infodir ;;
1951 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1952 infodir=$ac_optarg ;;
1954 -libdir | --libdir | --libdi | --libd)
1955 ac_prev=libdir ;;
1956 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1957 libdir=$ac_optarg ;;
1959 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1960 | --libexe | --libex | --libe)
1961 ac_prev=libexecdir ;;
1962 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1963 | --libexe=* | --libex=* | --libe=*)
1964 libexecdir=$ac_optarg ;;
1966 -localedir | --localedir | --localedi | --localed | --locale)
1967 ac_prev=localedir ;;
1968 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1969 localedir=$ac_optarg ;;
1971 -localstatedir | --localstatedir | --localstatedi | --localstated \
1972 | --localstate | --localstat | --localsta | --localst | --locals)
1973 ac_prev=localstatedir ;;
1974 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1975 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1976 localstatedir=$ac_optarg ;;
1978 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1979 ac_prev=mandir ;;
1980 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1981 mandir=$ac_optarg ;;
1983 -nfp | --nfp | --nf)
1984 # Obsolete; use --without-fp.
1985 with_fp=no ;;
1987 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1988 | --no-cr | --no-c | -n)
1989 no_create=yes ;;
1991 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1992 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1993 no_recursion=yes ;;
1995 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1996 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1997 | --oldin | --oldi | --old | --ol | --o)
1998 ac_prev=oldincludedir ;;
1999 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2000 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2001 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2002 oldincludedir=$ac_optarg ;;
2004 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2005 ac_prev=prefix ;;
2006 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2007 prefix=$ac_optarg ;;
2009 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2010 | --program-pre | --program-pr | --program-p)
2011 ac_prev=program_prefix ;;
2012 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2013 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2014 program_prefix=$ac_optarg ;;
2016 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2017 | --program-suf | --program-su | --program-s)
2018 ac_prev=program_suffix ;;
2019 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2020 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2021 program_suffix=$ac_optarg ;;
2023 -program-transform-name | --program-transform-name \
2024 | --program-transform-nam | --program-transform-na \
2025 | --program-transform-n | --program-transform- \
2026 | --program-transform | --program-transfor \
2027 | --program-transfo | --program-transf \
2028 | --program-trans | --program-tran \
2029 | --progr-tra | --program-tr | --program-t)
2030 ac_prev=program_transform_name ;;
2031 -program-transform-name=* | --program-transform-name=* \
2032 | --program-transform-nam=* | --program-transform-na=* \
2033 | --program-transform-n=* | --program-transform-=* \
2034 | --program-transform=* | --program-transfor=* \
2035 | --program-transfo=* | --program-transf=* \
2036 | --program-trans=* | --program-tran=* \
2037 | --progr-tra=* | --program-tr=* | --program-t=*)
2038 program_transform_name=$ac_optarg ;;
2040 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2041 ac_prev=pdfdir ;;
2042 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2043 pdfdir=$ac_optarg ;;
2045 -psdir | --psdir | --psdi | --psd | --ps)
2046 ac_prev=psdir ;;
2047 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2048 psdir=$ac_optarg ;;
2050 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2051 | -silent | --silent | --silen | --sile | --sil)
2052 silent=yes ;;
2054 -runstatedir | --runstatedir | --runstatedi | --runstated \
2055 | --runstate | --runstat | --runsta | --runst | --runs \
2056 | --run | --ru | --r)
2057 ac_prev=runstatedir ;;
2058 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2059 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2060 | --run=* | --ru=* | --r=*)
2061 runstatedir=$ac_optarg ;;
2063 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2064 ac_prev=sbindir ;;
2065 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2066 | --sbi=* | --sb=*)
2067 sbindir=$ac_optarg ;;
2069 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2070 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2071 | --sharedst | --shareds | --shared | --share | --shar \
2072 | --sha | --sh)
2073 ac_prev=sharedstatedir ;;
2074 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2075 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2076 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2077 | --sha=* | --sh=*)
2078 sharedstatedir=$ac_optarg ;;
2080 -site | --site | --sit)
2081 ac_prev=site ;;
2082 -site=* | --site=* | --sit=*)
2083 site=$ac_optarg ;;
2085 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2086 ac_prev=srcdir ;;
2087 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2088 srcdir=$ac_optarg ;;
2090 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2091 | --syscon | --sysco | --sysc | --sys | --sy)
2092 ac_prev=sysconfdir ;;
2093 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2094 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2095 sysconfdir=$ac_optarg ;;
2097 -target | --target | --targe | --targ | --tar | --ta | --t)
2098 ac_prev=target_alias ;;
2099 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2100 target_alias=$ac_optarg ;;
2102 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2103 verbose=yes ;;
2105 -version | --version | --versio | --versi | --vers | -V)
2106 ac_init_version=: ;;
2108 -with-* | --with-*)
2109 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2110 # Reject names that are not valid shell variable names.
2111 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2112 as_fn_error $? "invalid package name: $ac_useropt"
2113 ac_useropt_orig=$ac_useropt
2114 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2115 case $ac_user_opts in
2117 "with_$ac_useropt"
2118 "*) ;;
2119 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2120 ac_unrecognized_sep=', ';;
2121 esac
2122 eval with_$ac_useropt=\$ac_optarg ;;
2124 -without-* | --without-*)
2125 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2126 # Reject names that are not valid shell variable names.
2127 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2128 as_fn_error $? "invalid package name: $ac_useropt"
2129 ac_useropt_orig=$ac_useropt
2130 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2131 case $ac_user_opts in
2133 "with_$ac_useropt"
2134 "*) ;;
2135 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2136 ac_unrecognized_sep=', ';;
2137 esac
2138 eval with_$ac_useropt=no ;;
2140 --x)
2141 # Obsolete; use --with-x.
2142 with_x=yes ;;
2144 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2145 | --x-incl | --x-inc | --x-in | --x-i)
2146 ac_prev=x_includes ;;
2147 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2148 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2149 x_includes=$ac_optarg ;;
2151 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2152 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2153 ac_prev=x_libraries ;;
2154 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2155 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2156 x_libraries=$ac_optarg ;;
2158 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2159 Try \`$0 --help' for more information"
2162 *=*)
2163 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2164 # Reject names that are not valid shell variable names.
2165 case $ac_envvar in #(
2166 '' | [0-9]* | *[!_$as_cr_alnum]* )
2167 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2168 esac
2169 eval $ac_envvar=\$ac_optarg
2170 export $ac_envvar ;;
2173 # FIXME: should be removed in autoconf 3.0.
2174 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2175 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2176 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2177 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2180 esac
2181 done
2183 if test -n "$ac_prev"; then
2184 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2185 as_fn_error $? "missing argument to $ac_option"
2188 if test -n "$ac_unrecognized_opts"; then
2189 case $enable_option_checking in
2190 no) ;;
2191 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2192 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2193 esac
2196 # Check all directory arguments for consistency.
2197 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2198 datadir sysconfdir sharedstatedir localstatedir includedir \
2199 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2200 libdir localedir mandir runstatedir
2202 eval ac_val=\$$ac_var
2203 # Remove trailing slashes.
2204 case $ac_val in
2205 */ )
2206 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2207 eval $ac_var=\$ac_val;;
2208 esac
2209 # Be sure to have absolute directory names.
2210 case $ac_val in
2211 [\\/$]* | ?:[\\/]* ) continue;;
2212 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2213 esac
2214 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2215 done
2217 # There might be people who depend on the old broken behavior: `$host'
2218 # used to hold the argument of --host etc.
2219 # FIXME: To remove some day.
2220 build=$build_alias
2221 host=$host_alias
2222 target=$target_alias
2224 # FIXME: To remove some day.
2225 if test "x$host_alias" != x; then
2226 if test "x$build_alias" = x; then
2227 cross_compiling=maybe
2228 elif test "x$build_alias" != "x$host_alias"; then
2229 cross_compiling=yes
2233 ac_tool_prefix=
2234 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2236 test "$silent" = yes && exec 6>/dev/null
2239 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2240 ac_ls_di=`ls -di .` &&
2241 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2242 as_fn_error $? "working directory cannot be determined"
2243 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2244 as_fn_error $? "pwd does not report name of working directory"
2247 # Find the source files, if location was not specified.
2248 if test -z "$srcdir"; then
2249 ac_srcdir_defaulted=yes
2250 # Try the directory containing this script, then the parent directory.
2251 ac_confdir=`$as_dirname -- "$as_myself" ||
2252 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2253 X"$as_myself" : 'X\(//\)[^/]' \| \
2254 X"$as_myself" : 'X\(//\)$' \| \
2255 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2256 $as_echo X"$as_myself" |
2257 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2258 s//\1/
2261 /^X\(\/\/\)[^/].*/{
2262 s//\1/
2265 /^X\(\/\/\)$/{
2266 s//\1/
2269 /^X\(\/\).*/{
2270 s//\1/
2273 s/.*/./; q'`
2274 srcdir=$ac_confdir
2275 if test ! -r "$srcdir/$ac_unique_file"; then
2276 srcdir=..
2278 else
2279 ac_srcdir_defaulted=no
2281 if test ! -r "$srcdir/$ac_unique_file"; then
2282 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2283 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2285 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2286 ac_abs_confdir=`(
2287 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2288 pwd)`
2289 # When building in place, set srcdir=.
2290 if test "$ac_abs_confdir" = "$ac_pwd"; then
2291 srcdir=.
2293 # Remove unnecessary trailing slashes from srcdir.
2294 # Double slashes in file names in object file debugging info
2295 # mess up M-x gdb in Emacs.
2296 case $srcdir in
2297 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2298 esac
2299 for ac_var in $ac_precious_vars; do
2300 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2301 eval ac_env_${ac_var}_value=\$${ac_var}
2302 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2303 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2304 done
2307 # Report the --help message.
2309 if test "$ac_init_help" = "long"; then
2310 # Omit some internal or obsolete options to make the list less imposing.
2311 # This message is too long to be a string in the A/UX 3.1 sh.
2312 cat <<_ACEOF
2313 \`configure' configures Wine 3.2 to adapt to many kinds of systems.
2315 Usage: $0 [OPTION]... [VAR=VALUE]...
2317 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2318 VAR=VALUE. See below for descriptions of some of the useful variables.
2320 Defaults for the options are specified in brackets.
2322 Configuration:
2323 -h, --help display this help and exit
2324 --help=short display options specific to this package
2325 --help=recursive display the short help of all the included packages
2326 -V, --version display version information and exit
2327 -q, --quiet, --silent do not print \`checking ...' messages
2328 --cache-file=FILE cache test results in FILE [disabled]
2329 -C, --config-cache alias for \`--cache-file=config.cache'
2330 -n, --no-create do not create output files
2331 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2333 Installation directories:
2334 --prefix=PREFIX install architecture-independent files in PREFIX
2335 [$ac_default_prefix]
2336 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2337 [PREFIX]
2339 By default, \`make install' will install all the files in
2340 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2341 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2342 for instance \`--prefix=\$HOME'.
2344 For better control, use the options below.
2346 Fine tuning of the installation directories:
2347 --bindir=DIR user executables [EPREFIX/bin]
2348 --sbindir=DIR system admin executables [EPREFIX/sbin]
2349 --libexecdir=DIR program executables [EPREFIX/libexec]
2350 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2351 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2352 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2353 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2354 --libdir=DIR object code libraries [EPREFIX/lib]
2355 --includedir=DIR C header files [PREFIX/include]
2356 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2357 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2358 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2359 --infodir=DIR info documentation [DATAROOTDIR/info]
2360 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2361 --mandir=DIR man documentation [DATAROOTDIR/man]
2362 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2363 --htmldir=DIR html documentation [DOCDIR]
2364 --dvidir=DIR dvi documentation [DOCDIR]
2365 --pdfdir=DIR pdf documentation [DOCDIR]
2366 --psdir=DIR ps documentation [DOCDIR]
2367 _ACEOF
2369 cat <<\_ACEOF
2371 X features:
2372 --x-includes=DIR X include files are in DIR
2373 --x-libraries=DIR X library files are in DIR
2375 System types:
2376 --build=BUILD configure for building on BUILD [guessed]
2377 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2378 _ACEOF
2381 if test -n "$ac_init_help"; then
2382 case $ac_init_help in
2383 short | recursive ) echo "Configuration of Wine 3.2:";;
2384 esac
2385 cat <<\_ACEOF
2387 Optional Features:
2388 --disable-option-checking ignore unrecognized --enable/--with options
2389 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2390 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2391 --disable-win16 do not include Win16 support
2392 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2393 binaries)
2394 --disable-tests do not build the regression tests
2395 --enable-maintainer-mode
2396 enable maintainer-specific build rules
2397 --disable-largefile omit support for large files
2399 Optional Packages:
2400 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2401 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2402 --without-alsa do not use the Alsa sound support
2403 --without-capi do not use CAPI (ISDN support)
2404 --without-cms do not use CMS (color management support)
2405 --without-coreaudio do not use the CoreAudio sound support
2406 --without-cups do not use CUPS
2407 --without-curses do not use (n)curses
2408 --without-dbus do not use DBus (dynamic device support)
2409 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2410 --without-fontconfig do not use fontconfig
2411 --without-freetype do not use the FreeType library
2412 --without-gettext do not use gettext
2413 --with-gettextpo use the GetTextPO library to rebuild po files
2414 --without-gphoto do not use gphoto (Digital Camera support)
2415 --without-glu do not use the GLU library
2416 --without-gnutls do not use GnuTLS (schannel support)
2417 --without-gsm do not use libgsm (GSM 06.10 codec support)
2418 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2419 --without-gstreamer do not use GStreamer (codecs support)
2420 --without-hal do not use HAL (dynamic device support)
2421 --without-jpeg do not use JPEG
2422 --without-krb5 do not use krb5 (Kerberos)
2423 --without-ldap do not use LDAP
2424 --without-mpg123 do not use the mpg123 library
2425 --without-netapi do not use the Samba NetAPI library
2426 --without-openal do not use OpenAL
2427 --without-opencl do not use OpenCL
2428 --without-opengl do not use OpenGL
2429 --without-osmesa do not use the OSMesa library
2430 --without-oss do not use the OSS sound support
2431 --without-pcap do not use the Packet Capture library
2432 --without-png do not use PNG
2433 --without-pthread do not use the pthread library
2434 --without-pulse do not use PulseAudio sound support
2435 --without-sane do not use SANE (scanner support)
2436 --without-tiff do not use TIFF
2437 --without-udev do not use udev (plug and play support)
2438 --without-sdl do not use SDL
2439 --without-v4l do not use v4l1 (v4l support)
2440 --without-xcomposite do not use the Xcomposite extension
2441 --without-xcursor do not use the Xcursor extension
2442 --without-xfixes do not use Xfixes for clipboard change notifications
2443 --without-xinerama do not use Xinerama (multi-monitor support)
2444 --without-xinput do not use the Xinput extension
2445 --without-xinput2 do not use the Xinput 2 extension
2446 --without-xml do not use XML
2447 --without-xrandr do not use Xrandr (resolution changes)
2448 --without-xrender do not use the Xrender extension
2449 --without-xshape do not use the Xshape extension
2450 --without-xshm do not use XShm (shared memory extension)
2451 --without-xslt do not use XSLT
2452 --without-xxf86vm do not use XFree video mode extension
2453 --without-zlib do not use Zlib (data compression)
2454 --with-wine-tools=DIR use Wine tools from directory DIR
2455 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2456 --with-x use the X Window System
2458 Some influential environment variables:
2459 CC C compiler command
2460 CFLAGS C compiler flags
2461 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2462 nonstandard directory <lib dir>
2463 LIBS libraries to pass to the linker, e.g. -l<library>
2464 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2465 you have headers in a nonstandard directory <include dir>
2466 CXX C++ compiler command
2467 CXXFLAGS C++ compiler flags
2468 CPP C preprocessor
2469 XMKMF Path to xmkmf, Makefile generator for X Window System
2470 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2471 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2472 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2473 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2474 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2475 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2476 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2477 HAL_LIBS Linker flags for hal, overriding pkg-config
2478 GNUTLS_CFLAGS
2479 C compiler flags for gnutls, overriding pkg-config
2480 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2481 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2482 SANE_LIBS Linker flags for libsane, overriding pkg-config
2483 GPHOTO2_CFLAGS
2484 C compiler flags for libgphoto2, overriding pkg-config
2485 GPHOTO2_LIBS
2486 Linker flags for libgphoto2, overriding pkg-config
2487 GPHOTO2_PORT_CFLAGS
2488 C compiler flags for libgphoto2_port, overriding pkg-config
2489 GPHOTO2_PORT_LIBS
2490 Linker flags for libgphoto2_port, overriding pkg-config
2491 LCMS2_CFLAGS
2492 C compiler flags for lcms2, overriding pkg-config
2493 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2494 FREETYPE_CFLAGS
2495 C compiler flags for freetype2, overriding pkg-config
2496 FREETYPE_LIBS
2497 Linker flags for freetype2, overriding pkg-config
2498 PULSE_CFLAGS
2499 C compiler flags for libpulse, overriding pkg-config
2500 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2501 GSTREAMER_CFLAGS
2502 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2503 gstreamer-audio-1.0, overriding pkg-config
2504 GSTREAMER_LIBS
2505 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2506 gstreamer-audio-1.0, overriding pkg-config
2507 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2508 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2509 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2510 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2511 CAPI20_CFLAGS
2512 C compiler flags for capi20, overriding pkg-config
2513 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2514 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2515 CUPS_LIBS Linker flags for cups, overriding pkg-config
2516 FONTCONFIG_CFLAGS
2517 C compiler flags for fontconfig, overriding pkg-config
2518 FONTCONFIG_LIBS
2519 Linker flags for fontconfig, overriding pkg-config
2520 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2521 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2522 GSSAPI_CFLAGS
2523 C compiler flags for krb5-gssapi, overriding pkg-config
2524 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2525 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2526 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2527 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2528 PNG_LIBS Linker flags for libpng, overriding pkg-config
2529 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2530 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2531 MPG123_CFLAGS
2532 C compiler flags for libmpg123, overriding pkg-config
2533 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2534 NETAPI_CFLAGS
2535 C compiler flags for netapi, overriding pkg-config
2536 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2537 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2538 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2540 Use these variables to override the choices made by `configure' or to help
2541 it to find libraries and programs with nonstandard names/locations.
2543 Report bugs to <wine-devel@winehq.org>.
2544 Wine home page: <https://www.winehq.org>.
2545 _ACEOF
2546 ac_status=$?
2549 if test "$ac_init_help" = "recursive"; then
2550 # If there are subdirs, report their specific --help.
2551 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2552 test -d "$ac_dir" ||
2553 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2554 continue
2555 ac_builddir=.
2557 case "$ac_dir" in
2558 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2560 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2561 # A ".." for each directory in $ac_dir_suffix.
2562 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2563 case $ac_top_builddir_sub in
2564 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2565 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2566 esac ;;
2567 esac
2568 ac_abs_top_builddir=$ac_pwd
2569 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2570 # for backward compatibility:
2571 ac_top_builddir=$ac_top_build_prefix
2573 case $srcdir in
2574 .) # We are building in place.
2575 ac_srcdir=.
2576 ac_top_srcdir=$ac_top_builddir_sub
2577 ac_abs_top_srcdir=$ac_pwd ;;
2578 [\\/]* | ?:[\\/]* ) # Absolute name.
2579 ac_srcdir=$srcdir$ac_dir_suffix;
2580 ac_top_srcdir=$srcdir
2581 ac_abs_top_srcdir=$srcdir ;;
2582 *) # Relative name.
2583 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2584 ac_top_srcdir=$ac_top_build_prefix$srcdir
2585 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2586 esac
2587 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2589 cd "$ac_dir" || { ac_status=$?; continue; }
2590 # Check for guested configure.
2591 if test -f "$ac_srcdir/configure.gnu"; then
2592 echo &&
2593 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2594 elif test -f "$ac_srcdir/configure"; then
2595 echo &&
2596 $SHELL "$ac_srcdir/configure" --help=recursive
2597 else
2598 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2599 fi || ac_status=$?
2600 cd "$ac_pwd" || { ac_status=$?; break; }
2601 done
2604 test -n "$ac_init_help" && exit $ac_status
2605 if $ac_init_version; then
2606 cat <<\_ACEOF
2607 Wine configure 3.2
2608 generated by GNU Autoconf 2.69
2610 Copyright (C) 2012 Free Software Foundation, Inc.
2611 This configure script is free software; the Free Software Foundation
2612 gives unlimited permission to copy, distribute and modify it.
2613 _ACEOF
2614 exit
2617 ## ------------------------ ##
2618 ## Autoconf initialization. ##
2619 ## ------------------------ ##
2621 # ac_fn_c_try_compile LINENO
2622 # --------------------------
2623 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2624 ac_fn_c_try_compile ()
2626 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2627 rm -f conftest.$ac_objext
2628 if { { ac_try="$ac_compile"
2629 case "(($ac_try" in
2630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2631 *) ac_try_echo=$ac_try;;
2632 esac
2633 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2634 $as_echo "$ac_try_echo"; } >&5
2635 (eval "$ac_compile") 2>conftest.err
2636 ac_status=$?
2637 if test -s conftest.err; then
2638 grep -v '^ *+' conftest.err >conftest.er1
2639 cat conftest.er1 >&5
2640 mv -f conftest.er1 conftest.err
2642 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2643 test $ac_status = 0; } && {
2644 test -z "$ac_c_werror_flag" ||
2645 test ! -s conftest.err
2646 } && test -s conftest.$ac_objext; then :
2647 ac_retval=0
2648 else
2649 $as_echo "$as_me: failed program was:" >&5
2650 sed 's/^/| /' conftest.$ac_ext >&5
2652 ac_retval=1
2654 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2655 as_fn_set_status $ac_retval
2657 } # ac_fn_c_try_compile
2659 # ac_fn_cxx_try_compile LINENO
2660 # ----------------------------
2661 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2662 ac_fn_cxx_try_compile ()
2664 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2665 rm -f conftest.$ac_objext
2666 if { { ac_try="$ac_compile"
2667 case "(($ac_try" in
2668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2669 *) ac_try_echo=$ac_try;;
2670 esac
2671 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2672 $as_echo "$ac_try_echo"; } >&5
2673 (eval "$ac_compile") 2>conftest.err
2674 ac_status=$?
2675 if test -s conftest.err; then
2676 grep -v '^ *+' conftest.err >conftest.er1
2677 cat conftest.er1 >&5
2678 mv -f conftest.er1 conftest.err
2680 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2681 test $ac_status = 0; } && {
2682 test -z "$ac_cxx_werror_flag" ||
2683 test ! -s conftest.err
2684 } && test -s conftest.$ac_objext; then :
2685 ac_retval=0
2686 else
2687 $as_echo "$as_me: failed program was:" >&5
2688 sed 's/^/| /' conftest.$ac_ext >&5
2690 ac_retval=1
2692 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2693 as_fn_set_status $ac_retval
2695 } # ac_fn_cxx_try_compile
2697 # ac_fn_c_try_link LINENO
2698 # -----------------------
2699 # Try to link conftest.$ac_ext, and return whether this succeeded.
2700 ac_fn_c_try_link ()
2702 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2703 rm -f conftest.$ac_objext conftest$ac_exeext
2704 if { { ac_try="$ac_link"
2705 case "(($ac_try" in
2706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2707 *) ac_try_echo=$ac_try;;
2708 esac
2709 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2710 $as_echo "$ac_try_echo"; } >&5
2711 (eval "$ac_link") 2>conftest.err
2712 ac_status=$?
2713 if test -s conftest.err; then
2714 grep -v '^ *+' conftest.err >conftest.er1
2715 cat conftest.er1 >&5
2716 mv -f conftest.er1 conftest.err
2718 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2719 test $ac_status = 0; } && {
2720 test -z "$ac_c_werror_flag" ||
2721 test ! -s conftest.err
2722 } && test -s conftest$ac_exeext && {
2723 test "$cross_compiling" = yes ||
2724 test -x conftest$ac_exeext
2725 }; then :
2726 ac_retval=0
2727 else
2728 $as_echo "$as_me: failed program was:" >&5
2729 sed 's/^/| /' conftest.$ac_ext >&5
2731 ac_retval=1
2733 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2734 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2735 # interfere with the next link command; also delete a directory that is
2736 # left behind by Apple's compiler. We do this before executing the actions.
2737 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2738 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2739 as_fn_set_status $ac_retval
2741 } # ac_fn_c_try_link
2743 # ac_fn_c_try_cpp LINENO
2744 # ----------------------
2745 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2746 ac_fn_c_try_cpp ()
2748 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2749 if { { ac_try="$ac_cpp conftest.$ac_ext"
2750 case "(($ac_try" in
2751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2752 *) ac_try_echo=$ac_try;;
2753 esac
2754 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2755 $as_echo "$ac_try_echo"; } >&5
2756 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2757 ac_status=$?
2758 if test -s conftest.err; then
2759 grep -v '^ *+' conftest.err >conftest.er1
2760 cat conftest.er1 >&5
2761 mv -f conftest.er1 conftest.err
2763 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2764 test $ac_status = 0; } > conftest.i && {
2765 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2766 test ! -s conftest.err
2767 }; then :
2768 ac_retval=0
2769 else
2770 $as_echo "$as_me: failed program was:" >&5
2771 sed 's/^/| /' conftest.$ac_ext >&5
2773 ac_retval=1
2775 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2776 as_fn_set_status $ac_retval
2778 } # ac_fn_c_try_cpp
2780 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2781 # -------------------------------------------------------
2782 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2783 # the include files in INCLUDES and setting the cache variable VAR
2784 # accordingly.
2785 ac_fn_c_check_header_mongrel ()
2787 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2788 if eval \${$3+:} false; then :
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2790 $as_echo_n "checking for $2... " >&6; }
2791 if eval \${$3+:} false; then :
2792 $as_echo_n "(cached) " >&6
2794 eval ac_res=\$$3
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2796 $as_echo "$ac_res" >&6; }
2797 else
2798 # Is the header compilable?
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2800 $as_echo_n "checking $2 usability... " >&6; }
2801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2802 /* end confdefs.h. */
2804 #include <$2>
2805 _ACEOF
2806 if ac_fn_c_try_compile "$LINENO"; then :
2807 ac_header_compiler=yes
2808 else
2809 ac_header_compiler=no
2811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2813 $as_echo "$ac_header_compiler" >&6; }
2815 # Is the header present?
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2817 $as_echo_n "checking $2 presence... " >&6; }
2818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2819 /* end confdefs.h. */
2820 #include <$2>
2821 _ACEOF
2822 if ac_fn_c_try_cpp "$LINENO"; then :
2823 ac_header_preproc=yes
2824 else
2825 ac_header_preproc=no
2827 rm -f conftest.err conftest.i conftest.$ac_ext
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2829 $as_echo "$ac_header_preproc" >&6; }
2831 # So? What about this header?
2832 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2833 yes:no: )
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2835 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2837 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2839 no:yes:* )
2840 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2841 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2842 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2843 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2845 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2847 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2849 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2850 ( $as_echo "## ------------------------------------ ##
2851 ## Report this to wine-devel@winehq.org ##
2852 ## ------------------------------------ ##"
2853 ) | sed "s/^/$as_me: WARNING: /" >&2
2855 esac
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2857 $as_echo_n "checking for $2... " >&6; }
2858 if eval \${$3+:} false; then :
2859 $as_echo_n "(cached) " >&6
2860 else
2861 eval "$3=\$ac_header_compiler"
2863 eval ac_res=\$$3
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2865 $as_echo "$ac_res" >&6; }
2867 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2869 } # ac_fn_c_check_header_mongrel
2871 # ac_fn_c_try_run LINENO
2872 # ----------------------
2873 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2874 # that executables *can* be run.
2875 ac_fn_c_try_run ()
2877 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2878 if { { ac_try="$ac_link"
2879 case "(($ac_try" in
2880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2881 *) ac_try_echo=$ac_try;;
2882 esac
2883 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2884 $as_echo "$ac_try_echo"; } >&5
2885 (eval "$ac_link") 2>&5
2886 ac_status=$?
2887 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2888 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2889 { { case "(($ac_try" in
2890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2891 *) ac_try_echo=$ac_try;;
2892 esac
2893 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2894 $as_echo "$ac_try_echo"; } >&5
2895 (eval "$ac_try") 2>&5
2896 ac_status=$?
2897 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2898 test $ac_status = 0; }; }; then :
2899 ac_retval=0
2900 else
2901 $as_echo "$as_me: program exited with status $ac_status" >&5
2902 $as_echo "$as_me: failed program was:" >&5
2903 sed 's/^/| /' conftest.$ac_ext >&5
2905 ac_retval=$ac_status
2907 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2908 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2909 as_fn_set_status $ac_retval
2911 } # ac_fn_c_try_run
2913 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2914 # -------------------------------------------------------
2915 # Tests whether HEADER exists and can be compiled using the include files in
2916 # INCLUDES, setting the cache variable VAR accordingly.
2917 ac_fn_c_check_header_compile ()
2919 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2921 $as_echo_n "checking for $2... " >&6; }
2922 if eval \${$3+:} false; then :
2923 $as_echo_n "(cached) " >&6
2924 else
2925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2926 /* end confdefs.h. */
2928 #include <$2>
2929 _ACEOF
2930 if ac_fn_c_try_compile "$LINENO"; then :
2931 eval "$3=yes"
2932 else
2933 eval "$3=no"
2935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2937 eval ac_res=\$$3
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2939 $as_echo "$ac_res" >&6; }
2940 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2942 } # ac_fn_c_check_header_compile
2944 # ac_fn_c_check_func LINENO FUNC VAR
2945 # ----------------------------------
2946 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2947 ac_fn_c_check_func ()
2949 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2951 $as_echo_n "checking for $2... " >&6; }
2952 if eval \${$3+:} false; then :
2953 $as_echo_n "(cached) " >&6
2954 else
2955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2956 /* end confdefs.h. */
2957 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2958 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2959 #define $2 innocuous_$2
2961 /* System header to define __stub macros and hopefully few prototypes,
2962 which can conflict with char $2 (); below.
2963 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2964 <limits.h> exists even on freestanding compilers. */
2966 #ifdef __STDC__
2967 # include <limits.h>
2968 #else
2969 # include <assert.h>
2970 #endif
2972 #undef $2
2974 /* Override any GCC internal prototype to avoid an error.
2975 Use char because int might match the return type of a GCC
2976 builtin and then its argument prototype would still apply. */
2977 #ifdef __cplusplus
2978 extern "C"
2979 #endif
2980 char $2 ();
2981 /* The GNU C library defines this for functions which it implements
2982 to always fail with ENOSYS. Some functions are actually named
2983 something starting with __ and the normal name is an alias. */
2984 #if defined __stub_$2 || defined __stub___$2
2985 choke me
2986 #endif
2989 main ()
2991 return $2 ();
2993 return 0;
2995 _ACEOF
2996 if ac_fn_c_try_link "$LINENO"; then :
2997 eval "$3=yes"
2998 else
2999 eval "$3=no"
3001 rm -f core conftest.err conftest.$ac_objext \
3002 conftest$ac_exeext conftest.$ac_ext
3004 eval ac_res=\$$3
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3006 $as_echo "$ac_res" >&6; }
3007 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3009 } # ac_fn_c_check_func
3011 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3012 # ----------------------------------------------------
3013 # Tries to find if the field MEMBER exists in type AGGR, after including
3014 # INCLUDES, setting cache variable VAR accordingly.
3015 ac_fn_c_check_member ()
3017 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3019 $as_echo_n "checking for $2.$3... " >&6; }
3020 if eval \${$4+:} false; then :
3021 $as_echo_n "(cached) " >&6
3022 else
3023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3024 /* end confdefs.h. */
3027 main ()
3029 static $2 ac_aggr;
3030 if (ac_aggr.$3)
3031 return 0;
3033 return 0;
3035 _ACEOF
3036 if ac_fn_c_try_compile "$LINENO"; then :
3037 eval "$4=yes"
3038 else
3039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3040 /* end confdefs.h. */
3043 main ()
3045 static $2 ac_aggr;
3046 if (sizeof ac_aggr.$3)
3047 return 0;
3049 return 0;
3051 _ACEOF
3052 if ac_fn_c_try_compile "$LINENO"; then :
3053 eval "$4=yes"
3054 else
3055 eval "$4=no"
3057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3061 eval ac_res=\$$4
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3063 $as_echo "$ac_res" >&6; }
3064 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3066 } # ac_fn_c_check_member
3068 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3069 # -------------------------------------------
3070 # Tests whether TYPE exists after having included INCLUDES, setting cache
3071 # variable VAR accordingly.
3072 ac_fn_c_check_type ()
3074 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3076 $as_echo_n "checking for $2... " >&6; }
3077 if eval \${$3+:} false; then :
3078 $as_echo_n "(cached) " >&6
3079 else
3080 eval "$3=no"
3081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3082 /* end confdefs.h. */
3085 main ()
3087 if (sizeof ($2))
3088 return 0;
3090 return 0;
3092 _ACEOF
3093 if ac_fn_c_try_compile "$LINENO"; then :
3094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3095 /* end confdefs.h. */
3098 main ()
3100 if (sizeof (($2)))
3101 return 0;
3103 return 0;
3105 _ACEOF
3106 if ac_fn_c_try_compile "$LINENO"; then :
3108 else
3109 eval "$3=yes"
3111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3115 eval ac_res=\$$3
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3117 $as_echo "$ac_res" >&6; }
3118 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3120 } # ac_fn_c_check_type
3121 cat >config.log <<_ACEOF
3122 This file contains any messages produced by compilers while
3123 running configure, to aid debugging if configure makes a mistake.
3125 It was created by Wine $as_me 3.2, which was
3126 generated by GNU Autoconf 2.69. Invocation command line was
3128 $ $0 $@
3130 _ACEOF
3131 exec 5>>config.log
3133 cat <<_ASUNAME
3134 ## --------- ##
3135 ## Platform. ##
3136 ## --------- ##
3138 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3139 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3140 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3141 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3142 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3144 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3145 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3147 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3148 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3149 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3150 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3151 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3152 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3153 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3155 _ASUNAME
3157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3158 for as_dir in $PATH
3160 IFS=$as_save_IFS
3161 test -z "$as_dir" && as_dir=.
3162 $as_echo "PATH: $as_dir"
3163 done
3164 IFS=$as_save_IFS
3166 } >&5
3168 cat >&5 <<_ACEOF
3171 ## ----------- ##
3172 ## Core tests. ##
3173 ## ----------- ##
3175 _ACEOF
3178 # Keep a trace of the command line.
3179 # Strip out --no-create and --no-recursion so they do not pile up.
3180 # Strip out --silent because we don't want to record it for future runs.
3181 # Also quote any args containing shell meta-characters.
3182 # Make two passes to allow for proper duplicate-argument suppression.
3183 ac_configure_args=
3184 ac_configure_args0=
3185 ac_configure_args1=
3186 ac_must_keep_next=false
3187 for ac_pass in 1 2
3189 for ac_arg
3191 case $ac_arg in
3192 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3193 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3194 | -silent | --silent | --silen | --sile | --sil)
3195 continue ;;
3196 *\'*)
3197 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3198 esac
3199 case $ac_pass in
3200 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3202 as_fn_append ac_configure_args1 " '$ac_arg'"
3203 if test $ac_must_keep_next = true; then
3204 ac_must_keep_next=false # Got value, back to normal.
3205 else
3206 case $ac_arg in
3207 *=* | --config-cache | -C | -disable-* | --disable-* \
3208 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3209 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3210 | -with-* | --with-* | -without-* | --without-* | --x)
3211 case "$ac_configure_args0 " in
3212 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3213 esac
3215 -* ) ac_must_keep_next=true ;;
3216 esac
3218 as_fn_append ac_configure_args " '$ac_arg'"
3220 esac
3221 done
3222 done
3223 { ac_configure_args0=; unset ac_configure_args0;}
3224 { ac_configure_args1=; unset ac_configure_args1;}
3226 # When interrupted or exit'd, cleanup temporary files, and complete
3227 # config.log. We remove comments because anyway the quotes in there
3228 # would cause problems or look ugly.
3229 # WARNING: Use '\'' to represent an apostrophe within the trap.
3230 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3231 trap 'exit_status=$?
3232 # Save into config.log some information that might help in debugging.
3234 echo
3236 $as_echo "## ---------------- ##
3237 ## Cache variables. ##
3238 ## ---------------- ##"
3239 echo
3240 # The following way of writing the cache mishandles newlines in values,
3242 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3243 eval ac_val=\$$ac_var
3244 case $ac_val in #(
3245 *${as_nl}*)
3246 case $ac_var in #(
3247 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3248 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3249 esac
3250 case $ac_var in #(
3251 _ | IFS | as_nl) ;; #(
3252 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3253 *) { eval $ac_var=; unset $ac_var;} ;;
3254 esac ;;
3255 esac
3256 done
3257 (set) 2>&1 |
3258 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3259 *${as_nl}ac_space=\ *)
3260 sed -n \
3261 "s/'\''/'\''\\\\'\'''\''/g;
3262 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3263 ;; #(
3265 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3267 esac |
3268 sort
3270 echo
3272 $as_echo "## ----------------- ##
3273 ## Output variables. ##
3274 ## ----------------- ##"
3275 echo
3276 for ac_var in $ac_subst_vars
3278 eval ac_val=\$$ac_var
3279 case $ac_val in
3280 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3281 esac
3282 $as_echo "$ac_var='\''$ac_val'\''"
3283 done | sort
3284 echo
3286 if test -n "$ac_subst_files"; then
3287 $as_echo "## ------------------- ##
3288 ## File substitutions. ##
3289 ## ------------------- ##"
3290 echo
3291 for ac_var in $ac_subst_files
3293 eval ac_val=\$$ac_var
3294 case $ac_val in
3295 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3296 esac
3297 $as_echo "$ac_var='\''$ac_val'\''"
3298 done | sort
3299 echo
3302 if test -s confdefs.h; then
3303 $as_echo "## ----------- ##
3304 ## confdefs.h. ##
3305 ## ----------- ##"
3306 echo
3307 cat confdefs.h
3308 echo
3310 test "$ac_signal" != 0 &&
3311 $as_echo "$as_me: caught signal $ac_signal"
3312 $as_echo "$as_me: exit $exit_status"
3313 } >&5
3314 rm -f core *.core core.conftest.* &&
3315 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3316 exit $exit_status
3318 for ac_signal in 1 2 13 15; do
3319 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3320 done
3321 ac_signal=0
3323 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3324 rm -f -r conftest* confdefs.h
3326 $as_echo "/* confdefs.h */" > confdefs.h
3328 # Predefined preprocessor variables.
3330 cat >>confdefs.h <<_ACEOF
3331 #define PACKAGE_NAME "$PACKAGE_NAME"
3332 _ACEOF
3334 cat >>confdefs.h <<_ACEOF
3335 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3336 _ACEOF
3338 cat >>confdefs.h <<_ACEOF
3339 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3340 _ACEOF
3342 cat >>confdefs.h <<_ACEOF
3343 #define PACKAGE_STRING "$PACKAGE_STRING"
3344 _ACEOF
3346 cat >>confdefs.h <<_ACEOF
3347 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3348 _ACEOF
3350 cat >>confdefs.h <<_ACEOF
3351 #define PACKAGE_URL "$PACKAGE_URL"
3352 _ACEOF
3355 # Let the site file select an alternate cache file if it wants to.
3356 # Prefer an explicitly selected file to automatically selected ones.
3357 ac_site_file1=NONE
3358 ac_site_file2=NONE
3359 if test -n "$CONFIG_SITE"; then
3360 # We do not want a PATH search for config.site.
3361 case $CONFIG_SITE in #((
3362 -*) ac_site_file1=./$CONFIG_SITE;;
3363 */*) ac_site_file1=$CONFIG_SITE;;
3364 *) ac_site_file1=./$CONFIG_SITE;;
3365 esac
3366 elif test "x$prefix" != xNONE; then
3367 ac_site_file1=$prefix/share/config.site
3368 ac_site_file2=$prefix/etc/config.site
3369 else
3370 ac_site_file1=$ac_default_prefix/share/config.site
3371 ac_site_file2=$ac_default_prefix/etc/config.site
3373 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3375 test "x$ac_site_file" = xNONE && continue
3376 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3377 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3378 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3379 sed 's/^/| /' "$ac_site_file" >&5
3380 . "$ac_site_file" \
3381 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3382 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3383 as_fn_error $? "failed to load site script $ac_site_file
3384 See \`config.log' for more details" "$LINENO" 5; }
3386 done
3388 if test -r "$cache_file"; then
3389 # Some versions of bash will fail to source /dev/null (special files
3390 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3391 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3393 $as_echo "$as_me: loading cache $cache_file" >&6;}
3394 case $cache_file in
3395 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3396 *) . "./$cache_file";;
3397 esac
3399 else
3400 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3401 $as_echo "$as_me: creating cache $cache_file" >&6;}
3402 >$cache_file
3405 # Check that the precious variables saved in the cache have kept the same
3406 # value.
3407 ac_cache_corrupted=false
3408 for ac_var in $ac_precious_vars; do
3409 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3410 eval ac_new_set=\$ac_env_${ac_var}_set
3411 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3412 eval ac_new_val=\$ac_env_${ac_var}_value
3413 case $ac_old_set,$ac_new_set in
3414 set,)
3415 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3416 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3417 ac_cache_corrupted=: ;;
3418 ,set)
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3420 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3421 ac_cache_corrupted=: ;;
3422 ,);;
3424 if test "x$ac_old_val" != "x$ac_new_val"; then
3425 # differences in whitespace do not lead to failure.
3426 ac_old_val_w=`echo x $ac_old_val`
3427 ac_new_val_w=`echo x $ac_new_val`
3428 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3429 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3430 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3431 ac_cache_corrupted=:
3432 else
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3434 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3435 eval $ac_var=\$ac_old_val
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3438 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3440 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3441 fi;;
3442 esac
3443 # Pass precious variables to config.status.
3444 if test "$ac_new_set" = set; then
3445 case $ac_new_val in
3446 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3447 *) ac_arg=$ac_var=$ac_new_val ;;
3448 esac
3449 case " $ac_configure_args " in
3450 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3451 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3452 esac
3454 done
3455 if $ac_cache_corrupted; then
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3457 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3459 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3460 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3462 ## -------------------- ##
3463 ## Main body of script. ##
3464 ## -------------------- ##
3466 ac_ext=c
3467 ac_cpp='$CPP $CPPFLAGS'
3468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3474 ac_config_headers="$ac_config_headers include/config.h"
3476 ac_aux_dir=
3477 for ac_dir in tools "$srcdir"/tools; do
3478 if test -f "$ac_dir/install-sh"; then
3479 ac_aux_dir=$ac_dir
3480 ac_install_sh="$ac_aux_dir/install-sh -c"
3481 break
3482 elif test -f "$ac_dir/install.sh"; then
3483 ac_aux_dir=$ac_dir
3484 ac_install_sh="$ac_aux_dir/install.sh -c"
3485 break
3486 elif test -f "$ac_dir/shtool"; then
3487 ac_aux_dir=$ac_dir
3488 ac_install_sh="$ac_aux_dir/shtool install -c"
3489 break
3491 done
3492 if test -z "$ac_aux_dir"; then
3493 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3496 # These three variables are undocumented and unsupported,
3497 # and are intended to be withdrawn in a future Autoconf release.
3498 # They can cause serious problems if a builder's source tree is in a directory
3499 # whose full name contains unusual characters.
3500 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3501 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3502 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3506 libwine_version="1.0"
3510 # Check whether --enable-win16 was given.
3511 if test "${enable_win16+set}" = set; then :
3512 enableval=$enable_win16;
3515 # Check whether --enable-win64 was given.
3516 if test "${enable_win64+set}" = set; then :
3517 enableval=$enable_win64;
3520 # Check whether --enable-tests was given.
3521 if test "${enable_tests+set}" = set; then :
3522 enableval=$enable_tests;
3525 # Check whether --enable-maintainer-mode was given.
3526 if test "${enable_maintainer_mode+set}" = set; then :
3527 enableval=$enable_maintainer_mode;
3532 # Check whether --with-alsa was given.
3533 if test "${with_alsa+set}" = set; then :
3534 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3538 # Check whether --with-capi was given.
3539 if test "${with_capi+set}" = set; then :
3540 withval=$with_capi;
3544 # Check whether --with-cms was given.
3545 if test "${with_cms+set}" = set; then :
3546 withval=$with_cms;
3550 # Check whether --with-coreaudio was given.
3551 if test "${with_coreaudio+set}" = set; then :
3552 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3556 # Check whether --with-cups was given.
3557 if test "${with_cups+set}" = set; then :
3558 withval=$with_cups;
3562 # Check whether --with-curses was given.
3563 if test "${with_curses+set}" = set; then :
3564 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3568 # Check whether --with-dbus was given.
3569 if test "${with_dbus+set}" = set; then :
3570 withval=$with_dbus;
3574 # Check whether --with-float-abi was given.
3575 if test "${with_float_abi+set}" = set; then :
3576 withval=$with_float_abi;
3580 # Check whether --with-fontconfig was given.
3581 if test "${with_fontconfig+set}" = set; then :
3582 withval=$with_fontconfig;
3586 # Check whether --with-freetype was given.
3587 if test "${with_freetype+set}" = set; then :
3588 withval=$with_freetype;
3592 # Check whether --with-gettext was given.
3593 if test "${with_gettext+set}" = set; then :
3594 withval=$with_gettext;
3598 # Check whether --with-gettextpo was given.
3599 if test "${with_gettextpo+set}" = set; then :
3600 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3604 # Check whether --with-gphoto was given.
3605 if test "${with_gphoto+set}" = set; then :
3606 withval=$with_gphoto;
3610 # Check whether --with-glu was given.
3611 if test "${with_glu+set}" = set; then :
3612 withval=$with_glu;
3616 # Check whether --with-gnutls was given.
3617 if test "${with_gnutls+set}" = set; then :
3618 withval=$with_gnutls;
3622 # Check whether --with-gsm was given.
3623 if test "${with_gsm+set}" = set; then :
3624 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3628 # Check whether --with-gssapi was given.
3629 if test "${with_gssapi+set}" = set; then :
3630 withval=$with_gssapi;
3634 # Check whether --with-gstreamer was given.
3635 if test "${with_gstreamer+set}" = set; then :
3636 withval=$with_gstreamer;
3640 # Check whether --with-hal was given.
3641 if test "${with_hal+set}" = set; then :
3642 withval=$with_hal;
3646 # Check whether --with-jpeg was given.
3647 if test "${with_jpeg+set}" = set; then :
3648 withval=$with_jpeg;
3652 # Check whether --with-krb5 was given.
3653 if test "${with_krb5+set}" = set; then :
3654 withval=$with_krb5;
3658 # Check whether --with-ldap was given.
3659 if test "${with_ldap+set}" = set; then :
3660 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3664 # Check whether --with-mpg123 was given.
3665 if test "${with_mpg123+set}" = set; then :
3666 withval=$with_mpg123;
3670 # Check whether --with-netapi was given.
3671 if test "${with_netapi+set}" = set; then :
3672 withval=$with_netapi;
3676 # Check whether --with-openal was given.
3677 if test "${with_openal+set}" = set; then :
3678 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3682 # Check whether --with-opencl was given.
3683 if test "${with_opencl+set}" = set; then :
3684 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3688 # Check whether --with-opengl was given.
3689 if test "${with_opengl+set}" = set; then :
3690 withval=$with_opengl;
3694 # Check whether --with-osmesa was given.
3695 if test "${with_osmesa+set}" = set; then :
3696 withval=$with_osmesa;
3700 # Check whether --with-oss was given.
3701 if test "${with_oss+set}" = set; then :
3702 withval=$with_oss;
3706 # Check whether --with-pcap was given.
3707 if test "${with_pcap+set}" = set; then :
3708 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3712 # Check whether --with-png was given.
3713 if test "${with_png+set}" = set; then :
3714 withval=$with_png;
3718 # Check whether --with-pthread was given.
3719 if test "${with_pthread+set}" = set; then :
3720 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3724 # Check whether --with-pulse was given.
3725 if test "${with_pulse+set}" = set; then :
3726 withval=$with_pulse;
3730 # Check whether --with-sane was given.
3731 if test "${with_sane+set}" = set; then :
3732 withval=$with_sane;
3736 # Check whether --with-tiff was given.
3737 if test "${with_tiff+set}" = set; then :
3738 withval=$with_tiff;
3742 # Check whether --with-udev was given.
3743 if test "${with_udev+set}" = set; then :
3744 withval=$with_udev;
3748 # Check whether --with-sdl was given.
3749 if test "${with_sdl+set}" = set; then :
3750 withval=$with_sdl;
3754 # Check whether --with-v4l was given.
3755 if test "${with_v4l+set}" = set; then :
3756 withval=$with_v4l;
3760 # Check whether --with-xcomposite was given.
3761 if test "${with_xcomposite+set}" = set; then :
3762 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3766 # Check whether --with-xcursor was given.
3767 if test "${with_xcursor+set}" = set; then :
3768 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3772 # Check whether --with-xfixes was given.
3773 if test "${with_xfixes+set}" = set; then :
3774 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
3778 # Check whether --with-xinerama was given.
3779 if test "${with_xinerama+set}" = set; then :
3780 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3784 # Check whether --with-xinput was given.
3785 if test "${with_xinput+set}" = set; then :
3786 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3790 # Check whether --with-xinput2 was given.
3791 if test "${with_xinput2+set}" = set; then :
3792 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3796 # Check whether --with-xml was given.
3797 if test "${with_xml+set}" = set; then :
3798 withval=$with_xml;
3802 # Check whether --with-xrandr was given.
3803 if test "${with_xrandr+set}" = set; then :
3804 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3808 # Check whether --with-xrender was given.
3809 if test "${with_xrender+set}" = set; then :
3810 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3814 # Check whether --with-xshape was given.
3815 if test "${with_xshape+set}" = set; then :
3816 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3820 # Check whether --with-xshm was given.
3821 if test "${with_xshm+set}" = set; then :
3822 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3826 # Check whether --with-xslt was given.
3827 if test "${with_xslt+set}" = set; then :
3828 withval=$with_xslt;
3832 # Check whether --with-xxf86vm was given.
3833 if test "${with_xxf86vm+set}" = set; then :
3834 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
3838 # Check whether --with-zlib was given.
3839 if test "${with_zlib+set}" = set; then :
3840 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3845 # Check whether --with-wine-tools was given.
3846 if test "${with_wine_tools+set}" = set; then :
3847 withval=$with_wine_tools;
3851 # Check whether --with-wine64 was given.
3852 if test "${with_wine64+set}" = set; then :
3853 withval=$with_wine64;
3857 # Make sure we can run config.sub.
3858 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3859 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3862 $as_echo_n "checking build system type... " >&6; }
3863 if ${ac_cv_build+:} false; then :
3864 $as_echo_n "(cached) " >&6
3865 else
3866 ac_build_alias=$build_alias
3867 test "x$ac_build_alias" = x &&
3868 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3869 test "x$ac_build_alias" = x &&
3870 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3871 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3872 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3876 $as_echo "$ac_cv_build" >&6; }
3877 case $ac_cv_build in
3878 *-*-*) ;;
3879 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3880 esac
3881 build=$ac_cv_build
3882 ac_save_IFS=$IFS; IFS='-'
3883 set x $ac_cv_build
3884 shift
3885 build_cpu=$1
3886 build_vendor=$2
3887 shift; shift
3888 # Remember, the first character of IFS is used to create $*,
3889 # except with old shells:
3890 build_os=$*
3891 IFS=$ac_save_IFS
3892 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3896 $as_echo_n "checking host system type... " >&6; }
3897 if ${ac_cv_host+:} false; then :
3898 $as_echo_n "(cached) " >&6
3899 else
3900 if test "x$host_alias" = x; then
3901 ac_cv_host=$ac_cv_build
3902 else
3903 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3904 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3909 $as_echo "$ac_cv_host" >&6; }
3910 case $ac_cv_host in
3911 *-*-*) ;;
3912 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3913 esac
3914 host=$ac_cv_host
3915 ac_save_IFS=$IFS; IFS='-'
3916 set x $ac_cv_host
3917 shift
3918 host_cpu=$1
3919 host_vendor=$2
3920 shift; shift
3921 # Remember, the first character of IFS is used to create $*,
3922 # except with old shells:
3923 host_os=$*
3924 IFS=$ac_save_IFS
3925 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3929 case "$srcdir" in
3930 .) ;;
3931 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3932 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3933 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3934 fi ;;
3935 esac
3938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3939 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3940 set x ${MAKE-make}
3941 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3942 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3943 $as_echo_n "(cached) " >&6
3944 else
3945 cat >conftest.make <<\_ACEOF
3946 SHELL = /bin/sh
3947 all:
3948 @echo '@@@%%%=$(MAKE)=@@@%%%'
3949 _ACEOF
3950 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3951 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3952 *@@@%%%=?*=@@@%%%*)
3953 eval ac_cv_prog_make_${ac_make}_set=yes;;
3955 eval ac_cv_prog_make_${ac_make}_set=no;;
3956 esac
3957 rm -f conftest.make
3959 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3961 $as_echo "yes" >&6; }
3962 SET_MAKE=
3963 else
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3965 $as_echo "no" >&6; }
3966 SET_MAKE="MAKE=${MAKE-make}"
3969 ac_ext=c
3970 ac_cpp='$CPP $CPPFLAGS'
3971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3974 if test -n "$ac_tool_prefix"; then
3975 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3976 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3978 $as_echo_n "checking for $ac_word... " >&6; }
3979 if ${ac_cv_prog_CC+:} false; then :
3980 $as_echo_n "(cached) " >&6
3981 else
3982 if test -n "$CC"; then
3983 ac_cv_prog_CC="$CC" # Let the user override the test.
3984 else
3985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3986 for as_dir in $PATH
3988 IFS=$as_save_IFS
3989 test -z "$as_dir" && as_dir=.
3990 for ac_exec_ext in '' $ac_executable_extensions; do
3991 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3992 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3994 break 2
3996 done
3997 done
3998 IFS=$as_save_IFS
4002 CC=$ac_cv_prog_CC
4003 if test -n "$CC"; then
4004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4005 $as_echo "$CC" >&6; }
4006 else
4007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4008 $as_echo "no" >&6; }
4013 if test -z "$ac_cv_prog_CC"; then
4014 ac_ct_CC=$CC
4015 # Extract the first word of "gcc", so it can be a program name with args.
4016 set dummy gcc; ac_word=$2
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4018 $as_echo_n "checking for $ac_word... " >&6; }
4019 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4020 $as_echo_n "(cached) " >&6
4021 else
4022 if test -n "$ac_ct_CC"; then
4023 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4024 else
4025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4026 for as_dir in $PATH
4028 IFS=$as_save_IFS
4029 test -z "$as_dir" && as_dir=.
4030 for ac_exec_ext in '' $ac_executable_extensions; do
4031 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4032 ac_cv_prog_ac_ct_CC="gcc"
4033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4034 break 2
4036 done
4037 done
4038 IFS=$as_save_IFS
4042 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4043 if test -n "$ac_ct_CC"; then
4044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4045 $as_echo "$ac_ct_CC" >&6; }
4046 else
4047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4048 $as_echo "no" >&6; }
4051 if test "x$ac_ct_CC" = x; then
4052 CC=""
4053 else
4054 case $cross_compiling:$ac_tool_warned in
4055 yes:)
4056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4057 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4058 ac_tool_warned=yes ;;
4059 esac
4060 CC=$ac_ct_CC
4062 else
4063 CC="$ac_cv_prog_CC"
4066 if test -z "$CC"; then
4067 if test -n "$ac_tool_prefix"; then
4068 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4069 set dummy ${ac_tool_prefix}cc; ac_word=$2
4070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4071 $as_echo_n "checking for $ac_word... " >&6; }
4072 if ${ac_cv_prog_CC+:} false; then :
4073 $as_echo_n "(cached) " >&6
4074 else
4075 if test -n "$CC"; then
4076 ac_cv_prog_CC="$CC" # Let the user override the test.
4077 else
4078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4079 for as_dir in $PATH
4081 IFS=$as_save_IFS
4082 test -z "$as_dir" && as_dir=.
4083 for ac_exec_ext in '' $ac_executable_extensions; do
4084 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4085 ac_cv_prog_CC="${ac_tool_prefix}cc"
4086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4087 break 2
4089 done
4090 done
4091 IFS=$as_save_IFS
4095 CC=$ac_cv_prog_CC
4096 if test -n "$CC"; then
4097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4098 $as_echo "$CC" >&6; }
4099 else
4100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4101 $as_echo "no" >&6; }
4107 if test -z "$CC"; then
4108 # Extract the first word of "cc", so it can be a program name with args.
4109 set dummy cc; ac_word=$2
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4111 $as_echo_n "checking for $ac_word... " >&6; }
4112 if ${ac_cv_prog_CC+:} false; then :
4113 $as_echo_n "(cached) " >&6
4114 else
4115 if test -n "$CC"; then
4116 ac_cv_prog_CC="$CC" # Let the user override the test.
4117 else
4118 ac_prog_rejected=no
4119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4120 for as_dir in $PATH
4122 IFS=$as_save_IFS
4123 test -z "$as_dir" && as_dir=.
4124 for ac_exec_ext in '' $ac_executable_extensions; do
4125 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4126 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4127 ac_prog_rejected=yes
4128 continue
4130 ac_cv_prog_CC="cc"
4131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4132 break 2
4134 done
4135 done
4136 IFS=$as_save_IFS
4138 if test $ac_prog_rejected = yes; then
4139 # We found a bogon in the path, so make sure we never use it.
4140 set dummy $ac_cv_prog_CC
4141 shift
4142 if test $# != 0; then
4143 # We chose a different compiler from the bogus one.
4144 # However, it has the same basename, so the bogon will be chosen
4145 # first if we set CC to just the basename; use the full file name.
4146 shift
4147 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4152 CC=$ac_cv_prog_CC
4153 if test -n "$CC"; then
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4155 $as_echo "$CC" >&6; }
4156 else
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4158 $as_echo "no" >&6; }
4163 if test -z "$CC"; then
4164 if test -n "$ac_tool_prefix"; then
4165 for ac_prog in cl.exe
4167 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4168 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4170 $as_echo_n "checking for $ac_word... " >&6; }
4171 if ${ac_cv_prog_CC+:} false; then :
4172 $as_echo_n "(cached) " >&6
4173 else
4174 if test -n "$CC"; then
4175 ac_cv_prog_CC="$CC" # Let the user override the test.
4176 else
4177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4178 for as_dir in $PATH
4180 IFS=$as_save_IFS
4181 test -z "$as_dir" && as_dir=.
4182 for ac_exec_ext in '' $ac_executable_extensions; do
4183 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4184 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4186 break 2
4188 done
4189 done
4190 IFS=$as_save_IFS
4194 CC=$ac_cv_prog_CC
4195 if test -n "$CC"; then
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4197 $as_echo "$CC" >&6; }
4198 else
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4200 $as_echo "no" >&6; }
4204 test -n "$CC" && break
4205 done
4207 if test -z "$CC"; then
4208 ac_ct_CC=$CC
4209 for ac_prog in cl.exe
4211 # Extract the first word of "$ac_prog", so it can be a program name with args.
4212 set dummy $ac_prog; ac_word=$2
4213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4214 $as_echo_n "checking for $ac_word... " >&6; }
4215 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4216 $as_echo_n "(cached) " >&6
4217 else
4218 if test -n "$ac_ct_CC"; then
4219 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4220 else
4221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4222 for as_dir in $PATH
4224 IFS=$as_save_IFS
4225 test -z "$as_dir" && as_dir=.
4226 for ac_exec_ext in '' $ac_executable_extensions; do
4227 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4228 ac_cv_prog_ac_ct_CC="$ac_prog"
4229 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4230 break 2
4232 done
4233 done
4234 IFS=$as_save_IFS
4238 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4239 if test -n "$ac_ct_CC"; then
4240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4241 $as_echo "$ac_ct_CC" >&6; }
4242 else
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4244 $as_echo "no" >&6; }
4248 test -n "$ac_ct_CC" && break
4249 done
4251 if test "x$ac_ct_CC" = x; then
4252 CC=""
4253 else
4254 case $cross_compiling:$ac_tool_warned in
4255 yes:)
4256 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4257 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4258 ac_tool_warned=yes ;;
4259 esac
4260 CC=$ac_ct_CC
4267 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4268 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4269 as_fn_error $? "no acceptable C compiler found in \$PATH
4270 See \`config.log' for more details" "$LINENO" 5; }
4272 # Provide some information about the compiler.
4273 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4274 set X $ac_compile
4275 ac_compiler=$2
4276 for ac_option in --version -v -V -qversion; do
4277 { { ac_try="$ac_compiler $ac_option >&5"
4278 case "(($ac_try" in
4279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4280 *) ac_try_echo=$ac_try;;
4281 esac
4282 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4283 $as_echo "$ac_try_echo"; } >&5
4284 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4285 ac_status=$?
4286 if test -s conftest.err; then
4287 sed '10a\
4288 ... rest of stderr output deleted ...
4289 10q' conftest.err >conftest.er1
4290 cat conftest.er1 >&5
4292 rm -f conftest.er1 conftest.err
4293 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4294 test $ac_status = 0; }
4295 done
4297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4298 /* end confdefs.h. */
4301 main ()
4305 return 0;
4307 _ACEOF
4308 ac_clean_files_save=$ac_clean_files
4309 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4310 # Try to create an executable without -o first, disregard a.out.
4311 # It will help us diagnose broken compilers, and finding out an intuition
4312 # of exeext.
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4314 $as_echo_n "checking whether the C compiler works... " >&6; }
4315 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4317 # The possible output files:
4318 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4320 ac_rmfiles=
4321 for ac_file in $ac_files
4323 case $ac_file in
4324 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4325 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4326 esac
4327 done
4328 rm -f $ac_rmfiles
4330 if { { ac_try="$ac_link_default"
4331 case "(($ac_try" in
4332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4333 *) ac_try_echo=$ac_try;;
4334 esac
4335 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4336 $as_echo "$ac_try_echo"; } >&5
4337 (eval "$ac_link_default") 2>&5
4338 ac_status=$?
4339 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4340 test $ac_status = 0; }; then :
4341 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4342 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4343 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4344 # so that the user can short-circuit this test for compilers unknown to
4345 # Autoconf.
4346 for ac_file in $ac_files ''
4348 test -f "$ac_file" || continue
4349 case $ac_file in
4350 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4352 [ab].out )
4353 # We found the default executable, but exeext='' is most
4354 # certainly right.
4355 break;;
4356 *.* )
4357 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4358 then :; else
4359 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4361 # We set ac_cv_exeext here because the later test for it is not
4362 # safe: cross compilers may not add the suffix if given an `-o'
4363 # argument, so we may need to know it at that point already.
4364 # Even if this section looks crufty: it has the advantage of
4365 # actually working.
4366 break;;
4368 break;;
4369 esac
4370 done
4371 test "$ac_cv_exeext" = no && ac_cv_exeext=
4373 else
4374 ac_file=''
4376 if test -z "$ac_file"; then :
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4378 $as_echo "no" >&6; }
4379 $as_echo "$as_me: failed program was:" >&5
4380 sed 's/^/| /' conftest.$ac_ext >&5
4382 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4383 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4384 as_fn_error 77 "C compiler cannot create executables
4385 See \`config.log' for more details" "$LINENO" 5; }
4386 else
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4388 $as_echo "yes" >&6; }
4390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4391 $as_echo_n "checking for C compiler default output file name... " >&6; }
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4393 $as_echo "$ac_file" >&6; }
4394 ac_exeext=$ac_cv_exeext
4396 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4397 ac_clean_files=$ac_clean_files_save
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4399 $as_echo_n "checking for suffix of executables... " >&6; }
4400 if { { ac_try="$ac_link"
4401 case "(($ac_try" in
4402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4403 *) ac_try_echo=$ac_try;;
4404 esac
4405 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4406 $as_echo "$ac_try_echo"; } >&5
4407 (eval "$ac_link") 2>&5
4408 ac_status=$?
4409 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4410 test $ac_status = 0; }; then :
4411 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4412 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4413 # work properly (i.e., refer to `conftest.exe'), while it won't with
4414 # `rm'.
4415 for ac_file in conftest.exe conftest conftest.*; do
4416 test -f "$ac_file" || continue
4417 case $ac_file in
4418 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4419 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4420 break;;
4421 * ) break;;
4422 esac
4423 done
4424 else
4425 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4426 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4427 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4428 See \`config.log' for more details" "$LINENO" 5; }
4430 rm -f conftest conftest$ac_cv_exeext
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4432 $as_echo "$ac_cv_exeext" >&6; }
4434 rm -f conftest.$ac_ext
4435 EXEEXT=$ac_cv_exeext
4436 ac_exeext=$EXEEXT
4437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4438 /* end confdefs.h. */
4439 #include <stdio.h>
4441 main ()
4443 FILE *f = fopen ("conftest.out", "w");
4444 return ferror (f) || fclose (f) != 0;
4447 return 0;
4449 _ACEOF
4450 ac_clean_files="$ac_clean_files conftest.out"
4451 # Check that the compiler produces executables we can run. If not, either
4452 # the compiler is broken, or we cross compile.
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4454 $as_echo_n "checking whether we are cross compiling... " >&6; }
4455 if test "$cross_compiling" != yes; then
4456 { { ac_try="$ac_link"
4457 case "(($ac_try" in
4458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4459 *) ac_try_echo=$ac_try;;
4460 esac
4461 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4462 $as_echo "$ac_try_echo"; } >&5
4463 (eval "$ac_link") 2>&5
4464 ac_status=$?
4465 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4466 test $ac_status = 0; }
4467 if { ac_try='./conftest$ac_cv_exeext'
4468 { { case "(($ac_try" in
4469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4470 *) ac_try_echo=$ac_try;;
4471 esac
4472 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4473 $as_echo "$ac_try_echo"; } >&5
4474 (eval "$ac_try") 2>&5
4475 ac_status=$?
4476 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4477 test $ac_status = 0; }; }; then
4478 cross_compiling=no
4479 else
4480 if test "$cross_compiling" = maybe; then
4481 cross_compiling=yes
4482 else
4483 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4484 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4485 as_fn_error $? "cannot run C compiled programs.
4486 If you meant to cross compile, use \`--host'.
4487 See \`config.log' for more details" "$LINENO" 5; }
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4492 $as_echo "$cross_compiling" >&6; }
4494 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4495 ac_clean_files=$ac_clean_files_save
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4497 $as_echo_n "checking for suffix of object files... " >&6; }
4498 if ${ac_cv_objext+:} false; then :
4499 $as_echo_n "(cached) " >&6
4500 else
4501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4502 /* end confdefs.h. */
4505 main ()
4509 return 0;
4511 _ACEOF
4512 rm -f conftest.o conftest.obj
4513 if { { ac_try="$ac_compile"
4514 case "(($ac_try" in
4515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4516 *) ac_try_echo=$ac_try;;
4517 esac
4518 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4519 $as_echo "$ac_try_echo"; } >&5
4520 (eval "$ac_compile") 2>&5
4521 ac_status=$?
4522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4523 test $ac_status = 0; }; then :
4524 for ac_file in conftest.o conftest.obj conftest.*; do
4525 test -f "$ac_file" || continue;
4526 case $ac_file in
4527 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4528 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4529 break;;
4530 esac
4531 done
4532 else
4533 $as_echo "$as_me: failed program was:" >&5
4534 sed 's/^/| /' conftest.$ac_ext >&5
4536 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4537 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4538 as_fn_error $? "cannot compute suffix of object files: cannot compile
4539 See \`config.log' for more details" "$LINENO" 5; }
4541 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4544 $as_echo "$ac_cv_objext" >&6; }
4545 OBJEXT=$ac_cv_objext
4546 ac_objext=$OBJEXT
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4548 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4549 if ${ac_cv_c_compiler_gnu+:} false; then :
4550 $as_echo_n "(cached) " >&6
4551 else
4552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4553 /* end confdefs.h. */
4556 main ()
4558 #ifndef __GNUC__
4559 choke me
4560 #endif
4563 return 0;
4565 _ACEOF
4566 if ac_fn_c_try_compile "$LINENO"; then :
4567 ac_compiler_gnu=yes
4568 else
4569 ac_compiler_gnu=no
4571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4572 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4576 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4577 if test $ac_compiler_gnu = yes; then
4578 GCC=yes
4579 else
4580 GCC=
4582 ac_test_CFLAGS=${CFLAGS+set}
4583 ac_save_CFLAGS=$CFLAGS
4584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4585 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4586 if ${ac_cv_prog_cc_g+:} false; then :
4587 $as_echo_n "(cached) " >&6
4588 else
4589 ac_save_c_werror_flag=$ac_c_werror_flag
4590 ac_c_werror_flag=yes
4591 ac_cv_prog_cc_g=no
4592 CFLAGS="-g"
4593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4594 /* end confdefs.h. */
4597 main ()
4601 return 0;
4603 _ACEOF
4604 if ac_fn_c_try_compile "$LINENO"; then :
4605 ac_cv_prog_cc_g=yes
4606 else
4607 CFLAGS=""
4608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4609 /* end confdefs.h. */
4612 main ()
4616 return 0;
4618 _ACEOF
4619 if ac_fn_c_try_compile "$LINENO"; then :
4621 else
4622 ac_c_werror_flag=$ac_save_c_werror_flag
4623 CFLAGS="-g"
4624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4625 /* end confdefs.h. */
4628 main ()
4632 return 0;
4634 _ACEOF
4635 if ac_fn_c_try_compile "$LINENO"; then :
4636 ac_cv_prog_cc_g=yes
4638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4643 ac_c_werror_flag=$ac_save_c_werror_flag
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4646 $as_echo "$ac_cv_prog_cc_g" >&6; }
4647 if test "$ac_test_CFLAGS" = set; then
4648 CFLAGS=$ac_save_CFLAGS
4649 elif test $ac_cv_prog_cc_g = yes; then
4650 if test "$GCC" = yes; then
4651 CFLAGS="-g -O2"
4652 else
4653 CFLAGS="-g"
4655 else
4656 if test "$GCC" = yes; then
4657 CFLAGS="-O2"
4658 else
4659 CFLAGS=
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4663 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4664 if ${ac_cv_prog_cc_c89+:} false; then :
4665 $as_echo_n "(cached) " >&6
4666 else
4667 ac_cv_prog_cc_c89=no
4668 ac_save_CC=$CC
4669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4670 /* end confdefs.h. */
4671 #include <stdarg.h>
4672 #include <stdio.h>
4673 struct stat;
4674 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4675 struct buf { int x; };
4676 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4677 static char *e (p, i)
4678 char **p;
4679 int i;
4681 return p[i];
4683 static char *f (char * (*g) (char **, int), char **p, ...)
4685 char *s;
4686 va_list v;
4687 va_start (v,p);
4688 s = g (p, va_arg (v,int));
4689 va_end (v);
4690 return s;
4693 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4694 function prototypes and stuff, but not '\xHH' hex character constants.
4695 These don't provoke an error unfortunately, instead are silently treated
4696 as 'x'. The following induces an error, until -std is added to get
4697 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4698 array size at least. It's necessary to write '\x00'==0 to get something
4699 that's true only with -std. */
4700 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4702 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4703 inside strings and character constants. */
4704 #define FOO(x) 'x'
4705 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4707 int test (int i, double x);
4708 struct s1 {int (*f) (int a);};
4709 struct s2 {int (*f) (double a);};
4710 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4711 int argc;
4712 char **argv;
4714 main ()
4716 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4718 return 0;
4720 _ACEOF
4721 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4722 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4724 CC="$ac_save_CC $ac_arg"
4725 if ac_fn_c_try_compile "$LINENO"; then :
4726 ac_cv_prog_cc_c89=$ac_arg
4728 rm -f core conftest.err conftest.$ac_objext
4729 test "x$ac_cv_prog_cc_c89" != "xno" && break
4730 done
4731 rm -f conftest.$ac_ext
4732 CC=$ac_save_CC
4735 # AC_CACHE_VAL
4736 case "x$ac_cv_prog_cc_c89" in
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4739 $as_echo "none needed" >&6; } ;;
4740 xno)
4741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4742 $as_echo "unsupported" >&6; } ;;
4744 CC="$CC $ac_cv_prog_cc_c89"
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4746 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4747 esac
4748 if test "x$ac_cv_prog_cc_c89" != xno; then :
4752 ac_ext=c
4753 ac_cpp='$CPP $CPPFLAGS'
4754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4758 ac_ext=cpp
4759 ac_cpp='$CXXCPP $CPPFLAGS'
4760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4763 if test -z "$CXX"; then
4764 if test -n "$CCC"; then
4765 CXX=$CCC
4766 else
4767 if test -n "$ac_tool_prefix"; then
4768 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4770 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4771 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4773 $as_echo_n "checking for $ac_word... " >&6; }
4774 if ${ac_cv_prog_CXX+:} false; then :
4775 $as_echo_n "(cached) " >&6
4776 else
4777 if test -n "$CXX"; then
4778 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4779 else
4780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4781 for as_dir in $PATH
4783 IFS=$as_save_IFS
4784 test -z "$as_dir" && as_dir=.
4785 for ac_exec_ext in '' $ac_executable_extensions; do
4786 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4787 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4788 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4789 break 2
4791 done
4792 done
4793 IFS=$as_save_IFS
4797 CXX=$ac_cv_prog_CXX
4798 if test -n "$CXX"; then
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4800 $as_echo "$CXX" >&6; }
4801 else
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4803 $as_echo "no" >&6; }
4807 test -n "$CXX" && break
4808 done
4810 if test -z "$CXX"; then
4811 ac_ct_CXX=$CXX
4812 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4814 # Extract the first word of "$ac_prog", so it can be a program name with args.
4815 set dummy $ac_prog; ac_word=$2
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4817 $as_echo_n "checking for $ac_word... " >&6; }
4818 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4819 $as_echo_n "(cached) " >&6
4820 else
4821 if test -n "$ac_ct_CXX"; then
4822 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4823 else
4824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4825 for as_dir in $PATH
4827 IFS=$as_save_IFS
4828 test -z "$as_dir" && as_dir=.
4829 for ac_exec_ext in '' $ac_executable_extensions; do
4830 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4831 ac_cv_prog_ac_ct_CXX="$ac_prog"
4832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4833 break 2
4835 done
4836 done
4837 IFS=$as_save_IFS
4841 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4842 if test -n "$ac_ct_CXX"; then
4843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4844 $as_echo "$ac_ct_CXX" >&6; }
4845 else
4846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4847 $as_echo "no" >&6; }
4851 test -n "$ac_ct_CXX" && break
4852 done
4854 if test "x$ac_ct_CXX" = x; then
4855 CXX="g++"
4856 else
4857 case $cross_compiling:$ac_tool_warned in
4858 yes:)
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4860 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4861 ac_tool_warned=yes ;;
4862 esac
4863 CXX=$ac_ct_CXX
4869 # Provide some information about the compiler.
4870 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4871 set X $ac_compile
4872 ac_compiler=$2
4873 for ac_option in --version -v -V -qversion; do
4874 { { ac_try="$ac_compiler $ac_option >&5"
4875 case "(($ac_try" in
4876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4877 *) ac_try_echo=$ac_try;;
4878 esac
4879 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4880 $as_echo "$ac_try_echo"; } >&5
4881 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4882 ac_status=$?
4883 if test -s conftest.err; then
4884 sed '10a\
4885 ... rest of stderr output deleted ...
4886 10q' conftest.err >conftest.er1
4887 cat conftest.er1 >&5
4889 rm -f conftest.er1 conftest.err
4890 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4891 test $ac_status = 0; }
4892 done
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4895 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4896 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4897 $as_echo_n "(cached) " >&6
4898 else
4899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4900 /* end confdefs.h. */
4903 main ()
4905 #ifndef __GNUC__
4906 choke me
4907 #endif
4910 return 0;
4912 _ACEOF
4913 if ac_fn_cxx_try_compile "$LINENO"; then :
4914 ac_compiler_gnu=yes
4915 else
4916 ac_compiler_gnu=no
4918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4919 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4923 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4924 if test $ac_compiler_gnu = yes; then
4925 GXX=yes
4926 else
4927 GXX=
4929 ac_test_CXXFLAGS=${CXXFLAGS+set}
4930 ac_save_CXXFLAGS=$CXXFLAGS
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4932 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4933 if ${ac_cv_prog_cxx_g+:} false; then :
4934 $as_echo_n "(cached) " >&6
4935 else
4936 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4937 ac_cxx_werror_flag=yes
4938 ac_cv_prog_cxx_g=no
4939 CXXFLAGS="-g"
4940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4941 /* end confdefs.h. */
4944 main ()
4948 return 0;
4950 _ACEOF
4951 if ac_fn_cxx_try_compile "$LINENO"; then :
4952 ac_cv_prog_cxx_g=yes
4953 else
4954 CXXFLAGS=""
4955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4956 /* end confdefs.h. */
4959 main ()
4963 return 0;
4965 _ACEOF
4966 if ac_fn_cxx_try_compile "$LINENO"; then :
4968 else
4969 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4970 CXXFLAGS="-g"
4971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4972 /* end confdefs.h. */
4975 main ()
4979 return 0;
4981 _ACEOF
4982 if ac_fn_cxx_try_compile "$LINENO"; then :
4983 ac_cv_prog_cxx_g=yes
4985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4990 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4993 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4994 if test "$ac_test_CXXFLAGS" = set; then
4995 CXXFLAGS=$ac_save_CXXFLAGS
4996 elif test $ac_cv_prog_cxx_g = yes; then
4997 if test "$GXX" = yes; then
4998 CXXFLAGS="-g -O2"
4999 else
5000 CXXFLAGS="-g"
5002 else
5003 if test "$GXX" = yes; then
5004 CXXFLAGS="-O2"
5005 else
5006 CXXFLAGS=
5009 ac_ext=c
5010 ac_cpp='$CPP $CPPFLAGS'
5011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5015 if test -n "$ac_tool_prefix"; then
5016 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5017 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5019 $as_echo_n "checking for $ac_word... " >&6; }
5020 if ${ac_cv_prog_CPPBIN+:} false; then :
5021 $as_echo_n "(cached) " >&6
5022 else
5023 if test -n "$CPPBIN"; then
5024 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5025 else
5026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5027 for as_dir in $PATH
5029 IFS=$as_save_IFS
5030 test -z "$as_dir" && as_dir=.
5031 for ac_exec_ext in '' $ac_executable_extensions; do
5032 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5033 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5034 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5035 break 2
5037 done
5038 done
5039 IFS=$as_save_IFS
5043 CPPBIN=$ac_cv_prog_CPPBIN
5044 if test -n "$CPPBIN"; then
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5046 $as_echo "$CPPBIN" >&6; }
5047 else
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5049 $as_echo "no" >&6; }
5054 if test -z "$ac_cv_prog_CPPBIN"; then
5055 ac_ct_CPPBIN=$CPPBIN
5056 # Extract the first word of "cpp", so it can be a program name with args.
5057 set dummy cpp; ac_word=$2
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5059 $as_echo_n "checking for $ac_word... " >&6; }
5060 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5061 $as_echo_n "(cached) " >&6
5062 else
5063 if test -n "$ac_ct_CPPBIN"; then
5064 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5065 else
5066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5067 for as_dir in $PATH
5069 IFS=$as_save_IFS
5070 test -z "$as_dir" && as_dir=.
5071 for ac_exec_ext in '' $ac_executable_extensions; do
5072 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5073 ac_cv_prog_ac_ct_CPPBIN="cpp"
5074 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5075 break 2
5077 done
5078 done
5079 IFS=$as_save_IFS
5083 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5084 if test -n "$ac_ct_CPPBIN"; then
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5086 $as_echo "$ac_ct_CPPBIN" >&6; }
5087 else
5088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5089 $as_echo "no" >&6; }
5092 if test "x$ac_ct_CPPBIN" = x; then
5093 CPPBIN="cpp"
5094 else
5095 case $cross_compiling:$ac_tool_warned in
5096 yes:)
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5098 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5099 ac_tool_warned=yes ;;
5100 esac
5101 CPPBIN=$ac_ct_CPPBIN
5103 else
5104 CPPBIN="$ac_cv_prog_CPPBIN"
5108 cat >>confdefs.h <<_ACEOF
5109 #define EXEEXT "$ac_exeext"
5110 _ACEOF
5112 if test -n "$ac_tool_prefix"; then
5113 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5114 set dummy ${ac_tool_prefix}ld; ac_word=$2
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5116 $as_echo_n "checking for $ac_word... " >&6; }
5117 if ${ac_cv_prog_LD+:} false; then :
5118 $as_echo_n "(cached) " >&6
5119 else
5120 if test -n "$LD"; then
5121 ac_cv_prog_LD="$LD" # Let the user override the test.
5122 else
5123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5124 for as_dir in $PATH
5126 IFS=$as_save_IFS
5127 test -z "$as_dir" && as_dir=.
5128 for ac_exec_ext in '' $ac_executable_extensions; do
5129 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5130 ac_cv_prog_LD="${ac_tool_prefix}ld"
5131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5132 break 2
5134 done
5135 done
5136 IFS=$as_save_IFS
5140 LD=$ac_cv_prog_LD
5141 if test -n "$LD"; then
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5143 $as_echo "$LD" >&6; }
5144 else
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5146 $as_echo "no" >&6; }
5151 if test -z "$ac_cv_prog_LD"; then
5152 ac_ct_LD=$LD
5153 # Extract the first word of "ld", so it can be a program name with args.
5154 set dummy ld; ac_word=$2
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5156 $as_echo_n "checking for $ac_word... " >&6; }
5157 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5158 $as_echo_n "(cached) " >&6
5159 else
5160 if test -n "$ac_ct_LD"; then
5161 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5162 else
5163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5164 for as_dir in $PATH
5166 IFS=$as_save_IFS
5167 test -z "$as_dir" && as_dir=.
5168 for ac_exec_ext in '' $ac_executable_extensions; do
5169 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5170 ac_cv_prog_ac_ct_LD="ld"
5171 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5172 break 2
5174 done
5175 done
5176 IFS=$as_save_IFS
5180 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5181 if test -n "$ac_ct_LD"; then
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5183 $as_echo "$ac_ct_LD" >&6; }
5184 else
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5186 $as_echo "no" >&6; }
5189 if test "x$ac_ct_LD" = x; then
5190 LD=""
5191 else
5192 case $cross_compiling:$ac_tool_warned in
5193 yes:)
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5195 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5196 ac_tool_warned=yes ;;
5197 esac
5198 LD=$ac_ct_LD
5200 else
5201 LD="$ac_cv_prog_LD"
5205 case $host in
5206 *-darwin*)
5207 with_fontconfig=${with_fontconfig:-no}
5209 *-mingw32*|*-cygwin*)
5210 enable_win16=${enable_win16:-no}
5211 CFLAGS="$CFLAGS -D_WIN32"
5213 esac
5215 case $host in
5216 x86_64*|amd64*)
5217 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5218 then
5219 CC="$CC -m32"
5220 CXX="$CXX -m32"
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5222 $as_echo_n "checking whether $CC works... " >&6; }
5224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5225 /* end confdefs.h. */
5228 main ()
5232 return 0;
5234 _ACEOF
5235 if ac_fn_c_try_link "$LINENO"; then :
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5237 $as_echo "yes" >&6; }
5238 else
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5240 $as_echo "no" >&6; }
5241 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5243 rm -f core conftest.err conftest.$ac_objext \
5244 conftest$ac_exeext conftest.$ac_ext
5245 host_cpu="i386"
5246 notice_platform="32-bit "
5247 TARGETFLAGS="-m32"
5249 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5250 export PKG_CONFIG_PATH
5251 enable_win16=${enable_win16:-yes}
5252 else
5253 if test "x${GCC}" = "xyes"
5254 then
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5256 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5258 /* end confdefs.h. */
5259 #include <stdarg.h>
5261 main ()
5263 void func(__builtin_ms_va_list *args);
5265 return 0;
5267 _ACEOF
5268 if ac_fn_c_try_compile "$LINENO"; then :
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5270 $as_echo "yes" >&6; }
5271 else
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5273 $as_echo "no" >&6; }
5274 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5278 CC="$CC -m64"
5279 CXX="$CXX -m64"
5280 host_cpu="x86_64"
5281 notice_platform="64-bit "
5282 TARGETFLAGS="-m64"
5286 arm*)
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5288 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5290 /* end confdefs.h. */
5291 int ac_test(int i) { return i; }
5293 main ()
5295 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5297 return 0;
5299 _ACEOF
5300 if ac_fn_c_try_link "$LINENO"; then :
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5302 $as_echo "yes" >&6; }
5303 else
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5305 $as_echo "no" >&6; }
5306 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5308 rm -f core conftest.err conftest.$ac_objext \
5309 conftest$ac_exeext conftest.$ac_ext
5310 case $with_float_abi in
5311 soft|softfp|hard)
5312 float_abi=$with_float_abi ;;
5314 case $host_os in
5315 *eabihf)
5316 float_abi=hard ;;
5318 float_abi=softfp
5319 saved_CFLAGS=$CFLAGS
5320 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5322 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5324 /* end confdefs.h. */
5327 main ()
5329 asm("vmrs r2,fpscr");
5331 return 0;
5333 _ACEOF
5334 if ac_fn_c_try_link "$LINENO"; then :
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5336 $as_echo "yes" >&6; }
5337 else
5338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5339 $as_echo "no" >&6; }
5340 float_abi=soft
5341 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5343 rm -f core conftest.err conftest.$ac_objext \
5344 conftest$ac_exeext conftest.$ac_ext
5345 CFLAGS=$saved_CFLAGS
5346 esac
5348 esac
5349 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5350 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5353 i[3456789]86*)
5354 enable_win16=${enable_win16:-yes}
5356 esac
5358 enable_win16=${enable_win16:-no}
5359 enable_win64=${enable_win64:-no}
5361 enable_winetest=${enable_winetest:-$enable_tests}
5363 if test -n "$with_wine64"
5364 then
5365 if test "x$enable_win64" = "xyes"
5366 then
5367 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5368 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5370 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5371 You should create a separate build directory and run configure from there." "$LINENO" 5
5372 enable_fonts=${enable_fonts:-no}
5373 enable_server=${enable_server:-no}
5374 elif test "x$enable_win64" = "xyes"
5375 then
5376 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5380 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5381 if ${wine_cv_toolsdir+:} false; then :
5382 $as_echo_n "(cached) " >&6
5383 else
5384 wine_cv_toolsdir="$with_wine_tools"
5385 if test -z "$with_wine_tools"; then
5386 if test "$cross_compiling" = "yes"; then
5387 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5388 elif test -n "$with_wine64"; then
5389 wine_cv_toolsdir="$with_wine64"
5392 if test -z "$wine_cv_toolsdir"; then
5393 wine_makedep=tools/makedep
5394 wine_cv_toolsdir="\$(top_builddir)"
5395 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5396 wine_makedep=$wine_cv_toolsdir/tools/makedep
5397 case "$wine_cv_toolsdir" in
5398 /*) ;;
5399 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5400 esac
5401 enable_tools=${enable_tools:-no}
5402 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5403 else
5404 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5408 $as_echo "$wine_cv_toolsdir" >&6; }
5409 TOOLSDIR=$wine_cv_toolsdir
5411 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5412 then
5413 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5417 for ac_prog in flex
5419 # Extract the first word of "$ac_prog", so it can be a program name with args.
5420 set dummy $ac_prog; ac_word=$2
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5422 $as_echo_n "checking for $ac_word... " >&6; }
5423 if ${ac_cv_prog_FLEX+:} false; then :
5424 $as_echo_n "(cached) " >&6
5425 else
5426 if test -n "$FLEX"; then
5427 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5428 else
5429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5430 for as_dir in $PATH
5432 IFS=$as_save_IFS
5433 test -z "$as_dir" && as_dir=.
5434 for ac_exec_ext in '' $ac_executable_extensions; do
5435 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5436 ac_cv_prog_FLEX="$ac_prog"
5437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5438 break 2
5440 done
5441 done
5442 IFS=$as_save_IFS
5446 FLEX=$ac_cv_prog_FLEX
5447 if test -n "$FLEX"; then
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5449 $as_echo "$FLEX" >&6; }
5450 else
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5452 $as_echo "no" >&6; }
5456 test -n "$FLEX" && break
5457 done
5458 test -n "$FLEX" || FLEX="none"
5460 if test "$FLEX" = "none"
5461 then
5462 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5465 $as_echo_n "checking whether flex is recent enough... " >&6; }
5466 cat >conftest.l <<EOF
5467 %top{
5468 #include "prediluvian.h"
5472 if $FLEX -t conftest.l >/dev/null 2>&5
5473 then
5474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5475 $as_echo "yes" >&6; }
5476 else
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5478 $as_echo "no" >&6; }
5479 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5482 for ac_prog in bison
5484 # Extract the first word of "$ac_prog", so it can be a program name with args.
5485 set dummy $ac_prog; ac_word=$2
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5487 $as_echo_n "checking for $ac_word... " >&6; }
5488 if ${ac_cv_prog_BISON+:} false; then :
5489 $as_echo_n "(cached) " >&6
5490 else
5491 if test -n "$BISON"; then
5492 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5493 else
5494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5495 for as_dir in $PATH
5497 IFS=$as_save_IFS
5498 test -z "$as_dir" && as_dir=.
5499 for ac_exec_ext in '' $ac_executable_extensions; do
5500 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5501 ac_cv_prog_BISON="$ac_prog"
5502 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5503 break 2
5505 done
5506 done
5507 IFS=$as_save_IFS
5511 BISON=$ac_cv_prog_BISON
5512 if test -n "$BISON"; then
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5514 $as_echo "$BISON" >&6; }
5515 else
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5517 $as_echo "no" >&6; }
5521 test -n "$BISON" && break
5522 done
5523 test -n "$BISON" || BISON="none"
5525 if test "$BISON" = "none"
5526 then
5527 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5530 if test -n "$ac_tool_prefix"; then
5531 for ac_prog in ar gar
5533 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5534 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5536 $as_echo_n "checking for $ac_word... " >&6; }
5537 if ${ac_cv_prog_AR+:} false; then :
5538 $as_echo_n "(cached) " >&6
5539 else
5540 if test -n "$AR"; then
5541 ac_cv_prog_AR="$AR" # Let the user override the test.
5542 else
5543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5544 for as_dir in $PATH
5546 IFS=$as_save_IFS
5547 test -z "$as_dir" && as_dir=.
5548 for ac_exec_ext in '' $ac_executable_extensions; do
5549 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5550 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5551 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5552 break 2
5554 done
5555 done
5556 IFS=$as_save_IFS
5560 AR=$ac_cv_prog_AR
5561 if test -n "$AR"; then
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5563 $as_echo "$AR" >&6; }
5564 else
5565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5566 $as_echo "no" >&6; }
5570 test -n "$AR" && break
5571 done
5573 if test -z "$AR"; then
5574 ac_ct_AR=$AR
5575 for ac_prog in ar gar
5577 # Extract the first word of "$ac_prog", so it can be a program name with args.
5578 set dummy $ac_prog; ac_word=$2
5579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5580 $as_echo_n "checking for $ac_word... " >&6; }
5581 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5582 $as_echo_n "(cached) " >&6
5583 else
5584 if test -n "$ac_ct_AR"; then
5585 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5586 else
5587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5588 for as_dir in $PATH
5590 IFS=$as_save_IFS
5591 test -z "$as_dir" && as_dir=.
5592 for ac_exec_ext in '' $ac_executable_extensions; do
5593 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5594 ac_cv_prog_ac_ct_AR="$ac_prog"
5595 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5596 break 2
5598 done
5599 done
5600 IFS=$as_save_IFS
5604 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5605 if test -n "$ac_ct_AR"; then
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5607 $as_echo "$ac_ct_AR" >&6; }
5608 else
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5610 $as_echo "no" >&6; }
5614 test -n "$ac_ct_AR" && break
5615 done
5617 if test "x$ac_ct_AR" = x; then
5618 AR="ar"
5619 else
5620 case $cross_compiling:$ac_tool_warned in
5621 yes:)
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5623 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5624 ac_tool_warned=yes ;;
5625 esac
5626 AR=$ac_ct_AR
5630 if test -n "$ac_tool_prefix"; then
5631 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5632 set dummy ${ac_tool_prefix}strip; ac_word=$2
5633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5634 $as_echo_n "checking for $ac_word... " >&6; }
5635 if ${ac_cv_prog_STRIP+:} false; then :
5636 $as_echo_n "(cached) " >&6
5637 else
5638 if test -n "$STRIP"; then
5639 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5640 else
5641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5642 for as_dir in $PATH
5644 IFS=$as_save_IFS
5645 test -z "$as_dir" && as_dir=.
5646 for ac_exec_ext in '' $ac_executable_extensions; do
5647 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5648 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5649 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5650 break 2
5652 done
5653 done
5654 IFS=$as_save_IFS
5658 STRIP=$ac_cv_prog_STRIP
5659 if test -n "$STRIP"; then
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5661 $as_echo "$STRIP" >&6; }
5662 else
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5664 $as_echo "no" >&6; }
5669 if test -z "$ac_cv_prog_STRIP"; then
5670 ac_ct_STRIP=$STRIP
5671 # Extract the first word of "strip", so it can be a program name with args.
5672 set dummy strip; ac_word=$2
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5674 $as_echo_n "checking for $ac_word... " >&6; }
5675 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5676 $as_echo_n "(cached) " >&6
5677 else
5678 if test -n "$ac_ct_STRIP"; then
5679 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5680 else
5681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5682 for as_dir in $PATH
5684 IFS=$as_save_IFS
5685 test -z "$as_dir" && as_dir=.
5686 for ac_exec_ext in '' $ac_executable_extensions; do
5687 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5688 ac_cv_prog_ac_ct_STRIP="strip"
5689 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5690 break 2
5692 done
5693 done
5694 IFS=$as_save_IFS
5698 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5699 if test -n "$ac_ct_STRIP"; then
5700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5701 $as_echo "$ac_ct_STRIP" >&6; }
5702 else
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5704 $as_echo "no" >&6; }
5707 if test "x$ac_ct_STRIP" = x; then
5708 STRIP="strip"
5709 else
5710 case $cross_compiling:$ac_tool_warned in
5711 yes:)
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5713 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5714 ac_tool_warned=yes ;;
5715 esac
5716 STRIP=$ac_ct_STRIP
5718 else
5719 STRIP="$ac_cv_prog_STRIP"
5722 ARFLAGS=rc
5724 if test -n "$ac_tool_prefix"; then
5725 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5726 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5728 $as_echo_n "checking for $ac_word... " >&6; }
5729 if ${ac_cv_prog_RANLIB+:} false; then :
5730 $as_echo_n "(cached) " >&6
5731 else
5732 if test -n "$RANLIB"; then
5733 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5734 else
5735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5736 for as_dir in $PATH
5738 IFS=$as_save_IFS
5739 test -z "$as_dir" && as_dir=.
5740 for ac_exec_ext in '' $ac_executable_extensions; do
5741 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5742 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5744 break 2
5746 done
5747 done
5748 IFS=$as_save_IFS
5752 RANLIB=$ac_cv_prog_RANLIB
5753 if test -n "$RANLIB"; then
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5755 $as_echo "$RANLIB" >&6; }
5756 else
5757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5758 $as_echo "no" >&6; }
5763 if test -z "$ac_cv_prog_RANLIB"; then
5764 ac_ct_RANLIB=$RANLIB
5765 # Extract the first word of "ranlib", so it can be a program name with args.
5766 set dummy ranlib; ac_word=$2
5767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5768 $as_echo_n "checking for $ac_word... " >&6; }
5769 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5770 $as_echo_n "(cached) " >&6
5771 else
5772 if test -n "$ac_ct_RANLIB"; then
5773 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5774 else
5775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5776 for as_dir in $PATH
5778 IFS=$as_save_IFS
5779 test -z "$as_dir" && as_dir=.
5780 for ac_exec_ext in '' $ac_executable_extensions; do
5781 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5782 ac_cv_prog_ac_ct_RANLIB="ranlib"
5783 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5784 break 2
5786 done
5787 done
5788 IFS=$as_save_IFS
5792 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5793 if test -n "$ac_ct_RANLIB"; then
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5795 $as_echo "$ac_ct_RANLIB" >&6; }
5796 else
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5798 $as_echo "no" >&6; }
5801 if test "x$ac_ct_RANLIB" = x; then
5802 RANLIB=":"
5803 else
5804 case $cross_compiling:$ac_tool_warned in
5805 yes:)
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5807 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5808 ac_tool_warned=yes ;;
5809 esac
5810 RANLIB=$ac_ct_RANLIB
5812 else
5813 RANLIB="$ac_cv_prog_RANLIB"
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5817 $as_echo_n "checking whether ln -s works... " >&6; }
5818 LN_S=$as_ln_s
5819 if test "$LN_S" = "ln -s"; then
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5821 $as_echo "yes" >&6; }
5822 else
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5824 $as_echo "no, using $LN_S" >&6; }
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5828 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5829 if ${ac_cv_path_GREP+:} false; then :
5830 $as_echo_n "(cached) " >&6
5831 else
5832 if test -z "$GREP"; then
5833 ac_path_GREP_found=false
5834 # Loop through the user's path and test for each of PROGNAME-LIST
5835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5836 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5838 IFS=$as_save_IFS
5839 test -z "$as_dir" && as_dir=.
5840 for ac_prog in grep ggrep; do
5841 for ac_exec_ext in '' $ac_executable_extensions; do
5842 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5843 as_fn_executable_p "$ac_path_GREP" || continue
5844 # Check for GNU ac_path_GREP and select it if it is found.
5845 # Check for GNU $ac_path_GREP
5846 case `"$ac_path_GREP" --version 2>&1` in
5847 *GNU*)
5848 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5850 ac_count=0
5851 $as_echo_n 0123456789 >"conftest.in"
5852 while :
5854 cat "conftest.in" "conftest.in" >"conftest.tmp"
5855 mv "conftest.tmp" "conftest.in"
5856 cp "conftest.in" "conftest.nl"
5857 $as_echo 'GREP' >> "conftest.nl"
5858 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5859 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5860 as_fn_arith $ac_count + 1 && ac_count=$as_val
5861 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5862 # Best one so far, save it but keep looking for a better one
5863 ac_cv_path_GREP="$ac_path_GREP"
5864 ac_path_GREP_max=$ac_count
5866 # 10*(2^10) chars as input seems more than enough
5867 test $ac_count -gt 10 && break
5868 done
5869 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5870 esac
5872 $ac_path_GREP_found && break 3
5873 done
5874 done
5875 done
5876 IFS=$as_save_IFS
5877 if test -z "$ac_cv_path_GREP"; then
5878 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5880 else
5881 ac_cv_path_GREP=$GREP
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5886 $as_echo "$ac_cv_path_GREP" >&6; }
5887 GREP="$ac_cv_path_GREP"
5890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5891 $as_echo_n "checking for egrep... " >&6; }
5892 if ${ac_cv_path_EGREP+:} false; then :
5893 $as_echo_n "(cached) " >&6
5894 else
5895 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5896 then ac_cv_path_EGREP="$GREP -E"
5897 else
5898 if test -z "$EGREP"; then
5899 ac_path_EGREP_found=false
5900 # Loop through the user's path and test for each of PROGNAME-LIST
5901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5902 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5904 IFS=$as_save_IFS
5905 test -z "$as_dir" && as_dir=.
5906 for ac_prog in egrep; do
5907 for ac_exec_ext in '' $ac_executable_extensions; do
5908 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5909 as_fn_executable_p "$ac_path_EGREP" || continue
5910 # Check for GNU ac_path_EGREP and select it if it is found.
5911 # Check for GNU $ac_path_EGREP
5912 case `"$ac_path_EGREP" --version 2>&1` in
5913 *GNU*)
5914 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5916 ac_count=0
5917 $as_echo_n 0123456789 >"conftest.in"
5918 while :
5920 cat "conftest.in" "conftest.in" >"conftest.tmp"
5921 mv "conftest.tmp" "conftest.in"
5922 cp "conftest.in" "conftest.nl"
5923 $as_echo 'EGREP' >> "conftest.nl"
5924 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5925 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5926 as_fn_arith $ac_count + 1 && ac_count=$as_val
5927 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5928 # Best one so far, save it but keep looking for a better one
5929 ac_cv_path_EGREP="$ac_path_EGREP"
5930 ac_path_EGREP_max=$ac_count
5932 # 10*(2^10) chars as input seems more than enough
5933 test $ac_count -gt 10 && break
5934 done
5935 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5936 esac
5938 $ac_path_EGREP_found && break 3
5939 done
5940 done
5941 done
5942 IFS=$as_save_IFS
5943 if test -z "$ac_cv_path_EGREP"; then
5944 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5946 else
5947 ac_cv_path_EGREP=$EGREP
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5953 $as_echo "$ac_cv_path_EGREP" >&6; }
5954 EGREP="$ac_cv_path_EGREP"
5957 # Extract the first word of "ldconfig", so it can be a program name with args.
5958 set dummy ldconfig; ac_word=$2
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5960 $as_echo_n "checking for $ac_word... " >&6; }
5961 if ${ac_cv_path_LDCONFIG+:} false; then :
5962 $as_echo_n "(cached) " >&6
5963 else
5964 case $LDCONFIG in
5965 [\\/]* | ?:[\\/]*)
5966 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5970 for as_dir in /sbin /usr/sbin $PATH
5972 IFS=$as_save_IFS
5973 test -z "$as_dir" && as_dir=.
5974 for ac_exec_ext in '' $ac_executable_extensions; do
5975 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5976 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5978 break 2
5980 done
5981 done
5982 IFS=$as_save_IFS
5984 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5986 esac
5988 LDCONFIG=$ac_cv_path_LDCONFIG
5989 if test -n "$LDCONFIG"; then
5990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5991 $as_echo "$LDCONFIG" >&6; }
5992 else
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5994 $as_echo "no" >&6; }
5998 for ac_prog in msgfmt
6000 # Extract the first word of "$ac_prog", so it can be a program name with args.
6001 set dummy $ac_prog; ac_word=$2
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6003 $as_echo_n "checking for $ac_word... " >&6; }
6004 if ${ac_cv_prog_MSGFMT+:} false; then :
6005 $as_echo_n "(cached) " >&6
6006 else
6007 if test -n "$MSGFMT"; then
6008 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6009 else
6010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6011 for as_dir in $PATH
6013 IFS=$as_save_IFS
6014 test -z "$as_dir" && as_dir=.
6015 for ac_exec_ext in '' $ac_executable_extensions; do
6016 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6017 ac_cv_prog_MSGFMT="$ac_prog"
6018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6019 break 2
6021 done
6022 done
6023 IFS=$as_save_IFS
6027 MSGFMT=$ac_cv_prog_MSGFMT
6028 if test -n "$MSGFMT"; then
6029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6030 $as_echo "$MSGFMT" >&6; }
6031 else
6032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6033 $as_echo "no" >&6; }
6037 test -n "$MSGFMT" && break
6038 done
6039 test -n "$MSGFMT" || MSGFMT="false"
6041 if ${ac_tool_prefix+:} false; then :
6042 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6043 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6045 $as_echo_n "checking for $ac_word... " >&6; }
6046 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6047 $as_echo_n "(cached) " >&6
6048 else
6049 if test -n "$PKG_CONFIG"; then
6050 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6051 else
6052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6053 for as_dir in $PATH
6055 IFS=$as_save_IFS
6056 test -z "$as_dir" && as_dir=.
6057 for ac_exec_ext in '' $ac_executable_extensions; do
6058 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6059 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6061 break 2
6063 done
6064 done
6065 IFS=$as_save_IFS
6069 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6070 if test -n "$PKG_CONFIG"; then
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6072 $as_echo "$PKG_CONFIG" >&6; }
6073 else
6074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6075 $as_echo "no" >&6; }
6080 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6081 if test "x$cross_compiling" = xyes; then :
6083 else
6084 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6085 # Extract the first word of "pkg-config", so it can be a program name with args.
6086 set dummy pkg-config; ac_word=$2
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6088 $as_echo_n "checking for $ac_word... " >&6; }
6089 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6090 $as_echo_n "(cached) " >&6
6091 else
6092 if test -n "$PKG_CONFIG"; then
6093 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6094 else
6095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6096 for as_dir in $PATH
6098 IFS=$as_save_IFS
6099 test -z "$as_dir" && as_dir=.
6100 for ac_exec_ext in '' $ac_executable_extensions; do
6101 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6102 ac_cv_prog_PKG_CONFIG="pkg-config"
6103 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6104 break 2
6106 done
6107 done
6108 IFS=$as_save_IFS
6112 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6113 if test -n "$PKG_CONFIG"; then
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6115 $as_echo "$PKG_CONFIG" >&6; }
6116 else
6117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6118 $as_echo "no" >&6; }
6123 else
6124 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6127 if test "x$enable_maintainer_mode" != "xyes"
6128 then
6129 FONTFORGE=""
6130 RSVG=""
6131 CONVERT=""
6132 ICOTOOL=""
6133 else
6134 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6135 for ac_prog in fontforge
6137 # Extract the first word of "$ac_prog", so it can be a program name with args.
6138 set dummy $ac_prog; ac_word=$2
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6140 $as_echo_n "checking for $ac_word... " >&6; }
6141 if ${ac_cv_prog_FONTFORGE+:} false; then :
6142 $as_echo_n "(cached) " >&6
6143 else
6144 if test -n "$FONTFORGE"; then
6145 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6146 else
6147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6148 for as_dir in $PATH
6150 IFS=$as_save_IFS
6151 test -z "$as_dir" && as_dir=.
6152 for ac_exec_ext in '' $ac_executable_extensions; do
6153 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6154 ac_cv_prog_FONTFORGE="$ac_prog"
6155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6156 break 2
6158 done
6159 done
6160 IFS=$as_save_IFS
6164 FONTFORGE=$ac_cv_prog_FONTFORGE
6165 if test -n "$FONTFORGE"; then
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6167 $as_echo "$FONTFORGE" >&6; }
6168 else
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6170 $as_echo "no" >&6; }
6174 test -n "$FONTFORGE" && break
6175 done
6176 test -n "$FONTFORGE" || FONTFORGE="false"
6178 for ac_prog in rsvg-convert rsvg
6180 # Extract the first word of "$ac_prog", so it can be a program name with args.
6181 set dummy $ac_prog; ac_word=$2
6182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6183 $as_echo_n "checking for $ac_word... " >&6; }
6184 if ${ac_cv_prog_RSVG+:} false; then :
6185 $as_echo_n "(cached) " >&6
6186 else
6187 if test -n "$RSVG"; then
6188 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6189 else
6190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6191 for as_dir in $PATH
6193 IFS=$as_save_IFS
6194 test -z "$as_dir" && as_dir=.
6195 for ac_exec_ext in '' $ac_executable_extensions; do
6196 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6197 ac_cv_prog_RSVG="$ac_prog"
6198 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6199 break 2
6201 done
6202 done
6203 IFS=$as_save_IFS
6207 RSVG=$ac_cv_prog_RSVG
6208 if test -n "$RSVG"; then
6209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6210 $as_echo "$RSVG" >&6; }
6211 else
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6213 $as_echo "no" >&6; }
6217 test -n "$RSVG" && break
6218 done
6219 test -n "$RSVG" || RSVG="false"
6221 for ac_prog in convert
6223 # Extract the first word of "$ac_prog", so it can be a program name with args.
6224 set dummy $ac_prog; ac_word=$2
6225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6226 $as_echo_n "checking for $ac_word... " >&6; }
6227 if ${ac_cv_prog_CONVERT+:} false; then :
6228 $as_echo_n "(cached) " >&6
6229 else
6230 if test -n "$CONVERT"; then
6231 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6232 else
6233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6234 for as_dir in $PATH
6236 IFS=$as_save_IFS
6237 test -z "$as_dir" && as_dir=.
6238 for ac_exec_ext in '' $ac_executable_extensions; do
6239 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6240 ac_cv_prog_CONVERT="$ac_prog"
6241 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6242 break 2
6244 done
6245 done
6246 IFS=$as_save_IFS
6250 CONVERT=$ac_cv_prog_CONVERT
6251 if test -n "$CONVERT"; then
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6253 $as_echo "$CONVERT" >&6; }
6254 else
6255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6256 $as_echo "no" >&6; }
6260 test -n "$CONVERT" && break
6261 done
6262 test -n "$CONVERT" || CONVERT="false"
6264 for ac_prog in icotool
6266 # Extract the first word of "$ac_prog", so it can be a program name with args.
6267 set dummy $ac_prog; ac_word=$2
6268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6269 $as_echo_n "checking for $ac_word... " >&6; }
6270 if ${ac_cv_prog_ICOTOOL+:} false; then :
6271 $as_echo_n "(cached) " >&6
6272 else
6273 if test -n "$ICOTOOL"; then
6274 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6275 else
6276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6277 for as_dir in $PATH
6279 IFS=$as_save_IFS
6280 test -z "$as_dir" && as_dir=.
6281 for ac_exec_ext in '' $ac_executable_extensions; do
6282 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6283 ac_cv_prog_ICOTOOL="$ac_prog"
6284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6285 break 2
6287 done
6288 done
6289 IFS=$as_save_IFS
6293 ICOTOOL=$ac_cv_prog_ICOTOOL
6294 if test -n "$ICOTOOL"; then
6295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6296 $as_echo "$ICOTOOL" >&6; }
6297 else
6298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6299 $as_echo "no" >&6; }
6303 test -n "$ICOTOOL" && break
6304 done
6305 test -n "$ICOTOOL" || ICOTOOL="false"
6307 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6308 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6310 if test "$CONVERT" = false
6311 then
6312 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6313 else
6314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6315 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6316 convert_version=`convert --version | head -n1`
6317 if test "x$convert_version" != "x"
6318 then
6319 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6320 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6321 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6322 then
6323 CONVERT=false
6326 if test "$CONVERT" = false
6327 then
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6329 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6330 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6331 else
6332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6333 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6337 if test "$ICOTOOL" = false
6338 then
6339 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6340 else
6341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6342 $as_echo_n "checking for recent enough icotool... " >&6; }
6343 icotool_version=`icotool --version | head -n1`
6344 if test "x$icotool_version" != "x"
6345 then
6346 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6347 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6348 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6349 then
6350 ICOTOOL=false
6351 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6354 if test "$ICOTOOL" = false
6355 then
6356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6357 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6358 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6359 else
6360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6361 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6365 with_gettext=yes
6366 with_gettextpo=yes
6367 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6370 test "x$with_gettext" != xno || MSGFMT=false
6371 if test "$MSGFMT" != "false"
6372 then
6373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6374 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6375 cat >conftest.po <<EOF
6376 # comment
6377 msgctxt "ctxt"
6378 msgid "id"
6379 msgstr "str"
6381 if $MSGFMT -o /dev/null conftest.po 2>&5
6382 then
6383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6384 $as_echo "yes" >&6; }
6385 else
6386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6387 $as_echo "no" >&6; }
6388 MSGFMT=false
6391 if test "$MSGFMT" = false; then :
6392 case "x$with_gettext" in
6393 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6394 xno) ;;
6395 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6396 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6397 esac
6398 enable_po=${enable_po:-no}
6402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6403 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6404 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6405 $as_echo_n "(cached) " >&6
6406 else
6407 ac_check_lib_save_LIBS=$LIBS
6408 LIBS="-li386 $LIBS"
6409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6410 /* end confdefs.h. */
6412 /* Override any GCC internal prototype to avoid an error.
6413 Use char because int might match the return type of a GCC
6414 builtin and then its argument prototype would still apply. */
6415 #ifdef __cplusplus
6416 extern "C"
6417 #endif
6418 char i386_set_ldt ();
6420 main ()
6422 return i386_set_ldt ();
6424 return 0;
6426 _ACEOF
6427 if ac_fn_c_try_link "$LINENO"; then :
6428 ac_cv_lib_i386_i386_set_ldt=yes
6429 else
6430 ac_cv_lib_i386_i386_set_ldt=no
6432 rm -f core conftest.err conftest.$ac_objext \
6433 conftest$ac_exeext conftest.$ac_ext
6434 LIBS=$ac_check_lib_save_LIBS
6436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6437 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6438 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6439 cat >>confdefs.h <<_ACEOF
6440 #define HAVE_LIBI386 1
6441 _ACEOF
6443 LIBS="-li386 $LIBS"
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6448 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6449 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6450 $as_echo_n "(cached) " >&6
6451 else
6452 ac_check_lib_save_LIBS=$LIBS
6453 LIBS="-lossaudio $LIBS"
6454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6455 /* end confdefs.h. */
6457 /* Override any GCC internal prototype to avoid an error.
6458 Use char because int might match the return type of a GCC
6459 builtin and then its argument prototype would still apply. */
6460 #ifdef __cplusplus
6461 extern "C"
6462 #endif
6463 char _oss_ioctl ();
6465 main ()
6467 return _oss_ioctl ();
6469 return 0;
6471 _ACEOF
6472 if ac_fn_c_try_link "$LINENO"; then :
6473 ac_cv_lib_ossaudio__oss_ioctl=yes
6474 else
6475 ac_cv_lib_ossaudio__oss_ioctl=no
6477 rm -f core conftest.err conftest.$ac_objext \
6478 conftest$ac_exeext conftest.$ac_ext
6479 LIBS=$ac_check_lib_save_LIBS
6481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6482 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6483 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6484 cat >>confdefs.h <<_ACEOF
6485 #define HAVE_LIBOSSAUDIO 1
6486 _ACEOF
6488 LIBS="-lossaudio $LIBS"
6493 OPENGL_LIBS=""
6497 # Check whether --enable-largefile was given.
6498 if test "${enable_largefile+set}" = set; then :
6499 enableval=$enable_largefile;
6502 if test "$enable_largefile" != no; then
6504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6505 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6506 if ${ac_cv_sys_largefile_CC+:} false; then :
6507 $as_echo_n "(cached) " >&6
6508 else
6509 ac_cv_sys_largefile_CC=no
6510 if test "$GCC" != yes; then
6511 ac_save_CC=$CC
6512 while :; do
6513 # IRIX 6.2 and later do not support large files by default,
6514 # so use the C compiler's -n32 option if that helps.
6515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6516 /* end confdefs.h. */
6517 #include <sys/types.h>
6518 /* Check that off_t can represent 2**63 - 1 correctly.
6519 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6520 since some C++ compilers masquerading as C compilers
6521 incorrectly reject 9223372036854775807. */
6522 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6523 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6524 && LARGE_OFF_T % 2147483647 == 1)
6525 ? 1 : -1];
6527 main ()
6531 return 0;
6533 _ACEOF
6534 if ac_fn_c_try_compile "$LINENO"; then :
6535 break
6537 rm -f core conftest.err conftest.$ac_objext
6538 CC="$CC -n32"
6539 if ac_fn_c_try_compile "$LINENO"; then :
6540 ac_cv_sys_largefile_CC=' -n32'; break
6542 rm -f core conftest.err conftest.$ac_objext
6543 break
6544 done
6545 CC=$ac_save_CC
6546 rm -f conftest.$ac_ext
6549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6550 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6551 if test "$ac_cv_sys_largefile_CC" != no; then
6552 CC=$CC$ac_cv_sys_largefile_CC
6555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6556 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6557 if ${ac_cv_sys_file_offset_bits+:} false; then :
6558 $as_echo_n "(cached) " >&6
6559 else
6560 while :; do
6561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6562 /* end confdefs.h. */
6563 #include <sys/types.h>
6564 /* Check that off_t can represent 2**63 - 1 correctly.
6565 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6566 since some C++ compilers masquerading as C compilers
6567 incorrectly reject 9223372036854775807. */
6568 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6569 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6570 && LARGE_OFF_T % 2147483647 == 1)
6571 ? 1 : -1];
6573 main ()
6577 return 0;
6579 _ACEOF
6580 if ac_fn_c_try_compile "$LINENO"; then :
6581 ac_cv_sys_file_offset_bits=no; break
6583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6585 /* end confdefs.h. */
6586 #define _FILE_OFFSET_BITS 64
6587 #include <sys/types.h>
6588 /* Check that off_t can represent 2**63 - 1 correctly.
6589 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6590 since some C++ compilers masquerading as C compilers
6591 incorrectly reject 9223372036854775807. */
6592 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6593 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6594 && LARGE_OFF_T % 2147483647 == 1)
6595 ? 1 : -1];
6597 main ()
6601 return 0;
6603 _ACEOF
6604 if ac_fn_c_try_compile "$LINENO"; then :
6605 ac_cv_sys_file_offset_bits=64; break
6607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6608 ac_cv_sys_file_offset_bits=unknown
6609 break
6610 done
6612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6613 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6614 case $ac_cv_sys_file_offset_bits in #(
6615 no | unknown) ;;
6617 cat >>confdefs.h <<_ACEOF
6618 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6619 _ACEOF
6621 esac
6622 rm -rf conftest*
6623 if test $ac_cv_sys_file_offset_bits = unknown; then
6624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6625 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6626 if ${ac_cv_sys_large_files+:} false; then :
6627 $as_echo_n "(cached) " >&6
6628 else
6629 while :; do
6630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6631 /* end confdefs.h. */
6632 #include <sys/types.h>
6633 /* Check that off_t can represent 2**63 - 1 correctly.
6634 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6635 since some C++ compilers masquerading as C compilers
6636 incorrectly reject 9223372036854775807. */
6637 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6638 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6639 && LARGE_OFF_T % 2147483647 == 1)
6640 ? 1 : -1];
6642 main ()
6646 return 0;
6648 _ACEOF
6649 if ac_fn_c_try_compile "$LINENO"; then :
6650 ac_cv_sys_large_files=no; break
6652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6654 /* end confdefs.h. */
6655 #define _LARGE_FILES 1
6656 #include <sys/types.h>
6657 /* Check that off_t can represent 2**63 - 1 correctly.
6658 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6659 since some C++ compilers masquerading as C compilers
6660 incorrectly reject 9223372036854775807. */
6661 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6662 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6663 && LARGE_OFF_T % 2147483647 == 1)
6664 ? 1 : -1];
6666 main ()
6670 return 0;
6672 _ACEOF
6673 if ac_fn_c_try_compile "$LINENO"; then :
6674 ac_cv_sys_large_files=1; break
6676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6677 ac_cv_sys_large_files=unknown
6678 break
6679 done
6681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6682 $as_echo "$ac_cv_sys_large_files" >&6; }
6683 case $ac_cv_sys_large_files in #(
6684 no | unknown) ;;
6686 cat >>confdefs.h <<_ACEOF
6687 #define _LARGE_FILES $ac_cv_sys_large_files
6688 _ACEOF
6690 esac
6691 rm -rf conftest*
6698 ac_ext=c
6699 ac_cpp='$CPP $CPPFLAGS'
6700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6704 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6705 # On Suns, sometimes $CPP names a directory.
6706 if test -n "$CPP" && test -d "$CPP"; then
6707 CPP=
6709 if test -z "$CPP"; then
6710 if ${ac_cv_prog_CPP+:} false; then :
6711 $as_echo_n "(cached) " >&6
6712 else
6713 # Double quotes because CPP needs to be expanded
6714 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6716 ac_preproc_ok=false
6717 for ac_c_preproc_warn_flag in '' yes
6719 # Use a header file that comes with gcc, so configuring glibc
6720 # with a fresh cross-compiler works.
6721 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6722 # <limits.h> exists even on freestanding compilers.
6723 # On the NeXT, cc -E runs the code through the compiler's parser,
6724 # not just through cpp. "Syntax error" is here to catch this case.
6725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6726 /* end confdefs.h. */
6727 #ifdef __STDC__
6728 # include <limits.h>
6729 #else
6730 # include <assert.h>
6731 #endif
6732 Syntax error
6733 _ACEOF
6734 if ac_fn_c_try_cpp "$LINENO"; then :
6736 else
6737 # Broken: fails on valid input.
6738 continue
6740 rm -f conftest.err conftest.i conftest.$ac_ext
6742 # OK, works on sane cases. Now check whether nonexistent headers
6743 # can be detected and how.
6744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6745 /* end confdefs.h. */
6746 #include <ac_nonexistent.h>
6747 _ACEOF
6748 if ac_fn_c_try_cpp "$LINENO"; then :
6749 # Broken: success on invalid input.
6750 continue
6751 else
6752 # Passes both tests.
6753 ac_preproc_ok=:
6754 break
6756 rm -f conftest.err conftest.i conftest.$ac_ext
6758 done
6759 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6760 rm -f conftest.i conftest.err conftest.$ac_ext
6761 if $ac_preproc_ok; then :
6762 break
6765 done
6766 ac_cv_prog_CPP=$CPP
6769 CPP=$ac_cv_prog_CPP
6770 else
6771 ac_cv_prog_CPP=$CPP
6773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6774 $as_echo "$CPP" >&6; }
6775 ac_preproc_ok=false
6776 for ac_c_preproc_warn_flag in '' yes
6778 # Use a header file that comes with gcc, so configuring glibc
6779 # with a fresh cross-compiler works.
6780 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6781 # <limits.h> exists even on freestanding compilers.
6782 # On the NeXT, cc -E runs the code through the compiler's parser,
6783 # not just through cpp. "Syntax error" is here to catch this case.
6784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6785 /* end confdefs.h. */
6786 #ifdef __STDC__
6787 # include <limits.h>
6788 #else
6789 # include <assert.h>
6790 #endif
6791 Syntax error
6792 _ACEOF
6793 if ac_fn_c_try_cpp "$LINENO"; then :
6795 else
6796 # Broken: fails on valid input.
6797 continue
6799 rm -f conftest.err conftest.i conftest.$ac_ext
6801 # OK, works on sane cases. Now check whether nonexistent headers
6802 # can be detected and how.
6803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6804 /* end confdefs.h. */
6805 #include <ac_nonexistent.h>
6806 _ACEOF
6807 if ac_fn_c_try_cpp "$LINENO"; then :
6808 # Broken: success on invalid input.
6809 continue
6810 else
6811 # Passes both tests.
6812 ac_preproc_ok=:
6813 break
6815 rm -f conftest.err conftest.i conftest.$ac_ext
6817 done
6818 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6819 rm -f conftest.i conftest.err conftest.$ac_ext
6820 if $ac_preproc_ok; then :
6822 else
6823 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6824 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6825 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6826 See \`config.log' for more details" "$LINENO" 5; }
6829 ac_ext=c
6830 ac_cpp='$CPP $CPPFLAGS'
6831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6837 $as_echo_n "checking for ANSI C header files... " >&6; }
6838 if ${ac_cv_header_stdc+:} false; then :
6839 $as_echo_n "(cached) " >&6
6840 else
6841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6842 /* end confdefs.h. */
6843 #include <stdlib.h>
6844 #include <stdarg.h>
6845 #include <string.h>
6846 #include <float.h>
6849 main ()
6853 return 0;
6855 _ACEOF
6856 if ac_fn_c_try_compile "$LINENO"; then :
6857 ac_cv_header_stdc=yes
6858 else
6859 ac_cv_header_stdc=no
6861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6863 if test $ac_cv_header_stdc = yes; then
6864 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6866 /* end confdefs.h. */
6867 #include <string.h>
6869 _ACEOF
6870 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6871 $EGREP "memchr" >/dev/null 2>&1; then :
6873 else
6874 ac_cv_header_stdc=no
6876 rm -f conftest*
6880 if test $ac_cv_header_stdc = yes; then
6881 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6883 /* end confdefs.h. */
6884 #include <stdlib.h>
6886 _ACEOF
6887 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6888 $EGREP "free" >/dev/null 2>&1; then :
6890 else
6891 ac_cv_header_stdc=no
6893 rm -f conftest*
6897 if test $ac_cv_header_stdc = yes; then
6898 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6899 if test "$cross_compiling" = yes; then :
6901 else
6902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6903 /* end confdefs.h. */
6904 #include <ctype.h>
6905 #include <stdlib.h>
6906 #if ((' ' & 0x0FF) == 0x020)
6907 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6908 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6909 #else
6910 # define ISLOWER(c) \
6911 (('a' <= (c) && (c) <= 'i') \
6912 || ('j' <= (c) && (c) <= 'r') \
6913 || ('s' <= (c) && (c) <= 'z'))
6914 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6915 #endif
6917 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6919 main ()
6921 int i;
6922 for (i = 0; i < 256; i++)
6923 if (XOR (islower (i), ISLOWER (i))
6924 || toupper (i) != TOUPPER (i))
6925 return 2;
6926 return 0;
6928 _ACEOF
6929 if ac_fn_c_try_run "$LINENO"; then :
6931 else
6932 ac_cv_header_stdc=no
6934 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6935 conftest.$ac_objext conftest.beam conftest.$ac_ext
6940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6941 $as_echo "$ac_cv_header_stdc" >&6; }
6942 if test $ac_cv_header_stdc = yes; then
6944 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6948 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6949 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6950 inttypes.h stdint.h unistd.h
6951 do :
6952 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6953 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6955 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6956 cat >>confdefs.h <<_ACEOF
6957 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6958 _ACEOF
6962 done
6965 for ac_header in \
6966 AL/al.h \
6967 ApplicationServices/ApplicationServices.h \
6968 AudioToolbox/AudioConverter.h \
6969 AudioUnit/AudioUnit.h \
6970 AudioUnit/AudioComponent.h \
6971 CL/cl.h \
6972 Carbon/Carbon.h \
6973 CommonCrypto/CommonCryptor.h \
6974 CoreAudio/CoreAudio.h \
6975 CoreServices/CoreServices.h \
6976 DiskArbitration/DiskArbitration.h \
6977 EGL/egl.h \
6978 IOKit/IOKitLib.h \
6979 IOKit/hid/IOHIDLib.h \
6980 OpenAL/al.h \
6981 OpenCL/opencl.h \
6982 QuickTime/ImageCompression.h \
6983 Security/Security.h \
6984 alias.h \
6985 alsa/asoundlib.h \
6986 arpa/inet.h \
6987 arpa/nameser.h \
6988 asm/types.h \
6989 asm/user.h \
6990 curses.h \
6991 direct.h \
6992 dirent.h \
6993 dlfcn.h \
6994 elf.h \
6995 float.h \
6996 fnmatch.h \
6997 getopt.h \
6998 gettext-po.h \
6999 grp.h \
7000 gsm.h \
7001 gsm/gsm.h \
7002 ieeefp.h \
7003 inet/mib2.h \
7004 io.h \
7005 kstat.h \
7006 libproc.h \
7007 link.h \
7008 linux/cdrom.h \
7009 linux/compiler.h \
7010 linux/filter.h \
7011 linux/hdreg.h \
7012 linux/hidraw.h \
7013 linux/input.h \
7014 linux/ioctl.h \
7015 linux/joystick.h \
7016 linux/major.h \
7017 linux/param.h \
7018 linux/serial.h \
7019 linux/types.h \
7020 linux/ucdrom.h \
7021 lwp.h \
7022 mach-o/nlist.h \
7023 mach-o/loader.h \
7024 mach/mach.h \
7025 mach/machine.h \
7026 machine/cpu.h \
7027 machine/limits.h \
7028 machine/sysarch.h \
7029 mntent.h \
7030 ncurses.h \
7031 netdb.h \
7032 netinet/in.h \
7033 netinet/in_systm.h \
7034 netinet/tcp.h \
7035 netinet/tcp_fsm.h \
7036 pcap/pcap.h \
7037 poll.h \
7038 port.h \
7039 process.h \
7040 pthread.h \
7041 pwd.h \
7042 sched.h \
7043 scsi/scsi.h \
7044 scsi/scsi_ioctl.h \
7045 scsi/sg.h \
7046 stdbool.h \
7047 stdint.h \
7048 stropts.h \
7049 sys/asoundlib.h \
7050 sys/attr.h \
7051 sys/auxv.h \
7052 sys/cdio.h \
7053 sys/elf32.h \
7054 sys/epoll.h \
7055 sys/event.h \
7056 sys/exec_elf.h \
7057 sys/filio.h \
7058 sys/inotify.h \
7059 sys/ioctl.h \
7060 sys/ipc.h \
7061 sys/limits.h \
7062 sys/link.h \
7063 sys/mman.h \
7064 sys/modem.h \
7065 sys/msg.h \
7066 sys/mtio.h \
7067 sys/param.h \
7068 sys/poll.h \
7069 sys/prctl.h \
7070 sys/protosw.h \
7071 sys/ptrace.h \
7072 sys/queue.h \
7073 sys/resource.h \
7074 sys/scsiio.h \
7075 sys/shm.h \
7076 sys/signal.h \
7077 sys/socket.h \
7078 sys/socketvar.h \
7079 sys/sockio.h \
7080 sys/statvfs.h \
7081 sys/strtio.h \
7082 sys/syscall.h \
7083 sys/sysinfo.h \
7084 sys/tihdr.h \
7085 sys/time.h \
7086 sys/timeout.h \
7087 sys/times.h \
7088 sys/uio.h \
7089 sys/user.h \
7090 sys/utsname.h \
7091 sys/vnode.h \
7092 sys/wait.h \
7093 syscall.h \
7094 termios.h \
7095 unistd.h \
7096 utime.h \
7097 valgrind/memcheck.h \
7098 valgrind/valgrind.h \
7099 zlib.h
7101 do :
7102 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7103 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7104 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7105 cat >>confdefs.h <<_ACEOF
7106 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7107 _ACEOF
7111 done
7113 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7114 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7116 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7121 if test $ac_cv_header_sys_mkdev_h = no; then
7122 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7123 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7125 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7132 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7133 if ${ac_cv_header_stat_broken+:} false; then :
7134 $as_echo_n "(cached) " >&6
7135 else
7136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7137 /* end confdefs.h. */
7138 #include <sys/types.h>
7139 #include <sys/stat.h>
7141 #if defined S_ISBLK && defined S_IFDIR
7142 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7143 #endif
7145 #if defined S_ISBLK && defined S_IFCHR
7146 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7147 #endif
7149 #if defined S_ISLNK && defined S_IFREG
7150 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7151 #endif
7153 #if defined S_ISSOCK && defined S_IFREG
7154 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7155 #endif
7157 _ACEOF
7158 if ac_fn_c_try_compile "$LINENO"; then :
7159 ac_cv_header_stat_broken=no
7160 else
7161 ac_cv_header_stat_broken=yes
7163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7166 $as_echo "$ac_cv_header_stat_broken" >&6; }
7167 if test $ac_cv_header_stat_broken = yes; then
7169 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7175 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7176 do :
7177 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7178 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7179 #ifdef HAVE_SYS_PARAM_H
7180 # include <sys/param.h>
7181 #endif
7183 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7184 cat >>confdefs.h <<_ACEOF
7185 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7186 _ACEOF
7190 done
7193 for ac_header in \
7194 netinet/ip.h \
7195 net/if.h \
7196 net/if_arp.h \
7197 net/if_dl.h \
7198 net/if_types.h \
7199 net/route.h \
7200 netinet/if_ether.h \
7201 netinet/if_inarp.h \
7202 netinet/in_pcb.h \
7203 netinet/ip_icmp.h \
7204 netinet/ip_var.h \
7205 netinet/udp.h \
7206 netipx/ipx.h \
7207 sys/un.h \
7209 do :
7210 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7211 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7212 #ifdef HAVE_SYS_SOCKET_H
7213 # include <sys/socket.h>
7214 #endif
7215 #ifdef HAVE_SYS_SOCKETVAR_H
7216 # include <sys/socketvar.h>
7217 #endif
7218 #ifdef HAVE_NET_ROUTE_H
7219 # include <net/route.h>
7220 #endif
7221 #ifdef HAVE_NETINET_IN_H
7222 # include <netinet/in.h>
7223 #endif
7224 #ifdef HAVE_NETINET_IN_SYSTM_H
7225 # include <netinet/in_systm.h>
7226 #endif
7227 #ifdef HAVE_NET_IF_H
7228 # include <net/if.h>
7229 #endif
7230 #ifdef HAVE_NETINET_IP_H
7231 # include <netinet/ip.h>
7232 #endif
7234 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7235 cat >>confdefs.h <<_ACEOF
7236 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7237 _ACEOF
7241 done
7244 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7245 do :
7246 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7247 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7248 #ifdef HAVE_ALIAS_H
7249 # include <alias.h>
7250 #endif
7251 #ifdef HAVE_SYS_SOCKET_H
7252 # include <sys/socket.h>
7253 #endif
7254 #ifdef HAVE_SYS_SOCKETVAR_H
7255 # include <sys/socketvar.h>
7256 #endif
7257 #ifdef HAVE_SYS_TIMEOUT_H
7258 # include <sys/timeout.h>
7259 #endif
7260 #ifdef HAVE_NETINET_IN_H
7261 # include <netinet/in.h>
7262 #endif
7263 #ifdef HAVE_NETINET_IN_SYSTM_H
7264 # include <netinet/in_systm.h>
7265 #endif
7266 #ifdef HAVE_NETINET_IP_H
7267 # include <netinet/ip.h>
7268 #endif
7269 #ifdef HAVE_NETINET_IP_VAR_H
7270 # include <netinet/ip_var.h>
7271 #endif
7272 #ifdef HAVE_NETINET_IP_ICMP_H
7273 # include <netinet/ip_icmp.h>
7274 #endif
7275 #ifdef HAVE_NETINET_UDP_H
7276 # include <netinet/udp.h>
7277 #endif
7278 #ifdef HAVE_NETINET_TCP_H
7279 # include <netinet/tcp.h>
7280 #endif
7281 #ifdef HAVE_NETINET_TCP_TIMER_H
7282 #include <netinet/tcp_timer.h>
7283 #endif
7285 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7286 cat >>confdefs.h <<_ACEOF
7287 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7288 _ACEOF
7292 done
7295 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7296 do :
7297 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7298 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7299 #ifdef HAVE_ASM_TYPES_H
7300 # include <asm/types.h>
7301 #endif
7302 #ifdef HAVE_SYS_SOCKET_H
7303 # include <sys/socket.h>
7304 #endif
7305 #ifdef HAVE_LINUX_TYPES_H
7306 # include <linux/types.h>
7307 #endif
7309 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7310 cat >>confdefs.h <<_ACEOF
7311 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7312 _ACEOF
7316 done
7319 for ac_header in mach-o/dyld_images.h
7320 do :
7321 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7322 # include <stdbool.h>
7323 #endif
7324 #ifdef HAVE_STDINT_H
7325 # include <stdint.h>
7326 #endif
7328 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7329 cat >>confdefs.h <<_ACEOF
7330 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7331 _ACEOF
7335 done
7338 for ac_header in resolv.h
7339 do :
7340 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7341 #ifdef HAVE_SYS_SOCKET_H
7342 # include <sys/socket.h>
7343 #endif
7344 #ifdef HAVE_NETINET_IN_H
7345 # include <netinet/in.h>
7346 #endif
7347 #ifdef HAVE_ARPA_NAMESER_H
7348 # include <arpa/nameser.h>
7349 #endif
7351 if test "x$ac_cv_header_resolv_h" = xyes; then :
7352 cat >>confdefs.h <<_ACEOF
7353 #define HAVE_RESOLV_H 1
7354 _ACEOF
7358 done
7361 for ac_header in ifaddrs.h
7362 do :
7363 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7365 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7366 cat >>confdefs.h <<_ACEOF
7367 #define HAVE_IFADDRS_H 1
7368 _ACEOF
7372 done
7375 for ac_header in sys/ucontext.h
7376 do :
7377 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7379 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7380 cat >>confdefs.h <<_ACEOF
7381 #define HAVE_SYS_UCONTEXT_H 1
7382 _ACEOF
7386 done
7389 for ac_header in sys/thr.h
7390 do :
7391 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7392 #ifdef HAVE_SYS_UCONTEXT_H
7393 #include <sys/ucontext.h>
7394 #endif
7396 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7397 cat >>confdefs.h <<_ACEOF
7398 #define HAVE_SYS_THR_H 1
7399 _ACEOF
7403 done
7406 for ac_header in pthread_np.h
7407 do :
7408 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7409 #include <pthread.h>
7410 #endif
7412 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7413 cat >>confdefs.h <<_ACEOF
7414 #define HAVE_PTHREAD_NP_H 1
7415 _ACEOF
7419 done
7422 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7423 do :
7424 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7425 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7426 #include <sys/time.h>
7427 #endif
7428 #include <sys/types.h>
7429 #ifdef HAVE_ASM_TYPES_H
7430 #include <asm/types.h>
7431 #endif
7433 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7434 cat >>confdefs.h <<_ACEOF
7435 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7436 _ACEOF
7440 done
7443 for ac_header in libprocstat.h
7444 do :
7445 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7446 #include <sys/param.h>
7447 #endif
7448 #ifdef HAVE_SYS_QUEUE_H
7449 #include <sys/queue.h>
7450 #endif
7451 #ifdef HAVE_SYS_SOCKET_H
7452 #include <sys/socket.h>
7453 #endif
7455 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7456 cat >>confdefs.h <<_ACEOF
7457 #define HAVE_LIBPROCSTAT_H 1
7458 _ACEOF
7462 done
7466 DLLFLAGS="-D_REENTRANT"
7468 LDRPATH_INSTALL=""
7470 LDRPATH_LOCAL=""
7472 LDEXECFLAGS=""
7474 WINELOADER_LDFLAGS=""
7476 LIBEXT="so"
7477 DLLEXT=".so"
7478 IMPLIBEXT="def"
7479 # Extract the first word of "ldd", so it can be a program name with args.
7480 set dummy ldd; ac_word=$2
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7482 $as_echo_n "checking for $ac_word... " >&6; }
7483 if ${ac_cv_path_LDD+:} false; then :
7484 $as_echo_n "(cached) " >&6
7485 else
7486 case $LDD in
7487 [\\/]* | ?:[\\/]*)
7488 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7492 as_dummy="/sbin:/usr/sbin:$PATH"
7493 for as_dir in $as_dummy
7495 IFS=$as_save_IFS
7496 test -z "$as_dir" && as_dir=.
7497 for ac_exec_ext in '' $ac_executable_extensions; do
7498 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7499 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7500 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7501 break 2
7503 done
7504 done
7505 IFS=$as_save_IFS
7507 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7509 esac
7511 LDD=$ac_cv_path_LDD
7512 if test -n "$LDD"; then
7513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7514 $as_echo "$LDD" >&6; }
7515 else
7516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7517 $as_echo "no" >&6; }
7521 if test -n "$ac_tool_prefix"; then
7522 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7523 set dummy ${ac_tool_prefix}otool; ac_word=$2
7524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7525 $as_echo_n "checking for $ac_word... " >&6; }
7526 if ${ac_cv_prog_OTOOL+:} false; then :
7527 $as_echo_n "(cached) " >&6
7528 else
7529 if test -n "$OTOOL"; then
7530 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7531 else
7532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7533 for as_dir in $PATH
7535 IFS=$as_save_IFS
7536 test -z "$as_dir" && as_dir=.
7537 for ac_exec_ext in '' $ac_executable_extensions; do
7538 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7539 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7541 break 2
7543 done
7544 done
7545 IFS=$as_save_IFS
7549 OTOOL=$ac_cv_prog_OTOOL
7550 if test -n "$OTOOL"; then
7551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7552 $as_echo "$OTOOL" >&6; }
7553 else
7554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7555 $as_echo "no" >&6; }
7560 if test -z "$ac_cv_prog_OTOOL"; then
7561 ac_ct_OTOOL=$OTOOL
7562 # Extract the first word of "otool", so it can be a program name with args.
7563 set dummy otool; ac_word=$2
7564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7565 $as_echo_n "checking for $ac_word... " >&6; }
7566 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7567 $as_echo_n "(cached) " >&6
7568 else
7569 if test -n "$ac_ct_OTOOL"; then
7570 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7571 else
7572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7573 for as_dir in $PATH
7575 IFS=$as_save_IFS
7576 test -z "$as_dir" && as_dir=.
7577 for ac_exec_ext in '' $ac_executable_extensions; do
7578 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7579 ac_cv_prog_ac_ct_OTOOL="otool"
7580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7581 break 2
7583 done
7584 done
7585 IFS=$as_save_IFS
7589 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7590 if test -n "$ac_ct_OTOOL"; then
7591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7592 $as_echo "$ac_ct_OTOOL" >&6; }
7593 else
7594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7595 $as_echo "no" >&6; }
7598 if test "x$ac_ct_OTOOL" = x; then
7599 OTOOL="otool"
7600 else
7601 case $cross_compiling:$ac_tool_warned in
7602 yes:)
7603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7604 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7605 ac_tool_warned=yes ;;
7606 esac
7607 OTOOL=$ac_ct_OTOOL
7609 else
7610 OTOOL="$ac_cv_prog_OTOOL"
7613 if test -n "$ac_tool_prefix"; then
7614 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7615 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7617 $as_echo_n "checking for $ac_word... " >&6; }
7618 if ${ac_cv_prog_READELF+:} false; then :
7619 $as_echo_n "(cached) " >&6
7620 else
7621 if test -n "$READELF"; then
7622 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7623 else
7624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7625 for as_dir in $PATH
7627 IFS=$as_save_IFS
7628 test -z "$as_dir" && as_dir=.
7629 for ac_exec_ext in '' $ac_executable_extensions; do
7630 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7631 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7633 break 2
7635 done
7636 done
7637 IFS=$as_save_IFS
7641 READELF=$ac_cv_prog_READELF
7642 if test -n "$READELF"; then
7643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7644 $as_echo "$READELF" >&6; }
7645 else
7646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7647 $as_echo "no" >&6; }
7652 if test -z "$ac_cv_prog_READELF"; then
7653 ac_ct_READELF=$READELF
7654 # Extract the first word of "readelf", so it can be a program name with args.
7655 set dummy readelf; ac_word=$2
7656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7657 $as_echo_n "checking for $ac_word... " >&6; }
7658 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7659 $as_echo_n "(cached) " >&6
7660 else
7661 if test -n "$ac_ct_READELF"; then
7662 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7663 else
7664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7665 for as_dir in $PATH
7667 IFS=$as_save_IFS
7668 test -z "$as_dir" && as_dir=.
7669 for ac_exec_ext in '' $ac_executable_extensions; do
7670 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7671 ac_cv_prog_ac_ct_READELF="readelf"
7672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7673 break 2
7675 done
7676 done
7677 IFS=$as_save_IFS
7681 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7682 if test -n "$ac_ct_READELF"; then
7683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7684 $as_echo "$ac_ct_READELF" >&6; }
7685 else
7686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7687 $as_echo "no" >&6; }
7690 if test "x$ac_ct_READELF" = x; then
7691 READELF="true"
7692 else
7693 case $cross_compiling:$ac_tool_warned in
7694 yes:)
7695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7696 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7697 ac_tool_warned=yes ;;
7698 esac
7699 READELF=$ac_ct_READELF
7701 else
7702 READELF="$ac_cv_prog_READELF"
7705 wine_rules_file=conf$$rules.make
7706 rm -f $wine_rules_file
7707 SUBDIRS=""
7709 DISABLED_SUBDIRS=""
7711 CONFIGURE_TARGETS=""
7713 ALL_TEST_RESOURCES=""
7716 wine_fn_append_file ()
7718 as_fn_append $1 " \\$as_nl $2"
7721 wine_fn_append_rule ()
7723 $as_echo "$1" >>$wine_rules_file
7726 wine_fn_has_flag ()
7728 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7731 wine_fn_all_rules ()
7733 wine_fn_append_file SUBDIRS $ac_dir
7734 wine_fn_append_rule \
7735 "all: $ac_dir
7736 .PHONY: $ac_dir
7737 $ac_dir: dummy
7738 @cd $ac_dir && \$(MAKE)"
7741 wine_fn_install_rules ()
7743 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7745 wine_fn_append_rule \
7746 ".PHONY: $ac_dir/install
7747 $ac_dir/install:: $ac_dir
7748 @cd $ac_dir && \$(MAKE) install
7749 install:: $ac_dir/install"
7751 if wine_fn_has_flag install-lib
7752 then
7753 wine_fn_append_rule \
7754 ".PHONY: $ac_dir/install-lib
7755 $ac_dir/install-lib:: $ac_dir
7756 @cd $ac_dir && \$(MAKE) install-lib
7757 install-lib:: $ac_dir/install-lib"
7760 if wine_fn_has_flag install-dev
7761 then
7762 wine_fn_append_rule \
7763 ".PHONY: $ac_dir/install-dev
7764 $ac_dir/install-dev:: $ac_dir
7765 @cd $ac_dir && \$(MAKE) install-dev
7766 install-dev:: $ac_dir/install-dev"
7770 wine_fn_disabled_rules ()
7772 wine_fn_append_file SUBDIRS $ac_dir
7773 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7776 wine_fn_config_makefile ()
7778 ac_dir=$1
7779 ac_enable=$2
7780 ac_flags=$3
7782 case $ac_dir in
7783 fonts|server) test -z "$with_wine64" || return ;;
7784 esac
7785 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7786 wine_fn_disabled_rules; return
7788 wine_fn_all_rules
7789 wine_fn_install_rules
7792 wine_fn_config_lib ()
7794 ac_name=$1
7795 ac_flags=$2
7796 ac_dir=dlls/$ac_name
7797 ac_deps="include"
7799 if test "x$enable_tools" = xno; then :
7801 else
7802 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7804 wine_fn_all_rules
7806 wine_fn_append_rule \
7807 ".PHONY: $ac_dir/install
7808 $ac_dir/install:: $ac_dir
7809 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7810 install install-dev:: $ac_dir/install
7811 __builddeps__: $ac_dir
7812 $ac_dir: $ac_deps"
7815 wine_fn_config_dll ()
7817 ac_name=$1
7818 ac_dir=dlls/$ac_name
7819 ac_enable=$2
7820 ac_flags=$3
7821 ac_implib=${4:-$ac_name}
7822 ac_file=$ac_dir/lib$ac_implib
7823 ac_dll=$ac_name
7824 ac_deps="include"
7825 ac_implibflags=""
7827 if test "x$enable_tools" = xno; then :
7829 else
7830 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7832 case $ac_name in
7833 *.*16) ac_implibflags=" -m16" ;;
7834 *.*) ;;
7835 *) ac_dll=$ac_dll.dll ;;
7836 esac
7838 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7839 if test "$ac_enable" != enable_win16
7840 then
7841 wine_fn_append_file SUBDIRS $ac_dir
7842 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7843 else
7844 wine_fn_disabled_rules
7845 return
7847 else
7848 wine_fn_all_rules
7849 wine_fn_append_rule \
7850 "$ac_dir: __builddeps__
7851 manpages htmlpages sgmlpages xmlpages::
7852 @cd $ac_dir && \$(MAKE) \$@
7853 .PHONY: $ac_dir/install-lib
7854 install install-lib:: $ac_dir/install-lib"
7855 if test -n "$DLLEXT"
7856 then
7857 wine_fn_append_rule \
7858 "$ac_dir/install-lib:: $ac_dir
7859 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7860 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(dlldir)/fakedlls/$ac_dll"
7861 else
7862 wine_fn_append_rule \
7863 "$ac_dir/install-lib:: $ac_dir
7864 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll"
7868 if wine_fn_has_flag staticimplib
7869 then
7870 wine_fn_append_rule \
7871 "__builddeps__: $ac_file.a
7872 $ac_file.a $ac_file.cross.a: $ac_deps
7873 $ac_file.a: dummy
7874 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7875 .PHONY: $ac_dir/install-dev
7876 $ac_dir/install-dev:: $ac_file.a
7877 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7878 install install-dev:: $ac_dir/install-dev"
7880 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7881 then
7882 wine_fn_append_rule \
7883 "__builddeps__: $ac_file.cross.a
7884 $ac_file.cross.a: dummy
7885 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7888 elif wine_fn_has_flag implib
7889 then
7890 wine_fn_append_rule \
7891 "__builddeps__: $ac_file.$IMPLIBEXT
7892 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7893 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7894 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7895 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7896 .PHONY: $ac_dir/install-dev
7897 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7898 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7899 install install-dev:: $ac_dir/install-dev"
7900 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7901 then
7902 wine_fn_append_rule \
7903 "__builddeps__: $ac_file.cross.a
7904 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7905 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7910 wine_fn_config_program ()
7912 ac_name=$1
7913 ac_dir=programs/$ac_name
7914 ac_enable=$2
7915 ac_flags=$3
7916 ac_program=$ac_name
7918 case $ac_name in
7919 *.*) ;;
7920 *) ac_program=$ac_program.exe ;;
7921 esac
7923 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7924 wine_fn_disabled_rules; return
7927 wine_fn_all_rules
7928 wine_fn_append_rule "$ac_dir: __builddeps__"
7930 wine_fn_has_flag install || return
7931 wine_fn_append_rule \
7932 ".PHONY: $ac_dir/install
7933 install install-lib:: $ac_dir/install"
7935 if test -n "$DLLEXT"
7936 then
7937 wine_fn_append_rule \
7938 "$ac_dir/install:: $ac_dir
7939 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7940 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(dlldir)/fakedlls/$ac_program"
7942 if test -z "$with_wine64" && wine_fn_has_flag installbin
7943 then
7944 wine_fn_append_rule \
7945 "$ac_dir/install:: __tooldeps__
7946 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name"
7948 else
7949 wine_fn_append_rule \
7950 "$ac_dir/install:: $ac_dir
7951 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program"
7954 if test -z "$with_wine64" && wine_fn_has_flag manpage
7955 then
7956 wine_fn_append_rule \
7957 "$ac_dir/install:: $ac_dir
7958 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7962 wine_fn_config_test ()
7964 ac_dir=$1
7965 ac_name=$2
7966 ac_flags=$3
7968 if test "x$enable_tests" = xno; then :
7969 wine_fn_disabled_rules; return
7972 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7973 wine_fn_all_rules
7975 wine_fn_append_rule \
7976 "$ac_dir: __builddeps__
7977 programs/winetest: $ac_dir
7978 check test: $ac_dir/test
7979 .PHONY: $ac_dir/test
7980 $ac_dir/test: dummy
7981 @cd $ac_dir && \$(MAKE) test"
7983 if test -n "$CROSSTARGET"
7984 then
7985 wine_fn_append_rule \
7986 "crosstest: $ac_dir/crosstest
7987 .PHONY: $ac_dir/crosstest
7988 $ac_dir/crosstest: __builddeps__ dummy
7989 @cd $ac_dir && \$(MAKE) crosstest"
7993 wine_fn_config_tool ()
7995 ac_dir=$1
7996 ac_flags=$2
7997 if test "x$enable_tools" = xno; then :
7998 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
8001 wine_fn_all_rules
8002 wine_fn_install_rules
8004 wine_fn_append_rule "__tooldeps__: $ac_dir"
8005 wine_fn_append_rule "$ac_dir: libs/port"
8006 case $ac_dir in
8007 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
8008 esac
8011 wine_fn_config_symlink ()
8013 ac_linkdir=
8014 if test "x$1" = "x-d"
8015 then
8016 ac_linkdir=$2
8017 shift; shift
8019 ac_links=$@
8020 wine_fn_append_rule \
8021 "$ac_links:
8022 @./config.status \$@"
8023 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8024 test -n "$ac_linkdir" || return
8025 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
8028 wine_binary="wine"
8029 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8030 WINELOADER_PROGRAMS="$wine_binary"
8032 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8034 case $host_os in
8035 cygwin*|mingw32*)
8036 if test -n "$ac_tool_prefix"; then
8037 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8038 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8040 $as_echo_n "checking for $ac_word... " >&6; }
8041 if ${ac_cv_prog_DLLTOOL+:} false; then :
8042 $as_echo_n "(cached) " >&6
8043 else
8044 if test -n "$DLLTOOL"; then
8045 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8046 else
8047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8048 for as_dir in $PATH
8050 IFS=$as_save_IFS
8051 test -z "$as_dir" && as_dir=.
8052 for ac_exec_ext in '' $ac_executable_extensions; do
8053 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8054 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8056 break 2
8058 done
8059 done
8060 IFS=$as_save_IFS
8064 DLLTOOL=$ac_cv_prog_DLLTOOL
8065 if test -n "$DLLTOOL"; then
8066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8067 $as_echo "$DLLTOOL" >&6; }
8068 else
8069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8070 $as_echo "no" >&6; }
8075 if test -z "$ac_cv_prog_DLLTOOL"; then
8076 ac_ct_DLLTOOL=$DLLTOOL
8077 # Extract the first word of "dlltool", so it can be a program name with args.
8078 set dummy dlltool; ac_word=$2
8079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8080 $as_echo_n "checking for $ac_word... " >&6; }
8081 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8082 $as_echo_n "(cached) " >&6
8083 else
8084 if test -n "$ac_ct_DLLTOOL"; then
8085 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8086 else
8087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8088 for as_dir in $PATH
8090 IFS=$as_save_IFS
8091 test -z "$as_dir" && as_dir=.
8092 for ac_exec_ext in '' $ac_executable_extensions; do
8093 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8094 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8096 break 2
8098 done
8099 done
8100 IFS=$as_save_IFS
8104 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8105 if test -n "$ac_ct_DLLTOOL"; then
8106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8107 $as_echo "$ac_ct_DLLTOOL" >&6; }
8108 else
8109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8110 $as_echo "no" >&6; }
8113 if test "x$ac_ct_DLLTOOL" = x; then
8114 DLLTOOL="false"
8115 else
8116 case $cross_compiling:$ac_tool_warned in
8117 yes:)
8118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8119 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8120 ac_tool_warned=yes ;;
8121 esac
8122 DLLTOOL=$ac_ct_DLLTOOL
8124 else
8125 DLLTOOL="$ac_cv_prog_DLLTOOL"
8128 LIBEXT="dll"
8129 DLLEXT=""
8130 IMPLIBEXT="a"
8131 enable_iphlpapi=${enable_iphlpapi:-no}
8132 enable_kernel32=${enable_kernel32:-no}
8133 enable_msvcrt=${enable_msvcrt:-no}
8134 enable_ntdll=${enable_ntdll:-no}
8135 enable_ws2_32=${enable_ws2_32:-no}
8136 enable_loader=${enable_loader:-no}
8137 enable_server=${enable_server:-no}
8138 with_x=${with_x:-no}
8139 with_pthread=${with_pthread:-no}
8141 crtlibs=""
8142 case $host_os in
8143 mingw32*)
8144 crtlibs="-lmsvcrt"
8145 SOCKET_LIBS="-lws2_32"
8147 esac
8149 LIBWINE_SHAREDLIB="libwine.dll"
8151 LIBWINE_IMPORTLIB="libwine.a"
8153 LIBWINE_INSTALL_LIB="libwine.dll"
8155 LIBWINE_INSTALL_DEV="libwine.a"
8157 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8159 LIBWINE_DEPENDS="wine.def"
8163 darwin*|macosx*)
8164 for ac_header in libunwind.h
8165 do :
8166 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8167 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8168 cat >>confdefs.h <<_ACEOF
8169 #define HAVE_LIBUNWIND_H 1
8170 _ACEOF
8174 done
8176 LIBEXT="dylib"
8177 DLLFLAGS="$DLLFLAGS -fPIC"
8178 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8179 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8180 COREFOUNDATION_LIBS="-framework CoreFoundation"
8182 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8184 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8186 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8188 CORESERVICES_LIBS="-framework CoreServices"
8190 APPKIT_LIBS="-framework AppKit"
8192 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8194 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8195 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8196 $as_echo_n "(cached) " >&6
8197 else
8198 ac_wine_try_cflags_saved=$CFLAGS
8199 CFLAGS="$CFLAGS -Wl,-no_pie"
8200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8201 /* end confdefs.h. */
8202 int main(int argc, char **argv) { return 0; }
8203 _ACEOF
8204 if ac_fn_c_try_link "$LINENO"; then :
8205 ac_cv_cflags__Wl__no_pie=yes
8206 else
8207 ac_cv_cflags__Wl__no_pie=no
8209 rm -f core conftest.err conftest.$ac_objext \
8210 conftest$ac_exeext conftest.$ac_ext
8211 CFLAGS=$ac_wine_try_cflags_saved
8213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8214 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8215 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8216 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
8218 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8219 then
8220 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8223 if test "$ac_cv_header_Security_Security_h" = "yes"
8224 then
8225 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8227 ac_save_LIBS="$LIBS"
8228 LIBS="$LIBS $SECURITY_LIBS"
8229 for ac_func in SSLCopyPeerCertificates
8230 do :
8231 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8232 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8233 cat >>confdefs.h <<_ACEOF
8234 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8235 _ACEOF
8238 done
8240 LIBS="$ac_save_LIBS"
8241 with_gnutls=${with_gnutls:-no}
8243 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8244 then
8245 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8246 then
8247 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8249 else
8250 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8253 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8254 ac_save_LIBS="$LIBS"
8255 LIBS="$LIBS $COREAUDIO_LIBS"
8256 for ac_func in AUGraphAddNode
8257 do :
8258 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8259 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8260 cat >>confdefs.h <<_ACEOF
8261 #define HAVE_AUGRAPHADDNODE 1
8262 _ACEOF
8265 done
8267 LIBS="$ac_save_LIBS"
8269 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8270 then
8271 OPENAL_LIBS="-framework OpenAL"
8274 cat >>confdefs.h <<_ACEOF
8275 #define HAVE_OPENAL 1
8276 _ACEOF
8278 ac_cv_lib_openal=yes
8280 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8281 then
8282 OPENCL_LIBS="-framework OpenCL"
8284 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8286 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8287 then
8288 ac_save_LIBS="$LIBS"
8289 LIBS="$LIBS $IOKIT_LIBS"
8290 for ac_func in IOHIDManagerCreate
8291 do :
8292 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8293 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8294 cat >>confdefs.h <<_ACEOF
8295 #define HAVE_IOHIDMANAGERCREATE 1
8296 _ACEOF
8299 done
8301 LIBS="$ac_save_LIBS"
8303 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8304 then
8305 ac_save_LIBS="$LIBS"
8306 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8308 $as_echo_n "checking for the QuickTime framework... " >&6; }
8309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8310 /* end confdefs.h. */
8311 #include <QuickTime/ImageCompression.h>
8313 main ()
8315 CodecManagerVersion(NULL);
8317 return 0;
8319 _ACEOF
8320 if ac_fn_c_try_link "$LINENO"; then :
8321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8322 $as_echo "yes" >&6; }
8323 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8325 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8326 else
8327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8328 $as_echo "no" >&6; }
8329 ac_cv_header_QuickTime_ImageCompression_h=no
8331 rm -f core conftest.err conftest.$ac_objext \
8332 conftest$ac_exeext conftest.$ac_ext
8333 LIBS="$ac_save_LIBS"
8335 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8336 then
8337 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8339 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8340 then
8341 CARBON_LIBS="-framework Carbon"
8345 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8346 then
8347 ac_save_LIBS="$LIBS"
8348 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8349 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8350 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8351 enable_winemac_drv=${enable_winemac_drv:-yes}
8354 LIBS="$ac_save_LIBS"
8357 if test "x$enable_win16" = "xyes"
8358 then
8359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8360 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8361 if test "$cross_compiling" = yes; then :
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8363 $as_echo "cross-compiling, assuming yes" >&6; }
8364 else
8365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8366 /* end confdefs.h. */
8367 asm(".text\n"
8368 "bad:\tnop;nop\n"
8369 "good:\tnop;nop\n\t"
8370 ".globl _testfunc\n"
8371 "_testfunc:\tcallw good");
8372 extern void testfunc();
8374 main ()
8376 unsigned short *p = (unsigned short *)testfunc;
8377 return p[0] != 0xe866 || p[1] != 0xfffa
8379 return 0;
8381 _ACEOF
8382 if ac_fn_c_try_run "$LINENO"; then :
8383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8384 $as_echo "yes" >&6; }
8385 else
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8387 $as_echo "no" >&6; }
8388 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
8390 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8391 conftest.$ac_objext conftest.beam conftest.$ac_ext
8396 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8398 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8400 LIBWINE_INSTALL_DEV="libwine.dylib"
8402 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8404 WINELOADER_DEPENDS="wine_info.plist"
8408 linux-android*)
8409 DLLFLAGS="$DLLFLAGS -fPIC"
8410 LDEXECFLAGS="-Wl,-pie"
8411 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8413 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8414 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8415 $as_echo_n "(cached) " >&6
8416 else
8417 ac_wine_try_cflags_saved=$CFLAGS
8418 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8420 /* end confdefs.h. */
8421 int main(int argc, char **argv) { return 0; }
8422 _ACEOF
8423 if ac_fn_c_try_link "$LINENO"; then :
8424 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8425 else
8426 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8428 rm -f core conftest.err conftest.$ac_objext \
8429 conftest$ac_exeext conftest.$ac_ext
8430 CFLAGS=$ac_wine_try_cflags_saved
8432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8433 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8434 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8435 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8437 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8439 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8440 if eval \${$as_ac_var+:} false; then :
8441 $as_echo_n "(cached) " >&6
8442 else
8443 ac_wine_try_cflags_saved=$CFLAGS
8444 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8446 /* end confdefs.h. */
8447 int main(int argc, char **argv) { return 0; }
8448 _ACEOF
8449 if ac_fn_c_try_link "$LINENO"; then :
8450 eval "$as_ac_var=yes"
8451 else
8452 eval "$as_ac_var=no"
8454 rm -f core conftest.err conftest.$ac_objext \
8455 conftest$ac_exeext conftest.$ac_ext
8456 CFLAGS=$ac_wine_try_cflags_saved
8458 eval ac_res=\$$as_ac_var
8459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8460 $as_echo "$ac_res" >&6; }
8461 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8462 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8463 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8464 else
8465 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8467 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8468 if eval \${$as_ac_var+:} false; then :
8469 $as_echo_n "(cached) " >&6
8470 else
8471 ac_wine_try_cflags_saved=$CFLAGS
8472 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8474 /* end confdefs.h. */
8475 int main(int argc, char **argv) { return 0; }
8476 _ACEOF
8477 if ac_fn_c_try_link "$LINENO"; then :
8478 eval "$as_ac_var=yes"
8479 else
8480 eval "$as_ac_var=no"
8482 rm -f core conftest.err conftest.$ac_objext \
8483 conftest$ac_exeext conftest.$ac_ext
8484 CFLAGS=$ac_wine_try_cflags_saved
8486 eval ac_res=\$$as_ac_var
8487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8488 $as_echo "$ac_res" >&6; }
8489 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8490 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8491 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8495 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8496 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8497 $as_echo_n "(cached) " >&6
8498 else
8499 ac_wine_try_cflags_saved=$CFLAGS
8500 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
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 ac_cv_cflags__Wl___enable_new_dtags=yes
8507 else
8508 ac_cv_cflags__Wl___enable_new_dtags=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 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8515 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8516 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8517 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8520 LIBWINE_SHAREDLIB="libwine.so"
8522 LIBWINE_INSTALL_LIB="libwine.so"
8524 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
8528 $as_echo_n "checking for -lEGL... " >&6; }
8529 if ${ac_cv_lib_soname_EGL+:} false; then :
8530 $as_echo_n "(cached) " >&6
8531 else
8532 ac_check_soname_save_LIBS=$LIBS
8533 LIBS="-lEGL $LIBS"
8534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8535 /* end confdefs.h. */
8537 /* Override any GCC internal prototype to avoid an error.
8538 Use char because int might match the return type of a GCC
8539 builtin and then its argument prototype would still apply. */
8540 #ifdef __cplusplus
8541 extern "C"
8542 #endif
8543 char eglGetProcAddress ();
8545 main ()
8547 return eglGetProcAddress ();
8549 return 0;
8551 _ACEOF
8552 if ac_fn_c_try_link "$LINENO"; then :
8553 case "$LIBEXT" in
8554 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8555 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'` ;;
8556 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8557 if ${ac_cv_lib_soname_EGL:+false} :; then :
8558 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8559 fi ;;
8560 esac
8562 rm -f core conftest.err conftest.$ac_objext \
8563 conftest$ac_exeext conftest.$ac_ext
8564 LIBS=$ac_check_soname_save_LIBS
8566 if ${ac_cv_lib_soname_EGL:+false} :; then :
8567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8568 $as_echo "not found" >&6; }
8570 else
8571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
8572 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
8574 cat >>confdefs.h <<_ACEOF
8575 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
8576 _ACEOF
8580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
8581 $as_echo_n "checking for -lGLESv2... " >&6; }
8582 if ${ac_cv_lib_soname_GLESv2+:} false; then :
8583 $as_echo_n "(cached) " >&6
8584 else
8585 ac_check_soname_save_LIBS=$LIBS
8586 LIBS="-lGLESv2 $LIBS"
8587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8588 /* end confdefs.h. */
8590 /* Override any GCC internal prototype to avoid an error.
8591 Use char because int might match the return type of a GCC
8592 builtin and then its argument prototype would still apply. */
8593 #ifdef __cplusplus
8594 extern "C"
8595 #endif
8596 char glFlush ();
8598 main ()
8600 return glFlush ();
8602 return 0;
8604 _ACEOF
8605 if ac_fn_c_try_link "$LINENO"; then :
8606 case "$LIBEXT" in
8607 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8608 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'` ;;
8609 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8610 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8611 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8612 fi ;;
8613 esac
8615 rm -f core conftest.err conftest.$ac_objext \
8616 conftest$ac_exeext conftest.$ac_ext
8617 LIBS=$ac_check_soname_save_LIBS
8619 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8621 $as_echo "not found" >&6; }
8623 else
8624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
8625 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
8627 cat >>confdefs.h <<_ACEOF
8628 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
8629 _ACEOF
8634 if test "x$exec_prefix" = xNONE
8635 then
8636 case $host_cpu in
8637 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
8638 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
8639 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
8640 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
8641 esac
8646 DLLFLAGS="$DLLFLAGS -fPIC"
8647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8648 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8649 if ${ac_cv_c_dll_gnuelf+:} false; then :
8650 $as_echo_n "(cached) " >&6
8651 else
8652 ac_wine_try_cflags_saved=$CFLAGS
8653 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8655 /* end confdefs.h. */
8656 void myfunc() {}
8657 _ACEOF
8658 if ac_fn_c_try_link "$LINENO"; then :
8659 ac_cv_c_dll_gnuelf="yes"
8660 else
8661 ac_cv_c_dll_gnuelf="no"
8663 rm -f core conftest.err conftest.$ac_objext \
8664 conftest$ac_exeext conftest.$ac_ext
8665 CFLAGS=$ac_wine_try_cflags_saved
8667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8668 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8669 if test "$ac_cv_c_dll_gnuelf" = "yes"
8670 then
8671 LIBWINE_LDFLAGS="-shared"
8672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8673 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8674 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8675 $as_echo_n "(cached) " >&6
8676 else
8677 ac_wine_try_cflags_saved=$CFLAGS
8678 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8680 /* end confdefs.h. */
8681 int main(int argc, char **argv) { return 0; }
8682 _ACEOF
8683 if ac_fn_c_try_link "$LINENO"; then :
8684 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8685 else
8686 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8688 rm -f core conftest.err conftest.$ac_objext \
8689 conftest$ac_exeext conftest.$ac_ext
8690 CFLAGS=$ac_wine_try_cflags_saved
8692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8693 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8694 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8695 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8696 else
8697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8698 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8699 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8700 $as_echo_n "(cached) " >&6
8701 else
8702 ac_wine_try_cflags_saved=$CFLAGS
8703 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8705 /* end confdefs.h. */
8706 int main(int argc, char **argv) { return 0; }
8707 _ACEOF
8708 if ac_fn_c_try_link "$LINENO"; then :
8709 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8710 else
8711 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8713 rm -f core conftest.err conftest.$ac_objext \
8714 conftest$ac_exeext conftest.$ac_ext
8715 CFLAGS=$ac_wine_try_cflags_saved
8717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8718 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8719 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8720 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8724 echo '{ global: *; };' >conftest.map
8725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8726 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8727 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8728 $as_echo_n "(cached) " >&6
8729 else
8730 ac_wine_try_cflags_saved=$CFLAGS
8731 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8733 /* end confdefs.h. */
8734 int main(int argc, char **argv) { return 0; }
8735 _ACEOF
8736 if ac_fn_c_try_link "$LINENO"; then :
8737 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8738 else
8739 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8741 rm -f core conftest.err conftest.$ac_objext \
8742 conftest$ac_exeext conftest.$ac_ext
8743 CFLAGS=$ac_wine_try_cflags_saved
8745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8746 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8747 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8748 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8750 rm -f conftest.map
8752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8753 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8754 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8755 $as_echo_n "(cached) " >&6
8756 else
8757 ac_wine_try_cflags_saved=$CFLAGS
8758 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8760 /* end confdefs.h. */
8761 int main(int argc, char **argv) { return 0; }
8762 _ACEOF
8763 if ac_fn_c_try_link "$LINENO"; then :
8764 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8765 else
8766 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8768 rm -f core conftest.err conftest.$ac_objext \
8769 conftest$ac_exeext conftest.$ac_ext
8770 CFLAGS=$ac_wine_try_cflags_saved
8772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8773 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8774 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8775 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8778 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8780 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8781 if eval \${$as_ac_var+:} false; then :
8782 $as_echo_n "(cached) " >&6
8783 else
8784 ac_wine_try_cflags_saved=$CFLAGS
8785 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8787 /* end confdefs.h. */
8788 int main(int argc, char **argv) { return 0; }
8789 _ACEOF
8790 if ac_fn_c_try_link "$LINENO"; then :
8791 eval "$as_ac_var=yes"
8792 else
8793 eval "$as_ac_var=no"
8795 rm -f core conftest.err conftest.$ac_objext \
8796 conftest$ac_exeext conftest.$ac_ext
8797 CFLAGS=$ac_wine_try_cflags_saved
8799 eval ac_res=\$$as_ac_var
8800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8801 $as_echo "$ac_res" >&6; }
8802 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8803 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8804 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8805 else
8806 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8808 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8809 if eval \${$as_ac_var+:} false; then :
8810 $as_echo_n "(cached) " >&6
8811 else
8812 ac_wine_try_cflags_saved=$CFLAGS
8813 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8815 /* end confdefs.h. */
8816 int main(int argc, char **argv) { return 0; }
8817 _ACEOF
8818 if ac_fn_c_try_link "$LINENO"; then :
8819 eval "$as_ac_var=yes"
8820 else
8821 eval "$as_ac_var=no"
8823 rm -f core conftest.err conftest.$ac_objext \
8824 conftest$ac_exeext conftest.$ac_ext
8825 CFLAGS=$ac_wine_try_cflags_saved
8827 eval ac_res=\$$as_ac_var
8828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8829 $as_echo "$ac_res" >&6; }
8830 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8831 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8832 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8837 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8838 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8839 $as_echo_n "(cached) " >&6
8840 else
8841 ac_wine_try_cflags_saved=$CFLAGS
8842 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8844 /* end confdefs.h. */
8845 int main(int argc, char **argv) { return 0; }
8846 _ACEOF
8847 if ac_fn_c_try_link "$LINENO"; then :
8848 ac_cv_cflags__Wl___enable_new_dtags=yes
8849 else
8850 ac_cv_cflags__Wl___enable_new_dtags=no
8852 rm -f core conftest.err conftest.$ac_objext \
8853 conftest$ac_exeext conftest.$ac_ext
8854 CFLAGS=$ac_wine_try_cflags_saved
8856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8857 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8858 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8859 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8862 case $host_cpu in
8863 *i[3456789]86* | x86_64 | *aarch64*)
8864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8865 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8866 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8867 $as_echo_n "(cached) " >&6
8868 else
8869 ac_wine_try_cflags_saved=$CFLAGS
8870 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8872 /* end confdefs.h. */
8873 int main(int argc, char **argv) { return 0; }
8874 _ACEOF
8875 if ac_fn_c_try_link "$LINENO"; then :
8876 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8877 else
8878 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8880 rm -f core conftest.err conftest.$ac_objext \
8881 conftest$ac_exeext conftest.$ac_ext
8882 CFLAGS=$ac_wine_try_cflags_saved
8884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8885 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8886 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8887 case $host_os in
8888 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8889 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8890 esac
8891 else
8892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8893 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8894 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8895 $as_echo_n "(cached) " >&6
8896 else
8897 ac_wine_try_cflags_saved=$CFLAGS
8898 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
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___section_start__interp_0x7c000400=yes
8905 else
8906 ac_cv_cflags__Wl___section_start__interp_0x7c000400=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___section_start__interp_0x7c000400" >&5
8913 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8914 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8915 case $host_os in
8916 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8917 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8918 esac
8920 # Extract the first word of "prelink", so it can be a program name with args.
8921 set dummy prelink; ac_word=$2
8922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8923 $as_echo_n "checking for $ac_word... " >&6; }
8924 if ${ac_cv_path_PRELINK+:} false; then :
8925 $as_echo_n "(cached) " >&6
8926 else
8927 case $PRELINK in
8928 [\\/]* | ?:[\\/]*)
8929 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8933 for as_dir in /sbin /usr/sbin $PATH
8935 IFS=$as_save_IFS
8936 test -z "$as_dir" && as_dir=.
8937 for ac_exec_ext in '' $ac_executable_extensions; do
8938 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8939 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8941 break 2
8943 done
8944 done
8945 IFS=$as_save_IFS
8947 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8949 esac
8951 PRELINK=$ac_cv_path_PRELINK
8952 if test -n "$PRELINK"; then
8953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8954 $as_echo "$PRELINK" >&6; }
8955 else
8956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8957 $as_echo "no" >&6; }
8961 if test "x$PRELINK" = xfalse
8962 then
8963 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8967 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8968 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8969 $as_echo_n "(cached) " >&6
8970 else
8971 ac_wine_try_cflags_saved=$CFLAGS
8972 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8974 /* end confdefs.h. */
8975 int main(int argc, char **argv) { return 0; }
8976 _ACEOF
8977 if ac_fn_c_try_link "$LINENO"; then :
8978 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8979 else
8980 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8982 rm -f core conftest.err conftest.$ac_objext \
8983 conftest$ac_exeext conftest.$ac_ext
8984 CFLAGS=$ac_wine_try_cflags_saved
8986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8987 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8988 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8989 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
8992 esac
8994 else
8995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8996 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8997 if ${ac_cv_c_dll_unixware+:} false; then :
8998 $as_echo_n "(cached) " >&6
8999 else
9000 ac_wine_try_cflags_saved=$CFLAGS
9001 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9003 /* end confdefs.h. */
9004 void myfunc() {}
9005 _ACEOF
9006 if ac_fn_c_try_link "$LINENO"; then :
9007 ac_cv_c_dll_unixware="yes"
9008 else
9009 ac_cv_c_dll_unixware="no"
9011 rm -f core conftest.err conftest.$ac_objext \
9012 conftest$ac_exeext conftest.$ac_ext
9013 CFLAGS=$ac_wine_try_cflags_saved
9015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9016 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9017 if test "$ac_cv_c_dll_unixware" = "yes"
9018 then
9019 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9022 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9024 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
9026 LIBWINE_INSTALL_DEV="libwine.so"
9028 LIBWINE_DEPENDS="wine.map"
9031 esac
9033 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9034 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9035 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9036 enable_winemac_drv=${enable_winemac_drv:-no}
9037 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9039 CROSSTARGET=""
9041 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
9042 then
9043 case "$host_cpu" in
9044 arm*)
9045 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9046 i[3456789]86*)
9047 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
9048 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9049 mingw32-gcc" ;;
9050 x86_64)
9051 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
9052 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9054 ac_prefix_list="" ;;
9055 esac
9056 for ac_prog in $ac_prefix_list
9058 # Extract the first word of "$ac_prog", so it can be a program name with args.
9059 set dummy $ac_prog; ac_word=$2
9060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9061 $as_echo_n "checking for $ac_word... " >&6; }
9062 if ${ac_cv_prog_CROSSCC+:} false; then :
9063 $as_echo_n "(cached) " >&6
9064 else
9065 if test -n "$CROSSCC"; then
9066 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9067 else
9068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9069 for as_dir in $PATH
9071 IFS=$as_save_IFS
9072 test -z "$as_dir" && as_dir=.
9073 for ac_exec_ext in '' $ac_executable_extensions; do
9074 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9075 ac_cv_prog_CROSSCC="$ac_prog"
9076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9077 break 2
9079 done
9080 done
9081 IFS=$as_save_IFS
9085 CROSSCC=$ac_cv_prog_CROSSCC
9086 if test -n "$CROSSCC"; then
9087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9088 $as_echo "$CROSSCC" >&6; }
9089 else
9090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9091 $as_echo "no" >&6; }
9095 test -n "$CROSSCC" && break
9096 done
9097 test -n "$CROSSCC" || CROSSCC="false"
9099 if test "$CROSSCC" != "false"
9100 then
9101 ac_save_CC="$CC"
9102 CC="$CROSSCC"
9103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9104 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9106 /* end confdefs.h. */
9109 main ()
9113 return 0;
9115 _ACEOF
9116 if ac_fn_c_try_compile "$LINENO"; then :
9117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9118 $as_echo "yes" >&6; }
9119 set x $CROSSCC
9120 shift
9121 while test $# -ge 1
9123 case "$1" in
9124 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9125 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9126 esac
9127 shift
9128 done
9129 else
9130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9131 $as_echo "no" >&6; }
9133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9134 CC="$ac_save_CC"
9135 CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS}
9141 if test "$ac_cv_header_pthread_h" = "yes"
9142 then
9143 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
9144 if test "x$ac_cv_func_pthread_create" = xyes; then :
9146 else
9147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
9148 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
9149 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
9150 $as_echo_n "(cached) " >&6
9151 else
9152 ac_check_lib_save_LIBS=$LIBS
9153 LIBS="-lpthread $LIBS"
9154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9155 /* end confdefs.h. */
9157 /* Override any GCC internal prototype to avoid an error.
9158 Use char because int might match the return type of a GCC
9159 builtin and then its argument prototype would still apply. */
9160 #ifdef __cplusplus
9161 extern "C"
9162 #endif
9163 char pthread_create ();
9165 main ()
9167 return pthread_create ();
9169 return 0;
9171 _ACEOF
9172 if ac_fn_c_try_link "$LINENO"; then :
9173 ac_cv_lib_pthread_pthread_create=yes
9174 else
9175 ac_cv_lib_pthread_pthread_create=no
9177 rm -f core conftest.err conftest.$ac_objext \
9178 conftest$ac_exeext conftest.$ac_ext
9179 LIBS=$ac_check_lib_save_LIBS
9181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9182 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9183 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9184 PTHREAD_LIBS="-lpthread"
9191 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9192 case "x$with_pthread" in
9193 xno) ;;
9194 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9195 Wine cannot support threads without libpthread.
9196 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9197 esac
9202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9203 $as_echo_n "checking for X... " >&6; }
9206 # Check whether --with-x was given.
9207 if test "${with_x+set}" = set; then :
9208 withval=$with_x;
9211 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9212 if test "x$with_x" = xno; then
9213 # The user explicitly disabled X.
9214 have_x=disabled
9215 else
9216 case $x_includes,$x_libraries in #(
9217 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9218 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9219 $as_echo_n "(cached) " >&6
9220 else
9221 # One or both of the vars are not set, and there is no cached value.
9222 ac_x_includes=no ac_x_libraries=no
9223 rm -f -r conftest.dir
9224 if mkdir conftest.dir; then
9225 cd conftest.dir
9226 cat >Imakefile <<'_ACEOF'
9227 incroot:
9228 @echo incroot='${INCROOT}'
9229 usrlibdir:
9230 @echo usrlibdir='${USRLIBDIR}'
9231 libdir:
9232 @echo libdir='${LIBDIR}'
9233 _ACEOF
9234 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9235 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9236 for ac_var in incroot usrlibdir libdir; do
9237 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9238 done
9239 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9240 for ac_extension in a so sl dylib la dll; do
9241 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9242 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9243 ac_im_usrlibdir=$ac_im_libdir; break
9245 done
9246 # Screen out bogus values from the imake configuration. They are
9247 # bogus both because they are the default anyway, and because
9248 # using them would break gcc on systems where it needs fixed includes.
9249 case $ac_im_incroot in
9250 /usr/include) ac_x_includes= ;;
9251 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9252 esac
9253 case $ac_im_usrlibdir in
9254 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9255 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9256 esac
9258 cd ..
9259 rm -f -r conftest.dir
9262 # Standard set of common directories for X headers.
9263 # Check X11 before X11Rn because it is often a symlink to the current release.
9264 ac_x_header_dirs='
9265 /usr/X11/include
9266 /usr/X11R7/include
9267 /usr/X11R6/include
9268 /usr/X11R5/include
9269 /usr/X11R4/include
9271 /usr/include/X11
9272 /usr/include/X11R7
9273 /usr/include/X11R6
9274 /usr/include/X11R5
9275 /usr/include/X11R4
9277 /usr/local/X11/include
9278 /usr/local/X11R7/include
9279 /usr/local/X11R6/include
9280 /usr/local/X11R5/include
9281 /usr/local/X11R4/include
9283 /usr/local/include/X11
9284 /usr/local/include/X11R7
9285 /usr/local/include/X11R6
9286 /usr/local/include/X11R5
9287 /usr/local/include/X11R4
9289 /usr/X386/include
9290 /usr/x386/include
9291 /usr/XFree86/include/X11
9293 /usr/include
9294 /usr/local/include
9295 /usr/unsupported/include
9296 /usr/athena/include
9297 /usr/local/x11r5/include
9298 /usr/lpp/Xamples/include
9300 /usr/openwin/include
9301 /usr/openwin/share/include'
9303 if test "$ac_x_includes" = no; then
9304 # Guess where to find include files, by looking for Xlib.h.
9305 # First, try using that file with no special directory specified.
9306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9307 /* end confdefs.h. */
9308 #include <X11/Xlib.h>
9309 _ACEOF
9310 if ac_fn_c_try_cpp "$LINENO"; then :
9311 # We can compile using X headers with no special include directory.
9312 ac_x_includes=
9313 else
9314 for ac_dir in $ac_x_header_dirs; do
9315 if test -r "$ac_dir/X11/Xlib.h"; then
9316 ac_x_includes=$ac_dir
9317 break
9319 done
9321 rm -f conftest.err conftest.i conftest.$ac_ext
9322 fi # $ac_x_includes = no
9324 if test "$ac_x_libraries" = no; then
9325 # Check for the libraries.
9326 # See if we find them without any special options.
9327 # Don't add to $LIBS permanently.
9328 ac_save_LIBS=$LIBS
9329 LIBS="-lX11 $LIBS"
9330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9331 /* end confdefs.h. */
9332 #include <X11/Xlib.h>
9334 main ()
9336 XrmInitialize ()
9338 return 0;
9340 _ACEOF
9341 if ac_fn_c_try_link "$LINENO"; then :
9342 LIBS=$ac_save_LIBS
9343 # We can link X programs with no special library path.
9344 ac_x_libraries=
9345 else
9346 LIBS=$ac_save_LIBS
9347 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9349 # Don't even attempt the hair of trying to link an X program!
9350 for ac_extension in a so sl dylib la dll; do
9351 if test -r "$ac_dir/libX11.$ac_extension"; then
9352 ac_x_libraries=$ac_dir
9353 break 2
9355 done
9356 done
9358 rm -f core conftest.err conftest.$ac_objext \
9359 conftest$ac_exeext conftest.$ac_ext
9360 fi # $ac_x_libraries = no
9362 case $ac_x_includes,$ac_x_libraries in #(
9363 no,* | *,no | *\'*)
9364 # Didn't find X, or a directory has "'" in its name.
9365 ac_cv_have_x="have_x=no";; #(
9367 # Record where we found X for the cache.
9368 ac_cv_have_x="have_x=yes\
9369 ac_x_includes='$ac_x_includes'\
9370 ac_x_libraries='$ac_x_libraries'"
9371 esac
9373 ;; #(
9374 *) have_x=yes;;
9375 esac
9376 eval "$ac_cv_have_x"
9377 fi # $with_x != no
9379 if test "$have_x" != yes; then
9380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9381 $as_echo "$have_x" >&6; }
9382 no_x=yes
9383 else
9384 # If each of the values was on the command line, it overrides each guess.
9385 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9386 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9387 # Update the cache value to reflect the command line values.
9388 ac_cv_have_x="have_x=yes\
9389 ac_x_includes='$x_includes'\
9390 ac_x_libraries='$x_libraries'"
9391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9392 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9395 if test "$no_x" = yes; then
9396 # Not all programs may use this symbol, but it does not hurt to define it.
9398 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9400 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9401 else
9402 if test -n "$x_includes"; then
9403 X_CFLAGS="$X_CFLAGS -I$x_includes"
9406 # It would also be nice to do this for all -L options, not just this one.
9407 if test -n "$x_libraries"; then
9408 X_LIBS="$X_LIBS -L$x_libraries"
9409 # For Solaris; some versions of Sun CC require a space after -R and
9410 # others require no space. Words are not sufficient . . . .
9411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9412 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9413 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9414 ac_xsave_c_werror_flag=$ac_c_werror_flag
9415 ac_c_werror_flag=yes
9416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9417 /* end confdefs.h. */
9420 main ()
9424 return 0;
9426 _ACEOF
9427 if ac_fn_c_try_link "$LINENO"; then :
9428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9429 $as_echo "no" >&6; }
9430 X_LIBS="$X_LIBS -R$x_libraries"
9431 else
9432 LIBS="$ac_xsave_LIBS -R $x_libraries"
9433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9434 /* end confdefs.h. */
9437 main ()
9441 return 0;
9443 _ACEOF
9444 if ac_fn_c_try_link "$LINENO"; then :
9445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9446 $as_echo "yes" >&6; }
9447 X_LIBS="$X_LIBS -R $x_libraries"
9448 else
9449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9450 $as_echo "neither works" >&6; }
9452 rm -f core conftest.err conftest.$ac_objext \
9453 conftest$ac_exeext conftest.$ac_ext
9455 rm -f core conftest.err conftest.$ac_objext \
9456 conftest$ac_exeext conftest.$ac_ext
9457 ac_c_werror_flag=$ac_xsave_c_werror_flag
9458 LIBS=$ac_xsave_LIBS
9461 # Check for system-dependent libraries X programs must link with.
9462 # Do this before checking for the system-independent R6 libraries
9463 # (-lICE), since we may need -lsocket or whatever for X linking.
9465 if test "$ISC" = yes; then
9466 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9467 else
9468 # Martyn Johnson says this is needed for Ultrix, if the X
9469 # libraries were built with DECnet support. And Karl Berry says
9470 # the Alpha needs dnet_stub (dnet does not exist).
9471 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9473 /* end confdefs.h. */
9475 /* Override any GCC internal prototype to avoid an error.
9476 Use char because int might match the return type of a GCC
9477 builtin and then its argument prototype would still apply. */
9478 #ifdef __cplusplus
9479 extern "C"
9480 #endif
9481 char XOpenDisplay ();
9483 main ()
9485 return XOpenDisplay ();
9487 return 0;
9489 _ACEOF
9490 if ac_fn_c_try_link "$LINENO"; then :
9492 else
9493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9494 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9495 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9496 $as_echo_n "(cached) " >&6
9497 else
9498 ac_check_lib_save_LIBS=$LIBS
9499 LIBS="-ldnet $LIBS"
9500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9501 /* end confdefs.h. */
9503 /* Override any GCC internal prototype to avoid an error.
9504 Use char because int might match the return type of a GCC
9505 builtin and then its argument prototype would still apply. */
9506 #ifdef __cplusplus
9507 extern "C"
9508 #endif
9509 char dnet_ntoa ();
9511 main ()
9513 return dnet_ntoa ();
9515 return 0;
9517 _ACEOF
9518 if ac_fn_c_try_link "$LINENO"; then :
9519 ac_cv_lib_dnet_dnet_ntoa=yes
9520 else
9521 ac_cv_lib_dnet_dnet_ntoa=no
9523 rm -f core conftest.err conftest.$ac_objext \
9524 conftest$ac_exeext conftest.$ac_ext
9525 LIBS=$ac_check_lib_save_LIBS
9527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9528 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9529 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9530 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9533 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9535 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9536 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9537 $as_echo_n "(cached) " >&6
9538 else
9539 ac_check_lib_save_LIBS=$LIBS
9540 LIBS="-ldnet_stub $LIBS"
9541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9542 /* end confdefs.h. */
9544 /* Override any GCC internal prototype to avoid an error.
9545 Use char because int might match the return type of a GCC
9546 builtin and then its argument prototype would still apply. */
9547 #ifdef __cplusplus
9548 extern "C"
9549 #endif
9550 char dnet_ntoa ();
9552 main ()
9554 return dnet_ntoa ();
9556 return 0;
9558 _ACEOF
9559 if ac_fn_c_try_link "$LINENO"; then :
9560 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9561 else
9562 ac_cv_lib_dnet_stub_dnet_ntoa=no
9564 rm -f core conftest.err conftest.$ac_objext \
9565 conftest$ac_exeext conftest.$ac_ext
9566 LIBS=$ac_check_lib_save_LIBS
9568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9569 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9570 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9571 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9576 rm -f core conftest.err conftest.$ac_objext \
9577 conftest$ac_exeext conftest.$ac_ext
9578 LIBS="$ac_xsave_LIBS"
9580 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9581 # to get the SysV transport functions.
9582 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9583 # needs -lnsl.
9584 # The nsl library prevents programs from opening the X display
9585 # on Irix 5.2, according to T.E. Dickey.
9586 # The functions gethostbyname, getservbyname, and inet_addr are
9587 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9588 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9589 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9593 if test $ac_cv_func_gethostbyname = no; then
9594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9595 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9596 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9597 $as_echo_n "(cached) " >&6
9598 else
9599 ac_check_lib_save_LIBS=$LIBS
9600 LIBS="-lnsl $LIBS"
9601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9602 /* end confdefs.h. */
9604 /* Override any GCC internal prototype to avoid an error.
9605 Use char because int might match the return type of a GCC
9606 builtin and then its argument prototype would still apply. */
9607 #ifdef __cplusplus
9608 extern "C"
9609 #endif
9610 char gethostbyname ();
9612 main ()
9614 return gethostbyname ();
9616 return 0;
9618 _ACEOF
9619 if ac_fn_c_try_link "$LINENO"; then :
9620 ac_cv_lib_nsl_gethostbyname=yes
9621 else
9622 ac_cv_lib_nsl_gethostbyname=no
9624 rm -f core conftest.err conftest.$ac_objext \
9625 conftest$ac_exeext conftest.$ac_ext
9626 LIBS=$ac_check_lib_save_LIBS
9628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9629 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9630 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9631 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9634 if test $ac_cv_lib_nsl_gethostbyname = no; then
9635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9636 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9637 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9638 $as_echo_n "(cached) " >&6
9639 else
9640 ac_check_lib_save_LIBS=$LIBS
9641 LIBS="-lbsd $LIBS"
9642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9643 /* end confdefs.h. */
9645 /* Override any GCC internal prototype to avoid an error.
9646 Use char because int might match the return type of a GCC
9647 builtin and then its argument prototype would still apply. */
9648 #ifdef __cplusplus
9649 extern "C"
9650 #endif
9651 char gethostbyname ();
9653 main ()
9655 return gethostbyname ();
9657 return 0;
9659 _ACEOF
9660 if ac_fn_c_try_link "$LINENO"; then :
9661 ac_cv_lib_bsd_gethostbyname=yes
9662 else
9663 ac_cv_lib_bsd_gethostbyname=no
9665 rm -f core conftest.err conftest.$ac_objext \
9666 conftest$ac_exeext conftest.$ac_ext
9667 LIBS=$ac_check_lib_save_LIBS
9669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9670 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9671 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9672 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9678 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9679 # socket/setsockopt and other routines are undefined under SCO ODT
9680 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9681 # on later versions), says Simon Leinen: it contains gethostby*
9682 # variants that don't use the name server (or something). -lsocket
9683 # must be given before -lnsl if both are needed. We assume that
9684 # if connect needs -lnsl, so does gethostbyname.
9685 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9686 if test "x$ac_cv_func_connect" = xyes; then :
9690 if test $ac_cv_func_connect = no; then
9691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9692 $as_echo_n "checking for connect in -lsocket... " >&6; }
9693 if ${ac_cv_lib_socket_connect+:} false; then :
9694 $as_echo_n "(cached) " >&6
9695 else
9696 ac_check_lib_save_LIBS=$LIBS
9697 LIBS="-lsocket $X_EXTRA_LIBS $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 connect ();
9709 main ()
9711 return connect ();
9713 return 0;
9715 _ACEOF
9716 if ac_fn_c_try_link "$LINENO"; then :
9717 ac_cv_lib_socket_connect=yes
9718 else
9719 ac_cv_lib_socket_connect=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_socket_connect" >&5
9726 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9727 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9728 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9733 # Guillermo Gomez says -lposix is necessary on A/UX.
9734 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9735 if test "x$ac_cv_func_remove" = xyes; then :
9739 if test $ac_cv_func_remove = no; then
9740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9741 $as_echo_n "checking for remove in -lposix... " >&6; }
9742 if ${ac_cv_lib_posix_remove+:} false; then :
9743 $as_echo_n "(cached) " >&6
9744 else
9745 ac_check_lib_save_LIBS=$LIBS
9746 LIBS="-lposix $LIBS"
9747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9748 /* end confdefs.h. */
9750 /* Override any GCC internal prototype to avoid an error.
9751 Use char because int might match the return type of a GCC
9752 builtin and then its argument prototype would still apply. */
9753 #ifdef __cplusplus
9754 extern "C"
9755 #endif
9756 char remove ();
9758 main ()
9760 return remove ();
9762 return 0;
9764 _ACEOF
9765 if ac_fn_c_try_link "$LINENO"; then :
9766 ac_cv_lib_posix_remove=yes
9767 else
9768 ac_cv_lib_posix_remove=no
9770 rm -f core conftest.err conftest.$ac_objext \
9771 conftest$ac_exeext conftest.$ac_ext
9772 LIBS=$ac_check_lib_save_LIBS
9774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9775 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9776 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9777 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9782 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9783 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9784 if test "x$ac_cv_func_shmat" = xyes; then :
9788 if test $ac_cv_func_shmat = no; then
9789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9790 $as_echo_n "checking for shmat in -lipc... " >&6; }
9791 if ${ac_cv_lib_ipc_shmat+:} false; then :
9792 $as_echo_n "(cached) " >&6
9793 else
9794 ac_check_lib_save_LIBS=$LIBS
9795 LIBS="-lipc $LIBS"
9796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9797 /* end confdefs.h. */
9799 /* Override any GCC internal prototype to avoid an error.
9800 Use char because int might match the return type of a GCC
9801 builtin and then its argument prototype would still apply. */
9802 #ifdef __cplusplus
9803 extern "C"
9804 #endif
9805 char shmat ();
9807 main ()
9809 return shmat ();
9811 return 0;
9813 _ACEOF
9814 if ac_fn_c_try_link "$LINENO"; then :
9815 ac_cv_lib_ipc_shmat=yes
9816 else
9817 ac_cv_lib_ipc_shmat=no
9819 rm -f core conftest.err conftest.$ac_objext \
9820 conftest$ac_exeext conftest.$ac_ext
9821 LIBS=$ac_check_lib_save_LIBS
9823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9824 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9825 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9826 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9832 # Check for libraries that X11R6 Xt/Xaw programs need.
9833 ac_save_LDFLAGS=$LDFLAGS
9834 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9835 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9836 # check for ICE first), but we must link in the order -lSM -lICE or
9837 # we get undefined symbols. So assume we have SM if we have ICE.
9838 # These have to be linked with before -lX11, unlike the other
9839 # libraries we check for below, so use a different variable.
9840 # John Interrante, Karl Berry
9841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9842 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9843 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9844 $as_echo_n "(cached) " >&6
9845 else
9846 ac_check_lib_save_LIBS=$LIBS
9847 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9849 /* end confdefs.h. */
9851 /* Override any GCC internal prototype to avoid an error.
9852 Use char because int might match the return type of a GCC
9853 builtin and then its argument prototype would still apply. */
9854 #ifdef __cplusplus
9855 extern "C"
9856 #endif
9857 char IceConnectionNumber ();
9859 main ()
9861 return IceConnectionNumber ();
9863 return 0;
9865 _ACEOF
9866 if ac_fn_c_try_link "$LINENO"; then :
9867 ac_cv_lib_ICE_IceConnectionNumber=yes
9868 else
9869 ac_cv_lib_ICE_IceConnectionNumber=no
9871 rm -f core conftest.err conftest.$ac_objext \
9872 conftest$ac_exeext conftest.$ac_ext
9873 LIBS=$ac_check_lib_save_LIBS
9875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9876 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9877 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9878 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9881 LDFLAGS=$ac_save_LDFLAGS
9886 if test "$have_x" = "yes"
9887 then
9888 ac_save_CPPFLAGS="$CPPFLAGS"
9889 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9892 $as_echo_n "checking for -lX11... " >&6; }
9893 if ${ac_cv_lib_soname_X11+:} false; then :
9894 $as_echo_n "(cached) " >&6
9895 else
9896 ac_check_soname_save_LIBS=$LIBS
9897 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9899 /* end confdefs.h. */
9901 /* Override any GCC internal prototype to avoid an error.
9902 Use char because int might match the return type of a GCC
9903 builtin and then its argument prototype would still apply. */
9904 #ifdef __cplusplus
9905 extern "C"
9906 #endif
9907 char XCreateWindow ();
9909 main ()
9911 return XCreateWindow ();
9913 return 0;
9915 _ACEOF
9916 if ac_fn_c_try_link "$LINENO"; then :
9917 case "$LIBEXT" in
9918 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9919 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'` ;;
9920 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9921 if ${ac_cv_lib_soname_X11:+false} :; then :
9922 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9923 fi ;;
9924 esac
9926 rm -f core conftest.err conftest.$ac_objext \
9927 conftest$ac_exeext conftest.$ac_ext
9928 LIBS=$ac_check_soname_save_LIBS
9930 if ${ac_cv_lib_soname_X11:+false} :; then :
9931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9932 $as_echo "not found" >&6; }
9934 else
9935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9936 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9938 cat >>confdefs.h <<_ACEOF
9939 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9940 _ACEOF
9944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9945 $as_echo_n "checking for -lXext... " >&6; }
9946 if ${ac_cv_lib_soname_Xext+:} false; then :
9947 $as_echo_n "(cached) " >&6
9948 else
9949 ac_check_soname_save_LIBS=$LIBS
9950 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9952 /* end confdefs.h. */
9954 /* Override any GCC internal prototype to avoid an error.
9955 Use char because int might match the return type of a GCC
9956 builtin and then its argument prototype would still apply. */
9957 #ifdef __cplusplus
9958 extern "C"
9959 #endif
9960 char XextCreateExtension ();
9962 main ()
9964 return XextCreateExtension ();
9966 return 0;
9968 _ACEOF
9969 if ac_fn_c_try_link "$LINENO"; then :
9970 case "$LIBEXT" in
9971 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9972 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'` ;;
9973 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9974 if ${ac_cv_lib_soname_Xext:+false} :; then :
9975 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9976 fi ;;
9977 esac
9979 rm -f core conftest.err conftest.$ac_objext \
9980 conftest$ac_exeext conftest.$ac_ext
9981 LIBS=$ac_check_soname_save_LIBS
9983 if ${ac_cv_lib_soname_Xext:+false} :; then :
9984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9985 $as_echo "not found" >&6; }
9987 else
9988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9989 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9991 cat >>confdefs.h <<_ACEOF
9992 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9993 _ACEOF
9995 X_LIBS="$X_LIBS -lXext"
9997 X_LIBS="$X_LIBS -lX11"
9999 for ac_header in X11/Xlib.h \
10000 X11/XKBlib.h \
10001 X11/Xutil.h \
10002 X11/Xcursor/Xcursor.h \
10003 X11/extensions/shape.h \
10004 X11/extensions/XInput.h \
10005 X11/extensions/XInput2.h \
10006 X11/extensions/XShm.h \
10007 X11/extensions/Xcomposite.h \
10008 X11/extensions/Xfixes.h \
10009 X11/extensions/Xinerama.h \
10010 X11/extensions/Xrandr.h \
10011 X11/extensions/Xrender.h \
10012 X11/extensions/xf86vmode.h \
10013 X11/extensions/xf86vmproto.h
10014 do :
10015 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10016 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
10017 # include <X11/Xlib.h>
10018 #endif
10019 #ifdef HAVE_X11_XUTIL_H
10020 # include <X11/Xutil.h>
10021 #endif
10023 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10024 cat >>confdefs.h <<_ACEOF
10025 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10026 _ACEOF
10030 done
10033 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
10034 then
10035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
10036 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
10037 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
10038 $as_echo_n "(cached) " >&6
10039 else
10040 ac_check_lib_save_LIBS=$LIBS
10041 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10043 /* end confdefs.h. */
10045 /* Override any GCC internal prototype to avoid an error.
10046 Use char because int might match the return type of a GCC
10047 builtin and then its argument prototype would still apply. */
10048 #ifdef __cplusplus
10049 extern "C"
10050 #endif
10051 char XkbQueryExtension ();
10053 main ()
10055 return XkbQueryExtension ();
10057 return 0;
10059 _ACEOF
10060 if ac_fn_c_try_link "$LINENO"; then :
10061 ac_cv_lib_X11_XkbQueryExtension=yes
10062 else
10063 ac_cv_lib_X11_XkbQueryExtension=no
10065 rm -f core conftest.err conftest.$ac_objext \
10066 conftest$ac_exeext conftest.$ac_ext
10067 LIBS=$ac_check_lib_save_LIBS
10069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
10070 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
10071 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
10073 $as_echo "#define HAVE_XKB 1" >>confdefs.h
10079 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
10080 then
10081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
10082 $as_echo_n "checking for -lXcursor... " >&6; }
10083 if ${ac_cv_lib_soname_Xcursor+:} false; then :
10084 $as_echo_n "(cached) " >&6
10085 else
10086 ac_check_soname_save_LIBS=$LIBS
10087 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
10088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10089 /* end confdefs.h. */
10091 /* Override any GCC internal prototype to avoid an error.
10092 Use char because int might match the return type of a GCC
10093 builtin and then its argument prototype would still apply. */
10094 #ifdef __cplusplus
10095 extern "C"
10096 #endif
10097 char XcursorImageLoadCursor ();
10099 main ()
10101 return XcursorImageLoadCursor ();
10103 return 0;
10105 _ACEOF
10106 if ac_fn_c_try_link "$LINENO"; then :
10107 case "$LIBEXT" in
10108 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10109 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'` ;;
10110 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10111 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10112 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10113 fi ;;
10114 esac
10116 rm -f core conftest.err conftest.$ac_objext \
10117 conftest$ac_exeext conftest.$ac_ext
10118 LIBS=$ac_check_soname_save_LIBS
10120 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10122 $as_echo "not found" >&6; }
10124 else
10125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
10126 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
10128 cat >>confdefs.h <<_ACEOF
10129 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
10130 _ACEOF
10135 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
10136 case "x$with_xcursor" in
10137 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
10138 xno) ;;
10139 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
10140 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
10141 esac
10145 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
10146 then
10147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
10148 $as_echo_n "checking for -lXi... " >&6; }
10149 if ${ac_cv_lib_soname_Xi+:} false; then :
10150 $as_echo_n "(cached) " >&6
10151 else
10152 ac_check_soname_save_LIBS=$LIBS
10153 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
10154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10155 /* end confdefs.h. */
10157 /* Override any GCC internal prototype to avoid an error.
10158 Use char because int might match the return type of a GCC
10159 builtin and then its argument prototype would still apply. */
10160 #ifdef __cplusplus
10161 extern "C"
10162 #endif
10163 char XOpenDevice ();
10165 main ()
10167 return XOpenDevice ();
10169 return 0;
10171 _ACEOF
10172 if ac_fn_c_try_link "$LINENO"; then :
10173 case "$LIBEXT" in
10174 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10175 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'` ;;
10176 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10177 if ${ac_cv_lib_soname_Xi:+false} :; then :
10178 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10179 fi ;;
10180 esac
10182 rm -f core conftest.err conftest.$ac_objext \
10183 conftest$ac_exeext conftest.$ac_ext
10184 LIBS=$ac_check_soname_save_LIBS
10186 if ${ac_cv_lib_soname_Xi:+false} :; then :
10187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10188 $as_echo "not found" >&6; }
10190 else
10191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10192 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10194 cat >>confdefs.h <<_ACEOF
10195 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10196 _ACEOF
10201 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10202 case "x$with_xinput" in
10203 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10204 xno) ;;
10205 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10206 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10207 esac
10211 if test "x$ac_cv_lib_soname_Xi" != x
10212 then
10213 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10214 case "x$with_xinput2" in
10215 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10216 xno) ;;
10217 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10218 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10219 esac
10224 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10225 then
10226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10227 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10228 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10229 $as_echo_n "(cached) " >&6
10230 else
10231 ac_check_lib_save_LIBS=$LIBS
10232 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10234 /* end confdefs.h. */
10236 /* Override any GCC internal prototype to avoid an error.
10237 Use char because int might match the return type of a GCC
10238 builtin and then its argument prototype would still apply. */
10239 #ifdef __cplusplus
10240 extern "C"
10241 #endif
10242 char XShmQueryExtension ();
10244 main ()
10246 return XShmQueryExtension ();
10248 return 0;
10250 _ACEOF
10251 if ac_fn_c_try_link "$LINENO"; then :
10252 ac_cv_lib_Xext_XShmQueryExtension=yes
10253 else
10254 ac_cv_lib_Xext_XShmQueryExtension=no
10256 rm -f core conftest.err conftest.$ac_objext \
10257 conftest$ac_exeext conftest.$ac_ext
10258 LIBS=$ac_check_lib_save_LIBS
10260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10261 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10262 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10264 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10269 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10270 case "x$with_xshm" in
10271 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10272 xno) ;;
10273 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10274 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10275 esac
10279 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10280 then
10281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10282 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10283 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10284 $as_echo_n "(cached) " >&6
10285 else
10286 ac_check_lib_save_LIBS=$LIBS
10287 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10289 /* end confdefs.h. */
10291 /* Override any GCC internal prototype to avoid an error.
10292 Use char because int might match the return type of a GCC
10293 builtin and then its argument prototype would still apply. */
10294 #ifdef __cplusplus
10295 extern "C"
10296 #endif
10297 char XShapeQueryExtension ();
10299 main ()
10301 return XShapeQueryExtension ();
10303 return 0;
10305 _ACEOF
10306 if ac_fn_c_try_link "$LINENO"; then :
10307 ac_cv_lib_Xext_XShapeQueryExtension=yes
10308 else
10309 ac_cv_lib_Xext_XShapeQueryExtension=no
10311 rm -f core conftest.err conftest.$ac_objext \
10312 conftest$ac_exeext conftest.$ac_ext
10313 LIBS=$ac_check_lib_save_LIBS
10315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10316 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10317 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10319 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10324 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10325 case "x$with_xshape" in
10326 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10327 xno) ;;
10328 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10329 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10330 esac
10334 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10335 then
10336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10337 $as_echo_n "checking for -lXxf86vm... " >&6; }
10338 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10339 $as_echo_n "(cached) " >&6
10340 else
10341 ac_check_soname_save_LIBS=$LIBS
10342 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10344 /* end confdefs.h. */
10346 /* Override any GCC internal prototype to avoid an error.
10347 Use char because int might match the return type of a GCC
10348 builtin and then its argument prototype would still apply. */
10349 #ifdef __cplusplus
10350 extern "C"
10351 #endif
10352 char XF86VidModeQueryExtension ();
10354 main ()
10356 return XF86VidModeQueryExtension ();
10358 return 0;
10360 _ACEOF
10361 if ac_fn_c_try_link "$LINENO"; then :
10362 case "$LIBEXT" in
10363 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10364 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'` ;;
10365 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10366 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10367 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10368 fi ;;
10369 esac
10371 rm -f core conftest.err conftest.$ac_objext \
10372 conftest$ac_exeext conftest.$ac_ext
10373 LIBS=$ac_check_soname_save_LIBS
10375 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10377 $as_echo "not found" >&6; }
10379 else
10380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10381 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10383 cat >>confdefs.h <<_ACEOF
10384 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10385 _ACEOF
10390 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10391 case "x$with_xxf86vm" in
10392 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10393 xno) ;;
10394 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10395 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10396 esac
10400 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10401 then
10402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10403 $as_echo_n "checking for -lXrender... " >&6; }
10404 if ${ac_cv_lib_soname_Xrender+:} false; then :
10405 $as_echo_n "(cached) " >&6
10406 else
10407 ac_check_soname_save_LIBS=$LIBS
10408 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10410 /* end confdefs.h. */
10412 /* Override any GCC internal prototype to avoid an error.
10413 Use char because int might match the return type of a GCC
10414 builtin and then its argument prototype would still apply. */
10415 #ifdef __cplusplus
10416 extern "C"
10417 #endif
10418 char XRenderQueryExtension ();
10420 main ()
10422 return XRenderQueryExtension ();
10424 return 0;
10426 _ACEOF
10427 if ac_fn_c_try_link "$LINENO"; then :
10428 case "$LIBEXT" in
10429 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10430 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'` ;;
10431 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10432 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10433 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10434 fi ;;
10435 esac
10437 rm -f core conftest.err conftest.$ac_objext \
10438 conftest$ac_exeext conftest.$ac_ext
10439 LIBS=$ac_check_soname_save_LIBS
10441 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10443 $as_echo "not found" >&6; }
10445 else
10446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10447 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10449 cat >>confdefs.h <<_ACEOF
10450 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10451 _ACEOF
10453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10454 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10455 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10456 $as_echo_n "(cached) " >&6
10457 else
10458 ac_check_lib_save_LIBS=$LIBS
10459 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10461 /* end confdefs.h. */
10463 /* Override any GCC internal prototype to avoid an error.
10464 Use char because int might match the return type of a GCC
10465 builtin and then its argument prototype would still apply. */
10466 #ifdef __cplusplus
10467 extern "C"
10468 #endif
10469 char XRenderSetPictureTransform ();
10471 main ()
10473 return XRenderSetPictureTransform ();
10475 return 0;
10477 _ACEOF
10478 if ac_fn_c_try_link "$LINENO"; then :
10479 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10480 else
10481 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10483 rm -f core conftest.err conftest.$ac_objext \
10484 conftest$ac_exeext conftest.$ac_ext
10485 LIBS=$ac_check_lib_save_LIBS
10487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10488 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10489 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10491 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10496 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10497 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10498 $as_echo_n "(cached) " >&6
10499 else
10500 ac_check_lib_save_LIBS=$LIBS
10501 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10503 /* end confdefs.h. */
10505 /* Override any GCC internal prototype to avoid an error.
10506 Use char because int might match the return type of a GCC
10507 builtin and then its argument prototype would still apply. */
10508 #ifdef __cplusplus
10509 extern "C"
10510 #endif
10511 char XRenderCreateLinearGradient ();
10513 main ()
10515 return XRenderCreateLinearGradient ();
10517 return 0;
10519 _ACEOF
10520 if ac_fn_c_try_link "$LINENO"; then :
10521 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10522 else
10523 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10525 rm -f core conftest.err conftest.$ac_objext \
10526 conftest$ac_exeext conftest.$ac_ext
10527 LIBS=$ac_check_lib_save_LIBS
10529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10530 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10531 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10533 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10540 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10541 case "x$with_xrender" in
10542 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10543 xno) ;;
10544 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10545 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10546 esac
10550 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10551 then
10552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10553 /* end confdefs.h. */
10554 #include <X11/Xlib.h>
10555 #include <X11/extensions/Xrandr.h>
10557 main ()
10559 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10561 return 0;
10563 _ACEOF
10564 if ac_fn_c_try_compile "$LINENO"; then :
10565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10566 $as_echo_n "checking for -lXrandr... " >&6; }
10567 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10568 $as_echo_n "(cached) " >&6
10569 else
10570 ac_check_soname_save_LIBS=$LIBS
10571 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10573 /* end confdefs.h. */
10575 /* Override any GCC internal prototype to avoid an error.
10576 Use char because int might match the return type of a GCC
10577 builtin and then its argument prototype would still apply. */
10578 #ifdef __cplusplus
10579 extern "C"
10580 #endif
10581 char XRRQueryExtension ();
10583 main ()
10585 return XRRQueryExtension ();
10587 return 0;
10589 _ACEOF
10590 if ac_fn_c_try_link "$LINENO"; then :
10591 case "$LIBEXT" in
10592 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10593 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'` ;;
10594 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10595 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10596 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10597 fi ;;
10598 esac
10600 rm -f core conftest.err conftest.$ac_objext \
10601 conftest$ac_exeext conftest.$ac_ext
10602 LIBS=$ac_check_soname_save_LIBS
10604 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10606 $as_echo "not found" >&6; }
10608 else
10609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10610 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10612 cat >>confdefs.h <<_ACEOF
10613 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10614 _ACEOF
10616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10617 /* end confdefs.h. */
10618 #include <X11/Xlib.h>
10619 #include <X11/extensions/Xrandr.h>
10621 main ()
10623 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10625 return 0;
10627 _ACEOF
10628 if ac_fn_c_try_compile "$LINENO"; then :
10630 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10638 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10639 case "x$with_xrandr" in
10640 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10641 xno) ;;
10642 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10643 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10644 esac
10648 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
10649 then
10650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10651 /* end confdefs.h. */
10652 #include <X11/Xlib.h>
10653 #include <X11/extensions/Xfixes.h>
10655 main ()
10657 static typeof(XFixesQueryVersion) * func; if (func) return 0;
10659 return 0;
10661 _ACEOF
10662 if ac_fn_c_try_compile "$LINENO"; then :
10663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
10664 $as_echo_n "checking for -lXfixes... " >&6; }
10665 if ${ac_cv_lib_soname_Xfixes+:} false; then :
10666 $as_echo_n "(cached) " >&6
10667 else
10668 ac_check_soname_save_LIBS=$LIBS
10669 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
10670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10671 /* end confdefs.h. */
10673 /* Override any GCC internal prototype to avoid an error.
10674 Use char because int might match the return type of a GCC
10675 builtin and then its argument prototype would still apply. */
10676 #ifdef __cplusplus
10677 extern "C"
10678 #endif
10679 char XFixesQueryVersion ();
10681 main ()
10683 return XFixesQueryVersion ();
10685 return 0;
10687 _ACEOF
10688 if ac_fn_c_try_link "$LINENO"; then :
10689 case "$LIBEXT" in
10690 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10691 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'` ;;
10692 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10693 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10694 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10695 fi ;;
10696 esac
10698 rm -f core conftest.err conftest.$ac_objext \
10699 conftest$ac_exeext conftest.$ac_ext
10700 LIBS=$ac_check_soname_save_LIBS
10702 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10704 $as_echo "not found" >&6; }
10706 else
10707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
10708 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
10710 cat >>confdefs.h <<_ACEOF
10711 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
10712 _ACEOF
10717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10719 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
10720 case "x$with_xfixes" in
10721 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
10722 xno) ;;
10723 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
10724 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
10725 esac
10729 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10730 then
10731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10732 /* end confdefs.h. */
10733 #include <X11/Xlib.h>
10734 #include <X11/extensions/Xinerama.h>
10736 main ()
10738 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10740 return 0;
10742 _ACEOF
10743 if ac_fn_c_try_compile "$LINENO"; then :
10744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10745 $as_echo_n "checking for -lXinerama... " >&6; }
10746 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10747 $as_echo_n "(cached) " >&6
10748 else
10749 ac_check_soname_save_LIBS=$LIBS
10750 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10752 /* end confdefs.h. */
10754 /* Override any GCC internal prototype to avoid an error.
10755 Use char because int might match the return type of a GCC
10756 builtin and then its argument prototype would still apply. */
10757 #ifdef __cplusplus
10758 extern "C"
10759 #endif
10760 char XineramaQueryScreens ();
10762 main ()
10764 return XineramaQueryScreens ();
10766 return 0;
10768 _ACEOF
10769 if ac_fn_c_try_link "$LINENO"; then :
10770 case "$LIBEXT" in
10771 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10772 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'` ;;
10773 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10774 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10775 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10776 fi ;;
10777 esac
10779 rm -f core conftest.err conftest.$ac_objext \
10780 conftest$ac_exeext conftest.$ac_ext
10781 LIBS=$ac_check_soname_save_LIBS
10783 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10785 $as_echo "not found" >&6; }
10787 else
10788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10789 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10791 cat >>confdefs.h <<_ACEOF
10792 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10793 _ACEOF
10798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10800 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10801 case "x$with_xinerama" in
10802 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10803 xno) ;;
10804 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10805 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10806 esac
10810 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10811 then
10812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10813 $as_echo_n "checking for -lXcomposite... " >&6; }
10814 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10815 $as_echo_n "(cached) " >&6
10816 else
10817 ac_check_soname_save_LIBS=$LIBS
10818 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10820 /* end confdefs.h. */
10822 /* Override any GCC internal prototype to avoid an error.
10823 Use char because int might match the return type of a GCC
10824 builtin and then its argument prototype would still apply. */
10825 #ifdef __cplusplus
10826 extern "C"
10827 #endif
10828 char XCompositeRedirectWindow ();
10830 main ()
10832 return XCompositeRedirectWindow ();
10834 return 0;
10836 _ACEOF
10837 if ac_fn_c_try_link "$LINENO"; then :
10838 case "$LIBEXT" in
10839 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10840 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'` ;;
10841 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10842 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10843 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10844 fi ;;
10845 esac
10847 rm -f core conftest.err conftest.$ac_objext \
10848 conftest$ac_exeext conftest.$ac_ext
10849 LIBS=$ac_check_soname_save_LIBS
10851 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10853 $as_echo "not found" >&6; }
10855 else
10856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10857 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10859 cat >>confdefs.h <<_ACEOF
10860 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10861 _ACEOF
10866 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10867 case "x$with_xcomposite" in
10868 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10869 xno) ;;
10870 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10871 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10872 esac
10876 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10877 #include <X11/Xlib.h>
10878 #endif
10880 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10882 cat >>confdefs.h <<_ACEOF
10883 #define HAVE_XICCALLBACK_CALLBACK 1
10884 _ACEOF
10888 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10889 #include <X11/Xlib.h>
10890 #endif
10892 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10894 cat >>confdefs.h <<_ACEOF
10895 #define HAVE_XEVENT_XCOOKIE 1
10896 _ACEOF
10903 opengl_msg=""
10904 if test "x$with_opengl" != "xno"
10905 then
10906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10907 $as_echo_n "checking for -lGL... " >&6; }
10908 if ${ac_cv_lib_soname_GL+:} false; then :
10909 $as_echo_n "(cached) " >&6
10910 else
10911 ac_check_soname_save_LIBS=$LIBS
10912 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10914 /* end confdefs.h. */
10916 /* Override any GCC internal prototype to avoid an error.
10917 Use char because int might match the return type of a GCC
10918 builtin and then its argument prototype would still apply. */
10919 #ifdef __cplusplus
10920 extern "C"
10921 #endif
10922 char glXCreateContext ();
10924 main ()
10926 return glXCreateContext ();
10928 return 0;
10930 _ACEOF
10931 if ac_fn_c_try_link "$LINENO"; then :
10932 case "$LIBEXT" in
10933 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10934 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'` ;;
10935 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10936 if ${ac_cv_lib_soname_GL:+false} :; then :
10937 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10938 fi ;;
10939 esac
10941 rm -f core conftest.err conftest.$ac_objext \
10942 conftest$ac_exeext conftest.$ac_ext
10943 LIBS=$ac_check_soname_save_LIBS
10945 if ${ac_cv_lib_soname_GL:+false} :; then :
10946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10947 $as_echo "not found" >&6; }
10948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10949 $as_echo_n "checking for -lGL... " >&6; }
10950 if ${ac_cv_lib_soname_GL+:} false; then :
10951 $as_echo_n "(cached) " >&6
10952 else
10953 ac_check_soname_save_LIBS=$LIBS
10954 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"
10955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10956 /* end confdefs.h. */
10958 /* Override any GCC internal prototype to avoid an error.
10959 Use char because int might match the return type of a GCC
10960 builtin and then its argument prototype would still apply. */
10961 #ifdef __cplusplus
10962 extern "C"
10963 #endif
10964 char glXCreateContext ();
10966 main ()
10968 return glXCreateContext ();
10970 return 0;
10972 _ACEOF
10973 if ac_fn_c_try_link "$LINENO"; then :
10974 case "$LIBEXT" in
10975 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10976 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'` ;;
10977 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10978 if ${ac_cv_lib_soname_GL:+false} :; then :
10979 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10980 fi ;;
10981 esac
10983 rm -f core conftest.err conftest.$ac_objext \
10984 conftest$ac_exeext conftest.$ac_ext
10985 LIBS=$ac_check_soname_save_LIBS
10987 if ${ac_cv_lib_soname_GL:+false} :; then :
10988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10989 $as_echo "not found" >&6; }
10990 if test -f /usr/X11R6/lib/libGL.a
10991 then
10992 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10993 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10994 else
10995 opengl_msg="No OpenGL library found on this system."
10997 else
10998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10999 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11001 cat >>confdefs.h <<_ACEOF
11002 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11003 _ACEOF
11005 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"
11007 else
11008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11009 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11011 cat >>confdefs.h <<_ACEOF
11012 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11013 _ACEOF
11015 OPENGL_LIBS="-lGL"
11017 if test "x$with_glu" != "xno"
11018 then
11019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
11020 $as_echo_n "checking for -lGLU... " >&6; }
11021 if ${ac_cv_lib_soname_GLU+:} false; then :
11022 $as_echo_n "(cached) " >&6
11023 else
11024 ac_check_soname_save_LIBS=$LIBS
11025 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11027 /* end confdefs.h. */
11029 /* Override any GCC internal prototype to avoid an error.
11030 Use char because int might match the return type of a GCC
11031 builtin and then its argument prototype would still apply. */
11032 #ifdef __cplusplus
11033 extern "C"
11034 #endif
11035 char gluLookAt ();
11037 main ()
11039 return gluLookAt ();
11041 return 0;
11043 _ACEOF
11044 if ac_fn_c_try_link "$LINENO"; then :
11045 case "$LIBEXT" in
11046 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11047 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'` ;;
11048 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11049 if ${ac_cv_lib_soname_GLU:+false} :; then :
11050 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11051 fi ;;
11052 esac
11054 rm -f core conftest.err conftest.$ac_objext \
11055 conftest$ac_exeext conftest.$ac_ext
11056 LIBS=$ac_check_soname_save_LIBS
11058 if ${ac_cv_lib_soname_GLU:+false} :; then :
11059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11060 $as_echo "not found" >&6; }
11062 else
11063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
11064 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
11066 cat >>confdefs.h <<_ACEOF
11067 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11068 _ACEOF
11072 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
11073 case "x$with_glu" in
11074 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
11075 xno) ;;
11076 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
11077 This is an error since --with-glu was requested." "$LINENO" 5 ;;
11078 esac
11083 if test "x$with_osmesa" != "xno"
11084 then
11085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
11086 $as_echo_n "checking for -lOSMesa... " >&6; }
11087 if ${ac_cv_lib_soname_OSMesa+:} false; then :
11088 $as_echo_n "(cached) " >&6
11089 else
11090 ac_check_soname_save_LIBS=$LIBS
11091 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11093 /* end confdefs.h. */
11095 /* Override any GCC internal prototype to avoid an error.
11096 Use char because int might match the return type of a GCC
11097 builtin and then its argument prototype would still apply. */
11098 #ifdef __cplusplus
11099 extern "C"
11100 #endif
11101 char OSMesaGetProcAddress ();
11103 main ()
11105 return OSMesaGetProcAddress ();
11107 return 0;
11109 _ACEOF
11110 if ac_fn_c_try_link "$LINENO"; then :
11111 case "$LIBEXT" in
11112 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11113 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'` ;;
11114 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11115 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11116 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11117 fi ;;
11118 esac
11120 rm -f core conftest.err conftest.$ac_objext \
11121 conftest$ac_exeext conftest.$ac_ext
11122 LIBS=$ac_check_soname_save_LIBS
11124 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11126 $as_echo "not found" >&6; }
11128 else
11129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
11130 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
11132 cat >>confdefs.h <<_ACEOF
11133 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
11134 _ACEOF
11138 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
11139 case "x$with_osmesa" in
11140 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
11141 xno) ;;
11142 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
11143 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
11144 esac
11149 if test -n "$opengl_msg"; then :
11150 case "x$with_opengl" in
11151 x) as_fn_append wine_warnings "|$opengl_msg
11152 OpenGL and Direct3D won't be supported." ;;
11153 xno) ;;
11154 *) as_fn_error $? "$opengl_msg
11155 OpenGL and Direct3D won't be supported.
11156 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
11157 esac
11161 CPPFLAGS="$ac_save_CPPFLAGS"
11162 else
11163 X_CFLAGS=""
11164 X_LIBS=""
11167 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
11168 then
11169 if test "x$X_LIBS" = "x"; then :
11170 case "x$with_x" in
11171 xno) ;;
11172 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
11173 without X support, which probably isn't what you want. You will need
11174 to install ${notice_platform}development packages of Xlib at the very least.
11175 Use the --without-x option if you really want this." "$LINENO" 5 ;;
11176 esac
11177 enable_winex11_drv=${enable_winex11_drv:-no}
11179 else
11180 if test "x$X_LIBS" = "x"; then :
11181 case "x$with_x" in
11182 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
11183 xno) ;;
11184 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
11185 This is an error since --with-x was requested." "$LINENO" 5 ;;
11186 esac
11187 enable_winex11_drv=${enable_winex11_drv:-no}
11191 if test "$ac_cv_header_CL_cl_h" = "yes"
11192 then
11193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
11194 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
11195 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
11196 $as_echo_n "(cached) " >&6
11197 else
11198 ac_check_lib_save_LIBS=$LIBS
11199 LIBS="-lOpenCL $LIBS"
11200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11201 /* end confdefs.h. */
11203 /* Override any GCC internal prototype to avoid an error.
11204 Use char because int might match the return type of a GCC
11205 builtin and then its argument prototype would still apply. */
11206 #ifdef __cplusplus
11207 extern "C"
11208 #endif
11209 char clGetPlatformInfo ();
11211 main ()
11213 return clGetPlatformInfo ();
11215 return 0;
11217 _ACEOF
11218 if ac_fn_c_try_link "$LINENO"; then :
11219 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
11220 else
11221 ac_cv_lib_OpenCL_clGetPlatformInfo=no
11223 rm -f core conftest.err conftest.$ac_objext \
11224 conftest$ac_exeext conftest.$ac_ext
11225 LIBS=$ac_check_lib_save_LIBS
11227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11228 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11229 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
11230 OPENCL_LIBS="-lOpenCL"
11235 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11236 case "x$with_opencl" in
11237 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11238 xno) ;;
11239 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11240 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11241 esac
11242 enable_opencl=${enable_opencl:-no}
11245 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11246 then
11247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11248 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11249 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11250 $as_echo_n "(cached) " >&6
11251 else
11252 ac_check_lib_save_LIBS=$LIBS
11253 LIBS="-lpcap $LIBS"
11254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11255 /* end confdefs.h. */
11257 /* Override any GCC internal prototype to avoid an error.
11258 Use char because int might match the return type of a GCC
11259 builtin and then its argument prototype would still apply. */
11260 #ifdef __cplusplus
11261 extern "C"
11262 #endif
11263 char pcap_create ();
11265 main ()
11267 return pcap_create ();
11269 return 0;
11271 _ACEOF
11272 if ac_fn_c_try_link "$LINENO"; then :
11273 ac_cv_lib_pcap_pcap_create=yes
11274 else
11275 ac_cv_lib_pcap_pcap_create=no
11277 rm -f core conftest.err conftest.$ac_objext \
11278 conftest$ac_exeext conftest.$ac_ext
11279 LIBS=$ac_check_lib_save_LIBS
11281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11282 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11283 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11284 PCAP_LIBS="-lpcap"
11289 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11290 case "x$with_pcap" in
11291 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11292 xno) ;;
11293 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11294 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11295 esac
11296 enable_wpcap=${enable_wpcap:-no}
11300 if test "x$with_xml" != "xno"
11301 then
11302 if ${XML2_CFLAGS:+false} :; then :
11303 if ${PKG_CONFIG+:} false; then :
11304 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11307 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11308 if ${XML2_LIBS:+false} :; then :
11309 if ${PKG_CONFIG+:} false; then :
11310 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11313 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11314 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11315 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11316 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11317 ac_save_CPPFLAGS=$CPPFLAGS
11318 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11319 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11320 do :
11321 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11322 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11323 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11324 cat >>confdefs.h <<_ACEOF
11325 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11326 _ACEOF
11330 done
11332 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"
11333 then
11334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11335 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11336 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11337 $as_echo_n "(cached) " >&6
11338 else
11339 ac_check_lib_save_LIBS=$LIBS
11340 LIBS="-lxml2 $XML2_LIBS $LIBS"
11341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11342 /* end confdefs.h. */
11344 /* Override any GCC internal prototype to avoid an error.
11345 Use char because int might match the return type of a GCC
11346 builtin and then its argument prototype would still apply. */
11347 #ifdef __cplusplus
11348 extern "C"
11349 #endif
11350 char xmlParseMemory ();
11352 main ()
11354 return xmlParseMemory ();
11356 return 0;
11358 _ACEOF
11359 if ac_fn_c_try_link "$LINENO"; then :
11360 ac_cv_lib_xml2_xmlParseMemory=yes
11361 else
11362 ac_cv_lib_xml2_xmlParseMemory=no
11364 rm -f core conftest.err conftest.$ac_objext \
11365 conftest$ac_exeext conftest.$ac_ext
11366 LIBS=$ac_check_lib_save_LIBS
11368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11369 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11370 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11372 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11374 else
11375 XML2_LIBS=""
11378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11379 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11380 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11381 $as_echo_n "(cached) " >&6
11382 else
11383 ac_check_lib_save_LIBS=$LIBS
11384 LIBS="-lxml2 $XML2_LIBS $LIBS"
11385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11386 /* end confdefs.h. */
11388 /* Override any GCC internal prototype to avoid an error.
11389 Use char because int might match the return type of a GCC
11390 builtin and then its argument prototype would still apply. */
11391 #ifdef __cplusplus
11392 extern "C"
11393 #endif
11394 char xmlReadMemory ();
11396 main ()
11398 return xmlReadMemory ();
11400 return 0;
11402 _ACEOF
11403 if ac_fn_c_try_link "$LINENO"; then :
11404 ac_cv_lib_xml2_xmlReadMemory=yes
11405 else
11406 ac_cv_lib_xml2_xmlReadMemory=no
11408 rm -f core conftest.err conftest.$ac_objext \
11409 conftest$ac_exeext conftest.$ac_ext
11410 LIBS=$ac_check_lib_save_LIBS
11412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11413 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11414 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11416 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11421 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11422 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11423 $as_echo_n "(cached) " >&6
11424 else
11425 ac_check_lib_save_LIBS=$LIBS
11426 LIBS="-lxml2 $XML2_LIBS $LIBS"
11427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11428 /* end confdefs.h. */
11430 /* Override any GCC internal prototype to avoid an error.
11431 Use char because int might match the return type of a GCC
11432 builtin and then its argument prototype would still apply. */
11433 #ifdef __cplusplus
11434 extern "C"
11435 #endif
11436 char xmlNewDocPI ();
11438 main ()
11440 return xmlNewDocPI ();
11442 return 0;
11444 _ACEOF
11445 if ac_fn_c_try_link "$LINENO"; then :
11446 ac_cv_lib_xml2_xmlNewDocPI=yes
11447 else
11448 ac_cv_lib_xml2_xmlNewDocPI=no
11450 rm -f core conftest.err conftest.$ac_objext \
11451 conftest$ac_exeext conftest.$ac_ext
11452 LIBS=$ac_check_lib_save_LIBS
11454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11455 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11456 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11458 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11463 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11464 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11465 $as_echo_n "(cached) " >&6
11466 else
11467 ac_check_lib_save_LIBS=$LIBS
11468 LIBS="-lxml2 $XML2_LIBS $LIBS"
11469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11470 /* end confdefs.h. */
11472 /* Override any GCC internal prototype to avoid an error.
11473 Use char because int might match the return type of a GCC
11474 builtin and then its argument prototype would still apply. */
11475 #ifdef __cplusplus
11476 extern "C"
11477 #endif
11478 char xmlSchemaSetParserStructuredErrors ();
11480 main ()
11482 return xmlSchemaSetParserStructuredErrors ();
11484 return 0;
11486 _ACEOF
11487 if ac_fn_c_try_link "$LINENO"; then :
11488 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11489 else
11490 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11492 rm -f core conftest.err conftest.$ac_objext \
11493 conftest$ac_exeext conftest.$ac_ext
11494 LIBS=$ac_check_lib_save_LIBS
11496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11497 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11498 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11500 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11505 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11506 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11507 $as_echo_n "(cached) " >&6
11508 else
11509 ac_check_lib_save_LIBS=$LIBS
11510 LIBS="-lxml2 $XML2_LIBS $LIBS"
11511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11512 /* end confdefs.h. */
11514 /* Override any GCC internal prototype to avoid an error.
11515 Use char because int might match the return type of a GCC
11516 builtin and then its argument prototype would still apply. */
11517 #ifdef __cplusplus
11518 extern "C"
11519 #endif
11520 char xmlSchemaSetValidStructuredErrors ();
11522 main ()
11524 return xmlSchemaSetValidStructuredErrors ();
11526 return 0;
11528 _ACEOF
11529 if ac_fn_c_try_link "$LINENO"; then :
11530 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11531 else
11532 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11534 rm -f core conftest.err conftest.$ac_objext \
11535 conftest$ac_exeext conftest.$ac_ext
11536 LIBS=$ac_check_lib_save_LIBS
11538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11539 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11540 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11542 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11547 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11548 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11549 $as_echo_n "(cached) " >&6
11550 else
11551 ac_check_lib_save_LIBS=$LIBS
11552 LIBS="-lxml2 $XML2_LIBS $LIBS"
11553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11554 /* end confdefs.h. */
11556 /* Override any GCC internal prototype to avoid an error.
11557 Use char because int might match the return type of a GCC
11558 builtin and then its argument prototype would still apply. */
11559 #ifdef __cplusplus
11560 extern "C"
11561 #endif
11562 char xmlFirstElementChild ();
11564 main ()
11566 return xmlFirstElementChild ();
11568 return 0;
11570 _ACEOF
11571 if ac_fn_c_try_link "$LINENO"; then :
11572 ac_cv_lib_xml2_xmlFirstElementChild=yes
11573 else
11574 ac_cv_lib_xml2_xmlFirstElementChild=no
11576 rm -f core conftest.err conftest.$ac_objext \
11577 conftest$ac_exeext conftest.$ac_ext
11578 LIBS=$ac_check_lib_save_LIBS
11580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11581 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11582 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11584 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11588 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11590 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11592 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11596 else
11597 XML2_CFLAGS=""
11598 XML2_LIBS=""
11600 CPPFLAGS=$ac_save_CPPFLAGS
11601 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11602 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11605 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11606 case "x$with_xml" in
11607 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11608 xno) ;;
11609 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11610 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11611 esac
11615 if test "x$with_xslt" != "xno"
11616 then
11617 if ${XSLT_CFLAGS:+false} :; then :
11618 if ${PKG_CONFIG+:} false; then :
11619 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11622 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11623 if ${XSLT_LIBS:+false} :; then :
11624 if ${PKG_CONFIG+:} false; then :
11625 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11628 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11629 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11630 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11631 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11632 ac_save_CPPFLAGS=$CPPFLAGS
11633 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11634 for ac_header in libxslt/pattern.h libxslt/transform.h
11635 do :
11636 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11637 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11638 # include <libxslt/pattern.h>
11639 #endif
11641 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11642 cat >>confdefs.h <<_ACEOF
11643 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11644 _ACEOF
11648 done
11650 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11651 then
11652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11653 $as_echo_n "checking for -lxslt... " >&6; }
11654 if ${ac_cv_lib_soname_xslt+:} false; then :
11655 $as_echo_n "(cached) " >&6
11656 else
11657 ac_check_soname_save_LIBS=$LIBS
11658 LIBS="-lxslt $XSLT_LIBS $LIBS"
11659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11660 /* end confdefs.h. */
11662 /* Override any GCC internal prototype to avoid an error.
11663 Use char because int might match the return type of a GCC
11664 builtin and then its argument prototype would still apply. */
11665 #ifdef __cplusplus
11666 extern "C"
11667 #endif
11668 char xsltCompilePattern ();
11670 main ()
11672 return xsltCompilePattern ();
11674 return 0;
11676 _ACEOF
11677 if ac_fn_c_try_link "$LINENO"; then :
11678 case "$LIBEXT" in
11679 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11680 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'` ;;
11681 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11682 if ${ac_cv_lib_soname_xslt:+false} :; then :
11683 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11684 fi ;;
11685 esac
11687 rm -f core conftest.err conftest.$ac_objext \
11688 conftest$ac_exeext conftest.$ac_ext
11689 LIBS=$ac_check_soname_save_LIBS
11691 if ${ac_cv_lib_soname_xslt:+false} :; then :
11692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11693 $as_echo "not found" >&6; }
11695 else
11696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11697 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11699 cat >>confdefs.h <<_ACEOF
11700 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11701 _ACEOF
11705 else
11706 XSLT_CFLAGS=""
11708 CPPFLAGS=$ac_save_CPPFLAGS
11709 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11710 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11713 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11714 case "x$with_xslt" in
11715 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11716 xno) ;;
11717 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11718 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11719 esac
11723 if test "x$with_dbus" != "xno"
11724 then
11725 if ${DBUS_CFLAGS:+false} :; then :
11726 if ${PKG_CONFIG+:} false; then :
11727 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11731 if ${DBUS_LIBS:+false} :; then :
11732 if ${PKG_CONFIG+:} false; then :
11733 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11738 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11739 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11740 ac_save_CPPFLAGS=$CPPFLAGS
11741 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11742 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11743 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11745 $as_echo_n "checking for -ldbus-1... " >&6; }
11746 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11747 $as_echo_n "(cached) " >&6
11748 else
11749 ac_check_soname_save_LIBS=$LIBS
11750 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11752 /* end confdefs.h. */
11754 /* Override any GCC internal prototype to avoid an error.
11755 Use char because int might match the return type of a GCC
11756 builtin and then its argument prototype would still apply. */
11757 #ifdef __cplusplus
11758 extern "C"
11759 #endif
11760 char dbus_connection_close ();
11762 main ()
11764 return dbus_connection_close ();
11766 return 0;
11768 _ACEOF
11769 if ac_fn_c_try_link "$LINENO"; then :
11770 case "$LIBEXT" in
11771 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11772 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'` ;;
11773 *) 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'`
11774 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11775 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11776 fi ;;
11777 esac
11779 rm -f core conftest.err conftest.$ac_objext \
11780 conftest$ac_exeext conftest.$ac_ext
11781 LIBS=$ac_check_soname_save_LIBS
11783 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11785 $as_echo "not found" >&6; }
11786 DBUS_CFLAGS=""
11787 else
11788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11789 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11791 cat >>confdefs.h <<_ACEOF
11792 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11793 _ACEOF
11797 else
11798 DBUS_CFLAGS=""
11802 CPPFLAGS=$ac_save_CPPFLAGS
11803 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11804 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11807 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11808 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11809 case "x$with_dbus" in
11810 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11811 xno) ;;
11812 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11813 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11814 esac
11818 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11819 then
11820 if ${HAL_CFLAGS:+false} :; then :
11821 if ${PKG_CONFIG+:} false; then :
11822 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11826 if ${HAL_LIBS:+false} :; then :
11827 if ${PKG_CONFIG+:} false; then :
11828 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11832 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11833 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11834 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11835 ac_save_CPPFLAGS=$CPPFLAGS
11836 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11837 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11838 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11840 $as_echo_n "checking for -lhal... " >&6; }
11841 if ${ac_cv_lib_soname_hal+:} false; then :
11842 $as_echo_n "(cached) " >&6
11843 else
11844 ac_check_soname_save_LIBS=$LIBS
11845 LIBS="-lhal $HAL_LIBS $LIBS"
11846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11847 /* end confdefs.h. */
11849 /* Override any GCC internal prototype to avoid an error.
11850 Use char because int might match the return type of a GCC
11851 builtin and then its argument prototype would still apply. */
11852 #ifdef __cplusplus
11853 extern "C"
11854 #endif
11855 char libhal_ctx_new ();
11857 main ()
11859 return libhal_ctx_new ();
11861 return 0;
11863 _ACEOF
11864 if ac_fn_c_try_link "$LINENO"; then :
11865 case "$LIBEXT" in
11866 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11867 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'` ;;
11868 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11869 if ${ac_cv_lib_soname_hal:+false} :; then :
11870 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11871 fi ;;
11872 esac
11874 rm -f core conftest.err conftest.$ac_objext \
11875 conftest$ac_exeext conftest.$ac_ext
11876 LIBS=$ac_check_soname_save_LIBS
11878 if ${ac_cv_lib_soname_hal:+false} :; then :
11879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11880 $as_echo "not found" >&6; }
11881 HAL_CFLAGS=""
11882 else
11883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11884 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11886 cat >>confdefs.h <<_ACEOF
11887 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11888 _ACEOF
11892 else
11893 HAL_CFLAGS=""
11897 CPPFLAGS=$ac_save_CPPFLAGS
11898 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11899 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11901 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11902 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11903 case "x$with_hal" in
11904 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11905 xno) ;;
11906 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11907 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11908 esac
11913 if test "x$with_gnutls" != "xno"
11914 then
11915 if ${GNUTLS_CFLAGS:+false} :; then :
11916 if ${PKG_CONFIG+:} false; then :
11917 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11921 if ${GNUTLS_LIBS:+false} :; then :
11922 if ${PKG_CONFIG+:} false; then :
11923 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11928 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11929 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11930 ac_save_CPPFLAGS=$CPPFLAGS
11931 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11932 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11933 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11935 /* end confdefs.h. */
11936 #include <gnutls/gnutls.h>
11937 #include <gnutls/crypto.h>
11939 main ()
11941 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11943 return 0;
11945 _ACEOF
11946 if ac_fn_c_try_compile "$LINENO"; then :
11947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11948 $as_echo_n "checking for -lgnutls... " >&6; }
11949 if ${ac_cv_lib_soname_gnutls+:} false; then :
11950 $as_echo_n "(cached) " >&6
11951 else
11952 ac_check_soname_save_LIBS=$LIBS
11953 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11955 /* end confdefs.h. */
11957 /* Override any GCC internal prototype to avoid an error.
11958 Use char because int might match the return type of a GCC
11959 builtin and then its argument prototype would still apply. */
11960 #ifdef __cplusplus
11961 extern "C"
11962 #endif
11963 char gnutls_global_init ();
11965 main ()
11967 return gnutls_global_init ();
11969 return 0;
11971 _ACEOF
11972 if ac_fn_c_try_link "$LINENO"; then :
11973 case "$LIBEXT" in
11974 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11975 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'` ;;
11976 *) 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'`
11977 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11978 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'`
11979 fi ;;
11980 esac
11982 rm -f core conftest.err conftest.$ac_objext \
11983 conftest$ac_exeext conftest.$ac_ext
11984 LIBS=$ac_check_soname_save_LIBS
11986 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11988 $as_echo "not found" >&6; }
11989 GNUTLS_CFLAGS=""
11990 else
11991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11992 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11994 cat >>confdefs.h <<_ACEOF
11995 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11996 _ACEOF
12000 ac_wine_check_funcs_save_LIBS="$LIBS"
12001 LIBS="$LIBS $GNUTLS_LIBS"
12002 for ac_func in gnutls_cipher_init
12003 do :
12004 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
12005 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
12006 cat >>confdefs.h <<_ACEOF
12007 #define HAVE_GNUTLS_CIPHER_INIT 1
12008 _ACEOF
12010 else
12011 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
12013 done
12015 LIBS="$ac_wine_check_funcs_save_LIBS"
12017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12018 else
12019 GNUTLS_CFLAGS=""
12023 CPPFLAGS=$ac_save_CPPFLAGS
12024 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12025 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12028 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
12029 case "x$with_gnutls" in
12030 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
12031 xno) ;;
12032 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
12033 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
12034 esac
12038 CURSES_LIBS=""
12039 if test "$ac_cv_header_ncurses_h" = "yes"
12040 then
12041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
12042 $as_echo_n "checking for -lncurses... " >&6; }
12043 if ${ac_cv_lib_soname_ncurses+:} false; then :
12044 $as_echo_n "(cached) " >&6
12045 else
12046 ac_check_soname_save_LIBS=$LIBS
12047 LIBS="-lncurses $LIBS"
12048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12049 /* end confdefs.h. */
12051 /* Override any GCC internal prototype to avoid an error.
12052 Use char because int might match the return type of a GCC
12053 builtin and then its argument prototype would still apply. */
12054 #ifdef __cplusplus
12055 extern "C"
12056 #endif
12057 char waddch ();
12059 main ()
12061 return waddch ();
12063 return 0;
12065 _ACEOF
12066 if ac_fn_c_try_link "$LINENO"; then :
12067 case "$LIBEXT" in
12068 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12069 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'` ;;
12070 *) 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'`
12071 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12072 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12073 fi ;;
12074 esac
12076 rm -f core conftest.err conftest.$ac_objext \
12077 conftest$ac_exeext conftest.$ac_ext
12078 LIBS=$ac_check_soname_save_LIBS
12080 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12082 $as_echo "not found" >&6; }
12084 else
12085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
12086 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
12088 cat >>confdefs.h <<_ACEOF
12089 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12090 _ACEOF
12092 CURSES_LIBS="-lncurses"
12094 elif test "$ac_cv_header_curses_h" = "yes"
12095 then
12096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
12097 $as_echo_n "checking for -lcurses... " >&6; }
12098 if ${ac_cv_lib_soname_curses+:} false; then :
12099 $as_echo_n "(cached) " >&6
12100 else
12101 ac_check_soname_save_LIBS=$LIBS
12102 LIBS="-lcurses $LIBS"
12103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12104 /* end confdefs.h. */
12106 /* Override any GCC internal prototype to avoid an error.
12107 Use char because int might match the return type of a GCC
12108 builtin and then its argument prototype would still apply. */
12109 #ifdef __cplusplus
12110 extern "C"
12111 #endif
12112 char waddch ();
12114 main ()
12116 return waddch ();
12118 return 0;
12120 _ACEOF
12121 if ac_fn_c_try_link "$LINENO"; then :
12122 case "$LIBEXT" in
12123 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12124 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'` ;;
12125 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12126 if ${ac_cv_lib_soname_curses:+false} :; then :
12127 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12128 fi ;;
12129 esac
12131 rm -f core conftest.err conftest.$ac_objext \
12132 conftest$ac_exeext conftest.$ac_ext
12133 LIBS=$ac_check_soname_save_LIBS
12135 if ${ac_cv_lib_soname_curses:+false} :; then :
12136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12137 $as_echo "not found" >&6; }
12139 else
12140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
12141 $as_echo "$ac_cv_lib_soname_curses" >&6; }
12143 cat >>confdefs.h <<_ACEOF
12144 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12145 _ACEOF
12147 CURSES_LIBS="-lcurses"
12150 ac_save_LIBS="$LIBS"
12151 LIBS="$LIBS $CURSES_LIBS"
12152 for ac_func in mousemask
12153 do :
12154 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
12155 if test "x$ac_cv_func_mousemask" = xyes; then :
12156 cat >>confdefs.h <<_ACEOF
12157 #define HAVE_MOUSEMASK 1
12158 _ACEOF
12161 done
12163 LIBS="$ac_save_LIBS"
12164 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
12165 case "x$with_curses" in
12166 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
12167 xno) ;;
12168 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
12169 This is an error since --with-curses was requested." "$LINENO" 5 ;;
12170 esac
12174 if test "x$with_sane" != "xno"
12175 then
12176 if ${SANE_CFLAGS:+false} :; then :
12177 if ${PKG_CONFIG+:} false; then :
12178 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
12181 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
12182 if ${SANE_LIBS:+false} :; then :
12183 if ${PKG_CONFIG+:} false; then :
12184 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
12187 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
12189 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
12190 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
12191 ac_save_CPPFLAGS=$CPPFLAGS
12192 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
12193 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
12194 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
12195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
12196 $as_echo_n "checking for -lsane... " >&6; }
12197 if ${ac_cv_lib_soname_sane+:} false; then :
12198 $as_echo_n "(cached) " >&6
12199 else
12200 ac_check_soname_save_LIBS=$LIBS
12201 LIBS="-lsane $SANE_LIBS $LIBS"
12202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12203 /* end confdefs.h. */
12205 /* Override any GCC internal prototype to avoid an error.
12206 Use char because int might match the return type of a GCC
12207 builtin and then its argument prototype would still apply. */
12208 #ifdef __cplusplus
12209 extern "C"
12210 #endif
12211 char sane_init ();
12213 main ()
12215 return sane_init ();
12217 return 0;
12219 _ACEOF
12220 if ac_fn_c_try_link "$LINENO"; then :
12221 case "$LIBEXT" in
12222 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12223 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'` ;;
12224 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12225 if ${ac_cv_lib_soname_sane:+false} :; then :
12226 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12227 fi ;;
12228 esac
12230 rm -f core conftest.err conftest.$ac_objext \
12231 conftest$ac_exeext conftest.$ac_ext
12232 LIBS=$ac_check_soname_save_LIBS
12234 if ${ac_cv_lib_soname_sane:+false} :; then :
12235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12236 $as_echo "not found" >&6; }
12237 SANE_CFLAGS=""
12238 else
12239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12240 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12242 cat >>confdefs.h <<_ACEOF
12243 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12244 _ACEOF
12248 else
12249 SANE_CFLAGS=""
12253 CPPFLAGS=$ac_save_CPPFLAGS
12254 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12255 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12258 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12259 case "x$with_sane" in
12260 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12261 xno) ;;
12262 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12263 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12264 esac
12268 if test "x$with_v4l" != "xno"
12269 then
12270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12271 $as_echo_n "checking for -lv4l1... " >&6; }
12272 if ${ac_cv_lib_soname_v4l1+:} false; then :
12273 $as_echo_n "(cached) " >&6
12274 else
12275 ac_check_soname_save_LIBS=$LIBS
12276 LIBS="-lv4l1 $LIBS"
12277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12278 /* end confdefs.h. */
12280 /* Override any GCC internal prototype to avoid an error.
12281 Use char because int might match the return type of a GCC
12282 builtin and then its argument prototype would still apply. */
12283 #ifdef __cplusplus
12284 extern "C"
12285 #endif
12286 char v4l1_open ();
12288 main ()
12290 return v4l1_open ();
12292 return 0;
12294 _ACEOF
12295 if ac_fn_c_try_link "$LINENO"; then :
12296 case "$LIBEXT" in
12297 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12298 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'` ;;
12299 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12300 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12301 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12302 fi ;;
12303 esac
12305 rm -f core conftest.err conftest.$ac_objext \
12306 conftest$ac_exeext conftest.$ac_ext
12307 LIBS=$ac_check_soname_save_LIBS
12309 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12311 $as_echo "not found" >&6; }
12313 else
12314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12315 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12317 cat >>confdefs.h <<_ACEOF
12318 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12319 _ACEOF
12324 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12325 case "x$with_v4l" in
12326 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12327 xno) ;;
12328 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12329 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12330 esac
12334 if test "x$with_gphoto" != "xno"
12335 then
12336 if ${GPHOTO2_CFLAGS:+false} :; then :
12337 if ${PKG_CONFIG+:} false; then :
12338 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12341 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12342 if ${GPHOTO2_LIBS:+false} :; then :
12343 if ${PKG_CONFIG+:} false; then :
12344 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12347 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12348 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12349 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12350 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12351 ac_save_CPPFLAGS=$CPPFLAGS
12352 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12353 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12354 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12356 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12357 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12358 $as_echo_n "(cached) " >&6
12359 else
12360 ac_check_lib_save_LIBS=$LIBS
12361 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12363 /* end confdefs.h. */
12365 /* Override any GCC internal prototype to avoid an error.
12366 Use char because int might match the return type of a GCC
12367 builtin and then its argument prototype would still apply. */
12368 #ifdef __cplusplus
12369 extern "C"
12370 #endif
12371 char gp_camera_new ();
12373 main ()
12375 return gp_camera_new ();
12377 return 0;
12379 _ACEOF
12380 if ac_fn_c_try_link "$LINENO"; then :
12381 ac_cv_lib_gphoto2_gp_camera_new=yes
12382 else
12383 ac_cv_lib_gphoto2_gp_camera_new=no
12385 rm -f core conftest.err conftest.$ac_objext \
12386 conftest$ac_exeext conftest.$ac_ext
12387 LIBS=$ac_check_lib_save_LIBS
12389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12390 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12391 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12393 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12395 else
12396 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12399 else
12400 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12404 CPPFLAGS=$ac_save_CPPFLAGS
12405 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12406 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12408 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12409 if ${PKG_CONFIG+:} false; then :
12410 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12413 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12414 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12415 if ${PKG_CONFIG+:} false; then :
12416 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12419 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12420 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12421 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12422 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12423 ac_save_CPPFLAGS=$CPPFLAGS
12424 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12425 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12426 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12428 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12429 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12430 $as_echo_n "(cached) " >&6
12431 else
12432 ac_check_lib_save_LIBS=$LIBS
12433 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12435 /* end confdefs.h. */
12437 /* Override any GCC internal prototype to avoid an error.
12438 Use char because int might match the return type of a GCC
12439 builtin and then its argument prototype would still apply. */
12440 #ifdef __cplusplus
12441 extern "C"
12442 #endif
12443 char gp_port_info_list_new ();
12445 main ()
12447 return gp_port_info_list_new ();
12449 return 0;
12451 _ACEOF
12452 if ac_fn_c_try_link "$LINENO"; then :
12453 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12454 else
12455 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12457 rm -f core conftest.err conftest.$ac_objext \
12458 conftest$ac_exeext conftest.$ac_ext
12459 LIBS=$ac_check_lib_save_LIBS
12461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12462 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12463 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12465 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12467 else
12468 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12471 else
12472 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12476 CPPFLAGS=$ac_save_CPPFLAGS
12477 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12478 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12481 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12482 case "x$with_gphoto" in
12483 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12484 xno) ;;
12485 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12486 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12487 esac
12490 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12491 case "x$with_gphoto" in
12492 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12493 xno) ;;
12494 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12495 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12496 esac
12501 if test "$ac_cv_header_resolv_h" = "yes"
12502 then
12503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12504 $as_echo_n "checking for resolver library... " >&6; }
12505 if ${ac_cv_have_resolv+:} false; then :
12506 $as_echo_n "(cached) " >&6
12507 else
12508 ac_save_LIBS="$LIBS"
12509 for lib in '' -lresolv
12511 LIBS="$lib $ac_save_LIBS"
12512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12513 /* end confdefs.h. */
12514 #ifdef HAVE_NETINET_IN_H
12515 #include <netinet/in.h>
12516 #endif
12517 #include <resolv.h>
12519 main ()
12521 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12523 return 0;
12525 _ACEOF
12526 if ac_fn_c_try_link "$LINENO"; then :
12527 ac_cv_have_resolv=${lib:-"none required"}
12528 else
12529 ac_cv_have_resolv="not found"
12531 rm -f core conftest.err conftest.$ac_objext \
12532 conftest$ac_exeext conftest.$ac_ext
12533 test "x$ac_cv_have_resolv" = "xnot found" || break
12534 done
12535 LIBS="$ac_save_LIBS"
12537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12538 $as_echo "$ac_cv_have_resolv" >&6; }
12540 case "$ac_cv_have_resolv" in
12541 "not found") ;;
12542 "none required")
12544 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12547 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12549 RESOLV_LIBS=$ac_cv_have_resolv
12551 esac
12554 if test "x$with_cms" != "xno"
12555 then
12556 if ${LCMS2_CFLAGS:+false} :; then :
12557 if ${PKG_CONFIG+:} false; then :
12558 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12562 if ${LCMS2_LIBS:+false} :; then :
12563 if ${PKG_CONFIG+:} false; then :
12564 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12568 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12569 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12570 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12571 ac_save_CPPFLAGS=$CPPFLAGS
12572 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12573 for ac_header in lcms2.h
12574 do :
12575 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12576 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12577 cat >>confdefs.h <<_ACEOF
12578 #define HAVE_LCMS2_H 1
12579 _ACEOF
12583 done
12585 if test "$ac_cv_header_lcms2_h" = "yes"
12586 then
12587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12588 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12589 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12590 $as_echo_n "(cached) " >&6
12591 else
12592 ac_check_lib_save_LIBS=$LIBS
12593 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12595 /* end confdefs.h. */
12597 /* Override any GCC internal prototype to avoid an error.
12598 Use char because int might match the return type of a GCC
12599 builtin and then its argument prototype would still apply. */
12600 #ifdef __cplusplus
12601 extern "C"
12602 #endif
12603 char cmsOpenProfileFromFile ();
12605 main ()
12607 return cmsOpenProfileFromFile ();
12609 return 0;
12611 _ACEOF
12612 if ac_fn_c_try_link "$LINENO"; then :
12613 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12614 else
12615 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12617 rm -f core conftest.err conftest.$ac_objext \
12618 conftest$ac_exeext conftest.$ac_ext
12619 LIBS=$ac_check_lib_save_LIBS
12621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12622 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12623 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12625 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12627 else
12628 LCMS2_LIBS=""
12631 else
12632 LCMS2_CFLAGS=""
12633 LCMS2_LIBS=""
12635 CPPFLAGS=$ac_save_CPPFLAGS
12636 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12637 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12640 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12641 case "x$with_cms" in
12642 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12643 xno) ;;
12644 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12645 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12646 esac
12650 if test "x$with_freetype" != "xno"
12651 then
12652 if ${FREETYPE_CFLAGS:+false} :; then :
12653 if ${PKG_CONFIG+:} false; then :
12654 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12657 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12658 if ${FREETYPE_LIBS:+false} :; then :
12659 if ${PKG_CONFIG+:} false; then :
12660 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12663 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12664 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12665 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12666 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12667 ac_save_CPPFLAGS=$CPPFLAGS
12668 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12669 for ac_header in ft2build.h
12670 do :
12671 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12672 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12673 cat >>confdefs.h <<_ACEOF
12674 #define HAVE_FT2BUILD_H 1
12675 _ACEOF
12679 done
12681 if test "$ac_cv_header_ft2build_h" = "yes"
12682 then
12683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12684 $as_echo_n "checking for -lfreetype... " >&6; }
12685 if ${ac_cv_lib_soname_freetype+:} false; then :
12686 $as_echo_n "(cached) " >&6
12687 else
12688 ac_check_soname_save_LIBS=$LIBS
12689 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12691 /* end confdefs.h. */
12693 /* Override any GCC internal prototype to avoid an error.
12694 Use char because int might match the return type of a GCC
12695 builtin and then its argument prototype would still apply. */
12696 #ifdef __cplusplus
12697 extern "C"
12698 #endif
12699 char FT_Init_FreeType ();
12701 main ()
12703 return FT_Init_FreeType ();
12705 return 0;
12707 _ACEOF
12708 if ac_fn_c_try_link "$LINENO"; then :
12709 case "$LIBEXT" in
12710 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12711 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'` ;;
12712 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12713 if ${ac_cv_lib_soname_freetype:+false} :; then :
12714 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12715 fi ;;
12716 esac
12718 rm -f core conftest.err conftest.$ac_objext \
12719 conftest$ac_exeext conftest.$ac_ext
12720 LIBS=$ac_check_soname_save_LIBS
12722 if ${ac_cv_lib_soname_freetype:+false} :; then :
12723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12724 $as_echo "not found" >&6; }
12725 FREETYPE_LIBS=""
12726 else
12727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12728 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12730 cat >>confdefs.h <<_ACEOF
12731 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12732 _ACEOF
12735 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12737 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12738 #include FT_MODULE_H
12740 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12742 cat >>confdefs.h <<_ACEOF
12743 #define HAVE_FT_TRUETYPEENGINETYPE 1
12744 _ACEOF
12750 else
12751 FREETYPE_CFLAGS=""
12752 FREETYPE_LIBS=""
12754 CPPFLAGS=$ac_save_CPPFLAGS
12755 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12756 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12759 if test "x$ac_cv_lib_soname_freetype" = x; then :
12760 case "x$with_freetype" in
12761 xno) ;;
12762 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12763 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12764 esac
12765 enable_fonts=${enable_fonts:-no}
12768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12769 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12770 if ${ac_cv_c_ppdev+:} false; then :
12771 $as_echo_n "(cached) " >&6
12772 else
12773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12774 /* end confdefs.h. */
12775 #ifdef HAVE_SYS_IOCTL_H
12776 # include <sys/ioctl.h>
12777 #endif
12778 #include <linux/ppdev.h>
12780 main ()
12782 ioctl (1,PPCLAIM,0)
12784 return 0;
12786 _ACEOF
12787 if ac_fn_c_try_compile "$LINENO"; then :
12788 ac_cv_c_ppdev="yes"
12789 else
12790 ac_cv_c_ppdev="no"
12792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12795 $as_echo "$ac_cv_c_ppdev" >&6; }
12796 if test "$ac_cv_c_ppdev" = "yes"
12797 then
12799 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12803 ac_wine_check_funcs_save_LIBS="$LIBS"
12804 LIBS="$LIBS $PTHREAD_LIBS"
12805 for ac_func in \
12806 pthread_attr_get_np \
12807 pthread_getattr_np \
12808 pthread_getthreadid_np \
12809 pthread_get_stackaddr_np \
12810 pthread_get_stacksize_np
12811 do :
12812 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12813 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12814 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12815 cat >>confdefs.h <<_ACEOF
12816 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12817 _ACEOF
12820 done
12822 LIBS="$ac_wine_check_funcs_save_LIBS"
12824 if test "$ac_cv_header_zlib_h" = "yes"
12825 then
12826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12827 $as_echo_n "checking for inflate in -lz... " >&6; }
12828 if ${ac_cv_lib_z_inflate+:} false; then :
12829 $as_echo_n "(cached) " >&6
12830 else
12831 ac_check_lib_save_LIBS=$LIBS
12832 LIBS="-lz $LIBS"
12833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12834 /* end confdefs.h. */
12836 /* Override any GCC internal prototype to avoid an error.
12837 Use char because int might match the return type of a GCC
12838 builtin and then its argument prototype would still apply. */
12839 #ifdef __cplusplus
12840 extern "C"
12841 #endif
12842 char inflate ();
12844 main ()
12846 return inflate ();
12848 return 0;
12850 _ACEOF
12851 if ac_fn_c_try_link "$LINENO"; then :
12852 ac_cv_lib_z_inflate=yes
12853 else
12854 ac_cv_lib_z_inflate=no
12856 rm -f core conftest.err conftest.$ac_objext \
12857 conftest$ac_exeext conftest.$ac_ext
12858 LIBS=$ac_check_lib_save_LIBS
12860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12861 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12862 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12864 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12866 Z_LIBS="-lz"
12871 if test "x$Z_LIBS" = "x"; then :
12872 case "x$with_zlib" in
12873 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12874 xno) ;;
12875 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12876 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12877 esac
12881 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12882 then
12883 if test "$ac_cv_header_gettext_po_h" = "yes"
12884 then
12885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12886 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12887 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12888 $as_echo_n "(cached) " >&6
12889 else
12890 ac_check_lib_save_LIBS=$LIBS
12891 LIBS="-lgettextpo $LIBS"
12892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12893 /* end confdefs.h. */
12895 /* Override any GCC internal prototype to avoid an error.
12896 Use char because int might match the return type of a GCC
12897 builtin and then its argument prototype would still apply. */
12898 #ifdef __cplusplus
12899 extern "C"
12900 #endif
12901 char po_message_msgctxt ();
12903 main ()
12905 return po_message_msgctxt ();
12907 return 0;
12909 _ACEOF
12910 if ac_fn_c_try_link "$LINENO"; then :
12911 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12912 else
12913 ac_cv_lib_gettextpo_po_message_msgctxt=no
12915 rm -f core conftest.err conftest.$ac_objext \
12916 conftest$ac_exeext conftest.$ac_ext
12917 LIBS=$ac_check_lib_save_LIBS
12919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12920 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12921 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12923 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12925 GETTEXTPO_LIBS="-lgettextpo"
12930 if test "x$GETTEXTPO_LIBS" = "x"; then :
12931 case "x$with_gettextpo" in
12932 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12933 xno) ;;
12934 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12935 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12936 esac
12939 if test "$srcdir" != .; then :
12940 case "x$with_gettextpo" in
12941 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12942 xno) ;;
12943 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12944 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12945 esac
12950 if test "x$with_pulse" != "xno";
12951 then
12952 if ${PULSE_CFLAGS:+false} :; then :
12953 if ${PKG_CONFIG+:} false; then :
12954 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12958 if ${PULSE_LIBS:+false} :; then :
12959 if ${PKG_CONFIG+:} false; then :
12960 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12965 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12966 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12967 ac_save_CPPFLAGS=$CPPFLAGS
12968 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12969 for ac_header in pulse/pulseaudio.h
12970 do :
12971 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12972 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12973 cat >>confdefs.h <<_ACEOF
12974 #define HAVE_PULSE_PULSEAUDIO_H 1
12975 _ACEOF
12976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12977 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12978 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12979 $as_echo_n "(cached) " >&6
12980 else
12981 ac_check_lib_save_LIBS=$LIBS
12982 LIBS="-lpulse $PULSE_LIBS $LIBS"
12983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12984 /* end confdefs.h. */
12986 /* Override any GCC internal prototype to avoid an error.
12987 Use char because int might match the return type of a GCC
12988 builtin and then its argument prototype would still apply. */
12989 #ifdef __cplusplus
12990 extern "C"
12991 #endif
12992 char pa_stream_is_corked ();
12994 main ()
12996 return pa_stream_is_corked ();
12998 return 0;
13000 _ACEOF
13001 if ac_fn_c_try_link "$LINENO"; then :
13002 ac_cv_lib_pulse_pa_stream_is_corked=yes
13003 else
13004 ac_cv_lib_pulse_pa_stream_is_corked=no
13006 rm -f core conftest.err conftest.$ac_objext \
13007 conftest$ac_exeext conftest.$ac_ext
13008 LIBS=$ac_check_lib_save_LIBS
13010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
13011 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
13012 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
13014 else
13015 PULSE_LIBS=""
13018 else
13019 PULSE_LIBS=""
13022 done
13024 CPPFLAGS=$ac_save_CPPFLAGS
13025 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13026 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13029 if test -z "$PULSE_LIBS"; then :
13030 case "x$with_pulse" in
13031 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
13032 xno) ;;
13033 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
13034 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
13035 esac
13036 enable_winepulse_drv=${enable_winepulse_drv:-no}
13039 if test "x$with_gstreamer" != "xno"
13040 then
13041 if ${GSTREAMER_CFLAGS:+false} :; then :
13042 if ${PKG_CONFIG+:} false; then :
13043 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13047 if ${GSTREAMER_LIBS:+false} :; then :
13048 if ${PKG_CONFIG+:} false; then :
13049 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13054 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
13055 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
13056 ac_save_CPPFLAGS=$CPPFLAGS
13057 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
13058 ac_gst_incl=""
13059 for i in $GSTREAMER_CFLAGS
13061 case "$i" in
13062 -I*) ac_gst_incl="$ac_gst_incl $i";;
13063 esac
13064 done
13065 GSTREAMER_CFLAGS=$ac_gst_incl
13066 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
13067 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
13068 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
13069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
13070 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
13071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13072 /* end confdefs.h. */
13073 #include <gst/gst.h>
13075 main ()
13077 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
13079 return 0;
13081 _ACEOF
13082 if ac_fn_c_try_compile "$LINENO"; then :
13083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13084 $as_echo "yes" >&6; }
13085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
13086 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
13087 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
13088 $as_echo_n "(cached) " >&6
13089 else
13090 ac_check_lib_save_LIBS=$LIBS
13091 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
13092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13093 /* end confdefs.h. */
13095 /* Override any GCC internal prototype to avoid an error.
13096 Use char because int might match the return type of a GCC
13097 builtin and then its argument prototype would still apply. */
13098 #ifdef __cplusplus
13099 extern "C"
13100 #endif
13101 char gst_pad_new ();
13103 main ()
13105 return gst_pad_new ();
13107 return 0;
13109 _ACEOF
13110 if ac_fn_c_try_link "$LINENO"; then :
13111 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
13112 else
13113 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
13115 rm -f core conftest.err conftest.$ac_objext \
13116 conftest$ac_exeext conftest.$ac_ext
13117 LIBS=$ac_check_lib_save_LIBS
13119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
13120 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
13121 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
13125 else
13126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13127 $as_echo "no" >&6; }
13128 ac_glib2_broken=yes
13129 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
13131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13135 CPPFLAGS=$ac_save_CPPFLAGS
13136 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13137 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13140 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 :
13141 case "x$with_gstreamer" in
13142 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
13143 xno) ;;
13144 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
13145 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
13146 esac
13149 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
13151 ALSA_LIBS=""
13153 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13154 then
13155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
13156 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
13157 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
13158 $as_echo_n "(cached) " >&6
13159 else
13160 ac_check_lib_save_LIBS=$LIBS
13161 LIBS="-lasound $LIBS"
13162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13163 /* end confdefs.h. */
13165 /* Override any GCC internal prototype to avoid an error.
13166 Use char because int might match the return type of a GCC
13167 builtin and then its argument prototype would still apply. */
13168 #ifdef __cplusplus
13169 extern "C"
13170 #endif
13171 char snd_pcm_hw_params_get_access_mask ();
13173 main ()
13175 return snd_pcm_hw_params_get_access_mask ();
13177 return 0;
13179 _ACEOF
13180 if ac_fn_c_try_link "$LINENO"; then :
13181 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
13182 else
13183 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
13185 rm -f core conftest.err conftest.$ac_objext \
13186 conftest$ac_exeext conftest.$ac_ext
13187 LIBS=$ac_check_lib_save_LIBS
13189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
13190 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
13191 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
13192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13193 /* end confdefs.h. */
13194 #ifdef HAVE_ALSA_ASOUNDLIB_H
13195 #include <alsa/asoundlib.h>
13196 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13197 #include <sys/asoundlib.h>
13198 #endif
13200 main ()
13202 snd_pcm_hw_params_get_access_mask(NULL, NULL)
13204 return 0;
13206 _ACEOF
13207 if ac_fn_c_try_compile "$LINENO"; then :
13208 ALSA_LIBS="-lasound"
13210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13214 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13216 if test "x$with_oss" != xno
13217 then
13218 ac_save_CPPFLAGS="$CPPFLAGS"
13219 if test -f /etc/oss.conf
13220 then
13221 . /etc/oss.conf
13223 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
13224 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
13225 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13226 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
13227 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13229 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
13231 cat >>confdefs.h <<_ACEOF
13232 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13233 _ACEOF
13235 OSS4_CFLAGS="$ac_oss_incl"
13242 CPPFLAGS="$ac_save_CPPFLAGS"
13244 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13245 case "x$with_oss" in
13246 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13247 xno) ;;
13248 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13249 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13250 esac
13251 enable_wineoss_drv=${enable_wineoss_drv:-no}
13254 if test "x$with_udev" != "xno"
13255 then
13256 if ${UDEV_CFLAGS:+false} :; then :
13257 if ${PKG_CONFIG+:} false; then :
13258 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13262 if ${UDEV_LIBS:+false} :; then :
13263 if ${PKG_CONFIG+:} false; then :
13264 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13268 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13269 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13270 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13271 ac_save_CPPFLAGS=$CPPFLAGS
13272 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13273 for ac_header in libudev.h
13274 do :
13275 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13276 if test "x$ac_cv_header_libudev_h" = xyes; then :
13277 cat >>confdefs.h <<_ACEOF
13278 #define HAVE_LIBUDEV_H 1
13279 _ACEOF
13280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13281 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13282 if ${ac_cv_lib_udev_udev_new+:} false; then :
13283 $as_echo_n "(cached) " >&6
13284 else
13285 ac_check_lib_save_LIBS=$LIBS
13286 LIBS="-ludev $UDEV_LIBS $LIBS"
13287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13288 /* end confdefs.h. */
13290 /* Override any GCC internal prototype to avoid an error.
13291 Use char because int might match the return type of a GCC
13292 builtin and then its argument prototype would still apply. */
13293 #ifdef __cplusplus
13294 extern "C"
13295 #endif
13296 char udev_new ();
13298 main ()
13300 return udev_new ();
13302 return 0;
13304 _ACEOF
13305 if ac_fn_c_try_link "$LINENO"; then :
13306 ac_cv_lib_udev_udev_new=yes
13307 else
13308 ac_cv_lib_udev_udev_new=no
13310 rm -f core conftest.err conftest.$ac_objext \
13311 conftest$ac_exeext conftest.$ac_ext
13312 LIBS=$ac_check_lib_save_LIBS
13314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13315 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13316 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13318 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13320 else
13321 UDEV_LIBS=""
13324 else
13325 UDEV_LIBS=""
13328 done
13330 CPPFLAGS=$ac_save_CPPFLAGS
13331 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13332 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13335 if test "x$UDEV_LIBS" = "x"; then :
13336 case "x$with_udev" in
13337 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13338 xno) ;;
13339 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13340 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13341 esac
13345 if test "x$with_sdl" != "xno"
13346 then
13347 if ${SDL2_CFLAGS:+false} :; then :
13348 if ${PKG_CONFIG+:} false; then :
13349 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
13353 if ${SDL2_LIBS:+false} :; then :
13354 if ${PKG_CONFIG+:} false; then :
13355 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
13359 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
13360 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
13361 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
13362 ac_save_CPPFLAGS=$CPPFLAGS
13363 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
13364 for ac_header in SDL2/SDL.h
13365 do :
13366 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
13367 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
13368 cat >>confdefs.h <<_ACEOF
13369 #define HAVE_SDL2_SDL_H 1
13370 _ACEOF
13371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
13372 $as_echo_n "checking for -lSDL2... " >&6; }
13373 if ${ac_cv_lib_soname_SDL2+:} false; then :
13374 $as_echo_n "(cached) " >&6
13375 else
13376 ac_check_soname_save_LIBS=$LIBS
13377 LIBS="-lSDL2 $LIBS"
13378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13379 /* end confdefs.h. */
13381 /* Override any GCC internal prototype to avoid an error.
13382 Use char because int might match the return type of a GCC
13383 builtin and then its argument prototype would still apply. */
13384 #ifdef __cplusplus
13385 extern "C"
13386 #endif
13387 char SDL_Init ();
13389 main ()
13391 return SDL_Init ();
13393 return 0;
13395 _ACEOF
13396 if ac_fn_c_try_link "$LINENO"; then :
13397 case "$LIBEXT" in
13398 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13399 dylib) ac_cv_lib_soname_SDL2=`$OTOOL -L conftest$ac_exeext | grep "libSDL2-2.0*\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libSDL2-2.0*\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
13400 *) ac_cv_lib_soname_SDL2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libSDL2-2.0*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13401 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13402 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13403 fi ;;
13404 esac
13406 rm -f core conftest.err conftest.$ac_objext \
13407 conftest$ac_exeext conftest.$ac_ext
13408 LIBS=$ac_check_soname_save_LIBS
13410 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13412 $as_echo "not found" >&6; }
13414 else
13415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
13416 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
13418 cat >>confdefs.h <<_ACEOF
13419 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
13420 _ACEOF
13426 done
13428 CPPFLAGS=$ac_save_CPPFLAGS
13429 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13430 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13433 if test "x$SDL_LIBS" = "x"; then :
13434 case "x$with_sdl" in
13435 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
13436 xno) ;;
13437 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
13438 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
13439 esac
13443 if test "x$with_capi" != "xno"
13444 then
13445 if ${CAPI20_CFLAGS:+false} :; then :
13446 if ${PKG_CONFIG+:} false; then :
13447 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13451 if ${CAPI20_LIBS:+false} :; then :
13452 if ${PKG_CONFIG+:} false; then :
13453 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13458 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13459 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13460 ac_save_CPPFLAGS=$CPPFLAGS
13461 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13462 for ac_header in capi20.h linux/capi.h
13463 do :
13464 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13465 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13467 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13468 cat >>confdefs.h <<_ACEOF
13469 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13470 _ACEOF
13474 done
13476 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13477 then
13478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13479 $as_echo_n "checking for -lcapi20... " >&6; }
13480 if ${ac_cv_lib_soname_capi20+:} false; then :
13481 $as_echo_n "(cached) " >&6
13482 else
13483 ac_check_soname_save_LIBS=$LIBS
13484 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13486 /* end confdefs.h. */
13488 /* Override any GCC internal prototype to avoid an error.
13489 Use char because int might match the return type of a GCC
13490 builtin and then its argument prototype would still apply. */
13491 #ifdef __cplusplus
13492 extern "C"
13493 #endif
13494 char capi20_register ();
13496 main ()
13498 return capi20_register ();
13500 return 0;
13502 _ACEOF
13503 if ac_fn_c_try_link "$LINENO"; then :
13504 case "$LIBEXT" in
13505 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13506 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'` ;;
13507 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13508 if ${ac_cv_lib_soname_capi20:+false} :; then :
13509 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13510 fi ;;
13511 esac
13513 rm -f core conftest.err conftest.$ac_objext \
13514 conftest$ac_exeext conftest.$ac_ext
13515 LIBS=$ac_check_soname_save_LIBS
13517 if ${ac_cv_lib_soname_capi20:+false} :; then :
13518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13519 $as_echo "not found" >&6; }
13521 else
13522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13523 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13525 cat >>confdefs.h <<_ACEOF
13526 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13527 _ACEOF
13532 CPPFLAGS=$ac_save_CPPFLAGS
13533 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13534 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13537 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13538 case "x$with_capi" in
13539 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13540 xno) ;;
13541 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13542 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13543 esac
13547 if test "x$with_cups" != "xno"
13548 then
13549 if ${CUPS_CFLAGS:+false} :; then :
13550 if ${PKG_CONFIG+:} false; then :
13551 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
13554 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
13555 if ${CUPS_LIBS:+false} :; then :
13556 if ${PKG_CONFIG+:} false; then :
13557 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
13560 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
13561 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
13562 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
13563 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
13564 ac_save_CPPFLAGS=$CPPFLAGS
13565 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
13566 for ac_header in cups/cups.h cups/ppd.h
13567 do :
13568 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13569 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13570 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13571 cat >>confdefs.h <<_ACEOF
13572 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13573 _ACEOF
13577 done
13579 if test "$ac_cv_header_cups_cups_h" = "yes"
13580 then
13581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13582 $as_echo_n "checking for -lcups... " >&6; }
13583 if ${ac_cv_lib_soname_cups+:} false; then :
13584 $as_echo_n "(cached) " >&6
13585 else
13586 ac_check_soname_save_LIBS=$LIBS
13587 LIBS="-lcups $CUPS_LIBS $LIBS"
13588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13589 /* end confdefs.h. */
13591 /* Override any GCC internal prototype to avoid an error.
13592 Use char because int might match the return type of a GCC
13593 builtin and then its argument prototype would still apply. */
13594 #ifdef __cplusplus
13595 extern "C"
13596 #endif
13597 char cupsGetDefault ();
13599 main ()
13601 return cupsGetDefault ();
13603 return 0;
13605 _ACEOF
13606 if ac_fn_c_try_link "$LINENO"; then :
13607 case "$LIBEXT" in
13608 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13609 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'` ;;
13610 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13611 if ${ac_cv_lib_soname_cups:+false} :; then :
13612 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13613 fi ;;
13614 esac
13616 rm -f core conftest.err conftest.$ac_objext \
13617 conftest$ac_exeext conftest.$ac_ext
13618 LIBS=$ac_check_soname_save_LIBS
13620 if ${ac_cv_lib_soname_cups:+false} :; then :
13621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13622 $as_echo "not found" >&6; }
13623 CUPS_LIBS=""
13624 else
13625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13626 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13628 cat >>confdefs.h <<_ACEOF
13629 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13630 _ACEOF
13634 else
13635 CUPS_CFLAGS=""
13636 CUPS_LIBS=""
13638 CPPFLAGS=$ac_save_CPPFLAGS
13639 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13640 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13643 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13644 case "x$with_cups" in
13645 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13646 xno) ;;
13647 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13648 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13649 esac
13653 if test "x$with_fontconfig" != "xno"
13654 then
13655 if ${FONTCONFIG_CFLAGS:+false} :; then :
13656 if ${PKG_CONFIG+:} false; then :
13657 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13660 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13661 if ${FONTCONFIG_LIBS:+false} :; then :
13662 if ${PKG_CONFIG+:} false; then :
13663 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13666 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13668 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13669 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13670 ac_save_CPPFLAGS=$CPPFLAGS
13671 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13672 for ac_header in fontconfig/fontconfig.h
13673 do :
13674 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13675 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13676 cat >>confdefs.h <<_ACEOF
13677 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13678 _ACEOF
13682 done
13684 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13685 then
13686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13687 $as_echo_n "checking for -lfontconfig... " >&6; }
13688 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13689 $as_echo_n "(cached) " >&6
13690 else
13691 ac_check_soname_save_LIBS=$LIBS
13692 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13694 /* end confdefs.h. */
13696 /* Override any GCC internal prototype to avoid an error.
13697 Use char because int might match the return type of a GCC
13698 builtin and then its argument prototype would still apply. */
13699 #ifdef __cplusplus
13700 extern "C"
13701 #endif
13702 char FcInit ();
13704 main ()
13706 return FcInit ();
13708 return 0;
13710 _ACEOF
13711 if ac_fn_c_try_link "$LINENO"; then :
13712 case "$LIBEXT" in
13713 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13714 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'` ;;
13715 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13716 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13717 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13718 fi ;;
13719 esac
13721 rm -f core conftest.err conftest.$ac_objext \
13722 conftest$ac_exeext conftest.$ac_ext
13723 LIBS=$ac_check_soname_save_LIBS
13725 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13727 $as_echo "not found" >&6; }
13728 FONTCONFIG_CFLAGS=""
13729 else
13730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13731 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13733 cat >>confdefs.h <<_ACEOF
13734 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13735 _ACEOF
13739 else
13740 FONTCONFIG_CFLAGS=""
13742 CPPFLAGS=$ac_save_CPPFLAGS
13743 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13744 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13747 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13748 case "x$with_fontconfig" in
13749 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13750 xno) ;;
13751 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13752 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13753 esac
13757 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13758 then
13759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13760 $as_echo_n "checking for -lgsm... " >&6; }
13761 if ${ac_cv_lib_soname_gsm+:} false; then :
13762 $as_echo_n "(cached) " >&6
13763 else
13764 ac_check_soname_save_LIBS=$LIBS
13765 LIBS="-lgsm $LIBS"
13766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13767 /* end confdefs.h. */
13769 /* Override any GCC internal prototype to avoid an error.
13770 Use char because int might match the return type of a GCC
13771 builtin and then its argument prototype would still apply. */
13772 #ifdef __cplusplus
13773 extern "C"
13774 #endif
13775 char gsm_create ();
13777 main ()
13779 return gsm_create ();
13781 return 0;
13783 _ACEOF
13784 if ac_fn_c_try_link "$LINENO"; then :
13785 case "$LIBEXT" in
13786 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13787 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'` ;;
13788 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13789 if ${ac_cv_lib_soname_gsm:+false} :; then :
13790 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13791 fi ;;
13792 esac
13794 rm -f core conftest.err conftest.$ac_objext \
13795 conftest$ac_exeext conftest.$ac_ext
13796 LIBS=$ac_check_soname_save_LIBS
13798 if ${ac_cv_lib_soname_gsm:+false} :; then :
13799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13800 $as_echo "not found" >&6; }
13802 else
13803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13804 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13806 cat >>confdefs.h <<_ACEOF
13807 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13808 _ACEOF
13813 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13814 case "x$with_gsm" in
13815 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13816 xno) ;;
13817 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13818 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13819 esac
13823 if test "x$with_krb5" != "xno"
13824 then
13825 if ${KRB5_CFLAGS:+false} :; then :
13826 if ${PKG_CONFIG+:} false; then :
13827 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
13830 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
13831 if ${KRB5_LIBS:+false} :; then :
13832 if ${PKG_CONFIG+:} false; then :
13833 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
13836 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
13838 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
13839 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
13840 ac_save_CPPFLAGS=$CPPFLAGS
13841 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
13842 for ac_header in krb5/krb5.h
13843 do :
13844 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
13845 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
13846 cat >>confdefs.h <<_ACEOF
13847 #define HAVE_KRB5_KRB5_H 1
13848 _ACEOF
13852 done
13854 if test "$ac_cv_header_krb5_krb5_h" = "yes"
13855 then
13856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
13857 $as_echo_n "checking for -lkrb5... " >&6; }
13858 if ${ac_cv_lib_soname_krb5+:} false; then :
13859 $as_echo_n "(cached) " >&6
13860 else
13861 ac_check_soname_save_LIBS=$LIBS
13862 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
13863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13864 /* end confdefs.h. */
13866 /* Override any GCC internal prototype to avoid an error.
13867 Use char because int might match the return type of a GCC
13868 builtin and then its argument prototype would still apply. */
13869 #ifdef __cplusplus
13870 extern "C"
13871 #endif
13872 char krb5_init_context ();
13874 main ()
13876 return krb5_init_context ();
13878 return 0;
13880 _ACEOF
13881 if ac_fn_c_try_link "$LINENO"; then :
13882 case "$LIBEXT" in
13883 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13884 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'` ;;
13885 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13886 if ${ac_cv_lib_soname_krb5:+false} :; then :
13887 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13888 fi ;;
13889 esac
13891 rm -f core conftest.err conftest.$ac_objext \
13892 conftest$ac_exeext conftest.$ac_ext
13893 LIBS=$ac_check_soname_save_LIBS
13895 if ${ac_cv_lib_soname_krb5:+false} :; then :
13896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13897 $as_echo "not found" >&6; }
13898 KRB5_CFLAGS=""
13899 else
13900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
13901 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
13903 cat >>confdefs.h <<_ACEOF
13904 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
13905 _ACEOF
13909 else
13910 KRB5_CFLAGS=""
13912 CPPFLAGS=$ac_save_CPPFLAGS
13913 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13914 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13917 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
13918 case "x$with_krb5" in
13919 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found, Kerberos won't be supported." ;;
13920 xno) ;;
13921 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found, Kerberos won't be supported.
13922 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
13923 esac
13927 if test "x$with_gssapi" != "xno"
13928 then
13929 if ${GSSAPI_CFLAGS:+false} :; then :
13930 if ${PKG_CONFIG+:} false; then :
13931 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
13934 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
13935 if ${GSSAPI_LIBS:+false} :; then :
13936 if ${PKG_CONFIG+:} false; then :
13937 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
13940 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
13942 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
13943 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
13944 ac_save_CPPFLAGS=$CPPFLAGS
13945 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
13946 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
13947 do :
13948 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13949 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13950 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13951 cat >>confdefs.h <<_ACEOF
13952 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13953 _ACEOF
13957 done
13959 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
13960 then
13961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
13962 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
13963 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
13964 $as_echo_n "(cached) " >&6
13965 else
13966 ac_check_soname_save_LIBS=$LIBS
13967 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
13968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13969 /* end confdefs.h. */
13971 /* Override any GCC internal prototype to avoid an error.
13972 Use char because int might match the return type of a GCC
13973 builtin and then its argument prototype would still apply. */
13974 #ifdef __cplusplus
13975 extern "C"
13976 #endif
13977 char gss_init_sec_context ();
13979 main ()
13981 return gss_init_sec_context ();
13983 return 0;
13985 _ACEOF
13986 if ac_fn_c_try_link "$LINENO"; then :
13987 case "$LIBEXT" in
13988 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13989 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'` ;;
13990 *) 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'`
13991 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
13992 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13993 fi ;;
13994 esac
13996 rm -f core conftest.err conftest.$ac_objext \
13997 conftest$ac_exeext conftest.$ac_ext
13998 LIBS=$ac_check_soname_save_LIBS
14000 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
14001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14002 $as_echo "not found" >&6; }
14003 GSSAPI_CFLAGS=""
14004 else
14005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
14006 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
14008 cat >>confdefs.h <<_ACEOF
14009 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
14010 _ACEOF
14014 else
14015 GSSAPI_CFLAGS=""
14017 CPPFLAGS=$ac_save_CPPFLAGS
14018 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14019 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14022 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
14023 case "x$with_gssapi" in
14024 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
14025 xno) ;;
14026 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
14027 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
14028 esac
14032 if test "x$with_jpeg" != "xno"
14033 then
14034 if ${JPEG_CFLAGS:+false} :; then :
14035 if ${PKG_CONFIG+:} false; then :
14036 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
14040 if ${JPEG_LIBS:+false} :; then :
14041 if ${PKG_CONFIG+:} false; then :
14042 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
14047 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
14048 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
14049 ac_save_CPPFLAGS=$CPPFLAGS
14050 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
14051 for ac_header in jpeglib.h
14052 do :
14053 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
14054 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
14055 cat >>confdefs.h <<_ACEOF
14056 #define HAVE_JPEGLIB_H 1
14057 _ACEOF
14061 done
14063 if test "$ac_cv_header_jpeglib_h" = "yes"
14064 then
14065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
14066 $as_echo_n "checking for -ljpeg... " >&6; }
14067 if ${ac_cv_lib_soname_jpeg+:} false; then :
14068 $as_echo_n "(cached) " >&6
14069 else
14070 ac_check_soname_save_LIBS=$LIBS
14071 LIBS="-ljpeg $JPEG_LIBS $LIBS"
14072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14073 /* end confdefs.h. */
14075 /* Override any GCC internal prototype to avoid an error.
14076 Use char because int might match the return type of a GCC
14077 builtin and then its argument prototype would still apply. */
14078 #ifdef __cplusplus
14079 extern "C"
14080 #endif
14081 char jpeg_start_decompress ();
14083 main ()
14085 return jpeg_start_decompress ();
14087 return 0;
14089 _ACEOF
14090 if ac_fn_c_try_link "$LINENO"; then :
14091 case "$LIBEXT" in
14092 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14093 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'` ;;
14094 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14095 if ${ac_cv_lib_soname_jpeg:+false} :; then :
14096 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14097 fi ;;
14098 esac
14100 rm -f core conftest.err conftest.$ac_objext \
14101 conftest$ac_exeext conftest.$ac_ext
14102 LIBS=$ac_check_soname_save_LIBS
14104 if ${ac_cv_lib_soname_jpeg:+false} :; then :
14105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14106 $as_echo "not found" >&6; }
14107 JPEG_CFLAGS=""
14108 else
14109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
14110 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
14112 cat >>confdefs.h <<_ACEOF
14113 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
14114 _ACEOF
14118 else
14119 JPEG_CFLAGS=""
14121 CPPFLAGS=$ac_save_CPPFLAGS
14122 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14123 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14126 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
14127 case "x$with_jpeg" in
14128 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
14129 xno) ;;
14130 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
14131 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
14132 esac
14136 if test "x$with_png" != "xno"
14137 then
14138 if ${PNG_CFLAGS:+false} :; then :
14139 if ${PKG_CONFIG+:} false; then :
14140 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
14143 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
14144 if ${PNG_LIBS:+false} :; then :
14145 if ${PKG_CONFIG+:} false; then :
14146 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
14149 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
14151 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
14152 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
14153 ac_save_CPPFLAGS=$CPPFLAGS
14154 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
14155 for ac_header in png.h
14156 do :
14157 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
14158 if test "x$ac_cv_header_png_h" = xyes; then :
14159 cat >>confdefs.h <<_ACEOF
14160 #define HAVE_PNG_H 1
14161 _ACEOF
14165 done
14167 if test "$ac_cv_header_png_h" = "yes"
14168 then
14169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
14170 $as_echo_n "checking for -lpng... " >&6; }
14171 if ${ac_cv_lib_soname_png+:} false; then :
14172 $as_echo_n "(cached) " >&6
14173 else
14174 ac_check_soname_save_LIBS=$LIBS
14175 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
14176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14177 /* end confdefs.h. */
14179 /* Override any GCC internal prototype to avoid an error.
14180 Use char because int might match the return type of a GCC
14181 builtin and then its argument prototype would still apply. */
14182 #ifdef __cplusplus
14183 extern "C"
14184 #endif
14185 char png_create_read_struct ();
14187 main ()
14189 return png_create_read_struct ();
14191 return 0;
14193 _ACEOF
14194 if ac_fn_c_try_link "$LINENO"; then :
14195 case "$LIBEXT" in
14196 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14197 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'` ;;
14198 *) 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'`
14199 if ${ac_cv_lib_soname_png:+false} :; then :
14200 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14201 fi ;;
14202 esac
14204 rm -f core conftest.err conftest.$ac_objext \
14205 conftest$ac_exeext conftest.$ac_ext
14206 LIBS=$ac_check_soname_save_LIBS
14208 if ${ac_cv_lib_soname_png:+false} :; then :
14209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14210 $as_echo "not found" >&6; }
14211 PNG_CFLAGS=""
14212 else
14213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
14214 $as_echo "$ac_cv_lib_soname_png" >&6; }
14216 cat >>confdefs.h <<_ACEOF
14217 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
14218 _ACEOF
14222 else
14223 PNG_CFLAGS=""
14225 CPPFLAGS=$ac_save_CPPFLAGS
14226 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14227 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14230 if test "x$ac_cv_lib_soname_png" = "x"; then :
14231 case "x$with_png" in
14232 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
14233 xno) ;;
14234 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
14235 This is an error since --with-png was requested." "$LINENO" 5 ;;
14236 esac
14240 if test "x$with_tiff" != "xno"
14241 then
14242 if ${TIFF_CFLAGS:+false} :; then :
14243 if ${PKG_CONFIG+:} false; then :
14244 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
14248 if ${TIFF_LIBS:+false} :; then :
14249 if ${PKG_CONFIG+:} false; then :
14250 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
14255 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
14256 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
14257 ac_save_CPPFLAGS=$CPPFLAGS
14258 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
14259 for ac_header in tiffio.h
14260 do :
14261 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
14262 if test "x$ac_cv_header_tiffio_h" = xyes; then :
14263 cat >>confdefs.h <<_ACEOF
14264 #define HAVE_TIFFIO_H 1
14265 _ACEOF
14269 done
14271 if test "$ac_cv_header_tiffio_h" = "yes"
14272 then
14273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
14274 $as_echo_n "checking for -ltiff... " >&6; }
14275 if ${ac_cv_lib_soname_tiff+:} false; then :
14276 $as_echo_n "(cached) " >&6
14277 else
14278 ac_check_soname_save_LIBS=$LIBS
14279 LIBS="-ltiff $TIFF_LIBS $LIBS"
14280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14281 /* end confdefs.h. */
14283 /* Override any GCC internal prototype to avoid an error.
14284 Use char because int might match the return type of a GCC
14285 builtin and then its argument prototype would still apply. */
14286 #ifdef __cplusplus
14287 extern "C"
14288 #endif
14289 char TIFFClientOpen ();
14291 main ()
14293 return TIFFClientOpen ();
14295 return 0;
14297 _ACEOF
14298 if ac_fn_c_try_link "$LINENO"; then :
14299 case "$LIBEXT" in
14300 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14301 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'` ;;
14302 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14303 if ${ac_cv_lib_soname_tiff:+false} :; then :
14304 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14305 fi ;;
14306 esac
14308 rm -f core conftest.err conftest.$ac_objext \
14309 conftest$ac_exeext conftest.$ac_ext
14310 LIBS=$ac_check_soname_save_LIBS
14312 if ${ac_cv_lib_soname_tiff:+false} :; then :
14313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14314 $as_echo "not found" >&6; }
14316 else
14317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
14318 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
14320 cat >>confdefs.h <<_ACEOF
14321 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
14322 _ACEOF
14327 CPPFLAGS=$ac_save_CPPFLAGS
14328 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14329 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14332 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
14333 case "x$with_tiff" in
14334 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
14335 xno) ;;
14336 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
14337 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14338 esac
14342 if test "x$with_mpg123" != "xno"
14343 then
14344 if ${MPG123_CFLAGS:+false} :; then :
14345 if ${PKG_CONFIG+:} false; then :
14346 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14350 if ${MPG123_LIBS:+false} :; then :
14351 if ${PKG_CONFIG+:} false; then :
14352 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14356 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
14357 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14358 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14359 ac_save_CPPFLAGS=$CPPFLAGS
14360 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
14361 for ac_header in mpg123.h
14362 do :
14363 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14364 if test "x$ac_cv_header_mpg123_h" = xyes; then :
14365 cat >>confdefs.h <<_ACEOF
14366 #define HAVE_MPG123_H 1
14367 _ACEOF
14371 done
14373 if test "$ac_cv_header_mpg123_h" = "yes"
14374 then
14375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14376 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14377 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
14378 $as_echo_n "(cached) " >&6
14379 else
14380 ac_check_lib_save_LIBS=$LIBS
14381 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
14382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14383 /* end confdefs.h. */
14385 /* Override any GCC internal prototype to avoid an error.
14386 Use char because int might match the return type of a GCC
14387 builtin and then its argument prototype would still apply. */
14388 #ifdef __cplusplus
14389 extern "C"
14390 #endif
14391 char mpg123_feed ();
14393 main ()
14395 return mpg123_feed ();
14397 return 0;
14399 _ACEOF
14400 if ac_fn_c_try_link "$LINENO"; then :
14401 ac_cv_lib_mpg123_mpg123_feed=yes
14402 else
14403 ac_cv_lib_mpg123_mpg123_feed=no
14405 rm -f core conftest.err conftest.$ac_objext \
14406 conftest$ac_exeext conftest.$ac_ext
14407 LIBS=$ac_check_lib_save_LIBS
14409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14410 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14411 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
14413 else
14414 MPG123_LIBS=""
14417 else
14418 MPG123_CFLAGS=""
14419 MPG123_LIBS=""
14421 CPPFLAGS=$ac_save_CPPFLAGS
14422 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14423 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14426 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
14427 case "x$with_mpg123" in
14428 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14429 xno) ;;
14430 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14431 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14432 esac
14433 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
14436 if test "$ac_cv_header_AL_al_h" = "yes"
14437 then
14438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14439 $as_echo_n "checking for -lopenal... " >&6; }
14440 if ${ac_cv_lib_soname_openal+:} false; then :
14441 $as_echo_n "(cached) " >&6
14442 else
14443 ac_check_soname_save_LIBS=$LIBS
14444 LIBS="-lopenal $LIBS"
14445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14446 /* end confdefs.h. */
14448 /* Override any GCC internal prototype to avoid an error.
14449 Use char because int might match the return type of a GCC
14450 builtin and then its argument prototype would still apply. */
14451 #ifdef __cplusplus
14452 extern "C"
14453 #endif
14454 char alGetSource3i ();
14456 main ()
14458 return alGetSource3i ();
14460 return 0;
14462 _ACEOF
14463 if ac_fn_c_try_link "$LINENO"; then :
14464 case "$LIBEXT" in
14465 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14466 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'` ;;
14467 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14468 if ${ac_cv_lib_soname_openal:+false} :; then :
14469 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14470 fi ;;
14471 esac
14473 rm -f core conftest.err conftest.$ac_objext \
14474 conftest$ac_exeext conftest.$ac_ext
14475 LIBS=$ac_check_soname_save_LIBS
14477 if ${ac_cv_lib_soname_openal:+false} :; then :
14478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14479 $as_echo "not found" >&6; }
14481 else
14482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14483 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14485 cat >>confdefs.h <<_ACEOF
14486 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14487 _ACEOF
14489 OPENAL_LIBS="-lopenal"
14491 ac_cv_lib_openal=yes
14493 cat >>confdefs.h <<_ACEOF
14494 #define HAVE_OPENAL 1
14495 _ACEOF
14499 if test "x$ac_cv_lib_openal" != xyes; then :
14500 case "x$with_openal" in
14501 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14502 xno) ;;
14503 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14504 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14505 esac
14506 enable_openal32=${enable_openal32:-no}
14509 if test "x$ac_cv_lib_openal" = xyes
14510 then
14511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14512 $as_echo_n "checking for openal-soft... " >&6; }
14513 if ${ac_cv_have_openalsoft+:} false; then :
14514 $as_echo_n "(cached) " >&6
14515 else
14516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14517 /* end confdefs.h. */
14518 #include <AL/al.h>
14519 #include <AL/alc.h>
14520 #include <AL/alext.h>
14521 LPALCRENDERSAMPLESSOFT x;
14523 main ()
14527 return 0;
14529 _ACEOF
14530 if ac_fn_c_try_compile "$LINENO"; then :
14531 ac_cv_have_openalsoft=yes
14532 else
14533 ac_cv_have_openalsoft=no
14535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14538 $as_echo "$ac_cv_have_openalsoft" >&6; }
14540 if test "x$ac_cv_have_openalsoft" != xyes
14541 then
14542 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14543 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
14544 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
14545 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14546 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14547 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14548 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14549 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14550 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14551 enable_xapofx1_1=${enable_xapofx1_1:-no}
14552 enable_xapofx1_2=${enable_xapofx1_2:-no}
14553 enable_xapofx1_3=${enable_xapofx1_3:-no}
14554 enable_xapofx1_4=${enable_xapofx1_4:-no}
14555 enable_xapofx1_5=${enable_xapofx1_5:-no}
14556 enable_xaudio2_0=${enable_xaudio2_0:-no}
14557 enable_xaudio2_1=${enable_xaudio2_1:-no}
14558 enable_xaudio2_2=${enable_xaudio2_2:-no}
14559 enable_xaudio2_3=${enable_xaudio2_3:-no}
14560 enable_xaudio2_4=${enable_xaudio2_4:-no}
14561 enable_xaudio2_5=${enable_xaudio2_5:-no}
14562 enable_xaudio2_6=${enable_xaudio2_6:-no}
14563 enable_xaudio2_7=${enable_xaudio2_7:-no}
14564 enable_xaudio2_8=${enable_xaudio2_8:-no}
14565 enable_xaudio2_9=${enable_xaudio2_9:-no}
14568 if test "$ac_cv_header_kstat_h" = "yes"
14569 then
14570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14571 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14572 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14573 $as_echo_n "(cached) " >&6
14574 else
14575 ac_check_lib_save_LIBS=$LIBS
14576 LIBS="-lkstat $LIBS"
14577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14578 /* end confdefs.h. */
14580 /* Override any GCC internal prototype to avoid an error.
14581 Use char because int might match the return type of a GCC
14582 builtin and then its argument prototype would still apply. */
14583 #ifdef __cplusplus
14584 extern "C"
14585 #endif
14586 char kstat_open ();
14588 main ()
14590 return kstat_open ();
14592 return 0;
14594 _ACEOF
14595 if ac_fn_c_try_link "$LINENO"; then :
14596 ac_cv_lib_kstat_kstat_open=yes
14597 else
14598 ac_cv_lib_kstat_kstat_open=no
14600 rm -f core conftest.err conftest.$ac_objext \
14601 conftest$ac_exeext conftest.$ac_ext
14602 LIBS=$ac_check_lib_save_LIBS
14604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14605 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14606 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14608 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14610 KSTAT_LIBS="-lkstat"
14616 if test "$ac_cv_header_libprocstat_h" = "yes"
14617 then
14618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14619 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14620 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14621 $as_echo_n "(cached) " >&6
14622 else
14623 ac_check_lib_save_LIBS=$LIBS
14624 LIBS="-lprocstat $LIBS"
14625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14626 /* end confdefs.h. */
14628 /* Override any GCC internal prototype to avoid an error.
14629 Use char because int might match the return type of a GCC
14630 builtin and then its argument prototype would still apply. */
14631 #ifdef __cplusplus
14632 extern "C"
14633 #endif
14634 char procstat_open_sysctl ();
14636 main ()
14638 return procstat_open_sysctl ();
14640 return 0;
14642 _ACEOF
14643 if ac_fn_c_try_link "$LINENO"; then :
14644 ac_cv_lib_procstat_procstat_open_sysctl=yes
14645 else
14646 ac_cv_lib_procstat_procstat_open_sysctl=no
14648 rm -f core conftest.err conftest.$ac_objext \
14649 conftest$ac_exeext conftest.$ac_ext
14650 LIBS=$ac_check_lib_save_LIBS
14652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14653 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14654 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14656 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14658 PROCSTAT_LIBS="-lprocstat"
14664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14665 $as_echo_n "checking for -lodbc... " >&6; }
14666 if ${ac_cv_lib_soname_odbc+:} false; then :
14667 $as_echo_n "(cached) " >&6
14668 else
14669 ac_check_soname_save_LIBS=$LIBS
14670 LIBS="-lodbc $LIBS"
14671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14672 /* end confdefs.h. */
14674 /* Override any GCC internal prototype to avoid an error.
14675 Use char because int might match the return type of a GCC
14676 builtin and then its argument prototype would still apply. */
14677 #ifdef __cplusplus
14678 extern "C"
14679 #endif
14680 char SQLConnect ();
14682 main ()
14684 return SQLConnect ();
14686 return 0;
14688 _ACEOF
14689 if ac_fn_c_try_link "$LINENO"; then :
14690 case "$LIBEXT" in
14691 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14692 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'` ;;
14693 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14694 if ${ac_cv_lib_soname_odbc:+false} :; then :
14695 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14696 fi ;;
14697 esac
14699 rm -f core conftest.err conftest.$ac_objext \
14700 conftest$ac_exeext conftest.$ac_ext
14701 LIBS=$ac_check_soname_save_LIBS
14703 if ${ac_cv_lib_soname_odbc:+false} :; then :
14704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14705 $as_echo "not found" >&6; }
14706 cat >>confdefs.h <<_ACEOF
14707 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14708 _ACEOF
14710 else
14711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14712 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14714 cat >>confdefs.h <<_ACEOF
14715 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14716 _ACEOF
14721 if test "x$with_netapi" != "xno"
14722 then
14723 if ${NETAPI_CFLAGS:+false} :; then :
14724 if ${PKG_CONFIG+:} false; then :
14725 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14729 if ${NETAPI_LIBS:+false} :; then :
14730 if ${PKG_CONFIG+:} false; then :
14731 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14736 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14737 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14738 ac_save_CPPFLAGS=$CPPFLAGS
14739 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14741 $as_echo_n "checking for -lnetapi... " >&6; }
14742 if ${ac_cv_lib_soname_netapi+:} false; then :
14743 $as_echo_n "(cached) " >&6
14744 else
14745 ac_check_soname_save_LIBS=$LIBS
14746 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14748 /* end confdefs.h. */
14750 /* Override any GCC internal prototype to avoid an error.
14751 Use char because int might match the return type of a GCC
14752 builtin and then its argument prototype would still apply. */
14753 #ifdef __cplusplus
14754 extern "C"
14755 #endif
14756 char libnetapi_init ();
14758 main ()
14760 return libnetapi_init ();
14762 return 0;
14764 _ACEOF
14765 if ac_fn_c_try_link "$LINENO"; then :
14766 case "$LIBEXT" in
14767 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14768 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'` ;;
14769 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14770 if ${ac_cv_lib_soname_netapi:+false} :; then :
14771 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14772 fi ;;
14773 esac
14775 rm -f core conftest.err conftest.$ac_objext \
14776 conftest$ac_exeext conftest.$ac_ext
14777 LIBS=$ac_check_soname_save_LIBS
14779 if ${ac_cv_lib_soname_netapi:+false} :; then :
14780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14781 $as_echo "not found" >&6; }
14782 cat >>confdefs.h <<_ACEOF
14783 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14784 _ACEOF
14786 else
14787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14788 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14790 cat >>confdefs.h <<_ACEOF
14791 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14792 _ACEOF
14796 CPPFLAGS=$ac_save_CPPFLAGS
14797 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14798 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14802 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
14803 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14804 then
14805 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14809 EXTRACFLAGS=""
14811 if test "x${GCC}" = "xyes"
14812 then
14813 EXTRACFLAGS="-Wall -pipe"
14815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14816 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14817 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14818 $as_echo_n "(cached) " >&6
14819 else
14820 if test "$cross_compiling" = yes; then :
14821 ac_cv_c_gcc_strength_bug="no"
14822 else
14823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14824 /* end confdefs.h. */
14825 int L[4] = {0,1,2,3};
14827 main ()
14829 static int Array[3];
14830 unsigned int B = 3;
14831 int i;
14832 for(i=0; i<B; i++) Array[i] = i - 3;
14833 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14834 L[i] = 4;
14835 return (Array[1] != -2 || L[2] != 3)
14837 return 0;
14839 _ACEOF
14840 if ac_fn_c_try_run "$LINENO"; then :
14841 ac_cv_c_gcc_strength_bug="no"
14842 else
14843 ac_cv_c_gcc_strength_bug="yes"
14845 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14846 conftest.$ac_objext conftest.beam conftest.$ac_ext
14850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14851 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14852 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14853 then
14854 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14858 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14859 if ${ac_cv_cflags__fno_builtin+:} false; then :
14860 $as_echo_n "(cached) " >&6
14861 else
14862 ac_wine_try_cflags_saved=$CFLAGS
14863 CFLAGS="$CFLAGS -fno-builtin"
14864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14865 /* end confdefs.h. */
14866 int main(int argc, char **argv) { return 0; }
14867 _ACEOF
14868 if ac_fn_c_try_link "$LINENO"; then :
14869 ac_cv_cflags__fno_builtin=yes
14870 else
14871 ac_cv_cflags__fno_builtin=no
14873 rm -f core conftest.err conftest.$ac_objext \
14874 conftest$ac_exeext conftest.$ac_ext
14875 CFLAGS=$ac_wine_try_cflags_saved
14877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14878 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14879 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14880 BUILTINFLAG="-fno-builtin"
14883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14884 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14885 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14886 $as_echo_n "(cached) " >&6
14887 else
14888 ac_wine_try_cflags_saved=$CFLAGS
14889 CFLAGS="$CFLAGS -fno-strict-aliasing"
14890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14891 /* end confdefs.h. */
14892 int main(int argc, char **argv) { return 0; }
14893 _ACEOF
14894 if ac_fn_c_try_link "$LINENO"; then :
14895 ac_cv_cflags__fno_strict_aliasing=yes
14896 else
14897 ac_cv_cflags__fno_strict_aliasing=no
14899 rm -f core conftest.err conftest.$ac_objext \
14900 conftest$ac_exeext conftest.$ac_ext
14901 CFLAGS=$ac_wine_try_cflags_saved
14903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14904 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14905 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14906 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14909 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14910 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14911 $as_echo_n "(cached) " >&6
14912 else
14913 ac_wine_try_cflags_saved=$CFLAGS
14914 CFLAGS="$CFLAGS -fexcess-precision=standard"
14915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14916 /* end confdefs.h. */
14917 int main(int argc, char **argv) { return 0; }
14918 _ACEOF
14919 if ac_fn_c_try_link "$LINENO"; then :
14920 ac_cv_cflags__fexcess_precision_standard=yes
14921 else
14922 ac_cv_cflags__fexcess_precision_standard=no
14924 rm -f core conftest.err conftest.$ac_objext \
14925 conftest$ac_exeext conftest.$ac_ext
14926 CFLAGS=$ac_wine_try_cflags_saved
14928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14929 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14930 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14931 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14934 saved_CFLAGS=$CFLAGS
14935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14936 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14937 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14938 $as_echo_n "(cached) " >&6
14939 else
14940 ac_wine_try_cflags_saved=$CFLAGS
14941 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14943 /* end confdefs.h. */
14944 int main(int argc, char **argv) { return 0; }
14945 _ACEOF
14946 if ac_fn_c_try_link "$LINENO"; then :
14947 ac_cv_cflags__Werror_unknown_warning_option=yes
14948 else
14949 ac_cv_cflags__Werror_unknown_warning_option=no
14951 rm -f core conftest.err conftest.$ac_objext \
14952 conftest$ac_exeext conftest.$ac_ext
14953 CFLAGS=$ac_wine_try_cflags_saved
14955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14956 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14957 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14958 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14961 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14962 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14963 $as_echo_n "(cached) " >&6
14964 else
14965 ac_wine_try_cflags_saved=$CFLAGS
14966 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14968 /* end confdefs.h. */
14969 int main(int argc, char **argv) { return 0; }
14970 _ACEOF
14971 if ac_fn_c_try_link "$LINENO"; then :
14972 ac_cv_cflags__Wdeclaration_after_statement=yes
14973 else
14974 ac_cv_cflags__Wdeclaration_after_statement=no
14976 rm -f core conftest.err conftest.$ac_objext \
14977 conftest$ac_exeext conftest.$ac_ext
14978 CFLAGS=$ac_wine_try_cflags_saved
14980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14981 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14982 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14983 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14986 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14987 if ${ac_cv_cflags__Wempty_body+:} false; then :
14988 $as_echo_n "(cached) " >&6
14989 else
14990 ac_wine_try_cflags_saved=$CFLAGS
14991 CFLAGS="$CFLAGS -Wempty-body"
14992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14993 /* end confdefs.h. */
14994 int main(int argc, char **argv) { return 0; }
14995 _ACEOF
14996 if ac_fn_c_try_link "$LINENO"; then :
14997 ac_cv_cflags__Wempty_body=yes
14998 else
14999 ac_cv_cflags__Wempty_body=no
15001 rm -f core conftest.err conftest.$ac_objext \
15002 conftest$ac_exeext conftest.$ac_ext
15003 CFLAGS=$ac_wine_try_cflags_saved
15005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
15006 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
15007 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
15008 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
15010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
15011 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
15012 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
15013 $as_echo_n "(cached) " >&6
15014 else
15015 ac_wine_try_cflags_saved=$CFLAGS
15016 CFLAGS="$CFLAGS -Wignored-qualifiers"
15017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15018 /* end confdefs.h. */
15019 int main(int argc, char **argv) { return 0; }
15020 _ACEOF
15021 if ac_fn_c_try_link "$LINENO"; then :
15022 ac_cv_cflags__Wignored_qualifiers=yes
15023 else
15024 ac_cv_cflags__Wignored_qualifiers=no
15026 rm -f core conftest.err conftest.$ac_objext \
15027 conftest$ac_exeext conftest.$ac_ext
15028 CFLAGS=$ac_wine_try_cflags_saved
15030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
15031 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
15032 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
15033 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
15035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
15036 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
15037 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
15038 $as_echo_n "(cached) " >&6
15039 else
15040 ac_wine_try_cflags_saved=$CFLAGS
15041 CFLAGS="$CFLAGS -Wpacked-not-aligned"
15042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15043 /* end confdefs.h. */
15044 int main(int argc, char **argv) { return 0; }
15045 _ACEOF
15046 if ac_fn_c_try_link "$LINENO"; then :
15047 ac_cv_cflags__Wpacked_not_aligned=yes
15048 else
15049 ac_cv_cflags__Wpacked_not_aligned=no
15051 rm -f core conftest.err conftest.$ac_objext \
15052 conftest$ac_exeext conftest.$ac_ext
15053 CFLAGS=$ac_wine_try_cflags_saved
15055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
15056 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
15057 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
15058 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
15060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
15061 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
15062 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
15063 $as_echo_n "(cached) " >&6
15064 else
15065 ac_wine_try_cflags_saved=$CFLAGS
15066 CFLAGS="$CFLAGS -Wpragma-pack"
15067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15068 /* end confdefs.h. */
15069 int main(int argc, char **argv) { return 0; }
15070 _ACEOF
15071 if ac_fn_c_try_link "$LINENO"; then :
15072 ac_cv_cflags__Wpragma_pack=yes
15073 else
15074 ac_cv_cflags__Wpragma_pack=no
15076 rm -f core conftest.err conftest.$ac_objext \
15077 conftest$ac_exeext conftest.$ac_ext
15078 CFLAGS=$ac_wine_try_cflags_saved
15080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
15081 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
15082 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
15083 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
15085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
15086 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
15087 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
15088 $as_echo_n "(cached) " >&6
15089 else
15090 ac_wine_try_cflags_saved=$CFLAGS
15091 CFLAGS="$CFLAGS -Wshift-overflow=2"
15092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15093 /* end confdefs.h. */
15094 int main(int argc, char **argv) { return 0; }
15095 _ACEOF
15096 if ac_fn_c_try_link "$LINENO"; then :
15097 ac_cv_cflags__Wshift_overflow_2=yes
15098 else
15099 ac_cv_cflags__Wshift_overflow_2=no
15101 rm -f core conftest.err conftest.$ac_objext \
15102 conftest$ac_exeext conftest.$ac_ext
15103 CFLAGS=$ac_wine_try_cflags_saved
15105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
15106 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
15107 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
15108 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
15110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
15111 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
15112 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
15113 $as_echo_n "(cached) " >&6
15114 else
15115 ac_wine_try_cflags_saved=$CFLAGS
15116 CFLAGS="$CFLAGS -Wstrict-prototypes"
15117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15118 /* end confdefs.h. */
15119 int main(int argc, char **argv) { return 0; }
15120 _ACEOF
15121 if ac_fn_c_try_link "$LINENO"; then :
15122 ac_cv_cflags__Wstrict_prototypes=yes
15123 else
15124 ac_cv_cflags__Wstrict_prototypes=no
15126 rm -f core conftest.err conftest.$ac_objext \
15127 conftest$ac_exeext conftest.$ac_ext
15128 CFLAGS=$ac_wine_try_cflags_saved
15130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
15131 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
15132 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
15133 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
15135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
15136 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
15137 if ${ac_cv_cflags__Wtype_limits+:} false; then :
15138 $as_echo_n "(cached) " >&6
15139 else
15140 ac_wine_try_cflags_saved=$CFLAGS
15141 CFLAGS="$CFLAGS -Wtype-limits"
15142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15143 /* end confdefs.h. */
15144 int main(int argc, char **argv) { return 0; }
15145 _ACEOF
15146 if ac_fn_c_try_link "$LINENO"; then :
15147 ac_cv_cflags__Wtype_limits=yes
15148 else
15149 ac_cv_cflags__Wtype_limits=no
15151 rm -f core conftest.err conftest.$ac_objext \
15152 conftest$ac_exeext conftest.$ac_ext
15153 CFLAGS=$ac_wine_try_cflags_saved
15155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
15156 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
15157 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
15158 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
15160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
15161 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
15162 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
15163 $as_echo_n "(cached) " >&6
15164 else
15165 ac_wine_try_cflags_saved=$CFLAGS
15166 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
15167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15168 /* end confdefs.h. */
15169 int main(int argc, char **argv) { return 0; }
15170 _ACEOF
15171 if ac_fn_c_try_link "$LINENO"; then :
15172 ac_cv_cflags__Wunused_but_set_parameter=yes
15173 else
15174 ac_cv_cflags__Wunused_but_set_parameter=no
15176 rm -f core conftest.err conftest.$ac_objext \
15177 conftest$ac_exeext conftest.$ac_ext
15178 CFLAGS=$ac_wine_try_cflags_saved
15180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
15181 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
15182 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
15183 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
15185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
15186 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
15187 if ${ac_cv_cflags__Wvla+:} false; then :
15188 $as_echo_n "(cached) " >&6
15189 else
15190 ac_wine_try_cflags_saved=$CFLAGS
15191 CFLAGS="$CFLAGS -Wvla"
15192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15193 /* end confdefs.h. */
15194 int main(int argc, char **argv) { return 0; }
15195 _ACEOF
15196 if ac_fn_c_try_link "$LINENO"; then :
15197 ac_cv_cflags__Wvla=yes
15198 else
15199 ac_cv_cflags__Wvla=no
15201 rm -f core conftest.err conftest.$ac_objext \
15202 conftest$ac_exeext conftest.$ac_ext
15203 CFLAGS=$ac_wine_try_cflags_saved
15205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
15206 $as_echo "$ac_cv_cflags__Wvla" >&6; }
15207 if test "x$ac_cv_cflags__Wvla" = xyes; then :
15208 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
15210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
15211 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
15212 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
15213 $as_echo_n "(cached) " >&6
15214 else
15215 ac_wine_try_cflags_saved=$CFLAGS
15216 CFLAGS="$CFLAGS -Wwrite-strings"
15217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15218 /* end confdefs.h. */
15219 int main(int argc, char **argv) { return 0; }
15220 _ACEOF
15221 if ac_fn_c_try_link "$LINENO"; then :
15222 ac_cv_cflags__Wwrite_strings=yes
15223 else
15224 ac_cv_cflags__Wwrite_strings=no
15226 rm -f core conftest.err conftest.$ac_objext \
15227 conftest$ac_exeext conftest.$ac_ext
15228 CFLAGS=$ac_wine_try_cflags_saved
15230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
15231 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
15232 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
15233 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
15236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
15237 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
15238 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
15239 $as_echo_n "(cached) " >&6
15240 else
15241 ac_wine_try_cflags_saved=$CFLAGS
15242 CFLAGS="$CFLAGS -Wpointer-arith"
15243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15244 /* end confdefs.h. */
15245 int main(int argc, char **argv) { return 0; }
15246 _ACEOF
15247 if ac_fn_c_try_link "$LINENO"; then :
15248 ac_cv_cflags__Wpointer_arith=yes
15249 else
15250 ac_cv_cflags__Wpointer_arith=no
15252 rm -f core conftest.err conftest.$ac_objext \
15253 conftest$ac_exeext conftest.$ac_ext
15254 CFLAGS=$ac_wine_try_cflags_saved
15256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
15257 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
15258 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
15259 saved_string_h_CFLAGS=$CFLAGS
15260 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
15262 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
15263 if ${ac_cv_c_string_h_warnings+:} false; then :
15264 $as_echo_n "(cached) " >&6
15265 else
15266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15267 /* end confdefs.h. */
15268 #include <string.h>
15270 main ()
15274 return 0;
15276 _ACEOF
15277 if ac_fn_c_try_compile "$LINENO"; then :
15278 ac_cv_c_string_h_warnings=no
15279 else
15280 ac_cv_c_string_h_warnings=yes
15282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
15285 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
15286 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15287 CFLAGS=$saved_string_h_CFLAGS
15290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
15291 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
15292 if ${ac_cv_cflags__Wlogical_op+:} false; then :
15293 $as_echo_n "(cached) " >&6
15294 else
15295 ac_wine_try_cflags_saved=$CFLAGS
15296 CFLAGS="$CFLAGS -Wlogical-op"
15297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15298 /* end confdefs.h. */
15299 int main(int argc, char **argv) { return 0; }
15300 _ACEOF
15301 if ac_fn_c_try_link "$LINENO"; then :
15302 ac_cv_cflags__Wlogical_op=yes
15303 else
15304 ac_cv_cflags__Wlogical_op=no
15306 rm -f core conftest.err conftest.$ac_objext \
15307 conftest$ac_exeext conftest.$ac_ext
15308 CFLAGS=$ac_wine_try_cflags_saved
15310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
15311 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
15312 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
15313 saved_string_h_CFLAGS=$CFLAGS
15314 CFLAGS="$CFLAGS -Wlogical-op -Werror"
15315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
15316 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
15317 if ${ac_cv_c_logicalop_noisy+:} false; then :
15318 $as_echo_n "(cached) " >&6
15319 else
15320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15321 /* end confdefs.h. */
15322 #include <string.h>
15323 char*f(const char *h,char n) {return strchr(h,n);}
15325 main ()
15329 return 0;
15331 _ACEOF
15332 if ac_fn_c_try_compile "$LINENO"; then :
15333 ac_cv_c_logicalop_noisy=no
15334 else
15335 ac_cv_c_logicalop_noisy=yes
15337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
15340 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
15341 CFLAGS=$saved_string_h_CFLAGS
15342 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
15345 CFLAGS=$saved_CFLAGS
15347 for ac_flag in $CFLAGS; do
15348 case $ac_flag in
15349 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
15350 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
15351 if ${ac_cv_cflags__gdwarf_2+:} false; then :
15352 $as_echo_n "(cached) " >&6
15353 else
15354 ac_wine_try_cflags_saved=$CFLAGS
15355 CFLAGS="$CFLAGS -gdwarf-2"
15356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15357 /* end confdefs.h. */
15358 int main(int argc, char **argv) { return 0; }
15359 _ACEOF
15360 if ac_fn_c_try_link "$LINENO"; then :
15361 ac_cv_cflags__gdwarf_2=yes
15362 else
15363 ac_cv_cflags__gdwarf_2=no
15365 rm -f core conftest.err conftest.$ac_objext \
15366 conftest$ac_exeext conftest.$ac_ext
15367 CFLAGS=$ac_wine_try_cflags_saved
15369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
15370 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
15371 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
15372 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
15374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
15375 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
15376 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
15377 $as_echo_n "(cached) " >&6
15378 else
15379 ac_wine_try_cflags_saved=$CFLAGS
15380 CFLAGS="$CFLAGS -gstrict-dwarf"
15381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15382 /* end confdefs.h. */
15383 int main(int argc, char **argv) { return 0; }
15384 _ACEOF
15385 if ac_fn_c_try_link "$LINENO"; then :
15386 ac_cv_cflags__gstrict_dwarf=yes
15387 else
15388 ac_cv_cflags__gstrict_dwarf=no
15390 rm -f core conftest.err conftest.$ac_objext \
15391 conftest$ac_exeext conftest.$ac_ext
15392 CFLAGS=$ac_wine_try_cflags_saved
15394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
15395 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
15396 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
15397 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
15398 fi ;;
15399 esac
15400 done
15402 case $host_cpu in
15403 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
15404 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
15405 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
15406 $as_echo_n "(cached) " >&6
15407 else
15408 ac_wine_try_cflags_saved=$CFLAGS
15409 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
15410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15411 /* end confdefs.h. */
15412 int main(int argc, char **argv) { return 0; }
15413 _ACEOF
15414 if ac_fn_c_try_link "$LINENO"; then :
15415 ac_cv_cflags__fno_omit_frame_pointer=yes
15416 else
15417 ac_cv_cflags__fno_omit_frame_pointer=no
15419 rm -f core conftest.err conftest.$ac_objext \
15420 conftest$ac_exeext conftest.$ac_ext
15421 CFLAGS=$ac_wine_try_cflags_saved
15423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
15424 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
15425 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
15426 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
15427 fi ;;
15428 esac
15430 case $host in
15431 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
15432 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
15433 if ${ac_cv_cflags__Wno_format+:} false; then :
15434 $as_echo_n "(cached) " >&6
15435 else
15436 ac_wine_try_cflags_saved=$CFLAGS
15437 CFLAGS="$CFLAGS -Wno-format"
15438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15439 /* end confdefs.h. */
15440 int main(int argc, char **argv) { return 0; }
15441 _ACEOF
15442 if ac_fn_c_try_link "$LINENO"; then :
15443 ac_cv_cflags__Wno_format=yes
15444 else
15445 ac_cv_cflags__Wno_format=no
15447 rm -f core conftest.err conftest.$ac_objext \
15448 conftest$ac_exeext conftest.$ac_ext
15449 CFLAGS=$ac_wine_try_cflags_saved
15451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
15452 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
15453 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
15454 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
15455 fi ;;
15456 esac
15458 if test "x$enable_maintainer_mode" = "xyes"
15459 then
15460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
15461 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
15462 if ${ac_cv_cflags__Werror+:} false; then :
15463 $as_echo_n "(cached) " >&6
15464 else
15465 ac_wine_try_cflags_saved=$CFLAGS
15466 CFLAGS="$CFLAGS -Werror"
15467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15468 /* end confdefs.h. */
15469 int main(int argc, char **argv) { return 0; }
15470 _ACEOF
15471 if ac_fn_c_try_link "$LINENO"; then :
15472 ac_cv_cflags__Werror=yes
15473 else
15474 ac_cv_cflags__Werror=no
15476 rm -f core conftest.err conftest.$ac_objext \
15477 conftest$ac_exeext conftest.$ac_ext
15478 CFLAGS=$ac_wine_try_cflags_saved
15480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
15481 $as_echo "$ac_cv_cflags__Werror" >&6; }
15482 if test "x$ac_cv_cflags__Werror" = xyes; then :
15483 EXTRACFLAGS="$EXTRACFLAGS -Werror"
15487 saved_CFLAGS="$CFLAGS"
15488 CFLAGS="$CFLAGS -Werror"
15489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
15490 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
15491 if ${ac_cv_have_ms_hook_prologue+:} false; then :
15492 $as_echo_n "(cached) " >&6
15493 else
15494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15495 /* end confdefs.h. */
15496 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
15498 main ()
15502 return 0;
15504 _ACEOF
15505 if ac_fn_c_try_compile "$LINENO"; then :
15506 ac_cv_have_ms_hook_prologue="yes"
15507 else
15508 ac_cv_have_ms_hook_prologue="no"
15510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
15513 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
15514 CFLAGS="$saved_CFLAGS"
15515 if test "$ac_cv_have_ms_hook_prologue" = "yes"
15516 then
15518 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
15520 else
15521 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
15527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
15528 $as_echo_n "checking for the need to disable Fortify... " >&6; }
15529 if ${ac_cv_c_fortify_enabled+:} false; then :
15530 $as_echo_n "(cached) " >&6
15531 else
15532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15533 /* end confdefs.h. */
15534 #include <string.h>
15536 main ()
15538 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
15539 #error Fortify enabled
15540 #endif
15542 return 0;
15544 _ACEOF
15545 if ac_fn_c_try_compile "$LINENO"; then :
15546 ac_cv_c_fortify_enabled=no
15547 else
15548 ac_cv_c_fortify_enabled=yes
15550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
15553 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
15554 if test "$ac_cv_c_fortify_enabled" = yes
15555 then
15556 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
15560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
15561 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
15562 if ${ac_cv_c_extern_prefix+:} false; then :
15563 $as_echo_n "(cached) " >&6
15564 else
15565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15566 /* end confdefs.h. */
15567 extern int ac_test;
15569 main ()
15571 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15573 return 0;
15575 _ACEOF
15576 if ac_fn_c_try_link "$LINENO"; then :
15577 ac_cv_c_extern_prefix="yes"
15578 else
15579 ac_cv_c_extern_prefix="no"
15581 rm -f core conftest.err conftest.$ac_objext \
15582 conftest$ac_exeext conftest.$ac_ext
15584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
15585 $as_echo "$ac_cv_c_extern_prefix" >&6; }
15587 case $host_cpu in
15588 *i[3456789]86*)
15589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
15590 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
15591 if ${ac_cv_c_stdcall_suffix+:} false; then :
15592 $as_echo_n "(cached) " >&6
15593 else
15594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15595 /* end confdefs.h. */
15596 #ifndef _MSC_VER
15597 #define __stdcall __attribute__((__stdcall__))
15598 #endif
15599 int __stdcall ac_test(int i) { return i; }
15601 main ()
15603 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
15605 return 0;
15607 _ACEOF
15608 if ac_fn_c_try_link "$LINENO"; then :
15609 ac_cv_c_stdcall_suffix="yes"
15610 else
15611 ac_cv_c_stdcall_suffix="no"
15613 rm -f core conftest.err conftest.$ac_objext \
15614 conftest$ac_exeext conftest.$ac_ext
15616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15617 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15618 *) ac_cv_c_stdcall_suffix="no" ;;
15619 esac
15622 if test "$ac_cv_c_extern_prefix" = "yes"
15623 then
15624 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15626 asm_name_prefix="_"
15627 else
15628 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15630 asm_name_prefix=""
15634 if test "$ac_cv_c_stdcall_suffix" = "yes"
15635 then
15636 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15638 else
15639 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15645 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15646 if ${ac_cv_asm_func_def+:} false; then :
15647 $as_echo_n "(cached) " >&6
15648 else
15649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15650 /* end confdefs.h. */
15653 main ()
15655 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15657 return 0;
15659 _ACEOF
15660 if ac_fn_c_try_link "$LINENO"; then :
15661 ac_cv_asm_func_def=".def"
15662 else
15663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15664 /* end confdefs.h. */
15667 main ()
15669 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15671 return 0;
15673 _ACEOF
15674 if ac_fn_c_try_link "$LINENO"; then :
15675 ac_cv_asm_func_def=".type @function"
15676 else
15677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15678 /* end confdefs.h. */
15681 main ()
15683 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15685 return 0;
15687 _ACEOF
15688 if ac_fn_c_try_link "$LINENO"; then :
15689 ac_cv_asm_func_def=".type 2"
15690 else
15691 ac_cv_asm_func_def="unknown"
15693 rm -f core conftest.err conftest.$ac_objext \
15694 conftest$ac_exeext conftest.$ac_ext
15696 rm -f core conftest.err conftest.$ac_objext \
15697 conftest$ac_exeext conftest.$ac_ext
15699 rm -f core conftest.err conftest.$ac_objext \
15700 conftest$ac_exeext conftest.$ac_ext
15702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15703 $as_echo "$ac_cv_asm_func_def" >&6; }
15706 case "$ac_cv_asm_func_def" in
15707 ".def")
15708 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15710 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15711 ".type @function")
15712 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15714 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15715 ".type 2")
15716 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15718 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15720 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15722 asm_func_header="" ;;
15723 esac
15725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15726 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15727 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15728 $as_echo_n "(cached) " >&6
15729 else
15730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15731 /* end confdefs.h. */
15732 asm(".text\n\t.long 0");
15734 main ()
15738 return 0;
15740 _ACEOF
15741 if ac_fn_c_try_compile "$LINENO"; then :
15742 ac_cv_c_asm_outside_funcs="yes"
15743 else
15744 ac_cv_c_asm_outside_funcs="no"
15746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15749 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15752 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15753 if ${ac_cv_c_dot_previous+:} false; then :
15754 $as_echo_n "(cached) " >&6
15755 else
15756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15757 /* end confdefs.h. */
15760 main ()
15762 asm(".text\nac_test:\t.long 0\n\t.previous");
15764 return 0;
15766 _ACEOF
15767 if ac_fn_c_try_link "$LINENO"; then :
15768 ac_cv_c_dot_previous="yes"
15769 else
15770 ac_cv_c_dot_previous="no"
15772 rm -f core conftest.err conftest.$ac_objext \
15773 conftest$ac_exeext conftest.$ac_ext
15775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15776 $as_echo "$ac_cv_c_dot_previous" >&6; }
15778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15779 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15780 if ${ac_cv_c_cfi_support+:} false; then :
15781 $as_echo_n "(cached) " >&6
15782 else
15783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15784 /* end confdefs.h. */
15785 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15787 main ()
15791 return 0;
15793 _ACEOF
15794 if ac_fn_c_try_compile "$LINENO"; then :
15795 ac_cv_c_cfi_support="yes"
15796 else
15797 ac_cv_c_cfi_support="no"
15799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15802 $as_echo "$ac_cv_c_cfi_support" >&6; }
15804 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15805 asm_func_trailer=""
15806 if test "$ac_cv_c_dot_previous" = "yes"
15807 then
15808 asm_func_trailer="\\n\\t.previous"
15810 if test "$ac_cv_c_cfi_support" = "yes"
15811 then
15812 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15813 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15815 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15817 UNWINDFLAGS=-fasynchronous-unwind-tables
15819 else
15820 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15822 if test "x$enable_win64" = "xyes"
15823 then
15824 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15828 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15831 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15832 then
15833 cat >>confdefs.h <<_ACEOF
15834 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15835 _ACEOF
15837 else
15838 cat >>confdefs.h <<_ACEOF
15839 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15840 _ACEOF
15844 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15847 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15851 case $build_os in
15852 cygwin*|mingw32*) TOOLSEXT=".exe"
15854 esac
15856 case $host_os in
15857 linux*)
15858 case $host_cpu in
15859 *i[3456789]86*|x86_64*|*aarch64*)
15860 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15861 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15863 esac
15865 esac
15868 ac_save_CFLAGS="$CFLAGS"
15869 CFLAGS="$CFLAGS $BUILTINFLAG"
15870 for ac_func in \
15871 __res_get_state \
15872 __res_getservers \
15873 _finite \
15874 _isnan \
15875 _pclose \
15876 _popen \
15877 _snprintf \
15878 _spawnvp \
15879 _strdup \
15880 _stricmp \
15881 _strnicmp \
15882 _strtoi64 \
15883 _strtoui64 \
15884 _vsnprintf \
15885 asctime_r \
15886 chsize \
15887 dlopen \
15888 epoll_create \
15889 ffs \
15890 finitef \
15891 fnmatch \
15892 fork \
15893 fpclass \
15894 fstatfs \
15895 fstatvfs \
15896 ftruncate \
15897 futimens \
15898 futimes \
15899 futimesat \
15900 getattrlist \
15901 getauxval \
15902 getifaddrs \
15903 getopt_long_only \
15904 getpwuid \
15905 gettimeofday \
15906 getuid \
15907 isnanf \
15908 kqueue \
15909 lstat \
15910 memmove \
15911 mmap \
15912 pclose \
15913 pipe2 \
15914 poll \
15915 popen \
15916 port_create \
15917 prctl \
15918 pread \
15919 proc_pidinfo \
15920 pwrite \
15921 readdir \
15922 readlink \
15923 sched_yield \
15924 select \
15925 setproctitle \
15926 setprogname \
15927 setrlimit \
15928 settimeofday \
15929 sigaltstack \
15930 sigprocmask \
15931 snprintf \
15932 statfs \
15933 statvfs \
15934 strcasecmp \
15935 strdup \
15936 strerror \
15937 strncasecmp \
15938 strnlen \
15939 strtold \
15940 strtoll \
15941 strtoull \
15942 symlink \
15943 sysinfo \
15944 tcdrain \
15945 thr_kill2 \
15946 timegm \
15947 usleep \
15948 vsnprintf
15950 do :
15951 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15952 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15953 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15954 cat >>confdefs.h <<_ACEOF
15955 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15956 _ACEOF
15959 done
15961 CFLAGS="$ac_save_CFLAGS"
15963 if test "$ac_cv_func_dlopen" = no
15964 then
15965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15966 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15967 if ${ac_cv_lib_dl_dlopen+:} false; then :
15968 $as_echo_n "(cached) " >&6
15969 else
15970 ac_check_lib_save_LIBS=$LIBS
15971 LIBS="-ldl $LIBS"
15972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15973 /* end confdefs.h. */
15975 /* Override any GCC internal prototype to avoid an error.
15976 Use char because int might match the return type of a GCC
15977 builtin and then its argument prototype would still apply. */
15978 #ifdef __cplusplus
15979 extern "C"
15980 #endif
15981 char dlopen ();
15983 main ()
15985 return dlopen ();
15987 return 0;
15989 _ACEOF
15990 if ac_fn_c_try_link "$LINENO"; then :
15991 ac_cv_lib_dl_dlopen=yes
15992 else
15993 ac_cv_lib_dl_dlopen=no
15995 rm -f core conftest.err conftest.$ac_objext \
15996 conftest$ac_exeext conftest.$ac_ext
15997 LIBS=$ac_check_lib_save_LIBS
15999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
16000 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
16001 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
16002 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
16003 DL_LIBS="-ldl"
16008 ac_wine_check_funcs_save_LIBS="$LIBS"
16009 LIBS="$LIBS $DL_LIBS"
16010 for ac_func in dladdr
16011 do :
16012 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
16013 if test "x$ac_cv_func_dladdr" = xyes; then :
16014 cat >>confdefs.h <<_ACEOF
16015 #define HAVE_DLADDR 1
16016 _ACEOF
16019 done
16021 LIBS="$ac_wine_check_funcs_save_LIBS"
16023 if test "$ac_cv_func_poll" = no
16024 then
16025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
16026 $as_echo_n "checking for poll in -lpoll... " >&6; }
16027 if ${ac_cv_lib_poll_poll+:} false; then :
16028 $as_echo_n "(cached) " >&6
16029 else
16030 ac_check_lib_save_LIBS=$LIBS
16031 LIBS="-lpoll $LIBS"
16032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16033 /* end confdefs.h. */
16035 /* Override any GCC internal prototype to avoid an error.
16036 Use char because int might match the return type of a GCC
16037 builtin and then its argument prototype would still apply. */
16038 #ifdef __cplusplus
16039 extern "C"
16040 #endif
16041 char poll ();
16043 main ()
16045 return poll ();
16047 return 0;
16049 _ACEOF
16050 if ac_fn_c_try_link "$LINENO"; then :
16051 ac_cv_lib_poll_poll=yes
16052 else
16053 ac_cv_lib_poll_poll=no
16055 rm -f core conftest.err conftest.$ac_objext \
16056 conftest$ac_exeext conftest.$ac_ext
16057 LIBS=$ac_check_lib_save_LIBS
16059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
16060 $as_echo "$ac_cv_lib_poll_poll" >&6; }
16061 if test "x$ac_cv_lib_poll_poll" = xyes; then :
16062 $as_echo "#define HAVE_POLL 1" >>confdefs.h
16063 POLL_LIBS="-lpoll"
16069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
16070 $as_echo_n "checking for library containing gethostbyname... " >&6; }
16071 if ${ac_cv_search_gethostbyname+:} false; then :
16072 $as_echo_n "(cached) " >&6
16073 else
16074 ac_func_search_save_LIBS=$LIBS
16075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16076 /* end confdefs.h. */
16078 /* Override any GCC internal prototype to avoid an error.
16079 Use char because int might match the return type of a GCC
16080 builtin and then its argument prototype would still apply. */
16081 #ifdef __cplusplus
16082 extern "C"
16083 #endif
16084 char gethostbyname ();
16086 main ()
16088 return gethostbyname ();
16090 return 0;
16092 _ACEOF
16093 for ac_lib in '' nsl; do
16094 if test -z "$ac_lib"; then
16095 ac_res="none required"
16096 else
16097 ac_res=-l$ac_lib
16098 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16100 if ac_fn_c_try_link "$LINENO"; then :
16101 ac_cv_search_gethostbyname=$ac_res
16103 rm -f core conftest.err conftest.$ac_objext \
16104 conftest$ac_exeext
16105 if ${ac_cv_search_gethostbyname+:} false; then :
16106 break
16108 done
16109 if ${ac_cv_search_gethostbyname+:} false; then :
16111 else
16112 ac_cv_search_gethostbyname=no
16114 rm conftest.$ac_ext
16115 LIBS=$ac_func_search_save_LIBS
16117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
16118 $as_echo "$ac_cv_search_gethostbyname" >&6; }
16119 ac_res=$ac_cv_search_gethostbyname
16120 if test "$ac_res" != no; then :
16121 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
16127 $as_echo_n "checking for library containing connect... " >&6; }
16128 if ${ac_cv_search_connect+:} false; then :
16129 $as_echo_n "(cached) " >&6
16130 else
16131 ac_func_search_save_LIBS=$LIBS
16132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16133 /* end confdefs.h. */
16135 /* Override any GCC internal prototype to avoid an error.
16136 Use char because int might match the return type of a GCC
16137 builtin and then its argument prototype would still apply. */
16138 #ifdef __cplusplus
16139 extern "C"
16140 #endif
16141 char connect ();
16143 main ()
16145 return connect ();
16147 return 0;
16149 _ACEOF
16150 for ac_lib in '' socket; do
16151 if test -z "$ac_lib"; then
16152 ac_res="none required"
16153 else
16154 ac_res=-l$ac_lib
16155 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16157 if ac_fn_c_try_link "$LINENO"; then :
16158 ac_cv_search_connect=$ac_res
16160 rm -f core conftest.err conftest.$ac_objext \
16161 conftest$ac_exeext
16162 if ${ac_cv_search_connect+:} false; then :
16163 break
16165 done
16166 if ${ac_cv_search_connect+:} false; then :
16168 else
16169 ac_cv_search_connect=no
16171 rm conftest.$ac_ext
16172 LIBS=$ac_func_search_save_LIBS
16174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
16175 $as_echo "$ac_cv_search_connect" >&6; }
16176 ac_res=$ac_cv_search_connect
16177 if test "$ac_res" != no; then :
16178 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
16184 $as_echo_n "checking for library containing inet_aton... " >&6; }
16185 if ${ac_cv_search_inet_aton+:} false; then :
16186 $as_echo_n "(cached) " >&6
16187 else
16188 ac_func_search_save_LIBS=$LIBS
16189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16190 /* end confdefs.h. */
16192 /* Override any GCC internal prototype to avoid an error.
16193 Use char because int might match the return type of a GCC
16194 builtin and then its argument prototype would still apply. */
16195 #ifdef __cplusplus
16196 extern "C"
16197 #endif
16198 char inet_aton ();
16200 main ()
16202 return inet_aton ();
16204 return 0;
16206 _ACEOF
16207 for ac_lib in '' resolv; do
16208 if test -z "$ac_lib"; then
16209 ac_res="none required"
16210 else
16211 ac_res=-l$ac_lib
16212 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16214 if ac_fn_c_try_link "$LINENO"; then :
16215 ac_cv_search_inet_aton=$ac_res
16217 rm -f core conftest.err conftest.$ac_objext \
16218 conftest$ac_exeext
16219 if ${ac_cv_search_inet_aton+:} false; then :
16220 break
16222 done
16223 if ${ac_cv_search_inet_aton+:} false; then :
16225 else
16226 ac_cv_search_inet_aton=no
16228 rm conftest.$ac_ext
16229 LIBS=$ac_func_search_save_LIBS
16231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
16232 $as_echo "$ac_cv_search_inet_aton" >&6; }
16233 ac_res=$ac_cv_search_inet_aton
16234 if test "$ac_res" != no; then :
16235 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16240 for ac_func in \
16241 getaddrinfo \
16242 getnameinfo \
16243 getnetbyname \
16244 getprotobyname \
16245 getprotobynumber \
16246 getservbyport \
16247 inet_addr \
16248 inet_network \
16249 inet_ntop \
16250 inet_pton \
16251 sendmsg \
16252 socketpair \
16254 do :
16255 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16256 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16257 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16258 cat >>confdefs.h <<_ACEOF
16259 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16260 _ACEOF
16263 done
16266 ac_save_LIBS=$LIBS
16267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
16268 $as_echo_n "checking for library containing clock_gettime... " >&6; }
16269 if ${ac_cv_search_clock_gettime+:} false; then :
16270 $as_echo_n "(cached) " >&6
16271 else
16272 ac_func_search_save_LIBS=$LIBS
16273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16274 /* end confdefs.h. */
16276 /* Override any GCC internal prototype to avoid an error.
16277 Use char because int might match the return type of a GCC
16278 builtin and then its argument prototype would still apply. */
16279 #ifdef __cplusplus
16280 extern "C"
16281 #endif
16282 char clock_gettime ();
16284 main ()
16286 return clock_gettime ();
16288 return 0;
16290 _ACEOF
16291 for ac_lib in '' rt; do
16292 if test -z "$ac_lib"; then
16293 ac_res="none required"
16294 else
16295 ac_res=-l$ac_lib
16296 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16298 if ac_fn_c_try_link "$LINENO"; then :
16299 ac_cv_search_clock_gettime=$ac_res
16301 rm -f core conftest.err conftest.$ac_objext \
16302 conftest$ac_exeext
16303 if ${ac_cv_search_clock_gettime+:} false; then :
16304 break
16306 done
16307 if ${ac_cv_search_clock_gettime+:} false; then :
16309 else
16310 ac_cv_search_clock_gettime=no
16312 rm conftest.$ac_ext
16313 LIBS=$ac_func_search_save_LIBS
16315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
16316 $as_echo "$ac_cv_search_clock_gettime" >&6; }
16317 ac_res=$ac_cv_search_clock_gettime
16318 if test "$ac_res" != no; then :
16319 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16321 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
16323 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
16327 LIBS=$ac_save_LIBS
16329 if test "x$with_ldap" != "xno"
16330 then
16331 if ${LDAP_CFLAGS:+false} :; then :
16332 if ${PKG_CONFIG+:} false; then :
16333 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
16337 if ${LDAP_LIBS:+false} :; then :
16338 if ${PKG_CONFIG+:} false; then :
16339 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
16343 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
16344 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
16345 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
16346 ac_save_CPPFLAGS=$CPPFLAGS
16347 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
16348 for ac_header in ldap.h lber.h
16349 do :
16350 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16351 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16352 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16353 cat >>confdefs.h <<_ACEOF
16354 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16355 _ACEOF
16359 done
16361 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
16362 then
16363 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
16365 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
16366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
16367 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
16368 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
16369 $as_echo_n "(cached) " >&6
16370 else
16371 ac_check_lib_save_LIBS=$LIBS
16372 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16374 /* end confdefs.h. */
16376 /* Override any GCC internal prototype to avoid an error.
16377 Use char because int might match the return type of a GCC
16378 builtin and then its argument prototype would still apply. */
16379 #ifdef __cplusplus
16380 extern "C"
16381 #endif
16382 char ldap_initialize ();
16384 main ()
16386 return ldap_initialize ();
16388 return 0;
16390 _ACEOF
16391 if ac_fn_c_try_link "$LINENO"; then :
16392 ac_cv_lib_ldap_r_ldap_initialize=yes
16393 else
16394 ac_cv_lib_ldap_r_ldap_initialize=no
16396 rm -f core conftest.err conftest.$ac_objext \
16397 conftest$ac_exeext conftest.$ac_ext
16398 LIBS=$ac_check_lib_save_LIBS
16400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
16401 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
16402 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
16403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
16404 $as_echo_n "checking for ber_init in -llber... " >&6; }
16405 if ${ac_cv_lib_lber_ber_init+:} false; then :
16406 $as_echo_n "(cached) " >&6
16407 else
16408 ac_check_lib_save_LIBS=$LIBS
16409 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16411 /* end confdefs.h. */
16413 /* Override any GCC internal prototype to avoid an error.
16414 Use char because int might match the return type of a GCC
16415 builtin and then its argument prototype would still apply. */
16416 #ifdef __cplusplus
16417 extern "C"
16418 #endif
16419 char ber_init ();
16421 main ()
16423 return ber_init ();
16425 return 0;
16427 _ACEOF
16428 if ac_fn_c_try_link "$LINENO"; then :
16429 ac_cv_lib_lber_ber_init=yes
16430 else
16431 ac_cv_lib_lber_ber_init=no
16433 rm -f core conftest.err conftest.$ac_objext \
16434 conftest$ac_exeext conftest.$ac_ext
16435 LIBS=$ac_check_lib_save_LIBS
16437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
16438 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
16439 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
16441 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
16443 else
16444 LDAP_LIBS=""
16447 else
16448 LDAP_LIBS=""
16451 else
16452 LDAP_LIBS=""
16455 ac_wine_check_funcs_save_LIBS="$LIBS"
16456 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
16457 for ac_func in \
16458 ldap_count_references \
16459 ldap_first_reference \
16460 ldap_next_reference \
16461 ldap_parse_reference \
16462 ldap_parse_sort_control \
16463 ldap_parse_sortresponse_control \
16464 ldap_parse_vlv_control \
16465 ldap_parse_vlvresponse_control
16466 do :
16467 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16468 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16469 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16470 cat >>confdefs.h <<_ACEOF
16471 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16472 _ACEOF
16475 done
16477 LIBS="$ac_wine_check_funcs_save_LIBS"
16478 else
16479 LDAP_LIBS=""
16481 CPPFLAGS=$ac_save_CPPFLAGS
16482 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16483 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16486 if test "x$LDAP_LIBS" = "x"; then :
16487 case "x$with_ldap" in
16488 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
16489 xno) ;;
16490 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
16491 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
16492 esac
16496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
16497 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
16498 if ${wine_cv_one_arg_mkdir+:} false; then :
16499 $as_echo_n "(cached) " >&6
16500 else
16501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16502 /* end confdefs.h. */
16503 #include <sys/stat.h>
16505 main ()
16507 mkdir("foo");
16509 return 0;
16511 _ACEOF
16512 if ac_fn_c_try_compile "$LINENO"; then :
16513 wine_cv_one_arg_mkdir=yes
16514 else
16515 wine_cv_one_arg_mkdir=no
16517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
16520 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
16521 if test "$wine_cv_one_arg_mkdir" = "yes"
16522 then
16524 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
16528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
16529 $as_echo_n "checking for sched_setaffinity... " >&6; }
16530 if ${wine_cv_have_sched_setaffinity+:} false; then :
16531 $as_echo_n "(cached) " >&6
16532 else
16533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16534 /* end confdefs.h. */
16535 #define _GNU_SOURCE
16536 #include <sched.h>
16538 main ()
16540 sched_setaffinity(0, 0, 0);
16542 return 0;
16544 _ACEOF
16545 if ac_fn_c_try_link "$LINENO"; then :
16546 wine_cv_have_sched_setaffinity=yes
16547 else
16548 wine_cv_have_sched_setaffinity=no
16550 rm -f core conftest.err conftest.$ac_objext \
16551 conftest$ac_exeext conftest.$ac_ext
16553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
16554 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
16555 if test "$wine_cv_have_sched_setaffinity" = "yes"
16556 then
16558 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
16562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
16563 $as_echo_n "checking for fallocate... " >&6; }
16564 if ${wine_cv_have_fallocate+:} false; then :
16565 $as_echo_n "(cached) " >&6
16566 else
16567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16568 /* end confdefs.h. */
16569 #define _GNU_SOURCE
16570 #include <fcntl.h>
16572 main ()
16574 fallocate(-1, 0, 0, 0);
16576 return 0;
16578 _ACEOF
16579 if ac_fn_c_try_link "$LINENO"; then :
16580 wine_cv_have_fallocate=yes
16581 else
16582 wine_cv_have_fallocate=no
16584 rm -f core conftest.err conftest.$ac_objext \
16585 conftest$ac_exeext conftest.$ac_ext
16587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
16588 $as_echo "$wine_cv_have_fallocate" >&6; }
16589 if test "$wine_cv_have_fallocate" = "yes"
16590 then
16592 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
16597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
16598 $as_echo_n "checking for inline... " >&6; }
16599 if ${ac_cv_c_inline+:} false; then :
16600 $as_echo_n "(cached) " >&6
16601 else
16602 ac_cv_c_inline=no
16603 for ac_kw in inline __inline__ __inline; do
16604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16605 /* end confdefs.h. */
16606 #ifndef __cplusplus
16607 typedef int foo_t;
16608 static $ac_kw foo_t static_foo () {return 0; }
16609 $ac_kw foo_t foo () {return 0; }
16610 #endif
16612 _ACEOF
16613 if ac_fn_c_try_compile "$LINENO"; then :
16614 ac_cv_c_inline=$ac_kw
16616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16617 test "$ac_cv_c_inline" != no && break
16618 done
16621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
16622 $as_echo "$ac_cv_c_inline" >&6; }
16624 case $ac_cv_c_inline in
16625 inline | yes) ;;
16627 case $ac_cv_c_inline in
16628 no) ac_val=;;
16629 *) ac_val=$ac_cv_c_inline;;
16630 esac
16631 cat >>confdefs.h <<_ACEOF
16632 #ifndef __cplusplus
16633 #define inline $ac_val
16634 #endif
16635 _ACEOF
16637 esac
16639 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
16640 if test "x$ac_cv_type_mode_t" = xyes; then :
16642 cat >>confdefs.h <<_ACEOF
16643 #define HAVE_MODE_T 1
16644 _ACEOF
16648 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16649 if test "x$ac_cv_type_off_t" = xyes; then :
16651 cat >>confdefs.h <<_ACEOF
16652 #define HAVE_OFF_T 1
16653 _ACEOF
16657 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16658 if test "x$ac_cv_type_pid_t" = xyes; then :
16660 cat >>confdefs.h <<_ACEOF
16661 #define HAVE_PID_T 1
16662 _ACEOF
16666 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16667 if test "x$ac_cv_type_size_t" = xyes; then :
16669 cat >>confdefs.h <<_ACEOF
16670 #define HAVE_SIZE_T 1
16671 _ACEOF
16675 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16676 if test "x$ac_cv_type_ssize_t" = xyes; then :
16678 cat >>confdefs.h <<_ACEOF
16679 #define HAVE_SSIZE_T 1
16680 _ACEOF
16684 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16685 if test "x$ac_cv_type_long_long" = xyes; then :
16687 cat >>confdefs.h <<_ACEOF
16688 #define HAVE_LONG_LONG 1
16689 _ACEOF
16693 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16694 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16696 cat >>confdefs.h <<_ACEOF
16697 #define HAVE_FSBLKCNT_T 1
16698 _ACEOF
16702 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16703 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16705 cat >>confdefs.h <<_ACEOF
16706 #define HAVE_FSFILCNT_T 1
16707 _ACEOF
16712 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16713 #include <signal.h>
16715 if test "x$ac_cv_type_sigset_t" = xyes; then :
16717 cat >>confdefs.h <<_ACEOF
16718 #define HAVE_SIGSET_T 1
16719 _ACEOF
16724 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16726 if test "x$ac_cv_type_request_sense" = xyes; then :
16728 cat >>confdefs.h <<_ACEOF
16729 #define HAVE_REQUEST_SENSE 1
16730 _ACEOF
16736 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16737 #ifdef HAVE_SYS_SOCKET_H
16738 #include <sys/socket.h>
16739 #endif
16740 #ifdef HAVE_SYS_SOCKETVAR_H
16741 #include <sys/socketvar.h>
16742 #endif
16743 #ifdef HAVE_NET_ROUTE_H
16744 #include <net/route.h>
16745 #endif
16746 #ifdef HAVE_NETINET_IN_H
16747 #include <netinet/in.h>
16748 #endif
16749 #ifdef HAVE_NETINET_IN_SYSTM_H
16750 #include <netinet/in_systm.h>
16751 #endif
16752 #ifdef HAVE_NETINET_IP_H
16753 #include <netinet/ip.h>
16754 #endif
16755 #ifdef HAVE_NETINET_IN_PCB_H
16756 #include <netinet/in_pcb.h>
16757 #endif
16759 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16761 cat >>confdefs.h <<_ACEOF
16762 #define HAVE_STRUCT_XINPGEN 1
16763 _ACEOF
16769 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16770 #include <link.h>
16771 #endif
16772 #ifdef HAVE_SYS_LINK_H
16773 #include <sys/link.h>
16774 #endif
16776 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16778 cat >>confdefs.h <<_ACEOF
16779 #define HAVE_STRUCT_R_DEBUG 1
16780 _ACEOF
16784 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16785 #include <link.h>
16786 #endif
16787 #ifdef HAVE_SYS_LINK_H
16788 #include <sys/link.h>
16789 #endif
16791 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16793 cat >>confdefs.h <<_ACEOF
16794 #define HAVE_STRUCT_LINK_MAP 1
16795 _ACEOF
16801 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16802 #include <linux/input.h>
16803 #endif
16805 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16807 cat >>confdefs.h <<_ACEOF
16808 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16809 _ACEOF
16815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
16816 $as_echo_n "checking for if_nameindex... " >&6; }
16817 if ${wine_cv_have_if_nameindex+:} false; then :
16818 $as_echo_n "(cached) " >&6
16819 else
16820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16821 /* end confdefs.h. */
16822 #ifdef HAVE_SYS_TYPES_H
16823 #include <sys/types.h>
16824 #endif
16825 #ifdef HAVE_SYS_SOCKET_H
16826 #include <sys/socket.h>
16827 #endif
16828 #ifdef HAVE_NET_IF_H
16829 # include <net/if.h>
16830 #endif
16832 main ()
16834 struct if_nameindex *p = if_nameindex(); return p->if_index;
16836 return 0;
16838 _ACEOF
16839 if ac_fn_c_try_link "$LINENO"; then :
16840 wine_cv_have_if_nameindex=yes
16841 else
16842 wine_cv_have_if_nameindex=no
16844 rm -f core conftest.err conftest.$ac_objext \
16845 conftest$ac_exeext conftest.$ac_ext
16847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
16848 $as_echo "$wine_cv_have_if_nameindex" >&6; }
16849 if test "$wine_cv_have_if_nameindex" = "yes"
16850 then
16852 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
16856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16857 $as_echo_n "checking for sigaddset... " >&6; }
16858 if ${wine_cv_have_sigaddset+:} false; then :
16859 $as_echo_n "(cached) " >&6
16860 else
16861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16862 /* end confdefs.h. */
16863 #include <signal.h>
16865 main ()
16867 sigset_t set; sigaddset(&set,SIGTERM);
16869 return 0;
16871 _ACEOF
16872 if ac_fn_c_try_link "$LINENO"; then :
16873 wine_cv_have_sigaddset=yes
16874 else
16875 wine_cv_have_sigaddset=no
16877 rm -f core conftest.err conftest.$ac_objext \
16878 conftest$ac_exeext conftest.$ac_ext
16880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16881 $as_echo "$wine_cv_have_sigaddset" >&6; }
16882 if test "$wine_cv_have_sigaddset" = "yes"
16883 then
16885 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16891 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16892 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16893 $as_echo_n "(cached) " >&6
16894 else
16895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16896 /* end confdefs.h. */
16897 #include <netdb.h>
16899 main ()
16902 char *name=0;
16903 struct hostent he;
16904 struct hostent *result;
16905 char *buf=0;
16906 int bufsize=0;
16907 int errnr;
16908 char *addr=0;
16909 int addrlen=0;
16910 int addrtype=0;
16911 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16912 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16915 return 0;
16917 _ACEOF
16918 if ac_fn_c_try_link "$LINENO"; then :
16919 wine_cv_linux_gethostbyname_r_6=yes
16920 else
16921 wine_cv_linux_gethostbyname_r_6=no
16924 rm -f core conftest.err conftest.$ac_objext \
16925 conftest$ac_exeext conftest.$ac_ext
16928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16929 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16930 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16931 then
16933 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16937 if test "$ac_cv_header_linux_joystick_h" = "yes"
16938 then
16939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16940 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16941 if ${wine_cv_linux_joystick_22_api+:} false; then :
16942 $as_echo_n "(cached) " >&6
16943 else
16944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16945 /* end confdefs.h. */
16947 #include <sys/ioctl.h>
16948 #include <sys/types.h>
16949 #include <linux/joystick.h>
16951 struct js_event blub;
16952 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16953 #error "no 2.2 header"
16954 #endif
16957 main ()
16959 /*empty*/
16961 return 0;
16963 _ACEOF
16964 if ac_fn_c_try_compile "$LINENO"; then :
16965 wine_cv_linux_joystick_22_api=yes
16966 else
16967 wine_cv_linux_joystick_22_api=no
16969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16973 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16974 if test "$wine_cv_linux_joystick_22_api" = "yes"
16975 then
16977 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16983 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16984 #ifdef HAVE_SYS_PARAM_H
16985 # include <sys/param.h>
16986 #endif
16987 #ifdef HAVE_SYS_MOUNT_H
16988 # include <sys/mount.h>
16989 #endif
16990 #ifdef HAVE_SYS_VFS_H
16991 # include <sys/vfs.h>
16992 #endif
16993 #ifdef HAVE_SYS_STATFS_H
16994 # include <sys/statfs.h>
16995 #endif
16997 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16999 cat >>confdefs.h <<_ACEOF
17000 #define HAVE_STRUCT_STATFS_F_BFREE 1
17001 _ACEOF
17005 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
17006 #ifdef HAVE_SYS_PARAM_H
17007 # include <sys/param.h>
17008 #endif
17009 #ifdef HAVE_SYS_MOUNT_H
17010 # include <sys/mount.h>
17011 #endif
17012 #ifdef HAVE_SYS_VFS_H
17013 # include <sys/vfs.h>
17014 #endif
17015 #ifdef HAVE_SYS_STATFS_H
17016 # include <sys/statfs.h>
17017 #endif
17019 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
17021 cat >>confdefs.h <<_ACEOF
17022 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
17023 _ACEOF
17027 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
17028 #ifdef HAVE_SYS_PARAM_H
17029 # include <sys/param.h>
17030 #endif
17031 #ifdef HAVE_SYS_MOUNT_H
17032 # include <sys/mount.h>
17033 #endif
17034 #ifdef HAVE_SYS_VFS_H
17035 # include <sys/vfs.h>
17036 #endif
17037 #ifdef HAVE_SYS_STATFS_H
17038 # include <sys/statfs.h>
17039 #endif
17041 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
17043 cat >>confdefs.h <<_ACEOF
17044 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
17045 _ACEOF
17049 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
17050 #ifdef HAVE_SYS_PARAM_H
17051 # include <sys/param.h>
17052 #endif
17053 #ifdef HAVE_SYS_MOUNT_H
17054 # include <sys/mount.h>
17055 #endif
17056 #ifdef HAVE_SYS_VFS_H
17057 # include <sys/vfs.h>
17058 #endif
17059 #ifdef HAVE_SYS_STATFS_H
17060 # include <sys/statfs.h>
17061 #endif
17063 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
17065 cat >>confdefs.h <<_ACEOF
17066 #define HAVE_STRUCT_STATFS_F_FFREE 1
17067 _ACEOF
17071 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
17072 #ifdef HAVE_SYS_PARAM_H
17073 # include <sys/param.h>
17074 #endif
17075 #ifdef HAVE_SYS_MOUNT_H
17076 # include <sys/mount.h>
17077 #endif
17078 #ifdef HAVE_SYS_VFS_H
17079 # include <sys/vfs.h>
17080 #endif
17081 #ifdef HAVE_SYS_STATFS_H
17082 # include <sys/statfs.h>
17083 #endif
17085 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
17087 cat >>confdefs.h <<_ACEOF
17088 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
17089 _ACEOF
17093 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
17094 #ifdef HAVE_SYS_PARAM_H
17095 # include <sys/param.h>
17096 #endif
17097 #ifdef HAVE_SYS_MOUNT_H
17098 # include <sys/mount.h>
17099 #endif
17100 #ifdef HAVE_SYS_VFS_H
17101 # include <sys/vfs.h>
17102 #endif
17103 #ifdef HAVE_SYS_STATFS_H
17104 # include <sys/statfs.h>
17105 #endif
17107 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
17109 cat >>confdefs.h <<_ACEOF
17110 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
17111 _ACEOF
17117 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
17118 #include <sys/statvfs.h>
17119 #endif
17121 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
17123 cat >>confdefs.h <<_ACEOF
17124 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
17125 _ACEOF
17131 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
17132 #include <dirent.h>
17133 #endif
17135 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
17137 cat >>confdefs.h <<_ACEOF
17138 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
17139 _ACEOF
17145 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
17146 #ifdef HAVE_SYS_SOCKET_H
17147 # include <sys/socket.h>
17148 #endif
17149 #ifdef HAVE_SYS_UN_H
17150 # include <sys/un.h>
17151 #endif
17153 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
17155 cat >>confdefs.h <<_ACEOF
17156 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
17157 _ACEOF
17161 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
17162 #ifdef HAVE_SYS_SOCKET_H
17163 # include <sys/socket.h>
17164 #endif
17165 #ifdef HAVE_SYS_UN_H
17166 # include <sys/un.h>
17167 #endif
17169 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
17171 cat >>confdefs.h <<_ACEOF
17172 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
17173 _ACEOF
17177 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
17178 #ifdef HAVE_SYS_SOCKET_H
17179 # include <sys/socket.h>
17180 #endif
17181 #ifdef HAVE_SYS_UN_H
17182 # include <sys/un.h>
17183 #endif
17185 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
17187 cat >>confdefs.h <<_ACEOF
17188 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
17189 _ACEOF
17195 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
17196 #ifdef HAVE_SCSI_SG_H
17197 #include <scsi/sg.h>
17198 #endif
17200 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
17202 cat >>confdefs.h <<_ACEOF
17203 #define HAVE_SCSIREQ_T_CMD 1
17204 _ACEOF
17208 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>
17209 #ifdef HAVE_SCSI_SG_H
17210 #include <scsi/sg.h>
17211 #endif
17213 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
17215 cat >>confdefs.h <<_ACEOF
17216 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
17217 _ACEOF
17223 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
17225 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
17227 cat >>confdefs.h <<_ACEOF
17228 #define HAVE_SIGINFO_T_SI_FD 1
17229 _ACEOF
17235 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
17236 #ifdef HAVE_SYS_MTIO_H
17237 #include <sys/mtio.h>
17238 #endif
17240 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
17242 cat >>confdefs.h <<_ACEOF
17243 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
17244 _ACEOF
17248 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
17249 #ifdef HAVE_SYS_MTIO_H
17250 #include <sys/mtio.h>
17251 #endif
17253 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
17255 cat >>confdefs.h <<_ACEOF
17256 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
17257 _ACEOF
17261 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
17262 #ifdef HAVE_SYS_MTIO_H
17263 #include <sys/mtio.h>
17264 #endif
17266 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
17268 cat >>confdefs.h <<_ACEOF
17269 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
17270 _ACEOF
17276 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
17277 #include <getopt.h>
17278 #endif
17280 if test "x$ac_cv_member_struct_option_name" = xyes; then :
17282 cat >>confdefs.h <<_ACEOF
17283 #define HAVE_STRUCT_OPTION_NAME 1
17284 _ACEOF
17290 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
17291 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
17293 cat >>confdefs.h <<_ACEOF
17294 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17295 _ACEOF
17299 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
17300 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
17302 cat >>confdefs.h <<_ACEOF
17303 #define HAVE_STRUCT_STAT_ST_MTIM 1
17304 _ACEOF
17308 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
17309 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
17311 cat >>confdefs.h <<_ACEOF
17312 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
17313 _ACEOF
17317 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
17318 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
17320 cat >>confdefs.h <<_ACEOF
17321 #define HAVE_STRUCT_STAT_ST_CTIM 1
17322 _ACEOF
17326 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
17327 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
17329 cat >>confdefs.h <<_ACEOF
17330 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
17331 _ACEOF
17335 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
17336 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
17338 cat >>confdefs.h <<_ACEOF
17339 #define HAVE_STRUCT_STAT_ST_ATIM 1
17340 _ACEOF
17344 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
17345 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
17347 cat >>confdefs.h <<_ACEOF
17348 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
17349 _ACEOF
17353 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
17354 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
17356 cat >>confdefs.h <<_ACEOF
17357 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
17358 _ACEOF
17362 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
17363 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
17365 cat >>confdefs.h <<_ACEOF
17366 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
17367 _ACEOF
17371 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
17372 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
17374 cat >>confdefs.h <<_ACEOF
17375 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
17376 _ACEOF
17380 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
17381 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
17383 cat >>confdefs.h <<_ACEOF
17384 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
17385 _ACEOF
17389 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
17390 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
17392 cat >>confdefs.h <<_ACEOF
17393 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
17394 _ACEOF
17400 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
17401 #include <sys/types.h>
17402 #endif
17403 #ifdef HAVE_NETINET_IN_H
17404 #include <netinet/in.h>
17405 #endif
17407 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
17409 cat >>confdefs.h <<_ACEOF
17410 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
17411 _ACEOF
17417 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
17418 #include <sys/types.h>
17419 #endif
17420 #ifdef HAVE_NETINET_IN_H
17421 #include <netinet/in.h>
17422 #endif
17423 #ifdef HAVE_RESOLV_H
17424 #include <resolv.h>
17425 #endif
17427 if test "x$ac_cv_type_struct___res_state" = xyes; then :
17429 cat >>confdefs.h <<_ACEOF
17430 #define HAVE_STRUCT___RES_STATE 1
17431 _ACEOF
17437 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
17438 #include <resolv.h>
17439 #endif
17441 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
17443 cat >>confdefs.h <<_ACEOF
17444 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
17445 _ACEOF
17451 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
17452 #include <sys/types.h>
17453 #endif
17454 #ifdef HAVE_NETINET_IN_H
17455 # include <netinet/in.h>
17456 #endif
17457 #ifdef HAVE_ARPA_NAMESER_H
17458 # include <arpa/nameser.h>
17459 #endif
17461 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
17463 cat >>confdefs.h <<_ACEOF
17464 #define HAVE_NS_MSG__MSG_PTR 1
17465 _ACEOF
17471 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
17472 #include <sys/types.h>
17473 #endif
17474 #ifdef HAVE_NETINET_IN_H
17475 #include <netinet/in.h>
17476 #endif
17477 #ifdef HAVE_NETINET_IP_H
17478 #include <netinet/ip.h>
17479 #endif
17480 #ifdef HAVE_NETINET_IP_ICMP_H
17481 #include <netinet/ip_icmp.h>
17482 #endif
17483 #ifdef HAVE_NETINET_ICMP_VAR_H
17484 #include <netinet/icmp_var.h>
17485 #endif
17487 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
17489 cat >>confdefs.h <<_ACEOF
17490 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
17491 _ACEOF
17497 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
17498 #include <sys/types.h>
17499 #endif
17500 #ifdef HAVE_ALIAS_H
17501 #include <alias.h>
17502 #endif
17503 #ifdef HAVE_SYS_SOCKET_H
17504 #include <sys/socket.h>
17505 #endif
17506 #ifdef HAVE_SYS_SOCKETVAR_H
17507 #include <sys/socketvar.h>
17508 #endif
17509 #ifdef HAVE_SYS_TIMEOUT_H
17510 #include <sys/timeout.h>
17511 #endif
17512 #ifdef HAVE_NETINET_IN_H
17513 #include <netinet/in.h>
17514 #endif
17515 #ifdef HAVE_NETINET_IN_SYSTM_H
17516 #include <netinet/in_systm.h>
17517 #endif
17518 #ifdef HAVE_NETINET_IP_H
17519 #include <netinet/ip.h>
17520 #endif
17521 #ifdef HAVE_NETINET_IP_VAR_H
17522 #include <netinet/ip_var.h>
17523 #endif
17524 #ifdef HAVE_NETINET_IP_ICMP_H
17525 #include <netinet/ip_icmp.h>
17526 #endif
17527 #ifdef HAVE_NETINET_ICMP_VAR_H
17528 #include <netinet/icmp_var.h>
17529 #endif
17531 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
17533 cat >>confdefs.h <<_ACEOF
17534 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
17535 _ACEOF
17541 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
17542 #include <sys/types.h>
17543 #endif
17544 #ifdef HAVE_SYS_SOCKETVAR_H
17545 #include <sys/socketvar.h>
17546 #endif
17547 #ifdef HAVE_NETINET_IN_H
17548 #include <netinet/in.h>
17549 #endif
17550 #ifdef HAVE_NETINET_IP_VAR_H
17551 #include <netinet/ip_var.h>
17552 #endif
17554 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
17556 cat >>confdefs.h <<_ACEOF
17557 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
17558 _ACEOF
17564 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
17565 #include <netinet/ip_var.h>
17566 #endif
17568 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
17570 cat >>confdefs.h <<_ACEOF
17571 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
17572 _ACEOF
17578 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
17579 #include <sys/types.h>
17580 #endif
17581 #ifdef HAVE_SYS_SOCKETVAR_H
17582 #include <sys/socketvar.h>
17583 #endif
17584 #ifdef HAVE_NETINET_IN_H
17585 #include <netinet/in.h>
17586 #endif
17587 #ifdef HAVE_NETINET_TCP_H
17588 #include <netinet/tcp.h>
17589 #endif
17590 #ifdef HAVE_NETINET_TCP_VAR_H
17591 #include <netinet/tcp_var.h>
17592 #endif
17594 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
17596 cat >>confdefs.h <<_ACEOF
17597 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
17598 _ACEOF
17604 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
17605 #include <netinet/tcp_var.h>
17606 #endif
17608 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
17610 cat >>confdefs.h <<_ACEOF
17611 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
17612 _ACEOF
17618 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
17619 #include <sys/types.h>
17620 #endif
17621 #ifdef HAVE_NETINET_IN_H
17622 #include <netinet/in.h>
17623 #endif
17624 #ifdef HAVE_NETINET_IP_VAR_H
17625 #include <netinet/ip_var.h>
17626 #endif
17627 #ifdef HAVE_NETINET_UDP_H
17628 #include <netinet/udp.h>
17629 #endif
17630 #ifdef HAVE_NETINET_UDP_VAR_H
17631 #include <netinet/udp_var.h>
17632 #endif
17634 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
17636 cat >>confdefs.h <<_ACEOF
17637 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
17638 _ACEOF
17644 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
17645 #include <sys/types.h>
17646 #endif
17647 #ifdef HAVE_NET_IF_H
17648 # include <net/if.h>
17649 #endif
17651 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
17653 cat >>confdefs.h <<_ACEOF
17654 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
17655 _ACEOF
17661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
17662 $as_echo_n "checking for timezone variable... " >&6; }
17663 if ${ac_cv_have_timezone+:} false; then :
17664 $as_echo_n "(cached) " >&6
17665 else
17666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17667 /* end confdefs.h. */
17668 #include <time.h>
17670 main ()
17672 timezone = 1
17674 return 0;
17676 _ACEOF
17677 if ac_fn_c_try_link "$LINENO"; then :
17678 ac_cv_have_timezone="yes"
17679 else
17680 ac_cv_have_timezone="no"
17682 rm -f core conftest.err conftest.$ac_objext \
17683 conftest$ac_exeext conftest.$ac_ext
17685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
17686 $as_echo "$ac_cv_have_timezone" >&6; }
17687 if test "$ac_cv_have_timezone" = "yes"
17688 then
17690 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17694 $as_echo_n "checking for daylight variable... " >&6; }
17695 if ${ac_cv_have_daylight+:} false; then :
17696 $as_echo_n "(cached) " >&6
17697 else
17698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17699 /* end confdefs.h. */
17700 #include <time.h>
17702 main ()
17704 daylight = 1
17706 return 0;
17708 _ACEOF
17709 if ac_fn_c_try_link "$LINENO"; then :
17710 ac_cv_have_daylight="yes"
17711 else
17712 ac_cv_have_daylight="no"
17714 rm -f core conftest.err conftest.$ac_objext \
17715 conftest$ac_exeext conftest.$ac_ext
17717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17718 $as_echo "$ac_cv_have_daylight" >&6; }
17719 if test "$ac_cv_have_daylight" = "yes"
17720 then
17722 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17726 ac_save_LIBS="$LIBS"
17727 LIBS="$LIBS -lm"
17728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17729 $as_echo_n "checking for isfinite... " >&6; }
17730 if ${ac_cv_have_isfinite+:} false; then :
17731 $as_echo_n "(cached) " >&6
17732 else
17733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17734 /* end confdefs.h. */
17735 #define _GNU_SOURCE
17736 #include <math.h>
17738 main ()
17740 float f = 0.0; return isfinite(f)
17742 return 0;
17744 _ACEOF
17745 if ac_fn_c_try_link "$LINENO"; then :
17746 ac_cv_have_isfinite="yes"
17747 else
17748 ac_cv_have_isfinite="no"
17750 rm -f core conftest.err conftest.$ac_objext \
17751 conftest$ac_exeext conftest.$ac_ext
17753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17754 $as_echo "$ac_cv_have_isfinite" >&6; }
17755 if test "$ac_cv_have_isfinite" = "yes"
17756 then
17758 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17763 $as_echo_n "checking for isinf... " >&6; }
17764 if ${ac_cv_have_isinf+:} false; then :
17765 $as_echo_n "(cached) " >&6
17766 else
17767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17768 /* end confdefs.h. */
17769 #include <math.h>
17771 main ()
17773 float f = 0.0; return isinf(f)
17775 return 0;
17777 _ACEOF
17778 if ac_fn_c_try_link "$LINENO"; then :
17779 ac_cv_have_isinf="yes"
17780 else
17781 ac_cv_have_isinf="no"
17783 rm -f core conftest.err conftest.$ac_objext \
17784 conftest$ac_exeext conftest.$ac_ext
17786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17787 $as_echo "$ac_cv_have_isinf" >&6; }
17788 if test "$ac_cv_have_isinf" = "yes"
17789 then
17791 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17796 $as_echo_n "checking for isnan... " >&6; }
17797 if ${ac_cv_have_isnan+:} false; then :
17798 $as_echo_n "(cached) " >&6
17799 else
17800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17801 /* end confdefs.h. */
17802 #include <math.h>
17804 main ()
17806 float f = 0.0; return isnan(f)
17808 return 0;
17810 _ACEOF
17811 if ac_fn_c_try_link "$LINENO"; then :
17812 ac_cv_have_isnan="yes"
17813 else
17814 ac_cv_have_isnan="no"
17816 rm -f core conftest.err conftest.$ac_objext \
17817 conftest$ac_exeext conftest.$ac_ext
17819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17820 $as_echo "$ac_cv_have_isnan" >&6; }
17821 if test "$ac_cv_have_isnan" = "yes"
17822 then
17824 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17828 for ac_func in \
17829 acosh \
17830 acoshf \
17831 asinh \
17832 asinhf \
17833 atanh \
17834 atanhf \
17835 cbrt \
17836 cbrtf \
17837 erf \
17838 erfc \
17839 erfcf \
17840 erff \
17841 exp2 \
17842 exp2f \
17843 expm1 \
17844 expm1f \
17845 lgamma \
17846 lgammaf \
17847 llrint \
17848 llrintf \
17849 llround \
17850 llroundf \
17851 log1p \
17852 log1pf \
17853 log2 \
17854 log2f \
17855 lrint \
17856 lrintf \
17857 lround \
17858 lroundf \
17859 nearbyint \
17860 nearbyintf \
17861 powl \
17862 remainder \
17863 remainderf \
17864 rint \
17865 rintf \
17866 round \
17867 roundf \
17868 trunc \
17869 truncf
17871 do :
17872 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17873 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17874 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17875 cat >>confdefs.h <<_ACEOF
17876 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17877 _ACEOF
17880 done
17882 LIBS="$ac_save_LIBS"
17884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17885 $as_echo_n "checking for __builtin_clz... " >&6; }
17886 if ${ac_cv_have___builtin_clz+:} false; then :
17887 $as_echo_n "(cached) " >&6
17888 else
17889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17890 /* end confdefs.h. */
17893 main ()
17895 return __builtin_clz(1)
17897 return 0;
17899 _ACEOF
17900 if ac_fn_c_try_link "$LINENO"; then :
17901 ac_cv_have___builtin_clz="yes"
17902 else
17903 ac_cv_have___builtin_clz="no"
17905 rm -f core conftest.err conftest.$ac_objext \
17906 conftest$ac_exeext conftest.$ac_ext
17908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17909 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17910 if test "$ac_cv_have___builtin_clz" = "yes"
17911 then
17913 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17918 $as_echo_n "checking for __builtin_popcount... " >&6; }
17919 if ${ac_cv_have___builtin_popcount+:} false; then :
17920 $as_echo_n "(cached) " >&6
17921 else
17922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17923 /* end confdefs.h. */
17926 main ()
17928 return __builtin_popcount(1)
17930 return 0;
17932 _ACEOF
17933 if ac_fn_c_try_link "$LINENO"; then :
17934 ac_cv_have___builtin_popcount="yes"
17935 else
17936 ac_cv_have___builtin_popcount="no"
17938 rm -f core conftest.err conftest.$ac_objext \
17939 conftest$ac_exeext conftest.$ac_ext
17941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17942 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17943 if test "$ac_cv_have___builtin_popcount" = "yes"
17944 then
17946 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
17951 $as_echo_n "checking for __clear_cache... " >&6; }
17952 if ${ac_cv_have___clear_cache+:} false; then :
17953 $as_echo_n "(cached) " >&6
17954 else
17955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17956 /* end confdefs.h. */
17959 main ()
17961 __clear_cache((void*)0, (void*)0); return 0;
17963 return 0;
17965 _ACEOF
17966 if ac_fn_c_try_link "$LINENO"; then :
17967 ac_cv_have___clear_cache="yes"
17968 else
17969 ac_cv_have___clear_cache="no"
17971 rm -f core conftest.err conftest.$ac_objext \
17972 conftest$ac_exeext conftest.$ac_ext
17974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
17975 $as_echo "$ac_cv_have___clear_cache" >&6; }
17976 if test "$ac_cv_have___clear_cache" = "yes"
17977 then
17979 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
17984 case $host_cpu in
17985 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17986 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17987 if ${ac_cv_cpp_def___i386__+:} false; then :
17988 $as_echo_n "(cached) " >&6
17989 else
17990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17991 /* end confdefs.h. */
17992 #ifndef __i386__
17994 #endif
17995 _ACEOF
17996 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17997 $EGREP "yes" >/dev/null 2>&1; then :
17998 ac_cv_cpp_def___i386__=yes
17999 else
18000 ac_cv_cpp_def___i386__=no
18002 rm -f conftest*
18005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
18006 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
18007 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
18008 CFLAGS="$CFLAGS -D__i386__"
18009 LINTFLAGS="$LINTFLAGS -D__i386__"
18010 fi ;;
18011 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
18012 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
18013 if ${ac_cv_cpp_def___x86_64__+:} false; then :
18014 $as_echo_n "(cached) " >&6
18015 else
18016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18017 /* end confdefs.h. */
18018 #ifndef __x86_64__
18020 #endif
18021 _ACEOF
18022 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18023 $EGREP "yes" >/dev/null 2>&1; then :
18024 ac_cv_cpp_def___x86_64__=yes
18025 else
18026 ac_cv_cpp_def___x86_64__=no
18028 rm -f conftest*
18031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
18032 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
18033 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
18034 CFLAGS="$CFLAGS -D__x86_64__"
18035 LINTFLAGS="$LINTFLAGS -D__x86_64__"
18036 fi ;;
18037 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
18038 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
18039 if ${ac_cv_cpp_def___sparc64__+:} false; then :
18040 $as_echo_n "(cached) " >&6
18041 else
18042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18043 /* end confdefs.h. */
18044 #ifndef __sparc64__
18046 #endif
18047 _ACEOF
18048 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18049 $EGREP "yes" >/dev/null 2>&1; then :
18050 ac_cv_cpp_def___sparc64__=yes
18051 else
18052 ac_cv_cpp_def___sparc64__=no
18054 rm -f conftest*
18057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
18058 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
18059 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
18060 CFLAGS="$CFLAGS -D__sparc64__"
18061 LINTFLAGS="$LINTFLAGS -D__sparc64__"
18062 fi ;;
18063 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
18064 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
18065 if ${ac_cv_cpp_def___sparc__+:} false; then :
18066 $as_echo_n "(cached) " >&6
18067 else
18068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18069 /* end confdefs.h. */
18070 #ifndef __sparc__
18072 #endif
18073 _ACEOF
18074 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18075 $EGREP "yes" >/dev/null 2>&1; then :
18076 ac_cv_cpp_def___sparc__=yes
18077 else
18078 ac_cv_cpp_def___sparc__=no
18080 rm -f conftest*
18083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
18084 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
18085 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
18086 CFLAGS="$CFLAGS -D__sparc__"
18087 LINTFLAGS="$LINTFLAGS -D__sparc__"
18088 fi ;;
18089 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
18090 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
18091 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
18092 $as_echo_n "(cached) " >&6
18093 else
18094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18095 /* end confdefs.h. */
18096 #ifndef __powerpc64__
18098 #endif
18099 _ACEOF
18100 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18101 $EGREP "yes" >/dev/null 2>&1; then :
18102 ac_cv_cpp_def___powerpc64__=yes
18103 else
18104 ac_cv_cpp_def___powerpc64__=no
18106 rm -f conftest*
18109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
18110 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
18111 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
18112 CFLAGS="$CFLAGS -D__powerpc64__"
18113 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
18114 fi ;;
18115 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
18116 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
18117 if ${ac_cv_cpp_def___powerpc__+:} false; then :
18118 $as_echo_n "(cached) " >&6
18119 else
18120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18121 /* end confdefs.h. */
18122 #ifndef __powerpc__
18124 #endif
18125 _ACEOF
18126 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18127 $EGREP "yes" >/dev/null 2>&1; then :
18128 ac_cv_cpp_def___powerpc__=yes
18129 else
18130 ac_cv_cpp_def___powerpc__=no
18132 rm -f conftest*
18135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
18136 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
18137 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
18138 CFLAGS="$CFLAGS -D__powerpc__"
18139 LINTFLAGS="$LINTFLAGS -D__powerpc__"
18140 fi ;;
18141 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
18142 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
18143 if ${ac_cv_cpp_def___aarch64__+:} false; then :
18144 $as_echo_n "(cached) " >&6
18145 else
18146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18147 /* end confdefs.h. */
18148 #ifndef __aarch64__
18150 #endif
18151 _ACEOF
18152 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18153 $EGREP "yes" >/dev/null 2>&1; then :
18154 ac_cv_cpp_def___aarch64__=yes
18155 else
18156 ac_cv_cpp_def___aarch64__=no
18158 rm -f conftest*
18161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
18162 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
18163 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
18164 CFLAGS="$CFLAGS -D__aarch64__"
18165 LINTFLAGS="$LINTFLAGS -D__aarch64__"
18166 fi ;;
18167 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
18168 $as_echo_n "checking whether we need to define __arm__... " >&6; }
18169 if ${ac_cv_cpp_def___arm__+:} false; then :
18170 $as_echo_n "(cached) " >&6
18171 else
18172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18173 /* end confdefs.h. */
18174 #ifndef __arm__
18176 #endif
18177 _ACEOF
18178 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18179 $EGREP "yes" >/dev/null 2>&1; then :
18180 ac_cv_cpp_def___arm__=yes
18181 else
18182 ac_cv_cpp_def___arm__=no
18184 rm -f conftest*
18187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
18188 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
18189 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
18190 CFLAGS="$CFLAGS -D__arm__"
18191 LINTFLAGS="$LINTFLAGS -D__arm__"
18192 fi ;;
18193 esac
18195 case $host_vendor in
18196 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
18197 $as_echo_n "checking whether we need to define __sun__... " >&6; }
18198 if ${ac_cv_cpp_def___sun__+:} false; then :
18199 $as_echo_n "(cached) " >&6
18200 else
18201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18202 /* end confdefs.h. */
18203 #ifndef __sun__
18205 #endif
18206 _ACEOF
18207 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18208 $EGREP "yes" >/dev/null 2>&1; then :
18209 ac_cv_cpp_def___sun__=yes
18210 else
18211 ac_cv_cpp_def___sun__=no
18213 rm -f conftest*
18216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
18217 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
18218 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
18219 CFLAGS="$CFLAGS -D__sun__"
18220 LINTFLAGS="$LINTFLAGS -D__sun__"
18221 fi ;;
18222 esac
18228 ac_config_commands="$ac_config_commands include/stamp-h"
18230 $as_echo_n "creating Makefile rules..." >&6
18232 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
18233 SOCKET_LIBS = $SOCKET_LIBS
18234 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
18235 IOKIT_LIBS = $IOKIT_LIBS
18236 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
18237 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
18238 CORESERVICES_LIBS = $CORESERVICES_LIBS
18239 APPKIT_LIBS = $APPKIT_LIBS
18240 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
18241 SECURITY_LIBS = $SECURITY_LIBS
18242 COREAUDIO_LIBS = $COREAUDIO_LIBS
18243 OPENAL_LIBS = $OPENAL_LIBS
18244 OPENCL_LIBS = $OPENCL_LIBS
18245 QUICKTIME_LIBS = $QUICKTIME_LIBS
18246 CARBON_LIBS = $CARBON_LIBS
18247 PTHREAD_LIBS = $PTHREAD_LIBS
18248 X_CFLAGS = $X_CFLAGS
18249 X_PRE_LIBS = $X_PRE_LIBS
18250 X_LIBS = $X_LIBS
18251 X_EXTRA_LIBS = $X_EXTRA_LIBS
18252 PCAP_LIBS = $PCAP_LIBS
18253 XML2_CFLAGS = $XML2_CFLAGS
18254 XML2_LIBS = $XML2_LIBS
18255 XSLT_CFLAGS = $XSLT_CFLAGS
18256 XSLT_LIBS = $XSLT_LIBS
18257 DBUS_CFLAGS = $DBUS_CFLAGS
18258 DBUS_LIBS = $DBUS_LIBS
18259 HAL_CFLAGS = $HAL_CFLAGS
18260 HAL_LIBS = $HAL_LIBS
18261 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
18262 GNUTLS_LIBS = $GNUTLS_LIBS
18263 SANE_CFLAGS = $SANE_CFLAGS
18264 SANE_LIBS = $SANE_LIBS
18265 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
18266 GPHOTO2_LIBS = $GPHOTO2_LIBS
18267 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
18268 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
18269 RESOLV_LIBS = $RESOLV_LIBS
18270 LCMS2_CFLAGS = $LCMS2_CFLAGS
18271 LCMS2_LIBS = $LCMS2_LIBS
18272 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
18273 FREETYPE_LIBS = $FREETYPE_LIBS
18274 Z_LIBS = $Z_LIBS
18275 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
18276 PULSE_CFLAGS = $PULSE_CFLAGS
18277 PULSE_LIBS = $PULSE_LIBS
18278 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
18279 GSTREAMER_LIBS = $GSTREAMER_LIBS
18280 ALSA_LIBS = $ALSA_LIBS
18281 OSS4_CFLAGS = $OSS4_CFLAGS
18282 UDEV_CFLAGS = $UDEV_CFLAGS
18283 UDEV_LIBS = $UDEV_LIBS
18284 SDL2_CFLAGS = $SDL2_CFLAGS
18285 SDL2_LIBS = $SDL2_LIBS
18286 CAPI20_CFLAGS = $CAPI20_CFLAGS
18287 CAPI20_LIBS = $CAPI20_LIBS
18288 CUPS_CFLAGS = $CUPS_CFLAGS
18289 CUPS_LIBS = $CUPS_LIBS
18290 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
18291 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
18292 KRB5_CFLAGS = $KRB5_CFLAGS
18293 KRB5_LIBS = $KRB5_LIBS
18294 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
18295 GSSAPI_LIBS = $GSSAPI_LIBS
18296 JPEG_CFLAGS = $JPEG_CFLAGS
18297 JPEG_LIBS = $JPEG_LIBS
18298 PNG_CFLAGS = $PNG_CFLAGS
18299 PNG_LIBS = $PNG_LIBS
18300 TIFF_CFLAGS = $TIFF_CFLAGS
18301 TIFF_LIBS = $TIFF_LIBS
18302 MPG123_CFLAGS = $MPG123_CFLAGS
18303 MPG123_LIBS = $MPG123_LIBS
18304 KSTAT_LIBS = $KSTAT_LIBS
18305 PROCSTAT_LIBS = $PROCSTAT_LIBS
18306 NETAPI_CFLAGS = $NETAPI_CFLAGS
18307 NETAPI_LIBS = $NETAPI_LIBS
18308 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
18309 DL_LIBS = $DL_LIBS
18310 POLL_LIBS = $POLL_LIBS
18311 RT_LIBS = $RT_LIBS
18312 LDAP_CFLAGS = $LDAP_CFLAGS
18313 LDAP_LIBS = $LDAP_LIBS
18318 wine_fn_append_rule "
18319 # Rules automatically generated by configure
18321 .INIT: Makefile
18322 .MAKEFILEDEPS:
18323 all: Makefile
18324 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
18325 @./config.status Make.tmp Makefile
18326 depend: \$(MAKEDEP) dummy
18327 \$(MAKEDEP)"
18329 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
18330 @echo \"crosstest is not supported (mingw not installed?)\" && false"
18332 if test "x$enable_fonts" != xno; then
18333 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
18334 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
18335 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
18336 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
18337 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
18338 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
18340 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
18341 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
18342 ac_config_links="$ac_config_links wine:tools/winewrapper"
18343 wine_fn_config_symlink wine
18344 if test "x$enable_win64" != xno; then
18345 ac_config_links="$ac_config_links wine64:tools/winewrapper"
18346 wine_fn_config_symlink wine64
18349 wine_fn_config_dll acledit enable_acledit
18350 wine_fn_config_dll aclui enable_aclui implib
18351 wine_fn_config_dll activeds enable_activeds implib
18352 wine_fn_config_dll actxprxy enable_actxprxy
18353 wine_fn_config_lib adsiid
18354 wine_fn_config_dll adsldp enable_adsldp
18355 wine_fn_config_test dlls/adsldp/tests adsldp_test
18356 wine_fn_config_dll adsldpc enable_adsldpc
18357 wine_fn_config_dll advapi32 enable_advapi32 implib
18358 wine_fn_config_test dlls/advapi32/tests advapi32_test
18359 wine_fn_config_dll advpack enable_advpack implib
18360 wine_fn_config_test dlls/advpack/tests advpack_test
18361 wine_fn_config_dll amstream enable_amstream
18362 wine_fn_config_test dlls/amstream/tests amstream_test
18363 wine_fn_config_dll api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
18364 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
18365 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
18366 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
18367 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
18368 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
18369 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
18370 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
18371 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
18372 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
18373 wine_fn_config_dll api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
18374 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
18375 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
18376 wine_fn_config_dll api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
18377 wine_fn_config_dll api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
18378 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
18379 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
18380 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
18381 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
18382 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
18383 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
18384 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
18385 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
18386 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
18387 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
18388 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
18389 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
18390 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
18391 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
18392 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
18393 wine_fn_config_dll api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
18394 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
18395 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
18396 wine_fn_config_dll api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
18397 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
18398 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
18399 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
18400 wine_fn_config_dll api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
18401 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
18402 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
18403 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
18404 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
18405 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
18406 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
18407 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
18408 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
18409 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
18410 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
18411 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
18412 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
18413 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
18414 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
18415 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
18416 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
18417 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
18418 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
18419 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
18420 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
18421 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
18422 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
18423 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
18424 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
18425 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
18426 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
18427 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
18428 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
18429 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
18430 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
18431 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
18432 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
18433 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
18434 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
18435 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
18436 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
18437 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
18438 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
18439 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
18440 wine_fn_config_dll api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
18441 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
18442 wine_fn_config_dll api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
18443 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
18444 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
18445 wine_fn_config_dll api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
18446 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
18447 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
18448 wine_fn_config_dll api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
18449 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
18450 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
18451 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
18452 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
18453 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
18454 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
18455 wine_fn_config_dll api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
18456 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
18457 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
18458 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
18459 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
18460 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
18461 wine_fn_config_dll api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
18462 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
18463 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
18464 wine_fn_config_dll api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
18465 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
18466 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
18467 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
18468 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
18469 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
18470 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
18471 wine_fn_config_dll api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
18472 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
18473 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
18474 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
18475 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
18476 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
18477 wine_fn_config_dll api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
18478 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
18479 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
18480 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
18481 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
18482 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
18483 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
18484 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
18485 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
18486 wine_fn_config_dll api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
18487 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
18488 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
18489 wine_fn_config_dll api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
18490 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
18491 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
18492 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
18493 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
18494 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
18495 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
18496 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
18497 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
18498 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
18499 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
18500 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
18501 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
18502 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
18503 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
18504 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
18505 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
18506 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
18507 wine_fn_config_dll api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
18508 wine_fn_config_dll api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
18509 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
18510 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
18511 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
18512 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
18513 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
18514 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
18515 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
18516 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
18517 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
18518 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
18519 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
18520 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
18521 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
18522 wine_fn_config_dll api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
18523 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
18524 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
18525 wine_fn_config_dll api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
18526 wine_fn_config_dll api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
18527 wine_fn_config_dll api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
18528 wine_fn_config_dll api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
18529 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
18530 wine_fn_config_dll api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
18531 wine_fn_config_dll api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
18532 wine_fn_config_dll api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
18533 wine_fn_config_dll api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
18534 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
18535 wine_fn_config_dll api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
18536 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
18537 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
18538 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
18539 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
18540 wine_fn_config_dll api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
18541 wine_fn_config_dll api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
18542 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
18543 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
18544 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
18545 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
18546 wine_fn_config_dll api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
18547 wine_fn_config_dll api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
18548 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
18549 wine_fn_config_dll api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
18550 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
18551 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
18552 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
18553 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
18554 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
18555 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
18556 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
18557 wine_fn_config_dll api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
18558 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
18559 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
18560 wine_fn_config_dll apphelp enable_apphelp
18561 wine_fn_config_test dlls/apphelp/tests apphelp_test
18562 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl
18563 wine_fn_config_dll atl enable_atl implib
18564 wine_fn_config_test dlls/atl/tests atl_test
18565 wine_fn_config_dll atl100 enable_atl100 implib
18566 wine_fn_config_test dlls/atl100/tests atl100_test
18567 wine_fn_config_dll atl110 enable_atl110
18568 wine_fn_config_dll atl80 enable_atl80 implib
18569 wine_fn_config_test dlls/atl80/tests atl80_test
18570 wine_fn_config_dll atl90 enable_atl90
18571 wine_fn_config_dll authz enable_authz
18572 wine_fn_config_dll avicap32 enable_avicap32 implib
18573 wine_fn_config_dll avifil32 enable_avifil32 implib
18574 wine_fn_config_test dlls/avifil32/tests avifil32_test
18575 wine_fn_config_dll avifile.dll16 enable_win16
18576 wine_fn_config_dll avrt enable_avrt implib
18577 wine_fn_config_dll bcrypt enable_bcrypt implib
18578 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
18579 wine_fn_config_dll bluetoothapis enable_bluetoothapis
18580 wine_fn_config_dll browseui enable_browseui
18581 wine_fn_config_test dlls/browseui/tests browseui_test
18582 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
18583 wine_fn_config_dll cabinet enable_cabinet implib
18584 wine_fn_config_test dlls/cabinet/tests cabinet_test
18585 wine_fn_config_dll capi2032 enable_capi2032 implib
18586 wine_fn_config_dll cards enable_cards implib
18587 wine_fn_config_dll cdosys enable_cdosys
18588 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
18589 wine_fn_config_dll clusapi enable_clusapi implib
18590 wine_fn_config_dll combase enable_combase
18591 wine_fn_config_test dlls/combase/tests combase_test
18592 wine_fn_config_dll comcat enable_comcat
18593 wine_fn_config_test dlls/comcat/tests comcat_test
18594 wine_fn_config_dll comctl32 enable_comctl32 implib
18595 wine_fn_config_test dlls/comctl32/tests comctl32_test
18596 wine_fn_config_dll comdlg32 enable_comdlg32 implib
18597 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
18598 wine_fn_config_dll comm.drv16 enable_win16
18599 wine_fn_config_dll commdlg.dll16 enable_win16
18600 wine_fn_config_dll compobj.dll16 enable_win16
18601 wine_fn_config_dll compstui enable_compstui implib
18602 wine_fn_config_dll comsvcs enable_comsvcs implib
18603 wine_fn_config_dll concrt140 enable_concrt140
18604 wine_fn_config_dll connect enable_connect
18605 wine_fn_config_dll credui enable_credui implib
18606 wine_fn_config_test dlls/credui/tests credui_test
18607 wine_fn_config_dll crtdll enable_crtdll
18608 wine_fn_config_dll crypt32 enable_crypt32 implib
18609 wine_fn_config_test dlls/crypt32/tests crypt32_test
18610 wine_fn_config_dll cryptdlg enable_cryptdlg
18611 wine_fn_config_dll cryptdll enable_cryptdll implib
18612 wine_fn_config_dll cryptext enable_cryptext
18613 wine_fn_config_dll cryptnet enable_cryptnet implib
18614 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
18615 wine_fn_config_dll cryptui enable_cryptui implib
18616 wine_fn_config_test dlls/cryptui/tests cryptui_test
18617 wine_fn_config_dll ctapi32 enable_ctapi32
18618 wine_fn_config_dll ctl3d.dll16 enable_win16
18619 wine_fn_config_dll ctl3d32 enable_ctl3d32
18620 wine_fn_config_dll ctl3dv2.dll16 enable_win16
18621 wine_fn_config_dll d2d1 enable_d2d1 implib
18622 wine_fn_config_test dlls/d2d1/tests d2d1_test
18623 wine_fn_config_dll d3d10 enable_d3d10 implib
18624 wine_fn_config_test dlls/d3d10/tests d3d10_test
18625 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
18626 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
18627 wine_fn_config_dll d3d10core enable_d3d10core implib
18628 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
18629 wine_fn_config_dll d3d11 enable_d3d11 implib
18630 wine_fn_config_test dlls/d3d11/tests d3d11_test
18631 wine_fn_config_dll d3d12 enable_d3d12 implib
18632 wine_fn_config_test dlls/d3d12/tests d3d12_test
18633 wine_fn_config_dll d3d8 enable_d3d8 implib
18634 wine_fn_config_test dlls/d3d8/tests d3d8_test
18635 wine_fn_config_dll d3d9 enable_d3d9 implib
18636 wine_fn_config_test dlls/d3d9/tests d3d9_test
18637 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
18638 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
18639 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
18640 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
18641 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
18642 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
18643 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
18644 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
18645 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
18646 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
18647 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
18648 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
18649 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
18650 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
18651 wine_fn_config_dll d3dim enable_d3dim
18652 wine_fn_config_dll d3drm enable_d3drm implib
18653 wine_fn_config_test dlls/d3drm/tests d3drm_test
18654 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
18655 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
18656 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
18657 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
18658 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
18659 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
18660 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
18661 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
18662 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
18663 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
18664 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
18665 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
18666 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
18667 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
18668 wine_fn_config_test dlls/d3dx11_43/tests d3dx11_43_test
18669 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
18670 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
18671 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
18672 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
18673 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
18674 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
18675 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
18676 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
18677 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
18678 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
18679 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
18680 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
18681 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
18682 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
18683 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
18684 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
18685 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
18686 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
18687 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
18688 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
18689 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
18690 wine_fn_config_dll d3dxof enable_d3dxof implib
18691 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
18692 wine_fn_config_dll davclnt enable_davclnt
18693 wine_fn_config_dll dbgeng enable_dbgeng implib
18694 wine_fn_config_dll dbghelp enable_dbghelp implib
18695 wine_fn_config_dll dciman32 enable_dciman32 implib
18696 wine_fn_config_dll ddeml.dll16 enable_win16
18697 wine_fn_config_dll ddraw enable_ddraw implib
18698 wine_fn_config_test dlls/ddraw/tests ddraw_test
18699 wine_fn_config_dll ddrawex enable_ddrawex
18700 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
18701 wine_fn_config_dll devenum enable_devenum
18702 wine_fn_config_test dlls/devenum/tests devenum_test
18703 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
18704 wine_fn_config_dll dhtmled.ocx enable_dhtmled_ocx
18705 wine_fn_config_dll difxapi enable_difxapi
18706 wine_fn_config_dll dinput enable_dinput implib,staticimplib
18707 wine_fn_config_test dlls/dinput/tests dinput_test
18708 wine_fn_config_dll dinput8 enable_dinput8 implib
18709 wine_fn_config_test dlls/dinput8/tests dinput8_test
18710 wine_fn_config_dll dispdib.dll16 enable_win16
18711 wine_fn_config_dll dispex enable_dispex
18712 wine_fn_config_test dlls/dispex/tests dispex_test
18713 wine_fn_config_dll display.drv16 enable_win16
18714 wine_fn_config_dll dmband enable_dmband
18715 wine_fn_config_test dlls/dmband/tests dmband_test
18716 wine_fn_config_dll dmcompos enable_dmcompos
18717 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
18718 wine_fn_config_dll dmime enable_dmime
18719 wine_fn_config_test dlls/dmime/tests dmime_test
18720 wine_fn_config_dll dmloader enable_dmloader
18721 wine_fn_config_test dlls/dmloader/tests dmloader_test
18722 wine_fn_config_dll dmscript enable_dmscript
18723 wine_fn_config_test dlls/dmscript/tests dmscript_test
18724 wine_fn_config_dll dmstyle enable_dmstyle
18725 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
18726 wine_fn_config_dll dmsynth enable_dmsynth
18727 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
18728 wine_fn_config_dll dmusic enable_dmusic
18729 wine_fn_config_test dlls/dmusic/tests dmusic_test
18730 wine_fn_config_dll dmusic32 enable_dmusic32
18731 wine_fn_config_dll dnsapi enable_dnsapi implib
18732 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
18733 wine_fn_config_dll dplay enable_dplay
18734 wine_fn_config_dll dplayx enable_dplayx implib
18735 wine_fn_config_test dlls/dplayx/tests dplayx_test
18736 wine_fn_config_dll dpnaddr enable_dpnaddr
18737 wine_fn_config_dll dpnet enable_dpnet implib
18738 wine_fn_config_test dlls/dpnet/tests dpnet_test
18739 wine_fn_config_dll dpnhpast enable_dpnhpast
18740 wine_fn_config_dll dpnlobby enable_dpnlobby
18741 wine_fn_config_dll dpvoice enable_dpvoice
18742 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
18743 wine_fn_config_dll dpwsockx enable_dpwsockx
18744 wine_fn_config_dll drmclien enable_drmclien
18745 wine_fn_config_dll dsound enable_dsound implib
18746 wine_fn_config_test dlls/dsound/tests dsound_test
18747 wine_fn_config_dll dsquery enable_dsquery
18748 wine_fn_config_dll dssenh enable_dssenh
18749 wine_fn_config_test dlls/dssenh/tests dssenh_test
18750 wine_fn_config_dll dswave enable_dswave
18751 wine_fn_config_test dlls/dswave/tests dswave_test
18752 wine_fn_config_dll dwmapi enable_dwmapi implib
18753 wine_fn_config_dll dwrite enable_dwrite implib
18754 wine_fn_config_test dlls/dwrite/tests dwrite_test
18755 wine_fn_config_dll dx8vb enable_dx8vb
18756 wine_fn_config_dll dxdiagn enable_dxdiagn
18757 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
18758 wine_fn_config_lib dxerr8
18759 wine_fn_config_lib dxerr9
18760 wine_fn_config_dll dxgi enable_dxgi implib
18761 wine_fn_config_test dlls/dxgi/tests dxgi_test
18762 wine_fn_config_lib dxguid
18763 wine_fn_config_dll dxva2 enable_dxva2
18764 wine_fn_config_dll esent enable_esent
18765 wine_fn_config_dll evr enable_evr
18766 wine_fn_config_test dlls/evr/tests evr_test
18767 wine_fn_config_dll explorerframe enable_explorerframe
18768 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
18769 wine_fn_config_dll ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
18770 wine_fn_config_dll ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
18771 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
18772 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
18773 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
18774 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
18775 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
18776 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
18777 wine_fn_config_dll ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
18778 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
18779 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
18780 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18781 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18782 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18783 wine_fn_config_dll ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
18784 wine_fn_config_dll ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
18785 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18786 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18787 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
18788 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18789 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18790 wine_fn_config_dll ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
18791 wine_fn_config_dll ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
18792 wine_fn_config_dll faultrep enable_faultrep implib
18793 wine_fn_config_test dlls/faultrep/tests faultrep_test
18794 wine_fn_config_dll fltlib enable_fltlib
18795 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
18796 wine_fn_config_dll fntcache enable_fntcache
18797 wine_fn_config_dll fontsub enable_fontsub
18798 wine_fn_config_dll fusion enable_fusion
18799 wine_fn_config_test dlls/fusion/tests fusion_test
18800 wine_fn_config_dll fwpuclnt enable_fwpuclnt
18801 wine_fn_config_dll gameux enable_gameux
18802 wine_fn_config_test dlls/gameux/tests gameux_test
18803 wine_fn_config_dll gdi.exe16 enable_win16
18804 wine_fn_config_dll gdi32 enable_gdi32 implib
18805 wine_fn_config_test dlls/gdi32/tests gdi32_test
18806 wine_fn_config_dll gdiplus enable_gdiplus implib
18807 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
18808 wine_fn_config_dll glu32 enable_glu32 implib
18809 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds
18810 wine_fn_config_dll gpkcsp enable_gpkcsp
18811 wine_fn_config_dll hal enable_hal
18812 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx implib htmlhelp
18813 wine_fn_config_dll hid enable_hid implib
18814 wine_fn_config_test dlls/hid/tests hid_test
18815 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
18816 wine_fn_config_dll hlink enable_hlink implib
18817 wine_fn_config_test dlls/hlink/tests hlink_test
18818 wine_fn_config_dll hnetcfg enable_hnetcfg
18819 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
18820 wine_fn_config_dll httpapi enable_httpapi implib
18821 wine_fn_config_test dlls/httpapi/tests httpapi_test
18822 wine_fn_config_dll iccvid enable_iccvid
18823 wine_fn_config_dll icmp enable_icmp
18824 wine_fn_config_dll ieframe enable_ieframe implib
18825 wine_fn_config_test dlls/ieframe/tests ieframe_test
18826 wine_fn_config_dll ieproxy enable_ieproxy
18827 wine_fn_config_dll ifsmgr.vxd enable_win16
18828 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
18829 wine_fn_config_dll imagehlp enable_imagehlp implib
18830 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
18831 wine_fn_config_dll imm.dll16 enable_win16
18832 wine_fn_config_dll imm32 enable_imm32 implib
18833 wine_fn_config_test dlls/imm32/tests imm32_test
18834 wine_fn_config_dll inetcomm enable_inetcomm implib
18835 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
18836 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl
18837 wine_fn_config_dll inetmib1 enable_inetmib1
18838 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
18839 wine_fn_config_dll infosoft enable_infosoft
18840 wine_fn_config_test dlls/infosoft/tests infosoft_test
18841 wine_fn_config_dll initpki enable_initpki
18842 wine_fn_config_dll inkobj enable_inkobj
18843 wine_fn_config_dll inseng enable_inseng
18844 wine_fn_config_dll iphlpapi enable_iphlpapi implib
18845 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
18846 wine_fn_config_dll iprop enable_iprop
18847 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18848 wine_fn_config_dll itircl enable_itircl
18849 wine_fn_config_dll itss enable_itss
18850 wine_fn_config_test dlls/itss/tests itss_test
18851 wine_fn_config_dll joy.cpl enable_joy_cpl
18852 wine_fn_config_dll jscript enable_jscript
18853 wine_fn_config_test dlls/jscript/tests jscript_test
18854 wine_fn_config_dll jsproxy enable_jsproxy implib
18855 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
18856 wine_fn_config_dll kerberos enable_kerberos
18857 wine_fn_config_dll kernel32 enable_kernel32 implib
18858 wine_fn_config_test dlls/kernel32/tests kernel32_test
18859 wine_fn_config_dll kernelbase enable_kernelbase
18860 wine_fn_config_dll keyboard.drv16 enable_win16
18861 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
18862 wine_fn_config_dll ksuser enable_ksuser
18863 wine_fn_config_dll ktmw32 enable_ktmw32
18864 wine_fn_config_dll l3codeca.acm enable_l3codeca_acm
18865 wine_fn_config_dll loadperf enable_loadperf implib
18866 wine_fn_config_dll localspl enable_localspl
18867 wine_fn_config_test dlls/localspl/tests localspl_test
18868 wine_fn_config_dll localui enable_localui
18869 wine_fn_config_test dlls/localui/tests localui_test
18870 wine_fn_config_dll lz32 enable_lz32 implib
18871 wine_fn_config_test dlls/lz32/tests lz32_test
18872 wine_fn_config_dll lzexpand.dll16 enable_win16
18873 wine_fn_config_dll mapi32 enable_mapi32 implib
18874 wine_fn_config_test dlls/mapi32/tests mapi32_test
18875 wine_fn_config_dll mapistub enable_mapistub
18876 wine_fn_config_dll mciavi32 enable_mciavi32
18877 wine_fn_config_dll mcicda enable_mcicda
18878 wine_fn_config_dll mciqtz32 enable_mciqtz32
18879 wine_fn_config_dll mciseq enable_mciseq
18880 wine_fn_config_dll mciwave enable_mciwave
18881 wine_fn_config_dll mf enable_mf implib
18882 wine_fn_config_test dlls/mf/tests mf_test
18883 wine_fn_config_dll mf3216 enable_mf3216
18884 wine_fn_config_dll mfplat enable_mfplat implib
18885 wine_fn_config_test dlls/mfplat/tests mfplat_test
18886 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18887 wine_fn_config_lib mfuuid
18888 wine_fn_config_dll mgmtapi enable_mgmtapi
18889 wine_fn_config_dll midimap enable_midimap
18890 wine_fn_config_dll mlang enable_mlang implib
18891 wine_fn_config_test dlls/mlang/tests mlang_test
18892 wine_fn_config_dll mmcndmgr enable_mmcndmgr
18893 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
18894 wine_fn_config_dll mmdevapi enable_mmdevapi
18895 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
18896 wine_fn_config_dll mmdevldr.vxd enable_win16
18897 wine_fn_config_dll mmsystem.dll16 enable_win16
18898 wine_fn_config_dll monodebg.vxd enable_win16
18899 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18900 wine_fn_config_dll mouse.drv16 enable_win16
18901 wine_fn_config_dll mpr enable_mpr implib
18902 wine_fn_config_test dlls/mpr/tests mpr_test
18903 wine_fn_config_dll mprapi enable_mprapi implib
18904 wine_fn_config_dll msacm.dll16 enable_win16
18905 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18906 wine_fn_config_dll msacm32 enable_msacm32 implib
18907 wine_fn_config_test dlls/msacm32/tests msacm32_test
18908 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18909 wine_fn_config_dll msasn1 enable_msasn1 implib
18910 wine_fn_config_dll mscat32 enable_mscat32
18911 wine_fn_config_dll mscms enable_mscms implib
18912 wine_fn_config_test dlls/mscms/tests mscms_test
18913 wine_fn_config_dll mscoree enable_mscoree
18914 wine_fn_config_test dlls/mscoree/tests mscoree_test
18915 wine_fn_config_dll msctf enable_msctf
18916 wine_fn_config_test dlls/msctf/tests msctf_test
18917 wine_fn_config_dll msctfp enable_msctfp
18918 wine_fn_config_dll msdaps enable_msdaps
18919 wine_fn_config_dll msdelta enable_msdelta
18920 wine_fn_config_dll msdmo enable_msdmo implib
18921 wine_fn_config_test dlls/msdmo/tests msdmo_test
18922 wine_fn_config_dll msdrm enable_msdrm
18923 wine_fn_config_dll msftedit enable_msftedit
18924 wine_fn_config_dll msg711.acm enable_msg711_acm
18925 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18926 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb
18927 wine_fn_config_dll mshtml enable_mshtml implib
18928 wine_fn_config_test dlls/mshtml/tests mshtml_test
18929 wine_fn_config_dll msi enable_msi implib
18930 wine_fn_config_test dlls/msi/tests msi_test
18931 wine_fn_config_dll msident enable_msident
18932 wine_fn_config_dll msimg32 enable_msimg32 implib
18933 wine_fn_config_dll msimsg enable_msimsg
18934 wine_fn_config_dll msimtf enable_msimtf
18935 wine_fn_config_dll msisip enable_msisip
18936 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18937 wine_fn_config_dll msls31 enable_msls31
18938 wine_fn_config_dll msnet32 enable_msnet32
18939 wine_fn_config_dll mspatcha enable_mspatcha implib
18940 wine_fn_config_dll msports enable_msports
18941 wine_fn_config_dll msrle32 enable_msrle32
18942 wine_fn_config_test dlls/msrle32/tests msrle32_test
18943 wine_fn_config_dll msscript.ocx enable_msscript_ocx
18944 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test
18945 wine_fn_config_dll mssign32 enable_mssign32
18946 wine_fn_config_dll mssip32 enable_mssip32
18947 wine_fn_config_dll mstask enable_mstask
18948 wine_fn_config_test dlls/mstask/tests mstask_test
18949 wine_fn_config_dll msvcirt enable_msvcirt
18950 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18951 wine_fn_config_dll msvcm80 enable_msvcm80
18952 wine_fn_config_dll msvcm90 enable_msvcm90
18953 wine_fn_config_dll msvcp100 enable_msvcp100
18954 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18955 wine_fn_config_dll msvcp110 enable_msvcp110
18956 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18957 wine_fn_config_dll msvcp120 enable_msvcp120
18958 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18959 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18960 wine_fn_config_dll msvcp140 enable_msvcp140
18961 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18962 wine_fn_config_dll msvcp60 enable_msvcp60
18963 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18964 wine_fn_config_dll msvcp70 enable_msvcp70
18965 wine_fn_config_dll msvcp71 enable_msvcp71
18966 wine_fn_config_dll msvcp80 enable_msvcp80
18967 wine_fn_config_dll msvcp90 enable_msvcp90
18968 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18969 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18970 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18971 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18972 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18973 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18974 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18975 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18976 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18977 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18978 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18979 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18980 wine_fn_config_dll msvcrt enable_msvcrt implib
18981 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18982 wine_fn_config_dll msvcrt20 enable_msvcrt20
18983 wine_fn_config_dll msvcrt40 enable_msvcrt40
18984 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18985 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18986 wine_fn_config_dll msvfw32 enable_msvfw32 implib
18987 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18988 wine_fn_config_dll msvidc32 enable_msvidc32
18989 wine_fn_config_dll msvideo.dll16 enable_win16
18990 wine_fn_config_dll mswsock enable_mswsock implib
18991 wine_fn_config_dll msxml enable_msxml
18992 wine_fn_config_dll msxml2 enable_msxml2
18993 wine_fn_config_dll msxml3 enable_msxml3
18994 wine_fn_config_test dlls/msxml3/tests msxml3_test
18995 wine_fn_config_dll msxml4 enable_msxml4
18996 wine_fn_config_dll msxml6 enable_msxml6
18997 wine_fn_config_dll mtxdm enable_mtxdm
18998 wine_fn_config_dll ncrypt enable_ncrypt
18999 wine_fn_config_dll nddeapi enable_nddeapi implib
19000 wine_fn_config_dll ndis.sys enable_ndis_sys
19001 wine_fn_config_dll netapi32 enable_netapi32 implib
19002 wine_fn_config_test dlls/netapi32/tests netapi32_test
19003 wine_fn_config_dll netcfgx enable_netcfgx
19004 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
19005 wine_fn_config_dll netprofm enable_netprofm
19006 wine_fn_config_test dlls/netprofm/tests netprofm_test
19007 wine_fn_config_dll newdev enable_newdev implib
19008 wine_fn_config_dll normaliz enable_normaliz implib
19009 wine_fn_config_dll npmshtml enable_npmshtml
19010 wine_fn_config_dll npptools enable_npptools
19011 wine_fn_config_dll ntdll enable_ntdll implib
19012 wine_fn_config_test dlls/ntdll/tests ntdll_test
19013 wine_fn_config_dll ntdsapi enable_ntdsapi implib
19014 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
19015 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
19016 wine_fn_config_dll ntprint enable_ntprint
19017 wine_fn_config_test dlls/ntprint/tests ntprint_test
19018 wine_fn_config_dll objsel enable_objsel
19019 wine_fn_config_dll odbc32 enable_odbc32 implib
19020 wine_fn_config_dll odbccp32 enable_odbccp32 implib
19021 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
19022 wine_fn_config_dll odbccu32 enable_odbccu32
19023 wine_fn_config_dll ole2.dll16 enable_win16
19024 wine_fn_config_dll ole2conv.dll16 enable_win16
19025 wine_fn_config_dll ole2disp.dll16 enable_win16
19026 wine_fn_config_dll ole2nls.dll16 enable_win16
19027 wine_fn_config_dll ole2prox.dll16 enable_win16
19028 wine_fn_config_dll ole2thk.dll16 enable_win16
19029 wine_fn_config_dll ole32 enable_ole32 implib
19030 wine_fn_config_test dlls/ole32/tests ole32_test
19031 wine_fn_config_dll oleacc enable_oleacc implib
19032 wine_fn_config_test dlls/oleacc/tests oleacc_test
19033 wine_fn_config_dll oleaut32 enable_oleaut32 implib
19034 wine_fn_config_test dlls/oleaut32/tests oleaut32_test
19035 wine_fn_config_dll olecli.dll16 enable_win16
19036 wine_fn_config_dll olecli32 enable_olecli32 implib
19037 wine_fn_config_dll oledb32 enable_oledb32
19038 wine_fn_config_test dlls/oledb32/tests oledb32_test
19039 wine_fn_config_dll oledlg enable_oledlg implib
19040 wine_fn_config_test dlls/oledlg/tests oledlg_test
19041 wine_fn_config_dll olepro32 enable_olepro32 implib
19042 wine_fn_config_dll olesvr.dll16 enable_win16
19043 wine_fn_config_dll olesvr32 enable_olesvr32 implib
19044 wine_fn_config_dll olethk32 enable_olethk32
19045 wine_fn_config_dll openal32 enable_openal32
19046 wine_fn_config_dll opencl enable_opencl
19047 wine_fn_config_dll opengl32 enable_opengl32 implib
19048 wine_fn_config_test dlls/opengl32/tests opengl32_test
19049 wine_fn_config_dll packager enable_packager
19050 wine_fn_config_test dlls/packager/tests packager_test
19051 wine_fn_config_dll pdh enable_pdh implib
19052 wine_fn_config_test dlls/pdh/tests pdh_test
19053 wine_fn_config_dll photometadatahandler enable_photometadatahandler
19054 wine_fn_config_dll pidgen enable_pidgen
19055 wine_fn_config_dll powrprof enable_powrprof implib
19056 wine_fn_config_dll printui enable_printui
19057 wine_fn_config_dll prntvpt enable_prntvpt
19058 wine_fn_config_dll propsys enable_propsys implib
19059 wine_fn_config_test dlls/propsys/tests propsys_test
19060 wine_fn_config_dll psapi enable_psapi implib
19061 wine_fn_config_test dlls/psapi/tests psapi_test
19062 wine_fn_config_dll pstorec enable_pstorec
19063 wine_fn_config_test dlls/pstorec/tests pstorec_test
19064 wine_fn_config_dll qcap enable_qcap
19065 wine_fn_config_test dlls/qcap/tests qcap_test
19066 wine_fn_config_dll qedit enable_qedit
19067 wine_fn_config_test dlls/qedit/tests qedit_test
19068 wine_fn_config_dll qmgr enable_qmgr
19069 wine_fn_config_test dlls/qmgr/tests qmgr_test
19070 wine_fn_config_dll qmgrprxy enable_qmgrprxy
19071 wine_fn_config_dll quartz enable_quartz implib
19072 wine_fn_config_test dlls/quartz/tests quartz_test
19073 wine_fn_config_dll query enable_query
19074 wine_fn_config_dll rasapi16.dll16 enable_win16
19075 wine_fn_config_dll rasapi32 enable_rasapi32 implib
19076 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
19077 wine_fn_config_dll rasdlg enable_rasdlg implib
19078 wine_fn_config_dll regapi enable_regapi
19079 wine_fn_config_dll resutils enable_resutils implib
19080 wine_fn_config_dll riched20 enable_riched20 implib
19081 wine_fn_config_test dlls/riched20/tests riched20_test
19082 wine_fn_config_dll riched32 enable_riched32
19083 wine_fn_config_test dlls/riched32/tests riched32_test
19084 wine_fn_config_dll rpcrt4 enable_rpcrt4 implib
19085 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test
19086 wine_fn_config_dll rsabase enable_rsabase
19087 wine_fn_config_dll rsaenh enable_rsaenh implib
19088 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
19089 wine_fn_config_dll rstrtmgr enable_rstrtmgr
19090 wine_fn_config_dll rtutils enable_rtutils implib
19091 wine_fn_config_dll samlib enable_samlib
19092 wine_fn_config_dll sane.ds enable_sane_ds
19093 wine_fn_config_dll sapi enable_sapi
19094 wine_fn_config_test dlls/sapi/tests sapi_test
19095 wine_fn_config_dll scarddlg enable_scarddlg
19096 wine_fn_config_dll sccbase enable_sccbase
19097 wine_fn_config_dll schannel enable_schannel
19098 wine_fn_config_test dlls/schannel/tests schannel_test
19099 wine_fn_config_dll schedsvc enable_schedsvc
19100 wine_fn_config_test dlls/schedsvc/tests schedsvc_test
19101 wine_fn_config_dll scrobj enable_scrobj
19102 wine_fn_config_dll scrrun enable_scrrun
19103 wine_fn_config_test dlls/scrrun/tests scrrun_test
19104 wine_fn_config_dll scsiport.sys enable_scsiport_sys
19105 wine_fn_config_dll secur32 enable_secur32 implib
19106 wine_fn_config_test dlls/secur32/tests secur32_test
19107 wine_fn_config_dll security enable_security
19108 wine_fn_config_dll sensapi enable_sensapi implib
19109 wine_fn_config_dll serialui enable_serialui
19110 wine_fn_config_test dlls/serialui/tests serialui_test
19111 wine_fn_config_dll setupapi enable_setupapi implib
19112 wine_fn_config_test dlls/setupapi/tests setupapi_test
19113 wine_fn_config_dll setupx.dll16 enable_win16
19114 wine_fn_config_dll sfc enable_sfc implib
19115 wine_fn_config_dll sfc_os enable_sfc_os implib
19116 wine_fn_config_dll shcore enable_shcore
19117 wine_fn_config_dll shdoclc enable_shdoclc
19118 wine_fn_config_dll shdocvw enable_shdocvw implib
19119 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
19120 wine_fn_config_dll shell.dll16 enable_win16
19121 wine_fn_config_dll shell32 enable_shell32 implib
19122 wine_fn_config_test dlls/shell32/tests shell32_test
19123 wine_fn_config_dll shfolder enable_shfolder implib
19124 wine_fn_config_dll shlwapi enable_shlwapi implib
19125 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
19126 wine_fn_config_dll slbcsp enable_slbcsp
19127 wine_fn_config_dll slc enable_slc implib
19128 wine_fn_config_test dlls/slc/tests slc_test
19129 wine_fn_config_dll snmpapi enable_snmpapi implib
19130 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
19131 wine_fn_config_dll softpub enable_softpub
19132 wine_fn_config_dll sound.drv16 enable_win16
19133 wine_fn_config_dll spoolss enable_spoolss implib
19134 wine_fn_config_test dlls/spoolss/tests spoolss_test
19135 wine_fn_config_dll sspicli enable_sspicli
19136 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb
19137 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb
19138 wine_fn_config_dll sti enable_sti implib
19139 wine_fn_config_test dlls/sti/tests sti_test
19140 wine_fn_config_dll storage.dll16 enable_win16
19141 wine_fn_config_dll stress.dll16 enable_win16
19142 wine_fn_config_lib strmbase
19143 wine_fn_config_lib strmiids
19144 wine_fn_config_dll svrapi enable_svrapi
19145 wine_fn_config_dll sxs enable_sxs implib
19146 wine_fn_config_test dlls/sxs/tests sxs_test
19147 wine_fn_config_dll system.drv16 enable_win16
19148 wine_fn_config_dll t2embed enable_t2embed implib
19149 wine_fn_config_test dlls/t2embed/tests t2embed_test
19150 wine_fn_config_dll tapi32 enable_tapi32 implib
19151 wine_fn_config_dll taskschd enable_taskschd
19152 wine_fn_config_test dlls/taskschd/tests taskschd_test
19153 wine_fn_config_dll tdh enable_tdh
19154 wine_fn_config_dll tdi.sys enable_tdi_sys
19155 wine_fn_config_dll toolhelp.dll16 enable_win16
19156 wine_fn_config_dll traffic enable_traffic
19157 wine_fn_config_dll twain.dll16 enable_win16
19158 wine_fn_config_dll twain_32 enable_twain_32
19159 wine_fn_config_test dlls/twain_32/tests twain_32_test
19160 wine_fn_config_dll typelib.dll16 enable_win16
19161 wine_fn_config_dll ucrtbase enable_ucrtbase implib
19162 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
19163 wine_fn_config_dll uiautomationcore enable_uiautomationcore
19164 wine_fn_config_dll uiribbon enable_uiribbon
19165 wine_fn_config_dll unicows enable_unicows implib
19166 wine_fn_config_dll updspapi enable_updspapi
19167 wine_fn_config_dll url enable_url implib
19168 wine_fn_config_dll urlmon enable_urlmon implib
19169 wine_fn_config_test dlls/urlmon/tests urlmon_test
19170 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
19171 wine_fn_config_dll user.exe16 enable_win16
19172 wine_fn_config_dll user32 enable_user32 implib
19173 wine_fn_config_test dlls/user32/tests user32_test
19174 wine_fn_config_dll userenv enable_userenv implib
19175 wine_fn_config_test dlls/userenv/tests userenv_test
19176 wine_fn_config_dll usp10 enable_usp10 implib
19177 wine_fn_config_test dlls/usp10/tests usp10_test
19178 wine_fn_config_lib uuid
19179 wine_fn_config_dll uxtheme enable_uxtheme implib
19180 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
19181 wine_fn_config_dll vbscript enable_vbscript
19182 wine_fn_config_test dlls/vbscript/tests vbscript_test
19183 wine_fn_config_dll vcomp enable_vcomp
19184 wine_fn_config_test dlls/vcomp/tests vcomp_test
19185 wine_fn_config_dll vcomp100 enable_vcomp100
19186 wine_fn_config_dll vcomp110 enable_vcomp110
19187 wine_fn_config_dll vcomp120 enable_vcomp120
19188 wine_fn_config_dll vcomp140 enable_vcomp140
19189 wine_fn_config_dll vcomp90 enable_vcomp90
19190 wine_fn_config_dll vcruntime140 enable_vcruntime140
19191 wine_fn_config_dll vdhcp.vxd enable_win16
19192 wine_fn_config_dll vdmdbg enable_vdmdbg implib
19193 wine_fn_config_dll ver.dll16 enable_win16
19194 wine_fn_config_dll version enable_version implib
19195 wine_fn_config_test dlls/version/tests version_test
19196 wine_fn_config_dll virtdisk enable_virtdisk
19197 wine_fn_config_dll vmm.vxd enable_win16
19198 wine_fn_config_dll vnbt.vxd enable_win16
19199 wine_fn_config_dll vnetbios.vxd enable_win16
19200 wine_fn_config_dll vssapi enable_vssapi
19201 wine_fn_config_dll vtdapi.vxd enable_win16
19202 wine_fn_config_dll vwin32.vxd enable_win16
19203 wine_fn_config_dll w32skrnl enable_win16
19204 wine_fn_config_dll w32sys.dll16 enable_win16
19205 wine_fn_config_dll wbemdisp enable_wbemdisp
19206 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
19207 wine_fn_config_dll wbemprox enable_wbemprox
19208 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
19209 wine_fn_config_dll wdscore enable_wdscore
19210 wine_fn_config_dll webservices enable_webservices implib
19211 wine_fn_config_test dlls/webservices/tests webservices_test
19212 wine_fn_config_dll wer enable_wer implib
19213 wine_fn_config_test dlls/wer/tests wer_test
19214 wine_fn_config_dll wevtapi enable_wevtapi
19215 wine_fn_config_dll wiaservc enable_wiaservc
19216 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
19217 wine_fn_config_dll wimgapi enable_wimgapi
19218 wine_fn_config_dll win32s16.dll16 enable_win16
19219 wine_fn_config_dll win87em.dll16 enable_win16
19220 wine_fn_config_dll winaspi.dll16 enable_win16
19221 wine_fn_config_dll windebug.dll16 enable_win16
19222 wine_fn_config_dll windowscodecs enable_windowscodecs implib
19223 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
19224 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
19225 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
19226 wine_fn_config_dll winealsa.drv enable_winealsa_drv
19227 wine_fn_config_dll wineandroid.drv enable_wineandroid_drv
19228 wine_fn_config_dll winebus.sys enable_winebus_sys
19229 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
19230 wine_fn_config_lib winecrt0
19231 wine_fn_config_dll wined3d enable_wined3d implib
19232 wine_fn_config_dll winegstreamer enable_winegstreamer
19233 wine_fn_config_dll winehid.sys enable_winehid_sys
19234 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
19235 wine_fn_config_dll winemac.drv enable_winemac_drv
19236 wine_fn_config_dll winemapi enable_winemapi
19237 wine_fn_config_dll wineoss.drv enable_wineoss_drv
19238 wine_fn_config_dll wineps.drv enable_wineps_drv
19239 wine_fn_config_dll wineps16.drv16 enable_win16
19240 wine_fn_config_dll winepulse.drv enable_winepulse_drv
19241 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
19242 wine_fn_config_dll winex11.drv enable_winex11_drv
19243 wine_fn_config_dll wing.dll16 enable_win16
19244 wine_fn_config_dll wing32 enable_wing32
19245 wine_fn_config_dll winhttp enable_winhttp implib
19246 wine_fn_config_test dlls/winhttp/tests winhttp_test
19247 wine_fn_config_dll wininet enable_wininet implib
19248 wine_fn_config_test dlls/wininet/tests wininet_test
19249 wine_fn_config_dll winmm enable_winmm implib
19250 wine_fn_config_test dlls/winmm/tests winmm_test
19251 wine_fn_config_dll winnls.dll16 enable_win16
19252 wine_fn_config_dll winnls32 enable_winnls32 implib
19253 wine_fn_config_dll winscard enable_winscard implib
19254 wine_fn_config_dll winsock.dll16 enable_win16
19255 wine_fn_config_dll winspool.drv enable_winspool_drv implib winspool
19256 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
19257 wine_fn_config_dll winsta enable_winsta
19258 wine_fn_config_dll wintab.dll16 enable_win16
19259 wine_fn_config_dll wintab32 enable_wintab32 implib
19260 wine_fn_config_test dlls/wintab32/tests wintab32_test
19261 wine_fn_config_dll wintrust enable_wintrust implib
19262 wine_fn_config_test dlls/wintrust/tests wintrust_test
19263 wine_fn_config_dll winusb enable_winusb
19264 wine_fn_config_dll wlanapi enable_wlanapi implib
19265 wine_fn_config_test dlls/wlanapi/tests wlanapi_test
19266 wine_fn_config_dll wldap32 enable_wldap32 implib
19267 wine_fn_config_test dlls/wldap32/tests wldap32_test
19268 wine_fn_config_dll wmasf enable_wmasf
19269 wine_fn_config_dll wmi enable_wmi
19270 wine_fn_config_dll wmiutils enable_wmiutils
19271 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
19272 wine_fn_config_dll wmp enable_wmp
19273 wine_fn_config_test dlls/wmp/tests wmp_test
19274 wine_fn_config_dll wmphoto enable_wmphoto
19275 wine_fn_config_dll wmvcore enable_wmvcore implib
19276 wine_fn_config_test dlls/wmvcore/tests wmvcore_test
19277 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
19278 wine_fn_config_dll wow32 enable_win16 implib
19279 wine_fn_config_dll wpc enable_wpc
19280 wine_fn_config_test dlls/wpc/tests wpc_test
19281 wine_fn_config_dll wpcap enable_wpcap
19282 wine_fn_config_dll ws2_32 enable_ws2_32 implib
19283 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
19284 wine_fn_config_dll wsdapi enable_wsdapi implib
19285 wine_fn_config_test dlls/wsdapi/tests wsdapi_test
19286 wine_fn_config_dll wshom.ocx enable_wshom_ocx
19287 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test
19288 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
19289 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
19290 wine_fn_config_dll wsock32 enable_wsock32 implib
19291 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
19292 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
19293 wine_fn_config_dll wuapi enable_wuapi
19294 wine_fn_config_dll wuaueng enable_wuaueng
19295 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
19296 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
19297 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
19298 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
19299 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
19300 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
19301 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
19302 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
19303 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
19304 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
19305 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
19306 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
19307 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
19308 wine_fn_config_dll xaudio2_0 enable_xaudio2_0
19309 wine_fn_config_dll xaudio2_1 enable_xaudio2_1
19310 wine_fn_config_dll xaudio2_2 enable_xaudio2_2
19311 wine_fn_config_dll xaudio2_3 enable_xaudio2_3
19312 wine_fn_config_dll xaudio2_4 enable_xaudio2_4
19313 wine_fn_config_dll xaudio2_5 enable_xaudio2_5
19314 wine_fn_config_dll xaudio2_6 enable_xaudio2_6
19315 wine_fn_config_dll xaudio2_7 enable_xaudio2_7
19316 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
19317 wine_fn_config_dll xaudio2_8 enable_xaudio2_8
19318 wine_fn_config_dll xaudio2_9 enable_xaudio2_9
19319 wine_fn_config_dll xinput1_1 enable_xinput1_1
19320 wine_fn_config_dll xinput1_2 enable_xinput1_2
19321 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
19322 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
19323 wine_fn_config_dll xinput1_4 enable_xinput1_4
19324 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
19325 wine_fn_config_dll xmllite enable_xmllite implib
19326 wine_fn_config_test dlls/xmllite/tests xmllite_test
19327 wine_fn_config_dll xolehlp enable_xolehlp
19328 wine_fn_config_dll xpsprint enable_xpsprint
19329 wine_fn_config_dll xpssvcs enable_xpssvcs
19330 wine_fn_config_makefile fonts enable_fonts install-lib
19331 wine_fn_config_makefile include enable_include install-dev
19332 wine_fn_config_makefile libs/port enable_libs_port
19333 wine_fn_config_makefile libs/wine enable_libs_wine implib,install-dev,install-lib
19334 wine_fn_config_makefile libs/wpp enable_libs_wpp
19335 wine_fn_config_makefile loader enable_loader install-lib
19336 wine_fn_config_makefile po enable_po
19337 wine_fn_config_program arp enable_arp install
19338 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
19339 wine_fn_config_program attrib enable_attrib install
19340 wine_fn_config_program cabarc enable_cabarc install
19341 wine_fn_config_program cacls enable_cacls install
19342 wine_fn_config_program clock enable_clock install
19343 wine_fn_config_program cmd enable_cmd install
19344 wine_fn_config_test programs/cmd/tests cmd.exe_test
19345 wine_fn_config_program conhost enable_conhost install
19346 wine_fn_config_program control enable_control install
19347 wine_fn_config_program cscript enable_cscript install
19348 wine_fn_config_program dpnsvr enable_dpnsvr install
19349 wine_fn_config_program dxdiag enable_dxdiag install
19350 wine_fn_config_program eject enable_eject install
19351 wine_fn_config_program expand enable_expand install
19352 wine_fn_config_program explorer enable_explorer install
19353 wine_fn_config_program extrac32 enable_extrac32 install
19354 wine_fn_config_program findstr enable_findstr install
19355 wine_fn_config_program fsutil enable_fsutil install
19356 wine_fn_config_program hh enable_hh install
19357 wine_fn_config_program hostname enable_hostname install
19358 wine_fn_config_program icacls enable_icacls install
19359 wine_fn_config_program icinfo enable_icinfo install
19360 wine_fn_config_program iexplore enable_iexplore install
19361 wine_fn_config_program ipconfig enable_ipconfig install
19362 wine_fn_config_program lodctr enable_lodctr install
19363 wine_fn_config_program mofcomp enable_mofcomp install
19364 wine_fn_config_program mshta enable_mshta install
19365 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
19366 wine_fn_config_program msinfo32 enable_msinfo32 install
19367 wine_fn_config_program net enable_net install
19368 wine_fn_config_program netsh enable_netsh install
19369 wine_fn_config_program netstat enable_netstat install
19370 wine_fn_config_program ngen enable_ngen install
19371 wine_fn_config_program notepad enable_notepad install,installbin,manpage
19372 wine_fn_config_program oleview enable_oleview install
19373 wine_fn_config_program ping enable_ping install
19374 wine_fn_config_program plugplay enable_plugplay install
19375 wine_fn_config_program powershell enable_powershell install
19376 wine_fn_config_program presentationfontcache enable_presentationfontcache install
19377 wine_fn_config_program progman enable_progman install
19378 wine_fn_config_program reg enable_reg install
19379 wine_fn_config_test programs/reg/tests reg.exe_test
19380 wine_fn_config_program regasm enable_regasm install
19381 wine_fn_config_program regedit enable_regedit install,installbin,manpage
19382 wine_fn_config_test programs/regedit/tests regedit.exe_test
19383 wine_fn_config_program regsvcs enable_regsvcs install
19384 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage
19385 wine_fn_config_program rpcss enable_rpcss install
19386 wine_fn_config_program rundll.exe16 enable_win16 install
19387 wine_fn_config_program rundll32 enable_rundll32 install
19388 wine_fn_config_program sc enable_sc install
19389 wine_fn_config_program schtasks enable_schtasks install
19390 wine_fn_config_test programs/schtasks/tests schtasks.exe_test
19391 wine_fn_config_program sdbinst enable_sdbinst install
19392 wine_fn_config_program secedit enable_secedit install
19393 wine_fn_config_program servicemodelreg enable_servicemodelreg install
19394 wine_fn_config_program services enable_services install
19395 wine_fn_config_test programs/services/tests services.exe_test
19396 wine_fn_config_program shutdown enable_shutdown install
19397 wine_fn_config_program spoolsv enable_spoolsv install
19398 wine_fn_config_program start enable_start install
19399 wine_fn_config_program subst enable_subst install
19400 wine_fn_config_program svchost enable_svchost install
19401 wine_fn_config_program systeminfo enable_systeminfo install
19402 wine_fn_config_program taskkill enable_taskkill install
19403 wine_fn_config_program tasklist enable_tasklist install
19404 wine_fn_config_program taskmgr enable_taskmgr install
19405 wine_fn_config_program termsv enable_termsv install
19406 wine_fn_config_program uninstaller enable_uninstaller install
19407 wine_fn_config_program unlodctr enable_unlodctr install
19408 wine_fn_config_program view enable_view install
19409 wine_fn_config_program wevtutil enable_wevtutil install
19410 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage
19411 wine_fn_config_program winebrowser enable_winebrowser install
19412 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage
19413 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage
19414 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage
19415 wine_fn_config_program winedevice enable_winedevice install
19416 wine_fn_config_program winefile enable_winefile install,installbin,manpage
19417 wine_fn_config_program winemenubuilder enable_winemenubuilder install
19418 wine_fn_config_program winemine enable_winemine install,installbin,manpage
19419 wine_fn_config_program winemsibuilder enable_winemsibuilder install
19420 wine_fn_config_program winepath enable_winepath install,installbin,manpage
19421 wine_fn_config_program winetest enable_winetest
19422 wine_fn_config_program winevdm enable_win16 install
19423 wine_fn_config_program winhelp.exe16 enable_win16 install
19424 wine_fn_config_program winhlp32 enable_winhlp32 install
19425 wine_fn_config_program winoldap.mod16 enable_win16 install
19426 wine_fn_config_program winver enable_winver install
19427 wine_fn_config_program wmic enable_wmic install
19428 wine_fn_config_program wmplayer enable_wmplayer install
19429 wine_fn_config_program wordpad enable_wordpad install
19430 wine_fn_config_program write enable_write install
19431 wine_fn_config_program wscript enable_wscript install
19432 wine_fn_config_test programs/wscript/tests wscript.exe_test
19433 wine_fn_config_program wusa enable_wusa install
19434 wine_fn_config_program xcopy enable_xcopy install
19435 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
19436 wine_fn_config_makefile server enable_server install-lib
19437 wine_fn_config_tool tools
19438 wine_fn_config_tool tools/sfnt2fon
19439 wine_fn_config_tool tools/widl install-dev
19440 wine_fn_config_tool tools/winebuild install-dev
19441 wine_fn_config_tool tools/winedump install-dev
19442 wine_fn_config_tool tools/winegcc install-dev
19443 wine_fn_config_tool tools/winemaker install-dev
19444 wine_fn_config_tool tools/wmc install-dev
19445 wine_fn_config_tool tools/wrc install-dev
19448 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
19449 wine_fn_append_file CONFIGURE_TARGETS "tags"
19450 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
19451 wine_fn_append_file CONFIGURE_TARGETS "config.log"
19452 wine_fn_append_file CONFIGURE_TARGETS "config.status"
19453 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
19454 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
19455 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
19457 if test "x$enable_tools" != xno
19458 then
19459 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
19460 ac_config_commands="$ac_config_commands tools/makedep"
19464 ac_config_commands="$ac_config_commands Makefile"
19467 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
19471 if test "x$enable_maintainer_mode" = xyes
19472 then
19473 wine_fn_append_rule "configure: configure.ac aclocal.m4
19474 autoconf --warnings=all
19475 include/config.h.in: include/stamp-h.in
19476 include/stamp-h.in: configure.ac aclocal.m4
19477 autoheader --warnings=all
19478 @echo timestamp > \$@"
19481 if test "x$enable_tools" != xno
19482 then
19483 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
19484 @./config.status tools/makedep
19485 Makefile: tools/makedep$ac_exeext"
19486 else
19487 wine_fn_append_rule "\$(MAKEDEP):
19488 @echo \"You need to run make in $TOOLSDIR first\" && false"
19491 if test -n "$with_wine64"
19492 then
19493 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
19494 fonts server:
19495 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
19496 $with_wine64/loader/wine:
19497 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
19498 $with_wine64/loader/wine-preloader:
19499 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
19500 clean::
19501 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
19502 else
19503 WINELOADER_INSTALL="wine.inf l_intl.nls"
19505 case $host_os in
19506 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
19507 *) WINELOADER_INSTALL="$WINELOADER_INSTALL wine.desktop" ;;
19508 esac
19511 $as_echo " done" >&6
19512 cat >confcache <<\_ACEOF
19513 # This file is a shell script that caches the results of configure
19514 # tests run on this system so they can be shared between configure
19515 # scripts and configure runs, see configure's option --config-cache.
19516 # It is not useful on other systems. If it contains results you don't
19517 # want to keep, you may remove or edit it.
19519 # config.status only pays attention to the cache file if you give it
19520 # the --recheck option to rerun configure.
19522 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19523 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19524 # following values.
19526 _ACEOF
19528 # The following way of writing the cache mishandles newlines in values,
19529 # but we know of no workaround that is simple, portable, and efficient.
19530 # So, we kill variables containing newlines.
19531 # Ultrix sh set writes to stderr and can't be redirected directly,
19532 # and sets the high bit in the cache file unless we assign to the vars.
19534 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19535 eval ac_val=\$$ac_var
19536 case $ac_val in #(
19537 *${as_nl}*)
19538 case $ac_var in #(
19539 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19540 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19541 esac
19542 case $ac_var in #(
19543 _ | IFS | as_nl) ;; #(
19544 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19545 *) { eval $ac_var=; unset $ac_var;} ;;
19546 esac ;;
19547 esac
19548 done
19550 (set) 2>&1 |
19551 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19552 *${as_nl}ac_space=\ *)
19553 # `set' does not quote correctly, so add quotes: double-quote
19554 # substitution turns \\\\ into \\, and sed turns \\ into \.
19555 sed -n \
19556 "s/'/'\\\\''/g;
19557 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19558 ;; #(
19560 # `set' quotes correctly as required by POSIX, so do not add quotes.
19561 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19563 esac |
19564 sort
19566 sed '
19567 /^ac_cv_env_/b end
19568 t clear
19569 :clear
19570 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19571 t end
19572 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19573 :end' >>confcache
19574 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19575 if test -w "$cache_file"; then
19576 if test "x$cache_file" != "x/dev/null"; then
19577 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19578 $as_echo "$as_me: updating cache $cache_file" >&6;}
19579 if test ! -f "$cache_file" || test -h "$cache_file"; then
19580 cat confcache >"$cache_file"
19581 else
19582 case $cache_file in #(
19583 */* | ?:*)
19584 mv -f confcache "$cache_file"$$ &&
19585 mv -f "$cache_file"$$ "$cache_file" ;; #(
19587 mv -f confcache "$cache_file" ;;
19588 esac
19591 else
19592 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19593 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19596 rm -f confcache
19598 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19599 # Let make expand exec_prefix.
19600 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19602 DEFS=-DHAVE_CONFIG_H
19604 ac_libobjs=
19605 ac_ltlibobjs=
19607 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19608 # 1. Remove the extension, and $U if already installed.
19609 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19610 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19611 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19612 # will be set to the directory where LIBOBJS objects are built.
19613 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19614 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19615 done
19616 LIBOBJS=$ac_libobjs
19618 LTLIBOBJS=$ac_ltlibobjs
19622 : "${CONFIG_STATUS=./config.status}"
19623 ac_write_fail=0
19624 ac_clean_files_save=$ac_clean_files
19625 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19626 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19627 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19628 as_write_fail=0
19629 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19630 #! $SHELL
19631 # Generated by $as_me.
19632 # Run this file to recreate the current configuration.
19633 # Compiler output produced by configure, useful for debugging
19634 # configure, is in config.log if it exists.
19636 debug=false
19637 ac_cs_recheck=false
19638 ac_cs_silent=false
19640 SHELL=\${CONFIG_SHELL-$SHELL}
19641 export SHELL
19642 _ASEOF
19643 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19644 ## -------------------- ##
19645 ## M4sh Initialization. ##
19646 ## -------------------- ##
19648 # Be more Bourne compatible
19649 DUALCASE=1; export DUALCASE # for MKS sh
19650 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19651 emulate sh
19652 NULLCMD=:
19653 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19654 # is contrary to our usage. Disable this feature.
19655 alias -g '${1+"$@"}'='"$@"'
19656 setopt NO_GLOB_SUBST
19657 else
19658 case `(set -o) 2>/dev/null` in #(
19659 *posix*) :
19660 set -o posix ;; #(
19661 *) :
19663 esac
19667 as_nl='
19669 export as_nl
19670 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19671 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19672 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19673 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19674 # Prefer a ksh shell builtin over an external printf program on Solaris,
19675 # but without wasting forks for bash or zsh.
19676 if test -z "$BASH_VERSION$ZSH_VERSION" \
19677 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19678 as_echo='print -r --'
19679 as_echo_n='print -rn --'
19680 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19681 as_echo='printf %s\n'
19682 as_echo_n='printf %s'
19683 else
19684 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19685 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19686 as_echo_n='/usr/ucb/echo -n'
19687 else
19688 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19689 as_echo_n_body='eval
19690 arg=$1;
19691 case $arg in #(
19692 *"$as_nl"*)
19693 expr "X$arg" : "X\\(.*\\)$as_nl";
19694 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19695 esac;
19696 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19698 export as_echo_n_body
19699 as_echo_n='sh -c $as_echo_n_body as_echo'
19701 export as_echo_body
19702 as_echo='sh -c $as_echo_body as_echo'
19705 # The user is always right.
19706 if test "${PATH_SEPARATOR+set}" != set; then
19707 PATH_SEPARATOR=:
19708 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19709 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19710 PATH_SEPARATOR=';'
19715 # IFS
19716 # We need space, tab and new line, in precisely that order. Quoting is
19717 # there to prevent editors from complaining about space-tab.
19718 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19719 # splitting by setting IFS to empty value.)
19720 IFS=" "" $as_nl"
19722 # Find who we are. Look in the path if we contain no directory separator.
19723 as_myself=
19724 case $0 in #((
19725 *[\\/]* ) as_myself=$0 ;;
19726 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19727 for as_dir in $PATH
19729 IFS=$as_save_IFS
19730 test -z "$as_dir" && as_dir=.
19731 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19732 done
19733 IFS=$as_save_IFS
19736 esac
19737 # We did not find ourselves, most probably we were run as `sh COMMAND'
19738 # in which case we are not to be found in the path.
19739 if test "x$as_myself" = x; then
19740 as_myself=$0
19742 if test ! -f "$as_myself"; then
19743 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19744 exit 1
19747 # Unset variables that we do not need and which cause bugs (e.g. in
19748 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19749 # suppresses any "Segmentation fault" message there. '((' could
19750 # trigger a bug in pdksh 5.2.14.
19751 for as_var in BASH_ENV ENV MAIL MAILPATH
19752 do eval test x\${$as_var+set} = xset \
19753 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19754 done
19755 PS1='$ '
19756 PS2='> '
19757 PS4='+ '
19759 # NLS nuisances.
19760 LC_ALL=C
19761 export LC_ALL
19762 LANGUAGE=C
19763 export LANGUAGE
19765 # CDPATH.
19766 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19769 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19770 # ----------------------------------------
19771 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19772 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19773 # script with STATUS, using 1 if that was 0.
19774 as_fn_error ()
19776 as_status=$1; test $as_status -eq 0 && as_status=1
19777 if test "$4"; then
19778 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19779 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19781 $as_echo "$as_me: error: $2" >&2
19782 as_fn_exit $as_status
19783 } # as_fn_error
19786 # as_fn_set_status STATUS
19787 # -----------------------
19788 # Set $? to STATUS, without forking.
19789 as_fn_set_status ()
19791 return $1
19792 } # as_fn_set_status
19794 # as_fn_exit STATUS
19795 # -----------------
19796 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19797 as_fn_exit ()
19799 set +e
19800 as_fn_set_status $1
19801 exit $1
19802 } # as_fn_exit
19804 # as_fn_unset VAR
19805 # ---------------
19806 # Portably unset VAR.
19807 as_fn_unset ()
19809 { eval $1=; unset $1;}
19811 as_unset=as_fn_unset
19812 # as_fn_append VAR VALUE
19813 # ----------------------
19814 # Append the text in VALUE to the end of the definition contained in VAR. Take
19815 # advantage of any shell optimizations that allow amortized linear growth over
19816 # repeated appends, instead of the typical quadratic growth present in naive
19817 # implementations.
19818 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19819 eval 'as_fn_append ()
19821 eval $1+=\$2
19823 else
19824 as_fn_append ()
19826 eval $1=\$$1\$2
19828 fi # as_fn_append
19830 # as_fn_arith ARG...
19831 # ------------------
19832 # Perform arithmetic evaluation on the ARGs, and store the result in the
19833 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19834 # must be portable across $(()) and expr.
19835 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19836 eval 'as_fn_arith ()
19838 as_val=$(( $* ))
19840 else
19841 as_fn_arith ()
19843 as_val=`expr "$@" || test $? -eq 1`
19845 fi # as_fn_arith
19848 if expr a : '\(a\)' >/dev/null 2>&1 &&
19849 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19850 as_expr=expr
19851 else
19852 as_expr=false
19855 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19856 as_basename=basename
19857 else
19858 as_basename=false
19861 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19862 as_dirname=dirname
19863 else
19864 as_dirname=false
19867 as_me=`$as_basename -- "$0" ||
19868 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19869 X"$0" : 'X\(//\)$' \| \
19870 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19871 $as_echo X/"$0" |
19872 sed '/^.*\/\([^/][^/]*\)\/*$/{
19873 s//\1/
19876 /^X\/\(\/\/\)$/{
19877 s//\1/
19880 /^X\/\(\/\).*/{
19881 s//\1/
19884 s/.*/./; q'`
19886 # Avoid depending upon Character Ranges.
19887 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19888 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19889 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19890 as_cr_digits='0123456789'
19891 as_cr_alnum=$as_cr_Letters$as_cr_digits
19893 ECHO_C= ECHO_N= ECHO_T=
19894 case `echo -n x` in #(((((
19895 -n*)
19896 case `echo 'xy\c'` in
19897 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19898 xy) ECHO_C='\c';;
19899 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19900 ECHO_T=' ';;
19901 esac;;
19903 ECHO_N='-n';;
19904 esac
19906 rm -f conf$$ conf$$.exe conf$$.file
19907 if test -d conf$$.dir; then
19908 rm -f conf$$.dir/conf$$.file
19909 else
19910 rm -f conf$$.dir
19911 mkdir conf$$.dir 2>/dev/null
19913 if (echo >conf$$.file) 2>/dev/null; then
19914 if ln -s conf$$.file conf$$ 2>/dev/null; then
19915 as_ln_s='ln -s'
19916 # ... but there are two gotchas:
19917 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19918 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19919 # In both cases, we have to default to `cp -pR'.
19920 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19921 as_ln_s='cp -pR'
19922 elif ln conf$$.file conf$$ 2>/dev/null; then
19923 as_ln_s=ln
19924 else
19925 as_ln_s='cp -pR'
19927 else
19928 as_ln_s='cp -pR'
19930 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19931 rmdir conf$$.dir 2>/dev/null
19934 # as_fn_mkdir_p
19935 # -------------
19936 # Create "$as_dir" as a directory, including parents if necessary.
19937 as_fn_mkdir_p ()
19940 case $as_dir in #(
19941 -*) as_dir=./$as_dir;;
19942 esac
19943 test -d "$as_dir" || eval $as_mkdir_p || {
19944 as_dirs=
19945 while :; do
19946 case $as_dir in #(
19947 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19948 *) as_qdir=$as_dir;;
19949 esac
19950 as_dirs="'$as_qdir' $as_dirs"
19951 as_dir=`$as_dirname -- "$as_dir" ||
19952 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19953 X"$as_dir" : 'X\(//\)[^/]' \| \
19954 X"$as_dir" : 'X\(//\)$' \| \
19955 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19956 $as_echo X"$as_dir" |
19957 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19958 s//\1/
19961 /^X\(\/\/\)[^/].*/{
19962 s//\1/
19965 /^X\(\/\/\)$/{
19966 s//\1/
19969 /^X\(\/\).*/{
19970 s//\1/
19973 s/.*/./; q'`
19974 test -d "$as_dir" && break
19975 done
19976 test -z "$as_dirs" || eval "mkdir $as_dirs"
19977 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19980 } # as_fn_mkdir_p
19981 if mkdir -p . 2>/dev/null; then
19982 as_mkdir_p='mkdir -p "$as_dir"'
19983 else
19984 test -d ./-p && rmdir ./-p
19985 as_mkdir_p=false
19989 # as_fn_executable_p FILE
19990 # -----------------------
19991 # Test if FILE is an executable regular file.
19992 as_fn_executable_p ()
19994 test -f "$1" && test -x "$1"
19995 } # as_fn_executable_p
19996 as_test_x='test -x'
19997 as_executable_p=as_fn_executable_p
19999 # Sed expression to map a string onto a valid CPP name.
20000 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20002 # Sed expression to map a string onto a valid variable name.
20003 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20006 exec 6>&1
20007 ## ----------------------------------- ##
20008 ## Main body of $CONFIG_STATUS script. ##
20009 ## ----------------------------------- ##
20010 _ASEOF
20011 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
20013 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20014 # Save the log message, to keep $0 and so on meaningful, and to
20015 # report actual input values of CONFIG_FILES etc. instead of their
20016 # values after options handling.
20017 ac_log="
20018 This file was extended by Wine $as_me 3.2, which was
20019 generated by GNU Autoconf 2.69. Invocation command line was
20021 CONFIG_FILES = $CONFIG_FILES
20022 CONFIG_HEADERS = $CONFIG_HEADERS
20023 CONFIG_LINKS = $CONFIG_LINKS
20024 CONFIG_COMMANDS = $CONFIG_COMMANDS
20025 $ $0 $@
20027 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20030 _ACEOF
20032 case $ac_config_files in *"
20033 "*) set x $ac_config_files; shift; ac_config_files=$*;;
20034 esac
20036 case $ac_config_headers in *"
20037 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
20038 esac
20041 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20042 # Files that config.status was made for.
20043 config_files="$ac_config_files"
20044 config_headers="$ac_config_headers"
20045 config_links="$ac_config_links"
20046 config_commands="$ac_config_commands"
20048 _ACEOF
20050 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20051 ac_cs_usage="\
20052 \`$as_me' instantiates files and other configuration actions
20053 from templates according to the current configuration. Unless the files
20054 and actions are specified as TAGs, all are instantiated by default.
20056 Usage: $0 [OPTION]... [TAG]...
20058 -h, --help print this help, then exit
20059 -V, --version print version number and configuration settings, then exit
20060 --config print configuration, then exit
20061 -q, --quiet, --silent
20062 do not print progress messages
20063 -d, --debug don't remove temporary files
20064 --recheck update $as_me by reconfiguring in the same conditions
20065 --file=FILE[:TEMPLATE]
20066 instantiate the configuration file FILE
20067 --header=FILE[:TEMPLATE]
20068 instantiate the configuration header FILE
20070 Configuration files:
20071 $config_files
20073 Configuration headers:
20074 $config_headers
20076 Configuration links:
20077 $config_links
20079 Configuration commands:
20080 $config_commands
20082 Report bugs to <wine-devel@winehq.org>.
20083 Wine home page: <https://www.winehq.org>."
20085 _ACEOF
20086 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20087 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20088 ac_cs_version="\\
20089 Wine config.status 3.2
20090 configured by $0, generated by GNU Autoconf 2.69,
20091 with options \\"\$ac_cs_config\\"
20093 Copyright (C) 2012 Free Software Foundation, Inc.
20094 This config.status script is free software; the Free Software Foundation
20095 gives unlimited permission to copy, distribute and modify it."
20097 ac_pwd='$ac_pwd'
20098 srcdir='$srcdir'
20099 test -n "\$AWK" || AWK=awk
20100 _ACEOF
20102 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20103 # The default lists apply if the user does not specify any file.
20104 ac_need_defaults=:
20105 while test $# != 0
20107 case $1 in
20108 --*=?*)
20109 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20110 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20111 ac_shift=:
20113 --*=)
20114 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20115 ac_optarg=
20116 ac_shift=:
20119 ac_option=$1
20120 ac_optarg=$2
20121 ac_shift=shift
20123 esac
20125 case $ac_option in
20126 # Handling of the options.
20127 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20128 ac_cs_recheck=: ;;
20129 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20130 $as_echo "$ac_cs_version"; exit ;;
20131 --config | --confi | --conf | --con | --co | --c )
20132 $as_echo "$ac_cs_config"; exit ;;
20133 --debug | --debu | --deb | --de | --d | -d )
20134 debug=: ;;
20135 --file | --fil | --fi | --f )
20136 $ac_shift
20137 case $ac_optarg in
20138 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20139 '') as_fn_error $? "missing file argument" ;;
20140 esac
20141 as_fn_append CONFIG_FILES " '$ac_optarg'"
20142 ac_need_defaults=false;;
20143 --header | --heade | --head | --hea )
20144 $ac_shift
20145 case $ac_optarg in
20146 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20147 esac
20148 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20149 ac_need_defaults=false;;
20150 --he | --h)
20151 # Conflict between --help and --header
20152 as_fn_error $? "ambiguous option: \`$1'
20153 Try \`$0 --help' for more information.";;
20154 --help | --hel | -h )
20155 $as_echo "$ac_cs_usage"; exit ;;
20156 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20157 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20158 ac_cs_silent=: ;;
20160 # This is an error.
20161 -*) as_fn_error $? "unrecognized option: \`$1'
20162 Try \`$0 --help' for more information." ;;
20164 *) as_fn_append ac_config_targets " $1"
20165 ac_need_defaults=false ;;
20167 esac
20168 shift
20169 done
20171 ac_configure_extra_args=
20173 if $ac_cs_silent; then
20174 exec 6>/dev/null
20175 ac_configure_extra_args="$ac_configure_extra_args --silent"
20178 _ACEOF
20179 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20180 if \$ac_cs_recheck; then
20181 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20182 shift
20183 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20184 CONFIG_SHELL='$SHELL'
20185 export CONFIG_SHELL
20186 exec "\$@"
20189 _ACEOF
20190 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20191 exec 5>>config.log
20193 echo
20194 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20195 ## Running $as_me. ##
20196 _ASBOX
20197 $as_echo "$ac_log"
20198 } >&5
20200 _ACEOF
20201 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20203 # INIT-COMMANDS
20205 wine_fn_output_makedep ()
20207 as_dir=tools; as_fn_mkdir_p
20208 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
20210 wine_fn_output_makefile ()
20212 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
20213 `cat $wine_rules_file`
20214 _WINE_EOF
20215 as_fn_error $? "could not create Makefile" "$LINENO" 5
20218 _ACEOF
20220 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20222 # Handling of arguments.
20223 for ac_config_target in $ac_config_targets
20225 case $ac_config_target in
20226 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20227 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
20228 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
20229 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
20230 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
20231 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
20232 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
20233 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
20234 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
20235 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
20236 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
20237 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
20238 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
20240 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20241 esac
20242 done
20245 # If the user did not use the arguments to specify the items to instantiate,
20246 # then the envvar interface is used. Set only those that are not.
20247 # We use the long form for the default assignment because of an extremely
20248 # bizarre bug on SunOS 4.1.3.
20249 if $ac_need_defaults; then
20250 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20251 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20252 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
20253 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20256 # Have a temporary directory for convenience. Make it in the build tree
20257 # simply because there is no reason against having it here, and in addition,
20258 # creating and moving files from /tmp can sometimes cause problems.
20259 # Hook for its removal unless debugging.
20260 # Note that there is a small window in which the directory will not be cleaned:
20261 # after its creation but before its name has been assigned to `$tmp'.
20262 $debug ||
20264 tmp= ac_tmp=
20265 trap 'exit_status=$?
20266 : "${ac_tmp:=$tmp}"
20267 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20269 trap 'as_fn_exit 1' 1 2 13 15
20271 # Create a (secure) tmp directory for tmp files.
20274 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20275 test -d "$tmp"
20276 } ||
20278 tmp=./conf$$-$RANDOM
20279 (umask 077 && mkdir "$tmp")
20280 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20281 ac_tmp=$tmp
20283 # Set up the scripts for CONFIG_FILES section.
20284 # No need to generate them if there are no CONFIG_FILES.
20285 # This happens for instance with `./config.status config.h'.
20286 if test -n "$CONFIG_FILES"; then
20289 ac_cr=`echo X | tr X '\015'`
20290 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20291 # But we know of no other shell where ac_cr would be empty at this
20292 # point, so we can use a bashism as a fallback.
20293 if test "x$ac_cr" = x; then
20294 eval ac_cr=\$\'\\r\'
20296 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20297 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20298 ac_cs_awk_cr='\\r'
20299 else
20300 ac_cs_awk_cr=$ac_cr
20303 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20304 _ACEOF
20308 echo "cat >conf$$subs.awk <<_ACEOF" &&
20309 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20310 echo "_ACEOF"
20311 } >conf$$subs.sh ||
20312 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20313 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20314 ac_delim='%!_!# '
20315 for ac_last_try in false false false false false :; do
20316 . ./conf$$subs.sh ||
20317 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20319 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20320 if test $ac_delim_n = $ac_delim_num; then
20321 break
20322 elif $ac_last_try; then
20323 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20324 else
20325 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20327 done
20328 rm -f conf$$subs.sh
20330 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20331 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
20332 _ACEOF
20333 sed -n '
20335 s/^/S["/; s/!.*/"]=/
20338 s/^[^!]*!//
20339 :repl
20340 t repl
20341 s/'"$ac_delim"'$//
20342 t delim
20345 s/\(.\{148\}\)..*/\1/
20346 t more1
20347 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20350 b repl
20351 :more1
20352 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20355 s/.\{148\}//
20356 t nl
20357 :delim
20359 s/\(.\{148\}\)..*/\1/
20360 t more2
20361 s/["\\]/\\&/g; s/^/"/; s/$/"/
20364 :more2
20365 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20368 s/.\{148\}//
20369 t delim
20370 ' <conf$$subs.awk | sed '
20371 /^[^""]/{
20373 s/\n//
20375 ' >>$CONFIG_STATUS || ac_write_fail=1
20376 rm -f conf$$subs.awk
20377 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20378 _ACAWK
20379 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
20380 for (key in S) S_is_set[key] = 1
20381 FS = "\a"
20385 line = $ 0
20386 nfields = split(line, field, "@")
20387 substed = 0
20388 len = length(field[1])
20389 for (i = 2; i < nfields; i++) {
20390 key = field[i]
20391 keylen = length(key)
20392 if (S_is_set[key]) {
20393 value = S[key]
20394 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20395 len += length(value) + length(field[++i])
20396 substed = 1
20397 } else
20398 len += 1 + keylen
20401 print line
20404 _ACAWK
20405 _ACEOF
20406 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20407 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20408 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20409 else
20411 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
20412 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20413 _ACEOF
20415 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20416 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20417 # trailing colons and then remove the whole line if VPATH becomes empty
20418 # (actually we leave an empty line to preserve line numbers).
20419 if test "x$srcdir" = x.; then
20420 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20422 s///
20423 s/^/:/
20424 s/[ ]*$/:/
20425 s/:\$(srcdir):/:/g
20426 s/:\${srcdir}:/:/g
20427 s/:@srcdir@:/:/g
20428 s/^:*//
20429 s/:*$//
20431 s/\(=[ ]*\).*/\1/
20433 s/\n//
20434 s/^[^=]*=[ ]*$//
20438 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20439 fi # test -n "$CONFIG_FILES"
20441 # Set up the scripts for CONFIG_HEADERS section.
20442 # No need to generate them if there are no CONFIG_HEADERS.
20443 # This happens for instance with `./config.status Makefile'.
20444 if test -n "$CONFIG_HEADERS"; then
20445 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20446 BEGIN {
20447 _ACEOF
20449 # Transform confdefs.h into an awk script `defines.awk', embedded as
20450 # here-document in config.status, that substitutes the proper values into
20451 # config.h.in to produce config.h.
20453 # Create a delimiter string that does not exist in confdefs.h, to ease
20454 # handling of long lines.
20455 ac_delim='%!_!# '
20456 for ac_last_try in false false :; do
20457 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20458 if test -z "$ac_tt"; then
20459 break
20460 elif $ac_last_try; then
20461 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20462 else
20463 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20465 done
20467 # For the awk script, D is an array of macro values keyed by name,
20468 # likewise P contains macro parameters if any. Preserve backslash
20469 # newline sequences.
20471 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20472 sed -n '
20473 s/.\{148\}/&'"$ac_delim"'/g
20474 t rset
20475 :rset
20476 s/^[ ]*#[ ]*define[ ][ ]*/ /
20477 t def
20479 :def
20480 s/\\$//
20481 t bsnl
20482 s/["\\]/\\&/g
20483 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20484 D["\1"]=" \3"/p
20485 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
20487 :bsnl
20488 s/["\\]/\\&/g
20489 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20490 D["\1"]=" \3\\\\\\n"\\/p
20491 t cont
20492 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20493 t cont
20495 :cont
20497 s/.\{148\}/&'"$ac_delim"'/g
20498 t clear
20499 :clear
20500 s/\\$//
20501 t bsnlc
20502 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20504 :bsnlc
20505 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20506 b cont
20507 ' <confdefs.h | sed '
20508 s/'"$ac_delim"'/"\\\
20509 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20511 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20512 for (key in D) D_is_set[key] = 1
20513 FS = "\a"
20515 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20516 line = \$ 0
20517 split(line, arg, " ")
20518 if (arg[1] == "#") {
20519 defundef = arg[2]
20520 mac1 = arg[3]
20521 } else {
20522 defundef = substr(arg[1], 2)
20523 mac1 = arg[2]
20525 split(mac1, mac2, "(") #)
20526 macro = mac2[1]
20527 prefix = substr(line, 1, index(line, defundef) - 1)
20528 if (D_is_set[macro]) {
20529 # Preserve the white space surrounding the "#".
20530 print prefix "define", macro P[macro] D[macro]
20531 next
20532 } else {
20533 # Replace #undef with comments. This is necessary, for example,
20534 # in the case of _POSIX_SOURCE, which is predefined and required
20535 # on some systems where configure will not decide to define it.
20536 if (defundef == "undef") {
20537 print "/*", prefix defundef, macro, "*/"
20538 next
20542 { print }
20543 _ACAWK
20544 _ACEOF
20545 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20546 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20547 fi # test -n "$CONFIG_HEADERS"
20550 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
20551 shift
20552 for ac_tag
20554 case $ac_tag in
20555 :[FHLC]) ac_mode=$ac_tag; continue;;
20556 esac
20557 case $ac_mode$ac_tag in
20558 :[FHL]*:*);;
20559 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20560 :[FH]-) ac_tag=-:-;;
20561 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20562 esac
20563 ac_save_IFS=$IFS
20564 IFS=:
20565 set x $ac_tag
20566 IFS=$ac_save_IFS
20567 shift
20568 ac_file=$1
20569 shift
20571 case $ac_mode in
20572 :L) ac_source=$1;;
20573 :[FH])
20574 ac_file_inputs=
20575 for ac_f
20577 case $ac_f in
20578 -) ac_f="$ac_tmp/stdin";;
20579 *) # Look for the file first in the build tree, then in the source tree
20580 # (if the path is not absolute). The absolute path cannot be DOS-style,
20581 # because $ac_f cannot contain `:'.
20582 test -f "$ac_f" ||
20583 case $ac_f in
20584 [\\/$]*) false;;
20585 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20586 esac ||
20587 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20588 esac
20589 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20590 as_fn_append ac_file_inputs " '$ac_f'"
20591 done
20593 # Let's still pretend it is `configure' which instantiates (i.e., don't
20594 # use $as_me), people would be surprised to read:
20595 # /* config.h. Generated by config.status. */
20596 configure_input='Generated from '`
20597 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20598 `' by configure.'
20599 if test x"$ac_file" != x-; then
20600 configure_input="$ac_file. $configure_input"
20601 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20602 $as_echo "$as_me: creating $ac_file" >&6;}
20604 # Neutralize special characters interpreted by sed in replacement strings.
20605 case $configure_input in #(
20606 *\&* | *\|* | *\\* )
20607 ac_sed_conf_input=`$as_echo "$configure_input" |
20608 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20609 *) ac_sed_conf_input=$configure_input;;
20610 esac
20612 case $ac_tag in
20613 *:-:* | *:-) cat >"$ac_tmp/stdin" \
20614 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20615 esac
20617 esac
20619 ac_dir=`$as_dirname -- "$ac_file" ||
20620 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20621 X"$ac_file" : 'X\(//\)[^/]' \| \
20622 X"$ac_file" : 'X\(//\)$' \| \
20623 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20624 $as_echo X"$ac_file" |
20625 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20626 s//\1/
20629 /^X\(\/\/\)[^/].*/{
20630 s//\1/
20633 /^X\(\/\/\)$/{
20634 s//\1/
20637 /^X\(\/\).*/{
20638 s//\1/
20641 s/.*/./; q'`
20642 as_dir="$ac_dir"; as_fn_mkdir_p
20643 ac_builddir=.
20645 case "$ac_dir" in
20646 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20648 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20649 # A ".." for each directory in $ac_dir_suffix.
20650 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20651 case $ac_top_builddir_sub in
20652 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20653 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20654 esac ;;
20655 esac
20656 ac_abs_top_builddir=$ac_pwd
20657 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20658 # for backward compatibility:
20659 ac_top_builddir=$ac_top_build_prefix
20661 case $srcdir in
20662 .) # We are building in place.
20663 ac_srcdir=.
20664 ac_top_srcdir=$ac_top_builddir_sub
20665 ac_abs_top_srcdir=$ac_pwd ;;
20666 [\\/]* | ?:[\\/]* ) # Absolute name.
20667 ac_srcdir=$srcdir$ac_dir_suffix;
20668 ac_top_srcdir=$srcdir
20669 ac_abs_top_srcdir=$srcdir ;;
20670 *) # Relative name.
20671 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20672 ac_top_srcdir=$ac_top_build_prefix$srcdir
20673 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20674 esac
20675 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20678 case $ac_mode in
20681 # CONFIG_FILE
20684 _ACEOF
20686 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20687 # If the template does not know about datarootdir, expand it.
20688 # FIXME: This hack should be removed a few years after 2.60.
20689 ac_datarootdir_hack=; ac_datarootdir_seen=
20690 ac_sed_dataroot='
20691 /datarootdir/ {
20695 /@datadir@/p
20696 /@docdir@/p
20697 /@infodir@/p
20698 /@localedir@/p
20699 /@mandir@/p'
20700 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20701 *datarootdir*) ac_datarootdir_seen=yes;;
20702 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20704 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20705 _ACEOF
20706 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20707 ac_datarootdir_hack='
20708 s&@datadir@&$datadir&g
20709 s&@docdir@&$docdir&g
20710 s&@infodir@&$infodir&g
20711 s&@localedir@&$localedir&g
20712 s&@mandir@&$mandir&g
20713 s&\\\${datarootdir}&$datarootdir&g' ;;
20714 esac
20715 _ACEOF
20717 # Neutralize VPATH when `$srcdir' = `.'.
20718 # Shell code in configure.ac might set extrasub.
20719 # FIXME: do we really want to maintain this feature?
20720 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20721 ac_sed_extra="$ac_vpsub
20722 $extrasub
20723 _ACEOF
20724 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20726 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20727 s|@configure_input@|$ac_sed_conf_input|;t t
20728 s&@top_builddir@&$ac_top_builddir_sub&;t t
20729 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20730 s&@srcdir@&$ac_srcdir&;t t
20731 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20732 s&@top_srcdir@&$ac_top_srcdir&;t t
20733 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20734 s&@builddir@&$ac_builddir&;t t
20735 s&@abs_builddir@&$ac_abs_builddir&;t t
20736 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20737 $ac_datarootdir_hack
20739 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20740 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20742 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20743 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20744 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20745 "$ac_tmp/out"`; test -z "$ac_out"; } &&
20746 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20747 which seems to be undefined. Please make sure it is defined" >&5
20748 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20749 which seems to be undefined. Please make sure it is defined" >&2;}
20751 rm -f "$ac_tmp/stdin"
20752 case $ac_file in
20753 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20754 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20755 esac \
20756 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20760 # CONFIG_HEADER
20762 if test x"$ac_file" != x-; then
20764 $as_echo "/* $configure_input */" \
20765 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20766 } >"$ac_tmp/config.h" \
20767 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20768 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20769 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20770 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20771 else
20772 rm -f "$ac_file"
20773 mv "$ac_tmp/config.h" "$ac_file" \
20774 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20776 else
20777 $as_echo "/* $configure_input */" \
20778 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20779 || as_fn_error $? "could not create -" "$LINENO" 5
20784 # CONFIG_LINK
20787 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
20789 else
20790 # Prefer the file from the source tree if names are identical.
20791 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
20792 ac_source=$srcdir/$ac_source
20795 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
20796 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20798 if test ! -r "$ac_source"; then
20799 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20801 rm -f "$ac_file"
20803 # Try a relative symlink, then a hard link, then a copy.
20804 case $ac_source in
20805 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20806 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20807 esac
20808 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20809 ln "$ac_source" "$ac_file" 2>/dev/null ||
20810 cp -p "$ac_source" "$ac_file" ||
20811 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20814 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20815 $as_echo "$as_me: executing $ac_file commands" >&6;}
20817 esac
20820 case $ac_file$ac_mode in
20821 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20822 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20823 "Makefile":C) wine_fn_output_makefile Makefile ;;
20825 esac
20826 done # for ac_tag
20829 as_fn_exit 0
20830 _ACEOF
20831 ac_clean_files=$ac_clean_files_save
20833 test $ac_write_fail = 0 ||
20834 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20837 # configure is writing to config.log, and then calls config.status.
20838 # config.status does its own redirection, appending to config.log.
20839 # Unfortunately, on DOS this fails, as config.log is still kept open
20840 # by configure, so config.status won't be able to write to it; its
20841 # output is simply discarded. So we exec the FD to /dev/null,
20842 # effectively closing config.log, so it can be properly (re)opened and
20843 # appended to by config.status. When coming back to configure, we
20844 # need to make the FD available again.
20845 if test "$no_create" != yes; then
20846 ac_cs_success=:
20847 ac_config_status_args=
20848 test "$silent" = yes &&
20849 ac_config_status_args="$ac_config_status_args --quiet"
20850 exec 5>/dev/null
20851 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20852 exec 5>>config.log
20853 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20854 # would make configure fail if this is the last instruction.
20855 $ac_cs_success || as_fn_exit 1
20857 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20858 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20859 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20863 if test "$no_create" = "yes"
20864 then
20865 exit 0
20868 ac_save_IFS="$IFS"
20869 if test "x$wine_notices" != x; then
20870 echo >&6
20871 IFS="|"
20872 for msg in $wine_notices; do
20873 IFS="$ac_save_IFS"
20874 if ${msg:+false} :; then :
20876 else
20877 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20878 $as_echo "$as_me: $msg" >&6;}
20880 done
20882 IFS="|"
20883 for msg in $wine_warnings; do
20884 IFS="$ac_save_IFS"
20885 if ${msg:+false} :; then :
20887 else
20888 echo >&2
20889 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20890 $as_echo "$as_me: WARNING: $msg" >&2;}
20892 done
20893 IFS="$ac_save_IFS"
20895 $as_echo "
20896 $as_me: Finished. Do '${ac_make}' to compile Wine.
20897 " >&6