d3d9: Use wined3d_buffer_create() in d3d9_device_prepare_index_buffer().
[wine.git] / configure
blobc7c7e40d6351853f2b20c472b53ef1fedef8b9a0
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 3.1.
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.1'
584 PACKAGE_STRING='Wine 3.1'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='https://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 WINELOADER_INSTALL
628 ALL_VARS_RULES
629 LDAP_LIBS
630 LDAP_CFLAGS
631 RT_LIBS
632 POLL_LIBS
633 DL_LIBS
634 TOOLSEXT
635 UNWINDFLAGS
636 EXCESS_PRECISION_CFLAGS
637 BUILTINFLAG
638 EXTRACFLAGS
639 NETAPI_LIBS
640 NETAPI_CFLAGS
641 PROCSTAT_LIBS
642 KSTAT_LIBS
643 MPG123_LIBS
644 MPG123_CFLAGS
645 TIFF_LIBS
646 TIFF_CFLAGS
647 PNG_LIBS
648 PNG_CFLAGS
649 JPEG_LIBS
650 JPEG_CFLAGS
651 GSSAPI_LIBS
652 GSSAPI_CFLAGS
653 KRB5_LIBS
654 KRB5_CFLAGS
655 FONTCONFIG_LIBS
656 FONTCONFIG_CFLAGS
657 CUPS_LIBS
658 CUPS_CFLAGS
659 CAPI20_LIBS
660 CAPI20_CFLAGS
661 UDEV_LIBS
662 UDEV_CFLAGS
663 OSS4_CFLAGS
664 ALSA_LIBS
665 GSTREAMER_LIBS
666 GSTREAMER_CFLAGS
667 PULSE_LIBS
668 PULSE_CFLAGS
669 GETTEXTPO_LIBS
670 Z_LIBS
671 FREETYPE_LIBS
672 FREETYPE_CFLAGS
673 LCMS2_LIBS
674 LCMS2_CFLAGS
675 RESOLV_LIBS
676 GPHOTO2_PORT_LIBS
677 GPHOTO2_PORT_CFLAGS
678 GPHOTO2_LIBS
679 GPHOTO2_CFLAGS
680 SANE_LIBS
681 SANE_CFLAGS
682 GNUTLS_LIBS
683 GNUTLS_CFLAGS
684 HAL_LIBS
685 HAL_CFLAGS
686 DBUS_LIBS
687 DBUS_CFLAGS
688 XSLT_LIBS
689 XSLT_CFLAGS
690 XML2_LIBS
691 XML2_CFLAGS
692 PCAP_LIBS
693 X_EXTRA_LIBS
694 X_LIBS
695 X_PRE_LIBS
696 X_CFLAGS
697 XMKMF
698 PTHREAD_LIBS
699 CROSSCFLAGS
700 CROSSCC
701 CROSSTARGET
702 PRELINK
703 WINELOADER_DEPENDS
704 CARBON_LIBS
705 QUICKTIME_LIBS
706 OPENCL_LIBS
707 OPENAL_LIBS
708 COREAUDIO_LIBS
709 SECURITY_LIBS
710 DISKARBITRATION_LIBS
711 APPKIT_LIBS
712 CORESERVICES_LIBS
713 APPLICATIONSERVICES_LIBS
714 FORCEFEEDBACK_LIBS
715 IOKIT_LIBS
716 COREFOUNDATION_LIBS
717 LIBWINE_DEPENDS
718 LIBWINE_LDFLAGS
719 LIBWINE_INSTALL_DEV
720 LIBWINE_INSTALL_LIB
721 LIBWINE_IMPORTLIB
722 LIBWINE_SHAREDLIB
723 SOCKET_LIBS
724 DLLTOOL
725 WINELOADER_PROGRAMS
726 ALL_TEST_RESOURCES
727 CONFIGURE_TARGETS
728 DISABLED_SUBDIRS
729 SUBDIRS
730 READELF
731 OTOOL
733 WINELOADER_LDFLAGS
734 LDEXECFLAGS
735 LDRPATH_LOCAL
736 LDRPATH_INSTALL
737 DLLFLAGS
738 dlldir
740 OPENGL_LIBS
741 ICOTOOL
742 CONVERT
743 RSVG
744 FONTFORGE
745 PKG_CONFIG
746 MSGFMT
747 LDCONFIG
748 EGREP
749 GREP
750 LN_S
751 RANLIB
752 ARFLAGS
753 STRIP
754 ac_ct_AR
756 BISON
757 FLEX
758 TOOLSDIR
759 TARGETFLAGS
761 CPPBIN
762 ac_ct_CXX
763 CXXFLAGS
765 OBJEXT
766 EXEEXT
767 ac_ct_CC
768 CPPFLAGS
769 LDFLAGS
770 CFLAGS
772 SET_MAKE
773 host_os
774 host_vendor
775 host_cpu
776 host
777 build_os
778 build_vendor
779 build_cpu
780 build
781 target_alias
782 host_alias
783 build_alias
784 LIBS
785 ECHO_T
786 ECHO_N
787 ECHO_C
788 DEFS
789 mandir
790 localedir
791 libdir
792 psdir
793 pdfdir
794 dvidir
795 htmldir
796 infodir
797 docdir
798 oldincludedir
799 includedir
800 runstatedir
801 localstatedir
802 sharedstatedir
803 sysconfdir
804 datadir
805 datarootdir
806 libexecdir
807 sbindir
808 bindir
809 program_transform_name
810 prefix
811 exec_prefix
812 PACKAGE_URL
813 PACKAGE_BUGREPORT
814 PACKAGE_STRING
815 PACKAGE_VERSION
816 PACKAGE_TARNAME
817 PACKAGE_NAME
818 PATH_SEPARATOR
819 SHELL'
820 ac_subst_files=''
821 ac_user_opts='
822 enable_option_checking
823 enable_win16
824 enable_win64
825 enable_tests
826 enable_maintainer_mode
827 with_alsa
828 with_capi
829 with_cms
830 with_coreaudio
831 with_cups
832 with_curses
833 with_dbus
834 with_float_abi
835 with_fontconfig
836 with_freetype
837 with_gettext
838 with_gettextpo
839 with_gphoto
840 with_glu
841 with_gnutls
842 with_gsm
843 with_gssapi
844 with_gstreamer
845 with_hal
846 with_jpeg
847 with_krb5
848 with_ldap
849 with_mpg123
850 with_netapi
851 with_openal
852 with_opencl
853 with_opengl
854 with_osmesa
855 with_oss
856 with_pcap
857 with_png
858 with_pthread
859 with_pulse
860 with_sane
861 with_tiff
862 with_udev
863 with_v4l
864 with_xcomposite
865 with_xcursor
866 with_xfixes
867 with_xinerama
868 with_xinput
869 with_xinput2
870 with_xml
871 with_xrandr
872 with_xrender
873 with_xshape
874 with_xshm
875 with_xslt
876 with_xxf86vm
877 with_zlib
878 with_wine_tools
879 with_wine64
880 enable_largefile
881 with_x
882 enable_acledit
883 enable_aclui
884 enable_activeds
885 enable_actxprxy
886 enable_adsldpc
887 enable_advapi32
888 enable_advpack
889 enable_amstream
890 enable_api_ms_win_appmodel_identity_l1_1_0
891 enable_api_ms_win_appmodel_runtime_l1_1_1
892 enable_api_ms_win_appmodel_runtime_l1_1_2
893 enable_api_ms_win_core_apiquery_l1_1_0
894 enable_api_ms_win_core_appcompat_l1_1_1
895 enable_api_ms_win_core_appinit_l1_1_0
896 enable_api_ms_win_core_atoms_l1_1_0
897 enable_api_ms_win_core_bem_l1_1_0
898 enable_api_ms_win_core_com_l1_1_0
899 enable_api_ms_win_core_com_l1_1_1
900 enable_api_ms_win_core_com_private_l1_1_0
901 enable_api_ms_win_core_console_l1_1_0
902 enable_api_ms_win_core_console_l2_1_0
903 enable_api_ms_win_core_crt_l1_1_0
904 enable_api_ms_win_core_crt_l2_1_0
905 enable_api_ms_win_core_datetime_l1_1_0
906 enable_api_ms_win_core_datetime_l1_1_1
907 enable_api_ms_win_core_debug_l1_1_0
908 enable_api_ms_win_core_debug_l1_1_1
909 enable_api_ms_win_core_delayload_l1_1_0
910 enable_api_ms_win_core_delayload_l1_1_1
911 enable_api_ms_win_core_errorhandling_l1_1_0
912 enable_api_ms_win_core_errorhandling_l1_1_1
913 enable_api_ms_win_core_errorhandling_l1_1_2
914 enable_api_ms_win_core_errorhandling_l1_1_3
915 enable_api_ms_win_core_fibers_l1_1_0
916 enable_api_ms_win_core_fibers_l1_1_1
917 enable_api_ms_win_core_file_l1_1_0
918 enable_api_ms_win_core_file_l1_2_0
919 enable_api_ms_win_core_file_l1_2_1
920 enable_api_ms_win_core_file_l1_2_2
921 enable_api_ms_win_core_file_l2_1_0
922 enable_api_ms_win_core_file_l2_1_1
923 enable_api_ms_win_core_file_l2_1_2
924 enable_api_ms_win_core_handle_l1_1_0
925 enable_api_ms_win_core_heap_l1_1_0
926 enable_api_ms_win_core_heap_l1_2_0
927 enable_api_ms_win_core_heap_l2_1_0
928 enable_api_ms_win_core_heap_obsolete_l1_1_0
929 enable_api_ms_win_core_interlocked_l1_1_0
930 enable_api_ms_win_core_interlocked_l1_2_0
931 enable_api_ms_win_core_io_l1_1_0
932 enable_api_ms_win_core_io_l1_1_1
933 enable_api_ms_win_core_job_l1_1_0
934 enable_api_ms_win_core_job_l2_1_0
935 enable_api_ms_win_core_kernel32_legacy_l1_1_0
936 enable_api_ms_win_core_kernel32_legacy_l1_1_1
937 enable_api_ms_win_core_kernel32_private_l1_1_1
938 enable_api_ms_win_core_libraryloader_l1_1_0
939 enable_api_ms_win_core_libraryloader_l1_1_1
940 enable_api_ms_win_core_libraryloader_l1_2_0
941 enable_api_ms_win_core_libraryloader_l1_2_1
942 enable_api_ms_win_core_libraryloader_l1_2_2
943 enable_api_ms_win_core_localization_l1_1_0
944 enable_api_ms_win_core_localization_l1_2_0
945 enable_api_ms_win_core_localization_l1_2_1
946 enable_api_ms_win_core_localization_l2_1_0
947 enable_api_ms_win_core_localization_obsolete_l1_1_0
948 enable_api_ms_win_core_localization_obsolete_l1_2_0
949 enable_api_ms_win_core_localization_obsolete_l1_3_0
950 enable_api_ms_win_core_localization_private_l1_1_0
951 enable_api_ms_win_core_localregistry_l1_1_0
952 enable_api_ms_win_core_memory_l1_1_0
953 enable_api_ms_win_core_memory_l1_1_1
954 enable_api_ms_win_core_memory_l1_1_2
955 enable_api_ms_win_core_misc_l1_1_0
956 enable_api_ms_win_core_namedpipe_l1_1_0
957 enable_api_ms_win_core_namedpipe_l1_2_0
958 enable_api_ms_win_core_namespace_l1_1_0
959 enable_api_ms_win_core_normalization_l1_1_0
960 enable_api_ms_win_core_path_l1_1_0
961 enable_api_ms_win_core_privateprofile_l1_1_1
962 enable_api_ms_win_core_processenvironment_l1_1_0
963 enable_api_ms_win_core_processenvironment_l1_2_0
964 enable_api_ms_win_core_processthreads_l1_1_0
965 enable_api_ms_win_core_processthreads_l1_1_1
966 enable_api_ms_win_core_processthreads_l1_1_2
967 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
968 enable_api_ms_win_core_profile_l1_1_0
969 enable_api_ms_win_core_psapi_ansi_l1_1_0
970 enable_api_ms_win_core_psapi_l1_1_0
971 enable_api_ms_win_core_psapi_obsolete_l1_1_0
972 enable_api_ms_win_core_quirks_l1_1_0
973 enable_api_ms_win_core_realtime_l1_1_0
974 enable_api_ms_win_core_registry_l1_1_0
975 enable_api_ms_win_core_registry_l2_1_0
976 enable_api_ms_win_core_registryuserspecific_l1_1_0
977 enable_api_ms_win_core_rtlsupport_l1_1_0
978 enable_api_ms_win_core_rtlsupport_l1_2_0
979 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
980 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
981 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
982 enable_api_ms_win_core_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_power_base_l1_1_0
1059 enable_api_ms_win_power_setting_l1_1_0
1060 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1061 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1062 enable_api_ms_win_security_audit_l1_1_1
1063 enable_api_ms_win_security_base_l1_1_0
1064 enable_api_ms_win_security_base_l1_2_0
1065 enable_api_ms_win_security_base_private_l1_1_1
1066 enable_api_ms_win_security_credentials_l1_1_0
1067 enable_api_ms_win_security_grouppolicy_l1_1_0
1068 enable_api_ms_win_security_lsalookup_l1_1_0
1069 enable_api_ms_win_security_lsalookup_l1_1_1
1070 enable_api_ms_win_security_lsalookup_l2_1_0
1071 enable_api_ms_win_security_lsalookup_l2_1_1
1072 enable_api_ms_win_security_lsapolicy_l1_1_0
1073 enable_api_ms_win_security_provider_l1_1_0
1074 enable_api_ms_win_security_sddl_l1_1_0
1075 enable_api_ms_win_security_systemfunctions_l1_1_0
1076 enable_api_ms_win_service_core_l1_1_0
1077 enable_api_ms_win_service_core_l1_1_1
1078 enable_api_ms_win_service_management_l1_1_0
1079 enable_api_ms_win_service_management_l2_1_0
1080 enable_api_ms_win_service_private_l1_1_1
1081 enable_api_ms_win_service_winsvc_l1_1_0
1082 enable_api_ms_win_service_winsvc_l1_2_0
1083 enable_api_ms_win_shcore_scaling_l1_1_1
1084 enable_api_ms_win_shell_shellcom_l1_1_0
1085 enable_api_ms_win_shell_shellfolders_l1_1_0
1086 enable_apphelp
1087 enable_appwiz_cpl
1088 enable_atl
1089 enable_atl100
1090 enable_atl110
1091 enable_atl80
1092 enable_atl90
1093 enable_authz
1094 enable_avicap32
1095 enable_avifil32
1096 enable_avrt
1097 enable_bcrypt
1098 enable_bluetoothapis
1099 enable_browseui
1100 enable_bthprops_cpl
1101 enable_cabinet
1102 enable_capi2032
1103 enable_cards
1104 enable_cfgmgr32
1105 enable_clusapi
1106 enable_combase
1107 enable_comcat
1108 enable_comctl32
1109 enable_comdlg32
1110 enable_compstui
1111 enable_comsvcs
1112 enable_concrt140
1113 enable_connect
1114 enable_credui
1115 enable_crtdll
1116 enable_crypt32
1117 enable_cryptdlg
1118 enable_cryptdll
1119 enable_cryptext
1120 enable_cryptnet
1121 enable_cryptui
1122 enable_ctapi32
1123 enable_ctl3d32
1124 enable_d2d1
1125 enable_d3d10
1126 enable_d3d10_1
1127 enable_d3d10core
1128 enable_d3d11
1129 enable_d3d8
1130 enable_d3d9
1131 enable_d3dcompiler_33
1132 enable_d3dcompiler_34
1133 enable_d3dcompiler_35
1134 enable_d3dcompiler_36
1135 enable_d3dcompiler_37
1136 enable_d3dcompiler_38
1137 enable_d3dcompiler_39
1138 enable_d3dcompiler_40
1139 enable_d3dcompiler_41
1140 enable_d3dcompiler_42
1141 enable_d3dcompiler_43
1142 enable_d3dcompiler_46
1143 enable_d3dcompiler_47
1144 enable_d3dim
1145 enable_d3drm
1146 enable_d3dx10_33
1147 enable_d3dx10_34
1148 enable_d3dx10_35
1149 enable_d3dx10_36
1150 enable_d3dx10_37
1151 enable_d3dx10_38
1152 enable_d3dx10_39
1153 enable_d3dx10_40
1154 enable_d3dx10_41
1155 enable_d3dx10_42
1156 enable_d3dx10_43
1157 enable_d3dx11_42
1158 enable_d3dx11_43
1159 enable_d3dx9_24
1160 enable_d3dx9_25
1161 enable_d3dx9_26
1162 enable_d3dx9_27
1163 enable_d3dx9_28
1164 enable_d3dx9_29
1165 enable_d3dx9_30
1166 enable_d3dx9_31
1167 enable_d3dx9_32
1168 enable_d3dx9_33
1169 enable_d3dx9_34
1170 enable_d3dx9_35
1171 enable_d3dx9_36
1172 enable_d3dx9_37
1173 enable_d3dx9_38
1174 enable_d3dx9_39
1175 enable_d3dx9_40
1176 enable_d3dx9_41
1177 enable_d3dx9_42
1178 enable_d3dx9_43
1179 enable_d3dxof
1180 enable_davclnt
1181 enable_dbgeng
1182 enable_dbghelp
1183 enable_dciman32
1184 enable_ddraw
1185 enable_ddrawex
1186 enable_devenum
1187 enable_dhcpcsvc
1188 enable_dhtmled_ocx
1189 enable_difxapi
1190 enable_dinput
1191 enable_dinput8
1192 enable_dispex
1193 enable_dmband
1194 enable_dmcompos
1195 enable_dmime
1196 enable_dmloader
1197 enable_dmscript
1198 enable_dmstyle
1199 enable_dmsynth
1200 enable_dmusic
1201 enable_dmusic32
1202 enable_dnsapi
1203 enable_dplay
1204 enable_dplayx
1205 enable_dpnaddr
1206 enable_dpnet
1207 enable_dpnhpast
1208 enable_dpnlobby
1209 enable_dpvoice
1210 enable_dpwsockx
1211 enable_drmclien
1212 enable_dsound
1213 enable_dsquery
1214 enable_dssenh
1215 enable_dswave
1216 enable_dwmapi
1217 enable_dwrite
1218 enable_dx8vb
1219 enable_dxdiagn
1220 enable_dxgi
1221 enable_dxva2
1222 enable_esent
1223 enable_evr
1224 enable_explorerframe
1225 enable_ext_ms_win_authz_context_l1_1_0
1226 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1227 enable_ext_ms_win_gdi_dc_create_l1_1_1
1228 enable_ext_ms_win_gdi_dc_l1_2_0
1229 enable_ext_ms_win_gdi_devcaps_l1_1_0
1230 enable_ext_ms_win_gdi_draw_l1_1_1
1231 enable_ext_ms_win_gdi_render_l1_1_0
1232 enable_ext_ms_win_kernel32_package_current_l1_1_0
1233 enable_ext_ms_win_kernel32_package_l1_1_1
1234 enable_ext_ms_win_ntuser_message_l1_1_1
1235 enable_ext_ms_win_ntuser_private_l1_1_1
1236 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1237 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1238 enable_ext_ms_win_ntuser_window_l1_1_1
1239 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1240 enable_ext_ms_win_ras_rasapi32_l1_1_0
1241 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1242 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1243 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1244 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1245 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1246 enable_ext_ms_win_security_credui_l1_1_0
1247 enable_ext_ms_win_security_cryptui_l1_1_0
1248 enable_faultrep
1249 enable_fltlib
1250 enable_fltmgr_sys
1251 enable_fntcache
1252 enable_fontsub
1253 enable_fusion
1254 enable_fwpuclnt
1255 enable_gameux
1256 enable_gdi32
1257 enable_gdiplus
1258 enable_glu32
1259 enable_gphoto2_ds
1260 enable_gpkcsp
1261 enable_hal
1262 enable_hhctrl_ocx
1263 enable_hid
1264 enable_hidclass_sys
1265 enable_hlink
1266 enable_hnetcfg
1267 enable_httpapi
1268 enable_iccvid
1269 enable_icmp
1270 enable_ieframe
1271 enable_ieproxy
1272 enable_imaadp32_acm
1273 enable_imagehlp
1274 enable_imm32
1275 enable_inetcomm
1276 enable_inetcpl_cpl
1277 enable_inetmib1
1278 enable_infosoft
1279 enable_initpki
1280 enable_inkobj
1281 enable_inseng
1282 enable_iphlpapi
1283 enable_iprop
1284 enable_irprops_cpl
1285 enable_itircl
1286 enable_itss
1287 enable_joy_cpl
1288 enable_jscript
1289 enable_jsproxy
1290 enable_kerberos
1291 enable_kernel32
1292 enable_kernelbase
1293 enable_ksuser
1294 enable_ktmw32
1295 enable_l3codeca_acm
1296 enable_loadperf
1297 enable_localspl
1298 enable_localui
1299 enable_lz32
1300 enable_mapi32
1301 enable_mapistub
1302 enable_mciavi32
1303 enable_mcicda
1304 enable_mciqtz32
1305 enable_mciseq
1306 enable_mciwave
1307 enable_mf
1308 enable_mf3216
1309 enable_mfplat
1310 enable_mfreadwrite
1311 enable_mgmtapi
1312 enable_midimap
1313 enable_mlang
1314 enable_mmcndmgr
1315 enable_mmdevapi
1316 enable_mountmgr_sys
1317 enable_mpr
1318 enable_mprapi
1319 enable_msacm32_drv
1320 enable_msacm32
1321 enable_msadp32_acm
1322 enable_msasn1
1323 enable_mscat32
1324 enable_mscms
1325 enable_mscoree
1326 enable_msctf
1327 enable_msctfp
1328 enable_msdaps
1329 enable_msdelta
1330 enable_msdmo
1331 enable_msdrm
1332 enable_msftedit
1333 enable_msg711_acm
1334 enable_msgsm32_acm
1335 enable_mshtml_tlb
1336 enable_mshtml
1337 enable_msi
1338 enable_msident
1339 enable_msimg32
1340 enable_msimsg
1341 enable_msimtf
1342 enable_msisip
1343 enable_msisys_ocx
1344 enable_msls31
1345 enable_msnet32
1346 enable_mspatcha
1347 enable_msports
1348 enable_msrle32
1349 enable_msscript_ocx
1350 enable_mssign32
1351 enable_mssip32
1352 enable_mstask
1353 enable_msvcirt
1354 enable_msvcm80
1355 enable_msvcm90
1356 enable_msvcp100
1357 enable_msvcp110
1358 enable_msvcp120
1359 enable_msvcp120_app
1360 enable_msvcp140
1361 enable_msvcp60
1362 enable_msvcp70
1363 enable_msvcp71
1364 enable_msvcp80
1365 enable_msvcp90
1366 enable_msvcr100
1367 enable_msvcr110
1368 enable_msvcr120
1369 enable_msvcr120_app
1370 enable_msvcr70
1371 enable_msvcr71
1372 enable_msvcr80
1373 enable_msvcr90
1374 enable_msvcrt
1375 enable_msvcrt20
1376 enable_msvcrt40
1377 enable_msvcrtd
1378 enable_msvfw32
1379 enable_msvidc32
1380 enable_mswsock
1381 enable_msxml
1382 enable_msxml2
1383 enable_msxml3
1384 enable_msxml4
1385 enable_msxml6
1386 enable_mtxdm
1387 enable_ncrypt
1388 enable_nddeapi
1389 enable_ndis_sys
1390 enable_netapi32
1391 enable_netcfgx
1392 enable_netprofm
1393 enable_newdev
1394 enable_normaliz
1395 enable_npmshtml
1396 enable_npptools
1397 enable_ntdll
1398 enable_ntdsapi
1399 enable_ntoskrnl_exe
1400 enable_ntprint
1401 enable_objsel
1402 enable_odbc32
1403 enable_odbccp32
1404 enable_odbccu32
1405 enable_ole32
1406 enable_oleacc
1407 enable_oleaut32
1408 enable_olecli32
1409 enable_oledb32
1410 enable_oledlg
1411 enable_olepro32
1412 enable_olesvr32
1413 enable_olethk32
1414 enable_openal32
1415 enable_opencl
1416 enable_opengl32
1417 enable_packager
1418 enable_pdh
1419 enable_photometadatahandler
1420 enable_pidgen
1421 enable_powrprof
1422 enable_printui
1423 enable_prntvpt
1424 enable_propsys
1425 enable_psapi
1426 enable_pstorec
1427 enable_qcap
1428 enable_qedit
1429 enable_qmgr
1430 enable_qmgrprxy
1431 enable_quartz
1432 enable_query
1433 enable_rasapi32
1434 enable_rasdlg
1435 enable_regapi
1436 enable_resutils
1437 enable_riched20
1438 enable_riched32
1439 enable_rpcrt4
1440 enable_rsabase
1441 enable_rsaenh
1442 enable_rstrtmgr
1443 enable_rtutils
1444 enable_samlib
1445 enable_sane_ds
1446 enable_sapi
1447 enable_scarddlg
1448 enable_sccbase
1449 enable_schannel
1450 enable_schedsvc
1451 enable_scrobj
1452 enable_scrrun
1453 enable_scsiport_sys
1454 enable_secur32
1455 enable_security
1456 enable_sensapi
1457 enable_serialui
1458 enable_setupapi
1459 enable_sfc
1460 enable_sfc_os
1461 enable_shcore
1462 enable_shdoclc
1463 enable_shdocvw
1464 enable_shell32
1465 enable_shfolder
1466 enable_shlwapi
1467 enable_slbcsp
1468 enable_slc
1469 enable_snmpapi
1470 enable_softpub
1471 enable_spoolss
1472 enable_sspicli
1473 enable_stdole2_tlb
1474 enable_stdole32_tlb
1475 enable_sti
1476 enable_svrapi
1477 enable_sxs
1478 enable_t2embed
1479 enable_tapi32
1480 enable_taskschd
1481 enable_tdh
1482 enable_tdi_sys
1483 enable_traffic
1484 enable_twain_32
1485 enable_ucrtbase
1486 enable_uiautomationcore
1487 enable_uiribbon
1488 enable_unicows
1489 enable_updspapi
1490 enable_url
1491 enable_urlmon
1492 enable_usbd_sys
1493 enable_user32
1494 enable_userenv
1495 enable_usp10
1496 enable_uxtheme
1497 enable_vbscript
1498 enable_vcomp
1499 enable_vcomp100
1500 enable_vcomp110
1501 enable_vcomp120
1502 enable_vcomp140
1503 enable_vcomp90
1504 enable_vcruntime140
1505 enable_vdmdbg
1506 enable_version
1507 enable_virtdisk
1508 enable_vssapi
1509 enable_wbemdisp
1510 enable_wbemprox
1511 enable_wdscore
1512 enable_webservices
1513 enable_wer
1514 enable_wevtapi
1515 enable_wiaservc
1516 enable_wimgapi
1517 enable_windowscodecs
1518 enable_windowscodecsext
1519 enable_winealsa_drv
1520 enable_wineandroid_drv
1521 enable_winebus_sys
1522 enable_winecoreaudio_drv
1523 enable_wined3d
1524 enable_winegstreamer
1525 enable_winehid_sys
1526 enable_winejoystick_drv
1527 enable_winemac_drv
1528 enable_winemapi
1529 enable_wineoss_drv
1530 enable_wineps_drv
1531 enable_winepulse_drv
1532 enable_wineqtdecoder
1533 enable_winex11_drv
1534 enable_wing32
1535 enable_winhttp
1536 enable_wininet
1537 enable_winmm
1538 enable_winnls32
1539 enable_winscard
1540 enable_winspool_drv
1541 enable_winsta
1542 enable_wintab32
1543 enable_wintrust
1544 enable_winusb
1545 enable_wlanapi
1546 enable_wldap32
1547 enable_wmasf
1548 enable_wmi
1549 enable_wmiutils
1550 enable_wmp
1551 enable_wmphoto
1552 enable_wmvcore
1553 enable_wnaspi32
1554 enable_wpc
1555 enable_wpcap
1556 enable_ws2_32
1557 enable_wsdapi
1558 enable_wshom_ocx
1559 enable_wsnmp32
1560 enable_wsock32
1561 enable_wtsapi32
1562 enable_wuapi
1563 enable_wuaueng
1564 enable_x3daudio1_0
1565 enable_x3daudio1_1
1566 enable_x3daudio1_2
1567 enable_x3daudio1_3
1568 enable_x3daudio1_4
1569 enable_x3daudio1_5
1570 enable_x3daudio1_6
1571 enable_x3daudio1_7
1572 enable_xapofx1_1
1573 enable_xapofx1_2
1574 enable_xapofx1_3
1575 enable_xapofx1_4
1576 enable_xapofx1_5
1577 enable_xaudio2_0
1578 enable_xaudio2_1
1579 enable_xaudio2_2
1580 enable_xaudio2_3
1581 enable_xaudio2_4
1582 enable_xaudio2_5
1583 enable_xaudio2_6
1584 enable_xaudio2_7
1585 enable_xaudio2_8
1586 enable_xaudio2_9
1587 enable_xinput1_1
1588 enable_xinput1_2
1589 enable_xinput1_3
1590 enable_xinput1_4
1591 enable_xinput9_1_0
1592 enable_xmllite
1593 enable_xolehlp
1594 enable_xpsprint
1595 enable_xpssvcs
1596 enable_fonts
1597 enable_include
1598 enable_libs_port
1599 enable_libs_wine
1600 enable_libs_wpp
1601 enable_loader
1602 enable_po
1603 enable_arp
1604 enable_aspnet_regiis
1605 enable_attrib
1606 enable_cabarc
1607 enable_cacls
1608 enable_clock
1609 enable_cmd
1610 enable_conhost
1611 enable_control
1612 enable_cscript
1613 enable_dpnsvr
1614 enable_dxdiag
1615 enable_eject
1616 enable_expand
1617 enable_explorer
1618 enable_extrac32
1619 enable_findstr
1620 enable_fsutil
1621 enable_hh
1622 enable_hostname
1623 enable_icacls
1624 enable_icinfo
1625 enable_iexplore
1626 enable_ipconfig
1627 enable_lodctr
1628 enable_mofcomp
1629 enable_mshta
1630 enable_msiexec
1631 enable_msinfo32
1632 enable_net
1633 enable_netsh
1634 enable_netstat
1635 enable_ngen
1636 enable_notepad
1637 enable_oleview
1638 enable_ping
1639 enable_plugplay
1640 enable_powershell
1641 enable_presentationfontcache
1642 enable_progman
1643 enable_reg
1644 enable_regasm
1645 enable_regedit
1646 enable_regsvcs
1647 enable_regsvr32
1648 enable_rpcss
1649 enable_rundll32
1650 enable_sc
1651 enable_schtasks
1652 enable_sdbinst
1653 enable_secedit
1654 enable_servicemodelreg
1655 enable_services
1656 enable_shutdown
1657 enable_spoolsv
1658 enable_start
1659 enable_subst
1660 enable_svchost
1661 enable_systeminfo
1662 enable_taskkill
1663 enable_tasklist
1664 enable_taskmgr
1665 enable_termsv
1666 enable_uninstaller
1667 enable_unlodctr
1668 enable_view
1669 enable_wevtutil
1670 enable_wineboot
1671 enable_winebrowser
1672 enable_winecfg
1673 enable_wineconsole
1674 enable_winedbg
1675 enable_winedevice
1676 enable_winefile
1677 enable_winemenubuilder
1678 enable_winemine
1679 enable_winemsibuilder
1680 enable_winepath
1681 enable_winetest
1682 enable_winhlp32
1683 enable_winver
1684 enable_wmic
1685 enable_wmplayer
1686 enable_wordpad
1687 enable_write
1688 enable_wscript
1689 enable_wusa
1690 enable_xcopy
1691 enable_server
1692 enable_tools
1694 ac_precious_vars='build_alias
1695 host_alias
1696 target_alias
1698 CFLAGS
1699 LDFLAGS
1700 LIBS
1701 CPPFLAGS
1703 CXXFLAGS
1706 XMKMF
1707 XML2_CFLAGS
1708 XML2_LIBS
1709 XSLT_CFLAGS
1710 XSLT_LIBS
1711 DBUS_CFLAGS
1712 DBUS_LIBS
1713 HAL_CFLAGS
1714 HAL_LIBS
1715 GNUTLS_CFLAGS
1716 GNUTLS_LIBS
1717 SANE_CFLAGS
1718 SANE_LIBS
1719 GPHOTO2_CFLAGS
1720 GPHOTO2_LIBS
1721 GPHOTO2_PORT_CFLAGS
1722 GPHOTO2_PORT_LIBS
1723 LCMS2_CFLAGS
1724 LCMS2_LIBS
1725 FREETYPE_CFLAGS
1726 FREETYPE_LIBS
1727 PULSE_CFLAGS
1728 PULSE_LIBS
1729 GSTREAMER_CFLAGS
1730 GSTREAMER_LIBS
1731 UDEV_CFLAGS
1732 UDEV_LIBS
1733 CAPI20_CFLAGS
1734 CAPI20_LIBS
1735 CUPS_CFLAGS
1736 CUPS_LIBS
1737 FONTCONFIG_CFLAGS
1738 FONTCONFIG_LIBS
1739 KRB5_CFLAGS
1740 KRB5_LIBS
1741 GSSAPI_CFLAGS
1742 GSSAPI_LIBS
1743 JPEG_CFLAGS
1744 JPEG_LIBS
1745 PNG_CFLAGS
1746 PNG_LIBS
1747 TIFF_CFLAGS
1748 TIFF_LIBS
1749 MPG123_CFLAGS
1750 MPG123_LIBS
1751 NETAPI_CFLAGS
1752 NETAPI_LIBS
1753 LDAP_CFLAGS
1754 LDAP_LIBS'
1757 # Initialize some variables set by options.
1758 ac_init_help=
1759 ac_init_version=false
1760 ac_unrecognized_opts=
1761 ac_unrecognized_sep=
1762 # The variables have the same names as the options, with
1763 # dashes changed to underlines.
1764 cache_file=/dev/null
1765 exec_prefix=NONE
1766 no_create=
1767 no_recursion=
1768 prefix=NONE
1769 program_prefix=NONE
1770 program_suffix=NONE
1771 program_transform_name=s,x,x,
1772 silent=
1773 site=
1774 srcdir=
1775 verbose=
1776 x_includes=NONE
1777 x_libraries=NONE
1779 # Installation directory options.
1780 # These are left unexpanded so users can "make install exec_prefix=/foo"
1781 # and all the variables that are supposed to be based on exec_prefix
1782 # by default will actually change.
1783 # Use braces instead of parens because sh, perl, etc. also accept them.
1784 # (The list follows the same order as the GNU Coding Standards.)
1785 bindir='${exec_prefix}/bin'
1786 sbindir='${exec_prefix}/sbin'
1787 libexecdir='${exec_prefix}/libexec'
1788 datarootdir='${prefix}/share'
1789 datadir='${datarootdir}'
1790 sysconfdir='${prefix}/etc'
1791 sharedstatedir='${prefix}/com'
1792 localstatedir='${prefix}/var'
1793 runstatedir='${localstatedir}/run'
1794 includedir='${prefix}/include'
1795 oldincludedir='/usr/include'
1796 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1797 infodir='${datarootdir}/info'
1798 htmldir='${docdir}'
1799 dvidir='${docdir}'
1800 pdfdir='${docdir}'
1801 psdir='${docdir}'
1802 libdir='${exec_prefix}/lib'
1803 localedir='${datarootdir}/locale'
1804 mandir='${datarootdir}/man'
1806 ac_prev=
1807 ac_dashdash=
1808 for ac_option
1810 # If the previous option needs an argument, assign it.
1811 if test -n "$ac_prev"; then
1812 eval $ac_prev=\$ac_option
1813 ac_prev=
1814 continue
1817 case $ac_option in
1818 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1819 *=) ac_optarg= ;;
1820 *) ac_optarg=yes ;;
1821 esac
1823 # Accept the important Cygnus configure options, so we can diagnose typos.
1825 case $ac_dashdash$ac_option in
1827 ac_dashdash=yes ;;
1829 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1830 ac_prev=bindir ;;
1831 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1832 bindir=$ac_optarg ;;
1834 -build | --build | --buil | --bui | --bu)
1835 ac_prev=build_alias ;;
1836 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1837 build_alias=$ac_optarg ;;
1839 -cache-file | --cache-file | --cache-fil | --cache-fi \
1840 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1841 ac_prev=cache_file ;;
1842 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1843 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1844 cache_file=$ac_optarg ;;
1846 --config-cache | -C)
1847 cache_file=config.cache ;;
1849 -datadir | --datadir | --datadi | --datad)
1850 ac_prev=datadir ;;
1851 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1852 datadir=$ac_optarg ;;
1854 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1855 | --dataroo | --dataro | --datar)
1856 ac_prev=datarootdir ;;
1857 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1858 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1859 datarootdir=$ac_optarg ;;
1861 -disable-* | --disable-*)
1862 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1863 # Reject names that are not valid shell variable names.
1864 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1865 as_fn_error $? "invalid feature name: $ac_useropt"
1866 ac_useropt_orig=$ac_useropt
1867 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1868 case $ac_user_opts in
1870 "enable_$ac_useropt"
1871 "*) ;;
1872 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1873 ac_unrecognized_sep=', ';;
1874 esac
1875 eval enable_$ac_useropt=no ;;
1877 -docdir | --docdir | --docdi | --doc | --do)
1878 ac_prev=docdir ;;
1879 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1880 docdir=$ac_optarg ;;
1882 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1883 ac_prev=dvidir ;;
1884 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1885 dvidir=$ac_optarg ;;
1887 -enable-* | --enable-*)
1888 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1889 # Reject names that are not valid shell variable names.
1890 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1891 as_fn_error $? "invalid feature name: $ac_useropt"
1892 ac_useropt_orig=$ac_useropt
1893 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1894 case $ac_user_opts in
1896 "enable_$ac_useropt"
1897 "*) ;;
1898 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1899 ac_unrecognized_sep=', ';;
1900 esac
1901 eval enable_$ac_useropt=\$ac_optarg ;;
1903 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1904 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1905 | --exec | --exe | --ex)
1906 ac_prev=exec_prefix ;;
1907 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1908 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1909 | --exec=* | --exe=* | --ex=*)
1910 exec_prefix=$ac_optarg ;;
1912 -gas | --gas | --ga | --g)
1913 # Obsolete; use --with-gas.
1914 with_gas=yes ;;
1916 -help | --help | --hel | --he | -h)
1917 ac_init_help=long ;;
1918 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1919 ac_init_help=recursive ;;
1920 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1921 ac_init_help=short ;;
1923 -host | --host | --hos | --ho)
1924 ac_prev=host_alias ;;
1925 -host=* | --host=* | --hos=* | --ho=*)
1926 host_alias=$ac_optarg ;;
1928 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1929 ac_prev=htmldir ;;
1930 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1931 | --ht=*)
1932 htmldir=$ac_optarg ;;
1934 -includedir | --includedir | --includedi | --included | --include \
1935 | --includ | --inclu | --incl | --inc)
1936 ac_prev=includedir ;;
1937 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1938 | --includ=* | --inclu=* | --incl=* | --inc=*)
1939 includedir=$ac_optarg ;;
1941 -infodir | --infodir | --infodi | --infod | --info | --inf)
1942 ac_prev=infodir ;;
1943 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1944 infodir=$ac_optarg ;;
1946 -libdir | --libdir | --libdi | --libd)
1947 ac_prev=libdir ;;
1948 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1949 libdir=$ac_optarg ;;
1951 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1952 | --libexe | --libex | --libe)
1953 ac_prev=libexecdir ;;
1954 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1955 | --libexe=* | --libex=* | --libe=*)
1956 libexecdir=$ac_optarg ;;
1958 -localedir | --localedir | --localedi | --localed | --locale)
1959 ac_prev=localedir ;;
1960 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1961 localedir=$ac_optarg ;;
1963 -localstatedir | --localstatedir | --localstatedi | --localstated \
1964 | --localstate | --localstat | --localsta | --localst | --locals)
1965 ac_prev=localstatedir ;;
1966 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1967 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1968 localstatedir=$ac_optarg ;;
1970 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1971 ac_prev=mandir ;;
1972 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1973 mandir=$ac_optarg ;;
1975 -nfp | --nfp | --nf)
1976 # Obsolete; use --without-fp.
1977 with_fp=no ;;
1979 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1980 | --no-cr | --no-c | -n)
1981 no_create=yes ;;
1983 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1984 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1985 no_recursion=yes ;;
1987 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1988 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1989 | --oldin | --oldi | --old | --ol | --o)
1990 ac_prev=oldincludedir ;;
1991 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1992 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1993 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1994 oldincludedir=$ac_optarg ;;
1996 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1997 ac_prev=prefix ;;
1998 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1999 prefix=$ac_optarg ;;
2001 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2002 | --program-pre | --program-pr | --program-p)
2003 ac_prev=program_prefix ;;
2004 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2005 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2006 program_prefix=$ac_optarg ;;
2008 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2009 | --program-suf | --program-su | --program-s)
2010 ac_prev=program_suffix ;;
2011 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2012 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2013 program_suffix=$ac_optarg ;;
2015 -program-transform-name | --program-transform-name \
2016 | --program-transform-nam | --program-transform-na \
2017 | --program-transform-n | --program-transform- \
2018 | --program-transform | --program-transfor \
2019 | --program-transfo | --program-transf \
2020 | --program-trans | --program-tran \
2021 | --progr-tra | --program-tr | --program-t)
2022 ac_prev=program_transform_name ;;
2023 -program-transform-name=* | --program-transform-name=* \
2024 | --program-transform-nam=* | --program-transform-na=* \
2025 | --program-transform-n=* | --program-transform-=* \
2026 | --program-transform=* | --program-transfor=* \
2027 | --program-transfo=* | --program-transf=* \
2028 | --program-trans=* | --program-tran=* \
2029 | --progr-tra=* | --program-tr=* | --program-t=*)
2030 program_transform_name=$ac_optarg ;;
2032 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2033 ac_prev=pdfdir ;;
2034 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2035 pdfdir=$ac_optarg ;;
2037 -psdir | --psdir | --psdi | --psd | --ps)
2038 ac_prev=psdir ;;
2039 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2040 psdir=$ac_optarg ;;
2042 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2043 | -silent | --silent | --silen | --sile | --sil)
2044 silent=yes ;;
2046 -runstatedir | --runstatedir | --runstatedi | --runstated \
2047 | --runstate | --runstat | --runsta | --runst | --runs \
2048 | --run | --ru | --r)
2049 ac_prev=runstatedir ;;
2050 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2051 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2052 | --run=* | --ru=* | --r=*)
2053 runstatedir=$ac_optarg ;;
2055 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2056 ac_prev=sbindir ;;
2057 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2058 | --sbi=* | --sb=*)
2059 sbindir=$ac_optarg ;;
2061 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2062 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2063 | --sharedst | --shareds | --shared | --share | --shar \
2064 | --sha | --sh)
2065 ac_prev=sharedstatedir ;;
2066 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2067 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2068 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2069 | --sha=* | --sh=*)
2070 sharedstatedir=$ac_optarg ;;
2072 -site | --site | --sit)
2073 ac_prev=site ;;
2074 -site=* | --site=* | --sit=*)
2075 site=$ac_optarg ;;
2077 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2078 ac_prev=srcdir ;;
2079 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2080 srcdir=$ac_optarg ;;
2082 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2083 | --syscon | --sysco | --sysc | --sys | --sy)
2084 ac_prev=sysconfdir ;;
2085 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2086 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2087 sysconfdir=$ac_optarg ;;
2089 -target | --target | --targe | --targ | --tar | --ta | --t)
2090 ac_prev=target_alias ;;
2091 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2092 target_alias=$ac_optarg ;;
2094 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2095 verbose=yes ;;
2097 -version | --version | --versio | --versi | --vers | -V)
2098 ac_init_version=: ;;
2100 -with-* | --with-*)
2101 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2102 # Reject names that are not valid shell variable names.
2103 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2104 as_fn_error $? "invalid package name: $ac_useropt"
2105 ac_useropt_orig=$ac_useropt
2106 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2107 case $ac_user_opts in
2109 "with_$ac_useropt"
2110 "*) ;;
2111 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2112 ac_unrecognized_sep=', ';;
2113 esac
2114 eval with_$ac_useropt=\$ac_optarg ;;
2116 -without-* | --without-*)
2117 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2118 # Reject names that are not valid shell variable names.
2119 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2120 as_fn_error $? "invalid package name: $ac_useropt"
2121 ac_useropt_orig=$ac_useropt
2122 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2123 case $ac_user_opts in
2125 "with_$ac_useropt"
2126 "*) ;;
2127 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2128 ac_unrecognized_sep=', ';;
2129 esac
2130 eval with_$ac_useropt=no ;;
2132 --x)
2133 # Obsolete; use --with-x.
2134 with_x=yes ;;
2136 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2137 | --x-incl | --x-inc | --x-in | --x-i)
2138 ac_prev=x_includes ;;
2139 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2140 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2141 x_includes=$ac_optarg ;;
2143 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2144 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2145 ac_prev=x_libraries ;;
2146 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2147 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2148 x_libraries=$ac_optarg ;;
2150 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2151 Try \`$0 --help' for more information"
2154 *=*)
2155 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2156 # Reject names that are not valid shell variable names.
2157 case $ac_envvar in #(
2158 '' | [0-9]* | *[!_$as_cr_alnum]* )
2159 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2160 esac
2161 eval $ac_envvar=\$ac_optarg
2162 export $ac_envvar ;;
2165 # FIXME: should be removed in autoconf 3.0.
2166 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2167 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2168 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2169 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2172 esac
2173 done
2175 if test -n "$ac_prev"; then
2176 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2177 as_fn_error $? "missing argument to $ac_option"
2180 if test -n "$ac_unrecognized_opts"; then
2181 case $enable_option_checking in
2182 no) ;;
2183 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2184 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2185 esac
2188 # Check all directory arguments for consistency.
2189 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2190 datadir sysconfdir sharedstatedir localstatedir includedir \
2191 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2192 libdir localedir mandir runstatedir
2194 eval ac_val=\$$ac_var
2195 # Remove trailing slashes.
2196 case $ac_val in
2197 */ )
2198 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2199 eval $ac_var=\$ac_val;;
2200 esac
2201 # Be sure to have absolute directory names.
2202 case $ac_val in
2203 [\\/$]* | ?:[\\/]* ) continue;;
2204 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2205 esac
2206 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2207 done
2209 # There might be people who depend on the old broken behavior: `$host'
2210 # used to hold the argument of --host etc.
2211 # FIXME: To remove some day.
2212 build=$build_alias
2213 host=$host_alias
2214 target=$target_alias
2216 # FIXME: To remove some day.
2217 if test "x$host_alias" != x; then
2218 if test "x$build_alias" = x; then
2219 cross_compiling=maybe
2220 elif test "x$build_alias" != "x$host_alias"; then
2221 cross_compiling=yes
2225 ac_tool_prefix=
2226 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2228 test "$silent" = yes && exec 6>/dev/null
2231 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2232 ac_ls_di=`ls -di .` &&
2233 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2234 as_fn_error $? "working directory cannot be determined"
2235 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2236 as_fn_error $? "pwd does not report name of working directory"
2239 # Find the source files, if location was not specified.
2240 if test -z "$srcdir"; then
2241 ac_srcdir_defaulted=yes
2242 # Try the directory containing this script, then the parent directory.
2243 ac_confdir=`$as_dirname -- "$as_myself" ||
2244 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2245 X"$as_myself" : 'X\(//\)[^/]' \| \
2246 X"$as_myself" : 'X\(//\)$' \| \
2247 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2248 $as_echo X"$as_myself" |
2249 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2250 s//\1/
2253 /^X\(\/\/\)[^/].*/{
2254 s//\1/
2257 /^X\(\/\/\)$/{
2258 s//\1/
2261 /^X\(\/\).*/{
2262 s//\1/
2265 s/.*/./; q'`
2266 srcdir=$ac_confdir
2267 if test ! -r "$srcdir/$ac_unique_file"; then
2268 srcdir=..
2270 else
2271 ac_srcdir_defaulted=no
2273 if test ! -r "$srcdir/$ac_unique_file"; then
2274 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2275 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2277 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2278 ac_abs_confdir=`(
2279 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2280 pwd)`
2281 # When building in place, set srcdir=.
2282 if test "$ac_abs_confdir" = "$ac_pwd"; then
2283 srcdir=.
2285 # Remove unnecessary trailing slashes from srcdir.
2286 # Double slashes in file names in object file debugging info
2287 # mess up M-x gdb in Emacs.
2288 case $srcdir in
2289 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2290 esac
2291 for ac_var in $ac_precious_vars; do
2292 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2293 eval ac_env_${ac_var}_value=\$${ac_var}
2294 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2295 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2296 done
2299 # Report the --help message.
2301 if test "$ac_init_help" = "long"; then
2302 # Omit some internal or obsolete options to make the list less imposing.
2303 # This message is too long to be a string in the A/UX 3.1 sh.
2304 cat <<_ACEOF
2305 \`configure' configures Wine 3.1 to adapt to many kinds of systems.
2307 Usage: $0 [OPTION]... [VAR=VALUE]...
2309 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2310 VAR=VALUE. See below for descriptions of some of the useful variables.
2312 Defaults for the options are specified in brackets.
2314 Configuration:
2315 -h, --help display this help and exit
2316 --help=short display options specific to this package
2317 --help=recursive display the short help of all the included packages
2318 -V, --version display version information and exit
2319 -q, --quiet, --silent do not print \`checking ...' messages
2320 --cache-file=FILE cache test results in FILE [disabled]
2321 -C, --config-cache alias for \`--cache-file=config.cache'
2322 -n, --no-create do not create output files
2323 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2325 Installation directories:
2326 --prefix=PREFIX install architecture-independent files in PREFIX
2327 [$ac_default_prefix]
2328 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2329 [PREFIX]
2331 By default, \`make install' will install all the files in
2332 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2333 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2334 for instance \`--prefix=\$HOME'.
2336 For better control, use the options below.
2338 Fine tuning of the installation directories:
2339 --bindir=DIR user executables [EPREFIX/bin]
2340 --sbindir=DIR system admin executables [EPREFIX/sbin]
2341 --libexecdir=DIR program executables [EPREFIX/libexec]
2342 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2343 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2344 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2345 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2346 --libdir=DIR object code libraries [EPREFIX/lib]
2347 --includedir=DIR C header files [PREFIX/include]
2348 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2349 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2350 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2351 --infodir=DIR info documentation [DATAROOTDIR/info]
2352 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2353 --mandir=DIR man documentation [DATAROOTDIR/man]
2354 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2355 --htmldir=DIR html documentation [DOCDIR]
2356 --dvidir=DIR dvi documentation [DOCDIR]
2357 --pdfdir=DIR pdf documentation [DOCDIR]
2358 --psdir=DIR ps documentation [DOCDIR]
2359 _ACEOF
2361 cat <<\_ACEOF
2363 X features:
2364 --x-includes=DIR X include files are in DIR
2365 --x-libraries=DIR X library files are in DIR
2367 System types:
2368 --build=BUILD configure for building on BUILD [guessed]
2369 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2370 _ACEOF
2373 if test -n "$ac_init_help"; then
2374 case $ac_init_help in
2375 short | recursive ) echo "Configuration of Wine 3.1:";;
2376 esac
2377 cat <<\_ACEOF
2379 Optional Features:
2380 --disable-option-checking ignore unrecognized --enable/--with options
2381 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2382 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2383 --disable-win16 do not include Win16 support
2384 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2385 binaries)
2386 --disable-tests do not build the regression tests
2387 --enable-maintainer-mode
2388 enable maintainer-specific build rules
2389 --disable-largefile omit support for large files
2391 Optional Packages:
2392 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2393 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2394 --without-alsa do not use the Alsa sound support
2395 --without-capi do not use CAPI (ISDN support)
2396 --without-cms do not use CMS (color management support)
2397 --without-coreaudio do not use the CoreAudio sound support
2398 --without-cups do not use CUPS
2399 --without-curses do not use (n)curses
2400 --without-dbus do not use DBus (dynamic device support)
2401 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2402 --without-fontconfig do not use fontconfig
2403 --without-freetype do not use the FreeType library
2404 --without-gettext do not use gettext
2405 --with-gettextpo use the GetTextPO library to rebuild po files
2406 --without-gphoto do not use gphoto (Digital Camera support)
2407 --without-glu do not use the GLU library
2408 --without-gnutls do not use GnuTLS (schannel support)
2409 --without-gsm do not use libgsm (GSM 06.10 codec support)
2410 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2411 --without-gstreamer do not use GStreamer (codecs support)
2412 --without-hal do not use HAL (dynamic device support)
2413 --without-jpeg do not use JPEG
2414 --without-krb5 do not use krb5 (Kerberos)
2415 --without-ldap do not use LDAP
2416 --without-mpg123 do not use the mpg123 library
2417 --without-netapi do not use the Samba NetAPI library
2418 --without-openal do not use OpenAL
2419 --without-opencl do not use OpenCL
2420 --without-opengl do not use OpenGL
2421 --without-osmesa do not use the OSMesa library
2422 --without-oss do not use the OSS sound support
2423 --without-pcap do not use the Packet Capture library
2424 --without-png do not use PNG
2425 --without-pthread do not use the pthread library
2426 --without-pulse do not use PulseAudio sound support
2427 --without-sane do not use SANE (scanner support)
2428 --without-tiff do not use TIFF
2429 --without-udev do not use udev (plug and play support)
2430 --without-v4l do not use v4l1 (v4l support)
2431 --without-xcomposite do not use the Xcomposite extension
2432 --without-xcursor do not use the Xcursor extension
2433 --without-xfixes do not use Xfixes for clipboard change notifications
2434 --without-xinerama do not use Xinerama (multi-monitor support)
2435 --without-xinput do not use the Xinput extension
2436 --without-xinput2 do not use the Xinput 2 extension
2437 --without-xml do not use XML
2438 --without-xrandr do not use Xrandr (resolution changes)
2439 --without-xrender do not use the Xrender extension
2440 --without-xshape do not use the Xshape extension
2441 --without-xshm do not use XShm (shared memory extension)
2442 --without-xslt do not use XSLT
2443 --without-xxf86vm do not use XFree video mode extension
2444 --without-zlib do not use Zlib (data compression)
2445 --with-wine-tools=DIR use Wine tools from directory DIR
2446 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2447 --with-x use the X Window System
2449 Some influential environment variables:
2450 CC C compiler command
2451 CFLAGS C compiler flags
2452 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2453 nonstandard directory <lib dir>
2454 LIBS libraries to pass to the linker, e.g. -l<library>
2455 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2456 you have headers in a nonstandard directory <include dir>
2457 CXX C++ compiler command
2458 CXXFLAGS C++ compiler flags
2459 CPP C preprocessor
2460 XMKMF Path to xmkmf, Makefile generator for X Window System
2461 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2462 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2463 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2464 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2465 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2466 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2467 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2468 HAL_LIBS Linker flags for hal, overriding pkg-config
2469 GNUTLS_CFLAGS
2470 C compiler flags for gnutls, overriding pkg-config
2471 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2472 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2473 SANE_LIBS Linker flags for libsane, overriding pkg-config
2474 GPHOTO2_CFLAGS
2475 C compiler flags for libgphoto2, overriding pkg-config
2476 GPHOTO2_LIBS
2477 Linker flags for libgphoto2, overriding pkg-config
2478 GPHOTO2_PORT_CFLAGS
2479 C compiler flags for libgphoto2_port, overriding pkg-config
2480 GPHOTO2_PORT_LIBS
2481 Linker flags for libgphoto2_port, overriding pkg-config
2482 LCMS2_CFLAGS
2483 C compiler flags for lcms2, overriding pkg-config
2484 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2485 FREETYPE_CFLAGS
2486 C compiler flags for freetype2, overriding pkg-config
2487 FREETYPE_LIBS
2488 Linker flags for freetype2, overriding pkg-config
2489 PULSE_CFLAGS
2490 C compiler flags for libpulse, overriding pkg-config
2491 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2492 GSTREAMER_CFLAGS
2493 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2494 gstreamer-audio-1.0, overriding pkg-config
2495 GSTREAMER_LIBS
2496 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2497 gstreamer-audio-1.0, overriding pkg-config
2498 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2499 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2500 CAPI20_CFLAGS
2501 C compiler flags for capi20, overriding pkg-config
2502 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2503 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2504 CUPS_LIBS Linker flags for cups, overriding pkg-config
2505 FONTCONFIG_CFLAGS
2506 C compiler flags for fontconfig, overriding pkg-config
2507 FONTCONFIG_LIBS
2508 Linker flags for fontconfig, overriding pkg-config
2509 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2510 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2511 GSSAPI_CFLAGS
2512 C compiler flags for krb5-gssapi, overriding pkg-config
2513 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2514 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2515 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2516 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2517 PNG_LIBS Linker flags for libpng, overriding pkg-config
2518 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2519 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2520 MPG123_CFLAGS
2521 C compiler flags for libmpg123, overriding pkg-config
2522 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2523 NETAPI_CFLAGS
2524 C compiler flags for netapi, overriding pkg-config
2525 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2526 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2527 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2529 Use these variables to override the choices made by `configure' or to help
2530 it to find libraries and programs with nonstandard names/locations.
2532 Report bugs to <wine-devel@winehq.org>.
2533 Wine home page: <https://www.winehq.org>.
2534 _ACEOF
2535 ac_status=$?
2538 if test "$ac_init_help" = "recursive"; then
2539 # If there are subdirs, report their specific --help.
2540 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2541 test -d "$ac_dir" ||
2542 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2543 continue
2544 ac_builddir=.
2546 case "$ac_dir" in
2547 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2549 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2550 # A ".." for each directory in $ac_dir_suffix.
2551 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2552 case $ac_top_builddir_sub in
2553 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2554 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2555 esac ;;
2556 esac
2557 ac_abs_top_builddir=$ac_pwd
2558 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2559 # for backward compatibility:
2560 ac_top_builddir=$ac_top_build_prefix
2562 case $srcdir in
2563 .) # We are building in place.
2564 ac_srcdir=.
2565 ac_top_srcdir=$ac_top_builddir_sub
2566 ac_abs_top_srcdir=$ac_pwd ;;
2567 [\\/]* | ?:[\\/]* ) # Absolute name.
2568 ac_srcdir=$srcdir$ac_dir_suffix;
2569 ac_top_srcdir=$srcdir
2570 ac_abs_top_srcdir=$srcdir ;;
2571 *) # Relative name.
2572 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2573 ac_top_srcdir=$ac_top_build_prefix$srcdir
2574 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2575 esac
2576 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2578 cd "$ac_dir" || { ac_status=$?; continue; }
2579 # Check for guested configure.
2580 if test -f "$ac_srcdir/configure.gnu"; then
2581 echo &&
2582 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2583 elif test -f "$ac_srcdir/configure"; then
2584 echo &&
2585 $SHELL "$ac_srcdir/configure" --help=recursive
2586 else
2587 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2588 fi || ac_status=$?
2589 cd "$ac_pwd" || { ac_status=$?; break; }
2590 done
2593 test -n "$ac_init_help" && exit $ac_status
2594 if $ac_init_version; then
2595 cat <<\_ACEOF
2596 Wine configure 3.1
2597 generated by GNU Autoconf 2.69
2599 Copyright (C) 2012 Free Software Foundation, Inc.
2600 This configure script is free software; the Free Software Foundation
2601 gives unlimited permission to copy, distribute and modify it.
2602 _ACEOF
2603 exit
2606 ## ------------------------ ##
2607 ## Autoconf initialization. ##
2608 ## ------------------------ ##
2610 # ac_fn_c_try_compile LINENO
2611 # --------------------------
2612 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2613 ac_fn_c_try_compile ()
2615 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2616 rm -f conftest.$ac_objext
2617 if { { ac_try="$ac_compile"
2618 case "(($ac_try" in
2619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2620 *) ac_try_echo=$ac_try;;
2621 esac
2622 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2623 $as_echo "$ac_try_echo"; } >&5
2624 (eval "$ac_compile") 2>conftest.err
2625 ac_status=$?
2626 if test -s conftest.err; then
2627 grep -v '^ *+' conftest.err >conftest.er1
2628 cat conftest.er1 >&5
2629 mv -f conftest.er1 conftest.err
2631 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2632 test $ac_status = 0; } && {
2633 test -z "$ac_c_werror_flag" ||
2634 test ! -s conftest.err
2635 } && test -s conftest.$ac_objext; then :
2636 ac_retval=0
2637 else
2638 $as_echo "$as_me: failed program was:" >&5
2639 sed 's/^/| /' conftest.$ac_ext >&5
2641 ac_retval=1
2643 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2644 as_fn_set_status $ac_retval
2646 } # ac_fn_c_try_compile
2648 # ac_fn_cxx_try_compile LINENO
2649 # ----------------------------
2650 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2651 ac_fn_cxx_try_compile ()
2653 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2654 rm -f conftest.$ac_objext
2655 if { { ac_try="$ac_compile"
2656 case "(($ac_try" in
2657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2658 *) ac_try_echo=$ac_try;;
2659 esac
2660 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2661 $as_echo "$ac_try_echo"; } >&5
2662 (eval "$ac_compile") 2>conftest.err
2663 ac_status=$?
2664 if test -s conftest.err; then
2665 grep -v '^ *+' conftest.err >conftest.er1
2666 cat conftest.er1 >&5
2667 mv -f conftest.er1 conftest.err
2669 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2670 test $ac_status = 0; } && {
2671 test -z "$ac_cxx_werror_flag" ||
2672 test ! -s conftest.err
2673 } && test -s conftest.$ac_objext; then :
2674 ac_retval=0
2675 else
2676 $as_echo "$as_me: failed program was:" >&5
2677 sed 's/^/| /' conftest.$ac_ext >&5
2679 ac_retval=1
2681 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2682 as_fn_set_status $ac_retval
2684 } # ac_fn_cxx_try_compile
2686 # ac_fn_c_try_link LINENO
2687 # -----------------------
2688 # Try to link conftest.$ac_ext, and return whether this succeeded.
2689 ac_fn_c_try_link ()
2691 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2692 rm -f conftest.$ac_objext conftest$ac_exeext
2693 if { { ac_try="$ac_link"
2694 case "(($ac_try" in
2695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2696 *) ac_try_echo=$ac_try;;
2697 esac
2698 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2699 $as_echo "$ac_try_echo"; } >&5
2700 (eval "$ac_link") 2>conftest.err
2701 ac_status=$?
2702 if test -s conftest.err; then
2703 grep -v '^ *+' conftest.err >conftest.er1
2704 cat conftest.er1 >&5
2705 mv -f conftest.er1 conftest.err
2707 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2708 test $ac_status = 0; } && {
2709 test -z "$ac_c_werror_flag" ||
2710 test ! -s conftest.err
2711 } && test -s conftest$ac_exeext && {
2712 test "$cross_compiling" = yes ||
2713 test -x conftest$ac_exeext
2714 }; then :
2715 ac_retval=0
2716 else
2717 $as_echo "$as_me: failed program was:" >&5
2718 sed 's/^/| /' conftest.$ac_ext >&5
2720 ac_retval=1
2722 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2723 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2724 # interfere with the next link command; also delete a directory that is
2725 # left behind by Apple's compiler. We do this before executing the actions.
2726 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2727 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2728 as_fn_set_status $ac_retval
2730 } # ac_fn_c_try_link
2732 # ac_fn_c_try_cpp LINENO
2733 # ----------------------
2734 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2735 ac_fn_c_try_cpp ()
2737 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2738 if { { ac_try="$ac_cpp conftest.$ac_ext"
2739 case "(($ac_try" in
2740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2741 *) ac_try_echo=$ac_try;;
2742 esac
2743 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2744 $as_echo "$ac_try_echo"; } >&5
2745 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2746 ac_status=$?
2747 if test -s conftest.err; then
2748 grep -v '^ *+' conftest.err >conftest.er1
2749 cat conftest.er1 >&5
2750 mv -f conftest.er1 conftest.err
2752 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2753 test $ac_status = 0; } > conftest.i && {
2754 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2755 test ! -s conftest.err
2756 }; then :
2757 ac_retval=0
2758 else
2759 $as_echo "$as_me: failed program was:" >&5
2760 sed 's/^/| /' conftest.$ac_ext >&5
2762 ac_retval=1
2764 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2765 as_fn_set_status $ac_retval
2767 } # ac_fn_c_try_cpp
2769 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2770 # -------------------------------------------------------
2771 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2772 # the include files in INCLUDES and setting the cache variable VAR
2773 # accordingly.
2774 ac_fn_c_check_header_mongrel ()
2776 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2777 if eval \${$3+:} false; then :
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2779 $as_echo_n "checking for $2... " >&6; }
2780 if eval \${$3+:} false; then :
2781 $as_echo_n "(cached) " >&6
2783 eval ac_res=\$$3
2784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2785 $as_echo "$ac_res" >&6; }
2786 else
2787 # Is the header compilable?
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2789 $as_echo_n "checking $2 usability... " >&6; }
2790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2791 /* end confdefs.h. */
2793 #include <$2>
2794 _ACEOF
2795 if ac_fn_c_try_compile "$LINENO"; then :
2796 ac_header_compiler=yes
2797 else
2798 ac_header_compiler=no
2800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2802 $as_echo "$ac_header_compiler" >&6; }
2804 # Is the header present?
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2806 $as_echo_n "checking $2 presence... " >&6; }
2807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2808 /* end confdefs.h. */
2809 #include <$2>
2810 _ACEOF
2811 if ac_fn_c_try_cpp "$LINENO"; then :
2812 ac_header_preproc=yes
2813 else
2814 ac_header_preproc=no
2816 rm -f conftest.err conftest.i conftest.$ac_ext
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2818 $as_echo "$ac_header_preproc" >&6; }
2820 # So? What about this header?
2821 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2822 yes:no: )
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2824 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2825 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2826 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2828 no:yes:* )
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2830 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2832 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2834 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2836 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2838 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2839 ( $as_echo "## ------------------------------------ ##
2840 ## Report this to wine-devel@winehq.org ##
2841 ## ------------------------------------ ##"
2842 ) | sed "s/^/$as_me: WARNING: /" >&2
2844 esac
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2846 $as_echo_n "checking for $2... " >&6; }
2847 if eval \${$3+:} false; then :
2848 $as_echo_n "(cached) " >&6
2849 else
2850 eval "$3=\$ac_header_compiler"
2852 eval ac_res=\$$3
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2854 $as_echo "$ac_res" >&6; }
2856 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2858 } # ac_fn_c_check_header_mongrel
2860 # ac_fn_c_try_run LINENO
2861 # ----------------------
2862 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2863 # that executables *can* be run.
2864 ac_fn_c_try_run ()
2866 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2867 if { { ac_try="$ac_link"
2868 case "(($ac_try" in
2869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2870 *) ac_try_echo=$ac_try;;
2871 esac
2872 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2873 $as_echo "$ac_try_echo"; } >&5
2874 (eval "$ac_link") 2>&5
2875 ac_status=$?
2876 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2877 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2878 { { case "(($ac_try" in
2879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2880 *) ac_try_echo=$ac_try;;
2881 esac
2882 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2883 $as_echo "$ac_try_echo"; } >&5
2884 (eval "$ac_try") 2>&5
2885 ac_status=$?
2886 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2887 test $ac_status = 0; }; }; then :
2888 ac_retval=0
2889 else
2890 $as_echo "$as_me: program exited with status $ac_status" >&5
2891 $as_echo "$as_me: failed program was:" >&5
2892 sed 's/^/| /' conftest.$ac_ext >&5
2894 ac_retval=$ac_status
2896 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2897 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2898 as_fn_set_status $ac_retval
2900 } # ac_fn_c_try_run
2902 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2903 # -------------------------------------------------------
2904 # Tests whether HEADER exists and can be compiled using the include files in
2905 # INCLUDES, setting the cache variable VAR accordingly.
2906 ac_fn_c_check_header_compile ()
2908 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2910 $as_echo_n "checking for $2... " >&6; }
2911 if eval \${$3+:} false; then :
2912 $as_echo_n "(cached) " >&6
2913 else
2914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2915 /* end confdefs.h. */
2917 #include <$2>
2918 _ACEOF
2919 if ac_fn_c_try_compile "$LINENO"; then :
2920 eval "$3=yes"
2921 else
2922 eval "$3=no"
2924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2926 eval ac_res=\$$3
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2928 $as_echo "$ac_res" >&6; }
2929 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2931 } # ac_fn_c_check_header_compile
2933 # ac_fn_c_check_func LINENO FUNC VAR
2934 # ----------------------------------
2935 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2936 ac_fn_c_check_func ()
2938 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2940 $as_echo_n "checking for $2... " >&6; }
2941 if eval \${$3+:} false; then :
2942 $as_echo_n "(cached) " >&6
2943 else
2944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2945 /* end confdefs.h. */
2946 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2947 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2948 #define $2 innocuous_$2
2950 /* System header to define __stub macros and hopefully few prototypes,
2951 which can conflict with char $2 (); below.
2952 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2953 <limits.h> exists even on freestanding compilers. */
2955 #ifdef __STDC__
2956 # include <limits.h>
2957 #else
2958 # include <assert.h>
2959 #endif
2961 #undef $2
2963 /* Override any GCC internal prototype to avoid an error.
2964 Use char because int might match the return type of a GCC
2965 builtin and then its argument prototype would still apply. */
2966 #ifdef __cplusplus
2967 extern "C"
2968 #endif
2969 char $2 ();
2970 /* The GNU C library defines this for functions which it implements
2971 to always fail with ENOSYS. Some functions are actually named
2972 something starting with __ and the normal name is an alias. */
2973 #if defined __stub_$2 || defined __stub___$2
2974 choke me
2975 #endif
2978 main ()
2980 return $2 ();
2982 return 0;
2984 _ACEOF
2985 if ac_fn_c_try_link "$LINENO"; then :
2986 eval "$3=yes"
2987 else
2988 eval "$3=no"
2990 rm -f core conftest.err conftest.$ac_objext \
2991 conftest$ac_exeext conftest.$ac_ext
2993 eval ac_res=\$$3
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2995 $as_echo "$ac_res" >&6; }
2996 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2998 } # ac_fn_c_check_func
3000 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3001 # ----------------------------------------------------
3002 # Tries to find if the field MEMBER exists in type AGGR, after including
3003 # INCLUDES, setting cache variable VAR accordingly.
3004 ac_fn_c_check_member ()
3006 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3008 $as_echo_n "checking for $2.$3... " >&6; }
3009 if eval \${$4+:} false; then :
3010 $as_echo_n "(cached) " >&6
3011 else
3012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3013 /* end confdefs.h. */
3016 main ()
3018 static $2 ac_aggr;
3019 if (ac_aggr.$3)
3020 return 0;
3022 return 0;
3024 _ACEOF
3025 if ac_fn_c_try_compile "$LINENO"; then :
3026 eval "$4=yes"
3027 else
3028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3029 /* end confdefs.h. */
3032 main ()
3034 static $2 ac_aggr;
3035 if (sizeof ac_aggr.$3)
3036 return 0;
3038 return 0;
3040 _ACEOF
3041 if ac_fn_c_try_compile "$LINENO"; then :
3042 eval "$4=yes"
3043 else
3044 eval "$4=no"
3046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3050 eval ac_res=\$$4
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3052 $as_echo "$ac_res" >&6; }
3053 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3055 } # ac_fn_c_check_member
3057 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3058 # -------------------------------------------
3059 # Tests whether TYPE exists after having included INCLUDES, setting cache
3060 # variable VAR accordingly.
3061 ac_fn_c_check_type ()
3063 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3065 $as_echo_n "checking for $2... " >&6; }
3066 if eval \${$3+:} false; then :
3067 $as_echo_n "(cached) " >&6
3068 else
3069 eval "$3=no"
3070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3071 /* end confdefs.h. */
3074 main ()
3076 if (sizeof ($2))
3077 return 0;
3079 return 0;
3081 _ACEOF
3082 if ac_fn_c_try_compile "$LINENO"; then :
3083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3084 /* end confdefs.h. */
3087 main ()
3089 if (sizeof (($2)))
3090 return 0;
3092 return 0;
3094 _ACEOF
3095 if ac_fn_c_try_compile "$LINENO"; then :
3097 else
3098 eval "$3=yes"
3100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3104 eval ac_res=\$$3
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3106 $as_echo "$ac_res" >&6; }
3107 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3109 } # ac_fn_c_check_type
3110 cat >config.log <<_ACEOF
3111 This file contains any messages produced by compilers while
3112 running configure, to aid debugging if configure makes a mistake.
3114 It was created by Wine $as_me 3.1, which was
3115 generated by GNU Autoconf 2.69. Invocation command line was
3117 $ $0 $@
3119 _ACEOF
3120 exec 5>>config.log
3122 cat <<_ASUNAME
3123 ## --------- ##
3124 ## Platform. ##
3125 ## --------- ##
3127 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3128 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3129 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3130 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3131 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3133 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3134 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3136 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3137 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3138 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3139 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3140 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3141 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3142 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3144 _ASUNAME
3146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3147 for as_dir in $PATH
3149 IFS=$as_save_IFS
3150 test -z "$as_dir" && as_dir=.
3151 $as_echo "PATH: $as_dir"
3152 done
3153 IFS=$as_save_IFS
3155 } >&5
3157 cat >&5 <<_ACEOF
3160 ## ----------- ##
3161 ## Core tests. ##
3162 ## ----------- ##
3164 _ACEOF
3167 # Keep a trace of the command line.
3168 # Strip out --no-create and --no-recursion so they do not pile up.
3169 # Strip out --silent because we don't want to record it for future runs.
3170 # Also quote any args containing shell meta-characters.
3171 # Make two passes to allow for proper duplicate-argument suppression.
3172 ac_configure_args=
3173 ac_configure_args0=
3174 ac_configure_args1=
3175 ac_must_keep_next=false
3176 for ac_pass in 1 2
3178 for ac_arg
3180 case $ac_arg in
3181 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3182 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3183 | -silent | --silent | --silen | --sile | --sil)
3184 continue ;;
3185 *\'*)
3186 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3187 esac
3188 case $ac_pass in
3189 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3191 as_fn_append ac_configure_args1 " '$ac_arg'"
3192 if test $ac_must_keep_next = true; then
3193 ac_must_keep_next=false # Got value, back to normal.
3194 else
3195 case $ac_arg in
3196 *=* | --config-cache | -C | -disable-* | --disable-* \
3197 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3198 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3199 | -with-* | --with-* | -without-* | --without-* | --x)
3200 case "$ac_configure_args0 " in
3201 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3202 esac
3204 -* ) ac_must_keep_next=true ;;
3205 esac
3207 as_fn_append ac_configure_args " '$ac_arg'"
3209 esac
3210 done
3211 done
3212 { ac_configure_args0=; unset ac_configure_args0;}
3213 { ac_configure_args1=; unset ac_configure_args1;}
3215 # When interrupted or exit'd, cleanup temporary files, and complete
3216 # config.log. We remove comments because anyway the quotes in there
3217 # would cause problems or look ugly.
3218 # WARNING: Use '\'' to represent an apostrophe within the trap.
3219 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3220 trap 'exit_status=$?
3221 # Save into config.log some information that might help in debugging.
3223 echo
3225 $as_echo "## ---------------- ##
3226 ## Cache variables. ##
3227 ## ---------------- ##"
3228 echo
3229 # The following way of writing the cache mishandles newlines in values,
3231 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3232 eval ac_val=\$$ac_var
3233 case $ac_val in #(
3234 *${as_nl}*)
3235 case $ac_var in #(
3236 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3237 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3238 esac
3239 case $ac_var in #(
3240 _ | IFS | as_nl) ;; #(
3241 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3242 *) { eval $ac_var=; unset $ac_var;} ;;
3243 esac ;;
3244 esac
3245 done
3246 (set) 2>&1 |
3247 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3248 *${as_nl}ac_space=\ *)
3249 sed -n \
3250 "s/'\''/'\''\\\\'\'''\''/g;
3251 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3252 ;; #(
3254 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3256 esac |
3257 sort
3259 echo
3261 $as_echo "## ----------------- ##
3262 ## Output variables. ##
3263 ## ----------------- ##"
3264 echo
3265 for ac_var in $ac_subst_vars
3267 eval ac_val=\$$ac_var
3268 case $ac_val in
3269 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3270 esac
3271 $as_echo "$ac_var='\''$ac_val'\''"
3272 done | sort
3273 echo
3275 if test -n "$ac_subst_files"; then
3276 $as_echo "## ------------------- ##
3277 ## File substitutions. ##
3278 ## ------------------- ##"
3279 echo
3280 for ac_var in $ac_subst_files
3282 eval ac_val=\$$ac_var
3283 case $ac_val in
3284 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3285 esac
3286 $as_echo "$ac_var='\''$ac_val'\''"
3287 done | sort
3288 echo
3291 if test -s confdefs.h; then
3292 $as_echo "## ----------- ##
3293 ## confdefs.h. ##
3294 ## ----------- ##"
3295 echo
3296 cat confdefs.h
3297 echo
3299 test "$ac_signal" != 0 &&
3300 $as_echo "$as_me: caught signal $ac_signal"
3301 $as_echo "$as_me: exit $exit_status"
3302 } >&5
3303 rm -f core *.core core.conftest.* &&
3304 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3305 exit $exit_status
3307 for ac_signal in 1 2 13 15; do
3308 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3309 done
3310 ac_signal=0
3312 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3313 rm -f -r conftest* confdefs.h
3315 $as_echo "/* confdefs.h */" > confdefs.h
3317 # Predefined preprocessor variables.
3319 cat >>confdefs.h <<_ACEOF
3320 #define PACKAGE_NAME "$PACKAGE_NAME"
3321 _ACEOF
3323 cat >>confdefs.h <<_ACEOF
3324 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3325 _ACEOF
3327 cat >>confdefs.h <<_ACEOF
3328 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3329 _ACEOF
3331 cat >>confdefs.h <<_ACEOF
3332 #define PACKAGE_STRING "$PACKAGE_STRING"
3333 _ACEOF
3335 cat >>confdefs.h <<_ACEOF
3336 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3337 _ACEOF
3339 cat >>confdefs.h <<_ACEOF
3340 #define PACKAGE_URL "$PACKAGE_URL"
3341 _ACEOF
3344 # Let the site file select an alternate cache file if it wants to.
3345 # Prefer an explicitly selected file to automatically selected ones.
3346 ac_site_file1=NONE
3347 ac_site_file2=NONE
3348 if test -n "$CONFIG_SITE"; then
3349 # We do not want a PATH search for config.site.
3350 case $CONFIG_SITE in #((
3351 -*) ac_site_file1=./$CONFIG_SITE;;
3352 */*) ac_site_file1=$CONFIG_SITE;;
3353 *) ac_site_file1=./$CONFIG_SITE;;
3354 esac
3355 elif test "x$prefix" != xNONE; then
3356 ac_site_file1=$prefix/share/config.site
3357 ac_site_file2=$prefix/etc/config.site
3358 else
3359 ac_site_file1=$ac_default_prefix/share/config.site
3360 ac_site_file2=$ac_default_prefix/etc/config.site
3362 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3364 test "x$ac_site_file" = xNONE && continue
3365 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3367 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3368 sed 's/^/| /' "$ac_site_file" >&5
3369 . "$ac_site_file" \
3370 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3371 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3372 as_fn_error $? "failed to load site script $ac_site_file
3373 See \`config.log' for more details" "$LINENO" 5; }
3375 done
3377 if test -r "$cache_file"; then
3378 # Some versions of bash will fail to source /dev/null (special files
3379 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3380 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3382 $as_echo "$as_me: loading cache $cache_file" >&6;}
3383 case $cache_file in
3384 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3385 *) . "./$cache_file";;
3386 esac
3388 else
3389 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3390 $as_echo "$as_me: creating cache $cache_file" >&6;}
3391 >$cache_file
3394 # Check that the precious variables saved in the cache have kept the same
3395 # value.
3396 ac_cache_corrupted=false
3397 for ac_var in $ac_precious_vars; do
3398 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3399 eval ac_new_set=\$ac_env_${ac_var}_set
3400 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3401 eval ac_new_val=\$ac_env_${ac_var}_value
3402 case $ac_old_set,$ac_new_set in
3403 set,)
3404 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3405 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3406 ac_cache_corrupted=: ;;
3407 ,set)
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3409 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3410 ac_cache_corrupted=: ;;
3411 ,);;
3413 if test "x$ac_old_val" != "x$ac_new_val"; then
3414 # differences in whitespace do not lead to failure.
3415 ac_old_val_w=`echo x $ac_old_val`
3416 ac_new_val_w=`echo x $ac_new_val`
3417 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3419 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3420 ac_cache_corrupted=:
3421 else
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3423 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3424 eval $ac_var=\$ac_old_val
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3427 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3428 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3429 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3430 fi;;
3431 esac
3432 # Pass precious variables to config.status.
3433 if test "$ac_new_set" = set; then
3434 case $ac_new_val in
3435 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3436 *) ac_arg=$ac_var=$ac_new_val ;;
3437 esac
3438 case " $ac_configure_args " in
3439 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3440 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3441 esac
3443 done
3444 if $ac_cache_corrupted; then
3445 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3446 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3448 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3449 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3451 ## -------------------- ##
3452 ## Main body of script. ##
3453 ## -------------------- ##
3455 ac_ext=c
3456 ac_cpp='$CPP $CPPFLAGS'
3457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3463 ac_config_headers="$ac_config_headers include/config.h"
3465 ac_aux_dir=
3466 for ac_dir in tools "$srcdir"/tools; do
3467 if test -f "$ac_dir/install-sh"; then
3468 ac_aux_dir=$ac_dir
3469 ac_install_sh="$ac_aux_dir/install-sh -c"
3470 break
3471 elif test -f "$ac_dir/install.sh"; then
3472 ac_aux_dir=$ac_dir
3473 ac_install_sh="$ac_aux_dir/install.sh -c"
3474 break
3475 elif test -f "$ac_dir/shtool"; then
3476 ac_aux_dir=$ac_dir
3477 ac_install_sh="$ac_aux_dir/shtool install -c"
3478 break
3480 done
3481 if test -z "$ac_aux_dir"; then
3482 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3485 # These three variables are undocumented and unsupported,
3486 # and are intended to be withdrawn in a future Autoconf release.
3487 # They can cause serious problems if a builder's source tree is in a directory
3488 # whose full name contains unusual characters.
3489 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3490 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3491 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3495 libwine_version="1.0"
3499 # Check whether --enable-win16 was given.
3500 if test "${enable_win16+set}" = set; then :
3501 enableval=$enable_win16;
3504 # Check whether --enable-win64 was given.
3505 if test "${enable_win64+set}" = set; then :
3506 enableval=$enable_win64;
3509 # Check whether --enable-tests was given.
3510 if test "${enable_tests+set}" = set; then :
3511 enableval=$enable_tests;
3514 # Check whether --enable-maintainer-mode was given.
3515 if test "${enable_maintainer_mode+set}" = set; then :
3516 enableval=$enable_maintainer_mode;
3521 # Check whether --with-alsa was given.
3522 if test "${with_alsa+set}" = set; then :
3523 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3527 # Check whether --with-capi was given.
3528 if test "${with_capi+set}" = set; then :
3529 withval=$with_capi;
3533 # Check whether --with-cms was given.
3534 if test "${with_cms+set}" = set; then :
3535 withval=$with_cms;
3539 # Check whether --with-coreaudio was given.
3540 if test "${with_coreaudio+set}" = set; then :
3541 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3545 # Check whether --with-cups was given.
3546 if test "${with_cups+set}" = set; then :
3547 withval=$with_cups;
3551 # Check whether --with-curses was given.
3552 if test "${with_curses+set}" = set; then :
3553 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3557 # Check whether --with-dbus was given.
3558 if test "${with_dbus+set}" = set; then :
3559 withval=$with_dbus;
3563 # Check whether --with-float-abi was given.
3564 if test "${with_float_abi+set}" = set; then :
3565 withval=$with_float_abi;
3569 # Check whether --with-fontconfig was given.
3570 if test "${with_fontconfig+set}" = set; then :
3571 withval=$with_fontconfig;
3575 # Check whether --with-freetype was given.
3576 if test "${with_freetype+set}" = set; then :
3577 withval=$with_freetype;
3581 # Check whether --with-gettext was given.
3582 if test "${with_gettext+set}" = set; then :
3583 withval=$with_gettext;
3587 # Check whether --with-gettextpo was given.
3588 if test "${with_gettextpo+set}" = set; then :
3589 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3593 # Check whether --with-gphoto was given.
3594 if test "${with_gphoto+set}" = set; then :
3595 withval=$with_gphoto;
3599 # Check whether --with-glu was given.
3600 if test "${with_glu+set}" = set; then :
3601 withval=$with_glu;
3605 # Check whether --with-gnutls was given.
3606 if test "${with_gnutls+set}" = set; then :
3607 withval=$with_gnutls;
3611 # Check whether --with-gsm was given.
3612 if test "${with_gsm+set}" = set; then :
3613 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3617 # Check whether --with-gssapi was given.
3618 if test "${with_gssapi+set}" = set; then :
3619 withval=$with_gssapi;
3623 # Check whether --with-gstreamer was given.
3624 if test "${with_gstreamer+set}" = set; then :
3625 withval=$with_gstreamer;
3629 # Check whether --with-hal was given.
3630 if test "${with_hal+set}" = set; then :
3631 withval=$with_hal;
3635 # Check whether --with-jpeg was given.
3636 if test "${with_jpeg+set}" = set; then :
3637 withval=$with_jpeg;
3641 # Check whether --with-krb5 was given.
3642 if test "${with_krb5+set}" = set; then :
3643 withval=$with_krb5;
3647 # Check whether --with-ldap was given.
3648 if test "${with_ldap+set}" = set; then :
3649 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3653 # Check whether --with-mpg123 was given.
3654 if test "${with_mpg123+set}" = set; then :
3655 withval=$with_mpg123;
3659 # Check whether --with-netapi was given.
3660 if test "${with_netapi+set}" = set; then :
3661 withval=$with_netapi;
3665 # Check whether --with-openal was given.
3666 if test "${with_openal+set}" = set; then :
3667 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3671 # Check whether --with-opencl was given.
3672 if test "${with_opencl+set}" = set; then :
3673 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3677 # Check whether --with-opengl was given.
3678 if test "${with_opengl+set}" = set; then :
3679 withval=$with_opengl;
3683 # Check whether --with-osmesa was given.
3684 if test "${with_osmesa+set}" = set; then :
3685 withval=$with_osmesa;
3689 # Check whether --with-oss was given.
3690 if test "${with_oss+set}" = set; then :
3691 withval=$with_oss;
3695 # Check whether --with-pcap was given.
3696 if test "${with_pcap+set}" = set; then :
3697 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3701 # Check whether --with-png was given.
3702 if test "${with_png+set}" = set; then :
3703 withval=$with_png;
3707 # Check whether --with-pthread was given.
3708 if test "${with_pthread+set}" = set; then :
3709 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3713 # Check whether --with-pulse was given.
3714 if test "${with_pulse+set}" = set; then :
3715 withval=$with_pulse;
3719 # Check whether --with-sane was given.
3720 if test "${with_sane+set}" = set; then :
3721 withval=$with_sane;
3725 # Check whether --with-tiff was given.
3726 if test "${with_tiff+set}" = set; then :
3727 withval=$with_tiff;
3731 # Check whether --with-udev was given.
3732 if test "${with_udev+set}" = set; then :
3733 withval=$with_udev;
3737 # Check whether --with-v4l was given.
3738 if test "${with_v4l+set}" = set; then :
3739 withval=$with_v4l;
3743 # Check whether --with-xcomposite was given.
3744 if test "${with_xcomposite+set}" = set; then :
3745 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3749 # Check whether --with-xcursor was given.
3750 if test "${with_xcursor+set}" = set; then :
3751 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3755 # Check whether --with-xfixes was given.
3756 if test "${with_xfixes+set}" = set; then :
3757 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
3761 # Check whether --with-xinerama was given.
3762 if test "${with_xinerama+set}" = set; then :
3763 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3767 # Check whether --with-xinput was given.
3768 if test "${with_xinput+set}" = set; then :
3769 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3773 # Check whether --with-xinput2 was given.
3774 if test "${with_xinput2+set}" = set; then :
3775 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3779 # Check whether --with-xml was given.
3780 if test "${with_xml+set}" = set; then :
3781 withval=$with_xml;
3785 # Check whether --with-xrandr was given.
3786 if test "${with_xrandr+set}" = set; then :
3787 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3791 # Check whether --with-xrender was given.
3792 if test "${with_xrender+set}" = set; then :
3793 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3797 # Check whether --with-xshape was given.
3798 if test "${with_xshape+set}" = set; then :
3799 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3803 # Check whether --with-xshm was given.
3804 if test "${with_xshm+set}" = set; then :
3805 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3809 # Check whether --with-xslt was given.
3810 if test "${with_xslt+set}" = set; then :
3811 withval=$with_xslt;
3815 # Check whether --with-xxf86vm was given.
3816 if test "${with_xxf86vm+set}" = set; then :
3817 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
3821 # Check whether --with-zlib was given.
3822 if test "${with_zlib+set}" = set; then :
3823 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3828 # Check whether --with-wine-tools was given.
3829 if test "${with_wine_tools+set}" = set; then :
3830 withval=$with_wine_tools;
3834 # Check whether --with-wine64 was given.
3835 if test "${with_wine64+set}" = set; then :
3836 withval=$with_wine64;
3840 # Make sure we can run config.sub.
3841 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3842 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3845 $as_echo_n "checking build system type... " >&6; }
3846 if ${ac_cv_build+:} false; then :
3847 $as_echo_n "(cached) " >&6
3848 else
3849 ac_build_alias=$build_alias
3850 test "x$ac_build_alias" = x &&
3851 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3852 test "x$ac_build_alias" = x &&
3853 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3854 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3855 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3859 $as_echo "$ac_cv_build" >&6; }
3860 case $ac_cv_build in
3861 *-*-*) ;;
3862 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3863 esac
3864 build=$ac_cv_build
3865 ac_save_IFS=$IFS; IFS='-'
3866 set x $ac_cv_build
3867 shift
3868 build_cpu=$1
3869 build_vendor=$2
3870 shift; shift
3871 # Remember, the first character of IFS is used to create $*,
3872 # except with old shells:
3873 build_os=$*
3874 IFS=$ac_save_IFS
3875 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3879 $as_echo_n "checking host system type... " >&6; }
3880 if ${ac_cv_host+:} false; then :
3881 $as_echo_n "(cached) " >&6
3882 else
3883 if test "x$host_alias" = x; then
3884 ac_cv_host=$ac_cv_build
3885 else
3886 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3887 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3892 $as_echo "$ac_cv_host" >&6; }
3893 case $ac_cv_host in
3894 *-*-*) ;;
3895 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3896 esac
3897 host=$ac_cv_host
3898 ac_save_IFS=$IFS; IFS='-'
3899 set x $ac_cv_host
3900 shift
3901 host_cpu=$1
3902 host_vendor=$2
3903 shift; shift
3904 # Remember, the first character of IFS is used to create $*,
3905 # except with old shells:
3906 host_os=$*
3907 IFS=$ac_save_IFS
3908 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3912 case "$srcdir" in
3913 .) ;;
3914 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3915 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3916 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3917 fi ;;
3918 esac
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3922 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3923 set x ${MAKE-make}
3924 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3925 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3926 $as_echo_n "(cached) " >&6
3927 else
3928 cat >conftest.make <<\_ACEOF
3929 SHELL = /bin/sh
3930 all:
3931 @echo '@@@%%%=$(MAKE)=@@@%%%'
3932 _ACEOF
3933 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3934 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3935 *@@@%%%=?*=@@@%%%*)
3936 eval ac_cv_prog_make_${ac_make}_set=yes;;
3938 eval ac_cv_prog_make_${ac_make}_set=no;;
3939 esac
3940 rm -f conftest.make
3942 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3944 $as_echo "yes" >&6; }
3945 SET_MAKE=
3946 else
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3948 $as_echo "no" >&6; }
3949 SET_MAKE="MAKE=${MAKE-make}"
3952 ac_ext=c
3953 ac_cpp='$CPP $CPPFLAGS'
3954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3957 if test -n "$ac_tool_prefix"; then
3958 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3959 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3961 $as_echo_n "checking for $ac_word... " >&6; }
3962 if ${ac_cv_prog_CC+:} false; then :
3963 $as_echo_n "(cached) " >&6
3964 else
3965 if test -n "$CC"; then
3966 ac_cv_prog_CC="$CC" # Let the user override the test.
3967 else
3968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3969 for as_dir in $PATH
3971 IFS=$as_save_IFS
3972 test -z "$as_dir" && as_dir=.
3973 for ac_exec_ext in '' $ac_executable_extensions; do
3974 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3975 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3977 break 2
3979 done
3980 done
3981 IFS=$as_save_IFS
3985 CC=$ac_cv_prog_CC
3986 if test -n "$CC"; then
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3988 $as_echo "$CC" >&6; }
3989 else
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3991 $as_echo "no" >&6; }
3996 if test -z "$ac_cv_prog_CC"; then
3997 ac_ct_CC=$CC
3998 # Extract the first word of "gcc", so it can be a program name with args.
3999 set dummy gcc; ac_word=$2
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4001 $as_echo_n "checking for $ac_word... " >&6; }
4002 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4003 $as_echo_n "(cached) " >&6
4004 else
4005 if test -n "$ac_ct_CC"; then
4006 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4007 else
4008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4009 for as_dir in $PATH
4011 IFS=$as_save_IFS
4012 test -z "$as_dir" && as_dir=.
4013 for ac_exec_ext in '' $ac_executable_extensions; do
4014 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4015 ac_cv_prog_ac_ct_CC="gcc"
4016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4017 break 2
4019 done
4020 done
4021 IFS=$as_save_IFS
4025 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4026 if test -n "$ac_ct_CC"; then
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4028 $as_echo "$ac_ct_CC" >&6; }
4029 else
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4031 $as_echo "no" >&6; }
4034 if test "x$ac_ct_CC" = x; then
4035 CC=""
4036 else
4037 case $cross_compiling:$ac_tool_warned in
4038 yes:)
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4040 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4041 ac_tool_warned=yes ;;
4042 esac
4043 CC=$ac_ct_CC
4045 else
4046 CC="$ac_cv_prog_CC"
4049 if test -z "$CC"; then
4050 if test -n "$ac_tool_prefix"; then
4051 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4052 set dummy ${ac_tool_prefix}cc; ac_word=$2
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4054 $as_echo_n "checking for $ac_word... " >&6; }
4055 if ${ac_cv_prog_CC+:} false; then :
4056 $as_echo_n "(cached) " >&6
4057 else
4058 if test -n "$CC"; then
4059 ac_cv_prog_CC="$CC" # Let the user override the test.
4060 else
4061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4062 for as_dir in $PATH
4064 IFS=$as_save_IFS
4065 test -z "$as_dir" && as_dir=.
4066 for ac_exec_ext in '' $ac_executable_extensions; do
4067 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4068 ac_cv_prog_CC="${ac_tool_prefix}cc"
4069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4070 break 2
4072 done
4073 done
4074 IFS=$as_save_IFS
4078 CC=$ac_cv_prog_CC
4079 if test -n "$CC"; then
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4081 $as_echo "$CC" >&6; }
4082 else
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4084 $as_echo "no" >&6; }
4090 if test -z "$CC"; then
4091 # Extract the first word of "cc", so it can be a program name with args.
4092 set dummy cc; ac_word=$2
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4094 $as_echo_n "checking for $ac_word... " >&6; }
4095 if ${ac_cv_prog_CC+:} false; then :
4096 $as_echo_n "(cached) " >&6
4097 else
4098 if test -n "$CC"; then
4099 ac_cv_prog_CC="$CC" # Let the user override the test.
4100 else
4101 ac_prog_rejected=no
4102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4103 for as_dir in $PATH
4105 IFS=$as_save_IFS
4106 test -z "$as_dir" && as_dir=.
4107 for ac_exec_ext in '' $ac_executable_extensions; do
4108 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4109 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4110 ac_prog_rejected=yes
4111 continue
4113 ac_cv_prog_CC="cc"
4114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4115 break 2
4117 done
4118 done
4119 IFS=$as_save_IFS
4121 if test $ac_prog_rejected = yes; then
4122 # We found a bogon in the path, so make sure we never use it.
4123 set dummy $ac_cv_prog_CC
4124 shift
4125 if test $# != 0; then
4126 # We chose a different compiler from the bogus one.
4127 # However, it has the same basename, so the bogon will be chosen
4128 # first if we set CC to just the basename; use the full file name.
4129 shift
4130 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4135 CC=$ac_cv_prog_CC
4136 if test -n "$CC"; then
4137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4138 $as_echo "$CC" >&6; }
4139 else
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4141 $as_echo "no" >&6; }
4146 if test -z "$CC"; then
4147 if test -n "$ac_tool_prefix"; then
4148 for ac_prog in cl.exe
4150 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4151 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4153 $as_echo_n "checking for $ac_word... " >&6; }
4154 if ${ac_cv_prog_CC+:} false; then :
4155 $as_echo_n "(cached) " >&6
4156 else
4157 if test -n "$CC"; then
4158 ac_cv_prog_CC="$CC" # Let the user override the test.
4159 else
4160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4161 for as_dir in $PATH
4163 IFS=$as_save_IFS
4164 test -z "$as_dir" && as_dir=.
4165 for ac_exec_ext in '' $ac_executable_extensions; do
4166 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4167 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4168 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4169 break 2
4171 done
4172 done
4173 IFS=$as_save_IFS
4177 CC=$ac_cv_prog_CC
4178 if test -n "$CC"; then
4179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4180 $as_echo "$CC" >&6; }
4181 else
4182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4183 $as_echo "no" >&6; }
4187 test -n "$CC" && break
4188 done
4190 if test -z "$CC"; then
4191 ac_ct_CC=$CC
4192 for ac_prog in cl.exe
4194 # Extract the first word of "$ac_prog", so it can be a program name with args.
4195 set dummy $ac_prog; ac_word=$2
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4197 $as_echo_n "checking for $ac_word... " >&6; }
4198 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4199 $as_echo_n "(cached) " >&6
4200 else
4201 if test -n "$ac_ct_CC"; then
4202 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4203 else
4204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4205 for as_dir in $PATH
4207 IFS=$as_save_IFS
4208 test -z "$as_dir" && as_dir=.
4209 for ac_exec_ext in '' $ac_executable_extensions; do
4210 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4211 ac_cv_prog_ac_ct_CC="$ac_prog"
4212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4213 break 2
4215 done
4216 done
4217 IFS=$as_save_IFS
4221 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4222 if test -n "$ac_ct_CC"; then
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4224 $as_echo "$ac_ct_CC" >&6; }
4225 else
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4227 $as_echo "no" >&6; }
4231 test -n "$ac_ct_CC" && break
4232 done
4234 if test "x$ac_ct_CC" = x; then
4235 CC=""
4236 else
4237 case $cross_compiling:$ac_tool_warned in
4238 yes:)
4239 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4240 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4241 ac_tool_warned=yes ;;
4242 esac
4243 CC=$ac_ct_CC
4250 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4251 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4252 as_fn_error $? "no acceptable C compiler found in \$PATH
4253 See \`config.log' for more details" "$LINENO" 5; }
4255 # Provide some information about the compiler.
4256 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4257 set X $ac_compile
4258 ac_compiler=$2
4259 for ac_option in --version -v -V -qversion; do
4260 { { ac_try="$ac_compiler $ac_option >&5"
4261 case "(($ac_try" in
4262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4263 *) ac_try_echo=$ac_try;;
4264 esac
4265 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4266 $as_echo "$ac_try_echo"; } >&5
4267 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4268 ac_status=$?
4269 if test -s conftest.err; then
4270 sed '10a\
4271 ... rest of stderr output deleted ...
4272 10q' conftest.err >conftest.er1
4273 cat conftest.er1 >&5
4275 rm -f conftest.er1 conftest.err
4276 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4277 test $ac_status = 0; }
4278 done
4280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4281 /* end confdefs.h. */
4284 main ()
4288 return 0;
4290 _ACEOF
4291 ac_clean_files_save=$ac_clean_files
4292 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4293 # Try to create an executable without -o first, disregard a.out.
4294 # It will help us diagnose broken compilers, and finding out an intuition
4295 # of exeext.
4296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4297 $as_echo_n "checking whether the C compiler works... " >&6; }
4298 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4300 # The possible output files:
4301 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4303 ac_rmfiles=
4304 for ac_file in $ac_files
4306 case $ac_file in
4307 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4308 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4309 esac
4310 done
4311 rm -f $ac_rmfiles
4313 if { { ac_try="$ac_link_default"
4314 case "(($ac_try" in
4315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4316 *) ac_try_echo=$ac_try;;
4317 esac
4318 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4319 $as_echo "$ac_try_echo"; } >&5
4320 (eval "$ac_link_default") 2>&5
4321 ac_status=$?
4322 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4323 test $ac_status = 0; }; then :
4324 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4325 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4326 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4327 # so that the user can short-circuit this test for compilers unknown to
4328 # Autoconf.
4329 for ac_file in $ac_files ''
4331 test -f "$ac_file" || continue
4332 case $ac_file in
4333 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4335 [ab].out )
4336 # We found the default executable, but exeext='' is most
4337 # certainly right.
4338 break;;
4339 *.* )
4340 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4341 then :; else
4342 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4344 # We set ac_cv_exeext here because the later test for it is not
4345 # safe: cross compilers may not add the suffix if given an `-o'
4346 # argument, so we may need to know it at that point already.
4347 # Even if this section looks crufty: it has the advantage of
4348 # actually working.
4349 break;;
4351 break;;
4352 esac
4353 done
4354 test "$ac_cv_exeext" = no && ac_cv_exeext=
4356 else
4357 ac_file=''
4359 if test -z "$ac_file"; then :
4360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4361 $as_echo "no" >&6; }
4362 $as_echo "$as_me: failed program was:" >&5
4363 sed 's/^/| /' conftest.$ac_ext >&5
4365 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4366 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4367 as_fn_error 77 "C compiler cannot create executables
4368 See \`config.log' for more details" "$LINENO" 5; }
4369 else
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4371 $as_echo "yes" >&6; }
4373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4374 $as_echo_n "checking for C compiler default output file name... " >&6; }
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4376 $as_echo "$ac_file" >&6; }
4377 ac_exeext=$ac_cv_exeext
4379 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4380 ac_clean_files=$ac_clean_files_save
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4382 $as_echo_n "checking for suffix of executables... " >&6; }
4383 if { { ac_try="$ac_link"
4384 case "(($ac_try" in
4385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4386 *) ac_try_echo=$ac_try;;
4387 esac
4388 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4389 $as_echo "$ac_try_echo"; } >&5
4390 (eval "$ac_link") 2>&5
4391 ac_status=$?
4392 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4393 test $ac_status = 0; }; then :
4394 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4395 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4396 # work properly (i.e., refer to `conftest.exe'), while it won't with
4397 # `rm'.
4398 for ac_file in conftest.exe conftest conftest.*; do
4399 test -f "$ac_file" || continue
4400 case $ac_file in
4401 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4402 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4403 break;;
4404 * ) break;;
4405 esac
4406 done
4407 else
4408 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4409 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4410 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4411 See \`config.log' for more details" "$LINENO" 5; }
4413 rm -f conftest conftest$ac_cv_exeext
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4415 $as_echo "$ac_cv_exeext" >&6; }
4417 rm -f conftest.$ac_ext
4418 EXEEXT=$ac_cv_exeext
4419 ac_exeext=$EXEEXT
4420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4421 /* end confdefs.h. */
4422 #include <stdio.h>
4424 main ()
4426 FILE *f = fopen ("conftest.out", "w");
4427 return ferror (f) || fclose (f) != 0;
4430 return 0;
4432 _ACEOF
4433 ac_clean_files="$ac_clean_files conftest.out"
4434 # Check that the compiler produces executables we can run. If not, either
4435 # the compiler is broken, or we cross compile.
4436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4437 $as_echo_n "checking whether we are cross compiling... " >&6; }
4438 if test "$cross_compiling" != yes; then
4439 { { ac_try="$ac_link"
4440 case "(($ac_try" in
4441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4442 *) ac_try_echo=$ac_try;;
4443 esac
4444 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4445 $as_echo "$ac_try_echo"; } >&5
4446 (eval "$ac_link") 2>&5
4447 ac_status=$?
4448 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4449 test $ac_status = 0; }
4450 if { ac_try='./conftest$ac_cv_exeext'
4451 { { case "(($ac_try" in
4452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4453 *) ac_try_echo=$ac_try;;
4454 esac
4455 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4456 $as_echo "$ac_try_echo"; } >&5
4457 (eval "$ac_try") 2>&5
4458 ac_status=$?
4459 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4460 test $ac_status = 0; }; }; then
4461 cross_compiling=no
4462 else
4463 if test "$cross_compiling" = maybe; then
4464 cross_compiling=yes
4465 else
4466 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4467 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4468 as_fn_error $? "cannot run C compiled programs.
4469 If you meant to cross compile, use \`--host'.
4470 See \`config.log' for more details" "$LINENO" 5; }
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4475 $as_echo "$cross_compiling" >&6; }
4477 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4478 ac_clean_files=$ac_clean_files_save
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4480 $as_echo_n "checking for suffix of object files... " >&6; }
4481 if ${ac_cv_objext+:} false; then :
4482 $as_echo_n "(cached) " >&6
4483 else
4484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4485 /* end confdefs.h. */
4488 main ()
4492 return 0;
4494 _ACEOF
4495 rm -f conftest.o conftest.obj
4496 if { { ac_try="$ac_compile"
4497 case "(($ac_try" in
4498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4499 *) ac_try_echo=$ac_try;;
4500 esac
4501 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4502 $as_echo "$ac_try_echo"; } >&5
4503 (eval "$ac_compile") 2>&5
4504 ac_status=$?
4505 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4506 test $ac_status = 0; }; then :
4507 for ac_file in conftest.o conftest.obj conftest.*; do
4508 test -f "$ac_file" || continue;
4509 case $ac_file in
4510 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4511 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4512 break;;
4513 esac
4514 done
4515 else
4516 $as_echo "$as_me: failed program was:" >&5
4517 sed 's/^/| /' conftest.$ac_ext >&5
4519 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4520 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4521 as_fn_error $? "cannot compute suffix of object files: cannot compile
4522 See \`config.log' for more details" "$LINENO" 5; }
4524 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4527 $as_echo "$ac_cv_objext" >&6; }
4528 OBJEXT=$ac_cv_objext
4529 ac_objext=$OBJEXT
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4531 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4532 if ${ac_cv_c_compiler_gnu+:} false; then :
4533 $as_echo_n "(cached) " >&6
4534 else
4535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4536 /* end confdefs.h. */
4539 main ()
4541 #ifndef __GNUC__
4542 choke me
4543 #endif
4546 return 0;
4548 _ACEOF
4549 if ac_fn_c_try_compile "$LINENO"; then :
4550 ac_compiler_gnu=yes
4551 else
4552 ac_compiler_gnu=no
4554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4555 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4559 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4560 if test $ac_compiler_gnu = yes; then
4561 GCC=yes
4562 else
4563 GCC=
4565 ac_test_CFLAGS=${CFLAGS+set}
4566 ac_save_CFLAGS=$CFLAGS
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4568 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4569 if ${ac_cv_prog_cc_g+:} false; then :
4570 $as_echo_n "(cached) " >&6
4571 else
4572 ac_save_c_werror_flag=$ac_c_werror_flag
4573 ac_c_werror_flag=yes
4574 ac_cv_prog_cc_g=no
4575 CFLAGS="-g"
4576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4577 /* end confdefs.h. */
4580 main ()
4584 return 0;
4586 _ACEOF
4587 if ac_fn_c_try_compile "$LINENO"; then :
4588 ac_cv_prog_cc_g=yes
4589 else
4590 CFLAGS=""
4591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4592 /* end confdefs.h. */
4595 main ()
4599 return 0;
4601 _ACEOF
4602 if ac_fn_c_try_compile "$LINENO"; then :
4604 else
4605 ac_c_werror_flag=$ac_save_c_werror_flag
4606 CFLAGS="-g"
4607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4608 /* end confdefs.h. */
4611 main ()
4615 return 0;
4617 _ACEOF
4618 if ac_fn_c_try_compile "$LINENO"; then :
4619 ac_cv_prog_cc_g=yes
4621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4626 ac_c_werror_flag=$ac_save_c_werror_flag
4628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4629 $as_echo "$ac_cv_prog_cc_g" >&6; }
4630 if test "$ac_test_CFLAGS" = set; then
4631 CFLAGS=$ac_save_CFLAGS
4632 elif test $ac_cv_prog_cc_g = yes; then
4633 if test "$GCC" = yes; then
4634 CFLAGS="-g -O2"
4635 else
4636 CFLAGS="-g"
4638 else
4639 if test "$GCC" = yes; then
4640 CFLAGS="-O2"
4641 else
4642 CFLAGS=
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4646 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4647 if ${ac_cv_prog_cc_c89+:} false; then :
4648 $as_echo_n "(cached) " >&6
4649 else
4650 ac_cv_prog_cc_c89=no
4651 ac_save_CC=$CC
4652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4653 /* end confdefs.h. */
4654 #include <stdarg.h>
4655 #include <stdio.h>
4656 struct stat;
4657 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4658 struct buf { int x; };
4659 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4660 static char *e (p, i)
4661 char **p;
4662 int i;
4664 return p[i];
4666 static char *f (char * (*g) (char **, int), char **p, ...)
4668 char *s;
4669 va_list v;
4670 va_start (v,p);
4671 s = g (p, va_arg (v,int));
4672 va_end (v);
4673 return s;
4676 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4677 function prototypes and stuff, but not '\xHH' hex character constants.
4678 These don't provoke an error unfortunately, instead are silently treated
4679 as 'x'. The following induces an error, until -std is added to get
4680 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4681 array size at least. It's necessary to write '\x00'==0 to get something
4682 that's true only with -std. */
4683 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4685 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4686 inside strings and character constants. */
4687 #define FOO(x) 'x'
4688 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4690 int test (int i, double x);
4691 struct s1 {int (*f) (int a);};
4692 struct s2 {int (*f) (double a);};
4693 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4694 int argc;
4695 char **argv;
4697 main ()
4699 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4701 return 0;
4703 _ACEOF
4704 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4705 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4707 CC="$ac_save_CC $ac_arg"
4708 if ac_fn_c_try_compile "$LINENO"; then :
4709 ac_cv_prog_cc_c89=$ac_arg
4711 rm -f core conftest.err conftest.$ac_objext
4712 test "x$ac_cv_prog_cc_c89" != "xno" && break
4713 done
4714 rm -f conftest.$ac_ext
4715 CC=$ac_save_CC
4718 # AC_CACHE_VAL
4719 case "x$ac_cv_prog_cc_c89" in
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4722 $as_echo "none needed" >&6; } ;;
4723 xno)
4724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4725 $as_echo "unsupported" >&6; } ;;
4727 CC="$CC $ac_cv_prog_cc_c89"
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4729 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4730 esac
4731 if test "x$ac_cv_prog_cc_c89" != xno; then :
4735 ac_ext=c
4736 ac_cpp='$CPP $CPPFLAGS'
4737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4741 ac_ext=cpp
4742 ac_cpp='$CXXCPP $CPPFLAGS'
4743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4746 if test -z "$CXX"; then
4747 if test -n "$CCC"; then
4748 CXX=$CCC
4749 else
4750 if test -n "$ac_tool_prefix"; then
4751 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4753 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4754 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4756 $as_echo_n "checking for $ac_word... " >&6; }
4757 if ${ac_cv_prog_CXX+:} false; then :
4758 $as_echo_n "(cached) " >&6
4759 else
4760 if test -n "$CXX"; then
4761 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4762 else
4763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4764 for as_dir in $PATH
4766 IFS=$as_save_IFS
4767 test -z "$as_dir" && as_dir=.
4768 for ac_exec_ext in '' $ac_executable_extensions; do
4769 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4770 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4772 break 2
4774 done
4775 done
4776 IFS=$as_save_IFS
4780 CXX=$ac_cv_prog_CXX
4781 if test -n "$CXX"; then
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4783 $as_echo "$CXX" >&6; }
4784 else
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4786 $as_echo "no" >&6; }
4790 test -n "$CXX" && break
4791 done
4793 if test -z "$CXX"; then
4794 ac_ct_CXX=$CXX
4795 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4797 # Extract the first word of "$ac_prog", so it can be a program name with args.
4798 set dummy $ac_prog; ac_word=$2
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4800 $as_echo_n "checking for $ac_word... " >&6; }
4801 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4802 $as_echo_n "(cached) " >&6
4803 else
4804 if test -n "$ac_ct_CXX"; then
4805 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4806 else
4807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4808 for as_dir in $PATH
4810 IFS=$as_save_IFS
4811 test -z "$as_dir" && as_dir=.
4812 for ac_exec_ext in '' $ac_executable_extensions; do
4813 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4814 ac_cv_prog_ac_ct_CXX="$ac_prog"
4815 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4816 break 2
4818 done
4819 done
4820 IFS=$as_save_IFS
4824 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4825 if test -n "$ac_ct_CXX"; then
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4827 $as_echo "$ac_ct_CXX" >&6; }
4828 else
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4830 $as_echo "no" >&6; }
4834 test -n "$ac_ct_CXX" && break
4835 done
4837 if test "x$ac_ct_CXX" = x; then
4838 CXX="g++"
4839 else
4840 case $cross_compiling:$ac_tool_warned in
4841 yes:)
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4843 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4844 ac_tool_warned=yes ;;
4845 esac
4846 CXX=$ac_ct_CXX
4852 # Provide some information about the compiler.
4853 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4854 set X $ac_compile
4855 ac_compiler=$2
4856 for ac_option in --version -v -V -qversion; do
4857 { { ac_try="$ac_compiler $ac_option >&5"
4858 case "(($ac_try" in
4859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4860 *) ac_try_echo=$ac_try;;
4861 esac
4862 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4863 $as_echo "$ac_try_echo"; } >&5
4864 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4865 ac_status=$?
4866 if test -s conftest.err; then
4867 sed '10a\
4868 ... rest of stderr output deleted ...
4869 10q' conftest.err >conftest.er1
4870 cat conftest.er1 >&5
4872 rm -f conftest.er1 conftest.err
4873 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4874 test $ac_status = 0; }
4875 done
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4878 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4879 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4880 $as_echo_n "(cached) " >&6
4881 else
4882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4883 /* end confdefs.h. */
4886 main ()
4888 #ifndef __GNUC__
4889 choke me
4890 #endif
4893 return 0;
4895 _ACEOF
4896 if ac_fn_cxx_try_compile "$LINENO"; then :
4897 ac_compiler_gnu=yes
4898 else
4899 ac_compiler_gnu=no
4901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4902 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4906 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4907 if test $ac_compiler_gnu = yes; then
4908 GXX=yes
4909 else
4910 GXX=
4912 ac_test_CXXFLAGS=${CXXFLAGS+set}
4913 ac_save_CXXFLAGS=$CXXFLAGS
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4915 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4916 if ${ac_cv_prog_cxx_g+:} false; then :
4917 $as_echo_n "(cached) " >&6
4918 else
4919 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4920 ac_cxx_werror_flag=yes
4921 ac_cv_prog_cxx_g=no
4922 CXXFLAGS="-g"
4923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4924 /* end confdefs.h. */
4927 main ()
4931 return 0;
4933 _ACEOF
4934 if ac_fn_cxx_try_compile "$LINENO"; then :
4935 ac_cv_prog_cxx_g=yes
4936 else
4937 CXXFLAGS=""
4938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4939 /* end confdefs.h. */
4942 main ()
4946 return 0;
4948 _ACEOF
4949 if ac_fn_cxx_try_compile "$LINENO"; then :
4951 else
4952 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4953 CXXFLAGS="-g"
4954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4955 /* end confdefs.h. */
4958 main ()
4962 return 0;
4964 _ACEOF
4965 if ac_fn_cxx_try_compile "$LINENO"; then :
4966 ac_cv_prog_cxx_g=yes
4968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4973 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4976 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4977 if test "$ac_test_CXXFLAGS" = set; then
4978 CXXFLAGS=$ac_save_CXXFLAGS
4979 elif test $ac_cv_prog_cxx_g = yes; then
4980 if test "$GXX" = yes; then
4981 CXXFLAGS="-g -O2"
4982 else
4983 CXXFLAGS="-g"
4985 else
4986 if test "$GXX" = yes; then
4987 CXXFLAGS="-O2"
4988 else
4989 CXXFLAGS=
4992 ac_ext=c
4993 ac_cpp='$CPP $CPPFLAGS'
4994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4998 if test -n "$ac_tool_prefix"; then
4999 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5000 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5002 $as_echo_n "checking for $ac_word... " >&6; }
5003 if ${ac_cv_prog_CPPBIN+:} false; then :
5004 $as_echo_n "(cached) " >&6
5005 else
5006 if test -n "$CPPBIN"; then
5007 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5008 else
5009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5010 for as_dir in $PATH
5012 IFS=$as_save_IFS
5013 test -z "$as_dir" && as_dir=.
5014 for ac_exec_ext in '' $ac_executable_extensions; do
5015 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5016 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5018 break 2
5020 done
5021 done
5022 IFS=$as_save_IFS
5026 CPPBIN=$ac_cv_prog_CPPBIN
5027 if test -n "$CPPBIN"; then
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5029 $as_echo "$CPPBIN" >&6; }
5030 else
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5032 $as_echo "no" >&6; }
5037 if test -z "$ac_cv_prog_CPPBIN"; then
5038 ac_ct_CPPBIN=$CPPBIN
5039 # Extract the first word of "cpp", so it can be a program name with args.
5040 set dummy cpp; ac_word=$2
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5042 $as_echo_n "checking for $ac_word... " >&6; }
5043 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5044 $as_echo_n "(cached) " >&6
5045 else
5046 if test -n "$ac_ct_CPPBIN"; then
5047 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5048 else
5049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5050 for as_dir in $PATH
5052 IFS=$as_save_IFS
5053 test -z "$as_dir" && as_dir=.
5054 for ac_exec_ext in '' $ac_executable_extensions; do
5055 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5056 ac_cv_prog_ac_ct_CPPBIN="cpp"
5057 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5058 break 2
5060 done
5061 done
5062 IFS=$as_save_IFS
5066 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5067 if test -n "$ac_ct_CPPBIN"; then
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5069 $as_echo "$ac_ct_CPPBIN" >&6; }
5070 else
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5072 $as_echo "no" >&6; }
5075 if test "x$ac_ct_CPPBIN" = x; then
5076 CPPBIN="cpp"
5077 else
5078 case $cross_compiling:$ac_tool_warned in
5079 yes:)
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5081 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5082 ac_tool_warned=yes ;;
5083 esac
5084 CPPBIN=$ac_ct_CPPBIN
5086 else
5087 CPPBIN="$ac_cv_prog_CPPBIN"
5091 cat >>confdefs.h <<_ACEOF
5092 #define EXEEXT "$ac_exeext"
5093 _ACEOF
5095 if test -n "$ac_tool_prefix"; then
5096 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5097 set dummy ${ac_tool_prefix}ld; ac_word=$2
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5099 $as_echo_n "checking for $ac_word... " >&6; }
5100 if ${ac_cv_prog_LD+:} false; then :
5101 $as_echo_n "(cached) " >&6
5102 else
5103 if test -n "$LD"; then
5104 ac_cv_prog_LD="$LD" # Let the user override the test.
5105 else
5106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5107 for as_dir in $PATH
5109 IFS=$as_save_IFS
5110 test -z "$as_dir" && as_dir=.
5111 for ac_exec_ext in '' $ac_executable_extensions; do
5112 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5113 ac_cv_prog_LD="${ac_tool_prefix}ld"
5114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5115 break 2
5117 done
5118 done
5119 IFS=$as_save_IFS
5123 LD=$ac_cv_prog_LD
5124 if test -n "$LD"; then
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5126 $as_echo "$LD" >&6; }
5127 else
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5129 $as_echo "no" >&6; }
5134 if test -z "$ac_cv_prog_LD"; then
5135 ac_ct_LD=$LD
5136 # Extract the first word of "ld", so it can be a program name with args.
5137 set dummy ld; ac_word=$2
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5139 $as_echo_n "checking for $ac_word... " >&6; }
5140 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5141 $as_echo_n "(cached) " >&6
5142 else
5143 if test -n "$ac_ct_LD"; then
5144 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5145 else
5146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5147 for as_dir in $PATH
5149 IFS=$as_save_IFS
5150 test -z "$as_dir" && as_dir=.
5151 for ac_exec_ext in '' $ac_executable_extensions; do
5152 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5153 ac_cv_prog_ac_ct_LD="ld"
5154 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5155 break 2
5157 done
5158 done
5159 IFS=$as_save_IFS
5163 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5164 if test -n "$ac_ct_LD"; then
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5166 $as_echo "$ac_ct_LD" >&6; }
5167 else
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5169 $as_echo "no" >&6; }
5172 if test "x$ac_ct_LD" = x; then
5173 LD=""
5174 else
5175 case $cross_compiling:$ac_tool_warned in
5176 yes:)
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5178 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5179 ac_tool_warned=yes ;;
5180 esac
5181 LD=$ac_ct_LD
5183 else
5184 LD="$ac_cv_prog_LD"
5188 case $host in
5189 *-darwin*)
5190 with_fontconfig=${with_fontconfig:-no}
5192 *-mingw32*|*-cygwin*)
5193 enable_win16=${enable_win16:-no}
5194 CFLAGS="$CFLAGS -D_WIN32"
5196 esac
5198 case $host in
5199 x86_64*|amd64*)
5200 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5201 then
5202 CC="$CC -m32"
5203 CXX="$CXX -m32"
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5205 $as_echo_n "checking whether $CC works... " >&6; }
5207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5208 /* end confdefs.h. */
5211 main ()
5215 return 0;
5217 _ACEOF
5218 if ac_fn_c_try_link "$LINENO"; then :
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5220 $as_echo "yes" >&6; }
5221 else
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5223 $as_echo "no" >&6; }
5224 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5226 rm -f core conftest.err conftest.$ac_objext \
5227 conftest$ac_exeext conftest.$ac_ext
5228 host_cpu="i386"
5229 notice_platform="32-bit "
5230 TARGETFLAGS="-m32"
5232 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5233 export PKG_CONFIG_PATH
5234 enable_win16=${enable_win16:-yes}
5235 else
5236 if test "x${GCC}" = "xyes"
5237 then
5238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5239 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5241 /* end confdefs.h. */
5242 #include <stdarg.h>
5244 main ()
5246 void func(__builtin_ms_va_list *args);
5248 return 0;
5250 _ACEOF
5251 if ac_fn_c_try_compile "$LINENO"; then :
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5253 $as_echo "yes" >&6; }
5254 else
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5256 $as_echo "no" >&6; }
5257 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5261 CC="$CC -m64"
5262 CXX="$CXX -m64"
5263 host_cpu="x86_64"
5264 notice_platform="64-bit "
5265 TARGETFLAGS="-m64"
5269 arm*)
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5271 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5273 /* end confdefs.h. */
5274 int ac_test(int i) { return i; }
5276 main ()
5278 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5280 return 0;
5282 _ACEOF
5283 if ac_fn_c_try_link "$LINENO"; then :
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5285 $as_echo "yes" >&6; }
5286 else
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5288 $as_echo "no" >&6; }
5289 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5291 rm -f core conftest.err conftest.$ac_objext \
5292 conftest$ac_exeext conftest.$ac_ext
5293 case $with_float_abi in
5294 soft|softfp|hard)
5295 float_abi=$with_float_abi ;;
5297 case $host_os in
5298 *eabihf)
5299 float_abi=hard ;;
5301 float_abi=softfp
5302 saved_CFLAGS=$CFLAGS
5303 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5305 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5307 /* end confdefs.h. */
5310 main ()
5312 asm("vmrs r2,fpscr");
5314 return 0;
5316 _ACEOF
5317 if ac_fn_c_try_link "$LINENO"; then :
5318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5319 $as_echo "yes" >&6; }
5320 else
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5322 $as_echo "no" >&6; }
5323 float_abi=soft
5324 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5326 rm -f core conftest.err conftest.$ac_objext \
5327 conftest$ac_exeext conftest.$ac_ext
5328 CFLAGS=$saved_CFLAGS
5329 esac
5331 esac
5332 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5333 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5336 i[3456789]86*)
5337 enable_win16=${enable_win16:-yes}
5339 esac
5341 enable_win16=${enable_win16:-no}
5342 enable_win64=${enable_win64:-no}
5344 enable_winetest=${enable_winetest:-$enable_tests}
5346 if test -n "$with_wine64"
5347 then
5348 if test "x$enable_win64" = "xyes"
5349 then
5350 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5351 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5353 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5354 You should create a separate build directory and run configure from there." "$LINENO" 5
5355 enable_fonts=${enable_fonts:-no}
5356 enable_server=${enable_server:-no}
5357 elif test "x$enable_win64" = "xyes"
5358 then
5359 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5363 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5364 if ${wine_cv_toolsdir+:} false; then :
5365 $as_echo_n "(cached) " >&6
5366 else
5367 wine_cv_toolsdir="$with_wine_tools"
5368 if test -z "$with_wine_tools"; then
5369 if test "$cross_compiling" = "yes"; then
5370 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5371 elif test -n "$with_wine64"; then
5372 wine_cv_toolsdir="$with_wine64"
5375 if test -z "$wine_cv_toolsdir"; then
5376 wine_makedep=tools/makedep
5377 wine_cv_toolsdir="\$(top_builddir)"
5378 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5379 wine_makedep=$wine_cv_toolsdir/tools/makedep
5380 case "$wine_cv_toolsdir" in
5381 /*) ;;
5382 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5383 esac
5384 enable_tools=${enable_tools:-no}
5385 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5386 else
5387 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5391 $as_echo "$wine_cv_toolsdir" >&6; }
5392 TOOLSDIR=$wine_cv_toolsdir
5394 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5395 then
5396 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5400 for ac_prog in flex
5402 # Extract the first word of "$ac_prog", so it can be a program name with args.
5403 set dummy $ac_prog; ac_word=$2
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5405 $as_echo_n "checking for $ac_word... " >&6; }
5406 if ${ac_cv_prog_FLEX+:} false; then :
5407 $as_echo_n "(cached) " >&6
5408 else
5409 if test -n "$FLEX"; then
5410 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5411 else
5412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5413 for as_dir in $PATH
5415 IFS=$as_save_IFS
5416 test -z "$as_dir" && as_dir=.
5417 for ac_exec_ext in '' $ac_executable_extensions; do
5418 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5419 ac_cv_prog_FLEX="$ac_prog"
5420 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5421 break 2
5423 done
5424 done
5425 IFS=$as_save_IFS
5429 FLEX=$ac_cv_prog_FLEX
5430 if test -n "$FLEX"; then
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5432 $as_echo "$FLEX" >&6; }
5433 else
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5435 $as_echo "no" >&6; }
5439 test -n "$FLEX" && break
5440 done
5441 test -n "$FLEX" || FLEX="none"
5443 if test "$FLEX" = "none"
5444 then
5445 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5448 $as_echo_n "checking whether flex is recent enough... " >&6; }
5449 cat >conftest.l <<EOF
5450 %top{
5451 #include "prediluvian.h"
5455 if $FLEX -t conftest.l >/dev/null 2>&5
5456 then
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5458 $as_echo "yes" >&6; }
5459 else
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5461 $as_echo "no" >&6; }
5462 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5465 for ac_prog in bison
5467 # Extract the first word of "$ac_prog", so it can be a program name with args.
5468 set dummy $ac_prog; ac_word=$2
5469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5470 $as_echo_n "checking for $ac_word... " >&6; }
5471 if ${ac_cv_prog_BISON+:} false; then :
5472 $as_echo_n "(cached) " >&6
5473 else
5474 if test -n "$BISON"; then
5475 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5476 else
5477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5478 for as_dir in $PATH
5480 IFS=$as_save_IFS
5481 test -z "$as_dir" && as_dir=.
5482 for ac_exec_ext in '' $ac_executable_extensions; do
5483 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5484 ac_cv_prog_BISON="$ac_prog"
5485 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5486 break 2
5488 done
5489 done
5490 IFS=$as_save_IFS
5494 BISON=$ac_cv_prog_BISON
5495 if test -n "$BISON"; then
5496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5497 $as_echo "$BISON" >&6; }
5498 else
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5500 $as_echo "no" >&6; }
5504 test -n "$BISON" && break
5505 done
5506 test -n "$BISON" || BISON="none"
5508 if test "$BISON" = "none"
5509 then
5510 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5513 if test -n "$ac_tool_prefix"; then
5514 for ac_prog in ar gar
5516 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5517 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5519 $as_echo_n "checking for $ac_word... " >&6; }
5520 if ${ac_cv_prog_AR+:} false; then :
5521 $as_echo_n "(cached) " >&6
5522 else
5523 if test -n "$AR"; then
5524 ac_cv_prog_AR="$AR" # Let the user override the test.
5525 else
5526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5527 for as_dir in $PATH
5529 IFS=$as_save_IFS
5530 test -z "$as_dir" && as_dir=.
5531 for ac_exec_ext in '' $ac_executable_extensions; do
5532 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5533 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5534 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5535 break 2
5537 done
5538 done
5539 IFS=$as_save_IFS
5543 AR=$ac_cv_prog_AR
5544 if test -n "$AR"; then
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5546 $as_echo "$AR" >&6; }
5547 else
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5549 $as_echo "no" >&6; }
5553 test -n "$AR" && break
5554 done
5556 if test -z "$AR"; then
5557 ac_ct_AR=$AR
5558 for ac_prog in ar gar
5560 # Extract the first word of "$ac_prog", so it can be a program name with args.
5561 set dummy $ac_prog; ac_word=$2
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5563 $as_echo_n "checking for $ac_word... " >&6; }
5564 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5565 $as_echo_n "(cached) " >&6
5566 else
5567 if test -n "$ac_ct_AR"; then
5568 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5569 else
5570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5571 for as_dir in $PATH
5573 IFS=$as_save_IFS
5574 test -z "$as_dir" && as_dir=.
5575 for ac_exec_ext in '' $ac_executable_extensions; do
5576 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5577 ac_cv_prog_ac_ct_AR="$ac_prog"
5578 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5579 break 2
5581 done
5582 done
5583 IFS=$as_save_IFS
5587 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5588 if test -n "$ac_ct_AR"; then
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5590 $as_echo "$ac_ct_AR" >&6; }
5591 else
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5593 $as_echo "no" >&6; }
5597 test -n "$ac_ct_AR" && break
5598 done
5600 if test "x$ac_ct_AR" = x; then
5601 AR="ar"
5602 else
5603 case $cross_compiling:$ac_tool_warned in
5604 yes:)
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5606 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5607 ac_tool_warned=yes ;;
5608 esac
5609 AR=$ac_ct_AR
5613 if test -n "$ac_tool_prefix"; then
5614 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5615 set dummy ${ac_tool_prefix}strip; ac_word=$2
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5617 $as_echo_n "checking for $ac_word... " >&6; }
5618 if ${ac_cv_prog_STRIP+:} false; then :
5619 $as_echo_n "(cached) " >&6
5620 else
5621 if test -n "$STRIP"; then
5622 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5623 else
5624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5625 for as_dir in $PATH
5627 IFS=$as_save_IFS
5628 test -z "$as_dir" && as_dir=.
5629 for ac_exec_ext in '' $ac_executable_extensions; do
5630 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5631 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5633 break 2
5635 done
5636 done
5637 IFS=$as_save_IFS
5641 STRIP=$ac_cv_prog_STRIP
5642 if test -n "$STRIP"; then
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5644 $as_echo "$STRIP" >&6; }
5645 else
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5647 $as_echo "no" >&6; }
5652 if test -z "$ac_cv_prog_STRIP"; then
5653 ac_ct_STRIP=$STRIP
5654 # Extract the first word of "strip", so it can be a program name with args.
5655 set dummy strip; ac_word=$2
5656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5657 $as_echo_n "checking for $ac_word... " >&6; }
5658 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5659 $as_echo_n "(cached) " >&6
5660 else
5661 if test -n "$ac_ct_STRIP"; then
5662 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5663 else
5664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5665 for as_dir in $PATH
5667 IFS=$as_save_IFS
5668 test -z "$as_dir" && as_dir=.
5669 for ac_exec_ext in '' $ac_executable_extensions; do
5670 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5671 ac_cv_prog_ac_ct_STRIP="strip"
5672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5673 break 2
5675 done
5676 done
5677 IFS=$as_save_IFS
5681 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5682 if test -n "$ac_ct_STRIP"; then
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5684 $as_echo "$ac_ct_STRIP" >&6; }
5685 else
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5687 $as_echo "no" >&6; }
5690 if test "x$ac_ct_STRIP" = x; then
5691 STRIP="strip"
5692 else
5693 case $cross_compiling:$ac_tool_warned in
5694 yes:)
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5696 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5697 ac_tool_warned=yes ;;
5698 esac
5699 STRIP=$ac_ct_STRIP
5701 else
5702 STRIP="$ac_cv_prog_STRIP"
5705 ARFLAGS=rc
5707 if test -n "$ac_tool_prefix"; then
5708 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5709 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5711 $as_echo_n "checking for $ac_word... " >&6; }
5712 if ${ac_cv_prog_RANLIB+:} false; then :
5713 $as_echo_n "(cached) " >&6
5714 else
5715 if test -n "$RANLIB"; then
5716 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5717 else
5718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5719 for as_dir in $PATH
5721 IFS=$as_save_IFS
5722 test -z "$as_dir" && as_dir=.
5723 for ac_exec_ext in '' $ac_executable_extensions; do
5724 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5725 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5726 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5727 break 2
5729 done
5730 done
5731 IFS=$as_save_IFS
5735 RANLIB=$ac_cv_prog_RANLIB
5736 if test -n "$RANLIB"; then
5737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5738 $as_echo "$RANLIB" >&6; }
5739 else
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5741 $as_echo "no" >&6; }
5746 if test -z "$ac_cv_prog_RANLIB"; then
5747 ac_ct_RANLIB=$RANLIB
5748 # Extract the first word of "ranlib", so it can be a program name with args.
5749 set dummy ranlib; ac_word=$2
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5751 $as_echo_n "checking for $ac_word... " >&6; }
5752 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5753 $as_echo_n "(cached) " >&6
5754 else
5755 if test -n "$ac_ct_RANLIB"; then
5756 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5757 else
5758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5759 for as_dir in $PATH
5761 IFS=$as_save_IFS
5762 test -z "$as_dir" && as_dir=.
5763 for ac_exec_ext in '' $ac_executable_extensions; do
5764 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5765 ac_cv_prog_ac_ct_RANLIB="ranlib"
5766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5767 break 2
5769 done
5770 done
5771 IFS=$as_save_IFS
5775 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5776 if test -n "$ac_ct_RANLIB"; then
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5778 $as_echo "$ac_ct_RANLIB" >&6; }
5779 else
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5781 $as_echo "no" >&6; }
5784 if test "x$ac_ct_RANLIB" = x; then
5785 RANLIB=":"
5786 else
5787 case $cross_compiling:$ac_tool_warned in
5788 yes:)
5789 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5790 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5791 ac_tool_warned=yes ;;
5792 esac
5793 RANLIB=$ac_ct_RANLIB
5795 else
5796 RANLIB="$ac_cv_prog_RANLIB"
5799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5800 $as_echo_n "checking whether ln -s works... " >&6; }
5801 LN_S=$as_ln_s
5802 if test "$LN_S" = "ln -s"; then
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5804 $as_echo "yes" >&6; }
5805 else
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5807 $as_echo "no, using $LN_S" >&6; }
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5811 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5812 if ${ac_cv_path_GREP+:} false; then :
5813 $as_echo_n "(cached) " >&6
5814 else
5815 if test -z "$GREP"; then
5816 ac_path_GREP_found=false
5817 # Loop through the user's path and test for each of PROGNAME-LIST
5818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5819 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5821 IFS=$as_save_IFS
5822 test -z "$as_dir" && as_dir=.
5823 for ac_prog in grep ggrep; do
5824 for ac_exec_ext in '' $ac_executable_extensions; do
5825 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5826 as_fn_executable_p "$ac_path_GREP" || continue
5827 # Check for GNU ac_path_GREP and select it if it is found.
5828 # Check for GNU $ac_path_GREP
5829 case `"$ac_path_GREP" --version 2>&1` in
5830 *GNU*)
5831 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5833 ac_count=0
5834 $as_echo_n 0123456789 >"conftest.in"
5835 while :
5837 cat "conftest.in" "conftest.in" >"conftest.tmp"
5838 mv "conftest.tmp" "conftest.in"
5839 cp "conftest.in" "conftest.nl"
5840 $as_echo 'GREP' >> "conftest.nl"
5841 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5842 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5843 as_fn_arith $ac_count + 1 && ac_count=$as_val
5844 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5845 # Best one so far, save it but keep looking for a better one
5846 ac_cv_path_GREP="$ac_path_GREP"
5847 ac_path_GREP_max=$ac_count
5849 # 10*(2^10) chars as input seems more than enough
5850 test $ac_count -gt 10 && break
5851 done
5852 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5853 esac
5855 $ac_path_GREP_found && break 3
5856 done
5857 done
5858 done
5859 IFS=$as_save_IFS
5860 if test -z "$ac_cv_path_GREP"; then
5861 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5863 else
5864 ac_cv_path_GREP=$GREP
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5869 $as_echo "$ac_cv_path_GREP" >&6; }
5870 GREP="$ac_cv_path_GREP"
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5874 $as_echo_n "checking for egrep... " >&6; }
5875 if ${ac_cv_path_EGREP+:} false; then :
5876 $as_echo_n "(cached) " >&6
5877 else
5878 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5879 then ac_cv_path_EGREP="$GREP -E"
5880 else
5881 if test -z "$EGREP"; then
5882 ac_path_EGREP_found=false
5883 # Loop through the user's path and test for each of PROGNAME-LIST
5884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5885 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5887 IFS=$as_save_IFS
5888 test -z "$as_dir" && as_dir=.
5889 for ac_prog in egrep; do
5890 for ac_exec_ext in '' $ac_executable_extensions; do
5891 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5892 as_fn_executable_p "$ac_path_EGREP" || continue
5893 # Check for GNU ac_path_EGREP and select it if it is found.
5894 # Check for GNU $ac_path_EGREP
5895 case `"$ac_path_EGREP" --version 2>&1` in
5896 *GNU*)
5897 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5899 ac_count=0
5900 $as_echo_n 0123456789 >"conftest.in"
5901 while :
5903 cat "conftest.in" "conftest.in" >"conftest.tmp"
5904 mv "conftest.tmp" "conftest.in"
5905 cp "conftest.in" "conftest.nl"
5906 $as_echo 'EGREP' >> "conftest.nl"
5907 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5908 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5909 as_fn_arith $ac_count + 1 && ac_count=$as_val
5910 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5911 # Best one so far, save it but keep looking for a better one
5912 ac_cv_path_EGREP="$ac_path_EGREP"
5913 ac_path_EGREP_max=$ac_count
5915 # 10*(2^10) chars as input seems more than enough
5916 test $ac_count -gt 10 && break
5917 done
5918 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5919 esac
5921 $ac_path_EGREP_found && break 3
5922 done
5923 done
5924 done
5925 IFS=$as_save_IFS
5926 if test -z "$ac_cv_path_EGREP"; then
5927 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5929 else
5930 ac_cv_path_EGREP=$EGREP
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5936 $as_echo "$ac_cv_path_EGREP" >&6; }
5937 EGREP="$ac_cv_path_EGREP"
5940 # Extract the first word of "ldconfig", so it can be a program name with args.
5941 set dummy ldconfig; ac_word=$2
5942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5943 $as_echo_n "checking for $ac_word... " >&6; }
5944 if ${ac_cv_path_LDCONFIG+:} false; then :
5945 $as_echo_n "(cached) " >&6
5946 else
5947 case $LDCONFIG in
5948 [\\/]* | ?:[\\/]*)
5949 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5953 for as_dir in /sbin /usr/sbin $PATH
5955 IFS=$as_save_IFS
5956 test -z "$as_dir" && as_dir=.
5957 for ac_exec_ext in '' $ac_executable_extensions; do
5958 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5959 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5961 break 2
5963 done
5964 done
5965 IFS=$as_save_IFS
5967 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5969 esac
5971 LDCONFIG=$ac_cv_path_LDCONFIG
5972 if test -n "$LDCONFIG"; then
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5974 $as_echo "$LDCONFIG" >&6; }
5975 else
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5977 $as_echo "no" >&6; }
5981 for ac_prog in msgfmt
5983 # Extract the first word of "$ac_prog", so it can be a program name with args.
5984 set dummy $ac_prog; ac_word=$2
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5986 $as_echo_n "checking for $ac_word... " >&6; }
5987 if ${ac_cv_prog_MSGFMT+:} false; then :
5988 $as_echo_n "(cached) " >&6
5989 else
5990 if test -n "$MSGFMT"; then
5991 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5992 else
5993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5994 for as_dir in $PATH
5996 IFS=$as_save_IFS
5997 test -z "$as_dir" && as_dir=.
5998 for ac_exec_ext in '' $ac_executable_extensions; do
5999 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6000 ac_cv_prog_MSGFMT="$ac_prog"
6001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6002 break 2
6004 done
6005 done
6006 IFS=$as_save_IFS
6010 MSGFMT=$ac_cv_prog_MSGFMT
6011 if test -n "$MSGFMT"; then
6012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6013 $as_echo "$MSGFMT" >&6; }
6014 else
6015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6016 $as_echo "no" >&6; }
6020 test -n "$MSGFMT" && break
6021 done
6022 test -n "$MSGFMT" || MSGFMT="false"
6024 if ${ac_tool_prefix+:} false; then :
6025 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6026 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6028 $as_echo_n "checking for $ac_word... " >&6; }
6029 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6030 $as_echo_n "(cached) " >&6
6031 else
6032 if test -n "$PKG_CONFIG"; then
6033 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6034 else
6035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6036 for as_dir in $PATH
6038 IFS=$as_save_IFS
6039 test -z "$as_dir" && as_dir=.
6040 for ac_exec_ext in '' $ac_executable_extensions; do
6041 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6042 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6044 break 2
6046 done
6047 done
6048 IFS=$as_save_IFS
6052 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6053 if test -n "$PKG_CONFIG"; then
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6055 $as_echo "$PKG_CONFIG" >&6; }
6056 else
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6058 $as_echo "no" >&6; }
6063 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6064 if test "x$cross_compiling" = xyes; then :
6066 else
6067 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6068 # Extract the first word of "pkg-config", so it can be a program name with args.
6069 set dummy pkg-config; ac_word=$2
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6071 $as_echo_n "checking for $ac_word... " >&6; }
6072 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6073 $as_echo_n "(cached) " >&6
6074 else
6075 if test -n "$PKG_CONFIG"; then
6076 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6077 else
6078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6079 for as_dir in $PATH
6081 IFS=$as_save_IFS
6082 test -z "$as_dir" && as_dir=.
6083 for ac_exec_ext in '' $ac_executable_extensions; do
6084 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6085 ac_cv_prog_PKG_CONFIG="pkg-config"
6086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6087 break 2
6089 done
6090 done
6091 IFS=$as_save_IFS
6095 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6096 if test -n "$PKG_CONFIG"; then
6097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6098 $as_echo "$PKG_CONFIG" >&6; }
6099 else
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6101 $as_echo "no" >&6; }
6106 else
6107 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6110 if test "x$enable_maintainer_mode" != "xyes"
6111 then
6112 FONTFORGE=""
6113 RSVG=""
6114 CONVERT=""
6115 ICOTOOL=""
6116 else
6117 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6118 for ac_prog in fontforge
6120 # Extract the first word of "$ac_prog", so it can be a program name with args.
6121 set dummy $ac_prog; ac_word=$2
6122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6123 $as_echo_n "checking for $ac_word... " >&6; }
6124 if ${ac_cv_prog_FONTFORGE+:} false; then :
6125 $as_echo_n "(cached) " >&6
6126 else
6127 if test -n "$FONTFORGE"; then
6128 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6129 else
6130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6131 for as_dir in $PATH
6133 IFS=$as_save_IFS
6134 test -z "$as_dir" && as_dir=.
6135 for ac_exec_ext in '' $ac_executable_extensions; do
6136 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6137 ac_cv_prog_FONTFORGE="$ac_prog"
6138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6139 break 2
6141 done
6142 done
6143 IFS=$as_save_IFS
6147 FONTFORGE=$ac_cv_prog_FONTFORGE
6148 if test -n "$FONTFORGE"; then
6149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6150 $as_echo "$FONTFORGE" >&6; }
6151 else
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6153 $as_echo "no" >&6; }
6157 test -n "$FONTFORGE" && break
6158 done
6159 test -n "$FONTFORGE" || FONTFORGE="false"
6161 for ac_prog in rsvg-convert rsvg
6163 # Extract the first word of "$ac_prog", so it can be a program name with args.
6164 set dummy $ac_prog; ac_word=$2
6165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6166 $as_echo_n "checking for $ac_word... " >&6; }
6167 if ${ac_cv_prog_RSVG+:} false; then :
6168 $as_echo_n "(cached) " >&6
6169 else
6170 if test -n "$RSVG"; then
6171 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6172 else
6173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6174 for as_dir in $PATH
6176 IFS=$as_save_IFS
6177 test -z "$as_dir" && as_dir=.
6178 for ac_exec_ext in '' $ac_executable_extensions; do
6179 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6180 ac_cv_prog_RSVG="$ac_prog"
6181 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6182 break 2
6184 done
6185 done
6186 IFS=$as_save_IFS
6190 RSVG=$ac_cv_prog_RSVG
6191 if test -n "$RSVG"; then
6192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6193 $as_echo "$RSVG" >&6; }
6194 else
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6196 $as_echo "no" >&6; }
6200 test -n "$RSVG" && break
6201 done
6202 test -n "$RSVG" || RSVG="false"
6204 for ac_prog in convert
6206 # Extract the first word of "$ac_prog", so it can be a program name with args.
6207 set dummy $ac_prog; ac_word=$2
6208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6209 $as_echo_n "checking for $ac_word... " >&6; }
6210 if ${ac_cv_prog_CONVERT+:} false; then :
6211 $as_echo_n "(cached) " >&6
6212 else
6213 if test -n "$CONVERT"; then
6214 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6215 else
6216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6217 for as_dir in $PATH
6219 IFS=$as_save_IFS
6220 test -z "$as_dir" && as_dir=.
6221 for ac_exec_ext in '' $ac_executable_extensions; do
6222 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6223 ac_cv_prog_CONVERT="$ac_prog"
6224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6225 break 2
6227 done
6228 done
6229 IFS=$as_save_IFS
6233 CONVERT=$ac_cv_prog_CONVERT
6234 if test -n "$CONVERT"; then
6235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6236 $as_echo "$CONVERT" >&6; }
6237 else
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6239 $as_echo "no" >&6; }
6243 test -n "$CONVERT" && break
6244 done
6245 test -n "$CONVERT" || CONVERT="false"
6247 for ac_prog in icotool
6249 # Extract the first word of "$ac_prog", so it can be a program name with args.
6250 set dummy $ac_prog; ac_word=$2
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6252 $as_echo_n "checking for $ac_word... " >&6; }
6253 if ${ac_cv_prog_ICOTOOL+:} false; then :
6254 $as_echo_n "(cached) " >&6
6255 else
6256 if test -n "$ICOTOOL"; then
6257 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6258 else
6259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6260 for as_dir in $PATH
6262 IFS=$as_save_IFS
6263 test -z "$as_dir" && as_dir=.
6264 for ac_exec_ext in '' $ac_executable_extensions; do
6265 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6266 ac_cv_prog_ICOTOOL="$ac_prog"
6267 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6268 break 2
6270 done
6271 done
6272 IFS=$as_save_IFS
6276 ICOTOOL=$ac_cv_prog_ICOTOOL
6277 if test -n "$ICOTOOL"; then
6278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6279 $as_echo "$ICOTOOL" >&6; }
6280 else
6281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6282 $as_echo "no" >&6; }
6286 test -n "$ICOTOOL" && break
6287 done
6288 test -n "$ICOTOOL" || ICOTOOL="false"
6290 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6291 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6293 if test "$CONVERT" = false
6294 then
6295 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6296 else
6297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6298 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6299 convert_version=`convert --version | head -n1`
6300 if test "x$convert_version" != "x"
6301 then
6302 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6303 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6304 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6305 then
6306 CONVERT=false
6309 if test "$CONVERT" = false
6310 then
6311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6312 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6313 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6314 else
6315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6316 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6320 if test "$ICOTOOL" = false
6321 then
6322 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6323 else
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6325 $as_echo_n "checking for recent enough icotool... " >&6; }
6326 icotool_version=`icotool --version | head -n1`
6327 if test "x$icotool_version" != "x"
6328 then
6329 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6330 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6331 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6332 then
6333 ICOTOOL=false
6334 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6337 if test "$ICOTOOL" = false
6338 then
6339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6340 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6341 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6342 else
6343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6344 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6348 with_gettext=yes
6349 with_gettextpo=yes
6350 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6353 test "x$with_gettext" != xno || MSGFMT=false
6354 if test "$MSGFMT" != "false"
6355 then
6356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6357 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6358 cat >conftest.po <<EOF
6359 # comment
6360 msgctxt "ctxt"
6361 msgid "id"
6362 msgstr "str"
6364 if $MSGFMT -o /dev/null conftest.po 2>&5
6365 then
6366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6367 $as_echo "yes" >&6; }
6368 else
6369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6370 $as_echo "no" >&6; }
6371 MSGFMT=false
6374 if test "$MSGFMT" = false; then :
6375 case "x$with_gettext" in
6376 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6377 xno) ;;
6378 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6379 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6380 esac
6381 enable_po=${enable_po:-no}
6385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6386 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6387 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6388 $as_echo_n "(cached) " >&6
6389 else
6390 ac_check_lib_save_LIBS=$LIBS
6391 LIBS="-li386 $LIBS"
6392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6393 /* end confdefs.h. */
6395 /* Override any GCC internal prototype to avoid an error.
6396 Use char because int might match the return type of a GCC
6397 builtin and then its argument prototype would still apply. */
6398 #ifdef __cplusplus
6399 extern "C"
6400 #endif
6401 char i386_set_ldt ();
6403 main ()
6405 return i386_set_ldt ();
6407 return 0;
6409 _ACEOF
6410 if ac_fn_c_try_link "$LINENO"; then :
6411 ac_cv_lib_i386_i386_set_ldt=yes
6412 else
6413 ac_cv_lib_i386_i386_set_ldt=no
6415 rm -f core conftest.err conftest.$ac_objext \
6416 conftest$ac_exeext conftest.$ac_ext
6417 LIBS=$ac_check_lib_save_LIBS
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6420 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6421 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6422 cat >>confdefs.h <<_ACEOF
6423 #define HAVE_LIBI386 1
6424 _ACEOF
6426 LIBS="-li386 $LIBS"
6430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6431 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6432 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6433 $as_echo_n "(cached) " >&6
6434 else
6435 ac_check_lib_save_LIBS=$LIBS
6436 LIBS="-lossaudio $LIBS"
6437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6438 /* end confdefs.h. */
6440 /* Override any GCC internal prototype to avoid an error.
6441 Use char because int might match the return type of a GCC
6442 builtin and then its argument prototype would still apply. */
6443 #ifdef __cplusplus
6444 extern "C"
6445 #endif
6446 char _oss_ioctl ();
6448 main ()
6450 return _oss_ioctl ();
6452 return 0;
6454 _ACEOF
6455 if ac_fn_c_try_link "$LINENO"; then :
6456 ac_cv_lib_ossaudio__oss_ioctl=yes
6457 else
6458 ac_cv_lib_ossaudio__oss_ioctl=no
6460 rm -f core conftest.err conftest.$ac_objext \
6461 conftest$ac_exeext conftest.$ac_ext
6462 LIBS=$ac_check_lib_save_LIBS
6464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6465 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6466 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6467 cat >>confdefs.h <<_ACEOF
6468 #define HAVE_LIBOSSAUDIO 1
6469 _ACEOF
6471 LIBS="-lossaudio $LIBS"
6476 OPENGL_LIBS=""
6480 # Check whether --enable-largefile was given.
6481 if test "${enable_largefile+set}" = set; then :
6482 enableval=$enable_largefile;
6485 if test "$enable_largefile" != no; then
6487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6488 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6489 if ${ac_cv_sys_largefile_CC+:} false; then :
6490 $as_echo_n "(cached) " >&6
6491 else
6492 ac_cv_sys_largefile_CC=no
6493 if test "$GCC" != yes; then
6494 ac_save_CC=$CC
6495 while :; do
6496 # IRIX 6.2 and later do not support large files by default,
6497 # so use the C compiler's -n32 option if that helps.
6498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6499 /* end confdefs.h. */
6500 #include <sys/types.h>
6501 /* Check that off_t can represent 2**63 - 1 correctly.
6502 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6503 since some C++ compilers masquerading as C compilers
6504 incorrectly reject 9223372036854775807. */
6505 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6506 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6507 && LARGE_OFF_T % 2147483647 == 1)
6508 ? 1 : -1];
6510 main ()
6514 return 0;
6516 _ACEOF
6517 if ac_fn_c_try_compile "$LINENO"; then :
6518 break
6520 rm -f core conftest.err conftest.$ac_objext
6521 CC="$CC -n32"
6522 if ac_fn_c_try_compile "$LINENO"; then :
6523 ac_cv_sys_largefile_CC=' -n32'; break
6525 rm -f core conftest.err conftest.$ac_objext
6526 break
6527 done
6528 CC=$ac_save_CC
6529 rm -f conftest.$ac_ext
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6533 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6534 if test "$ac_cv_sys_largefile_CC" != no; then
6535 CC=$CC$ac_cv_sys_largefile_CC
6538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6539 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6540 if ${ac_cv_sys_file_offset_bits+:} false; then :
6541 $as_echo_n "(cached) " >&6
6542 else
6543 while :; do
6544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6545 /* end confdefs.h. */
6546 #include <sys/types.h>
6547 /* Check that off_t can represent 2**63 - 1 correctly.
6548 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6549 since some C++ compilers masquerading as C compilers
6550 incorrectly reject 9223372036854775807. */
6551 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6552 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6553 && LARGE_OFF_T % 2147483647 == 1)
6554 ? 1 : -1];
6556 main ()
6560 return 0;
6562 _ACEOF
6563 if ac_fn_c_try_compile "$LINENO"; then :
6564 ac_cv_sys_file_offset_bits=no; break
6566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6568 /* end confdefs.h. */
6569 #define _FILE_OFFSET_BITS 64
6570 #include <sys/types.h>
6571 /* Check that off_t can represent 2**63 - 1 correctly.
6572 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6573 since some C++ compilers masquerading as C compilers
6574 incorrectly reject 9223372036854775807. */
6575 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6576 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6577 && LARGE_OFF_T % 2147483647 == 1)
6578 ? 1 : -1];
6580 main ()
6584 return 0;
6586 _ACEOF
6587 if ac_fn_c_try_compile "$LINENO"; then :
6588 ac_cv_sys_file_offset_bits=64; break
6590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6591 ac_cv_sys_file_offset_bits=unknown
6592 break
6593 done
6595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6596 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6597 case $ac_cv_sys_file_offset_bits in #(
6598 no | unknown) ;;
6600 cat >>confdefs.h <<_ACEOF
6601 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6602 _ACEOF
6604 esac
6605 rm -rf conftest*
6606 if test $ac_cv_sys_file_offset_bits = unknown; then
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6608 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6609 if ${ac_cv_sys_large_files+:} false; then :
6610 $as_echo_n "(cached) " >&6
6611 else
6612 while :; do
6613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6614 /* end confdefs.h. */
6615 #include <sys/types.h>
6616 /* Check that off_t can represent 2**63 - 1 correctly.
6617 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6618 since some C++ compilers masquerading as C compilers
6619 incorrectly reject 9223372036854775807. */
6620 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6621 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6622 && LARGE_OFF_T % 2147483647 == 1)
6623 ? 1 : -1];
6625 main ()
6629 return 0;
6631 _ACEOF
6632 if ac_fn_c_try_compile "$LINENO"; then :
6633 ac_cv_sys_large_files=no; break
6635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6637 /* end confdefs.h. */
6638 #define _LARGE_FILES 1
6639 #include <sys/types.h>
6640 /* Check that off_t can represent 2**63 - 1 correctly.
6641 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6642 since some C++ compilers masquerading as C compilers
6643 incorrectly reject 9223372036854775807. */
6644 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6645 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6646 && LARGE_OFF_T % 2147483647 == 1)
6647 ? 1 : -1];
6649 main ()
6653 return 0;
6655 _ACEOF
6656 if ac_fn_c_try_compile "$LINENO"; then :
6657 ac_cv_sys_large_files=1; break
6659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6660 ac_cv_sys_large_files=unknown
6661 break
6662 done
6664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6665 $as_echo "$ac_cv_sys_large_files" >&6; }
6666 case $ac_cv_sys_large_files in #(
6667 no | unknown) ;;
6669 cat >>confdefs.h <<_ACEOF
6670 #define _LARGE_FILES $ac_cv_sys_large_files
6671 _ACEOF
6673 esac
6674 rm -rf conftest*
6681 ac_ext=c
6682 ac_cpp='$CPP $CPPFLAGS'
6683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6687 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6688 # On Suns, sometimes $CPP names a directory.
6689 if test -n "$CPP" && test -d "$CPP"; then
6690 CPP=
6692 if test -z "$CPP"; then
6693 if ${ac_cv_prog_CPP+:} false; then :
6694 $as_echo_n "(cached) " >&6
6695 else
6696 # Double quotes because CPP needs to be expanded
6697 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6699 ac_preproc_ok=false
6700 for ac_c_preproc_warn_flag in '' yes
6702 # Use a header file that comes with gcc, so configuring glibc
6703 # with a fresh cross-compiler works.
6704 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6705 # <limits.h> exists even on freestanding compilers.
6706 # On the NeXT, cc -E runs the code through the compiler's parser,
6707 # not just through cpp. "Syntax error" is here to catch this case.
6708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6709 /* end confdefs.h. */
6710 #ifdef __STDC__
6711 # include <limits.h>
6712 #else
6713 # include <assert.h>
6714 #endif
6715 Syntax error
6716 _ACEOF
6717 if ac_fn_c_try_cpp "$LINENO"; then :
6719 else
6720 # Broken: fails on valid input.
6721 continue
6723 rm -f conftest.err conftest.i conftest.$ac_ext
6725 # OK, works on sane cases. Now check whether nonexistent headers
6726 # can be detected and how.
6727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6728 /* end confdefs.h. */
6729 #include <ac_nonexistent.h>
6730 _ACEOF
6731 if ac_fn_c_try_cpp "$LINENO"; then :
6732 # Broken: success on invalid input.
6733 continue
6734 else
6735 # Passes both tests.
6736 ac_preproc_ok=:
6737 break
6739 rm -f conftest.err conftest.i conftest.$ac_ext
6741 done
6742 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6743 rm -f conftest.i conftest.err conftest.$ac_ext
6744 if $ac_preproc_ok; then :
6745 break
6748 done
6749 ac_cv_prog_CPP=$CPP
6752 CPP=$ac_cv_prog_CPP
6753 else
6754 ac_cv_prog_CPP=$CPP
6756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6757 $as_echo "$CPP" >&6; }
6758 ac_preproc_ok=false
6759 for ac_c_preproc_warn_flag in '' yes
6761 # Use a header file that comes with gcc, so configuring glibc
6762 # with a fresh cross-compiler works.
6763 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6764 # <limits.h> exists even on freestanding compilers.
6765 # On the NeXT, cc -E runs the code through the compiler's parser,
6766 # not just through cpp. "Syntax error" is here to catch this case.
6767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6768 /* end confdefs.h. */
6769 #ifdef __STDC__
6770 # include <limits.h>
6771 #else
6772 # include <assert.h>
6773 #endif
6774 Syntax error
6775 _ACEOF
6776 if ac_fn_c_try_cpp "$LINENO"; then :
6778 else
6779 # Broken: fails on valid input.
6780 continue
6782 rm -f conftest.err conftest.i conftest.$ac_ext
6784 # OK, works on sane cases. Now check whether nonexistent headers
6785 # can be detected and how.
6786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6787 /* end confdefs.h. */
6788 #include <ac_nonexistent.h>
6789 _ACEOF
6790 if ac_fn_c_try_cpp "$LINENO"; then :
6791 # Broken: success on invalid input.
6792 continue
6793 else
6794 # Passes both tests.
6795 ac_preproc_ok=:
6796 break
6798 rm -f conftest.err conftest.i conftest.$ac_ext
6800 done
6801 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6802 rm -f conftest.i conftest.err conftest.$ac_ext
6803 if $ac_preproc_ok; then :
6805 else
6806 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6807 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6808 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6809 See \`config.log' for more details" "$LINENO" 5; }
6812 ac_ext=c
6813 ac_cpp='$CPP $CPPFLAGS'
6814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6820 $as_echo_n "checking for ANSI C header files... " >&6; }
6821 if ${ac_cv_header_stdc+:} false; then :
6822 $as_echo_n "(cached) " >&6
6823 else
6824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6825 /* end confdefs.h. */
6826 #include <stdlib.h>
6827 #include <stdarg.h>
6828 #include <string.h>
6829 #include <float.h>
6832 main ()
6836 return 0;
6838 _ACEOF
6839 if ac_fn_c_try_compile "$LINENO"; then :
6840 ac_cv_header_stdc=yes
6841 else
6842 ac_cv_header_stdc=no
6844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6846 if test $ac_cv_header_stdc = yes; then
6847 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6849 /* end confdefs.h. */
6850 #include <string.h>
6852 _ACEOF
6853 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6854 $EGREP "memchr" >/dev/null 2>&1; then :
6856 else
6857 ac_cv_header_stdc=no
6859 rm -f conftest*
6863 if test $ac_cv_header_stdc = yes; then
6864 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6866 /* end confdefs.h. */
6867 #include <stdlib.h>
6869 _ACEOF
6870 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6871 $EGREP "free" >/dev/null 2>&1; then :
6873 else
6874 ac_cv_header_stdc=no
6876 rm -f conftest*
6880 if test $ac_cv_header_stdc = yes; then
6881 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6882 if test "$cross_compiling" = yes; then :
6884 else
6885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6886 /* end confdefs.h. */
6887 #include <ctype.h>
6888 #include <stdlib.h>
6889 #if ((' ' & 0x0FF) == 0x020)
6890 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6891 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6892 #else
6893 # define ISLOWER(c) \
6894 (('a' <= (c) && (c) <= 'i') \
6895 || ('j' <= (c) && (c) <= 'r') \
6896 || ('s' <= (c) && (c) <= 'z'))
6897 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6898 #endif
6900 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6902 main ()
6904 int i;
6905 for (i = 0; i < 256; i++)
6906 if (XOR (islower (i), ISLOWER (i))
6907 || toupper (i) != TOUPPER (i))
6908 return 2;
6909 return 0;
6911 _ACEOF
6912 if ac_fn_c_try_run "$LINENO"; then :
6914 else
6915 ac_cv_header_stdc=no
6917 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6918 conftest.$ac_objext conftest.beam conftest.$ac_ext
6923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6924 $as_echo "$ac_cv_header_stdc" >&6; }
6925 if test $ac_cv_header_stdc = yes; then
6927 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6931 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6932 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6933 inttypes.h stdint.h unistd.h
6934 do :
6935 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6936 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6938 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6939 cat >>confdefs.h <<_ACEOF
6940 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6941 _ACEOF
6945 done
6948 for ac_header in \
6949 AL/al.h \
6950 ApplicationServices/ApplicationServices.h \
6951 AudioToolbox/AudioConverter.h \
6952 AudioUnit/AudioUnit.h \
6953 AudioUnit/AudioComponent.h \
6954 CL/cl.h \
6955 Carbon/Carbon.h \
6956 CommonCrypto/CommonCryptor.h \
6957 CoreAudio/CoreAudio.h \
6958 CoreServices/CoreServices.h \
6959 DiskArbitration/DiskArbitration.h \
6960 EGL/egl.h \
6961 IOKit/IOKitLib.h \
6962 IOKit/hid/IOHIDLib.h \
6963 OpenAL/al.h \
6964 OpenCL/opencl.h \
6965 QuickTime/ImageCompression.h \
6966 Security/Security.h \
6967 alias.h \
6968 alsa/asoundlib.h \
6969 arpa/inet.h \
6970 arpa/nameser.h \
6971 asm/types.h \
6972 asm/user.h \
6973 curses.h \
6974 direct.h \
6975 dirent.h \
6976 dlfcn.h \
6977 elf.h \
6978 float.h \
6979 fnmatch.h \
6980 getopt.h \
6981 gettext-po.h \
6982 grp.h \
6983 gsm.h \
6984 gsm/gsm.h \
6985 ieeefp.h \
6986 inet/mib2.h \
6987 io.h \
6988 kstat.h \
6989 libproc.h \
6990 link.h \
6991 linux/cdrom.h \
6992 linux/compiler.h \
6993 linux/filter.h \
6994 linux/hdreg.h \
6995 linux/hidraw.h \
6996 linux/input.h \
6997 linux/ioctl.h \
6998 linux/joystick.h \
6999 linux/major.h \
7000 linux/param.h \
7001 linux/serial.h \
7002 linux/types.h \
7003 linux/ucdrom.h \
7004 lwp.h \
7005 mach-o/nlist.h \
7006 mach-o/loader.h \
7007 mach/mach.h \
7008 mach/machine.h \
7009 machine/cpu.h \
7010 machine/limits.h \
7011 machine/sysarch.h \
7012 mntent.h \
7013 ncurses.h \
7014 netdb.h \
7015 netinet/in.h \
7016 netinet/in_systm.h \
7017 netinet/tcp.h \
7018 netinet/tcp_fsm.h \
7019 pcap/pcap.h \
7020 poll.h \
7021 port.h \
7022 process.h \
7023 pthread.h \
7024 pwd.h \
7025 sched.h \
7026 scsi/scsi.h \
7027 scsi/scsi_ioctl.h \
7028 scsi/sg.h \
7029 stdbool.h \
7030 stdint.h \
7031 stropts.h \
7032 sys/asoundlib.h \
7033 sys/attr.h \
7034 sys/auxv.h \
7035 sys/cdio.h \
7036 sys/elf32.h \
7037 sys/epoll.h \
7038 sys/event.h \
7039 sys/exec_elf.h \
7040 sys/filio.h \
7041 sys/inotify.h \
7042 sys/ioctl.h \
7043 sys/ipc.h \
7044 sys/limits.h \
7045 sys/link.h \
7046 sys/mman.h \
7047 sys/modem.h \
7048 sys/msg.h \
7049 sys/mtio.h \
7050 sys/param.h \
7051 sys/poll.h \
7052 sys/prctl.h \
7053 sys/protosw.h \
7054 sys/ptrace.h \
7055 sys/queue.h \
7056 sys/resource.h \
7057 sys/scsiio.h \
7058 sys/shm.h \
7059 sys/signal.h \
7060 sys/socket.h \
7061 sys/socketvar.h \
7062 sys/sockio.h \
7063 sys/statvfs.h \
7064 sys/strtio.h \
7065 sys/syscall.h \
7066 sys/sysinfo.h \
7067 sys/tihdr.h \
7068 sys/time.h \
7069 sys/timeout.h \
7070 sys/times.h \
7071 sys/uio.h \
7072 sys/user.h \
7073 sys/utsname.h \
7074 sys/vnode.h \
7075 sys/wait.h \
7076 syscall.h \
7077 termios.h \
7078 unistd.h \
7079 utime.h \
7080 valgrind/memcheck.h \
7081 valgrind/valgrind.h \
7082 zlib.h
7084 do :
7085 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7086 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7087 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7088 cat >>confdefs.h <<_ACEOF
7089 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7090 _ACEOF
7094 done
7096 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7097 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7099 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7104 if test $ac_cv_header_sys_mkdev_h = no; then
7105 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7106 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7108 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7115 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7116 if ${ac_cv_header_stat_broken+:} false; then :
7117 $as_echo_n "(cached) " >&6
7118 else
7119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7120 /* end confdefs.h. */
7121 #include <sys/types.h>
7122 #include <sys/stat.h>
7124 #if defined S_ISBLK && defined S_IFDIR
7125 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7126 #endif
7128 #if defined S_ISBLK && defined S_IFCHR
7129 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7130 #endif
7132 #if defined S_ISLNK && defined S_IFREG
7133 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7134 #endif
7136 #if defined S_ISSOCK && defined S_IFREG
7137 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7138 #endif
7140 _ACEOF
7141 if ac_fn_c_try_compile "$LINENO"; then :
7142 ac_cv_header_stat_broken=no
7143 else
7144 ac_cv_header_stat_broken=yes
7146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7149 $as_echo "$ac_cv_header_stat_broken" >&6; }
7150 if test $ac_cv_header_stat_broken = yes; then
7152 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7158 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7159 do :
7160 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7161 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7162 #ifdef HAVE_SYS_PARAM_H
7163 # include <sys/param.h>
7164 #endif
7166 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7167 cat >>confdefs.h <<_ACEOF
7168 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7169 _ACEOF
7173 done
7176 for ac_header in \
7177 netinet/ip.h \
7178 net/if.h \
7179 net/if_arp.h \
7180 net/if_dl.h \
7181 net/if_types.h \
7182 net/route.h \
7183 netinet/if_ether.h \
7184 netinet/if_inarp.h \
7185 netinet/in_pcb.h \
7186 netinet/ip_icmp.h \
7187 netinet/ip_var.h \
7188 netinet/udp.h \
7189 netipx/ipx.h \
7190 sys/un.h \
7192 do :
7193 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7194 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7195 #ifdef HAVE_SYS_SOCKET_H
7196 # include <sys/socket.h>
7197 #endif
7198 #ifdef HAVE_SYS_SOCKETVAR_H
7199 # include <sys/socketvar.h>
7200 #endif
7201 #ifdef HAVE_NET_ROUTE_H
7202 # include <net/route.h>
7203 #endif
7204 #ifdef HAVE_NETINET_IN_H
7205 # include <netinet/in.h>
7206 #endif
7207 #ifdef HAVE_NETINET_IN_SYSTM_H
7208 # include <netinet/in_systm.h>
7209 #endif
7210 #ifdef HAVE_NET_IF_H
7211 # include <net/if.h>
7212 #endif
7213 #ifdef HAVE_NETINET_IP_H
7214 # include <netinet/ip.h>
7215 #endif
7217 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7218 cat >>confdefs.h <<_ACEOF
7219 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7220 _ACEOF
7224 done
7227 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7228 do :
7229 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7230 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7231 #ifdef HAVE_ALIAS_H
7232 # include <alias.h>
7233 #endif
7234 #ifdef HAVE_SYS_SOCKET_H
7235 # include <sys/socket.h>
7236 #endif
7237 #ifdef HAVE_SYS_SOCKETVAR_H
7238 # include <sys/socketvar.h>
7239 #endif
7240 #ifdef HAVE_SYS_TIMEOUT_H
7241 # include <sys/timeout.h>
7242 #endif
7243 #ifdef HAVE_NETINET_IN_H
7244 # include <netinet/in.h>
7245 #endif
7246 #ifdef HAVE_NETINET_IN_SYSTM_H
7247 # include <netinet/in_systm.h>
7248 #endif
7249 #ifdef HAVE_NETINET_IP_H
7250 # include <netinet/ip.h>
7251 #endif
7252 #ifdef HAVE_NETINET_IP_VAR_H
7253 # include <netinet/ip_var.h>
7254 #endif
7255 #ifdef HAVE_NETINET_IP_ICMP_H
7256 # include <netinet/ip_icmp.h>
7257 #endif
7258 #ifdef HAVE_NETINET_UDP_H
7259 # include <netinet/udp.h>
7260 #endif
7261 #ifdef HAVE_NETINET_TCP_H
7262 # include <netinet/tcp.h>
7263 #endif
7264 #ifdef HAVE_NETINET_TCP_TIMER_H
7265 #include <netinet/tcp_timer.h>
7266 #endif
7268 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7269 cat >>confdefs.h <<_ACEOF
7270 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7271 _ACEOF
7275 done
7278 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7279 do :
7280 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7281 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7282 #ifdef HAVE_ASM_TYPES_H
7283 # include <asm/types.h>
7284 #endif
7285 #ifdef HAVE_SYS_SOCKET_H
7286 # include <sys/socket.h>
7287 #endif
7288 #ifdef HAVE_LINUX_TYPES_H
7289 # include <linux/types.h>
7290 #endif
7292 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7293 cat >>confdefs.h <<_ACEOF
7294 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7295 _ACEOF
7299 done
7302 for ac_header in mach-o/dyld_images.h
7303 do :
7304 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7305 # include <stdbool.h>
7306 #endif
7307 #ifdef HAVE_STDINT_H
7308 # include <stdint.h>
7309 #endif
7311 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7312 cat >>confdefs.h <<_ACEOF
7313 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7314 _ACEOF
7318 done
7321 for ac_header in resolv.h
7322 do :
7323 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7324 #ifdef HAVE_SYS_SOCKET_H
7325 # include <sys/socket.h>
7326 #endif
7327 #ifdef HAVE_NETINET_IN_H
7328 # include <netinet/in.h>
7329 #endif
7330 #ifdef HAVE_ARPA_NAMESER_H
7331 # include <arpa/nameser.h>
7332 #endif
7334 if test "x$ac_cv_header_resolv_h" = xyes; then :
7335 cat >>confdefs.h <<_ACEOF
7336 #define HAVE_RESOLV_H 1
7337 _ACEOF
7341 done
7344 for ac_header in ifaddrs.h
7345 do :
7346 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7348 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7349 cat >>confdefs.h <<_ACEOF
7350 #define HAVE_IFADDRS_H 1
7351 _ACEOF
7355 done
7358 for ac_header in sys/ucontext.h
7359 do :
7360 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7362 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7363 cat >>confdefs.h <<_ACEOF
7364 #define HAVE_SYS_UCONTEXT_H 1
7365 _ACEOF
7369 done
7372 for ac_header in sys/thr.h
7373 do :
7374 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7375 #ifdef HAVE_SYS_UCONTEXT_H
7376 #include <sys/ucontext.h>
7377 #endif
7379 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7380 cat >>confdefs.h <<_ACEOF
7381 #define HAVE_SYS_THR_H 1
7382 _ACEOF
7386 done
7389 for ac_header in pthread_np.h
7390 do :
7391 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7392 #include <pthread.h>
7393 #endif
7395 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7396 cat >>confdefs.h <<_ACEOF
7397 #define HAVE_PTHREAD_NP_H 1
7398 _ACEOF
7402 done
7405 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7406 do :
7407 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7408 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7409 #include <sys/time.h>
7410 #endif
7411 #include <sys/types.h>
7412 #ifdef HAVE_ASM_TYPES_H
7413 #include <asm/types.h>
7414 #endif
7416 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7417 cat >>confdefs.h <<_ACEOF
7418 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7419 _ACEOF
7423 done
7426 for ac_header in libprocstat.h
7427 do :
7428 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7429 #include <sys/param.h>
7430 #endif
7431 #ifdef HAVE_SYS_QUEUE_H
7432 #include <sys/queue.h>
7433 #endif
7434 #ifdef HAVE_SYS_SOCKET_H
7435 #include <sys/socket.h>
7436 #endif
7438 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7439 cat >>confdefs.h <<_ACEOF
7440 #define HAVE_LIBPROCSTAT_H 1
7441 _ACEOF
7445 done
7449 dlldir="\${libdir}/wine"
7451 DLLFLAGS="-D_REENTRANT"
7453 LDRPATH_INSTALL=""
7455 LDRPATH_LOCAL=""
7457 LDEXECFLAGS=""
7459 WINELOADER_LDFLAGS=""
7461 LIBEXT="so"
7462 DLLEXT=".so"
7463 IMPLIBEXT="def"
7464 # Extract the first word of "ldd", so it can be a program name with args.
7465 set dummy ldd; ac_word=$2
7466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7467 $as_echo_n "checking for $ac_word... " >&6; }
7468 if ${ac_cv_path_LDD+:} false; then :
7469 $as_echo_n "(cached) " >&6
7470 else
7471 case $LDD in
7472 [\\/]* | ?:[\\/]*)
7473 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7477 as_dummy="/sbin:/usr/sbin:$PATH"
7478 for as_dir in $as_dummy
7480 IFS=$as_save_IFS
7481 test -z "$as_dir" && as_dir=.
7482 for ac_exec_ext in '' $ac_executable_extensions; do
7483 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7484 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7485 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7486 break 2
7488 done
7489 done
7490 IFS=$as_save_IFS
7492 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7494 esac
7496 LDD=$ac_cv_path_LDD
7497 if test -n "$LDD"; then
7498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7499 $as_echo "$LDD" >&6; }
7500 else
7501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7502 $as_echo "no" >&6; }
7506 if test -n "$ac_tool_prefix"; then
7507 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7508 set dummy ${ac_tool_prefix}otool; ac_word=$2
7509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7510 $as_echo_n "checking for $ac_word... " >&6; }
7511 if ${ac_cv_prog_OTOOL+:} false; then :
7512 $as_echo_n "(cached) " >&6
7513 else
7514 if test -n "$OTOOL"; then
7515 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7516 else
7517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7518 for as_dir in $PATH
7520 IFS=$as_save_IFS
7521 test -z "$as_dir" && as_dir=.
7522 for ac_exec_ext in '' $ac_executable_extensions; do
7523 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7524 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7526 break 2
7528 done
7529 done
7530 IFS=$as_save_IFS
7534 OTOOL=$ac_cv_prog_OTOOL
7535 if test -n "$OTOOL"; then
7536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7537 $as_echo "$OTOOL" >&6; }
7538 else
7539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7540 $as_echo "no" >&6; }
7545 if test -z "$ac_cv_prog_OTOOL"; then
7546 ac_ct_OTOOL=$OTOOL
7547 # Extract the first word of "otool", so it can be a program name with args.
7548 set dummy otool; ac_word=$2
7549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7550 $as_echo_n "checking for $ac_word... " >&6; }
7551 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7552 $as_echo_n "(cached) " >&6
7553 else
7554 if test -n "$ac_ct_OTOOL"; then
7555 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7556 else
7557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7558 for as_dir in $PATH
7560 IFS=$as_save_IFS
7561 test -z "$as_dir" && as_dir=.
7562 for ac_exec_ext in '' $ac_executable_extensions; do
7563 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7564 ac_cv_prog_ac_ct_OTOOL="otool"
7565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7566 break 2
7568 done
7569 done
7570 IFS=$as_save_IFS
7574 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7575 if test -n "$ac_ct_OTOOL"; then
7576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7577 $as_echo "$ac_ct_OTOOL" >&6; }
7578 else
7579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7580 $as_echo "no" >&6; }
7583 if test "x$ac_ct_OTOOL" = x; then
7584 OTOOL="otool"
7585 else
7586 case $cross_compiling:$ac_tool_warned in
7587 yes:)
7588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7589 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7590 ac_tool_warned=yes ;;
7591 esac
7592 OTOOL=$ac_ct_OTOOL
7594 else
7595 OTOOL="$ac_cv_prog_OTOOL"
7598 if test -n "$ac_tool_prefix"; then
7599 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7600 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7602 $as_echo_n "checking for $ac_word... " >&6; }
7603 if ${ac_cv_prog_READELF+:} false; then :
7604 $as_echo_n "(cached) " >&6
7605 else
7606 if test -n "$READELF"; then
7607 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7608 else
7609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7610 for as_dir in $PATH
7612 IFS=$as_save_IFS
7613 test -z "$as_dir" && as_dir=.
7614 for ac_exec_ext in '' $ac_executable_extensions; do
7615 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7616 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7618 break 2
7620 done
7621 done
7622 IFS=$as_save_IFS
7626 READELF=$ac_cv_prog_READELF
7627 if test -n "$READELF"; then
7628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7629 $as_echo "$READELF" >&6; }
7630 else
7631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7632 $as_echo "no" >&6; }
7637 if test -z "$ac_cv_prog_READELF"; then
7638 ac_ct_READELF=$READELF
7639 # Extract the first word of "readelf", so it can be a program name with args.
7640 set dummy readelf; ac_word=$2
7641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7642 $as_echo_n "checking for $ac_word... " >&6; }
7643 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7644 $as_echo_n "(cached) " >&6
7645 else
7646 if test -n "$ac_ct_READELF"; then
7647 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7648 else
7649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7650 for as_dir in $PATH
7652 IFS=$as_save_IFS
7653 test -z "$as_dir" && as_dir=.
7654 for ac_exec_ext in '' $ac_executable_extensions; do
7655 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7656 ac_cv_prog_ac_ct_READELF="readelf"
7657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7658 break 2
7660 done
7661 done
7662 IFS=$as_save_IFS
7666 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7667 if test -n "$ac_ct_READELF"; then
7668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7669 $as_echo "$ac_ct_READELF" >&6; }
7670 else
7671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7672 $as_echo "no" >&6; }
7675 if test "x$ac_ct_READELF" = x; then
7676 READELF="true"
7677 else
7678 case $cross_compiling:$ac_tool_warned in
7679 yes:)
7680 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7681 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7682 ac_tool_warned=yes ;;
7683 esac
7684 READELF=$ac_ct_READELF
7686 else
7687 READELF="$ac_cv_prog_READELF"
7690 wine_rules_file=conf$$rules.make
7691 rm -f $wine_rules_file
7692 SUBDIRS=""
7694 DISABLED_SUBDIRS=""
7696 CONFIGURE_TARGETS=""
7698 ALL_TEST_RESOURCES=""
7701 wine_fn_append_file ()
7703 as_fn_append $1 " \\$as_nl $2"
7706 wine_fn_append_rule ()
7708 $as_echo "$1" >>$wine_rules_file
7711 wine_fn_has_flag ()
7713 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7716 wine_fn_all_rules ()
7718 wine_fn_append_file SUBDIRS $ac_dir
7719 wine_fn_append_rule \
7720 "all: $ac_dir
7721 .PHONY: $ac_dir
7722 $ac_dir: dummy
7723 @cd $ac_dir && \$(MAKE)"
7726 wine_fn_install_rules ()
7728 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7730 wine_fn_append_rule \
7731 ".PHONY: $ac_dir/install $ac_dir/uninstall
7732 $ac_dir/install:: $ac_dir
7733 @cd $ac_dir && \$(MAKE) install
7734 $ac_dir/uninstall::
7735 @cd $ac_dir && \$(MAKE) uninstall
7736 install:: $ac_dir/install
7737 __uninstall__: $ac_dir/uninstall"
7739 if wine_fn_has_flag install-lib
7740 then
7741 wine_fn_append_rule \
7742 ".PHONY: $ac_dir/install-lib
7743 $ac_dir/install-lib:: $ac_dir
7744 @cd $ac_dir && \$(MAKE) install-lib
7745 install-lib:: $ac_dir/install-lib"
7748 if wine_fn_has_flag install-dev
7749 then
7750 wine_fn_append_rule \
7751 ".PHONY: $ac_dir/install-dev
7752 $ac_dir/install-dev:: $ac_dir
7753 @cd $ac_dir && \$(MAKE) install-dev
7754 install-dev:: $ac_dir/install-dev"
7758 wine_fn_clean_rules ()
7760 ac_clean=$@
7762 if wine_fn_has_flag clean
7763 then
7764 wine_fn_append_rule \
7765 "$ac_dir/clean: dummy
7766 @cd $ac_dir && \$(MAKE) clean"
7767 else
7768 wine_fn_append_rule \
7769 "$ac_dir/clean: dummy
7770 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7772 wine_fn_append_rule \
7773 "__clean__: $ac_dir/clean
7774 .PHONY: $ac_dir/clean"
7777 wine_fn_disabled_rules ()
7779 ac_clean=$@
7781 wine_fn_append_file SUBDIRS $ac_dir
7782 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7783 wine_fn_append_rule \
7784 "__clean__: $ac_dir/clean
7785 .PHONY: $ac_dir/clean
7786 $ac_dir/clean: dummy
7787 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7790 wine_fn_config_makefile ()
7792 ac_dir=$1
7793 ac_enable=$2
7794 ac_flags=$3
7796 case $ac_dir in
7797 fonts|server) test -z "$with_wine64" || return ;;
7798 esac
7799 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7800 wine_fn_disabled_rules; return
7802 wine_fn_all_rules
7803 wine_fn_install_rules
7804 wine_fn_clean_rules
7807 wine_fn_config_lib ()
7809 ac_name=$1
7810 ac_flags=$2
7811 ac_dir=dlls/$ac_name
7812 ac_deps="include"
7814 if test "x$enable_tools" = xno; then :
7816 else
7817 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7819 wine_fn_all_rules
7820 wine_fn_clean_rules
7822 wine_fn_append_rule \
7823 ".PHONY: $ac_dir/install $ac_dir/uninstall
7824 $ac_dir/install:: $ac_dir
7825 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7826 $ac_dir/uninstall::
7827 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7828 install install-dev:: $ac_dir/install
7829 __uninstall__: $ac_dir/uninstall
7830 __builddeps__: $ac_dir
7831 $ac_dir: $ac_deps"
7834 wine_fn_config_dll ()
7836 ac_name=$1
7837 ac_dir=dlls/$ac_name
7838 ac_enable=$2
7839 ac_flags=$3
7840 ac_implib=${4:-$ac_name}
7841 ac_file=$ac_dir/lib$ac_implib
7842 ac_dll=$ac_name
7843 ac_deps="include"
7844 ac_implibflags=""
7846 if test "x$enable_tools" = xno; then :
7848 else
7849 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7851 case $ac_name in
7852 *.*16) ac_implibflags=" -m16" ;;
7853 *.*) ;;
7854 *) ac_dll=$ac_dll.dll ;;
7855 esac
7857 ac_clean=
7858 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7859 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7861 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7862 if test "$ac_enable" != enable_win16
7863 then
7864 wine_fn_clean_rules $ac_clean
7865 wine_fn_append_file SUBDIRS $ac_dir
7866 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7867 else
7868 wine_fn_disabled_rules $ac_clean
7869 return
7871 else
7872 wine_fn_all_rules
7873 wine_fn_clean_rules $ac_clean
7874 wine_fn_append_rule \
7875 "$ac_dir: __builddeps__
7876 manpages htmlpages sgmlpages xmlpages::
7877 @cd $ac_dir && \$(MAKE) \$@
7878 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7879 install install-lib:: $ac_dir/install-lib
7880 __uninstall__: $ac_dir/uninstall"
7881 if test -n "$DLLEXT"
7882 then
7883 wine_fn_append_rule \
7884 "$ac_dir/install-lib:: $ac_dir
7885 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7886 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7887 $ac_dir/uninstall::
7888 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7889 else
7890 wine_fn_append_rule \
7891 "$ac_dir/install-lib:: $ac_dir
7892 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7893 $ac_dir/uninstall::
7894 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7898 if wine_fn_has_flag staticimplib
7899 then
7900 wine_fn_append_rule \
7901 "__builddeps__: $ac_file.a
7902 $ac_file.a $ac_file.cross.a: $ac_deps
7903 $ac_file.a: dummy
7904 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7905 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7906 $ac_dir/install-dev:: $ac_file.a
7907 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7908 $ac_dir/uninstall::
7909 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7910 install install-dev:: $ac_dir/install-dev
7911 __uninstall__: $ac_dir/uninstall"
7913 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7914 then
7915 wine_fn_append_rule \
7916 "__builddeps__: $ac_file.cross.a
7917 $ac_file.cross.a: dummy
7918 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7921 elif wine_fn_has_flag implib
7922 then
7923 wine_fn_append_rule \
7924 "__builddeps__: $ac_file.$IMPLIBEXT
7925 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7926 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7927 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7928 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7929 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7930 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7931 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7932 $ac_dir/uninstall::
7933 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7934 install install-dev:: $ac_dir/install-dev
7935 __uninstall__: $ac_dir/uninstall"
7936 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7937 then
7938 wine_fn_append_rule \
7939 "__builddeps__: $ac_file.cross.a
7940 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7941 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7946 wine_fn_config_program ()
7948 ac_name=$1
7949 ac_dir=programs/$ac_name
7950 ac_enable=$2
7951 ac_flags=$3
7952 ac_program=$ac_name
7954 case $ac_name in
7955 *.*) ;;
7956 *) ac_program=$ac_program.exe ;;
7957 esac
7959 ac_clean=
7960 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7961 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7963 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7964 wine_fn_disabled_rules $ac_clean; return
7967 wine_fn_all_rules
7968 wine_fn_clean_rules $ac_clean
7969 wine_fn_append_rule "$ac_dir: __builddeps__"
7971 wine_fn_has_flag install || return
7972 wine_fn_append_rule \
7973 ".PHONY: $ac_dir/install $ac_dir/uninstall
7974 install install-lib:: $ac_dir/install
7975 __uninstall__: $ac_dir/uninstall"
7977 if test -n "$DLLEXT"
7978 then
7979 wine_fn_append_rule \
7980 "$ac_dir/install:: $ac_dir
7981 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7982 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7983 $ac_dir/uninstall::
7984 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7986 if test -z "$with_wine64" && wine_fn_has_flag installbin
7987 then
7988 wine_fn_append_rule \
7989 "$ac_dir/install:: __tooldeps__
7990 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7991 $ac_dir/uninstall::
7992 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7994 else
7995 wine_fn_append_rule \
7996 "$ac_dir/install:: $ac_dir
7997 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7998 $ac_dir/uninstall::
7999 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
8002 if test -z "$with_wine64" && wine_fn_has_flag manpage
8003 then
8004 wine_fn_append_rule \
8005 "$ac_dir/install:: $ac_dir
8006 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
8007 $ac_dir/uninstall::
8008 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
8012 wine_fn_config_test ()
8014 ac_dir=$1
8015 ac_name=$2
8016 ac_flags=$3
8018 ac_clean=
8019 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
8020 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
8022 if test "x$enable_tests" = xno; then :
8023 wine_fn_disabled_rules $ac_clean; return
8026 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
8027 wine_fn_all_rules
8028 wine_fn_clean_rules $ac_clean
8030 wine_fn_append_rule \
8031 "$ac_dir: __builddeps__
8032 programs/winetest: $ac_dir
8033 check test: $ac_dir/test
8034 .PHONY: $ac_dir/test
8035 $ac_dir/test: dummy
8036 @cd $ac_dir && \$(MAKE) test
8037 testclean::
8038 \$(RM) $ac_dir/*.ok"
8040 if test -n "$CROSSTARGET"
8041 then
8042 wine_fn_append_rule \
8043 "crosstest: $ac_dir/crosstest
8044 .PHONY: $ac_dir/crosstest
8045 $ac_dir/crosstest: __builddeps__ dummy
8046 @cd $ac_dir && \$(MAKE) crosstest"
8050 wine_fn_config_tool ()
8052 ac_dir=$1
8053 ac_flags=$2
8054 if test "x$enable_tools" = xno; then :
8055 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
8058 wine_fn_all_rules
8059 wine_fn_install_rules
8060 wine_fn_clean_rules
8062 wine_fn_append_rule "__tooldeps__: $ac_dir"
8063 wine_fn_append_rule "$ac_dir: libs/port"
8064 case $ac_dir in
8065 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
8066 esac
8069 wine_fn_config_symlink ()
8071 ac_linkdir=
8072 if test "x$1" = "x-d"
8073 then
8074 ac_linkdir=$2
8075 shift; shift
8077 ac_links=$@
8078 wine_fn_append_rule \
8079 "$ac_links:
8080 @./config.status \$@"
8081 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8082 test -n "$ac_linkdir" || return
8083 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
8086 wine_binary="wine"
8087 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8088 WINELOADER_PROGRAMS="$wine_binary"
8090 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8092 case $host_os in
8093 cygwin*|mingw32*)
8094 if test -n "$ac_tool_prefix"; then
8095 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8096 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8098 $as_echo_n "checking for $ac_word... " >&6; }
8099 if ${ac_cv_prog_DLLTOOL+:} false; then :
8100 $as_echo_n "(cached) " >&6
8101 else
8102 if test -n "$DLLTOOL"; then
8103 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8104 else
8105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8106 for as_dir in $PATH
8108 IFS=$as_save_IFS
8109 test -z "$as_dir" && as_dir=.
8110 for ac_exec_ext in '' $ac_executable_extensions; do
8111 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8112 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8114 break 2
8116 done
8117 done
8118 IFS=$as_save_IFS
8122 DLLTOOL=$ac_cv_prog_DLLTOOL
8123 if test -n "$DLLTOOL"; then
8124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8125 $as_echo "$DLLTOOL" >&6; }
8126 else
8127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8128 $as_echo "no" >&6; }
8133 if test -z "$ac_cv_prog_DLLTOOL"; then
8134 ac_ct_DLLTOOL=$DLLTOOL
8135 # Extract the first word of "dlltool", so it can be a program name with args.
8136 set dummy dlltool; ac_word=$2
8137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8138 $as_echo_n "checking for $ac_word... " >&6; }
8139 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8140 $as_echo_n "(cached) " >&6
8141 else
8142 if test -n "$ac_ct_DLLTOOL"; then
8143 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8144 else
8145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8146 for as_dir in $PATH
8148 IFS=$as_save_IFS
8149 test -z "$as_dir" && as_dir=.
8150 for ac_exec_ext in '' $ac_executable_extensions; do
8151 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8152 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8153 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8154 break 2
8156 done
8157 done
8158 IFS=$as_save_IFS
8162 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8163 if test -n "$ac_ct_DLLTOOL"; then
8164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8165 $as_echo "$ac_ct_DLLTOOL" >&6; }
8166 else
8167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8168 $as_echo "no" >&6; }
8171 if test "x$ac_ct_DLLTOOL" = x; then
8172 DLLTOOL="false"
8173 else
8174 case $cross_compiling:$ac_tool_warned in
8175 yes:)
8176 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8177 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8178 ac_tool_warned=yes ;;
8179 esac
8180 DLLTOOL=$ac_ct_DLLTOOL
8182 else
8183 DLLTOOL="$ac_cv_prog_DLLTOOL"
8186 LIBEXT="dll"
8187 DLLEXT=""
8188 IMPLIBEXT="a"
8189 enable_iphlpapi=${enable_iphlpapi:-no}
8190 enable_kernel32=${enable_kernel32:-no}
8191 enable_msvcrt=${enable_msvcrt:-no}
8192 enable_ntdll=${enable_ntdll:-no}
8193 enable_ws2_32=${enable_ws2_32:-no}
8194 enable_loader=${enable_loader:-no}
8195 enable_server=${enable_server:-no}
8196 with_x=${with_x:-no}
8197 with_pthread=${with_pthread:-no}
8199 crtlibs=""
8200 case $host_os in
8201 mingw32*)
8202 crtlibs="-lmsvcrt"
8203 SOCKET_LIBS="-lws2_32"
8205 esac
8207 LIBWINE_SHAREDLIB="libwine.dll"
8209 LIBWINE_IMPORTLIB="libwine.a"
8211 LIBWINE_INSTALL_LIB="libwine.dll"
8213 LIBWINE_INSTALL_DEV="libwine.a"
8215 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8217 LIBWINE_DEPENDS="wine.def"
8221 darwin*|macosx*)
8222 for ac_header in libunwind.h
8223 do :
8224 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8225 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8226 cat >>confdefs.h <<_ACEOF
8227 #define HAVE_LIBUNWIND_H 1
8228 _ACEOF
8232 done
8234 LIBEXT="dylib"
8235 DLLFLAGS="$DLLFLAGS -fPIC"
8236 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8237 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8238 COREFOUNDATION_LIBS="-framework CoreFoundation"
8240 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8242 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8244 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8246 CORESERVICES_LIBS="-framework CoreServices"
8248 APPKIT_LIBS="-framework AppKit"
8250 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8252 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8253 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8254 $as_echo_n "(cached) " >&6
8255 else
8256 ac_wine_try_cflags_saved=$CFLAGS
8257 CFLAGS="$CFLAGS -Wl,-no_pie"
8258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8259 /* end confdefs.h. */
8260 int main(int argc, char **argv) { return 0; }
8261 _ACEOF
8262 if ac_fn_c_try_link "$LINENO"; then :
8263 ac_cv_cflags__Wl__no_pie=yes
8264 else
8265 ac_cv_cflags__Wl__no_pie=no
8267 rm -f core conftest.err conftest.$ac_objext \
8268 conftest$ac_exeext conftest.$ac_ext
8269 CFLAGS=$ac_wine_try_cflags_saved
8271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8272 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8273 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8274 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
8276 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8277 then
8278 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8281 if test "$ac_cv_header_Security_Security_h" = "yes"
8282 then
8283 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8285 ac_save_LIBS="$LIBS"
8286 LIBS="$LIBS $SECURITY_LIBS"
8287 for ac_func in SSLCopyPeerCertificates
8288 do :
8289 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8290 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8291 cat >>confdefs.h <<_ACEOF
8292 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8293 _ACEOF
8296 done
8298 LIBS="$ac_save_LIBS"
8299 with_gnutls=${with_gnutls:-no}
8301 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8302 then
8303 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8304 then
8305 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8307 else
8308 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8311 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8312 ac_save_LIBS="$LIBS"
8313 LIBS="$LIBS $COREAUDIO_LIBS"
8314 for ac_func in AUGraphAddNode
8315 do :
8316 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8317 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8318 cat >>confdefs.h <<_ACEOF
8319 #define HAVE_AUGRAPHADDNODE 1
8320 _ACEOF
8323 done
8325 LIBS="$ac_save_LIBS"
8327 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8328 then
8329 OPENAL_LIBS="-framework OpenAL"
8332 cat >>confdefs.h <<_ACEOF
8333 #define HAVE_OPENAL 1
8334 _ACEOF
8336 ac_cv_lib_openal=yes
8338 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8339 then
8340 OPENCL_LIBS="-framework OpenCL"
8342 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8344 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8345 then
8346 ac_save_LIBS="$LIBS"
8347 LIBS="$LIBS $IOKIT_LIBS"
8348 for ac_func in IOHIDManagerCreate
8349 do :
8350 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8351 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8352 cat >>confdefs.h <<_ACEOF
8353 #define HAVE_IOHIDMANAGERCREATE 1
8354 _ACEOF
8357 done
8359 LIBS="$ac_save_LIBS"
8361 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8362 then
8363 ac_save_LIBS="$LIBS"
8364 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8366 $as_echo_n "checking for the QuickTime framework... " >&6; }
8367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8368 /* end confdefs.h. */
8369 #include <QuickTime/ImageCompression.h>
8371 main ()
8373 CodecManagerVersion(NULL);
8375 return 0;
8377 _ACEOF
8378 if ac_fn_c_try_link "$LINENO"; then :
8379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8380 $as_echo "yes" >&6; }
8381 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8383 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8384 else
8385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8386 $as_echo "no" >&6; }
8387 ac_cv_header_QuickTime_ImageCompression_h=no
8389 rm -f core conftest.err conftest.$ac_objext \
8390 conftest$ac_exeext conftest.$ac_ext
8391 LIBS="$ac_save_LIBS"
8393 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8394 then
8395 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8397 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8398 then
8399 CARBON_LIBS="-framework Carbon"
8403 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8404 then
8405 ac_save_LIBS="$LIBS"
8406 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8407 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8408 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8409 enable_winemac_drv=${enable_winemac_drv:-yes}
8412 LIBS="$ac_save_LIBS"
8415 if test "x$enable_win16" = "xyes"
8416 then
8417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8418 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8419 if test "$cross_compiling" = yes; then :
8420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8421 $as_echo "cross-compiling, assuming yes" >&6; }
8422 else
8423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8424 /* end confdefs.h. */
8425 asm(".text\n"
8426 "bad:\tnop;nop\n"
8427 "good:\tnop;nop\n\t"
8428 ".globl _testfunc\n"
8429 "_testfunc:\tcallw good");
8430 extern void testfunc();
8432 main ()
8434 unsigned short *p = (unsigned short *)testfunc;
8435 return p[0] != 0xe866 || p[1] != 0xfffa
8437 return 0;
8439 _ACEOF
8440 if ac_fn_c_try_run "$LINENO"; then :
8441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8442 $as_echo "yes" >&6; }
8443 else
8444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8445 $as_echo "no" >&6; }
8446 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
8448 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8449 conftest.$ac_objext conftest.beam conftest.$ac_ext
8454 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8456 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8458 LIBWINE_INSTALL_DEV="libwine.dylib"
8460 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8462 WINELOADER_DEPENDS="wine_info.plist"
8466 linux-android*)
8467 DLLFLAGS="$DLLFLAGS -fPIC"
8468 LDEXECFLAGS="-Wl,-pie"
8469 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8471 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8472 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8473 $as_echo_n "(cached) " >&6
8474 else
8475 ac_wine_try_cflags_saved=$CFLAGS
8476 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8478 /* end confdefs.h. */
8479 int main(int argc, char **argv) { return 0; }
8480 _ACEOF
8481 if ac_fn_c_try_link "$LINENO"; then :
8482 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8483 else
8484 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8486 rm -f core conftest.err conftest.$ac_objext \
8487 conftest$ac_exeext conftest.$ac_ext
8488 CFLAGS=$ac_wine_try_cflags_saved
8490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8491 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8492 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8493 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8495 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8497 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8498 if eval \${$as_ac_var+:} false; then :
8499 $as_echo_n "(cached) " >&6
8500 else
8501 ac_wine_try_cflags_saved=$CFLAGS
8502 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8504 /* end confdefs.h. */
8505 int main(int argc, char **argv) { return 0; }
8506 _ACEOF
8507 if ac_fn_c_try_link "$LINENO"; then :
8508 eval "$as_ac_var=yes"
8509 else
8510 eval "$as_ac_var=no"
8512 rm -f core conftest.err conftest.$ac_objext \
8513 conftest$ac_exeext conftest.$ac_ext
8514 CFLAGS=$ac_wine_try_cflags_saved
8516 eval ac_res=\$$as_ac_var
8517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8518 $as_echo "$ac_res" >&6; }
8519 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8520 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8521 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8522 else
8523 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8525 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8526 if eval \${$as_ac_var+:} false; then :
8527 $as_echo_n "(cached) " >&6
8528 else
8529 ac_wine_try_cflags_saved=$CFLAGS
8530 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8532 /* end confdefs.h. */
8533 int main(int argc, char **argv) { return 0; }
8534 _ACEOF
8535 if ac_fn_c_try_link "$LINENO"; then :
8536 eval "$as_ac_var=yes"
8537 else
8538 eval "$as_ac_var=no"
8540 rm -f core conftest.err conftest.$ac_objext \
8541 conftest$ac_exeext conftest.$ac_ext
8542 CFLAGS=$ac_wine_try_cflags_saved
8544 eval ac_res=\$$as_ac_var
8545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8546 $as_echo "$ac_res" >&6; }
8547 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8548 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8549 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8553 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8554 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8555 $as_echo_n "(cached) " >&6
8556 else
8557 ac_wine_try_cflags_saved=$CFLAGS
8558 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8560 /* end confdefs.h. */
8561 int main(int argc, char **argv) { return 0; }
8562 _ACEOF
8563 if ac_fn_c_try_link "$LINENO"; then :
8564 ac_cv_cflags__Wl___enable_new_dtags=yes
8565 else
8566 ac_cv_cflags__Wl___enable_new_dtags=no
8568 rm -f core conftest.err conftest.$ac_objext \
8569 conftest$ac_exeext conftest.$ac_ext
8570 CFLAGS=$ac_wine_try_cflags_saved
8572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8573 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8574 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8575 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8578 LIBWINE_SHAREDLIB="libwine.so"
8580 LIBWINE_INSTALL_LIB="libwine.so"
8582 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
8586 $as_echo_n "checking for -lEGL... " >&6; }
8587 if ${ac_cv_lib_soname_EGL+:} false; then :
8588 $as_echo_n "(cached) " >&6
8589 else
8590 ac_check_soname_save_LIBS=$LIBS
8591 LIBS="-lEGL $LIBS"
8592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8593 /* end confdefs.h. */
8595 /* Override any GCC internal prototype to avoid an error.
8596 Use char because int might match the return type of a GCC
8597 builtin and then its argument prototype would still apply. */
8598 #ifdef __cplusplus
8599 extern "C"
8600 #endif
8601 char eglGetProcAddress ();
8603 main ()
8605 return eglGetProcAddress ();
8607 return 0;
8609 _ACEOF
8610 if ac_fn_c_try_link "$LINENO"; then :
8611 case "$LIBEXT" in
8612 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8613 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'` ;;
8614 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8615 if ${ac_cv_lib_soname_EGL:+false} :; then :
8616 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8617 fi ;;
8618 esac
8620 rm -f core conftest.err conftest.$ac_objext \
8621 conftest$ac_exeext conftest.$ac_ext
8622 LIBS=$ac_check_soname_save_LIBS
8624 if ${ac_cv_lib_soname_EGL:+false} :; then :
8625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8626 $as_echo "not found" >&6; }
8628 else
8629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
8630 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
8632 cat >>confdefs.h <<_ACEOF
8633 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
8634 _ACEOF
8638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
8639 $as_echo_n "checking for -lGLESv2... " >&6; }
8640 if ${ac_cv_lib_soname_GLESv2+:} false; then :
8641 $as_echo_n "(cached) " >&6
8642 else
8643 ac_check_soname_save_LIBS=$LIBS
8644 LIBS="-lGLESv2 $LIBS"
8645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8646 /* end confdefs.h. */
8648 /* Override any GCC internal prototype to avoid an error.
8649 Use char because int might match the return type of a GCC
8650 builtin and then its argument prototype would still apply. */
8651 #ifdef __cplusplus
8652 extern "C"
8653 #endif
8654 char glFlush ();
8656 main ()
8658 return glFlush ();
8660 return 0;
8662 _ACEOF
8663 if ac_fn_c_try_link "$LINENO"; then :
8664 case "$LIBEXT" in
8665 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8666 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'` ;;
8667 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8668 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8669 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8670 fi ;;
8671 esac
8673 rm -f core conftest.err conftest.$ac_objext \
8674 conftest$ac_exeext conftest.$ac_ext
8675 LIBS=$ac_check_soname_save_LIBS
8677 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8679 $as_echo "not found" >&6; }
8681 else
8682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
8683 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
8685 cat >>confdefs.h <<_ACEOF
8686 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
8687 _ACEOF
8692 if test "x$exec_prefix" = xNONE
8693 then
8694 case $host_cpu in
8695 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
8696 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
8697 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
8698 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
8699 esac
8704 DLLFLAGS="$DLLFLAGS -fPIC"
8705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8706 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8707 if ${ac_cv_c_dll_gnuelf+:} false; then :
8708 $as_echo_n "(cached) " >&6
8709 else
8710 ac_wine_try_cflags_saved=$CFLAGS
8711 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8713 /* end confdefs.h. */
8714 void myfunc() {}
8715 _ACEOF
8716 if ac_fn_c_try_link "$LINENO"; then :
8717 ac_cv_c_dll_gnuelf="yes"
8718 else
8719 ac_cv_c_dll_gnuelf="no"
8721 rm -f core conftest.err conftest.$ac_objext \
8722 conftest$ac_exeext conftest.$ac_ext
8723 CFLAGS=$ac_wine_try_cflags_saved
8725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8726 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8727 if test "$ac_cv_c_dll_gnuelf" = "yes"
8728 then
8729 LIBWINE_LDFLAGS="-shared"
8730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8731 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8732 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8733 $as_echo_n "(cached) " >&6
8734 else
8735 ac_wine_try_cflags_saved=$CFLAGS
8736 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8738 /* end confdefs.h. */
8739 int main(int argc, char **argv) { return 0; }
8740 _ACEOF
8741 if ac_fn_c_try_link "$LINENO"; then :
8742 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8743 else
8744 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8746 rm -f core conftest.err conftest.$ac_objext \
8747 conftest$ac_exeext conftest.$ac_ext
8748 CFLAGS=$ac_wine_try_cflags_saved
8750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8751 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8752 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8753 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8754 else
8755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8756 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8757 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8758 $as_echo_n "(cached) " >&6
8759 else
8760 ac_wine_try_cflags_saved=$CFLAGS
8761 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8763 /* end confdefs.h. */
8764 int main(int argc, char **argv) { return 0; }
8765 _ACEOF
8766 if ac_fn_c_try_link "$LINENO"; then :
8767 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8768 else
8769 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8771 rm -f core conftest.err conftest.$ac_objext \
8772 conftest$ac_exeext conftest.$ac_ext
8773 CFLAGS=$ac_wine_try_cflags_saved
8775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8776 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8777 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8778 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8782 echo '{ global: *; };' >conftest.map
8783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8784 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8785 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8786 $as_echo_n "(cached) " >&6
8787 else
8788 ac_wine_try_cflags_saved=$CFLAGS
8789 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8791 /* end confdefs.h. */
8792 int main(int argc, char **argv) { return 0; }
8793 _ACEOF
8794 if ac_fn_c_try_link "$LINENO"; then :
8795 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8796 else
8797 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8799 rm -f core conftest.err conftest.$ac_objext \
8800 conftest$ac_exeext conftest.$ac_ext
8801 CFLAGS=$ac_wine_try_cflags_saved
8803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8804 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8805 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8806 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8808 rm -f conftest.map
8810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8811 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8812 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8813 $as_echo_n "(cached) " >&6
8814 else
8815 ac_wine_try_cflags_saved=$CFLAGS
8816 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8818 /* end confdefs.h. */
8819 int main(int argc, char **argv) { return 0; }
8820 _ACEOF
8821 if ac_fn_c_try_link "$LINENO"; then :
8822 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8823 else
8824 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8826 rm -f core conftest.err conftest.$ac_objext \
8827 conftest$ac_exeext conftest.$ac_ext
8828 CFLAGS=$ac_wine_try_cflags_saved
8830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8831 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8832 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8833 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8836 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8838 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8839 if eval \${$as_ac_var+:} false; then :
8840 $as_echo_n "(cached) " >&6
8841 else
8842 ac_wine_try_cflags_saved=$CFLAGS
8843 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8845 /* end confdefs.h. */
8846 int main(int argc, char **argv) { return 0; }
8847 _ACEOF
8848 if ac_fn_c_try_link "$LINENO"; then :
8849 eval "$as_ac_var=yes"
8850 else
8851 eval "$as_ac_var=no"
8853 rm -f core conftest.err conftest.$ac_objext \
8854 conftest$ac_exeext conftest.$ac_ext
8855 CFLAGS=$ac_wine_try_cflags_saved
8857 eval ac_res=\$$as_ac_var
8858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8859 $as_echo "$ac_res" >&6; }
8860 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8861 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8862 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8863 else
8864 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8866 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8867 if eval \${$as_ac_var+:} false; then :
8868 $as_echo_n "(cached) " >&6
8869 else
8870 ac_wine_try_cflags_saved=$CFLAGS
8871 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8873 /* end confdefs.h. */
8874 int main(int argc, char **argv) { return 0; }
8875 _ACEOF
8876 if ac_fn_c_try_link "$LINENO"; then :
8877 eval "$as_ac_var=yes"
8878 else
8879 eval "$as_ac_var=no"
8881 rm -f core conftest.err conftest.$ac_objext \
8882 conftest$ac_exeext conftest.$ac_ext
8883 CFLAGS=$ac_wine_try_cflags_saved
8885 eval ac_res=\$$as_ac_var
8886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8887 $as_echo "$ac_res" >&6; }
8888 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8889 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8890 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8895 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8896 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8897 $as_echo_n "(cached) " >&6
8898 else
8899 ac_wine_try_cflags_saved=$CFLAGS
8900 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8902 /* end confdefs.h. */
8903 int main(int argc, char **argv) { return 0; }
8904 _ACEOF
8905 if ac_fn_c_try_link "$LINENO"; then :
8906 ac_cv_cflags__Wl___enable_new_dtags=yes
8907 else
8908 ac_cv_cflags__Wl___enable_new_dtags=no
8910 rm -f core conftest.err conftest.$ac_objext \
8911 conftest$ac_exeext conftest.$ac_ext
8912 CFLAGS=$ac_wine_try_cflags_saved
8914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8915 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8916 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8917 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8920 case $host_cpu in
8921 *i[3456789]86* | x86_64 | *aarch64*)
8922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8923 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8924 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8925 $as_echo_n "(cached) " >&6
8926 else
8927 ac_wine_try_cflags_saved=$CFLAGS
8928 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8930 /* end confdefs.h. */
8931 int main(int argc, char **argv) { return 0; }
8932 _ACEOF
8933 if ac_fn_c_try_link "$LINENO"; then :
8934 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8935 else
8936 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8938 rm -f core conftest.err conftest.$ac_objext \
8939 conftest$ac_exeext conftest.$ac_ext
8940 CFLAGS=$ac_wine_try_cflags_saved
8942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8943 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8944 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8945 case $host_os in
8946 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8947 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8948 esac
8949 else
8950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8951 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8952 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8953 $as_echo_n "(cached) " >&6
8954 else
8955 ac_wine_try_cflags_saved=$CFLAGS
8956 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8958 /* end confdefs.h. */
8959 int main(int argc, char **argv) { return 0; }
8960 _ACEOF
8961 if ac_fn_c_try_link "$LINENO"; then :
8962 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8963 else
8964 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8966 rm -f core conftest.err conftest.$ac_objext \
8967 conftest$ac_exeext conftest.$ac_ext
8968 CFLAGS=$ac_wine_try_cflags_saved
8970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8971 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8972 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8973 case $host_os in
8974 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8975 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8976 esac
8978 # Extract the first word of "prelink", so it can be a program name with args.
8979 set dummy prelink; ac_word=$2
8980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8981 $as_echo_n "checking for $ac_word... " >&6; }
8982 if ${ac_cv_path_PRELINK+:} false; then :
8983 $as_echo_n "(cached) " >&6
8984 else
8985 case $PRELINK in
8986 [\\/]* | ?:[\\/]*)
8987 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8991 for as_dir in /sbin /usr/sbin $PATH
8993 IFS=$as_save_IFS
8994 test -z "$as_dir" && as_dir=.
8995 for ac_exec_ext in '' $ac_executable_extensions; do
8996 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8997 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8998 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8999 break 2
9001 done
9002 done
9003 IFS=$as_save_IFS
9005 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9007 esac
9009 PRELINK=$ac_cv_path_PRELINK
9010 if test -n "$PRELINK"; then
9011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9012 $as_echo "$PRELINK" >&6; }
9013 else
9014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9015 $as_echo "no" >&6; }
9019 if test "x$PRELINK" = xfalse
9020 then
9021 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9025 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9026 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9027 $as_echo_n "(cached) " >&6
9028 else
9029 ac_wine_try_cflags_saved=$CFLAGS
9030 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9032 /* end confdefs.h. */
9033 int main(int argc, char **argv) { return 0; }
9034 _ACEOF
9035 if ac_fn_c_try_link "$LINENO"; then :
9036 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9037 else
9038 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9040 rm -f core conftest.err conftest.$ac_objext \
9041 conftest$ac_exeext conftest.$ac_ext
9042 CFLAGS=$ac_wine_try_cflags_saved
9044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9045 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9046 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9047 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9050 esac
9052 else
9053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9054 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9055 if ${ac_cv_c_dll_unixware+:} false; then :
9056 $as_echo_n "(cached) " >&6
9057 else
9058 ac_wine_try_cflags_saved=$CFLAGS
9059 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9061 /* end confdefs.h. */
9062 void myfunc() {}
9063 _ACEOF
9064 if ac_fn_c_try_link "$LINENO"; then :
9065 ac_cv_c_dll_unixware="yes"
9066 else
9067 ac_cv_c_dll_unixware="no"
9069 rm -f core conftest.err conftest.$ac_objext \
9070 conftest$ac_exeext conftest.$ac_ext
9071 CFLAGS=$ac_wine_try_cflags_saved
9073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9074 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9075 if test "$ac_cv_c_dll_unixware" = "yes"
9076 then
9077 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9080 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9082 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
9084 LIBWINE_INSTALL_DEV="libwine.so"
9086 LIBWINE_DEPENDS="wine.map"
9089 esac
9091 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9092 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9093 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9094 enable_winemac_drv=${enable_winemac_drv:-no}
9095 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9097 CROSSTARGET=""
9099 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
9100 then
9101 case "$host_cpu" in
9102 arm*)
9103 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9104 i[3456789]86*)
9105 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
9106 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9107 mingw32-gcc" ;;
9108 x86_64)
9109 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
9110 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9112 ac_prefix_list="" ;;
9113 esac
9114 for ac_prog in $ac_prefix_list
9116 # Extract the first word of "$ac_prog", so it can be a program name with args.
9117 set dummy $ac_prog; ac_word=$2
9118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9119 $as_echo_n "checking for $ac_word... " >&6; }
9120 if ${ac_cv_prog_CROSSCC+:} false; then :
9121 $as_echo_n "(cached) " >&6
9122 else
9123 if test -n "$CROSSCC"; then
9124 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9125 else
9126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9127 for as_dir in $PATH
9129 IFS=$as_save_IFS
9130 test -z "$as_dir" && as_dir=.
9131 for ac_exec_ext in '' $ac_executable_extensions; do
9132 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9133 ac_cv_prog_CROSSCC="$ac_prog"
9134 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9135 break 2
9137 done
9138 done
9139 IFS=$as_save_IFS
9143 CROSSCC=$ac_cv_prog_CROSSCC
9144 if test -n "$CROSSCC"; then
9145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9146 $as_echo "$CROSSCC" >&6; }
9147 else
9148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9149 $as_echo "no" >&6; }
9153 test -n "$CROSSCC" && break
9154 done
9155 test -n "$CROSSCC" || CROSSCC="false"
9157 if test "$CROSSCC" != "false"
9158 then
9159 ac_save_CC="$CC"
9160 CC="$CROSSCC"
9161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9162 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9164 /* end confdefs.h. */
9167 main ()
9171 return 0;
9173 _ACEOF
9174 if ac_fn_c_try_compile "$LINENO"; then :
9175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9176 $as_echo "yes" >&6; }
9177 set x $CROSSCC
9178 shift
9179 while test $# -ge 1
9181 case "$1" in
9182 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9183 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9184 esac
9185 shift
9186 done
9187 else
9188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9189 $as_echo "no" >&6; }
9191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9192 CC="$ac_save_CC"
9193 CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS}
9199 if test "$ac_cv_header_pthread_h" = "yes"
9200 then
9201 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
9202 if test "x$ac_cv_func_pthread_create" = xyes; then :
9204 else
9205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
9206 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
9207 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
9208 $as_echo_n "(cached) " >&6
9209 else
9210 ac_check_lib_save_LIBS=$LIBS
9211 LIBS="-lpthread $LIBS"
9212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9213 /* end confdefs.h. */
9215 /* Override any GCC internal prototype to avoid an error.
9216 Use char because int might match the return type of a GCC
9217 builtin and then its argument prototype would still apply. */
9218 #ifdef __cplusplus
9219 extern "C"
9220 #endif
9221 char pthread_create ();
9223 main ()
9225 return pthread_create ();
9227 return 0;
9229 _ACEOF
9230 if ac_fn_c_try_link "$LINENO"; then :
9231 ac_cv_lib_pthread_pthread_create=yes
9232 else
9233 ac_cv_lib_pthread_pthread_create=no
9235 rm -f core conftest.err conftest.$ac_objext \
9236 conftest$ac_exeext conftest.$ac_ext
9237 LIBS=$ac_check_lib_save_LIBS
9239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9240 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9241 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9242 PTHREAD_LIBS="-lpthread"
9249 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9250 case "x$with_pthread" in
9251 xno) ;;
9252 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9253 Wine cannot support threads without libpthread.
9254 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9255 esac
9260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9261 $as_echo_n "checking for X... " >&6; }
9264 # Check whether --with-x was given.
9265 if test "${with_x+set}" = set; then :
9266 withval=$with_x;
9269 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9270 if test "x$with_x" = xno; then
9271 # The user explicitly disabled X.
9272 have_x=disabled
9273 else
9274 case $x_includes,$x_libraries in #(
9275 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9276 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9277 $as_echo_n "(cached) " >&6
9278 else
9279 # One or both of the vars are not set, and there is no cached value.
9280 ac_x_includes=no ac_x_libraries=no
9281 rm -f -r conftest.dir
9282 if mkdir conftest.dir; then
9283 cd conftest.dir
9284 cat >Imakefile <<'_ACEOF'
9285 incroot:
9286 @echo incroot='${INCROOT}'
9287 usrlibdir:
9288 @echo usrlibdir='${USRLIBDIR}'
9289 libdir:
9290 @echo libdir='${LIBDIR}'
9291 _ACEOF
9292 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9293 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9294 for ac_var in incroot usrlibdir libdir; do
9295 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9296 done
9297 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9298 for ac_extension in a so sl dylib la dll; do
9299 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9300 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9301 ac_im_usrlibdir=$ac_im_libdir; break
9303 done
9304 # Screen out bogus values from the imake configuration. They are
9305 # bogus both because they are the default anyway, and because
9306 # using them would break gcc on systems where it needs fixed includes.
9307 case $ac_im_incroot in
9308 /usr/include) ac_x_includes= ;;
9309 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9310 esac
9311 case $ac_im_usrlibdir in
9312 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9313 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9314 esac
9316 cd ..
9317 rm -f -r conftest.dir
9320 # Standard set of common directories for X headers.
9321 # Check X11 before X11Rn because it is often a symlink to the current release.
9322 ac_x_header_dirs='
9323 /usr/X11/include
9324 /usr/X11R7/include
9325 /usr/X11R6/include
9326 /usr/X11R5/include
9327 /usr/X11R4/include
9329 /usr/include/X11
9330 /usr/include/X11R7
9331 /usr/include/X11R6
9332 /usr/include/X11R5
9333 /usr/include/X11R4
9335 /usr/local/X11/include
9336 /usr/local/X11R7/include
9337 /usr/local/X11R6/include
9338 /usr/local/X11R5/include
9339 /usr/local/X11R4/include
9341 /usr/local/include/X11
9342 /usr/local/include/X11R7
9343 /usr/local/include/X11R6
9344 /usr/local/include/X11R5
9345 /usr/local/include/X11R4
9347 /usr/X386/include
9348 /usr/x386/include
9349 /usr/XFree86/include/X11
9351 /usr/include
9352 /usr/local/include
9353 /usr/unsupported/include
9354 /usr/athena/include
9355 /usr/local/x11r5/include
9356 /usr/lpp/Xamples/include
9358 /usr/openwin/include
9359 /usr/openwin/share/include'
9361 if test "$ac_x_includes" = no; then
9362 # Guess where to find include files, by looking for Xlib.h.
9363 # First, try using that file with no special directory specified.
9364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9365 /* end confdefs.h. */
9366 #include <X11/Xlib.h>
9367 _ACEOF
9368 if ac_fn_c_try_cpp "$LINENO"; then :
9369 # We can compile using X headers with no special include directory.
9370 ac_x_includes=
9371 else
9372 for ac_dir in $ac_x_header_dirs; do
9373 if test -r "$ac_dir/X11/Xlib.h"; then
9374 ac_x_includes=$ac_dir
9375 break
9377 done
9379 rm -f conftest.err conftest.i conftest.$ac_ext
9380 fi # $ac_x_includes = no
9382 if test "$ac_x_libraries" = no; then
9383 # Check for the libraries.
9384 # See if we find them without any special options.
9385 # Don't add to $LIBS permanently.
9386 ac_save_LIBS=$LIBS
9387 LIBS="-lX11 $LIBS"
9388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9389 /* end confdefs.h. */
9390 #include <X11/Xlib.h>
9392 main ()
9394 XrmInitialize ()
9396 return 0;
9398 _ACEOF
9399 if ac_fn_c_try_link "$LINENO"; then :
9400 LIBS=$ac_save_LIBS
9401 # We can link X programs with no special library path.
9402 ac_x_libraries=
9403 else
9404 LIBS=$ac_save_LIBS
9405 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9407 # Don't even attempt the hair of trying to link an X program!
9408 for ac_extension in a so sl dylib la dll; do
9409 if test -r "$ac_dir/libX11.$ac_extension"; then
9410 ac_x_libraries=$ac_dir
9411 break 2
9413 done
9414 done
9416 rm -f core conftest.err conftest.$ac_objext \
9417 conftest$ac_exeext conftest.$ac_ext
9418 fi # $ac_x_libraries = no
9420 case $ac_x_includes,$ac_x_libraries in #(
9421 no,* | *,no | *\'*)
9422 # Didn't find X, or a directory has "'" in its name.
9423 ac_cv_have_x="have_x=no";; #(
9425 # Record where we found X for the cache.
9426 ac_cv_have_x="have_x=yes\
9427 ac_x_includes='$ac_x_includes'\
9428 ac_x_libraries='$ac_x_libraries'"
9429 esac
9431 ;; #(
9432 *) have_x=yes;;
9433 esac
9434 eval "$ac_cv_have_x"
9435 fi # $with_x != no
9437 if test "$have_x" != yes; then
9438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9439 $as_echo "$have_x" >&6; }
9440 no_x=yes
9441 else
9442 # If each of the values was on the command line, it overrides each guess.
9443 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9444 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9445 # Update the cache value to reflect the command line values.
9446 ac_cv_have_x="have_x=yes\
9447 ac_x_includes='$x_includes'\
9448 ac_x_libraries='$x_libraries'"
9449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9450 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9453 if test "$no_x" = yes; then
9454 # Not all programs may use this symbol, but it does not hurt to define it.
9456 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9458 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9459 else
9460 if test -n "$x_includes"; then
9461 X_CFLAGS="$X_CFLAGS -I$x_includes"
9464 # It would also be nice to do this for all -L options, not just this one.
9465 if test -n "$x_libraries"; then
9466 X_LIBS="$X_LIBS -L$x_libraries"
9467 # For Solaris; some versions of Sun CC require a space after -R and
9468 # others require no space. Words are not sufficient . . . .
9469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9470 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9471 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9472 ac_xsave_c_werror_flag=$ac_c_werror_flag
9473 ac_c_werror_flag=yes
9474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9475 /* end confdefs.h. */
9478 main ()
9482 return 0;
9484 _ACEOF
9485 if ac_fn_c_try_link "$LINENO"; then :
9486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9487 $as_echo "no" >&6; }
9488 X_LIBS="$X_LIBS -R$x_libraries"
9489 else
9490 LIBS="$ac_xsave_LIBS -R $x_libraries"
9491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9492 /* end confdefs.h. */
9495 main ()
9499 return 0;
9501 _ACEOF
9502 if ac_fn_c_try_link "$LINENO"; then :
9503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9504 $as_echo "yes" >&6; }
9505 X_LIBS="$X_LIBS -R $x_libraries"
9506 else
9507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9508 $as_echo "neither works" >&6; }
9510 rm -f core conftest.err conftest.$ac_objext \
9511 conftest$ac_exeext conftest.$ac_ext
9513 rm -f core conftest.err conftest.$ac_objext \
9514 conftest$ac_exeext conftest.$ac_ext
9515 ac_c_werror_flag=$ac_xsave_c_werror_flag
9516 LIBS=$ac_xsave_LIBS
9519 # Check for system-dependent libraries X programs must link with.
9520 # Do this before checking for the system-independent R6 libraries
9521 # (-lICE), since we may need -lsocket or whatever for X linking.
9523 if test "$ISC" = yes; then
9524 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9525 else
9526 # Martyn Johnson says this is needed for Ultrix, if the X
9527 # libraries were built with DECnet support. And Karl Berry says
9528 # the Alpha needs dnet_stub (dnet does not exist).
9529 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9531 /* end confdefs.h. */
9533 /* Override any GCC internal prototype to avoid an error.
9534 Use char because int might match the return type of a GCC
9535 builtin and then its argument prototype would still apply. */
9536 #ifdef __cplusplus
9537 extern "C"
9538 #endif
9539 char XOpenDisplay ();
9541 main ()
9543 return XOpenDisplay ();
9545 return 0;
9547 _ACEOF
9548 if ac_fn_c_try_link "$LINENO"; then :
9550 else
9551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9552 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9553 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9554 $as_echo_n "(cached) " >&6
9555 else
9556 ac_check_lib_save_LIBS=$LIBS
9557 LIBS="-ldnet $LIBS"
9558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9559 /* end confdefs.h. */
9561 /* Override any GCC internal prototype to avoid an error.
9562 Use char because int might match the return type of a GCC
9563 builtin and then its argument prototype would still apply. */
9564 #ifdef __cplusplus
9565 extern "C"
9566 #endif
9567 char dnet_ntoa ();
9569 main ()
9571 return dnet_ntoa ();
9573 return 0;
9575 _ACEOF
9576 if ac_fn_c_try_link "$LINENO"; then :
9577 ac_cv_lib_dnet_dnet_ntoa=yes
9578 else
9579 ac_cv_lib_dnet_dnet_ntoa=no
9581 rm -f core conftest.err conftest.$ac_objext \
9582 conftest$ac_exeext conftest.$ac_ext
9583 LIBS=$ac_check_lib_save_LIBS
9585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9586 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9587 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9588 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9591 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9593 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9594 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9595 $as_echo_n "(cached) " >&6
9596 else
9597 ac_check_lib_save_LIBS=$LIBS
9598 LIBS="-ldnet_stub $LIBS"
9599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9600 /* end confdefs.h. */
9602 /* Override any GCC internal prototype to avoid an error.
9603 Use char because int might match the return type of a GCC
9604 builtin and then its argument prototype would still apply. */
9605 #ifdef __cplusplus
9606 extern "C"
9607 #endif
9608 char dnet_ntoa ();
9610 main ()
9612 return dnet_ntoa ();
9614 return 0;
9616 _ACEOF
9617 if ac_fn_c_try_link "$LINENO"; then :
9618 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9619 else
9620 ac_cv_lib_dnet_stub_dnet_ntoa=no
9622 rm -f core conftest.err conftest.$ac_objext \
9623 conftest$ac_exeext conftest.$ac_ext
9624 LIBS=$ac_check_lib_save_LIBS
9626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9627 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9628 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9629 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9634 rm -f core conftest.err conftest.$ac_objext \
9635 conftest$ac_exeext conftest.$ac_ext
9636 LIBS="$ac_xsave_LIBS"
9638 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9639 # to get the SysV transport functions.
9640 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9641 # needs -lnsl.
9642 # The nsl library prevents programs from opening the X display
9643 # on Irix 5.2, according to T.E. Dickey.
9644 # The functions gethostbyname, getservbyname, and inet_addr are
9645 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9646 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9647 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9651 if test $ac_cv_func_gethostbyname = no; then
9652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9653 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9654 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9655 $as_echo_n "(cached) " >&6
9656 else
9657 ac_check_lib_save_LIBS=$LIBS
9658 LIBS="-lnsl $LIBS"
9659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9660 /* end confdefs.h. */
9662 /* Override any GCC internal prototype to avoid an error.
9663 Use char because int might match the return type of a GCC
9664 builtin and then its argument prototype would still apply. */
9665 #ifdef __cplusplus
9666 extern "C"
9667 #endif
9668 char gethostbyname ();
9670 main ()
9672 return gethostbyname ();
9674 return 0;
9676 _ACEOF
9677 if ac_fn_c_try_link "$LINENO"; then :
9678 ac_cv_lib_nsl_gethostbyname=yes
9679 else
9680 ac_cv_lib_nsl_gethostbyname=no
9682 rm -f core conftest.err conftest.$ac_objext \
9683 conftest$ac_exeext conftest.$ac_ext
9684 LIBS=$ac_check_lib_save_LIBS
9686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9687 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9688 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9689 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9692 if test $ac_cv_lib_nsl_gethostbyname = no; then
9693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9694 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9695 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9696 $as_echo_n "(cached) " >&6
9697 else
9698 ac_check_lib_save_LIBS=$LIBS
9699 LIBS="-lbsd $LIBS"
9700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9701 /* end confdefs.h. */
9703 /* Override any GCC internal prototype to avoid an error.
9704 Use char because int might match the return type of a GCC
9705 builtin and then its argument prototype would still apply. */
9706 #ifdef __cplusplus
9707 extern "C"
9708 #endif
9709 char gethostbyname ();
9711 main ()
9713 return gethostbyname ();
9715 return 0;
9717 _ACEOF
9718 if ac_fn_c_try_link "$LINENO"; then :
9719 ac_cv_lib_bsd_gethostbyname=yes
9720 else
9721 ac_cv_lib_bsd_gethostbyname=no
9723 rm -f core conftest.err conftest.$ac_objext \
9724 conftest$ac_exeext conftest.$ac_ext
9725 LIBS=$ac_check_lib_save_LIBS
9727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9728 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9729 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9730 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9736 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9737 # socket/setsockopt and other routines are undefined under SCO ODT
9738 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9739 # on later versions), says Simon Leinen: it contains gethostby*
9740 # variants that don't use the name server (or something). -lsocket
9741 # must be given before -lnsl if both are needed. We assume that
9742 # if connect needs -lnsl, so does gethostbyname.
9743 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9744 if test "x$ac_cv_func_connect" = xyes; then :
9748 if test $ac_cv_func_connect = no; then
9749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9750 $as_echo_n "checking for connect in -lsocket... " >&6; }
9751 if ${ac_cv_lib_socket_connect+:} false; then :
9752 $as_echo_n "(cached) " >&6
9753 else
9754 ac_check_lib_save_LIBS=$LIBS
9755 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9757 /* end confdefs.h. */
9759 /* Override any GCC internal prototype to avoid an error.
9760 Use char because int might match the return type of a GCC
9761 builtin and then its argument prototype would still apply. */
9762 #ifdef __cplusplus
9763 extern "C"
9764 #endif
9765 char connect ();
9767 main ()
9769 return connect ();
9771 return 0;
9773 _ACEOF
9774 if ac_fn_c_try_link "$LINENO"; then :
9775 ac_cv_lib_socket_connect=yes
9776 else
9777 ac_cv_lib_socket_connect=no
9779 rm -f core conftest.err conftest.$ac_objext \
9780 conftest$ac_exeext conftest.$ac_ext
9781 LIBS=$ac_check_lib_save_LIBS
9783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9784 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9785 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9786 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9791 # Guillermo Gomez says -lposix is necessary on A/UX.
9792 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9793 if test "x$ac_cv_func_remove" = xyes; then :
9797 if test $ac_cv_func_remove = no; then
9798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9799 $as_echo_n "checking for remove in -lposix... " >&6; }
9800 if ${ac_cv_lib_posix_remove+:} false; then :
9801 $as_echo_n "(cached) " >&6
9802 else
9803 ac_check_lib_save_LIBS=$LIBS
9804 LIBS="-lposix $LIBS"
9805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9806 /* end confdefs.h. */
9808 /* Override any GCC internal prototype to avoid an error.
9809 Use char because int might match the return type of a GCC
9810 builtin and then its argument prototype would still apply. */
9811 #ifdef __cplusplus
9812 extern "C"
9813 #endif
9814 char remove ();
9816 main ()
9818 return remove ();
9820 return 0;
9822 _ACEOF
9823 if ac_fn_c_try_link "$LINENO"; then :
9824 ac_cv_lib_posix_remove=yes
9825 else
9826 ac_cv_lib_posix_remove=no
9828 rm -f core conftest.err conftest.$ac_objext \
9829 conftest$ac_exeext conftest.$ac_ext
9830 LIBS=$ac_check_lib_save_LIBS
9832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9833 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9834 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9835 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9840 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9841 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9842 if test "x$ac_cv_func_shmat" = xyes; then :
9846 if test $ac_cv_func_shmat = no; then
9847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9848 $as_echo_n "checking for shmat in -lipc... " >&6; }
9849 if ${ac_cv_lib_ipc_shmat+:} false; then :
9850 $as_echo_n "(cached) " >&6
9851 else
9852 ac_check_lib_save_LIBS=$LIBS
9853 LIBS="-lipc $LIBS"
9854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9855 /* end confdefs.h. */
9857 /* Override any GCC internal prototype to avoid an error.
9858 Use char because int might match the return type of a GCC
9859 builtin and then its argument prototype would still apply. */
9860 #ifdef __cplusplus
9861 extern "C"
9862 #endif
9863 char shmat ();
9865 main ()
9867 return shmat ();
9869 return 0;
9871 _ACEOF
9872 if ac_fn_c_try_link "$LINENO"; then :
9873 ac_cv_lib_ipc_shmat=yes
9874 else
9875 ac_cv_lib_ipc_shmat=no
9877 rm -f core conftest.err conftest.$ac_objext \
9878 conftest$ac_exeext conftest.$ac_ext
9879 LIBS=$ac_check_lib_save_LIBS
9881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9882 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9883 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9884 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9890 # Check for libraries that X11R6 Xt/Xaw programs need.
9891 ac_save_LDFLAGS=$LDFLAGS
9892 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9893 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9894 # check for ICE first), but we must link in the order -lSM -lICE or
9895 # we get undefined symbols. So assume we have SM if we have ICE.
9896 # These have to be linked with before -lX11, unlike the other
9897 # libraries we check for below, so use a different variable.
9898 # John Interrante, Karl Berry
9899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9900 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9901 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9902 $as_echo_n "(cached) " >&6
9903 else
9904 ac_check_lib_save_LIBS=$LIBS
9905 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9907 /* end confdefs.h. */
9909 /* Override any GCC internal prototype to avoid an error.
9910 Use char because int might match the return type of a GCC
9911 builtin and then its argument prototype would still apply. */
9912 #ifdef __cplusplus
9913 extern "C"
9914 #endif
9915 char IceConnectionNumber ();
9917 main ()
9919 return IceConnectionNumber ();
9921 return 0;
9923 _ACEOF
9924 if ac_fn_c_try_link "$LINENO"; then :
9925 ac_cv_lib_ICE_IceConnectionNumber=yes
9926 else
9927 ac_cv_lib_ICE_IceConnectionNumber=no
9929 rm -f core conftest.err conftest.$ac_objext \
9930 conftest$ac_exeext conftest.$ac_ext
9931 LIBS=$ac_check_lib_save_LIBS
9933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9934 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9935 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9936 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9939 LDFLAGS=$ac_save_LDFLAGS
9944 if test "$have_x" = "yes"
9945 then
9946 ac_save_CPPFLAGS="$CPPFLAGS"
9947 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9950 $as_echo_n "checking for -lX11... " >&6; }
9951 if ${ac_cv_lib_soname_X11+:} false; then :
9952 $as_echo_n "(cached) " >&6
9953 else
9954 ac_check_soname_save_LIBS=$LIBS
9955 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9957 /* end confdefs.h. */
9959 /* Override any GCC internal prototype to avoid an error.
9960 Use char because int might match the return type of a GCC
9961 builtin and then its argument prototype would still apply. */
9962 #ifdef __cplusplus
9963 extern "C"
9964 #endif
9965 char XCreateWindow ();
9967 main ()
9969 return XCreateWindow ();
9971 return 0;
9973 _ACEOF
9974 if ac_fn_c_try_link "$LINENO"; then :
9975 case "$LIBEXT" in
9976 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9977 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'` ;;
9978 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9979 if ${ac_cv_lib_soname_X11:+false} :; then :
9980 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9981 fi ;;
9982 esac
9984 rm -f core conftest.err conftest.$ac_objext \
9985 conftest$ac_exeext conftest.$ac_ext
9986 LIBS=$ac_check_soname_save_LIBS
9988 if ${ac_cv_lib_soname_X11:+false} :; then :
9989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9990 $as_echo "not found" >&6; }
9992 else
9993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9994 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9996 cat >>confdefs.h <<_ACEOF
9997 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9998 _ACEOF
10002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
10003 $as_echo_n "checking for -lXext... " >&6; }
10004 if ${ac_cv_lib_soname_Xext+:} false; then :
10005 $as_echo_n "(cached) " >&6
10006 else
10007 ac_check_soname_save_LIBS=$LIBS
10008 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
10009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10010 /* end confdefs.h. */
10012 /* Override any GCC internal prototype to avoid an error.
10013 Use char because int might match the return type of a GCC
10014 builtin and then its argument prototype would still apply. */
10015 #ifdef __cplusplus
10016 extern "C"
10017 #endif
10018 char XextCreateExtension ();
10020 main ()
10022 return XextCreateExtension ();
10024 return 0;
10026 _ACEOF
10027 if ac_fn_c_try_link "$LINENO"; then :
10028 case "$LIBEXT" in
10029 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10030 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'` ;;
10031 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10032 if ${ac_cv_lib_soname_Xext:+false} :; then :
10033 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10034 fi ;;
10035 esac
10037 rm -f core conftest.err conftest.$ac_objext \
10038 conftest$ac_exeext conftest.$ac_ext
10039 LIBS=$ac_check_soname_save_LIBS
10041 if ${ac_cv_lib_soname_Xext:+false} :; then :
10042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10043 $as_echo "not found" >&6; }
10045 else
10046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
10047 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
10049 cat >>confdefs.h <<_ACEOF
10050 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
10051 _ACEOF
10053 X_LIBS="$X_LIBS -lXext"
10055 X_LIBS="$X_LIBS -lX11"
10057 for ac_header in X11/Xlib.h \
10058 X11/XKBlib.h \
10059 X11/Xutil.h \
10060 X11/Xcursor/Xcursor.h \
10061 X11/extensions/shape.h \
10062 X11/extensions/XInput.h \
10063 X11/extensions/XInput2.h \
10064 X11/extensions/XShm.h \
10065 X11/extensions/Xcomposite.h \
10066 X11/extensions/Xfixes.h \
10067 X11/extensions/Xinerama.h \
10068 X11/extensions/Xrandr.h \
10069 X11/extensions/Xrender.h \
10070 X11/extensions/xf86vmode.h \
10071 X11/extensions/xf86vmproto.h
10072 do :
10073 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10074 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
10075 # include <X11/Xlib.h>
10076 #endif
10077 #ifdef HAVE_X11_XUTIL_H
10078 # include <X11/Xutil.h>
10079 #endif
10081 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10082 cat >>confdefs.h <<_ACEOF
10083 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10084 _ACEOF
10088 done
10091 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
10092 then
10093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
10094 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
10095 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
10096 $as_echo_n "(cached) " >&6
10097 else
10098 ac_check_lib_save_LIBS=$LIBS
10099 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10101 /* end confdefs.h. */
10103 /* Override any GCC internal prototype to avoid an error.
10104 Use char because int might match the return type of a GCC
10105 builtin and then its argument prototype would still apply. */
10106 #ifdef __cplusplus
10107 extern "C"
10108 #endif
10109 char XkbQueryExtension ();
10111 main ()
10113 return XkbQueryExtension ();
10115 return 0;
10117 _ACEOF
10118 if ac_fn_c_try_link "$LINENO"; then :
10119 ac_cv_lib_X11_XkbQueryExtension=yes
10120 else
10121 ac_cv_lib_X11_XkbQueryExtension=no
10123 rm -f core conftest.err conftest.$ac_objext \
10124 conftest$ac_exeext conftest.$ac_ext
10125 LIBS=$ac_check_lib_save_LIBS
10127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
10128 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
10129 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
10131 $as_echo "#define HAVE_XKB 1" >>confdefs.h
10137 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
10138 then
10139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
10140 $as_echo_n "checking for -lXcursor... " >&6; }
10141 if ${ac_cv_lib_soname_Xcursor+:} false; then :
10142 $as_echo_n "(cached) " >&6
10143 else
10144 ac_check_soname_save_LIBS=$LIBS
10145 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
10146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10147 /* end confdefs.h. */
10149 /* Override any GCC internal prototype to avoid an error.
10150 Use char because int might match the return type of a GCC
10151 builtin and then its argument prototype would still apply. */
10152 #ifdef __cplusplus
10153 extern "C"
10154 #endif
10155 char XcursorImageLoadCursor ();
10157 main ()
10159 return XcursorImageLoadCursor ();
10161 return 0;
10163 _ACEOF
10164 if ac_fn_c_try_link "$LINENO"; then :
10165 case "$LIBEXT" in
10166 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10167 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'` ;;
10168 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10169 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10170 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10171 fi ;;
10172 esac
10174 rm -f core conftest.err conftest.$ac_objext \
10175 conftest$ac_exeext conftest.$ac_ext
10176 LIBS=$ac_check_soname_save_LIBS
10178 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10180 $as_echo "not found" >&6; }
10182 else
10183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
10184 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
10186 cat >>confdefs.h <<_ACEOF
10187 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
10188 _ACEOF
10193 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
10194 case "x$with_xcursor" in
10195 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
10196 xno) ;;
10197 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
10198 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
10199 esac
10203 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
10204 then
10205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
10206 $as_echo_n "checking for -lXi... " >&6; }
10207 if ${ac_cv_lib_soname_Xi+:} false; then :
10208 $as_echo_n "(cached) " >&6
10209 else
10210 ac_check_soname_save_LIBS=$LIBS
10211 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
10212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10213 /* end confdefs.h. */
10215 /* Override any GCC internal prototype to avoid an error.
10216 Use char because int might match the return type of a GCC
10217 builtin and then its argument prototype would still apply. */
10218 #ifdef __cplusplus
10219 extern "C"
10220 #endif
10221 char XOpenDevice ();
10223 main ()
10225 return XOpenDevice ();
10227 return 0;
10229 _ACEOF
10230 if ac_fn_c_try_link "$LINENO"; then :
10231 case "$LIBEXT" in
10232 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10233 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'` ;;
10234 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10235 if ${ac_cv_lib_soname_Xi:+false} :; then :
10236 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10237 fi ;;
10238 esac
10240 rm -f core conftest.err conftest.$ac_objext \
10241 conftest$ac_exeext conftest.$ac_ext
10242 LIBS=$ac_check_soname_save_LIBS
10244 if ${ac_cv_lib_soname_Xi:+false} :; then :
10245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10246 $as_echo "not found" >&6; }
10248 else
10249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10250 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10252 cat >>confdefs.h <<_ACEOF
10253 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10254 _ACEOF
10259 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10260 case "x$with_xinput" in
10261 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10262 xno) ;;
10263 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10264 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10265 esac
10269 if test "x$ac_cv_lib_soname_Xi" != x
10270 then
10271 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10272 case "x$with_xinput2" in
10273 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10274 xno) ;;
10275 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10276 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10277 esac
10282 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10283 then
10284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10285 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10286 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10287 $as_echo_n "(cached) " >&6
10288 else
10289 ac_check_lib_save_LIBS=$LIBS
10290 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10292 /* end confdefs.h. */
10294 /* Override any GCC internal prototype to avoid an error.
10295 Use char because int might match the return type of a GCC
10296 builtin and then its argument prototype would still apply. */
10297 #ifdef __cplusplus
10298 extern "C"
10299 #endif
10300 char XShmQueryExtension ();
10302 main ()
10304 return XShmQueryExtension ();
10306 return 0;
10308 _ACEOF
10309 if ac_fn_c_try_link "$LINENO"; then :
10310 ac_cv_lib_Xext_XShmQueryExtension=yes
10311 else
10312 ac_cv_lib_Xext_XShmQueryExtension=no
10314 rm -f core conftest.err conftest.$ac_objext \
10315 conftest$ac_exeext conftest.$ac_ext
10316 LIBS=$ac_check_lib_save_LIBS
10318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10319 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10320 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10322 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10327 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10328 case "x$with_xshm" in
10329 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10330 xno) ;;
10331 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10332 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10333 esac
10337 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10338 then
10339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10340 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10341 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10342 $as_echo_n "(cached) " >&6
10343 else
10344 ac_check_lib_save_LIBS=$LIBS
10345 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10347 /* end confdefs.h. */
10349 /* Override any GCC internal prototype to avoid an error.
10350 Use char because int might match the return type of a GCC
10351 builtin and then its argument prototype would still apply. */
10352 #ifdef __cplusplus
10353 extern "C"
10354 #endif
10355 char XShapeQueryExtension ();
10357 main ()
10359 return XShapeQueryExtension ();
10361 return 0;
10363 _ACEOF
10364 if ac_fn_c_try_link "$LINENO"; then :
10365 ac_cv_lib_Xext_XShapeQueryExtension=yes
10366 else
10367 ac_cv_lib_Xext_XShapeQueryExtension=no
10369 rm -f core conftest.err conftest.$ac_objext \
10370 conftest$ac_exeext conftest.$ac_ext
10371 LIBS=$ac_check_lib_save_LIBS
10373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10374 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10375 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10377 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10382 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10383 case "x$with_xshape" in
10384 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10385 xno) ;;
10386 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10387 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10388 esac
10392 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10393 then
10394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10395 $as_echo_n "checking for -lXxf86vm... " >&6; }
10396 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10397 $as_echo_n "(cached) " >&6
10398 else
10399 ac_check_soname_save_LIBS=$LIBS
10400 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10402 /* end confdefs.h. */
10404 /* Override any GCC internal prototype to avoid an error.
10405 Use char because int might match the return type of a GCC
10406 builtin and then its argument prototype would still apply. */
10407 #ifdef __cplusplus
10408 extern "C"
10409 #endif
10410 char XF86VidModeQueryExtension ();
10412 main ()
10414 return XF86VidModeQueryExtension ();
10416 return 0;
10418 _ACEOF
10419 if ac_fn_c_try_link "$LINENO"; then :
10420 case "$LIBEXT" in
10421 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10422 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'` ;;
10423 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10424 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10425 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10426 fi ;;
10427 esac
10429 rm -f core conftest.err conftest.$ac_objext \
10430 conftest$ac_exeext conftest.$ac_ext
10431 LIBS=$ac_check_soname_save_LIBS
10433 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10435 $as_echo "not found" >&6; }
10437 else
10438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10439 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10441 cat >>confdefs.h <<_ACEOF
10442 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10443 _ACEOF
10448 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10449 case "x$with_xxf86vm" in
10450 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10451 xno) ;;
10452 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10453 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10454 esac
10458 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10459 then
10460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10461 $as_echo_n "checking for -lXrender... " >&6; }
10462 if ${ac_cv_lib_soname_Xrender+:} false; then :
10463 $as_echo_n "(cached) " >&6
10464 else
10465 ac_check_soname_save_LIBS=$LIBS
10466 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10468 /* end confdefs.h. */
10470 /* Override any GCC internal prototype to avoid an error.
10471 Use char because int might match the return type of a GCC
10472 builtin and then its argument prototype would still apply. */
10473 #ifdef __cplusplus
10474 extern "C"
10475 #endif
10476 char XRenderQueryExtension ();
10478 main ()
10480 return XRenderQueryExtension ();
10482 return 0;
10484 _ACEOF
10485 if ac_fn_c_try_link "$LINENO"; then :
10486 case "$LIBEXT" in
10487 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10488 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'` ;;
10489 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10490 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10491 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10492 fi ;;
10493 esac
10495 rm -f core conftest.err conftest.$ac_objext \
10496 conftest$ac_exeext conftest.$ac_ext
10497 LIBS=$ac_check_soname_save_LIBS
10499 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10501 $as_echo "not found" >&6; }
10503 else
10504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10505 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10507 cat >>confdefs.h <<_ACEOF
10508 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10509 _ACEOF
10511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10512 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10513 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10514 $as_echo_n "(cached) " >&6
10515 else
10516 ac_check_lib_save_LIBS=$LIBS
10517 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10519 /* end confdefs.h. */
10521 /* Override any GCC internal prototype to avoid an error.
10522 Use char because int might match the return type of a GCC
10523 builtin and then its argument prototype would still apply. */
10524 #ifdef __cplusplus
10525 extern "C"
10526 #endif
10527 char XRenderSetPictureTransform ();
10529 main ()
10531 return XRenderSetPictureTransform ();
10533 return 0;
10535 _ACEOF
10536 if ac_fn_c_try_link "$LINENO"; then :
10537 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10538 else
10539 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10541 rm -f core conftest.err conftest.$ac_objext \
10542 conftest$ac_exeext conftest.$ac_ext
10543 LIBS=$ac_check_lib_save_LIBS
10545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10546 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10547 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10549 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10554 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10555 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10556 $as_echo_n "(cached) " >&6
10557 else
10558 ac_check_lib_save_LIBS=$LIBS
10559 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10561 /* end confdefs.h. */
10563 /* Override any GCC internal prototype to avoid an error.
10564 Use char because int might match the return type of a GCC
10565 builtin and then its argument prototype would still apply. */
10566 #ifdef __cplusplus
10567 extern "C"
10568 #endif
10569 char XRenderCreateLinearGradient ();
10571 main ()
10573 return XRenderCreateLinearGradient ();
10575 return 0;
10577 _ACEOF
10578 if ac_fn_c_try_link "$LINENO"; then :
10579 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10580 else
10581 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10583 rm -f core conftest.err conftest.$ac_objext \
10584 conftest$ac_exeext conftest.$ac_ext
10585 LIBS=$ac_check_lib_save_LIBS
10587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10588 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10589 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10591 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10598 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10599 case "x$with_xrender" in
10600 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10601 xno) ;;
10602 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10603 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10604 esac
10608 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10609 then
10610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10611 /* end confdefs.h. */
10612 #include <X11/Xlib.h>
10613 #include <X11/extensions/Xrandr.h>
10615 main ()
10617 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10619 return 0;
10621 _ACEOF
10622 if ac_fn_c_try_compile "$LINENO"; then :
10623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10624 $as_echo_n "checking for -lXrandr... " >&6; }
10625 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10626 $as_echo_n "(cached) " >&6
10627 else
10628 ac_check_soname_save_LIBS=$LIBS
10629 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10631 /* end confdefs.h. */
10633 /* Override any GCC internal prototype to avoid an error.
10634 Use char because int might match the return type of a GCC
10635 builtin and then its argument prototype would still apply. */
10636 #ifdef __cplusplus
10637 extern "C"
10638 #endif
10639 char XRRQueryExtension ();
10641 main ()
10643 return XRRQueryExtension ();
10645 return 0;
10647 _ACEOF
10648 if ac_fn_c_try_link "$LINENO"; then :
10649 case "$LIBEXT" in
10650 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10651 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'` ;;
10652 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10653 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10654 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10655 fi ;;
10656 esac
10658 rm -f core conftest.err conftest.$ac_objext \
10659 conftest$ac_exeext conftest.$ac_ext
10660 LIBS=$ac_check_soname_save_LIBS
10662 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10664 $as_echo "not found" >&6; }
10666 else
10667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10668 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10670 cat >>confdefs.h <<_ACEOF
10671 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10672 _ACEOF
10674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10675 /* end confdefs.h. */
10676 #include <X11/Xlib.h>
10677 #include <X11/extensions/Xrandr.h>
10679 main ()
10681 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10683 return 0;
10685 _ACEOF
10686 if ac_fn_c_try_compile "$LINENO"; then :
10688 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10696 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10697 case "x$with_xrandr" in
10698 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10699 xno) ;;
10700 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10701 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10702 esac
10706 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
10707 then
10708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10709 /* end confdefs.h. */
10710 #include <X11/Xlib.h>
10711 #include <X11/extensions/Xfixes.h>
10713 main ()
10715 static typeof(XFixesQueryVersion) * func; if (func) return 0;
10717 return 0;
10719 _ACEOF
10720 if ac_fn_c_try_compile "$LINENO"; then :
10721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
10722 $as_echo_n "checking for -lXfixes... " >&6; }
10723 if ${ac_cv_lib_soname_Xfixes+:} false; then :
10724 $as_echo_n "(cached) " >&6
10725 else
10726 ac_check_soname_save_LIBS=$LIBS
10727 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
10728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10729 /* end confdefs.h. */
10731 /* Override any GCC internal prototype to avoid an error.
10732 Use char because int might match the return type of a GCC
10733 builtin and then its argument prototype would still apply. */
10734 #ifdef __cplusplus
10735 extern "C"
10736 #endif
10737 char XFixesQueryVersion ();
10739 main ()
10741 return XFixesQueryVersion ();
10743 return 0;
10745 _ACEOF
10746 if ac_fn_c_try_link "$LINENO"; then :
10747 case "$LIBEXT" in
10748 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10749 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'` ;;
10750 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10751 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10752 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10753 fi ;;
10754 esac
10756 rm -f core conftest.err conftest.$ac_objext \
10757 conftest$ac_exeext conftest.$ac_ext
10758 LIBS=$ac_check_soname_save_LIBS
10760 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10762 $as_echo "not found" >&6; }
10764 else
10765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
10766 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
10768 cat >>confdefs.h <<_ACEOF
10769 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
10770 _ACEOF
10775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10777 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
10778 case "x$with_xfixes" in
10779 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
10780 xno) ;;
10781 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
10782 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
10783 esac
10787 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10788 then
10789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10790 /* end confdefs.h. */
10791 #include <X11/Xlib.h>
10792 #include <X11/extensions/Xinerama.h>
10794 main ()
10796 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10798 return 0;
10800 _ACEOF
10801 if ac_fn_c_try_compile "$LINENO"; then :
10802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10803 $as_echo_n "checking for -lXinerama... " >&6; }
10804 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10805 $as_echo_n "(cached) " >&6
10806 else
10807 ac_check_soname_save_LIBS=$LIBS
10808 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10810 /* end confdefs.h. */
10812 /* Override any GCC internal prototype to avoid an error.
10813 Use char because int might match the return type of a GCC
10814 builtin and then its argument prototype would still apply. */
10815 #ifdef __cplusplus
10816 extern "C"
10817 #endif
10818 char XineramaQueryScreens ();
10820 main ()
10822 return XineramaQueryScreens ();
10824 return 0;
10826 _ACEOF
10827 if ac_fn_c_try_link "$LINENO"; then :
10828 case "$LIBEXT" in
10829 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10830 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'` ;;
10831 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10832 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10833 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10834 fi ;;
10835 esac
10837 rm -f core conftest.err conftest.$ac_objext \
10838 conftest$ac_exeext conftest.$ac_ext
10839 LIBS=$ac_check_soname_save_LIBS
10841 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10843 $as_echo "not found" >&6; }
10845 else
10846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10847 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10849 cat >>confdefs.h <<_ACEOF
10850 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10851 _ACEOF
10856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10858 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10859 case "x$with_xinerama" in
10860 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10861 xno) ;;
10862 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10863 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10864 esac
10868 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10869 then
10870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10871 $as_echo_n "checking for -lXcomposite... " >&6; }
10872 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10873 $as_echo_n "(cached) " >&6
10874 else
10875 ac_check_soname_save_LIBS=$LIBS
10876 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10878 /* end confdefs.h. */
10880 /* Override any GCC internal prototype to avoid an error.
10881 Use char because int might match the return type of a GCC
10882 builtin and then its argument prototype would still apply. */
10883 #ifdef __cplusplus
10884 extern "C"
10885 #endif
10886 char XCompositeRedirectWindow ();
10888 main ()
10890 return XCompositeRedirectWindow ();
10892 return 0;
10894 _ACEOF
10895 if ac_fn_c_try_link "$LINENO"; then :
10896 case "$LIBEXT" in
10897 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10898 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'` ;;
10899 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10900 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10901 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10902 fi ;;
10903 esac
10905 rm -f core conftest.err conftest.$ac_objext \
10906 conftest$ac_exeext conftest.$ac_ext
10907 LIBS=$ac_check_soname_save_LIBS
10909 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10911 $as_echo "not found" >&6; }
10913 else
10914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10915 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10917 cat >>confdefs.h <<_ACEOF
10918 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10919 _ACEOF
10924 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10925 case "x$with_xcomposite" in
10926 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10927 xno) ;;
10928 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10929 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10930 esac
10934 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10935 #include <X11/Xlib.h>
10936 #endif
10938 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10940 cat >>confdefs.h <<_ACEOF
10941 #define HAVE_XICCALLBACK_CALLBACK 1
10942 _ACEOF
10946 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10947 #include <X11/Xlib.h>
10948 #endif
10950 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10952 cat >>confdefs.h <<_ACEOF
10953 #define HAVE_XEVENT_XCOOKIE 1
10954 _ACEOF
10961 opengl_msg=""
10962 if test "x$with_opengl" != "xno"
10963 then
10964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10965 $as_echo_n "checking for -lGL... " >&6; }
10966 if ${ac_cv_lib_soname_GL+:} false; then :
10967 $as_echo_n "(cached) " >&6
10968 else
10969 ac_check_soname_save_LIBS=$LIBS
10970 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10972 /* end confdefs.h. */
10974 /* Override any GCC internal prototype to avoid an error.
10975 Use char because int might match the return type of a GCC
10976 builtin and then its argument prototype would still apply. */
10977 #ifdef __cplusplus
10978 extern "C"
10979 #endif
10980 char glXCreateContext ();
10982 main ()
10984 return glXCreateContext ();
10986 return 0;
10988 _ACEOF
10989 if ac_fn_c_try_link "$LINENO"; then :
10990 case "$LIBEXT" in
10991 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10992 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'` ;;
10993 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10994 if ${ac_cv_lib_soname_GL:+false} :; then :
10995 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10996 fi ;;
10997 esac
10999 rm -f core conftest.err conftest.$ac_objext \
11000 conftest$ac_exeext conftest.$ac_ext
11001 LIBS=$ac_check_soname_save_LIBS
11003 if ${ac_cv_lib_soname_GL:+false} :; then :
11004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11005 $as_echo "not found" >&6; }
11006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
11007 $as_echo_n "checking for -lGL... " >&6; }
11008 if ${ac_cv_lib_soname_GL+:} false; then :
11009 $as_echo_n "(cached) " >&6
11010 else
11011 ac_check_soname_save_LIBS=$LIBS
11012 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"
11013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11014 /* end confdefs.h. */
11016 /* Override any GCC internal prototype to avoid an error.
11017 Use char because int might match the return type of a GCC
11018 builtin and then its argument prototype would still apply. */
11019 #ifdef __cplusplus
11020 extern "C"
11021 #endif
11022 char glXCreateContext ();
11024 main ()
11026 return glXCreateContext ();
11028 return 0;
11030 _ACEOF
11031 if ac_fn_c_try_link "$LINENO"; then :
11032 case "$LIBEXT" in
11033 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11034 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'` ;;
11035 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11036 if ${ac_cv_lib_soname_GL:+false} :; then :
11037 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11038 fi ;;
11039 esac
11041 rm -f core conftest.err conftest.$ac_objext \
11042 conftest$ac_exeext conftest.$ac_ext
11043 LIBS=$ac_check_soname_save_LIBS
11045 if ${ac_cv_lib_soname_GL:+false} :; then :
11046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11047 $as_echo "not found" >&6; }
11048 if test -f /usr/X11R6/lib/libGL.a
11049 then
11050 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
11051 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
11052 else
11053 opengl_msg="No OpenGL library found on this system."
11055 else
11056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11057 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11059 cat >>confdefs.h <<_ACEOF
11060 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11061 _ACEOF
11063 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"
11065 else
11066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11067 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11069 cat >>confdefs.h <<_ACEOF
11070 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11071 _ACEOF
11073 OPENGL_LIBS="-lGL"
11075 if test "x$with_glu" != "xno"
11076 then
11077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
11078 $as_echo_n "checking for -lGLU... " >&6; }
11079 if ${ac_cv_lib_soname_GLU+:} false; then :
11080 $as_echo_n "(cached) " >&6
11081 else
11082 ac_check_soname_save_LIBS=$LIBS
11083 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11085 /* end confdefs.h. */
11087 /* Override any GCC internal prototype to avoid an error.
11088 Use char because int might match the return type of a GCC
11089 builtin and then its argument prototype would still apply. */
11090 #ifdef __cplusplus
11091 extern "C"
11092 #endif
11093 char gluLookAt ();
11095 main ()
11097 return gluLookAt ();
11099 return 0;
11101 _ACEOF
11102 if ac_fn_c_try_link "$LINENO"; then :
11103 case "$LIBEXT" in
11104 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11105 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'` ;;
11106 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11107 if ${ac_cv_lib_soname_GLU:+false} :; then :
11108 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11109 fi ;;
11110 esac
11112 rm -f core conftest.err conftest.$ac_objext \
11113 conftest$ac_exeext conftest.$ac_ext
11114 LIBS=$ac_check_soname_save_LIBS
11116 if ${ac_cv_lib_soname_GLU:+false} :; then :
11117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11118 $as_echo "not found" >&6; }
11120 else
11121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
11122 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
11124 cat >>confdefs.h <<_ACEOF
11125 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11126 _ACEOF
11130 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
11131 case "x$with_glu" in
11132 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
11133 xno) ;;
11134 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
11135 This is an error since --with-glu was requested." "$LINENO" 5 ;;
11136 esac
11141 if test "x$with_osmesa" != "xno"
11142 then
11143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
11144 $as_echo_n "checking for -lOSMesa... " >&6; }
11145 if ${ac_cv_lib_soname_OSMesa+:} false; then :
11146 $as_echo_n "(cached) " >&6
11147 else
11148 ac_check_soname_save_LIBS=$LIBS
11149 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11151 /* end confdefs.h. */
11153 /* Override any GCC internal prototype to avoid an error.
11154 Use char because int might match the return type of a GCC
11155 builtin and then its argument prototype would still apply. */
11156 #ifdef __cplusplus
11157 extern "C"
11158 #endif
11159 char OSMesaGetProcAddress ();
11161 main ()
11163 return OSMesaGetProcAddress ();
11165 return 0;
11167 _ACEOF
11168 if ac_fn_c_try_link "$LINENO"; then :
11169 case "$LIBEXT" in
11170 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11171 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'` ;;
11172 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11173 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11174 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11175 fi ;;
11176 esac
11178 rm -f core conftest.err conftest.$ac_objext \
11179 conftest$ac_exeext conftest.$ac_ext
11180 LIBS=$ac_check_soname_save_LIBS
11182 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11184 $as_echo "not found" >&6; }
11186 else
11187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
11188 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
11190 cat >>confdefs.h <<_ACEOF
11191 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
11192 _ACEOF
11196 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
11197 case "x$with_osmesa" in
11198 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
11199 xno) ;;
11200 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
11201 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
11202 esac
11207 if test -n "$opengl_msg"; then :
11208 case "x$with_opengl" in
11209 x) as_fn_append wine_warnings "|$opengl_msg
11210 OpenGL and Direct3D won't be supported." ;;
11211 xno) ;;
11212 *) as_fn_error $? "$opengl_msg
11213 OpenGL and Direct3D won't be supported.
11214 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
11215 esac
11219 CPPFLAGS="$ac_save_CPPFLAGS"
11220 else
11221 X_CFLAGS=""
11222 X_LIBS=""
11225 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
11226 then
11227 if test "x$X_LIBS" = "x"; then :
11228 case "x$with_x" in
11229 xno) ;;
11230 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
11231 without X support, which probably isn't what you want. You will need
11232 to install ${notice_platform}development packages of Xlib at the very least.
11233 Use the --without-x option if you really want this." "$LINENO" 5 ;;
11234 esac
11235 enable_winex11_drv=${enable_winex11_drv:-no}
11237 else
11238 if test "x$X_LIBS" = "x"; then :
11239 case "x$with_x" in
11240 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
11241 xno) ;;
11242 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
11243 This is an error since --with-x was requested." "$LINENO" 5 ;;
11244 esac
11245 enable_winex11_drv=${enable_winex11_drv:-no}
11249 if test "$ac_cv_header_CL_cl_h" = "yes"
11250 then
11251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
11252 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
11253 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
11254 $as_echo_n "(cached) " >&6
11255 else
11256 ac_check_lib_save_LIBS=$LIBS
11257 LIBS="-lOpenCL $LIBS"
11258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11259 /* end confdefs.h. */
11261 /* Override any GCC internal prototype to avoid an error.
11262 Use char because int might match the return type of a GCC
11263 builtin and then its argument prototype would still apply. */
11264 #ifdef __cplusplus
11265 extern "C"
11266 #endif
11267 char clGetPlatformInfo ();
11269 main ()
11271 return clGetPlatformInfo ();
11273 return 0;
11275 _ACEOF
11276 if ac_fn_c_try_link "$LINENO"; then :
11277 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
11278 else
11279 ac_cv_lib_OpenCL_clGetPlatformInfo=no
11281 rm -f core conftest.err conftest.$ac_objext \
11282 conftest$ac_exeext conftest.$ac_ext
11283 LIBS=$ac_check_lib_save_LIBS
11285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11286 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11287 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
11288 OPENCL_LIBS="-lOpenCL"
11293 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11294 case "x$with_opencl" in
11295 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11296 xno) ;;
11297 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11298 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11299 esac
11300 enable_opencl=${enable_opencl:-no}
11303 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11304 then
11305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11306 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11307 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11308 $as_echo_n "(cached) " >&6
11309 else
11310 ac_check_lib_save_LIBS=$LIBS
11311 LIBS="-lpcap $LIBS"
11312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11313 /* end confdefs.h. */
11315 /* Override any GCC internal prototype to avoid an error.
11316 Use char because int might match the return type of a GCC
11317 builtin and then its argument prototype would still apply. */
11318 #ifdef __cplusplus
11319 extern "C"
11320 #endif
11321 char pcap_create ();
11323 main ()
11325 return pcap_create ();
11327 return 0;
11329 _ACEOF
11330 if ac_fn_c_try_link "$LINENO"; then :
11331 ac_cv_lib_pcap_pcap_create=yes
11332 else
11333 ac_cv_lib_pcap_pcap_create=no
11335 rm -f core conftest.err conftest.$ac_objext \
11336 conftest$ac_exeext conftest.$ac_ext
11337 LIBS=$ac_check_lib_save_LIBS
11339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11340 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11341 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11342 PCAP_LIBS="-lpcap"
11347 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11348 case "x$with_pcap" in
11349 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11350 xno) ;;
11351 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11352 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11353 esac
11354 enable_wpcap=${enable_wpcap:-no}
11358 if test "x$with_xml" != "xno"
11359 then
11360 if ${XML2_CFLAGS:+false} :; then :
11361 if ${PKG_CONFIG+:} false; then :
11362 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11365 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11366 if ${XML2_LIBS:+false} :; then :
11367 if ${PKG_CONFIG+:} false; then :
11368 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11371 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11372 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11373 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11374 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11375 ac_save_CPPFLAGS=$CPPFLAGS
11376 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11377 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11378 do :
11379 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11380 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11381 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11382 cat >>confdefs.h <<_ACEOF
11383 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11384 _ACEOF
11388 done
11390 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"
11391 then
11392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11393 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11394 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11395 $as_echo_n "(cached) " >&6
11396 else
11397 ac_check_lib_save_LIBS=$LIBS
11398 LIBS="-lxml2 $XML2_LIBS $LIBS"
11399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11400 /* end confdefs.h. */
11402 /* Override any GCC internal prototype to avoid an error.
11403 Use char because int might match the return type of a GCC
11404 builtin and then its argument prototype would still apply. */
11405 #ifdef __cplusplus
11406 extern "C"
11407 #endif
11408 char xmlParseMemory ();
11410 main ()
11412 return xmlParseMemory ();
11414 return 0;
11416 _ACEOF
11417 if ac_fn_c_try_link "$LINENO"; then :
11418 ac_cv_lib_xml2_xmlParseMemory=yes
11419 else
11420 ac_cv_lib_xml2_xmlParseMemory=no
11422 rm -f core conftest.err conftest.$ac_objext \
11423 conftest$ac_exeext conftest.$ac_ext
11424 LIBS=$ac_check_lib_save_LIBS
11426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11427 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11428 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11430 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11432 else
11433 XML2_LIBS=""
11436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11437 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11438 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11439 $as_echo_n "(cached) " >&6
11440 else
11441 ac_check_lib_save_LIBS=$LIBS
11442 LIBS="-lxml2 $XML2_LIBS $LIBS"
11443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11444 /* end confdefs.h. */
11446 /* Override any GCC internal prototype to avoid an error.
11447 Use char because int might match the return type of a GCC
11448 builtin and then its argument prototype would still apply. */
11449 #ifdef __cplusplus
11450 extern "C"
11451 #endif
11452 char xmlReadMemory ();
11454 main ()
11456 return xmlReadMemory ();
11458 return 0;
11460 _ACEOF
11461 if ac_fn_c_try_link "$LINENO"; then :
11462 ac_cv_lib_xml2_xmlReadMemory=yes
11463 else
11464 ac_cv_lib_xml2_xmlReadMemory=no
11466 rm -f core conftest.err conftest.$ac_objext \
11467 conftest$ac_exeext conftest.$ac_ext
11468 LIBS=$ac_check_lib_save_LIBS
11470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11471 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11472 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11474 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11479 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11480 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11481 $as_echo_n "(cached) " >&6
11482 else
11483 ac_check_lib_save_LIBS=$LIBS
11484 LIBS="-lxml2 $XML2_LIBS $LIBS"
11485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11486 /* end confdefs.h. */
11488 /* Override any GCC internal prototype to avoid an error.
11489 Use char because int might match the return type of a GCC
11490 builtin and then its argument prototype would still apply. */
11491 #ifdef __cplusplus
11492 extern "C"
11493 #endif
11494 char xmlNewDocPI ();
11496 main ()
11498 return xmlNewDocPI ();
11500 return 0;
11502 _ACEOF
11503 if ac_fn_c_try_link "$LINENO"; then :
11504 ac_cv_lib_xml2_xmlNewDocPI=yes
11505 else
11506 ac_cv_lib_xml2_xmlNewDocPI=no
11508 rm -f core conftest.err conftest.$ac_objext \
11509 conftest$ac_exeext conftest.$ac_ext
11510 LIBS=$ac_check_lib_save_LIBS
11512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11513 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11514 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11516 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11521 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11522 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11523 $as_echo_n "(cached) " >&6
11524 else
11525 ac_check_lib_save_LIBS=$LIBS
11526 LIBS="-lxml2 $XML2_LIBS $LIBS"
11527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11528 /* end confdefs.h. */
11530 /* Override any GCC internal prototype to avoid an error.
11531 Use char because int might match the return type of a GCC
11532 builtin and then its argument prototype would still apply. */
11533 #ifdef __cplusplus
11534 extern "C"
11535 #endif
11536 char xmlSchemaSetParserStructuredErrors ();
11538 main ()
11540 return xmlSchemaSetParserStructuredErrors ();
11542 return 0;
11544 _ACEOF
11545 if ac_fn_c_try_link "$LINENO"; then :
11546 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11547 else
11548 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11550 rm -f core conftest.err conftest.$ac_objext \
11551 conftest$ac_exeext conftest.$ac_ext
11552 LIBS=$ac_check_lib_save_LIBS
11554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11555 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11556 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11558 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11563 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11564 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11565 $as_echo_n "(cached) " >&6
11566 else
11567 ac_check_lib_save_LIBS=$LIBS
11568 LIBS="-lxml2 $XML2_LIBS $LIBS"
11569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11570 /* end confdefs.h. */
11572 /* Override any GCC internal prototype to avoid an error.
11573 Use char because int might match the return type of a GCC
11574 builtin and then its argument prototype would still apply. */
11575 #ifdef __cplusplus
11576 extern "C"
11577 #endif
11578 char xmlSchemaSetValidStructuredErrors ();
11580 main ()
11582 return xmlSchemaSetValidStructuredErrors ();
11584 return 0;
11586 _ACEOF
11587 if ac_fn_c_try_link "$LINENO"; then :
11588 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11589 else
11590 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11592 rm -f core conftest.err conftest.$ac_objext \
11593 conftest$ac_exeext conftest.$ac_ext
11594 LIBS=$ac_check_lib_save_LIBS
11596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11597 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11598 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11600 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11605 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11606 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11607 $as_echo_n "(cached) " >&6
11608 else
11609 ac_check_lib_save_LIBS=$LIBS
11610 LIBS="-lxml2 $XML2_LIBS $LIBS"
11611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11612 /* end confdefs.h. */
11614 /* Override any GCC internal prototype to avoid an error.
11615 Use char because int might match the return type of a GCC
11616 builtin and then its argument prototype would still apply. */
11617 #ifdef __cplusplus
11618 extern "C"
11619 #endif
11620 char xmlFirstElementChild ();
11622 main ()
11624 return xmlFirstElementChild ();
11626 return 0;
11628 _ACEOF
11629 if ac_fn_c_try_link "$LINENO"; then :
11630 ac_cv_lib_xml2_xmlFirstElementChild=yes
11631 else
11632 ac_cv_lib_xml2_xmlFirstElementChild=no
11634 rm -f core conftest.err conftest.$ac_objext \
11635 conftest$ac_exeext conftest.$ac_ext
11636 LIBS=$ac_check_lib_save_LIBS
11638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11639 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11640 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11642 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11646 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11648 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11650 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11654 else
11655 XML2_CFLAGS=""
11656 XML2_LIBS=""
11658 CPPFLAGS=$ac_save_CPPFLAGS
11659 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11660 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11663 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11664 case "x$with_xml" in
11665 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11666 xno) ;;
11667 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11668 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11669 esac
11673 if test "x$with_xslt" != "xno"
11674 then
11675 if ${XSLT_CFLAGS:+false} :; then :
11676 if ${PKG_CONFIG+:} false; then :
11677 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11680 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11681 if ${XSLT_LIBS:+false} :; then :
11682 if ${PKG_CONFIG+:} false; then :
11683 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11686 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11687 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11688 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11689 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11690 ac_save_CPPFLAGS=$CPPFLAGS
11691 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11692 for ac_header in libxslt/pattern.h libxslt/transform.h
11693 do :
11694 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11695 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11696 # include <libxslt/pattern.h>
11697 #endif
11699 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11700 cat >>confdefs.h <<_ACEOF
11701 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11702 _ACEOF
11706 done
11708 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11709 then
11710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11711 $as_echo_n "checking for -lxslt... " >&6; }
11712 if ${ac_cv_lib_soname_xslt+:} false; then :
11713 $as_echo_n "(cached) " >&6
11714 else
11715 ac_check_soname_save_LIBS=$LIBS
11716 LIBS="-lxslt $XSLT_LIBS $LIBS"
11717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11718 /* end confdefs.h. */
11720 /* Override any GCC internal prototype to avoid an error.
11721 Use char because int might match the return type of a GCC
11722 builtin and then its argument prototype would still apply. */
11723 #ifdef __cplusplus
11724 extern "C"
11725 #endif
11726 char xsltCompilePattern ();
11728 main ()
11730 return xsltCompilePattern ();
11732 return 0;
11734 _ACEOF
11735 if ac_fn_c_try_link "$LINENO"; then :
11736 case "$LIBEXT" in
11737 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11738 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'` ;;
11739 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11740 if ${ac_cv_lib_soname_xslt:+false} :; then :
11741 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11742 fi ;;
11743 esac
11745 rm -f core conftest.err conftest.$ac_objext \
11746 conftest$ac_exeext conftest.$ac_ext
11747 LIBS=$ac_check_soname_save_LIBS
11749 if ${ac_cv_lib_soname_xslt:+false} :; then :
11750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11751 $as_echo "not found" >&6; }
11753 else
11754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11755 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11757 cat >>confdefs.h <<_ACEOF
11758 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11759 _ACEOF
11763 else
11764 XSLT_CFLAGS=""
11766 CPPFLAGS=$ac_save_CPPFLAGS
11767 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11768 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11771 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11772 case "x$with_xslt" in
11773 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11774 xno) ;;
11775 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11776 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11777 esac
11781 if test "x$with_dbus" != "xno"
11782 then
11783 if ${DBUS_CFLAGS:+false} :; then :
11784 if ${PKG_CONFIG+:} false; then :
11785 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11789 if ${DBUS_LIBS:+false} :; then :
11790 if ${PKG_CONFIG+:} false; then :
11791 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11796 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11797 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11798 ac_save_CPPFLAGS=$CPPFLAGS
11799 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11800 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11801 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11803 $as_echo_n "checking for -ldbus-1... " >&6; }
11804 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11805 $as_echo_n "(cached) " >&6
11806 else
11807 ac_check_soname_save_LIBS=$LIBS
11808 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11810 /* end confdefs.h. */
11812 /* Override any GCC internal prototype to avoid an error.
11813 Use char because int might match the return type of a GCC
11814 builtin and then its argument prototype would still apply. */
11815 #ifdef __cplusplus
11816 extern "C"
11817 #endif
11818 char dbus_connection_close ();
11820 main ()
11822 return dbus_connection_close ();
11824 return 0;
11826 _ACEOF
11827 if ac_fn_c_try_link "$LINENO"; then :
11828 case "$LIBEXT" in
11829 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11830 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'` ;;
11831 *) 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'`
11832 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11833 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11834 fi ;;
11835 esac
11837 rm -f core conftest.err conftest.$ac_objext \
11838 conftest$ac_exeext conftest.$ac_ext
11839 LIBS=$ac_check_soname_save_LIBS
11841 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11843 $as_echo "not found" >&6; }
11844 DBUS_CFLAGS=""
11845 else
11846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11847 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11849 cat >>confdefs.h <<_ACEOF
11850 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11851 _ACEOF
11855 else
11856 DBUS_CFLAGS=""
11860 CPPFLAGS=$ac_save_CPPFLAGS
11861 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11862 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11865 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11866 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11867 case "x$with_dbus" in
11868 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11869 xno) ;;
11870 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11871 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11872 esac
11876 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11877 then
11878 if ${HAL_CFLAGS:+false} :; then :
11879 if ${PKG_CONFIG+:} false; then :
11880 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11884 if ${HAL_LIBS:+false} :; then :
11885 if ${PKG_CONFIG+:} false; then :
11886 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11890 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11891 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11892 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11893 ac_save_CPPFLAGS=$CPPFLAGS
11894 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11895 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11896 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11898 $as_echo_n "checking for -lhal... " >&6; }
11899 if ${ac_cv_lib_soname_hal+:} false; then :
11900 $as_echo_n "(cached) " >&6
11901 else
11902 ac_check_soname_save_LIBS=$LIBS
11903 LIBS="-lhal $HAL_LIBS $LIBS"
11904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11905 /* end confdefs.h. */
11907 /* Override any GCC internal prototype to avoid an error.
11908 Use char because int might match the return type of a GCC
11909 builtin and then its argument prototype would still apply. */
11910 #ifdef __cplusplus
11911 extern "C"
11912 #endif
11913 char libhal_ctx_new ();
11915 main ()
11917 return libhal_ctx_new ();
11919 return 0;
11921 _ACEOF
11922 if ac_fn_c_try_link "$LINENO"; then :
11923 case "$LIBEXT" in
11924 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11925 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'` ;;
11926 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11927 if ${ac_cv_lib_soname_hal:+false} :; then :
11928 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11929 fi ;;
11930 esac
11932 rm -f core conftest.err conftest.$ac_objext \
11933 conftest$ac_exeext conftest.$ac_ext
11934 LIBS=$ac_check_soname_save_LIBS
11936 if ${ac_cv_lib_soname_hal:+false} :; then :
11937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11938 $as_echo "not found" >&6; }
11939 HAL_CFLAGS=""
11940 else
11941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11942 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11944 cat >>confdefs.h <<_ACEOF
11945 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11946 _ACEOF
11950 else
11951 HAL_CFLAGS=""
11955 CPPFLAGS=$ac_save_CPPFLAGS
11956 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11957 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11959 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11960 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11961 case "x$with_hal" in
11962 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11963 xno) ;;
11964 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11965 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11966 esac
11971 if test "x$with_gnutls" != "xno"
11972 then
11973 if ${GNUTLS_CFLAGS:+false} :; then :
11974 if ${PKG_CONFIG+:} false; then :
11975 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11979 if ${GNUTLS_LIBS:+false} :; then :
11980 if ${PKG_CONFIG+:} false; then :
11981 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11986 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11987 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11988 ac_save_CPPFLAGS=$CPPFLAGS
11989 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11990 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11991 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11993 /* end confdefs.h. */
11994 #include <gnutls/gnutls.h>
11995 #include <gnutls/crypto.h>
11997 main ()
11999 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
12001 return 0;
12003 _ACEOF
12004 if ac_fn_c_try_compile "$LINENO"; then :
12005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
12006 $as_echo_n "checking for -lgnutls... " >&6; }
12007 if ${ac_cv_lib_soname_gnutls+:} false; then :
12008 $as_echo_n "(cached) " >&6
12009 else
12010 ac_check_soname_save_LIBS=$LIBS
12011 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
12012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12013 /* end confdefs.h. */
12015 /* Override any GCC internal prototype to avoid an error.
12016 Use char because int might match the return type of a GCC
12017 builtin and then its argument prototype would still apply. */
12018 #ifdef __cplusplus
12019 extern "C"
12020 #endif
12021 char gnutls_global_init ();
12023 main ()
12025 return gnutls_global_init ();
12027 return 0;
12029 _ACEOF
12030 if ac_fn_c_try_link "$LINENO"; then :
12031 case "$LIBEXT" in
12032 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12033 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'` ;;
12034 *) 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'`
12035 if ${ac_cv_lib_soname_gnutls:+false} :; then :
12036 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'`
12037 fi ;;
12038 esac
12040 rm -f core conftest.err conftest.$ac_objext \
12041 conftest$ac_exeext conftest.$ac_ext
12042 LIBS=$ac_check_soname_save_LIBS
12044 if ${ac_cv_lib_soname_gnutls:+false} :; then :
12045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12046 $as_echo "not found" >&6; }
12047 GNUTLS_CFLAGS=""
12048 else
12049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
12050 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
12052 cat >>confdefs.h <<_ACEOF
12053 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
12054 _ACEOF
12058 ac_wine_check_funcs_save_LIBS="$LIBS"
12059 LIBS="$LIBS $GNUTLS_LIBS"
12060 for ac_func in gnutls_cipher_init
12061 do :
12062 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
12063 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
12064 cat >>confdefs.h <<_ACEOF
12065 #define HAVE_GNUTLS_CIPHER_INIT 1
12066 _ACEOF
12068 else
12069 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
12071 done
12073 LIBS="$ac_wine_check_funcs_save_LIBS"
12075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12076 else
12077 GNUTLS_CFLAGS=""
12081 CPPFLAGS=$ac_save_CPPFLAGS
12082 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12083 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12086 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
12087 case "x$with_gnutls" in
12088 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
12089 xno) ;;
12090 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
12091 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
12092 esac
12096 CURSES_LIBS=""
12097 if test "$ac_cv_header_ncurses_h" = "yes"
12098 then
12099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
12100 $as_echo_n "checking for -lncurses... " >&6; }
12101 if ${ac_cv_lib_soname_ncurses+:} false; then :
12102 $as_echo_n "(cached) " >&6
12103 else
12104 ac_check_soname_save_LIBS=$LIBS
12105 LIBS="-lncurses $LIBS"
12106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12107 /* end confdefs.h. */
12109 /* Override any GCC internal prototype to avoid an error.
12110 Use char because int might match the return type of a GCC
12111 builtin and then its argument prototype would still apply. */
12112 #ifdef __cplusplus
12113 extern "C"
12114 #endif
12115 char waddch ();
12117 main ()
12119 return waddch ();
12121 return 0;
12123 _ACEOF
12124 if ac_fn_c_try_link "$LINENO"; then :
12125 case "$LIBEXT" in
12126 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12127 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'` ;;
12128 *) 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'`
12129 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12130 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12131 fi ;;
12132 esac
12134 rm -f core conftest.err conftest.$ac_objext \
12135 conftest$ac_exeext conftest.$ac_ext
12136 LIBS=$ac_check_soname_save_LIBS
12138 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12140 $as_echo "not found" >&6; }
12142 else
12143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
12144 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
12146 cat >>confdefs.h <<_ACEOF
12147 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12148 _ACEOF
12150 CURSES_LIBS="-lncurses"
12152 elif test "$ac_cv_header_curses_h" = "yes"
12153 then
12154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
12155 $as_echo_n "checking for -lcurses... " >&6; }
12156 if ${ac_cv_lib_soname_curses+:} false; then :
12157 $as_echo_n "(cached) " >&6
12158 else
12159 ac_check_soname_save_LIBS=$LIBS
12160 LIBS="-lcurses $LIBS"
12161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12162 /* end confdefs.h. */
12164 /* Override any GCC internal prototype to avoid an error.
12165 Use char because int might match the return type of a GCC
12166 builtin and then its argument prototype would still apply. */
12167 #ifdef __cplusplus
12168 extern "C"
12169 #endif
12170 char waddch ();
12172 main ()
12174 return waddch ();
12176 return 0;
12178 _ACEOF
12179 if ac_fn_c_try_link "$LINENO"; then :
12180 case "$LIBEXT" in
12181 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12182 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'` ;;
12183 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12184 if ${ac_cv_lib_soname_curses:+false} :; then :
12185 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12186 fi ;;
12187 esac
12189 rm -f core conftest.err conftest.$ac_objext \
12190 conftest$ac_exeext conftest.$ac_ext
12191 LIBS=$ac_check_soname_save_LIBS
12193 if ${ac_cv_lib_soname_curses:+false} :; then :
12194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12195 $as_echo "not found" >&6; }
12197 else
12198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
12199 $as_echo "$ac_cv_lib_soname_curses" >&6; }
12201 cat >>confdefs.h <<_ACEOF
12202 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12203 _ACEOF
12205 CURSES_LIBS="-lcurses"
12208 ac_save_LIBS="$LIBS"
12209 LIBS="$LIBS $CURSES_LIBS"
12210 for ac_func in mousemask
12211 do :
12212 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
12213 if test "x$ac_cv_func_mousemask" = xyes; then :
12214 cat >>confdefs.h <<_ACEOF
12215 #define HAVE_MOUSEMASK 1
12216 _ACEOF
12219 done
12221 LIBS="$ac_save_LIBS"
12222 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
12223 case "x$with_curses" in
12224 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
12225 xno) ;;
12226 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
12227 This is an error since --with-curses was requested." "$LINENO" 5 ;;
12228 esac
12232 if test "x$with_sane" != "xno"
12233 then
12234 if ${SANE_CFLAGS:+false} :; then :
12235 if ${PKG_CONFIG+:} false; then :
12236 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
12239 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
12240 if ${SANE_LIBS:+false} :; then :
12241 if ${PKG_CONFIG+:} false; then :
12242 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
12245 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
12247 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
12248 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
12249 ac_save_CPPFLAGS=$CPPFLAGS
12250 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
12251 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
12252 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
12253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
12254 $as_echo_n "checking for -lsane... " >&6; }
12255 if ${ac_cv_lib_soname_sane+:} false; then :
12256 $as_echo_n "(cached) " >&6
12257 else
12258 ac_check_soname_save_LIBS=$LIBS
12259 LIBS="-lsane $SANE_LIBS $LIBS"
12260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12261 /* end confdefs.h. */
12263 /* Override any GCC internal prototype to avoid an error.
12264 Use char because int might match the return type of a GCC
12265 builtin and then its argument prototype would still apply. */
12266 #ifdef __cplusplus
12267 extern "C"
12268 #endif
12269 char sane_init ();
12271 main ()
12273 return sane_init ();
12275 return 0;
12277 _ACEOF
12278 if ac_fn_c_try_link "$LINENO"; then :
12279 case "$LIBEXT" in
12280 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12281 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'` ;;
12282 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12283 if ${ac_cv_lib_soname_sane:+false} :; then :
12284 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12285 fi ;;
12286 esac
12288 rm -f core conftest.err conftest.$ac_objext \
12289 conftest$ac_exeext conftest.$ac_ext
12290 LIBS=$ac_check_soname_save_LIBS
12292 if ${ac_cv_lib_soname_sane:+false} :; then :
12293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12294 $as_echo "not found" >&6; }
12295 SANE_CFLAGS=""
12296 else
12297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12298 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12300 cat >>confdefs.h <<_ACEOF
12301 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12302 _ACEOF
12306 else
12307 SANE_CFLAGS=""
12311 CPPFLAGS=$ac_save_CPPFLAGS
12312 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12313 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12316 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12317 case "x$with_sane" in
12318 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12319 xno) ;;
12320 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12321 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12322 esac
12326 if test "x$with_v4l" != "xno"
12327 then
12328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12329 $as_echo_n "checking for -lv4l1... " >&6; }
12330 if ${ac_cv_lib_soname_v4l1+:} false; then :
12331 $as_echo_n "(cached) " >&6
12332 else
12333 ac_check_soname_save_LIBS=$LIBS
12334 LIBS="-lv4l1 $LIBS"
12335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12336 /* end confdefs.h. */
12338 /* Override any GCC internal prototype to avoid an error.
12339 Use char because int might match the return type of a GCC
12340 builtin and then its argument prototype would still apply. */
12341 #ifdef __cplusplus
12342 extern "C"
12343 #endif
12344 char v4l1_open ();
12346 main ()
12348 return v4l1_open ();
12350 return 0;
12352 _ACEOF
12353 if ac_fn_c_try_link "$LINENO"; then :
12354 case "$LIBEXT" in
12355 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12356 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'` ;;
12357 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12358 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12359 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12360 fi ;;
12361 esac
12363 rm -f core conftest.err conftest.$ac_objext \
12364 conftest$ac_exeext conftest.$ac_ext
12365 LIBS=$ac_check_soname_save_LIBS
12367 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12369 $as_echo "not found" >&6; }
12371 else
12372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12373 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12375 cat >>confdefs.h <<_ACEOF
12376 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12377 _ACEOF
12382 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12383 case "x$with_v4l" in
12384 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12385 xno) ;;
12386 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12387 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12388 esac
12392 if test "x$with_gphoto" != "xno"
12393 then
12394 if ${GPHOTO2_CFLAGS:+false} :; then :
12395 if ${PKG_CONFIG+:} false; then :
12396 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12399 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12400 if ${GPHOTO2_LIBS:+false} :; then :
12401 if ${PKG_CONFIG+:} false; then :
12402 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12405 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12406 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12407 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12408 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12409 ac_save_CPPFLAGS=$CPPFLAGS
12410 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12411 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12412 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12414 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12415 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12416 $as_echo_n "(cached) " >&6
12417 else
12418 ac_check_lib_save_LIBS=$LIBS
12419 LIBS="-lgphoto2 $GPHOTO2_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_camera_new ();
12431 main ()
12433 return gp_camera_new ();
12435 return 0;
12437 _ACEOF
12438 if ac_fn_c_try_link "$LINENO"; then :
12439 ac_cv_lib_gphoto2_gp_camera_new=yes
12440 else
12441 ac_cv_lib_gphoto2_gp_camera_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_gp_camera_new" >&5
12448 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12449 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12451 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12453 else
12454 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12457 else
12458 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12462 CPPFLAGS=$ac_save_CPPFLAGS
12463 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12464 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12466 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12467 if ${PKG_CONFIG+:} false; then :
12468 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12471 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12472 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12473 if ${PKG_CONFIG+:} false; then :
12474 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12477 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12478 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12479 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12480 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12481 ac_save_CPPFLAGS=$CPPFLAGS
12482 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12483 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12484 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12486 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12487 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12488 $as_echo_n "(cached) " >&6
12489 else
12490 ac_check_lib_save_LIBS=$LIBS
12491 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12493 /* end confdefs.h. */
12495 /* Override any GCC internal prototype to avoid an error.
12496 Use char because int might match the return type of a GCC
12497 builtin and then its argument prototype would still apply. */
12498 #ifdef __cplusplus
12499 extern "C"
12500 #endif
12501 char gp_port_info_list_new ();
12503 main ()
12505 return gp_port_info_list_new ();
12507 return 0;
12509 _ACEOF
12510 if ac_fn_c_try_link "$LINENO"; then :
12511 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12512 else
12513 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12515 rm -f core conftest.err conftest.$ac_objext \
12516 conftest$ac_exeext conftest.$ac_ext
12517 LIBS=$ac_check_lib_save_LIBS
12519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12520 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12521 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12523 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12525 else
12526 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12529 else
12530 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12534 CPPFLAGS=$ac_save_CPPFLAGS
12535 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12536 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12539 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12540 case "x$with_gphoto" in
12541 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12542 xno) ;;
12543 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12544 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12545 esac
12548 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12549 case "x$with_gphoto" in
12550 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12551 xno) ;;
12552 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12553 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12554 esac
12559 if test "$ac_cv_header_resolv_h" = "yes"
12560 then
12561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12562 $as_echo_n "checking for resolver library... " >&6; }
12563 if ${ac_cv_have_resolv+:} false; then :
12564 $as_echo_n "(cached) " >&6
12565 else
12566 ac_save_LIBS="$LIBS"
12567 for lib in '' -lresolv
12569 LIBS="$lib $ac_save_LIBS"
12570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12571 /* end confdefs.h. */
12572 #ifdef HAVE_NETINET_IN_H
12573 #include <netinet/in.h>
12574 #endif
12575 #include <resolv.h>
12577 main ()
12579 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12581 return 0;
12583 _ACEOF
12584 if ac_fn_c_try_link "$LINENO"; then :
12585 ac_cv_have_resolv=${lib:-"none required"}
12586 else
12587 ac_cv_have_resolv="not found"
12589 rm -f core conftest.err conftest.$ac_objext \
12590 conftest$ac_exeext conftest.$ac_ext
12591 test "x$ac_cv_have_resolv" = "xnot found" || break
12592 done
12593 LIBS="$ac_save_LIBS"
12595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12596 $as_echo "$ac_cv_have_resolv" >&6; }
12598 case "$ac_cv_have_resolv" in
12599 "not found") ;;
12600 "none required")
12602 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12605 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12607 RESOLV_LIBS=$ac_cv_have_resolv
12609 esac
12612 if test "x$with_cms" != "xno"
12613 then
12614 if ${LCMS2_CFLAGS:+false} :; then :
12615 if ${PKG_CONFIG+:} false; then :
12616 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12620 if ${LCMS2_LIBS:+false} :; then :
12621 if ${PKG_CONFIG+:} false; then :
12622 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12626 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12627 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12628 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12629 ac_save_CPPFLAGS=$CPPFLAGS
12630 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12631 for ac_header in lcms2.h
12632 do :
12633 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12634 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12635 cat >>confdefs.h <<_ACEOF
12636 #define HAVE_LCMS2_H 1
12637 _ACEOF
12641 done
12643 if test "$ac_cv_header_lcms2_h" = "yes"
12644 then
12645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12646 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12647 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12648 $as_echo_n "(cached) " >&6
12649 else
12650 ac_check_lib_save_LIBS=$LIBS
12651 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12653 /* end confdefs.h. */
12655 /* Override any GCC internal prototype to avoid an error.
12656 Use char because int might match the return type of a GCC
12657 builtin and then its argument prototype would still apply. */
12658 #ifdef __cplusplus
12659 extern "C"
12660 #endif
12661 char cmsOpenProfileFromFile ();
12663 main ()
12665 return cmsOpenProfileFromFile ();
12667 return 0;
12669 _ACEOF
12670 if ac_fn_c_try_link "$LINENO"; then :
12671 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12672 else
12673 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12675 rm -f core conftest.err conftest.$ac_objext \
12676 conftest$ac_exeext conftest.$ac_ext
12677 LIBS=$ac_check_lib_save_LIBS
12679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12680 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12681 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12683 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12685 else
12686 LCMS2_LIBS=""
12689 else
12690 LCMS2_CFLAGS=""
12691 LCMS2_LIBS=""
12693 CPPFLAGS=$ac_save_CPPFLAGS
12694 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12695 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12698 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12699 case "x$with_cms" in
12700 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12701 xno) ;;
12702 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12703 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12704 esac
12708 if test "x$with_freetype" != "xno"
12709 then
12710 if ${FREETYPE_CFLAGS:+false} :; then :
12711 if ${PKG_CONFIG+:} false; then :
12712 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12715 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12716 if ${FREETYPE_LIBS:+false} :; then :
12717 if ${PKG_CONFIG+:} false; then :
12718 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12721 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12722 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12723 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12724 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12725 ac_save_CPPFLAGS=$CPPFLAGS
12726 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12727 for ac_header in ft2build.h
12728 do :
12729 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12730 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12731 cat >>confdefs.h <<_ACEOF
12732 #define HAVE_FT2BUILD_H 1
12733 _ACEOF
12737 done
12739 if test "$ac_cv_header_ft2build_h" = "yes"
12740 then
12741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12742 $as_echo_n "checking for -lfreetype... " >&6; }
12743 if ${ac_cv_lib_soname_freetype+:} false; then :
12744 $as_echo_n "(cached) " >&6
12745 else
12746 ac_check_soname_save_LIBS=$LIBS
12747 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12749 /* end confdefs.h. */
12751 /* Override any GCC internal prototype to avoid an error.
12752 Use char because int might match the return type of a GCC
12753 builtin and then its argument prototype would still apply. */
12754 #ifdef __cplusplus
12755 extern "C"
12756 #endif
12757 char FT_Init_FreeType ();
12759 main ()
12761 return FT_Init_FreeType ();
12763 return 0;
12765 _ACEOF
12766 if ac_fn_c_try_link "$LINENO"; then :
12767 case "$LIBEXT" in
12768 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12769 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'` ;;
12770 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12771 if ${ac_cv_lib_soname_freetype:+false} :; then :
12772 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12773 fi ;;
12774 esac
12776 rm -f core conftest.err conftest.$ac_objext \
12777 conftest$ac_exeext conftest.$ac_ext
12778 LIBS=$ac_check_soname_save_LIBS
12780 if ${ac_cv_lib_soname_freetype:+false} :; then :
12781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12782 $as_echo "not found" >&6; }
12783 FREETYPE_LIBS=""
12784 else
12785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12786 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12788 cat >>confdefs.h <<_ACEOF
12789 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12790 _ACEOF
12793 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12795 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12796 #include FT_MODULE_H
12798 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12800 cat >>confdefs.h <<_ACEOF
12801 #define HAVE_FT_TRUETYPEENGINETYPE 1
12802 _ACEOF
12808 else
12809 FREETYPE_CFLAGS=""
12810 FREETYPE_LIBS=""
12812 CPPFLAGS=$ac_save_CPPFLAGS
12813 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12814 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12817 if test "x$ac_cv_lib_soname_freetype" = x; then :
12818 case "x$with_freetype" in
12819 xno) ;;
12820 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12821 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12822 esac
12823 enable_fonts=${enable_fonts:-no}
12826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12827 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12828 if ${ac_cv_c_ppdev+:} false; then :
12829 $as_echo_n "(cached) " >&6
12830 else
12831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12832 /* end confdefs.h. */
12833 #ifdef HAVE_SYS_IOCTL_H
12834 # include <sys/ioctl.h>
12835 #endif
12836 #include <linux/ppdev.h>
12838 main ()
12840 ioctl (1,PPCLAIM,0)
12842 return 0;
12844 _ACEOF
12845 if ac_fn_c_try_compile "$LINENO"; then :
12846 ac_cv_c_ppdev="yes"
12847 else
12848 ac_cv_c_ppdev="no"
12850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12853 $as_echo "$ac_cv_c_ppdev" >&6; }
12854 if test "$ac_cv_c_ppdev" = "yes"
12855 then
12857 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12861 ac_wine_check_funcs_save_LIBS="$LIBS"
12862 LIBS="$LIBS $PTHREAD_LIBS"
12863 for ac_func in \
12864 pthread_attr_get_np \
12865 pthread_getattr_np \
12866 pthread_getthreadid_np \
12867 pthread_get_stackaddr_np \
12868 pthread_get_stacksize_np
12869 do :
12870 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12871 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12872 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12873 cat >>confdefs.h <<_ACEOF
12874 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12875 _ACEOF
12878 done
12880 LIBS="$ac_wine_check_funcs_save_LIBS"
12882 if test "$ac_cv_header_zlib_h" = "yes"
12883 then
12884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12885 $as_echo_n "checking for inflate in -lz... " >&6; }
12886 if ${ac_cv_lib_z_inflate+:} false; then :
12887 $as_echo_n "(cached) " >&6
12888 else
12889 ac_check_lib_save_LIBS=$LIBS
12890 LIBS="-lz $LIBS"
12891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12892 /* end confdefs.h. */
12894 /* Override any GCC internal prototype to avoid an error.
12895 Use char because int might match the return type of a GCC
12896 builtin and then its argument prototype would still apply. */
12897 #ifdef __cplusplus
12898 extern "C"
12899 #endif
12900 char inflate ();
12902 main ()
12904 return inflate ();
12906 return 0;
12908 _ACEOF
12909 if ac_fn_c_try_link "$LINENO"; then :
12910 ac_cv_lib_z_inflate=yes
12911 else
12912 ac_cv_lib_z_inflate=no
12914 rm -f core conftest.err conftest.$ac_objext \
12915 conftest$ac_exeext conftest.$ac_ext
12916 LIBS=$ac_check_lib_save_LIBS
12918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12919 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12920 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12922 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12924 Z_LIBS="-lz"
12929 if test "x$Z_LIBS" = "x"; then :
12930 case "x$with_zlib" in
12931 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12932 xno) ;;
12933 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12934 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12935 esac
12939 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12940 then
12941 if test "$ac_cv_header_gettext_po_h" = "yes"
12942 then
12943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12944 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12945 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12946 $as_echo_n "(cached) " >&6
12947 else
12948 ac_check_lib_save_LIBS=$LIBS
12949 LIBS="-lgettextpo $LIBS"
12950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12951 /* end confdefs.h. */
12953 /* Override any GCC internal prototype to avoid an error.
12954 Use char because int might match the return type of a GCC
12955 builtin and then its argument prototype would still apply. */
12956 #ifdef __cplusplus
12957 extern "C"
12958 #endif
12959 char po_message_msgctxt ();
12961 main ()
12963 return po_message_msgctxt ();
12965 return 0;
12967 _ACEOF
12968 if ac_fn_c_try_link "$LINENO"; then :
12969 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12970 else
12971 ac_cv_lib_gettextpo_po_message_msgctxt=no
12973 rm -f core conftest.err conftest.$ac_objext \
12974 conftest$ac_exeext conftest.$ac_ext
12975 LIBS=$ac_check_lib_save_LIBS
12977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12978 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12979 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12981 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12983 GETTEXTPO_LIBS="-lgettextpo"
12988 if test "x$GETTEXTPO_LIBS" = "x"; then :
12989 case "x$with_gettextpo" in
12990 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12991 xno) ;;
12992 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12993 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12994 esac
12997 if test "$srcdir" != .; then :
12998 case "x$with_gettextpo" in
12999 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
13000 xno) ;;
13001 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
13002 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
13003 esac
13008 if test "x$with_pulse" != "xno";
13009 then
13010 if ${PULSE_CFLAGS:+false} :; then :
13011 if ${PKG_CONFIG+:} false; then :
13012 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
13016 if ${PULSE_LIBS:+false} :; then :
13017 if ${PKG_CONFIG+:} false; then :
13018 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
13023 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
13024 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
13025 ac_save_CPPFLAGS=$CPPFLAGS
13026 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
13027 for ac_header in pulse/pulseaudio.h
13028 do :
13029 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
13030 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
13031 cat >>confdefs.h <<_ACEOF
13032 #define HAVE_PULSE_PULSEAUDIO_H 1
13033 _ACEOF
13034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
13035 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
13036 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
13037 $as_echo_n "(cached) " >&6
13038 else
13039 ac_check_lib_save_LIBS=$LIBS
13040 LIBS="-lpulse $PULSE_LIBS $LIBS"
13041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13042 /* end confdefs.h. */
13044 /* Override any GCC internal prototype to avoid an error.
13045 Use char because int might match the return type of a GCC
13046 builtin and then its argument prototype would still apply. */
13047 #ifdef __cplusplus
13048 extern "C"
13049 #endif
13050 char pa_stream_is_corked ();
13052 main ()
13054 return pa_stream_is_corked ();
13056 return 0;
13058 _ACEOF
13059 if ac_fn_c_try_link "$LINENO"; then :
13060 ac_cv_lib_pulse_pa_stream_is_corked=yes
13061 else
13062 ac_cv_lib_pulse_pa_stream_is_corked=no
13064 rm -f core conftest.err conftest.$ac_objext \
13065 conftest$ac_exeext conftest.$ac_ext
13066 LIBS=$ac_check_lib_save_LIBS
13068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
13069 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
13070 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
13072 else
13073 PULSE_LIBS=""
13076 else
13077 PULSE_LIBS=""
13080 done
13082 CPPFLAGS=$ac_save_CPPFLAGS
13083 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13084 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13087 if test -z "$PULSE_LIBS"; then :
13088 case "x$with_pulse" in
13089 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
13090 xno) ;;
13091 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
13092 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
13093 esac
13094 enable_winepulse_drv=${enable_winepulse_drv:-no}
13097 if test "x$with_gstreamer" != "xno"
13098 then
13099 if ${GSTREAMER_CFLAGS:+false} :; then :
13100 if ${PKG_CONFIG+:} false; then :
13101 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13105 if ${GSTREAMER_LIBS:+false} :; then :
13106 if ${PKG_CONFIG+:} false; then :
13107 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13112 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
13113 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
13114 ac_save_CPPFLAGS=$CPPFLAGS
13115 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
13116 ac_gst_incl=""
13117 for i in $GSTREAMER_CFLAGS
13119 case "$i" in
13120 -I*) ac_gst_incl="$ac_gst_incl $i";;
13121 esac
13122 done
13123 GSTREAMER_CFLAGS=$ac_gst_incl
13124 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
13125 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
13126 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
13127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
13128 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
13129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13130 /* end confdefs.h. */
13131 #include <gst/gst.h>
13133 main ()
13135 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
13137 return 0;
13139 _ACEOF
13140 if ac_fn_c_try_compile "$LINENO"; then :
13141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13142 $as_echo "yes" >&6; }
13143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
13144 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
13145 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
13146 $as_echo_n "(cached) " >&6
13147 else
13148 ac_check_lib_save_LIBS=$LIBS
13149 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
13150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13151 /* end confdefs.h. */
13153 /* Override any GCC internal prototype to avoid an error.
13154 Use char because int might match the return type of a GCC
13155 builtin and then its argument prototype would still apply. */
13156 #ifdef __cplusplus
13157 extern "C"
13158 #endif
13159 char gst_pad_new ();
13161 main ()
13163 return gst_pad_new ();
13165 return 0;
13167 _ACEOF
13168 if ac_fn_c_try_link "$LINENO"; then :
13169 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
13170 else
13171 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
13173 rm -f core conftest.err conftest.$ac_objext \
13174 conftest$ac_exeext conftest.$ac_ext
13175 LIBS=$ac_check_lib_save_LIBS
13177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
13178 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
13179 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
13183 else
13184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13185 $as_echo "no" >&6; }
13186 ac_glib2_broken=yes
13187 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
13189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13193 CPPFLAGS=$ac_save_CPPFLAGS
13194 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13195 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13198 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 :
13199 case "x$with_gstreamer" in
13200 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
13201 xno) ;;
13202 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
13203 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
13204 esac
13207 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
13209 ALSA_LIBS=""
13211 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13212 then
13213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
13214 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
13215 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
13216 $as_echo_n "(cached) " >&6
13217 else
13218 ac_check_lib_save_LIBS=$LIBS
13219 LIBS="-lasound $LIBS"
13220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13221 /* end confdefs.h. */
13223 /* Override any GCC internal prototype to avoid an error.
13224 Use char because int might match the return type of a GCC
13225 builtin and then its argument prototype would still apply. */
13226 #ifdef __cplusplus
13227 extern "C"
13228 #endif
13229 char snd_pcm_hw_params_get_access_mask ();
13231 main ()
13233 return snd_pcm_hw_params_get_access_mask ();
13235 return 0;
13237 _ACEOF
13238 if ac_fn_c_try_link "$LINENO"; then :
13239 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
13240 else
13241 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
13243 rm -f core conftest.err conftest.$ac_objext \
13244 conftest$ac_exeext conftest.$ac_ext
13245 LIBS=$ac_check_lib_save_LIBS
13247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
13248 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
13249 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
13250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13251 /* end confdefs.h. */
13252 #ifdef HAVE_ALSA_ASOUNDLIB_H
13253 #include <alsa/asoundlib.h>
13254 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13255 #include <sys/asoundlib.h>
13256 #endif
13258 main ()
13260 snd_pcm_hw_params_get_access_mask(NULL, NULL)
13262 return 0;
13264 _ACEOF
13265 if ac_fn_c_try_compile "$LINENO"; then :
13266 ALSA_LIBS="-lasound"
13268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13272 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13274 if test "x$with_oss" != xno
13275 then
13276 ac_save_CPPFLAGS="$CPPFLAGS"
13277 if test -f /etc/oss.conf
13278 then
13279 . /etc/oss.conf
13281 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
13282 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
13283 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13284 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
13285 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13287 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
13289 cat >>confdefs.h <<_ACEOF
13290 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13291 _ACEOF
13293 OSS4_CFLAGS="$ac_oss_incl"
13300 CPPFLAGS="$ac_save_CPPFLAGS"
13302 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13303 case "x$with_oss" in
13304 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13305 xno) ;;
13306 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13307 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13308 esac
13309 enable_wineoss_drv=${enable_wineoss_drv:-no}
13312 if test "x$with_udev" != "xno"
13313 then
13314 if ${UDEV_CFLAGS:+false} :; then :
13315 if ${PKG_CONFIG+:} false; then :
13316 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13320 if ${UDEV_LIBS:+false} :; then :
13321 if ${PKG_CONFIG+:} false; then :
13322 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13326 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13327 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13328 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13329 ac_save_CPPFLAGS=$CPPFLAGS
13330 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13331 for ac_header in libudev.h
13332 do :
13333 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13334 if test "x$ac_cv_header_libudev_h" = xyes; then :
13335 cat >>confdefs.h <<_ACEOF
13336 #define HAVE_LIBUDEV_H 1
13337 _ACEOF
13338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13339 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13340 if ${ac_cv_lib_udev_udev_new+:} false; then :
13341 $as_echo_n "(cached) " >&6
13342 else
13343 ac_check_lib_save_LIBS=$LIBS
13344 LIBS="-ludev $UDEV_LIBS $LIBS"
13345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13346 /* end confdefs.h. */
13348 /* Override any GCC internal prototype to avoid an error.
13349 Use char because int might match the return type of a GCC
13350 builtin and then its argument prototype would still apply. */
13351 #ifdef __cplusplus
13352 extern "C"
13353 #endif
13354 char udev_new ();
13356 main ()
13358 return udev_new ();
13360 return 0;
13362 _ACEOF
13363 if ac_fn_c_try_link "$LINENO"; then :
13364 ac_cv_lib_udev_udev_new=yes
13365 else
13366 ac_cv_lib_udev_udev_new=no
13368 rm -f core conftest.err conftest.$ac_objext \
13369 conftest$ac_exeext conftest.$ac_ext
13370 LIBS=$ac_check_lib_save_LIBS
13372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13373 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13374 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13376 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13378 else
13379 UDEV_LIBS=""
13382 else
13383 UDEV_LIBS=""
13386 done
13388 CPPFLAGS=$ac_save_CPPFLAGS
13389 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13390 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13393 if test "x$UDEV_LIBS" = "x"; then :
13394 case "x$with_udev" in
13395 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13396 xno) ;;
13397 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13398 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13399 esac
13403 if test "x$with_capi" != "xno"
13404 then
13405 if ${CAPI20_CFLAGS:+false} :; then :
13406 if ${PKG_CONFIG+:} false; then :
13407 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13411 if ${CAPI20_LIBS:+false} :; then :
13412 if ${PKG_CONFIG+:} false; then :
13413 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13418 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13419 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13420 ac_save_CPPFLAGS=$CPPFLAGS
13421 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13422 for ac_header in capi20.h linux/capi.h
13423 do :
13424 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13425 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13427 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13428 cat >>confdefs.h <<_ACEOF
13429 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13430 _ACEOF
13434 done
13436 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13437 then
13438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13439 $as_echo_n "checking for -lcapi20... " >&6; }
13440 if ${ac_cv_lib_soname_capi20+:} false; then :
13441 $as_echo_n "(cached) " >&6
13442 else
13443 ac_check_soname_save_LIBS=$LIBS
13444 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13446 /* end confdefs.h. */
13448 /* Override any GCC internal prototype to avoid an error.
13449 Use char because int might match the return type of a GCC
13450 builtin and then its argument prototype would still apply. */
13451 #ifdef __cplusplus
13452 extern "C"
13453 #endif
13454 char capi20_register ();
13456 main ()
13458 return capi20_register ();
13460 return 0;
13462 _ACEOF
13463 if ac_fn_c_try_link "$LINENO"; then :
13464 case "$LIBEXT" in
13465 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13466 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'` ;;
13467 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13468 if ${ac_cv_lib_soname_capi20:+false} :; then :
13469 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13470 fi ;;
13471 esac
13473 rm -f core conftest.err conftest.$ac_objext \
13474 conftest$ac_exeext conftest.$ac_ext
13475 LIBS=$ac_check_soname_save_LIBS
13477 if ${ac_cv_lib_soname_capi20:+false} :; then :
13478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13479 $as_echo "not found" >&6; }
13481 else
13482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13483 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13485 cat >>confdefs.h <<_ACEOF
13486 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13487 _ACEOF
13492 CPPFLAGS=$ac_save_CPPFLAGS
13493 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13494 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13497 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13498 case "x$with_capi" in
13499 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13500 xno) ;;
13501 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13502 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13503 esac
13507 if test "x$with_cups" != "xno"
13508 then
13509 if ${CUPS_CFLAGS:+false} :; then :
13510 if ${PKG_CONFIG+:} false; then :
13511 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
13514 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
13515 if ${CUPS_LIBS:+false} :; then :
13516 if ${PKG_CONFIG+:} false; then :
13517 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
13520 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
13521 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
13522 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
13523 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
13524 ac_save_CPPFLAGS=$CPPFLAGS
13525 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
13526 for ac_header in cups/cups.h cups/ppd.h
13527 do :
13528 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13529 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13530 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13531 cat >>confdefs.h <<_ACEOF
13532 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13533 _ACEOF
13537 done
13539 if test "$ac_cv_header_cups_cups_h" = "yes"
13540 then
13541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13542 $as_echo_n "checking for -lcups... " >&6; }
13543 if ${ac_cv_lib_soname_cups+:} false; then :
13544 $as_echo_n "(cached) " >&6
13545 else
13546 ac_check_soname_save_LIBS=$LIBS
13547 LIBS="-lcups $CUPS_LIBS $LIBS"
13548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13549 /* end confdefs.h. */
13551 /* Override any GCC internal prototype to avoid an error.
13552 Use char because int might match the return type of a GCC
13553 builtin and then its argument prototype would still apply. */
13554 #ifdef __cplusplus
13555 extern "C"
13556 #endif
13557 char cupsGetDefault ();
13559 main ()
13561 return cupsGetDefault ();
13563 return 0;
13565 _ACEOF
13566 if ac_fn_c_try_link "$LINENO"; then :
13567 case "$LIBEXT" in
13568 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13569 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'` ;;
13570 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13571 if ${ac_cv_lib_soname_cups:+false} :; then :
13572 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13573 fi ;;
13574 esac
13576 rm -f core conftest.err conftest.$ac_objext \
13577 conftest$ac_exeext conftest.$ac_ext
13578 LIBS=$ac_check_soname_save_LIBS
13580 if ${ac_cv_lib_soname_cups:+false} :; then :
13581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13582 $as_echo "not found" >&6; }
13583 CUPS_LIBS=""
13584 else
13585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13586 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13588 cat >>confdefs.h <<_ACEOF
13589 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13590 _ACEOF
13594 else
13595 CUPS_CFLAGS=""
13596 CUPS_LIBS=""
13598 CPPFLAGS=$ac_save_CPPFLAGS
13599 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13600 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13603 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13604 case "x$with_cups" in
13605 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13606 xno) ;;
13607 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13608 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13609 esac
13613 if test "x$with_fontconfig" != "xno"
13614 then
13615 if ${FONTCONFIG_CFLAGS:+false} :; then :
13616 if ${PKG_CONFIG+:} false; then :
13617 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13620 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13621 if ${FONTCONFIG_LIBS:+false} :; then :
13622 if ${PKG_CONFIG+:} false; then :
13623 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13626 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13628 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13629 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13630 ac_save_CPPFLAGS=$CPPFLAGS
13631 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13632 for ac_header in fontconfig/fontconfig.h
13633 do :
13634 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13635 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13636 cat >>confdefs.h <<_ACEOF
13637 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13638 _ACEOF
13642 done
13644 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13645 then
13646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13647 $as_echo_n "checking for -lfontconfig... " >&6; }
13648 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13649 $as_echo_n "(cached) " >&6
13650 else
13651 ac_check_soname_save_LIBS=$LIBS
13652 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13654 /* end confdefs.h. */
13656 /* Override any GCC internal prototype to avoid an error.
13657 Use char because int might match the return type of a GCC
13658 builtin and then its argument prototype would still apply. */
13659 #ifdef __cplusplus
13660 extern "C"
13661 #endif
13662 char FcInit ();
13664 main ()
13666 return FcInit ();
13668 return 0;
13670 _ACEOF
13671 if ac_fn_c_try_link "$LINENO"; then :
13672 case "$LIBEXT" in
13673 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13674 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'` ;;
13675 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13676 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13677 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13678 fi ;;
13679 esac
13681 rm -f core conftest.err conftest.$ac_objext \
13682 conftest$ac_exeext conftest.$ac_ext
13683 LIBS=$ac_check_soname_save_LIBS
13685 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13687 $as_echo "not found" >&6; }
13688 FONTCONFIG_CFLAGS=""
13689 else
13690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13691 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13693 cat >>confdefs.h <<_ACEOF
13694 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13695 _ACEOF
13699 else
13700 FONTCONFIG_CFLAGS=""
13702 CPPFLAGS=$ac_save_CPPFLAGS
13703 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13704 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13707 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13708 case "x$with_fontconfig" in
13709 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13710 xno) ;;
13711 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13712 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13713 esac
13717 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13718 then
13719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13720 $as_echo_n "checking for -lgsm... " >&6; }
13721 if ${ac_cv_lib_soname_gsm+:} false; then :
13722 $as_echo_n "(cached) " >&6
13723 else
13724 ac_check_soname_save_LIBS=$LIBS
13725 LIBS="-lgsm $LIBS"
13726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13727 /* end confdefs.h. */
13729 /* Override any GCC internal prototype to avoid an error.
13730 Use char because int might match the return type of a GCC
13731 builtin and then its argument prototype would still apply. */
13732 #ifdef __cplusplus
13733 extern "C"
13734 #endif
13735 char gsm_create ();
13737 main ()
13739 return gsm_create ();
13741 return 0;
13743 _ACEOF
13744 if ac_fn_c_try_link "$LINENO"; then :
13745 case "$LIBEXT" in
13746 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13747 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'` ;;
13748 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13749 if ${ac_cv_lib_soname_gsm:+false} :; then :
13750 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13751 fi ;;
13752 esac
13754 rm -f core conftest.err conftest.$ac_objext \
13755 conftest$ac_exeext conftest.$ac_ext
13756 LIBS=$ac_check_soname_save_LIBS
13758 if ${ac_cv_lib_soname_gsm:+false} :; then :
13759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13760 $as_echo "not found" >&6; }
13762 else
13763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13764 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13766 cat >>confdefs.h <<_ACEOF
13767 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13768 _ACEOF
13773 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13774 case "x$with_gsm" in
13775 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13776 xno) ;;
13777 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13778 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13779 esac
13783 if test "x$with_krb5" != "xno"
13784 then
13785 if ${KRB5_CFLAGS:+false} :; then :
13786 if ${PKG_CONFIG+:} false; then :
13787 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
13790 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
13791 if ${KRB5_LIBS:+false} :; then :
13792 if ${PKG_CONFIG+:} false; then :
13793 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
13796 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
13798 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
13799 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
13800 ac_save_CPPFLAGS=$CPPFLAGS
13801 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
13802 for ac_header in krb5/krb5.h
13803 do :
13804 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
13805 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
13806 cat >>confdefs.h <<_ACEOF
13807 #define HAVE_KRB5_KRB5_H 1
13808 _ACEOF
13812 done
13814 if test "$ac_cv_header_krb5_krb5_h" = "yes"
13815 then
13816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
13817 $as_echo_n "checking for -lkrb5... " >&6; }
13818 if ${ac_cv_lib_soname_krb5+:} false; then :
13819 $as_echo_n "(cached) " >&6
13820 else
13821 ac_check_soname_save_LIBS=$LIBS
13822 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
13823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13824 /* end confdefs.h. */
13826 /* Override any GCC internal prototype to avoid an error.
13827 Use char because int might match the return type of a GCC
13828 builtin and then its argument prototype would still apply. */
13829 #ifdef __cplusplus
13830 extern "C"
13831 #endif
13832 char krb5_init_context ();
13834 main ()
13836 return krb5_init_context ();
13838 return 0;
13840 _ACEOF
13841 if ac_fn_c_try_link "$LINENO"; then :
13842 case "$LIBEXT" in
13843 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13844 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'` ;;
13845 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13846 if ${ac_cv_lib_soname_krb5:+false} :; then :
13847 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13848 fi ;;
13849 esac
13851 rm -f core conftest.err conftest.$ac_objext \
13852 conftest$ac_exeext conftest.$ac_ext
13853 LIBS=$ac_check_soname_save_LIBS
13855 if ${ac_cv_lib_soname_krb5:+false} :; then :
13856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13857 $as_echo "not found" >&6; }
13858 KRB5_CFLAGS=""
13859 else
13860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
13861 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
13863 cat >>confdefs.h <<_ACEOF
13864 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
13865 _ACEOF
13869 else
13870 KRB5_CFLAGS=""
13872 CPPFLAGS=$ac_save_CPPFLAGS
13873 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13874 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13877 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
13878 case "x$with_krb5" in
13879 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found, Kerberos won't be supported." ;;
13880 xno) ;;
13881 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found, Kerberos won't be supported.
13882 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
13883 esac
13887 if test "x$with_gssapi" != "xno"
13888 then
13889 if ${GSSAPI_CFLAGS:+false} :; then :
13890 if ${PKG_CONFIG+:} false; then :
13891 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
13894 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
13895 if ${GSSAPI_LIBS:+false} :; then :
13896 if ${PKG_CONFIG+:} false; then :
13897 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
13900 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
13902 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
13903 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
13904 ac_save_CPPFLAGS=$CPPFLAGS
13905 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
13906 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
13907 do :
13908 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13909 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13910 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13911 cat >>confdefs.h <<_ACEOF
13912 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13913 _ACEOF
13917 done
13919 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
13920 then
13921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
13922 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
13923 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
13924 $as_echo_n "(cached) " >&6
13925 else
13926 ac_check_soname_save_LIBS=$LIBS
13927 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
13928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13929 /* end confdefs.h. */
13931 /* Override any GCC internal prototype to avoid an error.
13932 Use char because int might match the return type of a GCC
13933 builtin and then its argument prototype would still apply. */
13934 #ifdef __cplusplus
13935 extern "C"
13936 #endif
13937 char gss_init_sec_context ();
13939 main ()
13941 return gss_init_sec_context ();
13943 return 0;
13945 _ACEOF
13946 if ac_fn_c_try_link "$LINENO"; then :
13947 case "$LIBEXT" in
13948 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13949 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'` ;;
13950 *) 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'`
13951 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
13952 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13953 fi ;;
13954 esac
13956 rm -f core conftest.err conftest.$ac_objext \
13957 conftest$ac_exeext conftest.$ac_ext
13958 LIBS=$ac_check_soname_save_LIBS
13960 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
13961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13962 $as_echo "not found" >&6; }
13963 GSSAPI_CFLAGS=""
13964 else
13965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
13966 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
13968 cat >>confdefs.h <<_ACEOF
13969 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
13970 _ACEOF
13974 else
13975 GSSAPI_CFLAGS=""
13977 CPPFLAGS=$ac_save_CPPFLAGS
13978 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13979 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13982 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
13983 case "x$with_gssapi" in
13984 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
13985 xno) ;;
13986 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
13987 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
13988 esac
13992 if test "x$with_jpeg" != "xno"
13993 then
13994 if ${JPEG_CFLAGS:+false} :; then :
13995 if ${PKG_CONFIG+:} false; then :
13996 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
14000 if ${JPEG_LIBS:+false} :; then :
14001 if ${PKG_CONFIG+:} false; then :
14002 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
14007 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
14008 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
14009 ac_save_CPPFLAGS=$CPPFLAGS
14010 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
14011 for ac_header in jpeglib.h
14012 do :
14013 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
14014 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
14015 cat >>confdefs.h <<_ACEOF
14016 #define HAVE_JPEGLIB_H 1
14017 _ACEOF
14021 done
14023 if test "$ac_cv_header_jpeglib_h" = "yes"
14024 then
14025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
14026 $as_echo_n "checking for -ljpeg... " >&6; }
14027 if ${ac_cv_lib_soname_jpeg+:} false; then :
14028 $as_echo_n "(cached) " >&6
14029 else
14030 ac_check_soname_save_LIBS=$LIBS
14031 LIBS="-ljpeg $JPEG_LIBS $LIBS"
14032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14033 /* end confdefs.h. */
14035 /* Override any GCC internal prototype to avoid an error.
14036 Use char because int might match the return type of a GCC
14037 builtin and then its argument prototype would still apply. */
14038 #ifdef __cplusplus
14039 extern "C"
14040 #endif
14041 char jpeg_start_decompress ();
14043 main ()
14045 return jpeg_start_decompress ();
14047 return 0;
14049 _ACEOF
14050 if ac_fn_c_try_link "$LINENO"; then :
14051 case "$LIBEXT" in
14052 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14053 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'` ;;
14054 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14055 if ${ac_cv_lib_soname_jpeg:+false} :; then :
14056 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14057 fi ;;
14058 esac
14060 rm -f core conftest.err conftest.$ac_objext \
14061 conftest$ac_exeext conftest.$ac_ext
14062 LIBS=$ac_check_soname_save_LIBS
14064 if ${ac_cv_lib_soname_jpeg:+false} :; then :
14065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14066 $as_echo "not found" >&6; }
14067 JPEG_CFLAGS=""
14068 else
14069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
14070 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
14072 cat >>confdefs.h <<_ACEOF
14073 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
14074 _ACEOF
14078 else
14079 JPEG_CFLAGS=""
14081 CPPFLAGS=$ac_save_CPPFLAGS
14082 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14083 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14086 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
14087 case "x$with_jpeg" in
14088 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
14089 xno) ;;
14090 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
14091 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
14092 esac
14096 if test "x$with_png" != "xno"
14097 then
14098 if ${PNG_CFLAGS:+false} :; then :
14099 if ${PKG_CONFIG+:} false; then :
14100 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
14103 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
14104 if ${PNG_LIBS:+false} :; then :
14105 if ${PKG_CONFIG+:} false; then :
14106 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
14109 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
14111 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
14112 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
14113 ac_save_CPPFLAGS=$CPPFLAGS
14114 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
14115 for ac_header in png.h
14116 do :
14117 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
14118 if test "x$ac_cv_header_png_h" = xyes; then :
14119 cat >>confdefs.h <<_ACEOF
14120 #define HAVE_PNG_H 1
14121 _ACEOF
14125 done
14127 if test "$ac_cv_header_png_h" = "yes"
14128 then
14129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
14130 $as_echo_n "checking for -lpng... " >&6; }
14131 if ${ac_cv_lib_soname_png+:} false; then :
14132 $as_echo_n "(cached) " >&6
14133 else
14134 ac_check_soname_save_LIBS=$LIBS
14135 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
14136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14137 /* end confdefs.h. */
14139 /* Override any GCC internal prototype to avoid an error.
14140 Use char because int might match the return type of a GCC
14141 builtin and then its argument prototype would still apply. */
14142 #ifdef __cplusplus
14143 extern "C"
14144 #endif
14145 char png_create_read_struct ();
14147 main ()
14149 return png_create_read_struct ();
14151 return 0;
14153 _ACEOF
14154 if ac_fn_c_try_link "$LINENO"; then :
14155 case "$LIBEXT" in
14156 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14157 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'` ;;
14158 *) 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'`
14159 if ${ac_cv_lib_soname_png:+false} :; then :
14160 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14161 fi ;;
14162 esac
14164 rm -f core conftest.err conftest.$ac_objext \
14165 conftest$ac_exeext conftest.$ac_ext
14166 LIBS=$ac_check_soname_save_LIBS
14168 if ${ac_cv_lib_soname_png:+false} :; then :
14169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14170 $as_echo "not found" >&6; }
14171 PNG_CFLAGS=""
14172 else
14173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
14174 $as_echo "$ac_cv_lib_soname_png" >&6; }
14176 cat >>confdefs.h <<_ACEOF
14177 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
14178 _ACEOF
14182 else
14183 PNG_CFLAGS=""
14185 CPPFLAGS=$ac_save_CPPFLAGS
14186 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14187 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14190 if test "x$ac_cv_lib_soname_png" = "x"; then :
14191 case "x$with_png" in
14192 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
14193 xno) ;;
14194 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
14195 This is an error since --with-png was requested." "$LINENO" 5 ;;
14196 esac
14200 if test "x$with_tiff" != "xno"
14201 then
14202 if ${TIFF_CFLAGS:+false} :; then :
14203 if ${PKG_CONFIG+:} false; then :
14204 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
14208 if ${TIFF_LIBS:+false} :; then :
14209 if ${PKG_CONFIG+:} false; then :
14210 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
14215 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
14216 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
14217 ac_save_CPPFLAGS=$CPPFLAGS
14218 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
14219 for ac_header in tiffio.h
14220 do :
14221 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
14222 if test "x$ac_cv_header_tiffio_h" = xyes; then :
14223 cat >>confdefs.h <<_ACEOF
14224 #define HAVE_TIFFIO_H 1
14225 _ACEOF
14229 done
14231 if test "$ac_cv_header_tiffio_h" = "yes"
14232 then
14233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
14234 $as_echo_n "checking for -ltiff... " >&6; }
14235 if ${ac_cv_lib_soname_tiff+:} false; then :
14236 $as_echo_n "(cached) " >&6
14237 else
14238 ac_check_soname_save_LIBS=$LIBS
14239 LIBS="-ltiff $TIFF_LIBS $LIBS"
14240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14241 /* end confdefs.h. */
14243 /* Override any GCC internal prototype to avoid an error.
14244 Use char because int might match the return type of a GCC
14245 builtin and then its argument prototype would still apply. */
14246 #ifdef __cplusplus
14247 extern "C"
14248 #endif
14249 char TIFFClientOpen ();
14251 main ()
14253 return TIFFClientOpen ();
14255 return 0;
14257 _ACEOF
14258 if ac_fn_c_try_link "$LINENO"; then :
14259 case "$LIBEXT" in
14260 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14261 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'` ;;
14262 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14263 if ${ac_cv_lib_soname_tiff:+false} :; then :
14264 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14265 fi ;;
14266 esac
14268 rm -f core conftest.err conftest.$ac_objext \
14269 conftest$ac_exeext conftest.$ac_ext
14270 LIBS=$ac_check_soname_save_LIBS
14272 if ${ac_cv_lib_soname_tiff:+false} :; then :
14273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14274 $as_echo "not found" >&6; }
14276 else
14277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
14278 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
14280 cat >>confdefs.h <<_ACEOF
14281 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
14282 _ACEOF
14287 CPPFLAGS=$ac_save_CPPFLAGS
14288 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14289 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14292 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
14293 case "x$with_tiff" in
14294 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
14295 xno) ;;
14296 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
14297 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14298 esac
14302 if test "x$with_mpg123" != "xno"
14303 then
14304 if ${MPG123_CFLAGS:+false} :; then :
14305 if ${PKG_CONFIG+:} false; then :
14306 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14310 if ${MPG123_LIBS:+false} :; then :
14311 if ${PKG_CONFIG+:} false; then :
14312 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14316 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
14317 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14318 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14319 ac_save_CPPFLAGS=$CPPFLAGS
14320 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
14321 for ac_header in mpg123.h
14322 do :
14323 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14324 if test "x$ac_cv_header_mpg123_h" = xyes; then :
14325 cat >>confdefs.h <<_ACEOF
14326 #define HAVE_MPG123_H 1
14327 _ACEOF
14331 done
14333 if test "$ac_cv_header_mpg123_h" = "yes"
14334 then
14335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14336 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14337 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
14338 $as_echo_n "(cached) " >&6
14339 else
14340 ac_check_lib_save_LIBS=$LIBS
14341 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
14342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14343 /* end confdefs.h. */
14345 /* Override any GCC internal prototype to avoid an error.
14346 Use char because int might match the return type of a GCC
14347 builtin and then its argument prototype would still apply. */
14348 #ifdef __cplusplus
14349 extern "C"
14350 #endif
14351 char mpg123_feed ();
14353 main ()
14355 return mpg123_feed ();
14357 return 0;
14359 _ACEOF
14360 if ac_fn_c_try_link "$LINENO"; then :
14361 ac_cv_lib_mpg123_mpg123_feed=yes
14362 else
14363 ac_cv_lib_mpg123_mpg123_feed=no
14365 rm -f core conftest.err conftest.$ac_objext \
14366 conftest$ac_exeext conftest.$ac_ext
14367 LIBS=$ac_check_lib_save_LIBS
14369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14370 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14371 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
14373 else
14374 MPG123_LIBS=""
14377 else
14378 MPG123_CFLAGS=""
14379 MPG123_LIBS=""
14381 CPPFLAGS=$ac_save_CPPFLAGS
14382 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14383 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14386 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
14387 case "x$with_mpg123" in
14388 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14389 xno) ;;
14390 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14391 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14392 esac
14393 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
14396 if test "$ac_cv_header_AL_al_h" = "yes"
14397 then
14398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14399 $as_echo_n "checking for -lopenal... " >&6; }
14400 if ${ac_cv_lib_soname_openal+:} false; then :
14401 $as_echo_n "(cached) " >&6
14402 else
14403 ac_check_soname_save_LIBS=$LIBS
14404 LIBS="-lopenal $LIBS"
14405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14406 /* end confdefs.h. */
14408 /* Override any GCC internal prototype to avoid an error.
14409 Use char because int might match the return type of a GCC
14410 builtin and then its argument prototype would still apply. */
14411 #ifdef __cplusplus
14412 extern "C"
14413 #endif
14414 char alGetSource3i ();
14416 main ()
14418 return alGetSource3i ();
14420 return 0;
14422 _ACEOF
14423 if ac_fn_c_try_link "$LINENO"; then :
14424 case "$LIBEXT" in
14425 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14426 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'` ;;
14427 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14428 if ${ac_cv_lib_soname_openal:+false} :; then :
14429 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14430 fi ;;
14431 esac
14433 rm -f core conftest.err conftest.$ac_objext \
14434 conftest$ac_exeext conftest.$ac_ext
14435 LIBS=$ac_check_soname_save_LIBS
14437 if ${ac_cv_lib_soname_openal:+false} :; then :
14438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14439 $as_echo "not found" >&6; }
14441 else
14442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14443 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14445 cat >>confdefs.h <<_ACEOF
14446 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14447 _ACEOF
14449 OPENAL_LIBS="-lopenal"
14451 ac_cv_lib_openal=yes
14453 cat >>confdefs.h <<_ACEOF
14454 #define HAVE_OPENAL 1
14455 _ACEOF
14459 if test "x$ac_cv_lib_openal" != xyes; then :
14460 case "x$with_openal" in
14461 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14462 xno) ;;
14463 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14464 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14465 esac
14466 enable_openal32=${enable_openal32:-no}
14469 if test "x$ac_cv_lib_openal" = xyes
14470 then
14471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14472 $as_echo_n "checking for openal-soft... " >&6; }
14473 if ${ac_cv_have_openalsoft+:} false; then :
14474 $as_echo_n "(cached) " >&6
14475 else
14476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14477 /* end confdefs.h. */
14478 #include <AL/al.h>
14479 #include <AL/alc.h>
14480 #include <AL/alext.h>
14481 LPALCRENDERSAMPLESSOFT x;
14483 main ()
14487 return 0;
14489 _ACEOF
14490 if ac_fn_c_try_compile "$LINENO"; then :
14491 ac_cv_have_openalsoft=yes
14492 else
14493 ac_cv_have_openalsoft=no
14495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14498 $as_echo "$ac_cv_have_openalsoft" >&6; }
14500 if test "x$ac_cv_have_openalsoft" != xyes
14501 then
14502 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14503 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
14504 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
14505 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14506 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14507 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14508 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14509 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14510 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14511 enable_xapofx1_1=${enable_xapofx1_1:-no}
14512 enable_xapofx1_2=${enable_xapofx1_2:-no}
14513 enable_xapofx1_3=${enable_xapofx1_3:-no}
14514 enable_xapofx1_4=${enable_xapofx1_4:-no}
14515 enable_xapofx1_5=${enable_xapofx1_5:-no}
14516 enable_xaudio2_0=${enable_xaudio2_0:-no}
14517 enable_xaudio2_1=${enable_xaudio2_1:-no}
14518 enable_xaudio2_2=${enable_xaudio2_2:-no}
14519 enable_xaudio2_3=${enable_xaudio2_3:-no}
14520 enable_xaudio2_4=${enable_xaudio2_4:-no}
14521 enable_xaudio2_5=${enable_xaudio2_5:-no}
14522 enable_xaudio2_6=${enable_xaudio2_6:-no}
14523 enable_xaudio2_7=${enable_xaudio2_7:-no}
14524 enable_xaudio2_8=${enable_xaudio2_8:-no}
14525 enable_xaudio2_9=${enable_xaudio2_9:-no}
14528 if test "$ac_cv_header_kstat_h" = "yes"
14529 then
14530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14531 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14532 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14533 $as_echo_n "(cached) " >&6
14534 else
14535 ac_check_lib_save_LIBS=$LIBS
14536 LIBS="-lkstat $LIBS"
14537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14538 /* end confdefs.h. */
14540 /* Override any GCC internal prototype to avoid an error.
14541 Use char because int might match the return type of a GCC
14542 builtin and then its argument prototype would still apply. */
14543 #ifdef __cplusplus
14544 extern "C"
14545 #endif
14546 char kstat_open ();
14548 main ()
14550 return kstat_open ();
14552 return 0;
14554 _ACEOF
14555 if ac_fn_c_try_link "$LINENO"; then :
14556 ac_cv_lib_kstat_kstat_open=yes
14557 else
14558 ac_cv_lib_kstat_kstat_open=no
14560 rm -f core conftest.err conftest.$ac_objext \
14561 conftest$ac_exeext conftest.$ac_ext
14562 LIBS=$ac_check_lib_save_LIBS
14564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14565 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14566 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14568 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14570 KSTAT_LIBS="-lkstat"
14576 if test "$ac_cv_header_libprocstat_h" = "yes"
14577 then
14578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14579 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14580 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14581 $as_echo_n "(cached) " >&6
14582 else
14583 ac_check_lib_save_LIBS=$LIBS
14584 LIBS="-lprocstat $LIBS"
14585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14586 /* end confdefs.h. */
14588 /* Override any GCC internal prototype to avoid an error.
14589 Use char because int might match the return type of a GCC
14590 builtin and then its argument prototype would still apply. */
14591 #ifdef __cplusplus
14592 extern "C"
14593 #endif
14594 char procstat_open_sysctl ();
14596 main ()
14598 return procstat_open_sysctl ();
14600 return 0;
14602 _ACEOF
14603 if ac_fn_c_try_link "$LINENO"; then :
14604 ac_cv_lib_procstat_procstat_open_sysctl=yes
14605 else
14606 ac_cv_lib_procstat_procstat_open_sysctl=no
14608 rm -f core conftest.err conftest.$ac_objext \
14609 conftest$ac_exeext conftest.$ac_ext
14610 LIBS=$ac_check_lib_save_LIBS
14612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14613 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14614 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14616 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14618 PROCSTAT_LIBS="-lprocstat"
14624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14625 $as_echo_n "checking for -lodbc... " >&6; }
14626 if ${ac_cv_lib_soname_odbc+:} false; then :
14627 $as_echo_n "(cached) " >&6
14628 else
14629 ac_check_soname_save_LIBS=$LIBS
14630 LIBS="-lodbc $LIBS"
14631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14632 /* end confdefs.h. */
14634 /* Override any GCC internal prototype to avoid an error.
14635 Use char because int might match the return type of a GCC
14636 builtin and then its argument prototype would still apply. */
14637 #ifdef __cplusplus
14638 extern "C"
14639 #endif
14640 char SQLConnect ();
14642 main ()
14644 return SQLConnect ();
14646 return 0;
14648 _ACEOF
14649 if ac_fn_c_try_link "$LINENO"; then :
14650 case "$LIBEXT" in
14651 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14652 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'` ;;
14653 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14654 if ${ac_cv_lib_soname_odbc:+false} :; then :
14655 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14656 fi ;;
14657 esac
14659 rm -f core conftest.err conftest.$ac_objext \
14660 conftest$ac_exeext conftest.$ac_ext
14661 LIBS=$ac_check_soname_save_LIBS
14663 if ${ac_cv_lib_soname_odbc:+false} :; then :
14664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14665 $as_echo "not found" >&6; }
14666 cat >>confdefs.h <<_ACEOF
14667 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14668 _ACEOF
14670 else
14671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14672 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14674 cat >>confdefs.h <<_ACEOF
14675 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14676 _ACEOF
14681 if test "x$with_netapi" != "xno"
14682 then
14683 if ${NETAPI_CFLAGS:+false} :; then :
14684 if ${PKG_CONFIG+:} false; then :
14685 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14689 if ${NETAPI_LIBS:+false} :; then :
14690 if ${PKG_CONFIG+:} false; then :
14691 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14696 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14697 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14698 ac_save_CPPFLAGS=$CPPFLAGS
14699 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14701 $as_echo_n "checking for -lnetapi... " >&6; }
14702 if ${ac_cv_lib_soname_netapi+:} false; then :
14703 $as_echo_n "(cached) " >&6
14704 else
14705 ac_check_soname_save_LIBS=$LIBS
14706 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14708 /* end confdefs.h. */
14710 /* Override any GCC internal prototype to avoid an error.
14711 Use char because int might match the return type of a GCC
14712 builtin and then its argument prototype would still apply. */
14713 #ifdef __cplusplus
14714 extern "C"
14715 #endif
14716 char libnetapi_init ();
14718 main ()
14720 return libnetapi_init ();
14722 return 0;
14724 _ACEOF
14725 if ac_fn_c_try_link "$LINENO"; then :
14726 case "$LIBEXT" in
14727 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14728 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'` ;;
14729 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14730 if ${ac_cv_lib_soname_netapi:+false} :; then :
14731 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14732 fi ;;
14733 esac
14735 rm -f core conftest.err conftest.$ac_objext \
14736 conftest$ac_exeext conftest.$ac_ext
14737 LIBS=$ac_check_soname_save_LIBS
14739 if ${ac_cv_lib_soname_netapi:+false} :; then :
14740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14741 $as_echo "not found" >&6; }
14742 cat >>confdefs.h <<_ACEOF
14743 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14744 _ACEOF
14746 else
14747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14748 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14750 cat >>confdefs.h <<_ACEOF
14751 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14752 _ACEOF
14756 CPPFLAGS=$ac_save_CPPFLAGS
14757 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14758 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14762 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
14763 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14764 then
14765 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14769 EXTRACFLAGS=""
14771 if test "x${GCC}" = "xyes"
14772 then
14773 EXTRACFLAGS="-Wall -pipe"
14775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14776 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14777 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14778 $as_echo_n "(cached) " >&6
14779 else
14780 if test "$cross_compiling" = yes; then :
14781 ac_cv_c_gcc_strength_bug="no"
14782 else
14783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14784 /* end confdefs.h. */
14785 int L[4] = {0,1,2,3};
14787 main ()
14789 static int Array[3];
14790 unsigned int B = 3;
14791 int i;
14792 for(i=0; i<B; i++) Array[i] = i - 3;
14793 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14794 L[i] = 4;
14795 return (Array[1] != -2 || L[2] != 3)
14797 return 0;
14799 _ACEOF
14800 if ac_fn_c_try_run "$LINENO"; then :
14801 ac_cv_c_gcc_strength_bug="no"
14802 else
14803 ac_cv_c_gcc_strength_bug="yes"
14805 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14806 conftest.$ac_objext conftest.beam conftest.$ac_ext
14810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14811 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14812 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14813 then
14814 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14818 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14819 if ${ac_cv_cflags__fno_builtin+:} false; then :
14820 $as_echo_n "(cached) " >&6
14821 else
14822 ac_wine_try_cflags_saved=$CFLAGS
14823 CFLAGS="$CFLAGS -fno-builtin"
14824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14825 /* end confdefs.h. */
14826 int main(int argc, char **argv) { return 0; }
14827 _ACEOF
14828 if ac_fn_c_try_link "$LINENO"; then :
14829 ac_cv_cflags__fno_builtin=yes
14830 else
14831 ac_cv_cflags__fno_builtin=no
14833 rm -f core conftest.err conftest.$ac_objext \
14834 conftest$ac_exeext conftest.$ac_ext
14835 CFLAGS=$ac_wine_try_cflags_saved
14837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14838 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14839 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14840 BUILTINFLAG="-fno-builtin"
14843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14844 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14845 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14846 $as_echo_n "(cached) " >&6
14847 else
14848 ac_wine_try_cflags_saved=$CFLAGS
14849 CFLAGS="$CFLAGS -fno-strict-aliasing"
14850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14851 /* end confdefs.h. */
14852 int main(int argc, char **argv) { return 0; }
14853 _ACEOF
14854 if ac_fn_c_try_link "$LINENO"; then :
14855 ac_cv_cflags__fno_strict_aliasing=yes
14856 else
14857 ac_cv_cflags__fno_strict_aliasing=no
14859 rm -f core conftest.err conftest.$ac_objext \
14860 conftest$ac_exeext conftest.$ac_ext
14861 CFLAGS=$ac_wine_try_cflags_saved
14863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14864 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14865 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14866 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14869 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14870 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14871 $as_echo_n "(cached) " >&6
14872 else
14873 ac_wine_try_cflags_saved=$CFLAGS
14874 CFLAGS="$CFLAGS -fexcess-precision=standard"
14875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14876 /* end confdefs.h. */
14877 int main(int argc, char **argv) { return 0; }
14878 _ACEOF
14879 if ac_fn_c_try_link "$LINENO"; then :
14880 ac_cv_cflags__fexcess_precision_standard=yes
14881 else
14882 ac_cv_cflags__fexcess_precision_standard=no
14884 rm -f core conftest.err conftest.$ac_objext \
14885 conftest$ac_exeext conftest.$ac_ext
14886 CFLAGS=$ac_wine_try_cflags_saved
14888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14889 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14890 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14891 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14894 saved_CFLAGS=$CFLAGS
14895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14896 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14897 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14898 $as_echo_n "(cached) " >&6
14899 else
14900 ac_wine_try_cflags_saved=$CFLAGS
14901 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14903 /* end confdefs.h. */
14904 int main(int argc, char **argv) { return 0; }
14905 _ACEOF
14906 if ac_fn_c_try_link "$LINENO"; then :
14907 ac_cv_cflags__Werror_unknown_warning_option=yes
14908 else
14909 ac_cv_cflags__Werror_unknown_warning_option=no
14911 rm -f core conftest.err conftest.$ac_objext \
14912 conftest$ac_exeext conftest.$ac_ext
14913 CFLAGS=$ac_wine_try_cflags_saved
14915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14916 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14917 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14918 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14921 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14922 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14923 $as_echo_n "(cached) " >&6
14924 else
14925 ac_wine_try_cflags_saved=$CFLAGS
14926 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14928 /* end confdefs.h. */
14929 int main(int argc, char **argv) { return 0; }
14930 _ACEOF
14931 if ac_fn_c_try_link "$LINENO"; then :
14932 ac_cv_cflags__Wdeclaration_after_statement=yes
14933 else
14934 ac_cv_cflags__Wdeclaration_after_statement=no
14936 rm -f core conftest.err conftest.$ac_objext \
14937 conftest$ac_exeext conftest.$ac_ext
14938 CFLAGS=$ac_wine_try_cflags_saved
14940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14941 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14942 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14943 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14946 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14947 if ${ac_cv_cflags__Wempty_body+:} false; then :
14948 $as_echo_n "(cached) " >&6
14949 else
14950 ac_wine_try_cflags_saved=$CFLAGS
14951 CFLAGS="$CFLAGS -Wempty-body"
14952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14953 /* end confdefs.h. */
14954 int main(int argc, char **argv) { return 0; }
14955 _ACEOF
14956 if ac_fn_c_try_link "$LINENO"; then :
14957 ac_cv_cflags__Wempty_body=yes
14958 else
14959 ac_cv_cflags__Wempty_body=no
14961 rm -f core conftest.err conftest.$ac_objext \
14962 conftest$ac_exeext conftest.$ac_ext
14963 CFLAGS=$ac_wine_try_cflags_saved
14965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14966 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14967 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14968 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14971 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14972 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14973 $as_echo_n "(cached) " >&6
14974 else
14975 ac_wine_try_cflags_saved=$CFLAGS
14976 CFLAGS="$CFLAGS -Wignored-qualifiers"
14977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14978 /* end confdefs.h. */
14979 int main(int argc, char **argv) { return 0; }
14980 _ACEOF
14981 if ac_fn_c_try_link "$LINENO"; then :
14982 ac_cv_cflags__Wignored_qualifiers=yes
14983 else
14984 ac_cv_cflags__Wignored_qualifiers=no
14986 rm -f core conftest.err conftest.$ac_objext \
14987 conftest$ac_exeext conftest.$ac_ext
14988 CFLAGS=$ac_wine_try_cflags_saved
14990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14991 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14992 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14993 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
14996 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
14997 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
14998 $as_echo_n "(cached) " >&6
14999 else
15000 ac_wine_try_cflags_saved=$CFLAGS
15001 CFLAGS="$CFLAGS -Wpacked-not-aligned"
15002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15003 /* end confdefs.h. */
15004 int main(int argc, char **argv) { return 0; }
15005 _ACEOF
15006 if ac_fn_c_try_link "$LINENO"; then :
15007 ac_cv_cflags__Wpacked_not_aligned=yes
15008 else
15009 ac_cv_cflags__Wpacked_not_aligned=no
15011 rm -f core conftest.err conftest.$ac_objext \
15012 conftest$ac_exeext conftest.$ac_ext
15013 CFLAGS=$ac_wine_try_cflags_saved
15015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
15016 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
15017 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
15018 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
15020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
15021 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
15022 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
15023 $as_echo_n "(cached) " >&6
15024 else
15025 ac_wine_try_cflags_saved=$CFLAGS
15026 CFLAGS="$CFLAGS -Wpragma-pack"
15027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15028 /* end confdefs.h. */
15029 int main(int argc, char **argv) { return 0; }
15030 _ACEOF
15031 if ac_fn_c_try_link "$LINENO"; then :
15032 ac_cv_cflags__Wpragma_pack=yes
15033 else
15034 ac_cv_cflags__Wpragma_pack=no
15036 rm -f core conftest.err conftest.$ac_objext \
15037 conftest$ac_exeext conftest.$ac_ext
15038 CFLAGS=$ac_wine_try_cflags_saved
15040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
15041 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
15042 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
15043 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
15045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
15046 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
15047 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
15048 $as_echo_n "(cached) " >&6
15049 else
15050 ac_wine_try_cflags_saved=$CFLAGS
15051 CFLAGS="$CFLAGS -Wshift-overflow=2"
15052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15053 /* end confdefs.h. */
15054 int main(int argc, char **argv) { return 0; }
15055 _ACEOF
15056 if ac_fn_c_try_link "$LINENO"; then :
15057 ac_cv_cflags__Wshift_overflow_2=yes
15058 else
15059 ac_cv_cflags__Wshift_overflow_2=no
15061 rm -f core conftest.err conftest.$ac_objext \
15062 conftest$ac_exeext conftest.$ac_ext
15063 CFLAGS=$ac_wine_try_cflags_saved
15065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
15066 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
15067 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
15068 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
15070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
15071 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
15072 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
15073 $as_echo_n "(cached) " >&6
15074 else
15075 ac_wine_try_cflags_saved=$CFLAGS
15076 CFLAGS="$CFLAGS -Wstrict-prototypes"
15077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15078 /* end confdefs.h. */
15079 int main(int argc, char **argv) { return 0; }
15080 _ACEOF
15081 if ac_fn_c_try_link "$LINENO"; then :
15082 ac_cv_cflags__Wstrict_prototypes=yes
15083 else
15084 ac_cv_cflags__Wstrict_prototypes=no
15086 rm -f core conftest.err conftest.$ac_objext \
15087 conftest$ac_exeext conftest.$ac_ext
15088 CFLAGS=$ac_wine_try_cflags_saved
15090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
15091 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
15092 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
15093 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
15095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
15096 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
15097 if ${ac_cv_cflags__Wtype_limits+:} false; then :
15098 $as_echo_n "(cached) " >&6
15099 else
15100 ac_wine_try_cflags_saved=$CFLAGS
15101 CFLAGS="$CFLAGS -Wtype-limits"
15102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15103 /* end confdefs.h. */
15104 int main(int argc, char **argv) { return 0; }
15105 _ACEOF
15106 if ac_fn_c_try_link "$LINENO"; then :
15107 ac_cv_cflags__Wtype_limits=yes
15108 else
15109 ac_cv_cflags__Wtype_limits=no
15111 rm -f core conftest.err conftest.$ac_objext \
15112 conftest$ac_exeext conftest.$ac_ext
15113 CFLAGS=$ac_wine_try_cflags_saved
15115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
15116 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
15117 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
15118 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
15120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
15121 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
15122 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
15123 $as_echo_n "(cached) " >&6
15124 else
15125 ac_wine_try_cflags_saved=$CFLAGS
15126 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
15127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15128 /* end confdefs.h. */
15129 int main(int argc, char **argv) { return 0; }
15130 _ACEOF
15131 if ac_fn_c_try_link "$LINENO"; then :
15132 ac_cv_cflags__Wunused_but_set_parameter=yes
15133 else
15134 ac_cv_cflags__Wunused_but_set_parameter=no
15136 rm -f core conftest.err conftest.$ac_objext \
15137 conftest$ac_exeext conftest.$ac_ext
15138 CFLAGS=$ac_wine_try_cflags_saved
15140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
15141 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
15142 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
15143 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
15145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
15146 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
15147 if ${ac_cv_cflags__Wvla+:} false; then :
15148 $as_echo_n "(cached) " >&6
15149 else
15150 ac_wine_try_cflags_saved=$CFLAGS
15151 CFLAGS="$CFLAGS -Wvla"
15152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15153 /* end confdefs.h. */
15154 int main(int argc, char **argv) { return 0; }
15155 _ACEOF
15156 if ac_fn_c_try_link "$LINENO"; then :
15157 ac_cv_cflags__Wvla=yes
15158 else
15159 ac_cv_cflags__Wvla=no
15161 rm -f core conftest.err conftest.$ac_objext \
15162 conftest$ac_exeext conftest.$ac_ext
15163 CFLAGS=$ac_wine_try_cflags_saved
15165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
15166 $as_echo "$ac_cv_cflags__Wvla" >&6; }
15167 if test "x$ac_cv_cflags__Wvla" = xyes; then :
15168 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
15170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
15171 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
15172 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
15173 $as_echo_n "(cached) " >&6
15174 else
15175 ac_wine_try_cflags_saved=$CFLAGS
15176 CFLAGS="$CFLAGS -Wwrite-strings"
15177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15178 /* end confdefs.h. */
15179 int main(int argc, char **argv) { return 0; }
15180 _ACEOF
15181 if ac_fn_c_try_link "$LINENO"; then :
15182 ac_cv_cflags__Wwrite_strings=yes
15183 else
15184 ac_cv_cflags__Wwrite_strings=no
15186 rm -f core conftest.err conftest.$ac_objext \
15187 conftest$ac_exeext conftest.$ac_ext
15188 CFLAGS=$ac_wine_try_cflags_saved
15190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
15191 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
15192 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
15193 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
15196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
15197 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
15198 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
15199 $as_echo_n "(cached) " >&6
15200 else
15201 ac_wine_try_cflags_saved=$CFLAGS
15202 CFLAGS="$CFLAGS -Wpointer-arith"
15203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15204 /* end confdefs.h. */
15205 int main(int argc, char **argv) { return 0; }
15206 _ACEOF
15207 if ac_fn_c_try_link "$LINENO"; then :
15208 ac_cv_cflags__Wpointer_arith=yes
15209 else
15210 ac_cv_cflags__Wpointer_arith=no
15212 rm -f core conftest.err conftest.$ac_objext \
15213 conftest$ac_exeext conftest.$ac_ext
15214 CFLAGS=$ac_wine_try_cflags_saved
15216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
15217 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
15218 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
15219 saved_string_h_CFLAGS=$CFLAGS
15220 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
15222 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
15223 if ${ac_cv_c_string_h_warnings+:} false; then :
15224 $as_echo_n "(cached) " >&6
15225 else
15226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15227 /* end confdefs.h. */
15228 #include <string.h>
15230 main ()
15234 return 0;
15236 _ACEOF
15237 if ac_fn_c_try_compile "$LINENO"; then :
15238 ac_cv_c_string_h_warnings=no
15239 else
15240 ac_cv_c_string_h_warnings=yes
15242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
15245 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
15246 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15247 CFLAGS=$saved_string_h_CFLAGS
15250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
15251 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
15252 if ${ac_cv_cflags__Wlogical_op+:} false; then :
15253 $as_echo_n "(cached) " >&6
15254 else
15255 ac_wine_try_cflags_saved=$CFLAGS
15256 CFLAGS="$CFLAGS -Wlogical-op"
15257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15258 /* end confdefs.h. */
15259 int main(int argc, char **argv) { return 0; }
15260 _ACEOF
15261 if ac_fn_c_try_link "$LINENO"; then :
15262 ac_cv_cflags__Wlogical_op=yes
15263 else
15264 ac_cv_cflags__Wlogical_op=no
15266 rm -f core conftest.err conftest.$ac_objext \
15267 conftest$ac_exeext conftest.$ac_ext
15268 CFLAGS=$ac_wine_try_cflags_saved
15270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
15271 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
15272 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
15273 saved_string_h_CFLAGS=$CFLAGS
15274 CFLAGS="$CFLAGS -Wlogical-op -Werror"
15275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
15276 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
15277 if ${ac_cv_c_logicalop_noisy+:} false; then :
15278 $as_echo_n "(cached) " >&6
15279 else
15280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15281 /* end confdefs.h. */
15282 #include <string.h>
15283 char*f(const char *h,char n) {return strchr(h,n);}
15285 main ()
15289 return 0;
15291 _ACEOF
15292 if ac_fn_c_try_compile "$LINENO"; then :
15293 ac_cv_c_logicalop_noisy=no
15294 else
15295 ac_cv_c_logicalop_noisy=yes
15297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
15300 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
15301 CFLAGS=$saved_string_h_CFLAGS
15302 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
15305 CFLAGS=$saved_CFLAGS
15307 for ac_flag in $CFLAGS; do
15308 case $ac_flag in
15309 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
15310 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
15311 if ${ac_cv_cflags__gdwarf_2+:} false; then :
15312 $as_echo_n "(cached) " >&6
15313 else
15314 ac_wine_try_cflags_saved=$CFLAGS
15315 CFLAGS="$CFLAGS -gdwarf-2"
15316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15317 /* end confdefs.h. */
15318 int main(int argc, char **argv) { return 0; }
15319 _ACEOF
15320 if ac_fn_c_try_link "$LINENO"; then :
15321 ac_cv_cflags__gdwarf_2=yes
15322 else
15323 ac_cv_cflags__gdwarf_2=no
15325 rm -f core conftest.err conftest.$ac_objext \
15326 conftest$ac_exeext conftest.$ac_ext
15327 CFLAGS=$ac_wine_try_cflags_saved
15329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
15330 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
15331 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
15332 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
15334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
15335 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
15336 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
15337 $as_echo_n "(cached) " >&6
15338 else
15339 ac_wine_try_cflags_saved=$CFLAGS
15340 CFLAGS="$CFLAGS -gstrict-dwarf"
15341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15342 /* end confdefs.h. */
15343 int main(int argc, char **argv) { return 0; }
15344 _ACEOF
15345 if ac_fn_c_try_link "$LINENO"; then :
15346 ac_cv_cflags__gstrict_dwarf=yes
15347 else
15348 ac_cv_cflags__gstrict_dwarf=no
15350 rm -f core conftest.err conftest.$ac_objext \
15351 conftest$ac_exeext conftest.$ac_ext
15352 CFLAGS=$ac_wine_try_cflags_saved
15354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
15355 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
15356 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
15357 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
15358 fi ;;
15359 esac
15360 done
15362 case $host_cpu in
15363 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
15364 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
15365 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
15366 $as_echo_n "(cached) " >&6
15367 else
15368 ac_wine_try_cflags_saved=$CFLAGS
15369 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
15370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15371 /* end confdefs.h. */
15372 int main(int argc, char **argv) { return 0; }
15373 _ACEOF
15374 if ac_fn_c_try_link "$LINENO"; then :
15375 ac_cv_cflags__fno_omit_frame_pointer=yes
15376 else
15377 ac_cv_cflags__fno_omit_frame_pointer=no
15379 rm -f core conftest.err conftest.$ac_objext \
15380 conftest$ac_exeext conftest.$ac_ext
15381 CFLAGS=$ac_wine_try_cflags_saved
15383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
15384 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
15385 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
15386 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
15387 fi ;;
15388 esac
15390 case $host in
15391 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
15392 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
15393 if ${ac_cv_cflags__Wno_format+:} false; then :
15394 $as_echo_n "(cached) " >&6
15395 else
15396 ac_wine_try_cflags_saved=$CFLAGS
15397 CFLAGS="$CFLAGS -Wno-format"
15398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15399 /* end confdefs.h. */
15400 int main(int argc, char **argv) { return 0; }
15401 _ACEOF
15402 if ac_fn_c_try_link "$LINENO"; then :
15403 ac_cv_cflags__Wno_format=yes
15404 else
15405 ac_cv_cflags__Wno_format=no
15407 rm -f core conftest.err conftest.$ac_objext \
15408 conftest$ac_exeext conftest.$ac_ext
15409 CFLAGS=$ac_wine_try_cflags_saved
15411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
15412 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
15413 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
15414 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
15415 fi ;;
15416 esac
15418 if test "x$enable_maintainer_mode" = "xyes"
15419 then
15420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
15421 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
15422 if ${ac_cv_cflags__Werror+:} false; then :
15423 $as_echo_n "(cached) " >&6
15424 else
15425 ac_wine_try_cflags_saved=$CFLAGS
15426 CFLAGS="$CFLAGS -Werror"
15427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15428 /* end confdefs.h. */
15429 int main(int argc, char **argv) { return 0; }
15430 _ACEOF
15431 if ac_fn_c_try_link "$LINENO"; then :
15432 ac_cv_cflags__Werror=yes
15433 else
15434 ac_cv_cflags__Werror=no
15436 rm -f core conftest.err conftest.$ac_objext \
15437 conftest$ac_exeext conftest.$ac_ext
15438 CFLAGS=$ac_wine_try_cflags_saved
15440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
15441 $as_echo "$ac_cv_cflags__Werror" >&6; }
15442 if test "x$ac_cv_cflags__Werror" = xyes; then :
15443 EXTRACFLAGS="$EXTRACFLAGS -Werror"
15447 saved_CFLAGS="$CFLAGS"
15448 CFLAGS="$CFLAGS -Werror"
15449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
15450 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
15451 if ${ac_cv_have_ms_hook_prologue+:} false; then :
15452 $as_echo_n "(cached) " >&6
15453 else
15454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15455 /* end confdefs.h. */
15456 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
15458 main ()
15462 return 0;
15464 _ACEOF
15465 if ac_fn_c_try_compile "$LINENO"; then :
15466 ac_cv_have_ms_hook_prologue="yes"
15467 else
15468 ac_cv_have_ms_hook_prologue="no"
15470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
15473 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
15474 CFLAGS="$saved_CFLAGS"
15475 if test "$ac_cv_have_ms_hook_prologue" = "yes"
15476 then
15478 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
15480 else
15481 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
15487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
15488 $as_echo_n "checking for the need to disable Fortify... " >&6; }
15489 if ${ac_cv_c_fortify_enabled+:} false; then :
15490 $as_echo_n "(cached) " >&6
15491 else
15492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15493 /* end confdefs.h. */
15494 #include <string.h>
15496 main ()
15498 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
15499 #error Fortify enabled
15500 #endif
15502 return 0;
15504 _ACEOF
15505 if ac_fn_c_try_compile "$LINENO"; then :
15506 ac_cv_c_fortify_enabled=no
15507 else
15508 ac_cv_c_fortify_enabled=yes
15510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
15513 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
15514 if test "$ac_cv_c_fortify_enabled" = yes
15515 then
15516 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
15520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
15521 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
15522 if ${ac_cv_c_extern_prefix+:} false; then :
15523 $as_echo_n "(cached) " >&6
15524 else
15525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15526 /* end confdefs.h. */
15527 extern int ac_test;
15529 main ()
15531 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15533 return 0;
15535 _ACEOF
15536 if ac_fn_c_try_link "$LINENO"; then :
15537 ac_cv_c_extern_prefix="yes"
15538 else
15539 ac_cv_c_extern_prefix="no"
15541 rm -f core conftest.err conftest.$ac_objext \
15542 conftest$ac_exeext conftest.$ac_ext
15544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
15545 $as_echo "$ac_cv_c_extern_prefix" >&6; }
15547 case $host_cpu in
15548 *i[3456789]86*)
15549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
15550 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
15551 if ${ac_cv_c_stdcall_suffix+:} false; then :
15552 $as_echo_n "(cached) " >&6
15553 else
15554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15555 /* end confdefs.h. */
15556 #ifndef _MSC_VER
15557 #define __stdcall __attribute__((__stdcall__))
15558 #endif
15559 int __stdcall ac_test(int i) { return i; }
15561 main ()
15563 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
15565 return 0;
15567 _ACEOF
15568 if ac_fn_c_try_link "$LINENO"; then :
15569 ac_cv_c_stdcall_suffix="yes"
15570 else
15571 ac_cv_c_stdcall_suffix="no"
15573 rm -f core conftest.err conftest.$ac_objext \
15574 conftest$ac_exeext conftest.$ac_ext
15576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15577 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15578 *) ac_cv_c_stdcall_suffix="no" ;;
15579 esac
15582 if test "$ac_cv_c_extern_prefix" = "yes"
15583 then
15584 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15586 asm_name_prefix="_"
15587 else
15588 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15590 asm_name_prefix=""
15594 if test "$ac_cv_c_stdcall_suffix" = "yes"
15595 then
15596 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15598 else
15599 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15605 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15606 if ${ac_cv_asm_func_def+:} false; then :
15607 $as_echo_n "(cached) " >&6
15608 else
15609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15610 /* end confdefs.h. */
15613 main ()
15615 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15617 return 0;
15619 _ACEOF
15620 if ac_fn_c_try_link "$LINENO"; then :
15621 ac_cv_asm_func_def=".def"
15622 else
15623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15624 /* end confdefs.h. */
15627 main ()
15629 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15631 return 0;
15633 _ACEOF
15634 if ac_fn_c_try_link "$LINENO"; then :
15635 ac_cv_asm_func_def=".type @function"
15636 else
15637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15638 /* end confdefs.h. */
15641 main ()
15643 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15645 return 0;
15647 _ACEOF
15648 if ac_fn_c_try_link "$LINENO"; then :
15649 ac_cv_asm_func_def=".type 2"
15650 else
15651 ac_cv_asm_func_def="unknown"
15653 rm -f core conftest.err conftest.$ac_objext \
15654 conftest$ac_exeext conftest.$ac_ext
15656 rm -f core conftest.err conftest.$ac_objext \
15657 conftest$ac_exeext conftest.$ac_ext
15659 rm -f core conftest.err conftest.$ac_objext \
15660 conftest$ac_exeext conftest.$ac_ext
15662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15663 $as_echo "$ac_cv_asm_func_def" >&6; }
15666 case "$ac_cv_asm_func_def" in
15667 ".def")
15668 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15670 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15671 ".type @function")
15672 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15674 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15675 ".type 2")
15676 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15678 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15680 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15682 asm_func_header="" ;;
15683 esac
15685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15686 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15687 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15688 $as_echo_n "(cached) " >&6
15689 else
15690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15691 /* end confdefs.h. */
15692 asm(".text\n\t.long 0");
15694 main ()
15698 return 0;
15700 _ACEOF
15701 if ac_fn_c_try_compile "$LINENO"; then :
15702 ac_cv_c_asm_outside_funcs="yes"
15703 else
15704 ac_cv_c_asm_outside_funcs="no"
15706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15709 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15712 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15713 if ${ac_cv_c_dot_previous+:} false; then :
15714 $as_echo_n "(cached) " >&6
15715 else
15716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15717 /* end confdefs.h. */
15720 main ()
15722 asm(".text\nac_test:\t.long 0\n\t.previous");
15724 return 0;
15726 _ACEOF
15727 if ac_fn_c_try_link "$LINENO"; then :
15728 ac_cv_c_dot_previous="yes"
15729 else
15730 ac_cv_c_dot_previous="no"
15732 rm -f core conftest.err conftest.$ac_objext \
15733 conftest$ac_exeext conftest.$ac_ext
15735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15736 $as_echo "$ac_cv_c_dot_previous" >&6; }
15738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15739 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15740 if ${ac_cv_c_cfi_support+:} false; then :
15741 $as_echo_n "(cached) " >&6
15742 else
15743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15744 /* end confdefs.h. */
15745 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15747 main ()
15751 return 0;
15753 _ACEOF
15754 if ac_fn_c_try_compile "$LINENO"; then :
15755 ac_cv_c_cfi_support="yes"
15756 else
15757 ac_cv_c_cfi_support="no"
15759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15762 $as_echo "$ac_cv_c_cfi_support" >&6; }
15764 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15765 asm_func_trailer=""
15766 if test "$ac_cv_c_dot_previous" = "yes"
15767 then
15768 asm_func_trailer="\\n\\t.previous"
15770 if test "$ac_cv_c_cfi_support" = "yes"
15771 then
15772 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15773 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15775 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15777 UNWINDFLAGS=-fasynchronous-unwind-tables
15779 else
15780 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15782 if test "x$enable_win64" = "xyes"
15783 then
15784 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15788 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15791 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15792 then
15793 cat >>confdefs.h <<_ACEOF
15794 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15795 _ACEOF
15797 else
15798 cat >>confdefs.h <<_ACEOF
15799 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15800 _ACEOF
15804 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15807 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15811 case $build_os in
15812 cygwin*|mingw32*) TOOLSEXT=".exe"
15814 esac
15816 case $host_os in
15817 linux*)
15818 case $host_cpu in
15819 *i[3456789]86*|x86_64*|*aarch64*)
15820 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15821 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15823 esac
15825 esac
15828 ac_save_CFLAGS="$CFLAGS"
15829 CFLAGS="$CFLAGS $BUILTINFLAG"
15830 for ac_func in \
15831 __res_get_state \
15832 __res_getservers \
15833 _finite \
15834 _isnan \
15835 _pclose \
15836 _popen \
15837 _snprintf \
15838 _spawnvp \
15839 _strdup \
15840 _stricmp \
15841 _strnicmp \
15842 _strtoi64 \
15843 _strtoui64 \
15844 _vsnprintf \
15845 asctime_r \
15846 chsize \
15847 dlopen \
15848 epoll_create \
15849 ffs \
15850 finitef \
15851 fnmatch \
15852 fork \
15853 fpclass \
15854 fstatfs \
15855 fstatvfs \
15856 ftruncate \
15857 futimens \
15858 futimes \
15859 futimesat \
15860 getattrlist \
15861 getauxval \
15862 getifaddrs \
15863 getopt_long_only \
15864 getpwuid \
15865 gettimeofday \
15866 getuid \
15867 isnanf \
15868 kqueue \
15869 lstat \
15870 memmove \
15871 mmap \
15872 pclose \
15873 pipe2 \
15874 poll \
15875 popen \
15876 port_create \
15877 prctl \
15878 pread \
15879 proc_pidinfo \
15880 pwrite \
15881 readdir \
15882 readlink \
15883 sched_yield \
15884 select \
15885 setproctitle \
15886 setprogname \
15887 setrlimit \
15888 settimeofday \
15889 sigaltstack \
15890 sigprocmask \
15891 snprintf \
15892 statfs \
15893 statvfs \
15894 strcasecmp \
15895 strdup \
15896 strerror \
15897 strncasecmp \
15898 strnlen \
15899 strtold \
15900 strtoll \
15901 strtoull \
15902 symlink \
15903 sysinfo \
15904 tcdrain \
15905 thr_kill2 \
15906 timegm \
15907 usleep \
15908 vsnprintf
15910 do :
15911 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15912 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15913 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15914 cat >>confdefs.h <<_ACEOF
15915 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15916 _ACEOF
15919 done
15921 CFLAGS="$ac_save_CFLAGS"
15923 if test "$ac_cv_func_dlopen" = no
15924 then
15925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15926 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15927 if ${ac_cv_lib_dl_dlopen+:} false; then :
15928 $as_echo_n "(cached) " >&6
15929 else
15930 ac_check_lib_save_LIBS=$LIBS
15931 LIBS="-ldl $LIBS"
15932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15933 /* end confdefs.h. */
15935 /* Override any GCC internal prototype to avoid an error.
15936 Use char because int might match the return type of a GCC
15937 builtin and then its argument prototype would still apply. */
15938 #ifdef __cplusplus
15939 extern "C"
15940 #endif
15941 char dlopen ();
15943 main ()
15945 return dlopen ();
15947 return 0;
15949 _ACEOF
15950 if ac_fn_c_try_link "$LINENO"; then :
15951 ac_cv_lib_dl_dlopen=yes
15952 else
15953 ac_cv_lib_dl_dlopen=no
15955 rm -f core conftest.err conftest.$ac_objext \
15956 conftest$ac_exeext conftest.$ac_ext
15957 LIBS=$ac_check_lib_save_LIBS
15959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15960 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15961 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15962 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15963 DL_LIBS="-ldl"
15968 ac_wine_check_funcs_save_LIBS="$LIBS"
15969 LIBS="$LIBS $DL_LIBS"
15970 for ac_func in dladdr
15971 do :
15972 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15973 if test "x$ac_cv_func_dladdr" = xyes; then :
15974 cat >>confdefs.h <<_ACEOF
15975 #define HAVE_DLADDR 1
15976 _ACEOF
15979 done
15981 LIBS="$ac_wine_check_funcs_save_LIBS"
15983 if test "$ac_cv_func_poll" = no
15984 then
15985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15986 $as_echo_n "checking for poll in -lpoll... " >&6; }
15987 if ${ac_cv_lib_poll_poll+:} false; then :
15988 $as_echo_n "(cached) " >&6
15989 else
15990 ac_check_lib_save_LIBS=$LIBS
15991 LIBS="-lpoll $LIBS"
15992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15993 /* end confdefs.h. */
15995 /* Override any GCC internal prototype to avoid an error.
15996 Use char because int might match the return type of a GCC
15997 builtin and then its argument prototype would still apply. */
15998 #ifdef __cplusplus
15999 extern "C"
16000 #endif
16001 char poll ();
16003 main ()
16005 return poll ();
16007 return 0;
16009 _ACEOF
16010 if ac_fn_c_try_link "$LINENO"; then :
16011 ac_cv_lib_poll_poll=yes
16012 else
16013 ac_cv_lib_poll_poll=no
16015 rm -f core conftest.err conftest.$ac_objext \
16016 conftest$ac_exeext conftest.$ac_ext
16017 LIBS=$ac_check_lib_save_LIBS
16019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
16020 $as_echo "$ac_cv_lib_poll_poll" >&6; }
16021 if test "x$ac_cv_lib_poll_poll" = xyes; then :
16022 $as_echo "#define HAVE_POLL 1" >>confdefs.h
16023 POLL_LIBS="-lpoll"
16029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
16030 $as_echo_n "checking for library containing gethostbyname... " >&6; }
16031 if ${ac_cv_search_gethostbyname+:} false; then :
16032 $as_echo_n "(cached) " >&6
16033 else
16034 ac_func_search_save_LIBS=$LIBS
16035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16036 /* end confdefs.h. */
16038 /* Override any GCC internal prototype to avoid an error.
16039 Use char because int might match the return type of a GCC
16040 builtin and then its argument prototype would still apply. */
16041 #ifdef __cplusplus
16042 extern "C"
16043 #endif
16044 char gethostbyname ();
16046 main ()
16048 return gethostbyname ();
16050 return 0;
16052 _ACEOF
16053 for ac_lib in '' nsl; do
16054 if test -z "$ac_lib"; then
16055 ac_res="none required"
16056 else
16057 ac_res=-l$ac_lib
16058 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16060 if ac_fn_c_try_link "$LINENO"; then :
16061 ac_cv_search_gethostbyname=$ac_res
16063 rm -f core conftest.err conftest.$ac_objext \
16064 conftest$ac_exeext
16065 if ${ac_cv_search_gethostbyname+:} false; then :
16066 break
16068 done
16069 if ${ac_cv_search_gethostbyname+:} false; then :
16071 else
16072 ac_cv_search_gethostbyname=no
16074 rm conftest.$ac_ext
16075 LIBS=$ac_func_search_save_LIBS
16077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
16078 $as_echo "$ac_cv_search_gethostbyname" >&6; }
16079 ac_res=$ac_cv_search_gethostbyname
16080 if test "$ac_res" != no; then :
16081 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
16087 $as_echo_n "checking for library containing connect... " >&6; }
16088 if ${ac_cv_search_connect+:} false; then :
16089 $as_echo_n "(cached) " >&6
16090 else
16091 ac_func_search_save_LIBS=$LIBS
16092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16093 /* end confdefs.h. */
16095 /* Override any GCC internal prototype to avoid an error.
16096 Use char because int might match the return type of a GCC
16097 builtin and then its argument prototype would still apply. */
16098 #ifdef __cplusplus
16099 extern "C"
16100 #endif
16101 char connect ();
16103 main ()
16105 return connect ();
16107 return 0;
16109 _ACEOF
16110 for ac_lib in '' socket; do
16111 if test -z "$ac_lib"; then
16112 ac_res="none required"
16113 else
16114 ac_res=-l$ac_lib
16115 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16117 if ac_fn_c_try_link "$LINENO"; then :
16118 ac_cv_search_connect=$ac_res
16120 rm -f core conftest.err conftest.$ac_objext \
16121 conftest$ac_exeext
16122 if ${ac_cv_search_connect+:} false; then :
16123 break
16125 done
16126 if ${ac_cv_search_connect+:} false; then :
16128 else
16129 ac_cv_search_connect=no
16131 rm conftest.$ac_ext
16132 LIBS=$ac_func_search_save_LIBS
16134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
16135 $as_echo "$ac_cv_search_connect" >&6; }
16136 ac_res=$ac_cv_search_connect
16137 if test "$ac_res" != no; then :
16138 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
16144 $as_echo_n "checking for library containing inet_aton... " >&6; }
16145 if ${ac_cv_search_inet_aton+:} false; then :
16146 $as_echo_n "(cached) " >&6
16147 else
16148 ac_func_search_save_LIBS=$LIBS
16149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16150 /* end confdefs.h. */
16152 /* Override any GCC internal prototype to avoid an error.
16153 Use char because int might match the return type of a GCC
16154 builtin and then its argument prototype would still apply. */
16155 #ifdef __cplusplus
16156 extern "C"
16157 #endif
16158 char inet_aton ();
16160 main ()
16162 return inet_aton ();
16164 return 0;
16166 _ACEOF
16167 for ac_lib in '' resolv; do
16168 if test -z "$ac_lib"; then
16169 ac_res="none required"
16170 else
16171 ac_res=-l$ac_lib
16172 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16174 if ac_fn_c_try_link "$LINENO"; then :
16175 ac_cv_search_inet_aton=$ac_res
16177 rm -f core conftest.err conftest.$ac_objext \
16178 conftest$ac_exeext
16179 if ${ac_cv_search_inet_aton+:} false; then :
16180 break
16182 done
16183 if ${ac_cv_search_inet_aton+:} false; then :
16185 else
16186 ac_cv_search_inet_aton=no
16188 rm conftest.$ac_ext
16189 LIBS=$ac_func_search_save_LIBS
16191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
16192 $as_echo "$ac_cv_search_inet_aton" >&6; }
16193 ac_res=$ac_cv_search_inet_aton
16194 if test "$ac_res" != no; then :
16195 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16200 for ac_func in \
16201 getaddrinfo \
16202 getnameinfo \
16203 getnetbyname \
16204 getprotobyname \
16205 getprotobynumber \
16206 getservbyport \
16207 inet_addr \
16208 inet_network \
16209 inet_ntop \
16210 inet_pton \
16211 sendmsg \
16212 socketpair \
16214 do :
16215 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16216 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16217 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16218 cat >>confdefs.h <<_ACEOF
16219 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16220 _ACEOF
16223 done
16226 ac_save_LIBS=$LIBS
16227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
16228 $as_echo_n "checking for library containing clock_gettime... " >&6; }
16229 if ${ac_cv_search_clock_gettime+:} false; then :
16230 $as_echo_n "(cached) " >&6
16231 else
16232 ac_func_search_save_LIBS=$LIBS
16233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16234 /* end confdefs.h. */
16236 /* Override any GCC internal prototype to avoid an error.
16237 Use char because int might match the return type of a GCC
16238 builtin and then its argument prototype would still apply. */
16239 #ifdef __cplusplus
16240 extern "C"
16241 #endif
16242 char clock_gettime ();
16244 main ()
16246 return clock_gettime ();
16248 return 0;
16250 _ACEOF
16251 for ac_lib in '' rt; do
16252 if test -z "$ac_lib"; then
16253 ac_res="none required"
16254 else
16255 ac_res=-l$ac_lib
16256 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16258 if ac_fn_c_try_link "$LINENO"; then :
16259 ac_cv_search_clock_gettime=$ac_res
16261 rm -f core conftest.err conftest.$ac_objext \
16262 conftest$ac_exeext
16263 if ${ac_cv_search_clock_gettime+:} false; then :
16264 break
16266 done
16267 if ${ac_cv_search_clock_gettime+:} false; then :
16269 else
16270 ac_cv_search_clock_gettime=no
16272 rm conftest.$ac_ext
16273 LIBS=$ac_func_search_save_LIBS
16275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
16276 $as_echo "$ac_cv_search_clock_gettime" >&6; }
16277 ac_res=$ac_cv_search_clock_gettime
16278 if test "$ac_res" != no; then :
16279 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16281 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
16283 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
16287 LIBS=$ac_save_LIBS
16289 if test "x$with_ldap" != "xno"
16290 then
16291 if ${LDAP_CFLAGS:+false} :; then :
16292 if ${PKG_CONFIG+:} false; then :
16293 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
16297 if ${LDAP_LIBS:+false} :; then :
16298 if ${PKG_CONFIG+:} false; then :
16299 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
16303 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
16304 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
16305 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
16306 ac_save_CPPFLAGS=$CPPFLAGS
16307 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
16308 for ac_header in ldap.h lber.h
16309 do :
16310 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16311 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16312 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16313 cat >>confdefs.h <<_ACEOF
16314 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16315 _ACEOF
16319 done
16321 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
16322 then
16323 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
16325 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
16326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
16327 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
16328 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
16329 $as_echo_n "(cached) " >&6
16330 else
16331 ac_check_lib_save_LIBS=$LIBS
16332 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16334 /* end confdefs.h. */
16336 /* Override any GCC internal prototype to avoid an error.
16337 Use char because int might match the return type of a GCC
16338 builtin and then its argument prototype would still apply. */
16339 #ifdef __cplusplus
16340 extern "C"
16341 #endif
16342 char ldap_initialize ();
16344 main ()
16346 return ldap_initialize ();
16348 return 0;
16350 _ACEOF
16351 if ac_fn_c_try_link "$LINENO"; then :
16352 ac_cv_lib_ldap_r_ldap_initialize=yes
16353 else
16354 ac_cv_lib_ldap_r_ldap_initialize=no
16356 rm -f core conftest.err conftest.$ac_objext \
16357 conftest$ac_exeext conftest.$ac_ext
16358 LIBS=$ac_check_lib_save_LIBS
16360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
16361 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
16362 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
16363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
16364 $as_echo_n "checking for ber_init in -llber... " >&6; }
16365 if ${ac_cv_lib_lber_ber_init+:} false; then :
16366 $as_echo_n "(cached) " >&6
16367 else
16368 ac_check_lib_save_LIBS=$LIBS
16369 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16371 /* end confdefs.h. */
16373 /* Override any GCC internal prototype to avoid an error.
16374 Use char because int might match the return type of a GCC
16375 builtin and then its argument prototype would still apply. */
16376 #ifdef __cplusplus
16377 extern "C"
16378 #endif
16379 char ber_init ();
16381 main ()
16383 return ber_init ();
16385 return 0;
16387 _ACEOF
16388 if ac_fn_c_try_link "$LINENO"; then :
16389 ac_cv_lib_lber_ber_init=yes
16390 else
16391 ac_cv_lib_lber_ber_init=no
16393 rm -f core conftest.err conftest.$ac_objext \
16394 conftest$ac_exeext conftest.$ac_ext
16395 LIBS=$ac_check_lib_save_LIBS
16397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
16398 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
16399 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
16401 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
16403 else
16404 LDAP_LIBS=""
16407 else
16408 LDAP_LIBS=""
16411 else
16412 LDAP_LIBS=""
16415 ac_wine_check_funcs_save_LIBS="$LIBS"
16416 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
16417 for ac_func in \
16418 ldap_count_references \
16419 ldap_first_reference \
16420 ldap_next_reference \
16421 ldap_parse_reference \
16422 ldap_parse_sort_control \
16423 ldap_parse_sortresponse_control \
16424 ldap_parse_vlv_control \
16425 ldap_parse_vlvresponse_control
16426 do :
16427 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16428 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16429 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16430 cat >>confdefs.h <<_ACEOF
16431 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16432 _ACEOF
16435 done
16437 LIBS="$ac_wine_check_funcs_save_LIBS"
16438 else
16439 LDAP_LIBS=""
16441 CPPFLAGS=$ac_save_CPPFLAGS
16442 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16443 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16446 if test "x$LDAP_LIBS" = "x"; then :
16447 case "x$with_ldap" in
16448 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
16449 xno) ;;
16450 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
16451 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
16452 esac
16456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
16457 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
16458 if ${wine_cv_one_arg_mkdir+:} false; then :
16459 $as_echo_n "(cached) " >&6
16460 else
16461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16462 /* end confdefs.h. */
16463 #include <sys/stat.h>
16465 main ()
16467 mkdir("foo");
16469 return 0;
16471 _ACEOF
16472 if ac_fn_c_try_compile "$LINENO"; then :
16473 wine_cv_one_arg_mkdir=yes
16474 else
16475 wine_cv_one_arg_mkdir=no
16477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
16480 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
16481 if test "$wine_cv_one_arg_mkdir" = "yes"
16482 then
16484 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
16488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
16489 $as_echo_n "checking for sched_setaffinity... " >&6; }
16490 if ${wine_cv_have_sched_setaffinity+:} false; then :
16491 $as_echo_n "(cached) " >&6
16492 else
16493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16494 /* end confdefs.h. */
16495 #define _GNU_SOURCE
16496 #include <sched.h>
16498 main ()
16500 sched_setaffinity(0, 0, 0);
16502 return 0;
16504 _ACEOF
16505 if ac_fn_c_try_link "$LINENO"; then :
16506 wine_cv_have_sched_setaffinity=yes
16507 else
16508 wine_cv_have_sched_setaffinity=no
16510 rm -f core conftest.err conftest.$ac_objext \
16511 conftest$ac_exeext conftest.$ac_ext
16513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
16514 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
16515 if test "$wine_cv_have_sched_setaffinity" = "yes"
16516 then
16518 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
16522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
16523 $as_echo_n "checking for fallocate... " >&6; }
16524 if ${wine_cv_have_fallocate+:} false; then :
16525 $as_echo_n "(cached) " >&6
16526 else
16527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16528 /* end confdefs.h. */
16529 #define _GNU_SOURCE
16530 #include <fcntl.h>
16532 main ()
16534 fallocate(-1, 0, 0, 0);
16536 return 0;
16538 _ACEOF
16539 if ac_fn_c_try_link "$LINENO"; then :
16540 wine_cv_have_fallocate=yes
16541 else
16542 wine_cv_have_fallocate=no
16544 rm -f core conftest.err conftest.$ac_objext \
16545 conftest$ac_exeext conftest.$ac_ext
16547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
16548 $as_echo "$wine_cv_have_fallocate" >&6; }
16549 if test "$wine_cv_have_fallocate" = "yes"
16550 then
16552 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
16557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
16558 $as_echo_n "checking for inline... " >&6; }
16559 if ${ac_cv_c_inline+:} false; then :
16560 $as_echo_n "(cached) " >&6
16561 else
16562 ac_cv_c_inline=no
16563 for ac_kw in inline __inline__ __inline; do
16564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16565 /* end confdefs.h. */
16566 #ifndef __cplusplus
16567 typedef int foo_t;
16568 static $ac_kw foo_t static_foo () {return 0; }
16569 $ac_kw foo_t foo () {return 0; }
16570 #endif
16572 _ACEOF
16573 if ac_fn_c_try_compile "$LINENO"; then :
16574 ac_cv_c_inline=$ac_kw
16576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16577 test "$ac_cv_c_inline" != no && break
16578 done
16581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
16582 $as_echo "$ac_cv_c_inline" >&6; }
16584 case $ac_cv_c_inline in
16585 inline | yes) ;;
16587 case $ac_cv_c_inline in
16588 no) ac_val=;;
16589 *) ac_val=$ac_cv_c_inline;;
16590 esac
16591 cat >>confdefs.h <<_ACEOF
16592 #ifndef __cplusplus
16593 #define inline $ac_val
16594 #endif
16595 _ACEOF
16597 esac
16599 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
16600 if test "x$ac_cv_type_mode_t" = xyes; then :
16602 cat >>confdefs.h <<_ACEOF
16603 #define HAVE_MODE_T 1
16604 _ACEOF
16608 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16609 if test "x$ac_cv_type_off_t" = xyes; then :
16611 cat >>confdefs.h <<_ACEOF
16612 #define HAVE_OFF_T 1
16613 _ACEOF
16617 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16618 if test "x$ac_cv_type_pid_t" = xyes; then :
16620 cat >>confdefs.h <<_ACEOF
16621 #define HAVE_PID_T 1
16622 _ACEOF
16626 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16627 if test "x$ac_cv_type_size_t" = xyes; then :
16629 cat >>confdefs.h <<_ACEOF
16630 #define HAVE_SIZE_T 1
16631 _ACEOF
16635 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16636 if test "x$ac_cv_type_ssize_t" = xyes; then :
16638 cat >>confdefs.h <<_ACEOF
16639 #define HAVE_SSIZE_T 1
16640 _ACEOF
16644 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16645 if test "x$ac_cv_type_long_long" = xyes; then :
16647 cat >>confdefs.h <<_ACEOF
16648 #define HAVE_LONG_LONG 1
16649 _ACEOF
16653 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16654 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16656 cat >>confdefs.h <<_ACEOF
16657 #define HAVE_FSBLKCNT_T 1
16658 _ACEOF
16662 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16663 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16665 cat >>confdefs.h <<_ACEOF
16666 #define HAVE_FSFILCNT_T 1
16667 _ACEOF
16672 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16673 #include <signal.h>
16675 if test "x$ac_cv_type_sigset_t" = xyes; then :
16677 cat >>confdefs.h <<_ACEOF
16678 #define HAVE_SIGSET_T 1
16679 _ACEOF
16684 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16686 if test "x$ac_cv_type_request_sense" = xyes; then :
16688 cat >>confdefs.h <<_ACEOF
16689 #define HAVE_REQUEST_SENSE 1
16690 _ACEOF
16696 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16697 #ifdef HAVE_SYS_SOCKET_H
16698 #include <sys/socket.h>
16699 #endif
16700 #ifdef HAVE_SYS_SOCKETVAR_H
16701 #include <sys/socketvar.h>
16702 #endif
16703 #ifdef HAVE_NET_ROUTE_H
16704 #include <net/route.h>
16705 #endif
16706 #ifdef HAVE_NETINET_IN_H
16707 #include <netinet/in.h>
16708 #endif
16709 #ifdef HAVE_NETINET_IN_SYSTM_H
16710 #include <netinet/in_systm.h>
16711 #endif
16712 #ifdef HAVE_NETINET_IP_H
16713 #include <netinet/ip.h>
16714 #endif
16715 #ifdef HAVE_NETINET_IN_PCB_H
16716 #include <netinet/in_pcb.h>
16717 #endif
16719 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16721 cat >>confdefs.h <<_ACEOF
16722 #define HAVE_STRUCT_XINPGEN 1
16723 _ACEOF
16729 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16730 #include <link.h>
16731 #endif
16732 #ifdef HAVE_SYS_LINK_H
16733 #include <sys/link.h>
16734 #endif
16736 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16738 cat >>confdefs.h <<_ACEOF
16739 #define HAVE_STRUCT_R_DEBUG 1
16740 _ACEOF
16744 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16745 #include <link.h>
16746 #endif
16747 #ifdef HAVE_SYS_LINK_H
16748 #include <sys/link.h>
16749 #endif
16751 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16753 cat >>confdefs.h <<_ACEOF
16754 #define HAVE_STRUCT_LINK_MAP 1
16755 _ACEOF
16761 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16762 #include <linux/input.h>
16763 #endif
16765 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16767 cat >>confdefs.h <<_ACEOF
16768 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16769 _ACEOF
16775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
16776 $as_echo_n "checking for if_nameindex... " >&6; }
16777 if ${wine_cv_have_if_nameindex+:} false; then :
16778 $as_echo_n "(cached) " >&6
16779 else
16780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16781 /* end confdefs.h. */
16782 #ifdef HAVE_SYS_TYPES_H
16783 #include <sys/types.h>
16784 #endif
16785 #ifdef HAVE_SYS_SOCKET_H
16786 #include <sys/socket.h>
16787 #endif
16788 #ifdef HAVE_NET_IF_H
16789 # include <net/if.h>
16790 #endif
16792 main ()
16794 struct if_nameindex *p = if_nameindex(); return p->if_index;
16796 return 0;
16798 _ACEOF
16799 if ac_fn_c_try_link "$LINENO"; then :
16800 wine_cv_have_if_nameindex=yes
16801 else
16802 wine_cv_have_if_nameindex=no
16804 rm -f core conftest.err conftest.$ac_objext \
16805 conftest$ac_exeext conftest.$ac_ext
16807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
16808 $as_echo "$wine_cv_have_if_nameindex" >&6; }
16809 if test "$wine_cv_have_if_nameindex" = "yes"
16810 then
16812 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
16816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16817 $as_echo_n "checking for sigaddset... " >&6; }
16818 if ${wine_cv_have_sigaddset+:} false; then :
16819 $as_echo_n "(cached) " >&6
16820 else
16821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16822 /* end confdefs.h. */
16823 #include <signal.h>
16825 main ()
16827 sigset_t set; sigaddset(&set,SIGTERM);
16829 return 0;
16831 _ACEOF
16832 if ac_fn_c_try_link "$LINENO"; then :
16833 wine_cv_have_sigaddset=yes
16834 else
16835 wine_cv_have_sigaddset=no
16837 rm -f core conftest.err conftest.$ac_objext \
16838 conftest$ac_exeext conftest.$ac_ext
16840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16841 $as_echo "$wine_cv_have_sigaddset" >&6; }
16842 if test "$wine_cv_have_sigaddset" = "yes"
16843 then
16845 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16851 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16852 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16853 $as_echo_n "(cached) " >&6
16854 else
16855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16856 /* end confdefs.h. */
16857 #include <netdb.h>
16859 main ()
16862 char *name=0;
16863 struct hostent he;
16864 struct hostent *result;
16865 char *buf=0;
16866 int bufsize=0;
16867 int errnr;
16868 char *addr=0;
16869 int addrlen=0;
16870 int addrtype=0;
16871 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16872 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16875 return 0;
16877 _ACEOF
16878 if ac_fn_c_try_link "$LINENO"; then :
16879 wine_cv_linux_gethostbyname_r_6=yes
16880 else
16881 wine_cv_linux_gethostbyname_r_6=no
16884 rm -f core conftest.err conftest.$ac_objext \
16885 conftest$ac_exeext conftest.$ac_ext
16888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16889 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16890 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16891 then
16893 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16897 if test "$ac_cv_header_linux_joystick_h" = "yes"
16898 then
16899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16900 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16901 if ${wine_cv_linux_joystick_22_api+:} false; then :
16902 $as_echo_n "(cached) " >&6
16903 else
16904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16905 /* end confdefs.h. */
16907 #include <sys/ioctl.h>
16908 #include <sys/types.h>
16909 #include <linux/joystick.h>
16911 struct js_event blub;
16912 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16913 #error "no 2.2 header"
16914 #endif
16917 main ()
16919 /*empty*/
16921 return 0;
16923 _ACEOF
16924 if ac_fn_c_try_compile "$LINENO"; then :
16925 wine_cv_linux_joystick_22_api=yes
16926 else
16927 wine_cv_linux_joystick_22_api=no
16929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16933 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16934 if test "$wine_cv_linux_joystick_22_api" = "yes"
16935 then
16937 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16943 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16944 #ifdef HAVE_SYS_PARAM_H
16945 # include <sys/param.h>
16946 #endif
16947 #ifdef HAVE_SYS_MOUNT_H
16948 # include <sys/mount.h>
16949 #endif
16950 #ifdef HAVE_SYS_VFS_H
16951 # include <sys/vfs.h>
16952 #endif
16953 #ifdef HAVE_SYS_STATFS_H
16954 # include <sys/statfs.h>
16955 #endif
16957 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16959 cat >>confdefs.h <<_ACEOF
16960 #define HAVE_STRUCT_STATFS_F_BFREE 1
16961 _ACEOF
16965 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16966 #ifdef HAVE_SYS_PARAM_H
16967 # include <sys/param.h>
16968 #endif
16969 #ifdef HAVE_SYS_MOUNT_H
16970 # include <sys/mount.h>
16971 #endif
16972 #ifdef HAVE_SYS_VFS_H
16973 # include <sys/vfs.h>
16974 #endif
16975 #ifdef HAVE_SYS_STATFS_H
16976 # include <sys/statfs.h>
16977 #endif
16979 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16981 cat >>confdefs.h <<_ACEOF
16982 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16983 _ACEOF
16987 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16988 #ifdef HAVE_SYS_PARAM_H
16989 # include <sys/param.h>
16990 #endif
16991 #ifdef HAVE_SYS_MOUNT_H
16992 # include <sys/mount.h>
16993 #endif
16994 #ifdef HAVE_SYS_VFS_H
16995 # include <sys/vfs.h>
16996 #endif
16997 #ifdef HAVE_SYS_STATFS_H
16998 # include <sys/statfs.h>
16999 #endif
17001 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
17003 cat >>confdefs.h <<_ACEOF
17004 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
17005 _ACEOF
17009 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
17010 #ifdef HAVE_SYS_PARAM_H
17011 # include <sys/param.h>
17012 #endif
17013 #ifdef HAVE_SYS_MOUNT_H
17014 # include <sys/mount.h>
17015 #endif
17016 #ifdef HAVE_SYS_VFS_H
17017 # include <sys/vfs.h>
17018 #endif
17019 #ifdef HAVE_SYS_STATFS_H
17020 # include <sys/statfs.h>
17021 #endif
17023 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
17025 cat >>confdefs.h <<_ACEOF
17026 #define HAVE_STRUCT_STATFS_F_FFREE 1
17027 _ACEOF
17031 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
17032 #ifdef HAVE_SYS_PARAM_H
17033 # include <sys/param.h>
17034 #endif
17035 #ifdef HAVE_SYS_MOUNT_H
17036 # include <sys/mount.h>
17037 #endif
17038 #ifdef HAVE_SYS_VFS_H
17039 # include <sys/vfs.h>
17040 #endif
17041 #ifdef HAVE_SYS_STATFS_H
17042 # include <sys/statfs.h>
17043 #endif
17045 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
17047 cat >>confdefs.h <<_ACEOF
17048 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
17049 _ACEOF
17053 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
17054 #ifdef HAVE_SYS_PARAM_H
17055 # include <sys/param.h>
17056 #endif
17057 #ifdef HAVE_SYS_MOUNT_H
17058 # include <sys/mount.h>
17059 #endif
17060 #ifdef HAVE_SYS_VFS_H
17061 # include <sys/vfs.h>
17062 #endif
17063 #ifdef HAVE_SYS_STATFS_H
17064 # include <sys/statfs.h>
17065 #endif
17067 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
17069 cat >>confdefs.h <<_ACEOF
17070 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
17071 _ACEOF
17077 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
17078 #include <sys/statvfs.h>
17079 #endif
17081 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
17083 cat >>confdefs.h <<_ACEOF
17084 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
17085 _ACEOF
17091 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
17092 #include <dirent.h>
17093 #endif
17095 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
17097 cat >>confdefs.h <<_ACEOF
17098 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
17099 _ACEOF
17105 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
17106 #ifdef HAVE_SYS_SOCKET_H
17107 # include <sys/socket.h>
17108 #endif
17109 #ifdef HAVE_SYS_UN_H
17110 # include <sys/un.h>
17111 #endif
17113 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
17115 cat >>confdefs.h <<_ACEOF
17116 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
17117 _ACEOF
17121 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
17122 #ifdef HAVE_SYS_SOCKET_H
17123 # include <sys/socket.h>
17124 #endif
17125 #ifdef HAVE_SYS_UN_H
17126 # include <sys/un.h>
17127 #endif
17129 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
17131 cat >>confdefs.h <<_ACEOF
17132 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
17133 _ACEOF
17137 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
17138 #ifdef HAVE_SYS_SOCKET_H
17139 # include <sys/socket.h>
17140 #endif
17141 #ifdef HAVE_SYS_UN_H
17142 # include <sys/un.h>
17143 #endif
17145 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
17147 cat >>confdefs.h <<_ACEOF
17148 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
17149 _ACEOF
17155 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
17156 #ifdef HAVE_SCSI_SG_H
17157 #include <scsi/sg.h>
17158 #endif
17160 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
17162 cat >>confdefs.h <<_ACEOF
17163 #define HAVE_SCSIREQ_T_CMD 1
17164 _ACEOF
17168 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>
17169 #ifdef HAVE_SCSI_SG_H
17170 #include <scsi/sg.h>
17171 #endif
17173 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
17175 cat >>confdefs.h <<_ACEOF
17176 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
17177 _ACEOF
17183 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
17185 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
17187 cat >>confdefs.h <<_ACEOF
17188 #define HAVE_SIGINFO_T_SI_FD 1
17189 _ACEOF
17195 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
17196 #ifdef HAVE_SYS_MTIO_H
17197 #include <sys/mtio.h>
17198 #endif
17200 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
17202 cat >>confdefs.h <<_ACEOF
17203 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
17204 _ACEOF
17208 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
17209 #ifdef HAVE_SYS_MTIO_H
17210 #include <sys/mtio.h>
17211 #endif
17213 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
17215 cat >>confdefs.h <<_ACEOF
17216 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
17217 _ACEOF
17221 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
17222 #ifdef HAVE_SYS_MTIO_H
17223 #include <sys/mtio.h>
17224 #endif
17226 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
17228 cat >>confdefs.h <<_ACEOF
17229 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
17230 _ACEOF
17236 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
17237 #include <getopt.h>
17238 #endif
17240 if test "x$ac_cv_member_struct_option_name" = xyes; then :
17242 cat >>confdefs.h <<_ACEOF
17243 #define HAVE_STRUCT_OPTION_NAME 1
17244 _ACEOF
17250 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
17251 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
17253 cat >>confdefs.h <<_ACEOF
17254 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17255 _ACEOF
17259 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
17260 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
17262 cat >>confdefs.h <<_ACEOF
17263 #define HAVE_STRUCT_STAT_ST_MTIM 1
17264 _ACEOF
17268 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
17269 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
17271 cat >>confdefs.h <<_ACEOF
17272 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
17273 _ACEOF
17277 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
17278 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
17280 cat >>confdefs.h <<_ACEOF
17281 #define HAVE_STRUCT_STAT_ST_CTIM 1
17282 _ACEOF
17286 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
17287 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
17289 cat >>confdefs.h <<_ACEOF
17290 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
17291 _ACEOF
17295 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
17296 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
17298 cat >>confdefs.h <<_ACEOF
17299 #define HAVE_STRUCT_STAT_ST_ATIM 1
17300 _ACEOF
17304 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
17305 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
17307 cat >>confdefs.h <<_ACEOF
17308 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
17309 _ACEOF
17313 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
17314 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
17316 cat >>confdefs.h <<_ACEOF
17317 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
17318 _ACEOF
17322 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
17323 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
17325 cat >>confdefs.h <<_ACEOF
17326 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
17327 _ACEOF
17331 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
17332 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
17334 cat >>confdefs.h <<_ACEOF
17335 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
17336 _ACEOF
17340 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
17341 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
17343 cat >>confdefs.h <<_ACEOF
17344 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
17345 _ACEOF
17349 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
17350 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
17352 cat >>confdefs.h <<_ACEOF
17353 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
17354 _ACEOF
17360 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
17361 #include <sys/types.h>
17362 #endif
17363 #ifdef HAVE_NETINET_IN_H
17364 #include <netinet/in.h>
17365 #endif
17367 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
17369 cat >>confdefs.h <<_ACEOF
17370 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
17371 _ACEOF
17377 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
17378 #include <sys/types.h>
17379 #endif
17380 #ifdef HAVE_NETINET_IN_H
17381 #include <netinet/in.h>
17382 #endif
17383 #ifdef HAVE_RESOLV_H
17384 #include <resolv.h>
17385 #endif
17387 if test "x$ac_cv_type_struct___res_state" = xyes; then :
17389 cat >>confdefs.h <<_ACEOF
17390 #define HAVE_STRUCT___RES_STATE 1
17391 _ACEOF
17397 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
17398 #include <resolv.h>
17399 #endif
17401 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
17403 cat >>confdefs.h <<_ACEOF
17404 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
17405 _ACEOF
17411 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
17412 #include <sys/types.h>
17413 #endif
17414 #ifdef HAVE_NETINET_IN_H
17415 # include <netinet/in.h>
17416 #endif
17417 #ifdef HAVE_ARPA_NAMESER_H
17418 # include <arpa/nameser.h>
17419 #endif
17421 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
17423 cat >>confdefs.h <<_ACEOF
17424 #define HAVE_NS_MSG__MSG_PTR 1
17425 _ACEOF
17431 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
17432 #include <sys/types.h>
17433 #endif
17434 #ifdef HAVE_NETINET_IN_H
17435 #include <netinet/in.h>
17436 #endif
17437 #ifdef HAVE_NETINET_IP_H
17438 #include <netinet/ip.h>
17439 #endif
17440 #ifdef HAVE_NETINET_IP_ICMP_H
17441 #include <netinet/ip_icmp.h>
17442 #endif
17443 #ifdef HAVE_NETINET_ICMP_VAR_H
17444 #include <netinet/icmp_var.h>
17445 #endif
17447 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
17449 cat >>confdefs.h <<_ACEOF
17450 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
17451 _ACEOF
17457 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
17458 #include <sys/types.h>
17459 #endif
17460 #ifdef HAVE_ALIAS_H
17461 #include <alias.h>
17462 #endif
17463 #ifdef HAVE_SYS_SOCKET_H
17464 #include <sys/socket.h>
17465 #endif
17466 #ifdef HAVE_SYS_SOCKETVAR_H
17467 #include <sys/socketvar.h>
17468 #endif
17469 #ifdef HAVE_SYS_TIMEOUT_H
17470 #include <sys/timeout.h>
17471 #endif
17472 #ifdef HAVE_NETINET_IN_H
17473 #include <netinet/in.h>
17474 #endif
17475 #ifdef HAVE_NETINET_IN_SYSTM_H
17476 #include <netinet/in_systm.h>
17477 #endif
17478 #ifdef HAVE_NETINET_IP_H
17479 #include <netinet/ip.h>
17480 #endif
17481 #ifdef HAVE_NETINET_IP_VAR_H
17482 #include <netinet/ip_var.h>
17483 #endif
17484 #ifdef HAVE_NETINET_IP_ICMP_H
17485 #include <netinet/ip_icmp.h>
17486 #endif
17487 #ifdef HAVE_NETINET_ICMP_VAR_H
17488 #include <netinet/icmp_var.h>
17489 #endif
17491 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
17493 cat >>confdefs.h <<_ACEOF
17494 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
17495 _ACEOF
17501 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
17502 #include <sys/types.h>
17503 #endif
17504 #ifdef HAVE_SYS_SOCKETVAR_H
17505 #include <sys/socketvar.h>
17506 #endif
17507 #ifdef HAVE_NETINET_IN_H
17508 #include <netinet/in.h>
17509 #endif
17510 #ifdef HAVE_NETINET_IP_VAR_H
17511 #include <netinet/ip_var.h>
17512 #endif
17514 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
17516 cat >>confdefs.h <<_ACEOF
17517 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
17518 _ACEOF
17524 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
17525 #include <netinet/ip_var.h>
17526 #endif
17528 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
17530 cat >>confdefs.h <<_ACEOF
17531 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
17532 _ACEOF
17538 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
17539 #include <sys/types.h>
17540 #endif
17541 #ifdef HAVE_SYS_SOCKETVAR_H
17542 #include <sys/socketvar.h>
17543 #endif
17544 #ifdef HAVE_NETINET_IN_H
17545 #include <netinet/in.h>
17546 #endif
17547 #ifdef HAVE_NETINET_TCP_H
17548 #include <netinet/tcp.h>
17549 #endif
17550 #ifdef HAVE_NETINET_TCP_VAR_H
17551 #include <netinet/tcp_var.h>
17552 #endif
17554 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
17556 cat >>confdefs.h <<_ACEOF
17557 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
17558 _ACEOF
17564 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
17565 #include <netinet/tcp_var.h>
17566 #endif
17568 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
17570 cat >>confdefs.h <<_ACEOF
17571 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
17572 _ACEOF
17578 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
17579 #include <sys/types.h>
17580 #endif
17581 #ifdef HAVE_NETINET_IN_H
17582 #include <netinet/in.h>
17583 #endif
17584 #ifdef HAVE_NETINET_IP_VAR_H
17585 #include <netinet/ip_var.h>
17586 #endif
17587 #ifdef HAVE_NETINET_UDP_H
17588 #include <netinet/udp.h>
17589 #endif
17590 #ifdef HAVE_NETINET_UDP_VAR_H
17591 #include <netinet/udp_var.h>
17592 #endif
17594 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
17596 cat >>confdefs.h <<_ACEOF
17597 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
17598 _ACEOF
17604 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
17605 #include <sys/types.h>
17606 #endif
17607 #ifdef HAVE_NET_IF_H
17608 # include <net/if.h>
17609 #endif
17611 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
17613 cat >>confdefs.h <<_ACEOF
17614 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
17615 _ACEOF
17621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
17622 $as_echo_n "checking for timezone variable... " >&6; }
17623 if ${ac_cv_have_timezone+:} false; then :
17624 $as_echo_n "(cached) " >&6
17625 else
17626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17627 /* end confdefs.h. */
17628 #include <time.h>
17630 main ()
17632 timezone = 1
17634 return 0;
17636 _ACEOF
17637 if ac_fn_c_try_link "$LINENO"; then :
17638 ac_cv_have_timezone="yes"
17639 else
17640 ac_cv_have_timezone="no"
17642 rm -f core conftest.err conftest.$ac_objext \
17643 conftest$ac_exeext conftest.$ac_ext
17645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
17646 $as_echo "$ac_cv_have_timezone" >&6; }
17647 if test "$ac_cv_have_timezone" = "yes"
17648 then
17650 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17654 $as_echo_n "checking for daylight variable... " >&6; }
17655 if ${ac_cv_have_daylight+:} false; then :
17656 $as_echo_n "(cached) " >&6
17657 else
17658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17659 /* end confdefs.h. */
17660 #include <time.h>
17662 main ()
17664 daylight = 1
17666 return 0;
17668 _ACEOF
17669 if ac_fn_c_try_link "$LINENO"; then :
17670 ac_cv_have_daylight="yes"
17671 else
17672 ac_cv_have_daylight="no"
17674 rm -f core conftest.err conftest.$ac_objext \
17675 conftest$ac_exeext conftest.$ac_ext
17677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17678 $as_echo "$ac_cv_have_daylight" >&6; }
17679 if test "$ac_cv_have_daylight" = "yes"
17680 then
17682 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17686 ac_save_LIBS="$LIBS"
17687 LIBS="$LIBS -lm"
17688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17689 $as_echo_n "checking for isfinite... " >&6; }
17690 if ${ac_cv_have_isfinite+:} false; then :
17691 $as_echo_n "(cached) " >&6
17692 else
17693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17694 /* end confdefs.h. */
17695 #define _GNU_SOURCE
17696 #include <math.h>
17698 main ()
17700 float f = 0.0; return isfinite(f)
17702 return 0;
17704 _ACEOF
17705 if ac_fn_c_try_link "$LINENO"; then :
17706 ac_cv_have_isfinite="yes"
17707 else
17708 ac_cv_have_isfinite="no"
17710 rm -f core conftest.err conftest.$ac_objext \
17711 conftest$ac_exeext conftest.$ac_ext
17713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17714 $as_echo "$ac_cv_have_isfinite" >&6; }
17715 if test "$ac_cv_have_isfinite" = "yes"
17716 then
17718 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17723 $as_echo_n "checking for isinf... " >&6; }
17724 if ${ac_cv_have_isinf+:} false; then :
17725 $as_echo_n "(cached) " >&6
17726 else
17727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17728 /* end confdefs.h. */
17729 #include <math.h>
17731 main ()
17733 float f = 0.0; return isinf(f)
17735 return 0;
17737 _ACEOF
17738 if ac_fn_c_try_link "$LINENO"; then :
17739 ac_cv_have_isinf="yes"
17740 else
17741 ac_cv_have_isinf="no"
17743 rm -f core conftest.err conftest.$ac_objext \
17744 conftest$ac_exeext conftest.$ac_ext
17746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17747 $as_echo "$ac_cv_have_isinf" >&6; }
17748 if test "$ac_cv_have_isinf" = "yes"
17749 then
17751 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17756 $as_echo_n "checking for isnan... " >&6; }
17757 if ${ac_cv_have_isnan+:} false; then :
17758 $as_echo_n "(cached) " >&6
17759 else
17760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17761 /* end confdefs.h. */
17762 #include <math.h>
17764 main ()
17766 float f = 0.0; return isnan(f)
17768 return 0;
17770 _ACEOF
17771 if ac_fn_c_try_link "$LINENO"; then :
17772 ac_cv_have_isnan="yes"
17773 else
17774 ac_cv_have_isnan="no"
17776 rm -f core conftest.err conftest.$ac_objext \
17777 conftest$ac_exeext conftest.$ac_ext
17779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17780 $as_echo "$ac_cv_have_isnan" >&6; }
17781 if test "$ac_cv_have_isnan" = "yes"
17782 then
17784 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17788 for ac_func in \
17789 acosh \
17790 acoshf \
17791 asinh \
17792 asinhf \
17793 atanh \
17794 atanhf \
17795 cbrt \
17796 cbrtf \
17797 erf \
17798 erfc \
17799 erfcf \
17800 erff \
17801 exp2 \
17802 exp2f \
17803 expm1 \
17804 expm1f \
17805 lgamma \
17806 lgammaf \
17807 llrint \
17808 llrintf \
17809 llround \
17810 llroundf \
17811 log1p \
17812 log1pf \
17813 log2 \
17814 log2f \
17815 lrint \
17816 lrintf \
17817 lround \
17818 lroundf \
17819 nearbyint \
17820 nearbyintf \
17821 powl \
17822 remainder \
17823 remainderf \
17824 rint \
17825 rintf \
17826 round \
17827 roundf \
17828 trunc \
17829 truncf
17831 do :
17832 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17833 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17834 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17835 cat >>confdefs.h <<_ACEOF
17836 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17837 _ACEOF
17840 done
17842 LIBS="$ac_save_LIBS"
17844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17845 $as_echo_n "checking for __builtin_clz... " >&6; }
17846 if ${ac_cv_have___builtin_clz+:} false; then :
17847 $as_echo_n "(cached) " >&6
17848 else
17849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17850 /* end confdefs.h. */
17853 main ()
17855 return __builtin_clz(1)
17857 return 0;
17859 _ACEOF
17860 if ac_fn_c_try_link "$LINENO"; then :
17861 ac_cv_have___builtin_clz="yes"
17862 else
17863 ac_cv_have___builtin_clz="no"
17865 rm -f core conftest.err conftest.$ac_objext \
17866 conftest$ac_exeext conftest.$ac_ext
17868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17869 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17870 if test "$ac_cv_have___builtin_clz" = "yes"
17871 then
17873 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17878 $as_echo_n "checking for __builtin_popcount... " >&6; }
17879 if ${ac_cv_have___builtin_popcount+:} false; then :
17880 $as_echo_n "(cached) " >&6
17881 else
17882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17883 /* end confdefs.h. */
17886 main ()
17888 return __builtin_popcount(1)
17890 return 0;
17892 _ACEOF
17893 if ac_fn_c_try_link "$LINENO"; then :
17894 ac_cv_have___builtin_popcount="yes"
17895 else
17896 ac_cv_have___builtin_popcount="no"
17898 rm -f core conftest.err conftest.$ac_objext \
17899 conftest$ac_exeext conftest.$ac_ext
17901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17902 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17903 if test "$ac_cv_have___builtin_popcount" = "yes"
17904 then
17906 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
17911 $as_echo_n "checking for __clear_cache... " >&6; }
17912 if ${ac_cv_have___clear_cache+:} false; then :
17913 $as_echo_n "(cached) " >&6
17914 else
17915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17916 /* end confdefs.h. */
17919 main ()
17921 __clear_cache((void*)0, (void*)0); return 0;
17923 return 0;
17925 _ACEOF
17926 if ac_fn_c_try_link "$LINENO"; then :
17927 ac_cv_have___clear_cache="yes"
17928 else
17929 ac_cv_have___clear_cache="no"
17931 rm -f core conftest.err conftest.$ac_objext \
17932 conftest$ac_exeext conftest.$ac_ext
17934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
17935 $as_echo "$ac_cv_have___clear_cache" >&6; }
17936 if test "$ac_cv_have___clear_cache" = "yes"
17937 then
17939 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
17944 case $host_cpu in
17945 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17946 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17947 if ${ac_cv_cpp_def___i386__+:} false; then :
17948 $as_echo_n "(cached) " >&6
17949 else
17950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17951 /* end confdefs.h. */
17952 #ifndef __i386__
17954 #endif
17955 _ACEOF
17956 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17957 $EGREP "yes" >/dev/null 2>&1; then :
17958 ac_cv_cpp_def___i386__=yes
17959 else
17960 ac_cv_cpp_def___i386__=no
17962 rm -f conftest*
17965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17966 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17967 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17968 CFLAGS="$CFLAGS -D__i386__"
17969 LINTFLAGS="$LINTFLAGS -D__i386__"
17970 fi ;;
17971 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17972 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17973 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17974 $as_echo_n "(cached) " >&6
17975 else
17976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17977 /* end confdefs.h. */
17978 #ifndef __x86_64__
17980 #endif
17981 _ACEOF
17982 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17983 $EGREP "yes" >/dev/null 2>&1; then :
17984 ac_cv_cpp_def___x86_64__=yes
17985 else
17986 ac_cv_cpp_def___x86_64__=no
17988 rm -f conftest*
17991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17992 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17993 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17994 CFLAGS="$CFLAGS -D__x86_64__"
17995 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17996 fi ;;
17997 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17998 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17999 if ${ac_cv_cpp_def___sparc64__+:} false; then :
18000 $as_echo_n "(cached) " >&6
18001 else
18002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18003 /* end confdefs.h. */
18004 #ifndef __sparc64__
18006 #endif
18007 _ACEOF
18008 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18009 $EGREP "yes" >/dev/null 2>&1; then :
18010 ac_cv_cpp_def___sparc64__=yes
18011 else
18012 ac_cv_cpp_def___sparc64__=no
18014 rm -f conftest*
18017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
18018 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
18019 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
18020 CFLAGS="$CFLAGS -D__sparc64__"
18021 LINTFLAGS="$LINTFLAGS -D__sparc64__"
18022 fi ;;
18023 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
18024 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
18025 if ${ac_cv_cpp_def___sparc__+:} false; then :
18026 $as_echo_n "(cached) " >&6
18027 else
18028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18029 /* end confdefs.h. */
18030 #ifndef __sparc__
18032 #endif
18033 _ACEOF
18034 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18035 $EGREP "yes" >/dev/null 2>&1; then :
18036 ac_cv_cpp_def___sparc__=yes
18037 else
18038 ac_cv_cpp_def___sparc__=no
18040 rm -f conftest*
18043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
18044 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
18045 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
18046 CFLAGS="$CFLAGS -D__sparc__"
18047 LINTFLAGS="$LINTFLAGS -D__sparc__"
18048 fi ;;
18049 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
18050 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
18051 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
18052 $as_echo_n "(cached) " >&6
18053 else
18054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18055 /* end confdefs.h. */
18056 #ifndef __powerpc64__
18058 #endif
18059 _ACEOF
18060 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18061 $EGREP "yes" >/dev/null 2>&1; then :
18062 ac_cv_cpp_def___powerpc64__=yes
18063 else
18064 ac_cv_cpp_def___powerpc64__=no
18066 rm -f conftest*
18069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
18070 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
18071 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
18072 CFLAGS="$CFLAGS -D__powerpc64__"
18073 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
18074 fi ;;
18075 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
18076 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
18077 if ${ac_cv_cpp_def___powerpc__+:} false; then :
18078 $as_echo_n "(cached) " >&6
18079 else
18080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18081 /* end confdefs.h. */
18082 #ifndef __powerpc__
18084 #endif
18085 _ACEOF
18086 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18087 $EGREP "yes" >/dev/null 2>&1; then :
18088 ac_cv_cpp_def___powerpc__=yes
18089 else
18090 ac_cv_cpp_def___powerpc__=no
18092 rm -f conftest*
18095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
18096 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
18097 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
18098 CFLAGS="$CFLAGS -D__powerpc__"
18099 LINTFLAGS="$LINTFLAGS -D__powerpc__"
18100 fi ;;
18101 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
18102 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
18103 if ${ac_cv_cpp_def___aarch64__+:} false; then :
18104 $as_echo_n "(cached) " >&6
18105 else
18106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18107 /* end confdefs.h. */
18108 #ifndef __aarch64__
18110 #endif
18111 _ACEOF
18112 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18113 $EGREP "yes" >/dev/null 2>&1; then :
18114 ac_cv_cpp_def___aarch64__=yes
18115 else
18116 ac_cv_cpp_def___aarch64__=no
18118 rm -f conftest*
18121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
18122 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
18123 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
18124 CFLAGS="$CFLAGS -D__aarch64__"
18125 LINTFLAGS="$LINTFLAGS -D__aarch64__"
18126 fi ;;
18127 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
18128 $as_echo_n "checking whether we need to define __arm__... " >&6; }
18129 if ${ac_cv_cpp_def___arm__+:} false; then :
18130 $as_echo_n "(cached) " >&6
18131 else
18132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18133 /* end confdefs.h. */
18134 #ifndef __arm__
18136 #endif
18137 _ACEOF
18138 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18139 $EGREP "yes" >/dev/null 2>&1; then :
18140 ac_cv_cpp_def___arm__=yes
18141 else
18142 ac_cv_cpp_def___arm__=no
18144 rm -f conftest*
18147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
18148 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
18149 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
18150 CFLAGS="$CFLAGS -D__arm__"
18151 LINTFLAGS="$LINTFLAGS -D__arm__"
18152 fi ;;
18153 esac
18155 case $host_vendor in
18156 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
18157 $as_echo_n "checking whether we need to define __sun__... " >&6; }
18158 if ${ac_cv_cpp_def___sun__+:} false; then :
18159 $as_echo_n "(cached) " >&6
18160 else
18161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18162 /* end confdefs.h. */
18163 #ifndef __sun__
18165 #endif
18166 _ACEOF
18167 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18168 $EGREP "yes" >/dev/null 2>&1; then :
18169 ac_cv_cpp_def___sun__=yes
18170 else
18171 ac_cv_cpp_def___sun__=no
18173 rm -f conftest*
18176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
18177 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
18178 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
18179 CFLAGS="$CFLAGS -D__sun__"
18180 LINTFLAGS="$LINTFLAGS -D__sun__"
18181 fi ;;
18182 esac
18188 ac_config_commands="$ac_config_commands include/stamp-h"
18190 $as_echo_n "creating Makefile rules..." >&6
18192 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
18193 SOCKET_LIBS = $SOCKET_LIBS
18194 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
18195 IOKIT_LIBS = $IOKIT_LIBS
18196 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
18197 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
18198 CORESERVICES_LIBS = $CORESERVICES_LIBS
18199 APPKIT_LIBS = $APPKIT_LIBS
18200 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
18201 SECURITY_LIBS = $SECURITY_LIBS
18202 COREAUDIO_LIBS = $COREAUDIO_LIBS
18203 OPENAL_LIBS = $OPENAL_LIBS
18204 OPENCL_LIBS = $OPENCL_LIBS
18205 QUICKTIME_LIBS = $QUICKTIME_LIBS
18206 CARBON_LIBS = $CARBON_LIBS
18207 PTHREAD_LIBS = $PTHREAD_LIBS
18208 X_CFLAGS = $X_CFLAGS
18209 X_PRE_LIBS = $X_PRE_LIBS
18210 X_LIBS = $X_LIBS
18211 X_EXTRA_LIBS = $X_EXTRA_LIBS
18212 PCAP_LIBS = $PCAP_LIBS
18213 XML2_CFLAGS = $XML2_CFLAGS
18214 XML2_LIBS = $XML2_LIBS
18215 XSLT_CFLAGS = $XSLT_CFLAGS
18216 XSLT_LIBS = $XSLT_LIBS
18217 DBUS_CFLAGS = $DBUS_CFLAGS
18218 DBUS_LIBS = $DBUS_LIBS
18219 HAL_CFLAGS = $HAL_CFLAGS
18220 HAL_LIBS = $HAL_LIBS
18221 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
18222 GNUTLS_LIBS = $GNUTLS_LIBS
18223 SANE_CFLAGS = $SANE_CFLAGS
18224 SANE_LIBS = $SANE_LIBS
18225 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
18226 GPHOTO2_LIBS = $GPHOTO2_LIBS
18227 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
18228 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
18229 RESOLV_LIBS = $RESOLV_LIBS
18230 LCMS2_CFLAGS = $LCMS2_CFLAGS
18231 LCMS2_LIBS = $LCMS2_LIBS
18232 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
18233 FREETYPE_LIBS = $FREETYPE_LIBS
18234 Z_LIBS = $Z_LIBS
18235 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
18236 PULSE_CFLAGS = $PULSE_CFLAGS
18237 PULSE_LIBS = $PULSE_LIBS
18238 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
18239 GSTREAMER_LIBS = $GSTREAMER_LIBS
18240 ALSA_LIBS = $ALSA_LIBS
18241 OSS4_CFLAGS = $OSS4_CFLAGS
18242 UDEV_CFLAGS = $UDEV_CFLAGS
18243 UDEV_LIBS = $UDEV_LIBS
18244 CAPI20_CFLAGS = $CAPI20_CFLAGS
18245 CAPI20_LIBS = $CAPI20_LIBS
18246 CUPS_CFLAGS = $CUPS_CFLAGS
18247 CUPS_LIBS = $CUPS_LIBS
18248 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
18249 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
18250 KRB5_CFLAGS = $KRB5_CFLAGS
18251 KRB5_LIBS = $KRB5_LIBS
18252 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
18253 GSSAPI_LIBS = $GSSAPI_LIBS
18254 JPEG_CFLAGS = $JPEG_CFLAGS
18255 JPEG_LIBS = $JPEG_LIBS
18256 PNG_CFLAGS = $PNG_CFLAGS
18257 PNG_LIBS = $PNG_LIBS
18258 TIFF_CFLAGS = $TIFF_CFLAGS
18259 TIFF_LIBS = $TIFF_LIBS
18260 MPG123_CFLAGS = $MPG123_CFLAGS
18261 MPG123_LIBS = $MPG123_LIBS
18262 KSTAT_LIBS = $KSTAT_LIBS
18263 PROCSTAT_LIBS = $PROCSTAT_LIBS
18264 NETAPI_CFLAGS = $NETAPI_CFLAGS
18265 NETAPI_LIBS = $NETAPI_LIBS
18266 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
18267 DL_LIBS = $DL_LIBS
18268 POLL_LIBS = $POLL_LIBS
18269 RT_LIBS = $RT_LIBS
18270 LDAP_CFLAGS = $LDAP_CFLAGS
18271 LDAP_LIBS = $LDAP_LIBS
18276 wine_fn_append_rule "
18277 # Rules automatically generated by configure
18279 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
18281 .INIT: Makefile
18282 .MAKEFILEDEPS:
18283 all: Makefile
18284 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
18285 @./config.status Make.tmp Makefile
18286 depend: \$(MAKEDEP) dummy
18287 \$(MAKEDEP)"
18289 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
18290 @echo \"crosstest is not supported (mingw not installed?)\" && false"
18292 if test "x$enable_fonts" != xno; then
18293 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
18294 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
18295 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
18296 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
18297 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
18298 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
18300 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
18301 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
18302 ac_config_links="$ac_config_links wine:tools/winewrapper"
18303 wine_fn_config_symlink wine
18304 if test "x$enable_win64" != xno; then
18305 ac_config_links="$ac_config_links wine64:tools/winewrapper"
18306 wine_fn_config_symlink wine64
18309 wine_fn_config_dll acledit enable_acledit
18310 wine_fn_config_dll aclui enable_aclui implib
18311 wine_fn_config_dll activeds enable_activeds implib
18312 wine_fn_config_dll actxprxy enable_actxprxy clean
18313 wine_fn_config_lib adsiid
18314 wine_fn_config_dll adsldpc enable_adsldpc
18315 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
18316 wine_fn_config_test dlls/advapi32/tests advapi32_test
18317 wine_fn_config_dll advpack enable_advpack implib
18318 wine_fn_config_test dlls/advpack/tests advpack_test
18319 wine_fn_config_dll amstream enable_amstream clean
18320 wine_fn_config_test dlls/amstream/tests amstream_test
18321 wine_fn_config_dll api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
18322 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
18323 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
18324 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
18325 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
18326 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
18327 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
18328 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
18329 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
18330 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
18331 wine_fn_config_dll api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
18332 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
18333 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
18334 wine_fn_config_dll api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
18335 wine_fn_config_dll api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
18336 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
18337 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
18338 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
18339 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
18340 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
18341 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
18342 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
18343 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
18344 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
18345 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
18346 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
18347 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
18348 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
18349 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
18350 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
18351 wine_fn_config_dll api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
18352 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
18353 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
18354 wine_fn_config_dll api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
18355 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
18356 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
18357 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
18358 wine_fn_config_dll api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
18359 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
18360 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
18361 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
18362 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
18363 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
18364 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
18365 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
18366 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
18367 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
18368 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
18369 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
18370 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
18371 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
18372 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
18373 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
18374 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
18375 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
18376 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
18377 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
18378 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
18379 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
18380 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
18381 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
18382 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
18383 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
18384 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
18385 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
18386 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
18387 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
18388 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
18389 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
18390 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
18391 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
18392 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
18393 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
18394 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
18395 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
18396 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
18397 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
18398 wine_fn_config_dll api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
18399 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
18400 wine_fn_config_dll api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
18401 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
18402 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
18403 wine_fn_config_dll api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
18404 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
18405 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
18406 wine_fn_config_dll api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
18407 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
18408 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
18409 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
18410 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
18411 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
18412 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
18413 wine_fn_config_dll api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
18414 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
18415 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
18416 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
18417 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
18418 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
18419 wine_fn_config_dll api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
18420 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
18421 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
18422 wine_fn_config_dll api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
18423 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
18424 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
18425 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
18426 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
18427 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
18428 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
18429 wine_fn_config_dll api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
18430 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
18431 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
18432 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
18433 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
18434 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
18435 wine_fn_config_dll api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
18436 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
18437 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
18438 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
18439 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
18440 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
18441 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
18442 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
18443 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
18444 wine_fn_config_dll api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
18445 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
18446 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
18447 wine_fn_config_dll api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
18448 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
18449 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
18450 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
18451 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
18452 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
18453 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
18454 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
18455 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
18456 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
18457 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
18458 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
18459 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
18460 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
18461 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
18462 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
18463 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
18464 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
18465 wine_fn_config_dll api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
18466 wine_fn_config_dll api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
18467 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
18468 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
18469 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
18470 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
18471 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
18472 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
18473 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
18474 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
18475 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
18476 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
18477 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
18478 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
18479 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
18480 wine_fn_config_dll api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
18481 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
18482 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
18483 wine_fn_config_dll api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
18484 wine_fn_config_dll api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
18485 wine_fn_config_dll api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
18486 wine_fn_config_dll api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
18487 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
18488 wine_fn_config_dll api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
18489 wine_fn_config_dll api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
18490 wine_fn_config_dll api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
18491 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
18492 wine_fn_config_dll api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
18493 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
18494 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
18495 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
18496 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
18497 wine_fn_config_dll api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
18498 wine_fn_config_dll api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
18499 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
18500 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
18501 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
18502 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
18503 wine_fn_config_dll api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
18504 wine_fn_config_dll api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
18505 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
18506 wine_fn_config_dll api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
18507 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
18508 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
18509 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
18510 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
18511 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
18512 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
18513 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
18514 wine_fn_config_dll api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
18515 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
18516 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
18517 wine_fn_config_dll apphelp enable_apphelp
18518 wine_fn_config_test dlls/apphelp/tests apphelp_test
18519 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
18520 wine_fn_config_dll atl enable_atl clean,implib
18521 wine_fn_config_test dlls/atl/tests atl_test
18522 wine_fn_config_dll atl100 enable_atl100 clean,implib
18523 wine_fn_config_test dlls/atl100/tests atl100_test
18524 wine_fn_config_dll atl110 enable_atl110 clean
18525 wine_fn_config_dll atl80 enable_atl80 clean,implib
18526 wine_fn_config_test dlls/atl80/tests atl80_test
18527 wine_fn_config_dll atl90 enable_atl90 clean
18528 wine_fn_config_dll authz enable_authz
18529 wine_fn_config_dll avicap32 enable_avicap32 implib
18530 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
18531 wine_fn_config_test dlls/avifil32/tests avifil32_test
18532 wine_fn_config_dll avifile.dll16 enable_win16
18533 wine_fn_config_dll avrt enable_avrt implib
18534 wine_fn_config_dll bcrypt enable_bcrypt implib
18535 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
18536 wine_fn_config_dll bluetoothapis enable_bluetoothapis
18537 wine_fn_config_dll browseui enable_browseui clean
18538 wine_fn_config_test dlls/browseui/tests browseui_test
18539 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
18540 wine_fn_config_dll cabinet enable_cabinet implib
18541 wine_fn_config_test dlls/cabinet/tests cabinet_test
18542 wine_fn_config_dll capi2032 enable_capi2032 implib
18543 wine_fn_config_dll cards enable_cards implib
18544 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
18545 wine_fn_config_dll clusapi enable_clusapi implib
18546 wine_fn_config_dll combase enable_combase
18547 wine_fn_config_test dlls/combase/tests combase_test
18548 wine_fn_config_dll comcat enable_comcat
18549 wine_fn_config_test dlls/comcat/tests comcat_test
18550 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
18551 wine_fn_config_test dlls/comctl32/tests comctl32_test
18552 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
18553 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
18554 wine_fn_config_dll comm.drv16 enable_win16
18555 wine_fn_config_dll commdlg.dll16 enable_win16
18556 wine_fn_config_dll compobj.dll16 enable_win16
18557 wine_fn_config_dll compstui enable_compstui implib
18558 wine_fn_config_dll comsvcs enable_comsvcs clean,implib
18559 wine_fn_config_dll concrt140 enable_concrt140
18560 wine_fn_config_dll connect enable_connect
18561 wine_fn_config_dll credui enable_credui clean,implib
18562 wine_fn_config_test dlls/credui/tests credui_test
18563 wine_fn_config_dll crtdll enable_crtdll
18564 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
18565 wine_fn_config_test dlls/crypt32/tests crypt32_test
18566 wine_fn_config_dll cryptdlg enable_cryptdlg clean
18567 wine_fn_config_dll cryptdll enable_cryptdll implib
18568 wine_fn_config_dll cryptext enable_cryptext
18569 wine_fn_config_dll cryptnet enable_cryptnet implib
18570 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
18571 wine_fn_config_dll cryptui enable_cryptui clean,implib
18572 wine_fn_config_test dlls/cryptui/tests cryptui_test
18573 wine_fn_config_dll ctapi32 enable_ctapi32
18574 wine_fn_config_dll ctl3d.dll16 enable_win16
18575 wine_fn_config_dll ctl3d32 enable_ctl3d32
18576 wine_fn_config_dll ctl3dv2.dll16 enable_win16
18577 wine_fn_config_dll d2d1 enable_d2d1 implib
18578 wine_fn_config_test dlls/d2d1/tests d2d1_test
18579 wine_fn_config_dll d3d10 enable_d3d10 implib
18580 wine_fn_config_test dlls/d3d10/tests d3d10_test
18581 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
18582 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
18583 wine_fn_config_dll d3d10core enable_d3d10core implib
18584 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
18585 wine_fn_config_dll d3d11 enable_d3d11 implib
18586 wine_fn_config_test dlls/d3d11/tests d3d11_test
18587 wine_fn_config_dll d3d8 enable_d3d8 implib
18588 wine_fn_config_test dlls/d3d8/tests d3d8_test
18589 wine_fn_config_dll d3d9 enable_d3d9 implib
18590 wine_fn_config_test dlls/d3d9/tests d3d9_test
18591 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
18592 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
18593 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
18594 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
18595 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
18596 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
18597 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
18598 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
18599 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
18600 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
18601 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
18602 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
18603 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
18604 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
18605 wine_fn_config_dll d3dim enable_d3dim
18606 wine_fn_config_dll d3drm enable_d3drm implib
18607 wine_fn_config_test dlls/d3drm/tests d3drm_test
18608 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
18609 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
18610 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
18611 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
18612 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
18613 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
18614 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
18615 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
18616 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
18617 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
18618 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
18619 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
18620 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
18621 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
18622 wine_fn_config_test dlls/d3dx11_43/tests d3dx11_43_test
18623 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
18624 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
18625 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
18626 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
18627 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
18628 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
18629 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
18630 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
18631 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
18632 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
18633 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
18634 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
18635 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
18636 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
18637 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
18638 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
18639 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
18640 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
18641 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
18642 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
18643 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
18644 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
18645 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
18646 wine_fn_config_dll davclnt enable_davclnt
18647 wine_fn_config_dll dbgeng enable_dbgeng implib
18648 wine_fn_config_dll dbghelp enable_dbghelp implib
18649 wine_fn_config_dll dciman32 enable_dciman32 implib
18650 wine_fn_config_dll ddeml.dll16 enable_win16
18651 wine_fn_config_dll ddraw enable_ddraw clean,implib
18652 wine_fn_config_test dlls/ddraw/tests ddraw_test
18653 wine_fn_config_dll ddrawex enable_ddrawex clean
18654 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
18655 wine_fn_config_dll devenum enable_devenum clean
18656 wine_fn_config_test dlls/devenum/tests devenum_test
18657 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
18658 wine_fn_config_dll dhtmled.ocx enable_dhtmled_ocx clean
18659 wine_fn_config_dll difxapi enable_difxapi
18660 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
18661 wine_fn_config_test dlls/dinput/tests dinput_test
18662 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
18663 wine_fn_config_test dlls/dinput8/tests dinput8_test
18664 wine_fn_config_dll dispdib.dll16 enable_win16
18665 wine_fn_config_dll dispex enable_dispex clean
18666 wine_fn_config_test dlls/dispex/tests dispex_test
18667 wine_fn_config_dll display.drv16 enable_win16
18668 wine_fn_config_dll dmband enable_dmband clean
18669 wine_fn_config_test dlls/dmband/tests dmband_test
18670 wine_fn_config_dll dmcompos enable_dmcompos clean
18671 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
18672 wine_fn_config_dll dmime enable_dmime clean
18673 wine_fn_config_test dlls/dmime/tests dmime_test
18674 wine_fn_config_dll dmloader enable_dmloader clean
18675 wine_fn_config_test dlls/dmloader/tests dmloader_test
18676 wine_fn_config_dll dmscript enable_dmscript clean
18677 wine_fn_config_test dlls/dmscript/tests dmscript_test
18678 wine_fn_config_dll dmstyle enable_dmstyle clean
18679 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
18680 wine_fn_config_dll dmsynth enable_dmsynth clean
18681 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
18682 wine_fn_config_dll dmusic enable_dmusic clean
18683 wine_fn_config_test dlls/dmusic/tests dmusic_test
18684 wine_fn_config_dll dmusic32 enable_dmusic32
18685 wine_fn_config_dll dnsapi enable_dnsapi implib
18686 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
18687 wine_fn_config_dll dplay enable_dplay
18688 wine_fn_config_dll dplayx enable_dplayx clean,implib
18689 wine_fn_config_test dlls/dplayx/tests dplayx_test
18690 wine_fn_config_dll dpnaddr enable_dpnaddr
18691 wine_fn_config_dll dpnet enable_dpnet clean,implib
18692 wine_fn_config_test dlls/dpnet/tests dpnet_test
18693 wine_fn_config_dll dpnhpast enable_dpnhpast
18694 wine_fn_config_dll dpnlobby enable_dpnlobby
18695 wine_fn_config_dll dpvoice enable_dpvoice clean
18696 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
18697 wine_fn_config_dll dpwsockx enable_dpwsockx
18698 wine_fn_config_dll drmclien enable_drmclien
18699 wine_fn_config_dll dsound enable_dsound clean,implib
18700 wine_fn_config_test dlls/dsound/tests dsound_test
18701 wine_fn_config_dll dsquery enable_dsquery clean
18702 wine_fn_config_dll dssenh enable_dssenh
18703 wine_fn_config_test dlls/dssenh/tests dssenh_test
18704 wine_fn_config_dll dswave enable_dswave clean
18705 wine_fn_config_test dlls/dswave/tests dswave_test
18706 wine_fn_config_dll dwmapi enable_dwmapi implib
18707 wine_fn_config_dll dwrite enable_dwrite implib
18708 wine_fn_config_test dlls/dwrite/tests dwrite_test
18709 wine_fn_config_dll dx8vb enable_dx8vb clean
18710 wine_fn_config_dll dxdiagn enable_dxdiagn clean
18711 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
18712 wine_fn_config_lib dxerr8
18713 wine_fn_config_lib dxerr9
18714 wine_fn_config_dll dxgi enable_dxgi implib
18715 wine_fn_config_test dlls/dxgi/tests dxgi_test
18716 wine_fn_config_lib dxguid
18717 wine_fn_config_dll dxva2 enable_dxva2
18718 wine_fn_config_dll esent enable_esent
18719 wine_fn_config_dll evr enable_evr clean
18720 wine_fn_config_test dlls/evr/tests evr_test
18721 wine_fn_config_dll explorerframe enable_explorerframe clean
18722 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
18723 wine_fn_config_dll ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
18724 wine_fn_config_dll ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
18725 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
18726 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
18727 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
18728 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
18729 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
18730 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
18731 wine_fn_config_dll ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
18732 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
18733 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
18734 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18735 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18736 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18737 wine_fn_config_dll ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
18738 wine_fn_config_dll ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
18739 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18740 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18741 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
18742 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18743 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18744 wine_fn_config_dll ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
18745 wine_fn_config_dll ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
18746 wine_fn_config_dll faultrep enable_faultrep implib
18747 wine_fn_config_test dlls/faultrep/tests faultrep_test
18748 wine_fn_config_dll fltlib enable_fltlib
18749 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
18750 wine_fn_config_dll fntcache enable_fntcache
18751 wine_fn_config_dll fontsub enable_fontsub
18752 wine_fn_config_dll fusion enable_fusion
18753 wine_fn_config_test dlls/fusion/tests fusion_test
18754 wine_fn_config_dll fwpuclnt enable_fwpuclnt
18755 wine_fn_config_dll gameux enable_gameux clean
18756 wine_fn_config_test dlls/gameux/tests gameux_test
18757 wine_fn_config_dll gdi.exe16 enable_win16
18758 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
18759 wine_fn_config_test dlls/gdi32/tests gdi32_test
18760 wine_fn_config_dll gdiplus enable_gdiplus implib
18761 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
18762 wine_fn_config_dll glu32 enable_glu32 implib
18763 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
18764 wine_fn_config_dll gpkcsp enable_gpkcsp
18765 wine_fn_config_dll hal enable_hal
18766 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
18767 wine_fn_config_dll hid enable_hid implib
18768 wine_fn_config_test dlls/hid/tests hid_test
18769 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
18770 wine_fn_config_dll hlink enable_hlink clean,implib
18771 wine_fn_config_test dlls/hlink/tests hlink_test
18772 wine_fn_config_dll hnetcfg enable_hnetcfg clean
18773 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
18774 wine_fn_config_dll httpapi enable_httpapi implib
18775 wine_fn_config_test dlls/httpapi/tests httpapi_test
18776 wine_fn_config_dll iccvid enable_iccvid clean
18777 wine_fn_config_dll icmp enable_icmp
18778 wine_fn_config_dll ieframe enable_ieframe clean,implib
18779 wine_fn_config_test dlls/ieframe/tests ieframe_test
18780 wine_fn_config_dll ieproxy enable_ieproxy clean
18781 wine_fn_config_dll ifsmgr.vxd enable_win16
18782 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
18783 wine_fn_config_dll imagehlp enable_imagehlp implib
18784 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
18785 wine_fn_config_dll imm.dll16 enable_win16
18786 wine_fn_config_dll imm32 enable_imm32 implib
18787 wine_fn_config_test dlls/imm32/tests imm32_test
18788 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
18789 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
18790 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
18791 wine_fn_config_dll inetmib1 enable_inetmib1
18792 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
18793 wine_fn_config_dll infosoft enable_infosoft clean
18794 wine_fn_config_test dlls/infosoft/tests infosoft_test
18795 wine_fn_config_dll initpki enable_initpki
18796 wine_fn_config_dll inkobj enable_inkobj
18797 wine_fn_config_dll inseng enable_inseng clean
18798 wine_fn_config_dll iphlpapi enable_iphlpapi implib
18799 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
18800 wine_fn_config_dll iprop enable_iprop
18801 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18802 wine_fn_config_dll itircl enable_itircl
18803 wine_fn_config_dll itss enable_itss clean
18804 wine_fn_config_test dlls/itss/tests itss_test
18805 wine_fn_config_dll joy.cpl enable_joy_cpl clean
18806 wine_fn_config_dll jscript enable_jscript clean
18807 wine_fn_config_test dlls/jscript/tests jscript_test
18808 wine_fn_config_dll jsproxy enable_jsproxy implib
18809 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
18810 wine_fn_config_dll kerberos enable_kerberos
18811 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
18812 wine_fn_config_test dlls/kernel32/tests kernel32_test
18813 wine_fn_config_dll kernelbase enable_kernelbase
18814 wine_fn_config_dll keyboard.drv16 enable_win16
18815 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
18816 wine_fn_config_dll ksuser enable_ksuser
18817 wine_fn_config_dll ktmw32 enable_ktmw32
18818 wine_fn_config_dll l3codeca.acm enable_l3codeca_acm
18819 wine_fn_config_dll loadperf enable_loadperf implib
18820 wine_fn_config_dll localspl enable_localspl clean
18821 wine_fn_config_test dlls/localspl/tests localspl_test
18822 wine_fn_config_dll localui enable_localui clean
18823 wine_fn_config_test dlls/localui/tests localui_test
18824 wine_fn_config_dll lz32 enable_lz32 implib
18825 wine_fn_config_test dlls/lz32/tests lz32_test
18826 wine_fn_config_dll lzexpand.dll16 enable_win16
18827 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
18828 wine_fn_config_test dlls/mapi32/tests mapi32_test
18829 wine_fn_config_dll mapistub enable_mapistub
18830 wine_fn_config_dll mciavi32 enable_mciavi32
18831 wine_fn_config_dll mcicda enable_mcicda
18832 wine_fn_config_dll mciqtz32 enable_mciqtz32
18833 wine_fn_config_dll mciseq enable_mciseq
18834 wine_fn_config_dll mciwave enable_mciwave
18835 wine_fn_config_dll mf enable_mf implib
18836 wine_fn_config_test dlls/mf/tests mf_test
18837 wine_fn_config_dll mf3216 enable_mf3216
18838 wine_fn_config_dll mfplat enable_mfplat implib
18839 wine_fn_config_test dlls/mfplat/tests mfplat_test
18840 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18841 wine_fn_config_lib mfuuid
18842 wine_fn_config_dll mgmtapi enable_mgmtapi
18843 wine_fn_config_dll midimap enable_midimap
18844 wine_fn_config_dll mlang enable_mlang clean,implib
18845 wine_fn_config_test dlls/mlang/tests mlang_test
18846 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18847 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
18848 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18849 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
18850 wine_fn_config_dll mmdevldr.vxd enable_win16
18851 wine_fn_config_dll mmsystem.dll16 enable_win16
18852 wine_fn_config_dll monodebg.vxd enable_win16
18853 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18854 wine_fn_config_dll mouse.drv16 enable_win16
18855 wine_fn_config_dll mpr enable_mpr clean,implib
18856 wine_fn_config_test dlls/mpr/tests mpr_test
18857 wine_fn_config_dll mprapi enable_mprapi implib
18858 wine_fn_config_dll msacm.dll16 enable_win16
18859 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18860 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
18861 wine_fn_config_test dlls/msacm32/tests msacm32_test
18862 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18863 wine_fn_config_dll msasn1 enable_msasn1 implib
18864 wine_fn_config_dll mscat32 enable_mscat32
18865 wine_fn_config_dll mscms enable_mscms implib
18866 wine_fn_config_test dlls/mscms/tests mscms_test
18867 wine_fn_config_dll mscoree enable_mscoree clean
18868 wine_fn_config_test dlls/mscoree/tests mscoree_test
18869 wine_fn_config_dll msctf enable_msctf clean
18870 wine_fn_config_test dlls/msctf/tests msctf_test
18871 wine_fn_config_dll msctfp enable_msctfp clean
18872 wine_fn_config_dll msdaps enable_msdaps clean
18873 wine_fn_config_dll msdelta enable_msdelta
18874 wine_fn_config_dll msdmo enable_msdmo implib
18875 wine_fn_config_test dlls/msdmo/tests msdmo_test
18876 wine_fn_config_dll msdrm enable_msdrm
18877 wine_fn_config_dll msftedit enable_msftedit
18878 wine_fn_config_dll msg711.acm enable_msg711_acm
18879 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18880 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18881 wine_fn_config_dll mshtml enable_mshtml clean,implib
18882 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
18883 wine_fn_config_dll msi enable_msi clean,implib
18884 wine_fn_config_test dlls/msi/tests msi_test
18885 wine_fn_config_dll msident enable_msident clean
18886 wine_fn_config_dll msimg32 enable_msimg32 implib
18887 wine_fn_config_dll msimsg enable_msimsg
18888 wine_fn_config_dll msimtf enable_msimtf clean
18889 wine_fn_config_dll msisip enable_msisip
18890 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18891 wine_fn_config_dll msls31 enable_msls31
18892 wine_fn_config_dll msnet32 enable_msnet32
18893 wine_fn_config_dll mspatcha enable_mspatcha implib
18894 wine_fn_config_dll msports enable_msports
18895 wine_fn_config_dll msrle32 enable_msrle32 clean
18896 wine_fn_config_test dlls/msrle32/tests msrle32_test
18897 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18898 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
18899 wine_fn_config_dll mssign32 enable_mssign32
18900 wine_fn_config_dll mssip32 enable_mssip32
18901 wine_fn_config_dll mstask enable_mstask clean
18902 wine_fn_config_test dlls/mstask/tests mstask_test
18903 wine_fn_config_dll msvcirt enable_msvcirt
18904 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18905 wine_fn_config_dll msvcm80 enable_msvcm80
18906 wine_fn_config_dll msvcm90 enable_msvcm90
18907 wine_fn_config_dll msvcp100 enable_msvcp100
18908 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18909 wine_fn_config_dll msvcp110 enable_msvcp110
18910 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18911 wine_fn_config_dll msvcp120 enable_msvcp120
18912 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18913 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18914 wine_fn_config_dll msvcp140 enable_msvcp140
18915 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18916 wine_fn_config_dll msvcp60 enable_msvcp60
18917 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18918 wine_fn_config_dll msvcp70 enable_msvcp70
18919 wine_fn_config_dll msvcp71 enable_msvcp71
18920 wine_fn_config_dll msvcp80 enable_msvcp80
18921 wine_fn_config_dll msvcp90 enable_msvcp90
18922 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18923 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18924 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18925 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18926 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18927 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18928 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18929 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18930 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18931 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18932 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18933 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18934 wine_fn_config_dll msvcrt enable_msvcrt implib
18935 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18936 wine_fn_config_dll msvcrt20 enable_msvcrt20
18937 wine_fn_config_dll msvcrt40 enable_msvcrt40
18938 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18939 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18940 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
18941 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18942 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18943 wine_fn_config_dll msvideo.dll16 enable_win16
18944 wine_fn_config_dll mswsock enable_mswsock implib
18945 wine_fn_config_dll msxml enable_msxml clean
18946 wine_fn_config_dll msxml2 enable_msxml2 clean
18947 wine_fn_config_dll msxml3 enable_msxml3 clean
18948 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
18949 wine_fn_config_dll msxml4 enable_msxml4 clean
18950 wine_fn_config_dll msxml6 enable_msxml6 clean
18951 wine_fn_config_dll mtxdm enable_mtxdm
18952 wine_fn_config_dll ncrypt enable_ncrypt
18953 wine_fn_config_dll nddeapi enable_nddeapi implib
18954 wine_fn_config_dll ndis.sys enable_ndis_sys
18955 wine_fn_config_dll netapi32 enable_netapi32 implib
18956 wine_fn_config_test dlls/netapi32/tests netapi32_test
18957 wine_fn_config_dll netcfgx enable_netcfgx clean
18958 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18959 wine_fn_config_dll netprofm enable_netprofm clean
18960 wine_fn_config_test dlls/netprofm/tests netprofm_test
18961 wine_fn_config_dll newdev enable_newdev implib
18962 wine_fn_config_dll normaliz enable_normaliz implib
18963 wine_fn_config_dll npmshtml enable_npmshtml
18964 wine_fn_config_dll npptools enable_npptools
18965 wine_fn_config_dll ntdll enable_ntdll implib
18966 wine_fn_config_test dlls/ntdll/tests ntdll_test
18967 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18968 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18969 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18970 wine_fn_config_dll ntprint enable_ntprint
18971 wine_fn_config_test dlls/ntprint/tests ntprint_test
18972 wine_fn_config_dll objsel enable_objsel clean
18973 wine_fn_config_dll odbc32 enable_odbc32 implib
18974 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18975 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18976 wine_fn_config_dll odbccu32 enable_odbccu32
18977 wine_fn_config_dll ole2.dll16 enable_win16
18978 wine_fn_config_dll ole2conv.dll16 enable_win16
18979 wine_fn_config_dll ole2disp.dll16 enable_win16
18980 wine_fn_config_dll ole2nls.dll16 enable_win16
18981 wine_fn_config_dll ole2prox.dll16 enable_win16
18982 wine_fn_config_dll ole2thk.dll16 enable_win16
18983 wine_fn_config_dll ole32 enable_ole32 clean,implib
18984 wine_fn_config_test dlls/ole32/tests ole32_test
18985 wine_fn_config_dll oleacc enable_oleacc clean,implib
18986 wine_fn_config_test dlls/oleacc/tests oleacc_test
18987 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
18988 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
18989 wine_fn_config_dll olecli.dll16 enable_win16
18990 wine_fn_config_dll olecli32 enable_olecli32 implib
18991 wine_fn_config_dll oledb32 enable_oledb32 clean
18992 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
18993 wine_fn_config_dll oledlg enable_oledlg clean,implib
18994 wine_fn_config_test dlls/oledlg/tests oledlg_test
18995 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
18996 wine_fn_config_dll olesvr.dll16 enable_win16
18997 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18998 wine_fn_config_dll olethk32 enable_olethk32
18999 wine_fn_config_dll openal32 enable_openal32
19000 wine_fn_config_dll opencl enable_opencl
19001 wine_fn_config_dll opengl32 enable_opengl32 implib
19002 wine_fn_config_test dlls/opengl32/tests opengl32_test
19003 wine_fn_config_dll packager enable_packager clean
19004 wine_fn_config_test dlls/packager/tests packager_test
19005 wine_fn_config_dll pdh enable_pdh implib
19006 wine_fn_config_test dlls/pdh/tests pdh_test
19007 wine_fn_config_dll photometadatahandler enable_photometadatahandler
19008 wine_fn_config_dll pidgen enable_pidgen
19009 wine_fn_config_dll powrprof enable_powrprof implib
19010 wine_fn_config_dll printui enable_printui
19011 wine_fn_config_dll prntvpt enable_prntvpt
19012 wine_fn_config_dll propsys enable_propsys clean,implib
19013 wine_fn_config_test dlls/propsys/tests propsys_test
19014 wine_fn_config_dll psapi enable_psapi implib
19015 wine_fn_config_test dlls/psapi/tests psapi_test
19016 wine_fn_config_dll pstorec enable_pstorec clean
19017 wine_fn_config_test dlls/pstorec/tests pstorec_test
19018 wine_fn_config_dll qcap enable_qcap
19019 wine_fn_config_test dlls/qcap/tests qcap_test
19020 wine_fn_config_dll qedit enable_qedit clean
19021 wine_fn_config_test dlls/qedit/tests qedit_test
19022 wine_fn_config_dll qmgr enable_qmgr clean
19023 wine_fn_config_test dlls/qmgr/tests qmgr_test
19024 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
19025 wine_fn_config_dll quartz enable_quartz clean,implib
19026 wine_fn_config_test dlls/quartz/tests quartz_test clean
19027 wine_fn_config_dll query enable_query
19028 wine_fn_config_dll rasapi16.dll16 enable_win16
19029 wine_fn_config_dll rasapi32 enable_rasapi32 implib
19030 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
19031 wine_fn_config_dll rasdlg enable_rasdlg implib
19032 wine_fn_config_dll regapi enable_regapi
19033 wine_fn_config_dll resutils enable_resutils implib
19034 wine_fn_config_dll riched20 enable_riched20 clean,implib
19035 wine_fn_config_test dlls/riched20/tests riched20_test
19036 wine_fn_config_dll riched32 enable_riched32
19037 wine_fn_config_test dlls/riched32/tests riched32_test
19038 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
19039 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
19040 wine_fn_config_dll rsabase enable_rsabase
19041 wine_fn_config_dll rsaenh enable_rsaenh implib
19042 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
19043 wine_fn_config_dll rstrtmgr enable_rstrtmgr
19044 wine_fn_config_dll rtutils enable_rtutils implib
19045 wine_fn_config_dll samlib enable_samlib
19046 wine_fn_config_dll sane.ds enable_sane_ds clean
19047 wine_fn_config_dll sapi enable_sapi clean
19048 wine_fn_config_test dlls/sapi/tests sapi_test
19049 wine_fn_config_dll scarddlg enable_scarddlg
19050 wine_fn_config_dll sccbase enable_sccbase
19051 wine_fn_config_dll schannel enable_schannel
19052 wine_fn_config_test dlls/schannel/tests schannel_test
19053 wine_fn_config_dll schedsvc enable_schedsvc clean
19054 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
19055 wine_fn_config_dll scrobj enable_scrobj clean
19056 wine_fn_config_dll scrrun enable_scrrun clean
19057 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
19058 wine_fn_config_dll scsiport.sys enable_scsiport_sys
19059 wine_fn_config_dll secur32 enable_secur32 implib
19060 wine_fn_config_test dlls/secur32/tests secur32_test
19061 wine_fn_config_dll security enable_security
19062 wine_fn_config_dll sensapi enable_sensapi implib
19063 wine_fn_config_dll serialui enable_serialui clean
19064 wine_fn_config_test dlls/serialui/tests serialui_test
19065 wine_fn_config_dll setupapi enable_setupapi clean,implib
19066 wine_fn_config_test dlls/setupapi/tests setupapi_test
19067 wine_fn_config_dll setupx.dll16 enable_win16
19068 wine_fn_config_dll sfc enable_sfc implib
19069 wine_fn_config_dll sfc_os enable_sfc_os implib
19070 wine_fn_config_dll shcore enable_shcore
19071 wine_fn_config_dll shdoclc enable_shdoclc clean
19072 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
19073 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
19074 wine_fn_config_dll shell.dll16 enable_win16
19075 wine_fn_config_dll shell32 enable_shell32 clean,implib
19076 wine_fn_config_test dlls/shell32/tests shell32_test
19077 wine_fn_config_dll shfolder enable_shfolder implib
19078 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
19079 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
19080 wine_fn_config_dll slbcsp enable_slbcsp
19081 wine_fn_config_dll slc enable_slc implib
19082 wine_fn_config_test dlls/slc/tests slc_test
19083 wine_fn_config_dll snmpapi enable_snmpapi implib
19084 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
19085 wine_fn_config_dll softpub enable_softpub
19086 wine_fn_config_dll sound.drv16 enable_win16
19087 wine_fn_config_dll spoolss enable_spoolss implib
19088 wine_fn_config_test dlls/spoolss/tests spoolss_test
19089 wine_fn_config_dll sspicli enable_sspicli
19090 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
19091 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
19092 wine_fn_config_dll sti enable_sti clean,implib
19093 wine_fn_config_test dlls/sti/tests sti_test
19094 wine_fn_config_dll storage.dll16 enable_win16
19095 wine_fn_config_dll stress.dll16 enable_win16
19096 wine_fn_config_lib strmbase
19097 wine_fn_config_lib strmiids
19098 wine_fn_config_dll svrapi enable_svrapi
19099 wine_fn_config_dll sxs enable_sxs implib
19100 wine_fn_config_test dlls/sxs/tests sxs_test
19101 wine_fn_config_dll system.drv16 enable_win16
19102 wine_fn_config_dll t2embed enable_t2embed implib
19103 wine_fn_config_test dlls/t2embed/tests t2embed_test
19104 wine_fn_config_dll tapi32 enable_tapi32 implib
19105 wine_fn_config_dll taskschd enable_taskschd clean
19106 wine_fn_config_test dlls/taskschd/tests taskschd_test
19107 wine_fn_config_dll tdh enable_tdh
19108 wine_fn_config_dll tdi.sys enable_tdi_sys
19109 wine_fn_config_dll toolhelp.dll16 enable_win16
19110 wine_fn_config_dll traffic enable_traffic
19111 wine_fn_config_dll twain.dll16 enable_win16
19112 wine_fn_config_dll twain_32 enable_twain_32 clean
19113 wine_fn_config_test dlls/twain_32/tests twain_32_test
19114 wine_fn_config_dll typelib.dll16 enable_win16
19115 wine_fn_config_dll ucrtbase enable_ucrtbase implib
19116 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
19117 wine_fn_config_dll uiautomationcore enable_uiautomationcore
19118 wine_fn_config_dll uiribbon enable_uiribbon clean
19119 wine_fn_config_dll unicows enable_unicows implib
19120 wine_fn_config_dll updspapi enable_updspapi
19121 wine_fn_config_dll url enable_url implib
19122 wine_fn_config_dll urlmon enable_urlmon clean,implib
19123 wine_fn_config_test dlls/urlmon/tests urlmon_test
19124 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
19125 wine_fn_config_dll user.exe16 enable_win16
19126 wine_fn_config_dll user32 enable_user32 clean,implib
19127 wine_fn_config_test dlls/user32/tests user32_test
19128 wine_fn_config_dll userenv enable_userenv implib
19129 wine_fn_config_test dlls/userenv/tests userenv_test
19130 wine_fn_config_dll usp10 enable_usp10 implib
19131 wine_fn_config_test dlls/usp10/tests usp10_test
19132 wine_fn_config_lib uuid
19133 wine_fn_config_dll uxtheme enable_uxtheme implib
19134 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
19135 wine_fn_config_dll vbscript enable_vbscript clean
19136 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
19137 wine_fn_config_dll vcomp enable_vcomp
19138 wine_fn_config_test dlls/vcomp/tests vcomp_test
19139 wine_fn_config_dll vcomp100 enable_vcomp100
19140 wine_fn_config_dll vcomp110 enable_vcomp110
19141 wine_fn_config_dll vcomp120 enable_vcomp120
19142 wine_fn_config_dll vcomp140 enable_vcomp140
19143 wine_fn_config_dll vcomp90 enable_vcomp90
19144 wine_fn_config_dll vcruntime140 enable_vcruntime140
19145 wine_fn_config_dll vdhcp.vxd enable_win16
19146 wine_fn_config_dll vdmdbg enable_vdmdbg implib
19147 wine_fn_config_dll ver.dll16 enable_win16
19148 wine_fn_config_dll version enable_version implib
19149 wine_fn_config_test dlls/version/tests version_test
19150 wine_fn_config_dll virtdisk enable_virtdisk
19151 wine_fn_config_dll vmm.vxd enable_win16
19152 wine_fn_config_dll vnbt.vxd enable_win16
19153 wine_fn_config_dll vnetbios.vxd enable_win16
19154 wine_fn_config_dll vssapi enable_vssapi
19155 wine_fn_config_dll vtdapi.vxd enable_win16
19156 wine_fn_config_dll vwin32.vxd enable_win16
19157 wine_fn_config_dll w32skrnl enable_win16
19158 wine_fn_config_dll w32sys.dll16 enable_win16
19159 wine_fn_config_dll wbemdisp enable_wbemdisp clean
19160 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
19161 wine_fn_config_dll wbemprox enable_wbemprox clean
19162 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
19163 wine_fn_config_dll wdscore enable_wdscore
19164 wine_fn_config_dll webservices enable_webservices implib
19165 wine_fn_config_test dlls/webservices/tests webservices_test
19166 wine_fn_config_dll wer enable_wer implib
19167 wine_fn_config_test dlls/wer/tests wer_test
19168 wine_fn_config_dll wevtapi enable_wevtapi
19169 wine_fn_config_dll wiaservc enable_wiaservc clean
19170 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
19171 wine_fn_config_dll wimgapi enable_wimgapi
19172 wine_fn_config_dll win32s16.dll16 enable_win16
19173 wine_fn_config_dll win87em.dll16 enable_win16
19174 wine_fn_config_dll winaspi.dll16 enable_win16
19175 wine_fn_config_dll windebug.dll16 enable_win16
19176 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
19177 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
19178 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
19179 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
19180 wine_fn_config_dll winealsa.drv enable_winealsa_drv
19181 wine_fn_config_dll wineandroid.drv enable_wineandroid_drv clean
19182 wine_fn_config_dll winebus.sys enable_winebus_sys
19183 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
19184 wine_fn_config_lib winecrt0
19185 wine_fn_config_dll wined3d enable_wined3d implib
19186 wine_fn_config_dll winegstreamer enable_winegstreamer
19187 wine_fn_config_dll winehid.sys enable_winehid_sys
19188 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
19189 wine_fn_config_dll winemac.drv enable_winemac_drv clean
19190 wine_fn_config_dll winemapi enable_winemapi
19191 wine_fn_config_dll wineoss.drv enable_wineoss_drv
19192 wine_fn_config_dll wineps.drv enable_wineps_drv clean
19193 wine_fn_config_dll wineps16.drv16 enable_win16
19194 wine_fn_config_dll winepulse.drv enable_winepulse_drv
19195 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
19196 wine_fn_config_dll winex11.drv enable_winex11_drv
19197 wine_fn_config_dll wing.dll16 enable_win16
19198 wine_fn_config_dll wing32 enable_wing32
19199 wine_fn_config_dll winhttp enable_winhttp clean,implib
19200 wine_fn_config_test dlls/winhttp/tests winhttp_test
19201 wine_fn_config_dll wininet enable_wininet clean,implib
19202 wine_fn_config_test dlls/wininet/tests wininet_test
19203 wine_fn_config_dll winmm enable_winmm clean,implib
19204 wine_fn_config_test dlls/winmm/tests winmm_test
19205 wine_fn_config_dll winnls.dll16 enable_win16
19206 wine_fn_config_dll winnls32 enable_winnls32 implib
19207 wine_fn_config_dll winscard enable_winscard implib
19208 wine_fn_config_dll winsock.dll16 enable_win16
19209 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
19210 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
19211 wine_fn_config_dll winsta enable_winsta
19212 wine_fn_config_dll wintab.dll16 enable_win16
19213 wine_fn_config_dll wintab32 enable_wintab32 implib
19214 wine_fn_config_test dlls/wintab32/tests wintab32_test
19215 wine_fn_config_dll wintrust enable_wintrust implib
19216 wine_fn_config_test dlls/wintrust/tests wintrust_test
19217 wine_fn_config_dll winusb enable_winusb
19218 wine_fn_config_dll wlanapi enable_wlanapi implib
19219 wine_fn_config_test dlls/wlanapi/tests wlanapi_test
19220 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
19221 wine_fn_config_test dlls/wldap32/tests wldap32_test
19222 wine_fn_config_dll wmasf enable_wmasf
19223 wine_fn_config_dll wmi enable_wmi
19224 wine_fn_config_dll wmiutils enable_wmiutils clean
19225 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
19226 wine_fn_config_dll wmp enable_wmp clean
19227 wine_fn_config_test dlls/wmp/tests wmp_test
19228 wine_fn_config_dll wmphoto enable_wmphoto clean
19229 wine_fn_config_dll wmvcore enable_wmvcore implib
19230 wine_fn_config_test dlls/wmvcore/tests wmvcore_test
19231 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
19232 wine_fn_config_dll wow32 enable_win16 implib
19233 wine_fn_config_dll wpc enable_wpc clean
19234 wine_fn_config_test dlls/wpc/tests wpc_test
19235 wine_fn_config_dll wpcap enable_wpcap
19236 wine_fn_config_dll ws2_32 enable_ws2_32 implib
19237 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
19238 wine_fn_config_dll wsdapi enable_wsdapi implib
19239 wine_fn_config_test dlls/wsdapi/tests wsdapi_test
19240 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
19241 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
19242 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
19243 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
19244 wine_fn_config_dll wsock32 enable_wsock32 implib
19245 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
19246 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
19247 wine_fn_config_dll wuapi enable_wuapi clean
19248 wine_fn_config_dll wuaueng enable_wuaueng
19249 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
19250 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
19251 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
19252 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
19253 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
19254 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
19255 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
19256 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
19257 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
19258 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
19259 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
19260 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
19261 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
19262 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
19263 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
19264 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
19265 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
19266 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
19267 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
19268 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
19269 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
19270 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
19271 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
19272 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
19273 wine_fn_config_dll xinput1_1 enable_xinput1_1
19274 wine_fn_config_dll xinput1_2 enable_xinput1_2
19275 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
19276 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
19277 wine_fn_config_dll xinput1_4 enable_xinput1_4
19278 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
19279 wine_fn_config_dll xmllite enable_xmllite implib
19280 wine_fn_config_test dlls/xmllite/tests xmllite_test
19281 wine_fn_config_dll xolehlp enable_xolehlp
19282 wine_fn_config_dll xpsprint enable_xpsprint
19283 wine_fn_config_dll xpssvcs enable_xpssvcs
19284 wine_fn_config_makefile fonts enable_fonts clean,install-lib
19285 wine_fn_config_makefile include enable_include clean,install-dev
19286 wine_fn_config_makefile libs/port enable_libs_port
19287 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
19288 wine_fn_config_makefile libs/wpp enable_libs_wpp
19289 wine_fn_config_makefile loader enable_loader clean,install-lib
19290 wine_fn_config_makefile po enable_po clean
19291 wine_fn_config_program arp enable_arp install
19292 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
19293 wine_fn_config_program attrib enable_attrib clean,install
19294 wine_fn_config_program cabarc enable_cabarc install
19295 wine_fn_config_program cacls enable_cacls install
19296 wine_fn_config_program clock enable_clock clean,install
19297 wine_fn_config_program cmd enable_cmd clean,install
19298 wine_fn_config_test programs/cmd/tests cmd.exe_test
19299 wine_fn_config_program conhost enable_conhost install
19300 wine_fn_config_program control enable_control install
19301 wine_fn_config_program cscript enable_cscript clean,install
19302 wine_fn_config_program dpnsvr enable_dpnsvr install
19303 wine_fn_config_program dxdiag enable_dxdiag clean,install
19304 wine_fn_config_program eject enable_eject install
19305 wine_fn_config_program expand enable_expand install
19306 wine_fn_config_program explorer enable_explorer clean,install
19307 wine_fn_config_program extrac32 enable_extrac32 install
19308 wine_fn_config_program findstr enable_findstr install
19309 wine_fn_config_program fsutil enable_fsutil install
19310 wine_fn_config_program hh enable_hh install
19311 wine_fn_config_program hostname enable_hostname clean,install
19312 wine_fn_config_program icacls enable_icacls install
19313 wine_fn_config_program icinfo enable_icinfo install
19314 wine_fn_config_program iexplore enable_iexplore install
19315 wine_fn_config_program ipconfig enable_ipconfig clean,install
19316 wine_fn_config_program lodctr enable_lodctr install
19317 wine_fn_config_program mofcomp enable_mofcomp install
19318 wine_fn_config_program mshta enable_mshta install
19319 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
19320 wine_fn_config_program msinfo32 enable_msinfo32 clean,install
19321 wine_fn_config_program net enable_net clean,install
19322 wine_fn_config_program netsh enable_netsh install
19323 wine_fn_config_program netstat enable_netstat clean,install
19324 wine_fn_config_program ngen enable_ngen install
19325 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
19326 wine_fn_config_program oleview enable_oleview clean,install
19327 wine_fn_config_program ping enable_ping install
19328 wine_fn_config_program plugplay enable_plugplay install
19329 wine_fn_config_program powershell enable_powershell install
19330 wine_fn_config_program presentationfontcache enable_presentationfontcache install
19331 wine_fn_config_program progman enable_progman clean,install
19332 wine_fn_config_program reg enable_reg clean,install
19333 wine_fn_config_test programs/reg/tests reg.exe_test
19334 wine_fn_config_program regasm enable_regasm install
19335 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
19336 wine_fn_config_test programs/regedit/tests regedit.exe_test
19337 wine_fn_config_program regsvcs enable_regsvcs install
19338 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
19339 wine_fn_config_program rpcss enable_rpcss clean,install
19340 wine_fn_config_program rundll.exe16 enable_win16 install
19341 wine_fn_config_program rundll32 enable_rundll32 install
19342 wine_fn_config_program sc enable_sc install
19343 wine_fn_config_program schtasks enable_schtasks install
19344 wine_fn_config_test programs/schtasks/tests schtasks.exe_test
19345 wine_fn_config_program sdbinst enable_sdbinst install
19346 wine_fn_config_program secedit enable_secedit install
19347 wine_fn_config_program servicemodelreg enable_servicemodelreg install
19348 wine_fn_config_program services enable_services clean,install
19349 wine_fn_config_test programs/services/tests services.exe_test
19350 wine_fn_config_program shutdown enable_shutdown install
19351 wine_fn_config_program spoolsv enable_spoolsv install
19352 wine_fn_config_program start enable_start clean,install
19353 wine_fn_config_program subst enable_subst install
19354 wine_fn_config_program svchost enable_svchost install
19355 wine_fn_config_program systeminfo enable_systeminfo install
19356 wine_fn_config_program taskkill enable_taskkill clean,install
19357 wine_fn_config_program tasklist enable_tasklist install
19358 wine_fn_config_program taskmgr enable_taskmgr clean,install
19359 wine_fn_config_program termsv enable_termsv install
19360 wine_fn_config_program uninstaller enable_uninstaller clean,install
19361 wine_fn_config_program unlodctr enable_unlodctr install
19362 wine_fn_config_program view enable_view clean,install
19363 wine_fn_config_program wevtutil enable_wevtutil install
19364 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
19365 wine_fn_config_program winebrowser enable_winebrowser install
19366 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
19367 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
19368 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
19369 wine_fn_config_program winedevice enable_winedevice install
19370 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
19371 wine_fn_config_program winemenubuilder enable_winemenubuilder install
19372 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
19373 wine_fn_config_program winemsibuilder enable_winemsibuilder install
19374 wine_fn_config_program winepath enable_winepath install,installbin,manpage
19375 wine_fn_config_program winetest enable_winetest clean
19376 wine_fn_config_program winevdm enable_win16 install
19377 wine_fn_config_program winhelp.exe16 enable_win16 install
19378 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
19379 wine_fn_config_program winoldap.mod16 enable_win16 install
19380 wine_fn_config_program winver enable_winver install
19381 wine_fn_config_program wmic enable_wmic clean,install
19382 wine_fn_config_program wmplayer enable_wmplayer install
19383 wine_fn_config_program wordpad enable_wordpad clean,install
19384 wine_fn_config_program write enable_write clean,install
19385 wine_fn_config_program wscript enable_wscript clean,install
19386 wine_fn_config_test programs/wscript/tests wscript.exe_test
19387 wine_fn_config_program wusa enable_wusa install
19388 wine_fn_config_program xcopy enable_xcopy clean,install
19389 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
19390 wine_fn_config_makefile server enable_server clean,install-lib
19391 wine_fn_config_tool tools clean
19392 wine_fn_config_tool tools/sfnt2fon clean
19393 wine_fn_config_tool tools/widl clean,install-dev
19394 wine_fn_config_tool tools/winebuild clean,install-dev
19395 wine_fn_config_tool tools/winedump clean,install-dev
19396 wine_fn_config_tool tools/winegcc clean,install-dev
19397 wine_fn_config_tool tools/winemaker clean,install-dev
19398 wine_fn_config_tool tools/wmc clean,install-dev
19399 wine_fn_config_tool tools/wrc clean,install-dev
19402 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
19403 wine_fn_append_file CONFIGURE_TARGETS "tags"
19404 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
19405 wine_fn_append_file CONFIGURE_TARGETS "config.log"
19406 wine_fn_append_file CONFIGURE_TARGETS "config.status"
19407 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
19408 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
19409 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
19411 if test "x$enable_tools" != xno
19412 then
19413 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
19414 ac_config_commands="$ac_config_commands tools/makedep"
19418 ac_config_commands="$ac_config_commands Makefile"
19421 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
19425 if test "x$enable_maintainer_mode" = xyes
19426 then
19427 wine_fn_append_rule "configure: configure.ac aclocal.m4
19428 autoconf --warnings=all
19429 include/config.h.in: include/stamp-h.in
19430 include/stamp-h.in: configure.ac aclocal.m4
19431 autoheader --warnings=all
19432 @echo timestamp > \$@"
19435 if test "x$enable_tools" != xno
19436 then
19437 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
19438 @./config.status tools/makedep
19439 Makefile: tools/makedep$ac_exeext"
19440 else
19441 wine_fn_append_rule "\$(MAKEDEP):
19442 @echo \"You need to run make in $TOOLSDIR first\" && false"
19445 if test -n "$with_wine64"
19446 then
19447 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
19448 fonts server:
19449 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
19450 $with_wine64/loader/wine:
19451 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
19452 $with_wine64/loader/wine-preloader:
19453 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
19454 clean::
19455 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
19456 else
19457 WINELOADER_INSTALL="wine.inf"
19459 wine_fn_append_rule "install install-lib::
19460 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
19461 .PHONY: l_intl.nls/uninstall
19462 l_intl.nls/uninstall::
19463 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls
19464 __uninstall__: l_intl.nls/uninstall"
19465 case $host_os in
19466 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
19467 *) wine_fn_append_rule "install install-lib::
19468 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
19469 uninstall::
19470 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
19471 esac
19474 $as_echo " done" >&6
19475 cat >confcache <<\_ACEOF
19476 # This file is a shell script that caches the results of configure
19477 # tests run on this system so they can be shared between configure
19478 # scripts and configure runs, see configure's option --config-cache.
19479 # It is not useful on other systems. If it contains results you don't
19480 # want to keep, you may remove or edit it.
19482 # config.status only pays attention to the cache file if you give it
19483 # the --recheck option to rerun configure.
19485 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19486 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19487 # following values.
19489 _ACEOF
19491 # The following way of writing the cache mishandles newlines in values,
19492 # but we know of no workaround that is simple, portable, and efficient.
19493 # So, we kill variables containing newlines.
19494 # Ultrix sh set writes to stderr and can't be redirected directly,
19495 # and sets the high bit in the cache file unless we assign to the vars.
19497 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19498 eval ac_val=\$$ac_var
19499 case $ac_val in #(
19500 *${as_nl}*)
19501 case $ac_var in #(
19502 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19503 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19504 esac
19505 case $ac_var in #(
19506 _ | IFS | as_nl) ;; #(
19507 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19508 *) { eval $ac_var=; unset $ac_var;} ;;
19509 esac ;;
19510 esac
19511 done
19513 (set) 2>&1 |
19514 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19515 *${as_nl}ac_space=\ *)
19516 # `set' does not quote correctly, so add quotes: double-quote
19517 # substitution turns \\\\ into \\, and sed turns \\ into \.
19518 sed -n \
19519 "s/'/'\\\\''/g;
19520 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19521 ;; #(
19523 # `set' quotes correctly as required by POSIX, so do not add quotes.
19524 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19526 esac |
19527 sort
19529 sed '
19530 /^ac_cv_env_/b end
19531 t clear
19532 :clear
19533 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19534 t end
19535 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19536 :end' >>confcache
19537 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19538 if test -w "$cache_file"; then
19539 if test "x$cache_file" != "x/dev/null"; then
19540 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19541 $as_echo "$as_me: updating cache $cache_file" >&6;}
19542 if test ! -f "$cache_file" || test -h "$cache_file"; then
19543 cat confcache >"$cache_file"
19544 else
19545 case $cache_file in #(
19546 */* | ?:*)
19547 mv -f confcache "$cache_file"$$ &&
19548 mv -f "$cache_file"$$ "$cache_file" ;; #(
19550 mv -f confcache "$cache_file" ;;
19551 esac
19554 else
19555 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19556 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19559 rm -f confcache
19561 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19562 # Let make expand exec_prefix.
19563 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19565 DEFS=-DHAVE_CONFIG_H
19567 ac_libobjs=
19568 ac_ltlibobjs=
19570 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19571 # 1. Remove the extension, and $U if already installed.
19572 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19573 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19574 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19575 # will be set to the directory where LIBOBJS objects are built.
19576 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19577 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19578 done
19579 LIBOBJS=$ac_libobjs
19581 LTLIBOBJS=$ac_ltlibobjs
19585 : "${CONFIG_STATUS=./config.status}"
19586 ac_write_fail=0
19587 ac_clean_files_save=$ac_clean_files
19588 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19589 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19590 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19591 as_write_fail=0
19592 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19593 #! $SHELL
19594 # Generated by $as_me.
19595 # Run this file to recreate the current configuration.
19596 # Compiler output produced by configure, useful for debugging
19597 # configure, is in config.log if it exists.
19599 debug=false
19600 ac_cs_recheck=false
19601 ac_cs_silent=false
19603 SHELL=\${CONFIG_SHELL-$SHELL}
19604 export SHELL
19605 _ASEOF
19606 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19607 ## -------------------- ##
19608 ## M4sh Initialization. ##
19609 ## -------------------- ##
19611 # Be more Bourne compatible
19612 DUALCASE=1; export DUALCASE # for MKS sh
19613 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19614 emulate sh
19615 NULLCMD=:
19616 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19617 # is contrary to our usage. Disable this feature.
19618 alias -g '${1+"$@"}'='"$@"'
19619 setopt NO_GLOB_SUBST
19620 else
19621 case `(set -o) 2>/dev/null` in #(
19622 *posix*) :
19623 set -o posix ;; #(
19624 *) :
19626 esac
19630 as_nl='
19632 export as_nl
19633 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19634 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19635 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19636 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19637 # Prefer a ksh shell builtin over an external printf program on Solaris,
19638 # but without wasting forks for bash or zsh.
19639 if test -z "$BASH_VERSION$ZSH_VERSION" \
19640 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19641 as_echo='print -r --'
19642 as_echo_n='print -rn --'
19643 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19644 as_echo='printf %s\n'
19645 as_echo_n='printf %s'
19646 else
19647 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19648 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19649 as_echo_n='/usr/ucb/echo -n'
19650 else
19651 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19652 as_echo_n_body='eval
19653 arg=$1;
19654 case $arg in #(
19655 *"$as_nl"*)
19656 expr "X$arg" : "X\\(.*\\)$as_nl";
19657 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19658 esac;
19659 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19661 export as_echo_n_body
19662 as_echo_n='sh -c $as_echo_n_body as_echo'
19664 export as_echo_body
19665 as_echo='sh -c $as_echo_body as_echo'
19668 # The user is always right.
19669 if test "${PATH_SEPARATOR+set}" != set; then
19670 PATH_SEPARATOR=:
19671 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19672 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19673 PATH_SEPARATOR=';'
19678 # IFS
19679 # We need space, tab and new line, in precisely that order. Quoting is
19680 # there to prevent editors from complaining about space-tab.
19681 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19682 # splitting by setting IFS to empty value.)
19683 IFS=" "" $as_nl"
19685 # Find who we are. Look in the path if we contain no directory separator.
19686 as_myself=
19687 case $0 in #((
19688 *[\\/]* ) as_myself=$0 ;;
19689 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19690 for as_dir in $PATH
19692 IFS=$as_save_IFS
19693 test -z "$as_dir" && as_dir=.
19694 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19695 done
19696 IFS=$as_save_IFS
19699 esac
19700 # We did not find ourselves, most probably we were run as `sh COMMAND'
19701 # in which case we are not to be found in the path.
19702 if test "x$as_myself" = x; then
19703 as_myself=$0
19705 if test ! -f "$as_myself"; then
19706 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19707 exit 1
19710 # Unset variables that we do not need and which cause bugs (e.g. in
19711 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19712 # suppresses any "Segmentation fault" message there. '((' could
19713 # trigger a bug in pdksh 5.2.14.
19714 for as_var in BASH_ENV ENV MAIL MAILPATH
19715 do eval test x\${$as_var+set} = xset \
19716 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19717 done
19718 PS1='$ '
19719 PS2='> '
19720 PS4='+ '
19722 # NLS nuisances.
19723 LC_ALL=C
19724 export LC_ALL
19725 LANGUAGE=C
19726 export LANGUAGE
19728 # CDPATH.
19729 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19732 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19733 # ----------------------------------------
19734 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19735 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19736 # script with STATUS, using 1 if that was 0.
19737 as_fn_error ()
19739 as_status=$1; test $as_status -eq 0 && as_status=1
19740 if test "$4"; then
19741 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19742 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19744 $as_echo "$as_me: error: $2" >&2
19745 as_fn_exit $as_status
19746 } # as_fn_error
19749 # as_fn_set_status STATUS
19750 # -----------------------
19751 # Set $? to STATUS, without forking.
19752 as_fn_set_status ()
19754 return $1
19755 } # as_fn_set_status
19757 # as_fn_exit STATUS
19758 # -----------------
19759 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19760 as_fn_exit ()
19762 set +e
19763 as_fn_set_status $1
19764 exit $1
19765 } # as_fn_exit
19767 # as_fn_unset VAR
19768 # ---------------
19769 # Portably unset VAR.
19770 as_fn_unset ()
19772 { eval $1=; unset $1;}
19774 as_unset=as_fn_unset
19775 # as_fn_append VAR VALUE
19776 # ----------------------
19777 # Append the text in VALUE to the end of the definition contained in VAR. Take
19778 # advantage of any shell optimizations that allow amortized linear growth over
19779 # repeated appends, instead of the typical quadratic growth present in naive
19780 # implementations.
19781 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19782 eval 'as_fn_append ()
19784 eval $1+=\$2
19786 else
19787 as_fn_append ()
19789 eval $1=\$$1\$2
19791 fi # as_fn_append
19793 # as_fn_arith ARG...
19794 # ------------------
19795 # Perform arithmetic evaluation on the ARGs, and store the result in the
19796 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19797 # must be portable across $(()) and expr.
19798 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19799 eval 'as_fn_arith ()
19801 as_val=$(( $* ))
19803 else
19804 as_fn_arith ()
19806 as_val=`expr "$@" || test $? -eq 1`
19808 fi # as_fn_arith
19811 if expr a : '\(a\)' >/dev/null 2>&1 &&
19812 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19813 as_expr=expr
19814 else
19815 as_expr=false
19818 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19819 as_basename=basename
19820 else
19821 as_basename=false
19824 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19825 as_dirname=dirname
19826 else
19827 as_dirname=false
19830 as_me=`$as_basename -- "$0" ||
19831 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19832 X"$0" : 'X\(//\)$' \| \
19833 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19834 $as_echo X/"$0" |
19835 sed '/^.*\/\([^/][^/]*\)\/*$/{
19836 s//\1/
19839 /^X\/\(\/\/\)$/{
19840 s//\1/
19843 /^X\/\(\/\).*/{
19844 s//\1/
19847 s/.*/./; q'`
19849 # Avoid depending upon Character Ranges.
19850 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19851 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19852 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19853 as_cr_digits='0123456789'
19854 as_cr_alnum=$as_cr_Letters$as_cr_digits
19856 ECHO_C= ECHO_N= ECHO_T=
19857 case `echo -n x` in #(((((
19858 -n*)
19859 case `echo 'xy\c'` in
19860 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19861 xy) ECHO_C='\c';;
19862 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19863 ECHO_T=' ';;
19864 esac;;
19866 ECHO_N='-n';;
19867 esac
19869 rm -f conf$$ conf$$.exe conf$$.file
19870 if test -d conf$$.dir; then
19871 rm -f conf$$.dir/conf$$.file
19872 else
19873 rm -f conf$$.dir
19874 mkdir conf$$.dir 2>/dev/null
19876 if (echo >conf$$.file) 2>/dev/null; then
19877 if ln -s conf$$.file conf$$ 2>/dev/null; then
19878 as_ln_s='ln -s'
19879 # ... but there are two gotchas:
19880 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19881 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19882 # In both cases, we have to default to `cp -pR'.
19883 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19884 as_ln_s='cp -pR'
19885 elif ln conf$$.file conf$$ 2>/dev/null; then
19886 as_ln_s=ln
19887 else
19888 as_ln_s='cp -pR'
19890 else
19891 as_ln_s='cp -pR'
19893 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19894 rmdir conf$$.dir 2>/dev/null
19897 # as_fn_mkdir_p
19898 # -------------
19899 # Create "$as_dir" as a directory, including parents if necessary.
19900 as_fn_mkdir_p ()
19903 case $as_dir in #(
19904 -*) as_dir=./$as_dir;;
19905 esac
19906 test -d "$as_dir" || eval $as_mkdir_p || {
19907 as_dirs=
19908 while :; do
19909 case $as_dir in #(
19910 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19911 *) as_qdir=$as_dir;;
19912 esac
19913 as_dirs="'$as_qdir' $as_dirs"
19914 as_dir=`$as_dirname -- "$as_dir" ||
19915 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19916 X"$as_dir" : 'X\(//\)[^/]' \| \
19917 X"$as_dir" : 'X\(//\)$' \| \
19918 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19919 $as_echo X"$as_dir" |
19920 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19921 s//\1/
19924 /^X\(\/\/\)[^/].*/{
19925 s//\1/
19928 /^X\(\/\/\)$/{
19929 s//\1/
19932 /^X\(\/\).*/{
19933 s//\1/
19936 s/.*/./; q'`
19937 test -d "$as_dir" && break
19938 done
19939 test -z "$as_dirs" || eval "mkdir $as_dirs"
19940 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19943 } # as_fn_mkdir_p
19944 if mkdir -p . 2>/dev/null; then
19945 as_mkdir_p='mkdir -p "$as_dir"'
19946 else
19947 test -d ./-p && rmdir ./-p
19948 as_mkdir_p=false
19952 # as_fn_executable_p FILE
19953 # -----------------------
19954 # Test if FILE is an executable regular file.
19955 as_fn_executable_p ()
19957 test -f "$1" && test -x "$1"
19958 } # as_fn_executable_p
19959 as_test_x='test -x'
19960 as_executable_p=as_fn_executable_p
19962 # Sed expression to map a string onto a valid CPP name.
19963 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19965 # Sed expression to map a string onto a valid variable name.
19966 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19969 exec 6>&1
19970 ## ----------------------------------- ##
19971 ## Main body of $CONFIG_STATUS script. ##
19972 ## ----------------------------------- ##
19973 _ASEOF
19974 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19976 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19977 # Save the log message, to keep $0 and so on meaningful, and to
19978 # report actual input values of CONFIG_FILES etc. instead of their
19979 # values after options handling.
19980 ac_log="
19981 This file was extended by Wine $as_me 3.1, which was
19982 generated by GNU Autoconf 2.69. Invocation command line was
19984 CONFIG_FILES = $CONFIG_FILES
19985 CONFIG_HEADERS = $CONFIG_HEADERS
19986 CONFIG_LINKS = $CONFIG_LINKS
19987 CONFIG_COMMANDS = $CONFIG_COMMANDS
19988 $ $0 $@
19990 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19993 _ACEOF
19995 case $ac_config_files in *"
19996 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19997 esac
19999 case $ac_config_headers in *"
20000 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
20001 esac
20004 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20005 # Files that config.status was made for.
20006 config_files="$ac_config_files"
20007 config_headers="$ac_config_headers"
20008 config_links="$ac_config_links"
20009 config_commands="$ac_config_commands"
20011 _ACEOF
20013 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20014 ac_cs_usage="\
20015 \`$as_me' instantiates files and other configuration actions
20016 from templates according to the current configuration. Unless the files
20017 and actions are specified as TAGs, all are instantiated by default.
20019 Usage: $0 [OPTION]... [TAG]...
20021 -h, --help print this help, then exit
20022 -V, --version print version number and configuration settings, then exit
20023 --config print configuration, then exit
20024 -q, --quiet, --silent
20025 do not print progress messages
20026 -d, --debug don't remove temporary files
20027 --recheck update $as_me by reconfiguring in the same conditions
20028 --file=FILE[:TEMPLATE]
20029 instantiate the configuration file FILE
20030 --header=FILE[:TEMPLATE]
20031 instantiate the configuration header FILE
20033 Configuration files:
20034 $config_files
20036 Configuration headers:
20037 $config_headers
20039 Configuration links:
20040 $config_links
20042 Configuration commands:
20043 $config_commands
20045 Report bugs to <wine-devel@winehq.org>.
20046 Wine home page: <https://www.winehq.org>."
20048 _ACEOF
20049 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20050 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20051 ac_cs_version="\\
20052 Wine config.status 3.1
20053 configured by $0, generated by GNU Autoconf 2.69,
20054 with options \\"\$ac_cs_config\\"
20056 Copyright (C) 2012 Free Software Foundation, Inc.
20057 This config.status script is free software; the Free Software Foundation
20058 gives unlimited permission to copy, distribute and modify it."
20060 ac_pwd='$ac_pwd'
20061 srcdir='$srcdir'
20062 test -n "\$AWK" || AWK=awk
20063 _ACEOF
20065 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20066 # The default lists apply if the user does not specify any file.
20067 ac_need_defaults=:
20068 while test $# != 0
20070 case $1 in
20071 --*=?*)
20072 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20073 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20074 ac_shift=:
20076 --*=)
20077 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20078 ac_optarg=
20079 ac_shift=:
20082 ac_option=$1
20083 ac_optarg=$2
20084 ac_shift=shift
20086 esac
20088 case $ac_option in
20089 # Handling of the options.
20090 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20091 ac_cs_recheck=: ;;
20092 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20093 $as_echo "$ac_cs_version"; exit ;;
20094 --config | --confi | --conf | --con | --co | --c )
20095 $as_echo "$ac_cs_config"; exit ;;
20096 --debug | --debu | --deb | --de | --d | -d )
20097 debug=: ;;
20098 --file | --fil | --fi | --f )
20099 $ac_shift
20100 case $ac_optarg in
20101 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20102 '') as_fn_error $? "missing file argument" ;;
20103 esac
20104 as_fn_append CONFIG_FILES " '$ac_optarg'"
20105 ac_need_defaults=false;;
20106 --header | --heade | --head | --hea )
20107 $ac_shift
20108 case $ac_optarg in
20109 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20110 esac
20111 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20112 ac_need_defaults=false;;
20113 --he | --h)
20114 # Conflict between --help and --header
20115 as_fn_error $? "ambiguous option: \`$1'
20116 Try \`$0 --help' for more information.";;
20117 --help | --hel | -h )
20118 $as_echo "$ac_cs_usage"; exit ;;
20119 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20120 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20121 ac_cs_silent=: ;;
20123 # This is an error.
20124 -*) as_fn_error $? "unrecognized option: \`$1'
20125 Try \`$0 --help' for more information." ;;
20127 *) as_fn_append ac_config_targets " $1"
20128 ac_need_defaults=false ;;
20130 esac
20131 shift
20132 done
20134 ac_configure_extra_args=
20136 if $ac_cs_silent; then
20137 exec 6>/dev/null
20138 ac_configure_extra_args="$ac_configure_extra_args --silent"
20141 _ACEOF
20142 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20143 if \$ac_cs_recheck; then
20144 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20145 shift
20146 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20147 CONFIG_SHELL='$SHELL'
20148 export CONFIG_SHELL
20149 exec "\$@"
20152 _ACEOF
20153 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20154 exec 5>>config.log
20156 echo
20157 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20158 ## Running $as_me. ##
20159 _ASBOX
20160 $as_echo "$ac_log"
20161 } >&5
20163 _ACEOF
20164 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20166 # INIT-COMMANDS
20168 wine_fn_output_makedep ()
20170 as_dir=tools; as_fn_mkdir_p
20171 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
20173 wine_fn_output_makefile ()
20175 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
20176 `cat $wine_rules_file`
20177 _WINE_EOF
20178 as_fn_error $? "could not create Makefile" "$LINENO" 5
20181 _ACEOF
20183 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20185 # Handling of arguments.
20186 for ac_config_target in $ac_config_targets
20188 case $ac_config_target in
20189 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20190 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
20191 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
20192 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
20193 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
20194 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
20195 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
20196 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
20197 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
20198 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
20199 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
20200 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
20201 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
20203 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20204 esac
20205 done
20208 # If the user did not use the arguments to specify the items to instantiate,
20209 # then the envvar interface is used. Set only those that are not.
20210 # We use the long form for the default assignment because of an extremely
20211 # bizarre bug on SunOS 4.1.3.
20212 if $ac_need_defaults; then
20213 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20214 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20215 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
20216 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20219 # Have a temporary directory for convenience. Make it in the build tree
20220 # simply because there is no reason against having it here, and in addition,
20221 # creating and moving files from /tmp can sometimes cause problems.
20222 # Hook for its removal unless debugging.
20223 # Note that there is a small window in which the directory will not be cleaned:
20224 # after its creation but before its name has been assigned to `$tmp'.
20225 $debug ||
20227 tmp= ac_tmp=
20228 trap 'exit_status=$?
20229 : "${ac_tmp:=$tmp}"
20230 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20232 trap 'as_fn_exit 1' 1 2 13 15
20234 # Create a (secure) tmp directory for tmp files.
20237 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20238 test -d "$tmp"
20239 } ||
20241 tmp=./conf$$-$RANDOM
20242 (umask 077 && mkdir "$tmp")
20243 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20244 ac_tmp=$tmp
20246 # Set up the scripts for CONFIG_FILES section.
20247 # No need to generate them if there are no CONFIG_FILES.
20248 # This happens for instance with `./config.status config.h'.
20249 if test -n "$CONFIG_FILES"; then
20252 ac_cr=`echo X | tr X '\015'`
20253 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20254 # But we know of no other shell where ac_cr would be empty at this
20255 # point, so we can use a bashism as a fallback.
20256 if test "x$ac_cr" = x; then
20257 eval ac_cr=\$\'\\r\'
20259 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20260 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20261 ac_cs_awk_cr='\\r'
20262 else
20263 ac_cs_awk_cr=$ac_cr
20266 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20267 _ACEOF
20271 echo "cat >conf$$subs.awk <<_ACEOF" &&
20272 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20273 echo "_ACEOF"
20274 } >conf$$subs.sh ||
20275 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20276 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20277 ac_delim='%!_!# '
20278 for ac_last_try in false false false false false :; do
20279 . ./conf$$subs.sh ||
20280 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20282 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20283 if test $ac_delim_n = $ac_delim_num; then
20284 break
20285 elif $ac_last_try; then
20286 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20287 else
20288 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20290 done
20291 rm -f conf$$subs.sh
20293 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20294 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
20295 _ACEOF
20296 sed -n '
20298 s/^/S["/; s/!.*/"]=/
20301 s/^[^!]*!//
20302 :repl
20303 t repl
20304 s/'"$ac_delim"'$//
20305 t delim
20308 s/\(.\{148\}\)..*/\1/
20309 t more1
20310 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20313 b repl
20314 :more1
20315 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20318 s/.\{148\}//
20319 t nl
20320 :delim
20322 s/\(.\{148\}\)..*/\1/
20323 t more2
20324 s/["\\]/\\&/g; s/^/"/; s/$/"/
20327 :more2
20328 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20331 s/.\{148\}//
20332 t delim
20333 ' <conf$$subs.awk | sed '
20334 /^[^""]/{
20336 s/\n//
20338 ' >>$CONFIG_STATUS || ac_write_fail=1
20339 rm -f conf$$subs.awk
20340 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20341 _ACAWK
20342 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
20343 for (key in S) S_is_set[key] = 1
20344 FS = "\a"
20348 line = $ 0
20349 nfields = split(line, field, "@")
20350 substed = 0
20351 len = length(field[1])
20352 for (i = 2; i < nfields; i++) {
20353 key = field[i]
20354 keylen = length(key)
20355 if (S_is_set[key]) {
20356 value = S[key]
20357 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20358 len += length(value) + length(field[++i])
20359 substed = 1
20360 } else
20361 len += 1 + keylen
20364 print line
20367 _ACAWK
20368 _ACEOF
20369 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20370 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20371 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20372 else
20374 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
20375 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20376 _ACEOF
20378 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20379 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20380 # trailing colons and then remove the whole line if VPATH becomes empty
20381 # (actually we leave an empty line to preserve line numbers).
20382 if test "x$srcdir" = x.; then
20383 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20385 s///
20386 s/^/:/
20387 s/[ ]*$/:/
20388 s/:\$(srcdir):/:/g
20389 s/:\${srcdir}:/:/g
20390 s/:@srcdir@:/:/g
20391 s/^:*//
20392 s/:*$//
20394 s/\(=[ ]*\).*/\1/
20396 s/\n//
20397 s/^[^=]*=[ ]*$//
20401 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20402 fi # test -n "$CONFIG_FILES"
20404 # Set up the scripts for CONFIG_HEADERS section.
20405 # No need to generate them if there are no CONFIG_HEADERS.
20406 # This happens for instance with `./config.status Makefile'.
20407 if test -n "$CONFIG_HEADERS"; then
20408 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20409 BEGIN {
20410 _ACEOF
20412 # Transform confdefs.h into an awk script `defines.awk', embedded as
20413 # here-document in config.status, that substitutes the proper values into
20414 # config.h.in to produce config.h.
20416 # Create a delimiter string that does not exist in confdefs.h, to ease
20417 # handling of long lines.
20418 ac_delim='%!_!# '
20419 for ac_last_try in false false :; do
20420 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20421 if test -z "$ac_tt"; then
20422 break
20423 elif $ac_last_try; then
20424 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20425 else
20426 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20428 done
20430 # For the awk script, D is an array of macro values keyed by name,
20431 # likewise P contains macro parameters if any. Preserve backslash
20432 # newline sequences.
20434 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20435 sed -n '
20436 s/.\{148\}/&'"$ac_delim"'/g
20437 t rset
20438 :rset
20439 s/^[ ]*#[ ]*define[ ][ ]*/ /
20440 t def
20442 :def
20443 s/\\$//
20444 t bsnl
20445 s/["\\]/\\&/g
20446 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20447 D["\1"]=" \3"/p
20448 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
20450 :bsnl
20451 s/["\\]/\\&/g
20452 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20453 D["\1"]=" \3\\\\\\n"\\/p
20454 t cont
20455 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20456 t cont
20458 :cont
20460 s/.\{148\}/&'"$ac_delim"'/g
20461 t clear
20462 :clear
20463 s/\\$//
20464 t bsnlc
20465 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20467 :bsnlc
20468 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20469 b cont
20470 ' <confdefs.h | sed '
20471 s/'"$ac_delim"'/"\\\
20472 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20474 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20475 for (key in D) D_is_set[key] = 1
20476 FS = "\a"
20478 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20479 line = \$ 0
20480 split(line, arg, " ")
20481 if (arg[1] == "#") {
20482 defundef = arg[2]
20483 mac1 = arg[3]
20484 } else {
20485 defundef = substr(arg[1], 2)
20486 mac1 = arg[2]
20488 split(mac1, mac2, "(") #)
20489 macro = mac2[1]
20490 prefix = substr(line, 1, index(line, defundef) - 1)
20491 if (D_is_set[macro]) {
20492 # Preserve the white space surrounding the "#".
20493 print prefix "define", macro P[macro] D[macro]
20494 next
20495 } else {
20496 # Replace #undef with comments. This is necessary, for example,
20497 # in the case of _POSIX_SOURCE, which is predefined and required
20498 # on some systems where configure will not decide to define it.
20499 if (defundef == "undef") {
20500 print "/*", prefix defundef, macro, "*/"
20501 next
20505 { print }
20506 _ACAWK
20507 _ACEOF
20508 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20509 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20510 fi # test -n "$CONFIG_HEADERS"
20513 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
20514 shift
20515 for ac_tag
20517 case $ac_tag in
20518 :[FHLC]) ac_mode=$ac_tag; continue;;
20519 esac
20520 case $ac_mode$ac_tag in
20521 :[FHL]*:*);;
20522 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20523 :[FH]-) ac_tag=-:-;;
20524 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20525 esac
20526 ac_save_IFS=$IFS
20527 IFS=:
20528 set x $ac_tag
20529 IFS=$ac_save_IFS
20530 shift
20531 ac_file=$1
20532 shift
20534 case $ac_mode in
20535 :L) ac_source=$1;;
20536 :[FH])
20537 ac_file_inputs=
20538 for ac_f
20540 case $ac_f in
20541 -) ac_f="$ac_tmp/stdin";;
20542 *) # Look for the file first in the build tree, then in the source tree
20543 # (if the path is not absolute). The absolute path cannot be DOS-style,
20544 # because $ac_f cannot contain `:'.
20545 test -f "$ac_f" ||
20546 case $ac_f in
20547 [\\/$]*) false;;
20548 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20549 esac ||
20550 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20551 esac
20552 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20553 as_fn_append ac_file_inputs " '$ac_f'"
20554 done
20556 # Let's still pretend it is `configure' which instantiates (i.e., don't
20557 # use $as_me), people would be surprised to read:
20558 # /* config.h. Generated by config.status. */
20559 configure_input='Generated from '`
20560 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20561 `' by configure.'
20562 if test x"$ac_file" != x-; then
20563 configure_input="$ac_file. $configure_input"
20564 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20565 $as_echo "$as_me: creating $ac_file" >&6;}
20567 # Neutralize special characters interpreted by sed in replacement strings.
20568 case $configure_input in #(
20569 *\&* | *\|* | *\\* )
20570 ac_sed_conf_input=`$as_echo "$configure_input" |
20571 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20572 *) ac_sed_conf_input=$configure_input;;
20573 esac
20575 case $ac_tag in
20576 *:-:* | *:-) cat >"$ac_tmp/stdin" \
20577 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20578 esac
20580 esac
20582 ac_dir=`$as_dirname -- "$ac_file" ||
20583 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20584 X"$ac_file" : 'X\(//\)[^/]' \| \
20585 X"$ac_file" : 'X\(//\)$' \| \
20586 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20587 $as_echo X"$ac_file" |
20588 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20589 s//\1/
20592 /^X\(\/\/\)[^/].*/{
20593 s//\1/
20596 /^X\(\/\/\)$/{
20597 s//\1/
20600 /^X\(\/\).*/{
20601 s//\1/
20604 s/.*/./; q'`
20605 as_dir="$ac_dir"; as_fn_mkdir_p
20606 ac_builddir=.
20608 case "$ac_dir" in
20609 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20611 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20612 # A ".." for each directory in $ac_dir_suffix.
20613 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20614 case $ac_top_builddir_sub in
20615 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20616 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20617 esac ;;
20618 esac
20619 ac_abs_top_builddir=$ac_pwd
20620 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20621 # for backward compatibility:
20622 ac_top_builddir=$ac_top_build_prefix
20624 case $srcdir in
20625 .) # We are building in place.
20626 ac_srcdir=.
20627 ac_top_srcdir=$ac_top_builddir_sub
20628 ac_abs_top_srcdir=$ac_pwd ;;
20629 [\\/]* | ?:[\\/]* ) # Absolute name.
20630 ac_srcdir=$srcdir$ac_dir_suffix;
20631 ac_top_srcdir=$srcdir
20632 ac_abs_top_srcdir=$srcdir ;;
20633 *) # Relative name.
20634 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20635 ac_top_srcdir=$ac_top_build_prefix$srcdir
20636 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20637 esac
20638 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20641 case $ac_mode in
20644 # CONFIG_FILE
20647 _ACEOF
20649 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20650 # If the template does not know about datarootdir, expand it.
20651 # FIXME: This hack should be removed a few years after 2.60.
20652 ac_datarootdir_hack=; ac_datarootdir_seen=
20653 ac_sed_dataroot='
20654 /datarootdir/ {
20658 /@datadir@/p
20659 /@docdir@/p
20660 /@infodir@/p
20661 /@localedir@/p
20662 /@mandir@/p'
20663 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20664 *datarootdir*) ac_datarootdir_seen=yes;;
20665 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20666 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20667 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20668 _ACEOF
20669 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20670 ac_datarootdir_hack='
20671 s&@datadir@&$datadir&g
20672 s&@docdir@&$docdir&g
20673 s&@infodir@&$infodir&g
20674 s&@localedir@&$localedir&g
20675 s&@mandir@&$mandir&g
20676 s&\\\${datarootdir}&$datarootdir&g' ;;
20677 esac
20678 _ACEOF
20680 # Neutralize VPATH when `$srcdir' = `.'.
20681 # Shell code in configure.ac might set extrasub.
20682 # FIXME: do we really want to maintain this feature?
20683 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20684 ac_sed_extra="$ac_vpsub
20685 $extrasub
20686 _ACEOF
20687 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20689 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20690 s|@configure_input@|$ac_sed_conf_input|;t t
20691 s&@top_builddir@&$ac_top_builddir_sub&;t t
20692 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20693 s&@srcdir@&$ac_srcdir&;t t
20694 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20695 s&@top_srcdir@&$ac_top_srcdir&;t t
20696 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20697 s&@builddir@&$ac_builddir&;t t
20698 s&@abs_builddir@&$ac_abs_builddir&;t t
20699 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20700 $ac_datarootdir_hack
20702 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20703 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20705 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20706 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20707 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20708 "$ac_tmp/out"`; test -z "$ac_out"; } &&
20709 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20710 which seems to be undefined. Please make sure it is defined" >&5
20711 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20712 which seems to be undefined. Please make sure it is defined" >&2;}
20714 rm -f "$ac_tmp/stdin"
20715 case $ac_file in
20716 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20717 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20718 esac \
20719 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20723 # CONFIG_HEADER
20725 if test x"$ac_file" != x-; then
20727 $as_echo "/* $configure_input */" \
20728 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20729 } >"$ac_tmp/config.h" \
20730 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20731 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20732 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20733 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20734 else
20735 rm -f "$ac_file"
20736 mv "$ac_tmp/config.h" "$ac_file" \
20737 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20739 else
20740 $as_echo "/* $configure_input */" \
20741 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20742 || as_fn_error $? "could not create -" "$LINENO" 5
20747 # CONFIG_LINK
20750 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
20752 else
20753 # Prefer the file from the source tree if names are identical.
20754 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
20755 ac_source=$srcdir/$ac_source
20758 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
20759 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20761 if test ! -r "$ac_source"; then
20762 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20764 rm -f "$ac_file"
20766 # Try a relative symlink, then a hard link, then a copy.
20767 case $ac_source in
20768 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20769 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20770 esac
20771 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20772 ln "$ac_source" "$ac_file" 2>/dev/null ||
20773 cp -p "$ac_source" "$ac_file" ||
20774 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20777 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20778 $as_echo "$as_me: executing $ac_file commands" >&6;}
20780 esac
20783 case $ac_file$ac_mode in
20784 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20785 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20786 "Makefile":C) wine_fn_output_makefile Makefile ;;
20788 esac
20789 done # for ac_tag
20792 as_fn_exit 0
20793 _ACEOF
20794 ac_clean_files=$ac_clean_files_save
20796 test $ac_write_fail = 0 ||
20797 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20800 # configure is writing to config.log, and then calls config.status.
20801 # config.status does its own redirection, appending to config.log.
20802 # Unfortunately, on DOS this fails, as config.log is still kept open
20803 # by configure, so config.status won't be able to write to it; its
20804 # output is simply discarded. So we exec the FD to /dev/null,
20805 # effectively closing config.log, so it can be properly (re)opened and
20806 # appended to by config.status. When coming back to configure, we
20807 # need to make the FD available again.
20808 if test "$no_create" != yes; then
20809 ac_cs_success=:
20810 ac_config_status_args=
20811 test "$silent" = yes &&
20812 ac_config_status_args="$ac_config_status_args --quiet"
20813 exec 5>/dev/null
20814 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20815 exec 5>>config.log
20816 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20817 # would make configure fail if this is the last instruction.
20818 $ac_cs_success || as_fn_exit 1
20820 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20822 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20826 if test "$no_create" = "yes"
20827 then
20828 exit 0
20831 ac_save_IFS="$IFS"
20832 if test "x$wine_notices" != x; then
20833 echo >&6
20834 IFS="|"
20835 for msg in $wine_notices; do
20836 IFS="$ac_save_IFS"
20837 if ${msg:+false} :; then :
20839 else
20840 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20841 $as_echo "$as_me: $msg" >&6;}
20843 done
20845 IFS="|"
20846 for msg in $wine_warnings; do
20847 IFS="$ac_save_IFS"
20848 if ${msg:+false} :; then :
20850 else
20851 echo >&2
20852 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20853 $as_echo "$as_me: WARNING: $msg" >&2;}
20855 done
20856 IFS="$ac_save_IFS"
20858 $as_echo "
20859 $as_me: Finished. Do '${ac_make}' to compile Wine.
20860 " >&6