makefiles: Generate the uninstall rule using the subdirs file lists.
[wine.git] / configure
blobbe4fabfe5933c2d6486c9f1d746467ff7afdeecd
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 UDEV_LIBS
662 UDEV_CFLAGS
663 OSS4_CFLAGS
664 ALSA_LIBS
665 GSTREAMER_LIBS
666 GSTREAMER_CFLAGS
667 PULSE_LIBS
668 PULSE_CFLAGS
669 GETTEXTPO_LIBS
670 Z_LIBS
671 FREETYPE_LIBS
672 FREETYPE_CFLAGS
673 LCMS2_LIBS
674 LCMS2_CFLAGS
675 RESOLV_LIBS
676 GPHOTO2_PORT_LIBS
677 GPHOTO2_PORT_CFLAGS
678 GPHOTO2_LIBS
679 GPHOTO2_CFLAGS
680 SANE_LIBS
681 SANE_CFLAGS
682 GNUTLS_LIBS
683 GNUTLS_CFLAGS
684 HAL_LIBS
685 HAL_CFLAGS
686 DBUS_LIBS
687 DBUS_CFLAGS
688 XSLT_LIBS
689 XSLT_CFLAGS
690 XML2_LIBS
691 XML2_CFLAGS
692 PCAP_LIBS
693 X_EXTRA_LIBS
694 X_LIBS
695 X_PRE_LIBS
696 X_CFLAGS
697 XMKMF
698 PTHREAD_LIBS
699 CROSSCFLAGS
700 CROSSCC
701 CROSSTARGET
702 PRELINK
703 WINELOADER_DEPENDS
704 CARBON_LIBS
705 QUICKTIME_LIBS
706 OPENCL_LIBS
707 OPENAL_LIBS
708 COREAUDIO_LIBS
709 SECURITY_LIBS
710 DISKARBITRATION_LIBS
711 APPKIT_LIBS
712 CORESERVICES_LIBS
713 APPLICATIONSERVICES_LIBS
714 FORCEFEEDBACK_LIBS
715 IOKIT_LIBS
716 COREFOUNDATION_LIBS
717 LIBWINE_DEPENDS
718 LIBWINE_LDFLAGS
719 LIBWINE_INSTALL_DEV
720 LIBWINE_INSTALL_LIB
721 LIBWINE_IMPORTLIB
722 LIBWINE_SHAREDLIB
723 SOCKET_LIBS
724 DLLTOOL
725 WINELOADER_PROGRAMS
726 ALL_TEST_RESOURCES
727 CONFIGURE_TARGETS
728 DISABLED_SUBDIRS
729 SUBDIRS
730 READELF
731 OTOOL
733 WINELOADER_LDFLAGS
734 LDEXECFLAGS
735 LDRPATH_LOCAL
736 LDRPATH_INSTALL
737 DLLFLAGS
739 OPENGL_LIBS
740 ICOTOOL
741 CONVERT
742 RSVG
743 FONTFORGE
744 PKG_CONFIG
745 MSGFMT
746 LDCONFIG
747 EGREP
748 GREP
749 LN_S
750 RANLIB
751 ARFLAGS
752 STRIP
753 ac_ct_AR
755 BISON
756 FLEX
757 TOOLSDIR
758 TARGETFLAGS
760 CPPBIN
761 ac_ct_CXX
762 CXXFLAGS
764 OBJEXT
765 EXEEXT
766 ac_ct_CC
767 CPPFLAGS
768 LDFLAGS
769 CFLAGS
771 SET_MAKE
772 host_os
773 host_vendor
774 host_cpu
775 host
776 build_os
777 build_vendor
778 build_cpu
779 build
780 target_alias
781 host_alias
782 build_alias
783 LIBS
784 ECHO_T
785 ECHO_N
786 ECHO_C
787 DEFS
788 mandir
789 localedir
790 libdir
791 psdir
792 pdfdir
793 dvidir
794 htmldir
795 infodir
796 docdir
797 oldincludedir
798 includedir
799 runstatedir
800 localstatedir
801 sharedstatedir
802 sysconfdir
803 datadir
804 datarootdir
805 libexecdir
806 sbindir
807 bindir
808 program_transform_name
809 prefix
810 exec_prefix
811 PACKAGE_URL
812 PACKAGE_BUGREPORT
813 PACKAGE_STRING
814 PACKAGE_VERSION
815 PACKAGE_TARNAME
816 PACKAGE_NAME
817 PATH_SEPARATOR
818 SHELL'
819 ac_subst_files=''
820 ac_user_opts='
821 enable_option_checking
822 enable_win16
823 enable_win64
824 enable_tests
825 enable_maintainer_mode
826 with_alsa
827 with_capi
828 with_cms
829 with_coreaudio
830 with_cups
831 with_curses
832 with_dbus
833 with_float_abi
834 with_fontconfig
835 with_freetype
836 with_gettext
837 with_gettextpo
838 with_gphoto
839 with_glu
840 with_gnutls
841 with_gsm
842 with_gssapi
843 with_gstreamer
844 with_hal
845 with_jpeg
846 with_krb5
847 with_ldap
848 with_mpg123
849 with_netapi
850 with_openal
851 with_opencl
852 with_opengl
853 with_osmesa
854 with_oss
855 with_pcap
856 with_png
857 with_pthread
858 with_pulse
859 with_sane
860 with_tiff
861 with_udev
862 with_v4l
863 with_xcomposite
864 with_xcursor
865 with_xfixes
866 with_xinerama
867 with_xinput
868 with_xinput2
869 with_xml
870 with_xrandr
871 with_xrender
872 with_xshape
873 with_xshm
874 with_xslt
875 with_xxf86vm
876 with_zlib
877 with_wine_tools
878 with_wine64
879 enable_largefile
880 with_x
881 enable_acledit
882 enable_aclui
883 enable_activeds
884 enable_actxprxy
885 enable_adsldp
886 enable_adsldpc
887 enable_advapi32
888 enable_advpack
889 enable_amstream
890 enable_api_ms_win_appmodel_identity_l1_1_0
891 enable_api_ms_win_appmodel_runtime_l1_1_1
892 enable_api_ms_win_appmodel_runtime_l1_1_2
893 enable_api_ms_win_core_apiquery_l1_1_0
894 enable_api_ms_win_core_appcompat_l1_1_1
895 enable_api_ms_win_core_appinit_l1_1_0
896 enable_api_ms_win_core_atoms_l1_1_0
897 enable_api_ms_win_core_bem_l1_1_0
898 enable_api_ms_win_core_com_l1_1_0
899 enable_api_ms_win_core_com_l1_1_1
900 enable_api_ms_win_core_com_private_l1_1_0
901 enable_api_ms_win_core_console_l1_1_0
902 enable_api_ms_win_core_console_l2_1_0
903 enable_api_ms_win_core_crt_l1_1_0
904 enable_api_ms_win_core_crt_l2_1_0
905 enable_api_ms_win_core_datetime_l1_1_0
906 enable_api_ms_win_core_datetime_l1_1_1
907 enable_api_ms_win_core_debug_l1_1_0
908 enable_api_ms_win_core_debug_l1_1_1
909 enable_api_ms_win_core_delayload_l1_1_0
910 enable_api_ms_win_core_delayload_l1_1_1
911 enable_api_ms_win_core_errorhandling_l1_1_0
912 enable_api_ms_win_core_errorhandling_l1_1_1
913 enable_api_ms_win_core_errorhandling_l1_1_2
914 enable_api_ms_win_core_errorhandling_l1_1_3
915 enable_api_ms_win_core_fibers_l1_1_0
916 enable_api_ms_win_core_fibers_l1_1_1
917 enable_api_ms_win_core_file_l1_1_0
918 enable_api_ms_win_core_file_l1_2_0
919 enable_api_ms_win_core_file_l1_2_1
920 enable_api_ms_win_core_file_l1_2_2
921 enable_api_ms_win_core_file_l2_1_0
922 enable_api_ms_win_core_file_l2_1_1
923 enable_api_ms_win_core_file_l2_1_2
924 enable_api_ms_win_core_handle_l1_1_0
925 enable_api_ms_win_core_heap_l1_1_0
926 enable_api_ms_win_core_heap_l1_2_0
927 enable_api_ms_win_core_heap_l2_1_0
928 enable_api_ms_win_core_heap_obsolete_l1_1_0
929 enable_api_ms_win_core_interlocked_l1_1_0
930 enable_api_ms_win_core_interlocked_l1_2_0
931 enable_api_ms_win_core_io_l1_1_0
932 enable_api_ms_win_core_io_l1_1_1
933 enable_api_ms_win_core_job_l1_1_0
934 enable_api_ms_win_core_job_l2_1_0
935 enable_api_ms_win_core_kernel32_legacy_l1_1_0
936 enable_api_ms_win_core_kernel32_legacy_l1_1_1
937 enable_api_ms_win_core_kernel32_private_l1_1_1
938 enable_api_ms_win_core_libraryloader_l1_1_0
939 enable_api_ms_win_core_libraryloader_l1_1_1
940 enable_api_ms_win_core_libraryloader_l1_2_0
941 enable_api_ms_win_core_libraryloader_l1_2_1
942 enable_api_ms_win_core_libraryloader_l1_2_2
943 enable_api_ms_win_core_localization_l1_1_0
944 enable_api_ms_win_core_localization_l1_2_0
945 enable_api_ms_win_core_localization_l1_2_1
946 enable_api_ms_win_core_localization_l2_1_0
947 enable_api_ms_win_core_localization_obsolete_l1_1_0
948 enable_api_ms_win_core_localization_obsolete_l1_2_0
949 enable_api_ms_win_core_localization_obsolete_l1_3_0
950 enable_api_ms_win_core_localization_private_l1_1_0
951 enable_api_ms_win_core_localregistry_l1_1_0
952 enable_api_ms_win_core_memory_l1_1_0
953 enable_api_ms_win_core_memory_l1_1_1
954 enable_api_ms_win_core_memory_l1_1_2
955 enable_api_ms_win_core_misc_l1_1_0
956 enable_api_ms_win_core_namedpipe_l1_1_0
957 enable_api_ms_win_core_namedpipe_l1_2_0
958 enable_api_ms_win_core_namespace_l1_1_0
959 enable_api_ms_win_core_normalization_l1_1_0
960 enable_api_ms_win_core_path_l1_1_0
961 enable_api_ms_win_core_privateprofile_l1_1_1
962 enable_api_ms_win_core_processenvironment_l1_1_0
963 enable_api_ms_win_core_processenvironment_l1_2_0
964 enable_api_ms_win_core_processthreads_l1_1_0
965 enable_api_ms_win_core_processthreads_l1_1_1
966 enable_api_ms_win_core_processthreads_l1_1_2
967 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
968 enable_api_ms_win_core_profile_l1_1_0
969 enable_api_ms_win_core_psapi_ansi_l1_1_0
970 enable_api_ms_win_core_psapi_l1_1_0
971 enable_api_ms_win_core_psapi_obsolete_l1_1_0
972 enable_api_ms_win_core_quirks_l1_1_0
973 enable_api_ms_win_core_realtime_l1_1_0
974 enable_api_ms_win_core_registry_l1_1_0
975 enable_api_ms_win_core_registry_l2_1_0
976 enable_api_ms_win_core_registryuserspecific_l1_1_0
977 enable_api_ms_win_core_rtlsupport_l1_1_0
978 enable_api_ms_win_core_rtlsupport_l1_2_0
979 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
980 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
981 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
982 enable_api_ms_win_core_shutdown_l1_1_0
983 enable_api_ms_win_core_sidebyside_l1_1_0
984 enable_api_ms_win_core_string_l1_1_0
985 enable_api_ms_win_core_string_l2_1_0
986 enable_api_ms_win_core_string_obsolete_l1_1_0
987 enable_api_ms_win_core_stringansi_l1_1_0
988 enable_api_ms_win_core_synch_ansi_l1_1_0
989 enable_api_ms_win_core_synch_l1_1_0
990 enable_api_ms_win_core_synch_l1_2_0
991 enable_api_ms_win_core_synch_l1_2_1
992 enable_api_ms_win_core_sysinfo_l1_1_0
993 enable_api_ms_win_core_sysinfo_l1_2_0
994 enable_api_ms_win_core_sysinfo_l1_2_1
995 enable_api_ms_win_core_threadpool_l1_1_0
996 enable_api_ms_win_core_threadpool_l1_2_0
997 enable_api_ms_win_core_threadpool_legacy_l1_1_0
998 enable_api_ms_win_core_threadpool_private_l1_1_0
999 enable_api_ms_win_core_timezone_l1_1_0
1000 enable_api_ms_win_core_toolhelp_l1_1_0
1001 enable_api_ms_win_core_url_l1_1_0
1002 enable_api_ms_win_core_util_l1_1_0
1003 enable_api_ms_win_core_version_l1_1_0
1004 enable_api_ms_win_core_version_l1_1_1
1005 enable_api_ms_win_core_version_private_l1_1_0
1006 enable_api_ms_win_core_versionansi_l1_1_0
1007 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1008 enable_api_ms_win_core_winrt_error_l1_1_0
1009 enable_api_ms_win_core_winrt_error_l1_1_1
1010 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1011 enable_api_ms_win_core_winrt_l1_1_0
1012 enable_api_ms_win_core_winrt_registration_l1_1_0
1013 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1014 enable_api_ms_win_core_winrt_string_l1_1_0
1015 enable_api_ms_win_core_wow64_l1_1_0
1016 enable_api_ms_win_core_wow64_l1_1_1
1017 enable_api_ms_win_core_xstate_l1_1_0
1018 enable_api_ms_win_core_xstate_l2_1_0
1019 enable_api_ms_win_crt_conio_l1_1_0
1020 enable_api_ms_win_crt_convert_l1_1_0
1021 enable_api_ms_win_crt_environment_l1_1_0
1022 enable_api_ms_win_crt_filesystem_l1_1_0
1023 enable_api_ms_win_crt_heap_l1_1_0
1024 enable_api_ms_win_crt_locale_l1_1_0
1025 enable_api_ms_win_crt_math_l1_1_0
1026 enable_api_ms_win_crt_multibyte_l1_1_0
1027 enable_api_ms_win_crt_private_l1_1_0
1028 enable_api_ms_win_crt_process_l1_1_0
1029 enable_api_ms_win_crt_runtime_l1_1_0
1030 enable_api_ms_win_crt_stdio_l1_1_0
1031 enable_api_ms_win_crt_string_l1_1_0
1032 enable_api_ms_win_crt_time_l1_1_0
1033 enable_api_ms_win_crt_utility_l1_1_0
1034 enable_api_ms_win_devices_config_l1_1_1
1035 enable_api_ms_win_devices_query_l1_1_1
1036 enable_api_ms_win_downlevel_advapi32_l1_1_0
1037 enable_api_ms_win_downlevel_advapi32_l2_1_0
1038 enable_api_ms_win_downlevel_normaliz_l1_1_0
1039 enable_api_ms_win_downlevel_ole32_l1_1_0
1040 enable_api_ms_win_downlevel_shell32_l1_1_0
1041 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1042 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1043 enable_api_ms_win_downlevel_user32_l1_1_0
1044 enable_api_ms_win_downlevel_version_l1_1_0
1045 enable_api_ms_win_dx_d3dkmt_l1_1_0
1046 enable_api_ms_win_eventing_classicprovider_l1_1_0
1047 enable_api_ms_win_eventing_consumer_l1_1_0
1048 enable_api_ms_win_eventing_controller_l1_1_0
1049 enable_api_ms_win_eventing_legacy_l1_1_0
1050 enable_api_ms_win_eventing_provider_l1_1_0
1051 enable_api_ms_win_eventlog_legacy_l1_1_0
1052 enable_api_ms_win_mm_joystick_l1_1_0
1053 enable_api_ms_win_mm_misc_l1_1_1
1054 enable_api_ms_win_mm_mme_l1_1_0
1055 enable_api_ms_win_mm_time_l1_1_0
1056 enable_api_ms_win_ntuser_dc_access_l1_1_0
1057 enable_api_ms_win_ntuser_rectangle_l1_1_0
1058 enable_api_ms_win_perf_legacy_l1_1_0
1059 enable_api_ms_win_power_base_l1_1_0
1060 enable_api_ms_win_power_setting_l1_1_0
1061 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1062 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1063 enable_api_ms_win_security_audit_l1_1_1
1064 enable_api_ms_win_security_base_l1_1_0
1065 enable_api_ms_win_security_base_l1_2_0
1066 enable_api_ms_win_security_base_private_l1_1_1
1067 enable_api_ms_win_security_credentials_l1_1_0
1068 enable_api_ms_win_security_grouppolicy_l1_1_0
1069 enable_api_ms_win_security_lsalookup_l1_1_0
1070 enable_api_ms_win_security_lsalookup_l1_1_1
1071 enable_api_ms_win_security_lsalookup_l2_1_0
1072 enable_api_ms_win_security_lsalookup_l2_1_1
1073 enable_api_ms_win_security_lsapolicy_l1_1_0
1074 enable_api_ms_win_security_provider_l1_1_0
1075 enable_api_ms_win_security_sddl_l1_1_0
1076 enable_api_ms_win_security_systemfunctions_l1_1_0
1077 enable_api_ms_win_service_core_l1_1_0
1078 enable_api_ms_win_service_core_l1_1_1
1079 enable_api_ms_win_service_management_l1_1_0
1080 enable_api_ms_win_service_management_l2_1_0
1081 enable_api_ms_win_service_private_l1_1_1
1082 enable_api_ms_win_service_winsvc_l1_1_0
1083 enable_api_ms_win_service_winsvc_l1_2_0
1084 enable_api_ms_win_shcore_scaling_l1_1_1
1085 enable_api_ms_win_shell_shellcom_l1_1_0
1086 enable_api_ms_win_shell_shellfolders_l1_1_0
1087 enable_apphelp
1088 enable_appwiz_cpl
1089 enable_atl
1090 enable_atl100
1091 enable_atl110
1092 enable_atl80
1093 enable_atl90
1094 enable_authz
1095 enable_avicap32
1096 enable_avifil32
1097 enable_avrt
1098 enable_bcrypt
1099 enable_bluetoothapis
1100 enable_browseui
1101 enable_bthprops_cpl
1102 enable_cabinet
1103 enable_capi2032
1104 enable_cards
1105 enable_cdosys
1106 enable_cfgmgr32
1107 enable_clusapi
1108 enable_combase
1109 enable_comcat
1110 enable_comctl32
1111 enable_comdlg32
1112 enable_compstui
1113 enable_comsvcs
1114 enable_concrt140
1115 enable_connect
1116 enable_credui
1117 enable_crtdll
1118 enable_crypt32
1119 enable_cryptdlg
1120 enable_cryptdll
1121 enable_cryptext
1122 enable_cryptnet
1123 enable_cryptui
1124 enable_ctapi32
1125 enable_ctl3d32
1126 enable_d2d1
1127 enable_d3d10
1128 enable_d3d10_1
1129 enable_d3d10core
1130 enable_d3d11
1131 enable_d3d12
1132 enable_d3d8
1133 enable_d3d9
1134 enable_d3dcompiler_33
1135 enable_d3dcompiler_34
1136 enable_d3dcompiler_35
1137 enable_d3dcompiler_36
1138 enable_d3dcompiler_37
1139 enable_d3dcompiler_38
1140 enable_d3dcompiler_39
1141 enable_d3dcompiler_40
1142 enable_d3dcompiler_41
1143 enable_d3dcompiler_42
1144 enable_d3dcompiler_43
1145 enable_d3dcompiler_46
1146 enable_d3dcompiler_47
1147 enable_d3dim
1148 enable_d3drm
1149 enable_d3dx10_33
1150 enable_d3dx10_34
1151 enable_d3dx10_35
1152 enable_d3dx10_36
1153 enable_d3dx10_37
1154 enable_d3dx10_38
1155 enable_d3dx10_39
1156 enable_d3dx10_40
1157 enable_d3dx10_41
1158 enable_d3dx10_42
1159 enable_d3dx10_43
1160 enable_d3dx11_42
1161 enable_d3dx11_43
1162 enable_d3dx9_24
1163 enable_d3dx9_25
1164 enable_d3dx9_26
1165 enable_d3dx9_27
1166 enable_d3dx9_28
1167 enable_d3dx9_29
1168 enable_d3dx9_30
1169 enable_d3dx9_31
1170 enable_d3dx9_32
1171 enable_d3dx9_33
1172 enable_d3dx9_34
1173 enable_d3dx9_35
1174 enable_d3dx9_36
1175 enable_d3dx9_37
1176 enable_d3dx9_38
1177 enable_d3dx9_39
1178 enable_d3dx9_40
1179 enable_d3dx9_41
1180 enable_d3dx9_42
1181 enable_d3dx9_43
1182 enable_d3dxof
1183 enable_davclnt
1184 enable_dbgeng
1185 enable_dbghelp
1186 enable_dciman32
1187 enable_ddraw
1188 enable_ddrawex
1189 enable_devenum
1190 enable_dhcpcsvc
1191 enable_dhtmled_ocx
1192 enable_difxapi
1193 enable_dinput
1194 enable_dinput8
1195 enable_dispex
1196 enable_dmband
1197 enable_dmcompos
1198 enable_dmime
1199 enable_dmloader
1200 enable_dmscript
1201 enable_dmstyle
1202 enable_dmsynth
1203 enable_dmusic
1204 enable_dmusic32
1205 enable_dnsapi
1206 enable_dplay
1207 enable_dplayx
1208 enable_dpnaddr
1209 enable_dpnet
1210 enable_dpnhpast
1211 enable_dpnlobby
1212 enable_dpvoice
1213 enable_dpwsockx
1214 enable_drmclien
1215 enable_dsound
1216 enable_dsquery
1217 enable_dssenh
1218 enable_dswave
1219 enable_dwmapi
1220 enable_dwrite
1221 enable_dx8vb
1222 enable_dxdiagn
1223 enable_dxgi
1224 enable_dxva2
1225 enable_esent
1226 enable_evr
1227 enable_explorerframe
1228 enable_ext_ms_win_authz_context_l1_1_0
1229 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1230 enable_ext_ms_win_gdi_dc_create_l1_1_1
1231 enable_ext_ms_win_gdi_dc_l1_2_0
1232 enable_ext_ms_win_gdi_devcaps_l1_1_0
1233 enable_ext_ms_win_gdi_draw_l1_1_1
1234 enable_ext_ms_win_gdi_render_l1_1_0
1235 enable_ext_ms_win_kernel32_package_current_l1_1_0
1236 enable_ext_ms_win_kernel32_package_l1_1_1
1237 enable_ext_ms_win_ntuser_message_l1_1_1
1238 enable_ext_ms_win_ntuser_private_l1_1_1
1239 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1240 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1241 enable_ext_ms_win_ntuser_window_l1_1_1
1242 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1243 enable_ext_ms_win_ras_rasapi32_l1_1_0
1244 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1245 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1246 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1247 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1248 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1249 enable_ext_ms_win_security_credui_l1_1_0
1250 enable_ext_ms_win_security_cryptui_l1_1_0
1251 enable_faultrep
1252 enable_fltlib
1253 enable_fltmgr_sys
1254 enable_fntcache
1255 enable_fontsub
1256 enable_fusion
1257 enable_fwpuclnt
1258 enable_gameux
1259 enable_gdi32
1260 enable_gdiplus
1261 enable_glu32
1262 enable_gphoto2_ds
1263 enable_gpkcsp
1264 enable_hal
1265 enable_hhctrl_ocx
1266 enable_hid
1267 enable_hidclass_sys
1268 enable_hlink
1269 enable_hnetcfg
1270 enable_httpapi
1271 enable_iccvid
1272 enable_icmp
1273 enable_ieframe
1274 enable_ieproxy
1275 enable_imaadp32_acm
1276 enable_imagehlp
1277 enable_imm32
1278 enable_inetcomm
1279 enable_inetcpl_cpl
1280 enable_inetmib1
1281 enable_infosoft
1282 enable_initpki
1283 enable_inkobj
1284 enable_inseng
1285 enable_iphlpapi
1286 enable_iprop
1287 enable_irprops_cpl
1288 enable_itircl
1289 enable_itss
1290 enable_joy_cpl
1291 enable_jscript
1292 enable_jsproxy
1293 enable_kerberos
1294 enable_kernel32
1295 enable_kernelbase
1296 enable_ksuser
1297 enable_ktmw32
1298 enable_l3codeca_acm
1299 enable_loadperf
1300 enable_localspl
1301 enable_localui
1302 enable_lz32
1303 enable_mapi32
1304 enable_mapistub
1305 enable_mciavi32
1306 enable_mcicda
1307 enable_mciqtz32
1308 enable_mciseq
1309 enable_mciwave
1310 enable_mf
1311 enable_mf3216
1312 enable_mfplat
1313 enable_mfreadwrite
1314 enable_mgmtapi
1315 enable_midimap
1316 enable_mlang
1317 enable_mmcndmgr
1318 enable_mmdevapi
1319 enable_mountmgr_sys
1320 enable_mpr
1321 enable_mprapi
1322 enable_msacm32_drv
1323 enable_msacm32
1324 enable_msadp32_acm
1325 enable_msasn1
1326 enable_mscat32
1327 enable_mscms
1328 enable_mscoree
1329 enable_msctf
1330 enable_msctfp
1331 enable_msdaps
1332 enable_msdelta
1333 enable_msdmo
1334 enable_msdrm
1335 enable_msftedit
1336 enable_msg711_acm
1337 enable_msgsm32_acm
1338 enable_mshtml_tlb
1339 enable_mshtml
1340 enable_msi
1341 enable_msident
1342 enable_msimg32
1343 enable_msimsg
1344 enable_msimtf
1345 enable_msisip
1346 enable_msisys_ocx
1347 enable_msls31
1348 enable_msnet32
1349 enable_mspatcha
1350 enable_msports
1351 enable_msrle32
1352 enable_msscript_ocx
1353 enable_mssign32
1354 enable_mssip32
1355 enable_mstask
1356 enable_msvcirt
1357 enable_msvcm80
1358 enable_msvcm90
1359 enable_msvcp100
1360 enable_msvcp110
1361 enable_msvcp120
1362 enable_msvcp120_app
1363 enable_msvcp140
1364 enable_msvcp60
1365 enable_msvcp70
1366 enable_msvcp71
1367 enable_msvcp80
1368 enable_msvcp90
1369 enable_msvcr100
1370 enable_msvcr110
1371 enable_msvcr120
1372 enable_msvcr120_app
1373 enable_msvcr70
1374 enable_msvcr71
1375 enable_msvcr80
1376 enable_msvcr90
1377 enable_msvcrt
1378 enable_msvcrt20
1379 enable_msvcrt40
1380 enable_msvcrtd
1381 enable_msvfw32
1382 enable_msvidc32
1383 enable_mswsock
1384 enable_msxml
1385 enable_msxml2
1386 enable_msxml3
1387 enable_msxml4
1388 enable_msxml6
1389 enable_mtxdm
1390 enable_ncrypt
1391 enable_nddeapi
1392 enable_ndis_sys
1393 enable_netapi32
1394 enable_netcfgx
1395 enable_netprofm
1396 enable_newdev
1397 enable_normaliz
1398 enable_npmshtml
1399 enable_npptools
1400 enable_ntdll
1401 enable_ntdsapi
1402 enable_ntoskrnl_exe
1403 enable_ntprint
1404 enable_objsel
1405 enable_odbc32
1406 enable_odbccp32
1407 enable_odbccu32
1408 enable_ole32
1409 enable_oleacc
1410 enable_oleaut32
1411 enable_olecli32
1412 enable_oledb32
1413 enable_oledlg
1414 enable_olepro32
1415 enable_olesvr32
1416 enable_olethk32
1417 enable_openal32
1418 enable_opencl
1419 enable_opengl32
1420 enable_packager
1421 enable_pdh
1422 enable_photometadatahandler
1423 enable_pidgen
1424 enable_powrprof
1425 enable_printui
1426 enable_prntvpt
1427 enable_propsys
1428 enable_psapi
1429 enable_pstorec
1430 enable_qcap
1431 enable_qedit
1432 enable_qmgr
1433 enable_qmgrprxy
1434 enable_quartz
1435 enable_query
1436 enable_rasapi32
1437 enable_rasdlg
1438 enable_regapi
1439 enable_resutils
1440 enable_riched20
1441 enable_riched32
1442 enable_rpcrt4
1443 enable_rsabase
1444 enable_rsaenh
1445 enable_rstrtmgr
1446 enable_rtutils
1447 enable_samlib
1448 enable_sane_ds
1449 enable_sapi
1450 enable_scarddlg
1451 enable_sccbase
1452 enable_schannel
1453 enable_schedsvc
1454 enable_scrobj
1455 enable_scrrun
1456 enable_scsiport_sys
1457 enable_secur32
1458 enable_security
1459 enable_sensapi
1460 enable_serialui
1461 enable_setupapi
1462 enable_sfc
1463 enable_sfc_os
1464 enable_shcore
1465 enable_shdoclc
1466 enable_shdocvw
1467 enable_shell32
1468 enable_shfolder
1469 enable_shlwapi
1470 enable_slbcsp
1471 enable_slc
1472 enable_snmpapi
1473 enable_softpub
1474 enable_spoolss
1475 enable_sspicli
1476 enable_stdole2_tlb
1477 enable_stdole32_tlb
1478 enable_sti
1479 enable_svrapi
1480 enable_sxs
1481 enable_t2embed
1482 enable_tapi32
1483 enable_taskschd
1484 enable_tdh
1485 enable_tdi_sys
1486 enable_traffic
1487 enable_twain_32
1488 enable_ucrtbase
1489 enable_uiautomationcore
1490 enable_uiribbon
1491 enable_unicows
1492 enable_updspapi
1493 enable_url
1494 enable_urlmon
1495 enable_usbd_sys
1496 enable_user32
1497 enable_userenv
1498 enable_usp10
1499 enable_uxtheme
1500 enable_vbscript
1501 enable_vcomp
1502 enable_vcomp100
1503 enable_vcomp110
1504 enable_vcomp120
1505 enable_vcomp140
1506 enable_vcomp90
1507 enable_vcruntime140
1508 enable_vdmdbg
1509 enable_version
1510 enable_virtdisk
1511 enable_vssapi
1512 enable_wbemdisp
1513 enable_wbemprox
1514 enable_wdscore
1515 enable_webservices
1516 enable_wer
1517 enable_wevtapi
1518 enable_wiaservc
1519 enable_wimgapi
1520 enable_windowscodecs
1521 enable_windowscodecsext
1522 enable_winealsa_drv
1523 enable_wineandroid_drv
1524 enable_winebus_sys
1525 enable_winecoreaudio_drv
1526 enable_wined3d
1527 enable_winegstreamer
1528 enable_winehid_sys
1529 enable_winejoystick_drv
1530 enable_winemac_drv
1531 enable_winemapi
1532 enable_wineoss_drv
1533 enable_wineps_drv
1534 enable_winepulse_drv
1535 enable_wineqtdecoder
1536 enable_winex11_drv
1537 enable_wing32
1538 enable_winhttp
1539 enable_wininet
1540 enable_winmm
1541 enable_winnls32
1542 enable_winscard
1543 enable_winspool_drv
1544 enable_winsta
1545 enable_wintab32
1546 enable_wintrust
1547 enable_winusb
1548 enable_wlanapi
1549 enable_wldap32
1550 enable_wmasf
1551 enable_wmi
1552 enable_wmiutils
1553 enable_wmp
1554 enable_wmphoto
1555 enable_wmvcore
1556 enable_wnaspi32
1557 enable_wpc
1558 enable_wpcap
1559 enable_ws2_32
1560 enable_wsdapi
1561 enable_wshom_ocx
1562 enable_wsnmp32
1563 enable_wsock32
1564 enable_wtsapi32
1565 enable_wuapi
1566 enable_wuaueng
1567 enable_x3daudio1_0
1568 enable_x3daudio1_1
1569 enable_x3daudio1_2
1570 enable_x3daudio1_3
1571 enable_x3daudio1_4
1572 enable_x3daudio1_5
1573 enable_x3daudio1_6
1574 enable_x3daudio1_7
1575 enable_xapofx1_1
1576 enable_xapofx1_2
1577 enable_xapofx1_3
1578 enable_xapofx1_4
1579 enable_xapofx1_5
1580 enable_xaudio2_0
1581 enable_xaudio2_1
1582 enable_xaudio2_2
1583 enable_xaudio2_3
1584 enable_xaudio2_4
1585 enable_xaudio2_5
1586 enable_xaudio2_6
1587 enable_xaudio2_7
1588 enable_xaudio2_8
1589 enable_xaudio2_9
1590 enable_xinput1_1
1591 enable_xinput1_2
1592 enable_xinput1_3
1593 enable_xinput1_4
1594 enable_xinput9_1_0
1595 enable_xmllite
1596 enable_xolehlp
1597 enable_xpsprint
1598 enable_xpssvcs
1599 enable_fonts
1600 enable_include
1601 enable_libs_port
1602 enable_libs_wine
1603 enable_libs_wpp
1604 enable_loader
1605 enable_po
1606 enable_arp
1607 enable_aspnet_regiis
1608 enable_attrib
1609 enable_cabarc
1610 enable_cacls
1611 enable_clock
1612 enable_cmd
1613 enable_conhost
1614 enable_control
1615 enable_cscript
1616 enable_dpnsvr
1617 enable_dxdiag
1618 enable_eject
1619 enable_expand
1620 enable_explorer
1621 enable_extrac32
1622 enable_findstr
1623 enable_fsutil
1624 enable_hh
1625 enable_hostname
1626 enable_icacls
1627 enable_icinfo
1628 enable_iexplore
1629 enable_ipconfig
1630 enable_lodctr
1631 enable_mofcomp
1632 enable_mshta
1633 enable_msiexec
1634 enable_msinfo32
1635 enable_net
1636 enable_netsh
1637 enable_netstat
1638 enable_ngen
1639 enable_notepad
1640 enable_oleview
1641 enable_ping
1642 enable_plugplay
1643 enable_powershell
1644 enable_presentationfontcache
1645 enable_progman
1646 enable_reg
1647 enable_regasm
1648 enable_regedit
1649 enable_regsvcs
1650 enable_regsvr32
1651 enable_rpcss
1652 enable_rundll32
1653 enable_sc
1654 enable_schtasks
1655 enable_sdbinst
1656 enable_secedit
1657 enable_servicemodelreg
1658 enable_services
1659 enable_shutdown
1660 enable_spoolsv
1661 enable_start
1662 enable_subst
1663 enable_svchost
1664 enable_systeminfo
1665 enable_taskkill
1666 enable_tasklist
1667 enable_taskmgr
1668 enable_termsv
1669 enable_uninstaller
1670 enable_unlodctr
1671 enable_view
1672 enable_wevtutil
1673 enable_wineboot
1674 enable_winebrowser
1675 enable_winecfg
1676 enable_wineconsole
1677 enable_winedbg
1678 enable_winedevice
1679 enable_winefile
1680 enable_winemenubuilder
1681 enable_winemine
1682 enable_winemsibuilder
1683 enable_winepath
1684 enable_winetest
1685 enable_winhlp32
1686 enable_winver
1687 enable_wmic
1688 enable_wmplayer
1689 enable_wordpad
1690 enable_write
1691 enable_wscript
1692 enable_wusa
1693 enable_xcopy
1694 enable_server
1695 enable_tools
1697 ac_precious_vars='build_alias
1698 host_alias
1699 target_alias
1701 CFLAGS
1702 LDFLAGS
1703 LIBS
1704 CPPFLAGS
1706 CXXFLAGS
1709 XMKMF
1710 XML2_CFLAGS
1711 XML2_LIBS
1712 XSLT_CFLAGS
1713 XSLT_LIBS
1714 DBUS_CFLAGS
1715 DBUS_LIBS
1716 HAL_CFLAGS
1717 HAL_LIBS
1718 GNUTLS_CFLAGS
1719 GNUTLS_LIBS
1720 SANE_CFLAGS
1721 SANE_LIBS
1722 GPHOTO2_CFLAGS
1723 GPHOTO2_LIBS
1724 GPHOTO2_PORT_CFLAGS
1725 GPHOTO2_PORT_LIBS
1726 LCMS2_CFLAGS
1727 LCMS2_LIBS
1728 FREETYPE_CFLAGS
1729 FREETYPE_LIBS
1730 PULSE_CFLAGS
1731 PULSE_LIBS
1732 GSTREAMER_CFLAGS
1733 GSTREAMER_LIBS
1734 UDEV_CFLAGS
1735 UDEV_LIBS
1736 CAPI20_CFLAGS
1737 CAPI20_LIBS
1738 CUPS_CFLAGS
1739 CUPS_LIBS
1740 FONTCONFIG_CFLAGS
1741 FONTCONFIG_LIBS
1742 KRB5_CFLAGS
1743 KRB5_LIBS
1744 GSSAPI_CFLAGS
1745 GSSAPI_LIBS
1746 JPEG_CFLAGS
1747 JPEG_LIBS
1748 PNG_CFLAGS
1749 PNG_LIBS
1750 TIFF_CFLAGS
1751 TIFF_LIBS
1752 MPG123_CFLAGS
1753 MPG123_LIBS
1754 NETAPI_CFLAGS
1755 NETAPI_LIBS
1756 LDAP_CFLAGS
1757 LDAP_LIBS'
1760 # Initialize some variables set by options.
1761 ac_init_help=
1762 ac_init_version=false
1763 ac_unrecognized_opts=
1764 ac_unrecognized_sep=
1765 # The variables have the same names as the options, with
1766 # dashes changed to underlines.
1767 cache_file=/dev/null
1768 exec_prefix=NONE
1769 no_create=
1770 no_recursion=
1771 prefix=NONE
1772 program_prefix=NONE
1773 program_suffix=NONE
1774 program_transform_name=s,x,x,
1775 silent=
1776 site=
1777 srcdir=
1778 verbose=
1779 x_includes=NONE
1780 x_libraries=NONE
1782 # Installation directory options.
1783 # These are left unexpanded so users can "make install exec_prefix=/foo"
1784 # and all the variables that are supposed to be based on exec_prefix
1785 # by default will actually change.
1786 # Use braces instead of parens because sh, perl, etc. also accept them.
1787 # (The list follows the same order as the GNU Coding Standards.)
1788 bindir='${exec_prefix}/bin'
1789 sbindir='${exec_prefix}/sbin'
1790 libexecdir='${exec_prefix}/libexec'
1791 datarootdir='${prefix}/share'
1792 datadir='${datarootdir}'
1793 sysconfdir='${prefix}/etc'
1794 sharedstatedir='${prefix}/com'
1795 localstatedir='${prefix}/var'
1796 runstatedir='${localstatedir}/run'
1797 includedir='${prefix}/include'
1798 oldincludedir='/usr/include'
1799 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1800 infodir='${datarootdir}/info'
1801 htmldir='${docdir}'
1802 dvidir='${docdir}'
1803 pdfdir='${docdir}'
1804 psdir='${docdir}'
1805 libdir='${exec_prefix}/lib'
1806 localedir='${datarootdir}/locale'
1807 mandir='${datarootdir}/man'
1809 ac_prev=
1810 ac_dashdash=
1811 for ac_option
1813 # If the previous option needs an argument, assign it.
1814 if test -n "$ac_prev"; then
1815 eval $ac_prev=\$ac_option
1816 ac_prev=
1817 continue
1820 case $ac_option in
1821 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1822 *=) ac_optarg= ;;
1823 *) ac_optarg=yes ;;
1824 esac
1826 # Accept the important Cygnus configure options, so we can diagnose typos.
1828 case $ac_dashdash$ac_option in
1830 ac_dashdash=yes ;;
1832 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1833 ac_prev=bindir ;;
1834 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1835 bindir=$ac_optarg ;;
1837 -build | --build | --buil | --bui | --bu)
1838 ac_prev=build_alias ;;
1839 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1840 build_alias=$ac_optarg ;;
1842 -cache-file | --cache-file | --cache-fil | --cache-fi \
1843 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1844 ac_prev=cache_file ;;
1845 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1846 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1847 cache_file=$ac_optarg ;;
1849 --config-cache | -C)
1850 cache_file=config.cache ;;
1852 -datadir | --datadir | --datadi | --datad)
1853 ac_prev=datadir ;;
1854 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1855 datadir=$ac_optarg ;;
1857 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1858 | --dataroo | --dataro | --datar)
1859 ac_prev=datarootdir ;;
1860 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1861 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1862 datarootdir=$ac_optarg ;;
1864 -disable-* | --disable-*)
1865 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1866 # Reject names that are not valid shell variable names.
1867 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1868 as_fn_error $? "invalid feature name: $ac_useropt"
1869 ac_useropt_orig=$ac_useropt
1870 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1871 case $ac_user_opts in
1873 "enable_$ac_useropt"
1874 "*) ;;
1875 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1876 ac_unrecognized_sep=', ';;
1877 esac
1878 eval enable_$ac_useropt=no ;;
1880 -docdir | --docdir | --docdi | --doc | --do)
1881 ac_prev=docdir ;;
1882 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1883 docdir=$ac_optarg ;;
1885 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1886 ac_prev=dvidir ;;
1887 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1888 dvidir=$ac_optarg ;;
1890 -enable-* | --enable-*)
1891 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1892 # Reject names that are not valid shell variable names.
1893 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1894 as_fn_error $? "invalid feature name: $ac_useropt"
1895 ac_useropt_orig=$ac_useropt
1896 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1897 case $ac_user_opts in
1899 "enable_$ac_useropt"
1900 "*) ;;
1901 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1902 ac_unrecognized_sep=', ';;
1903 esac
1904 eval enable_$ac_useropt=\$ac_optarg ;;
1906 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1907 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1908 | --exec | --exe | --ex)
1909 ac_prev=exec_prefix ;;
1910 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1911 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1912 | --exec=* | --exe=* | --ex=*)
1913 exec_prefix=$ac_optarg ;;
1915 -gas | --gas | --ga | --g)
1916 # Obsolete; use --with-gas.
1917 with_gas=yes ;;
1919 -help | --help | --hel | --he | -h)
1920 ac_init_help=long ;;
1921 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1922 ac_init_help=recursive ;;
1923 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1924 ac_init_help=short ;;
1926 -host | --host | --hos | --ho)
1927 ac_prev=host_alias ;;
1928 -host=* | --host=* | --hos=* | --ho=*)
1929 host_alias=$ac_optarg ;;
1931 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1932 ac_prev=htmldir ;;
1933 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1934 | --ht=*)
1935 htmldir=$ac_optarg ;;
1937 -includedir | --includedir | --includedi | --included | --include \
1938 | --includ | --inclu | --incl | --inc)
1939 ac_prev=includedir ;;
1940 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1941 | --includ=* | --inclu=* | --incl=* | --inc=*)
1942 includedir=$ac_optarg ;;
1944 -infodir | --infodir | --infodi | --infod | --info | --inf)
1945 ac_prev=infodir ;;
1946 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1947 infodir=$ac_optarg ;;
1949 -libdir | --libdir | --libdi | --libd)
1950 ac_prev=libdir ;;
1951 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1952 libdir=$ac_optarg ;;
1954 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1955 | --libexe | --libex | --libe)
1956 ac_prev=libexecdir ;;
1957 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1958 | --libexe=* | --libex=* | --libe=*)
1959 libexecdir=$ac_optarg ;;
1961 -localedir | --localedir | --localedi | --localed | --locale)
1962 ac_prev=localedir ;;
1963 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1964 localedir=$ac_optarg ;;
1966 -localstatedir | --localstatedir | --localstatedi | --localstated \
1967 | --localstate | --localstat | --localsta | --localst | --locals)
1968 ac_prev=localstatedir ;;
1969 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1970 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1971 localstatedir=$ac_optarg ;;
1973 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1974 ac_prev=mandir ;;
1975 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1976 mandir=$ac_optarg ;;
1978 -nfp | --nfp | --nf)
1979 # Obsolete; use --without-fp.
1980 with_fp=no ;;
1982 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1983 | --no-cr | --no-c | -n)
1984 no_create=yes ;;
1986 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1987 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1988 no_recursion=yes ;;
1990 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1991 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1992 | --oldin | --oldi | --old | --ol | --o)
1993 ac_prev=oldincludedir ;;
1994 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1995 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1996 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1997 oldincludedir=$ac_optarg ;;
1999 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2000 ac_prev=prefix ;;
2001 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2002 prefix=$ac_optarg ;;
2004 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2005 | --program-pre | --program-pr | --program-p)
2006 ac_prev=program_prefix ;;
2007 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2008 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2009 program_prefix=$ac_optarg ;;
2011 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2012 | --program-suf | --program-su | --program-s)
2013 ac_prev=program_suffix ;;
2014 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2015 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2016 program_suffix=$ac_optarg ;;
2018 -program-transform-name | --program-transform-name \
2019 | --program-transform-nam | --program-transform-na \
2020 | --program-transform-n | --program-transform- \
2021 | --program-transform | --program-transfor \
2022 | --program-transfo | --program-transf \
2023 | --program-trans | --program-tran \
2024 | --progr-tra | --program-tr | --program-t)
2025 ac_prev=program_transform_name ;;
2026 -program-transform-name=* | --program-transform-name=* \
2027 | --program-transform-nam=* | --program-transform-na=* \
2028 | --program-transform-n=* | --program-transform-=* \
2029 | --program-transform=* | --program-transfor=* \
2030 | --program-transfo=* | --program-transf=* \
2031 | --program-trans=* | --program-tran=* \
2032 | --progr-tra=* | --program-tr=* | --program-t=*)
2033 program_transform_name=$ac_optarg ;;
2035 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2036 ac_prev=pdfdir ;;
2037 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2038 pdfdir=$ac_optarg ;;
2040 -psdir | --psdir | --psdi | --psd | --ps)
2041 ac_prev=psdir ;;
2042 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2043 psdir=$ac_optarg ;;
2045 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2046 | -silent | --silent | --silen | --sile | --sil)
2047 silent=yes ;;
2049 -runstatedir | --runstatedir | --runstatedi | --runstated \
2050 | --runstate | --runstat | --runsta | --runst | --runs \
2051 | --run | --ru | --r)
2052 ac_prev=runstatedir ;;
2053 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2054 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2055 | --run=* | --ru=* | --r=*)
2056 runstatedir=$ac_optarg ;;
2058 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2059 ac_prev=sbindir ;;
2060 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2061 | --sbi=* | --sb=*)
2062 sbindir=$ac_optarg ;;
2064 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2065 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2066 | --sharedst | --shareds | --shared | --share | --shar \
2067 | --sha | --sh)
2068 ac_prev=sharedstatedir ;;
2069 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2070 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2071 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2072 | --sha=* | --sh=*)
2073 sharedstatedir=$ac_optarg ;;
2075 -site | --site | --sit)
2076 ac_prev=site ;;
2077 -site=* | --site=* | --sit=*)
2078 site=$ac_optarg ;;
2080 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2081 ac_prev=srcdir ;;
2082 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2083 srcdir=$ac_optarg ;;
2085 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2086 | --syscon | --sysco | --sysc | --sys | --sy)
2087 ac_prev=sysconfdir ;;
2088 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2089 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2090 sysconfdir=$ac_optarg ;;
2092 -target | --target | --targe | --targ | --tar | --ta | --t)
2093 ac_prev=target_alias ;;
2094 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2095 target_alias=$ac_optarg ;;
2097 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2098 verbose=yes ;;
2100 -version | --version | --versio | --versi | --vers | -V)
2101 ac_init_version=: ;;
2103 -with-* | --with-*)
2104 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2105 # Reject names that are not valid shell variable names.
2106 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2107 as_fn_error $? "invalid package name: $ac_useropt"
2108 ac_useropt_orig=$ac_useropt
2109 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2110 case $ac_user_opts in
2112 "with_$ac_useropt"
2113 "*) ;;
2114 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2115 ac_unrecognized_sep=', ';;
2116 esac
2117 eval with_$ac_useropt=\$ac_optarg ;;
2119 -without-* | --without-*)
2120 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2121 # Reject names that are not valid shell variable names.
2122 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2123 as_fn_error $? "invalid package name: $ac_useropt"
2124 ac_useropt_orig=$ac_useropt
2125 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2126 case $ac_user_opts in
2128 "with_$ac_useropt"
2129 "*) ;;
2130 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2131 ac_unrecognized_sep=', ';;
2132 esac
2133 eval with_$ac_useropt=no ;;
2135 --x)
2136 # Obsolete; use --with-x.
2137 with_x=yes ;;
2139 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2140 | --x-incl | --x-inc | --x-in | --x-i)
2141 ac_prev=x_includes ;;
2142 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2143 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2144 x_includes=$ac_optarg ;;
2146 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2147 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2148 ac_prev=x_libraries ;;
2149 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2150 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2151 x_libraries=$ac_optarg ;;
2153 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2154 Try \`$0 --help' for more information"
2157 *=*)
2158 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2159 # Reject names that are not valid shell variable names.
2160 case $ac_envvar in #(
2161 '' | [0-9]* | *[!_$as_cr_alnum]* )
2162 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2163 esac
2164 eval $ac_envvar=\$ac_optarg
2165 export $ac_envvar ;;
2168 # FIXME: should be removed in autoconf 3.0.
2169 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2170 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2171 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2172 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2175 esac
2176 done
2178 if test -n "$ac_prev"; then
2179 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2180 as_fn_error $? "missing argument to $ac_option"
2183 if test -n "$ac_unrecognized_opts"; then
2184 case $enable_option_checking in
2185 no) ;;
2186 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2187 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2188 esac
2191 # Check all directory arguments for consistency.
2192 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2193 datadir sysconfdir sharedstatedir localstatedir includedir \
2194 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2195 libdir localedir mandir runstatedir
2197 eval ac_val=\$$ac_var
2198 # Remove trailing slashes.
2199 case $ac_val in
2200 */ )
2201 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2202 eval $ac_var=\$ac_val;;
2203 esac
2204 # Be sure to have absolute directory names.
2205 case $ac_val in
2206 [\\/$]* | ?:[\\/]* ) continue;;
2207 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2208 esac
2209 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2210 done
2212 # There might be people who depend on the old broken behavior: `$host'
2213 # used to hold the argument of --host etc.
2214 # FIXME: To remove some day.
2215 build=$build_alias
2216 host=$host_alias
2217 target=$target_alias
2219 # FIXME: To remove some day.
2220 if test "x$host_alias" != x; then
2221 if test "x$build_alias" = x; then
2222 cross_compiling=maybe
2223 elif test "x$build_alias" != "x$host_alias"; then
2224 cross_compiling=yes
2228 ac_tool_prefix=
2229 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2231 test "$silent" = yes && exec 6>/dev/null
2234 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2235 ac_ls_di=`ls -di .` &&
2236 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2237 as_fn_error $? "working directory cannot be determined"
2238 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2239 as_fn_error $? "pwd does not report name of working directory"
2242 # Find the source files, if location was not specified.
2243 if test -z "$srcdir"; then
2244 ac_srcdir_defaulted=yes
2245 # Try the directory containing this script, then the parent directory.
2246 ac_confdir=`$as_dirname -- "$as_myself" ||
2247 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2248 X"$as_myself" : 'X\(//\)[^/]' \| \
2249 X"$as_myself" : 'X\(//\)$' \| \
2250 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2251 $as_echo X"$as_myself" |
2252 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2253 s//\1/
2256 /^X\(\/\/\)[^/].*/{
2257 s//\1/
2260 /^X\(\/\/\)$/{
2261 s//\1/
2264 /^X\(\/\).*/{
2265 s//\1/
2268 s/.*/./; q'`
2269 srcdir=$ac_confdir
2270 if test ! -r "$srcdir/$ac_unique_file"; then
2271 srcdir=..
2273 else
2274 ac_srcdir_defaulted=no
2276 if test ! -r "$srcdir/$ac_unique_file"; then
2277 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2278 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2280 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2281 ac_abs_confdir=`(
2282 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2283 pwd)`
2284 # When building in place, set srcdir=.
2285 if test "$ac_abs_confdir" = "$ac_pwd"; then
2286 srcdir=.
2288 # Remove unnecessary trailing slashes from srcdir.
2289 # Double slashes in file names in object file debugging info
2290 # mess up M-x gdb in Emacs.
2291 case $srcdir in
2292 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2293 esac
2294 for ac_var in $ac_precious_vars; do
2295 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2296 eval ac_env_${ac_var}_value=\$${ac_var}
2297 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2298 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2299 done
2302 # Report the --help message.
2304 if test "$ac_init_help" = "long"; then
2305 # Omit some internal or obsolete options to make the list less imposing.
2306 # This message is too long to be a string in the A/UX 3.1 sh.
2307 cat <<_ACEOF
2308 \`configure' configures Wine 3.2 to adapt to many kinds of systems.
2310 Usage: $0 [OPTION]... [VAR=VALUE]...
2312 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2313 VAR=VALUE. See below for descriptions of some of the useful variables.
2315 Defaults for the options are specified in brackets.
2317 Configuration:
2318 -h, --help display this help and exit
2319 --help=short display options specific to this package
2320 --help=recursive display the short help of all the included packages
2321 -V, --version display version information and exit
2322 -q, --quiet, --silent do not print \`checking ...' messages
2323 --cache-file=FILE cache test results in FILE [disabled]
2324 -C, --config-cache alias for \`--cache-file=config.cache'
2325 -n, --no-create do not create output files
2326 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2328 Installation directories:
2329 --prefix=PREFIX install architecture-independent files in PREFIX
2330 [$ac_default_prefix]
2331 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2332 [PREFIX]
2334 By default, \`make install' will install all the files in
2335 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2336 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2337 for instance \`--prefix=\$HOME'.
2339 For better control, use the options below.
2341 Fine tuning of the installation directories:
2342 --bindir=DIR user executables [EPREFIX/bin]
2343 --sbindir=DIR system admin executables [EPREFIX/sbin]
2344 --libexecdir=DIR program executables [EPREFIX/libexec]
2345 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2346 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2347 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2348 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2349 --libdir=DIR object code libraries [EPREFIX/lib]
2350 --includedir=DIR C header files [PREFIX/include]
2351 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2352 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2353 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2354 --infodir=DIR info documentation [DATAROOTDIR/info]
2355 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2356 --mandir=DIR man documentation [DATAROOTDIR/man]
2357 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2358 --htmldir=DIR html documentation [DOCDIR]
2359 --dvidir=DIR dvi documentation [DOCDIR]
2360 --pdfdir=DIR pdf documentation [DOCDIR]
2361 --psdir=DIR ps documentation [DOCDIR]
2362 _ACEOF
2364 cat <<\_ACEOF
2366 X features:
2367 --x-includes=DIR X include files are in DIR
2368 --x-libraries=DIR X library files are in DIR
2370 System types:
2371 --build=BUILD configure for building on BUILD [guessed]
2372 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2373 _ACEOF
2376 if test -n "$ac_init_help"; then
2377 case $ac_init_help in
2378 short | recursive ) echo "Configuration of Wine 3.2:";;
2379 esac
2380 cat <<\_ACEOF
2382 Optional Features:
2383 --disable-option-checking ignore unrecognized --enable/--with options
2384 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2385 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2386 --disable-win16 do not include Win16 support
2387 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2388 binaries)
2389 --disable-tests do not build the regression tests
2390 --enable-maintainer-mode
2391 enable maintainer-specific build rules
2392 --disable-largefile omit support for large files
2394 Optional Packages:
2395 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2396 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2397 --without-alsa do not use the Alsa sound support
2398 --without-capi do not use CAPI (ISDN support)
2399 --without-cms do not use CMS (color management support)
2400 --without-coreaudio do not use the CoreAudio sound support
2401 --without-cups do not use CUPS
2402 --without-curses do not use (n)curses
2403 --without-dbus do not use DBus (dynamic device support)
2404 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2405 --without-fontconfig do not use fontconfig
2406 --without-freetype do not use the FreeType library
2407 --without-gettext do not use gettext
2408 --with-gettextpo use the GetTextPO library to rebuild po files
2409 --without-gphoto do not use gphoto (Digital Camera support)
2410 --without-glu do not use the GLU library
2411 --without-gnutls do not use GnuTLS (schannel support)
2412 --without-gsm do not use libgsm (GSM 06.10 codec support)
2413 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2414 --without-gstreamer do not use GStreamer (codecs support)
2415 --without-hal do not use HAL (dynamic device support)
2416 --without-jpeg do not use JPEG
2417 --without-krb5 do not use krb5 (Kerberos)
2418 --without-ldap do not use LDAP
2419 --without-mpg123 do not use the mpg123 library
2420 --without-netapi do not use the Samba NetAPI library
2421 --without-openal do not use OpenAL
2422 --without-opencl do not use OpenCL
2423 --without-opengl do not use OpenGL
2424 --without-osmesa do not use the OSMesa library
2425 --without-oss do not use the OSS sound support
2426 --without-pcap do not use the Packet Capture library
2427 --without-png do not use PNG
2428 --without-pthread do not use the pthread library
2429 --without-pulse do not use PulseAudio sound support
2430 --without-sane do not use SANE (scanner support)
2431 --without-tiff do not use TIFF
2432 --without-udev do not use udev (plug and play support)
2433 --without-v4l do not use v4l1 (v4l support)
2434 --without-xcomposite do not use the Xcomposite extension
2435 --without-xcursor do not use the Xcursor extension
2436 --without-xfixes do not use Xfixes for clipboard change notifications
2437 --without-xinerama do not use Xinerama (multi-monitor support)
2438 --without-xinput do not use the Xinput extension
2439 --without-xinput2 do not use the Xinput 2 extension
2440 --without-xml do not use XML
2441 --without-xrandr do not use Xrandr (resolution changes)
2442 --without-xrender do not use the Xrender extension
2443 --without-xshape do not use the Xshape extension
2444 --without-xshm do not use XShm (shared memory extension)
2445 --without-xslt do not use XSLT
2446 --without-xxf86vm do not use XFree video mode extension
2447 --without-zlib do not use Zlib (data compression)
2448 --with-wine-tools=DIR use Wine tools from directory DIR
2449 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2450 --with-x use the X Window System
2452 Some influential environment variables:
2453 CC C compiler command
2454 CFLAGS C compiler flags
2455 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2456 nonstandard directory <lib dir>
2457 LIBS libraries to pass to the linker, e.g. -l<library>
2458 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2459 you have headers in a nonstandard directory <include dir>
2460 CXX C++ compiler command
2461 CXXFLAGS C++ compiler flags
2462 CPP C preprocessor
2463 XMKMF Path to xmkmf, Makefile generator for X Window System
2464 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2465 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2466 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2467 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2468 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2469 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2470 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2471 HAL_LIBS Linker flags for hal, overriding pkg-config
2472 GNUTLS_CFLAGS
2473 C compiler flags for gnutls, overriding pkg-config
2474 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2475 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2476 SANE_LIBS Linker flags for libsane, overriding pkg-config
2477 GPHOTO2_CFLAGS
2478 C compiler flags for libgphoto2, overriding pkg-config
2479 GPHOTO2_LIBS
2480 Linker flags for libgphoto2, overriding pkg-config
2481 GPHOTO2_PORT_CFLAGS
2482 C compiler flags for libgphoto2_port, overriding pkg-config
2483 GPHOTO2_PORT_LIBS
2484 Linker flags for libgphoto2_port, overriding pkg-config
2485 LCMS2_CFLAGS
2486 C compiler flags for lcms2, overriding pkg-config
2487 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2488 FREETYPE_CFLAGS
2489 C compiler flags for freetype2, overriding pkg-config
2490 FREETYPE_LIBS
2491 Linker flags for freetype2, overriding pkg-config
2492 PULSE_CFLAGS
2493 C compiler flags for libpulse, overriding pkg-config
2494 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2495 GSTREAMER_CFLAGS
2496 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2497 gstreamer-audio-1.0, overriding pkg-config
2498 GSTREAMER_LIBS
2499 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2500 gstreamer-audio-1.0, overriding pkg-config
2501 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2502 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2503 CAPI20_CFLAGS
2504 C compiler flags for capi20, overriding pkg-config
2505 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2506 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2507 CUPS_LIBS Linker flags for cups, overriding pkg-config
2508 FONTCONFIG_CFLAGS
2509 C compiler flags for fontconfig, overriding pkg-config
2510 FONTCONFIG_LIBS
2511 Linker flags for fontconfig, overriding pkg-config
2512 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2513 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2514 GSSAPI_CFLAGS
2515 C compiler flags for krb5-gssapi, overriding pkg-config
2516 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2517 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2518 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2519 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2520 PNG_LIBS Linker flags for libpng, overriding pkg-config
2521 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2522 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2523 MPG123_CFLAGS
2524 C compiler flags for libmpg123, overriding pkg-config
2525 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2526 NETAPI_CFLAGS
2527 C compiler flags for netapi, overriding pkg-config
2528 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2529 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2530 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2532 Use these variables to override the choices made by `configure' or to help
2533 it to find libraries and programs with nonstandard names/locations.
2535 Report bugs to <wine-devel@winehq.org>.
2536 Wine home page: <https://www.winehq.org>.
2537 _ACEOF
2538 ac_status=$?
2541 if test "$ac_init_help" = "recursive"; then
2542 # If there are subdirs, report their specific --help.
2543 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2544 test -d "$ac_dir" ||
2545 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2546 continue
2547 ac_builddir=.
2549 case "$ac_dir" in
2550 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2552 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2553 # A ".." for each directory in $ac_dir_suffix.
2554 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2555 case $ac_top_builddir_sub in
2556 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2557 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2558 esac ;;
2559 esac
2560 ac_abs_top_builddir=$ac_pwd
2561 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2562 # for backward compatibility:
2563 ac_top_builddir=$ac_top_build_prefix
2565 case $srcdir in
2566 .) # We are building in place.
2567 ac_srcdir=.
2568 ac_top_srcdir=$ac_top_builddir_sub
2569 ac_abs_top_srcdir=$ac_pwd ;;
2570 [\\/]* | ?:[\\/]* ) # Absolute name.
2571 ac_srcdir=$srcdir$ac_dir_suffix;
2572 ac_top_srcdir=$srcdir
2573 ac_abs_top_srcdir=$srcdir ;;
2574 *) # Relative name.
2575 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2576 ac_top_srcdir=$ac_top_build_prefix$srcdir
2577 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2578 esac
2579 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2581 cd "$ac_dir" || { ac_status=$?; continue; }
2582 # Check for guested configure.
2583 if test -f "$ac_srcdir/configure.gnu"; then
2584 echo &&
2585 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2586 elif test -f "$ac_srcdir/configure"; then
2587 echo &&
2588 $SHELL "$ac_srcdir/configure" --help=recursive
2589 else
2590 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2591 fi || ac_status=$?
2592 cd "$ac_pwd" || { ac_status=$?; break; }
2593 done
2596 test -n "$ac_init_help" && exit $ac_status
2597 if $ac_init_version; then
2598 cat <<\_ACEOF
2599 Wine configure 3.2
2600 generated by GNU Autoconf 2.69
2602 Copyright (C) 2012 Free Software Foundation, Inc.
2603 This configure script is free software; the Free Software Foundation
2604 gives unlimited permission to copy, distribute and modify it.
2605 _ACEOF
2606 exit
2609 ## ------------------------ ##
2610 ## Autoconf initialization. ##
2611 ## ------------------------ ##
2613 # ac_fn_c_try_compile LINENO
2614 # --------------------------
2615 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2616 ac_fn_c_try_compile ()
2618 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2619 rm -f conftest.$ac_objext
2620 if { { ac_try="$ac_compile"
2621 case "(($ac_try" in
2622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2623 *) ac_try_echo=$ac_try;;
2624 esac
2625 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2626 $as_echo "$ac_try_echo"; } >&5
2627 (eval "$ac_compile") 2>conftest.err
2628 ac_status=$?
2629 if test -s conftest.err; then
2630 grep -v '^ *+' conftest.err >conftest.er1
2631 cat conftest.er1 >&5
2632 mv -f conftest.er1 conftest.err
2634 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2635 test $ac_status = 0; } && {
2636 test -z "$ac_c_werror_flag" ||
2637 test ! -s conftest.err
2638 } && test -s conftest.$ac_objext; then :
2639 ac_retval=0
2640 else
2641 $as_echo "$as_me: failed program was:" >&5
2642 sed 's/^/| /' conftest.$ac_ext >&5
2644 ac_retval=1
2646 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2647 as_fn_set_status $ac_retval
2649 } # ac_fn_c_try_compile
2651 # ac_fn_cxx_try_compile LINENO
2652 # ----------------------------
2653 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2654 ac_fn_cxx_try_compile ()
2656 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2657 rm -f conftest.$ac_objext
2658 if { { ac_try="$ac_compile"
2659 case "(($ac_try" in
2660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2661 *) ac_try_echo=$ac_try;;
2662 esac
2663 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2664 $as_echo "$ac_try_echo"; } >&5
2665 (eval "$ac_compile") 2>conftest.err
2666 ac_status=$?
2667 if test -s conftest.err; then
2668 grep -v '^ *+' conftest.err >conftest.er1
2669 cat conftest.er1 >&5
2670 mv -f conftest.er1 conftest.err
2672 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2673 test $ac_status = 0; } && {
2674 test -z "$ac_cxx_werror_flag" ||
2675 test ! -s conftest.err
2676 } && test -s conftest.$ac_objext; then :
2677 ac_retval=0
2678 else
2679 $as_echo "$as_me: failed program was:" >&5
2680 sed 's/^/| /' conftest.$ac_ext >&5
2682 ac_retval=1
2684 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2685 as_fn_set_status $ac_retval
2687 } # ac_fn_cxx_try_compile
2689 # ac_fn_c_try_link LINENO
2690 # -----------------------
2691 # Try to link conftest.$ac_ext, and return whether this succeeded.
2692 ac_fn_c_try_link ()
2694 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2695 rm -f conftest.$ac_objext conftest$ac_exeext
2696 if { { ac_try="$ac_link"
2697 case "(($ac_try" in
2698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2699 *) ac_try_echo=$ac_try;;
2700 esac
2701 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2702 $as_echo "$ac_try_echo"; } >&5
2703 (eval "$ac_link") 2>conftest.err
2704 ac_status=$?
2705 if test -s conftest.err; then
2706 grep -v '^ *+' conftest.err >conftest.er1
2707 cat conftest.er1 >&5
2708 mv -f conftest.er1 conftest.err
2710 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2711 test $ac_status = 0; } && {
2712 test -z "$ac_c_werror_flag" ||
2713 test ! -s conftest.err
2714 } && test -s conftest$ac_exeext && {
2715 test "$cross_compiling" = yes ||
2716 test -x conftest$ac_exeext
2717 }; then :
2718 ac_retval=0
2719 else
2720 $as_echo "$as_me: failed program was:" >&5
2721 sed 's/^/| /' conftest.$ac_ext >&5
2723 ac_retval=1
2725 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2726 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2727 # interfere with the next link command; also delete a directory that is
2728 # left behind by Apple's compiler. We do this before executing the actions.
2729 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2730 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2731 as_fn_set_status $ac_retval
2733 } # ac_fn_c_try_link
2735 # ac_fn_c_try_cpp LINENO
2736 # ----------------------
2737 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2738 ac_fn_c_try_cpp ()
2740 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2741 if { { ac_try="$ac_cpp conftest.$ac_ext"
2742 case "(($ac_try" in
2743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2744 *) ac_try_echo=$ac_try;;
2745 esac
2746 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2747 $as_echo "$ac_try_echo"; } >&5
2748 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2749 ac_status=$?
2750 if test -s conftest.err; then
2751 grep -v '^ *+' conftest.err >conftest.er1
2752 cat conftest.er1 >&5
2753 mv -f conftest.er1 conftest.err
2755 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2756 test $ac_status = 0; } > conftest.i && {
2757 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2758 test ! -s conftest.err
2759 }; then :
2760 ac_retval=0
2761 else
2762 $as_echo "$as_me: failed program was:" >&5
2763 sed 's/^/| /' conftest.$ac_ext >&5
2765 ac_retval=1
2767 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2768 as_fn_set_status $ac_retval
2770 } # ac_fn_c_try_cpp
2772 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2773 # -------------------------------------------------------
2774 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2775 # the include files in INCLUDES and setting the cache variable VAR
2776 # accordingly.
2777 ac_fn_c_check_header_mongrel ()
2779 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2780 if eval \${$3+:} false; then :
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2782 $as_echo_n "checking for $2... " >&6; }
2783 if eval \${$3+:} false; then :
2784 $as_echo_n "(cached) " >&6
2786 eval ac_res=\$$3
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2788 $as_echo "$ac_res" >&6; }
2789 else
2790 # Is the header compilable?
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2792 $as_echo_n "checking $2 usability... " >&6; }
2793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2794 /* end confdefs.h. */
2796 #include <$2>
2797 _ACEOF
2798 if ac_fn_c_try_compile "$LINENO"; then :
2799 ac_header_compiler=yes
2800 else
2801 ac_header_compiler=no
2803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2805 $as_echo "$ac_header_compiler" >&6; }
2807 # Is the header present?
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2809 $as_echo_n "checking $2 presence... " >&6; }
2810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2811 /* end confdefs.h. */
2812 #include <$2>
2813 _ACEOF
2814 if ac_fn_c_try_cpp "$LINENO"; then :
2815 ac_header_preproc=yes
2816 else
2817 ac_header_preproc=no
2819 rm -f conftest.err conftest.i conftest.$ac_ext
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2821 $as_echo "$ac_header_preproc" >&6; }
2823 # So? What about this header?
2824 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2825 yes:no: )
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2827 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2829 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2831 no:yes:* )
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2833 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2835 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2837 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2839 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2840 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2841 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2842 ( $as_echo "## ------------------------------------ ##
2843 ## Report this to wine-devel@winehq.org ##
2844 ## ------------------------------------ ##"
2845 ) | sed "s/^/$as_me: WARNING: /" >&2
2847 esac
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2849 $as_echo_n "checking for $2... " >&6; }
2850 if eval \${$3+:} false; then :
2851 $as_echo_n "(cached) " >&6
2852 else
2853 eval "$3=\$ac_header_compiler"
2855 eval ac_res=\$$3
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2857 $as_echo "$ac_res" >&6; }
2859 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2861 } # ac_fn_c_check_header_mongrel
2863 # ac_fn_c_try_run LINENO
2864 # ----------------------
2865 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2866 # that executables *can* be run.
2867 ac_fn_c_try_run ()
2869 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2870 if { { ac_try="$ac_link"
2871 case "(($ac_try" in
2872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2873 *) ac_try_echo=$ac_try;;
2874 esac
2875 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2876 $as_echo "$ac_try_echo"; } >&5
2877 (eval "$ac_link") 2>&5
2878 ac_status=$?
2879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2880 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2881 { { case "(($ac_try" in
2882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2883 *) ac_try_echo=$ac_try;;
2884 esac
2885 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2886 $as_echo "$ac_try_echo"; } >&5
2887 (eval "$ac_try") 2>&5
2888 ac_status=$?
2889 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2890 test $ac_status = 0; }; }; then :
2891 ac_retval=0
2892 else
2893 $as_echo "$as_me: program exited with status $ac_status" >&5
2894 $as_echo "$as_me: failed program was:" >&5
2895 sed 's/^/| /' conftest.$ac_ext >&5
2897 ac_retval=$ac_status
2899 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2900 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2901 as_fn_set_status $ac_retval
2903 } # ac_fn_c_try_run
2905 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2906 # -------------------------------------------------------
2907 # Tests whether HEADER exists and can be compiled using the include files in
2908 # INCLUDES, setting the cache variable VAR accordingly.
2909 ac_fn_c_check_header_compile ()
2911 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2913 $as_echo_n "checking for $2... " >&6; }
2914 if eval \${$3+:} false; then :
2915 $as_echo_n "(cached) " >&6
2916 else
2917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2918 /* end confdefs.h. */
2920 #include <$2>
2921 _ACEOF
2922 if ac_fn_c_try_compile "$LINENO"; then :
2923 eval "$3=yes"
2924 else
2925 eval "$3=no"
2927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2929 eval ac_res=\$$3
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2931 $as_echo "$ac_res" >&6; }
2932 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2934 } # ac_fn_c_check_header_compile
2936 # ac_fn_c_check_func LINENO FUNC VAR
2937 # ----------------------------------
2938 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2939 ac_fn_c_check_func ()
2941 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2943 $as_echo_n "checking for $2... " >&6; }
2944 if eval \${$3+:} false; then :
2945 $as_echo_n "(cached) " >&6
2946 else
2947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2948 /* end confdefs.h. */
2949 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2950 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2951 #define $2 innocuous_$2
2953 /* System header to define __stub macros and hopefully few prototypes,
2954 which can conflict with char $2 (); below.
2955 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2956 <limits.h> exists even on freestanding compilers. */
2958 #ifdef __STDC__
2959 # include <limits.h>
2960 #else
2961 # include <assert.h>
2962 #endif
2964 #undef $2
2966 /* Override any GCC internal prototype to avoid an error.
2967 Use char because int might match the return type of a GCC
2968 builtin and then its argument prototype would still apply. */
2969 #ifdef __cplusplus
2970 extern "C"
2971 #endif
2972 char $2 ();
2973 /* The GNU C library defines this for functions which it implements
2974 to always fail with ENOSYS. Some functions are actually named
2975 something starting with __ and the normal name is an alias. */
2976 #if defined __stub_$2 || defined __stub___$2
2977 choke me
2978 #endif
2981 main ()
2983 return $2 ();
2985 return 0;
2987 _ACEOF
2988 if ac_fn_c_try_link "$LINENO"; then :
2989 eval "$3=yes"
2990 else
2991 eval "$3=no"
2993 rm -f core conftest.err conftest.$ac_objext \
2994 conftest$ac_exeext conftest.$ac_ext
2996 eval ac_res=\$$3
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2998 $as_echo "$ac_res" >&6; }
2999 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3001 } # ac_fn_c_check_func
3003 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3004 # ----------------------------------------------------
3005 # Tries to find if the field MEMBER exists in type AGGR, after including
3006 # INCLUDES, setting cache variable VAR accordingly.
3007 ac_fn_c_check_member ()
3009 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3011 $as_echo_n "checking for $2.$3... " >&6; }
3012 if eval \${$4+:} false; then :
3013 $as_echo_n "(cached) " >&6
3014 else
3015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3016 /* end confdefs.h. */
3019 main ()
3021 static $2 ac_aggr;
3022 if (ac_aggr.$3)
3023 return 0;
3025 return 0;
3027 _ACEOF
3028 if ac_fn_c_try_compile "$LINENO"; then :
3029 eval "$4=yes"
3030 else
3031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3032 /* end confdefs.h. */
3035 main ()
3037 static $2 ac_aggr;
3038 if (sizeof ac_aggr.$3)
3039 return 0;
3041 return 0;
3043 _ACEOF
3044 if ac_fn_c_try_compile "$LINENO"; then :
3045 eval "$4=yes"
3046 else
3047 eval "$4=no"
3049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3053 eval ac_res=\$$4
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3055 $as_echo "$ac_res" >&6; }
3056 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3058 } # ac_fn_c_check_member
3060 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3061 # -------------------------------------------
3062 # Tests whether TYPE exists after having included INCLUDES, setting cache
3063 # variable VAR accordingly.
3064 ac_fn_c_check_type ()
3066 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3068 $as_echo_n "checking for $2... " >&6; }
3069 if eval \${$3+:} false; then :
3070 $as_echo_n "(cached) " >&6
3071 else
3072 eval "$3=no"
3073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3074 /* end confdefs.h. */
3077 main ()
3079 if (sizeof ($2))
3080 return 0;
3082 return 0;
3084 _ACEOF
3085 if ac_fn_c_try_compile "$LINENO"; then :
3086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3087 /* end confdefs.h. */
3090 main ()
3092 if (sizeof (($2)))
3093 return 0;
3095 return 0;
3097 _ACEOF
3098 if ac_fn_c_try_compile "$LINENO"; then :
3100 else
3101 eval "$3=yes"
3103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3107 eval ac_res=\$$3
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3109 $as_echo "$ac_res" >&6; }
3110 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3112 } # ac_fn_c_check_type
3113 cat >config.log <<_ACEOF
3114 This file contains any messages produced by compilers while
3115 running configure, to aid debugging if configure makes a mistake.
3117 It was created by Wine $as_me 3.2, which was
3118 generated by GNU Autoconf 2.69. Invocation command line was
3120 $ $0 $@
3122 _ACEOF
3123 exec 5>>config.log
3125 cat <<_ASUNAME
3126 ## --------- ##
3127 ## Platform. ##
3128 ## --------- ##
3130 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3131 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3132 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3133 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3134 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3136 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3137 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3139 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3140 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3141 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3142 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3143 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3144 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3145 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3147 _ASUNAME
3149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3150 for as_dir in $PATH
3152 IFS=$as_save_IFS
3153 test -z "$as_dir" && as_dir=.
3154 $as_echo "PATH: $as_dir"
3155 done
3156 IFS=$as_save_IFS
3158 } >&5
3160 cat >&5 <<_ACEOF
3163 ## ----------- ##
3164 ## Core tests. ##
3165 ## ----------- ##
3167 _ACEOF
3170 # Keep a trace of the command line.
3171 # Strip out --no-create and --no-recursion so they do not pile up.
3172 # Strip out --silent because we don't want to record it for future runs.
3173 # Also quote any args containing shell meta-characters.
3174 # Make two passes to allow for proper duplicate-argument suppression.
3175 ac_configure_args=
3176 ac_configure_args0=
3177 ac_configure_args1=
3178 ac_must_keep_next=false
3179 for ac_pass in 1 2
3181 for ac_arg
3183 case $ac_arg in
3184 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3185 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3186 | -silent | --silent | --silen | --sile | --sil)
3187 continue ;;
3188 *\'*)
3189 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3190 esac
3191 case $ac_pass in
3192 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3194 as_fn_append ac_configure_args1 " '$ac_arg'"
3195 if test $ac_must_keep_next = true; then
3196 ac_must_keep_next=false # Got value, back to normal.
3197 else
3198 case $ac_arg in
3199 *=* | --config-cache | -C | -disable-* | --disable-* \
3200 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3201 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3202 | -with-* | --with-* | -without-* | --without-* | --x)
3203 case "$ac_configure_args0 " in
3204 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3205 esac
3207 -* ) ac_must_keep_next=true ;;
3208 esac
3210 as_fn_append ac_configure_args " '$ac_arg'"
3212 esac
3213 done
3214 done
3215 { ac_configure_args0=; unset ac_configure_args0;}
3216 { ac_configure_args1=; unset ac_configure_args1;}
3218 # When interrupted or exit'd, cleanup temporary files, and complete
3219 # config.log. We remove comments because anyway the quotes in there
3220 # would cause problems or look ugly.
3221 # WARNING: Use '\'' to represent an apostrophe within the trap.
3222 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3223 trap 'exit_status=$?
3224 # Save into config.log some information that might help in debugging.
3226 echo
3228 $as_echo "## ---------------- ##
3229 ## Cache variables. ##
3230 ## ---------------- ##"
3231 echo
3232 # The following way of writing the cache mishandles newlines in values,
3234 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3235 eval ac_val=\$$ac_var
3236 case $ac_val in #(
3237 *${as_nl}*)
3238 case $ac_var in #(
3239 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3240 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3241 esac
3242 case $ac_var in #(
3243 _ | IFS | as_nl) ;; #(
3244 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3245 *) { eval $ac_var=; unset $ac_var;} ;;
3246 esac ;;
3247 esac
3248 done
3249 (set) 2>&1 |
3250 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3251 *${as_nl}ac_space=\ *)
3252 sed -n \
3253 "s/'\''/'\''\\\\'\'''\''/g;
3254 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3255 ;; #(
3257 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3259 esac |
3260 sort
3262 echo
3264 $as_echo "## ----------------- ##
3265 ## Output variables. ##
3266 ## ----------------- ##"
3267 echo
3268 for ac_var in $ac_subst_vars
3270 eval ac_val=\$$ac_var
3271 case $ac_val in
3272 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3273 esac
3274 $as_echo "$ac_var='\''$ac_val'\''"
3275 done | sort
3276 echo
3278 if test -n "$ac_subst_files"; then
3279 $as_echo "## ------------------- ##
3280 ## File substitutions. ##
3281 ## ------------------- ##"
3282 echo
3283 for ac_var in $ac_subst_files
3285 eval ac_val=\$$ac_var
3286 case $ac_val in
3287 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3288 esac
3289 $as_echo "$ac_var='\''$ac_val'\''"
3290 done | sort
3291 echo
3294 if test -s confdefs.h; then
3295 $as_echo "## ----------- ##
3296 ## confdefs.h. ##
3297 ## ----------- ##"
3298 echo
3299 cat confdefs.h
3300 echo
3302 test "$ac_signal" != 0 &&
3303 $as_echo "$as_me: caught signal $ac_signal"
3304 $as_echo "$as_me: exit $exit_status"
3305 } >&5
3306 rm -f core *.core core.conftest.* &&
3307 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3308 exit $exit_status
3310 for ac_signal in 1 2 13 15; do
3311 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3312 done
3313 ac_signal=0
3315 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3316 rm -f -r conftest* confdefs.h
3318 $as_echo "/* confdefs.h */" > confdefs.h
3320 # Predefined preprocessor variables.
3322 cat >>confdefs.h <<_ACEOF
3323 #define PACKAGE_NAME "$PACKAGE_NAME"
3324 _ACEOF
3326 cat >>confdefs.h <<_ACEOF
3327 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3328 _ACEOF
3330 cat >>confdefs.h <<_ACEOF
3331 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3332 _ACEOF
3334 cat >>confdefs.h <<_ACEOF
3335 #define PACKAGE_STRING "$PACKAGE_STRING"
3336 _ACEOF
3338 cat >>confdefs.h <<_ACEOF
3339 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3340 _ACEOF
3342 cat >>confdefs.h <<_ACEOF
3343 #define PACKAGE_URL "$PACKAGE_URL"
3344 _ACEOF
3347 # Let the site file select an alternate cache file if it wants to.
3348 # Prefer an explicitly selected file to automatically selected ones.
3349 ac_site_file1=NONE
3350 ac_site_file2=NONE
3351 if test -n "$CONFIG_SITE"; then
3352 # We do not want a PATH search for config.site.
3353 case $CONFIG_SITE in #((
3354 -*) ac_site_file1=./$CONFIG_SITE;;
3355 */*) ac_site_file1=$CONFIG_SITE;;
3356 *) ac_site_file1=./$CONFIG_SITE;;
3357 esac
3358 elif test "x$prefix" != xNONE; then
3359 ac_site_file1=$prefix/share/config.site
3360 ac_site_file2=$prefix/etc/config.site
3361 else
3362 ac_site_file1=$ac_default_prefix/share/config.site
3363 ac_site_file2=$ac_default_prefix/etc/config.site
3365 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3367 test "x$ac_site_file" = xNONE && continue
3368 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3369 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3370 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3371 sed 's/^/| /' "$ac_site_file" >&5
3372 . "$ac_site_file" \
3373 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3374 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3375 as_fn_error $? "failed to load site script $ac_site_file
3376 See \`config.log' for more details" "$LINENO" 5; }
3378 done
3380 if test -r "$cache_file"; then
3381 # Some versions of bash will fail to source /dev/null (special files
3382 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3383 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3385 $as_echo "$as_me: loading cache $cache_file" >&6;}
3386 case $cache_file in
3387 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3388 *) . "./$cache_file";;
3389 esac
3391 else
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3393 $as_echo "$as_me: creating cache $cache_file" >&6;}
3394 >$cache_file
3397 # Check that the precious variables saved in the cache have kept the same
3398 # value.
3399 ac_cache_corrupted=false
3400 for ac_var in $ac_precious_vars; do
3401 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3402 eval ac_new_set=\$ac_env_${ac_var}_set
3403 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3404 eval ac_new_val=\$ac_env_${ac_var}_value
3405 case $ac_old_set,$ac_new_set in
3406 set,)
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3408 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3409 ac_cache_corrupted=: ;;
3410 ,set)
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3412 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3413 ac_cache_corrupted=: ;;
3414 ,);;
3416 if test "x$ac_old_val" != "x$ac_new_val"; then
3417 # differences in whitespace do not lead to failure.
3418 ac_old_val_w=`echo x $ac_old_val`
3419 ac_new_val_w=`echo x $ac_new_val`
3420 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3422 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3423 ac_cache_corrupted=:
3424 else
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3426 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3427 eval $ac_var=\$ac_old_val
3429 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3430 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3431 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3432 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3433 fi;;
3434 esac
3435 # Pass precious variables to config.status.
3436 if test "$ac_new_set" = set; then
3437 case $ac_new_val in
3438 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3439 *) ac_arg=$ac_var=$ac_new_val ;;
3440 esac
3441 case " $ac_configure_args " in
3442 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3443 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3444 esac
3446 done
3447 if $ac_cache_corrupted; then
3448 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3449 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3451 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3452 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3454 ## -------------------- ##
3455 ## Main body of script. ##
3456 ## -------------------- ##
3458 ac_ext=c
3459 ac_cpp='$CPP $CPPFLAGS'
3460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3466 ac_config_headers="$ac_config_headers include/config.h"
3468 ac_aux_dir=
3469 for ac_dir in tools "$srcdir"/tools; do
3470 if test -f "$ac_dir/install-sh"; then
3471 ac_aux_dir=$ac_dir
3472 ac_install_sh="$ac_aux_dir/install-sh -c"
3473 break
3474 elif test -f "$ac_dir/install.sh"; then
3475 ac_aux_dir=$ac_dir
3476 ac_install_sh="$ac_aux_dir/install.sh -c"
3477 break
3478 elif test -f "$ac_dir/shtool"; then
3479 ac_aux_dir=$ac_dir
3480 ac_install_sh="$ac_aux_dir/shtool install -c"
3481 break
3483 done
3484 if test -z "$ac_aux_dir"; then
3485 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3488 # These three variables are undocumented and unsupported,
3489 # and are intended to be withdrawn in a future Autoconf release.
3490 # They can cause serious problems if a builder's source tree is in a directory
3491 # whose full name contains unusual characters.
3492 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3493 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3494 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3498 libwine_version="1.0"
3502 # Check whether --enable-win16 was given.
3503 if test "${enable_win16+set}" = set; then :
3504 enableval=$enable_win16;
3507 # Check whether --enable-win64 was given.
3508 if test "${enable_win64+set}" = set; then :
3509 enableval=$enable_win64;
3512 # Check whether --enable-tests was given.
3513 if test "${enable_tests+set}" = set; then :
3514 enableval=$enable_tests;
3517 # Check whether --enable-maintainer-mode was given.
3518 if test "${enable_maintainer_mode+set}" = set; then :
3519 enableval=$enable_maintainer_mode;
3524 # Check whether --with-alsa was given.
3525 if test "${with_alsa+set}" = set; then :
3526 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3530 # Check whether --with-capi was given.
3531 if test "${with_capi+set}" = set; then :
3532 withval=$with_capi;
3536 # Check whether --with-cms was given.
3537 if test "${with_cms+set}" = set; then :
3538 withval=$with_cms;
3542 # Check whether --with-coreaudio was given.
3543 if test "${with_coreaudio+set}" = set; then :
3544 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3548 # Check whether --with-cups was given.
3549 if test "${with_cups+set}" = set; then :
3550 withval=$with_cups;
3554 # Check whether --with-curses was given.
3555 if test "${with_curses+set}" = set; then :
3556 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3560 # Check whether --with-dbus was given.
3561 if test "${with_dbus+set}" = set; then :
3562 withval=$with_dbus;
3566 # Check whether --with-float-abi was given.
3567 if test "${with_float_abi+set}" = set; then :
3568 withval=$with_float_abi;
3572 # Check whether --with-fontconfig was given.
3573 if test "${with_fontconfig+set}" = set; then :
3574 withval=$with_fontconfig;
3578 # Check whether --with-freetype was given.
3579 if test "${with_freetype+set}" = set; then :
3580 withval=$with_freetype;
3584 # Check whether --with-gettext was given.
3585 if test "${with_gettext+set}" = set; then :
3586 withval=$with_gettext;
3590 # Check whether --with-gettextpo was given.
3591 if test "${with_gettextpo+set}" = set; then :
3592 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3596 # Check whether --with-gphoto was given.
3597 if test "${with_gphoto+set}" = set; then :
3598 withval=$with_gphoto;
3602 # Check whether --with-glu was given.
3603 if test "${with_glu+set}" = set; then :
3604 withval=$with_glu;
3608 # Check whether --with-gnutls was given.
3609 if test "${with_gnutls+set}" = set; then :
3610 withval=$with_gnutls;
3614 # Check whether --with-gsm was given.
3615 if test "${with_gsm+set}" = set; then :
3616 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3620 # Check whether --with-gssapi was given.
3621 if test "${with_gssapi+set}" = set; then :
3622 withval=$with_gssapi;
3626 # Check whether --with-gstreamer was given.
3627 if test "${with_gstreamer+set}" = set; then :
3628 withval=$with_gstreamer;
3632 # Check whether --with-hal was given.
3633 if test "${with_hal+set}" = set; then :
3634 withval=$with_hal;
3638 # Check whether --with-jpeg was given.
3639 if test "${with_jpeg+set}" = set; then :
3640 withval=$with_jpeg;
3644 # Check whether --with-krb5 was given.
3645 if test "${with_krb5+set}" = set; then :
3646 withval=$with_krb5;
3650 # Check whether --with-ldap was given.
3651 if test "${with_ldap+set}" = set; then :
3652 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3656 # Check whether --with-mpg123 was given.
3657 if test "${with_mpg123+set}" = set; then :
3658 withval=$with_mpg123;
3662 # Check whether --with-netapi was given.
3663 if test "${with_netapi+set}" = set; then :
3664 withval=$with_netapi;
3668 # Check whether --with-openal was given.
3669 if test "${with_openal+set}" = set; then :
3670 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3674 # Check whether --with-opencl was given.
3675 if test "${with_opencl+set}" = set; then :
3676 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3680 # Check whether --with-opengl was given.
3681 if test "${with_opengl+set}" = set; then :
3682 withval=$with_opengl;
3686 # Check whether --with-osmesa was given.
3687 if test "${with_osmesa+set}" = set; then :
3688 withval=$with_osmesa;
3692 # Check whether --with-oss was given.
3693 if test "${with_oss+set}" = set; then :
3694 withval=$with_oss;
3698 # Check whether --with-pcap was given.
3699 if test "${with_pcap+set}" = set; then :
3700 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3704 # Check whether --with-png was given.
3705 if test "${with_png+set}" = set; then :
3706 withval=$with_png;
3710 # Check whether --with-pthread was given.
3711 if test "${with_pthread+set}" = set; then :
3712 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3716 # Check whether --with-pulse was given.
3717 if test "${with_pulse+set}" = set; then :
3718 withval=$with_pulse;
3722 # Check whether --with-sane was given.
3723 if test "${with_sane+set}" = set; then :
3724 withval=$with_sane;
3728 # Check whether --with-tiff was given.
3729 if test "${with_tiff+set}" = set; then :
3730 withval=$with_tiff;
3734 # Check whether --with-udev was given.
3735 if test "${with_udev+set}" = set; then :
3736 withval=$with_udev;
3740 # Check whether --with-v4l was given.
3741 if test "${with_v4l+set}" = set; then :
3742 withval=$with_v4l;
3746 # Check whether --with-xcomposite was given.
3747 if test "${with_xcomposite+set}" = set; then :
3748 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3752 # Check whether --with-xcursor was given.
3753 if test "${with_xcursor+set}" = set; then :
3754 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3758 # Check whether --with-xfixes was given.
3759 if test "${with_xfixes+set}" = set; then :
3760 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
3764 # Check whether --with-xinerama was given.
3765 if test "${with_xinerama+set}" = set; then :
3766 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3770 # Check whether --with-xinput was given.
3771 if test "${with_xinput+set}" = set; then :
3772 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3776 # Check whether --with-xinput2 was given.
3777 if test "${with_xinput2+set}" = set; then :
3778 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3782 # Check whether --with-xml was given.
3783 if test "${with_xml+set}" = set; then :
3784 withval=$with_xml;
3788 # Check whether --with-xrandr was given.
3789 if test "${with_xrandr+set}" = set; then :
3790 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3794 # Check whether --with-xrender was given.
3795 if test "${with_xrender+set}" = set; then :
3796 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3800 # Check whether --with-xshape was given.
3801 if test "${with_xshape+set}" = set; then :
3802 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3806 # Check whether --with-xshm was given.
3807 if test "${with_xshm+set}" = set; then :
3808 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3812 # Check whether --with-xslt was given.
3813 if test "${with_xslt+set}" = set; then :
3814 withval=$with_xslt;
3818 # Check whether --with-xxf86vm was given.
3819 if test "${with_xxf86vm+set}" = set; then :
3820 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
3824 # Check whether --with-zlib was given.
3825 if test "${with_zlib+set}" = set; then :
3826 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3831 # Check whether --with-wine-tools was given.
3832 if test "${with_wine_tools+set}" = set; then :
3833 withval=$with_wine_tools;
3837 # Check whether --with-wine64 was given.
3838 if test "${with_wine64+set}" = set; then :
3839 withval=$with_wine64;
3843 # Make sure we can run config.sub.
3844 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3845 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3848 $as_echo_n "checking build system type... " >&6; }
3849 if ${ac_cv_build+:} false; then :
3850 $as_echo_n "(cached) " >&6
3851 else
3852 ac_build_alias=$build_alias
3853 test "x$ac_build_alias" = x &&
3854 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3855 test "x$ac_build_alias" = x &&
3856 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3857 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3858 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3862 $as_echo "$ac_cv_build" >&6; }
3863 case $ac_cv_build in
3864 *-*-*) ;;
3865 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3866 esac
3867 build=$ac_cv_build
3868 ac_save_IFS=$IFS; IFS='-'
3869 set x $ac_cv_build
3870 shift
3871 build_cpu=$1
3872 build_vendor=$2
3873 shift; shift
3874 # Remember, the first character of IFS is used to create $*,
3875 # except with old shells:
3876 build_os=$*
3877 IFS=$ac_save_IFS
3878 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3882 $as_echo_n "checking host system type... " >&6; }
3883 if ${ac_cv_host+:} false; then :
3884 $as_echo_n "(cached) " >&6
3885 else
3886 if test "x$host_alias" = x; then
3887 ac_cv_host=$ac_cv_build
3888 else
3889 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3890 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3895 $as_echo "$ac_cv_host" >&6; }
3896 case $ac_cv_host in
3897 *-*-*) ;;
3898 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3899 esac
3900 host=$ac_cv_host
3901 ac_save_IFS=$IFS; IFS='-'
3902 set x $ac_cv_host
3903 shift
3904 host_cpu=$1
3905 host_vendor=$2
3906 shift; shift
3907 # Remember, the first character of IFS is used to create $*,
3908 # except with old shells:
3909 host_os=$*
3910 IFS=$ac_save_IFS
3911 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3915 case "$srcdir" in
3916 .) ;;
3917 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3918 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3919 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3920 fi ;;
3921 esac
3924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3925 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3926 set x ${MAKE-make}
3927 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3928 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3929 $as_echo_n "(cached) " >&6
3930 else
3931 cat >conftest.make <<\_ACEOF
3932 SHELL = /bin/sh
3933 all:
3934 @echo '@@@%%%=$(MAKE)=@@@%%%'
3935 _ACEOF
3936 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3937 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3938 *@@@%%%=?*=@@@%%%*)
3939 eval ac_cv_prog_make_${ac_make}_set=yes;;
3941 eval ac_cv_prog_make_${ac_make}_set=no;;
3942 esac
3943 rm -f conftest.make
3945 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3947 $as_echo "yes" >&6; }
3948 SET_MAKE=
3949 else
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3951 $as_echo "no" >&6; }
3952 SET_MAKE="MAKE=${MAKE-make}"
3955 ac_ext=c
3956 ac_cpp='$CPP $CPPFLAGS'
3957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3960 if test -n "$ac_tool_prefix"; then
3961 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3962 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3964 $as_echo_n "checking for $ac_word... " >&6; }
3965 if ${ac_cv_prog_CC+:} false; then :
3966 $as_echo_n "(cached) " >&6
3967 else
3968 if test -n "$CC"; then
3969 ac_cv_prog_CC="$CC" # Let the user override the test.
3970 else
3971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3972 for as_dir in $PATH
3974 IFS=$as_save_IFS
3975 test -z "$as_dir" && as_dir=.
3976 for ac_exec_ext in '' $ac_executable_extensions; do
3977 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3978 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3980 break 2
3982 done
3983 done
3984 IFS=$as_save_IFS
3988 CC=$ac_cv_prog_CC
3989 if test -n "$CC"; then
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3991 $as_echo "$CC" >&6; }
3992 else
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3994 $as_echo "no" >&6; }
3999 if test -z "$ac_cv_prog_CC"; then
4000 ac_ct_CC=$CC
4001 # Extract the first word of "gcc", so it can be a program name with args.
4002 set dummy gcc; ac_word=$2
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4004 $as_echo_n "checking for $ac_word... " >&6; }
4005 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4006 $as_echo_n "(cached) " >&6
4007 else
4008 if test -n "$ac_ct_CC"; then
4009 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4010 else
4011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4012 for as_dir in $PATH
4014 IFS=$as_save_IFS
4015 test -z "$as_dir" && as_dir=.
4016 for ac_exec_ext in '' $ac_executable_extensions; do
4017 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4018 ac_cv_prog_ac_ct_CC="gcc"
4019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4020 break 2
4022 done
4023 done
4024 IFS=$as_save_IFS
4028 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4029 if test -n "$ac_ct_CC"; then
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4031 $as_echo "$ac_ct_CC" >&6; }
4032 else
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4034 $as_echo "no" >&6; }
4037 if test "x$ac_ct_CC" = x; then
4038 CC=""
4039 else
4040 case $cross_compiling:$ac_tool_warned in
4041 yes:)
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4043 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4044 ac_tool_warned=yes ;;
4045 esac
4046 CC=$ac_ct_CC
4048 else
4049 CC="$ac_cv_prog_CC"
4052 if test -z "$CC"; then
4053 if test -n "$ac_tool_prefix"; then
4054 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4055 set dummy ${ac_tool_prefix}cc; ac_word=$2
4056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4057 $as_echo_n "checking for $ac_word... " >&6; }
4058 if ${ac_cv_prog_CC+:} false; then :
4059 $as_echo_n "(cached) " >&6
4060 else
4061 if test -n "$CC"; then
4062 ac_cv_prog_CC="$CC" # Let the user override the test.
4063 else
4064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4065 for as_dir in $PATH
4067 IFS=$as_save_IFS
4068 test -z "$as_dir" && as_dir=.
4069 for ac_exec_ext in '' $ac_executable_extensions; do
4070 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4071 ac_cv_prog_CC="${ac_tool_prefix}cc"
4072 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4073 break 2
4075 done
4076 done
4077 IFS=$as_save_IFS
4081 CC=$ac_cv_prog_CC
4082 if test -n "$CC"; then
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4084 $as_echo "$CC" >&6; }
4085 else
4086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4087 $as_echo "no" >&6; }
4093 if test -z "$CC"; then
4094 # Extract the first word of "cc", so it can be a program name with args.
4095 set dummy cc; ac_word=$2
4096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4097 $as_echo_n "checking for $ac_word... " >&6; }
4098 if ${ac_cv_prog_CC+:} false; then :
4099 $as_echo_n "(cached) " >&6
4100 else
4101 if test -n "$CC"; then
4102 ac_cv_prog_CC="$CC" # Let the user override the test.
4103 else
4104 ac_prog_rejected=no
4105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4106 for as_dir in $PATH
4108 IFS=$as_save_IFS
4109 test -z "$as_dir" && as_dir=.
4110 for ac_exec_ext in '' $ac_executable_extensions; do
4111 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4112 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4113 ac_prog_rejected=yes
4114 continue
4116 ac_cv_prog_CC="cc"
4117 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4118 break 2
4120 done
4121 done
4122 IFS=$as_save_IFS
4124 if test $ac_prog_rejected = yes; then
4125 # We found a bogon in the path, so make sure we never use it.
4126 set dummy $ac_cv_prog_CC
4127 shift
4128 if test $# != 0; then
4129 # We chose a different compiler from the bogus one.
4130 # However, it has the same basename, so the bogon will be chosen
4131 # first if we set CC to just the basename; use the full file name.
4132 shift
4133 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4138 CC=$ac_cv_prog_CC
4139 if test -n "$CC"; then
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4141 $as_echo "$CC" >&6; }
4142 else
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4144 $as_echo "no" >&6; }
4149 if test -z "$CC"; then
4150 if test -n "$ac_tool_prefix"; then
4151 for ac_prog in cl.exe
4153 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4154 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4156 $as_echo_n "checking for $ac_word... " >&6; }
4157 if ${ac_cv_prog_CC+:} false; then :
4158 $as_echo_n "(cached) " >&6
4159 else
4160 if test -n "$CC"; then
4161 ac_cv_prog_CC="$CC" # Let the user override the test.
4162 else
4163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4164 for as_dir in $PATH
4166 IFS=$as_save_IFS
4167 test -z "$as_dir" && as_dir=.
4168 for ac_exec_ext in '' $ac_executable_extensions; do
4169 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4170 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4171 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4172 break 2
4174 done
4175 done
4176 IFS=$as_save_IFS
4180 CC=$ac_cv_prog_CC
4181 if test -n "$CC"; then
4182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4183 $as_echo "$CC" >&6; }
4184 else
4185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4186 $as_echo "no" >&6; }
4190 test -n "$CC" && break
4191 done
4193 if test -z "$CC"; then
4194 ac_ct_CC=$CC
4195 for ac_prog in cl.exe
4197 # Extract the first word of "$ac_prog", so it can be a program name with args.
4198 set dummy $ac_prog; ac_word=$2
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4200 $as_echo_n "checking for $ac_word... " >&6; }
4201 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4202 $as_echo_n "(cached) " >&6
4203 else
4204 if test -n "$ac_ct_CC"; then
4205 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4206 else
4207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4208 for as_dir in $PATH
4210 IFS=$as_save_IFS
4211 test -z "$as_dir" && as_dir=.
4212 for ac_exec_ext in '' $ac_executable_extensions; do
4213 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4214 ac_cv_prog_ac_ct_CC="$ac_prog"
4215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4216 break 2
4218 done
4219 done
4220 IFS=$as_save_IFS
4224 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4225 if test -n "$ac_ct_CC"; then
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4227 $as_echo "$ac_ct_CC" >&6; }
4228 else
4229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4230 $as_echo "no" >&6; }
4234 test -n "$ac_ct_CC" && break
4235 done
4237 if test "x$ac_ct_CC" = x; then
4238 CC=""
4239 else
4240 case $cross_compiling:$ac_tool_warned in
4241 yes:)
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4243 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4244 ac_tool_warned=yes ;;
4245 esac
4246 CC=$ac_ct_CC
4253 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4254 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4255 as_fn_error $? "no acceptable C compiler found in \$PATH
4256 See \`config.log' for more details" "$LINENO" 5; }
4258 # Provide some information about the compiler.
4259 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4260 set X $ac_compile
4261 ac_compiler=$2
4262 for ac_option in --version -v -V -qversion; do
4263 { { ac_try="$ac_compiler $ac_option >&5"
4264 case "(($ac_try" in
4265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4266 *) ac_try_echo=$ac_try;;
4267 esac
4268 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4269 $as_echo "$ac_try_echo"; } >&5
4270 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4271 ac_status=$?
4272 if test -s conftest.err; then
4273 sed '10a\
4274 ... rest of stderr output deleted ...
4275 10q' conftest.err >conftest.er1
4276 cat conftest.er1 >&5
4278 rm -f conftest.er1 conftest.err
4279 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4280 test $ac_status = 0; }
4281 done
4283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4284 /* end confdefs.h. */
4287 main ()
4291 return 0;
4293 _ACEOF
4294 ac_clean_files_save=$ac_clean_files
4295 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4296 # Try to create an executable without -o first, disregard a.out.
4297 # It will help us diagnose broken compilers, and finding out an intuition
4298 # of exeext.
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4300 $as_echo_n "checking whether the C compiler works... " >&6; }
4301 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4303 # The possible output files:
4304 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4306 ac_rmfiles=
4307 for ac_file in $ac_files
4309 case $ac_file in
4310 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4311 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4312 esac
4313 done
4314 rm -f $ac_rmfiles
4316 if { { ac_try="$ac_link_default"
4317 case "(($ac_try" in
4318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4319 *) ac_try_echo=$ac_try;;
4320 esac
4321 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4322 $as_echo "$ac_try_echo"; } >&5
4323 (eval "$ac_link_default") 2>&5
4324 ac_status=$?
4325 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4326 test $ac_status = 0; }; then :
4327 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4328 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4329 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4330 # so that the user can short-circuit this test for compilers unknown to
4331 # Autoconf.
4332 for ac_file in $ac_files ''
4334 test -f "$ac_file" || continue
4335 case $ac_file in
4336 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4338 [ab].out )
4339 # We found the default executable, but exeext='' is most
4340 # certainly right.
4341 break;;
4342 *.* )
4343 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4344 then :; else
4345 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4347 # We set ac_cv_exeext here because the later test for it is not
4348 # safe: cross compilers may not add the suffix if given an `-o'
4349 # argument, so we may need to know it at that point already.
4350 # Even if this section looks crufty: it has the advantage of
4351 # actually working.
4352 break;;
4354 break;;
4355 esac
4356 done
4357 test "$ac_cv_exeext" = no && ac_cv_exeext=
4359 else
4360 ac_file=''
4362 if test -z "$ac_file"; then :
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4364 $as_echo "no" >&6; }
4365 $as_echo "$as_me: failed program was:" >&5
4366 sed 's/^/| /' conftest.$ac_ext >&5
4368 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4369 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4370 as_fn_error 77 "C compiler cannot create executables
4371 See \`config.log' for more details" "$LINENO" 5; }
4372 else
4373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4374 $as_echo "yes" >&6; }
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4377 $as_echo_n "checking for C compiler default output file name... " >&6; }
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4379 $as_echo "$ac_file" >&6; }
4380 ac_exeext=$ac_cv_exeext
4382 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4383 ac_clean_files=$ac_clean_files_save
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4385 $as_echo_n "checking for suffix of executables... " >&6; }
4386 if { { ac_try="$ac_link"
4387 case "(($ac_try" in
4388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4389 *) ac_try_echo=$ac_try;;
4390 esac
4391 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4392 $as_echo "$ac_try_echo"; } >&5
4393 (eval "$ac_link") 2>&5
4394 ac_status=$?
4395 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4396 test $ac_status = 0; }; then :
4397 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4398 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4399 # work properly (i.e., refer to `conftest.exe'), while it won't with
4400 # `rm'.
4401 for ac_file in conftest.exe conftest conftest.*; do
4402 test -f "$ac_file" || continue
4403 case $ac_file in
4404 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4405 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4406 break;;
4407 * ) break;;
4408 esac
4409 done
4410 else
4411 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4412 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4413 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4414 See \`config.log' for more details" "$LINENO" 5; }
4416 rm -f conftest conftest$ac_cv_exeext
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4418 $as_echo "$ac_cv_exeext" >&6; }
4420 rm -f conftest.$ac_ext
4421 EXEEXT=$ac_cv_exeext
4422 ac_exeext=$EXEEXT
4423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4424 /* end confdefs.h. */
4425 #include <stdio.h>
4427 main ()
4429 FILE *f = fopen ("conftest.out", "w");
4430 return ferror (f) || fclose (f) != 0;
4433 return 0;
4435 _ACEOF
4436 ac_clean_files="$ac_clean_files conftest.out"
4437 # Check that the compiler produces executables we can run. If not, either
4438 # the compiler is broken, or we cross compile.
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4440 $as_echo_n "checking whether we are cross compiling... " >&6; }
4441 if test "$cross_compiling" != yes; then
4442 { { ac_try="$ac_link"
4443 case "(($ac_try" in
4444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4445 *) ac_try_echo=$ac_try;;
4446 esac
4447 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4448 $as_echo "$ac_try_echo"; } >&5
4449 (eval "$ac_link") 2>&5
4450 ac_status=$?
4451 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4452 test $ac_status = 0; }
4453 if { ac_try='./conftest$ac_cv_exeext'
4454 { { case "(($ac_try" in
4455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4456 *) ac_try_echo=$ac_try;;
4457 esac
4458 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4459 $as_echo "$ac_try_echo"; } >&5
4460 (eval "$ac_try") 2>&5
4461 ac_status=$?
4462 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4463 test $ac_status = 0; }; }; then
4464 cross_compiling=no
4465 else
4466 if test "$cross_compiling" = maybe; then
4467 cross_compiling=yes
4468 else
4469 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4470 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4471 as_fn_error $? "cannot run C compiled programs.
4472 If you meant to cross compile, use \`--host'.
4473 See \`config.log' for more details" "$LINENO" 5; }
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4478 $as_echo "$cross_compiling" >&6; }
4480 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4481 ac_clean_files=$ac_clean_files_save
4482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4483 $as_echo_n "checking for suffix of object files... " >&6; }
4484 if ${ac_cv_objext+:} false; then :
4485 $as_echo_n "(cached) " >&6
4486 else
4487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4488 /* end confdefs.h. */
4491 main ()
4495 return 0;
4497 _ACEOF
4498 rm -f conftest.o conftest.obj
4499 if { { ac_try="$ac_compile"
4500 case "(($ac_try" in
4501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4502 *) ac_try_echo=$ac_try;;
4503 esac
4504 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4505 $as_echo "$ac_try_echo"; } >&5
4506 (eval "$ac_compile") 2>&5
4507 ac_status=$?
4508 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4509 test $ac_status = 0; }; then :
4510 for ac_file in conftest.o conftest.obj conftest.*; do
4511 test -f "$ac_file" || continue;
4512 case $ac_file in
4513 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4514 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4515 break;;
4516 esac
4517 done
4518 else
4519 $as_echo "$as_me: failed program was:" >&5
4520 sed 's/^/| /' conftest.$ac_ext >&5
4522 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4523 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4524 as_fn_error $? "cannot compute suffix of object files: cannot compile
4525 See \`config.log' for more details" "$LINENO" 5; }
4527 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4530 $as_echo "$ac_cv_objext" >&6; }
4531 OBJEXT=$ac_cv_objext
4532 ac_objext=$OBJEXT
4533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4534 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4535 if ${ac_cv_c_compiler_gnu+:} false; then :
4536 $as_echo_n "(cached) " >&6
4537 else
4538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4539 /* end confdefs.h. */
4542 main ()
4544 #ifndef __GNUC__
4545 choke me
4546 #endif
4549 return 0;
4551 _ACEOF
4552 if ac_fn_c_try_compile "$LINENO"; then :
4553 ac_compiler_gnu=yes
4554 else
4555 ac_compiler_gnu=no
4557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4558 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4562 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4563 if test $ac_compiler_gnu = yes; then
4564 GCC=yes
4565 else
4566 GCC=
4568 ac_test_CFLAGS=${CFLAGS+set}
4569 ac_save_CFLAGS=$CFLAGS
4570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4571 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4572 if ${ac_cv_prog_cc_g+:} false; then :
4573 $as_echo_n "(cached) " >&6
4574 else
4575 ac_save_c_werror_flag=$ac_c_werror_flag
4576 ac_c_werror_flag=yes
4577 ac_cv_prog_cc_g=no
4578 CFLAGS="-g"
4579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4580 /* end confdefs.h. */
4583 main ()
4587 return 0;
4589 _ACEOF
4590 if ac_fn_c_try_compile "$LINENO"; then :
4591 ac_cv_prog_cc_g=yes
4592 else
4593 CFLAGS=""
4594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4595 /* end confdefs.h. */
4598 main ()
4602 return 0;
4604 _ACEOF
4605 if ac_fn_c_try_compile "$LINENO"; then :
4607 else
4608 ac_c_werror_flag=$ac_save_c_werror_flag
4609 CFLAGS="-g"
4610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4611 /* end confdefs.h. */
4614 main ()
4618 return 0;
4620 _ACEOF
4621 if ac_fn_c_try_compile "$LINENO"; then :
4622 ac_cv_prog_cc_g=yes
4624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4629 ac_c_werror_flag=$ac_save_c_werror_flag
4631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4632 $as_echo "$ac_cv_prog_cc_g" >&6; }
4633 if test "$ac_test_CFLAGS" = set; then
4634 CFLAGS=$ac_save_CFLAGS
4635 elif test $ac_cv_prog_cc_g = yes; then
4636 if test "$GCC" = yes; then
4637 CFLAGS="-g -O2"
4638 else
4639 CFLAGS="-g"
4641 else
4642 if test "$GCC" = yes; then
4643 CFLAGS="-O2"
4644 else
4645 CFLAGS=
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4649 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4650 if ${ac_cv_prog_cc_c89+:} false; then :
4651 $as_echo_n "(cached) " >&6
4652 else
4653 ac_cv_prog_cc_c89=no
4654 ac_save_CC=$CC
4655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4656 /* end confdefs.h. */
4657 #include <stdarg.h>
4658 #include <stdio.h>
4659 struct stat;
4660 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4661 struct buf { int x; };
4662 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4663 static char *e (p, i)
4664 char **p;
4665 int i;
4667 return p[i];
4669 static char *f (char * (*g) (char **, int), char **p, ...)
4671 char *s;
4672 va_list v;
4673 va_start (v,p);
4674 s = g (p, va_arg (v,int));
4675 va_end (v);
4676 return s;
4679 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4680 function prototypes and stuff, but not '\xHH' hex character constants.
4681 These don't provoke an error unfortunately, instead are silently treated
4682 as 'x'. The following induces an error, until -std is added to get
4683 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4684 array size at least. It's necessary to write '\x00'==0 to get something
4685 that's true only with -std. */
4686 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4688 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4689 inside strings and character constants. */
4690 #define FOO(x) 'x'
4691 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4693 int test (int i, double x);
4694 struct s1 {int (*f) (int a);};
4695 struct s2 {int (*f) (double a);};
4696 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4697 int argc;
4698 char **argv;
4700 main ()
4702 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4704 return 0;
4706 _ACEOF
4707 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4708 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4710 CC="$ac_save_CC $ac_arg"
4711 if ac_fn_c_try_compile "$LINENO"; then :
4712 ac_cv_prog_cc_c89=$ac_arg
4714 rm -f core conftest.err conftest.$ac_objext
4715 test "x$ac_cv_prog_cc_c89" != "xno" && break
4716 done
4717 rm -f conftest.$ac_ext
4718 CC=$ac_save_CC
4721 # AC_CACHE_VAL
4722 case "x$ac_cv_prog_cc_c89" in
4724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4725 $as_echo "none needed" >&6; } ;;
4726 xno)
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4728 $as_echo "unsupported" >&6; } ;;
4730 CC="$CC $ac_cv_prog_cc_c89"
4731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4732 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4733 esac
4734 if test "x$ac_cv_prog_cc_c89" != xno; then :
4738 ac_ext=c
4739 ac_cpp='$CPP $CPPFLAGS'
4740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4744 ac_ext=cpp
4745 ac_cpp='$CXXCPP $CPPFLAGS'
4746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4749 if test -z "$CXX"; then
4750 if test -n "$CCC"; then
4751 CXX=$CCC
4752 else
4753 if test -n "$ac_tool_prefix"; then
4754 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4756 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4757 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4759 $as_echo_n "checking for $ac_word... " >&6; }
4760 if ${ac_cv_prog_CXX+:} false; then :
4761 $as_echo_n "(cached) " >&6
4762 else
4763 if test -n "$CXX"; then
4764 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4765 else
4766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4767 for as_dir in $PATH
4769 IFS=$as_save_IFS
4770 test -z "$as_dir" && as_dir=.
4771 for ac_exec_ext in '' $ac_executable_extensions; do
4772 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4773 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4774 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4775 break 2
4777 done
4778 done
4779 IFS=$as_save_IFS
4783 CXX=$ac_cv_prog_CXX
4784 if test -n "$CXX"; then
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4786 $as_echo "$CXX" >&6; }
4787 else
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4789 $as_echo "no" >&6; }
4793 test -n "$CXX" && break
4794 done
4796 if test -z "$CXX"; then
4797 ac_ct_CXX=$CXX
4798 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4800 # Extract the first word of "$ac_prog", so it can be a program name with args.
4801 set dummy $ac_prog; ac_word=$2
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4803 $as_echo_n "checking for $ac_word... " >&6; }
4804 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4805 $as_echo_n "(cached) " >&6
4806 else
4807 if test -n "$ac_ct_CXX"; then
4808 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4809 else
4810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4811 for as_dir in $PATH
4813 IFS=$as_save_IFS
4814 test -z "$as_dir" && as_dir=.
4815 for ac_exec_ext in '' $ac_executable_extensions; do
4816 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4817 ac_cv_prog_ac_ct_CXX="$ac_prog"
4818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4819 break 2
4821 done
4822 done
4823 IFS=$as_save_IFS
4827 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4828 if test -n "$ac_ct_CXX"; then
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4830 $as_echo "$ac_ct_CXX" >&6; }
4831 else
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4833 $as_echo "no" >&6; }
4837 test -n "$ac_ct_CXX" && break
4838 done
4840 if test "x$ac_ct_CXX" = x; then
4841 CXX="g++"
4842 else
4843 case $cross_compiling:$ac_tool_warned in
4844 yes:)
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4846 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4847 ac_tool_warned=yes ;;
4848 esac
4849 CXX=$ac_ct_CXX
4855 # Provide some information about the compiler.
4856 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4857 set X $ac_compile
4858 ac_compiler=$2
4859 for ac_option in --version -v -V -qversion; do
4860 { { ac_try="$ac_compiler $ac_option >&5"
4861 case "(($ac_try" in
4862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4863 *) ac_try_echo=$ac_try;;
4864 esac
4865 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4866 $as_echo "$ac_try_echo"; } >&5
4867 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4868 ac_status=$?
4869 if test -s conftest.err; then
4870 sed '10a\
4871 ... rest of stderr output deleted ...
4872 10q' conftest.err >conftest.er1
4873 cat conftest.er1 >&5
4875 rm -f conftest.er1 conftest.err
4876 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4877 test $ac_status = 0; }
4878 done
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4881 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4882 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4883 $as_echo_n "(cached) " >&6
4884 else
4885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4886 /* end confdefs.h. */
4889 main ()
4891 #ifndef __GNUC__
4892 choke me
4893 #endif
4896 return 0;
4898 _ACEOF
4899 if ac_fn_cxx_try_compile "$LINENO"; then :
4900 ac_compiler_gnu=yes
4901 else
4902 ac_compiler_gnu=no
4904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4905 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4909 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4910 if test $ac_compiler_gnu = yes; then
4911 GXX=yes
4912 else
4913 GXX=
4915 ac_test_CXXFLAGS=${CXXFLAGS+set}
4916 ac_save_CXXFLAGS=$CXXFLAGS
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4918 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4919 if ${ac_cv_prog_cxx_g+:} false; then :
4920 $as_echo_n "(cached) " >&6
4921 else
4922 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4923 ac_cxx_werror_flag=yes
4924 ac_cv_prog_cxx_g=no
4925 CXXFLAGS="-g"
4926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4927 /* end confdefs.h. */
4930 main ()
4934 return 0;
4936 _ACEOF
4937 if ac_fn_cxx_try_compile "$LINENO"; then :
4938 ac_cv_prog_cxx_g=yes
4939 else
4940 CXXFLAGS=""
4941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4942 /* end confdefs.h. */
4945 main ()
4949 return 0;
4951 _ACEOF
4952 if ac_fn_cxx_try_compile "$LINENO"; then :
4954 else
4955 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4956 CXXFLAGS="-g"
4957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4958 /* end confdefs.h. */
4961 main ()
4965 return 0;
4967 _ACEOF
4968 if ac_fn_cxx_try_compile "$LINENO"; then :
4969 ac_cv_prog_cxx_g=yes
4971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4976 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4979 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4980 if test "$ac_test_CXXFLAGS" = set; then
4981 CXXFLAGS=$ac_save_CXXFLAGS
4982 elif test $ac_cv_prog_cxx_g = yes; then
4983 if test "$GXX" = yes; then
4984 CXXFLAGS="-g -O2"
4985 else
4986 CXXFLAGS="-g"
4988 else
4989 if test "$GXX" = yes; then
4990 CXXFLAGS="-O2"
4991 else
4992 CXXFLAGS=
4995 ac_ext=c
4996 ac_cpp='$CPP $CPPFLAGS'
4997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5001 if test -n "$ac_tool_prefix"; then
5002 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5003 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5005 $as_echo_n "checking for $ac_word... " >&6; }
5006 if ${ac_cv_prog_CPPBIN+:} false; then :
5007 $as_echo_n "(cached) " >&6
5008 else
5009 if test -n "$CPPBIN"; then
5010 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5011 else
5012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5013 for as_dir in $PATH
5015 IFS=$as_save_IFS
5016 test -z "$as_dir" && as_dir=.
5017 for ac_exec_ext in '' $ac_executable_extensions; do
5018 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5019 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5021 break 2
5023 done
5024 done
5025 IFS=$as_save_IFS
5029 CPPBIN=$ac_cv_prog_CPPBIN
5030 if test -n "$CPPBIN"; then
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5032 $as_echo "$CPPBIN" >&6; }
5033 else
5034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5035 $as_echo "no" >&6; }
5040 if test -z "$ac_cv_prog_CPPBIN"; then
5041 ac_ct_CPPBIN=$CPPBIN
5042 # Extract the first word of "cpp", so it can be a program name with args.
5043 set dummy cpp; ac_word=$2
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5045 $as_echo_n "checking for $ac_word... " >&6; }
5046 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5047 $as_echo_n "(cached) " >&6
5048 else
5049 if test -n "$ac_ct_CPPBIN"; then
5050 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5051 else
5052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5053 for as_dir in $PATH
5055 IFS=$as_save_IFS
5056 test -z "$as_dir" && as_dir=.
5057 for ac_exec_ext in '' $ac_executable_extensions; do
5058 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5059 ac_cv_prog_ac_ct_CPPBIN="cpp"
5060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5061 break 2
5063 done
5064 done
5065 IFS=$as_save_IFS
5069 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5070 if test -n "$ac_ct_CPPBIN"; then
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5072 $as_echo "$ac_ct_CPPBIN" >&6; }
5073 else
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5075 $as_echo "no" >&6; }
5078 if test "x$ac_ct_CPPBIN" = x; then
5079 CPPBIN="cpp"
5080 else
5081 case $cross_compiling:$ac_tool_warned in
5082 yes:)
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5084 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5085 ac_tool_warned=yes ;;
5086 esac
5087 CPPBIN=$ac_ct_CPPBIN
5089 else
5090 CPPBIN="$ac_cv_prog_CPPBIN"
5094 cat >>confdefs.h <<_ACEOF
5095 #define EXEEXT "$ac_exeext"
5096 _ACEOF
5098 if test -n "$ac_tool_prefix"; then
5099 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5100 set dummy ${ac_tool_prefix}ld; ac_word=$2
5101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5102 $as_echo_n "checking for $ac_word... " >&6; }
5103 if ${ac_cv_prog_LD+:} false; then :
5104 $as_echo_n "(cached) " >&6
5105 else
5106 if test -n "$LD"; then
5107 ac_cv_prog_LD="$LD" # Let the user override the test.
5108 else
5109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5110 for as_dir in $PATH
5112 IFS=$as_save_IFS
5113 test -z "$as_dir" && as_dir=.
5114 for ac_exec_ext in '' $ac_executable_extensions; do
5115 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5116 ac_cv_prog_LD="${ac_tool_prefix}ld"
5117 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5118 break 2
5120 done
5121 done
5122 IFS=$as_save_IFS
5126 LD=$ac_cv_prog_LD
5127 if test -n "$LD"; then
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5129 $as_echo "$LD" >&6; }
5130 else
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5132 $as_echo "no" >&6; }
5137 if test -z "$ac_cv_prog_LD"; then
5138 ac_ct_LD=$LD
5139 # Extract the first word of "ld", so it can be a program name with args.
5140 set dummy ld; ac_word=$2
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5142 $as_echo_n "checking for $ac_word... " >&6; }
5143 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5144 $as_echo_n "(cached) " >&6
5145 else
5146 if test -n "$ac_ct_LD"; then
5147 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5148 else
5149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5150 for as_dir in $PATH
5152 IFS=$as_save_IFS
5153 test -z "$as_dir" && as_dir=.
5154 for ac_exec_ext in '' $ac_executable_extensions; do
5155 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5156 ac_cv_prog_ac_ct_LD="ld"
5157 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5158 break 2
5160 done
5161 done
5162 IFS=$as_save_IFS
5166 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5167 if test -n "$ac_ct_LD"; then
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5169 $as_echo "$ac_ct_LD" >&6; }
5170 else
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5172 $as_echo "no" >&6; }
5175 if test "x$ac_ct_LD" = x; then
5176 LD=""
5177 else
5178 case $cross_compiling:$ac_tool_warned in
5179 yes:)
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5181 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5182 ac_tool_warned=yes ;;
5183 esac
5184 LD=$ac_ct_LD
5186 else
5187 LD="$ac_cv_prog_LD"
5191 case $host in
5192 *-darwin*)
5193 with_fontconfig=${with_fontconfig:-no}
5195 *-mingw32*|*-cygwin*)
5196 enable_win16=${enable_win16:-no}
5197 CFLAGS="$CFLAGS -D_WIN32"
5199 esac
5201 case $host in
5202 x86_64*|amd64*)
5203 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5204 then
5205 CC="$CC -m32"
5206 CXX="$CXX -m32"
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5208 $as_echo_n "checking whether $CC works... " >&6; }
5210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5211 /* end confdefs.h. */
5214 main ()
5218 return 0;
5220 _ACEOF
5221 if ac_fn_c_try_link "$LINENO"; then :
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5223 $as_echo "yes" >&6; }
5224 else
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5226 $as_echo "no" >&6; }
5227 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5229 rm -f core conftest.err conftest.$ac_objext \
5230 conftest$ac_exeext conftest.$ac_ext
5231 host_cpu="i386"
5232 notice_platform="32-bit "
5233 TARGETFLAGS="-m32"
5235 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5236 export PKG_CONFIG_PATH
5237 enable_win16=${enable_win16:-yes}
5238 else
5239 if test "x${GCC}" = "xyes"
5240 then
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5242 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5244 /* end confdefs.h. */
5245 #include <stdarg.h>
5247 main ()
5249 void func(__builtin_ms_va_list *args);
5251 return 0;
5253 _ACEOF
5254 if ac_fn_c_try_compile "$LINENO"; then :
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5256 $as_echo "yes" >&6; }
5257 else
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5259 $as_echo "no" >&6; }
5260 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5264 CC="$CC -m64"
5265 CXX="$CXX -m64"
5266 host_cpu="x86_64"
5267 notice_platform="64-bit "
5268 TARGETFLAGS="-m64"
5272 arm*)
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5274 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5276 /* end confdefs.h. */
5277 int ac_test(int i) { return i; }
5279 main ()
5281 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5283 return 0;
5285 _ACEOF
5286 if ac_fn_c_try_link "$LINENO"; then :
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5288 $as_echo "yes" >&6; }
5289 else
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5291 $as_echo "no" >&6; }
5292 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5294 rm -f core conftest.err conftest.$ac_objext \
5295 conftest$ac_exeext conftest.$ac_ext
5296 case $with_float_abi in
5297 soft|softfp|hard)
5298 float_abi=$with_float_abi ;;
5300 case $host_os in
5301 *eabihf)
5302 float_abi=hard ;;
5304 float_abi=softfp
5305 saved_CFLAGS=$CFLAGS
5306 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5308 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5310 /* end confdefs.h. */
5313 main ()
5315 asm("vmrs r2,fpscr");
5317 return 0;
5319 _ACEOF
5320 if ac_fn_c_try_link "$LINENO"; then :
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5322 $as_echo "yes" >&6; }
5323 else
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5325 $as_echo "no" >&6; }
5326 float_abi=soft
5327 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5329 rm -f core conftest.err conftest.$ac_objext \
5330 conftest$ac_exeext conftest.$ac_ext
5331 CFLAGS=$saved_CFLAGS
5332 esac
5334 esac
5335 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5336 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5339 i[3456789]86*)
5340 enable_win16=${enable_win16:-yes}
5342 esac
5344 enable_win16=${enable_win16:-no}
5345 enable_win64=${enable_win64:-no}
5347 enable_winetest=${enable_winetest:-$enable_tests}
5349 if test -n "$with_wine64"
5350 then
5351 if test "x$enable_win64" = "xyes"
5352 then
5353 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5354 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5356 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5357 You should create a separate build directory and run configure from there." "$LINENO" 5
5358 enable_fonts=${enable_fonts:-no}
5359 enable_server=${enable_server:-no}
5360 elif test "x$enable_win64" = "xyes"
5361 then
5362 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5366 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5367 if ${wine_cv_toolsdir+:} false; then :
5368 $as_echo_n "(cached) " >&6
5369 else
5370 wine_cv_toolsdir="$with_wine_tools"
5371 if test -z "$with_wine_tools"; then
5372 if test "$cross_compiling" = "yes"; then
5373 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5374 elif test -n "$with_wine64"; then
5375 wine_cv_toolsdir="$with_wine64"
5378 if test -z "$wine_cv_toolsdir"; then
5379 wine_makedep=tools/makedep
5380 wine_cv_toolsdir="\$(top_builddir)"
5381 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5382 wine_makedep=$wine_cv_toolsdir/tools/makedep
5383 case "$wine_cv_toolsdir" in
5384 /*) ;;
5385 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5386 esac
5387 enable_tools=${enable_tools:-no}
5388 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5389 else
5390 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5394 $as_echo "$wine_cv_toolsdir" >&6; }
5395 TOOLSDIR=$wine_cv_toolsdir
5397 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5398 then
5399 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5403 for ac_prog in flex
5405 # Extract the first word of "$ac_prog", so it can be a program name with args.
5406 set dummy $ac_prog; ac_word=$2
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5408 $as_echo_n "checking for $ac_word... " >&6; }
5409 if ${ac_cv_prog_FLEX+:} false; then :
5410 $as_echo_n "(cached) " >&6
5411 else
5412 if test -n "$FLEX"; then
5413 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5414 else
5415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5416 for as_dir in $PATH
5418 IFS=$as_save_IFS
5419 test -z "$as_dir" && as_dir=.
5420 for ac_exec_ext in '' $ac_executable_extensions; do
5421 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5422 ac_cv_prog_FLEX="$ac_prog"
5423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5424 break 2
5426 done
5427 done
5428 IFS=$as_save_IFS
5432 FLEX=$ac_cv_prog_FLEX
5433 if test -n "$FLEX"; then
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5435 $as_echo "$FLEX" >&6; }
5436 else
5437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5438 $as_echo "no" >&6; }
5442 test -n "$FLEX" && break
5443 done
5444 test -n "$FLEX" || FLEX="none"
5446 if test "$FLEX" = "none"
5447 then
5448 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5451 $as_echo_n "checking whether flex is recent enough... " >&6; }
5452 cat >conftest.l <<EOF
5453 %top{
5454 #include "prediluvian.h"
5458 if $FLEX -t conftest.l >/dev/null 2>&5
5459 then
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5461 $as_echo "yes" >&6; }
5462 else
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5464 $as_echo "no" >&6; }
5465 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5468 for ac_prog in bison
5470 # Extract the first word of "$ac_prog", so it can be a program name with args.
5471 set dummy $ac_prog; ac_word=$2
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5473 $as_echo_n "checking for $ac_word... " >&6; }
5474 if ${ac_cv_prog_BISON+:} false; then :
5475 $as_echo_n "(cached) " >&6
5476 else
5477 if test -n "$BISON"; then
5478 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5479 else
5480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5481 for as_dir in $PATH
5483 IFS=$as_save_IFS
5484 test -z "$as_dir" && as_dir=.
5485 for ac_exec_ext in '' $ac_executable_extensions; do
5486 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5487 ac_cv_prog_BISON="$ac_prog"
5488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5489 break 2
5491 done
5492 done
5493 IFS=$as_save_IFS
5497 BISON=$ac_cv_prog_BISON
5498 if test -n "$BISON"; then
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5500 $as_echo "$BISON" >&6; }
5501 else
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5503 $as_echo "no" >&6; }
5507 test -n "$BISON" && break
5508 done
5509 test -n "$BISON" || BISON="none"
5511 if test "$BISON" = "none"
5512 then
5513 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5516 if test -n "$ac_tool_prefix"; then
5517 for ac_prog in ar gar
5519 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5520 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5522 $as_echo_n "checking for $ac_word... " >&6; }
5523 if ${ac_cv_prog_AR+:} false; then :
5524 $as_echo_n "(cached) " >&6
5525 else
5526 if test -n "$AR"; then
5527 ac_cv_prog_AR="$AR" # Let the user override the test.
5528 else
5529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5530 for as_dir in $PATH
5532 IFS=$as_save_IFS
5533 test -z "$as_dir" && as_dir=.
5534 for ac_exec_ext in '' $ac_executable_extensions; do
5535 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5536 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5537 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5538 break 2
5540 done
5541 done
5542 IFS=$as_save_IFS
5546 AR=$ac_cv_prog_AR
5547 if test -n "$AR"; then
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5549 $as_echo "$AR" >&6; }
5550 else
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5552 $as_echo "no" >&6; }
5556 test -n "$AR" && break
5557 done
5559 if test -z "$AR"; then
5560 ac_ct_AR=$AR
5561 for ac_prog in ar gar
5563 # Extract the first word of "$ac_prog", so it can be a program name with args.
5564 set dummy $ac_prog; ac_word=$2
5565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5566 $as_echo_n "checking for $ac_word... " >&6; }
5567 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5568 $as_echo_n "(cached) " >&6
5569 else
5570 if test -n "$ac_ct_AR"; then
5571 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5572 else
5573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5574 for as_dir in $PATH
5576 IFS=$as_save_IFS
5577 test -z "$as_dir" && as_dir=.
5578 for ac_exec_ext in '' $ac_executable_extensions; do
5579 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5580 ac_cv_prog_ac_ct_AR="$ac_prog"
5581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5582 break 2
5584 done
5585 done
5586 IFS=$as_save_IFS
5590 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5591 if test -n "$ac_ct_AR"; then
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5593 $as_echo "$ac_ct_AR" >&6; }
5594 else
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5596 $as_echo "no" >&6; }
5600 test -n "$ac_ct_AR" && break
5601 done
5603 if test "x$ac_ct_AR" = x; then
5604 AR="ar"
5605 else
5606 case $cross_compiling:$ac_tool_warned in
5607 yes:)
5608 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5609 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5610 ac_tool_warned=yes ;;
5611 esac
5612 AR=$ac_ct_AR
5616 if test -n "$ac_tool_prefix"; then
5617 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5618 set dummy ${ac_tool_prefix}strip; ac_word=$2
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5620 $as_echo_n "checking for $ac_word... " >&6; }
5621 if ${ac_cv_prog_STRIP+:} false; then :
5622 $as_echo_n "(cached) " >&6
5623 else
5624 if test -n "$STRIP"; then
5625 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5626 else
5627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5628 for as_dir in $PATH
5630 IFS=$as_save_IFS
5631 test -z "$as_dir" && as_dir=.
5632 for ac_exec_ext in '' $ac_executable_extensions; do
5633 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5634 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5636 break 2
5638 done
5639 done
5640 IFS=$as_save_IFS
5644 STRIP=$ac_cv_prog_STRIP
5645 if test -n "$STRIP"; then
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5647 $as_echo "$STRIP" >&6; }
5648 else
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5650 $as_echo "no" >&6; }
5655 if test -z "$ac_cv_prog_STRIP"; then
5656 ac_ct_STRIP=$STRIP
5657 # Extract the first word of "strip", so it can be a program name with args.
5658 set dummy strip; ac_word=$2
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5660 $as_echo_n "checking for $ac_word... " >&6; }
5661 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5662 $as_echo_n "(cached) " >&6
5663 else
5664 if test -n "$ac_ct_STRIP"; then
5665 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5666 else
5667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5668 for as_dir in $PATH
5670 IFS=$as_save_IFS
5671 test -z "$as_dir" && as_dir=.
5672 for ac_exec_ext in '' $ac_executable_extensions; do
5673 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5674 ac_cv_prog_ac_ct_STRIP="strip"
5675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5676 break 2
5678 done
5679 done
5680 IFS=$as_save_IFS
5684 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5685 if test -n "$ac_ct_STRIP"; then
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5687 $as_echo "$ac_ct_STRIP" >&6; }
5688 else
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5690 $as_echo "no" >&6; }
5693 if test "x$ac_ct_STRIP" = x; then
5694 STRIP="strip"
5695 else
5696 case $cross_compiling:$ac_tool_warned in
5697 yes:)
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5699 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5700 ac_tool_warned=yes ;;
5701 esac
5702 STRIP=$ac_ct_STRIP
5704 else
5705 STRIP="$ac_cv_prog_STRIP"
5708 ARFLAGS=rc
5710 if test -n "$ac_tool_prefix"; then
5711 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5712 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5714 $as_echo_n "checking for $ac_word... " >&6; }
5715 if ${ac_cv_prog_RANLIB+:} false; then :
5716 $as_echo_n "(cached) " >&6
5717 else
5718 if test -n "$RANLIB"; then
5719 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5720 else
5721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5722 for as_dir in $PATH
5724 IFS=$as_save_IFS
5725 test -z "$as_dir" && as_dir=.
5726 for ac_exec_ext in '' $ac_executable_extensions; do
5727 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5728 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5729 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5730 break 2
5732 done
5733 done
5734 IFS=$as_save_IFS
5738 RANLIB=$ac_cv_prog_RANLIB
5739 if test -n "$RANLIB"; then
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5741 $as_echo "$RANLIB" >&6; }
5742 else
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5744 $as_echo "no" >&6; }
5749 if test -z "$ac_cv_prog_RANLIB"; then
5750 ac_ct_RANLIB=$RANLIB
5751 # Extract the first word of "ranlib", so it can be a program name with args.
5752 set dummy ranlib; ac_word=$2
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5754 $as_echo_n "checking for $ac_word... " >&6; }
5755 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5756 $as_echo_n "(cached) " >&6
5757 else
5758 if test -n "$ac_ct_RANLIB"; then
5759 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5760 else
5761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5762 for as_dir in $PATH
5764 IFS=$as_save_IFS
5765 test -z "$as_dir" && as_dir=.
5766 for ac_exec_ext in '' $ac_executable_extensions; do
5767 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5768 ac_cv_prog_ac_ct_RANLIB="ranlib"
5769 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5770 break 2
5772 done
5773 done
5774 IFS=$as_save_IFS
5778 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5779 if test -n "$ac_ct_RANLIB"; then
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5781 $as_echo "$ac_ct_RANLIB" >&6; }
5782 else
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5784 $as_echo "no" >&6; }
5787 if test "x$ac_ct_RANLIB" = x; then
5788 RANLIB=":"
5789 else
5790 case $cross_compiling:$ac_tool_warned in
5791 yes:)
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5793 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5794 ac_tool_warned=yes ;;
5795 esac
5796 RANLIB=$ac_ct_RANLIB
5798 else
5799 RANLIB="$ac_cv_prog_RANLIB"
5802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5803 $as_echo_n "checking whether ln -s works... " >&6; }
5804 LN_S=$as_ln_s
5805 if test "$LN_S" = "ln -s"; then
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5807 $as_echo "yes" >&6; }
5808 else
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5810 $as_echo "no, using $LN_S" >&6; }
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5814 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5815 if ${ac_cv_path_GREP+:} false; then :
5816 $as_echo_n "(cached) " >&6
5817 else
5818 if test -z "$GREP"; then
5819 ac_path_GREP_found=false
5820 # Loop through the user's path and test for each of PROGNAME-LIST
5821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5822 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5824 IFS=$as_save_IFS
5825 test -z "$as_dir" && as_dir=.
5826 for ac_prog in grep ggrep; do
5827 for ac_exec_ext in '' $ac_executable_extensions; do
5828 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5829 as_fn_executable_p "$ac_path_GREP" || continue
5830 # Check for GNU ac_path_GREP and select it if it is found.
5831 # Check for GNU $ac_path_GREP
5832 case `"$ac_path_GREP" --version 2>&1` in
5833 *GNU*)
5834 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5836 ac_count=0
5837 $as_echo_n 0123456789 >"conftest.in"
5838 while :
5840 cat "conftest.in" "conftest.in" >"conftest.tmp"
5841 mv "conftest.tmp" "conftest.in"
5842 cp "conftest.in" "conftest.nl"
5843 $as_echo 'GREP' >> "conftest.nl"
5844 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5845 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5846 as_fn_arith $ac_count + 1 && ac_count=$as_val
5847 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5848 # Best one so far, save it but keep looking for a better one
5849 ac_cv_path_GREP="$ac_path_GREP"
5850 ac_path_GREP_max=$ac_count
5852 # 10*(2^10) chars as input seems more than enough
5853 test $ac_count -gt 10 && break
5854 done
5855 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5856 esac
5858 $ac_path_GREP_found && break 3
5859 done
5860 done
5861 done
5862 IFS=$as_save_IFS
5863 if test -z "$ac_cv_path_GREP"; then
5864 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5866 else
5867 ac_cv_path_GREP=$GREP
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5872 $as_echo "$ac_cv_path_GREP" >&6; }
5873 GREP="$ac_cv_path_GREP"
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5877 $as_echo_n "checking for egrep... " >&6; }
5878 if ${ac_cv_path_EGREP+:} false; then :
5879 $as_echo_n "(cached) " >&6
5880 else
5881 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5882 then ac_cv_path_EGREP="$GREP -E"
5883 else
5884 if test -z "$EGREP"; then
5885 ac_path_EGREP_found=false
5886 # Loop through the user's path and test for each of PROGNAME-LIST
5887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5888 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5890 IFS=$as_save_IFS
5891 test -z "$as_dir" && as_dir=.
5892 for ac_prog in egrep; do
5893 for ac_exec_ext in '' $ac_executable_extensions; do
5894 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5895 as_fn_executable_p "$ac_path_EGREP" || continue
5896 # Check for GNU ac_path_EGREP and select it if it is found.
5897 # Check for GNU $ac_path_EGREP
5898 case `"$ac_path_EGREP" --version 2>&1` in
5899 *GNU*)
5900 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5902 ac_count=0
5903 $as_echo_n 0123456789 >"conftest.in"
5904 while :
5906 cat "conftest.in" "conftest.in" >"conftest.tmp"
5907 mv "conftest.tmp" "conftest.in"
5908 cp "conftest.in" "conftest.nl"
5909 $as_echo 'EGREP' >> "conftest.nl"
5910 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5911 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5912 as_fn_arith $ac_count + 1 && ac_count=$as_val
5913 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5914 # Best one so far, save it but keep looking for a better one
5915 ac_cv_path_EGREP="$ac_path_EGREP"
5916 ac_path_EGREP_max=$ac_count
5918 # 10*(2^10) chars as input seems more than enough
5919 test $ac_count -gt 10 && break
5920 done
5921 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5922 esac
5924 $ac_path_EGREP_found && break 3
5925 done
5926 done
5927 done
5928 IFS=$as_save_IFS
5929 if test -z "$ac_cv_path_EGREP"; then
5930 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5932 else
5933 ac_cv_path_EGREP=$EGREP
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5939 $as_echo "$ac_cv_path_EGREP" >&6; }
5940 EGREP="$ac_cv_path_EGREP"
5943 # Extract the first word of "ldconfig", so it can be a program name with args.
5944 set dummy ldconfig; ac_word=$2
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5946 $as_echo_n "checking for $ac_word... " >&6; }
5947 if ${ac_cv_path_LDCONFIG+:} false; then :
5948 $as_echo_n "(cached) " >&6
5949 else
5950 case $LDCONFIG in
5951 [\\/]* | ?:[\\/]*)
5952 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5956 for as_dir in /sbin /usr/sbin $PATH
5958 IFS=$as_save_IFS
5959 test -z "$as_dir" && as_dir=.
5960 for ac_exec_ext in '' $ac_executable_extensions; do
5961 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5962 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5964 break 2
5966 done
5967 done
5968 IFS=$as_save_IFS
5970 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5972 esac
5974 LDCONFIG=$ac_cv_path_LDCONFIG
5975 if test -n "$LDCONFIG"; then
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5977 $as_echo "$LDCONFIG" >&6; }
5978 else
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5980 $as_echo "no" >&6; }
5984 for ac_prog in msgfmt
5986 # Extract the first word of "$ac_prog", so it can be a program name with args.
5987 set dummy $ac_prog; ac_word=$2
5988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5989 $as_echo_n "checking for $ac_word... " >&6; }
5990 if ${ac_cv_prog_MSGFMT+:} false; then :
5991 $as_echo_n "(cached) " >&6
5992 else
5993 if test -n "$MSGFMT"; then
5994 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5995 else
5996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5997 for as_dir in $PATH
5999 IFS=$as_save_IFS
6000 test -z "$as_dir" && as_dir=.
6001 for ac_exec_ext in '' $ac_executable_extensions; do
6002 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6003 ac_cv_prog_MSGFMT="$ac_prog"
6004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6005 break 2
6007 done
6008 done
6009 IFS=$as_save_IFS
6013 MSGFMT=$ac_cv_prog_MSGFMT
6014 if test -n "$MSGFMT"; then
6015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6016 $as_echo "$MSGFMT" >&6; }
6017 else
6018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6019 $as_echo "no" >&6; }
6023 test -n "$MSGFMT" && break
6024 done
6025 test -n "$MSGFMT" || MSGFMT="false"
6027 if ${ac_tool_prefix+:} false; then :
6028 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6029 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6031 $as_echo_n "checking for $ac_word... " >&6; }
6032 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6033 $as_echo_n "(cached) " >&6
6034 else
6035 if test -n "$PKG_CONFIG"; then
6036 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6037 else
6038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6039 for as_dir in $PATH
6041 IFS=$as_save_IFS
6042 test -z "$as_dir" && as_dir=.
6043 for ac_exec_ext in '' $ac_executable_extensions; do
6044 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6045 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6047 break 2
6049 done
6050 done
6051 IFS=$as_save_IFS
6055 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6056 if test -n "$PKG_CONFIG"; then
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6058 $as_echo "$PKG_CONFIG" >&6; }
6059 else
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6061 $as_echo "no" >&6; }
6066 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6067 if test "x$cross_compiling" = xyes; then :
6069 else
6070 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6071 # Extract the first word of "pkg-config", so it can be a program name with args.
6072 set dummy pkg-config; ac_word=$2
6073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6074 $as_echo_n "checking for $ac_word... " >&6; }
6075 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6076 $as_echo_n "(cached) " >&6
6077 else
6078 if test -n "$PKG_CONFIG"; then
6079 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6080 else
6081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6082 for as_dir in $PATH
6084 IFS=$as_save_IFS
6085 test -z "$as_dir" && as_dir=.
6086 for ac_exec_ext in '' $ac_executable_extensions; do
6087 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6088 ac_cv_prog_PKG_CONFIG="pkg-config"
6089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6090 break 2
6092 done
6093 done
6094 IFS=$as_save_IFS
6098 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6099 if test -n "$PKG_CONFIG"; then
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6101 $as_echo "$PKG_CONFIG" >&6; }
6102 else
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6104 $as_echo "no" >&6; }
6109 else
6110 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6113 if test "x$enable_maintainer_mode" != "xyes"
6114 then
6115 FONTFORGE=""
6116 RSVG=""
6117 CONVERT=""
6118 ICOTOOL=""
6119 else
6120 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6121 for ac_prog in fontforge
6123 # Extract the first word of "$ac_prog", so it can be a program name with args.
6124 set dummy $ac_prog; ac_word=$2
6125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6126 $as_echo_n "checking for $ac_word... " >&6; }
6127 if ${ac_cv_prog_FONTFORGE+:} false; then :
6128 $as_echo_n "(cached) " >&6
6129 else
6130 if test -n "$FONTFORGE"; then
6131 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6132 else
6133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6134 for as_dir in $PATH
6136 IFS=$as_save_IFS
6137 test -z "$as_dir" && as_dir=.
6138 for ac_exec_ext in '' $ac_executable_extensions; do
6139 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6140 ac_cv_prog_FONTFORGE="$ac_prog"
6141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6142 break 2
6144 done
6145 done
6146 IFS=$as_save_IFS
6150 FONTFORGE=$ac_cv_prog_FONTFORGE
6151 if test -n "$FONTFORGE"; then
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6153 $as_echo "$FONTFORGE" >&6; }
6154 else
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6156 $as_echo "no" >&6; }
6160 test -n "$FONTFORGE" && break
6161 done
6162 test -n "$FONTFORGE" || FONTFORGE="false"
6164 for ac_prog in rsvg-convert rsvg
6166 # Extract the first word of "$ac_prog", so it can be a program name with args.
6167 set dummy $ac_prog; ac_word=$2
6168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6169 $as_echo_n "checking for $ac_word... " >&6; }
6170 if ${ac_cv_prog_RSVG+:} false; then :
6171 $as_echo_n "(cached) " >&6
6172 else
6173 if test -n "$RSVG"; then
6174 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6175 else
6176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6177 for as_dir in $PATH
6179 IFS=$as_save_IFS
6180 test -z "$as_dir" && as_dir=.
6181 for ac_exec_ext in '' $ac_executable_extensions; do
6182 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6183 ac_cv_prog_RSVG="$ac_prog"
6184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6185 break 2
6187 done
6188 done
6189 IFS=$as_save_IFS
6193 RSVG=$ac_cv_prog_RSVG
6194 if test -n "$RSVG"; then
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6196 $as_echo "$RSVG" >&6; }
6197 else
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6199 $as_echo "no" >&6; }
6203 test -n "$RSVG" && break
6204 done
6205 test -n "$RSVG" || RSVG="false"
6207 for ac_prog in convert
6209 # Extract the first word of "$ac_prog", so it can be a program name with args.
6210 set dummy $ac_prog; ac_word=$2
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6212 $as_echo_n "checking for $ac_word... " >&6; }
6213 if ${ac_cv_prog_CONVERT+:} false; then :
6214 $as_echo_n "(cached) " >&6
6215 else
6216 if test -n "$CONVERT"; then
6217 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6218 else
6219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6220 for as_dir in $PATH
6222 IFS=$as_save_IFS
6223 test -z "$as_dir" && as_dir=.
6224 for ac_exec_ext in '' $ac_executable_extensions; do
6225 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6226 ac_cv_prog_CONVERT="$ac_prog"
6227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6228 break 2
6230 done
6231 done
6232 IFS=$as_save_IFS
6236 CONVERT=$ac_cv_prog_CONVERT
6237 if test -n "$CONVERT"; then
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6239 $as_echo "$CONVERT" >&6; }
6240 else
6241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6242 $as_echo "no" >&6; }
6246 test -n "$CONVERT" && break
6247 done
6248 test -n "$CONVERT" || CONVERT="false"
6250 for ac_prog in icotool
6252 # Extract the first word of "$ac_prog", so it can be a program name with args.
6253 set dummy $ac_prog; ac_word=$2
6254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6255 $as_echo_n "checking for $ac_word... " >&6; }
6256 if ${ac_cv_prog_ICOTOOL+:} false; then :
6257 $as_echo_n "(cached) " >&6
6258 else
6259 if test -n "$ICOTOOL"; then
6260 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6261 else
6262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6263 for as_dir in $PATH
6265 IFS=$as_save_IFS
6266 test -z "$as_dir" && as_dir=.
6267 for ac_exec_ext in '' $ac_executable_extensions; do
6268 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6269 ac_cv_prog_ICOTOOL="$ac_prog"
6270 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6271 break 2
6273 done
6274 done
6275 IFS=$as_save_IFS
6279 ICOTOOL=$ac_cv_prog_ICOTOOL
6280 if test -n "$ICOTOOL"; then
6281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6282 $as_echo "$ICOTOOL" >&6; }
6283 else
6284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6285 $as_echo "no" >&6; }
6289 test -n "$ICOTOOL" && break
6290 done
6291 test -n "$ICOTOOL" || ICOTOOL="false"
6293 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6294 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6296 if test "$CONVERT" = false
6297 then
6298 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6299 else
6300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6301 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6302 convert_version=`convert --version | head -n1`
6303 if test "x$convert_version" != "x"
6304 then
6305 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6306 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6307 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6308 then
6309 CONVERT=false
6312 if test "$CONVERT" = false
6313 then
6314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6315 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6316 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6317 else
6318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6319 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6323 if test "$ICOTOOL" = false
6324 then
6325 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6326 else
6327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6328 $as_echo_n "checking for recent enough icotool... " >&6; }
6329 icotool_version=`icotool --version | head -n1`
6330 if test "x$icotool_version" != "x"
6331 then
6332 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6333 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6334 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6335 then
6336 ICOTOOL=false
6337 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6340 if test "$ICOTOOL" = false
6341 then
6342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6343 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6344 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6345 else
6346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6347 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6351 with_gettext=yes
6352 with_gettextpo=yes
6353 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6356 test "x$with_gettext" != xno || MSGFMT=false
6357 if test "$MSGFMT" != "false"
6358 then
6359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6360 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6361 cat >conftest.po <<EOF
6362 # comment
6363 msgctxt "ctxt"
6364 msgid "id"
6365 msgstr "str"
6367 if $MSGFMT -o /dev/null conftest.po 2>&5
6368 then
6369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6370 $as_echo "yes" >&6; }
6371 else
6372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6373 $as_echo "no" >&6; }
6374 MSGFMT=false
6377 if test "$MSGFMT" = false; then :
6378 case "x$with_gettext" in
6379 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6380 xno) ;;
6381 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6382 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6383 esac
6384 enable_po=${enable_po:-no}
6388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6389 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6390 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6391 $as_echo_n "(cached) " >&6
6392 else
6393 ac_check_lib_save_LIBS=$LIBS
6394 LIBS="-li386 $LIBS"
6395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6396 /* end confdefs.h. */
6398 /* Override any GCC internal prototype to avoid an error.
6399 Use char because int might match the return type of a GCC
6400 builtin and then its argument prototype would still apply. */
6401 #ifdef __cplusplus
6402 extern "C"
6403 #endif
6404 char i386_set_ldt ();
6406 main ()
6408 return i386_set_ldt ();
6410 return 0;
6412 _ACEOF
6413 if ac_fn_c_try_link "$LINENO"; then :
6414 ac_cv_lib_i386_i386_set_ldt=yes
6415 else
6416 ac_cv_lib_i386_i386_set_ldt=no
6418 rm -f core conftest.err conftest.$ac_objext \
6419 conftest$ac_exeext conftest.$ac_ext
6420 LIBS=$ac_check_lib_save_LIBS
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6423 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6424 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6425 cat >>confdefs.h <<_ACEOF
6426 #define HAVE_LIBI386 1
6427 _ACEOF
6429 LIBS="-li386 $LIBS"
6433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6434 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6435 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6436 $as_echo_n "(cached) " >&6
6437 else
6438 ac_check_lib_save_LIBS=$LIBS
6439 LIBS="-lossaudio $LIBS"
6440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6441 /* end confdefs.h. */
6443 /* Override any GCC internal prototype to avoid an error.
6444 Use char because int might match the return type of a GCC
6445 builtin and then its argument prototype would still apply. */
6446 #ifdef __cplusplus
6447 extern "C"
6448 #endif
6449 char _oss_ioctl ();
6451 main ()
6453 return _oss_ioctl ();
6455 return 0;
6457 _ACEOF
6458 if ac_fn_c_try_link "$LINENO"; then :
6459 ac_cv_lib_ossaudio__oss_ioctl=yes
6460 else
6461 ac_cv_lib_ossaudio__oss_ioctl=no
6463 rm -f core conftest.err conftest.$ac_objext \
6464 conftest$ac_exeext conftest.$ac_ext
6465 LIBS=$ac_check_lib_save_LIBS
6467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6468 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6469 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6470 cat >>confdefs.h <<_ACEOF
6471 #define HAVE_LIBOSSAUDIO 1
6472 _ACEOF
6474 LIBS="-lossaudio $LIBS"
6479 OPENGL_LIBS=""
6483 # Check whether --enable-largefile was given.
6484 if test "${enable_largefile+set}" = set; then :
6485 enableval=$enable_largefile;
6488 if test "$enable_largefile" != no; then
6490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6491 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6492 if ${ac_cv_sys_largefile_CC+:} false; then :
6493 $as_echo_n "(cached) " >&6
6494 else
6495 ac_cv_sys_largefile_CC=no
6496 if test "$GCC" != yes; then
6497 ac_save_CC=$CC
6498 while :; do
6499 # IRIX 6.2 and later do not support large files by default,
6500 # so use the C compiler's -n32 option if that helps.
6501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6502 /* end confdefs.h. */
6503 #include <sys/types.h>
6504 /* Check that off_t can represent 2**63 - 1 correctly.
6505 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6506 since some C++ compilers masquerading as C compilers
6507 incorrectly reject 9223372036854775807. */
6508 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6509 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6510 && LARGE_OFF_T % 2147483647 == 1)
6511 ? 1 : -1];
6513 main ()
6517 return 0;
6519 _ACEOF
6520 if ac_fn_c_try_compile "$LINENO"; then :
6521 break
6523 rm -f core conftest.err conftest.$ac_objext
6524 CC="$CC -n32"
6525 if ac_fn_c_try_compile "$LINENO"; then :
6526 ac_cv_sys_largefile_CC=' -n32'; break
6528 rm -f core conftest.err conftest.$ac_objext
6529 break
6530 done
6531 CC=$ac_save_CC
6532 rm -f conftest.$ac_ext
6535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6536 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6537 if test "$ac_cv_sys_largefile_CC" != no; then
6538 CC=$CC$ac_cv_sys_largefile_CC
6541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6542 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6543 if ${ac_cv_sys_file_offset_bits+:} false; then :
6544 $as_echo_n "(cached) " >&6
6545 else
6546 while :; do
6547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6548 /* end confdefs.h. */
6549 #include <sys/types.h>
6550 /* Check that off_t can represent 2**63 - 1 correctly.
6551 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6552 since some C++ compilers masquerading as C compilers
6553 incorrectly reject 9223372036854775807. */
6554 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6555 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6556 && LARGE_OFF_T % 2147483647 == 1)
6557 ? 1 : -1];
6559 main ()
6563 return 0;
6565 _ACEOF
6566 if ac_fn_c_try_compile "$LINENO"; then :
6567 ac_cv_sys_file_offset_bits=no; break
6569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6571 /* end confdefs.h. */
6572 #define _FILE_OFFSET_BITS 64
6573 #include <sys/types.h>
6574 /* Check that off_t can represent 2**63 - 1 correctly.
6575 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6576 since some C++ compilers masquerading as C compilers
6577 incorrectly reject 9223372036854775807. */
6578 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6579 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6580 && LARGE_OFF_T % 2147483647 == 1)
6581 ? 1 : -1];
6583 main ()
6587 return 0;
6589 _ACEOF
6590 if ac_fn_c_try_compile "$LINENO"; then :
6591 ac_cv_sys_file_offset_bits=64; break
6593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6594 ac_cv_sys_file_offset_bits=unknown
6595 break
6596 done
6598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6599 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6600 case $ac_cv_sys_file_offset_bits in #(
6601 no | unknown) ;;
6603 cat >>confdefs.h <<_ACEOF
6604 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6605 _ACEOF
6607 esac
6608 rm -rf conftest*
6609 if test $ac_cv_sys_file_offset_bits = unknown; then
6610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6611 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6612 if ${ac_cv_sys_large_files+:} false; then :
6613 $as_echo_n "(cached) " >&6
6614 else
6615 while :; do
6616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6617 /* end confdefs.h. */
6618 #include <sys/types.h>
6619 /* Check that off_t can represent 2**63 - 1 correctly.
6620 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6621 since some C++ compilers masquerading as C compilers
6622 incorrectly reject 9223372036854775807. */
6623 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6624 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6625 && LARGE_OFF_T % 2147483647 == 1)
6626 ? 1 : -1];
6628 main ()
6632 return 0;
6634 _ACEOF
6635 if ac_fn_c_try_compile "$LINENO"; then :
6636 ac_cv_sys_large_files=no; break
6638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6640 /* end confdefs.h. */
6641 #define _LARGE_FILES 1
6642 #include <sys/types.h>
6643 /* Check that off_t can represent 2**63 - 1 correctly.
6644 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6645 since some C++ compilers masquerading as C compilers
6646 incorrectly reject 9223372036854775807. */
6647 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6648 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6649 && LARGE_OFF_T % 2147483647 == 1)
6650 ? 1 : -1];
6652 main ()
6656 return 0;
6658 _ACEOF
6659 if ac_fn_c_try_compile "$LINENO"; then :
6660 ac_cv_sys_large_files=1; break
6662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6663 ac_cv_sys_large_files=unknown
6664 break
6665 done
6667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6668 $as_echo "$ac_cv_sys_large_files" >&6; }
6669 case $ac_cv_sys_large_files in #(
6670 no | unknown) ;;
6672 cat >>confdefs.h <<_ACEOF
6673 #define _LARGE_FILES $ac_cv_sys_large_files
6674 _ACEOF
6676 esac
6677 rm -rf conftest*
6684 ac_ext=c
6685 ac_cpp='$CPP $CPPFLAGS'
6686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6690 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6691 # On Suns, sometimes $CPP names a directory.
6692 if test -n "$CPP" && test -d "$CPP"; then
6693 CPP=
6695 if test -z "$CPP"; then
6696 if ${ac_cv_prog_CPP+:} false; then :
6697 $as_echo_n "(cached) " >&6
6698 else
6699 # Double quotes because CPP needs to be expanded
6700 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6702 ac_preproc_ok=false
6703 for ac_c_preproc_warn_flag in '' yes
6705 # Use a header file that comes with gcc, so configuring glibc
6706 # with a fresh cross-compiler works.
6707 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6708 # <limits.h> exists even on freestanding compilers.
6709 # On the NeXT, cc -E runs the code through the compiler's parser,
6710 # not just through cpp. "Syntax error" is here to catch this case.
6711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6712 /* end confdefs.h. */
6713 #ifdef __STDC__
6714 # include <limits.h>
6715 #else
6716 # include <assert.h>
6717 #endif
6718 Syntax error
6719 _ACEOF
6720 if ac_fn_c_try_cpp "$LINENO"; then :
6722 else
6723 # Broken: fails on valid input.
6724 continue
6726 rm -f conftest.err conftest.i conftest.$ac_ext
6728 # OK, works on sane cases. Now check whether nonexistent headers
6729 # can be detected and how.
6730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6731 /* end confdefs.h. */
6732 #include <ac_nonexistent.h>
6733 _ACEOF
6734 if ac_fn_c_try_cpp "$LINENO"; then :
6735 # Broken: success on invalid input.
6736 continue
6737 else
6738 # Passes both tests.
6739 ac_preproc_ok=:
6740 break
6742 rm -f conftest.err conftest.i conftest.$ac_ext
6744 done
6745 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6746 rm -f conftest.i conftest.err conftest.$ac_ext
6747 if $ac_preproc_ok; then :
6748 break
6751 done
6752 ac_cv_prog_CPP=$CPP
6755 CPP=$ac_cv_prog_CPP
6756 else
6757 ac_cv_prog_CPP=$CPP
6759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6760 $as_echo "$CPP" >&6; }
6761 ac_preproc_ok=false
6762 for ac_c_preproc_warn_flag in '' yes
6764 # Use a header file that comes with gcc, so configuring glibc
6765 # with a fresh cross-compiler works.
6766 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6767 # <limits.h> exists even on freestanding compilers.
6768 # On the NeXT, cc -E runs the code through the compiler's parser,
6769 # not just through cpp. "Syntax error" is here to catch this case.
6770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6771 /* end confdefs.h. */
6772 #ifdef __STDC__
6773 # include <limits.h>
6774 #else
6775 # include <assert.h>
6776 #endif
6777 Syntax error
6778 _ACEOF
6779 if ac_fn_c_try_cpp "$LINENO"; then :
6781 else
6782 # Broken: fails on valid input.
6783 continue
6785 rm -f conftest.err conftest.i conftest.$ac_ext
6787 # OK, works on sane cases. Now check whether nonexistent headers
6788 # can be detected and how.
6789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6790 /* end confdefs.h. */
6791 #include <ac_nonexistent.h>
6792 _ACEOF
6793 if ac_fn_c_try_cpp "$LINENO"; then :
6794 # Broken: success on invalid input.
6795 continue
6796 else
6797 # Passes both tests.
6798 ac_preproc_ok=:
6799 break
6801 rm -f conftest.err conftest.i conftest.$ac_ext
6803 done
6804 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6805 rm -f conftest.i conftest.err conftest.$ac_ext
6806 if $ac_preproc_ok; then :
6808 else
6809 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6810 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6811 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6812 See \`config.log' for more details" "$LINENO" 5; }
6815 ac_ext=c
6816 ac_cpp='$CPP $CPPFLAGS'
6817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6823 $as_echo_n "checking for ANSI C header files... " >&6; }
6824 if ${ac_cv_header_stdc+:} false; then :
6825 $as_echo_n "(cached) " >&6
6826 else
6827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6828 /* end confdefs.h. */
6829 #include <stdlib.h>
6830 #include <stdarg.h>
6831 #include <string.h>
6832 #include <float.h>
6835 main ()
6839 return 0;
6841 _ACEOF
6842 if ac_fn_c_try_compile "$LINENO"; then :
6843 ac_cv_header_stdc=yes
6844 else
6845 ac_cv_header_stdc=no
6847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6849 if test $ac_cv_header_stdc = yes; then
6850 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6852 /* end confdefs.h. */
6853 #include <string.h>
6855 _ACEOF
6856 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6857 $EGREP "memchr" >/dev/null 2>&1; then :
6859 else
6860 ac_cv_header_stdc=no
6862 rm -f conftest*
6866 if test $ac_cv_header_stdc = yes; then
6867 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6869 /* end confdefs.h. */
6870 #include <stdlib.h>
6872 _ACEOF
6873 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6874 $EGREP "free" >/dev/null 2>&1; then :
6876 else
6877 ac_cv_header_stdc=no
6879 rm -f conftest*
6883 if test $ac_cv_header_stdc = yes; then
6884 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6885 if test "$cross_compiling" = yes; then :
6887 else
6888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6889 /* end confdefs.h. */
6890 #include <ctype.h>
6891 #include <stdlib.h>
6892 #if ((' ' & 0x0FF) == 0x020)
6893 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6894 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6895 #else
6896 # define ISLOWER(c) \
6897 (('a' <= (c) && (c) <= 'i') \
6898 || ('j' <= (c) && (c) <= 'r') \
6899 || ('s' <= (c) && (c) <= 'z'))
6900 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6901 #endif
6903 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6905 main ()
6907 int i;
6908 for (i = 0; i < 256; i++)
6909 if (XOR (islower (i), ISLOWER (i))
6910 || toupper (i) != TOUPPER (i))
6911 return 2;
6912 return 0;
6914 _ACEOF
6915 if ac_fn_c_try_run "$LINENO"; then :
6917 else
6918 ac_cv_header_stdc=no
6920 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6921 conftest.$ac_objext conftest.beam conftest.$ac_ext
6926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6927 $as_echo "$ac_cv_header_stdc" >&6; }
6928 if test $ac_cv_header_stdc = yes; then
6930 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6934 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6935 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6936 inttypes.h stdint.h unistd.h
6937 do :
6938 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6939 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6941 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6942 cat >>confdefs.h <<_ACEOF
6943 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6944 _ACEOF
6948 done
6951 for ac_header in \
6952 AL/al.h \
6953 ApplicationServices/ApplicationServices.h \
6954 AudioToolbox/AudioConverter.h \
6955 AudioUnit/AudioUnit.h \
6956 AudioUnit/AudioComponent.h \
6957 CL/cl.h \
6958 Carbon/Carbon.h \
6959 CommonCrypto/CommonCryptor.h \
6960 CoreAudio/CoreAudio.h \
6961 CoreServices/CoreServices.h \
6962 DiskArbitration/DiskArbitration.h \
6963 EGL/egl.h \
6964 IOKit/IOKitLib.h \
6965 IOKit/hid/IOHIDLib.h \
6966 OpenAL/al.h \
6967 OpenCL/opencl.h \
6968 QuickTime/ImageCompression.h \
6969 Security/Security.h \
6970 alias.h \
6971 alsa/asoundlib.h \
6972 arpa/inet.h \
6973 arpa/nameser.h \
6974 asm/types.h \
6975 asm/user.h \
6976 curses.h \
6977 direct.h \
6978 dirent.h \
6979 dlfcn.h \
6980 elf.h \
6981 float.h \
6982 fnmatch.h \
6983 getopt.h \
6984 gettext-po.h \
6985 grp.h \
6986 gsm.h \
6987 gsm/gsm.h \
6988 ieeefp.h \
6989 inet/mib2.h \
6990 io.h \
6991 kstat.h \
6992 libproc.h \
6993 link.h \
6994 linux/cdrom.h \
6995 linux/compiler.h \
6996 linux/filter.h \
6997 linux/hdreg.h \
6998 linux/hidraw.h \
6999 linux/input.h \
7000 linux/ioctl.h \
7001 linux/joystick.h \
7002 linux/major.h \
7003 linux/param.h \
7004 linux/serial.h \
7005 linux/types.h \
7006 linux/ucdrom.h \
7007 lwp.h \
7008 mach-o/nlist.h \
7009 mach-o/loader.h \
7010 mach/mach.h \
7011 mach/machine.h \
7012 machine/cpu.h \
7013 machine/limits.h \
7014 machine/sysarch.h \
7015 mntent.h \
7016 ncurses.h \
7017 netdb.h \
7018 netinet/in.h \
7019 netinet/in_systm.h \
7020 netinet/tcp.h \
7021 netinet/tcp_fsm.h \
7022 pcap/pcap.h \
7023 poll.h \
7024 port.h \
7025 process.h \
7026 pthread.h \
7027 pwd.h \
7028 sched.h \
7029 scsi/scsi.h \
7030 scsi/scsi_ioctl.h \
7031 scsi/sg.h \
7032 stdbool.h \
7033 stdint.h \
7034 stropts.h \
7035 sys/asoundlib.h \
7036 sys/attr.h \
7037 sys/auxv.h \
7038 sys/cdio.h \
7039 sys/elf32.h \
7040 sys/epoll.h \
7041 sys/event.h \
7042 sys/exec_elf.h \
7043 sys/filio.h \
7044 sys/inotify.h \
7045 sys/ioctl.h \
7046 sys/ipc.h \
7047 sys/limits.h \
7048 sys/link.h \
7049 sys/mman.h \
7050 sys/modem.h \
7051 sys/msg.h \
7052 sys/mtio.h \
7053 sys/param.h \
7054 sys/poll.h \
7055 sys/prctl.h \
7056 sys/protosw.h \
7057 sys/ptrace.h \
7058 sys/queue.h \
7059 sys/resource.h \
7060 sys/scsiio.h \
7061 sys/shm.h \
7062 sys/signal.h \
7063 sys/socket.h \
7064 sys/socketvar.h \
7065 sys/sockio.h \
7066 sys/statvfs.h \
7067 sys/strtio.h \
7068 sys/syscall.h \
7069 sys/sysinfo.h \
7070 sys/tihdr.h \
7071 sys/time.h \
7072 sys/timeout.h \
7073 sys/times.h \
7074 sys/uio.h \
7075 sys/user.h \
7076 sys/utsname.h \
7077 sys/vnode.h \
7078 sys/wait.h \
7079 syscall.h \
7080 termios.h \
7081 unistd.h \
7082 utime.h \
7083 valgrind/memcheck.h \
7084 valgrind/valgrind.h \
7085 zlib.h
7087 do :
7088 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7089 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7090 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7091 cat >>confdefs.h <<_ACEOF
7092 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7093 _ACEOF
7097 done
7099 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7100 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7102 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7107 if test $ac_cv_header_sys_mkdev_h = no; then
7108 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7109 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7111 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7118 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7119 if ${ac_cv_header_stat_broken+:} false; then :
7120 $as_echo_n "(cached) " >&6
7121 else
7122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7123 /* end confdefs.h. */
7124 #include <sys/types.h>
7125 #include <sys/stat.h>
7127 #if defined S_ISBLK && defined S_IFDIR
7128 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7129 #endif
7131 #if defined S_ISBLK && defined S_IFCHR
7132 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7133 #endif
7135 #if defined S_ISLNK && defined S_IFREG
7136 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7137 #endif
7139 #if defined S_ISSOCK && defined S_IFREG
7140 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7141 #endif
7143 _ACEOF
7144 if ac_fn_c_try_compile "$LINENO"; then :
7145 ac_cv_header_stat_broken=no
7146 else
7147 ac_cv_header_stat_broken=yes
7149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7152 $as_echo "$ac_cv_header_stat_broken" >&6; }
7153 if test $ac_cv_header_stat_broken = yes; then
7155 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7161 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7162 do :
7163 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7164 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7165 #ifdef HAVE_SYS_PARAM_H
7166 # include <sys/param.h>
7167 #endif
7169 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7170 cat >>confdefs.h <<_ACEOF
7171 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7172 _ACEOF
7176 done
7179 for ac_header in \
7180 netinet/ip.h \
7181 net/if.h \
7182 net/if_arp.h \
7183 net/if_dl.h \
7184 net/if_types.h \
7185 net/route.h \
7186 netinet/if_ether.h \
7187 netinet/if_inarp.h \
7188 netinet/in_pcb.h \
7189 netinet/ip_icmp.h \
7190 netinet/ip_var.h \
7191 netinet/udp.h \
7192 netipx/ipx.h \
7193 sys/un.h \
7195 do :
7196 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7197 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7198 #ifdef HAVE_SYS_SOCKET_H
7199 # include <sys/socket.h>
7200 #endif
7201 #ifdef HAVE_SYS_SOCKETVAR_H
7202 # include <sys/socketvar.h>
7203 #endif
7204 #ifdef HAVE_NET_ROUTE_H
7205 # include <net/route.h>
7206 #endif
7207 #ifdef HAVE_NETINET_IN_H
7208 # include <netinet/in.h>
7209 #endif
7210 #ifdef HAVE_NETINET_IN_SYSTM_H
7211 # include <netinet/in_systm.h>
7212 #endif
7213 #ifdef HAVE_NET_IF_H
7214 # include <net/if.h>
7215 #endif
7216 #ifdef HAVE_NETINET_IP_H
7217 # include <netinet/ip.h>
7218 #endif
7220 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7221 cat >>confdefs.h <<_ACEOF
7222 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7223 _ACEOF
7227 done
7230 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7231 do :
7232 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7233 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7234 #ifdef HAVE_ALIAS_H
7235 # include <alias.h>
7236 #endif
7237 #ifdef HAVE_SYS_SOCKET_H
7238 # include <sys/socket.h>
7239 #endif
7240 #ifdef HAVE_SYS_SOCKETVAR_H
7241 # include <sys/socketvar.h>
7242 #endif
7243 #ifdef HAVE_SYS_TIMEOUT_H
7244 # include <sys/timeout.h>
7245 #endif
7246 #ifdef HAVE_NETINET_IN_H
7247 # include <netinet/in.h>
7248 #endif
7249 #ifdef HAVE_NETINET_IN_SYSTM_H
7250 # include <netinet/in_systm.h>
7251 #endif
7252 #ifdef HAVE_NETINET_IP_H
7253 # include <netinet/ip.h>
7254 #endif
7255 #ifdef HAVE_NETINET_IP_VAR_H
7256 # include <netinet/ip_var.h>
7257 #endif
7258 #ifdef HAVE_NETINET_IP_ICMP_H
7259 # include <netinet/ip_icmp.h>
7260 #endif
7261 #ifdef HAVE_NETINET_UDP_H
7262 # include <netinet/udp.h>
7263 #endif
7264 #ifdef HAVE_NETINET_TCP_H
7265 # include <netinet/tcp.h>
7266 #endif
7267 #ifdef HAVE_NETINET_TCP_TIMER_H
7268 #include <netinet/tcp_timer.h>
7269 #endif
7271 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7272 cat >>confdefs.h <<_ACEOF
7273 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7274 _ACEOF
7278 done
7281 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7282 do :
7283 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7284 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7285 #ifdef HAVE_ASM_TYPES_H
7286 # include <asm/types.h>
7287 #endif
7288 #ifdef HAVE_SYS_SOCKET_H
7289 # include <sys/socket.h>
7290 #endif
7291 #ifdef HAVE_LINUX_TYPES_H
7292 # include <linux/types.h>
7293 #endif
7295 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7296 cat >>confdefs.h <<_ACEOF
7297 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7298 _ACEOF
7302 done
7305 for ac_header in mach-o/dyld_images.h
7306 do :
7307 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7308 # include <stdbool.h>
7309 #endif
7310 #ifdef HAVE_STDINT_H
7311 # include <stdint.h>
7312 #endif
7314 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7315 cat >>confdefs.h <<_ACEOF
7316 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7317 _ACEOF
7321 done
7324 for ac_header in resolv.h
7325 do :
7326 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7327 #ifdef HAVE_SYS_SOCKET_H
7328 # include <sys/socket.h>
7329 #endif
7330 #ifdef HAVE_NETINET_IN_H
7331 # include <netinet/in.h>
7332 #endif
7333 #ifdef HAVE_ARPA_NAMESER_H
7334 # include <arpa/nameser.h>
7335 #endif
7337 if test "x$ac_cv_header_resolv_h" = xyes; then :
7338 cat >>confdefs.h <<_ACEOF
7339 #define HAVE_RESOLV_H 1
7340 _ACEOF
7344 done
7347 for ac_header in ifaddrs.h
7348 do :
7349 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7351 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7352 cat >>confdefs.h <<_ACEOF
7353 #define HAVE_IFADDRS_H 1
7354 _ACEOF
7358 done
7361 for ac_header in sys/ucontext.h
7362 do :
7363 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7365 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7366 cat >>confdefs.h <<_ACEOF
7367 #define HAVE_SYS_UCONTEXT_H 1
7368 _ACEOF
7372 done
7375 for ac_header in sys/thr.h
7376 do :
7377 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7378 #ifdef HAVE_SYS_UCONTEXT_H
7379 #include <sys/ucontext.h>
7380 #endif
7382 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7383 cat >>confdefs.h <<_ACEOF
7384 #define HAVE_SYS_THR_H 1
7385 _ACEOF
7389 done
7392 for ac_header in pthread_np.h
7393 do :
7394 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7395 #include <pthread.h>
7396 #endif
7398 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7399 cat >>confdefs.h <<_ACEOF
7400 #define HAVE_PTHREAD_NP_H 1
7401 _ACEOF
7405 done
7408 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7409 do :
7410 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7411 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7412 #include <sys/time.h>
7413 #endif
7414 #include <sys/types.h>
7415 #ifdef HAVE_ASM_TYPES_H
7416 #include <asm/types.h>
7417 #endif
7419 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7420 cat >>confdefs.h <<_ACEOF
7421 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7422 _ACEOF
7426 done
7429 for ac_header in libprocstat.h
7430 do :
7431 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7432 #include <sys/param.h>
7433 #endif
7434 #ifdef HAVE_SYS_QUEUE_H
7435 #include <sys/queue.h>
7436 #endif
7437 #ifdef HAVE_SYS_SOCKET_H
7438 #include <sys/socket.h>
7439 #endif
7441 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7442 cat >>confdefs.h <<_ACEOF
7443 #define HAVE_LIBPROCSTAT_H 1
7444 _ACEOF
7448 done
7452 DLLFLAGS="-D_REENTRANT"
7454 LDRPATH_INSTALL=""
7456 LDRPATH_LOCAL=""
7458 LDEXECFLAGS=""
7460 WINELOADER_LDFLAGS=""
7462 LIBEXT="so"
7463 DLLEXT=".so"
7464 IMPLIBEXT="def"
7465 # Extract the first word of "ldd", so it can be a program name with args.
7466 set dummy ldd; ac_word=$2
7467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7468 $as_echo_n "checking for $ac_word... " >&6; }
7469 if ${ac_cv_path_LDD+:} false; then :
7470 $as_echo_n "(cached) " >&6
7471 else
7472 case $LDD in
7473 [\\/]* | ?:[\\/]*)
7474 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7478 as_dummy="/sbin:/usr/sbin:$PATH"
7479 for as_dir in $as_dummy
7481 IFS=$as_save_IFS
7482 test -z "$as_dir" && as_dir=.
7483 for ac_exec_ext in '' $ac_executable_extensions; do
7484 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7485 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7487 break 2
7489 done
7490 done
7491 IFS=$as_save_IFS
7493 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7495 esac
7497 LDD=$ac_cv_path_LDD
7498 if test -n "$LDD"; then
7499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7500 $as_echo "$LDD" >&6; }
7501 else
7502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7503 $as_echo "no" >&6; }
7507 if test -n "$ac_tool_prefix"; then
7508 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7509 set dummy ${ac_tool_prefix}otool; ac_word=$2
7510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7511 $as_echo_n "checking for $ac_word... " >&6; }
7512 if ${ac_cv_prog_OTOOL+:} false; then :
7513 $as_echo_n "(cached) " >&6
7514 else
7515 if test -n "$OTOOL"; then
7516 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7517 else
7518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7519 for as_dir in $PATH
7521 IFS=$as_save_IFS
7522 test -z "$as_dir" && as_dir=.
7523 for ac_exec_ext in '' $ac_executable_extensions; do
7524 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7525 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7526 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7527 break 2
7529 done
7530 done
7531 IFS=$as_save_IFS
7535 OTOOL=$ac_cv_prog_OTOOL
7536 if test -n "$OTOOL"; then
7537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7538 $as_echo "$OTOOL" >&6; }
7539 else
7540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7541 $as_echo "no" >&6; }
7546 if test -z "$ac_cv_prog_OTOOL"; then
7547 ac_ct_OTOOL=$OTOOL
7548 # Extract the first word of "otool", so it can be a program name with args.
7549 set dummy otool; ac_word=$2
7550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7551 $as_echo_n "checking for $ac_word... " >&6; }
7552 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7553 $as_echo_n "(cached) " >&6
7554 else
7555 if test -n "$ac_ct_OTOOL"; then
7556 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7557 else
7558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7559 for as_dir in $PATH
7561 IFS=$as_save_IFS
7562 test -z "$as_dir" && as_dir=.
7563 for ac_exec_ext in '' $ac_executable_extensions; do
7564 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7565 ac_cv_prog_ac_ct_OTOOL="otool"
7566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7567 break 2
7569 done
7570 done
7571 IFS=$as_save_IFS
7575 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7576 if test -n "$ac_ct_OTOOL"; then
7577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7578 $as_echo "$ac_ct_OTOOL" >&6; }
7579 else
7580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7581 $as_echo "no" >&6; }
7584 if test "x$ac_ct_OTOOL" = x; then
7585 OTOOL="otool"
7586 else
7587 case $cross_compiling:$ac_tool_warned in
7588 yes:)
7589 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7590 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7591 ac_tool_warned=yes ;;
7592 esac
7593 OTOOL=$ac_ct_OTOOL
7595 else
7596 OTOOL="$ac_cv_prog_OTOOL"
7599 if test -n "$ac_tool_prefix"; then
7600 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7601 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7603 $as_echo_n "checking for $ac_word... " >&6; }
7604 if ${ac_cv_prog_READELF+:} false; then :
7605 $as_echo_n "(cached) " >&6
7606 else
7607 if test -n "$READELF"; then
7608 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7609 else
7610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7611 for as_dir in $PATH
7613 IFS=$as_save_IFS
7614 test -z "$as_dir" && as_dir=.
7615 for ac_exec_ext in '' $ac_executable_extensions; do
7616 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7617 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7619 break 2
7621 done
7622 done
7623 IFS=$as_save_IFS
7627 READELF=$ac_cv_prog_READELF
7628 if test -n "$READELF"; then
7629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7630 $as_echo "$READELF" >&6; }
7631 else
7632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7633 $as_echo "no" >&6; }
7638 if test -z "$ac_cv_prog_READELF"; then
7639 ac_ct_READELF=$READELF
7640 # Extract the first word of "readelf", so it can be a program name with args.
7641 set dummy readelf; ac_word=$2
7642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7643 $as_echo_n "checking for $ac_word... " >&6; }
7644 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7645 $as_echo_n "(cached) " >&6
7646 else
7647 if test -n "$ac_ct_READELF"; then
7648 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7649 else
7650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7651 for as_dir in $PATH
7653 IFS=$as_save_IFS
7654 test -z "$as_dir" && as_dir=.
7655 for ac_exec_ext in '' $ac_executable_extensions; do
7656 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7657 ac_cv_prog_ac_ct_READELF="readelf"
7658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7659 break 2
7661 done
7662 done
7663 IFS=$as_save_IFS
7667 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7668 if test -n "$ac_ct_READELF"; then
7669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7670 $as_echo "$ac_ct_READELF" >&6; }
7671 else
7672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7673 $as_echo "no" >&6; }
7676 if test "x$ac_ct_READELF" = x; then
7677 READELF="true"
7678 else
7679 case $cross_compiling:$ac_tool_warned in
7680 yes:)
7681 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7682 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7683 ac_tool_warned=yes ;;
7684 esac
7685 READELF=$ac_ct_READELF
7687 else
7688 READELF="$ac_cv_prog_READELF"
7691 wine_rules_file=conf$$rules.make
7692 rm -f $wine_rules_file
7693 SUBDIRS=""
7695 DISABLED_SUBDIRS=""
7697 CONFIGURE_TARGETS=""
7699 ALL_TEST_RESOURCES=""
7702 wine_fn_append_file ()
7704 as_fn_append $1 " \\$as_nl $2"
7707 wine_fn_append_rule ()
7709 $as_echo "$1" >>$wine_rules_file
7712 wine_fn_has_flag ()
7714 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7717 wine_fn_all_rules ()
7719 wine_fn_append_file SUBDIRS $ac_dir
7720 wine_fn_append_rule \
7721 "all: $ac_dir
7722 .PHONY: $ac_dir
7723 $ac_dir: dummy
7724 @cd $ac_dir && \$(MAKE)"
7727 wine_fn_install_rules ()
7729 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7731 wine_fn_append_rule \
7732 ".PHONY: $ac_dir/install
7733 $ac_dir/install:: $ac_dir
7734 @cd $ac_dir && \$(MAKE) install
7735 install:: $ac_dir/install"
7737 if wine_fn_has_flag install-lib
7738 then
7739 wine_fn_append_rule \
7740 ".PHONY: $ac_dir/install-lib
7741 $ac_dir/install-lib:: $ac_dir
7742 @cd $ac_dir && \$(MAKE) install-lib
7743 install-lib:: $ac_dir/install-lib"
7746 if wine_fn_has_flag install-dev
7747 then
7748 wine_fn_append_rule \
7749 ".PHONY: $ac_dir/install-dev
7750 $ac_dir/install-dev:: $ac_dir
7751 @cd $ac_dir && \$(MAKE) install-dev
7752 install-dev:: $ac_dir/install-dev"
7756 wine_fn_disabled_rules ()
7758 wine_fn_append_file SUBDIRS $ac_dir
7759 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7762 wine_fn_config_makefile ()
7764 ac_dir=$1
7765 ac_enable=$2
7766 ac_flags=$3
7768 case $ac_dir in
7769 fonts|server) test -z "$with_wine64" || return ;;
7770 esac
7771 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7772 wine_fn_disabled_rules; return
7774 wine_fn_all_rules
7775 wine_fn_install_rules
7778 wine_fn_config_lib ()
7780 ac_name=$1
7781 ac_flags=$2
7782 ac_dir=dlls/$ac_name
7783 ac_deps="include"
7785 if test "x$enable_tools" = xno; then :
7787 else
7788 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7790 wine_fn_all_rules
7792 wine_fn_append_rule \
7793 ".PHONY: $ac_dir/install
7794 $ac_dir/install:: $ac_dir
7795 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7796 install install-dev:: $ac_dir/install
7797 __builddeps__: $ac_dir
7798 $ac_dir: $ac_deps"
7801 wine_fn_config_dll ()
7803 ac_name=$1
7804 ac_dir=dlls/$ac_name
7805 ac_enable=$2
7806 ac_flags=$3
7807 ac_implib=${4:-$ac_name}
7808 ac_file=$ac_dir/lib$ac_implib
7809 ac_dll=$ac_name
7810 ac_deps="include"
7811 ac_implibflags=""
7813 if test "x$enable_tools" = xno; then :
7815 else
7816 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7818 case $ac_name in
7819 *.*16) ac_implibflags=" -m16" ;;
7820 *.*) ;;
7821 *) ac_dll=$ac_dll.dll ;;
7822 esac
7824 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7825 if test "$ac_enable" != enable_win16
7826 then
7827 wine_fn_append_file SUBDIRS $ac_dir
7828 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7829 else
7830 wine_fn_disabled_rules
7831 return
7833 else
7834 wine_fn_all_rules
7835 wine_fn_append_rule \
7836 "$ac_dir: __builddeps__
7837 manpages htmlpages sgmlpages xmlpages::
7838 @cd $ac_dir && \$(MAKE) \$@
7839 .PHONY: $ac_dir/install-lib
7840 install install-lib:: $ac_dir/install-lib"
7841 if test -n "$DLLEXT"
7842 then
7843 wine_fn_append_rule \
7844 "$ac_dir/install-lib:: $ac_dir
7845 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7846 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(dlldir)/fakedlls/$ac_dll"
7847 else
7848 wine_fn_append_rule \
7849 "$ac_dir/install-lib:: $ac_dir
7850 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll"
7854 if wine_fn_has_flag staticimplib
7855 then
7856 wine_fn_append_rule \
7857 "__builddeps__: $ac_file.a
7858 $ac_file.a $ac_file.cross.a: $ac_deps
7859 $ac_file.a: dummy
7860 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7861 .PHONY: $ac_dir/install-dev
7862 $ac_dir/install-dev:: $ac_file.a
7863 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7864 install install-dev:: $ac_dir/install-dev"
7866 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7867 then
7868 wine_fn_append_rule \
7869 "__builddeps__: $ac_file.cross.a
7870 $ac_file.cross.a: dummy
7871 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7874 elif wine_fn_has_flag implib
7875 then
7876 wine_fn_append_rule \
7877 "__builddeps__: $ac_file.$IMPLIBEXT
7878 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7879 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7880 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7881 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7882 .PHONY: $ac_dir/install-dev
7883 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7884 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7885 install install-dev:: $ac_dir/install-dev"
7886 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7887 then
7888 wine_fn_append_rule \
7889 "__builddeps__: $ac_file.cross.a
7890 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7891 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7896 wine_fn_config_program ()
7898 ac_name=$1
7899 ac_dir=programs/$ac_name
7900 ac_enable=$2
7901 ac_flags=$3
7902 ac_program=$ac_name
7904 case $ac_name in
7905 *.*) ;;
7906 *) ac_program=$ac_program.exe ;;
7907 esac
7909 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7910 wine_fn_disabled_rules; return
7913 wine_fn_all_rules
7914 wine_fn_append_rule "$ac_dir: __builddeps__"
7916 wine_fn_has_flag install || return
7917 wine_fn_append_rule \
7918 ".PHONY: $ac_dir/install
7919 install install-lib:: $ac_dir/install"
7921 if test -n "$DLLEXT"
7922 then
7923 wine_fn_append_rule \
7924 "$ac_dir/install:: $ac_dir
7925 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7926 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(dlldir)/fakedlls/$ac_program"
7928 if test -z "$with_wine64" && wine_fn_has_flag installbin
7929 then
7930 wine_fn_append_rule \
7931 "$ac_dir/install:: __tooldeps__
7932 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name"
7934 else
7935 wine_fn_append_rule \
7936 "$ac_dir/install:: $ac_dir
7937 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program"
7940 if test -z "$with_wine64" && wine_fn_has_flag manpage
7941 then
7942 wine_fn_append_rule \
7943 "$ac_dir/install:: $ac_dir
7944 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7948 wine_fn_config_test ()
7950 ac_dir=$1
7951 ac_name=$2
7952 ac_flags=$3
7954 if test "x$enable_tests" = xno; then :
7955 wine_fn_disabled_rules; return
7958 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7959 wine_fn_all_rules
7961 wine_fn_append_rule \
7962 "$ac_dir: __builddeps__
7963 programs/winetest: $ac_dir
7964 check test: $ac_dir/test
7965 .PHONY: $ac_dir/test
7966 $ac_dir/test: dummy
7967 @cd $ac_dir && \$(MAKE) test"
7969 if test -n "$CROSSTARGET"
7970 then
7971 wine_fn_append_rule \
7972 "crosstest: $ac_dir/crosstest
7973 .PHONY: $ac_dir/crosstest
7974 $ac_dir/crosstest: __builddeps__ dummy
7975 @cd $ac_dir && \$(MAKE) crosstest"
7979 wine_fn_config_tool ()
7981 ac_dir=$1
7982 ac_flags=$2
7983 if test "x$enable_tools" = xno; then :
7984 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7987 wine_fn_all_rules
7988 wine_fn_install_rules
7990 wine_fn_append_rule "__tooldeps__: $ac_dir"
7991 wine_fn_append_rule "$ac_dir: libs/port"
7992 case $ac_dir in
7993 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7994 esac
7997 wine_fn_config_symlink ()
7999 ac_linkdir=
8000 if test "x$1" = "x-d"
8001 then
8002 ac_linkdir=$2
8003 shift; shift
8005 ac_links=$@
8006 wine_fn_append_rule \
8007 "$ac_links:
8008 @./config.status \$@"
8009 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8010 test -n "$ac_linkdir" || return
8011 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
8014 wine_binary="wine"
8015 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8016 WINELOADER_PROGRAMS="$wine_binary"
8018 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8020 case $host_os in
8021 cygwin*|mingw32*)
8022 if test -n "$ac_tool_prefix"; then
8023 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8024 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8026 $as_echo_n "checking for $ac_word... " >&6; }
8027 if ${ac_cv_prog_DLLTOOL+:} false; then :
8028 $as_echo_n "(cached) " >&6
8029 else
8030 if test -n "$DLLTOOL"; then
8031 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8032 else
8033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8034 for as_dir in $PATH
8036 IFS=$as_save_IFS
8037 test -z "$as_dir" && as_dir=.
8038 for ac_exec_ext in '' $ac_executable_extensions; do
8039 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8040 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8042 break 2
8044 done
8045 done
8046 IFS=$as_save_IFS
8050 DLLTOOL=$ac_cv_prog_DLLTOOL
8051 if test -n "$DLLTOOL"; then
8052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8053 $as_echo "$DLLTOOL" >&6; }
8054 else
8055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8056 $as_echo "no" >&6; }
8061 if test -z "$ac_cv_prog_DLLTOOL"; then
8062 ac_ct_DLLTOOL=$DLLTOOL
8063 # Extract the first word of "dlltool", so it can be a program name with args.
8064 set dummy dlltool; ac_word=$2
8065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8066 $as_echo_n "checking for $ac_word... " >&6; }
8067 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8068 $as_echo_n "(cached) " >&6
8069 else
8070 if test -n "$ac_ct_DLLTOOL"; then
8071 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8072 else
8073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8074 for as_dir in $PATH
8076 IFS=$as_save_IFS
8077 test -z "$as_dir" && as_dir=.
8078 for ac_exec_ext in '' $ac_executable_extensions; do
8079 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8080 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8082 break 2
8084 done
8085 done
8086 IFS=$as_save_IFS
8090 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8091 if test -n "$ac_ct_DLLTOOL"; then
8092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8093 $as_echo "$ac_ct_DLLTOOL" >&6; }
8094 else
8095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8096 $as_echo "no" >&6; }
8099 if test "x$ac_ct_DLLTOOL" = x; then
8100 DLLTOOL="false"
8101 else
8102 case $cross_compiling:$ac_tool_warned in
8103 yes:)
8104 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8105 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8106 ac_tool_warned=yes ;;
8107 esac
8108 DLLTOOL=$ac_ct_DLLTOOL
8110 else
8111 DLLTOOL="$ac_cv_prog_DLLTOOL"
8114 LIBEXT="dll"
8115 DLLEXT=""
8116 IMPLIBEXT="a"
8117 enable_iphlpapi=${enable_iphlpapi:-no}
8118 enable_kernel32=${enable_kernel32:-no}
8119 enable_msvcrt=${enable_msvcrt:-no}
8120 enable_ntdll=${enable_ntdll:-no}
8121 enable_ws2_32=${enable_ws2_32:-no}
8122 enable_loader=${enable_loader:-no}
8123 enable_server=${enable_server:-no}
8124 with_x=${with_x:-no}
8125 with_pthread=${with_pthread:-no}
8127 crtlibs=""
8128 case $host_os in
8129 mingw32*)
8130 crtlibs="-lmsvcrt"
8131 SOCKET_LIBS="-lws2_32"
8133 esac
8135 LIBWINE_SHAREDLIB="libwine.dll"
8137 LIBWINE_IMPORTLIB="libwine.a"
8139 LIBWINE_INSTALL_LIB="libwine.dll"
8141 LIBWINE_INSTALL_DEV="libwine.a"
8143 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8145 LIBWINE_DEPENDS="wine.def"
8149 darwin*|macosx*)
8150 for ac_header in libunwind.h
8151 do :
8152 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8153 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8154 cat >>confdefs.h <<_ACEOF
8155 #define HAVE_LIBUNWIND_H 1
8156 _ACEOF
8160 done
8162 LIBEXT="dylib"
8163 DLLFLAGS="$DLLFLAGS -fPIC"
8164 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8165 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8166 COREFOUNDATION_LIBS="-framework CoreFoundation"
8168 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8170 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8172 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8174 CORESERVICES_LIBS="-framework CoreServices"
8176 APPKIT_LIBS="-framework AppKit"
8178 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8180 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8181 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8182 $as_echo_n "(cached) " >&6
8183 else
8184 ac_wine_try_cflags_saved=$CFLAGS
8185 CFLAGS="$CFLAGS -Wl,-no_pie"
8186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8187 /* end confdefs.h. */
8188 int main(int argc, char **argv) { return 0; }
8189 _ACEOF
8190 if ac_fn_c_try_link "$LINENO"; then :
8191 ac_cv_cflags__Wl__no_pie=yes
8192 else
8193 ac_cv_cflags__Wl__no_pie=no
8195 rm -f core conftest.err conftest.$ac_objext \
8196 conftest$ac_exeext conftest.$ac_ext
8197 CFLAGS=$ac_wine_try_cflags_saved
8199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8200 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8201 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8202 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
8204 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8205 then
8206 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8209 if test "$ac_cv_header_Security_Security_h" = "yes"
8210 then
8211 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8213 ac_save_LIBS="$LIBS"
8214 LIBS="$LIBS $SECURITY_LIBS"
8215 for ac_func in SSLCopyPeerCertificates
8216 do :
8217 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8218 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8219 cat >>confdefs.h <<_ACEOF
8220 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8221 _ACEOF
8224 done
8226 LIBS="$ac_save_LIBS"
8227 with_gnutls=${with_gnutls:-no}
8229 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8230 then
8231 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8232 then
8233 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8235 else
8236 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8239 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8240 ac_save_LIBS="$LIBS"
8241 LIBS="$LIBS $COREAUDIO_LIBS"
8242 for ac_func in AUGraphAddNode
8243 do :
8244 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8245 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8246 cat >>confdefs.h <<_ACEOF
8247 #define HAVE_AUGRAPHADDNODE 1
8248 _ACEOF
8251 done
8253 LIBS="$ac_save_LIBS"
8255 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8256 then
8257 OPENAL_LIBS="-framework OpenAL"
8260 cat >>confdefs.h <<_ACEOF
8261 #define HAVE_OPENAL 1
8262 _ACEOF
8264 ac_cv_lib_openal=yes
8266 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8267 then
8268 OPENCL_LIBS="-framework OpenCL"
8270 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8272 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8273 then
8274 ac_save_LIBS="$LIBS"
8275 LIBS="$LIBS $IOKIT_LIBS"
8276 for ac_func in IOHIDManagerCreate
8277 do :
8278 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8279 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8280 cat >>confdefs.h <<_ACEOF
8281 #define HAVE_IOHIDMANAGERCREATE 1
8282 _ACEOF
8285 done
8287 LIBS="$ac_save_LIBS"
8289 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8290 then
8291 ac_save_LIBS="$LIBS"
8292 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8294 $as_echo_n "checking for the QuickTime framework... " >&6; }
8295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8296 /* end confdefs.h. */
8297 #include <QuickTime/ImageCompression.h>
8299 main ()
8301 CodecManagerVersion(NULL);
8303 return 0;
8305 _ACEOF
8306 if ac_fn_c_try_link "$LINENO"; then :
8307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8308 $as_echo "yes" >&6; }
8309 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8311 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8312 else
8313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8314 $as_echo "no" >&6; }
8315 ac_cv_header_QuickTime_ImageCompression_h=no
8317 rm -f core conftest.err conftest.$ac_objext \
8318 conftest$ac_exeext conftest.$ac_ext
8319 LIBS="$ac_save_LIBS"
8321 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8322 then
8323 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8325 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8326 then
8327 CARBON_LIBS="-framework Carbon"
8331 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8332 then
8333 ac_save_LIBS="$LIBS"
8334 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8335 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8336 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8337 enable_winemac_drv=${enable_winemac_drv:-yes}
8340 LIBS="$ac_save_LIBS"
8343 if test "x$enable_win16" = "xyes"
8344 then
8345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8346 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8347 if test "$cross_compiling" = yes; then :
8348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8349 $as_echo "cross-compiling, assuming yes" >&6; }
8350 else
8351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8352 /* end confdefs.h. */
8353 asm(".text\n"
8354 "bad:\tnop;nop\n"
8355 "good:\tnop;nop\n\t"
8356 ".globl _testfunc\n"
8357 "_testfunc:\tcallw good");
8358 extern void testfunc();
8360 main ()
8362 unsigned short *p = (unsigned short *)testfunc;
8363 return p[0] != 0xe866 || p[1] != 0xfffa
8365 return 0;
8367 _ACEOF
8368 if ac_fn_c_try_run "$LINENO"; then :
8369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8370 $as_echo "yes" >&6; }
8371 else
8372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8373 $as_echo "no" >&6; }
8374 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
8376 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8377 conftest.$ac_objext conftest.beam conftest.$ac_ext
8382 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8384 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8386 LIBWINE_INSTALL_DEV="libwine.dylib"
8388 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8390 WINELOADER_DEPENDS="wine_info.plist"
8394 linux-android*)
8395 DLLFLAGS="$DLLFLAGS -fPIC"
8396 LDEXECFLAGS="-Wl,-pie"
8397 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8399 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8400 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8401 $as_echo_n "(cached) " >&6
8402 else
8403 ac_wine_try_cflags_saved=$CFLAGS
8404 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8406 /* end confdefs.h. */
8407 int main(int argc, char **argv) { return 0; }
8408 _ACEOF
8409 if ac_fn_c_try_link "$LINENO"; then :
8410 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8411 else
8412 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8414 rm -f core conftest.err conftest.$ac_objext \
8415 conftest$ac_exeext conftest.$ac_ext
8416 CFLAGS=$ac_wine_try_cflags_saved
8418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8419 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8420 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8421 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8423 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8425 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8426 if eval \${$as_ac_var+:} false; then :
8427 $as_echo_n "(cached) " >&6
8428 else
8429 ac_wine_try_cflags_saved=$CFLAGS
8430 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8432 /* end confdefs.h. */
8433 int main(int argc, char **argv) { return 0; }
8434 _ACEOF
8435 if ac_fn_c_try_link "$LINENO"; then :
8436 eval "$as_ac_var=yes"
8437 else
8438 eval "$as_ac_var=no"
8440 rm -f core conftest.err conftest.$ac_objext \
8441 conftest$ac_exeext conftest.$ac_ext
8442 CFLAGS=$ac_wine_try_cflags_saved
8444 eval ac_res=\$$as_ac_var
8445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8446 $as_echo "$ac_res" >&6; }
8447 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8448 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8449 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8450 else
8451 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8453 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8454 if eval \${$as_ac_var+:} false; then :
8455 $as_echo_n "(cached) " >&6
8456 else
8457 ac_wine_try_cflags_saved=$CFLAGS
8458 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8460 /* end confdefs.h. */
8461 int main(int argc, char **argv) { return 0; }
8462 _ACEOF
8463 if ac_fn_c_try_link "$LINENO"; then :
8464 eval "$as_ac_var=yes"
8465 else
8466 eval "$as_ac_var=no"
8468 rm -f core conftest.err conftest.$ac_objext \
8469 conftest$ac_exeext conftest.$ac_ext
8470 CFLAGS=$ac_wine_try_cflags_saved
8472 eval ac_res=\$$as_ac_var
8473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8474 $as_echo "$ac_res" >&6; }
8475 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8476 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8477 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8481 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8482 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8483 $as_echo_n "(cached) " >&6
8484 else
8485 ac_wine_try_cflags_saved=$CFLAGS
8486 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8488 /* end confdefs.h. */
8489 int main(int argc, char **argv) { return 0; }
8490 _ACEOF
8491 if ac_fn_c_try_link "$LINENO"; then :
8492 ac_cv_cflags__Wl___enable_new_dtags=yes
8493 else
8494 ac_cv_cflags__Wl___enable_new_dtags=no
8496 rm -f core conftest.err conftest.$ac_objext \
8497 conftest$ac_exeext conftest.$ac_ext
8498 CFLAGS=$ac_wine_try_cflags_saved
8500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8501 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8502 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8503 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8506 LIBWINE_SHAREDLIB="libwine.so"
8508 LIBWINE_INSTALL_LIB="libwine.so"
8510 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
8514 $as_echo_n "checking for -lEGL... " >&6; }
8515 if ${ac_cv_lib_soname_EGL+:} false; then :
8516 $as_echo_n "(cached) " >&6
8517 else
8518 ac_check_soname_save_LIBS=$LIBS
8519 LIBS="-lEGL $LIBS"
8520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8521 /* end confdefs.h. */
8523 /* Override any GCC internal prototype to avoid an error.
8524 Use char because int might match the return type of a GCC
8525 builtin and then its argument prototype would still apply. */
8526 #ifdef __cplusplus
8527 extern "C"
8528 #endif
8529 char eglGetProcAddress ();
8531 main ()
8533 return eglGetProcAddress ();
8535 return 0;
8537 _ACEOF
8538 if ac_fn_c_try_link "$LINENO"; then :
8539 case "$LIBEXT" in
8540 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8541 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'` ;;
8542 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8543 if ${ac_cv_lib_soname_EGL:+false} :; then :
8544 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8545 fi ;;
8546 esac
8548 rm -f core conftest.err conftest.$ac_objext \
8549 conftest$ac_exeext conftest.$ac_ext
8550 LIBS=$ac_check_soname_save_LIBS
8552 if ${ac_cv_lib_soname_EGL:+false} :; then :
8553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8554 $as_echo "not found" >&6; }
8556 else
8557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
8558 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
8560 cat >>confdefs.h <<_ACEOF
8561 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
8562 _ACEOF
8566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
8567 $as_echo_n "checking for -lGLESv2... " >&6; }
8568 if ${ac_cv_lib_soname_GLESv2+:} false; then :
8569 $as_echo_n "(cached) " >&6
8570 else
8571 ac_check_soname_save_LIBS=$LIBS
8572 LIBS="-lGLESv2 $LIBS"
8573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8574 /* end confdefs.h. */
8576 /* Override any GCC internal prototype to avoid an error.
8577 Use char because int might match the return type of a GCC
8578 builtin and then its argument prototype would still apply. */
8579 #ifdef __cplusplus
8580 extern "C"
8581 #endif
8582 char glFlush ();
8584 main ()
8586 return glFlush ();
8588 return 0;
8590 _ACEOF
8591 if ac_fn_c_try_link "$LINENO"; then :
8592 case "$LIBEXT" in
8593 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8594 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'` ;;
8595 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8596 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8597 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8598 fi ;;
8599 esac
8601 rm -f core conftest.err conftest.$ac_objext \
8602 conftest$ac_exeext conftest.$ac_ext
8603 LIBS=$ac_check_soname_save_LIBS
8605 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8607 $as_echo "not found" >&6; }
8609 else
8610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
8611 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
8613 cat >>confdefs.h <<_ACEOF
8614 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
8615 _ACEOF
8620 if test "x$exec_prefix" = xNONE
8621 then
8622 case $host_cpu in
8623 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
8624 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
8625 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
8626 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
8627 esac
8632 DLLFLAGS="$DLLFLAGS -fPIC"
8633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8634 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8635 if ${ac_cv_c_dll_gnuelf+:} false; then :
8636 $as_echo_n "(cached) " >&6
8637 else
8638 ac_wine_try_cflags_saved=$CFLAGS
8639 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8641 /* end confdefs.h. */
8642 void myfunc() {}
8643 _ACEOF
8644 if ac_fn_c_try_link "$LINENO"; then :
8645 ac_cv_c_dll_gnuelf="yes"
8646 else
8647 ac_cv_c_dll_gnuelf="no"
8649 rm -f core conftest.err conftest.$ac_objext \
8650 conftest$ac_exeext conftest.$ac_ext
8651 CFLAGS=$ac_wine_try_cflags_saved
8653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8654 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8655 if test "$ac_cv_c_dll_gnuelf" = "yes"
8656 then
8657 LIBWINE_LDFLAGS="-shared"
8658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8659 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8660 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8661 $as_echo_n "(cached) " >&6
8662 else
8663 ac_wine_try_cflags_saved=$CFLAGS
8664 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8666 /* end confdefs.h. */
8667 int main(int argc, char **argv) { return 0; }
8668 _ACEOF
8669 if ac_fn_c_try_link "$LINENO"; then :
8670 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8671 else
8672 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8674 rm -f core conftest.err conftest.$ac_objext \
8675 conftest$ac_exeext conftest.$ac_ext
8676 CFLAGS=$ac_wine_try_cflags_saved
8678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8679 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8680 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8681 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8682 else
8683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8684 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8685 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8686 $as_echo_n "(cached) " >&6
8687 else
8688 ac_wine_try_cflags_saved=$CFLAGS
8689 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8691 /* end confdefs.h. */
8692 int main(int argc, char **argv) { return 0; }
8693 _ACEOF
8694 if ac_fn_c_try_link "$LINENO"; then :
8695 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8696 else
8697 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8699 rm -f core conftest.err conftest.$ac_objext \
8700 conftest$ac_exeext conftest.$ac_ext
8701 CFLAGS=$ac_wine_try_cflags_saved
8703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8704 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8705 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8706 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8710 echo '{ global: *; };' >conftest.map
8711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8712 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8713 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8714 $as_echo_n "(cached) " >&6
8715 else
8716 ac_wine_try_cflags_saved=$CFLAGS
8717 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8719 /* end confdefs.h. */
8720 int main(int argc, char **argv) { return 0; }
8721 _ACEOF
8722 if ac_fn_c_try_link "$LINENO"; then :
8723 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8724 else
8725 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8727 rm -f core conftest.err conftest.$ac_objext \
8728 conftest$ac_exeext conftest.$ac_ext
8729 CFLAGS=$ac_wine_try_cflags_saved
8731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8732 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8733 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8734 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8736 rm -f conftest.map
8738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8739 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8740 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8741 $as_echo_n "(cached) " >&6
8742 else
8743 ac_wine_try_cflags_saved=$CFLAGS
8744 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8746 /* end confdefs.h. */
8747 int main(int argc, char **argv) { return 0; }
8748 _ACEOF
8749 if ac_fn_c_try_link "$LINENO"; then :
8750 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8751 else
8752 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8754 rm -f core conftest.err conftest.$ac_objext \
8755 conftest$ac_exeext conftest.$ac_ext
8756 CFLAGS=$ac_wine_try_cflags_saved
8758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8759 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8760 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8761 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8764 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8766 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8767 if eval \${$as_ac_var+:} false; then :
8768 $as_echo_n "(cached) " >&6
8769 else
8770 ac_wine_try_cflags_saved=$CFLAGS
8771 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8773 /* end confdefs.h. */
8774 int main(int argc, char **argv) { return 0; }
8775 _ACEOF
8776 if ac_fn_c_try_link "$LINENO"; then :
8777 eval "$as_ac_var=yes"
8778 else
8779 eval "$as_ac_var=no"
8781 rm -f core conftest.err conftest.$ac_objext \
8782 conftest$ac_exeext conftest.$ac_ext
8783 CFLAGS=$ac_wine_try_cflags_saved
8785 eval ac_res=\$$as_ac_var
8786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8787 $as_echo "$ac_res" >&6; }
8788 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8789 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8790 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8791 else
8792 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8794 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8795 if eval \${$as_ac_var+:} false; then :
8796 $as_echo_n "(cached) " >&6
8797 else
8798 ac_wine_try_cflags_saved=$CFLAGS
8799 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8801 /* end confdefs.h. */
8802 int main(int argc, char **argv) { return 0; }
8803 _ACEOF
8804 if ac_fn_c_try_link "$LINENO"; then :
8805 eval "$as_ac_var=yes"
8806 else
8807 eval "$as_ac_var=no"
8809 rm -f core conftest.err conftest.$ac_objext \
8810 conftest$ac_exeext conftest.$ac_ext
8811 CFLAGS=$ac_wine_try_cflags_saved
8813 eval ac_res=\$$as_ac_var
8814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8815 $as_echo "$ac_res" >&6; }
8816 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8817 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8818 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8823 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8824 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8825 $as_echo_n "(cached) " >&6
8826 else
8827 ac_wine_try_cflags_saved=$CFLAGS
8828 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8830 /* end confdefs.h. */
8831 int main(int argc, char **argv) { return 0; }
8832 _ACEOF
8833 if ac_fn_c_try_link "$LINENO"; then :
8834 ac_cv_cflags__Wl___enable_new_dtags=yes
8835 else
8836 ac_cv_cflags__Wl___enable_new_dtags=no
8838 rm -f core conftest.err conftest.$ac_objext \
8839 conftest$ac_exeext conftest.$ac_ext
8840 CFLAGS=$ac_wine_try_cflags_saved
8842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8843 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8844 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8845 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8848 case $host_cpu in
8849 *i[3456789]86* | x86_64 | *aarch64*)
8850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8851 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8852 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8853 $as_echo_n "(cached) " >&6
8854 else
8855 ac_wine_try_cflags_saved=$CFLAGS
8856 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8858 /* end confdefs.h. */
8859 int main(int argc, char **argv) { return 0; }
8860 _ACEOF
8861 if ac_fn_c_try_link "$LINENO"; then :
8862 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8863 else
8864 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8866 rm -f core conftest.err conftest.$ac_objext \
8867 conftest$ac_exeext conftest.$ac_ext
8868 CFLAGS=$ac_wine_try_cflags_saved
8870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8871 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8872 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8873 case $host_os in
8874 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8875 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8876 esac
8877 else
8878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8879 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8880 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8881 $as_echo_n "(cached) " >&6
8882 else
8883 ac_wine_try_cflags_saved=$CFLAGS
8884 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8886 /* end confdefs.h. */
8887 int main(int argc, char **argv) { return 0; }
8888 _ACEOF
8889 if ac_fn_c_try_link "$LINENO"; then :
8890 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8891 else
8892 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8894 rm -f core conftest.err conftest.$ac_objext \
8895 conftest$ac_exeext conftest.$ac_ext
8896 CFLAGS=$ac_wine_try_cflags_saved
8898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8899 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8900 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8901 case $host_os in
8902 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8903 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8904 esac
8906 # Extract the first word of "prelink", so it can be a program name with args.
8907 set dummy prelink; ac_word=$2
8908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8909 $as_echo_n "checking for $ac_word... " >&6; }
8910 if ${ac_cv_path_PRELINK+:} false; then :
8911 $as_echo_n "(cached) " >&6
8912 else
8913 case $PRELINK in
8914 [\\/]* | ?:[\\/]*)
8915 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8919 for as_dir in /sbin /usr/sbin $PATH
8921 IFS=$as_save_IFS
8922 test -z "$as_dir" && as_dir=.
8923 for ac_exec_ext in '' $ac_executable_extensions; do
8924 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8925 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8927 break 2
8929 done
8930 done
8931 IFS=$as_save_IFS
8933 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8935 esac
8937 PRELINK=$ac_cv_path_PRELINK
8938 if test -n "$PRELINK"; then
8939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8940 $as_echo "$PRELINK" >&6; }
8941 else
8942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8943 $as_echo "no" >&6; }
8947 if test "x$PRELINK" = xfalse
8948 then
8949 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8953 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8954 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8955 $as_echo_n "(cached) " >&6
8956 else
8957 ac_wine_try_cflags_saved=$CFLAGS
8958 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8960 /* end confdefs.h. */
8961 int main(int argc, char **argv) { return 0; }
8962 _ACEOF
8963 if ac_fn_c_try_link "$LINENO"; then :
8964 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8965 else
8966 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8968 rm -f core conftest.err conftest.$ac_objext \
8969 conftest$ac_exeext conftest.$ac_ext
8970 CFLAGS=$ac_wine_try_cflags_saved
8972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8973 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8974 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8975 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
8978 esac
8980 else
8981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8982 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8983 if ${ac_cv_c_dll_unixware+:} false; then :
8984 $as_echo_n "(cached) " >&6
8985 else
8986 ac_wine_try_cflags_saved=$CFLAGS
8987 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8989 /* end confdefs.h. */
8990 void myfunc() {}
8991 _ACEOF
8992 if ac_fn_c_try_link "$LINENO"; then :
8993 ac_cv_c_dll_unixware="yes"
8994 else
8995 ac_cv_c_dll_unixware="no"
8997 rm -f core conftest.err conftest.$ac_objext \
8998 conftest$ac_exeext conftest.$ac_ext
8999 CFLAGS=$ac_wine_try_cflags_saved
9001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9002 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9003 if test "$ac_cv_c_dll_unixware" = "yes"
9004 then
9005 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9008 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9010 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
9012 LIBWINE_INSTALL_DEV="libwine.so"
9014 LIBWINE_DEPENDS="wine.map"
9017 esac
9019 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9020 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9021 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9022 enable_winemac_drv=${enable_winemac_drv:-no}
9023 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9025 CROSSTARGET=""
9027 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
9028 then
9029 case "$host_cpu" in
9030 arm*)
9031 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9032 i[3456789]86*)
9033 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
9034 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9035 mingw32-gcc" ;;
9036 x86_64)
9037 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
9038 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9040 ac_prefix_list="" ;;
9041 esac
9042 for ac_prog in $ac_prefix_list
9044 # Extract the first word of "$ac_prog", so it can be a program name with args.
9045 set dummy $ac_prog; ac_word=$2
9046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9047 $as_echo_n "checking for $ac_word... " >&6; }
9048 if ${ac_cv_prog_CROSSCC+:} false; then :
9049 $as_echo_n "(cached) " >&6
9050 else
9051 if test -n "$CROSSCC"; then
9052 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9053 else
9054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9055 for as_dir in $PATH
9057 IFS=$as_save_IFS
9058 test -z "$as_dir" && as_dir=.
9059 for ac_exec_ext in '' $ac_executable_extensions; do
9060 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9061 ac_cv_prog_CROSSCC="$ac_prog"
9062 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9063 break 2
9065 done
9066 done
9067 IFS=$as_save_IFS
9071 CROSSCC=$ac_cv_prog_CROSSCC
9072 if test -n "$CROSSCC"; then
9073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9074 $as_echo "$CROSSCC" >&6; }
9075 else
9076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9077 $as_echo "no" >&6; }
9081 test -n "$CROSSCC" && break
9082 done
9083 test -n "$CROSSCC" || CROSSCC="false"
9085 if test "$CROSSCC" != "false"
9086 then
9087 ac_save_CC="$CC"
9088 CC="$CROSSCC"
9089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9090 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9092 /* end confdefs.h. */
9095 main ()
9099 return 0;
9101 _ACEOF
9102 if ac_fn_c_try_compile "$LINENO"; then :
9103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9104 $as_echo "yes" >&6; }
9105 set x $CROSSCC
9106 shift
9107 while test $# -ge 1
9109 case "$1" in
9110 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9111 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9112 esac
9113 shift
9114 done
9115 else
9116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9117 $as_echo "no" >&6; }
9119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9120 CC="$ac_save_CC"
9121 CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS}
9127 if test "$ac_cv_header_pthread_h" = "yes"
9128 then
9129 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
9130 if test "x$ac_cv_func_pthread_create" = xyes; then :
9132 else
9133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
9134 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
9135 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
9136 $as_echo_n "(cached) " >&6
9137 else
9138 ac_check_lib_save_LIBS=$LIBS
9139 LIBS="-lpthread $LIBS"
9140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9141 /* end confdefs.h. */
9143 /* Override any GCC internal prototype to avoid an error.
9144 Use char because int might match the return type of a GCC
9145 builtin and then its argument prototype would still apply. */
9146 #ifdef __cplusplus
9147 extern "C"
9148 #endif
9149 char pthread_create ();
9151 main ()
9153 return pthread_create ();
9155 return 0;
9157 _ACEOF
9158 if ac_fn_c_try_link "$LINENO"; then :
9159 ac_cv_lib_pthread_pthread_create=yes
9160 else
9161 ac_cv_lib_pthread_pthread_create=no
9163 rm -f core conftest.err conftest.$ac_objext \
9164 conftest$ac_exeext conftest.$ac_ext
9165 LIBS=$ac_check_lib_save_LIBS
9167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9168 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9169 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9170 PTHREAD_LIBS="-lpthread"
9177 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9178 case "x$with_pthread" in
9179 xno) ;;
9180 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9181 Wine cannot support threads without libpthread.
9182 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9183 esac
9188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9189 $as_echo_n "checking for X... " >&6; }
9192 # Check whether --with-x was given.
9193 if test "${with_x+set}" = set; then :
9194 withval=$with_x;
9197 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9198 if test "x$with_x" = xno; then
9199 # The user explicitly disabled X.
9200 have_x=disabled
9201 else
9202 case $x_includes,$x_libraries in #(
9203 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9204 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9205 $as_echo_n "(cached) " >&6
9206 else
9207 # One or both of the vars are not set, and there is no cached value.
9208 ac_x_includes=no ac_x_libraries=no
9209 rm -f -r conftest.dir
9210 if mkdir conftest.dir; then
9211 cd conftest.dir
9212 cat >Imakefile <<'_ACEOF'
9213 incroot:
9214 @echo incroot='${INCROOT}'
9215 usrlibdir:
9216 @echo usrlibdir='${USRLIBDIR}'
9217 libdir:
9218 @echo libdir='${LIBDIR}'
9219 _ACEOF
9220 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9221 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9222 for ac_var in incroot usrlibdir libdir; do
9223 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9224 done
9225 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9226 for ac_extension in a so sl dylib la dll; do
9227 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9228 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9229 ac_im_usrlibdir=$ac_im_libdir; break
9231 done
9232 # Screen out bogus values from the imake configuration. They are
9233 # bogus both because they are the default anyway, and because
9234 # using them would break gcc on systems where it needs fixed includes.
9235 case $ac_im_incroot in
9236 /usr/include) ac_x_includes= ;;
9237 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9238 esac
9239 case $ac_im_usrlibdir in
9240 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9241 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9242 esac
9244 cd ..
9245 rm -f -r conftest.dir
9248 # Standard set of common directories for X headers.
9249 # Check X11 before X11Rn because it is often a symlink to the current release.
9250 ac_x_header_dirs='
9251 /usr/X11/include
9252 /usr/X11R7/include
9253 /usr/X11R6/include
9254 /usr/X11R5/include
9255 /usr/X11R4/include
9257 /usr/include/X11
9258 /usr/include/X11R7
9259 /usr/include/X11R6
9260 /usr/include/X11R5
9261 /usr/include/X11R4
9263 /usr/local/X11/include
9264 /usr/local/X11R7/include
9265 /usr/local/X11R6/include
9266 /usr/local/X11R5/include
9267 /usr/local/X11R4/include
9269 /usr/local/include/X11
9270 /usr/local/include/X11R7
9271 /usr/local/include/X11R6
9272 /usr/local/include/X11R5
9273 /usr/local/include/X11R4
9275 /usr/X386/include
9276 /usr/x386/include
9277 /usr/XFree86/include/X11
9279 /usr/include
9280 /usr/local/include
9281 /usr/unsupported/include
9282 /usr/athena/include
9283 /usr/local/x11r5/include
9284 /usr/lpp/Xamples/include
9286 /usr/openwin/include
9287 /usr/openwin/share/include'
9289 if test "$ac_x_includes" = no; then
9290 # Guess where to find include files, by looking for Xlib.h.
9291 # First, try using that file with no special directory specified.
9292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9293 /* end confdefs.h. */
9294 #include <X11/Xlib.h>
9295 _ACEOF
9296 if ac_fn_c_try_cpp "$LINENO"; then :
9297 # We can compile using X headers with no special include directory.
9298 ac_x_includes=
9299 else
9300 for ac_dir in $ac_x_header_dirs; do
9301 if test -r "$ac_dir/X11/Xlib.h"; then
9302 ac_x_includes=$ac_dir
9303 break
9305 done
9307 rm -f conftest.err conftest.i conftest.$ac_ext
9308 fi # $ac_x_includes = no
9310 if test "$ac_x_libraries" = no; then
9311 # Check for the libraries.
9312 # See if we find them without any special options.
9313 # Don't add to $LIBS permanently.
9314 ac_save_LIBS=$LIBS
9315 LIBS="-lX11 $LIBS"
9316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9317 /* end confdefs.h. */
9318 #include <X11/Xlib.h>
9320 main ()
9322 XrmInitialize ()
9324 return 0;
9326 _ACEOF
9327 if ac_fn_c_try_link "$LINENO"; then :
9328 LIBS=$ac_save_LIBS
9329 # We can link X programs with no special library path.
9330 ac_x_libraries=
9331 else
9332 LIBS=$ac_save_LIBS
9333 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9335 # Don't even attempt the hair of trying to link an X program!
9336 for ac_extension in a so sl dylib la dll; do
9337 if test -r "$ac_dir/libX11.$ac_extension"; then
9338 ac_x_libraries=$ac_dir
9339 break 2
9341 done
9342 done
9344 rm -f core conftest.err conftest.$ac_objext \
9345 conftest$ac_exeext conftest.$ac_ext
9346 fi # $ac_x_libraries = no
9348 case $ac_x_includes,$ac_x_libraries in #(
9349 no,* | *,no | *\'*)
9350 # Didn't find X, or a directory has "'" in its name.
9351 ac_cv_have_x="have_x=no";; #(
9353 # Record where we found X for the cache.
9354 ac_cv_have_x="have_x=yes\
9355 ac_x_includes='$ac_x_includes'\
9356 ac_x_libraries='$ac_x_libraries'"
9357 esac
9359 ;; #(
9360 *) have_x=yes;;
9361 esac
9362 eval "$ac_cv_have_x"
9363 fi # $with_x != no
9365 if test "$have_x" != yes; then
9366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9367 $as_echo "$have_x" >&6; }
9368 no_x=yes
9369 else
9370 # If each of the values was on the command line, it overrides each guess.
9371 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9372 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9373 # Update the cache value to reflect the command line values.
9374 ac_cv_have_x="have_x=yes\
9375 ac_x_includes='$x_includes'\
9376 ac_x_libraries='$x_libraries'"
9377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9378 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9381 if test "$no_x" = yes; then
9382 # Not all programs may use this symbol, but it does not hurt to define it.
9384 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9386 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9387 else
9388 if test -n "$x_includes"; then
9389 X_CFLAGS="$X_CFLAGS -I$x_includes"
9392 # It would also be nice to do this for all -L options, not just this one.
9393 if test -n "$x_libraries"; then
9394 X_LIBS="$X_LIBS -L$x_libraries"
9395 # For Solaris; some versions of Sun CC require a space after -R and
9396 # others require no space. Words are not sufficient . . . .
9397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9398 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9399 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9400 ac_xsave_c_werror_flag=$ac_c_werror_flag
9401 ac_c_werror_flag=yes
9402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9403 /* end confdefs.h. */
9406 main ()
9410 return 0;
9412 _ACEOF
9413 if ac_fn_c_try_link "$LINENO"; then :
9414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9415 $as_echo "no" >&6; }
9416 X_LIBS="$X_LIBS -R$x_libraries"
9417 else
9418 LIBS="$ac_xsave_LIBS -R $x_libraries"
9419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9420 /* end confdefs.h. */
9423 main ()
9427 return 0;
9429 _ACEOF
9430 if ac_fn_c_try_link "$LINENO"; then :
9431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9432 $as_echo "yes" >&6; }
9433 X_LIBS="$X_LIBS -R $x_libraries"
9434 else
9435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9436 $as_echo "neither works" >&6; }
9438 rm -f core conftest.err conftest.$ac_objext \
9439 conftest$ac_exeext conftest.$ac_ext
9441 rm -f core conftest.err conftest.$ac_objext \
9442 conftest$ac_exeext conftest.$ac_ext
9443 ac_c_werror_flag=$ac_xsave_c_werror_flag
9444 LIBS=$ac_xsave_LIBS
9447 # Check for system-dependent libraries X programs must link with.
9448 # Do this before checking for the system-independent R6 libraries
9449 # (-lICE), since we may need -lsocket or whatever for X linking.
9451 if test "$ISC" = yes; then
9452 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9453 else
9454 # Martyn Johnson says this is needed for Ultrix, if the X
9455 # libraries were built with DECnet support. And Karl Berry says
9456 # the Alpha needs dnet_stub (dnet does not exist).
9457 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9459 /* end confdefs.h. */
9461 /* Override any GCC internal prototype to avoid an error.
9462 Use char because int might match the return type of a GCC
9463 builtin and then its argument prototype would still apply. */
9464 #ifdef __cplusplus
9465 extern "C"
9466 #endif
9467 char XOpenDisplay ();
9469 main ()
9471 return XOpenDisplay ();
9473 return 0;
9475 _ACEOF
9476 if ac_fn_c_try_link "$LINENO"; then :
9478 else
9479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9480 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9481 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9482 $as_echo_n "(cached) " >&6
9483 else
9484 ac_check_lib_save_LIBS=$LIBS
9485 LIBS="-ldnet $LIBS"
9486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9487 /* end confdefs.h. */
9489 /* Override any GCC internal prototype to avoid an error.
9490 Use char because int might match the return type of a GCC
9491 builtin and then its argument prototype would still apply. */
9492 #ifdef __cplusplus
9493 extern "C"
9494 #endif
9495 char dnet_ntoa ();
9497 main ()
9499 return dnet_ntoa ();
9501 return 0;
9503 _ACEOF
9504 if ac_fn_c_try_link "$LINENO"; then :
9505 ac_cv_lib_dnet_dnet_ntoa=yes
9506 else
9507 ac_cv_lib_dnet_dnet_ntoa=no
9509 rm -f core conftest.err conftest.$ac_objext \
9510 conftest$ac_exeext conftest.$ac_ext
9511 LIBS=$ac_check_lib_save_LIBS
9513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9514 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9515 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9516 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9519 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9521 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9522 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9523 $as_echo_n "(cached) " >&6
9524 else
9525 ac_check_lib_save_LIBS=$LIBS
9526 LIBS="-ldnet_stub $LIBS"
9527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9528 /* end confdefs.h. */
9530 /* Override any GCC internal prototype to avoid an error.
9531 Use char because int might match the return type of a GCC
9532 builtin and then its argument prototype would still apply. */
9533 #ifdef __cplusplus
9534 extern "C"
9535 #endif
9536 char dnet_ntoa ();
9538 main ()
9540 return dnet_ntoa ();
9542 return 0;
9544 _ACEOF
9545 if ac_fn_c_try_link "$LINENO"; then :
9546 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9547 else
9548 ac_cv_lib_dnet_stub_dnet_ntoa=no
9550 rm -f core conftest.err conftest.$ac_objext \
9551 conftest$ac_exeext conftest.$ac_ext
9552 LIBS=$ac_check_lib_save_LIBS
9554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9555 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9556 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9557 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9562 rm -f core conftest.err conftest.$ac_objext \
9563 conftest$ac_exeext conftest.$ac_ext
9564 LIBS="$ac_xsave_LIBS"
9566 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9567 # to get the SysV transport functions.
9568 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9569 # needs -lnsl.
9570 # The nsl library prevents programs from opening the X display
9571 # on Irix 5.2, according to T.E. Dickey.
9572 # The functions gethostbyname, getservbyname, and inet_addr are
9573 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9574 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9575 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9579 if test $ac_cv_func_gethostbyname = no; then
9580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9581 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9582 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9583 $as_echo_n "(cached) " >&6
9584 else
9585 ac_check_lib_save_LIBS=$LIBS
9586 LIBS="-lnsl $LIBS"
9587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9588 /* end confdefs.h. */
9590 /* Override any GCC internal prototype to avoid an error.
9591 Use char because int might match the return type of a GCC
9592 builtin and then its argument prototype would still apply. */
9593 #ifdef __cplusplus
9594 extern "C"
9595 #endif
9596 char gethostbyname ();
9598 main ()
9600 return gethostbyname ();
9602 return 0;
9604 _ACEOF
9605 if ac_fn_c_try_link "$LINENO"; then :
9606 ac_cv_lib_nsl_gethostbyname=yes
9607 else
9608 ac_cv_lib_nsl_gethostbyname=no
9610 rm -f core conftest.err conftest.$ac_objext \
9611 conftest$ac_exeext conftest.$ac_ext
9612 LIBS=$ac_check_lib_save_LIBS
9614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9615 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9616 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9617 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9620 if test $ac_cv_lib_nsl_gethostbyname = no; then
9621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9622 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9623 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9624 $as_echo_n "(cached) " >&6
9625 else
9626 ac_check_lib_save_LIBS=$LIBS
9627 LIBS="-lbsd $LIBS"
9628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9629 /* end confdefs.h. */
9631 /* Override any GCC internal prototype to avoid an error.
9632 Use char because int might match the return type of a GCC
9633 builtin and then its argument prototype would still apply. */
9634 #ifdef __cplusplus
9635 extern "C"
9636 #endif
9637 char gethostbyname ();
9639 main ()
9641 return gethostbyname ();
9643 return 0;
9645 _ACEOF
9646 if ac_fn_c_try_link "$LINENO"; then :
9647 ac_cv_lib_bsd_gethostbyname=yes
9648 else
9649 ac_cv_lib_bsd_gethostbyname=no
9651 rm -f core conftest.err conftest.$ac_objext \
9652 conftest$ac_exeext conftest.$ac_ext
9653 LIBS=$ac_check_lib_save_LIBS
9655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9656 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9657 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9658 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9664 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9665 # socket/setsockopt and other routines are undefined under SCO ODT
9666 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9667 # on later versions), says Simon Leinen: it contains gethostby*
9668 # variants that don't use the name server (or something). -lsocket
9669 # must be given before -lnsl if both are needed. We assume that
9670 # if connect needs -lnsl, so does gethostbyname.
9671 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9672 if test "x$ac_cv_func_connect" = xyes; then :
9676 if test $ac_cv_func_connect = no; then
9677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9678 $as_echo_n "checking for connect in -lsocket... " >&6; }
9679 if ${ac_cv_lib_socket_connect+:} false; then :
9680 $as_echo_n "(cached) " >&6
9681 else
9682 ac_check_lib_save_LIBS=$LIBS
9683 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9685 /* end confdefs.h. */
9687 /* Override any GCC internal prototype to avoid an error.
9688 Use char because int might match the return type of a GCC
9689 builtin and then its argument prototype would still apply. */
9690 #ifdef __cplusplus
9691 extern "C"
9692 #endif
9693 char connect ();
9695 main ()
9697 return connect ();
9699 return 0;
9701 _ACEOF
9702 if ac_fn_c_try_link "$LINENO"; then :
9703 ac_cv_lib_socket_connect=yes
9704 else
9705 ac_cv_lib_socket_connect=no
9707 rm -f core conftest.err conftest.$ac_objext \
9708 conftest$ac_exeext conftest.$ac_ext
9709 LIBS=$ac_check_lib_save_LIBS
9711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9712 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9713 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9714 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9719 # Guillermo Gomez says -lposix is necessary on A/UX.
9720 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9721 if test "x$ac_cv_func_remove" = xyes; then :
9725 if test $ac_cv_func_remove = no; then
9726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9727 $as_echo_n "checking for remove in -lposix... " >&6; }
9728 if ${ac_cv_lib_posix_remove+:} false; then :
9729 $as_echo_n "(cached) " >&6
9730 else
9731 ac_check_lib_save_LIBS=$LIBS
9732 LIBS="-lposix $LIBS"
9733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9734 /* end confdefs.h. */
9736 /* Override any GCC internal prototype to avoid an error.
9737 Use char because int might match the return type of a GCC
9738 builtin and then its argument prototype would still apply. */
9739 #ifdef __cplusplus
9740 extern "C"
9741 #endif
9742 char remove ();
9744 main ()
9746 return remove ();
9748 return 0;
9750 _ACEOF
9751 if ac_fn_c_try_link "$LINENO"; then :
9752 ac_cv_lib_posix_remove=yes
9753 else
9754 ac_cv_lib_posix_remove=no
9756 rm -f core conftest.err conftest.$ac_objext \
9757 conftest$ac_exeext conftest.$ac_ext
9758 LIBS=$ac_check_lib_save_LIBS
9760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9761 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9762 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9763 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9768 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9769 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9770 if test "x$ac_cv_func_shmat" = xyes; then :
9774 if test $ac_cv_func_shmat = no; then
9775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9776 $as_echo_n "checking for shmat in -lipc... " >&6; }
9777 if ${ac_cv_lib_ipc_shmat+:} false; then :
9778 $as_echo_n "(cached) " >&6
9779 else
9780 ac_check_lib_save_LIBS=$LIBS
9781 LIBS="-lipc $LIBS"
9782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9783 /* end confdefs.h. */
9785 /* Override any GCC internal prototype to avoid an error.
9786 Use char because int might match the return type of a GCC
9787 builtin and then its argument prototype would still apply. */
9788 #ifdef __cplusplus
9789 extern "C"
9790 #endif
9791 char shmat ();
9793 main ()
9795 return shmat ();
9797 return 0;
9799 _ACEOF
9800 if ac_fn_c_try_link "$LINENO"; then :
9801 ac_cv_lib_ipc_shmat=yes
9802 else
9803 ac_cv_lib_ipc_shmat=no
9805 rm -f core conftest.err conftest.$ac_objext \
9806 conftest$ac_exeext conftest.$ac_ext
9807 LIBS=$ac_check_lib_save_LIBS
9809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9810 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9811 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9812 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9818 # Check for libraries that X11R6 Xt/Xaw programs need.
9819 ac_save_LDFLAGS=$LDFLAGS
9820 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9821 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9822 # check for ICE first), but we must link in the order -lSM -lICE or
9823 # we get undefined symbols. So assume we have SM if we have ICE.
9824 # These have to be linked with before -lX11, unlike the other
9825 # libraries we check for below, so use a different variable.
9826 # John Interrante, Karl Berry
9827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9828 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9829 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9830 $as_echo_n "(cached) " >&6
9831 else
9832 ac_check_lib_save_LIBS=$LIBS
9833 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9835 /* end confdefs.h. */
9837 /* Override any GCC internal prototype to avoid an error.
9838 Use char because int might match the return type of a GCC
9839 builtin and then its argument prototype would still apply. */
9840 #ifdef __cplusplus
9841 extern "C"
9842 #endif
9843 char IceConnectionNumber ();
9845 main ()
9847 return IceConnectionNumber ();
9849 return 0;
9851 _ACEOF
9852 if ac_fn_c_try_link "$LINENO"; then :
9853 ac_cv_lib_ICE_IceConnectionNumber=yes
9854 else
9855 ac_cv_lib_ICE_IceConnectionNumber=no
9857 rm -f core conftest.err conftest.$ac_objext \
9858 conftest$ac_exeext conftest.$ac_ext
9859 LIBS=$ac_check_lib_save_LIBS
9861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9862 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9863 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9864 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9867 LDFLAGS=$ac_save_LDFLAGS
9872 if test "$have_x" = "yes"
9873 then
9874 ac_save_CPPFLAGS="$CPPFLAGS"
9875 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9878 $as_echo_n "checking for -lX11... " >&6; }
9879 if ${ac_cv_lib_soname_X11+:} false; then :
9880 $as_echo_n "(cached) " >&6
9881 else
9882 ac_check_soname_save_LIBS=$LIBS
9883 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9885 /* end confdefs.h. */
9887 /* Override any GCC internal prototype to avoid an error.
9888 Use char because int might match the return type of a GCC
9889 builtin and then its argument prototype would still apply. */
9890 #ifdef __cplusplus
9891 extern "C"
9892 #endif
9893 char XCreateWindow ();
9895 main ()
9897 return XCreateWindow ();
9899 return 0;
9901 _ACEOF
9902 if ac_fn_c_try_link "$LINENO"; then :
9903 case "$LIBEXT" in
9904 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9905 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'` ;;
9906 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9907 if ${ac_cv_lib_soname_X11:+false} :; then :
9908 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9909 fi ;;
9910 esac
9912 rm -f core conftest.err conftest.$ac_objext \
9913 conftest$ac_exeext conftest.$ac_ext
9914 LIBS=$ac_check_soname_save_LIBS
9916 if ${ac_cv_lib_soname_X11:+false} :; then :
9917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9918 $as_echo "not found" >&6; }
9920 else
9921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9922 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9924 cat >>confdefs.h <<_ACEOF
9925 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9926 _ACEOF
9930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9931 $as_echo_n "checking for -lXext... " >&6; }
9932 if ${ac_cv_lib_soname_Xext+:} false; then :
9933 $as_echo_n "(cached) " >&6
9934 else
9935 ac_check_soname_save_LIBS=$LIBS
9936 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9938 /* end confdefs.h. */
9940 /* Override any GCC internal prototype to avoid an error.
9941 Use char because int might match the return type of a GCC
9942 builtin and then its argument prototype would still apply. */
9943 #ifdef __cplusplus
9944 extern "C"
9945 #endif
9946 char XextCreateExtension ();
9948 main ()
9950 return XextCreateExtension ();
9952 return 0;
9954 _ACEOF
9955 if ac_fn_c_try_link "$LINENO"; then :
9956 case "$LIBEXT" in
9957 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9958 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'` ;;
9959 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9960 if ${ac_cv_lib_soname_Xext:+false} :; then :
9961 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9962 fi ;;
9963 esac
9965 rm -f core conftest.err conftest.$ac_objext \
9966 conftest$ac_exeext conftest.$ac_ext
9967 LIBS=$ac_check_soname_save_LIBS
9969 if ${ac_cv_lib_soname_Xext:+false} :; then :
9970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9971 $as_echo "not found" >&6; }
9973 else
9974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9975 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9977 cat >>confdefs.h <<_ACEOF
9978 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9979 _ACEOF
9981 X_LIBS="$X_LIBS -lXext"
9983 X_LIBS="$X_LIBS -lX11"
9985 for ac_header in X11/Xlib.h \
9986 X11/XKBlib.h \
9987 X11/Xutil.h \
9988 X11/Xcursor/Xcursor.h \
9989 X11/extensions/shape.h \
9990 X11/extensions/XInput.h \
9991 X11/extensions/XInput2.h \
9992 X11/extensions/XShm.h \
9993 X11/extensions/Xcomposite.h \
9994 X11/extensions/Xfixes.h \
9995 X11/extensions/Xinerama.h \
9996 X11/extensions/Xrandr.h \
9997 X11/extensions/Xrender.h \
9998 X11/extensions/xf86vmode.h \
9999 X11/extensions/xf86vmproto.h
10000 do :
10001 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10002 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
10003 # include <X11/Xlib.h>
10004 #endif
10005 #ifdef HAVE_X11_XUTIL_H
10006 # include <X11/Xutil.h>
10007 #endif
10009 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10010 cat >>confdefs.h <<_ACEOF
10011 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10012 _ACEOF
10016 done
10019 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
10020 then
10021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
10022 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
10023 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
10024 $as_echo_n "(cached) " >&6
10025 else
10026 ac_check_lib_save_LIBS=$LIBS
10027 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10029 /* end confdefs.h. */
10031 /* Override any GCC internal prototype to avoid an error.
10032 Use char because int might match the return type of a GCC
10033 builtin and then its argument prototype would still apply. */
10034 #ifdef __cplusplus
10035 extern "C"
10036 #endif
10037 char XkbQueryExtension ();
10039 main ()
10041 return XkbQueryExtension ();
10043 return 0;
10045 _ACEOF
10046 if ac_fn_c_try_link "$LINENO"; then :
10047 ac_cv_lib_X11_XkbQueryExtension=yes
10048 else
10049 ac_cv_lib_X11_XkbQueryExtension=no
10051 rm -f core conftest.err conftest.$ac_objext \
10052 conftest$ac_exeext conftest.$ac_ext
10053 LIBS=$ac_check_lib_save_LIBS
10055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
10056 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
10057 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
10059 $as_echo "#define HAVE_XKB 1" >>confdefs.h
10065 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
10066 then
10067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
10068 $as_echo_n "checking for -lXcursor... " >&6; }
10069 if ${ac_cv_lib_soname_Xcursor+:} false; then :
10070 $as_echo_n "(cached) " >&6
10071 else
10072 ac_check_soname_save_LIBS=$LIBS
10073 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
10074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10075 /* end confdefs.h. */
10077 /* Override any GCC internal prototype to avoid an error.
10078 Use char because int might match the return type of a GCC
10079 builtin and then its argument prototype would still apply. */
10080 #ifdef __cplusplus
10081 extern "C"
10082 #endif
10083 char XcursorImageLoadCursor ();
10085 main ()
10087 return XcursorImageLoadCursor ();
10089 return 0;
10091 _ACEOF
10092 if ac_fn_c_try_link "$LINENO"; then :
10093 case "$LIBEXT" in
10094 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10095 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'` ;;
10096 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10097 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10098 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10099 fi ;;
10100 esac
10102 rm -f core conftest.err conftest.$ac_objext \
10103 conftest$ac_exeext conftest.$ac_ext
10104 LIBS=$ac_check_soname_save_LIBS
10106 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10108 $as_echo "not found" >&6; }
10110 else
10111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
10112 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
10114 cat >>confdefs.h <<_ACEOF
10115 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
10116 _ACEOF
10121 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
10122 case "x$with_xcursor" in
10123 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
10124 xno) ;;
10125 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
10126 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
10127 esac
10131 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
10132 then
10133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
10134 $as_echo_n "checking for -lXi... " >&6; }
10135 if ${ac_cv_lib_soname_Xi+:} false; then :
10136 $as_echo_n "(cached) " >&6
10137 else
10138 ac_check_soname_save_LIBS=$LIBS
10139 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
10140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10141 /* end confdefs.h. */
10143 /* Override any GCC internal prototype to avoid an error.
10144 Use char because int might match the return type of a GCC
10145 builtin and then its argument prototype would still apply. */
10146 #ifdef __cplusplus
10147 extern "C"
10148 #endif
10149 char XOpenDevice ();
10151 main ()
10153 return XOpenDevice ();
10155 return 0;
10157 _ACEOF
10158 if ac_fn_c_try_link "$LINENO"; then :
10159 case "$LIBEXT" in
10160 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10161 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'` ;;
10162 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10163 if ${ac_cv_lib_soname_Xi:+false} :; then :
10164 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10165 fi ;;
10166 esac
10168 rm -f core conftest.err conftest.$ac_objext \
10169 conftest$ac_exeext conftest.$ac_ext
10170 LIBS=$ac_check_soname_save_LIBS
10172 if ${ac_cv_lib_soname_Xi:+false} :; then :
10173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10174 $as_echo "not found" >&6; }
10176 else
10177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10178 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10180 cat >>confdefs.h <<_ACEOF
10181 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10182 _ACEOF
10187 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10188 case "x$with_xinput" in
10189 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10190 xno) ;;
10191 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10192 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10193 esac
10197 if test "x$ac_cv_lib_soname_Xi" != x
10198 then
10199 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10200 case "x$with_xinput2" in
10201 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10202 xno) ;;
10203 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10204 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10205 esac
10210 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10211 then
10212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10213 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10214 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10215 $as_echo_n "(cached) " >&6
10216 else
10217 ac_check_lib_save_LIBS=$LIBS
10218 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10220 /* end confdefs.h. */
10222 /* Override any GCC internal prototype to avoid an error.
10223 Use char because int might match the return type of a GCC
10224 builtin and then its argument prototype would still apply. */
10225 #ifdef __cplusplus
10226 extern "C"
10227 #endif
10228 char XShmQueryExtension ();
10230 main ()
10232 return XShmQueryExtension ();
10234 return 0;
10236 _ACEOF
10237 if ac_fn_c_try_link "$LINENO"; then :
10238 ac_cv_lib_Xext_XShmQueryExtension=yes
10239 else
10240 ac_cv_lib_Xext_XShmQueryExtension=no
10242 rm -f core conftest.err conftest.$ac_objext \
10243 conftest$ac_exeext conftest.$ac_ext
10244 LIBS=$ac_check_lib_save_LIBS
10246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10247 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10248 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10250 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10255 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10256 case "x$with_xshm" in
10257 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10258 xno) ;;
10259 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10260 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10261 esac
10265 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10266 then
10267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10268 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10269 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10270 $as_echo_n "(cached) " >&6
10271 else
10272 ac_check_lib_save_LIBS=$LIBS
10273 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10275 /* end confdefs.h. */
10277 /* Override any GCC internal prototype to avoid an error.
10278 Use char because int might match the return type of a GCC
10279 builtin and then its argument prototype would still apply. */
10280 #ifdef __cplusplus
10281 extern "C"
10282 #endif
10283 char XShapeQueryExtension ();
10285 main ()
10287 return XShapeQueryExtension ();
10289 return 0;
10291 _ACEOF
10292 if ac_fn_c_try_link "$LINENO"; then :
10293 ac_cv_lib_Xext_XShapeQueryExtension=yes
10294 else
10295 ac_cv_lib_Xext_XShapeQueryExtension=no
10297 rm -f core conftest.err conftest.$ac_objext \
10298 conftest$ac_exeext conftest.$ac_ext
10299 LIBS=$ac_check_lib_save_LIBS
10301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10302 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10303 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10305 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10310 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10311 case "x$with_xshape" in
10312 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10313 xno) ;;
10314 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10315 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10316 esac
10320 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10321 then
10322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10323 $as_echo_n "checking for -lXxf86vm... " >&6; }
10324 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10325 $as_echo_n "(cached) " >&6
10326 else
10327 ac_check_soname_save_LIBS=$LIBS
10328 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10330 /* end confdefs.h. */
10332 /* Override any GCC internal prototype to avoid an error.
10333 Use char because int might match the return type of a GCC
10334 builtin and then its argument prototype would still apply. */
10335 #ifdef __cplusplus
10336 extern "C"
10337 #endif
10338 char XF86VidModeQueryExtension ();
10340 main ()
10342 return XF86VidModeQueryExtension ();
10344 return 0;
10346 _ACEOF
10347 if ac_fn_c_try_link "$LINENO"; then :
10348 case "$LIBEXT" in
10349 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10350 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'` ;;
10351 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10352 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10353 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10354 fi ;;
10355 esac
10357 rm -f core conftest.err conftest.$ac_objext \
10358 conftest$ac_exeext conftest.$ac_ext
10359 LIBS=$ac_check_soname_save_LIBS
10361 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10363 $as_echo "not found" >&6; }
10365 else
10366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10367 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10369 cat >>confdefs.h <<_ACEOF
10370 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10371 _ACEOF
10376 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10377 case "x$with_xxf86vm" in
10378 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10379 xno) ;;
10380 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10381 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10382 esac
10386 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10387 then
10388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10389 $as_echo_n "checking for -lXrender... " >&6; }
10390 if ${ac_cv_lib_soname_Xrender+:} false; then :
10391 $as_echo_n "(cached) " >&6
10392 else
10393 ac_check_soname_save_LIBS=$LIBS
10394 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10396 /* end confdefs.h. */
10398 /* Override any GCC internal prototype to avoid an error.
10399 Use char because int might match the return type of a GCC
10400 builtin and then its argument prototype would still apply. */
10401 #ifdef __cplusplus
10402 extern "C"
10403 #endif
10404 char XRenderQueryExtension ();
10406 main ()
10408 return XRenderQueryExtension ();
10410 return 0;
10412 _ACEOF
10413 if ac_fn_c_try_link "$LINENO"; then :
10414 case "$LIBEXT" in
10415 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10416 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'` ;;
10417 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10418 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10419 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10420 fi ;;
10421 esac
10423 rm -f core conftest.err conftest.$ac_objext \
10424 conftest$ac_exeext conftest.$ac_ext
10425 LIBS=$ac_check_soname_save_LIBS
10427 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10429 $as_echo "not found" >&6; }
10431 else
10432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10433 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10435 cat >>confdefs.h <<_ACEOF
10436 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10437 _ACEOF
10439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10440 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10441 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10442 $as_echo_n "(cached) " >&6
10443 else
10444 ac_check_lib_save_LIBS=$LIBS
10445 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10447 /* end confdefs.h. */
10449 /* Override any GCC internal prototype to avoid an error.
10450 Use char because int might match the return type of a GCC
10451 builtin and then its argument prototype would still apply. */
10452 #ifdef __cplusplus
10453 extern "C"
10454 #endif
10455 char XRenderSetPictureTransform ();
10457 main ()
10459 return XRenderSetPictureTransform ();
10461 return 0;
10463 _ACEOF
10464 if ac_fn_c_try_link "$LINENO"; then :
10465 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10466 else
10467 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10469 rm -f core conftest.err conftest.$ac_objext \
10470 conftest$ac_exeext conftest.$ac_ext
10471 LIBS=$ac_check_lib_save_LIBS
10473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10474 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10475 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10477 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10482 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10483 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10484 $as_echo_n "(cached) " >&6
10485 else
10486 ac_check_lib_save_LIBS=$LIBS
10487 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10489 /* end confdefs.h. */
10491 /* Override any GCC internal prototype to avoid an error.
10492 Use char because int might match the return type of a GCC
10493 builtin and then its argument prototype would still apply. */
10494 #ifdef __cplusplus
10495 extern "C"
10496 #endif
10497 char XRenderCreateLinearGradient ();
10499 main ()
10501 return XRenderCreateLinearGradient ();
10503 return 0;
10505 _ACEOF
10506 if ac_fn_c_try_link "$LINENO"; then :
10507 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10508 else
10509 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10511 rm -f core conftest.err conftest.$ac_objext \
10512 conftest$ac_exeext conftest.$ac_ext
10513 LIBS=$ac_check_lib_save_LIBS
10515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10516 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10517 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10519 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10526 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10527 case "x$with_xrender" in
10528 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10529 xno) ;;
10530 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10531 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10532 esac
10536 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10537 then
10538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10539 /* end confdefs.h. */
10540 #include <X11/Xlib.h>
10541 #include <X11/extensions/Xrandr.h>
10543 main ()
10545 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10547 return 0;
10549 _ACEOF
10550 if ac_fn_c_try_compile "$LINENO"; then :
10551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10552 $as_echo_n "checking for -lXrandr... " >&6; }
10553 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10554 $as_echo_n "(cached) " >&6
10555 else
10556 ac_check_soname_save_LIBS=$LIBS
10557 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10559 /* end confdefs.h. */
10561 /* Override any GCC internal prototype to avoid an error.
10562 Use char because int might match the return type of a GCC
10563 builtin and then its argument prototype would still apply. */
10564 #ifdef __cplusplus
10565 extern "C"
10566 #endif
10567 char XRRQueryExtension ();
10569 main ()
10571 return XRRQueryExtension ();
10573 return 0;
10575 _ACEOF
10576 if ac_fn_c_try_link "$LINENO"; then :
10577 case "$LIBEXT" in
10578 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10579 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'` ;;
10580 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10581 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10582 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10583 fi ;;
10584 esac
10586 rm -f core conftest.err conftest.$ac_objext \
10587 conftest$ac_exeext conftest.$ac_ext
10588 LIBS=$ac_check_soname_save_LIBS
10590 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10592 $as_echo "not found" >&6; }
10594 else
10595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10596 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10598 cat >>confdefs.h <<_ACEOF
10599 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10600 _ACEOF
10602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10603 /* end confdefs.h. */
10604 #include <X11/Xlib.h>
10605 #include <X11/extensions/Xrandr.h>
10607 main ()
10609 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10611 return 0;
10613 _ACEOF
10614 if ac_fn_c_try_compile "$LINENO"; then :
10616 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10624 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10625 case "x$with_xrandr" in
10626 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10627 xno) ;;
10628 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10629 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10630 esac
10634 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
10635 then
10636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10637 /* end confdefs.h. */
10638 #include <X11/Xlib.h>
10639 #include <X11/extensions/Xfixes.h>
10641 main ()
10643 static typeof(XFixesQueryVersion) * func; if (func) return 0;
10645 return 0;
10647 _ACEOF
10648 if ac_fn_c_try_compile "$LINENO"; then :
10649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
10650 $as_echo_n "checking for -lXfixes... " >&6; }
10651 if ${ac_cv_lib_soname_Xfixes+:} false; then :
10652 $as_echo_n "(cached) " >&6
10653 else
10654 ac_check_soname_save_LIBS=$LIBS
10655 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
10656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10657 /* end confdefs.h. */
10659 /* Override any GCC internal prototype to avoid an error.
10660 Use char because int might match the return type of a GCC
10661 builtin and then its argument prototype would still apply. */
10662 #ifdef __cplusplus
10663 extern "C"
10664 #endif
10665 char XFixesQueryVersion ();
10667 main ()
10669 return XFixesQueryVersion ();
10671 return 0;
10673 _ACEOF
10674 if ac_fn_c_try_link "$LINENO"; then :
10675 case "$LIBEXT" in
10676 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10677 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'` ;;
10678 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10679 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10680 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10681 fi ;;
10682 esac
10684 rm -f core conftest.err conftest.$ac_objext \
10685 conftest$ac_exeext conftest.$ac_ext
10686 LIBS=$ac_check_soname_save_LIBS
10688 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10690 $as_echo "not found" >&6; }
10692 else
10693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
10694 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
10696 cat >>confdefs.h <<_ACEOF
10697 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
10698 _ACEOF
10703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10705 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
10706 case "x$with_xfixes" in
10707 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
10708 xno) ;;
10709 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
10710 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
10711 esac
10715 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10716 then
10717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10718 /* end confdefs.h. */
10719 #include <X11/Xlib.h>
10720 #include <X11/extensions/Xinerama.h>
10722 main ()
10724 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10726 return 0;
10728 _ACEOF
10729 if ac_fn_c_try_compile "$LINENO"; then :
10730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10731 $as_echo_n "checking for -lXinerama... " >&6; }
10732 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10733 $as_echo_n "(cached) " >&6
10734 else
10735 ac_check_soname_save_LIBS=$LIBS
10736 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10738 /* end confdefs.h. */
10740 /* Override any GCC internal prototype to avoid an error.
10741 Use char because int might match the return type of a GCC
10742 builtin and then its argument prototype would still apply. */
10743 #ifdef __cplusplus
10744 extern "C"
10745 #endif
10746 char XineramaQueryScreens ();
10748 main ()
10750 return XineramaQueryScreens ();
10752 return 0;
10754 _ACEOF
10755 if ac_fn_c_try_link "$LINENO"; then :
10756 case "$LIBEXT" in
10757 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10758 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'` ;;
10759 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10760 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10761 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10762 fi ;;
10763 esac
10765 rm -f core conftest.err conftest.$ac_objext \
10766 conftest$ac_exeext conftest.$ac_ext
10767 LIBS=$ac_check_soname_save_LIBS
10769 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10771 $as_echo "not found" >&6; }
10773 else
10774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10775 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10777 cat >>confdefs.h <<_ACEOF
10778 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10779 _ACEOF
10784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10786 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10787 case "x$with_xinerama" in
10788 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10789 xno) ;;
10790 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10791 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10792 esac
10796 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10797 then
10798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10799 $as_echo_n "checking for -lXcomposite... " >&6; }
10800 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10801 $as_echo_n "(cached) " >&6
10802 else
10803 ac_check_soname_save_LIBS=$LIBS
10804 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10806 /* end confdefs.h. */
10808 /* Override any GCC internal prototype to avoid an error.
10809 Use char because int might match the return type of a GCC
10810 builtin and then its argument prototype would still apply. */
10811 #ifdef __cplusplus
10812 extern "C"
10813 #endif
10814 char XCompositeRedirectWindow ();
10816 main ()
10818 return XCompositeRedirectWindow ();
10820 return 0;
10822 _ACEOF
10823 if ac_fn_c_try_link "$LINENO"; then :
10824 case "$LIBEXT" in
10825 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10826 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'` ;;
10827 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10828 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10829 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10830 fi ;;
10831 esac
10833 rm -f core conftest.err conftest.$ac_objext \
10834 conftest$ac_exeext conftest.$ac_ext
10835 LIBS=$ac_check_soname_save_LIBS
10837 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10839 $as_echo "not found" >&6; }
10841 else
10842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10843 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10845 cat >>confdefs.h <<_ACEOF
10846 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10847 _ACEOF
10852 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10853 case "x$with_xcomposite" in
10854 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10855 xno) ;;
10856 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10857 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10858 esac
10862 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10863 #include <X11/Xlib.h>
10864 #endif
10866 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10868 cat >>confdefs.h <<_ACEOF
10869 #define HAVE_XICCALLBACK_CALLBACK 1
10870 _ACEOF
10874 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10875 #include <X11/Xlib.h>
10876 #endif
10878 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10880 cat >>confdefs.h <<_ACEOF
10881 #define HAVE_XEVENT_XCOOKIE 1
10882 _ACEOF
10889 opengl_msg=""
10890 if test "x$with_opengl" != "xno"
10891 then
10892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10893 $as_echo_n "checking for -lGL... " >&6; }
10894 if ${ac_cv_lib_soname_GL+:} false; then :
10895 $as_echo_n "(cached) " >&6
10896 else
10897 ac_check_soname_save_LIBS=$LIBS
10898 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10900 /* end confdefs.h. */
10902 /* Override any GCC internal prototype to avoid an error.
10903 Use char because int might match the return type of a GCC
10904 builtin and then its argument prototype would still apply. */
10905 #ifdef __cplusplus
10906 extern "C"
10907 #endif
10908 char glXCreateContext ();
10910 main ()
10912 return glXCreateContext ();
10914 return 0;
10916 _ACEOF
10917 if ac_fn_c_try_link "$LINENO"; then :
10918 case "$LIBEXT" in
10919 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10920 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'` ;;
10921 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10922 if ${ac_cv_lib_soname_GL:+false} :; then :
10923 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10924 fi ;;
10925 esac
10927 rm -f core conftest.err conftest.$ac_objext \
10928 conftest$ac_exeext conftest.$ac_ext
10929 LIBS=$ac_check_soname_save_LIBS
10931 if ${ac_cv_lib_soname_GL:+false} :; then :
10932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10933 $as_echo "not found" >&6; }
10934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10935 $as_echo_n "checking for -lGL... " >&6; }
10936 if ${ac_cv_lib_soname_GL+:} false; then :
10937 $as_echo_n "(cached) " >&6
10938 else
10939 ac_check_soname_save_LIBS=$LIBS
10940 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"
10941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10942 /* end confdefs.h. */
10944 /* Override any GCC internal prototype to avoid an error.
10945 Use char because int might match the return type of a GCC
10946 builtin and then its argument prototype would still apply. */
10947 #ifdef __cplusplus
10948 extern "C"
10949 #endif
10950 char glXCreateContext ();
10952 main ()
10954 return glXCreateContext ();
10956 return 0;
10958 _ACEOF
10959 if ac_fn_c_try_link "$LINENO"; then :
10960 case "$LIBEXT" in
10961 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10962 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'` ;;
10963 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10964 if ${ac_cv_lib_soname_GL:+false} :; then :
10965 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10966 fi ;;
10967 esac
10969 rm -f core conftest.err conftest.$ac_objext \
10970 conftest$ac_exeext conftest.$ac_ext
10971 LIBS=$ac_check_soname_save_LIBS
10973 if ${ac_cv_lib_soname_GL:+false} :; then :
10974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10975 $as_echo "not found" >&6; }
10976 if test -f /usr/X11R6/lib/libGL.a
10977 then
10978 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10979 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10980 else
10981 opengl_msg="No OpenGL library found on this system."
10983 else
10984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10985 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10987 cat >>confdefs.h <<_ACEOF
10988 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10989 _ACEOF
10991 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"
10993 else
10994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10995 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10997 cat >>confdefs.h <<_ACEOF
10998 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10999 _ACEOF
11001 OPENGL_LIBS="-lGL"
11003 if test "x$with_glu" != "xno"
11004 then
11005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
11006 $as_echo_n "checking for -lGLU... " >&6; }
11007 if ${ac_cv_lib_soname_GLU+:} false; then :
11008 $as_echo_n "(cached) " >&6
11009 else
11010 ac_check_soname_save_LIBS=$LIBS
11011 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11013 /* end confdefs.h. */
11015 /* Override any GCC internal prototype to avoid an error.
11016 Use char because int might match the return type of a GCC
11017 builtin and then its argument prototype would still apply. */
11018 #ifdef __cplusplus
11019 extern "C"
11020 #endif
11021 char gluLookAt ();
11023 main ()
11025 return gluLookAt ();
11027 return 0;
11029 _ACEOF
11030 if ac_fn_c_try_link "$LINENO"; then :
11031 case "$LIBEXT" in
11032 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11033 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'` ;;
11034 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11035 if ${ac_cv_lib_soname_GLU:+false} :; then :
11036 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11037 fi ;;
11038 esac
11040 rm -f core conftest.err conftest.$ac_objext \
11041 conftest$ac_exeext conftest.$ac_ext
11042 LIBS=$ac_check_soname_save_LIBS
11044 if ${ac_cv_lib_soname_GLU:+false} :; then :
11045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11046 $as_echo "not found" >&6; }
11048 else
11049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
11050 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
11052 cat >>confdefs.h <<_ACEOF
11053 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11054 _ACEOF
11058 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
11059 case "x$with_glu" in
11060 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
11061 xno) ;;
11062 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
11063 This is an error since --with-glu was requested." "$LINENO" 5 ;;
11064 esac
11069 if test "x$with_osmesa" != "xno"
11070 then
11071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
11072 $as_echo_n "checking for -lOSMesa... " >&6; }
11073 if ${ac_cv_lib_soname_OSMesa+:} false; then :
11074 $as_echo_n "(cached) " >&6
11075 else
11076 ac_check_soname_save_LIBS=$LIBS
11077 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11079 /* end confdefs.h. */
11081 /* Override any GCC internal prototype to avoid an error.
11082 Use char because int might match the return type of a GCC
11083 builtin and then its argument prototype would still apply. */
11084 #ifdef __cplusplus
11085 extern "C"
11086 #endif
11087 char OSMesaGetProcAddress ();
11089 main ()
11091 return OSMesaGetProcAddress ();
11093 return 0;
11095 _ACEOF
11096 if ac_fn_c_try_link "$LINENO"; then :
11097 case "$LIBEXT" in
11098 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11099 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'` ;;
11100 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11101 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11102 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11103 fi ;;
11104 esac
11106 rm -f core conftest.err conftest.$ac_objext \
11107 conftest$ac_exeext conftest.$ac_ext
11108 LIBS=$ac_check_soname_save_LIBS
11110 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11112 $as_echo "not found" >&6; }
11114 else
11115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
11116 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
11118 cat >>confdefs.h <<_ACEOF
11119 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
11120 _ACEOF
11124 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
11125 case "x$with_osmesa" in
11126 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
11127 xno) ;;
11128 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
11129 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
11130 esac
11135 if test -n "$opengl_msg"; then :
11136 case "x$with_opengl" in
11137 x) as_fn_append wine_warnings "|$opengl_msg
11138 OpenGL and Direct3D won't be supported." ;;
11139 xno) ;;
11140 *) as_fn_error $? "$opengl_msg
11141 OpenGL and Direct3D won't be supported.
11142 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
11143 esac
11147 CPPFLAGS="$ac_save_CPPFLAGS"
11148 else
11149 X_CFLAGS=""
11150 X_LIBS=""
11153 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
11154 then
11155 if test "x$X_LIBS" = "x"; then :
11156 case "x$with_x" in
11157 xno) ;;
11158 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
11159 without X support, which probably isn't what you want. You will need
11160 to install ${notice_platform}development packages of Xlib at the very least.
11161 Use the --without-x option if you really want this." "$LINENO" 5 ;;
11162 esac
11163 enable_winex11_drv=${enable_winex11_drv:-no}
11165 else
11166 if test "x$X_LIBS" = "x"; then :
11167 case "x$with_x" in
11168 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
11169 xno) ;;
11170 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
11171 This is an error since --with-x was requested." "$LINENO" 5 ;;
11172 esac
11173 enable_winex11_drv=${enable_winex11_drv:-no}
11177 if test "$ac_cv_header_CL_cl_h" = "yes"
11178 then
11179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
11180 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
11181 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
11182 $as_echo_n "(cached) " >&6
11183 else
11184 ac_check_lib_save_LIBS=$LIBS
11185 LIBS="-lOpenCL $LIBS"
11186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11187 /* end confdefs.h. */
11189 /* Override any GCC internal prototype to avoid an error.
11190 Use char because int might match the return type of a GCC
11191 builtin and then its argument prototype would still apply. */
11192 #ifdef __cplusplus
11193 extern "C"
11194 #endif
11195 char clGetPlatformInfo ();
11197 main ()
11199 return clGetPlatformInfo ();
11201 return 0;
11203 _ACEOF
11204 if ac_fn_c_try_link "$LINENO"; then :
11205 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
11206 else
11207 ac_cv_lib_OpenCL_clGetPlatformInfo=no
11209 rm -f core conftest.err conftest.$ac_objext \
11210 conftest$ac_exeext conftest.$ac_ext
11211 LIBS=$ac_check_lib_save_LIBS
11213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11214 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11215 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
11216 OPENCL_LIBS="-lOpenCL"
11221 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11222 case "x$with_opencl" in
11223 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11224 xno) ;;
11225 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11226 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11227 esac
11228 enable_opencl=${enable_opencl:-no}
11231 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11232 then
11233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11234 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11235 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11236 $as_echo_n "(cached) " >&6
11237 else
11238 ac_check_lib_save_LIBS=$LIBS
11239 LIBS="-lpcap $LIBS"
11240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11241 /* end confdefs.h. */
11243 /* Override any GCC internal prototype to avoid an error.
11244 Use char because int might match the return type of a GCC
11245 builtin and then its argument prototype would still apply. */
11246 #ifdef __cplusplus
11247 extern "C"
11248 #endif
11249 char pcap_create ();
11251 main ()
11253 return pcap_create ();
11255 return 0;
11257 _ACEOF
11258 if ac_fn_c_try_link "$LINENO"; then :
11259 ac_cv_lib_pcap_pcap_create=yes
11260 else
11261 ac_cv_lib_pcap_pcap_create=no
11263 rm -f core conftest.err conftest.$ac_objext \
11264 conftest$ac_exeext conftest.$ac_ext
11265 LIBS=$ac_check_lib_save_LIBS
11267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11268 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11269 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11270 PCAP_LIBS="-lpcap"
11275 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11276 case "x$with_pcap" in
11277 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11278 xno) ;;
11279 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11280 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11281 esac
11282 enable_wpcap=${enable_wpcap:-no}
11286 if test "x$with_xml" != "xno"
11287 then
11288 if ${XML2_CFLAGS:+false} :; then :
11289 if ${PKG_CONFIG+:} false; then :
11290 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11293 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11294 if ${XML2_LIBS:+false} :; then :
11295 if ${PKG_CONFIG+:} false; then :
11296 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11299 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11300 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11301 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11302 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11303 ac_save_CPPFLAGS=$CPPFLAGS
11304 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11305 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11306 do :
11307 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11308 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11309 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11310 cat >>confdefs.h <<_ACEOF
11311 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11312 _ACEOF
11316 done
11318 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"
11319 then
11320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11321 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11322 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11323 $as_echo_n "(cached) " >&6
11324 else
11325 ac_check_lib_save_LIBS=$LIBS
11326 LIBS="-lxml2 $XML2_LIBS $LIBS"
11327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11328 /* end confdefs.h. */
11330 /* Override any GCC internal prototype to avoid an error.
11331 Use char because int might match the return type of a GCC
11332 builtin and then its argument prototype would still apply. */
11333 #ifdef __cplusplus
11334 extern "C"
11335 #endif
11336 char xmlParseMemory ();
11338 main ()
11340 return xmlParseMemory ();
11342 return 0;
11344 _ACEOF
11345 if ac_fn_c_try_link "$LINENO"; then :
11346 ac_cv_lib_xml2_xmlParseMemory=yes
11347 else
11348 ac_cv_lib_xml2_xmlParseMemory=no
11350 rm -f core conftest.err conftest.$ac_objext \
11351 conftest$ac_exeext conftest.$ac_ext
11352 LIBS=$ac_check_lib_save_LIBS
11354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11355 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11356 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11358 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11360 else
11361 XML2_LIBS=""
11364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11365 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11366 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11367 $as_echo_n "(cached) " >&6
11368 else
11369 ac_check_lib_save_LIBS=$LIBS
11370 LIBS="-lxml2 $XML2_LIBS $LIBS"
11371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11372 /* end confdefs.h. */
11374 /* Override any GCC internal prototype to avoid an error.
11375 Use char because int might match the return type of a GCC
11376 builtin and then its argument prototype would still apply. */
11377 #ifdef __cplusplus
11378 extern "C"
11379 #endif
11380 char xmlReadMemory ();
11382 main ()
11384 return xmlReadMemory ();
11386 return 0;
11388 _ACEOF
11389 if ac_fn_c_try_link "$LINENO"; then :
11390 ac_cv_lib_xml2_xmlReadMemory=yes
11391 else
11392 ac_cv_lib_xml2_xmlReadMemory=no
11394 rm -f core conftest.err conftest.$ac_objext \
11395 conftest$ac_exeext conftest.$ac_ext
11396 LIBS=$ac_check_lib_save_LIBS
11398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11399 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11400 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11402 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11407 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11408 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11409 $as_echo_n "(cached) " >&6
11410 else
11411 ac_check_lib_save_LIBS=$LIBS
11412 LIBS="-lxml2 $XML2_LIBS $LIBS"
11413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11414 /* end confdefs.h. */
11416 /* Override any GCC internal prototype to avoid an error.
11417 Use char because int might match the return type of a GCC
11418 builtin and then its argument prototype would still apply. */
11419 #ifdef __cplusplus
11420 extern "C"
11421 #endif
11422 char xmlNewDocPI ();
11424 main ()
11426 return xmlNewDocPI ();
11428 return 0;
11430 _ACEOF
11431 if ac_fn_c_try_link "$LINENO"; then :
11432 ac_cv_lib_xml2_xmlNewDocPI=yes
11433 else
11434 ac_cv_lib_xml2_xmlNewDocPI=no
11436 rm -f core conftest.err conftest.$ac_objext \
11437 conftest$ac_exeext conftest.$ac_ext
11438 LIBS=$ac_check_lib_save_LIBS
11440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11441 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11442 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11444 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11449 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11450 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11451 $as_echo_n "(cached) " >&6
11452 else
11453 ac_check_lib_save_LIBS=$LIBS
11454 LIBS="-lxml2 $XML2_LIBS $LIBS"
11455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11456 /* end confdefs.h. */
11458 /* Override any GCC internal prototype to avoid an error.
11459 Use char because int might match the return type of a GCC
11460 builtin and then its argument prototype would still apply. */
11461 #ifdef __cplusplus
11462 extern "C"
11463 #endif
11464 char xmlSchemaSetParserStructuredErrors ();
11466 main ()
11468 return xmlSchemaSetParserStructuredErrors ();
11470 return 0;
11472 _ACEOF
11473 if ac_fn_c_try_link "$LINENO"; then :
11474 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11475 else
11476 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11478 rm -f core conftest.err conftest.$ac_objext \
11479 conftest$ac_exeext conftest.$ac_ext
11480 LIBS=$ac_check_lib_save_LIBS
11482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11483 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11484 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11486 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11491 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11492 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11493 $as_echo_n "(cached) " >&6
11494 else
11495 ac_check_lib_save_LIBS=$LIBS
11496 LIBS="-lxml2 $XML2_LIBS $LIBS"
11497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11498 /* end confdefs.h. */
11500 /* Override any GCC internal prototype to avoid an error.
11501 Use char because int might match the return type of a GCC
11502 builtin and then its argument prototype would still apply. */
11503 #ifdef __cplusplus
11504 extern "C"
11505 #endif
11506 char xmlSchemaSetValidStructuredErrors ();
11508 main ()
11510 return xmlSchemaSetValidStructuredErrors ();
11512 return 0;
11514 _ACEOF
11515 if ac_fn_c_try_link "$LINENO"; then :
11516 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11517 else
11518 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11520 rm -f core conftest.err conftest.$ac_objext \
11521 conftest$ac_exeext conftest.$ac_ext
11522 LIBS=$ac_check_lib_save_LIBS
11524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11525 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11526 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11528 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11533 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11534 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11535 $as_echo_n "(cached) " >&6
11536 else
11537 ac_check_lib_save_LIBS=$LIBS
11538 LIBS="-lxml2 $XML2_LIBS $LIBS"
11539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11540 /* end confdefs.h. */
11542 /* Override any GCC internal prototype to avoid an error.
11543 Use char because int might match the return type of a GCC
11544 builtin and then its argument prototype would still apply. */
11545 #ifdef __cplusplus
11546 extern "C"
11547 #endif
11548 char xmlFirstElementChild ();
11550 main ()
11552 return xmlFirstElementChild ();
11554 return 0;
11556 _ACEOF
11557 if ac_fn_c_try_link "$LINENO"; then :
11558 ac_cv_lib_xml2_xmlFirstElementChild=yes
11559 else
11560 ac_cv_lib_xml2_xmlFirstElementChild=no
11562 rm -f core conftest.err conftest.$ac_objext \
11563 conftest$ac_exeext conftest.$ac_ext
11564 LIBS=$ac_check_lib_save_LIBS
11566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11567 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11568 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11570 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11574 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11576 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11578 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11582 else
11583 XML2_CFLAGS=""
11584 XML2_LIBS=""
11586 CPPFLAGS=$ac_save_CPPFLAGS
11587 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11588 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11591 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11592 case "x$with_xml" in
11593 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11594 xno) ;;
11595 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11596 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11597 esac
11601 if test "x$with_xslt" != "xno"
11602 then
11603 if ${XSLT_CFLAGS:+false} :; then :
11604 if ${PKG_CONFIG+:} false; then :
11605 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11608 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11609 if ${XSLT_LIBS:+false} :; then :
11610 if ${PKG_CONFIG+:} false; then :
11611 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11614 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11615 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11616 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11617 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11618 ac_save_CPPFLAGS=$CPPFLAGS
11619 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11620 for ac_header in libxslt/pattern.h libxslt/transform.h
11621 do :
11622 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11623 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11624 # include <libxslt/pattern.h>
11625 #endif
11627 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11628 cat >>confdefs.h <<_ACEOF
11629 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11630 _ACEOF
11634 done
11636 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11637 then
11638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11639 $as_echo_n "checking for -lxslt... " >&6; }
11640 if ${ac_cv_lib_soname_xslt+:} false; then :
11641 $as_echo_n "(cached) " >&6
11642 else
11643 ac_check_soname_save_LIBS=$LIBS
11644 LIBS="-lxslt $XSLT_LIBS $LIBS"
11645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11646 /* end confdefs.h. */
11648 /* Override any GCC internal prototype to avoid an error.
11649 Use char because int might match the return type of a GCC
11650 builtin and then its argument prototype would still apply. */
11651 #ifdef __cplusplus
11652 extern "C"
11653 #endif
11654 char xsltCompilePattern ();
11656 main ()
11658 return xsltCompilePattern ();
11660 return 0;
11662 _ACEOF
11663 if ac_fn_c_try_link "$LINENO"; then :
11664 case "$LIBEXT" in
11665 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11666 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'` ;;
11667 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11668 if ${ac_cv_lib_soname_xslt:+false} :; then :
11669 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11670 fi ;;
11671 esac
11673 rm -f core conftest.err conftest.$ac_objext \
11674 conftest$ac_exeext conftest.$ac_ext
11675 LIBS=$ac_check_soname_save_LIBS
11677 if ${ac_cv_lib_soname_xslt:+false} :; then :
11678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11679 $as_echo "not found" >&6; }
11681 else
11682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11683 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11685 cat >>confdefs.h <<_ACEOF
11686 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11687 _ACEOF
11691 else
11692 XSLT_CFLAGS=""
11694 CPPFLAGS=$ac_save_CPPFLAGS
11695 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11696 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11699 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11700 case "x$with_xslt" in
11701 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11702 xno) ;;
11703 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11704 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11705 esac
11709 if test "x$with_dbus" != "xno"
11710 then
11711 if ${DBUS_CFLAGS:+false} :; then :
11712 if ${PKG_CONFIG+:} false; then :
11713 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11717 if ${DBUS_LIBS:+false} :; then :
11718 if ${PKG_CONFIG+:} false; then :
11719 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11724 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11725 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11726 ac_save_CPPFLAGS=$CPPFLAGS
11727 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11728 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11729 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11731 $as_echo_n "checking for -ldbus-1... " >&6; }
11732 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11733 $as_echo_n "(cached) " >&6
11734 else
11735 ac_check_soname_save_LIBS=$LIBS
11736 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11738 /* end confdefs.h. */
11740 /* Override any GCC internal prototype to avoid an error.
11741 Use char because int might match the return type of a GCC
11742 builtin and then its argument prototype would still apply. */
11743 #ifdef __cplusplus
11744 extern "C"
11745 #endif
11746 char dbus_connection_close ();
11748 main ()
11750 return dbus_connection_close ();
11752 return 0;
11754 _ACEOF
11755 if ac_fn_c_try_link "$LINENO"; then :
11756 case "$LIBEXT" in
11757 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11758 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'` ;;
11759 *) 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'`
11760 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11761 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11762 fi ;;
11763 esac
11765 rm -f core conftest.err conftest.$ac_objext \
11766 conftest$ac_exeext conftest.$ac_ext
11767 LIBS=$ac_check_soname_save_LIBS
11769 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11771 $as_echo "not found" >&6; }
11772 DBUS_CFLAGS=""
11773 else
11774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11775 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11777 cat >>confdefs.h <<_ACEOF
11778 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11779 _ACEOF
11783 else
11784 DBUS_CFLAGS=""
11788 CPPFLAGS=$ac_save_CPPFLAGS
11789 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11790 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11793 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11794 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11795 case "x$with_dbus" in
11796 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11797 xno) ;;
11798 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11799 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11800 esac
11804 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11805 then
11806 if ${HAL_CFLAGS:+false} :; then :
11807 if ${PKG_CONFIG+:} false; then :
11808 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11812 if ${HAL_LIBS:+false} :; then :
11813 if ${PKG_CONFIG+:} false; then :
11814 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11818 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11819 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11820 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11821 ac_save_CPPFLAGS=$CPPFLAGS
11822 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11823 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11824 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11826 $as_echo_n "checking for -lhal... " >&6; }
11827 if ${ac_cv_lib_soname_hal+:} false; then :
11828 $as_echo_n "(cached) " >&6
11829 else
11830 ac_check_soname_save_LIBS=$LIBS
11831 LIBS="-lhal $HAL_LIBS $LIBS"
11832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11833 /* end confdefs.h. */
11835 /* Override any GCC internal prototype to avoid an error.
11836 Use char because int might match the return type of a GCC
11837 builtin and then its argument prototype would still apply. */
11838 #ifdef __cplusplus
11839 extern "C"
11840 #endif
11841 char libhal_ctx_new ();
11843 main ()
11845 return libhal_ctx_new ();
11847 return 0;
11849 _ACEOF
11850 if ac_fn_c_try_link "$LINENO"; then :
11851 case "$LIBEXT" in
11852 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11853 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'` ;;
11854 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11855 if ${ac_cv_lib_soname_hal:+false} :; then :
11856 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11857 fi ;;
11858 esac
11860 rm -f core conftest.err conftest.$ac_objext \
11861 conftest$ac_exeext conftest.$ac_ext
11862 LIBS=$ac_check_soname_save_LIBS
11864 if ${ac_cv_lib_soname_hal:+false} :; then :
11865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11866 $as_echo "not found" >&6; }
11867 HAL_CFLAGS=""
11868 else
11869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11870 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11872 cat >>confdefs.h <<_ACEOF
11873 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11874 _ACEOF
11878 else
11879 HAL_CFLAGS=""
11883 CPPFLAGS=$ac_save_CPPFLAGS
11884 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11885 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11887 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11888 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11889 case "x$with_hal" in
11890 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11891 xno) ;;
11892 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11893 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11894 esac
11899 if test "x$with_gnutls" != "xno"
11900 then
11901 if ${GNUTLS_CFLAGS:+false} :; then :
11902 if ${PKG_CONFIG+:} false; then :
11903 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11907 if ${GNUTLS_LIBS:+false} :; then :
11908 if ${PKG_CONFIG+:} false; then :
11909 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11914 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11915 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11916 ac_save_CPPFLAGS=$CPPFLAGS
11917 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11918 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11919 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11921 /* end confdefs.h. */
11922 #include <gnutls/gnutls.h>
11923 #include <gnutls/crypto.h>
11925 main ()
11927 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11929 return 0;
11931 _ACEOF
11932 if ac_fn_c_try_compile "$LINENO"; then :
11933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11934 $as_echo_n "checking for -lgnutls... " >&6; }
11935 if ${ac_cv_lib_soname_gnutls+:} false; then :
11936 $as_echo_n "(cached) " >&6
11937 else
11938 ac_check_soname_save_LIBS=$LIBS
11939 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11941 /* end confdefs.h. */
11943 /* Override any GCC internal prototype to avoid an error.
11944 Use char because int might match the return type of a GCC
11945 builtin and then its argument prototype would still apply. */
11946 #ifdef __cplusplus
11947 extern "C"
11948 #endif
11949 char gnutls_global_init ();
11951 main ()
11953 return gnutls_global_init ();
11955 return 0;
11957 _ACEOF
11958 if ac_fn_c_try_link "$LINENO"; then :
11959 case "$LIBEXT" in
11960 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11961 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'` ;;
11962 *) 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'`
11963 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11964 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'`
11965 fi ;;
11966 esac
11968 rm -f core conftest.err conftest.$ac_objext \
11969 conftest$ac_exeext conftest.$ac_ext
11970 LIBS=$ac_check_soname_save_LIBS
11972 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11974 $as_echo "not found" >&6; }
11975 GNUTLS_CFLAGS=""
11976 else
11977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11978 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11980 cat >>confdefs.h <<_ACEOF
11981 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11982 _ACEOF
11986 ac_wine_check_funcs_save_LIBS="$LIBS"
11987 LIBS="$LIBS $GNUTLS_LIBS"
11988 for ac_func in gnutls_cipher_init
11989 do :
11990 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
11991 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
11992 cat >>confdefs.h <<_ACEOF
11993 #define HAVE_GNUTLS_CIPHER_INIT 1
11994 _ACEOF
11996 else
11997 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
11999 done
12001 LIBS="$ac_wine_check_funcs_save_LIBS"
12003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12004 else
12005 GNUTLS_CFLAGS=""
12009 CPPFLAGS=$ac_save_CPPFLAGS
12010 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12011 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12014 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
12015 case "x$with_gnutls" in
12016 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
12017 xno) ;;
12018 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
12019 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
12020 esac
12024 CURSES_LIBS=""
12025 if test "$ac_cv_header_ncurses_h" = "yes"
12026 then
12027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
12028 $as_echo_n "checking for -lncurses... " >&6; }
12029 if ${ac_cv_lib_soname_ncurses+:} false; then :
12030 $as_echo_n "(cached) " >&6
12031 else
12032 ac_check_soname_save_LIBS=$LIBS
12033 LIBS="-lncurses $LIBS"
12034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12035 /* end confdefs.h. */
12037 /* Override any GCC internal prototype to avoid an error.
12038 Use char because int might match the return type of a GCC
12039 builtin and then its argument prototype would still apply. */
12040 #ifdef __cplusplus
12041 extern "C"
12042 #endif
12043 char waddch ();
12045 main ()
12047 return waddch ();
12049 return 0;
12051 _ACEOF
12052 if ac_fn_c_try_link "$LINENO"; then :
12053 case "$LIBEXT" in
12054 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12055 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'` ;;
12056 *) 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'`
12057 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12058 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12059 fi ;;
12060 esac
12062 rm -f core conftest.err conftest.$ac_objext \
12063 conftest$ac_exeext conftest.$ac_ext
12064 LIBS=$ac_check_soname_save_LIBS
12066 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12068 $as_echo "not found" >&6; }
12070 else
12071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
12072 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
12074 cat >>confdefs.h <<_ACEOF
12075 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12076 _ACEOF
12078 CURSES_LIBS="-lncurses"
12080 elif test "$ac_cv_header_curses_h" = "yes"
12081 then
12082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
12083 $as_echo_n "checking for -lcurses... " >&6; }
12084 if ${ac_cv_lib_soname_curses+:} false; then :
12085 $as_echo_n "(cached) " >&6
12086 else
12087 ac_check_soname_save_LIBS=$LIBS
12088 LIBS="-lcurses $LIBS"
12089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12090 /* end confdefs.h. */
12092 /* Override any GCC internal prototype to avoid an error.
12093 Use char because int might match the return type of a GCC
12094 builtin and then its argument prototype would still apply. */
12095 #ifdef __cplusplus
12096 extern "C"
12097 #endif
12098 char waddch ();
12100 main ()
12102 return waddch ();
12104 return 0;
12106 _ACEOF
12107 if ac_fn_c_try_link "$LINENO"; then :
12108 case "$LIBEXT" in
12109 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12110 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'` ;;
12111 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12112 if ${ac_cv_lib_soname_curses:+false} :; then :
12113 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12114 fi ;;
12115 esac
12117 rm -f core conftest.err conftest.$ac_objext \
12118 conftest$ac_exeext conftest.$ac_ext
12119 LIBS=$ac_check_soname_save_LIBS
12121 if ${ac_cv_lib_soname_curses:+false} :; then :
12122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12123 $as_echo "not found" >&6; }
12125 else
12126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
12127 $as_echo "$ac_cv_lib_soname_curses" >&6; }
12129 cat >>confdefs.h <<_ACEOF
12130 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12131 _ACEOF
12133 CURSES_LIBS="-lcurses"
12136 ac_save_LIBS="$LIBS"
12137 LIBS="$LIBS $CURSES_LIBS"
12138 for ac_func in mousemask
12139 do :
12140 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
12141 if test "x$ac_cv_func_mousemask" = xyes; then :
12142 cat >>confdefs.h <<_ACEOF
12143 #define HAVE_MOUSEMASK 1
12144 _ACEOF
12147 done
12149 LIBS="$ac_save_LIBS"
12150 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
12151 case "x$with_curses" in
12152 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
12153 xno) ;;
12154 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
12155 This is an error since --with-curses was requested." "$LINENO" 5 ;;
12156 esac
12160 if test "x$with_sane" != "xno"
12161 then
12162 if ${SANE_CFLAGS:+false} :; then :
12163 if ${PKG_CONFIG+:} false; then :
12164 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
12167 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
12168 if ${SANE_LIBS:+false} :; then :
12169 if ${PKG_CONFIG+:} false; then :
12170 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
12173 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
12175 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
12176 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
12177 ac_save_CPPFLAGS=$CPPFLAGS
12178 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
12179 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
12180 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
12181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
12182 $as_echo_n "checking for -lsane... " >&6; }
12183 if ${ac_cv_lib_soname_sane+:} false; then :
12184 $as_echo_n "(cached) " >&6
12185 else
12186 ac_check_soname_save_LIBS=$LIBS
12187 LIBS="-lsane $SANE_LIBS $LIBS"
12188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12189 /* end confdefs.h. */
12191 /* Override any GCC internal prototype to avoid an error.
12192 Use char because int might match the return type of a GCC
12193 builtin and then its argument prototype would still apply. */
12194 #ifdef __cplusplus
12195 extern "C"
12196 #endif
12197 char sane_init ();
12199 main ()
12201 return sane_init ();
12203 return 0;
12205 _ACEOF
12206 if ac_fn_c_try_link "$LINENO"; then :
12207 case "$LIBEXT" in
12208 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12209 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'` ;;
12210 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12211 if ${ac_cv_lib_soname_sane:+false} :; then :
12212 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12213 fi ;;
12214 esac
12216 rm -f core conftest.err conftest.$ac_objext \
12217 conftest$ac_exeext conftest.$ac_ext
12218 LIBS=$ac_check_soname_save_LIBS
12220 if ${ac_cv_lib_soname_sane:+false} :; then :
12221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12222 $as_echo "not found" >&6; }
12223 SANE_CFLAGS=""
12224 else
12225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12226 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12228 cat >>confdefs.h <<_ACEOF
12229 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12230 _ACEOF
12234 else
12235 SANE_CFLAGS=""
12239 CPPFLAGS=$ac_save_CPPFLAGS
12240 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12241 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12244 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12245 case "x$with_sane" in
12246 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12247 xno) ;;
12248 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12249 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12250 esac
12254 if test "x$with_v4l" != "xno"
12255 then
12256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12257 $as_echo_n "checking for -lv4l1... " >&6; }
12258 if ${ac_cv_lib_soname_v4l1+:} false; then :
12259 $as_echo_n "(cached) " >&6
12260 else
12261 ac_check_soname_save_LIBS=$LIBS
12262 LIBS="-lv4l1 $LIBS"
12263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12264 /* end confdefs.h. */
12266 /* Override any GCC internal prototype to avoid an error.
12267 Use char because int might match the return type of a GCC
12268 builtin and then its argument prototype would still apply. */
12269 #ifdef __cplusplus
12270 extern "C"
12271 #endif
12272 char v4l1_open ();
12274 main ()
12276 return v4l1_open ();
12278 return 0;
12280 _ACEOF
12281 if ac_fn_c_try_link "$LINENO"; then :
12282 case "$LIBEXT" in
12283 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12284 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'` ;;
12285 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12286 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12287 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12288 fi ;;
12289 esac
12291 rm -f core conftest.err conftest.$ac_objext \
12292 conftest$ac_exeext conftest.$ac_ext
12293 LIBS=$ac_check_soname_save_LIBS
12295 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12297 $as_echo "not found" >&6; }
12299 else
12300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12301 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12303 cat >>confdefs.h <<_ACEOF
12304 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12305 _ACEOF
12310 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12311 case "x$with_v4l" in
12312 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12313 xno) ;;
12314 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12315 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12316 esac
12320 if test "x$with_gphoto" != "xno"
12321 then
12322 if ${GPHOTO2_CFLAGS:+false} :; then :
12323 if ${PKG_CONFIG+:} false; then :
12324 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12327 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12328 if ${GPHOTO2_LIBS:+false} :; then :
12329 if ${PKG_CONFIG+:} false; then :
12330 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12333 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12334 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12335 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12336 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12337 ac_save_CPPFLAGS=$CPPFLAGS
12338 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12339 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12340 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12342 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12343 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12344 $as_echo_n "(cached) " >&6
12345 else
12346 ac_check_lib_save_LIBS=$LIBS
12347 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12349 /* end confdefs.h. */
12351 /* Override any GCC internal prototype to avoid an error.
12352 Use char because int might match the return type of a GCC
12353 builtin and then its argument prototype would still apply. */
12354 #ifdef __cplusplus
12355 extern "C"
12356 #endif
12357 char gp_camera_new ();
12359 main ()
12361 return gp_camera_new ();
12363 return 0;
12365 _ACEOF
12366 if ac_fn_c_try_link "$LINENO"; then :
12367 ac_cv_lib_gphoto2_gp_camera_new=yes
12368 else
12369 ac_cv_lib_gphoto2_gp_camera_new=no
12371 rm -f core conftest.err conftest.$ac_objext \
12372 conftest$ac_exeext conftest.$ac_ext
12373 LIBS=$ac_check_lib_save_LIBS
12375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12376 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12377 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12379 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12381 else
12382 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12385 else
12386 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12390 CPPFLAGS=$ac_save_CPPFLAGS
12391 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12392 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12394 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12395 if ${PKG_CONFIG+:} false; then :
12396 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12399 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12400 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12401 if ${PKG_CONFIG+:} false; then :
12402 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12405 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12406 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12407 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12408 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12409 ac_save_CPPFLAGS=$CPPFLAGS
12410 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12411 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12412 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12414 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12415 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12416 $as_echo_n "(cached) " >&6
12417 else
12418 ac_check_lib_save_LIBS=$LIBS
12419 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12421 /* end confdefs.h. */
12423 /* Override any GCC internal prototype to avoid an error.
12424 Use char because int might match the return type of a GCC
12425 builtin and then its argument prototype would still apply. */
12426 #ifdef __cplusplus
12427 extern "C"
12428 #endif
12429 char gp_port_info_list_new ();
12431 main ()
12433 return gp_port_info_list_new ();
12435 return 0;
12437 _ACEOF
12438 if ac_fn_c_try_link "$LINENO"; then :
12439 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12440 else
12441 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12443 rm -f core conftest.err conftest.$ac_objext \
12444 conftest$ac_exeext conftest.$ac_ext
12445 LIBS=$ac_check_lib_save_LIBS
12447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12448 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12449 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12451 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12453 else
12454 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12457 else
12458 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12462 CPPFLAGS=$ac_save_CPPFLAGS
12463 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12464 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12467 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12468 case "x$with_gphoto" in
12469 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12470 xno) ;;
12471 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12472 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12473 esac
12476 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12477 case "x$with_gphoto" in
12478 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12479 xno) ;;
12480 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12481 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12482 esac
12487 if test "$ac_cv_header_resolv_h" = "yes"
12488 then
12489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12490 $as_echo_n "checking for resolver library... " >&6; }
12491 if ${ac_cv_have_resolv+:} false; then :
12492 $as_echo_n "(cached) " >&6
12493 else
12494 ac_save_LIBS="$LIBS"
12495 for lib in '' -lresolv
12497 LIBS="$lib $ac_save_LIBS"
12498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12499 /* end confdefs.h. */
12500 #ifdef HAVE_NETINET_IN_H
12501 #include <netinet/in.h>
12502 #endif
12503 #include <resolv.h>
12505 main ()
12507 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12509 return 0;
12511 _ACEOF
12512 if ac_fn_c_try_link "$LINENO"; then :
12513 ac_cv_have_resolv=${lib:-"none required"}
12514 else
12515 ac_cv_have_resolv="not found"
12517 rm -f core conftest.err conftest.$ac_objext \
12518 conftest$ac_exeext conftest.$ac_ext
12519 test "x$ac_cv_have_resolv" = "xnot found" || break
12520 done
12521 LIBS="$ac_save_LIBS"
12523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12524 $as_echo "$ac_cv_have_resolv" >&6; }
12526 case "$ac_cv_have_resolv" in
12527 "not found") ;;
12528 "none required")
12530 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12533 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12535 RESOLV_LIBS=$ac_cv_have_resolv
12537 esac
12540 if test "x$with_cms" != "xno"
12541 then
12542 if ${LCMS2_CFLAGS:+false} :; then :
12543 if ${PKG_CONFIG+:} false; then :
12544 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12548 if ${LCMS2_LIBS:+false} :; then :
12549 if ${PKG_CONFIG+:} false; then :
12550 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12554 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12555 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12556 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12557 ac_save_CPPFLAGS=$CPPFLAGS
12558 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12559 for ac_header in lcms2.h
12560 do :
12561 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12562 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12563 cat >>confdefs.h <<_ACEOF
12564 #define HAVE_LCMS2_H 1
12565 _ACEOF
12569 done
12571 if test "$ac_cv_header_lcms2_h" = "yes"
12572 then
12573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12574 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12575 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12576 $as_echo_n "(cached) " >&6
12577 else
12578 ac_check_lib_save_LIBS=$LIBS
12579 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12581 /* end confdefs.h. */
12583 /* Override any GCC internal prototype to avoid an error.
12584 Use char because int might match the return type of a GCC
12585 builtin and then its argument prototype would still apply. */
12586 #ifdef __cplusplus
12587 extern "C"
12588 #endif
12589 char cmsOpenProfileFromFile ();
12591 main ()
12593 return cmsOpenProfileFromFile ();
12595 return 0;
12597 _ACEOF
12598 if ac_fn_c_try_link "$LINENO"; then :
12599 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12600 else
12601 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12603 rm -f core conftest.err conftest.$ac_objext \
12604 conftest$ac_exeext conftest.$ac_ext
12605 LIBS=$ac_check_lib_save_LIBS
12607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12608 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12609 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12611 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12613 else
12614 LCMS2_LIBS=""
12617 else
12618 LCMS2_CFLAGS=""
12619 LCMS2_LIBS=""
12621 CPPFLAGS=$ac_save_CPPFLAGS
12622 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12623 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12626 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12627 case "x$with_cms" in
12628 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12629 xno) ;;
12630 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12631 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12632 esac
12636 if test "x$with_freetype" != "xno"
12637 then
12638 if ${FREETYPE_CFLAGS:+false} :; then :
12639 if ${PKG_CONFIG+:} false; then :
12640 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12643 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12644 if ${FREETYPE_LIBS:+false} :; then :
12645 if ${PKG_CONFIG+:} false; then :
12646 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12649 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12650 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12651 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12652 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12653 ac_save_CPPFLAGS=$CPPFLAGS
12654 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12655 for ac_header in ft2build.h
12656 do :
12657 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12658 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12659 cat >>confdefs.h <<_ACEOF
12660 #define HAVE_FT2BUILD_H 1
12661 _ACEOF
12665 done
12667 if test "$ac_cv_header_ft2build_h" = "yes"
12668 then
12669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12670 $as_echo_n "checking for -lfreetype... " >&6; }
12671 if ${ac_cv_lib_soname_freetype+:} false; then :
12672 $as_echo_n "(cached) " >&6
12673 else
12674 ac_check_soname_save_LIBS=$LIBS
12675 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12677 /* end confdefs.h. */
12679 /* Override any GCC internal prototype to avoid an error.
12680 Use char because int might match the return type of a GCC
12681 builtin and then its argument prototype would still apply. */
12682 #ifdef __cplusplus
12683 extern "C"
12684 #endif
12685 char FT_Init_FreeType ();
12687 main ()
12689 return FT_Init_FreeType ();
12691 return 0;
12693 _ACEOF
12694 if ac_fn_c_try_link "$LINENO"; then :
12695 case "$LIBEXT" in
12696 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12697 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'` ;;
12698 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12699 if ${ac_cv_lib_soname_freetype:+false} :; then :
12700 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12701 fi ;;
12702 esac
12704 rm -f core conftest.err conftest.$ac_objext \
12705 conftest$ac_exeext conftest.$ac_ext
12706 LIBS=$ac_check_soname_save_LIBS
12708 if ${ac_cv_lib_soname_freetype:+false} :; then :
12709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12710 $as_echo "not found" >&6; }
12711 FREETYPE_LIBS=""
12712 else
12713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12714 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12716 cat >>confdefs.h <<_ACEOF
12717 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12718 _ACEOF
12721 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12723 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12724 #include FT_MODULE_H
12726 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12728 cat >>confdefs.h <<_ACEOF
12729 #define HAVE_FT_TRUETYPEENGINETYPE 1
12730 _ACEOF
12736 else
12737 FREETYPE_CFLAGS=""
12738 FREETYPE_LIBS=""
12740 CPPFLAGS=$ac_save_CPPFLAGS
12741 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12742 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12745 if test "x$ac_cv_lib_soname_freetype" = x; then :
12746 case "x$with_freetype" in
12747 xno) ;;
12748 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12749 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12750 esac
12751 enable_fonts=${enable_fonts:-no}
12754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12755 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12756 if ${ac_cv_c_ppdev+:} false; then :
12757 $as_echo_n "(cached) " >&6
12758 else
12759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12760 /* end confdefs.h. */
12761 #ifdef HAVE_SYS_IOCTL_H
12762 # include <sys/ioctl.h>
12763 #endif
12764 #include <linux/ppdev.h>
12766 main ()
12768 ioctl (1,PPCLAIM,0)
12770 return 0;
12772 _ACEOF
12773 if ac_fn_c_try_compile "$LINENO"; then :
12774 ac_cv_c_ppdev="yes"
12775 else
12776 ac_cv_c_ppdev="no"
12778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12781 $as_echo "$ac_cv_c_ppdev" >&6; }
12782 if test "$ac_cv_c_ppdev" = "yes"
12783 then
12785 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12789 ac_wine_check_funcs_save_LIBS="$LIBS"
12790 LIBS="$LIBS $PTHREAD_LIBS"
12791 for ac_func in \
12792 pthread_attr_get_np \
12793 pthread_getattr_np \
12794 pthread_getthreadid_np \
12795 pthread_get_stackaddr_np \
12796 pthread_get_stacksize_np
12797 do :
12798 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12799 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12800 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12801 cat >>confdefs.h <<_ACEOF
12802 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12803 _ACEOF
12806 done
12808 LIBS="$ac_wine_check_funcs_save_LIBS"
12810 if test "$ac_cv_header_zlib_h" = "yes"
12811 then
12812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12813 $as_echo_n "checking for inflate in -lz... " >&6; }
12814 if ${ac_cv_lib_z_inflate+:} false; then :
12815 $as_echo_n "(cached) " >&6
12816 else
12817 ac_check_lib_save_LIBS=$LIBS
12818 LIBS="-lz $LIBS"
12819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12820 /* end confdefs.h. */
12822 /* Override any GCC internal prototype to avoid an error.
12823 Use char because int might match the return type of a GCC
12824 builtin and then its argument prototype would still apply. */
12825 #ifdef __cplusplus
12826 extern "C"
12827 #endif
12828 char inflate ();
12830 main ()
12832 return inflate ();
12834 return 0;
12836 _ACEOF
12837 if ac_fn_c_try_link "$LINENO"; then :
12838 ac_cv_lib_z_inflate=yes
12839 else
12840 ac_cv_lib_z_inflate=no
12842 rm -f core conftest.err conftest.$ac_objext \
12843 conftest$ac_exeext conftest.$ac_ext
12844 LIBS=$ac_check_lib_save_LIBS
12846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12847 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12848 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12850 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12852 Z_LIBS="-lz"
12857 if test "x$Z_LIBS" = "x"; then :
12858 case "x$with_zlib" in
12859 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12860 xno) ;;
12861 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12862 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12863 esac
12867 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12868 then
12869 if test "$ac_cv_header_gettext_po_h" = "yes"
12870 then
12871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12872 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12873 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12874 $as_echo_n "(cached) " >&6
12875 else
12876 ac_check_lib_save_LIBS=$LIBS
12877 LIBS="-lgettextpo $LIBS"
12878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12879 /* end confdefs.h. */
12881 /* Override any GCC internal prototype to avoid an error.
12882 Use char because int might match the return type of a GCC
12883 builtin and then its argument prototype would still apply. */
12884 #ifdef __cplusplus
12885 extern "C"
12886 #endif
12887 char po_message_msgctxt ();
12889 main ()
12891 return po_message_msgctxt ();
12893 return 0;
12895 _ACEOF
12896 if ac_fn_c_try_link "$LINENO"; then :
12897 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12898 else
12899 ac_cv_lib_gettextpo_po_message_msgctxt=no
12901 rm -f core conftest.err conftest.$ac_objext \
12902 conftest$ac_exeext conftest.$ac_ext
12903 LIBS=$ac_check_lib_save_LIBS
12905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12906 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12907 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12909 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12911 GETTEXTPO_LIBS="-lgettextpo"
12916 if test "x$GETTEXTPO_LIBS" = "x"; then :
12917 case "x$with_gettextpo" in
12918 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12919 xno) ;;
12920 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12921 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12922 esac
12925 if test "$srcdir" != .; then :
12926 case "x$with_gettextpo" in
12927 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12928 xno) ;;
12929 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12930 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12931 esac
12936 if test "x$with_pulse" != "xno";
12937 then
12938 if ${PULSE_CFLAGS:+false} :; then :
12939 if ${PKG_CONFIG+:} false; then :
12940 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12944 if ${PULSE_LIBS:+false} :; then :
12945 if ${PKG_CONFIG+:} false; then :
12946 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12951 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12952 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12953 ac_save_CPPFLAGS=$CPPFLAGS
12954 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12955 for ac_header in pulse/pulseaudio.h
12956 do :
12957 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12958 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12959 cat >>confdefs.h <<_ACEOF
12960 #define HAVE_PULSE_PULSEAUDIO_H 1
12961 _ACEOF
12962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12963 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12964 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12965 $as_echo_n "(cached) " >&6
12966 else
12967 ac_check_lib_save_LIBS=$LIBS
12968 LIBS="-lpulse $PULSE_LIBS $LIBS"
12969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12970 /* end confdefs.h. */
12972 /* Override any GCC internal prototype to avoid an error.
12973 Use char because int might match the return type of a GCC
12974 builtin and then its argument prototype would still apply. */
12975 #ifdef __cplusplus
12976 extern "C"
12977 #endif
12978 char pa_stream_is_corked ();
12980 main ()
12982 return pa_stream_is_corked ();
12984 return 0;
12986 _ACEOF
12987 if ac_fn_c_try_link "$LINENO"; then :
12988 ac_cv_lib_pulse_pa_stream_is_corked=yes
12989 else
12990 ac_cv_lib_pulse_pa_stream_is_corked=no
12992 rm -f core conftest.err conftest.$ac_objext \
12993 conftest$ac_exeext conftest.$ac_ext
12994 LIBS=$ac_check_lib_save_LIBS
12996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12997 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12998 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
13000 else
13001 PULSE_LIBS=""
13004 else
13005 PULSE_LIBS=""
13008 done
13010 CPPFLAGS=$ac_save_CPPFLAGS
13011 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13012 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13015 if test -z "$PULSE_LIBS"; then :
13016 case "x$with_pulse" in
13017 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
13018 xno) ;;
13019 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
13020 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
13021 esac
13022 enable_winepulse_drv=${enable_winepulse_drv:-no}
13025 if test "x$with_gstreamer" != "xno"
13026 then
13027 if ${GSTREAMER_CFLAGS:+false} :; then :
13028 if ${PKG_CONFIG+:} false; then :
13029 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13033 if ${GSTREAMER_LIBS:+false} :; then :
13034 if ${PKG_CONFIG+:} false; then :
13035 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13040 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
13041 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
13042 ac_save_CPPFLAGS=$CPPFLAGS
13043 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
13044 ac_gst_incl=""
13045 for i in $GSTREAMER_CFLAGS
13047 case "$i" in
13048 -I*) ac_gst_incl="$ac_gst_incl $i";;
13049 esac
13050 done
13051 GSTREAMER_CFLAGS=$ac_gst_incl
13052 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
13053 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
13054 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
13055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
13056 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
13057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13058 /* end confdefs.h. */
13059 #include <gst/gst.h>
13061 main ()
13063 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
13065 return 0;
13067 _ACEOF
13068 if ac_fn_c_try_compile "$LINENO"; then :
13069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13070 $as_echo "yes" >&6; }
13071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
13072 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
13073 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
13074 $as_echo_n "(cached) " >&6
13075 else
13076 ac_check_lib_save_LIBS=$LIBS
13077 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
13078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13079 /* end confdefs.h. */
13081 /* Override any GCC internal prototype to avoid an error.
13082 Use char because int might match the return type of a GCC
13083 builtin and then its argument prototype would still apply. */
13084 #ifdef __cplusplus
13085 extern "C"
13086 #endif
13087 char gst_pad_new ();
13089 main ()
13091 return gst_pad_new ();
13093 return 0;
13095 _ACEOF
13096 if ac_fn_c_try_link "$LINENO"; then :
13097 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
13098 else
13099 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
13101 rm -f core conftest.err conftest.$ac_objext \
13102 conftest$ac_exeext conftest.$ac_ext
13103 LIBS=$ac_check_lib_save_LIBS
13105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
13106 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
13107 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
13111 else
13112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13113 $as_echo "no" >&6; }
13114 ac_glib2_broken=yes
13115 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
13117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13121 CPPFLAGS=$ac_save_CPPFLAGS
13122 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13123 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13126 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 :
13127 case "x$with_gstreamer" in
13128 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
13129 xno) ;;
13130 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
13131 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
13132 esac
13135 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
13137 ALSA_LIBS=""
13139 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13140 then
13141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
13142 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
13143 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
13144 $as_echo_n "(cached) " >&6
13145 else
13146 ac_check_lib_save_LIBS=$LIBS
13147 LIBS="-lasound $LIBS"
13148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13149 /* end confdefs.h. */
13151 /* Override any GCC internal prototype to avoid an error.
13152 Use char because int might match the return type of a GCC
13153 builtin and then its argument prototype would still apply. */
13154 #ifdef __cplusplus
13155 extern "C"
13156 #endif
13157 char snd_pcm_hw_params_get_access_mask ();
13159 main ()
13161 return snd_pcm_hw_params_get_access_mask ();
13163 return 0;
13165 _ACEOF
13166 if ac_fn_c_try_link "$LINENO"; then :
13167 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
13168 else
13169 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
13171 rm -f core conftest.err conftest.$ac_objext \
13172 conftest$ac_exeext conftest.$ac_ext
13173 LIBS=$ac_check_lib_save_LIBS
13175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
13176 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
13177 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
13178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13179 /* end confdefs.h. */
13180 #ifdef HAVE_ALSA_ASOUNDLIB_H
13181 #include <alsa/asoundlib.h>
13182 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13183 #include <sys/asoundlib.h>
13184 #endif
13186 main ()
13188 snd_pcm_hw_params_get_access_mask(NULL, NULL)
13190 return 0;
13192 _ACEOF
13193 if ac_fn_c_try_compile "$LINENO"; then :
13194 ALSA_LIBS="-lasound"
13196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13200 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13202 if test "x$with_oss" != xno
13203 then
13204 ac_save_CPPFLAGS="$CPPFLAGS"
13205 if test -f /etc/oss.conf
13206 then
13207 . /etc/oss.conf
13209 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
13210 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
13211 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13212 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
13213 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13215 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
13217 cat >>confdefs.h <<_ACEOF
13218 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13219 _ACEOF
13221 OSS4_CFLAGS="$ac_oss_incl"
13228 CPPFLAGS="$ac_save_CPPFLAGS"
13230 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13231 case "x$with_oss" in
13232 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13233 xno) ;;
13234 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13235 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13236 esac
13237 enable_wineoss_drv=${enable_wineoss_drv:-no}
13240 if test "x$with_udev" != "xno"
13241 then
13242 if ${UDEV_CFLAGS:+false} :; then :
13243 if ${PKG_CONFIG+:} false; then :
13244 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13248 if ${UDEV_LIBS:+false} :; then :
13249 if ${PKG_CONFIG+:} false; then :
13250 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13254 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13255 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13256 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13257 ac_save_CPPFLAGS=$CPPFLAGS
13258 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13259 for ac_header in libudev.h
13260 do :
13261 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13262 if test "x$ac_cv_header_libudev_h" = xyes; then :
13263 cat >>confdefs.h <<_ACEOF
13264 #define HAVE_LIBUDEV_H 1
13265 _ACEOF
13266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13267 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13268 if ${ac_cv_lib_udev_udev_new+:} false; then :
13269 $as_echo_n "(cached) " >&6
13270 else
13271 ac_check_lib_save_LIBS=$LIBS
13272 LIBS="-ludev $UDEV_LIBS $LIBS"
13273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13274 /* end confdefs.h. */
13276 /* Override any GCC internal prototype to avoid an error.
13277 Use char because int might match the return type of a GCC
13278 builtin and then its argument prototype would still apply. */
13279 #ifdef __cplusplus
13280 extern "C"
13281 #endif
13282 char udev_new ();
13284 main ()
13286 return udev_new ();
13288 return 0;
13290 _ACEOF
13291 if ac_fn_c_try_link "$LINENO"; then :
13292 ac_cv_lib_udev_udev_new=yes
13293 else
13294 ac_cv_lib_udev_udev_new=no
13296 rm -f core conftest.err conftest.$ac_objext \
13297 conftest$ac_exeext conftest.$ac_ext
13298 LIBS=$ac_check_lib_save_LIBS
13300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13301 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13302 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13304 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13306 else
13307 UDEV_LIBS=""
13310 else
13311 UDEV_LIBS=""
13314 done
13316 CPPFLAGS=$ac_save_CPPFLAGS
13317 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13318 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13321 if test "x$UDEV_LIBS" = "x"; then :
13322 case "x$with_udev" in
13323 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13324 xno) ;;
13325 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13326 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13327 esac
13331 if test "x$with_capi" != "xno"
13332 then
13333 if ${CAPI20_CFLAGS:+false} :; then :
13334 if ${PKG_CONFIG+:} false; then :
13335 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13339 if ${CAPI20_LIBS:+false} :; then :
13340 if ${PKG_CONFIG+:} false; then :
13341 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13346 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13347 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13348 ac_save_CPPFLAGS=$CPPFLAGS
13349 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13350 for ac_header in capi20.h linux/capi.h
13351 do :
13352 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13353 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13355 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13356 cat >>confdefs.h <<_ACEOF
13357 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13358 _ACEOF
13362 done
13364 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13365 then
13366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13367 $as_echo_n "checking for -lcapi20... " >&6; }
13368 if ${ac_cv_lib_soname_capi20+:} false; then :
13369 $as_echo_n "(cached) " >&6
13370 else
13371 ac_check_soname_save_LIBS=$LIBS
13372 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13374 /* end confdefs.h. */
13376 /* Override any GCC internal prototype to avoid an error.
13377 Use char because int might match the return type of a GCC
13378 builtin and then its argument prototype would still apply. */
13379 #ifdef __cplusplus
13380 extern "C"
13381 #endif
13382 char capi20_register ();
13384 main ()
13386 return capi20_register ();
13388 return 0;
13390 _ACEOF
13391 if ac_fn_c_try_link "$LINENO"; then :
13392 case "$LIBEXT" in
13393 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13394 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'` ;;
13395 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13396 if ${ac_cv_lib_soname_capi20:+false} :; then :
13397 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13398 fi ;;
13399 esac
13401 rm -f core conftest.err conftest.$ac_objext \
13402 conftest$ac_exeext conftest.$ac_ext
13403 LIBS=$ac_check_soname_save_LIBS
13405 if ${ac_cv_lib_soname_capi20:+false} :; then :
13406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13407 $as_echo "not found" >&6; }
13409 else
13410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13411 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13413 cat >>confdefs.h <<_ACEOF
13414 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13415 _ACEOF
13420 CPPFLAGS=$ac_save_CPPFLAGS
13421 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13422 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13425 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13426 case "x$with_capi" in
13427 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13428 xno) ;;
13429 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13430 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13431 esac
13435 if test "x$with_cups" != "xno"
13436 then
13437 if ${CUPS_CFLAGS:+false} :; then :
13438 if ${PKG_CONFIG+:} false; then :
13439 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
13442 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
13443 if ${CUPS_LIBS:+false} :; then :
13444 if ${PKG_CONFIG+:} false; then :
13445 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
13448 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
13449 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
13450 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
13451 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
13452 ac_save_CPPFLAGS=$CPPFLAGS
13453 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
13454 for ac_header in cups/cups.h cups/ppd.h
13455 do :
13456 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13457 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13458 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13459 cat >>confdefs.h <<_ACEOF
13460 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13461 _ACEOF
13465 done
13467 if test "$ac_cv_header_cups_cups_h" = "yes"
13468 then
13469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13470 $as_echo_n "checking for -lcups... " >&6; }
13471 if ${ac_cv_lib_soname_cups+:} false; then :
13472 $as_echo_n "(cached) " >&6
13473 else
13474 ac_check_soname_save_LIBS=$LIBS
13475 LIBS="-lcups $CUPS_LIBS $LIBS"
13476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13477 /* end confdefs.h. */
13479 /* Override any GCC internal prototype to avoid an error.
13480 Use char because int might match the return type of a GCC
13481 builtin and then its argument prototype would still apply. */
13482 #ifdef __cplusplus
13483 extern "C"
13484 #endif
13485 char cupsGetDefault ();
13487 main ()
13489 return cupsGetDefault ();
13491 return 0;
13493 _ACEOF
13494 if ac_fn_c_try_link "$LINENO"; then :
13495 case "$LIBEXT" in
13496 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13497 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'` ;;
13498 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13499 if ${ac_cv_lib_soname_cups:+false} :; then :
13500 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13501 fi ;;
13502 esac
13504 rm -f core conftest.err conftest.$ac_objext \
13505 conftest$ac_exeext conftest.$ac_ext
13506 LIBS=$ac_check_soname_save_LIBS
13508 if ${ac_cv_lib_soname_cups:+false} :; then :
13509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13510 $as_echo "not found" >&6; }
13511 CUPS_LIBS=""
13512 else
13513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13514 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13516 cat >>confdefs.h <<_ACEOF
13517 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13518 _ACEOF
13522 else
13523 CUPS_CFLAGS=""
13524 CUPS_LIBS=""
13526 CPPFLAGS=$ac_save_CPPFLAGS
13527 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13528 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13531 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13532 case "x$with_cups" in
13533 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13534 xno) ;;
13535 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13536 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13537 esac
13541 if test "x$with_fontconfig" != "xno"
13542 then
13543 if ${FONTCONFIG_CFLAGS:+false} :; then :
13544 if ${PKG_CONFIG+:} false; then :
13545 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13548 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13549 if ${FONTCONFIG_LIBS:+false} :; then :
13550 if ${PKG_CONFIG+:} false; then :
13551 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13554 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13556 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13557 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13558 ac_save_CPPFLAGS=$CPPFLAGS
13559 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13560 for ac_header in fontconfig/fontconfig.h
13561 do :
13562 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13563 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13564 cat >>confdefs.h <<_ACEOF
13565 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13566 _ACEOF
13570 done
13572 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13573 then
13574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13575 $as_echo_n "checking for -lfontconfig... " >&6; }
13576 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13577 $as_echo_n "(cached) " >&6
13578 else
13579 ac_check_soname_save_LIBS=$LIBS
13580 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13582 /* end confdefs.h. */
13584 /* Override any GCC internal prototype to avoid an error.
13585 Use char because int might match the return type of a GCC
13586 builtin and then its argument prototype would still apply. */
13587 #ifdef __cplusplus
13588 extern "C"
13589 #endif
13590 char FcInit ();
13592 main ()
13594 return FcInit ();
13596 return 0;
13598 _ACEOF
13599 if ac_fn_c_try_link "$LINENO"; then :
13600 case "$LIBEXT" in
13601 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13602 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'` ;;
13603 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13604 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13605 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13606 fi ;;
13607 esac
13609 rm -f core conftest.err conftest.$ac_objext \
13610 conftest$ac_exeext conftest.$ac_ext
13611 LIBS=$ac_check_soname_save_LIBS
13613 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13615 $as_echo "not found" >&6; }
13616 FONTCONFIG_CFLAGS=""
13617 else
13618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13619 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13621 cat >>confdefs.h <<_ACEOF
13622 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13623 _ACEOF
13627 else
13628 FONTCONFIG_CFLAGS=""
13630 CPPFLAGS=$ac_save_CPPFLAGS
13631 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13632 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13635 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13636 case "x$with_fontconfig" in
13637 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13638 xno) ;;
13639 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13640 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13641 esac
13645 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13646 then
13647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13648 $as_echo_n "checking for -lgsm... " >&6; }
13649 if ${ac_cv_lib_soname_gsm+:} false; then :
13650 $as_echo_n "(cached) " >&6
13651 else
13652 ac_check_soname_save_LIBS=$LIBS
13653 LIBS="-lgsm $LIBS"
13654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13655 /* end confdefs.h. */
13657 /* Override any GCC internal prototype to avoid an error.
13658 Use char because int might match the return type of a GCC
13659 builtin and then its argument prototype would still apply. */
13660 #ifdef __cplusplus
13661 extern "C"
13662 #endif
13663 char gsm_create ();
13665 main ()
13667 return gsm_create ();
13669 return 0;
13671 _ACEOF
13672 if ac_fn_c_try_link "$LINENO"; then :
13673 case "$LIBEXT" in
13674 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13675 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'` ;;
13676 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13677 if ${ac_cv_lib_soname_gsm:+false} :; then :
13678 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13679 fi ;;
13680 esac
13682 rm -f core conftest.err conftest.$ac_objext \
13683 conftest$ac_exeext conftest.$ac_ext
13684 LIBS=$ac_check_soname_save_LIBS
13686 if ${ac_cv_lib_soname_gsm:+false} :; then :
13687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13688 $as_echo "not found" >&6; }
13690 else
13691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13692 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13694 cat >>confdefs.h <<_ACEOF
13695 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13696 _ACEOF
13701 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13702 case "x$with_gsm" in
13703 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13704 xno) ;;
13705 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13706 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13707 esac
13711 if test "x$with_krb5" != "xno"
13712 then
13713 if ${KRB5_CFLAGS:+false} :; then :
13714 if ${PKG_CONFIG+:} false; then :
13715 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
13718 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
13719 if ${KRB5_LIBS:+false} :; then :
13720 if ${PKG_CONFIG+:} false; then :
13721 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
13724 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
13726 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
13727 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
13728 ac_save_CPPFLAGS=$CPPFLAGS
13729 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
13730 for ac_header in krb5/krb5.h
13731 do :
13732 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
13733 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
13734 cat >>confdefs.h <<_ACEOF
13735 #define HAVE_KRB5_KRB5_H 1
13736 _ACEOF
13740 done
13742 if test "$ac_cv_header_krb5_krb5_h" = "yes"
13743 then
13744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
13745 $as_echo_n "checking for -lkrb5... " >&6; }
13746 if ${ac_cv_lib_soname_krb5+:} false; then :
13747 $as_echo_n "(cached) " >&6
13748 else
13749 ac_check_soname_save_LIBS=$LIBS
13750 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
13751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13752 /* end confdefs.h. */
13754 /* Override any GCC internal prototype to avoid an error.
13755 Use char because int might match the return type of a GCC
13756 builtin and then its argument prototype would still apply. */
13757 #ifdef __cplusplus
13758 extern "C"
13759 #endif
13760 char krb5_init_context ();
13762 main ()
13764 return krb5_init_context ();
13766 return 0;
13768 _ACEOF
13769 if ac_fn_c_try_link "$LINENO"; then :
13770 case "$LIBEXT" in
13771 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13772 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'` ;;
13773 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13774 if ${ac_cv_lib_soname_krb5:+false} :; then :
13775 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13776 fi ;;
13777 esac
13779 rm -f core conftest.err conftest.$ac_objext \
13780 conftest$ac_exeext conftest.$ac_ext
13781 LIBS=$ac_check_soname_save_LIBS
13783 if ${ac_cv_lib_soname_krb5:+false} :; then :
13784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13785 $as_echo "not found" >&6; }
13786 KRB5_CFLAGS=""
13787 else
13788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
13789 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
13791 cat >>confdefs.h <<_ACEOF
13792 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
13793 _ACEOF
13797 else
13798 KRB5_CFLAGS=""
13800 CPPFLAGS=$ac_save_CPPFLAGS
13801 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13802 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13805 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
13806 case "x$with_krb5" in
13807 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found, Kerberos won't be supported." ;;
13808 xno) ;;
13809 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found, Kerberos won't be supported.
13810 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
13811 esac
13815 if test "x$with_gssapi" != "xno"
13816 then
13817 if ${GSSAPI_CFLAGS:+false} :; then :
13818 if ${PKG_CONFIG+:} false; then :
13819 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
13822 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
13823 if ${GSSAPI_LIBS:+false} :; then :
13824 if ${PKG_CONFIG+:} false; then :
13825 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
13828 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
13830 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
13831 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
13832 ac_save_CPPFLAGS=$CPPFLAGS
13833 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
13834 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
13835 do :
13836 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13837 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13838 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13839 cat >>confdefs.h <<_ACEOF
13840 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13841 _ACEOF
13845 done
13847 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
13848 then
13849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
13850 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
13851 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
13852 $as_echo_n "(cached) " >&6
13853 else
13854 ac_check_soname_save_LIBS=$LIBS
13855 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
13856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13857 /* end confdefs.h. */
13859 /* Override any GCC internal prototype to avoid an error.
13860 Use char because int might match the return type of a GCC
13861 builtin and then its argument prototype would still apply. */
13862 #ifdef __cplusplus
13863 extern "C"
13864 #endif
13865 char gss_init_sec_context ();
13867 main ()
13869 return gss_init_sec_context ();
13871 return 0;
13873 _ACEOF
13874 if ac_fn_c_try_link "$LINENO"; then :
13875 case "$LIBEXT" in
13876 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13877 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'` ;;
13878 *) 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'`
13879 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
13880 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13881 fi ;;
13882 esac
13884 rm -f core conftest.err conftest.$ac_objext \
13885 conftest$ac_exeext conftest.$ac_ext
13886 LIBS=$ac_check_soname_save_LIBS
13888 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
13889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13890 $as_echo "not found" >&6; }
13891 GSSAPI_CFLAGS=""
13892 else
13893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
13894 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
13896 cat >>confdefs.h <<_ACEOF
13897 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
13898 _ACEOF
13902 else
13903 GSSAPI_CFLAGS=""
13905 CPPFLAGS=$ac_save_CPPFLAGS
13906 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13907 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13910 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
13911 case "x$with_gssapi" in
13912 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
13913 xno) ;;
13914 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
13915 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
13916 esac
13920 if test "x$with_jpeg" != "xno"
13921 then
13922 if ${JPEG_CFLAGS:+false} :; then :
13923 if ${PKG_CONFIG+:} false; then :
13924 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13928 if ${JPEG_LIBS:+false} :; then :
13929 if ${PKG_CONFIG+:} false; then :
13930 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13935 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13936 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13937 ac_save_CPPFLAGS=$CPPFLAGS
13938 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13939 for ac_header in jpeglib.h
13940 do :
13941 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13942 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13943 cat >>confdefs.h <<_ACEOF
13944 #define HAVE_JPEGLIB_H 1
13945 _ACEOF
13949 done
13951 if test "$ac_cv_header_jpeglib_h" = "yes"
13952 then
13953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13954 $as_echo_n "checking for -ljpeg... " >&6; }
13955 if ${ac_cv_lib_soname_jpeg+:} false; then :
13956 $as_echo_n "(cached) " >&6
13957 else
13958 ac_check_soname_save_LIBS=$LIBS
13959 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13961 /* end confdefs.h. */
13963 /* Override any GCC internal prototype to avoid an error.
13964 Use char because int might match the return type of a GCC
13965 builtin and then its argument prototype would still apply. */
13966 #ifdef __cplusplus
13967 extern "C"
13968 #endif
13969 char jpeg_start_decompress ();
13971 main ()
13973 return jpeg_start_decompress ();
13975 return 0;
13977 _ACEOF
13978 if ac_fn_c_try_link "$LINENO"; then :
13979 case "$LIBEXT" in
13980 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13981 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'` ;;
13982 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13983 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13984 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13985 fi ;;
13986 esac
13988 rm -f core conftest.err conftest.$ac_objext \
13989 conftest$ac_exeext conftest.$ac_ext
13990 LIBS=$ac_check_soname_save_LIBS
13992 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13994 $as_echo "not found" >&6; }
13995 JPEG_CFLAGS=""
13996 else
13997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13998 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
14000 cat >>confdefs.h <<_ACEOF
14001 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
14002 _ACEOF
14006 else
14007 JPEG_CFLAGS=""
14009 CPPFLAGS=$ac_save_CPPFLAGS
14010 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14011 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14014 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
14015 case "x$with_jpeg" in
14016 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
14017 xno) ;;
14018 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
14019 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
14020 esac
14024 if test "x$with_png" != "xno"
14025 then
14026 if ${PNG_CFLAGS:+false} :; then :
14027 if ${PKG_CONFIG+:} false; then :
14028 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
14031 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
14032 if ${PNG_LIBS:+false} :; then :
14033 if ${PKG_CONFIG+:} false; then :
14034 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
14037 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
14039 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
14040 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
14041 ac_save_CPPFLAGS=$CPPFLAGS
14042 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
14043 for ac_header in png.h
14044 do :
14045 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
14046 if test "x$ac_cv_header_png_h" = xyes; then :
14047 cat >>confdefs.h <<_ACEOF
14048 #define HAVE_PNG_H 1
14049 _ACEOF
14053 done
14055 if test "$ac_cv_header_png_h" = "yes"
14056 then
14057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
14058 $as_echo_n "checking for -lpng... " >&6; }
14059 if ${ac_cv_lib_soname_png+:} false; then :
14060 $as_echo_n "(cached) " >&6
14061 else
14062 ac_check_soname_save_LIBS=$LIBS
14063 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
14064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14065 /* end confdefs.h. */
14067 /* Override any GCC internal prototype to avoid an error.
14068 Use char because int might match the return type of a GCC
14069 builtin and then its argument prototype would still apply. */
14070 #ifdef __cplusplus
14071 extern "C"
14072 #endif
14073 char png_create_read_struct ();
14075 main ()
14077 return png_create_read_struct ();
14079 return 0;
14081 _ACEOF
14082 if ac_fn_c_try_link "$LINENO"; then :
14083 case "$LIBEXT" in
14084 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14085 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'` ;;
14086 *) 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'`
14087 if ${ac_cv_lib_soname_png:+false} :; then :
14088 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14089 fi ;;
14090 esac
14092 rm -f core conftest.err conftest.$ac_objext \
14093 conftest$ac_exeext conftest.$ac_ext
14094 LIBS=$ac_check_soname_save_LIBS
14096 if ${ac_cv_lib_soname_png:+false} :; then :
14097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14098 $as_echo "not found" >&6; }
14099 PNG_CFLAGS=""
14100 else
14101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
14102 $as_echo "$ac_cv_lib_soname_png" >&6; }
14104 cat >>confdefs.h <<_ACEOF
14105 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
14106 _ACEOF
14110 else
14111 PNG_CFLAGS=""
14113 CPPFLAGS=$ac_save_CPPFLAGS
14114 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14115 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14118 if test "x$ac_cv_lib_soname_png" = "x"; then :
14119 case "x$with_png" in
14120 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
14121 xno) ;;
14122 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
14123 This is an error since --with-png was requested." "$LINENO" 5 ;;
14124 esac
14128 if test "x$with_tiff" != "xno"
14129 then
14130 if ${TIFF_CFLAGS:+false} :; then :
14131 if ${PKG_CONFIG+:} false; then :
14132 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
14136 if ${TIFF_LIBS:+false} :; then :
14137 if ${PKG_CONFIG+:} false; then :
14138 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
14143 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
14144 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
14145 ac_save_CPPFLAGS=$CPPFLAGS
14146 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
14147 for ac_header in tiffio.h
14148 do :
14149 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
14150 if test "x$ac_cv_header_tiffio_h" = xyes; then :
14151 cat >>confdefs.h <<_ACEOF
14152 #define HAVE_TIFFIO_H 1
14153 _ACEOF
14157 done
14159 if test "$ac_cv_header_tiffio_h" = "yes"
14160 then
14161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
14162 $as_echo_n "checking for -ltiff... " >&6; }
14163 if ${ac_cv_lib_soname_tiff+:} false; then :
14164 $as_echo_n "(cached) " >&6
14165 else
14166 ac_check_soname_save_LIBS=$LIBS
14167 LIBS="-ltiff $TIFF_LIBS $LIBS"
14168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14169 /* end confdefs.h. */
14171 /* Override any GCC internal prototype to avoid an error.
14172 Use char because int might match the return type of a GCC
14173 builtin and then its argument prototype would still apply. */
14174 #ifdef __cplusplus
14175 extern "C"
14176 #endif
14177 char TIFFClientOpen ();
14179 main ()
14181 return TIFFClientOpen ();
14183 return 0;
14185 _ACEOF
14186 if ac_fn_c_try_link "$LINENO"; then :
14187 case "$LIBEXT" in
14188 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14189 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'` ;;
14190 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14191 if ${ac_cv_lib_soname_tiff:+false} :; then :
14192 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14193 fi ;;
14194 esac
14196 rm -f core conftest.err conftest.$ac_objext \
14197 conftest$ac_exeext conftest.$ac_ext
14198 LIBS=$ac_check_soname_save_LIBS
14200 if ${ac_cv_lib_soname_tiff:+false} :; then :
14201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14202 $as_echo "not found" >&6; }
14204 else
14205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
14206 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
14208 cat >>confdefs.h <<_ACEOF
14209 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
14210 _ACEOF
14215 CPPFLAGS=$ac_save_CPPFLAGS
14216 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14217 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14220 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
14221 case "x$with_tiff" in
14222 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
14223 xno) ;;
14224 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
14225 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14226 esac
14230 if test "x$with_mpg123" != "xno"
14231 then
14232 if ${MPG123_CFLAGS:+false} :; then :
14233 if ${PKG_CONFIG+:} false; then :
14234 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14238 if ${MPG123_LIBS:+false} :; then :
14239 if ${PKG_CONFIG+:} false; then :
14240 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14244 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
14245 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14246 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14247 ac_save_CPPFLAGS=$CPPFLAGS
14248 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
14249 for ac_header in mpg123.h
14250 do :
14251 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14252 if test "x$ac_cv_header_mpg123_h" = xyes; then :
14253 cat >>confdefs.h <<_ACEOF
14254 #define HAVE_MPG123_H 1
14255 _ACEOF
14259 done
14261 if test "$ac_cv_header_mpg123_h" = "yes"
14262 then
14263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14264 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14265 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
14266 $as_echo_n "(cached) " >&6
14267 else
14268 ac_check_lib_save_LIBS=$LIBS
14269 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
14270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14271 /* end confdefs.h. */
14273 /* Override any GCC internal prototype to avoid an error.
14274 Use char because int might match the return type of a GCC
14275 builtin and then its argument prototype would still apply. */
14276 #ifdef __cplusplus
14277 extern "C"
14278 #endif
14279 char mpg123_feed ();
14281 main ()
14283 return mpg123_feed ();
14285 return 0;
14287 _ACEOF
14288 if ac_fn_c_try_link "$LINENO"; then :
14289 ac_cv_lib_mpg123_mpg123_feed=yes
14290 else
14291 ac_cv_lib_mpg123_mpg123_feed=no
14293 rm -f core conftest.err conftest.$ac_objext \
14294 conftest$ac_exeext conftest.$ac_ext
14295 LIBS=$ac_check_lib_save_LIBS
14297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14298 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14299 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
14301 else
14302 MPG123_LIBS=""
14305 else
14306 MPG123_CFLAGS=""
14307 MPG123_LIBS=""
14309 CPPFLAGS=$ac_save_CPPFLAGS
14310 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14311 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14314 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
14315 case "x$with_mpg123" in
14316 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14317 xno) ;;
14318 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14319 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14320 esac
14321 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
14324 if test "$ac_cv_header_AL_al_h" = "yes"
14325 then
14326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14327 $as_echo_n "checking for -lopenal... " >&6; }
14328 if ${ac_cv_lib_soname_openal+:} false; then :
14329 $as_echo_n "(cached) " >&6
14330 else
14331 ac_check_soname_save_LIBS=$LIBS
14332 LIBS="-lopenal $LIBS"
14333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14334 /* end confdefs.h. */
14336 /* Override any GCC internal prototype to avoid an error.
14337 Use char because int might match the return type of a GCC
14338 builtin and then its argument prototype would still apply. */
14339 #ifdef __cplusplus
14340 extern "C"
14341 #endif
14342 char alGetSource3i ();
14344 main ()
14346 return alGetSource3i ();
14348 return 0;
14350 _ACEOF
14351 if ac_fn_c_try_link "$LINENO"; then :
14352 case "$LIBEXT" in
14353 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14354 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'` ;;
14355 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14356 if ${ac_cv_lib_soname_openal:+false} :; then :
14357 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14358 fi ;;
14359 esac
14361 rm -f core conftest.err conftest.$ac_objext \
14362 conftest$ac_exeext conftest.$ac_ext
14363 LIBS=$ac_check_soname_save_LIBS
14365 if ${ac_cv_lib_soname_openal:+false} :; then :
14366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14367 $as_echo "not found" >&6; }
14369 else
14370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14371 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14373 cat >>confdefs.h <<_ACEOF
14374 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14375 _ACEOF
14377 OPENAL_LIBS="-lopenal"
14379 ac_cv_lib_openal=yes
14381 cat >>confdefs.h <<_ACEOF
14382 #define HAVE_OPENAL 1
14383 _ACEOF
14387 if test "x$ac_cv_lib_openal" != xyes; then :
14388 case "x$with_openal" in
14389 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14390 xno) ;;
14391 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14392 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14393 esac
14394 enable_openal32=${enable_openal32:-no}
14397 if test "x$ac_cv_lib_openal" = xyes
14398 then
14399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14400 $as_echo_n "checking for openal-soft... " >&6; }
14401 if ${ac_cv_have_openalsoft+:} false; then :
14402 $as_echo_n "(cached) " >&6
14403 else
14404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14405 /* end confdefs.h. */
14406 #include <AL/al.h>
14407 #include <AL/alc.h>
14408 #include <AL/alext.h>
14409 LPALCRENDERSAMPLESSOFT x;
14411 main ()
14415 return 0;
14417 _ACEOF
14418 if ac_fn_c_try_compile "$LINENO"; then :
14419 ac_cv_have_openalsoft=yes
14420 else
14421 ac_cv_have_openalsoft=no
14423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14426 $as_echo "$ac_cv_have_openalsoft" >&6; }
14428 if test "x$ac_cv_have_openalsoft" != xyes
14429 then
14430 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14431 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
14432 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
14433 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14434 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14435 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14436 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14437 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14438 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14439 enable_xapofx1_1=${enable_xapofx1_1:-no}
14440 enable_xapofx1_2=${enable_xapofx1_2:-no}
14441 enable_xapofx1_3=${enable_xapofx1_3:-no}
14442 enable_xapofx1_4=${enable_xapofx1_4:-no}
14443 enable_xapofx1_5=${enable_xapofx1_5:-no}
14444 enable_xaudio2_0=${enable_xaudio2_0:-no}
14445 enable_xaudio2_1=${enable_xaudio2_1:-no}
14446 enable_xaudio2_2=${enable_xaudio2_2:-no}
14447 enable_xaudio2_3=${enable_xaudio2_3:-no}
14448 enable_xaudio2_4=${enable_xaudio2_4:-no}
14449 enable_xaudio2_5=${enable_xaudio2_5:-no}
14450 enable_xaudio2_6=${enable_xaudio2_6:-no}
14451 enable_xaudio2_7=${enable_xaudio2_7:-no}
14452 enable_xaudio2_8=${enable_xaudio2_8:-no}
14453 enable_xaudio2_9=${enable_xaudio2_9:-no}
14456 if test "$ac_cv_header_kstat_h" = "yes"
14457 then
14458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14459 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14460 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14461 $as_echo_n "(cached) " >&6
14462 else
14463 ac_check_lib_save_LIBS=$LIBS
14464 LIBS="-lkstat $LIBS"
14465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14466 /* end confdefs.h. */
14468 /* Override any GCC internal prototype to avoid an error.
14469 Use char because int might match the return type of a GCC
14470 builtin and then its argument prototype would still apply. */
14471 #ifdef __cplusplus
14472 extern "C"
14473 #endif
14474 char kstat_open ();
14476 main ()
14478 return kstat_open ();
14480 return 0;
14482 _ACEOF
14483 if ac_fn_c_try_link "$LINENO"; then :
14484 ac_cv_lib_kstat_kstat_open=yes
14485 else
14486 ac_cv_lib_kstat_kstat_open=no
14488 rm -f core conftest.err conftest.$ac_objext \
14489 conftest$ac_exeext conftest.$ac_ext
14490 LIBS=$ac_check_lib_save_LIBS
14492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14493 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14494 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14496 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14498 KSTAT_LIBS="-lkstat"
14504 if test "$ac_cv_header_libprocstat_h" = "yes"
14505 then
14506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14507 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14508 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14509 $as_echo_n "(cached) " >&6
14510 else
14511 ac_check_lib_save_LIBS=$LIBS
14512 LIBS="-lprocstat $LIBS"
14513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14514 /* end confdefs.h. */
14516 /* Override any GCC internal prototype to avoid an error.
14517 Use char because int might match the return type of a GCC
14518 builtin and then its argument prototype would still apply. */
14519 #ifdef __cplusplus
14520 extern "C"
14521 #endif
14522 char procstat_open_sysctl ();
14524 main ()
14526 return procstat_open_sysctl ();
14528 return 0;
14530 _ACEOF
14531 if ac_fn_c_try_link "$LINENO"; then :
14532 ac_cv_lib_procstat_procstat_open_sysctl=yes
14533 else
14534 ac_cv_lib_procstat_procstat_open_sysctl=no
14536 rm -f core conftest.err conftest.$ac_objext \
14537 conftest$ac_exeext conftest.$ac_ext
14538 LIBS=$ac_check_lib_save_LIBS
14540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14541 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14542 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14544 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14546 PROCSTAT_LIBS="-lprocstat"
14552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14553 $as_echo_n "checking for -lodbc... " >&6; }
14554 if ${ac_cv_lib_soname_odbc+:} false; then :
14555 $as_echo_n "(cached) " >&6
14556 else
14557 ac_check_soname_save_LIBS=$LIBS
14558 LIBS="-lodbc $LIBS"
14559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14560 /* end confdefs.h. */
14562 /* Override any GCC internal prototype to avoid an error.
14563 Use char because int might match the return type of a GCC
14564 builtin and then its argument prototype would still apply. */
14565 #ifdef __cplusplus
14566 extern "C"
14567 #endif
14568 char SQLConnect ();
14570 main ()
14572 return SQLConnect ();
14574 return 0;
14576 _ACEOF
14577 if ac_fn_c_try_link "$LINENO"; then :
14578 case "$LIBEXT" in
14579 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14580 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'` ;;
14581 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14582 if ${ac_cv_lib_soname_odbc:+false} :; then :
14583 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14584 fi ;;
14585 esac
14587 rm -f core conftest.err conftest.$ac_objext \
14588 conftest$ac_exeext conftest.$ac_ext
14589 LIBS=$ac_check_soname_save_LIBS
14591 if ${ac_cv_lib_soname_odbc:+false} :; then :
14592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14593 $as_echo "not found" >&6; }
14594 cat >>confdefs.h <<_ACEOF
14595 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14596 _ACEOF
14598 else
14599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14600 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14602 cat >>confdefs.h <<_ACEOF
14603 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14604 _ACEOF
14609 if test "x$with_netapi" != "xno"
14610 then
14611 if ${NETAPI_CFLAGS:+false} :; then :
14612 if ${PKG_CONFIG+:} false; then :
14613 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14617 if ${NETAPI_LIBS:+false} :; then :
14618 if ${PKG_CONFIG+:} false; then :
14619 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14624 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14625 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14626 ac_save_CPPFLAGS=$CPPFLAGS
14627 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14629 $as_echo_n "checking for -lnetapi... " >&6; }
14630 if ${ac_cv_lib_soname_netapi+:} false; then :
14631 $as_echo_n "(cached) " >&6
14632 else
14633 ac_check_soname_save_LIBS=$LIBS
14634 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14636 /* end confdefs.h. */
14638 /* Override any GCC internal prototype to avoid an error.
14639 Use char because int might match the return type of a GCC
14640 builtin and then its argument prototype would still apply. */
14641 #ifdef __cplusplus
14642 extern "C"
14643 #endif
14644 char libnetapi_init ();
14646 main ()
14648 return libnetapi_init ();
14650 return 0;
14652 _ACEOF
14653 if ac_fn_c_try_link "$LINENO"; then :
14654 case "$LIBEXT" in
14655 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14656 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'` ;;
14657 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14658 if ${ac_cv_lib_soname_netapi:+false} :; then :
14659 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14660 fi ;;
14661 esac
14663 rm -f core conftest.err conftest.$ac_objext \
14664 conftest$ac_exeext conftest.$ac_ext
14665 LIBS=$ac_check_soname_save_LIBS
14667 if ${ac_cv_lib_soname_netapi:+false} :; then :
14668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14669 $as_echo "not found" >&6; }
14670 cat >>confdefs.h <<_ACEOF
14671 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14672 _ACEOF
14674 else
14675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14676 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14678 cat >>confdefs.h <<_ACEOF
14679 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14680 _ACEOF
14684 CPPFLAGS=$ac_save_CPPFLAGS
14685 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14686 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14690 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
14691 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14692 then
14693 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14697 EXTRACFLAGS=""
14699 if test "x${GCC}" = "xyes"
14700 then
14701 EXTRACFLAGS="-Wall -pipe"
14703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14704 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14705 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14706 $as_echo_n "(cached) " >&6
14707 else
14708 if test "$cross_compiling" = yes; then :
14709 ac_cv_c_gcc_strength_bug="no"
14710 else
14711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14712 /* end confdefs.h. */
14713 int L[4] = {0,1,2,3};
14715 main ()
14717 static int Array[3];
14718 unsigned int B = 3;
14719 int i;
14720 for(i=0; i<B; i++) Array[i] = i - 3;
14721 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14722 L[i] = 4;
14723 return (Array[1] != -2 || L[2] != 3)
14725 return 0;
14727 _ACEOF
14728 if ac_fn_c_try_run "$LINENO"; then :
14729 ac_cv_c_gcc_strength_bug="no"
14730 else
14731 ac_cv_c_gcc_strength_bug="yes"
14733 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14734 conftest.$ac_objext conftest.beam conftest.$ac_ext
14738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14739 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14740 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14741 then
14742 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14746 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14747 if ${ac_cv_cflags__fno_builtin+:} false; then :
14748 $as_echo_n "(cached) " >&6
14749 else
14750 ac_wine_try_cflags_saved=$CFLAGS
14751 CFLAGS="$CFLAGS -fno-builtin"
14752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14753 /* end confdefs.h. */
14754 int main(int argc, char **argv) { return 0; }
14755 _ACEOF
14756 if ac_fn_c_try_link "$LINENO"; then :
14757 ac_cv_cflags__fno_builtin=yes
14758 else
14759 ac_cv_cflags__fno_builtin=no
14761 rm -f core conftest.err conftest.$ac_objext \
14762 conftest$ac_exeext conftest.$ac_ext
14763 CFLAGS=$ac_wine_try_cflags_saved
14765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14766 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14767 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14768 BUILTINFLAG="-fno-builtin"
14771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14772 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14773 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14774 $as_echo_n "(cached) " >&6
14775 else
14776 ac_wine_try_cflags_saved=$CFLAGS
14777 CFLAGS="$CFLAGS -fno-strict-aliasing"
14778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14779 /* end confdefs.h. */
14780 int main(int argc, char **argv) { return 0; }
14781 _ACEOF
14782 if ac_fn_c_try_link "$LINENO"; then :
14783 ac_cv_cflags__fno_strict_aliasing=yes
14784 else
14785 ac_cv_cflags__fno_strict_aliasing=no
14787 rm -f core conftest.err conftest.$ac_objext \
14788 conftest$ac_exeext conftest.$ac_ext
14789 CFLAGS=$ac_wine_try_cflags_saved
14791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14792 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14793 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14794 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14797 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14798 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14799 $as_echo_n "(cached) " >&6
14800 else
14801 ac_wine_try_cflags_saved=$CFLAGS
14802 CFLAGS="$CFLAGS -fexcess-precision=standard"
14803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14804 /* end confdefs.h. */
14805 int main(int argc, char **argv) { return 0; }
14806 _ACEOF
14807 if ac_fn_c_try_link "$LINENO"; then :
14808 ac_cv_cflags__fexcess_precision_standard=yes
14809 else
14810 ac_cv_cflags__fexcess_precision_standard=no
14812 rm -f core conftest.err conftest.$ac_objext \
14813 conftest$ac_exeext conftest.$ac_ext
14814 CFLAGS=$ac_wine_try_cflags_saved
14816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14817 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14818 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14819 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14822 saved_CFLAGS=$CFLAGS
14823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14824 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14825 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14826 $as_echo_n "(cached) " >&6
14827 else
14828 ac_wine_try_cflags_saved=$CFLAGS
14829 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14831 /* end confdefs.h. */
14832 int main(int argc, char **argv) { return 0; }
14833 _ACEOF
14834 if ac_fn_c_try_link "$LINENO"; then :
14835 ac_cv_cflags__Werror_unknown_warning_option=yes
14836 else
14837 ac_cv_cflags__Werror_unknown_warning_option=no
14839 rm -f core conftest.err conftest.$ac_objext \
14840 conftest$ac_exeext conftest.$ac_ext
14841 CFLAGS=$ac_wine_try_cflags_saved
14843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14844 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14845 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14846 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14849 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14850 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14851 $as_echo_n "(cached) " >&6
14852 else
14853 ac_wine_try_cflags_saved=$CFLAGS
14854 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14856 /* end confdefs.h. */
14857 int main(int argc, char **argv) { return 0; }
14858 _ACEOF
14859 if ac_fn_c_try_link "$LINENO"; then :
14860 ac_cv_cflags__Wdeclaration_after_statement=yes
14861 else
14862 ac_cv_cflags__Wdeclaration_after_statement=no
14864 rm -f core conftest.err conftest.$ac_objext \
14865 conftest$ac_exeext conftest.$ac_ext
14866 CFLAGS=$ac_wine_try_cflags_saved
14868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14869 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14870 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14871 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14874 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14875 if ${ac_cv_cflags__Wempty_body+:} false; then :
14876 $as_echo_n "(cached) " >&6
14877 else
14878 ac_wine_try_cflags_saved=$CFLAGS
14879 CFLAGS="$CFLAGS -Wempty-body"
14880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14881 /* end confdefs.h. */
14882 int main(int argc, char **argv) { return 0; }
14883 _ACEOF
14884 if ac_fn_c_try_link "$LINENO"; then :
14885 ac_cv_cflags__Wempty_body=yes
14886 else
14887 ac_cv_cflags__Wempty_body=no
14889 rm -f core conftest.err conftest.$ac_objext \
14890 conftest$ac_exeext conftest.$ac_ext
14891 CFLAGS=$ac_wine_try_cflags_saved
14893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14894 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14895 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14896 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14899 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14900 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14901 $as_echo_n "(cached) " >&6
14902 else
14903 ac_wine_try_cflags_saved=$CFLAGS
14904 CFLAGS="$CFLAGS -Wignored-qualifiers"
14905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14906 /* end confdefs.h. */
14907 int main(int argc, char **argv) { return 0; }
14908 _ACEOF
14909 if ac_fn_c_try_link "$LINENO"; then :
14910 ac_cv_cflags__Wignored_qualifiers=yes
14911 else
14912 ac_cv_cflags__Wignored_qualifiers=no
14914 rm -f core conftest.err conftest.$ac_objext \
14915 conftest$ac_exeext conftest.$ac_ext
14916 CFLAGS=$ac_wine_try_cflags_saved
14918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14919 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14920 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14921 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
14924 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
14925 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
14926 $as_echo_n "(cached) " >&6
14927 else
14928 ac_wine_try_cflags_saved=$CFLAGS
14929 CFLAGS="$CFLAGS -Wpacked-not-aligned"
14930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14931 /* end confdefs.h. */
14932 int main(int argc, char **argv) { return 0; }
14933 _ACEOF
14934 if ac_fn_c_try_link "$LINENO"; then :
14935 ac_cv_cflags__Wpacked_not_aligned=yes
14936 else
14937 ac_cv_cflags__Wpacked_not_aligned=no
14939 rm -f core conftest.err conftest.$ac_objext \
14940 conftest$ac_exeext conftest.$ac_ext
14941 CFLAGS=$ac_wine_try_cflags_saved
14943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
14944 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
14945 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
14946 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
14948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
14949 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
14950 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
14951 $as_echo_n "(cached) " >&6
14952 else
14953 ac_wine_try_cflags_saved=$CFLAGS
14954 CFLAGS="$CFLAGS -Wpragma-pack"
14955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14956 /* end confdefs.h. */
14957 int main(int argc, char **argv) { return 0; }
14958 _ACEOF
14959 if ac_fn_c_try_link "$LINENO"; then :
14960 ac_cv_cflags__Wpragma_pack=yes
14961 else
14962 ac_cv_cflags__Wpragma_pack=no
14964 rm -f core conftest.err conftest.$ac_objext \
14965 conftest$ac_exeext conftest.$ac_ext
14966 CFLAGS=$ac_wine_try_cflags_saved
14968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
14969 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
14970 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
14971 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
14973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14974 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14975 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14976 $as_echo_n "(cached) " >&6
14977 else
14978 ac_wine_try_cflags_saved=$CFLAGS
14979 CFLAGS="$CFLAGS -Wshift-overflow=2"
14980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14981 /* end confdefs.h. */
14982 int main(int argc, char **argv) { return 0; }
14983 _ACEOF
14984 if ac_fn_c_try_link "$LINENO"; then :
14985 ac_cv_cflags__Wshift_overflow_2=yes
14986 else
14987 ac_cv_cflags__Wshift_overflow_2=no
14989 rm -f core conftest.err conftest.$ac_objext \
14990 conftest$ac_exeext conftest.$ac_ext
14991 CFLAGS=$ac_wine_try_cflags_saved
14993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14994 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14995 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14996 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14999 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
15000 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
15001 $as_echo_n "(cached) " >&6
15002 else
15003 ac_wine_try_cflags_saved=$CFLAGS
15004 CFLAGS="$CFLAGS -Wstrict-prototypes"
15005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15006 /* end confdefs.h. */
15007 int main(int argc, char **argv) { return 0; }
15008 _ACEOF
15009 if ac_fn_c_try_link "$LINENO"; then :
15010 ac_cv_cflags__Wstrict_prototypes=yes
15011 else
15012 ac_cv_cflags__Wstrict_prototypes=no
15014 rm -f core conftest.err conftest.$ac_objext \
15015 conftest$ac_exeext conftest.$ac_ext
15016 CFLAGS=$ac_wine_try_cflags_saved
15018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
15019 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
15020 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
15021 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
15023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
15024 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
15025 if ${ac_cv_cflags__Wtype_limits+:} false; then :
15026 $as_echo_n "(cached) " >&6
15027 else
15028 ac_wine_try_cflags_saved=$CFLAGS
15029 CFLAGS="$CFLAGS -Wtype-limits"
15030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15031 /* end confdefs.h. */
15032 int main(int argc, char **argv) { return 0; }
15033 _ACEOF
15034 if ac_fn_c_try_link "$LINENO"; then :
15035 ac_cv_cflags__Wtype_limits=yes
15036 else
15037 ac_cv_cflags__Wtype_limits=no
15039 rm -f core conftest.err conftest.$ac_objext \
15040 conftest$ac_exeext conftest.$ac_ext
15041 CFLAGS=$ac_wine_try_cflags_saved
15043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
15044 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
15045 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
15046 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
15048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
15049 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
15050 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
15051 $as_echo_n "(cached) " >&6
15052 else
15053 ac_wine_try_cflags_saved=$CFLAGS
15054 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
15055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15056 /* end confdefs.h. */
15057 int main(int argc, char **argv) { return 0; }
15058 _ACEOF
15059 if ac_fn_c_try_link "$LINENO"; then :
15060 ac_cv_cflags__Wunused_but_set_parameter=yes
15061 else
15062 ac_cv_cflags__Wunused_but_set_parameter=no
15064 rm -f core conftest.err conftest.$ac_objext \
15065 conftest$ac_exeext conftest.$ac_ext
15066 CFLAGS=$ac_wine_try_cflags_saved
15068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
15069 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
15070 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
15071 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
15073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
15074 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
15075 if ${ac_cv_cflags__Wvla+:} false; then :
15076 $as_echo_n "(cached) " >&6
15077 else
15078 ac_wine_try_cflags_saved=$CFLAGS
15079 CFLAGS="$CFLAGS -Wvla"
15080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15081 /* end confdefs.h. */
15082 int main(int argc, char **argv) { return 0; }
15083 _ACEOF
15084 if ac_fn_c_try_link "$LINENO"; then :
15085 ac_cv_cflags__Wvla=yes
15086 else
15087 ac_cv_cflags__Wvla=no
15089 rm -f core conftest.err conftest.$ac_objext \
15090 conftest$ac_exeext conftest.$ac_ext
15091 CFLAGS=$ac_wine_try_cflags_saved
15093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
15094 $as_echo "$ac_cv_cflags__Wvla" >&6; }
15095 if test "x$ac_cv_cflags__Wvla" = xyes; then :
15096 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
15098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
15099 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
15100 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
15101 $as_echo_n "(cached) " >&6
15102 else
15103 ac_wine_try_cflags_saved=$CFLAGS
15104 CFLAGS="$CFLAGS -Wwrite-strings"
15105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15106 /* end confdefs.h. */
15107 int main(int argc, char **argv) { return 0; }
15108 _ACEOF
15109 if ac_fn_c_try_link "$LINENO"; then :
15110 ac_cv_cflags__Wwrite_strings=yes
15111 else
15112 ac_cv_cflags__Wwrite_strings=no
15114 rm -f core conftest.err conftest.$ac_objext \
15115 conftest$ac_exeext conftest.$ac_ext
15116 CFLAGS=$ac_wine_try_cflags_saved
15118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
15119 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
15120 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
15121 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
15124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
15125 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
15126 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
15127 $as_echo_n "(cached) " >&6
15128 else
15129 ac_wine_try_cflags_saved=$CFLAGS
15130 CFLAGS="$CFLAGS -Wpointer-arith"
15131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15132 /* end confdefs.h. */
15133 int main(int argc, char **argv) { return 0; }
15134 _ACEOF
15135 if ac_fn_c_try_link "$LINENO"; then :
15136 ac_cv_cflags__Wpointer_arith=yes
15137 else
15138 ac_cv_cflags__Wpointer_arith=no
15140 rm -f core conftest.err conftest.$ac_objext \
15141 conftest$ac_exeext conftest.$ac_ext
15142 CFLAGS=$ac_wine_try_cflags_saved
15144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
15145 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
15146 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
15147 saved_string_h_CFLAGS=$CFLAGS
15148 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
15150 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
15151 if ${ac_cv_c_string_h_warnings+:} false; then :
15152 $as_echo_n "(cached) " >&6
15153 else
15154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15155 /* end confdefs.h. */
15156 #include <string.h>
15158 main ()
15162 return 0;
15164 _ACEOF
15165 if ac_fn_c_try_compile "$LINENO"; then :
15166 ac_cv_c_string_h_warnings=no
15167 else
15168 ac_cv_c_string_h_warnings=yes
15170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
15173 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
15174 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15175 CFLAGS=$saved_string_h_CFLAGS
15178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
15179 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
15180 if ${ac_cv_cflags__Wlogical_op+:} false; then :
15181 $as_echo_n "(cached) " >&6
15182 else
15183 ac_wine_try_cflags_saved=$CFLAGS
15184 CFLAGS="$CFLAGS -Wlogical-op"
15185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15186 /* end confdefs.h. */
15187 int main(int argc, char **argv) { return 0; }
15188 _ACEOF
15189 if ac_fn_c_try_link "$LINENO"; then :
15190 ac_cv_cflags__Wlogical_op=yes
15191 else
15192 ac_cv_cflags__Wlogical_op=no
15194 rm -f core conftest.err conftest.$ac_objext \
15195 conftest$ac_exeext conftest.$ac_ext
15196 CFLAGS=$ac_wine_try_cflags_saved
15198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
15199 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
15200 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
15201 saved_string_h_CFLAGS=$CFLAGS
15202 CFLAGS="$CFLAGS -Wlogical-op -Werror"
15203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
15204 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
15205 if ${ac_cv_c_logicalop_noisy+:} false; then :
15206 $as_echo_n "(cached) " >&6
15207 else
15208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15209 /* end confdefs.h. */
15210 #include <string.h>
15211 char*f(const char *h,char n) {return strchr(h,n);}
15213 main ()
15217 return 0;
15219 _ACEOF
15220 if ac_fn_c_try_compile "$LINENO"; then :
15221 ac_cv_c_logicalop_noisy=no
15222 else
15223 ac_cv_c_logicalop_noisy=yes
15225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
15228 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
15229 CFLAGS=$saved_string_h_CFLAGS
15230 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
15233 CFLAGS=$saved_CFLAGS
15235 for ac_flag in $CFLAGS; do
15236 case $ac_flag in
15237 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
15238 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
15239 if ${ac_cv_cflags__gdwarf_2+:} false; then :
15240 $as_echo_n "(cached) " >&6
15241 else
15242 ac_wine_try_cflags_saved=$CFLAGS
15243 CFLAGS="$CFLAGS -gdwarf-2"
15244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15245 /* end confdefs.h. */
15246 int main(int argc, char **argv) { return 0; }
15247 _ACEOF
15248 if ac_fn_c_try_link "$LINENO"; then :
15249 ac_cv_cflags__gdwarf_2=yes
15250 else
15251 ac_cv_cflags__gdwarf_2=no
15253 rm -f core conftest.err conftest.$ac_objext \
15254 conftest$ac_exeext conftest.$ac_ext
15255 CFLAGS=$ac_wine_try_cflags_saved
15257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
15258 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
15259 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
15260 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
15262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
15263 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
15264 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
15265 $as_echo_n "(cached) " >&6
15266 else
15267 ac_wine_try_cflags_saved=$CFLAGS
15268 CFLAGS="$CFLAGS -gstrict-dwarf"
15269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15270 /* end confdefs.h. */
15271 int main(int argc, char **argv) { return 0; }
15272 _ACEOF
15273 if ac_fn_c_try_link "$LINENO"; then :
15274 ac_cv_cflags__gstrict_dwarf=yes
15275 else
15276 ac_cv_cflags__gstrict_dwarf=no
15278 rm -f core conftest.err conftest.$ac_objext \
15279 conftest$ac_exeext conftest.$ac_ext
15280 CFLAGS=$ac_wine_try_cflags_saved
15282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
15283 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
15284 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
15285 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
15286 fi ;;
15287 esac
15288 done
15290 case $host_cpu in
15291 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
15292 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
15293 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
15294 $as_echo_n "(cached) " >&6
15295 else
15296 ac_wine_try_cflags_saved=$CFLAGS
15297 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
15298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15299 /* end confdefs.h. */
15300 int main(int argc, char **argv) { return 0; }
15301 _ACEOF
15302 if ac_fn_c_try_link "$LINENO"; then :
15303 ac_cv_cflags__fno_omit_frame_pointer=yes
15304 else
15305 ac_cv_cflags__fno_omit_frame_pointer=no
15307 rm -f core conftest.err conftest.$ac_objext \
15308 conftest$ac_exeext conftest.$ac_ext
15309 CFLAGS=$ac_wine_try_cflags_saved
15311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
15312 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
15313 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
15314 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
15315 fi ;;
15316 esac
15318 case $host in
15319 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
15320 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
15321 if ${ac_cv_cflags__Wno_format+:} false; then :
15322 $as_echo_n "(cached) " >&6
15323 else
15324 ac_wine_try_cflags_saved=$CFLAGS
15325 CFLAGS="$CFLAGS -Wno-format"
15326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15327 /* end confdefs.h. */
15328 int main(int argc, char **argv) { return 0; }
15329 _ACEOF
15330 if ac_fn_c_try_link "$LINENO"; then :
15331 ac_cv_cflags__Wno_format=yes
15332 else
15333 ac_cv_cflags__Wno_format=no
15335 rm -f core conftest.err conftest.$ac_objext \
15336 conftest$ac_exeext conftest.$ac_ext
15337 CFLAGS=$ac_wine_try_cflags_saved
15339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
15340 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
15341 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
15342 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
15343 fi ;;
15344 esac
15346 if test "x$enable_maintainer_mode" = "xyes"
15347 then
15348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
15349 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
15350 if ${ac_cv_cflags__Werror+:} false; then :
15351 $as_echo_n "(cached) " >&6
15352 else
15353 ac_wine_try_cflags_saved=$CFLAGS
15354 CFLAGS="$CFLAGS -Werror"
15355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15356 /* end confdefs.h. */
15357 int main(int argc, char **argv) { return 0; }
15358 _ACEOF
15359 if ac_fn_c_try_link "$LINENO"; then :
15360 ac_cv_cflags__Werror=yes
15361 else
15362 ac_cv_cflags__Werror=no
15364 rm -f core conftest.err conftest.$ac_objext \
15365 conftest$ac_exeext conftest.$ac_ext
15366 CFLAGS=$ac_wine_try_cflags_saved
15368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
15369 $as_echo "$ac_cv_cflags__Werror" >&6; }
15370 if test "x$ac_cv_cflags__Werror" = xyes; then :
15371 EXTRACFLAGS="$EXTRACFLAGS -Werror"
15375 saved_CFLAGS="$CFLAGS"
15376 CFLAGS="$CFLAGS -Werror"
15377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
15378 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
15379 if ${ac_cv_have_ms_hook_prologue+:} false; then :
15380 $as_echo_n "(cached) " >&6
15381 else
15382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15383 /* end confdefs.h. */
15384 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
15386 main ()
15390 return 0;
15392 _ACEOF
15393 if ac_fn_c_try_compile "$LINENO"; then :
15394 ac_cv_have_ms_hook_prologue="yes"
15395 else
15396 ac_cv_have_ms_hook_prologue="no"
15398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
15401 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
15402 CFLAGS="$saved_CFLAGS"
15403 if test "$ac_cv_have_ms_hook_prologue" = "yes"
15404 then
15406 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
15408 else
15409 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
15415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
15416 $as_echo_n "checking for the need to disable Fortify... " >&6; }
15417 if ${ac_cv_c_fortify_enabled+:} false; then :
15418 $as_echo_n "(cached) " >&6
15419 else
15420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15421 /* end confdefs.h. */
15422 #include <string.h>
15424 main ()
15426 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
15427 #error Fortify enabled
15428 #endif
15430 return 0;
15432 _ACEOF
15433 if ac_fn_c_try_compile "$LINENO"; then :
15434 ac_cv_c_fortify_enabled=no
15435 else
15436 ac_cv_c_fortify_enabled=yes
15438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
15441 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
15442 if test "$ac_cv_c_fortify_enabled" = yes
15443 then
15444 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
15448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
15449 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
15450 if ${ac_cv_c_extern_prefix+:} false; then :
15451 $as_echo_n "(cached) " >&6
15452 else
15453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15454 /* end confdefs.h. */
15455 extern int ac_test;
15457 main ()
15459 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15461 return 0;
15463 _ACEOF
15464 if ac_fn_c_try_link "$LINENO"; then :
15465 ac_cv_c_extern_prefix="yes"
15466 else
15467 ac_cv_c_extern_prefix="no"
15469 rm -f core conftest.err conftest.$ac_objext \
15470 conftest$ac_exeext conftest.$ac_ext
15472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
15473 $as_echo "$ac_cv_c_extern_prefix" >&6; }
15475 case $host_cpu in
15476 *i[3456789]86*)
15477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
15478 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
15479 if ${ac_cv_c_stdcall_suffix+:} false; then :
15480 $as_echo_n "(cached) " >&6
15481 else
15482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15483 /* end confdefs.h. */
15484 #ifndef _MSC_VER
15485 #define __stdcall __attribute__((__stdcall__))
15486 #endif
15487 int __stdcall ac_test(int i) { return i; }
15489 main ()
15491 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
15493 return 0;
15495 _ACEOF
15496 if ac_fn_c_try_link "$LINENO"; then :
15497 ac_cv_c_stdcall_suffix="yes"
15498 else
15499 ac_cv_c_stdcall_suffix="no"
15501 rm -f core conftest.err conftest.$ac_objext \
15502 conftest$ac_exeext conftest.$ac_ext
15504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15505 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15506 *) ac_cv_c_stdcall_suffix="no" ;;
15507 esac
15510 if test "$ac_cv_c_extern_prefix" = "yes"
15511 then
15512 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15514 asm_name_prefix="_"
15515 else
15516 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15518 asm_name_prefix=""
15522 if test "$ac_cv_c_stdcall_suffix" = "yes"
15523 then
15524 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15526 else
15527 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15533 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15534 if ${ac_cv_asm_func_def+:} false; then :
15535 $as_echo_n "(cached) " >&6
15536 else
15537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15538 /* end confdefs.h. */
15541 main ()
15543 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15545 return 0;
15547 _ACEOF
15548 if ac_fn_c_try_link "$LINENO"; then :
15549 ac_cv_asm_func_def=".def"
15550 else
15551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15552 /* end confdefs.h. */
15555 main ()
15557 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15559 return 0;
15561 _ACEOF
15562 if ac_fn_c_try_link "$LINENO"; then :
15563 ac_cv_asm_func_def=".type @function"
15564 else
15565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15566 /* end confdefs.h. */
15569 main ()
15571 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15573 return 0;
15575 _ACEOF
15576 if ac_fn_c_try_link "$LINENO"; then :
15577 ac_cv_asm_func_def=".type 2"
15578 else
15579 ac_cv_asm_func_def="unknown"
15581 rm -f core conftest.err conftest.$ac_objext \
15582 conftest$ac_exeext conftest.$ac_ext
15584 rm -f core conftest.err conftest.$ac_objext \
15585 conftest$ac_exeext conftest.$ac_ext
15587 rm -f core conftest.err conftest.$ac_objext \
15588 conftest$ac_exeext conftest.$ac_ext
15590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15591 $as_echo "$ac_cv_asm_func_def" >&6; }
15594 case "$ac_cv_asm_func_def" in
15595 ".def")
15596 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15598 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15599 ".type @function")
15600 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15602 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15603 ".type 2")
15604 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15606 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15608 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15610 asm_func_header="" ;;
15611 esac
15613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15614 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15615 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15616 $as_echo_n "(cached) " >&6
15617 else
15618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15619 /* end confdefs.h. */
15620 asm(".text\n\t.long 0");
15622 main ()
15626 return 0;
15628 _ACEOF
15629 if ac_fn_c_try_compile "$LINENO"; then :
15630 ac_cv_c_asm_outside_funcs="yes"
15631 else
15632 ac_cv_c_asm_outside_funcs="no"
15634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15637 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15640 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15641 if ${ac_cv_c_dot_previous+:} false; then :
15642 $as_echo_n "(cached) " >&6
15643 else
15644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15645 /* end confdefs.h. */
15648 main ()
15650 asm(".text\nac_test:\t.long 0\n\t.previous");
15652 return 0;
15654 _ACEOF
15655 if ac_fn_c_try_link "$LINENO"; then :
15656 ac_cv_c_dot_previous="yes"
15657 else
15658 ac_cv_c_dot_previous="no"
15660 rm -f core conftest.err conftest.$ac_objext \
15661 conftest$ac_exeext conftest.$ac_ext
15663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15664 $as_echo "$ac_cv_c_dot_previous" >&6; }
15666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15667 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15668 if ${ac_cv_c_cfi_support+:} false; then :
15669 $as_echo_n "(cached) " >&6
15670 else
15671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15672 /* end confdefs.h. */
15673 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15675 main ()
15679 return 0;
15681 _ACEOF
15682 if ac_fn_c_try_compile "$LINENO"; then :
15683 ac_cv_c_cfi_support="yes"
15684 else
15685 ac_cv_c_cfi_support="no"
15687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15690 $as_echo "$ac_cv_c_cfi_support" >&6; }
15692 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15693 asm_func_trailer=""
15694 if test "$ac_cv_c_dot_previous" = "yes"
15695 then
15696 asm_func_trailer="\\n\\t.previous"
15698 if test "$ac_cv_c_cfi_support" = "yes"
15699 then
15700 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15701 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15703 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15705 UNWINDFLAGS=-fasynchronous-unwind-tables
15707 else
15708 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15710 if test "x$enable_win64" = "xyes"
15711 then
15712 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15716 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15719 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15720 then
15721 cat >>confdefs.h <<_ACEOF
15722 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15723 _ACEOF
15725 else
15726 cat >>confdefs.h <<_ACEOF
15727 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15728 _ACEOF
15732 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15735 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15739 case $build_os in
15740 cygwin*|mingw32*) TOOLSEXT=".exe"
15742 esac
15744 case $host_os in
15745 linux*)
15746 case $host_cpu in
15747 *i[3456789]86*|x86_64*|*aarch64*)
15748 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15749 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15751 esac
15753 esac
15756 ac_save_CFLAGS="$CFLAGS"
15757 CFLAGS="$CFLAGS $BUILTINFLAG"
15758 for ac_func in \
15759 __res_get_state \
15760 __res_getservers \
15761 _finite \
15762 _isnan \
15763 _pclose \
15764 _popen \
15765 _snprintf \
15766 _spawnvp \
15767 _strdup \
15768 _stricmp \
15769 _strnicmp \
15770 _strtoi64 \
15771 _strtoui64 \
15772 _vsnprintf \
15773 asctime_r \
15774 chsize \
15775 dlopen \
15776 epoll_create \
15777 ffs \
15778 finitef \
15779 fnmatch \
15780 fork \
15781 fpclass \
15782 fstatfs \
15783 fstatvfs \
15784 ftruncate \
15785 futimens \
15786 futimes \
15787 futimesat \
15788 getattrlist \
15789 getauxval \
15790 getifaddrs \
15791 getopt_long_only \
15792 getpwuid \
15793 gettimeofday \
15794 getuid \
15795 isnanf \
15796 kqueue \
15797 lstat \
15798 memmove \
15799 mmap \
15800 pclose \
15801 pipe2 \
15802 poll \
15803 popen \
15804 port_create \
15805 prctl \
15806 pread \
15807 proc_pidinfo \
15808 pwrite \
15809 readdir \
15810 readlink \
15811 sched_yield \
15812 select \
15813 setproctitle \
15814 setprogname \
15815 setrlimit \
15816 settimeofday \
15817 sigaltstack \
15818 sigprocmask \
15819 snprintf \
15820 statfs \
15821 statvfs \
15822 strcasecmp \
15823 strdup \
15824 strerror \
15825 strncasecmp \
15826 strnlen \
15827 strtold \
15828 strtoll \
15829 strtoull \
15830 symlink \
15831 sysinfo \
15832 tcdrain \
15833 thr_kill2 \
15834 timegm \
15835 usleep \
15836 vsnprintf
15838 do :
15839 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15840 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15841 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15842 cat >>confdefs.h <<_ACEOF
15843 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15844 _ACEOF
15847 done
15849 CFLAGS="$ac_save_CFLAGS"
15851 if test "$ac_cv_func_dlopen" = no
15852 then
15853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15854 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15855 if ${ac_cv_lib_dl_dlopen+:} false; then :
15856 $as_echo_n "(cached) " >&6
15857 else
15858 ac_check_lib_save_LIBS=$LIBS
15859 LIBS="-ldl $LIBS"
15860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15861 /* end confdefs.h. */
15863 /* Override any GCC internal prototype to avoid an error.
15864 Use char because int might match the return type of a GCC
15865 builtin and then its argument prototype would still apply. */
15866 #ifdef __cplusplus
15867 extern "C"
15868 #endif
15869 char dlopen ();
15871 main ()
15873 return dlopen ();
15875 return 0;
15877 _ACEOF
15878 if ac_fn_c_try_link "$LINENO"; then :
15879 ac_cv_lib_dl_dlopen=yes
15880 else
15881 ac_cv_lib_dl_dlopen=no
15883 rm -f core conftest.err conftest.$ac_objext \
15884 conftest$ac_exeext conftest.$ac_ext
15885 LIBS=$ac_check_lib_save_LIBS
15887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15888 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15889 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15890 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15891 DL_LIBS="-ldl"
15896 ac_wine_check_funcs_save_LIBS="$LIBS"
15897 LIBS="$LIBS $DL_LIBS"
15898 for ac_func in dladdr
15899 do :
15900 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15901 if test "x$ac_cv_func_dladdr" = xyes; then :
15902 cat >>confdefs.h <<_ACEOF
15903 #define HAVE_DLADDR 1
15904 _ACEOF
15907 done
15909 LIBS="$ac_wine_check_funcs_save_LIBS"
15911 if test "$ac_cv_func_poll" = no
15912 then
15913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15914 $as_echo_n "checking for poll in -lpoll... " >&6; }
15915 if ${ac_cv_lib_poll_poll+:} false; then :
15916 $as_echo_n "(cached) " >&6
15917 else
15918 ac_check_lib_save_LIBS=$LIBS
15919 LIBS="-lpoll $LIBS"
15920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15921 /* end confdefs.h. */
15923 /* Override any GCC internal prototype to avoid an error.
15924 Use char because int might match the return type of a GCC
15925 builtin and then its argument prototype would still apply. */
15926 #ifdef __cplusplus
15927 extern "C"
15928 #endif
15929 char poll ();
15931 main ()
15933 return poll ();
15935 return 0;
15937 _ACEOF
15938 if ac_fn_c_try_link "$LINENO"; then :
15939 ac_cv_lib_poll_poll=yes
15940 else
15941 ac_cv_lib_poll_poll=no
15943 rm -f core conftest.err conftest.$ac_objext \
15944 conftest$ac_exeext conftest.$ac_ext
15945 LIBS=$ac_check_lib_save_LIBS
15947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15948 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15949 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15950 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15951 POLL_LIBS="-lpoll"
15957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15958 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15959 if ${ac_cv_search_gethostbyname+:} false; then :
15960 $as_echo_n "(cached) " >&6
15961 else
15962 ac_func_search_save_LIBS=$LIBS
15963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15964 /* end confdefs.h. */
15966 /* Override any GCC internal prototype to avoid an error.
15967 Use char because int might match the return type of a GCC
15968 builtin and then its argument prototype would still apply. */
15969 #ifdef __cplusplus
15970 extern "C"
15971 #endif
15972 char gethostbyname ();
15974 main ()
15976 return gethostbyname ();
15978 return 0;
15980 _ACEOF
15981 for ac_lib in '' nsl; do
15982 if test -z "$ac_lib"; then
15983 ac_res="none required"
15984 else
15985 ac_res=-l$ac_lib
15986 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15988 if ac_fn_c_try_link "$LINENO"; then :
15989 ac_cv_search_gethostbyname=$ac_res
15991 rm -f core conftest.err conftest.$ac_objext \
15992 conftest$ac_exeext
15993 if ${ac_cv_search_gethostbyname+:} false; then :
15994 break
15996 done
15997 if ${ac_cv_search_gethostbyname+:} false; then :
15999 else
16000 ac_cv_search_gethostbyname=no
16002 rm conftest.$ac_ext
16003 LIBS=$ac_func_search_save_LIBS
16005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
16006 $as_echo "$ac_cv_search_gethostbyname" >&6; }
16007 ac_res=$ac_cv_search_gethostbyname
16008 if test "$ac_res" != no; then :
16009 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
16015 $as_echo_n "checking for library containing connect... " >&6; }
16016 if ${ac_cv_search_connect+:} false; then :
16017 $as_echo_n "(cached) " >&6
16018 else
16019 ac_func_search_save_LIBS=$LIBS
16020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16021 /* end confdefs.h. */
16023 /* Override any GCC internal prototype to avoid an error.
16024 Use char because int might match the return type of a GCC
16025 builtin and then its argument prototype would still apply. */
16026 #ifdef __cplusplus
16027 extern "C"
16028 #endif
16029 char connect ();
16031 main ()
16033 return connect ();
16035 return 0;
16037 _ACEOF
16038 for ac_lib in '' socket; do
16039 if test -z "$ac_lib"; then
16040 ac_res="none required"
16041 else
16042 ac_res=-l$ac_lib
16043 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16045 if ac_fn_c_try_link "$LINENO"; then :
16046 ac_cv_search_connect=$ac_res
16048 rm -f core conftest.err conftest.$ac_objext \
16049 conftest$ac_exeext
16050 if ${ac_cv_search_connect+:} false; then :
16051 break
16053 done
16054 if ${ac_cv_search_connect+:} false; then :
16056 else
16057 ac_cv_search_connect=no
16059 rm conftest.$ac_ext
16060 LIBS=$ac_func_search_save_LIBS
16062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
16063 $as_echo "$ac_cv_search_connect" >&6; }
16064 ac_res=$ac_cv_search_connect
16065 if test "$ac_res" != no; then :
16066 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
16072 $as_echo_n "checking for library containing inet_aton... " >&6; }
16073 if ${ac_cv_search_inet_aton+:} false; then :
16074 $as_echo_n "(cached) " >&6
16075 else
16076 ac_func_search_save_LIBS=$LIBS
16077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16078 /* end confdefs.h. */
16080 /* Override any GCC internal prototype to avoid an error.
16081 Use char because int might match the return type of a GCC
16082 builtin and then its argument prototype would still apply. */
16083 #ifdef __cplusplus
16084 extern "C"
16085 #endif
16086 char inet_aton ();
16088 main ()
16090 return inet_aton ();
16092 return 0;
16094 _ACEOF
16095 for ac_lib in '' resolv; do
16096 if test -z "$ac_lib"; then
16097 ac_res="none required"
16098 else
16099 ac_res=-l$ac_lib
16100 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16102 if ac_fn_c_try_link "$LINENO"; then :
16103 ac_cv_search_inet_aton=$ac_res
16105 rm -f core conftest.err conftest.$ac_objext \
16106 conftest$ac_exeext
16107 if ${ac_cv_search_inet_aton+:} false; then :
16108 break
16110 done
16111 if ${ac_cv_search_inet_aton+:} false; then :
16113 else
16114 ac_cv_search_inet_aton=no
16116 rm conftest.$ac_ext
16117 LIBS=$ac_func_search_save_LIBS
16119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
16120 $as_echo "$ac_cv_search_inet_aton" >&6; }
16121 ac_res=$ac_cv_search_inet_aton
16122 if test "$ac_res" != no; then :
16123 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16128 for ac_func in \
16129 getaddrinfo \
16130 getnameinfo \
16131 getnetbyname \
16132 getprotobyname \
16133 getprotobynumber \
16134 getservbyport \
16135 inet_addr \
16136 inet_network \
16137 inet_ntop \
16138 inet_pton \
16139 sendmsg \
16140 socketpair \
16142 do :
16143 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16144 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16145 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16146 cat >>confdefs.h <<_ACEOF
16147 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16148 _ACEOF
16151 done
16154 ac_save_LIBS=$LIBS
16155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
16156 $as_echo_n "checking for library containing clock_gettime... " >&6; }
16157 if ${ac_cv_search_clock_gettime+:} false; then :
16158 $as_echo_n "(cached) " >&6
16159 else
16160 ac_func_search_save_LIBS=$LIBS
16161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16162 /* end confdefs.h. */
16164 /* Override any GCC internal prototype to avoid an error.
16165 Use char because int might match the return type of a GCC
16166 builtin and then its argument prototype would still apply. */
16167 #ifdef __cplusplus
16168 extern "C"
16169 #endif
16170 char clock_gettime ();
16172 main ()
16174 return clock_gettime ();
16176 return 0;
16178 _ACEOF
16179 for ac_lib in '' rt; do
16180 if test -z "$ac_lib"; then
16181 ac_res="none required"
16182 else
16183 ac_res=-l$ac_lib
16184 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16186 if ac_fn_c_try_link "$LINENO"; then :
16187 ac_cv_search_clock_gettime=$ac_res
16189 rm -f core conftest.err conftest.$ac_objext \
16190 conftest$ac_exeext
16191 if ${ac_cv_search_clock_gettime+:} false; then :
16192 break
16194 done
16195 if ${ac_cv_search_clock_gettime+:} false; then :
16197 else
16198 ac_cv_search_clock_gettime=no
16200 rm conftest.$ac_ext
16201 LIBS=$ac_func_search_save_LIBS
16203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
16204 $as_echo "$ac_cv_search_clock_gettime" >&6; }
16205 ac_res=$ac_cv_search_clock_gettime
16206 if test "$ac_res" != no; then :
16207 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16209 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
16211 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
16215 LIBS=$ac_save_LIBS
16217 if test "x$with_ldap" != "xno"
16218 then
16219 if ${LDAP_CFLAGS:+false} :; then :
16220 if ${PKG_CONFIG+:} false; then :
16221 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
16225 if ${LDAP_LIBS:+false} :; then :
16226 if ${PKG_CONFIG+:} false; then :
16227 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
16231 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
16232 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
16233 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
16234 ac_save_CPPFLAGS=$CPPFLAGS
16235 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
16236 for ac_header in ldap.h lber.h
16237 do :
16238 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16239 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16240 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16241 cat >>confdefs.h <<_ACEOF
16242 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16243 _ACEOF
16247 done
16249 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
16250 then
16251 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
16253 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
16254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
16255 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
16256 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
16257 $as_echo_n "(cached) " >&6
16258 else
16259 ac_check_lib_save_LIBS=$LIBS
16260 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16262 /* end confdefs.h. */
16264 /* Override any GCC internal prototype to avoid an error.
16265 Use char because int might match the return type of a GCC
16266 builtin and then its argument prototype would still apply. */
16267 #ifdef __cplusplus
16268 extern "C"
16269 #endif
16270 char ldap_initialize ();
16272 main ()
16274 return ldap_initialize ();
16276 return 0;
16278 _ACEOF
16279 if ac_fn_c_try_link "$LINENO"; then :
16280 ac_cv_lib_ldap_r_ldap_initialize=yes
16281 else
16282 ac_cv_lib_ldap_r_ldap_initialize=no
16284 rm -f core conftest.err conftest.$ac_objext \
16285 conftest$ac_exeext conftest.$ac_ext
16286 LIBS=$ac_check_lib_save_LIBS
16288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
16289 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
16290 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
16291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
16292 $as_echo_n "checking for ber_init in -llber... " >&6; }
16293 if ${ac_cv_lib_lber_ber_init+:} false; then :
16294 $as_echo_n "(cached) " >&6
16295 else
16296 ac_check_lib_save_LIBS=$LIBS
16297 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16299 /* end confdefs.h. */
16301 /* Override any GCC internal prototype to avoid an error.
16302 Use char because int might match the return type of a GCC
16303 builtin and then its argument prototype would still apply. */
16304 #ifdef __cplusplus
16305 extern "C"
16306 #endif
16307 char ber_init ();
16309 main ()
16311 return ber_init ();
16313 return 0;
16315 _ACEOF
16316 if ac_fn_c_try_link "$LINENO"; then :
16317 ac_cv_lib_lber_ber_init=yes
16318 else
16319 ac_cv_lib_lber_ber_init=no
16321 rm -f core conftest.err conftest.$ac_objext \
16322 conftest$ac_exeext conftest.$ac_ext
16323 LIBS=$ac_check_lib_save_LIBS
16325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
16326 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
16327 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
16329 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
16331 else
16332 LDAP_LIBS=""
16335 else
16336 LDAP_LIBS=""
16339 else
16340 LDAP_LIBS=""
16343 ac_wine_check_funcs_save_LIBS="$LIBS"
16344 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
16345 for ac_func in \
16346 ldap_count_references \
16347 ldap_first_reference \
16348 ldap_next_reference \
16349 ldap_parse_reference \
16350 ldap_parse_sort_control \
16351 ldap_parse_sortresponse_control \
16352 ldap_parse_vlv_control \
16353 ldap_parse_vlvresponse_control
16354 do :
16355 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16356 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16357 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16358 cat >>confdefs.h <<_ACEOF
16359 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16360 _ACEOF
16363 done
16365 LIBS="$ac_wine_check_funcs_save_LIBS"
16366 else
16367 LDAP_LIBS=""
16369 CPPFLAGS=$ac_save_CPPFLAGS
16370 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16371 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16374 if test "x$LDAP_LIBS" = "x"; then :
16375 case "x$with_ldap" in
16376 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
16377 xno) ;;
16378 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
16379 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
16380 esac
16384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
16385 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
16386 if ${wine_cv_one_arg_mkdir+:} false; then :
16387 $as_echo_n "(cached) " >&6
16388 else
16389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16390 /* end confdefs.h. */
16391 #include <sys/stat.h>
16393 main ()
16395 mkdir("foo");
16397 return 0;
16399 _ACEOF
16400 if ac_fn_c_try_compile "$LINENO"; then :
16401 wine_cv_one_arg_mkdir=yes
16402 else
16403 wine_cv_one_arg_mkdir=no
16405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
16408 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
16409 if test "$wine_cv_one_arg_mkdir" = "yes"
16410 then
16412 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
16416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
16417 $as_echo_n "checking for sched_setaffinity... " >&6; }
16418 if ${wine_cv_have_sched_setaffinity+:} false; then :
16419 $as_echo_n "(cached) " >&6
16420 else
16421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16422 /* end confdefs.h. */
16423 #define _GNU_SOURCE
16424 #include <sched.h>
16426 main ()
16428 sched_setaffinity(0, 0, 0);
16430 return 0;
16432 _ACEOF
16433 if ac_fn_c_try_link "$LINENO"; then :
16434 wine_cv_have_sched_setaffinity=yes
16435 else
16436 wine_cv_have_sched_setaffinity=no
16438 rm -f core conftest.err conftest.$ac_objext \
16439 conftest$ac_exeext conftest.$ac_ext
16441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
16442 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
16443 if test "$wine_cv_have_sched_setaffinity" = "yes"
16444 then
16446 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
16450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
16451 $as_echo_n "checking for fallocate... " >&6; }
16452 if ${wine_cv_have_fallocate+:} false; then :
16453 $as_echo_n "(cached) " >&6
16454 else
16455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16456 /* end confdefs.h. */
16457 #define _GNU_SOURCE
16458 #include <fcntl.h>
16460 main ()
16462 fallocate(-1, 0, 0, 0);
16464 return 0;
16466 _ACEOF
16467 if ac_fn_c_try_link "$LINENO"; then :
16468 wine_cv_have_fallocate=yes
16469 else
16470 wine_cv_have_fallocate=no
16472 rm -f core conftest.err conftest.$ac_objext \
16473 conftest$ac_exeext conftest.$ac_ext
16475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
16476 $as_echo "$wine_cv_have_fallocate" >&6; }
16477 if test "$wine_cv_have_fallocate" = "yes"
16478 then
16480 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
16485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
16486 $as_echo_n "checking for inline... " >&6; }
16487 if ${ac_cv_c_inline+:} false; then :
16488 $as_echo_n "(cached) " >&6
16489 else
16490 ac_cv_c_inline=no
16491 for ac_kw in inline __inline__ __inline; do
16492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16493 /* end confdefs.h. */
16494 #ifndef __cplusplus
16495 typedef int foo_t;
16496 static $ac_kw foo_t static_foo () {return 0; }
16497 $ac_kw foo_t foo () {return 0; }
16498 #endif
16500 _ACEOF
16501 if ac_fn_c_try_compile "$LINENO"; then :
16502 ac_cv_c_inline=$ac_kw
16504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16505 test "$ac_cv_c_inline" != no && break
16506 done
16509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
16510 $as_echo "$ac_cv_c_inline" >&6; }
16512 case $ac_cv_c_inline in
16513 inline | yes) ;;
16515 case $ac_cv_c_inline in
16516 no) ac_val=;;
16517 *) ac_val=$ac_cv_c_inline;;
16518 esac
16519 cat >>confdefs.h <<_ACEOF
16520 #ifndef __cplusplus
16521 #define inline $ac_val
16522 #endif
16523 _ACEOF
16525 esac
16527 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
16528 if test "x$ac_cv_type_mode_t" = xyes; then :
16530 cat >>confdefs.h <<_ACEOF
16531 #define HAVE_MODE_T 1
16532 _ACEOF
16536 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16537 if test "x$ac_cv_type_off_t" = xyes; then :
16539 cat >>confdefs.h <<_ACEOF
16540 #define HAVE_OFF_T 1
16541 _ACEOF
16545 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16546 if test "x$ac_cv_type_pid_t" = xyes; then :
16548 cat >>confdefs.h <<_ACEOF
16549 #define HAVE_PID_T 1
16550 _ACEOF
16554 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16555 if test "x$ac_cv_type_size_t" = xyes; then :
16557 cat >>confdefs.h <<_ACEOF
16558 #define HAVE_SIZE_T 1
16559 _ACEOF
16563 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16564 if test "x$ac_cv_type_ssize_t" = xyes; then :
16566 cat >>confdefs.h <<_ACEOF
16567 #define HAVE_SSIZE_T 1
16568 _ACEOF
16572 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16573 if test "x$ac_cv_type_long_long" = xyes; then :
16575 cat >>confdefs.h <<_ACEOF
16576 #define HAVE_LONG_LONG 1
16577 _ACEOF
16581 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16582 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16584 cat >>confdefs.h <<_ACEOF
16585 #define HAVE_FSBLKCNT_T 1
16586 _ACEOF
16590 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16591 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16593 cat >>confdefs.h <<_ACEOF
16594 #define HAVE_FSFILCNT_T 1
16595 _ACEOF
16600 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16601 #include <signal.h>
16603 if test "x$ac_cv_type_sigset_t" = xyes; then :
16605 cat >>confdefs.h <<_ACEOF
16606 #define HAVE_SIGSET_T 1
16607 _ACEOF
16612 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16614 if test "x$ac_cv_type_request_sense" = xyes; then :
16616 cat >>confdefs.h <<_ACEOF
16617 #define HAVE_REQUEST_SENSE 1
16618 _ACEOF
16624 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16625 #ifdef HAVE_SYS_SOCKET_H
16626 #include <sys/socket.h>
16627 #endif
16628 #ifdef HAVE_SYS_SOCKETVAR_H
16629 #include <sys/socketvar.h>
16630 #endif
16631 #ifdef HAVE_NET_ROUTE_H
16632 #include <net/route.h>
16633 #endif
16634 #ifdef HAVE_NETINET_IN_H
16635 #include <netinet/in.h>
16636 #endif
16637 #ifdef HAVE_NETINET_IN_SYSTM_H
16638 #include <netinet/in_systm.h>
16639 #endif
16640 #ifdef HAVE_NETINET_IP_H
16641 #include <netinet/ip.h>
16642 #endif
16643 #ifdef HAVE_NETINET_IN_PCB_H
16644 #include <netinet/in_pcb.h>
16645 #endif
16647 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16649 cat >>confdefs.h <<_ACEOF
16650 #define HAVE_STRUCT_XINPGEN 1
16651 _ACEOF
16657 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16658 #include <link.h>
16659 #endif
16660 #ifdef HAVE_SYS_LINK_H
16661 #include <sys/link.h>
16662 #endif
16664 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16666 cat >>confdefs.h <<_ACEOF
16667 #define HAVE_STRUCT_R_DEBUG 1
16668 _ACEOF
16672 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16673 #include <link.h>
16674 #endif
16675 #ifdef HAVE_SYS_LINK_H
16676 #include <sys/link.h>
16677 #endif
16679 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16681 cat >>confdefs.h <<_ACEOF
16682 #define HAVE_STRUCT_LINK_MAP 1
16683 _ACEOF
16689 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16690 #include <linux/input.h>
16691 #endif
16693 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16695 cat >>confdefs.h <<_ACEOF
16696 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16697 _ACEOF
16703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
16704 $as_echo_n "checking for if_nameindex... " >&6; }
16705 if ${wine_cv_have_if_nameindex+:} false; then :
16706 $as_echo_n "(cached) " >&6
16707 else
16708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16709 /* end confdefs.h. */
16710 #ifdef HAVE_SYS_TYPES_H
16711 #include <sys/types.h>
16712 #endif
16713 #ifdef HAVE_SYS_SOCKET_H
16714 #include <sys/socket.h>
16715 #endif
16716 #ifdef HAVE_NET_IF_H
16717 # include <net/if.h>
16718 #endif
16720 main ()
16722 struct if_nameindex *p = if_nameindex(); return p->if_index;
16724 return 0;
16726 _ACEOF
16727 if ac_fn_c_try_link "$LINENO"; then :
16728 wine_cv_have_if_nameindex=yes
16729 else
16730 wine_cv_have_if_nameindex=no
16732 rm -f core conftest.err conftest.$ac_objext \
16733 conftest$ac_exeext conftest.$ac_ext
16735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
16736 $as_echo "$wine_cv_have_if_nameindex" >&6; }
16737 if test "$wine_cv_have_if_nameindex" = "yes"
16738 then
16740 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
16744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16745 $as_echo_n "checking for sigaddset... " >&6; }
16746 if ${wine_cv_have_sigaddset+:} false; then :
16747 $as_echo_n "(cached) " >&6
16748 else
16749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16750 /* end confdefs.h. */
16751 #include <signal.h>
16753 main ()
16755 sigset_t set; sigaddset(&set,SIGTERM);
16757 return 0;
16759 _ACEOF
16760 if ac_fn_c_try_link "$LINENO"; then :
16761 wine_cv_have_sigaddset=yes
16762 else
16763 wine_cv_have_sigaddset=no
16765 rm -f core conftest.err conftest.$ac_objext \
16766 conftest$ac_exeext conftest.$ac_ext
16768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16769 $as_echo "$wine_cv_have_sigaddset" >&6; }
16770 if test "$wine_cv_have_sigaddset" = "yes"
16771 then
16773 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16779 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16780 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16781 $as_echo_n "(cached) " >&6
16782 else
16783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16784 /* end confdefs.h. */
16785 #include <netdb.h>
16787 main ()
16790 char *name=0;
16791 struct hostent he;
16792 struct hostent *result;
16793 char *buf=0;
16794 int bufsize=0;
16795 int errnr;
16796 char *addr=0;
16797 int addrlen=0;
16798 int addrtype=0;
16799 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16800 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16803 return 0;
16805 _ACEOF
16806 if ac_fn_c_try_link "$LINENO"; then :
16807 wine_cv_linux_gethostbyname_r_6=yes
16808 else
16809 wine_cv_linux_gethostbyname_r_6=no
16812 rm -f core conftest.err conftest.$ac_objext \
16813 conftest$ac_exeext conftest.$ac_ext
16816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16817 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16818 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16819 then
16821 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16825 if test "$ac_cv_header_linux_joystick_h" = "yes"
16826 then
16827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16828 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16829 if ${wine_cv_linux_joystick_22_api+:} false; then :
16830 $as_echo_n "(cached) " >&6
16831 else
16832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16833 /* end confdefs.h. */
16835 #include <sys/ioctl.h>
16836 #include <sys/types.h>
16837 #include <linux/joystick.h>
16839 struct js_event blub;
16840 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16841 #error "no 2.2 header"
16842 #endif
16845 main ()
16847 /*empty*/
16849 return 0;
16851 _ACEOF
16852 if ac_fn_c_try_compile "$LINENO"; then :
16853 wine_cv_linux_joystick_22_api=yes
16854 else
16855 wine_cv_linux_joystick_22_api=no
16857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16861 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16862 if test "$wine_cv_linux_joystick_22_api" = "yes"
16863 then
16865 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16871 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16872 #ifdef HAVE_SYS_PARAM_H
16873 # include <sys/param.h>
16874 #endif
16875 #ifdef HAVE_SYS_MOUNT_H
16876 # include <sys/mount.h>
16877 #endif
16878 #ifdef HAVE_SYS_VFS_H
16879 # include <sys/vfs.h>
16880 #endif
16881 #ifdef HAVE_SYS_STATFS_H
16882 # include <sys/statfs.h>
16883 #endif
16885 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16887 cat >>confdefs.h <<_ACEOF
16888 #define HAVE_STRUCT_STATFS_F_BFREE 1
16889 _ACEOF
16893 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16894 #ifdef HAVE_SYS_PARAM_H
16895 # include <sys/param.h>
16896 #endif
16897 #ifdef HAVE_SYS_MOUNT_H
16898 # include <sys/mount.h>
16899 #endif
16900 #ifdef HAVE_SYS_VFS_H
16901 # include <sys/vfs.h>
16902 #endif
16903 #ifdef HAVE_SYS_STATFS_H
16904 # include <sys/statfs.h>
16905 #endif
16907 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16909 cat >>confdefs.h <<_ACEOF
16910 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16911 _ACEOF
16915 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16916 #ifdef HAVE_SYS_PARAM_H
16917 # include <sys/param.h>
16918 #endif
16919 #ifdef HAVE_SYS_MOUNT_H
16920 # include <sys/mount.h>
16921 #endif
16922 #ifdef HAVE_SYS_VFS_H
16923 # include <sys/vfs.h>
16924 #endif
16925 #ifdef HAVE_SYS_STATFS_H
16926 # include <sys/statfs.h>
16927 #endif
16929 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16931 cat >>confdefs.h <<_ACEOF
16932 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16933 _ACEOF
16937 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16938 #ifdef HAVE_SYS_PARAM_H
16939 # include <sys/param.h>
16940 #endif
16941 #ifdef HAVE_SYS_MOUNT_H
16942 # include <sys/mount.h>
16943 #endif
16944 #ifdef HAVE_SYS_VFS_H
16945 # include <sys/vfs.h>
16946 #endif
16947 #ifdef HAVE_SYS_STATFS_H
16948 # include <sys/statfs.h>
16949 #endif
16951 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16953 cat >>confdefs.h <<_ACEOF
16954 #define HAVE_STRUCT_STATFS_F_FFREE 1
16955 _ACEOF
16959 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16960 #ifdef HAVE_SYS_PARAM_H
16961 # include <sys/param.h>
16962 #endif
16963 #ifdef HAVE_SYS_MOUNT_H
16964 # include <sys/mount.h>
16965 #endif
16966 #ifdef HAVE_SYS_VFS_H
16967 # include <sys/vfs.h>
16968 #endif
16969 #ifdef HAVE_SYS_STATFS_H
16970 # include <sys/statfs.h>
16971 #endif
16973 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16975 cat >>confdefs.h <<_ACEOF
16976 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16977 _ACEOF
16981 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16982 #ifdef HAVE_SYS_PARAM_H
16983 # include <sys/param.h>
16984 #endif
16985 #ifdef HAVE_SYS_MOUNT_H
16986 # include <sys/mount.h>
16987 #endif
16988 #ifdef HAVE_SYS_VFS_H
16989 # include <sys/vfs.h>
16990 #endif
16991 #ifdef HAVE_SYS_STATFS_H
16992 # include <sys/statfs.h>
16993 #endif
16995 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16997 cat >>confdefs.h <<_ACEOF
16998 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16999 _ACEOF
17005 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
17006 #include <sys/statvfs.h>
17007 #endif
17009 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
17011 cat >>confdefs.h <<_ACEOF
17012 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
17013 _ACEOF
17019 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
17020 #include <dirent.h>
17021 #endif
17023 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
17025 cat >>confdefs.h <<_ACEOF
17026 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
17027 _ACEOF
17033 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
17034 #ifdef HAVE_SYS_SOCKET_H
17035 # include <sys/socket.h>
17036 #endif
17037 #ifdef HAVE_SYS_UN_H
17038 # include <sys/un.h>
17039 #endif
17041 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
17043 cat >>confdefs.h <<_ACEOF
17044 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
17045 _ACEOF
17049 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
17050 #ifdef HAVE_SYS_SOCKET_H
17051 # include <sys/socket.h>
17052 #endif
17053 #ifdef HAVE_SYS_UN_H
17054 # include <sys/un.h>
17055 #endif
17057 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
17059 cat >>confdefs.h <<_ACEOF
17060 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
17061 _ACEOF
17065 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
17066 #ifdef HAVE_SYS_SOCKET_H
17067 # include <sys/socket.h>
17068 #endif
17069 #ifdef HAVE_SYS_UN_H
17070 # include <sys/un.h>
17071 #endif
17073 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
17075 cat >>confdefs.h <<_ACEOF
17076 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
17077 _ACEOF
17083 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
17084 #ifdef HAVE_SCSI_SG_H
17085 #include <scsi/sg.h>
17086 #endif
17088 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
17090 cat >>confdefs.h <<_ACEOF
17091 #define HAVE_SCSIREQ_T_CMD 1
17092 _ACEOF
17096 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>
17097 #ifdef HAVE_SCSI_SG_H
17098 #include <scsi/sg.h>
17099 #endif
17101 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
17103 cat >>confdefs.h <<_ACEOF
17104 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
17105 _ACEOF
17111 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
17113 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
17115 cat >>confdefs.h <<_ACEOF
17116 #define HAVE_SIGINFO_T_SI_FD 1
17117 _ACEOF
17123 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
17124 #ifdef HAVE_SYS_MTIO_H
17125 #include <sys/mtio.h>
17126 #endif
17128 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
17130 cat >>confdefs.h <<_ACEOF
17131 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
17132 _ACEOF
17136 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
17137 #ifdef HAVE_SYS_MTIO_H
17138 #include <sys/mtio.h>
17139 #endif
17141 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
17143 cat >>confdefs.h <<_ACEOF
17144 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
17145 _ACEOF
17149 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
17150 #ifdef HAVE_SYS_MTIO_H
17151 #include <sys/mtio.h>
17152 #endif
17154 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
17156 cat >>confdefs.h <<_ACEOF
17157 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
17158 _ACEOF
17164 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
17165 #include <getopt.h>
17166 #endif
17168 if test "x$ac_cv_member_struct_option_name" = xyes; then :
17170 cat >>confdefs.h <<_ACEOF
17171 #define HAVE_STRUCT_OPTION_NAME 1
17172 _ACEOF
17178 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
17179 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
17181 cat >>confdefs.h <<_ACEOF
17182 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17183 _ACEOF
17187 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
17188 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
17190 cat >>confdefs.h <<_ACEOF
17191 #define HAVE_STRUCT_STAT_ST_MTIM 1
17192 _ACEOF
17196 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
17197 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
17199 cat >>confdefs.h <<_ACEOF
17200 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
17201 _ACEOF
17205 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
17206 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
17208 cat >>confdefs.h <<_ACEOF
17209 #define HAVE_STRUCT_STAT_ST_CTIM 1
17210 _ACEOF
17214 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
17215 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
17217 cat >>confdefs.h <<_ACEOF
17218 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
17219 _ACEOF
17223 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
17224 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
17226 cat >>confdefs.h <<_ACEOF
17227 #define HAVE_STRUCT_STAT_ST_ATIM 1
17228 _ACEOF
17232 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
17233 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
17235 cat >>confdefs.h <<_ACEOF
17236 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
17237 _ACEOF
17241 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
17242 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
17244 cat >>confdefs.h <<_ACEOF
17245 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
17246 _ACEOF
17250 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
17251 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
17253 cat >>confdefs.h <<_ACEOF
17254 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
17255 _ACEOF
17259 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
17260 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
17262 cat >>confdefs.h <<_ACEOF
17263 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
17264 _ACEOF
17268 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
17269 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
17271 cat >>confdefs.h <<_ACEOF
17272 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
17273 _ACEOF
17277 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
17278 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
17280 cat >>confdefs.h <<_ACEOF
17281 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
17282 _ACEOF
17288 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
17289 #include <sys/types.h>
17290 #endif
17291 #ifdef HAVE_NETINET_IN_H
17292 #include <netinet/in.h>
17293 #endif
17295 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
17297 cat >>confdefs.h <<_ACEOF
17298 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
17299 _ACEOF
17305 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
17306 #include <sys/types.h>
17307 #endif
17308 #ifdef HAVE_NETINET_IN_H
17309 #include <netinet/in.h>
17310 #endif
17311 #ifdef HAVE_RESOLV_H
17312 #include <resolv.h>
17313 #endif
17315 if test "x$ac_cv_type_struct___res_state" = xyes; then :
17317 cat >>confdefs.h <<_ACEOF
17318 #define HAVE_STRUCT___RES_STATE 1
17319 _ACEOF
17325 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
17326 #include <resolv.h>
17327 #endif
17329 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
17331 cat >>confdefs.h <<_ACEOF
17332 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
17333 _ACEOF
17339 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
17340 #include <sys/types.h>
17341 #endif
17342 #ifdef HAVE_NETINET_IN_H
17343 # include <netinet/in.h>
17344 #endif
17345 #ifdef HAVE_ARPA_NAMESER_H
17346 # include <arpa/nameser.h>
17347 #endif
17349 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
17351 cat >>confdefs.h <<_ACEOF
17352 #define HAVE_NS_MSG__MSG_PTR 1
17353 _ACEOF
17359 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
17360 #include <sys/types.h>
17361 #endif
17362 #ifdef HAVE_NETINET_IN_H
17363 #include <netinet/in.h>
17364 #endif
17365 #ifdef HAVE_NETINET_IP_H
17366 #include <netinet/ip.h>
17367 #endif
17368 #ifdef HAVE_NETINET_IP_ICMP_H
17369 #include <netinet/ip_icmp.h>
17370 #endif
17371 #ifdef HAVE_NETINET_ICMP_VAR_H
17372 #include <netinet/icmp_var.h>
17373 #endif
17375 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
17377 cat >>confdefs.h <<_ACEOF
17378 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
17379 _ACEOF
17385 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
17386 #include <sys/types.h>
17387 #endif
17388 #ifdef HAVE_ALIAS_H
17389 #include <alias.h>
17390 #endif
17391 #ifdef HAVE_SYS_SOCKET_H
17392 #include <sys/socket.h>
17393 #endif
17394 #ifdef HAVE_SYS_SOCKETVAR_H
17395 #include <sys/socketvar.h>
17396 #endif
17397 #ifdef HAVE_SYS_TIMEOUT_H
17398 #include <sys/timeout.h>
17399 #endif
17400 #ifdef HAVE_NETINET_IN_H
17401 #include <netinet/in.h>
17402 #endif
17403 #ifdef HAVE_NETINET_IN_SYSTM_H
17404 #include <netinet/in_systm.h>
17405 #endif
17406 #ifdef HAVE_NETINET_IP_H
17407 #include <netinet/ip.h>
17408 #endif
17409 #ifdef HAVE_NETINET_IP_VAR_H
17410 #include <netinet/ip_var.h>
17411 #endif
17412 #ifdef HAVE_NETINET_IP_ICMP_H
17413 #include <netinet/ip_icmp.h>
17414 #endif
17415 #ifdef HAVE_NETINET_ICMP_VAR_H
17416 #include <netinet/icmp_var.h>
17417 #endif
17419 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
17421 cat >>confdefs.h <<_ACEOF
17422 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
17423 _ACEOF
17429 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
17430 #include <sys/types.h>
17431 #endif
17432 #ifdef HAVE_SYS_SOCKETVAR_H
17433 #include <sys/socketvar.h>
17434 #endif
17435 #ifdef HAVE_NETINET_IN_H
17436 #include <netinet/in.h>
17437 #endif
17438 #ifdef HAVE_NETINET_IP_VAR_H
17439 #include <netinet/ip_var.h>
17440 #endif
17442 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
17444 cat >>confdefs.h <<_ACEOF
17445 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
17446 _ACEOF
17452 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
17453 #include <netinet/ip_var.h>
17454 #endif
17456 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
17458 cat >>confdefs.h <<_ACEOF
17459 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
17460 _ACEOF
17466 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
17467 #include <sys/types.h>
17468 #endif
17469 #ifdef HAVE_SYS_SOCKETVAR_H
17470 #include <sys/socketvar.h>
17471 #endif
17472 #ifdef HAVE_NETINET_IN_H
17473 #include <netinet/in.h>
17474 #endif
17475 #ifdef HAVE_NETINET_TCP_H
17476 #include <netinet/tcp.h>
17477 #endif
17478 #ifdef HAVE_NETINET_TCP_VAR_H
17479 #include <netinet/tcp_var.h>
17480 #endif
17482 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
17484 cat >>confdefs.h <<_ACEOF
17485 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
17486 _ACEOF
17492 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
17493 #include <netinet/tcp_var.h>
17494 #endif
17496 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
17498 cat >>confdefs.h <<_ACEOF
17499 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
17500 _ACEOF
17506 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
17507 #include <sys/types.h>
17508 #endif
17509 #ifdef HAVE_NETINET_IN_H
17510 #include <netinet/in.h>
17511 #endif
17512 #ifdef HAVE_NETINET_IP_VAR_H
17513 #include <netinet/ip_var.h>
17514 #endif
17515 #ifdef HAVE_NETINET_UDP_H
17516 #include <netinet/udp.h>
17517 #endif
17518 #ifdef HAVE_NETINET_UDP_VAR_H
17519 #include <netinet/udp_var.h>
17520 #endif
17522 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
17524 cat >>confdefs.h <<_ACEOF
17525 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
17526 _ACEOF
17532 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
17533 #include <sys/types.h>
17534 #endif
17535 #ifdef HAVE_NET_IF_H
17536 # include <net/if.h>
17537 #endif
17539 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
17541 cat >>confdefs.h <<_ACEOF
17542 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
17543 _ACEOF
17549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
17550 $as_echo_n "checking for timezone variable... " >&6; }
17551 if ${ac_cv_have_timezone+:} false; then :
17552 $as_echo_n "(cached) " >&6
17553 else
17554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17555 /* end confdefs.h. */
17556 #include <time.h>
17558 main ()
17560 timezone = 1
17562 return 0;
17564 _ACEOF
17565 if ac_fn_c_try_link "$LINENO"; then :
17566 ac_cv_have_timezone="yes"
17567 else
17568 ac_cv_have_timezone="no"
17570 rm -f core conftest.err conftest.$ac_objext \
17571 conftest$ac_exeext conftest.$ac_ext
17573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
17574 $as_echo "$ac_cv_have_timezone" >&6; }
17575 if test "$ac_cv_have_timezone" = "yes"
17576 then
17578 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17582 $as_echo_n "checking for daylight variable... " >&6; }
17583 if ${ac_cv_have_daylight+:} false; then :
17584 $as_echo_n "(cached) " >&6
17585 else
17586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17587 /* end confdefs.h. */
17588 #include <time.h>
17590 main ()
17592 daylight = 1
17594 return 0;
17596 _ACEOF
17597 if ac_fn_c_try_link "$LINENO"; then :
17598 ac_cv_have_daylight="yes"
17599 else
17600 ac_cv_have_daylight="no"
17602 rm -f core conftest.err conftest.$ac_objext \
17603 conftest$ac_exeext conftest.$ac_ext
17605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17606 $as_echo "$ac_cv_have_daylight" >&6; }
17607 if test "$ac_cv_have_daylight" = "yes"
17608 then
17610 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17614 ac_save_LIBS="$LIBS"
17615 LIBS="$LIBS -lm"
17616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17617 $as_echo_n "checking for isfinite... " >&6; }
17618 if ${ac_cv_have_isfinite+:} false; then :
17619 $as_echo_n "(cached) " >&6
17620 else
17621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17622 /* end confdefs.h. */
17623 #define _GNU_SOURCE
17624 #include <math.h>
17626 main ()
17628 float f = 0.0; return isfinite(f)
17630 return 0;
17632 _ACEOF
17633 if ac_fn_c_try_link "$LINENO"; then :
17634 ac_cv_have_isfinite="yes"
17635 else
17636 ac_cv_have_isfinite="no"
17638 rm -f core conftest.err conftest.$ac_objext \
17639 conftest$ac_exeext conftest.$ac_ext
17641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17642 $as_echo "$ac_cv_have_isfinite" >&6; }
17643 if test "$ac_cv_have_isfinite" = "yes"
17644 then
17646 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17651 $as_echo_n "checking for isinf... " >&6; }
17652 if ${ac_cv_have_isinf+:} false; then :
17653 $as_echo_n "(cached) " >&6
17654 else
17655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17656 /* end confdefs.h. */
17657 #include <math.h>
17659 main ()
17661 float f = 0.0; return isinf(f)
17663 return 0;
17665 _ACEOF
17666 if ac_fn_c_try_link "$LINENO"; then :
17667 ac_cv_have_isinf="yes"
17668 else
17669 ac_cv_have_isinf="no"
17671 rm -f core conftest.err conftest.$ac_objext \
17672 conftest$ac_exeext conftest.$ac_ext
17674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17675 $as_echo "$ac_cv_have_isinf" >&6; }
17676 if test "$ac_cv_have_isinf" = "yes"
17677 then
17679 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17684 $as_echo_n "checking for isnan... " >&6; }
17685 if ${ac_cv_have_isnan+:} false; then :
17686 $as_echo_n "(cached) " >&6
17687 else
17688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17689 /* end confdefs.h. */
17690 #include <math.h>
17692 main ()
17694 float f = 0.0; return isnan(f)
17696 return 0;
17698 _ACEOF
17699 if ac_fn_c_try_link "$LINENO"; then :
17700 ac_cv_have_isnan="yes"
17701 else
17702 ac_cv_have_isnan="no"
17704 rm -f core conftest.err conftest.$ac_objext \
17705 conftest$ac_exeext conftest.$ac_ext
17707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17708 $as_echo "$ac_cv_have_isnan" >&6; }
17709 if test "$ac_cv_have_isnan" = "yes"
17710 then
17712 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17716 for ac_func in \
17717 acosh \
17718 acoshf \
17719 asinh \
17720 asinhf \
17721 atanh \
17722 atanhf \
17723 cbrt \
17724 cbrtf \
17725 erf \
17726 erfc \
17727 erfcf \
17728 erff \
17729 exp2 \
17730 exp2f \
17731 expm1 \
17732 expm1f \
17733 lgamma \
17734 lgammaf \
17735 llrint \
17736 llrintf \
17737 llround \
17738 llroundf \
17739 log1p \
17740 log1pf \
17741 log2 \
17742 log2f \
17743 lrint \
17744 lrintf \
17745 lround \
17746 lroundf \
17747 nearbyint \
17748 nearbyintf \
17749 powl \
17750 remainder \
17751 remainderf \
17752 rint \
17753 rintf \
17754 round \
17755 roundf \
17756 trunc \
17757 truncf
17759 do :
17760 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17761 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17762 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17763 cat >>confdefs.h <<_ACEOF
17764 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17765 _ACEOF
17768 done
17770 LIBS="$ac_save_LIBS"
17772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17773 $as_echo_n "checking for __builtin_clz... " >&6; }
17774 if ${ac_cv_have___builtin_clz+:} false; then :
17775 $as_echo_n "(cached) " >&6
17776 else
17777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17778 /* end confdefs.h. */
17781 main ()
17783 return __builtin_clz(1)
17785 return 0;
17787 _ACEOF
17788 if ac_fn_c_try_link "$LINENO"; then :
17789 ac_cv_have___builtin_clz="yes"
17790 else
17791 ac_cv_have___builtin_clz="no"
17793 rm -f core conftest.err conftest.$ac_objext \
17794 conftest$ac_exeext conftest.$ac_ext
17796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17797 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17798 if test "$ac_cv_have___builtin_clz" = "yes"
17799 then
17801 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17806 $as_echo_n "checking for __builtin_popcount... " >&6; }
17807 if ${ac_cv_have___builtin_popcount+:} false; then :
17808 $as_echo_n "(cached) " >&6
17809 else
17810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17811 /* end confdefs.h. */
17814 main ()
17816 return __builtin_popcount(1)
17818 return 0;
17820 _ACEOF
17821 if ac_fn_c_try_link "$LINENO"; then :
17822 ac_cv_have___builtin_popcount="yes"
17823 else
17824 ac_cv_have___builtin_popcount="no"
17826 rm -f core conftest.err conftest.$ac_objext \
17827 conftest$ac_exeext conftest.$ac_ext
17829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17830 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17831 if test "$ac_cv_have___builtin_popcount" = "yes"
17832 then
17834 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
17839 $as_echo_n "checking for __clear_cache... " >&6; }
17840 if ${ac_cv_have___clear_cache+:} false; then :
17841 $as_echo_n "(cached) " >&6
17842 else
17843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17844 /* end confdefs.h. */
17847 main ()
17849 __clear_cache((void*)0, (void*)0); return 0;
17851 return 0;
17853 _ACEOF
17854 if ac_fn_c_try_link "$LINENO"; then :
17855 ac_cv_have___clear_cache="yes"
17856 else
17857 ac_cv_have___clear_cache="no"
17859 rm -f core conftest.err conftest.$ac_objext \
17860 conftest$ac_exeext conftest.$ac_ext
17862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
17863 $as_echo "$ac_cv_have___clear_cache" >&6; }
17864 if test "$ac_cv_have___clear_cache" = "yes"
17865 then
17867 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
17872 case $host_cpu in
17873 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17874 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17875 if ${ac_cv_cpp_def___i386__+:} false; then :
17876 $as_echo_n "(cached) " >&6
17877 else
17878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17879 /* end confdefs.h. */
17880 #ifndef __i386__
17882 #endif
17883 _ACEOF
17884 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17885 $EGREP "yes" >/dev/null 2>&1; then :
17886 ac_cv_cpp_def___i386__=yes
17887 else
17888 ac_cv_cpp_def___i386__=no
17890 rm -f conftest*
17893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17894 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17895 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17896 CFLAGS="$CFLAGS -D__i386__"
17897 LINTFLAGS="$LINTFLAGS -D__i386__"
17898 fi ;;
17899 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17900 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17901 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17902 $as_echo_n "(cached) " >&6
17903 else
17904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17905 /* end confdefs.h. */
17906 #ifndef __x86_64__
17908 #endif
17909 _ACEOF
17910 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17911 $EGREP "yes" >/dev/null 2>&1; then :
17912 ac_cv_cpp_def___x86_64__=yes
17913 else
17914 ac_cv_cpp_def___x86_64__=no
17916 rm -f conftest*
17919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17920 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17921 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17922 CFLAGS="$CFLAGS -D__x86_64__"
17923 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17924 fi ;;
17925 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17926 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17927 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17928 $as_echo_n "(cached) " >&6
17929 else
17930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17931 /* end confdefs.h. */
17932 #ifndef __sparc64__
17934 #endif
17935 _ACEOF
17936 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17937 $EGREP "yes" >/dev/null 2>&1; then :
17938 ac_cv_cpp_def___sparc64__=yes
17939 else
17940 ac_cv_cpp_def___sparc64__=no
17942 rm -f conftest*
17945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17946 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17947 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17948 CFLAGS="$CFLAGS -D__sparc64__"
17949 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17950 fi ;;
17951 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17952 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17953 if ${ac_cv_cpp_def___sparc__+:} false; then :
17954 $as_echo_n "(cached) " >&6
17955 else
17956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17957 /* end confdefs.h. */
17958 #ifndef __sparc__
17960 #endif
17961 _ACEOF
17962 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17963 $EGREP "yes" >/dev/null 2>&1; then :
17964 ac_cv_cpp_def___sparc__=yes
17965 else
17966 ac_cv_cpp_def___sparc__=no
17968 rm -f conftest*
17971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17972 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17973 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17974 CFLAGS="$CFLAGS -D__sparc__"
17975 LINTFLAGS="$LINTFLAGS -D__sparc__"
17976 fi ;;
17977 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17978 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17979 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17980 $as_echo_n "(cached) " >&6
17981 else
17982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17983 /* end confdefs.h. */
17984 #ifndef __powerpc64__
17986 #endif
17987 _ACEOF
17988 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17989 $EGREP "yes" >/dev/null 2>&1; then :
17990 ac_cv_cpp_def___powerpc64__=yes
17991 else
17992 ac_cv_cpp_def___powerpc64__=no
17994 rm -f conftest*
17997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17998 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17999 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
18000 CFLAGS="$CFLAGS -D__powerpc64__"
18001 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
18002 fi ;;
18003 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
18004 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
18005 if ${ac_cv_cpp_def___powerpc__+:} false; then :
18006 $as_echo_n "(cached) " >&6
18007 else
18008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18009 /* end confdefs.h. */
18010 #ifndef __powerpc__
18012 #endif
18013 _ACEOF
18014 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18015 $EGREP "yes" >/dev/null 2>&1; then :
18016 ac_cv_cpp_def___powerpc__=yes
18017 else
18018 ac_cv_cpp_def___powerpc__=no
18020 rm -f conftest*
18023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
18024 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
18025 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
18026 CFLAGS="$CFLAGS -D__powerpc__"
18027 LINTFLAGS="$LINTFLAGS -D__powerpc__"
18028 fi ;;
18029 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
18030 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
18031 if ${ac_cv_cpp_def___aarch64__+:} false; then :
18032 $as_echo_n "(cached) " >&6
18033 else
18034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18035 /* end confdefs.h. */
18036 #ifndef __aarch64__
18038 #endif
18039 _ACEOF
18040 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18041 $EGREP "yes" >/dev/null 2>&1; then :
18042 ac_cv_cpp_def___aarch64__=yes
18043 else
18044 ac_cv_cpp_def___aarch64__=no
18046 rm -f conftest*
18049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
18050 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
18051 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
18052 CFLAGS="$CFLAGS -D__aarch64__"
18053 LINTFLAGS="$LINTFLAGS -D__aarch64__"
18054 fi ;;
18055 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
18056 $as_echo_n "checking whether we need to define __arm__... " >&6; }
18057 if ${ac_cv_cpp_def___arm__+:} false; then :
18058 $as_echo_n "(cached) " >&6
18059 else
18060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18061 /* end confdefs.h. */
18062 #ifndef __arm__
18064 #endif
18065 _ACEOF
18066 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18067 $EGREP "yes" >/dev/null 2>&1; then :
18068 ac_cv_cpp_def___arm__=yes
18069 else
18070 ac_cv_cpp_def___arm__=no
18072 rm -f conftest*
18075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
18076 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
18077 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
18078 CFLAGS="$CFLAGS -D__arm__"
18079 LINTFLAGS="$LINTFLAGS -D__arm__"
18080 fi ;;
18081 esac
18083 case $host_vendor in
18084 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
18085 $as_echo_n "checking whether we need to define __sun__... " >&6; }
18086 if ${ac_cv_cpp_def___sun__+:} false; then :
18087 $as_echo_n "(cached) " >&6
18088 else
18089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18090 /* end confdefs.h. */
18091 #ifndef __sun__
18093 #endif
18094 _ACEOF
18095 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18096 $EGREP "yes" >/dev/null 2>&1; then :
18097 ac_cv_cpp_def___sun__=yes
18098 else
18099 ac_cv_cpp_def___sun__=no
18101 rm -f conftest*
18104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
18105 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
18106 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
18107 CFLAGS="$CFLAGS -D__sun__"
18108 LINTFLAGS="$LINTFLAGS -D__sun__"
18109 fi ;;
18110 esac
18116 ac_config_commands="$ac_config_commands include/stamp-h"
18118 $as_echo_n "creating Makefile rules..." >&6
18120 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
18121 SOCKET_LIBS = $SOCKET_LIBS
18122 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
18123 IOKIT_LIBS = $IOKIT_LIBS
18124 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
18125 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
18126 CORESERVICES_LIBS = $CORESERVICES_LIBS
18127 APPKIT_LIBS = $APPKIT_LIBS
18128 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
18129 SECURITY_LIBS = $SECURITY_LIBS
18130 COREAUDIO_LIBS = $COREAUDIO_LIBS
18131 OPENAL_LIBS = $OPENAL_LIBS
18132 OPENCL_LIBS = $OPENCL_LIBS
18133 QUICKTIME_LIBS = $QUICKTIME_LIBS
18134 CARBON_LIBS = $CARBON_LIBS
18135 PTHREAD_LIBS = $PTHREAD_LIBS
18136 X_CFLAGS = $X_CFLAGS
18137 X_PRE_LIBS = $X_PRE_LIBS
18138 X_LIBS = $X_LIBS
18139 X_EXTRA_LIBS = $X_EXTRA_LIBS
18140 PCAP_LIBS = $PCAP_LIBS
18141 XML2_CFLAGS = $XML2_CFLAGS
18142 XML2_LIBS = $XML2_LIBS
18143 XSLT_CFLAGS = $XSLT_CFLAGS
18144 XSLT_LIBS = $XSLT_LIBS
18145 DBUS_CFLAGS = $DBUS_CFLAGS
18146 DBUS_LIBS = $DBUS_LIBS
18147 HAL_CFLAGS = $HAL_CFLAGS
18148 HAL_LIBS = $HAL_LIBS
18149 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
18150 GNUTLS_LIBS = $GNUTLS_LIBS
18151 SANE_CFLAGS = $SANE_CFLAGS
18152 SANE_LIBS = $SANE_LIBS
18153 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
18154 GPHOTO2_LIBS = $GPHOTO2_LIBS
18155 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
18156 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
18157 RESOLV_LIBS = $RESOLV_LIBS
18158 LCMS2_CFLAGS = $LCMS2_CFLAGS
18159 LCMS2_LIBS = $LCMS2_LIBS
18160 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
18161 FREETYPE_LIBS = $FREETYPE_LIBS
18162 Z_LIBS = $Z_LIBS
18163 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
18164 PULSE_CFLAGS = $PULSE_CFLAGS
18165 PULSE_LIBS = $PULSE_LIBS
18166 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
18167 GSTREAMER_LIBS = $GSTREAMER_LIBS
18168 ALSA_LIBS = $ALSA_LIBS
18169 OSS4_CFLAGS = $OSS4_CFLAGS
18170 UDEV_CFLAGS = $UDEV_CFLAGS
18171 UDEV_LIBS = $UDEV_LIBS
18172 CAPI20_CFLAGS = $CAPI20_CFLAGS
18173 CAPI20_LIBS = $CAPI20_LIBS
18174 CUPS_CFLAGS = $CUPS_CFLAGS
18175 CUPS_LIBS = $CUPS_LIBS
18176 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
18177 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
18178 KRB5_CFLAGS = $KRB5_CFLAGS
18179 KRB5_LIBS = $KRB5_LIBS
18180 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
18181 GSSAPI_LIBS = $GSSAPI_LIBS
18182 JPEG_CFLAGS = $JPEG_CFLAGS
18183 JPEG_LIBS = $JPEG_LIBS
18184 PNG_CFLAGS = $PNG_CFLAGS
18185 PNG_LIBS = $PNG_LIBS
18186 TIFF_CFLAGS = $TIFF_CFLAGS
18187 TIFF_LIBS = $TIFF_LIBS
18188 MPG123_CFLAGS = $MPG123_CFLAGS
18189 MPG123_LIBS = $MPG123_LIBS
18190 KSTAT_LIBS = $KSTAT_LIBS
18191 PROCSTAT_LIBS = $PROCSTAT_LIBS
18192 NETAPI_CFLAGS = $NETAPI_CFLAGS
18193 NETAPI_LIBS = $NETAPI_LIBS
18194 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
18195 DL_LIBS = $DL_LIBS
18196 POLL_LIBS = $POLL_LIBS
18197 RT_LIBS = $RT_LIBS
18198 LDAP_CFLAGS = $LDAP_CFLAGS
18199 LDAP_LIBS = $LDAP_LIBS
18204 wine_fn_append_rule "
18205 # Rules automatically generated by configure
18207 .INIT: Makefile
18208 .MAKEFILEDEPS:
18209 all: Makefile
18210 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
18211 @./config.status Make.tmp Makefile
18212 depend: \$(MAKEDEP) dummy
18213 \$(MAKEDEP)"
18215 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
18216 @echo \"crosstest is not supported (mingw not installed?)\" && false"
18218 if test "x$enable_fonts" != xno; then
18219 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
18220 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
18221 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
18222 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
18223 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
18224 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
18226 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
18227 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
18228 ac_config_links="$ac_config_links wine:tools/winewrapper"
18229 wine_fn_config_symlink wine
18230 if test "x$enable_win64" != xno; then
18231 ac_config_links="$ac_config_links wine64:tools/winewrapper"
18232 wine_fn_config_symlink wine64
18235 wine_fn_config_dll acledit enable_acledit
18236 wine_fn_config_dll aclui enable_aclui implib
18237 wine_fn_config_dll activeds enable_activeds implib
18238 wine_fn_config_dll actxprxy enable_actxprxy
18239 wine_fn_config_lib adsiid
18240 wine_fn_config_dll adsldp enable_adsldp
18241 wine_fn_config_test dlls/adsldp/tests adsldp_test
18242 wine_fn_config_dll adsldpc enable_adsldpc
18243 wine_fn_config_dll advapi32 enable_advapi32 implib
18244 wine_fn_config_test dlls/advapi32/tests advapi32_test
18245 wine_fn_config_dll advpack enable_advpack implib
18246 wine_fn_config_test dlls/advpack/tests advpack_test
18247 wine_fn_config_dll amstream enable_amstream
18248 wine_fn_config_test dlls/amstream/tests amstream_test
18249 wine_fn_config_dll api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
18250 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
18251 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
18252 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
18253 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
18254 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
18255 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
18256 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
18257 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
18258 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
18259 wine_fn_config_dll api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
18260 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
18261 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
18262 wine_fn_config_dll api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
18263 wine_fn_config_dll api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
18264 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
18265 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
18266 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
18267 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
18268 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
18269 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
18270 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
18271 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
18272 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
18273 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
18274 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
18275 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
18276 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
18277 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
18278 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
18279 wine_fn_config_dll api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
18280 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
18281 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
18282 wine_fn_config_dll api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
18283 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
18284 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
18285 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
18286 wine_fn_config_dll api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
18287 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
18288 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
18289 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
18290 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
18291 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
18292 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
18293 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
18294 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
18295 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
18296 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
18297 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
18298 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
18299 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
18300 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
18301 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
18302 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
18303 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
18304 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
18305 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
18306 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
18307 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
18308 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
18309 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
18310 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
18311 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
18312 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
18313 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
18314 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
18315 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
18316 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
18317 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
18318 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
18319 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
18320 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
18321 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
18322 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
18323 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
18324 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
18325 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
18326 wine_fn_config_dll api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
18327 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
18328 wine_fn_config_dll api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
18329 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
18330 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
18331 wine_fn_config_dll api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
18332 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
18333 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
18334 wine_fn_config_dll api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
18335 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
18336 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
18337 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
18338 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
18339 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
18340 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
18341 wine_fn_config_dll api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
18342 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
18343 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
18344 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
18345 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
18346 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
18347 wine_fn_config_dll api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
18348 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
18349 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
18350 wine_fn_config_dll api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
18351 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
18352 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
18353 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
18354 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
18355 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
18356 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
18357 wine_fn_config_dll api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
18358 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
18359 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
18360 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
18361 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
18362 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
18363 wine_fn_config_dll api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
18364 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
18365 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
18366 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
18367 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
18368 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
18369 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
18370 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
18371 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
18372 wine_fn_config_dll api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
18373 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
18374 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
18375 wine_fn_config_dll api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
18376 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
18377 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
18378 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
18379 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
18380 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
18381 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
18382 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
18383 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
18384 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
18385 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
18386 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
18387 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
18388 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
18389 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
18390 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
18391 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
18392 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
18393 wine_fn_config_dll api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
18394 wine_fn_config_dll api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
18395 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
18396 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
18397 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
18398 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
18399 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
18400 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
18401 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
18402 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
18403 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
18404 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
18405 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
18406 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
18407 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
18408 wine_fn_config_dll api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
18409 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
18410 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
18411 wine_fn_config_dll api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
18412 wine_fn_config_dll api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
18413 wine_fn_config_dll api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
18414 wine_fn_config_dll api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
18415 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
18416 wine_fn_config_dll api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
18417 wine_fn_config_dll api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
18418 wine_fn_config_dll api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
18419 wine_fn_config_dll api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
18420 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
18421 wine_fn_config_dll api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
18422 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
18423 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
18424 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
18425 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
18426 wine_fn_config_dll api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
18427 wine_fn_config_dll api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
18428 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
18429 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
18430 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
18431 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
18432 wine_fn_config_dll api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
18433 wine_fn_config_dll api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
18434 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
18435 wine_fn_config_dll api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
18436 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
18437 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
18438 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
18439 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
18440 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
18441 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
18442 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
18443 wine_fn_config_dll api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
18444 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
18445 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
18446 wine_fn_config_dll apphelp enable_apphelp
18447 wine_fn_config_test dlls/apphelp/tests apphelp_test
18448 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl
18449 wine_fn_config_dll atl enable_atl implib
18450 wine_fn_config_test dlls/atl/tests atl_test
18451 wine_fn_config_dll atl100 enable_atl100 implib
18452 wine_fn_config_test dlls/atl100/tests atl100_test
18453 wine_fn_config_dll atl110 enable_atl110
18454 wine_fn_config_dll atl80 enable_atl80 implib
18455 wine_fn_config_test dlls/atl80/tests atl80_test
18456 wine_fn_config_dll atl90 enable_atl90
18457 wine_fn_config_dll authz enable_authz
18458 wine_fn_config_dll avicap32 enable_avicap32 implib
18459 wine_fn_config_dll avifil32 enable_avifil32 implib
18460 wine_fn_config_test dlls/avifil32/tests avifil32_test
18461 wine_fn_config_dll avifile.dll16 enable_win16
18462 wine_fn_config_dll avrt enable_avrt implib
18463 wine_fn_config_dll bcrypt enable_bcrypt implib
18464 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
18465 wine_fn_config_dll bluetoothapis enable_bluetoothapis
18466 wine_fn_config_dll browseui enable_browseui
18467 wine_fn_config_test dlls/browseui/tests browseui_test
18468 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
18469 wine_fn_config_dll cabinet enable_cabinet implib
18470 wine_fn_config_test dlls/cabinet/tests cabinet_test
18471 wine_fn_config_dll capi2032 enable_capi2032 implib
18472 wine_fn_config_dll cards enable_cards implib
18473 wine_fn_config_dll cdosys enable_cdosys
18474 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
18475 wine_fn_config_dll clusapi enable_clusapi implib
18476 wine_fn_config_dll combase enable_combase
18477 wine_fn_config_test dlls/combase/tests combase_test
18478 wine_fn_config_dll comcat enable_comcat
18479 wine_fn_config_test dlls/comcat/tests comcat_test
18480 wine_fn_config_dll comctl32 enable_comctl32 implib
18481 wine_fn_config_test dlls/comctl32/tests comctl32_test
18482 wine_fn_config_dll comdlg32 enable_comdlg32 implib
18483 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
18484 wine_fn_config_dll comm.drv16 enable_win16
18485 wine_fn_config_dll commdlg.dll16 enable_win16
18486 wine_fn_config_dll compobj.dll16 enable_win16
18487 wine_fn_config_dll compstui enable_compstui implib
18488 wine_fn_config_dll comsvcs enable_comsvcs implib
18489 wine_fn_config_dll concrt140 enable_concrt140
18490 wine_fn_config_dll connect enable_connect
18491 wine_fn_config_dll credui enable_credui implib
18492 wine_fn_config_test dlls/credui/tests credui_test
18493 wine_fn_config_dll crtdll enable_crtdll
18494 wine_fn_config_dll crypt32 enable_crypt32 implib
18495 wine_fn_config_test dlls/crypt32/tests crypt32_test
18496 wine_fn_config_dll cryptdlg enable_cryptdlg
18497 wine_fn_config_dll cryptdll enable_cryptdll implib
18498 wine_fn_config_dll cryptext enable_cryptext
18499 wine_fn_config_dll cryptnet enable_cryptnet implib
18500 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
18501 wine_fn_config_dll cryptui enable_cryptui implib
18502 wine_fn_config_test dlls/cryptui/tests cryptui_test
18503 wine_fn_config_dll ctapi32 enable_ctapi32
18504 wine_fn_config_dll ctl3d.dll16 enable_win16
18505 wine_fn_config_dll ctl3d32 enable_ctl3d32
18506 wine_fn_config_dll ctl3dv2.dll16 enable_win16
18507 wine_fn_config_dll d2d1 enable_d2d1 implib
18508 wine_fn_config_test dlls/d2d1/tests d2d1_test
18509 wine_fn_config_dll d3d10 enable_d3d10 implib
18510 wine_fn_config_test dlls/d3d10/tests d3d10_test
18511 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
18512 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
18513 wine_fn_config_dll d3d10core enable_d3d10core implib
18514 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
18515 wine_fn_config_dll d3d11 enable_d3d11 implib
18516 wine_fn_config_test dlls/d3d11/tests d3d11_test
18517 wine_fn_config_dll d3d12 enable_d3d12 implib
18518 wine_fn_config_test dlls/d3d12/tests d3d12_test
18519 wine_fn_config_dll d3d8 enable_d3d8 implib
18520 wine_fn_config_test dlls/d3d8/tests d3d8_test
18521 wine_fn_config_dll d3d9 enable_d3d9 implib
18522 wine_fn_config_test dlls/d3d9/tests d3d9_test
18523 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
18524 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
18525 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
18526 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
18527 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
18528 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
18529 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
18530 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
18531 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
18532 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
18533 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
18534 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
18535 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
18536 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
18537 wine_fn_config_dll d3dim enable_d3dim
18538 wine_fn_config_dll d3drm enable_d3drm implib
18539 wine_fn_config_test dlls/d3drm/tests d3drm_test
18540 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
18541 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
18542 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
18543 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
18544 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
18545 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
18546 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
18547 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
18548 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
18549 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
18550 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
18551 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
18552 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
18553 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
18554 wine_fn_config_test dlls/d3dx11_43/tests d3dx11_43_test
18555 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
18556 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
18557 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
18558 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
18559 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
18560 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
18561 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
18562 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
18563 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
18564 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
18565 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
18566 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
18567 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
18568 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
18569 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
18570 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
18571 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
18572 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
18573 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
18574 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
18575 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
18576 wine_fn_config_dll d3dxof enable_d3dxof implib
18577 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
18578 wine_fn_config_dll davclnt enable_davclnt
18579 wine_fn_config_dll dbgeng enable_dbgeng implib
18580 wine_fn_config_dll dbghelp enable_dbghelp implib
18581 wine_fn_config_dll dciman32 enable_dciman32 implib
18582 wine_fn_config_dll ddeml.dll16 enable_win16
18583 wine_fn_config_dll ddraw enable_ddraw implib
18584 wine_fn_config_test dlls/ddraw/tests ddraw_test
18585 wine_fn_config_dll ddrawex enable_ddrawex
18586 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
18587 wine_fn_config_dll devenum enable_devenum
18588 wine_fn_config_test dlls/devenum/tests devenum_test
18589 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
18590 wine_fn_config_dll dhtmled.ocx enable_dhtmled_ocx
18591 wine_fn_config_dll difxapi enable_difxapi
18592 wine_fn_config_dll dinput enable_dinput implib,staticimplib
18593 wine_fn_config_test dlls/dinput/tests dinput_test
18594 wine_fn_config_dll dinput8 enable_dinput8 implib
18595 wine_fn_config_test dlls/dinput8/tests dinput8_test
18596 wine_fn_config_dll dispdib.dll16 enable_win16
18597 wine_fn_config_dll dispex enable_dispex
18598 wine_fn_config_test dlls/dispex/tests dispex_test
18599 wine_fn_config_dll display.drv16 enable_win16
18600 wine_fn_config_dll dmband enable_dmband
18601 wine_fn_config_test dlls/dmband/tests dmband_test
18602 wine_fn_config_dll dmcompos enable_dmcompos
18603 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
18604 wine_fn_config_dll dmime enable_dmime
18605 wine_fn_config_test dlls/dmime/tests dmime_test
18606 wine_fn_config_dll dmloader enable_dmloader
18607 wine_fn_config_test dlls/dmloader/tests dmloader_test
18608 wine_fn_config_dll dmscript enable_dmscript
18609 wine_fn_config_test dlls/dmscript/tests dmscript_test
18610 wine_fn_config_dll dmstyle enable_dmstyle
18611 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
18612 wine_fn_config_dll dmsynth enable_dmsynth
18613 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
18614 wine_fn_config_dll dmusic enable_dmusic
18615 wine_fn_config_test dlls/dmusic/tests dmusic_test
18616 wine_fn_config_dll dmusic32 enable_dmusic32
18617 wine_fn_config_dll dnsapi enable_dnsapi implib
18618 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
18619 wine_fn_config_dll dplay enable_dplay
18620 wine_fn_config_dll dplayx enable_dplayx implib
18621 wine_fn_config_test dlls/dplayx/tests dplayx_test
18622 wine_fn_config_dll dpnaddr enable_dpnaddr
18623 wine_fn_config_dll dpnet enable_dpnet implib
18624 wine_fn_config_test dlls/dpnet/tests dpnet_test
18625 wine_fn_config_dll dpnhpast enable_dpnhpast
18626 wine_fn_config_dll dpnlobby enable_dpnlobby
18627 wine_fn_config_dll dpvoice enable_dpvoice
18628 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
18629 wine_fn_config_dll dpwsockx enable_dpwsockx
18630 wine_fn_config_dll drmclien enable_drmclien
18631 wine_fn_config_dll dsound enable_dsound implib
18632 wine_fn_config_test dlls/dsound/tests dsound_test
18633 wine_fn_config_dll dsquery enable_dsquery
18634 wine_fn_config_dll dssenh enable_dssenh
18635 wine_fn_config_test dlls/dssenh/tests dssenh_test
18636 wine_fn_config_dll dswave enable_dswave
18637 wine_fn_config_test dlls/dswave/tests dswave_test
18638 wine_fn_config_dll dwmapi enable_dwmapi implib
18639 wine_fn_config_dll dwrite enable_dwrite implib
18640 wine_fn_config_test dlls/dwrite/tests dwrite_test
18641 wine_fn_config_dll dx8vb enable_dx8vb
18642 wine_fn_config_dll dxdiagn enable_dxdiagn
18643 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
18644 wine_fn_config_lib dxerr8
18645 wine_fn_config_lib dxerr9
18646 wine_fn_config_dll dxgi enable_dxgi implib
18647 wine_fn_config_test dlls/dxgi/tests dxgi_test
18648 wine_fn_config_lib dxguid
18649 wine_fn_config_dll dxva2 enable_dxva2
18650 wine_fn_config_dll esent enable_esent
18651 wine_fn_config_dll evr enable_evr
18652 wine_fn_config_test dlls/evr/tests evr_test
18653 wine_fn_config_dll explorerframe enable_explorerframe
18654 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
18655 wine_fn_config_dll ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
18656 wine_fn_config_dll ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
18657 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
18658 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
18659 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
18660 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
18661 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
18662 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
18663 wine_fn_config_dll ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
18664 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
18665 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
18666 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18667 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18668 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18669 wine_fn_config_dll ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
18670 wine_fn_config_dll ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
18671 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18672 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18673 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
18674 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18675 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18676 wine_fn_config_dll ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
18677 wine_fn_config_dll ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
18678 wine_fn_config_dll faultrep enable_faultrep implib
18679 wine_fn_config_test dlls/faultrep/tests faultrep_test
18680 wine_fn_config_dll fltlib enable_fltlib
18681 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
18682 wine_fn_config_dll fntcache enable_fntcache
18683 wine_fn_config_dll fontsub enable_fontsub
18684 wine_fn_config_dll fusion enable_fusion
18685 wine_fn_config_test dlls/fusion/tests fusion_test
18686 wine_fn_config_dll fwpuclnt enable_fwpuclnt
18687 wine_fn_config_dll gameux enable_gameux
18688 wine_fn_config_test dlls/gameux/tests gameux_test
18689 wine_fn_config_dll gdi.exe16 enable_win16
18690 wine_fn_config_dll gdi32 enable_gdi32 implib
18691 wine_fn_config_test dlls/gdi32/tests gdi32_test
18692 wine_fn_config_dll gdiplus enable_gdiplus implib
18693 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
18694 wine_fn_config_dll glu32 enable_glu32 implib
18695 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds
18696 wine_fn_config_dll gpkcsp enable_gpkcsp
18697 wine_fn_config_dll hal enable_hal
18698 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx implib htmlhelp
18699 wine_fn_config_dll hid enable_hid implib
18700 wine_fn_config_test dlls/hid/tests hid_test
18701 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
18702 wine_fn_config_dll hlink enable_hlink implib
18703 wine_fn_config_test dlls/hlink/tests hlink_test
18704 wine_fn_config_dll hnetcfg enable_hnetcfg
18705 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
18706 wine_fn_config_dll httpapi enable_httpapi implib
18707 wine_fn_config_test dlls/httpapi/tests httpapi_test
18708 wine_fn_config_dll iccvid enable_iccvid
18709 wine_fn_config_dll icmp enable_icmp
18710 wine_fn_config_dll ieframe enable_ieframe implib
18711 wine_fn_config_test dlls/ieframe/tests ieframe_test
18712 wine_fn_config_dll ieproxy enable_ieproxy
18713 wine_fn_config_dll ifsmgr.vxd enable_win16
18714 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
18715 wine_fn_config_dll imagehlp enable_imagehlp implib
18716 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
18717 wine_fn_config_dll imm.dll16 enable_win16
18718 wine_fn_config_dll imm32 enable_imm32 implib
18719 wine_fn_config_test dlls/imm32/tests imm32_test
18720 wine_fn_config_dll inetcomm enable_inetcomm implib
18721 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
18722 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl
18723 wine_fn_config_dll inetmib1 enable_inetmib1
18724 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
18725 wine_fn_config_dll infosoft enable_infosoft
18726 wine_fn_config_test dlls/infosoft/tests infosoft_test
18727 wine_fn_config_dll initpki enable_initpki
18728 wine_fn_config_dll inkobj enable_inkobj
18729 wine_fn_config_dll inseng enable_inseng
18730 wine_fn_config_dll iphlpapi enable_iphlpapi implib
18731 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
18732 wine_fn_config_dll iprop enable_iprop
18733 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18734 wine_fn_config_dll itircl enable_itircl
18735 wine_fn_config_dll itss enable_itss
18736 wine_fn_config_test dlls/itss/tests itss_test
18737 wine_fn_config_dll joy.cpl enable_joy_cpl
18738 wine_fn_config_dll jscript enable_jscript
18739 wine_fn_config_test dlls/jscript/tests jscript_test
18740 wine_fn_config_dll jsproxy enable_jsproxy implib
18741 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
18742 wine_fn_config_dll kerberos enable_kerberos
18743 wine_fn_config_dll kernel32 enable_kernel32 implib
18744 wine_fn_config_test dlls/kernel32/tests kernel32_test
18745 wine_fn_config_dll kernelbase enable_kernelbase
18746 wine_fn_config_dll keyboard.drv16 enable_win16
18747 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
18748 wine_fn_config_dll ksuser enable_ksuser
18749 wine_fn_config_dll ktmw32 enable_ktmw32
18750 wine_fn_config_dll l3codeca.acm enable_l3codeca_acm
18751 wine_fn_config_dll loadperf enable_loadperf implib
18752 wine_fn_config_dll localspl enable_localspl
18753 wine_fn_config_test dlls/localspl/tests localspl_test
18754 wine_fn_config_dll localui enable_localui
18755 wine_fn_config_test dlls/localui/tests localui_test
18756 wine_fn_config_dll lz32 enable_lz32 implib
18757 wine_fn_config_test dlls/lz32/tests lz32_test
18758 wine_fn_config_dll lzexpand.dll16 enable_win16
18759 wine_fn_config_dll mapi32 enable_mapi32 implib
18760 wine_fn_config_test dlls/mapi32/tests mapi32_test
18761 wine_fn_config_dll mapistub enable_mapistub
18762 wine_fn_config_dll mciavi32 enable_mciavi32
18763 wine_fn_config_dll mcicda enable_mcicda
18764 wine_fn_config_dll mciqtz32 enable_mciqtz32
18765 wine_fn_config_dll mciseq enable_mciseq
18766 wine_fn_config_dll mciwave enable_mciwave
18767 wine_fn_config_dll mf enable_mf implib
18768 wine_fn_config_test dlls/mf/tests mf_test
18769 wine_fn_config_dll mf3216 enable_mf3216
18770 wine_fn_config_dll mfplat enable_mfplat implib
18771 wine_fn_config_test dlls/mfplat/tests mfplat_test
18772 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18773 wine_fn_config_lib mfuuid
18774 wine_fn_config_dll mgmtapi enable_mgmtapi
18775 wine_fn_config_dll midimap enable_midimap
18776 wine_fn_config_dll mlang enable_mlang implib
18777 wine_fn_config_test dlls/mlang/tests mlang_test
18778 wine_fn_config_dll mmcndmgr enable_mmcndmgr
18779 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
18780 wine_fn_config_dll mmdevapi enable_mmdevapi
18781 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
18782 wine_fn_config_dll mmdevldr.vxd enable_win16
18783 wine_fn_config_dll mmsystem.dll16 enable_win16
18784 wine_fn_config_dll monodebg.vxd enable_win16
18785 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18786 wine_fn_config_dll mouse.drv16 enable_win16
18787 wine_fn_config_dll mpr enable_mpr implib
18788 wine_fn_config_test dlls/mpr/tests mpr_test
18789 wine_fn_config_dll mprapi enable_mprapi implib
18790 wine_fn_config_dll msacm.dll16 enable_win16
18791 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18792 wine_fn_config_dll msacm32 enable_msacm32 implib
18793 wine_fn_config_test dlls/msacm32/tests msacm32_test
18794 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18795 wine_fn_config_dll msasn1 enable_msasn1 implib
18796 wine_fn_config_dll mscat32 enable_mscat32
18797 wine_fn_config_dll mscms enable_mscms implib
18798 wine_fn_config_test dlls/mscms/tests mscms_test
18799 wine_fn_config_dll mscoree enable_mscoree
18800 wine_fn_config_test dlls/mscoree/tests mscoree_test
18801 wine_fn_config_dll msctf enable_msctf
18802 wine_fn_config_test dlls/msctf/tests msctf_test
18803 wine_fn_config_dll msctfp enable_msctfp
18804 wine_fn_config_dll msdaps enable_msdaps
18805 wine_fn_config_dll msdelta enable_msdelta
18806 wine_fn_config_dll msdmo enable_msdmo implib
18807 wine_fn_config_test dlls/msdmo/tests msdmo_test
18808 wine_fn_config_dll msdrm enable_msdrm
18809 wine_fn_config_dll msftedit enable_msftedit
18810 wine_fn_config_dll msg711.acm enable_msg711_acm
18811 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18812 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb
18813 wine_fn_config_dll mshtml enable_mshtml implib
18814 wine_fn_config_test dlls/mshtml/tests mshtml_test
18815 wine_fn_config_dll msi enable_msi implib
18816 wine_fn_config_test dlls/msi/tests msi_test
18817 wine_fn_config_dll msident enable_msident
18818 wine_fn_config_dll msimg32 enable_msimg32 implib
18819 wine_fn_config_dll msimsg enable_msimsg
18820 wine_fn_config_dll msimtf enable_msimtf
18821 wine_fn_config_dll msisip enable_msisip
18822 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18823 wine_fn_config_dll msls31 enable_msls31
18824 wine_fn_config_dll msnet32 enable_msnet32
18825 wine_fn_config_dll mspatcha enable_mspatcha implib
18826 wine_fn_config_dll msports enable_msports
18827 wine_fn_config_dll msrle32 enable_msrle32
18828 wine_fn_config_test dlls/msrle32/tests msrle32_test
18829 wine_fn_config_dll msscript.ocx enable_msscript_ocx
18830 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test
18831 wine_fn_config_dll mssign32 enable_mssign32
18832 wine_fn_config_dll mssip32 enable_mssip32
18833 wine_fn_config_dll mstask enable_mstask
18834 wine_fn_config_test dlls/mstask/tests mstask_test
18835 wine_fn_config_dll msvcirt enable_msvcirt
18836 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18837 wine_fn_config_dll msvcm80 enable_msvcm80
18838 wine_fn_config_dll msvcm90 enable_msvcm90
18839 wine_fn_config_dll msvcp100 enable_msvcp100
18840 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18841 wine_fn_config_dll msvcp110 enable_msvcp110
18842 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18843 wine_fn_config_dll msvcp120 enable_msvcp120
18844 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18845 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18846 wine_fn_config_dll msvcp140 enable_msvcp140
18847 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18848 wine_fn_config_dll msvcp60 enable_msvcp60
18849 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18850 wine_fn_config_dll msvcp70 enable_msvcp70
18851 wine_fn_config_dll msvcp71 enable_msvcp71
18852 wine_fn_config_dll msvcp80 enable_msvcp80
18853 wine_fn_config_dll msvcp90 enable_msvcp90
18854 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18855 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18856 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18857 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18858 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18859 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18860 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18861 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18862 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18863 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18864 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18865 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18866 wine_fn_config_dll msvcrt enable_msvcrt implib
18867 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18868 wine_fn_config_dll msvcrt20 enable_msvcrt20
18869 wine_fn_config_dll msvcrt40 enable_msvcrt40
18870 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18871 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18872 wine_fn_config_dll msvfw32 enable_msvfw32 implib
18873 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18874 wine_fn_config_dll msvidc32 enable_msvidc32
18875 wine_fn_config_dll msvideo.dll16 enable_win16
18876 wine_fn_config_dll mswsock enable_mswsock implib
18877 wine_fn_config_dll msxml enable_msxml
18878 wine_fn_config_dll msxml2 enable_msxml2
18879 wine_fn_config_dll msxml3 enable_msxml3
18880 wine_fn_config_test dlls/msxml3/tests msxml3_test
18881 wine_fn_config_dll msxml4 enable_msxml4
18882 wine_fn_config_dll msxml6 enable_msxml6
18883 wine_fn_config_dll mtxdm enable_mtxdm
18884 wine_fn_config_dll ncrypt enable_ncrypt
18885 wine_fn_config_dll nddeapi enable_nddeapi implib
18886 wine_fn_config_dll ndis.sys enable_ndis_sys
18887 wine_fn_config_dll netapi32 enable_netapi32 implib
18888 wine_fn_config_test dlls/netapi32/tests netapi32_test
18889 wine_fn_config_dll netcfgx enable_netcfgx
18890 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18891 wine_fn_config_dll netprofm enable_netprofm
18892 wine_fn_config_test dlls/netprofm/tests netprofm_test
18893 wine_fn_config_dll newdev enable_newdev implib
18894 wine_fn_config_dll normaliz enable_normaliz implib
18895 wine_fn_config_dll npmshtml enable_npmshtml
18896 wine_fn_config_dll npptools enable_npptools
18897 wine_fn_config_dll ntdll enable_ntdll implib
18898 wine_fn_config_test dlls/ntdll/tests ntdll_test
18899 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18900 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18901 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18902 wine_fn_config_dll ntprint enable_ntprint
18903 wine_fn_config_test dlls/ntprint/tests ntprint_test
18904 wine_fn_config_dll objsel enable_objsel
18905 wine_fn_config_dll odbc32 enable_odbc32 implib
18906 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18907 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18908 wine_fn_config_dll odbccu32 enable_odbccu32
18909 wine_fn_config_dll ole2.dll16 enable_win16
18910 wine_fn_config_dll ole2conv.dll16 enable_win16
18911 wine_fn_config_dll ole2disp.dll16 enable_win16
18912 wine_fn_config_dll ole2nls.dll16 enable_win16
18913 wine_fn_config_dll ole2prox.dll16 enable_win16
18914 wine_fn_config_dll ole2thk.dll16 enable_win16
18915 wine_fn_config_dll ole32 enable_ole32 implib
18916 wine_fn_config_test dlls/ole32/tests ole32_test
18917 wine_fn_config_dll oleacc enable_oleacc implib
18918 wine_fn_config_test dlls/oleacc/tests oleacc_test
18919 wine_fn_config_dll oleaut32 enable_oleaut32 implib
18920 wine_fn_config_test dlls/oleaut32/tests oleaut32_test
18921 wine_fn_config_dll olecli.dll16 enable_win16
18922 wine_fn_config_dll olecli32 enable_olecli32 implib
18923 wine_fn_config_dll oledb32 enable_oledb32
18924 wine_fn_config_test dlls/oledb32/tests oledb32_test
18925 wine_fn_config_dll oledlg enable_oledlg implib
18926 wine_fn_config_test dlls/oledlg/tests oledlg_test
18927 wine_fn_config_dll olepro32 enable_olepro32 implib
18928 wine_fn_config_dll olesvr.dll16 enable_win16
18929 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18930 wine_fn_config_dll olethk32 enable_olethk32
18931 wine_fn_config_dll openal32 enable_openal32
18932 wine_fn_config_dll opencl enable_opencl
18933 wine_fn_config_dll opengl32 enable_opengl32 implib
18934 wine_fn_config_test dlls/opengl32/tests opengl32_test
18935 wine_fn_config_dll packager enable_packager
18936 wine_fn_config_test dlls/packager/tests packager_test
18937 wine_fn_config_dll pdh enable_pdh implib
18938 wine_fn_config_test dlls/pdh/tests pdh_test
18939 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18940 wine_fn_config_dll pidgen enable_pidgen
18941 wine_fn_config_dll powrprof enable_powrprof implib
18942 wine_fn_config_dll printui enable_printui
18943 wine_fn_config_dll prntvpt enable_prntvpt
18944 wine_fn_config_dll propsys enable_propsys implib
18945 wine_fn_config_test dlls/propsys/tests propsys_test
18946 wine_fn_config_dll psapi enable_psapi implib
18947 wine_fn_config_test dlls/psapi/tests psapi_test
18948 wine_fn_config_dll pstorec enable_pstorec
18949 wine_fn_config_test dlls/pstorec/tests pstorec_test
18950 wine_fn_config_dll qcap enable_qcap
18951 wine_fn_config_test dlls/qcap/tests qcap_test
18952 wine_fn_config_dll qedit enable_qedit
18953 wine_fn_config_test dlls/qedit/tests qedit_test
18954 wine_fn_config_dll qmgr enable_qmgr
18955 wine_fn_config_test dlls/qmgr/tests qmgr_test
18956 wine_fn_config_dll qmgrprxy enable_qmgrprxy
18957 wine_fn_config_dll quartz enable_quartz implib
18958 wine_fn_config_test dlls/quartz/tests quartz_test
18959 wine_fn_config_dll query enable_query
18960 wine_fn_config_dll rasapi16.dll16 enable_win16
18961 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18962 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18963 wine_fn_config_dll rasdlg enable_rasdlg implib
18964 wine_fn_config_dll regapi enable_regapi
18965 wine_fn_config_dll resutils enable_resutils implib
18966 wine_fn_config_dll riched20 enable_riched20 implib
18967 wine_fn_config_test dlls/riched20/tests riched20_test
18968 wine_fn_config_dll riched32 enable_riched32
18969 wine_fn_config_test dlls/riched32/tests riched32_test
18970 wine_fn_config_dll rpcrt4 enable_rpcrt4 implib
18971 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test
18972 wine_fn_config_dll rsabase enable_rsabase
18973 wine_fn_config_dll rsaenh enable_rsaenh implib
18974 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18975 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18976 wine_fn_config_dll rtutils enable_rtutils implib
18977 wine_fn_config_dll samlib enable_samlib
18978 wine_fn_config_dll sane.ds enable_sane_ds
18979 wine_fn_config_dll sapi enable_sapi
18980 wine_fn_config_test dlls/sapi/tests sapi_test
18981 wine_fn_config_dll scarddlg enable_scarddlg
18982 wine_fn_config_dll sccbase enable_sccbase
18983 wine_fn_config_dll schannel enable_schannel
18984 wine_fn_config_test dlls/schannel/tests schannel_test
18985 wine_fn_config_dll schedsvc enable_schedsvc
18986 wine_fn_config_test dlls/schedsvc/tests schedsvc_test
18987 wine_fn_config_dll scrobj enable_scrobj
18988 wine_fn_config_dll scrrun enable_scrrun
18989 wine_fn_config_test dlls/scrrun/tests scrrun_test
18990 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18991 wine_fn_config_dll secur32 enable_secur32 implib
18992 wine_fn_config_test dlls/secur32/tests secur32_test
18993 wine_fn_config_dll security enable_security
18994 wine_fn_config_dll sensapi enable_sensapi implib
18995 wine_fn_config_dll serialui enable_serialui
18996 wine_fn_config_test dlls/serialui/tests serialui_test
18997 wine_fn_config_dll setupapi enable_setupapi implib
18998 wine_fn_config_test dlls/setupapi/tests setupapi_test
18999 wine_fn_config_dll setupx.dll16 enable_win16
19000 wine_fn_config_dll sfc enable_sfc implib
19001 wine_fn_config_dll sfc_os enable_sfc_os implib
19002 wine_fn_config_dll shcore enable_shcore
19003 wine_fn_config_dll shdoclc enable_shdoclc
19004 wine_fn_config_dll shdocvw enable_shdocvw implib
19005 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
19006 wine_fn_config_dll shell.dll16 enable_win16
19007 wine_fn_config_dll shell32 enable_shell32 implib
19008 wine_fn_config_test dlls/shell32/tests shell32_test
19009 wine_fn_config_dll shfolder enable_shfolder implib
19010 wine_fn_config_dll shlwapi enable_shlwapi implib
19011 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
19012 wine_fn_config_dll slbcsp enable_slbcsp
19013 wine_fn_config_dll slc enable_slc implib
19014 wine_fn_config_test dlls/slc/tests slc_test
19015 wine_fn_config_dll snmpapi enable_snmpapi implib
19016 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
19017 wine_fn_config_dll softpub enable_softpub
19018 wine_fn_config_dll sound.drv16 enable_win16
19019 wine_fn_config_dll spoolss enable_spoolss implib
19020 wine_fn_config_test dlls/spoolss/tests spoolss_test
19021 wine_fn_config_dll sspicli enable_sspicli
19022 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb
19023 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb
19024 wine_fn_config_dll sti enable_sti implib
19025 wine_fn_config_test dlls/sti/tests sti_test
19026 wine_fn_config_dll storage.dll16 enable_win16
19027 wine_fn_config_dll stress.dll16 enable_win16
19028 wine_fn_config_lib strmbase
19029 wine_fn_config_lib strmiids
19030 wine_fn_config_dll svrapi enable_svrapi
19031 wine_fn_config_dll sxs enable_sxs implib
19032 wine_fn_config_test dlls/sxs/tests sxs_test
19033 wine_fn_config_dll system.drv16 enable_win16
19034 wine_fn_config_dll t2embed enable_t2embed implib
19035 wine_fn_config_test dlls/t2embed/tests t2embed_test
19036 wine_fn_config_dll tapi32 enable_tapi32 implib
19037 wine_fn_config_dll taskschd enable_taskschd
19038 wine_fn_config_test dlls/taskschd/tests taskschd_test
19039 wine_fn_config_dll tdh enable_tdh
19040 wine_fn_config_dll tdi.sys enable_tdi_sys
19041 wine_fn_config_dll toolhelp.dll16 enable_win16
19042 wine_fn_config_dll traffic enable_traffic
19043 wine_fn_config_dll twain.dll16 enable_win16
19044 wine_fn_config_dll twain_32 enable_twain_32
19045 wine_fn_config_test dlls/twain_32/tests twain_32_test
19046 wine_fn_config_dll typelib.dll16 enable_win16
19047 wine_fn_config_dll ucrtbase enable_ucrtbase implib
19048 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
19049 wine_fn_config_dll uiautomationcore enable_uiautomationcore
19050 wine_fn_config_dll uiribbon enable_uiribbon
19051 wine_fn_config_dll unicows enable_unicows implib
19052 wine_fn_config_dll updspapi enable_updspapi
19053 wine_fn_config_dll url enable_url implib
19054 wine_fn_config_dll urlmon enable_urlmon implib
19055 wine_fn_config_test dlls/urlmon/tests urlmon_test
19056 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
19057 wine_fn_config_dll user.exe16 enable_win16
19058 wine_fn_config_dll user32 enable_user32 implib
19059 wine_fn_config_test dlls/user32/tests user32_test
19060 wine_fn_config_dll userenv enable_userenv implib
19061 wine_fn_config_test dlls/userenv/tests userenv_test
19062 wine_fn_config_dll usp10 enable_usp10 implib
19063 wine_fn_config_test dlls/usp10/tests usp10_test
19064 wine_fn_config_lib uuid
19065 wine_fn_config_dll uxtheme enable_uxtheme implib
19066 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
19067 wine_fn_config_dll vbscript enable_vbscript
19068 wine_fn_config_test dlls/vbscript/tests vbscript_test
19069 wine_fn_config_dll vcomp enable_vcomp
19070 wine_fn_config_test dlls/vcomp/tests vcomp_test
19071 wine_fn_config_dll vcomp100 enable_vcomp100
19072 wine_fn_config_dll vcomp110 enable_vcomp110
19073 wine_fn_config_dll vcomp120 enable_vcomp120
19074 wine_fn_config_dll vcomp140 enable_vcomp140
19075 wine_fn_config_dll vcomp90 enable_vcomp90
19076 wine_fn_config_dll vcruntime140 enable_vcruntime140
19077 wine_fn_config_dll vdhcp.vxd enable_win16
19078 wine_fn_config_dll vdmdbg enable_vdmdbg implib
19079 wine_fn_config_dll ver.dll16 enable_win16
19080 wine_fn_config_dll version enable_version implib
19081 wine_fn_config_test dlls/version/tests version_test
19082 wine_fn_config_dll virtdisk enable_virtdisk
19083 wine_fn_config_dll vmm.vxd enable_win16
19084 wine_fn_config_dll vnbt.vxd enable_win16
19085 wine_fn_config_dll vnetbios.vxd enable_win16
19086 wine_fn_config_dll vssapi enable_vssapi
19087 wine_fn_config_dll vtdapi.vxd enable_win16
19088 wine_fn_config_dll vwin32.vxd enable_win16
19089 wine_fn_config_dll w32skrnl enable_win16
19090 wine_fn_config_dll w32sys.dll16 enable_win16
19091 wine_fn_config_dll wbemdisp enable_wbemdisp
19092 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
19093 wine_fn_config_dll wbemprox enable_wbemprox
19094 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
19095 wine_fn_config_dll wdscore enable_wdscore
19096 wine_fn_config_dll webservices enable_webservices implib
19097 wine_fn_config_test dlls/webservices/tests webservices_test
19098 wine_fn_config_dll wer enable_wer implib
19099 wine_fn_config_test dlls/wer/tests wer_test
19100 wine_fn_config_dll wevtapi enable_wevtapi
19101 wine_fn_config_dll wiaservc enable_wiaservc
19102 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
19103 wine_fn_config_dll wimgapi enable_wimgapi
19104 wine_fn_config_dll win32s16.dll16 enable_win16
19105 wine_fn_config_dll win87em.dll16 enable_win16
19106 wine_fn_config_dll winaspi.dll16 enable_win16
19107 wine_fn_config_dll windebug.dll16 enable_win16
19108 wine_fn_config_dll windowscodecs enable_windowscodecs implib
19109 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
19110 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
19111 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
19112 wine_fn_config_dll winealsa.drv enable_winealsa_drv
19113 wine_fn_config_dll wineandroid.drv enable_wineandroid_drv
19114 wine_fn_config_dll winebus.sys enable_winebus_sys
19115 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
19116 wine_fn_config_lib winecrt0
19117 wine_fn_config_dll wined3d enable_wined3d implib
19118 wine_fn_config_dll winegstreamer enable_winegstreamer
19119 wine_fn_config_dll winehid.sys enable_winehid_sys
19120 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
19121 wine_fn_config_dll winemac.drv enable_winemac_drv
19122 wine_fn_config_dll winemapi enable_winemapi
19123 wine_fn_config_dll wineoss.drv enable_wineoss_drv
19124 wine_fn_config_dll wineps.drv enable_wineps_drv
19125 wine_fn_config_dll wineps16.drv16 enable_win16
19126 wine_fn_config_dll winepulse.drv enable_winepulse_drv
19127 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
19128 wine_fn_config_dll winex11.drv enable_winex11_drv
19129 wine_fn_config_dll wing.dll16 enable_win16
19130 wine_fn_config_dll wing32 enable_wing32
19131 wine_fn_config_dll winhttp enable_winhttp implib
19132 wine_fn_config_test dlls/winhttp/tests winhttp_test
19133 wine_fn_config_dll wininet enable_wininet implib
19134 wine_fn_config_test dlls/wininet/tests wininet_test
19135 wine_fn_config_dll winmm enable_winmm implib
19136 wine_fn_config_test dlls/winmm/tests winmm_test
19137 wine_fn_config_dll winnls.dll16 enable_win16
19138 wine_fn_config_dll winnls32 enable_winnls32 implib
19139 wine_fn_config_dll winscard enable_winscard implib
19140 wine_fn_config_dll winsock.dll16 enable_win16
19141 wine_fn_config_dll winspool.drv enable_winspool_drv implib winspool
19142 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
19143 wine_fn_config_dll winsta enable_winsta
19144 wine_fn_config_dll wintab.dll16 enable_win16
19145 wine_fn_config_dll wintab32 enable_wintab32 implib
19146 wine_fn_config_test dlls/wintab32/tests wintab32_test
19147 wine_fn_config_dll wintrust enable_wintrust implib
19148 wine_fn_config_test dlls/wintrust/tests wintrust_test
19149 wine_fn_config_dll winusb enable_winusb
19150 wine_fn_config_dll wlanapi enable_wlanapi implib
19151 wine_fn_config_test dlls/wlanapi/tests wlanapi_test
19152 wine_fn_config_dll wldap32 enable_wldap32 implib
19153 wine_fn_config_test dlls/wldap32/tests wldap32_test
19154 wine_fn_config_dll wmasf enable_wmasf
19155 wine_fn_config_dll wmi enable_wmi
19156 wine_fn_config_dll wmiutils enable_wmiutils
19157 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
19158 wine_fn_config_dll wmp enable_wmp
19159 wine_fn_config_test dlls/wmp/tests wmp_test
19160 wine_fn_config_dll wmphoto enable_wmphoto
19161 wine_fn_config_dll wmvcore enable_wmvcore implib
19162 wine_fn_config_test dlls/wmvcore/tests wmvcore_test
19163 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
19164 wine_fn_config_dll wow32 enable_win16 implib
19165 wine_fn_config_dll wpc enable_wpc
19166 wine_fn_config_test dlls/wpc/tests wpc_test
19167 wine_fn_config_dll wpcap enable_wpcap
19168 wine_fn_config_dll ws2_32 enable_ws2_32 implib
19169 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
19170 wine_fn_config_dll wsdapi enable_wsdapi implib
19171 wine_fn_config_test dlls/wsdapi/tests wsdapi_test
19172 wine_fn_config_dll wshom.ocx enable_wshom_ocx
19173 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test
19174 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
19175 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
19176 wine_fn_config_dll wsock32 enable_wsock32 implib
19177 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
19178 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
19179 wine_fn_config_dll wuapi enable_wuapi
19180 wine_fn_config_dll wuaueng enable_wuaueng
19181 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
19182 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
19183 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
19184 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
19185 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
19186 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
19187 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
19188 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
19189 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
19190 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
19191 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
19192 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
19193 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
19194 wine_fn_config_dll xaudio2_0 enable_xaudio2_0
19195 wine_fn_config_dll xaudio2_1 enable_xaudio2_1
19196 wine_fn_config_dll xaudio2_2 enable_xaudio2_2
19197 wine_fn_config_dll xaudio2_3 enable_xaudio2_3
19198 wine_fn_config_dll xaudio2_4 enable_xaudio2_4
19199 wine_fn_config_dll xaudio2_5 enable_xaudio2_5
19200 wine_fn_config_dll xaudio2_6 enable_xaudio2_6
19201 wine_fn_config_dll xaudio2_7 enable_xaudio2_7
19202 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
19203 wine_fn_config_dll xaudio2_8 enable_xaudio2_8
19204 wine_fn_config_dll xaudio2_9 enable_xaudio2_9
19205 wine_fn_config_dll xinput1_1 enable_xinput1_1
19206 wine_fn_config_dll xinput1_2 enable_xinput1_2
19207 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
19208 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
19209 wine_fn_config_dll xinput1_4 enable_xinput1_4
19210 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
19211 wine_fn_config_dll xmllite enable_xmllite implib
19212 wine_fn_config_test dlls/xmllite/tests xmllite_test
19213 wine_fn_config_dll xolehlp enable_xolehlp
19214 wine_fn_config_dll xpsprint enable_xpsprint
19215 wine_fn_config_dll xpssvcs enable_xpssvcs
19216 wine_fn_config_makefile fonts enable_fonts install-lib
19217 wine_fn_config_makefile include enable_include install-dev
19218 wine_fn_config_makefile libs/port enable_libs_port
19219 wine_fn_config_makefile libs/wine enable_libs_wine implib,install-dev,install-lib
19220 wine_fn_config_makefile libs/wpp enable_libs_wpp
19221 wine_fn_config_makefile loader enable_loader install-lib
19222 wine_fn_config_makefile po enable_po
19223 wine_fn_config_program arp enable_arp install
19224 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
19225 wine_fn_config_program attrib enable_attrib install
19226 wine_fn_config_program cabarc enable_cabarc install
19227 wine_fn_config_program cacls enable_cacls install
19228 wine_fn_config_program clock enable_clock install
19229 wine_fn_config_program cmd enable_cmd install
19230 wine_fn_config_test programs/cmd/tests cmd.exe_test
19231 wine_fn_config_program conhost enable_conhost install
19232 wine_fn_config_program control enable_control install
19233 wine_fn_config_program cscript enable_cscript install
19234 wine_fn_config_program dpnsvr enable_dpnsvr install
19235 wine_fn_config_program dxdiag enable_dxdiag install
19236 wine_fn_config_program eject enable_eject install
19237 wine_fn_config_program expand enable_expand install
19238 wine_fn_config_program explorer enable_explorer install
19239 wine_fn_config_program extrac32 enable_extrac32 install
19240 wine_fn_config_program findstr enable_findstr install
19241 wine_fn_config_program fsutil enable_fsutil install
19242 wine_fn_config_program hh enable_hh install
19243 wine_fn_config_program hostname enable_hostname install
19244 wine_fn_config_program icacls enable_icacls install
19245 wine_fn_config_program icinfo enable_icinfo install
19246 wine_fn_config_program iexplore enable_iexplore install
19247 wine_fn_config_program ipconfig enable_ipconfig install
19248 wine_fn_config_program lodctr enable_lodctr install
19249 wine_fn_config_program mofcomp enable_mofcomp install
19250 wine_fn_config_program mshta enable_mshta install
19251 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
19252 wine_fn_config_program msinfo32 enable_msinfo32 install
19253 wine_fn_config_program net enable_net install
19254 wine_fn_config_program netsh enable_netsh install
19255 wine_fn_config_program netstat enable_netstat install
19256 wine_fn_config_program ngen enable_ngen install
19257 wine_fn_config_program notepad enable_notepad install,installbin,manpage
19258 wine_fn_config_program oleview enable_oleview install
19259 wine_fn_config_program ping enable_ping install
19260 wine_fn_config_program plugplay enable_plugplay install
19261 wine_fn_config_program powershell enable_powershell install
19262 wine_fn_config_program presentationfontcache enable_presentationfontcache install
19263 wine_fn_config_program progman enable_progman install
19264 wine_fn_config_program reg enable_reg install
19265 wine_fn_config_test programs/reg/tests reg.exe_test
19266 wine_fn_config_program regasm enable_regasm install
19267 wine_fn_config_program regedit enable_regedit install,installbin,manpage
19268 wine_fn_config_test programs/regedit/tests regedit.exe_test
19269 wine_fn_config_program regsvcs enable_regsvcs install
19270 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage
19271 wine_fn_config_program rpcss enable_rpcss install
19272 wine_fn_config_program rundll.exe16 enable_win16 install
19273 wine_fn_config_program rundll32 enable_rundll32 install
19274 wine_fn_config_program sc enable_sc install
19275 wine_fn_config_program schtasks enable_schtasks install
19276 wine_fn_config_test programs/schtasks/tests schtasks.exe_test
19277 wine_fn_config_program sdbinst enable_sdbinst install
19278 wine_fn_config_program secedit enable_secedit install
19279 wine_fn_config_program servicemodelreg enable_servicemodelreg install
19280 wine_fn_config_program services enable_services install
19281 wine_fn_config_test programs/services/tests services.exe_test
19282 wine_fn_config_program shutdown enable_shutdown install
19283 wine_fn_config_program spoolsv enable_spoolsv install
19284 wine_fn_config_program start enable_start install
19285 wine_fn_config_program subst enable_subst install
19286 wine_fn_config_program svchost enable_svchost install
19287 wine_fn_config_program systeminfo enable_systeminfo install
19288 wine_fn_config_program taskkill enable_taskkill install
19289 wine_fn_config_program tasklist enable_tasklist install
19290 wine_fn_config_program taskmgr enable_taskmgr install
19291 wine_fn_config_program termsv enable_termsv install
19292 wine_fn_config_program uninstaller enable_uninstaller install
19293 wine_fn_config_program unlodctr enable_unlodctr install
19294 wine_fn_config_program view enable_view install
19295 wine_fn_config_program wevtutil enable_wevtutil install
19296 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage
19297 wine_fn_config_program winebrowser enable_winebrowser install
19298 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage
19299 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage
19300 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage
19301 wine_fn_config_program winedevice enable_winedevice install
19302 wine_fn_config_program winefile enable_winefile install,installbin,manpage
19303 wine_fn_config_program winemenubuilder enable_winemenubuilder install
19304 wine_fn_config_program winemine enable_winemine install,installbin,manpage
19305 wine_fn_config_program winemsibuilder enable_winemsibuilder install
19306 wine_fn_config_program winepath enable_winepath install,installbin,manpage
19307 wine_fn_config_program winetest enable_winetest
19308 wine_fn_config_program winevdm enable_win16 install
19309 wine_fn_config_program winhelp.exe16 enable_win16 install
19310 wine_fn_config_program winhlp32 enable_winhlp32 install
19311 wine_fn_config_program winoldap.mod16 enable_win16 install
19312 wine_fn_config_program winver enable_winver install
19313 wine_fn_config_program wmic enable_wmic install
19314 wine_fn_config_program wmplayer enable_wmplayer install
19315 wine_fn_config_program wordpad enable_wordpad install
19316 wine_fn_config_program write enable_write install
19317 wine_fn_config_program wscript enable_wscript install
19318 wine_fn_config_test programs/wscript/tests wscript.exe_test
19319 wine_fn_config_program wusa enable_wusa install
19320 wine_fn_config_program xcopy enable_xcopy install
19321 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
19322 wine_fn_config_makefile server enable_server install-lib
19323 wine_fn_config_tool tools
19324 wine_fn_config_tool tools/sfnt2fon
19325 wine_fn_config_tool tools/widl install-dev
19326 wine_fn_config_tool tools/winebuild install-dev
19327 wine_fn_config_tool tools/winedump install-dev
19328 wine_fn_config_tool tools/winegcc install-dev
19329 wine_fn_config_tool tools/winemaker install-dev
19330 wine_fn_config_tool tools/wmc install-dev
19331 wine_fn_config_tool tools/wrc install-dev
19334 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
19335 wine_fn_append_file CONFIGURE_TARGETS "tags"
19336 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
19337 wine_fn_append_file CONFIGURE_TARGETS "config.log"
19338 wine_fn_append_file CONFIGURE_TARGETS "config.status"
19339 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
19340 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
19341 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
19343 if test "x$enable_tools" != xno
19344 then
19345 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
19346 ac_config_commands="$ac_config_commands tools/makedep"
19350 ac_config_commands="$ac_config_commands Makefile"
19353 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
19357 if test "x$enable_maintainer_mode" = xyes
19358 then
19359 wine_fn_append_rule "configure: configure.ac aclocal.m4
19360 autoconf --warnings=all
19361 include/config.h.in: include/stamp-h.in
19362 include/stamp-h.in: configure.ac aclocal.m4
19363 autoheader --warnings=all
19364 @echo timestamp > \$@"
19367 if test "x$enable_tools" != xno
19368 then
19369 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
19370 @./config.status tools/makedep
19371 Makefile: tools/makedep$ac_exeext"
19372 else
19373 wine_fn_append_rule "\$(MAKEDEP):
19374 @echo \"You need to run make in $TOOLSDIR first\" && false"
19377 if test -n "$with_wine64"
19378 then
19379 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
19380 fonts server:
19381 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
19382 $with_wine64/loader/wine:
19383 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
19384 $with_wine64/loader/wine-preloader:
19385 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
19386 clean::
19387 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
19388 else
19389 WINELOADER_INSTALL="wine.inf l_intl.nls"
19391 case $host_os in
19392 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
19393 *) WINELOADER_INSTALL="$WINELOADER_INSTALL wine.desktop" ;;
19394 esac
19397 $as_echo " done" >&6
19398 cat >confcache <<\_ACEOF
19399 # This file is a shell script that caches the results of configure
19400 # tests run on this system so they can be shared between configure
19401 # scripts and configure runs, see configure's option --config-cache.
19402 # It is not useful on other systems. If it contains results you don't
19403 # want to keep, you may remove or edit it.
19405 # config.status only pays attention to the cache file if you give it
19406 # the --recheck option to rerun configure.
19408 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19409 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19410 # following values.
19412 _ACEOF
19414 # The following way of writing the cache mishandles newlines in values,
19415 # but we know of no workaround that is simple, portable, and efficient.
19416 # So, we kill variables containing newlines.
19417 # Ultrix sh set writes to stderr and can't be redirected directly,
19418 # and sets the high bit in the cache file unless we assign to the vars.
19420 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19421 eval ac_val=\$$ac_var
19422 case $ac_val in #(
19423 *${as_nl}*)
19424 case $ac_var in #(
19425 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19426 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19427 esac
19428 case $ac_var in #(
19429 _ | IFS | as_nl) ;; #(
19430 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19431 *) { eval $ac_var=; unset $ac_var;} ;;
19432 esac ;;
19433 esac
19434 done
19436 (set) 2>&1 |
19437 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19438 *${as_nl}ac_space=\ *)
19439 # `set' does not quote correctly, so add quotes: double-quote
19440 # substitution turns \\\\ into \\, and sed turns \\ into \.
19441 sed -n \
19442 "s/'/'\\\\''/g;
19443 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19444 ;; #(
19446 # `set' quotes correctly as required by POSIX, so do not add quotes.
19447 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19449 esac |
19450 sort
19452 sed '
19453 /^ac_cv_env_/b end
19454 t clear
19455 :clear
19456 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19457 t end
19458 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19459 :end' >>confcache
19460 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19461 if test -w "$cache_file"; then
19462 if test "x$cache_file" != "x/dev/null"; then
19463 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19464 $as_echo "$as_me: updating cache $cache_file" >&6;}
19465 if test ! -f "$cache_file" || test -h "$cache_file"; then
19466 cat confcache >"$cache_file"
19467 else
19468 case $cache_file in #(
19469 */* | ?:*)
19470 mv -f confcache "$cache_file"$$ &&
19471 mv -f "$cache_file"$$ "$cache_file" ;; #(
19473 mv -f confcache "$cache_file" ;;
19474 esac
19477 else
19478 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19479 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19482 rm -f confcache
19484 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19485 # Let make expand exec_prefix.
19486 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19488 DEFS=-DHAVE_CONFIG_H
19490 ac_libobjs=
19491 ac_ltlibobjs=
19493 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19494 # 1. Remove the extension, and $U if already installed.
19495 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19496 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19497 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19498 # will be set to the directory where LIBOBJS objects are built.
19499 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19500 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19501 done
19502 LIBOBJS=$ac_libobjs
19504 LTLIBOBJS=$ac_ltlibobjs
19508 : "${CONFIG_STATUS=./config.status}"
19509 ac_write_fail=0
19510 ac_clean_files_save=$ac_clean_files
19511 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19512 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19513 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19514 as_write_fail=0
19515 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19516 #! $SHELL
19517 # Generated by $as_me.
19518 # Run this file to recreate the current configuration.
19519 # Compiler output produced by configure, useful for debugging
19520 # configure, is in config.log if it exists.
19522 debug=false
19523 ac_cs_recheck=false
19524 ac_cs_silent=false
19526 SHELL=\${CONFIG_SHELL-$SHELL}
19527 export SHELL
19528 _ASEOF
19529 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19530 ## -------------------- ##
19531 ## M4sh Initialization. ##
19532 ## -------------------- ##
19534 # Be more Bourne compatible
19535 DUALCASE=1; export DUALCASE # for MKS sh
19536 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19537 emulate sh
19538 NULLCMD=:
19539 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19540 # is contrary to our usage. Disable this feature.
19541 alias -g '${1+"$@"}'='"$@"'
19542 setopt NO_GLOB_SUBST
19543 else
19544 case `(set -o) 2>/dev/null` in #(
19545 *posix*) :
19546 set -o posix ;; #(
19547 *) :
19549 esac
19553 as_nl='
19555 export as_nl
19556 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19557 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19558 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19559 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19560 # Prefer a ksh shell builtin over an external printf program on Solaris,
19561 # but without wasting forks for bash or zsh.
19562 if test -z "$BASH_VERSION$ZSH_VERSION" \
19563 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19564 as_echo='print -r --'
19565 as_echo_n='print -rn --'
19566 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19567 as_echo='printf %s\n'
19568 as_echo_n='printf %s'
19569 else
19570 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19571 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19572 as_echo_n='/usr/ucb/echo -n'
19573 else
19574 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19575 as_echo_n_body='eval
19576 arg=$1;
19577 case $arg in #(
19578 *"$as_nl"*)
19579 expr "X$arg" : "X\\(.*\\)$as_nl";
19580 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19581 esac;
19582 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19584 export as_echo_n_body
19585 as_echo_n='sh -c $as_echo_n_body as_echo'
19587 export as_echo_body
19588 as_echo='sh -c $as_echo_body as_echo'
19591 # The user is always right.
19592 if test "${PATH_SEPARATOR+set}" != set; then
19593 PATH_SEPARATOR=:
19594 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19595 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19596 PATH_SEPARATOR=';'
19601 # IFS
19602 # We need space, tab and new line, in precisely that order. Quoting is
19603 # there to prevent editors from complaining about space-tab.
19604 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19605 # splitting by setting IFS to empty value.)
19606 IFS=" "" $as_nl"
19608 # Find who we are. Look in the path if we contain no directory separator.
19609 as_myself=
19610 case $0 in #((
19611 *[\\/]* ) as_myself=$0 ;;
19612 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19613 for as_dir in $PATH
19615 IFS=$as_save_IFS
19616 test -z "$as_dir" && as_dir=.
19617 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19618 done
19619 IFS=$as_save_IFS
19622 esac
19623 # We did not find ourselves, most probably we were run as `sh COMMAND'
19624 # in which case we are not to be found in the path.
19625 if test "x$as_myself" = x; then
19626 as_myself=$0
19628 if test ! -f "$as_myself"; then
19629 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19630 exit 1
19633 # Unset variables that we do not need and which cause bugs (e.g. in
19634 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19635 # suppresses any "Segmentation fault" message there. '((' could
19636 # trigger a bug in pdksh 5.2.14.
19637 for as_var in BASH_ENV ENV MAIL MAILPATH
19638 do eval test x\${$as_var+set} = xset \
19639 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19640 done
19641 PS1='$ '
19642 PS2='> '
19643 PS4='+ '
19645 # NLS nuisances.
19646 LC_ALL=C
19647 export LC_ALL
19648 LANGUAGE=C
19649 export LANGUAGE
19651 # CDPATH.
19652 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19655 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19656 # ----------------------------------------
19657 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19658 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19659 # script with STATUS, using 1 if that was 0.
19660 as_fn_error ()
19662 as_status=$1; test $as_status -eq 0 && as_status=1
19663 if test "$4"; then
19664 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19665 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19667 $as_echo "$as_me: error: $2" >&2
19668 as_fn_exit $as_status
19669 } # as_fn_error
19672 # as_fn_set_status STATUS
19673 # -----------------------
19674 # Set $? to STATUS, without forking.
19675 as_fn_set_status ()
19677 return $1
19678 } # as_fn_set_status
19680 # as_fn_exit STATUS
19681 # -----------------
19682 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19683 as_fn_exit ()
19685 set +e
19686 as_fn_set_status $1
19687 exit $1
19688 } # as_fn_exit
19690 # as_fn_unset VAR
19691 # ---------------
19692 # Portably unset VAR.
19693 as_fn_unset ()
19695 { eval $1=; unset $1;}
19697 as_unset=as_fn_unset
19698 # as_fn_append VAR VALUE
19699 # ----------------------
19700 # Append the text in VALUE to the end of the definition contained in VAR. Take
19701 # advantage of any shell optimizations that allow amortized linear growth over
19702 # repeated appends, instead of the typical quadratic growth present in naive
19703 # implementations.
19704 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19705 eval 'as_fn_append ()
19707 eval $1+=\$2
19709 else
19710 as_fn_append ()
19712 eval $1=\$$1\$2
19714 fi # as_fn_append
19716 # as_fn_arith ARG...
19717 # ------------------
19718 # Perform arithmetic evaluation on the ARGs, and store the result in the
19719 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19720 # must be portable across $(()) and expr.
19721 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19722 eval 'as_fn_arith ()
19724 as_val=$(( $* ))
19726 else
19727 as_fn_arith ()
19729 as_val=`expr "$@" || test $? -eq 1`
19731 fi # as_fn_arith
19734 if expr a : '\(a\)' >/dev/null 2>&1 &&
19735 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19736 as_expr=expr
19737 else
19738 as_expr=false
19741 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19742 as_basename=basename
19743 else
19744 as_basename=false
19747 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19748 as_dirname=dirname
19749 else
19750 as_dirname=false
19753 as_me=`$as_basename -- "$0" ||
19754 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19755 X"$0" : 'X\(//\)$' \| \
19756 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19757 $as_echo X/"$0" |
19758 sed '/^.*\/\([^/][^/]*\)\/*$/{
19759 s//\1/
19762 /^X\/\(\/\/\)$/{
19763 s//\1/
19766 /^X\/\(\/\).*/{
19767 s//\1/
19770 s/.*/./; q'`
19772 # Avoid depending upon Character Ranges.
19773 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19774 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19775 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19776 as_cr_digits='0123456789'
19777 as_cr_alnum=$as_cr_Letters$as_cr_digits
19779 ECHO_C= ECHO_N= ECHO_T=
19780 case `echo -n x` in #(((((
19781 -n*)
19782 case `echo 'xy\c'` in
19783 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19784 xy) ECHO_C='\c';;
19785 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19786 ECHO_T=' ';;
19787 esac;;
19789 ECHO_N='-n';;
19790 esac
19792 rm -f conf$$ conf$$.exe conf$$.file
19793 if test -d conf$$.dir; then
19794 rm -f conf$$.dir/conf$$.file
19795 else
19796 rm -f conf$$.dir
19797 mkdir conf$$.dir 2>/dev/null
19799 if (echo >conf$$.file) 2>/dev/null; then
19800 if ln -s conf$$.file conf$$ 2>/dev/null; then
19801 as_ln_s='ln -s'
19802 # ... but there are two gotchas:
19803 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19804 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19805 # In both cases, we have to default to `cp -pR'.
19806 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19807 as_ln_s='cp -pR'
19808 elif ln conf$$.file conf$$ 2>/dev/null; then
19809 as_ln_s=ln
19810 else
19811 as_ln_s='cp -pR'
19813 else
19814 as_ln_s='cp -pR'
19816 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19817 rmdir conf$$.dir 2>/dev/null
19820 # as_fn_mkdir_p
19821 # -------------
19822 # Create "$as_dir" as a directory, including parents if necessary.
19823 as_fn_mkdir_p ()
19826 case $as_dir in #(
19827 -*) as_dir=./$as_dir;;
19828 esac
19829 test -d "$as_dir" || eval $as_mkdir_p || {
19830 as_dirs=
19831 while :; do
19832 case $as_dir in #(
19833 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19834 *) as_qdir=$as_dir;;
19835 esac
19836 as_dirs="'$as_qdir' $as_dirs"
19837 as_dir=`$as_dirname -- "$as_dir" ||
19838 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19839 X"$as_dir" : 'X\(//\)[^/]' \| \
19840 X"$as_dir" : 'X\(//\)$' \| \
19841 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19842 $as_echo X"$as_dir" |
19843 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19844 s//\1/
19847 /^X\(\/\/\)[^/].*/{
19848 s//\1/
19851 /^X\(\/\/\)$/{
19852 s//\1/
19855 /^X\(\/\).*/{
19856 s//\1/
19859 s/.*/./; q'`
19860 test -d "$as_dir" && break
19861 done
19862 test -z "$as_dirs" || eval "mkdir $as_dirs"
19863 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19866 } # as_fn_mkdir_p
19867 if mkdir -p . 2>/dev/null; then
19868 as_mkdir_p='mkdir -p "$as_dir"'
19869 else
19870 test -d ./-p && rmdir ./-p
19871 as_mkdir_p=false
19875 # as_fn_executable_p FILE
19876 # -----------------------
19877 # Test if FILE is an executable regular file.
19878 as_fn_executable_p ()
19880 test -f "$1" && test -x "$1"
19881 } # as_fn_executable_p
19882 as_test_x='test -x'
19883 as_executable_p=as_fn_executable_p
19885 # Sed expression to map a string onto a valid CPP name.
19886 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19888 # Sed expression to map a string onto a valid variable name.
19889 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19892 exec 6>&1
19893 ## ----------------------------------- ##
19894 ## Main body of $CONFIG_STATUS script. ##
19895 ## ----------------------------------- ##
19896 _ASEOF
19897 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19899 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19900 # Save the log message, to keep $0 and so on meaningful, and to
19901 # report actual input values of CONFIG_FILES etc. instead of their
19902 # values after options handling.
19903 ac_log="
19904 This file was extended by Wine $as_me 3.2, which was
19905 generated by GNU Autoconf 2.69. Invocation command line was
19907 CONFIG_FILES = $CONFIG_FILES
19908 CONFIG_HEADERS = $CONFIG_HEADERS
19909 CONFIG_LINKS = $CONFIG_LINKS
19910 CONFIG_COMMANDS = $CONFIG_COMMANDS
19911 $ $0 $@
19913 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19916 _ACEOF
19918 case $ac_config_files in *"
19919 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19920 esac
19922 case $ac_config_headers in *"
19923 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19924 esac
19927 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19928 # Files that config.status was made for.
19929 config_files="$ac_config_files"
19930 config_headers="$ac_config_headers"
19931 config_links="$ac_config_links"
19932 config_commands="$ac_config_commands"
19934 _ACEOF
19936 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19937 ac_cs_usage="\
19938 \`$as_me' instantiates files and other configuration actions
19939 from templates according to the current configuration. Unless the files
19940 and actions are specified as TAGs, all are instantiated by default.
19942 Usage: $0 [OPTION]... [TAG]...
19944 -h, --help print this help, then exit
19945 -V, --version print version number and configuration settings, then exit
19946 --config print configuration, then exit
19947 -q, --quiet, --silent
19948 do not print progress messages
19949 -d, --debug don't remove temporary files
19950 --recheck update $as_me by reconfiguring in the same conditions
19951 --file=FILE[:TEMPLATE]
19952 instantiate the configuration file FILE
19953 --header=FILE[:TEMPLATE]
19954 instantiate the configuration header FILE
19956 Configuration files:
19957 $config_files
19959 Configuration headers:
19960 $config_headers
19962 Configuration links:
19963 $config_links
19965 Configuration commands:
19966 $config_commands
19968 Report bugs to <wine-devel@winehq.org>.
19969 Wine home page: <https://www.winehq.org>."
19971 _ACEOF
19972 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19973 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19974 ac_cs_version="\\
19975 Wine config.status 3.2
19976 configured by $0, generated by GNU Autoconf 2.69,
19977 with options \\"\$ac_cs_config\\"
19979 Copyright (C) 2012 Free Software Foundation, Inc.
19980 This config.status script is free software; the Free Software Foundation
19981 gives unlimited permission to copy, distribute and modify it."
19983 ac_pwd='$ac_pwd'
19984 srcdir='$srcdir'
19985 test -n "\$AWK" || AWK=awk
19986 _ACEOF
19988 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19989 # The default lists apply if the user does not specify any file.
19990 ac_need_defaults=:
19991 while test $# != 0
19993 case $1 in
19994 --*=?*)
19995 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19996 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19997 ac_shift=:
19999 --*=)
20000 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20001 ac_optarg=
20002 ac_shift=:
20005 ac_option=$1
20006 ac_optarg=$2
20007 ac_shift=shift
20009 esac
20011 case $ac_option in
20012 # Handling of the options.
20013 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20014 ac_cs_recheck=: ;;
20015 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20016 $as_echo "$ac_cs_version"; exit ;;
20017 --config | --confi | --conf | --con | --co | --c )
20018 $as_echo "$ac_cs_config"; exit ;;
20019 --debug | --debu | --deb | --de | --d | -d )
20020 debug=: ;;
20021 --file | --fil | --fi | --f )
20022 $ac_shift
20023 case $ac_optarg in
20024 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20025 '') as_fn_error $? "missing file argument" ;;
20026 esac
20027 as_fn_append CONFIG_FILES " '$ac_optarg'"
20028 ac_need_defaults=false;;
20029 --header | --heade | --head | --hea )
20030 $ac_shift
20031 case $ac_optarg in
20032 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20033 esac
20034 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20035 ac_need_defaults=false;;
20036 --he | --h)
20037 # Conflict between --help and --header
20038 as_fn_error $? "ambiguous option: \`$1'
20039 Try \`$0 --help' for more information.";;
20040 --help | --hel | -h )
20041 $as_echo "$ac_cs_usage"; exit ;;
20042 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20043 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20044 ac_cs_silent=: ;;
20046 # This is an error.
20047 -*) as_fn_error $? "unrecognized option: \`$1'
20048 Try \`$0 --help' for more information." ;;
20050 *) as_fn_append ac_config_targets " $1"
20051 ac_need_defaults=false ;;
20053 esac
20054 shift
20055 done
20057 ac_configure_extra_args=
20059 if $ac_cs_silent; then
20060 exec 6>/dev/null
20061 ac_configure_extra_args="$ac_configure_extra_args --silent"
20064 _ACEOF
20065 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20066 if \$ac_cs_recheck; then
20067 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20068 shift
20069 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20070 CONFIG_SHELL='$SHELL'
20071 export CONFIG_SHELL
20072 exec "\$@"
20075 _ACEOF
20076 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20077 exec 5>>config.log
20079 echo
20080 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20081 ## Running $as_me. ##
20082 _ASBOX
20083 $as_echo "$ac_log"
20084 } >&5
20086 _ACEOF
20087 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20089 # INIT-COMMANDS
20091 wine_fn_output_makedep ()
20093 as_dir=tools; as_fn_mkdir_p
20094 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
20096 wine_fn_output_makefile ()
20098 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
20099 `cat $wine_rules_file`
20100 _WINE_EOF
20101 as_fn_error $? "could not create Makefile" "$LINENO" 5
20104 _ACEOF
20106 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20108 # Handling of arguments.
20109 for ac_config_target in $ac_config_targets
20111 case $ac_config_target in
20112 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20113 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
20114 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
20115 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
20116 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
20117 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
20118 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
20119 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
20120 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
20121 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
20122 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
20123 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
20124 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
20126 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20127 esac
20128 done
20131 # If the user did not use the arguments to specify the items to instantiate,
20132 # then the envvar interface is used. Set only those that are not.
20133 # We use the long form for the default assignment because of an extremely
20134 # bizarre bug on SunOS 4.1.3.
20135 if $ac_need_defaults; then
20136 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20137 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20138 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
20139 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20142 # Have a temporary directory for convenience. Make it in the build tree
20143 # simply because there is no reason against having it here, and in addition,
20144 # creating and moving files from /tmp can sometimes cause problems.
20145 # Hook for its removal unless debugging.
20146 # Note that there is a small window in which the directory will not be cleaned:
20147 # after its creation but before its name has been assigned to `$tmp'.
20148 $debug ||
20150 tmp= ac_tmp=
20151 trap 'exit_status=$?
20152 : "${ac_tmp:=$tmp}"
20153 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20155 trap 'as_fn_exit 1' 1 2 13 15
20157 # Create a (secure) tmp directory for tmp files.
20160 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20161 test -d "$tmp"
20162 } ||
20164 tmp=./conf$$-$RANDOM
20165 (umask 077 && mkdir "$tmp")
20166 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20167 ac_tmp=$tmp
20169 # Set up the scripts for CONFIG_FILES section.
20170 # No need to generate them if there are no CONFIG_FILES.
20171 # This happens for instance with `./config.status config.h'.
20172 if test -n "$CONFIG_FILES"; then
20175 ac_cr=`echo X | tr X '\015'`
20176 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20177 # But we know of no other shell where ac_cr would be empty at this
20178 # point, so we can use a bashism as a fallback.
20179 if test "x$ac_cr" = x; then
20180 eval ac_cr=\$\'\\r\'
20182 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20183 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20184 ac_cs_awk_cr='\\r'
20185 else
20186 ac_cs_awk_cr=$ac_cr
20189 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20190 _ACEOF
20194 echo "cat >conf$$subs.awk <<_ACEOF" &&
20195 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20196 echo "_ACEOF"
20197 } >conf$$subs.sh ||
20198 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20199 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20200 ac_delim='%!_!# '
20201 for ac_last_try in false false false false false :; do
20202 . ./conf$$subs.sh ||
20203 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20205 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20206 if test $ac_delim_n = $ac_delim_num; then
20207 break
20208 elif $ac_last_try; then
20209 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20210 else
20211 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20213 done
20214 rm -f conf$$subs.sh
20216 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20217 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
20218 _ACEOF
20219 sed -n '
20221 s/^/S["/; s/!.*/"]=/
20224 s/^[^!]*!//
20225 :repl
20226 t repl
20227 s/'"$ac_delim"'$//
20228 t delim
20231 s/\(.\{148\}\)..*/\1/
20232 t more1
20233 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20236 b repl
20237 :more1
20238 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20241 s/.\{148\}//
20242 t nl
20243 :delim
20245 s/\(.\{148\}\)..*/\1/
20246 t more2
20247 s/["\\]/\\&/g; s/^/"/; s/$/"/
20250 :more2
20251 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20254 s/.\{148\}//
20255 t delim
20256 ' <conf$$subs.awk | sed '
20257 /^[^""]/{
20259 s/\n//
20261 ' >>$CONFIG_STATUS || ac_write_fail=1
20262 rm -f conf$$subs.awk
20263 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20264 _ACAWK
20265 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
20266 for (key in S) S_is_set[key] = 1
20267 FS = "\a"
20271 line = $ 0
20272 nfields = split(line, field, "@")
20273 substed = 0
20274 len = length(field[1])
20275 for (i = 2; i < nfields; i++) {
20276 key = field[i]
20277 keylen = length(key)
20278 if (S_is_set[key]) {
20279 value = S[key]
20280 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20281 len += length(value) + length(field[++i])
20282 substed = 1
20283 } else
20284 len += 1 + keylen
20287 print line
20290 _ACAWK
20291 _ACEOF
20292 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20293 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20294 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20295 else
20297 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
20298 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20299 _ACEOF
20301 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20302 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20303 # trailing colons and then remove the whole line if VPATH becomes empty
20304 # (actually we leave an empty line to preserve line numbers).
20305 if test "x$srcdir" = x.; then
20306 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20308 s///
20309 s/^/:/
20310 s/[ ]*$/:/
20311 s/:\$(srcdir):/:/g
20312 s/:\${srcdir}:/:/g
20313 s/:@srcdir@:/:/g
20314 s/^:*//
20315 s/:*$//
20317 s/\(=[ ]*\).*/\1/
20319 s/\n//
20320 s/^[^=]*=[ ]*$//
20324 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20325 fi # test -n "$CONFIG_FILES"
20327 # Set up the scripts for CONFIG_HEADERS section.
20328 # No need to generate them if there are no CONFIG_HEADERS.
20329 # This happens for instance with `./config.status Makefile'.
20330 if test -n "$CONFIG_HEADERS"; then
20331 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20332 BEGIN {
20333 _ACEOF
20335 # Transform confdefs.h into an awk script `defines.awk', embedded as
20336 # here-document in config.status, that substitutes the proper values into
20337 # config.h.in to produce config.h.
20339 # Create a delimiter string that does not exist in confdefs.h, to ease
20340 # handling of long lines.
20341 ac_delim='%!_!# '
20342 for ac_last_try in false false :; do
20343 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20344 if test -z "$ac_tt"; then
20345 break
20346 elif $ac_last_try; then
20347 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20348 else
20349 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20351 done
20353 # For the awk script, D is an array of macro values keyed by name,
20354 # likewise P contains macro parameters if any. Preserve backslash
20355 # newline sequences.
20357 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20358 sed -n '
20359 s/.\{148\}/&'"$ac_delim"'/g
20360 t rset
20361 :rset
20362 s/^[ ]*#[ ]*define[ ][ ]*/ /
20363 t def
20365 :def
20366 s/\\$//
20367 t bsnl
20368 s/["\\]/\\&/g
20369 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20370 D["\1"]=" \3"/p
20371 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
20373 :bsnl
20374 s/["\\]/\\&/g
20375 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20376 D["\1"]=" \3\\\\\\n"\\/p
20377 t cont
20378 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20379 t cont
20381 :cont
20383 s/.\{148\}/&'"$ac_delim"'/g
20384 t clear
20385 :clear
20386 s/\\$//
20387 t bsnlc
20388 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20390 :bsnlc
20391 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20392 b cont
20393 ' <confdefs.h | sed '
20394 s/'"$ac_delim"'/"\\\
20395 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20397 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20398 for (key in D) D_is_set[key] = 1
20399 FS = "\a"
20401 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20402 line = \$ 0
20403 split(line, arg, " ")
20404 if (arg[1] == "#") {
20405 defundef = arg[2]
20406 mac1 = arg[3]
20407 } else {
20408 defundef = substr(arg[1], 2)
20409 mac1 = arg[2]
20411 split(mac1, mac2, "(") #)
20412 macro = mac2[1]
20413 prefix = substr(line, 1, index(line, defundef) - 1)
20414 if (D_is_set[macro]) {
20415 # Preserve the white space surrounding the "#".
20416 print prefix "define", macro P[macro] D[macro]
20417 next
20418 } else {
20419 # Replace #undef with comments. This is necessary, for example,
20420 # in the case of _POSIX_SOURCE, which is predefined and required
20421 # on some systems where configure will not decide to define it.
20422 if (defundef == "undef") {
20423 print "/*", prefix defundef, macro, "*/"
20424 next
20428 { print }
20429 _ACAWK
20430 _ACEOF
20431 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20432 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20433 fi # test -n "$CONFIG_HEADERS"
20436 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
20437 shift
20438 for ac_tag
20440 case $ac_tag in
20441 :[FHLC]) ac_mode=$ac_tag; continue;;
20442 esac
20443 case $ac_mode$ac_tag in
20444 :[FHL]*:*);;
20445 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20446 :[FH]-) ac_tag=-:-;;
20447 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20448 esac
20449 ac_save_IFS=$IFS
20450 IFS=:
20451 set x $ac_tag
20452 IFS=$ac_save_IFS
20453 shift
20454 ac_file=$1
20455 shift
20457 case $ac_mode in
20458 :L) ac_source=$1;;
20459 :[FH])
20460 ac_file_inputs=
20461 for ac_f
20463 case $ac_f in
20464 -) ac_f="$ac_tmp/stdin";;
20465 *) # Look for the file first in the build tree, then in the source tree
20466 # (if the path is not absolute). The absolute path cannot be DOS-style,
20467 # because $ac_f cannot contain `:'.
20468 test -f "$ac_f" ||
20469 case $ac_f in
20470 [\\/$]*) false;;
20471 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20472 esac ||
20473 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20474 esac
20475 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20476 as_fn_append ac_file_inputs " '$ac_f'"
20477 done
20479 # Let's still pretend it is `configure' which instantiates (i.e., don't
20480 # use $as_me), people would be surprised to read:
20481 # /* config.h. Generated by config.status. */
20482 configure_input='Generated from '`
20483 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20484 `' by configure.'
20485 if test x"$ac_file" != x-; then
20486 configure_input="$ac_file. $configure_input"
20487 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20488 $as_echo "$as_me: creating $ac_file" >&6;}
20490 # Neutralize special characters interpreted by sed in replacement strings.
20491 case $configure_input in #(
20492 *\&* | *\|* | *\\* )
20493 ac_sed_conf_input=`$as_echo "$configure_input" |
20494 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20495 *) ac_sed_conf_input=$configure_input;;
20496 esac
20498 case $ac_tag in
20499 *:-:* | *:-) cat >"$ac_tmp/stdin" \
20500 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20501 esac
20503 esac
20505 ac_dir=`$as_dirname -- "$ac_file" ||
20506 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20507 X"$ac_file" : 'X\(//\)[^/]' \| \
20508 X"$ac_file" : 'X\(//\)$' \| \
20509 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20510 $as_echo X"$ac_file" |
20511 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20512 s//\1/
20515 /^X\(\/\/\)[^/].*/{
20516 s//\1/
20519 /^X\(\/\/\)$/{
20520 s//\1/
20523 /^X\(\/\).*/{
20524 s//\1/
20527 s/.*/./; q'`
20528 as_dir="$ac_dir"; as_fn_mkdir_p
20529 ac_builddir=.
20531 case "$ac_dir" in
20532 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20534 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20535 # A ".." for each directory in $ac_dir_suffix.
20536 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20537 case $ac_top_builddir_sub in
20538 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20539 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20540 esac ;;
20541 esac
20542 ac_abs_top_builddir=$ac_pwd
20543 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20544 # for backward compatibility:
20545 ac_top_builddir=$ac_top_build_prefix
20547 case $srcdir in
20548 .) # We are building in place.
20549 ac_srcdir=.
20550 ac_top_srcdir=$ac_top_builddir_sub
20551 ac_abs_top_srcdir=$ac_pwd ;;
20552 [\\/]* | ?:[\\/]* ) # Absolute name.
20553 ac_srcdir=$srcdir$ac_dir_suffix;
20554 ac_top_srcdir=$srcdir
20555 ac_abs_top_srcdir=$srcdir ;;
20556 *) # Relative name.
20557 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20558 ac_top_srcdir=$ac_top_build_prefix$srcdir
20559 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20560 esac
20561 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20564 case $ac_mode in
20567 # CONFIG_FILE
20570 _ACEOF
20572 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20573 # If the template does not know about datarootdir, expand it.
20574 # FIXME: This hack should be removed a few years after 2.60.
20575 ac_datarootdir_hack=; ac_datarootdir_seen=
20576 ac_sed_dataroot='
20577 /datarootdir/ {
20581 /@datadir@/p
20582 /@docdir@/p
20583 /@infodir@/p
20584 /@localedir@/p
20585 /@mandir@/p'
20586 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20587 *datarootdir*) ac_datarootdir_seen=yes;;
20588 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20589 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20590 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20591 _ACEOF
20592 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20593 ac_datarootdir_hack='
20594 s&@datadir@&$datadir&g
20595 s&@docdir@&$docdir&g
20596 s&@infodir@&$infodir&g
20597 s&@localedir@&$localedir&g
20598 s&@mandir@&$mandir&g
20599 s&\\\${datarootdir}&$datarootdir&g' ;;
20600 esac
20601 _ACEOF
20603 # Neutralize VPATH when `$srcdir' = `.'.
20604 # Shell code in configure.ac might set extrasub.
20605 # FIXME: do we really want to maintain this feature?
20606 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20607 ac_sed_extra="$ac_vpsub
20608 $extrasub
20609 _ACEOF
20610 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20612 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20613 s|@configure_input@|$ac_sed_conf_input|;t t
20614 s&@top_builddir@&$ac_top_builddir_sub&;t t
20615 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20616 s&@srcdir@&$ac_srcdir&;t t
20617 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20618 s&@top_srcdir@&$ac_top_srcdir&;t t
20619 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20620 s&@builddir@&$ac_builddir&;t t
20621 s&@abs_builddir@&$ac_abs_builddir&;t t
20622 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20623 $ac_datarootdir_hack
20625 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20626 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20628 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20629 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20630 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20631 "$ac_tmp/out"`; test -z "$ac_out"; } &&
20632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20633 which seems to be undefined. Please make sure it is defined" >&5
20634 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20635 which seems to be undefined. Please make sure it is defined" >&2;}
20637 rm -f "$ac_tmp/stdin"
20638 case $ac_file in
20639 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20640 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20641 esac \
20642 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20646 # CONFIG_HEADER
20648 if test x"$ac_file" != x-; then
20650 $as_echo "/* $configure_input */" \
20651 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20652 } >"$ac_tmp/config.h" \
20653 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20654 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20655 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20656 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20657 else
20658 rm -f "$ac_file"
20659 mv "$ac_tmp/config.h" "$ac_file" \
20660 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20662 else
20663 $as_echo "/* $configure_input */" \
20664 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20665 || as_fn_error $? "could not create -" "$LINENO" 5
20670 # CONFIG_LINK
20673 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
20675 else
20676 # Prefer the file from the source tree if names are identical.
20677 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
20678 ac_source=$srcdir/$ac_source
20681 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
20682 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20684 if test ! -r "$ac_source"; then
20685 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20687 rm -f "$ac_file"
20689 # Try a relative symlink, then a hard link, then a copy.
20690 case $ac_source in
20691 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20692 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20693 esac
20694 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20695 ln "$ac_source" "$ac_file" 2>/dev/null ||
20696 cp -p "$ac_source" "$ac_file" ||
20697 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20700 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20701 $as_echo "$as_me: executing $ac_file commands" >&6;}
20703 esac
20706 case $ac_file$ac_mode in
20707 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20708 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20709 "Makefile":C) wine_fn_output_makefile Makefile ;;
20711 esac
20712 done # for ac_tag
20715 as_fn_exit 0
20716 _ACEOF
20717 ac_clean_files=$ac_clean_files_save
20719 test $ac_write_fail = 0 ||
20720 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20723 # configure is writing to config.log, and then calls config.status.
20724 # config.status does its own redirection, appending to config.log.
20725 # Unfortunately, on DOS this fails, as config.log is still kept open
20726 # by configure, so config.status won't be able to write to it; its
20727 # output is simply discarded. So we exec the FD to /dev/null,
20728 # effectively closing config.log, so it can be properly (re)opened and
20729 # appended to by config.status. When coming back to configure, we
20730 # need to make the FD available again.
20731 if test "$no_create" != yes; then
20732 ac_cs_success=:
20733 ac_config_status_args=
20734 test "$silent" = yes &&
20735 ac_config_status_args="$ac_config_status_args --quiet"
20736 exec 5>/dev/null
20737 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20738 exec 5>>config.log
20739 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20740 # would make configure fail if this is the last instruction.
20741 $ac_cs_success || as_fn_exit 1
20743 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20744 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20745 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20749 if test "$no_create" = "yes"
20750 then
20751 exit 0
20754 ac_save_IFS="$IFS"
20755 if test "x$wine_notices" != x; then
20756 echo >&6
20757 IFS="|"
20758 for msg in $wine_notices; do
20759 IFS="$ac_save_IFS"
20760 if ${msg:+false} :; then :
20762 else
20763 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20764 $as_echo "$as_me: $msg" >&6;}
20766 done
20768 IFS="|"
20769 for msg in $wine_warnings; do
20770 IFS="$ac_save_IFS"
20771 if ${msg:+false} :; then :
20773 else
20774 echo >&2
20775 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20776 $as_echo "$as_me: WARNING: $msg" >&2;}
20778 done
20779 IFS="$ac_save_IFS"
20781 $as_echo "
20782 $as_me: Finished. Do '${ac_make}' to compile Wine.
20783 " >&6