ntdll: Implement ProcessPriorityClass in NtQueryInformationProcess.
[wine.git] / configure
blob10ca89aebd3a610ef209d42c7988e0d9d19d08b7
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 3.2.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='3.2'
584 PACKAGE_STRING='Wine 3.2'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='https://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 WINELOADER_INSTALL
628 ALL_VARS_RULES
629 LDAP_LIBS
630 LDAP_CFLAGS
631 RT_LIBS
632 POLL_LIBS
633 DL_LIBS
634 TOOLSEXT
635 UNWINDFLAGS
636 EXCESS_PRECISION_CFLAGS
637 BUILTINFLAG
638 EXTRACFLAGS
639 NETAPI_LIBS
640 NETAPI_CFLAGS
641 PROCSTAT_LIBS
642 KSTAT_LIBS
643 MPG123_LIBS
644 MPG123_CFLAGS
645 TIFF_LIBS
646 TIFF_CFLAGS
647 PNG_LIBS
648 PNG_CFLAGS
649 JPEG_LIBS
650 JPEG_CFLAGS
651 GSSAPI_LIBS
652 GSSAPI_CFLAGS
653 KRB5_LIBS
654 KRB5_CFLAGS
655 FONTCONFIG_LIBS
656 FONTCONFIG_CFLAGS
657 CUPS_LIBS
658 CUPS_CFLAGS
659 CAPI20_LIBS
660 CAPI20_CFLAGS
661 SDL2_LIBS
662 SDL2_CFLAGS
663 UDEV_LIBS
664 UDEV_CFLAGS
665 OSS4_CFLAGS
666 ALSA_LIBS
667 GSTREAMER_LIBS
668 GSTREAMER_CFLAGS
669 PULSE_LIBS
670 PULSE_CFLAGS
671 GETTEXTPO_LIBS
672 Z_LIBS
673 FREETYPE_LIBS
674 FREETYPE_CFLAGS
675 LCMS2_LIBS
676 LCMS2_CFLAGS
677 RESOLV_LIBS
678 GPHOTO2_PORT_LIBS
679 GPHOTO2_PORT_CFLAGS
680 GPHOTO2_LIBS
681 GPHOTO2_CFLAGS
682 SANE_LIBS
683 SANE_CFLAGS
684 GNUTLS_LIBS
685 GNUTLS_CFLAGS
686 HAL_LIBS
687 HAL_CFLAGS
688 DBUS_LIBS
689 DBUS_CFLAGS
690 XSLT_LIBS
691 XSLT_CFLAGS
692 XML2_LIBS
693 XML2_CFLAGS
694 PCAP_LIBS
695 X_EXTRA_LIBS
696 X_LIBS
697 X_PRE_LIBS
698 X_CFLAGS
699 XMKMF
700 PTHREAD_LIBS
701 CROSSCFLAGS
702 CROSSCC
703 CROSSTARGET
704 PRELINK
705 WINELOADER_DEPENDS
706 CARBON_LIBS
707 QUICKTIME_LIBS
708 OPENCL_LIBS
709 OPENAL_LIBS
710 COREAUDIO_LIBS
711 SECURITY_LIBS
712 DISKARBITRATION_LIBS
713 APPKIT_LIBS
714 CORESERVICES_LIBS
715 APPLICATIONSERVICES_LIBS
716 FORCEFEEDBACK_LIBS
717 IOKIT_LIBS
718 COREFOUNDATION_LIBS
719 LIBWINE_DEPENDS
720 LIBWINE_LDFLAGS
721 LIBWINE_INSTALL_DEV
722 LIBWINE_INSTALL_LIB
723 LIBWINE_IMPORTLIB
724 LIBWINE_SHAREDLIB
725 SOCKET_LIBS
726 DLLTOOL
727 WINELOADER_PROGRAMS
728 ALL_TEST_RESOURCES
729 CONFIGURE_TARGETS
730 DISABLED_SUBDIRS
731 SUBDIRS
732 READELF
733 OTOOL
735 WINELOADER_LDFLAGS
736 LDEXECFLAGS
737 LDRPATH_LOCAL
738 LDRPATH_INSTALL
739 DLLFLAGS
741 OPENGL_LIBS
742 ICOTOOL
743 CONVERT
744 RSVG
745 FONTFORGE
746 PKG_CONFIG
747 MSGFMT
748 LDCONFIG
749 EGREP
750 GREP
751 LN_S
752 RANLIB
753 ARFLAGS
754 STRIP
755 ac_ct_AR
757 BISON
758 FLEX
759 TOOLSDIR
760 wine64_disable
761 TARGETFLAGS
763 CPPBIN
764 ac_ct_CXX
765 CXXFLAGS
767 OBJEXT
768 EXEEXT
769 ac_ct_CC
770 CPPFLAGS
771 LDFLAGS
772 CFLAGS
774 SET_MAKE
775 host_os
776 host_vendor
777 host_cpu
778 host
779 build_os
780 build_vendor
781 build_cpu
782 build
783 target_alias
784 host_alias
785 build_alias
786 LIBS
787 ECHO_T
788 ECHO_N
789 ECHO_C
790 DEFS
791 mandir
792 localedir
793 libdir
794 psdir
795 pdfdir
796 dvidir
797 htmldir
798 infodir
799 docdir
800 oldincludedir
801 includedir
802 runstatedir
803 localstatedir
804 sharedstatedir
805 sysconfdir
806 datadir
807 datarootdir
808 libexecdir
809 sbindir
810 bindir
811 program_transform_name
812 prefix
813 exec_prefix
814 PACKAGE_URL
815 PACKAGE_BUGREPORT
816 PACKAGE_STRING
817 PACKAGE_VERSION
818 PACKAGE_TARNAME
819 PACKAGE_NAME
820 PATH_SEPARATOR
821 SHELL'
822 ac_subst_files=''
823 ac_user_opts='
824 enable_option_checking
825 enable_win16
826 enable_win64
827 enable_tests
828 enable_maintainer_mode
829 with_alsa
830 with_capi
831 with_cms
832 with_coreaudio
833 with_cups
834 with_curses
835 with_dbus
836 with_float_abi
837 with_fontconfig
838 with_freetype
839 with_gettext
840 with_gettextpo
841 with_gphoto
842 with_glu
843 with_gnutls
844 with_gsm
845 with_gssapi
846 with_gstreamer
847 with_hal
848 with_jpeg
849 with_krb5
850 with_ldap
851 with_mpg123
852 with_netapi
853 with_openal
854 with_opencl
855 with_opengl
856 with_osmesa
857 with_oss
858 with_pcap
859 with_png
860 with_pthread
861 with_pulse
862 with_sane
863 with_tiff
864 with_udev
865 with_sdl
866 with_v4l
867 with_xcomposite
868 with_xcursor
869 with_xfixes
870 with_xinerama
871 with_xinput
872 with_xinput2
873 with_xml
874 with_xrandr
875 with_xrender
876 with_xshape
877 with_xshm
878 with_xslt
879 with_xxf86vm
880 with_zlib
881 with_wine_tools
882 with_wine64
883 enable_largefile
884 with_x
885 enable_acledit
886 enable_aclui
887 enable_activeds
888 enable_actxprxy
889 enable_adsldp
890 enable_adsldpc
891 enable_advapi32
892 enable_advpack
893 enable_amstream
894 enable_api_ms_win_appmodel_identity_l1_1_0
895 enable_api_ms_win_appmodel_runtime_l1_1_1
896 enable_api_ms_win_appmodel_runtime_l1_1_2
897 enable_api_ms_win_core_apiquery_l1_1_0
898 enable_api_ms_win_core_appcompat_l1_1_1
899 enable_api_ms_win_core_appinit_l1_1_0
900 enable_api_ms_win_core_atoms_l1_1_0
901 enable_api_ms_win_core_bem_l1_1_0
902 enable_api_ms_win_core_com_l1_1_0
903 enable_api_ms_win_core_com_l1_1_1
904 enable_api_ms_win_core_com_private_l1_1_0
905 enable_api_ms_win_core_console_l1_1_0
906 enable_api_ms_win_core_console_l2_1_0
907 enable_api_ms_win_core_crt_l1_1_0
908 enable_api_ms_win_core_crt_l2_1_0
909 enable_api_ms_win_core_datetime_l1_1_0
910 enable_api_ms_win_core_datetime_l1_1_1
911 enable_api_ms_win_core_debug_l1_1_0
912 enable_api_ms_win_core_debug_l1_1_1
913 enable_api_ms_win_core_delayload_l1_1_0
914 enable_api_ms_win_core_delayload_l1_1_1
915 enable_api_ms_win_core_errorhandling_l1_1_0
916 enable_api_ms_win_core_errorhandling_l1_1_1
917 enable_api_ms_win_core_errorhandling_l1_1_2
918 enable_api_ms_win_core_errorhandling_l1_1_3
919 enable_api_ms_win_core_fibers_l1_1_0
920 enable_api_ms_win_core_fibers_l1_1_1
921 enable_api_ms_win_core_file_l1_1_0
922 enable_api_ms_win_core_file_l1_2_0
923 enable_api_ms_win_core_file_l1_2_1
924 enable_api_ms_win_core_file_l1_2_2
925 enable_api_ms_win_core_file_l2_1_0
926 enable_api_ms_win_core_file_l2_1_1
927 enable_api_ms_win_core_file_l2_1_2
928 enable_api_ms_win_core_handle_l1_1_0
929 enable_api_ms_win_core_heap_l1_1_0
930 enable_api_ms_win_core_heap_l1_2_0
931 enable_api_ms_win_core_heap_l2_1_0
932 enable_api_ms_win_core_heap_obsolete_l1_1_0
933 enable_api_ms_win_core_interlocked_l1_1_0
934 enable_api_ms_win_core_interlocked_l1_2_0
935 enable_api_ms_win_core_io_l1_1_0
936 enable_api_ms_win_core_io_l1_1_1
937 enable_api_ms_win_core_job_l1_1_0
938 enable_api_ms_win_core_job_l2_1_0
939 enable_api_ms_win_core_kernel32_legacy_l1_1_0
940 enable_api_ms_win_core_kernel32_legacy_l1_1_1
941 enable_api_ms_win_core_kernel32_private_l1_1_1
942 enable_api_ms_win_core_libraryloader_l1_1_0
943 enable_api_ms_win_core_libraryloader_l1_1_1
944 enable_api_ms_win_core_libraryloader_l1_2_0
945 enable_api_ms_win_core_libraryloader_l1_2_1
946 enable_api_ms_win_core_libraryloader_l1_2_2
947 enable_api_ms_win_core_localization_l1_1_0
948 enable_api_ms_win_core_localization_l1_2_0
949 enable_api_ms_win_core_localization_l1_2_1
950 enable_api_ms_win_core_localization_l2_1_0
951 enable_api_ms_win_core_localization_obsolete_l1_1_0
952 enable_api_ms_win_core_localization_obsolete_l1_2_0
953 enable_api_ms_win_core_localization_obsolete_l1_3_0
954 enable_api_ms_win_core_localization_private_l1_1_0
955 enable_api_ms_win_core_localregistry_l1_1_0
956 enable_api_ms_win_core_memory_l1_1_0
957 enable_api_ms_win_core_memory_l1_1_1
958 enable_api_ms_win_core_memory_l1_1_2
959 enable_api_ms_win_core_misc_l1_1_0
960 enable_api_ms_win_core_namedpipe_l1_1_0
961 enable_api_ms_win_core_namedpipe_l1_2_0
962 enable_api_ms_win_core_namespace_l1_1_0
963 enable_api_ms_win_core_normalization_l1_1_0
964 enable_api_ms_win_core_path_l1_1_0
965 enable_api_ms_win_core_privateprofile_l1_1_1
966 enable_api_ms_win_core_processenvironment_l1_1_0
967 enable_api_ms_win_core_processenvironment_l1_2_0
968 enable_api_ms_win_core_processthreads_l1_1_0
969 enable_api_ms_win_core_processthreads_l1_1_1
970 enable_api_ms_win_core_processthreads_l1_1_2
971 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
972 enable_api_ms_win_core_profile_l1_1_0
973 enable_api_ms_win_core_psapi_ansi_l1_1_0
974 enable_api_ms_win_core_psapi_l1_1_0
975 enable_api_ms_win_core_psapi_obsolete_l1_1_0
976 enable_api_ms_win_core_quirks_l1_1_0
977 enable_api_ms_win_core_realtime_l1_1_0
978 enable_api_ms_win_core_registry_l1_1_0
979 enable_api_ms_win_core_registry_l2_1_0
980 enable_api_ms_win_core_registryuserspecific_l1_1_0
981 enable_api_ms_win_core_rtlsupport_l1_1_0
982 enable_api_ms_win_core_rtlsupport_l1_2_0
983 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
984 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
985 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
986 enable_api_ms_win_core_shutdown_l1_1_0
987 enable_api_ms_win_core_sidebyside_l1_1_0
988 enable_api_ms_win_core_string_l1_1_0
989 enable_api_ms_win_core_string_l2_1_0
990 enable_api_ms_win_core_string_obsolete_l1_1_0
991 enable_api_ms_win_core_stringansi_l1_1_0
992 enable_api_ms_win_core_synch_ansi_l1_1_0
993 enable_api_ms_win_core_synch_l1_1_0
994 enable_api_ms_win_core_synch_l1_2_0
995 enable_api_ms_win_core_synch_l1_2_1
996 enable_api_ms_win_core_sysinfo_l1_1_0
997 enable_api_ms_win_core_sysinfo_l1_2_0
998 enable_api_ms_win_core_sysinfo_l1_2_1
999 enable_api_ms_win_core_threadpool_l1_1_0
1000 enable_api_ms_win_core_threadpool_l1_2_0
1001 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1002 enable_api_ms_win_core_threadpool_private_l1_1_0
1003 enable_api_ms_win_core_timezone_l1_1_0
1004 enable_api_ms_win_core_toolhelp_l1_1_0
1005 enable_api_ms_win_core_url_l1_1_0
1006 enable_api_ms_win_core_util_l1_1_0
1007 enable_api_ms_win_core_version_l1_1_0
1008 enable_api_ms_win_core_version_l1_1_1
1009 enable_api_ms_win_core_version_private_l1_1_0
1010 enable_api_ms_win_core_versionansi_l1_1_0
1011 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1012 enable_api_ms_win_core_winrt_error_l1_1_0
1013 enable_api_ms_win_core_winrt_error_l1_1_1
1014 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1015 enable_api_ms_win_core_winrt_l1_1_0
1016 enable_api_ms_win_core_winrt_registration_l1_1_0
1017 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1018 enable_api_ms_win_core_winrt_string_l1_1_0
1019 enable_api_ms_win_core_wow64_l1_1_0
1020 enable_api_ms_win_core_wow64_l1_1_1
1021 enable_api_ms_win_core_xstate_l1_1_0
1022 enable_api_ms_win_core_xstate_l2_1_0
1023 enable_api_ms_win_crt_conio_l1_1_0
1024 enable_api_ms_win_crt_convert_l1_1_0
1025 enable_api_ms_win_crt_environment_l1_1_0
1026 enable_api_ms_win_crt_filesystem_l1_1_0
1027 enable_api_ms_win_crt_heap_l1_1_0
1028 enable_api_ms_win_crt_locale_l1_1_0
1029 enable_api_ms_win_crt_math_l1_1_0
1030 enable_api_ms_win_crt_multibyte_l1_1_0
1031 enable_api_ms_win_crt_private_l1_1_0
1032 enable_api_ms_win_crt_process_l1_1_0
1033 enable_api_ms_win_crt_runtime_l1_1_0
1034 enable_api_ms_win_crt_stdio_l1_1_0
1035 enable_api_ms_win_crt_string_l1_1_0
1036 enable_api_ms_win_crt_time_l1_1_0
1037 enable_api_ms_win_crt_utility_l1_1_0
1038 enable_api_ms_win_devices_config_l1_1_1
1039 enable_api_ms_win_devices_query_l1_1_1
1040 enable_api_ms_win_downlevel_advapi32_l1_1_0
1041 enable_api_ms_win_downlevel_advapi32_l2_1_0
1042 enable_api_ms_win_downlevel_normaliz_l1_1_0
1043 enable_api_ms_win_downlevel_ole32_l1_1_0
1044 enable_api_ms_win_downlevel_shell32_l1_1_0
1045 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1046 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1047 enable_api_ms_win_downlevel_user32_l1_1_0
1048 enable_api_ms_win_downlevel_version_l1_1_0
1049 enable_api_ms_win_dx_d3dkmt_l1_1_0
1050 enable_api_ms_win_eventing_classicprovider_l1_1_0
1051 enable_api_ms_win_eventing_consumer_l1_1_0
1052 enable_api_ms_win_eventing_controller_l1_1_0
1053 enable_api_ms_win_eventing_legacy_l1_1_0
1054 enable_api_ms_win_eventing_provider_l1_1_0
1055 enable_api_ms_win_eventlog_legacy_l1_1_0
1056 enable_api_ms_win_mm_joystick_l1_1_0
1057 enable_api_ms_win_mm_misc_l1_1_1
1058 enable_api_ms_win_mm_mme_l1_1_0
1059 enable_api_ms_win_mm_time_l1_1_0
1060 enable_api_ms_win_ntuser_dc_access_l1_1_0
1061 enable_api_ms_win_ntuser_rectangle_l1_1_0
1062 enable_api_ms_win_perf_legacy_l1_1_0
1063 enable_api_ms_win_power_base_l1_1_0
1064 enable_api_ms_win_power_setting_l1_1_0
1065 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1066 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1067 enable_api_ms_win_security_audit_l1_1_1
1068 enable_api_ms_win_security_base_l1_1_0
1069 enable_api_ms_win_security_base_l1_2_0
1070 enable_api_ms_win_security_base_private_l1_1_1
1071 enable_api_ms_win_security_credentials_l1_1_0
1072 enable_api_ms_win_security_grouppolicy_l1_1_0
1073 enable_api_ms_win_security_lsalookup_l1_1_0
1074 enable_api_ms_win_security_lsalookup_l1_1_1
1075 enable_api_ms_win_security_lsalookup_l2_1_0
1076 enable_api_ms_win_security_lsalookup_l2_1_1
1077 enable_api_ms_win_security_lsapolicy_l1_1_0
1078 enable_api_ms_win_security_provider_l1_1_0
1079 enable_api_ms_win_security_sddl_l1_1_0
1080 enable_api_ms_win_security_systemfunctions_l1_1_0
1081 enable_api_ms_win_service_core_l1_1_0
1082 enable_api_ms_win_service_core_l1_1_1
1083 enable_api_ms_win_service_management_l1_1_0
1084 enable_api_ms_win_service_management_l2_1_0
1085 enable_api_ms_win_service_private_l1_1_1
1086 enable_api_ms_win_service_winsvc_l1_1_0
1087 enable_api_ms_win_service_winsvc_l1_2_0
1088 enable_api_ms_win_shcore_scaling_l1_1_1
1089 enable_api_ms_win_shell_shellcom_l1_1_0
1090 enable_api_ms_win_shell_shellfolders_l1_1_0
1091 enable_apphelp
1092 enable_appwiz_cpl
1093 enable_atl
1094 enable_atl100
1095 enable_atl110
1096 enable_atl80
1097 enable_atl90
1098 enable_authz
1099 enable_avicap32
1100 enable_avifil32
1101 enable_avrt
1102 enable_bcrypt
1103 enable_bluetoothapis
1104 enable_browseui
1105 enable_bthprops_cpl
1106 enable_cabinet
1107 enable_capi2032
1108 enable_cards
1109 enable_cdosys
1110 enable_cfgmgr32
1111 enable_clusapi
1112 enable_combase
1113 enable_comcat
1114 enable_comctl32
1115 enable_comdlg32
1116 enable_compstui
1117 enable_comsvcs
1118 enable_concrt140
1119 enable_connect
1120 enable_credui
1121 enable_crtdll
1122 enable_crypt32
1123 enable_cryptdlg
1124 enable_cryptdll
1125 enable_cryptext
1126 enable_cryptnet
1127 enable_cryptui
1128 enable_ctapi32
1129 enable_ctl3d32
1130 enable_d2d1
1131 enable_d3d10
1132 enable_d3d10_1
1133 enable_d3d10core
1134 enable_d3d11
1135 enable_d3d12
1136 enable_d3d8
1137 enable_d3d9
1138 enable_d3dcompiler_33
1139 enable_d3dcompiler_34
1140 enable_d3dcompiler_35
1141 enable_d3dcompiler_36
1142 enable_d3dcompiler_37
1143 enable_d3dcompiler_38
1144 enable_d3dcompiler_39
1145 enable_d3dcompiler_40
1146 enable_d3dcompiler_41
1147 enable_d3dcompiler_42
1148 enable_d3dcompiler_43
1149 enable_d3dcompiler_46
1150 enable_d3dcompiler_47
1151 enable_d3dim
1152 enable_d3drm
1153 enable_d3dx10_33
1154 enable_d3dx10_34
1155 enable_d3dx10_35
1156 enable_d3dx10_36
1157 enable_d3dx10_37
1158 enable_d3dx10_38
1159 enable_d3dx10_39
1160 enable_d3dx10_40
1161 enable_d3dx10_41
1162 enable_d3dx10_42
1163 enable_d3dx10_43
1164 enable_d3dx11_42
1165 enable_d3dx11_43
1166 enable_d3dx9_24
1167 enable_d3dx9_25
1168 enable_d3dx9_26
1169 enable_d3dx9_27
1170 enable_d3dx9_28
1171 enable_d3dx9_29
1172 enable_d3dx9_30
1173 enable_d3dx9_31
1174 enable_d3dx9_32
1175 enable_d3dx9_33
1176 enable_d3dx9_34
1177 enable_d3dx9_35
1178 enable_d3dx9_36
1179 enable_d3dx9_37
1180 enable_d3dx9_38
1181 enable_d3dx9_39
1182 enable_d3dx9_40
1183 enable_d3dx9_41
1184 enable_d3dx9_42
1185 enable_d3dx9_43
1186 enable_d3dxof
1187 enable_davclnt
1188 enable_dbgeng
1189 enable_dbghelp
1190 enable_dciman32
1191 enable_ddraw
1192 enable_ddrawex
1193 enable_devenum
1194 enable_dhcpcsvc
1195 enable_dhtmled_ocx
1196 enable_difxapi
1197 enable_dinput
1198 enable_dinput8
1199 enable_dispex
1200 enable_dmband
1201 enable_dmcompos
1202 enable_dmime
1203 enable_dmloader
1204 enable_dmscript
1205 enable_dmstyle
1206 enable_dmsynth
1207 enable_dmusic
1208 enable_dmusic32
1209 enable_dnsapi
1210 enable_dplay
1211 enable_dplayx
1212 enable_dpnaddr
1213 enable_dpnet
1214 enable_dpnhpast
1215 enable_dpnlobby
1216 enable_dpvoice
1217 enable_dpwsockx
1218 enable_drmclien
1219 enable_dsound
1220 enable_dsquery
1221 enable_dssenh
1222 enable_dswave
1223 enable_dwmapi
1224 enable_dwrite
1225 enable_dx8vb
1226 enable_dxdiagn
1227 enable_dxgi
1228 enable_dxva2
1229 enable_esent
1230 enable_evr
1231 enable_explorerframe
1232 enable_ext_ms_win_authz_context_l1_1_0
1233 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1234 enable_ext_ms_win_gdi_dc_create_l1_1_1
1235 enable_ext_ms_win_gdi_dc_l1_2_0
1236 enable_ext_ms_win_gdi_devcaps_l1_1_0
1237 enable_ext_ms_win_gdi_draw_l1_1_1
1238 enable_ext_ms_win_gdi_render_l1_1_0
1239 enable_ext_ms_win_kernel32_package_current_l1_1_0
1240 enable_ext_ms_win_kernel32_package_l1_1_1
1241 enable_ext_ms_win_ntuser_message_l1_1_1
1242 enable_ext_ms_win_ntuser_private_l1_1_1
1243 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1244 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1245 enable_ext_ms_win_ntuser_window_l1_1_1
1246 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1247 enable_ext_ms_win_ras_rasapi32_l1_1_0
1248 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1249 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1250 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1251 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1252 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1253 enable_ext_ms_win_security_credui_l1_1_0
1254 enable_ext_ms_win_security_cryptui_l1_1_0
1255 enable_faultrep
1256 enable_fltlib
1257 enable_fltmgr_sys
1258 enable_fntcache
1259 enable_fontsub
1260 enable_fusion
1261 enable_fwpuclnt
1262 enable_gameux
1263 enable_gdi32
1264 enable_gdiplus
1265 enable_glu32
1266 enable_gphoto2_ds
1267 enable_gpkcsp
1268 enable_hal
1269 enable_hhctrl_ocx
1270 enable_hid
1271 enable_hidclass_sys
1272 enable_hlink
1273 enable_hnetcfg
1274 enable_httpapi
1275 enable_iccvid
1276 enable_icmp
1277 enable_ieframe
1278 enable_ieproxy
1279 enable_imaadp32_acm
1280 enable_imagehlp
1281 enable_imm32
1282 enable_inetcomm
1283 enable_inetcpl_cpl
1284 enable_inetmib1
1285 enable_infosoft
1286 enable_initpki
1287 enable_inkobj
1288 enable_inseng
1289 enable_iphlpapi
1290 enable_iprop
1291 enable_irprops_cpl
1292 enable_itircl
1293 enable_itss
1294 enable_joy_cpl
1295 enable_jscript
1296 enable_jsproxy
1297 enable_kerberos
1298 enable_kernel32
1299 enable_kernelbase
1300 enable_ksuser
1301 enable_ktmw32
1302 enable_l3codeca_acm
1303 enable_loadperf
1304 enable_localspl
1305 enable_localui
1306 enable_lz32
1307 enable_mapi32
1308 enable_mapistub
1309 enable_mciavi32
1310 enable_mcicda
1311 enable_mciqtz32
1312 enable_mciseq
1313 enable_mciwave
1314 enable_mf
1315 enable_mf3216
1316 enable_mfplat
1317 enable_mfreadwrite
1318 enable_mgmtapi
1319 enable_midimap
1320 enable_mlang
1321 enable_mmcndmgr
1322 enable_mmdevapi
1323 enable_mountmgr_sys
1324 enable_mpr
1325 enable_mprapi
1326 enable_msacm32_drv
1327 enable_msacm32
1328 enable_msadp32_acm
1329 enable_msasn1
1330 enable_mscat32
1331 enable_mscms
1332 enable_mscoree
1333 enable_msctf
1334 enable_msctfp
1335 enable_msdaps
1336 enable_msdelta
1337 enable_msdmo
1338 enable_msdrm
1339 enable_msftedit
1340 enable_msg711_acm
1341 enable_msgsm32_acm
1342 enable_mshtml_tlb
1343 enable_mshtml
1344 enable_msi
1345 enable_msident
1346 enable_msimg32
1347 enable_msimsg
1348 enable_msimtf
1349 enable_msisip
1350 enable_msisys_ocx
1351 enable_msls31
1352 enable_msnet32
1353 enable_mspatcha
1354 enable_msports
1355 enable_msrle32
1356 enable_msscript_ocx
1357 enable_mssign32
1358 enable_mssip32
1359 enable_mstask
1360 enable_msvcirt
1361 enable_msvcm80
1362 enable_msvcm90
1363 enable_msvcp100
1364 enable_msvcp110
1365 enable_msvcp120
1366 enable_msvcp120_app
1367 enable_msvcp140
1368 enable_msvcp60
1369 enable_msvcp70
1370 enable_msvcp71
1371 enable_msvcp80
1372 enable_msvcp90
1373 enable_msvcr100
1374 enable_msvcr110
1375 enable_msvcr120
1376 enable_msvcr120_app
1377 enable_msvcr70
1378 enable_msvcr71
1379 enable_msvcr80
1380 enable_msvcr90
1381 enable_msvcrt
1382 enable_msvcrt20
1383 enable_msvcrt40
1384 enable_msvcrtd
1385 enable_msvfw32
1386 enable_msvidc32
1387 enable_mswsock
1388 enable_msxml
1389 enable_msxml2
1390 enable_msxml3
1391 enable_msxml4
1392 enable_msxml6
1393 enable_mtxdm
1394 enable_ncrypt
1395 enable_nddeapi
1396 enable_ndis_sys
1397 enable_netapi32
1398 enable_netcfgx
1399 enable_netprofm
1400 enable_newdev
1401 enable_normaliz
1402 enable_npmshtml
1403 enable_npptools
1404 enable_ntdll
1405 enable_ntdsapi
1406 enable_ntoskrnl_exe
1407 enable_ntprint
1408 enable_objsel
1409 enable_odbc32
1410 enable_odbccp32
1411 enable_odbccu32
1412 enable_ole32
1413 enable_oleacc
1414 enable_oleaut32
1415 enable_olecli32
1416 enable_oledb32
1417 enable_oledlg
1418 enable_olepro32
1419 enable_olesvr32
1420 enable_olethk32
1421 enable_openal32
1422 enable_opencl
1423 enable_opengl32
1424 enable_packager
1425 enable_pdh
1426 enable_photometadatahandler
1427 enable_pidgen
1428 enable_powrprof
1429 enable_printui
1430 enable_prntvpt
1431 enable_propsys
1432 enable_psapi
1433 enable_pstorec
1434 enable_qcap
1435 enable_qedit
1436 enable_qmgr
1437 enable_qmgrprxy
1438 enable_quartz
1439 enable_query
1440 enable_rasapi32
1441 enable_rasdlg
1442 enable_regapi
1443 enable_resutils
1444 enable_riched20
1445 enable_riched32
1446 enable_rpcrt4
1447 enable_rsabase
1448 enable_rsaenh
1449 enable_rstrtmgr
1450 enable_rtutils
1451 enable_samlib
1452 enable_sane_ds
1453 enable_sapi
1454 enable_scarddlg
1455 enable_sccbase
1456 enable_schannel
1457 enable_schedsvc
1458 enable_scrobj
1459 enable_scrrun
1460 enable_scsiport_sys
1461 enable_secur32
1462 enable_security
1463 enable_sensapi
1464 enable_serialui
1465 enable_setupapi
1466 enable_sfc
1467 enable_sfc_os
1468 enable_shcore
1469 enable_shdoclc
1470 enable_shdocvw
1471 enable_shell32
1472 enable_shfolder
1473 enable_shlwapi
1474 enable_slbcsp
1475 enable_slc
1476 enable_snmpapi
1477 enable_softpub
1478 enable_spoolss
1479 enable_sspicli
1480 enable_stdole2_tlb
1481 enable_stdole32_tlb
1482 enable_sti
1483 enable_svrapi
1484 enable_sxs
1485 enable_t2embed
1486 enable_tapi32
1487 enable_taskschd
1488 enable_tdh
1489 enable_tdi_sys
1490 enable_traffic
1491 enable_twain_32
1492 enable_ucrtbase
1493 enable_uiautomationcore
1494 enable_uiribbon
1495 enable_unicows
1496 enable_updspapi
1497 enable_url
1498 enable_urlmon
1499 enable_usbd_sys
1500 enable_user32
1501 enable_userenv
1502 enable_usp10
1503 enable_uxtheme
1504 enable_vbscript
1505 enable_vcomp
1506 enable_vcomp100
1507 enable_vcomp110
1508 enable_vcomp120
1509 enable_vcomp140
1510 enable_vcomp90
1511 enable_vcruntime140
1512 enable_vdmdbg
1513 enable_version
1514 enable_virtdisk
1515 enable_vssapi
1516 enable_wbemdisp
1517 enable_wbemprox
1518 enable_wdscore
1519 enable_webservices
1520 enable_wer
1521 enable_wevtapi
1522 enable_wiaservc
1523 enable_wimgapi
1524 enable_windowscodecs
1525 enable_windowscodecsext
1526 enable_winealsa_drv
1527 enable_wineandroid_drv
1528 enable_winebus_sys
1529 enable_winecoreaudio_drv
1530 enable_wined3d
1531 enable_winegstreamer
1532 enable_winehid_sys
1533 enable_winejoystick_drv
1534 enable_winemac_drv
1535 enable_winemapi
1536 enable_wineoss_drv
1537 enable_wineps_drv
1538 enable_winepulse_drv
1539 enable_wineqtdecoder
1540 enable_winevulkan
1541 enable_winex11_drv
1542 enable_wing32
1543 enable_winhttp
1544 enable_wininet
1545 enable_winmm
1546 enable_winnls32
1547 enable_winscard
1548 enable_winspool_drv
1549 enable_winsta
1550 enable_wintab32
1551 enable_wintrust
1552 enable_winusb
1553 enable_wlanapi
1554 enable_wldap32
1555 enable_wmasf
1556 enable_wmi
1557 enable_wmiutils
1558 enable_wmp
1559 enable_wmphoto
1560 enable_wmvcore
1561 enable_wnaspi32
1562 enable_wpc
1563 enable_wpcap
1564 enable_ws2_32
1565 enable_wsdapi
1566 enable_wshom_ocx
1567 enable_wsnmp32
1568 enable_wsock32
1569 enable_wtsapi32
1570 enable_wuapi
1571 enable_wuaueng
1572 enable_x3daudio1_0
1573 enable_x3daudio1_1
1574 enable_x3daudio1_2
1575 enable_x3daudio1_3
1576 enable_x3daudio1_4
1577 enable_x3daudio1_5
1578 enable_x3daudio1_6
1579 enable_x3daudio1_7
1580 enable_xapofx1_1
1581 enable_xapofx1_2
1582 enable_xapofx1_3
1583 enable_xapofx1_4
1584 enable_xapofx1_5
1585 enable_xaudio2_0
1586 enable_xaudio2_1
1587 enable_xaudio2_2
1588 enable_xaudio2_3
1589 enable_xaudio2_4
1590 enable_xaudio2_5
1591 enable_xaudio2_6
1592 enable_xaudio2_7
1593 enable_xaudio2_8
1594 enable_xaudio2_9
1595 enable_xinput1_1
1596 enable_xinput1_2
1597 enable_xinput1_3
1598 enable_xinput1_4
1599 enable_xinput9_1_0
1600 enable_xmllite
1601 enable_xolehlp
1602 enable_xpsprint
1603 enable_xpssvcs
1604 enable_fonts
1605 enable_include
1606 enable_libs_port
1607 enable_libs_wine
1608 enable_libs_wpp
1609 enable_loader
1610 enable_po
1611 enable_arp
1612 enable_aspnet_regiis
1613 enable_attrib
1614 enable_cabarc
1615 enable_cacls
1616 enable_clock
1617 enable_cmd
1618 enable_conhost
1619 enable_control
1620 enable_cscript
1621 enable_dpnsvr
1622 enable_dxdiag
1623 enable_eject
1624 enable_expand
1625 enable_explorer
1626 enable_extrac32
1627 enable_findstr
1628 enable_fsutil
1629 enable_hh
1630 enable_hostname
1631 enable_icacls
1632 enable_icinfo
1633 enable_iexplore
1634 enable_ipconfig
1635 enable_lodctr
1636 enable_mofcomp
1637 enable_mshta
1638 enable_msiexec
1639 enable_msinfo32
1640 enable_net
1641 enable_netsh
1642 enable_netstat
1643 enable_ngen
1644 enable_notepad
1645 enable_oleview
1646 enable_ping
1647 enable_plugplay
1648 enable_powershell
1649 enable_presentationfontcache
1650 enable_progman
1651 enable_reg
1652 enable_regasm
1653 enable_regedit
1654 enable_regsvcs
1655 enable_regsvr32
1656 enable_rpcss
1657 enable_rundll32
1658 enable_sc
1659 enable_schtasks
1660 enable_sdbinst
1661 enable_secedit
1662 enable_servicemodelreg
1663 enable_services
1664 enable_shutdown
1665 enable_spoolsv
1666 enable_start
1667 enable_subst
1668 enable_svchost
1669 enable_systeminfo
1670 enable_taskkill
1671 enable_tasklist
1672 enable_taskmgr
1673 enable_termsv
1674 enable_uninstaller
1675 enable_unlodctr
1676 enable_view
1677 enable_wevtutil
1678 enable_wineboot
1679 enable_winebrowser
1680 enable_winecfg
1681 enable_wineconsole
1682 enable_winedbg
1683 enable_winedevice
1684 enable_winefile
1685 enable_winemenubuilder
1686 enable_winemine
1687 enable_winemsibuilder
1688 enable_winepath
1689 enable_winetest
1690 enable_winhlp32
1691 enable_winver
1692 enable_wmic
1693 enable_wmplayer
1694 enable_wordpad
1695 enable_write
1696 enable_wscript
1697 enable_wusa
1698 enable_xcopy
1699 enable_server
1700 enable_tools
1702 ac_precious_vars='build_alias
1703 host_alias
1704 target_alias
1706 CFLAGS
1707 LDFLAGS
1708 LIBS
1709 CPPFLAGS
1711 CXXFLAGS
1714 XMKMF
1715 XML2_CFLAGS
1716 XML2_LIBS
1717 XSLT_CFLAGS
1718 XSLT_LIBS
1719 DBUS_CFLAGS
1720 DBUS_LIBS
1721 HAL_CFLAGS
1722 HAL_LIBS
1723 GNUTLS_CFLAGS
1724 GNUTLS_LIBS
1725 SANE_CFLAGS
1726 SANE_LIBS
1727 GPHOTO2_CFLAGS
1728 GPHOTO2_LIBS
1729 GPHOTO2_PORT_CFLAGS
1730 GPHOTO2_PORT_LIBS
1731 LCMS2_CFLAGS
1732 LCMS2_LIBS
1733 FREETYPE_CFLAGS
1734 FREETYPE_LIBS
1735 PULSE_CFLAGS
1736 PULSE_LIBS
1737 GSTREAMER_CFLAGS
1738 GSTREAMER_LIBS
1739 UDEV_CFLAGS
1740 UDEV_LIBS
1741 SDL2_CFLAGS
1742 SDL2_LIBS
1743 CAPI20_CFLAGS
1744 CAPI20_LIBS
1745 CUPS_CFLAGS
1746 CUPS_LIBS
1747 FONTCONFIG_CFLAGS
1748 FONTCONFIG_LIBS
1749 KRB5_CFLAGS
1750 KRB5_LIBS
1751 GSSAPI_CFLAGS
1752 GSSAPI_LIBS
1753 JPEG_CFLAGS
1754 JPEG_LIBS
1755 PNG_CFLAGS
1756 PNG_LIBS
1757 TIFF_CFLAGS
1758 TIFF_LIBS
1759 MPG123_CFLAGS
1760 MPG123_LIBS
1761 NETAPI_CFLAGS
1762 NETAPI_LIBS
1763 LDAP_CFLAGS
1764 LDAP_LIBS'
1767 # Initialize some variables set by options.
1768 ac_init_help=
1769 ac_init_version=false
1770 ac_unrecognized_opts=
1771 ac_unrecognized_sep=
1772 # The variables have the same names as the options, with
1773 # dashes changed to underlines.
1774 cache_file=/dev/null
1775 exec_prefix=NONE
1776 no_create=
1777 no_recursion=
1778 prefix=NONE
1779 program_prefix=NONE
1780 program_suffix=NONE
1781 program_transform_name=s,x,x,
1782 silent=
1783 site=
1784 srcdir=
1785 verbose=
1786 x_includes=NONE
1787 x_libraries=NONE
1789 # Installation directory options.
1790 # These are left unexpanded so users can "make install exec_prefix=/foo"
1791 # and all the variables that are supposed to be based on exec_prefix
1792 # by default will actually change.
1793 # Use braces instead of parens because sh, perl, etc. also accept them.
1794 # (The list follows the same order as the GNU Coding Standards.)
1795 bindir='${exec_prefix}/bin'
1796 sbindir='${exec_prefix}/sbin'
1797 libexecdir='${exec_prefix}/libexec'
1798 datarootdir='${prefix}/share'
1799 datadir='${datarootdir}'
1800 sysconfdir='${prefix}/etc'
1801 sharedstatedir='${prefix}/com'
1802 localstatedir='${prefix}/var'
1803 runstatedir='${localstatedir}/run'
1804 includedir='${prefix}/include'
1805 oldincludedir='/usr/include'
1806 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1807 infodir='${datarootdir}/info'
1808 htmldir='${docdir}'
1809 dvidir='${docdir}'
1810 pdfdir='${docdir}'
1811 psdir='${docdir}'
1812 libdir='${exec_prefix}/lib'
1813 localedir='${datarootdir}/locale'
1814 mandir='${datarootdir}/man'
1816 ac_prev=
1817 ac_dashdash=
1818 for ac_option
1820 # If the previous option needs an argument, assign it.
1821 if test -n "$ac_prev"; then
1822 eval $ac_prev=\$ac_option
1823 ac_prev=
1824 continue
1827 case $ac_option in
1828 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1829 *=) ac_optarg= ;;
1830 *) ac_optarg=yes ;;
1831 esac
1833 # Accept the important Cygnus configure options, so we can diagnose typos.
1835 case $ac_dashdash$ac_option in
1837 ac_dashdash=yes ;;
1839 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1840 ac_prev=bindir ;;
1841 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1842 bindir=$ac_optarg ;;
1844 -build | --build | --buil | --bui | --bu)
1845 ac_prev=build_alias ;;
1846 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1847 build_alias=$ac_optarg ;;
1849 -cache-file | --cache-file | --cache-fil | --cache-fi \
1850 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1851 ac_prev=cache_file ;;
1852 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1853 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1854 cache_file=$ac_optarg ;;
1856 --config-cache | -C)
1857 cache_file=config.cache ;;
1859 -datadir | --datadir | --datadi | --datad)
1860 ac_prev=datadir ;;
1861 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1862 datadir=$ac_optarg ;;
1864 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1865 | --dataroo | --dataro | --datar)
1866 ac_prev=datarootdir ;;
1867 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1868 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1869 datarootdir=$ac_optarg ;;
1871 -disable-* | --disable-*)
1872 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1873 # Reject names that are not valid shell variable names.
1874 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1875 as_fn_error $? "invalid feature name: $ac_useropt"
1876 ac_useropt_orig=$ac_useropt
1877 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1878 case $ac_user_opts in
1880 "enable_$ac_useropt"
1881 "*) ;;
1882 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1883 ac_unrecognized_sep=', ';;
1884 esac
1885 eval enable_$ac_useropt=no ;;
1887 -docdir | --docdir | --docdi | --doc | --do)
1888 ac_prev=docdir ;;
1889 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1890 docdir=$ac_optarg ;;
1892 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1893 ac_prev=dvidir ;;
1894 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1895 dvidir=$ac_optarg ;;
1897 -enable-* | --enable-*)
1898 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1899 # Reject names that are not valid shell variable names.
1900 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1901 as_fn_error $? "invalid feature name: $ac_useropt"
1902 ac_useropt_orig=$ac_useropt
1903 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1904 case $ac_user_opts in
1906 "enable_$ac_useropt"
1907 "*) ;;
1908 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1909 ac_unrecognized_sep=', ';;
1910 esac
1911 eval enable_$ac_useropt=\$ac_optarg ;;
1913 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1914 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1915 | --exec | --exe | --ex)
1916 ac_prev=exec_prefix ;;
1917 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1918 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1919 | --exec=* | --exe=* | --ex=*)
1920 exec_prefix=$ac_optarg ;;
1922 -gas | --gas | --ga | --g)
1923 # Obsolete; use --with-gas.
1924 with_gas=yes ;;
1926 -help | --help | --hel | --he | -h)
1927 ac_init_help=long ;;
1928 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1929 ac_init_help=recursive ;;
1930 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1931 ac_init_help=short ;;
1933 -host | --host | --hos | --ho)
1934 ac_prev=host_alias ;;
1935 -host=* | --host=* | --hos=* | --ho=*)
1936 host_alias=$ac_optarg ;;
1938 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1939 ac_prev=htmldir ;;
1940 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1941 | --ht=*)
1942 htmldir=$ac_optarg ;;
1944 -includedir | --includedir | --includedi | --included | --include \
1945 | --includ | --inclu | --incl | --inc)
1946 ac_prev=includedir ;;
1947 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1948 | --includ=* | --inclu=* | --incl=* | --inc=*)
1949 includedir=$ac_optarg ;;
1951 -infodir | --infodir | --infodi | --infod | --info | --inf)
1952 ac_prev=infodir ;;
1953 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1954 infodir=$ac_optarg ;;
1956 -libdir | --libdir | --libdi | --libd)
1957 ac_prev=libdir ;;
1958 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1959 libdir=$ac_optarg ;;
1961 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1962 | --libexe | --libex | --libe)
1963 ac_prev=libexecdir ;;
1964 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1965 | --libexe=* | --libex=* | --libe=*)
1966 libexecdir=$ac_optarg ;;
1968 -localedir | --localedir | --localedi | --localed | --locale)
1969 ac_prev=localedir ;;
1970 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1971 localedir=$ac_optarg ;;
1973 -localstatedir | --localstatedir | --localstatedi | --localstated \
1974 | --localstate | --localstat | --localsta | --localst | --locals)
1975 ac_prev=localstatedir ;;
1976 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1977 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1978 localstatedir=$ac_optarg ;;
1980 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1981 ac_prev=mandir ;;
1982 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1983 mandir=$ac_optarg ;;
1985 -nfp | --nfp | --nf)
1986 # Obsolete; use --without-fp.
1987 with_fp=no ;;
1989 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1990 | --no-cr | --no-c | -n)
1991 no_create=yes ;;
1993 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1994 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1995 no_recursion=yes ;;
1997 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1998 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1999 | --oldin | --oldi | --old | --ol | --o)
2000 ac_prev=oldincludedir ;;
2001 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2002 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2003 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2004 oldincludedir=$ac_optarg ;;
2006 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2007 ac_prev=prefix ;;
2008 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2009 prefix=$ac_optarg ;;
2011 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2012 | --program-pre | --program-pr | --program-p)
2013 ac_prev=program_prefix ;;
2014 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2015 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2016 program_prefix=$ac_optarg ;;
2018 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2019 | --program-suf | --program-su | --program-s)
2020 ac_prev=program_suffix ;;
2021 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2022 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2023 program_suffix=$ac_optarg ;;
2025 -program-transform-name | --program-transform-name \
2026 | --program-transform-nam | --program-transform-na \
2027 | --program-transform-n | --program-transform- \
2028 | --program-transform | --program-transfor \
2029 | --program-transfo | --program-transf \
2030 | --program-trans | --program-tran \
2031 | --progr-tra | --program-tr | --program-t)
2032 ac_prev=program_transform_name ;;
2033 -program-transform-name=* | --program-transform-name=* \
2034 | --program-transform-nam=* | --program-transform-na=* \
2035 | --program-transform-n=* | --program-transform-=* \
2036 | --program-transform=* | --program-transfor=* \
2037 | --program-transfo=* | --program-transf=* \
2038 | --program-trans=* | --program-tran=* \
2039 | --progr-tra=* | --program-tr=* | --program-t=*)
2040 program_transform_name=$ac_optarg ;;
2042 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2043 ac_prev=pdfdir ;;
2044 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2045 pdfdir=$ac_optarg ;;
2047 -psdir | --psdir | --psdi | --psd | --ps)
2048 ac_prev=psdir ;;
2049 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2050 psdir=$ac_optarg ;;
2052 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2053 | -silent | --silent | --silen | --sile | --sil)
2054 silent=yes ;;
2056 -runstatedir | --runstatedir | --runstatedi | --runstated \
2057 | --runstate | --runstat | --runsta | --runst | --runs \
2058 | --run | --ru | --r)
2059 ac_prev=runstatedir ;;
2060 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2061 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2062 | --run=* | --ru=* | --r=*)
2063 runstatedir=$ac_optarg ;;
2065 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2066 ac_prev=sbindir ;;
2067 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2068 | --sbi=* | --sb=*)
2069 sbindir=$ac_optarg ;;
2071 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2072 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2073 | --sharedst | --shareds | --shared | --share | --shar \
2074 | --sha | --sh)
2075 ac_prev=sharedstatedir ;;
2076 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2077 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2078 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2079 | --sha=* | --sh=*)
2080 sharedstatedir=$ac_optarg ;;
2082 -site | --site | --sit)
2083 ac_prev=site ;;
2084 -site=* | --site=* | --sit=*)
2085 site=$ac_optarg ;;
2087 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2088 ac_prev=srcdir ;;
2089 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2090 srcdir=$ac_optarg ;;
2092 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2093 | --syscon | --sysco | --sysc | --sys | --sy)
2094 ac_prev=sysconfdir ;;
2095 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2096 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2097 sysconfdir=$ac_optarg ;;
2099 -target | --target | --targe | --targ | --tar | --ta | --t)
2100 ac_prev=target_alias ;;
2101 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2102 target_alias=$ac_optarg ;;
2104 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2105 verbose=yes ;;
2107 -version | --version | --versio | --versi | --vers | -V)
2108 ac_init_version=: ;;
2110 -with-* | --with-*)
2111 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2112 # Reject names that are not valid shell variable names.
2113 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2114 as_fn_error $? "invalid package name: $ac_useropt"
2115 ac_useropt_orig=$ac_useropt
2116 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2117 case $ac_user_opts in
2119 "with_$ac_useropt"
2120 "*) ;;
2121 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2122 ac_unrecognized_sep=', ';;
2123 esac
2124 eval with_$ac_useropt=\$ac_optarg ;;
2126 -without-* | --without-*)
2127 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2128 # Reject names that are not valid shell variable names.
2129 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2130 as_fn_error $? "invalid package name: $ac_useropt"
2131 ac_useropt_orig=$ac_useropt
2132 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2133 case $ac_user_opts in
2135 "with_$ac_useropt"
2136 "*) ;;
2137 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2138 ac_unrecognized_sep=', ';;
2139 esac
2140 eval with_$ac_useropt=no ;;
2142 --x)
2143 # Obsolete; use --with-x.
2144 with_x=yes ;;
2146 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2147 | --x-incl | --x-inc | --x-in | --x-i)
2148 ac_prev=x_includes ;;
2149 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2150 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2151 x_includes=$ac_optarg ;;
2153 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2154 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2155 ac_prev=x_libraries ;;
2156 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2157 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2158 x_libraries=$ac_optarg ;;
2160 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2161 Try \`$0 --help' for more information"
2164 *=*)
2165 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2166 # Reject names that are not valid shell variable names.
2167 case $ac_envvar in #(
2168 '' | [0-9]* | *[!_$as_cr_alnum]* )
2169 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2170 esac
2171 eval $ac_envvar=\$ac_optarg
2172 export $ac_envvar ;;
2175 # FIXME: should be removed in autoconf 3.0.
2176 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2177 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2178 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2179 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2182 esac
2183 done
2185 if test -n "$ac_prev"; then
2186 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2187 as_fn_error $? "missing argument to $ac_option"
2190 if test -n "$ac_unrecognized_opts"; then
2191 case $enable_option_checking in
2192 no) ;;
2193 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2194 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2195 esac
2198 # Check all directory arguments for consistency.
2199 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2200 datadir sysconfdir sharedstatedir localstatedir includedir \
2201 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2202 libdir localedir mandir runstatedir
2204 eval ac_val=\$$ac_var
2205 # Remove trailing slashes.
2206 case $ac_val in
2207 */ )
2208 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2209 eval $ac_var=\$ac_val;;
2210 esac
2211 # Be sure to have absolute directory names.
2212 case $ac_val in
2213 [\\/$]* | ?:[\\/]* ) continue;;
2214 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2215 esac
2216 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2217 done
2219 # There might be people who depend on the old broken behavior: `$host'
2220 # used to hold the argument of --host etc.
2221 # FIXME: To remove some day.
2222 build=$build_alias
2223 host=$host_alias
2224 target=$target_alias
2226 # FIXME: To remove some day.
2227 if test "x$host_alias" != x; then
2228 if test "x$build_alias" = x; then
2229 cross_compiling=maybe
2230 elif test "x$build_alias" != "x$host_alias"; then
2231 cross_compiling=yes
2235 ac_tool_prefix=
2236 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2238 test "$silent" = yes && exec 6>/dev/null
2241 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2242 ac_ls_di=`ls -di .` &&
2243 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2244 as_fn_error $? "working directory cannot be determined"
2245 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2246 as_fn_error $? "pwd does not report name of working directory"
2249 # Find the source files, if location was not specified.
2250 if test -z "$srcdir"; then
2251 ac_srcdir_defaulted=yes
2252 # Try the directory containing this script, then the parent directory.
2253 ac_confdir=`$as_dirname -- "$as_myself" ||
2254 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2255 X"$as_myself" : 'X\(//\)[^/]' \| \
2256 X"$as_myself" : 'X\(//\)$' \| \
2257 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2258 $as_echo X"$as_myself" |
2259 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2260 s//\1/
2263 /^X\(\/\/\)[^/].*/{
2264 s//\1/
2267 /^X\(\/\/\)$/{
2268 s//\1/
2271 /^X\(\/\).*/{
2272 s//\1/
2275 s/.*/./; q'`
2276 srcdir=$ac_confdir
2277 if test ! -r "$srcdir/$ac_unique_file"; then
2278 srcdir=..
2280 else
2281 ac_srcdir_defaulted=no
2283 if test ! -r "$srcdir/$ac_unique_file"; then
2284 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2285 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2287 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2288 ac_abs_confdir=`(
2289 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2290 pwd)`
2291 # When building in place, set srcdir=.
2292 if test "$ac_abs_confdir" = "$ac_pwd"; then
2293 srcdir=.
2295 # Remove unnecessary trailing slashes from srcdir.
2296 # Double slashes in file names in object file debugging info
2297 # mess up M-x gdb in Emacs.
2298 case $srcdir in
2299 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2300 esac
2301 for ac_var in $ac_precious_vars; do
2302 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2303 eval ac_env_${ac_var}_value=\$${ac_var}
2304 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2305 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2306 done
2309 # Report the --help message.
2311 if test "$ac_init_help" = "long"; then
2312 # Omit some internal or obsolete options to make the list less imposing.
2313 # This message is too long to be a string in the A/UX 3.1 sh.
2314 cat <<_ACEOF
2315 \`configure' configures Wine 3.2 to adapt to many kinds of systems.
2317 Usage: $0 [OPTION]... [VAR=VALUE]...
2319 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2320 VAR=VALUE. See below for descriptions of some of the useful variables.
2322 Defaults for the options are specified in brackets.
2324 Configuration:
2325 -h, --help display this help and exit
2326 --help=short display options specific to this package
2327 --help=recursive display the short help of all the included packages
2328 -V, --version display version information and exit
2329 -q, --quiet, --silent do not print \`checking ...' messages
2330 --cache-file=FILE cache test results in FILE [disabled]
2331 -C, --config-cache alias for \`--cache-file=config.cache'
2332 -n, --no-create do not create output files
2333 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2335 Installation directories:
2336 --prefix=PREFIX install architecture-independent files in PREFIX
2337 [$ac_default_prefix]
2338 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2339 [PREFIX]
2341 By default, \`make install' will install all the files in
2342 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2343 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2344 for instance \`--prefix=\$HOME'.
2346 For better control, use the options below.
2348 Fine tuning of the installation directories:
2349 --bindir=DIR user executables [EPREFIX/bin]
2350 --sbindir=DIR system admin executables [EPREFIX/sbin]
2351 --libexecdir=DIR program executables [EPREFIX/libexec]
2352 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2353 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2354 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2355 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2356 --libdir=DIR object code libraries [EPREFIX/lib]
2357 --includedir=DIR C header files [PREFIX/include]
2358 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2359 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2360 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2361 --infodir=DIR info documentation [DATAROOTDIR/info]
2362 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2363 --mandir=DIR man documentation [DATAROOTDIR/man]
2364 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2365 --htmldir=DIR html documentation [DOCDIR]
2366 --dvidir=DIR dvi documentation [DOCDIR]
2367 --pdfdir=DIR pdf documentation [DOCDIR]
2368 --psdir=DIR ps documentation [DOCDIR]
2369 _ACEOF
2371 cat <<\_ACEOF
2373 X features:
2374 --x-includes=DIR X include files are in DIR
2375 --x-libraries=DIR X library files are in DIR
2377 System types:
2378 --build=BUILD configure for building on BUILD [guessed]
2379 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2380 _ACEOF
2383 if test -n "$ac_init_help"; then
2384 case $ac_init_help in
2385 short | recursive ) echo "Configuration of Wine 3.2:";;
2386 esac
2387 cat <<\_ACEOF
2389 Optional Features:
2390 --disable-option-checking ignore unrecognized --enable/--with options
2391 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2392 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2393 --disable-win16 do not include Win16 support
2394 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2395 binaries)
2396 --disable-tests do not build the regression tests
2397 --enable-maintainer-mode
2398 enable maintainer-specific build rules
2399 --disable-largefile omit support for large files
2401 Optional Packages:
2402 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2403 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2404 --without-alsa do not use the Alsa sound support
2405 --without-capi do not use CAPI (ISDN support)
2406 --without-cms do not use CMS (color management support)
2407 --without-coreaudio do not use the CoreAudio sound support
2408 --without-cups do not use CUPS
2409 --without-curses do not use (n)curses
2410 --without-dbus do not use DBus (dynamic device support)
2411 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2412 --without-fontconfig do not use fontconfig
2413 --without-freetype do not use the FreeType library
2414 --without-gettext do not use gettext
2415 --with-gettextpo use the GetTextPO library to rebuild po files
2416 --without-gphoto do not use gphoto (Digital Camera support)
2417 --without-glu do not use the GLU library
2418 --without-gnutls do not use GnuTLS (schannel support)
2419 --without-gsm do not use libgsm (GSM 06.10 codec support)
2420 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2421 --without-gstreamer do not use GStreamer (codecs support)
2422 --without-hal do not use HAL (dynamic device support)
2423 --without-jpeg do not use JPEG
2424 --without-krb5 do not use krb5 (Kerberos)
2425 --without-ldap do not use LDAP
2426 --without-mpg123 do not use the mpg123 library
2427 --without-netapi do not use the Samba NetAPI library
2428 --without-openal do not use OpenAL
2429 --without-opencl do not use OpenCL
2430 --without-opengl do not use OpenGL
2431 --without-osmesa do not use the OSMesa library
2432 --without-oss do not use the OSS sound support
2433 --without-pcap do not use the Packet Capture library
2434 --without-png do not use PNG
2435 --without-pthread do not use the pthread library
2436 --without-pulse do not use PulseAudio sound support
2437 --without-sane do not use SANE (scanner support)
2438 --without-tiff do not use TIFF
2439 --without-udev do not use udev (plug and play support)
2440 --without-sdl do not use SDL
2441 --without-v4l do not use v4l1 (v4l support)
2442 --without-xcomposite do not use the Xcomposite extension
2443 --without-xcursor do not use the Xcursor extension
2444 --without-xfixes do not use Xfixes for clipboard change notifications
2445 --without-xinerama do not use Xinerama (multi-monitor support)
2446 --without-xinput do not use the Xinput extension
2447 --without-xinput2 do not use the Xinput 2 extension
2448 --without-xml do not use XML
2449 --without-xrandr do not use Xrandr (resolution changes)
2450 --without-xrender do not use the Xrender extension
2451 --without-xshape do not use the Xshape extension
2452 --without-xshm do not use XShm (shared memory extension)
2453 --without-xslt do not use XSLT
2454 --without-xxf86vm do not use XFree video mode extension
2455 --without-zlib do not use Zlib (data compression)
2456 --with-wine-tools=DIR use Wine tools from directory DIR
2457 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2458 --with-x use the X Window System
2460 Some influential environment variables:
2461 CC C compiler command
2462 CFLAGS C compiler flags
2463 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2464 nonstandard directory <lib dir>
2465 LIBS libraries to pass to the linker, e.g. -l<library>
2466 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2467 you have headers in a nonstandard directory <include dir>
2468 CXX C++ compiler command
2469 CXXFLAGS C++ compiler flags
2470 CPP C preprocessor
2471 XMKMF Path to xmkmf, Makefile generator for X Window System
2472 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2473 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2474 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2475 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2476 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2477 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2478 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2479 HAL_LIBS Linker flags for hal, overriding pkg-config
2480 GNUTLS_CFLAGS
2481 C compiler flags for gnutls, overriding pkg-config
2482 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2483 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2484 SANE_LIBS Linker flags for libsane, overriding pkg-config
2485 GPHOTO2_CFLAGS
2486 C compiler flags for libgphoto2, overriding pkg-config
2487 GPHOTO2_LIBS
2488 Linker flags for libgphoto2, overriding pkg-config
2489 GPHOTO2_PORT_CFLAGS
2490 C compiler flags for libgphoto2_port, overriding pkg-config
2491 GPHOTO2_PORT_LIBS
2492 Linker flags for libgphoto2_port, overriding pkg-config
2493 LCMS2_CFLAGS
2494 C compiler flags for lcms2, overriding pkg-config
2495 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2496 FREETYPE_CFLAGS
2497 C compiler flags for freetype2, overriding pkg-config
2498 FREETYPE_LIBS
2499 Linker flags for freetype2, overriding pkg-config
2500 PULSE_CFLAGS
2501 C compiler flags for libpulse, overriding pkg-config
2502 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2503 GSTREAMER_CFLAGS
2504 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2505 gstreamer-audio-1.0, overriding pkg-config
2506 GSTREAMER_LIBS
2507 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2508 gstreamer-audio-1.0, overriding pkg-config
2509 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2510 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2511 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2512 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2513 CAPI20_CFLAGS
2514 C compiler flags for capi20, overriding pkg-config
2515 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2516 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2517 CUPS_LIBS Linker flags for cups, overriding pkg-config
2518 FONTCONFIG_CFLAGS
2519 C compiler flags for fontconfig, overriding pkg-config
2520 FONTCONFIG_LIBS
2521 Linker flags for fontconfig, overriding pkg-config
2522 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2523 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2524 GSSAPI_CFLAGS
2525 C compiler flags for krb5-gssapi, overriding pkg-config
2526 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2527 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2528 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2529 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2530 PNG_LIBS Linker flags for libpng, overriding pkg-config
2531 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2532 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2533 MPG123_CFLAGS
2534 C compiler flags for libmpg123, overriding pkg-config
2535 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2536 NETAPI_CFLAGS
2537 C compiler flags for netapi, overriding pkg-config
2538 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2539 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2540 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2542 Use these variables to override the choices made by `configure' or to help
2543 it to find libraries and programs with nonstandard names/locations.
2545 Report bugs to <wine-devel@winehq.org>.
2546 Wine home page: <https://www.winehq.org>.
2547 _ACEOF
2548 ac_status=$?
2551 if test "$ac_init_help" = "recursive"; then
2552 # If there are subdirs, report their specific --help.
2553 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2554 test -d "$ac_dir" ||
2555 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2556 continue
2557 ac_builddir=.
2559 case "$ac_dir" in
2560 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2562 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2563 # A ".." for each directory in $ac_dir_suffix.
2564 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2565 case $ac_top_builddir_sub in
2566 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2567 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2568 esac ;;
2569 esac
2570 ac_abs_top_builddir=$ac_pwd
2571 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2572 # for backward compatibility:
2573 ac_top_builddir=$ac_top_build_prefix
2575 case $srcdir in
2576 .) # We are building in place.
2577 ac_srcdir=.
2578 ac_top_srcdir=$ac_top_builddir_sub
2579 ac_abs_top_srcdir=$ac_pwd ;;
2580 [\\/]* | ?:[\\/]* ) # Absolute name.
2581 ac_srcdir=$srcdir$ac_dir_suffix;
2582 ac_top_srcdir=$srcdir
2583 ac_abs_top_srcdir=$srcdir ;;
2584 *) # Relative name.
2585 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2586 ac_top_srcdir=$ac_top_build_prefix$srcdir
2587 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2588 esac
2589 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2591 cd "$ac_dir" || { ac_status=$?; continue; }
2592 # Check for guested configure.
2593 if test -f "$ac_srcdir/configure.gnu"; then
2594 echo &&
2595 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2596 elif test -f "$ac_srcdir/configure"; then
2597 echo &&
2598 $SHELL "$ac_srcdir/configure" --help=recursive
2599 else
2600 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2601 fi || ac_status=$?
2602 cd "$ac_pwd" || { ac_status=$?; break; }
2603 done
2606 test -n "$ac_init_help" && exit $ac_status
2607 if $ac_init_version; then
2608 cat <<\_ACEOF
2609 Wine configure 3.2
2610 generated by GNU Autoconf 2.69
2612 Copyright (C) 2012 Free Software Foundation, Inc.
2613 This configure script is free software; the Free Software Foundation
2614 gives unlimited permission to copy, distribute and modify it.
2615 _ACEOF
2616 exit
2619 ## ------------------------ ##
2620 ## Autoconf initialization. ##
2621 ## ------------------------ ##
2623 # ac_fn_c_try_compile LINENO
2624 # --------------------------
2625 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2626 ac_fn_c_try_compile ()
2628 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2629 rm -f conftest.$ac_objext
2630 if { { ac_try="$ac_compile"
2631 case "(($ac_try" in
2632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2633 *) ac_try_echo=$ac_try;;
2634 esac
2635 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2636 $as_echo "$ac_try_echo"; } >&5
2637 (eval "$ac_compile") 2>conftest.err
2638 ac_status=$?
2639 if test -s conftest.err; then
2640 grep -v '^ *+' conftest.err >conftest.er1
2641 cat conftest.er1 >&5
2642 mv -f conftest.er1 conftest.err
2644 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2645 test $ac_status = 0; } && {
2646 test -z "$ac_c_werror_flag" ||
2647 test ! -s conftest.err
2648 } && test -s conftest.$ac_objext; then :
2649 ac_retval=0
2650 else
2651 $as_echo "$as_me: failed program was:" >&5
2652 sed 's/^/| /' conftest.$ac_ext >&5
2654 ac_retval=1
2656 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2657 as_fn_set_status $ac_retval
2659 } # ac_fn_c_try_compile
2661 # ac_fn_cxx_try_compile LINENO
2662 # ----------------------------
2663 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2664 ac_fn_cxx_try_compile ()
2666 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2667 rm -f conftest.$ac_objext
2668 if { { ac_try="$ac_compile"
2669 case "(($ac_try" in
2670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2671 *) ac_try_echo=$ac_try;;
2672 esac
2673 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2674 $as_echo "$ac_try_echo"; } >&5
2675 (eval "$ac_compile") 2>conftest.err
2676 ac_status=$?
2677 if test -s conftest.err; then
2678 grep -v '^ *+' conftest.err >conftest.er1
2679 cat conftest.er1 >&5
2680 mv -f conftest.er1 conftest.err
2682 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2683 test $ac_status = 0; } && {
2684 test -z "$ac_cxx_werror_flag" ||
2685 test ! -s conftest.err
2686 } && test -s conftest.$ac_objext; then :
2687 ac_retval=0
2688 else
2689 $as_echo "$as_me: failed program was:" >&5
2690 sed 's/^/| /' conftest.$ac_ext >&5
2692 ac_retval=1
2694 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2695 as_fn_set_status $ac_retval
2697 } # ac_fn_cxx_try_compile
2699 # ac_fn_c_try_link LINENO
2700 # -----------------------
2701 # Try to link conftest.$ac_ext, and return whether this succeeded.
2702 ac_fn_c_try_link ()
2704 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2705 rm -f conftest.$ac_objext conftest$ac_exeext
2706 if { { ac_try="$ac_link"
2707 case "(($ac_try" in
2708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2709 *) ac_try_echo=$ac_try;;
2710 esac
2711 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2712 $as_echo "$ac_try_echo"; } >&5
2713 (eval "$ac_link") 2>conftest.err
2714 ac_status=$?
2715 if test -s conftest.err; then
2716 grep -v '^ *+' conftest.err >conftest.er1
2717 cat conftest.er1 >&5
2718 mv -f conftest.er1 conftest.err
2720 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2721 test $ac_status = 0; } && {
2722 test -z "$ac_c_werror_flag" ||
2723 test ! -s conftest.err
2724 } && test -s conftest$ac_exeext && {
2725 test "$cross_compiling" = yes ||
2726 test -x conftest$ac_exeext
2727 }; then :
2728 ac_retval=0
2729 else
2730 $as_echo "$as_me: failed program was:" >&5
2731 sed 's/^/| /' conftest.$ac_ext >&5
2733 ac_retval=1
2735 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2736 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2737 # interfere with the next link command; also delete a directory that is
2738 # left behind by Apple's compiler. We do this before executing the actions.
2739 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2740 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2741 as_fn_set_status $ac_retval
2743 } # ac_fn_c_try_link
2745 # ac_fn_c_try_cpp LINENO
2746 # ----------------------
2747 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2748 ac_fn_c_try_cpp ()
2750 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2751 if { { ac_try="$ac_cpp conftest.$ac_ext"
2752 case "(($ac_try" in
2753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2754 *) ac_try_echo=$ac_try;;
2755 esac
2756 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2757 $as_echo "$ac_try_echo"; } >&5
2758 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2759 ac_status=$?
2760 if test -s conftest.err; then
2761 grep -v '^ *+' conftest.err >conftest.er1
2762 cat conftest.er1 >&5
2763 mv -f conftest.er1 conftest.err
2765 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2766 test $ac_status = 0; } > conftest.i && {
2767 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2768 test ! -s conftest.err
2769 }; then :
2770 ac_retval=0
2771 else
2772 $as_echo "$as_me: failed program was:" >&5
2773 sed 's/^/| /' conftest.$ac_ext >&5
2775 ac_retval=1
2777 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2778 as_fn_set_status $ac_retval
2780 } # ac_fn_c_try_cpp
2782 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2783 # -------------------------------------------------------
2784 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2785 # the include files in INCLUDES and setting the cache variable VAR
2786 # accordingly.
2787 ac_fn_c_check_header_mongrel ()
2789 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2790 if eval \${$3+:} false; then :
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2792 $as_echo_n "checking for $2... " >&6; }
2793 if eval \${$3+:} false; then :
2794 $as_echo_n "(cached) " >&6
2796 eval ac_res=\$$3
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2798 $as_echo "$ac_res" >&6; }
2799 else
2800 # Is the header compilable?
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2802 $as_echo_n "checking $2 usability... " >&6; }
2803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2804 /* end confdefs.h. */
2806 #include <$2>
2807 _ACEOF
2808 if ac_fn_c_try_compile "$LINENO"; then :
2809 ac_header_compiler=yes
2810 else
2811 ac_header_compiler=no
2813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2815 $as_echo "$ac_header_compiler" >&6; }
2817 # Is the header present?
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2819 $as_echo_n "checking $2 presence... " >&6; }
2820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2821 /* end confdefs.h. */
2822 #include <$2>
2823 _ACEOF
2824 if ac_fn_c_try_cpp "$LINENO"; then :
2825 ac_header_preproc=yes
2826 else
2827 ac_header_preproc=no
2829 rm -f conftest.err conftest.i conftest.$ac_ext
2830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2831 $as_echo "$ac_header_preproc" >&6; }
2833 # So? What about this header?
2834 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2835 yes:no: )
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2837 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2839 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2841 no:yes:* )
2842 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2843 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2845 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2847 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2849 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2850 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2851 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2852 ( $as_echo "## ------------------------------------ ##
2853 ## Report this to wine-devel@winehq.org ##
2854 ## ------------------------------------ ##"
2855 ) | sed "s/^/$as_me: WARNING: /" >&2
2857 esac
2858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2859 $as_echo_n "checking for $2... " >&6; }
2860 if eval \${$3+:} false; then :
2861 $as_echo_n "(cached) " >&6
2862 else
2863 eval "$3=\$ac_header_compiler"
2865 eval ac_res=\$$3
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2867 $as_echo "$ac_res" >&6; }
2869 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2871 } # ac_fn_c_check_header_mongrel
2873 # ac_fn_c_try_run LINENO
2874 # ----------------------
2875 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2876 # that executables *can* be run.
2877 ac_fn_c_try_run ()
2879 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2880 if { { ac_try="$ac_link"
2881 case "(($ac_try" in
2882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2883 *) ac_try_echo=$ac_try;;
2884 esac
2885 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2886 $as_echo "$ac_try_echo"; } >&5
2887 (eval "$ac_link") 2>&5
2888 ac_status=$?
2889 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2890 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2891 { { case "(($ac_try" in
2892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2893 *) ac_try_echo=$ac_try;;
2894 esac
2895 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2896 $as_echo "$ac_try_echo"; } >&5
2897 (eval "$ac_try") 2>&5
2898 ac_status=$?
2899 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2900 test $ac_status = 0; }; }; then :
2901 ac_retval=0
2902 else
2903 $as_echo "$as_me: program exited with status $ac_status" >&5
2904 $as_echo "$as_me: failed program was:" >&5
2905 sed 's/^/| /' conftest.$ac_ext >&5
2907 ac_retval=$ac_status
2909 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2910 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2911 as_fn_set_status $ac_retval
2913 } # ac_fn_c_try_run
2915 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2916 # -------------------------------------------------------
2917 # Tests whether HEADER exists and can be compiled using the include files in
2918 # INCLUDES, setting the cache variable VAR accordingly.
2919 ac_fn_c_check_header_compile ()
2921 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2923 $as_echo_n "checking for $2... " >&6; }
2924 if eval \${$3+:} false; then :
2925 $as_echo_n "(cached) " >&6
2926 else
2927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2928 /* end confdefs.h. */
2930 #include <$2>
2931 _ACEOF
2932 if ac_fn_c_try_compile "$LINENO"; then :
2933 eval "$3=yes"
2934 else
2935 eval "$3=no"
2937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2939 eval ac_res=\$$3
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2941 $as_echo "$ac_res" >&6; }
2942 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2944 } # ac_fn_c_check_header_compile
2946 # ac_fn_c_check_func LINENO FUNC VAR
2947 # ----------------------------------
2948 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2949 ac_fn_c_check_func ()
2951 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2953 $as_echo_n "checking for $2... " >&6; }
2954 if eval \${$3+:} false; then :
2955 $as_echo_n "(cached) " >&6
2956 else
2957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2958 /* end confdefs.h. */
2959 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2960 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2961 #define $2 innocuous_$2
2963 /* System header to define __stub macros and hopefully few prototypes,
2964 which can conflict with char $2 (); below.
2965 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2966 <limits.h> exists even on freestanding compilers. */
2968 #ifdef __STDC__
2969 # include <limits.h>
2970 #else
2971 # include <assert.h>
2972 #endif
2974 #undef $2
2976 /* Override any GCC internal prototype to avoid an error.
2977 Use char because int might match the return type of a GCC
2978 builtin and then its argument prototype would still apply. */
2979 #ifdef __cplusplus
2980 extern "C"
2981 #endif
2982 char $2 ();
2983 /* The GNU C library defines this for functions which it implements
2984 to always fail with ENOSYS. Some functions are actually named
2985 something starting with __ and the normal name is an alias. */
2986 #if defined __stub_$2 || defined __stub___$2
2987 choke me
2988 #endif
2991 main ()
2993 return $2 ();
2995 return 0;
2997 _ACEOF
2998 if ac_fn_c_try_link "$LINENO"; then :
2999 eval "$3=yes"
3000 else
3001 eval "$3=no"
3003 rm -f core conftest.err conftest.$ac_objext \
3004 conftest$ac_exeext conftest.$ac_ext
3006 eval ac_res=\$$3
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3008 $as_echo "$ac_res" >&6; }
3009 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3011 } # ac_fn_c_check_func
3013 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3014 # ----------------------------------------------------
3015 # Tries to find if the field MEMBER exists in type AGGR, after including
3016 # INCLUDES, setting cache variable VAR accordingly.
3017 ac_fn_c_check_member ()
3019 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3021 $as_echo_n "checking for $2.$3... " >&6; }
3022 if eval \${$4+:} false; then :
3023 $as_echo_n "(cached) " >&6
3024 else
3025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3026 /* end confdefs.h. */
3029 main ()
3031 static $2 ac_aggr;
3032 if (ac_aggr.$3)
3033 return 0;
3035 return 0;
3037 _ACEOF
3038 if ac_fn_c_try_compile "$LINENO"; then :
3039 eval "$4=yes"
3040 else
3041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3042 /* end confdefs.h. */
3045 main ()
3047 static $2 ac_aggr;
3048 if (sizeof ac_aggr.$3)
3049 return 0;
3051 return 0;
3053 _ACEOF
3054 if ac_fn_c_try_compile "$LINENO"; then :
3055 eval "$4=yes"
3056 else
3057 eval "$4=no"
3059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3063 eval ac_res=\$$4
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3065 $as_echo "$ac_res" >&6; }
3066 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3068 } # ac_fn_c_check_member
3070 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3071 # -------------------------------------------
3072 # Tests whether TYPE exists after having included INCLUDES, setting cache
3073 # variable VAR accordingly.
3074 ac_fn_c_check_type ()
3076 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3078 $as_echo_n "checking for $2... " >&6; }
3079 if eval \${$3+:} false; then :
3080 $as_echo_n "(cached) " >&6
3081 else
3082 eval "$3=no"
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 :
3096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3097 /* end confdefs.h. */
3100 main ()
3102 if (sizeof (($2)))
3103 return 0;
3105 return 0;
3107 _ACEOF
3108 if ac_fn_c_try_compile "$LINENO"; then :
3110 else
3111 eval "$3=yes"
3113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3117 eval ac_res=\$$3
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3119 $as_echo "$ac_res" >&6; }
3120 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3122 } # ac_fn_c_check_type
3123 cat >config.log <<_ACEOF
3124 This file contains any messages produced by compilers while
3125 running configure, to aid debugging if configure makes a mistake.
3127 It was created by Wine $as_me 3.2, which was
3128 generated by GNU Autoconf 2.69. Invocation command line was
3130 $ $0 $@
3132 _ACEOF
3133 exec 5>>config.log
3135 cat <<_ASUNAME
3136 ## --------- ##
3137 ## Platform. ##
3138 ## --------- ##
3140 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3141 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3142 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3143 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3144 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3146 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3147 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3149 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3150 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3151 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3152 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3153 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3154 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3155 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3157 _ASUNAME
3159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3160 for as_dir in $PATH
3162 IFS=$as_save_IFS
3163 test -z "$as_dir" && as_dir=.
3164 $as_echo "PATH: $as_dir"
3165 done
3166 IFS=$as_save_IFS
3168 } >&5
3170 cat >&5 <<_ACEOF
3173 ## ----------- ##
3174 ## Core tests. ##
3175 ## ----------- ##
3177 _ACEOF
3180 # Keep a trace of the command line.
3181 # Strip out --no-create and --no-recursion so they do not pile up.
3182 # Strip out --silent because we don't want to record it for future runs.
3183 # Also quote any args containing shell meta-characters.
3184 # Make two passes to allow for proper duplicate-argument suppression.
3185 ac_configure_args=
3186 ac_configure_args0=
3187 ac_configure_args1=
3188 ac_must_keep_next=false
3189 for ac_pass in 1 2
3191 for ac_arg
3193 case $ac_arg in
3194 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3195 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3196 | -silent | --silent | --silen | --sile | --sil)
3197 continue ;;
3198 *\'*)
3199 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3200 esac
3201 case $ac_pass in
3202 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3204 as_fn_append ac_configure_args1 " '$ac_arg'"
3205 if test $ac_must_keep_next = true; then
3206 ac_must_keep_next=false # Got value, back to normal.
3207 else
3208 case $ac_arg in
3209 *=* | --config-cache | -C | -disable-* | --disable-* \
3210 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3211 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3212 | -with-* | --with-* | -without-* | --without-* | --x)
3213 case "$ac_configure_args0 " in
3214 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3215 esac
3217 -* ) ac_must_keep_next=true ;;
3218 esac
3220 as_fn_append ac_configure_args " '$ac_arg'"
3222 esac
3223 done
3224 done
3225 { ac_configure_args0=; unset ac_configure_args0;}
3226 { ac_configure_args1=; unset ac_configure_args1;}
3228 # When interrupted or exit'd, cleanup temporary files, and complete
3229 # config.log. We remove comments because anyway the quotes in there
3230 # would cause problems or look ugly.
3231 # WARNING: Use '\'' to represent an apostrophe within the trap.
3232 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3233 trap 'exit_status=$?
3234 # Save into config.log some information that might help in debugging.
3236 echo
3238 $as_echo "## ---------------- ##
3239 ## Cache variables. ##
3240 ## ---------------- ##"
3241 echo
3242 # The following way of writing the cache mishandles newlines in values,
3244 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3245 eval ac_val=\$$ac_var
3246 case $ac_val in #(
3247 *${as_nl}*)
3248 case $ac_var in #(
3249 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3250 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3251 esac
3252 case $ac_var in #(
3253 _ | IFS | as_nl) ;; #(
3254 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3255 *) { eval $ac_var=; unset $ac_var;} ;;
3256 esac ;;
3257 esac
3258 done
3259 (set) 2>&1 |
3260 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3261 *${as_nl}ac_space=\ *)
3262 sed -n \
3263 "s/'\''/'\''\\\\'\'''\''/g;
3264 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3265 ;; #(
3267 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3269 esac |
3270 sort
3272 echo
3274 $as_echo "## ----------------- ##
3275 ## Output variables. ##
3276 ## ----------------- ##"
3277 echo
3278 for ac_var in $ac_subst_vars
3280 eval ac_val=\$$ac_var
3281 case $ac_val in
3282 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3283 esac
3284 $as_echo "$ac_var='\''$ac_val'\''"
3285 done | sort
3286 echo
3288 if test -n "$ac_subst_files"; then
3289 $as_echo "## ------------------- ##
3290 ## File substitutions. ##
3291 ## ------------------- ##"
3292 echo
3293 for ac_var in $ac_subst_files
3295 eval ac_val=\$$ac_var
3296 case $ac_val in
3297 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3298 esac
3299 $as_echo "$ac_var='\''$ac_val'\''"
3300 done | sort
3301 echo
3304 if test -s confdefs.h; then
3305 $as_echo "## ----------- ##
3306 ## confdefs.h. ##
3307 ## ----------- ##"
3308 echo
3309 cat confdefs.h
3310 echo
3312 test "$ac_signal" != 0 &&
3313 $as_echo "$as_me: caught signal $ac_signal"
3314 $as_echo "$as_me: exit $exit_status"
3315 } >&5
3316 rm -f core *.core core.conftest.* &&
3317 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3318 exit $exit_status
3320 for ac_signal in 1 2 13 15; do
3321 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3322 done
3323 ac_signal=0
3325 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3326 rm -f -r conftest* confdefs.h
3328 $as_echo "/* confdefs.h */" > confdefs.h
3330 # Predefined preprocessor variables.
3332 cat >>confdefs.h <<_ACEOF
3333 #define PACKAGE_NAME "$PACKAGE_NAME"
3334 _ACEOF
3336 cat >>confdefs.h <<_ACEOF
3337 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3338 _ACEOF
3340 cat >>confdefs.h <<_ACEOF
3341 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3342 _ACEOF
3344 cat >>confdefs.h <<_ACEOF
3345 #define PACKAGE_STRING "$PACKAGE_STRING"
3346 _ACEOF
3348 cat >>confdefs.h <<_ACEOF
3349 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3350 _ACEOF
3352 cat >>confdefs.h <<_ACEOF
3353 #define PACKAGE_URL "$PACKAGE_URL"
3354 _ACEOF
3357 # Let the site file select an alternate cache file if it wants to.
3358 # Prefer an explicitly selected file to automatically selected ones.
3359 ac_site_file1=NONE
3360 ac_site_file2=NONE
3361 if test -n "$CONFIG_SITE"; then
3362 # We do not want a PATH search for config.site.
3363 case $CONFIG_SITE in #((
3364 -*) ac_site_file1=./$CONFIG_SITE;;
3365 */*) ac_site_file1=$CONFIG_SITE;;
3366 *) ac_site_file1=./$CONFIG_SITE;;
3367 esac
3368 elif test "x$prefix" != xNONE; then
3369 ac_site_file1=$prefix/share/config.site
3370 ac_site_file2=$prefix/etc/config.site
3371 else
3372 ac_site_file1=$ac_default_prefix/share/config.site
3373 ac_site_file2=$ac_default_prefix/etc/config.site
3375 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3377 test "x$ac_site_file" = xNONE && continue
3378 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3379 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3380 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3381 sed 's/^/| /' "$ac_site_file" >&5
3382 . "$ac_site_file" \
3383 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3384 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3385 as_fn_error $? "failed to load site script $ac_site_file
3386 See \`config.log' for more details" "$LINENO" 5; }
3388 done
3390 if test -r "$cache_file"; then
3391 # Some versions of bash will fail to source /dev/null (special files
3392 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3393 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3394 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3395 $as_echo "$as_me: loading cache $cache_file" >&6;}
3396 case $cache_file in
3397 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3398 *) . "./$cache_file";;
3399 esac
3401 else
3402 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3403 $as_echo "$as_me: creating cache $cache_file" >&6;}
3404 >$cache_file
3407 # Check that the precious variables saved in the cache have kept the same
3408 # value.
3409 ac_cache_corrupted=false
3410 for ac_var in $ac_precious_vars; do
3411 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3412 eval ac_new_set=\$ac_env_${ac_var}_set
3413 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3414 eval ac_new_val=\$ac_env_${ac_var}_value
3415 case $ac_old_set,$ac_new_set in
3416 set,)
3417 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3418 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3419 ac_cache_corrupted=: ;;
3420 ,set)
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3422 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3423 ac_cache_corrupted=: ;;
3424 ,);;
3426 if test "x$ac_old_val" != "x$ac_new_val"; then
3427 # differences in whitespace do not lead to failure.
3428 ac_old_val_w=`echo x $ac_old_val`
3429 ac_new_val_w=`echo x $ac_new_val`
3430 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3431 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3432 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3433 ac_cache_corrupted=:
3434 else
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3436 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3437 eval $ac_var=\$ac_old_val
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3440 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3441 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3442 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3443 fi;;
3444 esac
3445 # Pass precious variables to config.status.
3446 if test "$ac_new_set" = set; then
3447 case $ac_new_val in
3448 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3449 *) ac_arg=$ac_var=$ac_new_val ;;
3450 esac
3451 case " $ac_configure_args " in
3452 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3453 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3454 esac
3456 done
3457 if $ac_cache_corrupted; then
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3459 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3460 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3461 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3462 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3464 ## -------------------- ##
3465 ## Main body of script. ##
3466 ## -------------------- ##
3468 ac_ext=c
3469 ac_cpp='$CPP $CPPFLAGS'
3470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3476 ac_config_headers="$ac_config_headers include/config.h"
3478 ac_aux_dir=
3479 for ac_dir in tools "$srcdir"/tools; do
3480 if test -f "$ac_dir/install-sh"; then
3481 ac_aux_dir=$ac_dir
3482 ac_install_sh="$ac_aux_dir/install-sh -c"
3483 break
3484 elif test -f "$ac_dir/install.sh"; then
3485 ac_aux_dir=$ac_dir
3486 ac_install_sh="$ac_aux_dir/install.sh -c"
3487 break
3488 elif test -f "$ac_dir/shtool"; then
3489 ac_aux_dir=$ac_dir
3490 ac_install_sh="$ac_aux_dir/shtool install -c"
3491 break
3493 done
3494 if test -z "$ac_aux_dir"; then
3495 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3498 # These three variables are undocumented and unsupported,
3499 # and are intended to be withdrawn in a future Autoconf release.
3500 # They can cause serious problems if a builder's source tree is in a directory
3501 # whose full name contains unusual characters.
3502 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3503 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3504 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3508 libwine_version="1.0"
3512 # Check whether --enable-win16 was given.
3513 if test "${enable_win16+set}" = set; then :
3514 enableval=$enable_win16;
3517 # Check whether --enable-win64 was given.
3518 if test "${enable_win64+set}" = set; then :
3519 enableval=$enable_win64;
3522 # Check whether --enable-tests was given.
3523 if test "${enable_tests+set}" = set; then :
3524 enableval=$enable_tests;
3527 # Check whether --enable-maintainer-mode was given.
3528 if test "${enable_maintainer_mode+set}" = set; then :
3529 enableval=$enable_maintainer_mode;
3534 # Check whether --with-alsa was given.
3535 if test "${with_alsa+set}" = set; then :
3536 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3540 # Check whether --with-capi was given.
3541 if test "${with_capi+set}" = set; then :
3542 withval=$with_capi;
3546 # Check whether --with-cms was given.
3547 if test "${with_cms+set}" = set; then :
3548 withval=$with_cms;
3552 # Check whether --with-coreaudio was given.
3553 if test "${with_coreaudio+set}" = set; then :
3554 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3558 # Check whether --with-cups was given.
3559 if test "${with_cups+set}" = set; then :
3560 withval=$with_cups;
3564 # Check whether --with-curses was given.
3565 if test "${with_curses+set}" = set; then :
3566 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3570 # Check whether --with-dbus was given.
3571 if test "${with_dbus+set}" = set; then :
3572 withval=$with_dbus;
3576 # Check whether --with-float-abi was given.
3577 if test "${with_float_abi+set}" = set; then :
3578 withval=$with_float_abi;
3582 # Check whether --with-fontconfig was given.
3583 if test "${with_fontconfig+set}" = set; then :
3584 withval=$with_fontconfig;
3588 # Check whether --with-freetype was given.
3589 if test "${with_freetype+set}" = set; then :
3590 withval=$with_freetype;
3594 # Check whether --with-gettext was given.
3595 if test "${with_gettext+set}" = set; then :
3596 withval=$with_gettext;
3600 # Check whether --with-gettextpo was given.
3601 if test "${with_gettextpo+set}" = set; then :
3602 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3606 # Check whether --with-gphoto was given.
3607 if test "${with_gphoto+set}" = set; then :
3608 withval=$with_gphoto;
3612 # Check whether --with-glu was given.
3613 if test "${with_glu+set}" = set; then :
3614 withval=$with_glu;
3618 # Check whether --with-gnutls was given.
3619 if test "${with_gnutls+set}" = set; then :
3620 withval=$with_gnutls;
3624 # Check whether --with-gsm was given.
3625 if test "${with_gsm+set}" = set; then :
3626 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3630 # Check whether --with-gssapi was given.
3631 if test "${with_gssapi+set}" = set; then :
3632 withval=$with_gssapi;
3636 # Check whether --with-gstreamer was given.
3637 if test "${with_gstreamer+set}" = set; then :
3638 withval=$with_gstreamer;
3642 # Check whether --with-hal was given.
3643 if test "${with_hal+set}" = set; then :
3644 withval=$with_hal;
3648 # Check whether --with-jpeg was given.
3649 if test "${with_jpeg+set}" = set; then :
3650 withval=$with_jpeg;
3654 # Check whether --with-krb5 was given.
3655 if test "${with_krb5+set}" = set; then :
3656 withval=$with_krb5;
3660 # Check whether --with-ldap was given.
3661 if test "${with_ldap+set}" = set; then :
3662 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3666 # Check whether --with-mpg123 was given.
3667 if test "${with_mpg123+set}" = set; then :
3668 withval=$with_mpg123;
3672 # Check whether --with-netapi was given.
3673 if test "${with_netapi+set}" = set; then :
3674 withval=$with_netapi;
3678 # Check whether --with-openal was given.
3679 if test "${with_openal+set}" = set; then :
3680 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3684 # Check whether --with-opencl was given.
3685 if test "${with_opencl+set}" = set; then :
3686 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3690 # Check whether --with-opengl was given.
3691 if test "${with_opengl+set}" = set; then :
3692 withval=$with_opengl;
3696 # Check whether --with-osmesa was given.
3697 if test "${with_osmesa+set}" = set; then :
3698 withval=$with_osmesa;
3702 # Check whether --with-oss was given.
3703 if test "${with_oss+set}" = set; then :
3704 withval=$with_oss;
3708 # Check whether --with-pcap was given.
3709 if test "${with_pcap+set}" = set; then :
3710 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3714 # Check whether --with-png was given.
3715 if test "${with_png+set}" = set; then :
3716 withval=$with_png;
3720 # Check whether --with-pthread was given.
3721 if test "${with_pthread+set}" = set; then :
3722 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3726 # Check whether --with-pulse was given.
3727 if test "${with_pulse+set}" = set; then :
3728 withval=$with_pulse;
3732 # Check whether --with-sane was given.
3733 if test "${with_sane+set}" = set; then :
3734 withval=$with_sane;
3738 # Check whether --with-tiff was given.
3739 if test "${with_tiff+set}" = set; then :
3740 withval=$with_tiff;
3744 # Check whether --with-udev was given.
3745 if test "${with_udev+set}" = set; then :
3746 withval=$with_udev;
3750 # Check whether --with-sdl was given.
3751 if test "${with_sdl+set}" = set; then :
3752 withval=$with_sdl;
3756 # Check whether --with-v4l was given.
3757 if test "${with_v4l+set}" = set; then :
3758 withval=$with_v4l;
3762 # Check whether --with-xcomposite was given.
3763 if test "${with_xcomposite+set}" = set; then :
3764 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3768 # Check whether --with-xcursor was given.
3769 if test "${with_xcursor+set}" = set; then :
3770 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3774 # Check whether --with-xfixes was given.
3775 if test "${with_xfixes+set}" = set; then :
3776 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
3780 # Check whether --with-xinerama was given.
3781 if test "${with_xinerama+set}" = set; then :
3782 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3786 # Check whether --with-xinput was given.
3787 if test "${with_xinput+set}" = set; then :
3788 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3792 # Check whether --with-xinput2 was given.
3793 if test "${with_xinput2+set}" = set; then :
3794 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3798 # Check whether --with-xml was given.
3799 if test "${with_xml+set}" = set; then :
3800 withval=$with_xml;
3804 # Check whether --with-xrandr was given.
3805 if test "${with_xrandr+set}" = set; then :
3806 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3810 # Check whether --with-xrender was given.
3811 if test "${with_xrender+set}" = set; then :
3812 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3816 # Check whether --with-xshape was given.
3817 if test "${with_xshape+set}" = set; then :
3818 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3822 # Check whether --with-xshm was given.
3823 if test "${with_xshm+set}" = set; then :
3824 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3828 # Check whether --with-xslt was given.
3829 if test "${with_xslt+set}" = set; then :
3830 withval=$with_xslt;
3834 # Check whether --with-xxf86vm was given.
3835 if test "${with_xxf86vm+set}" = set; then :
3836 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
3840 # Check whether --with-zlib was given.
3841 if test "${with_zlib+set}" = set; then :
3842 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3847 # Check whether --with-wine-tools was given.
3848 if test "${with_wine_tools+set}" = set; then :
3849 withval=$with_wine_tools;
3853 # Check whether --with-wine64 was given.
3854 if test "${with_wine64+set}" = set; then :
3855 withval=$with_wine64;
3859 # Make sure we can run config.sub.
3860 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3861 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3864 $as_echo_n "checking build system type... " >&6; }
3865 if ${ac_cv_build+:} false; then :
3866 $as_echo_n "(cached) " >&6
3867 else
3868 ac_build_alias=$build_alias
3869 test "x$ac_build_alias" = x &&
3870 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3871 test "x$ac_build_alias" = x &&
3872 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3873 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3874 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3878 $as_echo "$ac_cv_build" >&6; }
3879 case $ac_cv_build in
3880 *-*-*) ;;
3881 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3882 esac
3883 build=$ac_cv_build
3884 ac_save_IFS=$IFS; IFS='-'
3885 set x $ac_cv_build
3886 shift
3887 build_cpu=$1
3888 build_vendor=$2
3889 shift; shift
3890 # Remember, the first character of IFS is used to create $*,
3891 # except with old shells:
3892 build_os=$*
3893 IFS=$ac_save_IFS
3894 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3898 $as_echo_n "checking host system type... " >&6; }
3899 if ${ac_cv_host+:} false; then :
3900 $as_echo_n "(cached) " >&6
3901 else
3902 if test "x$host_alias" = x; then
3903 ac_cv_host=$ac_cv_build
3904 else
3905 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3906 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3911 $as_echo "$ac_cv_host" >&6; }
3912 case $ac_cv_host in
3913 *-*-*) ;;
3914 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3915 esac
3916 host=$ac_cv_host
3917 ac_save_IFS=$IFS; IFS='-'
3918 set x $ac_cv_host
3919 shift
3920 host_cpu=$1
3921 host_vendor=$2
3922 shift; shift
3923 # Remember, the first character of IFS is used to create $*,
3924 # except with old shells:
3925 host_os=$*
3926 IFS=$ac_save_IFS
3927 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3931 case "$srcdir" in
3932 .) ;;
3933 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3934 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3935 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3936 fi ;;
3937 esac
3940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3941 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3942 set x ${MAKE-make}
3943 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3944 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3945 $as_echo_n "(cached) " >&6
3946 else
3947 cat >conftest.make <<\_ACEOF
3948 SHELL = /bin/sh
3949 all:
3950 @echo '@@@%%%=$(MAKE)=@@@%%%'
3951 _ACEOF
3952 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3953 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3954 *@@@%%%=?*=@@@%%%*)
3955 eval ac_cv_prog_make_${ac_make}_set=yes;;
3957 eval ac_cv_prog_make_${ac_make}_set=no;;
3958 esac
3959 rm -f conftest.make
3961 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3963 $as_echo "yes" >&6; }
3964 SET_MAKE=
3965 else
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3967 $as_echo "no" >&6; }
3968 SET_MAKE="MAKE=${MAKE-make}"
3971 ac_ext=c
3972 ac_cpp='$CPP $CPPFLAGS'
3973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3976 if test -n "$ac_tool_prefix"; then
3977 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3978 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3980 $as_echo_n "checking for $ac_word... " >&6; }
3981 if ${ac_cv_prog_CC+:} false; then :
3982 $as_echo_n "(cached) " >&6
3983 else
3984 if test -n "$CC"; then
3985 ac_cv_prog_CC="$CC" # Let the user override the test.
3986 else
3987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3988 for as_dir in $PATH
3990 IFS=$as_save_IFS
3991 test -z "$as_dir" && as_dir=.
3992 for ac_exec_ext in '' $ac_executable_extensions; do
3993 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3994 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3996 break 2
3998 done
3999 done
4000 IFS=$as_save_IFS
4004 CC=$ac_cv_prog_CC
4005 if test -n "$CC"; then
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4007 $as_echo "$CC" >&6; }
4008 else
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4010 $as_echo "no" >&6; }
4015 if test -z "$ac_cv_prog_CC"; then
4016 ac_ct_CC=$CC
4017 # Extract the first word of "gcc", so it can be a program name with args.
4018 set dummy gcc; ac_word=$2
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4020 $as_echo_n "checking for $ac_word... " >&6; }
4021 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4022 $as_echo_n "(cached) " >&6
4023 else
4024 if test -n "$ac_ct_CC"; then
4025 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4026 else
4027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4028 for as_dir in $PATH
4030 IFS=$as_save_IFS
4031 test -z "$as_dir" && as_dir=.
4032 for ac_exec_ext in '' $ac_executable_extensions; do
4033 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4034 ac_cv_prog_ac_ct_CC="gcc"
4035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4036 break 2
4038 done
4039 done
4040 IFS=$as_save_IFS
4044 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4045 if test -n "$ac_ct_CC"; then
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4047 $as_echo "$ac_ct_CC" >&6; }
4048 else
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4050 $as_echo "no" >&6; }
4053 if test "x$ac_ct_CC" = x; then
4054 CC=""
4055 else
4056 case $cross_compiling:$ac_tool_warned in
4057 yes:)
4058 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4059 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4060 ac_tool_warned=yes ;;
4061 esac
4062 CC=$ac_ct_CC
4064 else
4065 CC="$ac_cv_prog_CC"
4068 if test -z "$CC"; then
4069 if test -n "$ac_tool_prefix"; then
4070 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4071 set dummy ${ac_tool_prefix}cc; ac_word=$2
4072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4073 $as_echo_n "checking for $ac_word... " >&6; }
4074 if ${ac_cv_prog_CC+:} false; then :
4075 $as_echo_n "(cached) " >&6
4076 else
4077 if test -n "$CC"; then
4078 ac_cv_prog_CC="$CC" # Let the user override the test.
4079 else
4080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4081 for as_dir in $PATH
4083 IFS=$as_save_IFS
4084 test -z "$as_dir" && as_dir=.
4085 for ac_exec_ext in '' $ac_executable_extensions; do
4086 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4087 ac_cv_prog_CC="${ac_tool_prefix}cc"
4088 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4089 break 2
4091 done
4092 done
4093 IFS=$as_save_IFS
4097 CC=$ac_cv_prog_CC
4098 if test -n "$CC"; then
4099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4100 $as_echo "$CC" >&6; }
4101 else
4102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4103 $as_echo "no" >&6; }
4109 if test -z "$CC"; then
4110 # Extract the first word of "cc", so it can be a program name with args.
4111 set dummy cc; ac_word=$2
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4113 $as_echo_n "checking for $ac_word... " >&6; }
4114 if ${ac_cv_prog_CC+:} false; then :
4115 $as_echo_n "(cached) " >&6
4116 else
4117 if test -n "$CC"; then
4118 ac_cv_prog_CC="$CC" # Let the user override the test.
4119 else
4120 ac_prog_rejected=no
4121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4122 for as_dir in $PATH
4124 IFS=$as_save_IFS
4125 test -z "$as_dir" && as_dir=.
4126 for ac_exec_ext in '' $ac_executable_extensions; do
4127 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4128 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4129 ac_prog_rejected=yes
4130 continue
4132 ac_cv_prog_CC="cc"
4133 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4134 break 2
4136 done
4137 done
4138 IFS=$as_save_IFS
4140 if test $ac_prog_rejected = yes; then
4141 # We found a bogon in the path, so make sure we never use it.
4142 set dummy $ac_cv_prog_CC
4143 shift
4144 if test $# != 0; then
4145 # We chose a different compiler from the bogus one.
4146 # However, it has the same basename, so the bogon will be chosen
4147 # first if we set CC to just the basename; use the full file name.
4148 shift
4149 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4154 CC=$ac_cv_prog_CC
4155 if test -n "$CC"; then
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4157 $as_echo "$CC" >&6; }
4158 else
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4160 $as_echo "no" >&6; }
4165 if test -z "$CC"; then
4166 if test -n "$ac_tool_prefix"; then
4167 for ac_prog in cl.exe
4169 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4170 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4172 $as_echo_n "checking for $ac_word... " >&6; }
4173 if ${ac_cv_prog_CC+:} false; then :
4174 $as_echo_n "(cached) " >&6
4175 else
4176 if test -n "$CC"; then
4177 ac_cv_prog_CC="$CC" # Let the user override the test.
4178 else
4179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4180 for as_dir in $PATH
4182 IFS=$as_save_IFS
4183 test -z "$as_dir" && as_dir=.
4184 for ac_exec_ext in '' $ac_executable_extensions; do
4185 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4186 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4187 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4188 break 2
4190 done
4191 done
4192 IFS=$as_save_IFS
4196 CC=$ac_cv_prog_CC
4197 if test -n "$CC"; then
4198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4199 $as_echo "$CC" >&6; }
4200 else
4201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4202 $as_echo "no" >&6; }
4206 test -n "$CC" && break
4207 done
4209 if test -z "$CC"; then
4210 ac_ct_CC=$CC
4211 for ac_prog in cl.exe
4213 # Extract the first word of "$ac_prog", so it can be a program name with args.
4214 set dummy $ac_prog; ac_word=$2
4215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4216 $as_echo_n "checking for $ac_word... " >&6; }
4217 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4218 $as_echo_n "(cached) " >&6
4219 else
4220 if test -n "$ac_ct_CC"; then
4221 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4222 else
4223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4224 for as_dir in $PATH
4226 IFS=$as_save_IFS
4227 test -z "$as_dir" && as_dir=.
4228 for ac_exec_ext in '' $ac_executable_extensions; do
4229 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4230 ac_cv_prog_ac_ct_CC="$ac_prog"
4231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4232 break 2
4234 done
4235 done
4236 IFS=$as_save_IFS
4240 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4241 if test -n "$ac_ct_CC"; then
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4243 $as_echo "$ac_ct_CC" >&6; }
4244 else
4245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4246 $as_echo "no" >&6; }
4250 test -n "$ac_ct_CC" && break
4251 done
4253 if test "x$ac_ct_CC" = x; then
4254 CC=""
4255 else
4256 case $cross_compiling:$ac_tool_warned in
4257 yes:)
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4259 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4260 ac_tool_warned=yes ;;
4261 esac
4262 CC=$ac_ct_CC
4269 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4270 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4271 as_fn_error $? "no acceptable C compiler found in \$PATH
4272 See \`config.log' for more details" "$LINENO" 5; }
4274 # Provide some information about the compiler.
4275 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4276 set X $ac_compile
4277 ac_compiler=$2
4278 for ac_option in --version -v -V -qversion; do
4279 { { ac_try="$ac_compiler $ac_option >&5"
4280 case "(($ac_try" in
4281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4282 *) ac_try_echo=$ac_try;;
4283 esac
4284 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4285 $as_echo "$ac_try_echo"; } >&5
4286 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4287 ac_status=$?
4288 if test -s conftest.err; then
4289 sed '10a\
4290 ... rest of stderr output deleted ...
4291 10q' conftest.err >conftest.er1
4292 cat conftest.er1 >&5
4294 rm -f conftest.er1 conftest.err
4295 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4296 test $ac_status = 0; }
4297 done
4299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4300 /* end confdefs.h. */
4303 main ()
4307 return 0;
4309 _ACEOF
4310 ac_clean_files_save=$ac_clean_files
4311 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4312 # Try to create an executable without -o first, disregard a.out.
4313 # It will help us diagnose broken compilers, and finding out an intuition
4314 # of exeext.
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4316 $as_echo_n "checking whether the C compiler works... " >&6; }
4317 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4319 # The possible output files:
4320 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4322 ac_rmfiles=
4323 for ac_file in $ac_files
4325 case $ac_file in
4326 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4327 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4328 esac
4329 done
4330 rm -f $ac_rmfiles
4332 if { { ac_try="$ac_link_default"
4333 case "(($ac_try" in
4334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4335 *) ac_try_echo=$ac_try;;
4336 esac
4337 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4338 $as_echo "$ac_try_echo"; } >&5
4339 (eval "$ac_link_default") 2>&5
4340 ac_status=$?
4341 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4342 test $ac_status = 0; }; then :
4343 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4344 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4345 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4346 # so that the user can short-circuit this test for compilers unknown to
4347 # Autoconf.
4348 for ac_file in $ac_files ''
4350 test -f "$ac_file" || continue
4351 case $ac_file in
4352 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4354 [ab].out )
4355 # We found the default executable, but exeext='' is most
4356 # certainly right.
4357 break;;
4358 *.* )
4359 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4360 then :; else
4361 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4363 # We set ac_cv_exeext here because the later test for it is not
4364 # safe: cross compilers may not add the suffix if given an `-o'
4365 # argument, so we may need to know it at that point already.
4366 # Even if this section looks crufty: it has the advantage of
4367 # actually working.
4368 break;;
4370 break;;
4371 esac
4372 done
4373 test "$ac_cv_exeext" = no && ac_cv_exeext=
4375 else
4376 ac_file=''
4378 if test -z "$ac_file"; then :
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4380 $as_echo "no" >&6; }
4381 $as_echo "$as_me: failed program was:" >&5
4382 sed 's/^/| /' conftest.$ac_ext >&5
4384 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4385 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4386 as_fn_error 77 "C compiler cannot create executables
4387 See \`config.log' for more details" "$LINENO" 5; }
4388 else
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4390 $as_echo "yes" >&6; }
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4393 $as_echo_n "checking for C compiler default output file name... " >&6; }
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4395 $as_echo "$ac_file" >&6; }
4396 ac_exeext=$ac_cv_exeext
4398 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4399 ac_clean_files=$ac_clean_files_save
4400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4401 $as_echo_n "checking for suffix of executables... " >&6; }
4402 if { { ac_try="$ac_link"
4403 case "(($ac_try" in
4404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4405 *) ac_try_echo=$ac_try;;
4406 esac
4407 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4408 $as_echo "$ac_try_echo"; } >&5
4409 (eval "$ac_link") 2>&5
4410 ac_status=$?
4411 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4412 test $ac_status = 0; }; then :
4413 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4414 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4415 # work properly (i.e., refer to `conftest.exe'), while it won't with
4416 # `rm'.
4417 for ac_file in conftest.exe conftest conftest.*; do
4418 test -f "$ac_file" || continue
4419 case $ac_file in
4420 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4421 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4422 break;;
4423 * ) break;;
4424 esac
4425 done
4426 else
4427 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4428 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4429 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4430 See \`config.log' for more details" "$LINENO" 5; }
4432 rm -f conftest conftest$ac_cv_exeext
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4434 $as_echo "$ac_cv_exeext" >&6; }
4436 rm -f conftest.$ac_ext
4437 EXEEXT=$ac_cv_exeext
4438 ac_exeext=$EXEEXT
4439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4440 /* end confdefs.h. */
4441 #include <stdio.h>
4443 main ()
4445 FILE *f = fopen ("conftest.out", "w");
4446 return ferror (f) || fclose (f) != 0;
4449 return 0;
4451 _ACEOF
4452 ac_clean_files="$ac_clean_files conftest.out"
4453 # Check that the compiler produces executables we can run. If not, either
4454 # the compiler is broken, or we cross compile.
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4456 $as_echo_n "checking whether we are cross compiling... " >&6; }
4457 if test "$cross_compiling" != yes; then
4458 { { ac_try="$ac_link"
4459 case "(($ac_try" in
4460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4461 *) ac_try_echo=$ac_try;;
4462 esac
4463 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4464 $as_echo "$ac_try_echo"; } >&5
4465 (eval "$ac_link") 2>&5
4466 ac_status=$?
4467 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4468 test $ac_status = 0; }
4469 if { ac_try='./conftest$ac_cv_exeext'
4470 { { case "(($ac_try" in
4471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4472 *) ac_try_echo=$ac_try;;
4473 esac
4474 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4475 $as_echo "$ac_try_echo"; } >&5
4476 (eval "$ac_try") 2>&5
4477 ac_status=$?
4478 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4479 test $ac_status = 0; }; }; then
4480 cross_compiling=no
4481 else
4482 if test "$cross_compiling" = maybe; then
4483 cross_compiling=yes
4484 else
4485 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4486 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4487 as_fn_error $? "cannot run C compiled programs.
4488 If you meant to cross compile, use \`--host'.
4489 See \`config.log' for more details" "$LINENO" 5; }
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4494 $as_echo "$cross_compiling" >&6; }
4496 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4497 ac_clean_files=$ac_clean_files_save
4498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4499 $as_echo_n "checking for suffix of object files... " >&6; }
4500 if ${ac_cv_objext+:} false; then :
4501 $as_echo_n "(cached) " >&6
4502 else
4503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4504 /* end confdefs.h. */
4507 main ()
4511 return 0;
4513 _ACEOF
4514 rm -f conftest.o conftest.obj
4515 if { { ac_try="$ac_compile"
4516 case "(($ac_try" in
4517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4518 *) ac_try_echo=$ac_try;;
4519 esac
4520 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4521 $as_echo "$ac_try_echo"; } >&5
4522 (eval "$ac_compile") 2>&5
4523 ac_status=$?
4524 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4525 test $ac_status = 0; }; then :
4526 for ac_file in conftest.o conftest.obj conftest.*; do
4527 test -f "$ac_file" || continue;
4528 case $ac_file in
4529 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4530 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4531 break;;
4532 esac
4533 done
4534 else
4535 $as_echo "$as_me: failed program was:" >&5
4536 sed 's/^/| /' conftest.$ac_ext >&5
4538 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4539 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4540 as_fn_error $? "cannot compute suffix of object files: cannot compile
4541 See \`config.log' for more details" "$LINENO" 5; }
4543 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4546 $as_echo "$ac_cv_objext" >&6; }
4547 OBJEXT=$ac_cv_objext
4548 ac_objext=$OBJEXT
4549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4550 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4551 if ${ac_cv_c_compiler_gnu+:} false; then :
4552 $as_echo_n "(cached) " >&6
4553 else
4554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4555 /* end confdefs.h. */
4558 main ()
4560 #ifndef __GNUC__
4561 choke me
4562 #endif
4565 return 0;
4567 _ACEOF
4568 if ac_fn_c_try_compile "$LINENO"; then :
4569 ac_compiler_gnu=yes
4570 else
4571 ac_compiler_gnu=no
4573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4574 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4578 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4579 if test $ac_compiler_gnu = yes; then
4580 GCC=yes
4581 else
4582 GCC=
4584 ac_test_CFLAGS=${CFLAGS+set}
4585 ac_save_CFLAGS=$CFLAGS
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4587 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4588 if ${ac_cv_prog_cc_g+:} false; then :
4589 $as_echo_n "(cached) " >&6
4590 else
4591 ac_save_c_werror_flag=$ac_c_werror_flag
4592 ac_c_werror_flag=yes
4593 ac_cv_prog_cc_g=no
4594 CFLAGS="-g"
4595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4596 /* end confdefs.h. */
4599 main ()
4603 return 0;
4605 _ACEOF
4606 if ac_fn_c_try_compile "$LINENO"; then :
4607 ac_cv_prog_cc_g=yes
4608 else
4609 CFLAGS=""
4610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4611 /* end confdefs.h. */
4614 main ()
4618 return 0;
4620 _ACEOF
4621 if ac_fn_c_try_compile "$LINENO"; then :
4623 else
4624 ac_c_werror_flag=$ac_save_c_werror_flag
4625 CFLAGS="-g"
4626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4627 /* end confdefs.h. */
4630 main ()
4634 return 0;
4636 _ACEOF
4637 if ac_fn_c_try_compile "$LINENO"; then :
4638 ac_cv_prog_cc_g=yes
4640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4645 ac_c_werror_flag=$ac_save_c_werror_flag
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4648 $as_echo "$ac_cv_prog_cc_g" >&6; }
4649 if test "$ac_test_CFLAGS" = set; then
4650 CFLAGS=$ac_save_CFLAGS
4651 elif test $ac_cv_prog_cc_g = yes; then
4652 if test "$GCC" = yes; then
4653 CFLAGS="-g -O2"
4654 else
4655 CFLAGS="-g"
4657 else
4658 if test "$GCC" = yes; then
4659 CFLAGS="-O2"
4660 else
4661 CFLAGS=
4664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4665 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4666 if ${ac_cv_prog_cc_c89+:} false; then :
4667 $as_echo_n "(cached) " >&6
4668 else
4669 ac_cv_prog_cc_c89=no
4670 ac_save_CC=$CC
4671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4672 /* end confdefs.h. */
4673 #include <stdarg.h>
4674 #include <stdio.h>
4675 struct stat;
4676 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4677 struct buf { int x; };
4678 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4679 static char *e (p, i)
4680 char **p;
4681 int i;
4683 return p[i];
4685 static char *f (char * (*g) (char **, int), char **p, ...)
4687 char *s;
4688 va_list v;
4689 va_start (v,p);
4690 s = g (p, va_arg (v,int));
4691 va_end (v);
4692 return s;
4695 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4696 function prototypes and stuff, but not '\xHH' hex character constants.
4697 These don't provoke an error unfortunately, instead are silently treated
4698 as 'x'. The following induces an error, until -std is added to get
4699 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4700 array size at least. It's necessary to write '\x00'==0 to get something
4701 that's true only with -std. */
4702 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4704 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4705 inside strings and character constants. */
4706 #define FOO(x) 'x'
4707 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4709 int test (int i, double x);
4710 struct s1 {int (*f) (int a);};
4711 struct s2 {int (*f) (double a);};
4712 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4713 int argc;
4714 char **argv;
4716 main ()
4718 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4720 return 0;
4722 _ACEOF
4723 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4724 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4726 CC="$ac_save_CC $ac_arg"
4727 if ac_fn_c_try_compile "$LINENO"; then :
4728 ac_cv_prog_cc_c89=$ac_arg
4730 rm -f core conftest.err conftest.$ac_objext
4731 test "x$ac_cv_prog_cc_c89" != "xno" && break
4732 done
4733 rm -f conftest.$ac_ext
4734 CC=$ac_save_CC
4737 # AC_CACHE_VAL
4738 case "x$ac_cv_prog_cc_c89" in
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4741 $as_echo "none needed" >&6; } ;;
4742 xno)
4743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4744 $as_echo "unsupported" >&6; } ;;
4746 CC="$CC $ac_cv_prog_cc_c89"
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4748 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4749 esac
4750 if test "x$ac_cv_prog_cc_c89" != xno; then :
4754 ac_ext=c
4755 ac_cpp='$CPP $CPPFLAGS'
4756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4760 ac_ext=cpp
4761 ac_cpp='$CXXCPP $CPPFLAGS'
4762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4765 if test -z "$CXX"; then
4766 if test -n "$CCC"; then
4767 CXX=$CCC
4768 else
4769 if test -n "$ac_tool_prefix"; then
4770 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4772 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4773 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4775 $as_echo_n "checking for $ac_word... " >&6; }
4776 if ${ac_cv_prog_CXX+:} false; then :
4777 $as_echo_n "(cached) " >&6
4778 else
4779 if test -n "$CXX"; then
4780 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4781 else
4782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4783 for as_dir in $PATH
4785 IFS=$as_save_IFS
4786 test -z "$as_dir" && as_dir=.
4787 for ac_exec_ext in '' $ac_executable_extensions; do
4788 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4789 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4791 break 2
4793 done
4794 done
4795 IFS=$as_save_IFS
4799 CXX=$ac_cv_prog_CXX
4800 if test -n "$CXX"; then
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4802 $as_echo "$CXX" >&6; }
4803 else
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4805 $as_echo "no" >&6; }
4809 test -n "$CXX" && break
4810 done
4812 if test -z "$CXX"; then
4813 ac_ct_CXX=$CXX
4814 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4816 # Extract the first word of "$ac_prog", so it can be a program name with args.
4817 set dummy $ac_prog; ac_word=$2
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4819 $as_echo_n "checking for $ac_word... " >&6; }
4820 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4821 $as_echo_n "(cached) " >&6
4822 else
4823 if test -n "$ac_ct_CXX"; then
4824 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4825 else
4826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4827 for as_dir in $PATH
4829 IFS=$as_save_IFS
4830 test -z "$as_dir" && as_dir=.
4831 for ac_exec_ext in '' $ac_executable_extensions; do
4832 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4833 ac_cv_prog_ac_ct_CXX="$ac_prog"
4834 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4835 break 2
4837 done
4838 done
4839 IFS=$as_save_IFS
4843 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4844 if test -n "$ac_ct_CXX"; then
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4846 $as_echo "$ac_ct_CXX" >&6; }
4847 else
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4849 $as_echo "no" >&6; }
4853 test -n "$ac_ct_CXX" && break
4854 done
4856 if test "x$ac_ct_CXX" = x; then
4857 CXX="g++"
4858 else
4859 case $cross_compiling:$ac_tool_warned in
4860 yes:)
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4862 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4863 ac_tool_warned=yes ;;
4864 esac
4865 CXX=$ac_ct_CXX
4871 # Provide some information about the compiler.
4872 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4873 set X $ac_compile
4874 ac_compiler=$2
4875 for ac_option in --version -v -V -qversion; do
4876 { { ac_try="$ac_compiler $ac_option >&5"
4877 case "(($ac_try" in
4878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4879 *) ac_try_echo=$ac_try;;
4880 esac
4881 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4882 $as_echo "$ac_try_echo"; } >&5
4883 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4884 ac_status=$?
4885 if test -s conftest.err; then
4886 sed '10a\
4887 ... rest of stderr output deleted ...
4888 10q' conftest.err >conftest.er1
4889 cat conftest.er1 >&5
4891 rm -f conftest.er1 conftest.err
4892 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4893 test $ac_status = 0; }
4894 done
4896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4897 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4898 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4899 $as_echo_n "(cached) " >&6
4900 else
4901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4902 /* end confdefs.h. */
4905 main ()
4907 #ifndef __GNUC__
4908 choke me
4909 #endif
4912 return 0;
4914 _ACEOF
4915 if ac_fn_cxx_try_compile "$LINENO"; then :
4916 ac_compiler_gnu=yes
4917 else
4918 ac_compiler_gnu=no
4920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4921 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4925 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4926 if test $ac_compiler_gnu = yes; then
4927 GXX=yes
4928 else
4929 GXX=
4931 ac_test_CXXFLAGS=${CXXFLAGS+set}
4932 ac_save_CXXFLAGS=$CXXFLAGS
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4934 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4935 if ${ac_cv_prog_cxx_g+:} false; then :
4936 $as_echo_n "(cached) " >&6
4937 else
4938 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4939 ac_cxx_werror_flag=yes
4940 ac_cv_prog_cxx_g=no
4941 CXXFLAGS="-g"
4942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4943 /* end confdefs.h. */
4946 main ()
4950 return 0;
4952 _ACEOF
4953 if ac_fn_cxx_try_compile "$LINENO"; then :
4954 ac_cv_prog_cxx_g=yes
4955 else
4956 CXXFLAGS=""
4957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4958 /* end confdefs.h. */
4961 main ()
4965 return 0;
4967 _ACEOF
4968 if ac_fn_cxx_try_compile "$LINENO"; then :
4970 else
4971 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4972 CXXFLAGS="-g"
4973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4974 /* end confdefs.h. */
4977 main ()
4981 return 0;
4983 _ACEOF
4984 if ac_fn_cxx_try_compile "$LINENO"; then :
4985 ac_cv_prog_cxx_g=yes
4987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4992 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4995 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4996 if test "$ac_test_CXXFLAGS" = set; then
4997 CXXFLAGS=$ac_save_CXXFLAGS
4998 elif test $ac_cv_prog_cxx_g = yes; then
4999 if test "$GXX" = yes; then
5000 CXXFLAGS="-g -O2"
5001 else
5002 CXXFLAGS="-g"
5004 else
5005 if test "$GXX" = yes; then
5006 CXXFLAGS="-O2"
5007 else
5008 CXXFLAGS=
5011 ac_ext=c
5012 ac_cpp='$CPP $CPPFLAGS'
5013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5017 if test -n "$ac_tool_prefix"; then
5018 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5019 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5021 $as_echo_n "checking for $ac_word... " >&6; }
5022 if ${ac_cv_prog_CPPBIN+:} false; then :
5023 $as_echo_n "(cached) " >&6
5024 else
5025 if test -n "$CPPBIN"; then
5026 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5027 else
5028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5029 for as_dir in $PATH
5031 IFS=$as_save_IFS
5032 test -z "$as_dir" && as_dir=.
5033 for ac_exec_ext in '' $ac_executable_extensions; do
5034 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5035 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5037 break 2
5039 done
5040 done
5041 IFS=$as_save_IFS
5045 CPPBIN=$ac_cv_prog_CPPBIN
5046 if test -n "$CPPBIN"; then
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5048 $as_echo "$CPPBIN" >&6; }
5049 else
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5051 $as_echo "no" >&6; }
5056 if test -z "$ac_cv_prog_CPPBIN"; then
5057 ac_ct_CPPBIN=$CPPBIN
5058 # Extract the first word of "cpp", so it can be a program name with args.
5059 set dummy cpp; ac_word=$2
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5061 $as_echo_n "checking for $ac_word... " >&6; }
5062 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5063 $as_echo_n "(cached) " >&6
5064 else
5065 if test -n "$ac_ct_CPPBIN"; then
5066 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5067 else
5068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5069 for as_dir in $PATH
5071 IFS=$as_save_IFS
5072 test -z "$as_dir" && as_dir=.
5073 for ac_exec_ext in '' $ac_executable_extensions; do
5074 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5075 ac_cv_prog_ac_ct_CPPBIN="cpp"
5076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5077 break 2
5079 done
5080 done
5081 IFS=$as_save_IFS
5085 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5086 if test -n "$ac_ct_CPPBIN"; then
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5088 $as_echo "$ac_ct_CPPBIN" >&6; }
5089 else
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5091 $as_echo "no" >&6; }
5094 if test "x$ac_ct_CPPBIN" = x; then
5095 CPPBIN="cpp"
5096 else
5097 case $cross_compiling:$ac_tool_warned in
5098 yes:)
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5100 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5101 ac_tool_warned=yes ;;
5102 esac
5103 CPPBIN=$ac_ct_CPPBIN
5105 else
5106 CPPBIN="$ac_cv_prog_CPPBIN"
5110 cat >>confdefs.h <<_ACEOF
5111 #define EXEEXT "$ac_exeext"
5112 _ACEOF
5114 if test -n "$ac_tool_prefix"; then
5115 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5116 set dummy ${ac_tool_prefix}ld; ac_word=$2
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5118 $as_echo_n "checking for $ac_word... " >&6; }
5119 if ${ac_cv_prog_LD+:} false; then :
5120 $as_echo_n "(cached) " >&6
5121 else
5122 if test -n "$LD"; then
5123 ac_cv_prog_LD="$LD" # Let the user override the test.
5124 else
5125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5126 for as_dir in $PATH
5128 IFS=$as_save_IFS
5129 test -z "$as_dir" && as_dir=.
5130 for ac_exec_ext in '' $ac_executable_extensions; do
5131 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5132 ac_cv_prog_LD="${ac_tool_prefix}ld"
5133 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5134 break 2
5136 done
5137 done
5138 IFS=$as_save_IFS
5142 LD=$ac_cv_prog_LD
5143 if test -n "$LD"; then
5144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5145 $as_echo "$LD" >&6; }
5146 else
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5148 $as_echo "no" >&6; }
5153 if test -z "$ac_cv_prog_LD"; then
5154 ac_ct_LD=$LD
5155 # Extract the first word of "ld", so it can be a program name with args.
5156 set dummy ld; ac_word=$2
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5158 $as_echo_n "checking for $ac_word... " >&6; }
5159 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5160 $as_echo_n "(cached) " >&6
5161 else
5162 if test -n "$ac_ct_LD"; then
5163 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5164 else
5165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5166 for as_dir in $PATH
5168 IFS=$as_save_IFS
5169 test -z "$as_dir" && as_dir=.
5170 for ac_exec_ext in '' $ac_executable_extensions; do
5171 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5172 ac_cv_prog_ac_ct_LD="ld"
5173 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5174 break 2
5176 done
5177 done
5178 IFS=$as_save_IFS
5182 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5183 if test -n "$ac_ct_LD"; then
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5185 $as_echo "$ac_ct_LD" >&6; }
5186 else
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5188 $as_echo "no" >&6; }
5191 if test "x$ac_ct_LD" = x; then
5192 LD=""
5193 else
5194 case $cross_compiling:$ac_tool_warned in
5195 yes:)
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5197 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5198 ac_tool_warned=yes ;;
5199 esac
5200 LD=$ac_ct_LD
5202 else
5203 LD="$ac_cv_prog_LD"
5207 case $host in
5208 *-darwin*)
5209 with_fontconfig=${with_fontconfig:-no}
5211 *-mingw32*|*-cygwin*)
5212 enable_win16=${enable_win16:-no}
5213 CFLAGS="$CFLAGS -D_WIN32"
5215 esac
5217 case $host in
5218 x86_64*|amd64*)
5219 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5220 then
5221 CC="$CC -m32"
5222 CXX="$CXX -m32"
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5224 $as_echo_n "checking whether $CC works... " >&6; }
5226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5227 /* end confdefs.h. */
5230 main ()
5234 return 0;
5236 _ACEOF
5237 if ac_fn_c_try_link "$LINENO"; then :
5238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5239 $as_echo "yes" >&6; }
5240 else
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5242 $as_echo "no" >&6; }
5243 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5245 rm -f core conftest.err conftest.$ac_objext \
5246 conftest$ac_exeext conftest.$ac_ext
5247 host_cpu="i386"
5248 notice_platform="32-bit "
5249 TARGETFLAGS="-m32"
5251 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5252 export PKG_CONFIG_PATH
5253 enable_win16=${enable_win16:-yes}
5254 else
5255 if test "x${GCC}" = "xyes"
5256 then
5257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5258 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5260 /* end confdefs.h. */
5261 #include <stdarg.h>
5263 main ()
5265 void func(__builtin_ms_va_list *args);
5267 return 0;
5269 _ACEOF
5270 if ac_fn_c_try_compile "$LINENO"; then :
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5272 $as_echo "yes" >&6; }
5273 else
5274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5275 $as_echo "no" >&6; }
5276 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5280 CC="$CC -m64"
5281 CXX="$CXX -m64"
5282 host_cpu="x86_64"
5283 notice_platform="64-bit "
5284 TARGETFLAGS="-m64"
5288 arm*)
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5290 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5292 /* end confdefs.h. */
5293 int ac_test(int i) { return i; }
5295 main ()
5297 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5299 return 0;
5301 _ACEOF
5302 if ac_fn_c_try_link "$LINENO"; then :
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5304 $as_echo "yes" >&6; }
5305 else
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5307 $as_echo "no" >&6; }
5308 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5310 rm -f core conftest.err conftest.$ac_objext \
5311 conftest$ac_exeext conftest.$ac_ext
5312 case $with_float_abi in
5313 soft|softfp|hard)
5314 float_abi=$with_float_abi ;;
5316 case $host_os in
5317 *eabihf)
5318 float_abi=hard ;;
5320 float_abi=softfp
5321 saved_CFLAGS=$CFLAGS
5322 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5324 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5326 /* end confdefs.h. */
5329 main ()
5331 asm("vmrs r2,fpscr");
5333 return 0;
5335 _ACEOF
5336 if ac_fn_c_try_link "$LINENO"; then :
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5338 $as_echo "yes" >&6; }
5339 else
5340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5341 $as_echo "no" >&6; }
5342 float_abi=soft
5343 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5345 rm -f core conftest.err conftest.$ac_objext \
5346 conftest$ac_exeext conftest.$ac_ext
5347 CFLAGS=$saved_CFLAGS
5348 esac
5350 esac
5351 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5352 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5355 i[3456789]86*)
5356 enable_win16=${enable_win16:-yes}
5358 esac
5360 enable_win16=${enable_win16:-no}
5361 enable_win64=${enable_win64:-no}
5363 enable_winetest=${enable_winetest:-$enable_tests}
5365 if test -n "$with_wine64"
5366 then
5367 if test "x$enable_win64" = "xyes"
5368 then
5369 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5370 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5372 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5373 You should create a separate build directory and run configure from there." "$LINENO" 5
5374 enable_fonts=${enable_fonts:-no}
5375 enable_server=${enable_server:-no}
5376 wine64_disable=\#
5378 elif test "x$enable_win64" = "xyes"
5379 then
5380 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5384 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5385 if ${wine_cv_toolsdir+:} false; then :
5386 $as_echo_n "(cached) " >&6
5387 else
5388 wine_cv_toolsdir="$with_wine_tools"
5389 if test -z "$with_wine_tools"; then
5390 if test "$cross_compiling" = "yes"; then
5391 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5392 elif test -n "$with_wine64"; then
5393 wine_cv_toolsdir="$with_wine64"
5396 if test -z "$wine_cv_toolsdir"; then
5397 wine_makedep=tools/makedep
5398 wine_cv_toolsdir="\$(top_builddir)"
5399 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5400 wine_makedep=$wine_cv_toolsdir/tools/makedep
5401 case "$wine_cv_toolsdir" in
5402 /*) ;;
5403 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5404 esac
5405 enable_tools=${enable_tools:-no}
5406 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5407 else
5408 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5412 $as_echo "$wine_cv_toolsdir" >&6; }
5413 TOOLSDIR=$wine_cv_toolsdir
5415 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5416 then
5417 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5421 for ac_prog in flex
5423 # Extract the first word of "$ac_prog", so it can be a program name with args.
5424 set dummy $ac_prog; ac_word=$2
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5426 $as_echo_n "checking for $ac_word... " >&6; }
5427 if ${ac_cv_prog_FLEX+:} false; then :
5428 $as_echo_n "(cached) " >&6
5429 else
5430 if test -n "$FLEX"; then
5431 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5432 else
5433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5434 for as_dir in $PATH
5436 IFS=$as_save_IFS
5437 test -z "$as_dir" && as_dir=.
5438 for ac_exec_ext in '' $ac_executable_extensions; do
5439 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5440 ac_cv_prog_FLEX="$ac_prog"
5441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5442 break 2
5444 done
5445 done
5446 IFS=$as_save_IFS
5450 FLEX=$ac_cv_prog_FLEX
5451 if test -n "$FLEX"; then
5452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5453 $as_echo "$FLEX" >&6; }
5454 else
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5456 $as_echo "no" >&6; }
5460 test -n "$FLEX" && break
5461 done
5462 test -n "$FLEX" || FLEX="none"
5464 if test "$FLEX" = "none"
5465 then
5466 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5469 $as_echo_n "checking whether flex is recent enough... " >&6; }
5470 cat >conftest.l <<EOF
5471 %top{
5472 #include "prediluvian.h"
5476 if $FLEX -t conftest.l >/dev/null 2>&5
5477 then
5478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5479 $as_echo "yes" >&6; }
5480 else
5481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5482 $as_echo "no" >&6; }
5483 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5486 for ac_prog in bison
5488 # Extract the first word of "$ac_prog", so it can be a program name with args.
5489 set dummy $ac_prog; ac_word=$2
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5491 $as_echo_n "checking for $ac_word... " >&6; }
5492 if ${ac_cv_prog_BISON+:} false; then :
5493 $as_echo_n "(cached) " >&6
5494 else
5495 if test -n "$BISON"; then
5496 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5497 else
5498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5499 for as_dir in $PATH
5501 IFS=$as_save_IFS
5502 test -z "$as_dir" && as_dir=.
5503 for ac_exec_ext in '' $ac_executable_extensions; do
5504 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5505 ac_cv_prog_BISON="$ac_prog"
5506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5507 break 2
5509 done
5510 done
5511 IFS=$as_save_IFS
5515 BISON=$ac_cv_prog_BISON
5516 if test -n "$BISON"; then
5517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5518 $as_echo "$BISON" >&6; }
5519 else
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5521 $as_echo "no" >&6; }
5525 test -n "$BISON" && break
5526 done
5527 test -n "$BISON" || BISON="none"
5529 if test "$BISON" = "none"
5530 then
5531 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5534 if test -n "$ac_tool_prefix"; then
5535 for ac_prog in ar gar
5537 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5538 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5540 $as_echo_n "checking for $ac_word... " >&6; }
5541 if ${ac_cv_prog_AR+:} false; then :
5542 $as_echo_n "(cached) " >&6
5543 else
5544 if test -n "$AR"; then
5545 ac_cv_prog_AR="$AR" # Let the user override the test.
5546 else
5547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5548 for as_dir in $PATH
5550 IFS=$as_save_IFS
5551 test -z "$as_dir" && as_dir=.
5552 for ac_exec_ext in '' $ac_executable_extensions; do
5553 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5554 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5556 break 2
5558 done
5559 done
5560 IFS=$as_save_IFS
5564 AR=$ac_cv_prog_AR
5565 if test -n "$AR"; then
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5567 $as_echo "$AR" >&6; }
5568 else
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5570 $as_echo "no" >&6; }
5574 test -n "$AR" && break
5575 done
5577 if test -z "$AR"; then
5578 ac_ct_AR=$AR
5579 for ac_prog in ar gar
5581 # Extract the first word of "$ac_prog", so it can be a program name with args.
5582 set dummy $ac_prog; ac_word=$2
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5584 $as_echo_n "checking for $ac_word... " >&6; }
5585 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5586 $as_echo_n "(cached) " >&6
5587 else
5588 if test -n "$ac_ct_AR"; then
5589 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5590 else
5591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5592 for as_dir in $PATH
5594 IFS=$as_save_IFS
5595 test -z "$as_dir" && as_dir=.
5596 for ac_exec_ext in '' $ac_executable_extensions; do
5597 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5598 ac_cv_prog_ac_ct_AR="$ac_prog"
5599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5600 break 2
5602 done
5603 done
5604 IFS=$as_save_IFS
5608 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5609 if test -n "$ac_ct_AR"; then
5610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5611 $as_echo "$ac_ct_AR" >&6; }
5612 else
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5614 $as_echo "no" >&6; }
5618 test -n "$ac_ct_AR" && break
5619 done
5621 if test "x$ac_ct_AR" = x; then
5622 AR="ar"
5623 else
5624 case $cross_compiling:$ac_tool_warned in
5625 yes:)
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5627 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5628 ac_tool_warned=yes ;;
5629 esac
5630 AR=$ac_ct_AR
5634 if test -n "$ac_tool_prefix"; then
5635 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5636 set dummy ${ac_tool_prefix}strip; ac_word=$2
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5638 $as_echo_n "checking for $ac_word... " >&6; }
5639 if ${ac_cv_prog_STRIP+:} false; then :
5640 $as_echo_n "(cached) " >&6
5641 else
5642 if test -n "$STRIP"; then
5643 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5644 else
5645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5646 for as_dir in $PATH
5648 IFS=$as_save_IFS
5649 test -z "$as_dir" && as_dir=.
5650 for ac_exec_ext in '' $ac_executable_extensions; do
5651 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5652 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5653 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5654 break 2
5656 done
5657 done
5658 IFS=$as_save_IFS
5662 STRIP=$ac_cv_prog_STRIP
5663 if test -n "$STRIP"; then
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5665 $as_echo "$STRIP" >&6; }
5666 else
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5668 $as_echo "no" >&6; }
5673 if test -z "$ac_cv_prog_STRIP"; then
5674 ac_ct_STRIP=$STRIP
5675 # Extract the first word of "strip", so it can be a program name with args.
5676 set dummy strip; ac_word=$2
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5678 $as_echo_n "checking for $ac_word... " >&6; }
5679 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5680 $as_echo_n "(cached) " >&6
5681 else
5682 if test -n "$ac_ct_STRIP"; then
5683 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5684 else
5685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5686 for as_dir in $PATH
5688 IFS=$as_save_IFS
5689 test -z "$as_dir" && as_dir=.
5690 for ac_exec_ext in '' $ac_executable_extensions; do
5691 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5692 ac_cv_prog_ac_ct_STRIP="strip"
5693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5694 break 2
5696 done
5697 done
5698 IFS=$as_save_IFS
5702 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5703 if test -n "$ac_ct_STRIP"; then
5704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5705 $as_echo "$ac_ct_STRIP" >&6; }
5706 else
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5708 $as_echo "no" >&6; }
5711 if test "x$ac_ct_STRIP" = x; then
5712 STRIP="strip"
5713 else
5714 case $cross_compiling:$ac_tool_warned in
5715 yes:)
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5717 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5718 ac_tool_warned=yes ;;
5719 esac
5720 STRIP=$ac_ct_STRIP
5722 else
5723 STRIP="$ac_cv_prog_STRIP"
5726 ARFLAGS=rc
5728 if test -n "$ac_tool_prefix"; then
5729 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5730 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5732 $as_echo_n "checking for $ac_word... " >&6; }
5733 if ${ac_cv_prog_RANLIB+:} false; then :
5734 $as_echo_n "(cached) " >&6
5735 else
5736 if test -n "$RANLIB"; then
5737 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5738 else
5739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5740 for as_dir in $PATH
5742 IFS=$as_save_IFS
5743 test -z "$as_dir" && as_dir=.
5744 for ac_exec_ext in '' $ac_executable_extensions; do
5745 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5746 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5748 break 2
5750 done
5751 done
5752 IFS=$as_save_IFS
5756 RANLIB=$ac_cv_prog_RANLIB
5757 if test -n "$RANLIB"; then
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5759 $as_echo "$RANLIB" >&6; }
5760 else
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5762 $as_echo "no" >&6; }
5767 if test -z "$ac_cv_prog_RANLIB"; then
5768 ac_ct_RANLIB=$RANLIB
5769 # Extract the first word of "ranlib", so it can be a program name with args.
5770 set dummy ranlib; ac_word=$2
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5772 $as_echo_n "checking for $ac_word... " >&6; }
5773 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5774 $as_echo_n "(cached) " >&6
5775 else
5776 if test -n "$ac_ct_RANLIB"; then
5777 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5778 else
5779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5780 for as_dir in $PATH
5782 IFS=$as_save_IFS
5783 test -z "$as_dir" && as_dir=.
5784 for ac_exec_ext in '' $ac_executable_extensions; do
5785 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5786 ac_cv_prog_ac_ct_RANLIB="ranlib"
5787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5788 break 2
5790 done
5791 done
5792 IFS=$as_save_IFS
5796 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5797 if test -n "$ac_ct_RANLIB"; then
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5799 $as_echo "$ac_ct_RANLIB" >&6; }
5800 else
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5802 $as_echo "no" >&6; }
5805 if test "x$ac_ct_RANLIB" = x; then
5806 RANLIB=":"
5807 else
5808 case $cross_compiling:$ac_tool_warned in
5809 yes:)
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5811 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5812 ac_tool_warned=yes ;;
5813 esac
5814 RANLIB=$ac_ct_RANLIB
5816 else
5817 RANLIB="$ac_cv_prog_RANLIB"
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5821 $as_echo_n "checking whether ln -s works... " >&6; }
5822 LN_S=$as_ln_s
5823 if test "$LN_S" = "ln -s"; then
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5825 $as_echo "yes" >&6; }
5826 else
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5828 $as_echo "no, using $LN_S" >&6; }
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5832 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5833 if ${ac_cv_path_GREP+:} false; then :
5834 $as_echo_n "(cached) " >&6
5835 else
5836 if test -z "$GREP"; then
5837 ac_path_GREP_found=false
5838 # Loop through the user's path and test for each of PROGNAME-LIST
5839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5840 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5842 IFS=$as_save_IFS
5843 test -z "$as_dir" && as_dir=.
5844 for ac_prog in grep ggrep; do
5845 for ac_exec_ext in '' $ac_executable_extensions; do
5846 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5847 as_fn_executable_p "$ac_path_GREP" || continue
5848 # Check for GNU ac_path_GREP and select it if it is found.
5849 # Check for GNU $ac_path_GREP
5850 case `"$ac_path_GREP" --version 2>&1` in
5851 *GNU*)
5852 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5854 ac_count=0
5855 $as_echo_n 0123456789 >"conftest.in"
5856 while :
5858 cat "conftest.in" "conftest.in" >"conftest.tmp"
5859 mv "conftest.tmp" "conftest.in"
5860 cp "conftest.in" "conftest.nl"
5861 $as_echo 'GREP' >> "conftest.nl"
5862 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5863 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5864 as_fn_arith $ac_count + 1 && ac_count=$as_val
5865 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5866 # Best one so far, save it but keep looking for a better one
5867 ac_cv_path_GREP="$ac_path_GREP"
5868 ac_path_GREP_max=$ac_count
5870 # 10*(2^10) chars as input seems more than enough
5871 test $ac_count -gt 10 && break
5872 done
5873 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5874 esac
5876 $ac_path_GREP_found && break 3
5877 done
5878 done
5879 done
5880 IFS=$as_save_IFS
5881 if test -z "$ac_cv_path_GREP"; then
5882 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5884 else
5885 ac_cv_path_GREP=$GREP
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5890 $as_echo "$ac_cv_path_GREP" >&6; }
5891 GREP="$ac_cv_path_GREP"
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5895 $as_echo_n "checking for egrep... " >&6; }
5896 if ${ac_cv_path_EGREP+:} false; then :
5897 $as_echo_n "(cached) " >&6
5898 else
5899 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5900 then ac_cv_path_EGREP="$GREP -E"
5901 else
5902 if test -z "$EGREP"; then
5903 ac_path_EGREP_found=false
5904 # Loop through the user's path and test for each of PROGNAME-LIST
5905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5906 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5908 IFS=$as_save_IFS
5909 test -z "$as_dir" && as_dir=.
5910 for ac_prog in egrep; do
5911 for ac_exec_ext in '' $ac_executable_extensions; do
5912 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5913 as_fn_executable_p "$ac_path_EGREP" || continue
5914 # Check for GNU ac_path_EGREP and select it if it is found.
5915 # Check for GNU $ac_path_EGREP
5916 case `"$ac_path_EGREP" --version 2>&1` in
5917 *GNU*)
5918 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5920 ac_count=0
5921 $as_echo_n 0123456789 >"conftest.in"
5922 while :
5924 cat "conftest.in" "conftest.in" >"conftest.tmp"
5925 mv "conftest.tmp" "conftest.in"
5926 cp "conftest.in" "conftest.nl"
5927 $as_echo 'EGREP' >> "conftest.nl"
5928 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5929 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5930 as_fn_arith $ac_count + 1 && ac_count=$as_val
5931 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5932 # Best one so far, save it but keep looking for a better one
5933 ac_cv_path_EGREP="$ac_path_EGREP"
5934 ac_path_EGREP_max=$ac_count
5936 # 10*(2^10) chars as input seems more than enough
5937 test $ac_count -gt 10 && break
5938 done
5939 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5940 esac
5942 $ac_path_EGREP_found && break 3
5943 done
5944 done
5945 done
5946 IFS=$as_save_IFS
5947 if test -z "$ac_cv_path_EGREP"; then
5948 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5950 else
5951 ac_cv_path_EGREP=$EGREP
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5957 $as_echo "$ac_cv_path_EGREP" >&6; }
5958 EGREP="$ac_cv_path_EGREP"
5961 # Extract the first word of "ldconfig", so it can be a program name with args.
5962 set dummy ldconfig; ac_word=$2
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5964 $as_echo_n "checking for $ac_word... " >&6; }
5965 if ${ac_cv_path_LDCONFIG+:} false; then :
5966 $as_echo_n "(cached) " >&6
5967 else
5968 case $LDCONFIG in
5969 [\\/]* | ?:[\\/]*)
5970 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5974 for as_dir in /sbin /usr/sbin $PATH
5976 IFS=$as_save_IFS
5977 test -z "$as_dir" && as_dir=.
5978 for ac_exec_ext in '' $ac_executable_extensions; do
5979 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5980 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5982 break 2
5984 done
5985 done
5986 IFS=$as_save_IFS
5988 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5990 esac
5992 LDCONFIG=$ac_cv_path_LDCONFIG
5993 if test -n "$LDCONFIG"; then
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5995 $as_echo "$LDCONFIG" >&6; }
5996 else
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5998 $as_echo "no" >&6; }
6002 for ac_prog in msgfmt
6004 # Extract the first word of "$ac_prog", so it can be a program name with args.
6005 set dummy $ac_prog; ac_word=$2
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6007 $as_echo_n "checking for $ac_word... " >&6; }
6008 if ${ac_cv_prog_MSGFMT+:} false; then :
6009 $as_echo_n "(cached) " >&6
6010 else
6011 if test -n "$MSGFMT"; then
6012 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6013 else
6014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6015 for as_dir in $PATH
6017 IFS=$as_save_IFS
6018 test -z "$as_dir" && as_dir=.
6019 for ac_exec_ext in '' $ac_executable_extensions; do
6020 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6021 ac_cv_prog_MSGFMT="$ac_prog"
6022 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6023 break 2
6025 done
6026 done
6027 IFS=$as_save_IFS
6031 MSGFMT=$ac_cv_prog_MSGFMT
6032 if test -n "$MSGFMT"; then
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6034 $as_echo "$MSGFMT" >&6; }
6035 else
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6037 $as_echo "no" >&6; }
6041 test -n "$MSGFMT" && break
6042 done
6043 test -n "$MSGFMT" || MSGFMT="false"
6045 if ${ac_tool_prefix+:} false; then :
6046 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6047 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6049 $as_echo_n "checking for $ac_word... " >&6; }
6050 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6051 $as_echo_n "(cached) " >&6
6052 else
6053 if test -n "$PKG_CONFIG"; then
6054 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6055 else
6056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6057 for as_dir in $PATH
6059 IFS=$as_save_IFS
6060 test -z "$as_dir" && as_dir=.
6061 for ac_exec_ext in '' $ac_executable_extensions; do
6062 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6063 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6064 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6065 break 2
6067 done
6068 done
6069 IFS=$as_save_IFS
6073 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6074 if test -n "$PKG_CONFIG"; then
6075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6076 $as_echo "$PKG_CONFIG" >&6; }
6077 else
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6079 $as_echo "no" >&6; }
6084 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6085 if test "x$cross_compiling" = xyes; then :
6087 else
6088 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6089 # Extract the first word of "pkg-config", so it can be a program name with args.
6090 set dummy pkg-config; ac_word=$2
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6092 $as_echo_n "checking for $ac_word... " >&6; }
6093 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6094 $as_echo_n "(cached) " >&6
6095 else
6096 if test -n "$PKG_CONFIG"; then
6097 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6098 else
6099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6100 for as_dir in $PATH
6102 IFS=$as_save_IFS
6103 test -z "$as_dir" && as_dir=.
6104 for ac_exec_ext in '' $ac_executable_extensions; do
6105 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6106 ac_cv_prog_PKG_CONFIG="pkg-config"
6107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6108 break 2
6110 done
6111 done
6112 IFS=$as_save_IFS
6116 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6117 if test -n "$PKG_CONFIG"; then
6118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6119 $as_echo "$PKG_CONFIG" >&6; }
6120 else
6121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6122 $as_echo "no" >&6; }
6127 else
6128 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6131 if test "x$enable_maintainer_mode" != "xyes"
6132 then
6133 FONTFORGE=""
6134 RSVG=""
6135 CONVERT=""
6136 ICOTOOL=""
6137 else
6138 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6139 for ac_prog in fontforge
6141 # Extract the first word of "$ac_prog", so it can be a program name with args.
6142 set dummy $ac_prog; ac_word=$2
6143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6144 $as_echo_n "checking for $ac_word... " >&6; }
6145 if ${ac_cv_prog_FONTFORGE+:} false; then :
6146 $as_echo_n "(cached) " >&6
6147 else
6148 if test -n "$FONTFORGE"; then
6149 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6150 else
6151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6152 for as_dir in $PATH
6154 IFS=$as_save_IFS
6155 test -z "$as_dir" && as_dir=.
6156 for ac_exec_ext in '' $ac_executable_extensions; do
6157 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6158 ac_cv_prog_FONTFORGE="$ac_prog"
6159 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6160 break 2
6162 done
6163 done
6164 IFS=$as_save_IFS
6168 FONTFORGE=$ac_cv_prog_FONTFORGE
6169 if test -n "$FONTFORGE"; then
6170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6171 $as_echo "$FONTFORGE" >&6; }
6172 else
6173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6174 $as_echo "no" >&6; }
6178 test -n "$FONTFORGE" && break
6179 done
6180 test -n "$FONTFORGE" || FONTFORGE="false"
6182 for ac_prog in rsvg-convert rsvg
6184 # Extract the first word of "$ac_prog", so it can be a program name with args.
6185 set dummy $ac_prog; ac_word=$2
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6187 $as_echo_n "checking for $ac_word... " >&6; }
6188 if ${ac_cv_prog_RSVG+:} false; then :
6189 $as_echo_n "(cached) " >&6
6190 else
6191 if test -n "$RSVG"; then
6192 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6193 else
6194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6195 for as_dir in $PATH
6197 IFS=$as_save_IFS
6198 test -z "$as_dir" && as_dir=.
6199 for ac_exec_ext in '' $ac_executable_extensions; do
6200 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6201 ac_cv_prog_RSVG="$ac_prog"
6202 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6203 break 2
6205 done
6206 done
6207 IFS=$as_save_IFS
6211 RSVG=$ac_cv_prog_RSVG
6212 if test -n "$RSVG"; then
6213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6214 $as_echo "$RSVG" >&6; }
6215 else
6216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6217 $as_echo "no" >&6; }
6221 test -n "$RSVG" && break
6222 done
6223 test -n "$RSVG" || RSVG="false"
6225 for ac_prog in convert
6227 # Extract the first word of "$ac_prog", so it can be a program name with args.
6228 set dummy $ac_prog; ac_word=$2
6229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6230 $as_echo_n "checking for $ac_word... " >&6; }
6231 if ${ac_cv_prog_CONVERT+:} false; then :
6232 $as_echo_n "(cached) " >&6
6233 else
6234 if test -n "$CONVERT"; then
6235 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6236 else
6237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6238 for as_dir in $PATH
6240 IFS=$as_save_IFS
6241 test -z "$as_dir" && as_dir=.
6242 for ac_exec_ext in '' $ac_executable_extensions; do
6243 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6244 ac_cv_prog_CONVERT="$ac_prog"
6245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6246 break 2
6248 done
6249 done
6250 IFS=$as_save_IFS
6254 CONVERT=$ac_cv_prog_CONVERT
6255 if test -n "$CONVERT"; then
6256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6257 $as_echo "$CONVERT" >&6; }
6258 else
6259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6260 $as_echo "no" >&6; }
6264 test -n "$CONVERT" && break
6265 done
6266 test -n "$CONVERT" || CONVERT="false"
6268 for ac_prog in icotool
6270 # Extract the first word of "$ac_prog", so it can be a program name with args.
6271 set dummy $ac_prog; ac_word=$2
6272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6273 $as_echo_n "checking for $ac_word... " >&6; }
6274 if ${ac_cv_prog_ICOTOOL+:} false; then :
6275 $as_echo_n "(cached) " >&6
6276 else
6277 if test -n "$ICOTOOL"; then
6278 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6279 else
6280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6281 for as_dir in $PATH
6283 IFS=$as_save_IFS
6284 test -z "$as_dir" && as_dir=.
6285 for ac_exec_ext in '' $ac_executable_extensions; do
6286 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6287 ac_cv_prog_ICOTOOL="$ac_prog"
6288 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6289 break 2
6291 done
6292 done
6293 IFS=$as_save_IFS
6297 ICOTOOL=$ac_cv_prog_ICOTOOL
6298 if test -n "$ICOTOOL"; then
6299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6300 $as_echo "$ICOTOOL" >&6; }
6301 else
6302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6303 $as_echo "no" >&6; }
6307 test -n "$ICOTOOL" && break
6308 done
6309 test -n "$ICOTOOL" || ICOTOOL="false"
6311 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6312 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6314 if test "$CONVERT" = false
6315 then
6316 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6317 else
6318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6319 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6320 convert_version=`convert --version | head -n1`
6321 if test "x$convert_version" != "x"
6322 then
6323 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6324 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6325 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6326 then
6327 CONVERT=false
6330 if test "$CONVERT" = false
6331 then
6332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6333 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6334 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6335 else
6336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6337 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6341 if test "$ICOTOOL" = false
6342 then
6343 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6344 else
6345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6346 $as_echo_n "checking for recent enough icotool... " >&6; }
6347 icotool_version=`icotool --version | head -n1`
6348 if test "x$icotool_version" != "x"
6349 then
6350 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6351 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6352 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6353 then
6354 ICOTOOL=false
6355 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6358 if test "$ICOTOOL" = false
6359 then
6360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6361 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6362 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6363 else
6364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6365 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6369 with_gettext=yes
6370 with_gettextpo=yes
6371 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6374 test "x$with_gettext" != xno || MSGFMT=false
6375 if test "$MSGFMT" != "false"
6376 then
6377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6378 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6379 cat >conftest.po <<EOF
6380 # comment
6381 msgctxt "ctxt"
6382 msgid "id"
6383 msgstr "str"
6385 if $MSGFMT -o /dev/null conftest.po 2>&5
6386 then
6387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6388 $as_echo "yes" >&6; }
6389 else
6390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6391 $as_echo "no" >&6; }
6392 MSGFMT=false
6395 if test "$MSGFMT" = false; then :
6396 case "x$with_gettext" in
6397 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6398 xno) ;;
6399 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6400 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6401 esac
6402 enable_po=${enable_po:-no}
6406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6407 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6408 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6409 $as_echo_n "(cached) " >&6
6410 else
6411 ac_check_lib_save_LIBS=$LIBS
6412 LIBS="-li386 $LIBS"
6413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6414 /* end confdefs.h. */
6416 /* Override any GCC internal prototype to avoid an error.
6417 Use char because int might match the return type of a GCC
6418 builtin and then its argument prototype would still apply. */
6419 #ifdef __cplusplus
6420 extern "C"
6421 #endif
6422 char i386_set_ldt ();
6424 main ()
6426 return i386_set_ldt ();
6428 return 0;
6430 _ACEOF
6431 if ac_fn_c_try_link "$LINENO"; then :
6432 ac_cv_lib_i386_i386_set_ldt=yes
6433 else
6434 ac_cv_lib_i386_i386_set_ldt=no
6436 rm -f core conftest.err conftest.$ac_objext \
6437 conftest$ac_exeext conftest.$ac_ext
6438 LIBS=$ac_check_lib_save_LIBS
6440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6441 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6442 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6443 cat >>confdefs.h <<_ACEOF
6444 #define HAVE_LIBI386 1
6445 _ACEOF
6447 LIBS="-li386 $LIBS"
6451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6452 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6453 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6454 $as_echo_n "(cached) " >&6
6455 else
6456 ac_check_lib_save_LIBS=$LIBS
6457 LIBS="-lossaudio $LIBS"
6458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6459 /* end confdefs.h. */
6461 /* Override any GCC internal prototype to avoid an error.
6462 Use char because int might match the return type of a GCC
6463 builtin and then its argument prototype would still apply. */
6464 #ifdef __cplusplus
6465 extern "C"
6466 #endif
6467 char _oss_ioctl ();
6469 main ()
6471 return _oss_ioctl ();
6473 return 0;
6475 _ACEOF
6476 if ac_fn_c_try_link "$LINENO"; then :
6477 ac_cv_lib_ossaudio__oss_ioctl=yes
6478 else
6479 ac_cv_lib_ossaudio__oss_ioctl=no
6481 rm -f core conftest.err conftest.$ac_objext \
6482 conftest$ac_exeext conftest.$ac_ext
6483 LIBS=$ac_check_lib_save_LIBS
6485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6486 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6487 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6488 cat >>confdefs.h <<_ACEOF
6489 #define HAVE_LIBOSSAUDIO 1
6490 _ACEOF
6492 LIBS="-lossaudio $LIBS"
6497 OPENGL_LIBS=""
6501 # Check whether --enable-largefile was given.
6502 if test "${enable_largefile+set}" = set; then :
6503 enableval=$enable_largefile;
6506 if test "$enable_largefile" != no; then
6508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6509 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6510 if ${ac_cv_sys_largefile_CC+:} false; then :
6511 $as_echo_n "(cached) " >&6
6512 else
6513 ac_cv_sys_largefile_CC=no
6514 if test "$GCC" != yes; then
6515 ac_save_CC=$CC
6516 while :; do
6517 # IRIX 6.2 and later do not support large files by default,
6518 # so use the C compiler's -n32 option if that helps.
6519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6520 /* end confdefs.h. */
6521 #include <sys/types.h>
6522 /* Check that off_t can represent 2**63 - 1 correctly.
6523 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6524 since some C++ compilers masquerading as C compilers
6525 incorrectly reject 9223372036854775807. */
6526 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6527 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6528 && LARGE_OFF_T % 2147483647 == 1)
6529 ? 1 : -1];
6531 main ()
6535 return 0;
6537 _ACEOF
6538 if ac_fn_c_try_compile "$LINENO"; then :
6539 break
6541 rm -f core conftest.err conftest.$ac_objext
6542 CC="$CC -n32"
6543 if ac_fn_c_try_compile "$LINENO"; then :
6544 ac_cv_sys_largefile_CC=' -n32'; break
6546 rm -f core conftest.err conftest.$ac_objext
6547 break
6548 done
6549 CC=$ac_save_CC
6550 rm -f conftest.$ac_ext
6553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6554 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6555 if test "$ac_cv_sys_largefile_CC" != no; then
6556 CC=$CC$ac_cv_sys_largefile_CC
6559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6560 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6561 if ${ac_cv_sys_file_offset_bits+:} false; then :
6562 $as_echo_n "(cached) " >&6
6563 else
6564 while :; do
6565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6566 /* end confdefs.h. */
6567 #include <sys/types.h>
6568 /* Check that off_t can represent 2**63 - 1 correctly.
6569 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6570 since some C++ compilers masquerading as C compilers
6571 incorrectly reject 9223372036854775807. */
6572 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6573 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6574 && LARGE_OFF_T % 2147483647 == 1)
6575 ? 1 : -1];
6577 main ()
6581 return 0;
6583 _ACEOF
6584 if ac_fn_c_try_compile "$LINENO"; then :
6585 ac_cv_sys_file_offset_bits=no; break
6587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6589 /* end confdefs.h. */
6590 #define _FILE_OFFSET_BITS 64
6591 #include <sys/types.h>
6592 /* Check that off_t can represent 2**63 - 1 correctly.
6593 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6594 since some C++ compilers masquerading as C compilers
6595 incorrectly reject 9223372036854775807. */
6596 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6597 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6598 && LARGE_OFF_T % 2147483647 == 1)
6599 ? 1 : -1];
6601 main ()
6605 return 0;
6607 _ACEOF
6608 if ac_fn_c_try_compile "$LINENO"; then :
6609 ac_cv_sys_file_offset_bits=64; break
6611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6612 ac_cv_sys_file_offset_bits=unknown
6613 break
6614 done
6616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6617 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6618 case $ac_cv_sys_file_offset_bits in #(
6619 no | unknown) ;;
6621 cat >>confdefs.h <<_ACEOF
6622 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6623 _ACEOF
6625 esac
6626 rm -rf conftest*
6627 if test $ac_cv_sys_file_offset_bits = unknown; then
6628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6629 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6630 if ${ac_cv_sys_large_files+:} false; then :
6631 $as_echo_n "(cached) " >&6
6632 else
6633 while :; do
6634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6635 /* end confdefs.h. */
6636 #include <sys/types.h>
6637 /* Check that off_t can represent 2**63 - 1 correctly.
6638 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6639 since some C++ compilers masquerading as C compilers
6640 incorrectly reject 9223372036854775807. */
6641 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6642 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6643 && LARGE_OFF_T % 2147483647 == 1)
6644 ? 1 : -1];
6646 main ()
6650 return 0;
6652 _ACEOF
6653 if ac_fn_c_try_compile "$LINENO"; then :
6654 ac_cv_sys_large_files=no; break
6656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6658 /* end confdefs.h. */
6659 #define _LARGE_FILES 1
6660 #include <sys/types.h>
6661 /* Check that off_t can represent 2**63 - 1 correctly.
6662 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6663 since some C++ compilers masquerading as C compilers
6664 incorrectly reject 9223372036854775807. */
6665 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6666 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6667 && LARGE_OFF_T % 2147483647 == 1)
6668 ? 1 : -1];
6670 main ()
6674 return 0;
6676 _ACEOF
6677 if ac_fn_c_try_compile "$LINENO"; then :
6678 ac_cv_sys_large_files=1; break
6680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6681 ac_cv_sys_large_files=unknown
6682 break
6683 done
6685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6686 $as_echo "$ac_cv_sys_large_files" >&6; }
6687 case $ac_cv_sys_large_files in #(
6688 no | unknown) ;;
6690 cat >>confdefs.h <<_ACEOF
6691 #define _LARGE_FILES $ac_cv_sys_large_files
6692 _ACEOF
6694 esac
6695 rm -rf conftest*
6702 ac_ext=c
6703 ac_cpp='$CPP $CPPFLAGS'
6704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6708 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6709 # On Suns, sometimes $CPP names a directory.
6710 if test -n "$CPP" && test -d "$CPP"; then
6711 CPP=
6713 if test -z "$CPP"; then
6714 if ${ac_cv_prog_CPP+:} false; then :
6715 $as_echo_n "(cached) " >&6
6716 else
6717 # Double quotes because CPP needs to be expanded
6718 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6720 ac_preproc_ok=false
6721 for ac_c_preproc_warn_flag in '' yes
6723 # Use a header file that comes with gcc, so configuring glibc
6724 # with a fresh cross-compiler works.
6725 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6726 # <limits.h> exists even on freestanding compilers.
6727 # On the NeXT, cc -E runs the code through the compiler's parser,
6728 # not just through cpp. "Syntax error" is here to catch this case.
6729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6730 /* end confdefs.h. */
6731 #ifdef __STDC__
6732 # include <limits.h>
6733 #else
6734 # include <assert.h>
6735 #endif
6736 Syntax error
6737 _ACEOF
6738 if ac_fn_c_try_cpp "$LINENO"; then :
6740 else
6741 # Broken: fails on valid input.
6742 continue
6744 rm -f conftest.err conftest.i conftest.$ac_ext
6746 # OK, works on sane cases. Now check whether nonexistent headers
6747 # can be detected and how.
6748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6749 /* end confdefs.h. */
6750 #include <ac_nonexistent.h>
6751 _ACEOF
6752 if ac_fn_c_try_cpp "$LINENO"; then :
6753 # Broken: success on invalid input.
6754 continue
6755 else
6756 # Passes both tests.
6757 ac_preproc_ok=:
6758 break
6760 rm -f conftest.err conftest.i conftest.$ac_ext
6762 done
6763 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6764 rm -f conftest.i conftest.err conftest.$ac_ext
6765 if $ac_preproc_ok; then :
6766 break
6769 done
6770 ac_cv_prog_CPP=$CPP
6773 CPP=$ac_cv_prog_CPP
6774 else
6775 ac_cv_prog_CPP=$CPP
6777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6778 $as_echo "$CPP" >&6; }
6779 ac_preproc_ok=false
6780 for ac_c_preproc_warn_flag in '' yes
6782 # Use a header file that comes with gcc, so configuring glibc
6783 # with a fresh cross-compiler works.
6784 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6785 # <limits.h> exists even on freestanding compilers.
6786 # On the NeXT, cc -E runs the code through the compiler's parser,
6787 # not just through cpp. "Syntax error" is here to catch this case.
6788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6789 /* end confdefs.h. */
6790 #ifdef __STDC__
6791 # include <limits.h>
6792 #else
6793 # include <assert.h>
6794 #endif
6795 Syntax error
6796 _ACEOF
6797 if ac_fn_c_try_cpp "$LINENO"; then :
6799 else
6800 # Broken: fails on valid input.
6801 continue
6803 rm -f conftest.err conftest.i conftest.$ac_ext
6805 # OK, works on sane cases. Now check whether nonexistent headers
6806 # can be detected and how.
6807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6808 /* end confdefs.h. */
6809 #include <ac_nonexistent.h>
6810 _ACEOF
6811 if ac_fn_c_try_cpp "$LINENO"; then :
6812 # Broken: success on invalid input.
6813 continue
6814 else
6815 # Passes both tests.
6816 ac_preproc_ok=:
6817 break
6819 rm -f conftest.err conftest.i conftest.$ac_ext
6821 done
6822 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6823 rm -f conftest.i conftest.err conftest.$ac_ext
6824 if $ac_preproc_ok; then :
6826 else
6827 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6828 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6829 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6830 See \`config.log' for more details" "$LINENO" 5; }
6833 ac_ext=c
6834 ac_cpp='$CPP $CPPFLAGS'
6835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6841 $as_echo_n "checking for ANSI C header files... " >&6; }
6842 if ${ac_cv_header_stdc+:} false; then :
6843 $as_echo_n "(cached) " >&6
6844 else
6845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6846 /* end confdefs.h. */
6847 #include <stdlib.h>
6848 #include <stdarg.h>
6849 #include <string.h>
6850 #include <float.h>
6853 main ()
6857 return 0;
6859 _ACEOF
6860 if ac_fn_c_try_compile "$LINENO"; then :
6861 ac_cv_header_stdc=yes
6862 else
6863 ac_cv_header_stdc=no
6865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6867 if test $ac_cv_header_stdc = yes; then
6868 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6870 /* end confdefs.h. */
6871 #include <string.h>
6873 _ACEOF
6874 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6875 $EGREP "memchr" >/dev/null 2>&1; then :
6877 else
6878 ac_cv_header_stdc=no
6880 rm -f conftest*
6884 if test $ac_cv_header_stdc = yes; then
6885 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6887 /* end confdefs.h. */
6888 #include <stdlib.h>
6890 _ACEOF
6891 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6892 $EGREP "free" >/dev/null 2>&1; then :
6894 else
6895 ac_cv_header_stdc=no
6897 rm -f conftest*
6901 if test $ac_cv_header_stdc = yes; then
6902 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6903 if test "$cross_compiling" = yes; then :
6905 else
6906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6907 /* end confdefs.h. */
6908 #include <ctype.h>
6909 #include <stdlib.h>
6910 #if ((' ' & 0x0FF) == 0x020)
6911 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6912 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6913 #else
6914 # define ISLOWER(c) \
6915 (('a' <= (c) && (c) <= 'i') \
6916 || ('j' <= (c) && (c) <= 'r') \
6917 || ('s' <= (c) && (c) <= 'z'))
6918 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6919 #endif
6921 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6923 main ()
6925 int i;
6926 for (i = 0; i < 256; i++)
6927 if (XOR (islower (i), ISLOWER (i))
6928 || toupper (i) != TOUPPER (i))
6929 return 2;
6930 return 0;
6932 _ACEOF
6933 if ac_fn_c_try_run "$LINENO"; then :
6935 else
6936 ac_cv_header_stdc=no
6938 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6939 conftest.$ac_objext conftest.beam conftest.$ac_ext
6944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6945 $as_echo "$ac_cv_header_stdc" >&6; }
6946 if test $ac_cv_header_stdc = yes; then
6948 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6952 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6953 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6954 inttypes.h stdint.h unistd.h
6955 do :
6956 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6957 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6959 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6960 cat >>confdefs.h <<_ACEOF
6961 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6962 _ACEOF
6966 done
6969 for ac_header in \
6970 AL/al.h \
6971 ApplicationServices/ApplicationServices.h \
6972 AudioToolbox/AudioConverter.h \
6973 AudioUnit/AudioUnit.h \
6974 AudioUnit/AudioComponent.h \
6975 CL/cl.h \
6976 Carbon/Carbon.h \
6977 CommonCrypto/CommonCryptor.h \
6978 CoreAudio/CoreAudio.h \
6979 CoreServices/CoreServices.h \
6980 DiskArbitration/DiskArbitration.h \
6981 EGL/egl.h \
6982 IOKit/IOKitLib.h \
6983 IOKit/hid/IOHIDLib.h \
6984 OpenAL/al.h \
6985 OpenCL/opencl.h \
6986 QuickTime/ImageCompression.h \
6987 Security/Security.h \
6988 alias.h \
6989 alsa/asoundlib.h \
6990 arpa/inet.h \
6991 arpa/nameser.h \
6992 asm/types.h \
6993 asm/user.h \
6994 curses.h \
6995 direct.h \
6996 dirent.h \
6997 dlfcn.h \
6998 elf.h \
6999 float.h \
7000 fnmatch.h \
7001 getopt.h \
7002 gettext-po.h \
7003 grp.h \
7004 gsm.h \
7005 gsm/gsm.h \
7006 ieeefp.h \
7007 inet/mib2.h \
7008 io.h \
7009 kstat.h \
7010 libproc.h \
7011 link.h \
7012 linux/cdrom.h \
7013 linux/compiler.h \
7014 linux/filter.h \
7015 linux/hdreg.h \
7016 linux/hidraw.h \
7017 linux/input.h \
7018 linux/ioctl.h \
7019 linux/joystick.h \
7020 linux/major.h \
7021 linux/param.h \
7022 linux/serial.h \
7023 linux/types.h \
7024 linux/ucdrom.h \
7025 lwp.h \
7026 mach-o/nlist.h \
7027 mach-o/loader.h \
7028 mach/mach.h \
7029 mach/machine.h \
7030 machine/cpu.h \
7031 machine/limits.h \
7032 machine/sysarch.h \
7033 mntent.h \
7034 ncurses.h \
7035 netdb.h \
7036 netinet/in.h \
7037 netinet/in_systm.h \
7038 netinet/tcp.h \
7039 netinet/tcp_fsm.h \
7040 pcap/pcap.h \
7041 poll.h \
7042 port.h \
7043 process.h \
7044 pthread.h \
7045 pwd.h \
7046 sched.h \
7047 scsi/scsi.h \
7048 scsi/scsi_ioctl.h \
7049 scsi/sg.h \
7050 stdbool.h \
7051 stdint.h \
7052 stropts.h \
7053 sys/asoundlib.h \
7054 sys/attr.h \
7055 sys/auxv.h \
7056 sys/cdio.h \
7057 sys/elf32.h \
7058 sys/epoll.h \
7059 sys/event.h \
7060 sys/exec_elf.h \
7061 sys/filio.h \
7062 sys/inotify.h \
7063 sys/ioctl.h \
7064 sys/ipc.h \
7065 sys/limits.h \
7066 sys/link.h \
7067 sys/mman.h \
7068 sys/modem.h \
7069 sys/msg.h \
7070 sys/mtio.h \
7071 sys/param.h \
7072 sys/poll.h \
7073 sys/prctl.h \
7074 sys/protosw.h \
7075 sys/ptrace.h \
7076 sys/queue.h \
7077 sys/resource.h \
7078 sys/scsiio.h \
7079 sys/shm.h \
7080 sys/signal.h \
7081 sys/socket.h \
7082 sys/socketvar.h \
7083 sys/sockio.h \
7084 sys/statvfs.h \
7085 sys/strtio.h \
7086 sys/syscall.h \
7087 sys/sysinfo.h \
7088 sys/tihdr.h \
7089 sys/time.h \
7090 sys/timeout.h \
7091 sys/times.h \
7092 sys/uio.h \
7093 sys/user.h \
7094 sys/utsname.h \
7095 sys/vnode.h \
7096 sys/wait.h \
7097 syscall.h \
7098 termios.h \
7099 unistd.h \
7100 utime.h \
7101 valgrind/memcheck.h \
7102 valgrind/valgrind.h \
7103 zlib.h
7105 do :
7106 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7107 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7108 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7109 cat >>confdefs.h <<_ACEOF
7110 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7111 _ACEOF
7115 done
7117 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7118 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7120 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7125 if test $ac_cv_header_sys_mkdev_h = no; then
7126 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7127 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7129 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7136 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7137 if ${ac_cv_header_stat_broken+:} false; then :
7138 $as_echo_n "(cached) " >&6
7139 else
7140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7141 /* end confdefs.h. */
7142 #include <sys/types.h>
7143 #include <sys/stat.h>
7145 #if defined S_ISBLK && defined S_IFDIR
7146 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7147 #endif
7149 #if defined S_ISBLK && defined S_IFCHR
7150 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7151 #endif
7153 #if defined S_ISLNK && defined S_IFREG
7154 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7155 #endif
7157 #if defined S_ISSOCK && defined S_IFREG
7158 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7159 #endif
7161 _ACEOF
7162 if ac_fn_c_try_compile "$LINENO"; then :
7163 ac_cv_header_stat_broken=no
7164 else
7165 ac_cv_header_stat_broken=yes
7167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7170 $as_echo "$ac_cv_header_stat_broken" >&6; }
7171 if test $ac_cv_header_stat_broken = yes; then
7173 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7179 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7180 do :
7181 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7182 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7183 #ifdef HAVE_SYS_PARAM_H
7184 # include <sys/param.h>
7185 #endif
7187 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7188 cat >>confdefs.h <<_ACEOF
7189 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7190 _ACEOF
7194 done
7197 for ac_header in \
7198 netinet/ip.h \
7199 net/if.h \
7200 net/if_arp.h \
7201 net/if_dl.h \
7202 net/if_types.h \
7203 net/route.h \
7204 netinet/if_ether.h \
7205 netinet/if_inarp.h \
7206 netinet/in_pcb.h \
7207 netinet/ip_icmp.h \
7208 netinet/ip_var.h \
7209 netinet/udp.h \
7210 netipx/ipx.h \
7211 sys/un.h \
7213 do :
7214 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7215 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7216 #ifdef HAVE_SYS_SOCKET_H
7217 # include <sys/socket.h>
7218 #endif
7219 #ifdef HAVE_SYS_SOCKETVAR_H
7220 # include <sys/socketvar.h>
7221 #endif
7222 #ifdef HAVE_NET_ROUTE_H
7223 # include <net/route.h>
7224 #endif
7225 #ifdef HAVE_NETINET_IN_H
7226 # include <netinet/in.h>
7227 #endif
7228 #ifdef HAVE_NETINET_IN_SYSTM_H
7229 # include <netinet/in_systm.h>
7230 #endif
7231 #ifdef HAVE_NET_IF_H
7232 # include <net/if.h>
7233 #endif
7234 #ifdef HAVE_NETINET_IP_H
7235 # include <netinet/ip.h>
7236 #endif
7238 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7239 cat >>confdefs.h <<_ACEOF
7240 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7241 _ACEOF
7245 done
7248 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7249 do :
7250 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7251 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7252 #ifdef HAVE_ALIAS_H
7253 # include <alias.h>
7254 #endif
7255 #ifdef HAVE_SYS_SOCKET_H
7256 # include <sys/socket.h>
7257 #endif
7258 #ifdef HAVE_SYS_SOCKETVAR_H
7259 # include <sys/socketvar.h>
7260 #endif
7261 #ifdef HAVE_SYS_TIMEOUT_H
7262 # include <sys/timeout.h>
7263 #endif
7264 #ifdef HAVE_NETINET_IN_H
7265 # include <netinet/in.h>
7266 #endif
7267 #ifdef HAVE_NETINET_IN_SYSTM_H
7268 # include <netinet/in_systm.h>
7269 #endif
7270 #ifdef HAVE_NETINET_IP_H
7271 # include <netinet/ip.h>
7272 #endif
7273 #ifdef HAVE_NETINET_IP_VAR_H
7274 # include <netinet/ip_var.h>
7275 #endif
7276 #ifdef HAVE_NETINET_IP_ICMP_H
7277 # include <netinet/ip_icmp.h>
7278 #endif
7279 #ifdef HAVE_NETINET_UDP_H
7280 # include <netinet/udp.h>
7281 #endif
7282 #ifdef HAVE_NETINET_TCP_H
7283 # include <netinet/tcp.h>
7284 #endif
7285 #ifdef HAVE_NETINET_TCP_TIMER_H
7286 #include <netinet/tcp_timer.h>
7287 #endif
7289 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7290 cat >>confdefs.h <<_ACEOF
7291 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7292 _ACEOF
7296 done
7299 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7300 do :
7301 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7302 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7303 #ifdef HAVE_ASM_TYPES_H
7304 # include <asm/types.h>
7305 #endif
7306 #ifdef HAVE_SYS_SOCKET_H
7307 # include <sys/socket.h>
7308 #endif
7309 #ifdef HAVE_LINUX_TYPES_H
7310 # include <linux/types.h>
7311 #endif
7313 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7314 cat >>confdefs.h <<_ACEOF
7315 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7316 _ACEOF
7320 done
7323 for ac_header in mach-o/dyld_images.h
7324 do :
7325 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7326 # include <stdbool.h>
7327 #endif
7328 #ifdef HAVE_STDINT_H
7329 # include <stdint.h>
7330 #endif
7332 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7333 cat >>confdefs.h <<_ACEOF
7334 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7335 _ACEOF
7339 done
7342 for ac_header in resolv.h
7343 do :
7344 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7345 #ifdef HAVE_SYS_SOCKET_H
7346 # include <sys/socket.h>
7347 #endif
7348 #ifdef HAVE_NETINET_IN_H
7349 # include <netinet/in.h>
7350 #endif
7351 #ifdef HAVE_ARPA_NAMESER_H
7352 # include <arpa/nameser.h>
7353 #endif
7355 if test "x$ac_cv_header_resolv_h" = xyes; then :
7356 cat >>confdefs.h <<_ACEOF
7357 #define HAVE_RESOLV_H 1
7358 _ACEOF
7362 done
7365 for ac_header in ifaddrs.h
7366 do :
7367 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7369 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7370 cat >>confdefs.h <<_ACEOF
7371 #define HAVE_IFADDRS_H 1
7372 _ACEOF
7376 done
7379 for ac_header in sys/ucontext.h
7380 do :
7381 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7383 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7384 cat >>confdefs.h <<_ACEOF
7385 #define HAVE_SYS_UCONTEXT_H 1
7386 _ACEOF
7390 done
7393 for ac_header in sys/thr.h
7394 do :
7395 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7396 #ifdef HAVE_SYS_UCONTEXT_H
7397 #include <sys/ucontext.h>
7398 #endif
7400 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7401 cat >>confdefs.h <<_ACEOF
7402 #define HAVE_SYS_THR_H 1
7403 _ACEOF
7407 done
7410 for ac_header in pthread_np.h
7411 do :
7412 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7413 #include <pthread.h>
7414 #endif
7416 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7417 cat >>confdefs.h <<_ACEOF
7418 #define HAVE_PTHREAD_NP_H 1
7419 _ACEOF
7423 done
7426 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7427 do :
7428 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7429 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7430 #include <sys/time.h>
7431 #endif
7432 #include <sys/types.h>
7433 #ifdef HAVE_ASM_TYPES_H
7434 #include <asm/types.h>
7435 #endif
7437 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7438 cat >>confdefs.h <<_ACEOF
7439 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7440 _ACEOF
7444 done
7447 for ac_header in libprocstat.h
7448 do :
7449 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7450 #include <sys/param.h>
7451 #endif
7452 #ifdef HAVE_SYS_QUEUE_H
7453 #include <sys/queue.h>
7454 #endif
7455 #ifdef HAVE_SYS_SOCKET_H
7456 #include <sys/socket.h>
7457 #endif
7459 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7460 cat >>confdefs.h <<_ACEOF
7461 #define HAVE_LIBPROCSTAT_H 1
7462 _ACEOF
7466 done
7470 DLLFLAGS="-D_REENTRANT"
7472 LDRPATH_INSTALL=""
7474 LDRPATH_LOCAL=""
7476 LDEXECFLAGS=""
7478 WINELOADER_LDFLAGS=""
7480 LIBEXT="so"
7481 DLLEXT=".so"
7482 IMPLIBEXT="def"
7483 # Extract the first word of "ldd", so it can be a program name with args.
7484 set dummy ldd; ac_word=$2
7485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7486 $as_echo_n "checking for $ac_word... " >&6; }
7487 if ${ac_cv_path_LDD+:} false; then :
7488 $as_echo_n "(cached) " >&6
7489 else
7490 case $LDD in
7491 [\\/]* | ?:[\\/]*)
7492 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7496 as_dummy="/sbin:/usr/sbin:$PATH"
7497 for as_dir in $as_dummy
7499 IFS=$as_save_IFS
7500 test -z "$as_dir" && as_dir=.
7501 for ac_exec_ext in '' $ac_executable_extensions; do
7502 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7503 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7504 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7505 break 2
7507 done
7508 done
7509 IFS=$as_save_IFS
7511 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7513 esac
7515 LDD=$ac_cv_path_LDD
7516 if test -n "$LDD"; then
7517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7518 $as_echo "$LDD" >&6; }
7519 else
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7521 $as_echo "no" >&6; }
7525 if test -n "$ac_tool_prefix"; then
7526 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7527 set dummy ${ac_tool_prefix}otool; ac_word=$2
7528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7529 $as_echo_n "checking for $ac_word... " >&6; }
7530 if ${ac_cv_prog_OTOOL+:} false; then :
7531 $as_echo_n "(cached) " >&6
7532 else
7533 if test -n "$OTOOL"; then
7534 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7535 else
7536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7537 for as_dir in $PATH
7539 IFS=$as_save_IFS
7540 test -z "$as_dir" && as_dir=.
7541 for ac_exec_ext in '' $ac_executable_extensions; do
7542 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7543 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7544 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7545 break 2
7547 done
7548 done
7549 IFS=$as_save_IFS
7553 OTOOL=$ac_cv_prog_OTOOL
7554 if test -n "$OTOOL"; then
7555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7556 $as_echo "$OTOOL" >&6; }
7557 else
7558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7559 $as_echo "no" >&6; }
7564 if test -z "$ac_cv_prog_OTOOL"; then
7565 ac_ct_OTOOL=$OTOOL
7566 # Extract the first word of "otool", so it can be a program name with args.
7567 set dummy otool; ac_word=$2
7568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7569 $as_echo_n "checking for $ac_word... " >&6; }
7570 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7571 $as_echo_n "(cached) " >&6
7572 else
7573 if test -n "$ac_ct_OTOOL"; then
7574 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7575 else
7576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7577 for as_dir in $PATH
7579 IFS=$as_save_IFS
7580 test -z "$as_dir" && as_dir=.
7581 for ac_exec_ext in '' $ac_executable_extensions; do
7582 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7583 ac_cv_prog_ac_ct_OTOOL="otool"
7584 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7585 break 2
7587 done
7588 done
7589 IFS=$as_save_IFS
7593 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7594 if test -n "$ac_ct_OTOOL"; then
7595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7596 $as_echo "$ac_ct_OTOOL" >&6; }
7597 else
7598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7599 $as_echo "no" >&6; }
7602 if test "x$ac_ct_OTOOL" = x; then
7603 OTOOL="otool"
7604 else
7605 case $cross_compiling:$ac_tool_warned in
7606 yes:)
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7608 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7609 ac_tool_warned=yes ;;
7610 esac
7611 OTOOL=$ac_ct_OTOOL
7613 else
7614 OTOOL="$ac_cv_prog_OTOOL"
7617 if test -n "$ac_tool_prefix"; then
7618 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7619 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7621 $as_echo_n "checking for $ac_word... " >&6; }
7622 if ${ac_cv_prog_READELF+:} false; then :
7623 $as_echo_n "(cached) " >&6
7624 else
7625 if test -n "$READELF"; then
7626 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7627 else
7628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7629 for as_dir in $PATH
7631 IFS=$as_save_IFS
7632 test -z "$as_dir" && as_dir=.
7633 for ac_exec_ext in '' $ac_executable_extensions; do
7634 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7635 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7637 break 2
7639 done
7640 done
7641 IFS=$as_save_IFS
7645 READELF=$ac_cv_prog_READELF
7646 if test -n "$READELF"; then
7647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7648 $as_echo "$READELF" >&6; }
7649 else
7650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7651 $as_echo "no" >&6; }
7656 if test -z "$ac_cv_prog_READELF"; then
7657 ac_ct_READELF=$READELF
7658 # Extract the first word of "readelf", so it can be a program name with args.
7659 set dummy readelf; ac_word=$2
7660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7661 $as_echo_n "checking for $ac_word... " >&6; }
7662 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7663 $as_echo_n "(cached) " >&6
7664 else
7665 if test -n "$ac_ct_READELF"; then
7666 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7667 else
7668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7669 for as_dir in $PATH
7671 IFS=$as_save_IFS
7672 test -z "$as_dir" && as_dir=.
7673 for ac_exec_ext in '' $ac_executable_extensions; do
7674 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7675 ac_cv_prog_ac_ct_READELF="readelf"
7676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7677 break 2
7679 done
7680 done
7681 IFS=$as_save_IFS
7685 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7686 if test -n "$ac_ct_READELF"; then
7687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7688 $as_echo "$ac_ct_READELF" >&6; }
7689 else
7690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7691 $as_echo "no" >&6; }
7694 if test "x$ac_ct_READELF" = x; then
7695 READELF="true"
7696 else
7697 case $cross_compiling:$ac_tool_warned in
7698 yes:)
7699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7700 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7701 ac_tool_warned=yes ;;
7702 esac
7703 READELF=$ac_ct_READELF
7705 else
7706 READELF="$ac_cv_prog_READELF"
7709 wine_rules_file=conf$$rules.make
7710 rm -f $wine_rules_file
7711 SUBDIRS=""
7713 DISABLED_SUBDIRS=""
7715 CONFIGURE_TARGETS=""
7717 ALL_TEST_RESOURCES=""
7720 wine_fn_append_file ()
7722 as_fn_append $1 " \\$as_nl $2"
7725 wine_fn_append_rule ()
7727 $as_echo "$1" >>$wine_rules_file
7730 wine_fn_all_rules ()
7732 wine_fn_append_file SUBDIRS $ac_dir
7735 wine_fn_disabled_rules ()
7737 wine_fn_append_file SUBDIRS $ac_dir
7738 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7741 wine_fn_config_makefile ()
7743 ac_dir=$1
7744 ac_enable=$2
7746 case $ac_dir in
7747 fonts|server) test -z "$with_wine64" || return ;;
7748 esac
7749 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7750 wine_fn_disabled_rules
7751 else
7752 wine_fn_all_rules
7756 wine_fn_config_lib ()
7758 ac_name=$1
7759 ac_dir=dlls/$ac_name
7761 wine_fn_all_rules
7764 wine_fn_config_dll ()
7766 ac_name=$1
7767 ac_dir=dlls/$ac_name
7768 ac_enable=$2
7769 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7770 wine_fn_disabled_rules
7771 else
7772 wine_fn_all_rules
7776 wine_fn_config_program ()
7778 ac_name=$1
7779 ac_dir=programs/$ac_name
7780 ac_enable=$2
7781 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7782 wine_fn_disabled_rules
7783 else
7784 wine_fn_all_rules
7788 wine_fn_config_test ()
7790 ac_dir=$1
7791 ac_name=$2
7793 if test "x$enable_tests" = xno; then :
7794 wine_fn_disabled_rules; return
7797 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7798 wine_fn_all_rules
7801 wine_fn_config_tool ()
7803 ac_dir=$1
7804 if test "x$enable_tools" = xno; then :
7805 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7808 wine_fn_all_rules
7810 wine_fn_append_rule "__tooldeps__: $ac_dir"
7811 wine_fn_append_rule "$ac_dir: libs/port"
7812 case $ac_dir in
7813 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7814 esac
7817 wine_fn_config_symlink ()
7819 ac_links=$@
7820 wine_fn_append_rule \
7821 "$ac_links:
7822 @./config.status \$@"
7823 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7826 wine_binary="wine"
7827 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7828 WINELOADER_PROGRAMS="$wine_binary"
7830 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7832 case $host_os in
7833 cygwin*|mingw32*)
7834 if test -n "$ac_tool_prefix"; then
7835 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7836 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7838 $as_echo_n "checking for $ac_word... " >&6; }
7839 if ${ac_cv_prog_DLLTOOL+:} false; then :
7840 $as_echo_n "(cached) " >&6
7841 else
7842 if test -n "$DLLTOOL"; then
7843 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7844 else
7845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7846 for as_dir in $PATH
7848 IFS=$as_save_IFS
7849 test -z "$as_dir" && as_dir=.
7850 for ac_exec_ext in '' $ac_executable_extensions; do
7851 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7852 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7853 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7854 break 2
7856 done
7857 done
7858 IFS=$as_save_IFS
7862 DLLTOOL=$ac_cv_prog_DLLTOOL
7863 if test -n "$DLLTOOL"; then
7864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7865 $as_echo "$DLLTOOL" >&6; }
7866 else
7867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7868 $as_echo "no" >&6; }
7873 if test -z "$ac_cv_prog_DLLTOOL"; then
7874 ac_ct_DLLTOOL=$DLLTOOL
7875 # Extract the first word of "dlltool", so it can be a program name with args.
7876 set dummy dlltool; ac_word=$2
7877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7878 $as_echo_n "checking for $ac_word... " >&6; }
7879 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7880 $as_echo_n "(cached) " >&6
7881 else
7882 if test -n "$ac_ct_DLLTOOL"; then
7883 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7884 else
7885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7886 for as_dir in $PATH
7888 IFS=$as_save_IFS
7889 test -z "$as_dir" && as_dir=.
7890 for ac_exec_ext in '' $ac_executable_extensions; do
7891 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7892 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7894 break 2
7896 done
7897 done
7898 IFS=$as_save_IFS
7902 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7903 if test -n "$ac_ct_DLLTOOL"; then
7904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7905 $as_echo "$ac_ct_DLLTOOL" >&6; }
7906 else
7907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7908 $as_echo "no" >&6; }
7911 if test "x$ac_ct_DLLTOOL" = x; then
7912 DLLTOOL="false"
7913 else
7914 case $cross_compiling:$ac_tool_warned in
7915 yes:)
7916 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7917 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7918 ac_tool_warned=yes ;;
7919 esac
7920 DLLTOOL=$ac_ct_DLLTOOL
7922 else
7923 DLLTOOL="$ac_cv_prog_DLLTOOL"
7926 LIBEXT="dll"
7927 DLLEXT=""
7928 IMPLIBEXT="a"
7929 enable_iphlpapi=${enable_iphlpapi:-no}
7930 enable_kernel32=${enable_kernel32:-no}
7931 enable_msvcrt=${enable_msvcrt:-no}
7932 enable_ntdll=${enable_ntdll:-no}
7933 enable_ws2_32=${enable_ws2_32:-no}
7934 enable_loader=${enable_loader:-no}
7935 enable_server=${enable_server:-no}
7936 with_x=${with_x:-no}
7937 with_pthread=${with_pthread:-no}
7939 crtlibs=""
7940 case $host_os in
7941 mingw32*)
7942 crtlibs="-lmsvcrt"
7943 SOCKET_LIBS="-lws2_32"
7945 esac
7947 LIBWINE_SHAREDLIB="libwine.dll"
7949 LIBWINE_IMPORTLIB="libwine.a"
7951 LIBWINE_INSTALL_LIB="libwine.dll"
7953 LIBWINE_INSTALL_DEV="libwine.a"
7955 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
7957 LIBWINE_DEPENDS="wine.def"
7961 darwin*|macosx*)
7962 for ac_header in libunwind.h
7963 do :
7964 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
7965 if test "x$ac_cv_header_libunwind_h" = xyes; then :
7966 cat >>confdefs.h <<_ACEOF
7967 #define HAVE_LIBUNWIND_H 1
7968 _ACEOF
7972 done
7974 LIBEXT="dylib"
7975 DLLFLAGS="$DLLFLAGS -fPIC"
7976 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
7977 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7978 COREFOUNDATION_LIBS="-framework CoreFoundation"
7980 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7982 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7984 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7986 CORESERVICES_LIBS="-framework CoreServices"
7988 APPKIT_LIBS="-framework AppKit"
7990 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7992 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7993 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
7994 $as_echo_n "(cached) " >&6
7995 else
7996 ac_wine_try_cflags_saved=$CFLAGS
7997 CFLAGS="$CFLAGS -Wl,-no_pie"
7998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7999 /* end confdefs.h. */
8000 int main(int argc, char **argv) { return 0; }
8001 _ACEOF
8002 if ac_fn_c_try_link "$LINENO"; then :
8003 ac_cv_cflags__Wl__no_pie=yes
8004 else
8005 ac_cv_cflags__Wl__no_pie=no
8007 rm -f core conftest.err conftest.$ac_objext \
8008 conftest$ac_exeext conftest.$ac_ext
8009 CFLAGS=$ac_wine_try_cflags_saved
8011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8012 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8013 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8014 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
8016 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8017 then
8018 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8021 if test "$ac_cv_header_Security_Security_h" = "yes"
8022 then
8023 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8025 ac_save_LIBS="$LIBS"
8026 LIBS="$LIBS $SECURITY_LIBS"
8027 for ac_func in SSLCopyPeerCertificates
8028 do :
8029 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8030 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8031 cat >>confdefs.h <<_ACEOF
8032 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8033 _ACEOF
8036 done
8038 LIBS="$ac_save_LIBS"
8039 with_gnutls=${with_gnutls:-no}
8041 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8042 then
8043 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8044 then
8045 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8047 else
8048 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8051 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8052 ac_save_LIBS="$LIBS"
8053 LIBS="$LIBS $COREAUDIO_LIBS"
8054 for ac_func in AUGraphAddNode
8055 do :
8056 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8057 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8058 cat >>confdefs.h <<_ACEOF
8059 #define HAVE_AUGRAPHADDNODE 1
8060 _ACEOF
8063 done
8065 LIBS="$ac_save_LIBS"
8067 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8068 then
8069 OPENAL_LIBS="-framework OpenAL"
8072 cat >>confdefs.h <<_ACEOF
8073 #define HAVE_OPENAL 1
8074 _ACEOF
8076 ac_cv_lib_openal=yes
8078 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8079 then
8080 OPENCL_LIBS="-framework OpenCL"
8082 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8084 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8085 then
8086 ac_save_LIBS="$LIBS"
8087 LIBS="$LIBS $IOKIT_LIBS"
8088 for ac_func in IOHIDManagerCreate
8089 do :
8090 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8091 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8092 cat >>confdefs.h <<_ACEOF
8093 #define HAVE_IOHIDMANAGERCREATE 1
8094 _ACEOF
8097 done
8099 LIBS="$ac_save_LIBS"
8101 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8102 then
8103 ac_save_LIBS="$LIBS"
8104 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8106 $as_echo_n "checking for the QuickTime framework... " >&6; }
8107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8108 /* end confdefs.h. */
8109 #include <QuickTime/ImageCompression.h>
8111 main ()
8113 CodecManagerVersion(NULL);
8115 return 0;
8117 _ACEOF
8118 if ac_fn_c_try_link "$LINENO"; then :
8119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8120 $as_echo "yes" >&6; }
8121 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8123 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8124 else
8125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8126 $as_echo "no" >&6; }
8127 ac_cv_header_QuickTime_ImageCompression_h=no
8129 rm -f core conftest.err conftest.$ac_objext \
8130 conftest$ac_exeext conftest.$ac_ext
8131 LIBS="$ac_save_LIBS"
8133 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8134 then
8135 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8137 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8138 then
8139 CARBON_LIBS="-framework Carbon"
8143 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8144 then
8145 ac_save_LIBS="$LIBS"
8146 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8147 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8148 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8149 enable_winemac_drv=${enable_winemac_drv:-yes}
8152 LIBS="$ac_save_LIBS"
8155 if test "x$enable_win16" = "xyes"
8156 then
8157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8158 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8159 if test "$cross_compiling" = yes; then :
8160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8161 $as_echo "cross-compiling, assuming yes" >&6; }
8162 else
8163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8164 /* end confdefs.h. */
8165 asm(".text\n"
8166 "bad:\tnop;nop\n"
8167 "good:\tnop;nop\n\t"
8168 ".globl _testfunc\n"
8169 "_testfunc:\tcallw good");
8170 extern void testfunc();
8172 main ()
8174 unsigned short *p = (unsigned short *)testfunc;
8175 return p[0] != 0xe866 || p[1] != 0xfffa
8177 return 0;
8179 _ACEOF
8180 if ac_fn_c_try_run "$LINENO"; then :
8181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8182 $as_echo "yes" >&6; }
8183 else
8184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8185 $as_echo "no" >&6; }
8186 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
8188 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8189 conftest.$ac_objext conftest.beam conftest.$ac_ext
8194 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8196 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8198 LIBWINE_INSTALL_DEV="libwine.dylib"
8200 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8202 WINELOADER_DEPENDS="wine_info.plist"
8206 linux-android*)
8207 DLLFLAGS="$DLLFLAGS -fPIC"
8208 LDEXECFLAGS="-Wl,-pie"
8209 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8211 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8212 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8213 $as_echo_n "(cached) " >&6
8214 else
8215 ac_wine_try_cflags_saved=$CFLAGS
8216 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8218 /* end confdefs.h. */
8219 int main(int argc, char **argv) { return 0; }
8220 _ACEOF
8221 if ac_fn_c_try_link "$LINENO"; then :
8222 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8223 else
8224 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8226 rm -f core conftest.err conftest.$ac_objext \
8227 conftest$ac_exeext conftest.$ac_ext
8228 CFLAGS=$ac_wine_try_cflags_saved
8230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8231 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8232 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8233 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8235 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8237 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8238 if eval \${$as_ac_var+:} false; then :
8239 $as_echo_n "(cached) " >&6
8240 else
8241 ac_wine_try_cflags_saved=$CFLAGS
8242 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8244 /* end confdefs.h. */
8245 int main(int argc, char **argv) { return 0; }
8246 _ACEOF
8247 if ac_fn_c_try_link "$LINENO"; then :
8248 eval "$as_ac_var=yes"
8249 else
8250 eval "$as_ac_var=no"
8252 rm -f core conftest.err conftest.$ac_objext \
8253 conftest$ac_exeext conftest.$ac_ext
8254 CFLAGS=$ac_wine_try_cflags_saved
8256 eval ac_res=\$$as_ac_var
8257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8258 $as_echo "$ac_res" >&6; }
8259 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8260 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8261 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8262 else
8263 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8265 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8266 if eval \${$as_ac_var+:} false; then :
8267 $as_echo_n "(cached) " >&6
8268 else
8269 ac_wine_try_cflags_saved=$CFLAGS
8270 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8272 /* end confdefs.h. */
8273 int main(int argc, char **argv) { return 0; }
8274 _ACEOF
8275 if ac_fn_c_try_link "$LINENO"; then :
8276 eval "$as_ac_var=yes"
8277 else
8278 eval "$as_ac_var=no"
8280 rm -f core conftest.err conftest.$ac_objext \
8281 conftest$ac_exeext conftest.$ac_ext
8282 CFLAGS=$ac_wine_try_cflags_saved
8284 eval ac_res=\$$as_ac_var
8285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8286 $as_echo "$ac_res" >&6; }
8287 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8288 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8289 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8293 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8294 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8295 $as_echo_n "(cached) " >&6
8296 else
8297 ac_wine_try_cflags_saved=$CFLAGS
8298 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8300 /* end confdefs.h. */
8301 int main(int argc, char **argv) { return 0; }
8302 _ACEOF
8303 if ac_fn_c_try_link "$LINENO"; then :
8304 ac_cv_cflags__Wl___enable_new_dtags=yes
8305 else
8306 ac_cv_cflags__Wl___enable_new_dtags=no
8308 rm -f core conftest.err conftest.$ac_objext \
8309 conftest$ac_exeext conftest.$ac_ext
8310 CFLAGS=$ac_wine_try_cflags_saved
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8313 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8314 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8315 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8318 LIBWINE_SHAREDLIB="libwine.so"
8320 LIBWINE_INSTALL_LIB="libwine.so"
8322 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
8326 $as_echo_n "checking for -lEGL... " >&6; }
8327 if ${ac_cv_lib_soname_EGL+:} false; then :
8328 $as_echo_n "(cached) " >&6
8329 else
8330 ac_check_soname_save_LIBS=$LIBS
8331 LIBS="-lEGL $LIBS"
8332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8333 /* end confdefs.h. */
8335 /* Override any GCC internal prototype to avoid an error.
8336 Use char because int might match the return type of a GCC
8337 builtin and then its argument prototype would still apply. */
8338 #ifdef __cplusplus
8339 extern "C"
8340 #endif
8341 char eglGetProcAddress ();
8343 main ()
8345 return eglGetProcAddress ();
8347 return 0;
8349 _ACEOF
8350 if ac_fn_c_try_link "$LINENO"; then :
8351 case "$LIBEXT" in
8352 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8353 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'` ;;
8354 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8355 if ${ac_cv_lib_soname_EGL:+false} :; then :
8356 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8357 fi ;;
8358 esac
8360 rm -f core conftest.err conftest.$ac_objext \
8361 conftest$ac_exeext conftest.$ac_ext
8362 LIBS=$ac_check_soname_save_LIBS
8364 if ${ac_cv_lib_soname_EGL:+false} :; then :
8365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8366 $as_echo "not found" >&6; }
8368 else
8369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
8370 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
8372 cat >>confdefs.h <<_ACEOF
8373 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
8374 _ACEOF
8378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
8379 $as_echo_n "checking for -lGLESv2... " >&6; }
8380 if ${ac_cv_lib_soname_GLESv2+:} false; then :
8381 $as_echo_n "(cached) " >&6
8382 else
8383 ac_check_soname_save_LIBS=$LIBS
8384 LIBS="-lGLESv2 $LIBS"
8385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8386 /* end confdefs.h. */
8388 /* Override any GCC internal prototype to avoid an error.
8389 Use char because int might match the return type of a GCC
8390 builtin and then its argument prototype would still apply. */
8391 #ifdef __cplusplus
8392 extern "C"
8393 #endif
8394 char glFlush ();
8396 main ()
8398 return glFlush ();
8400 return 0;
8402 _ACEOF
8403 if ac_fn_c_try_link "$LINENO"; then :
8404 case "$LIBEXT" in
8405 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8406 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'` ;;
8407 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8408 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8409 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8410 fi ;;
8411 esac
8413 rm -f core conftest.err conftest.$ac_objext \
8414 conftest$ac_exeext conftest.$ac_ext
8415 LIBS=$ac_check_soname_save_LIBS
8417 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8419 $as_echo "not found" >&6; }
8421 else
8422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
8423 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
8425 cat >>confdefs.h <<_ACEOF
8426 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
8427 _ACEOF
8432 if test "x$exec_prefix" = xNONE
8433 then
8434 case $host_cpu in
8435 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
8436 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
8437 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
8438 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
8439 esac
8444 DLLFLAGS="$DLLFLAGS -fPIC"
8445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8446 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8447 if ${ac_cv_c_dll_gnuelf+:} false; then :
8448 $as_echo_n "(cached) " >&6
8449 else
8450 ac_wine_try_cflags_saved=$CFLAGS
8451 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8453 /* end confdefs.h. */
8454 void myfunc() {}
8455 _ACEOF
8456 if ac_fn_c_try_link "$LINENO"; then :
8457 ac_cv_c_dll_gnuelf="yes"
8458 else
8459 ac_cv_c_dll_gnuelf="no"
8461 rm -f core conftest.err conftest.$ac_objext \
8462 conftest$ac_exeext conftest.$ac_ext
8463 CFLAGS=$ac_wine_try_cflags_saved
8465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8466 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8467 if test "$ac_cv_c_dll_gnuelf" = "yes"
8468 then
8469 LIBWINE_LDFLAGS="-shared"
8470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8471 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8472 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8473 $as_echo_n "(cached) " >&6
8474 else
8475 ac_wine_try_cflags_saved=$CFLAGS
8476 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
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__shared__Wl__soname_confest_so_1=yes
8483 else
8484 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=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__shared__Wl__soname_confest_so_1" >&5
8491 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8492 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8493 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8494 else
8495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8496 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8497 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8498 $as_echo_n "(cached) " >&6
8499 else
8500 ac_wine_try_cflags_saved=$CFLAGS
8501 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8503 /* end confdefs.h. */
8504 int main(int argc, char **argv) { return 0; }
8505 _ACEOF
8506 if ac_fn_c_try_link "$LINENO"; then :
8507 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8508 else
8509 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8511 rm -f core conftest.err conftest.$ac_objext \
8512 conftest$ac_exeext conftest.$ac_ext
8513 CFLAGS=$ac_wine_try_cflags_saved
8515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8516 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8517 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8518 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8522 echo '{ global: *; };' >conftest.map
8523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8524 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8525 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8526 $as_echo_n "(cached) " >&6
8527 else
8528 ac_wine_try_cflags_saved=$CFLAGS
8529 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8531 /* end confdefs.h. */
8532 int main(int argc, char **argv) { return 0; }
8533 _ACEOF
8534 if ac_fn_c_try_link "$LINENO"; then :
8535 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8536 else
8537 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8539 rm -f core conftest.err conftest.$ac_objext \
8540 conftest$ac_exeext conftest.$ac_ext
8541 CFLAGS=$ac_wine_try_cflags_saved
8543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8544 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8545 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8546 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8548 rm -f conftest.map
8550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8551 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8552 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8553 $as_echo_n "(cached) " >&6
8554 else
8555 ac_wine_try_cflags_saved=$CFLAGS
8556 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8558 /* end confdefs.h. */
8559 int main(int argc, char **argv) { return 0; }
8560 _ACEOF
8561 if ac_fn_c_try_link "$LINENO"; then :
8562 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8563 else
8564 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8566 rm -f core conftest.err conftest.$ac_objext \
8567 conftest$ac_exeext conftest.$ac_ext
8568 CFLAGS=$ac_wine_try_cflags_saved
8570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8571 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8572 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8573 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8576 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8578 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8579 if eval \${$as_ac_var+:} false; then :
8580 $as_echo_n "(cached) " >&6
8581 else
8582 ac_wine_try_cflags_saved=$CFLAGS
8583 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8585 /* end confdefs.h. */
8586 int main(int argc, char **argv) { return 0; }
8587 _ACEOF
8588 if ac_fn_c_try_link "$LINENO"; then :
8589 eval "$as_ac_var=yes"
8590 else
8591 eval "$as_ac_var=no"
8593 rm -f core conftest.err conftest.$ac_objext \
8594 conftest$ac_exeext conftest.$ac_ext
8595 CFLAGS=$ac_wine_try_cflags_saved
8597 eval ac_res=\$$as_ac_var
8598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8599 $as_echo "$ac_res" >&6; }
8600 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8601 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8602 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8603 else
8604 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8606 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8607 if eval \${$as_ac_var+:} false; then :
8608 $as_echo_n "(cached) " >&6
8609 else
8610 ac_wine_try_cflags_saved=$CFLAGS
8611 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8613 /* end confdefs.h. */
8614 int main(int argc, char **argv) { return 0; }
8615 _ACEOF
8616 if ac_fn_c_try_link "$LINENO"; then :
8617 eval "$as_ac_var=yes"
8618 else
8619 eval "$as_ac_var=no"
8621 rm -f core conftest.err conftest.$ac_objext \
8622 conftest$ac_exeext conftest.$ac_ext
8623 CFLAGS=$ac_wine_try_cflags_saved
8625 eval ac_res=\$$as_ac_var
8626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8627 $as_echo "$ac_res" >&6; }
8628 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8629 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8630 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8635 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8636 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8637 $as_echo_n "(cached) " >&6
8638 else
8639 ac_wine_try_cflags_saved=$CFLAGS
8640 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8642 /* end confdefs.h. */
8643 int main(int argc, char **argv) { return 0; }
8644 _ACEOF
8645 if ac_fn_c_try_link "$LINENO"; then :
8646 ac_cv_cflags__Wl___enable_new_dtags=yes
8647 else
8648 ac_cv_cflags__Wl___enable_new_dtags=no
8650 rm -f core conftest.err conftest.$ac_objext \
8651 conftest$ac_exeext conftest.$ac_ext
8652 CFLAGS=$ac_wine_try_cflags_saved
8654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8655 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8656 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8657 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8660 case $host_cpu in
8661 *i[3456789]86* | x86_64 | *aarch64*)
8662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8663 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8664 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8665 $as_echo_n "(cached) " >&6
8666 else
8667 ac_wine_try_cflags_saved=$CFLAGS
8668 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8670 /* end confdefs.h. */
8671 int main(int argc, char **argv) { return 0; }
8672 _ACEOF
8673 if ac_fn_c_try_link "$LINENO"; then :
8674 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8675 else
8676 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8678 rm -f core conftest.err conftest.$ac_objext \
8679 conftest$ac_exeext conftest.$ac_ext
8680 CFLAGS=$ac_wine_try_cflags_saved
8682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8683 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8684 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8685 case $host_os in
8686 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8687 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8688 esac
8689 else
8690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8691 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8692 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8693 $as_echo_n "(cached) " >&6
8694 else
8695 ac_wine_try_cflags_saved=$CFLAGS
8696 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8698 /* end confdefs.h. */
8699 int main(int argc, char **argv) { return 0; }
8700 _ACEOF
8701 if ac_fn_c_try_link "$LINENO"; then :
8702 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8703 else
8704 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8706 rm -f core conftest.err conftest.$ac_objext \
8707 conftest$ac_exeext conftest.$ac_ext
8708 CFLAGS=$ac_wine_try_cflags_saved
8710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8711 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8712 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8713 case $host_os in
8714 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8715 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8716 esac
8718 # Extract the first word of "prelink", so it can be a program name with args.
8719 set dummy prelink; ac_word=$2
8720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8721 $as_echo_n "checking for $ac_word... " >&6; }
8722 if ${ac_cv_path_PRELINK+:} false; then :
8723 $as_echo_n "(cached) " >&6
8724 else
8725 case $PRELINK in
8726 [\\/]* | ?:[\\/]*)
8727 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8731 for as_dir in /sbin /usr/sbin $PATH
8733 IFS=$as_save_IFS
8734 test -z "$as_dir" && as_dir=.
8735 for ac_exec_ext in '' $ac_executable_extensions; do
8736 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8737 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8739 break 2
8741 done
8742 done
8743 IFS=$as_save_IFS
8745 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8747 esac
8749 PRELINK=$ac_cv_path_PRELINK
8750 if test -n "$PRELINK"; then
8751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8752 $as_echo "$PRELINK" >&6; }
8753 else
8754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8755 $as_echo "no" >&6; }
8759 if test "x$PRELINK" = xfalse
8760 then
8761 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8765 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8766 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8767 $as_echo_n "(cached) " >&6
8768 else
8769 ac_wine_try_cflags_saved=$CFLAGS
8770 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8772 /* end confdefs.h. */
8773 int main(int argc, char **argv) { return 0; }
8774 _ACEOF
8775 if ac_fn_c_try_link "$LINENO"; then :
8776 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8777 else
8778 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8780 rm -f core conftest.err conftest.$ac_objext \
8781 conftest$ac_exeext conftest.$ac_ext
8782 CFLAGS=$ac_wine_try_cflags_saved
8784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8785 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8786 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8787 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
8790 esac
8792 else
8793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8794 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8795 if ${ac_cv_c_dll_unixware+:} false; then :
8796 $as_echo_n "(cached) " >&6
8797 else
8798 ac_wine_try_cflags_saved=$CFLAGS
8799 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8801 /* end confdefs.h. */
8802 void myfunc() {}
8803 _ACEOF
8804 if ac_fn_c_try_link "$LINENO"; then :
8805 ac_cv_c_dll_unixware="yes"
8806 else
8807 ac_cv_c_dll_unixware="no"
8809 rm -f core conftest.err conftest.$ac_objext \
8810 conftest$ac_exeext conftest.$ac_ext
8811 CFLAGS=$ac_wine_try_cflags_saved
8813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8814 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8815 if test "$ac_cv_c_dll_unixware" = "yes"
8816 then
8817 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8820 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8822 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8824 LIBWINE_INSTALL_DEV="libwine.so"
8826 LIBWINE_DEPENDS="wine.map"
8829 esac
8831 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8832 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8833 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
8834 enable_winemac_drv=${enable_winemac_drv:-no}
8835 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8837 CROSSTARGET=""
8839 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8840 then
8841 case "$host_cpu" in
8842 arm*)
8843 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8844 i[3456789]86*)
8845 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
8846 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8847 mingw32-gcc" ;;
8848 x86_64)
8849 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
8850 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8852 ac_prefix_list="" ;;
8853 esac
8854 for ac_prog in $ac_prefix_list
8856 # Extract the first word of "$ac_prog", so it can be a program name with args.
8857 set dummy $ac_prog; ac_word=$2
8858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8859 $as_echo_n "checking for $ac_word... " >&6; }
8860 if ${ac_cv_prog_CROSSCC+:} false; then :
8861 $as_echo_n "(cached) " >&6
8862 else
8863 if test -n "$CROSSCC"; then
8864 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8865 else
8866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8867 for as_dir in $PATH
8869 IFS=$as_save_IFS
8870 test -z "$as_dir" && as_dir=.
8871 for ac_exec_ext in '' $ac_executable_extensions; do
8872 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8873 ac_cv_prog_CROSSCC="$ac_prog"
8874 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8875 break 2
8877 done
8878 done
8879 IFS=$as_save_IFS
8883 CROSSCC=$ac_cv_prog_CROSSCC
8884 if test -n "$CROSSCC"; then
8885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8886 $as_echo "$CROSSCC" >&6; }
8887 else
8888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8889 $as_echo "no" >&6; }
8893 test -n "$CROSSCC" && break
8894 done
8895 test -n "$CROSSCC" || CROSSCC="false"
8897 if test "$CROSSCC" != "false"
8898 then
8899 ac_save_CC="$CC"
8900 CC="$CROSSCC"
8901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8902 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8904 /* end confdefs.h. */
8907 main ()
8911 return 0;
8913 _ACEOF
8914 if ac_fn_c_try_compile "$LINENO"; then :
8915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8916 $as_echo "yes" >&6; }
8917 set x $CROSSCC
8918 shift
8919 while test $# -ge 1
8921 case "$1" in
8922 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8923 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8924 esac
8925 shift
8926 done
8927 else
8928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8929 $as_echo "no" >&6; }
8931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8932 CC="$ac_save_CC"
8933 CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS}
8939 if test "$ac_cv_header_pthread_h" = "yes"
8940 then
8941 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8942 if test "x$ac_cv_func_pthread_create" = xyes; then :
8944 else
8945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8946 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8947 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8948 $as_echo_n "(cached) " >&6
8949 else
8950 ac_check_lib_save_LIBS=$LIBS
8951 LIBS="-lpthread $LIBS"
8952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8953 /* end confdefs.h. */
8955 /* Override any GCC internal prototype to avoid an error.
8956 Use char because int might match the return type of a GCC
8957 builtin and then its argument prototype would still apply. */
8958 #ifdef __cplusplus
8959 extern "C"
8960 #endif
8961 char pthread_create ();
8963 main ()
8965 return pthread_create ();
8967 return 0;
8969 _ACEOF
8970 if ac_fn_c_try_link "$LINENO"; then :
8971 ac_cv_lib_pthread_pthread_create=yes
8972 else
8973 ac_cv_lib_pthread_pthread_create=no
8975 rm -f core conftest.err conftest.$ac_objext \
8976 conftest$ac_exeext conftest.$ac_ext
8977 LIBS=$ac_check_lib_save_LIBS
8979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8980 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8981 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8982 PTHREAD_LIBS="-lpthread"
8989 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8990 case "x$with_pthread" in
8991 xno) ;;
8992 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8993 Wine cannot support threads without libpthread.
8994 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8995 esac
9000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9001 $as_echo_n "checking for X... " >&6; }
9004 # Check whether --with-x was given.
9005 if test "${with_x+set}" = set; then :
9006 withval=$with_x;
9009 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9010 if test "x$with_x" = xno; then
9011 # The user explicitly disabled X.
9012 have_x=disabled
9013 else
9014 case $x_includes,$x_libraries in #(
9015 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9016 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9017 $as_echo_n "(cached) " >&6
9018 else
9019 # One or both of the vars are not set, and there is no cached value.
9020 ac_x_includes=no ac_x_libraries=no
9021 rm -f -r conftest.dir
9022 if mkdir conftest.dir; then
9023 cd conftest.dir
9024 cat >Imakefile <<'_ACEOF'
9025 incroot:
9026 @echo incroot='${INCROOT}'
9027 usrlibdir:
9028 @echo usrlibdir='${USRLIBDIR}'
9029 libdir:
9030 @echo libdir='${LIBDIR}'
9031 _ACEOF
9032 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9033 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9034 for ac_var in incroot usrlibdir libdir; do
9035 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9036 done
9037 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9038 for ac_extension in a so sl dylib la dll; do
9039 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9040 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9041 ac_im_usrlibdir=$ac_im_libdir; break
9043 done
9044 # Screen out bogus values from the imake configuration. They are
9045 # bogus both because they are the default anyway, and because
9046 # using them would break gcc on systems where it needs fixed includes.
9047 case $ac_im_incroot in
9048 /usr/include) ac_x_includes= ;;
9049 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9050 esac
9051 case $ac_im_usrlibdir in
9052 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9053 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9054 esac
9056 cd ..
9057 rm -f -r conftest.dir
9060 # Standard set of common directories for X headers.
9061 # Check X11 before X11Rn because it is often a symlink to the current release.
9062 ac_x_header_dirs='
9063 /usr/X11/include
9064 /usr/X11R7/include
9065 /usr/X11R6/include
9066 /usr/X11R5/include
9067 /usr/X11R4/include
9069 /usr/include/X11
9070 /usr/include/X11R7
9071 /usr/include/X11R6
9072 /usr/include/X11R5
9073 /usr/include/X11R4
9075 /usr/local/X11/include
9076 /usr/local/X11R7/include
9077 /usr/local/X11R6/include
9078 /usr/local/X11R5/include
9079 /usr/local/X11R4/include
9081 /usr/local/include/X11
9082 /usr/local/include/X11R7
9083 /usr/local/include/X11R6
9084 /usr/local/include/X11R5
9085 /usr/local/include/X11R4
9087 /usr/X386/include
9088 /usr/x386/include
9089 /usr/XFree86/include/X11
9091 /usr/include
9092 /usr/local/include
9093 /usr/unsupported/include
9094 /usr/athena/include
9095 /usr/local/x11r5/include
9096 /usr/lpp/Xamples/include
9098 /usr/openwin/include
9099 /usr/openwin/share/include'
9101 if test "$ac_x_includes" = no; then
9102 # Guess where to find include files, by looking for Xlib.h.
9103 # First, try using that file with no special directory specified.
9104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9105 /* end confdefs.h. */
9106 #include <X11/Xlib.h>
9107 _ACEOF
9108 if ac_fn_c_try_cpp "$LINENO"; then :
9109 # We can compile using X headers with no special include directory.
9110 ac_x_includes=
9111 else
9112 for ac_dir in $ac_x_header_dirs; do
9113 if test -r "$ac_dir/X11/Xlib.h"; then
9114 ac_x_includes=$ac_dir
9115 break
9117 done
9119 rm -f conftest.err conftest.i conftest.$ac_ext
9120 fi # $ac_x_includes = no
9122 if test "$ac_x_libraries" = no; then
9123 # Check for the libraries.
9124 # See if we find them without any special options.
9125 # Don't add to $LIBS permanently.
9126 ac_save_LIBS=$LIBS
9127 LIBS="-lX11 $LIBS"
9128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9129 /* end confdefs.h. */
9130 #include <X11/Xlib.h>
9132 main ()
9134 XrmInitialize ()
9136 return 0;
9138 _ACEOF
9139 if ac_fn_c_try_link "$LINENO"; then :
9140 LIBS=$ac_save_LIBS
9141 # We can link X programs with no special library path.
9142 ac_x_libraries=
9143 else
9144 LIBS=$ac_save_LIBS
9145 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9147 # Don't even attempt the hair of trying to link an X program!
9148 for ac_extension in a so sl dylib la dll; do
9149 if test -r "$ac_dir/libX11.$ac_extension"; then
9150 ac_x_libraries=$ac_dir
9151 break 2
9153 done
9154 done
9156 rm -f core conftest.err conftest.$ac_objext \
9157 conftest$ac_exeext conftest.$ac_ext
9158 fi # $ac_x_libraries = no
9160 case $ac_x_includes,$ac_x_libraries in #(
9161 no,* | *,no | *\'*)
9162 # Didn't find X, or a directory has "'" in its name.
9163 ac_cv_have_x="have_x=no";; #(
9165 # Record where we found X for the cache.
9166 ac_cv_have_x="have_x=yes\
9167 ac_x_includes='$ac_x_includes'\
9168 ac_x_libraries='$ac_x_libraries'"
9169 esac
9171 ;; #(
9172 *) have_x=yes;;
9173 esac
9174 eval "$ac_cv_have_x"
9175 fi # $with_x != no
9177 if test "$have_x" != yes; then
9178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9179 $as_echo "$have_x" >&6; }
9180 no_x=yes
9181 else
9182 # If each of the values was on the command line, it overrides each guess.
9183 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9184 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9185 # Update the cache value to reflect the command line values.
9186 ac_cv_have_x="have_x=yes\
9187 ac_x_includes='$x_includes'\
9188 ac_x_libraries='$x_libraries'"
9189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9190 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9193 if test "$no_x" = yes; then
9194 # Not all programs may use this symbol, but it does not hurt to define it.
9196 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9198 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9199 else
9200 if test -n "$x_includes"; then
9201 X_CFLAGS="$X_CFLAGS -I$x_includes"
9204 # It would also be nice to do this for all -L options, not just this one.
9205 if test -n "$x_libraries"; then
9206 X_LIBS="$X_LIBS -L$x_libraries"
9207 # For Solaris; some versions of Sun CC require a space after -R and
9208 # others require no space. Words are not sufficient . . . .
9209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9210 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9211 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9212 ac_xsave_c_werror_flag=$ac_c_werror_flag
9213 ac_c_werror_flag=yes
9214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9215 /* end confdefs.h. */
9218 main ()
9222 return 0;
9224 _ACEOF
9225 if ac_fn_c_try_link "$LINENO"; then :
9226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9227 $as_echo "no" >&6; }
9228 X_LIBS="$X_LIBS -R$x_libraries"
9229 else
9230 LIBS="$ac_xsave_LIBS -R $x_libraries"
9231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9232 /* end confdefs.h. */
9235 main ()
9239 return 0;
9241 _ACEOF
9242 if ac_fn_c_try_link "$LINENO"; then :
9243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9244 $as_echo "yes" >&6; }
9245 X_LIBS="$X_LIBS -R $x_libraries"
9246 else
9247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9248 $as_echo "neither works" >&6; }
9250 rm -f core conftest.err conftest.$ac_objext \
9251 conftest$ac_exeext conftest.$ac_ext
9253 rm -f core conftest.err conftest.$ac_objext \
9254 conftest$ac_exeext conftest.$ac_ext
9255 ac_c_werror_flag=$ac_xsave_c_werror_flag
9256 LIBS=$ac_xsave_LIBS
9259 # Check for system-dependent libraries X programs must link with.
9260 # Do this before checking for the system-independent R6 libraries
9261 # (-lICE), since we may need -lsocket or whatever for X linking.
9263 if test "$ISC" = yes; then
9264 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9265 else
9266 # Martyn Johnson says this is needed for Ultrix, if the X
9267 # libraries were built with DECnet support. And Karl Berry says
9268 # the Alpha needs dnet_stub (dnet does not exist).
9269 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9271 /* end confdefs.h. */
9273 /* Override any GCC internal prototype to avoid an error.
9274 Use char because int might match the return type of a GCC
9275 builtin and then its argument prototype would still apply. */
9276 #ifdef __cplusplus
9277 extern "C"
9278 #endif
9279 char XOpenDisplay ();
9281 main ()
9283 return XOpenDisplay ();
9285 return 0;
9287 _ACEOF
9288 if ac_fn_c_try_link "$LINENO"; then :
9290 else
9291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9292 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9293 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9294 $as_echo_n "(cached) " >&6
9295 else
9296 ac_check_lib_save_LIBS=$LIBS
9297 LIBS="-ldnet $LIBS"
9298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9299 /* end confdefs.h. */
9301 /* Override any GCC internal prototype to avoid an error.
9302 Use char because int might match the return type of a GCC
9303 builtin and then its argument prototype would still apply. */
9304 #ifdef __cplusplus
9305 extern "C"
9306 #endif
9307 char dnet_ntoa ();
9309 main ()
9311 return dnet_ntoa ();
9313 return 0;
9315 _ACEOF
9316 if ac_fn_c_try_link "$LINENO"; then :
9317 ac_cv_lib_dnet_dnet_ntoa=yes
9318 else
9319 ac_cv_lib_dnet_dnet_ntoa=no
9321 rm -f core conftest.err conftest.$ac_objext \
9322 conftest$ac_exeext conftest.$ac_ext
9323 LIBS=$ac_check_lib_save_LIBS
9325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9326 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9327 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9328 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9331 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9333 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9334 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9335 $as_echo_n "(cached) " >&6
9336 else
9337 ac_check_lib_save_LIBS=$LIBS
9338 LIBS="-ldnet_stub $LIBS"
9339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9340 /* end confdefs.h. */
9342 /* Override any GCC internal prototype to avoid an error.
9343 Use char because int might match the return type of a GCC
9344 builtin and then its argument prototype would still apply. */
9345 #ifdef __cplusplus
9346 extern "C"
9347 #endif
9348 char dnet_ntoa ();
9350 main ()
9352 return dnet_ntoa ();
9354 return 0;
9356 _ACEOF
9357 if ac_fn_c_try_link "$LINENO"; then :
9358 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9359 else
9360 ac_cv_lib_dnet_stub_dnet_ntoa=no
9362 rm -f core conftest.err conftest.$ac_objext \
9363 conftest$ac_exeext conftest.$ac_ext
9364 LIBS=$ac_check_lib_save_LIBS
9366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9367 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9368 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9369 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9374 rm -f core conftest.err conftest.$ac_objext \
9375 conftest$ac_exeext conftest.$ac_ext
9376 LIBS="$ac_xsave_LIBS"
9378 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9379 # to get the SysV transport functions.
9380 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9381 # needs -lnsl.
9382 # The nsl library prevents programs from opening the X display
9383 # on Irix 5.2, according to T.E. Dickey.
9384 # The functions gethostbyname, getservbyname, and inet_addr are
9385 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9386 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9387 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9391 if test $ac_cv_func_gethostbyname = no; then
9392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9393 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9394 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9395 $as_echo_n "(cached) " >&6
9396 else
9397 ac_check_lib_save_LIBS=$LIBS
9398 LIBS="-lnsl $LIBS"
9399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9400 /* end confdefs.h. */
9402 /* Override any GCC internal prototype to avoid an error.
9403 Use char because int might match the return type of a GCC
9404 builtin and then its argument prototype would still apply. */
9405 #ifdef __cplusplus
9406 extern "C"
9407 #endif
9408 char gethostbyname ();
9410 main ()
9412 return gethostbyname ();
9414 return 0;
9416 _ACEOF
9417 if ac_fn_c_try_link "$LINENO"; then :
9418 ac_cv_lib_nsl_gethostbyname=yes
9419 else
9420 ac_cv_lib_nsl_gethostbyname=no
9422 rm -f core conftest.err conftest.$ac_objext \
9423 conftest$ac_exeext conftest.$ac_ext
9424 LIBS=$ac_check_lib_save_LIBS
9426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9427 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9428 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9429 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9432 if test $ac_cv_lib_nsl_gethostbyname = no; then
9433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9434 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9435 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9436 $as_echo_n "(cached) " >&6
9437 else
9438 ac_check_lib_save_LIBS=$LIBS
9439 LIBS="-lbsd $LIBS"
9440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9441 /* end confdefs.h. */
9443 /* Override any GCC internal prototype to avoid an error.
9444 Use char because int might match the return type of a GCC
9445 builtin and then its argument prototype would still apply. */
9446 #ifdef __cplusplus
9447 extern "C"
9448 #endif
9449 char gethostbyname ();
9451 main ()
9453 return gethostbyname ();
9455 return 0;
9457 _ACEOF
9458 if ac_fn_c_try_link "$LINENO"; then :
9459 ac_cv_lib_bsd_gethostbyname=yes
9460 else
9461 ac_cv_lib_bsd_gethostbyname=no
9463 rm -f core conftest.err conftest.$ac_objext \
9464 conftest$ac_exeext conftest.$ac_ext
9465 LIBS=$ac_check_lib_save_LIBS
9467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9468 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9469 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9470 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9476 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9477 # socket/setsockopt and other routines are undefined under SCO ODT
9478 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9479 # on later versions), says Simon Leinen: it contains gethostby*
9480 # variants that don't use the name server (or something). -lsocket
9481 # must be given before -lnsl if both are needed. We assume that
9482 # if connect needs -lnsl, so does gethostbyname.
9483 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9484 if test "x$ac_cv_func_connect" = xyes; then :
9488 if test $ac_cv_func_connect = no; then
9489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9490 $as_echo_n "checking for connect in -lsocket... " >&6; }
9491 if ${ac_cv_lib_socket_connect+:} false; then :
9492 $as_echo_n "(cached) " >&6
9493 else
9494 ac_check_lib_save_LIBS=$LIBS
9495 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9497 /* end confdefs.h. */
9499 /* Override any GCC internal prototype to avoid an error.
9500 Use char because int might match the return type of a GCC
9501 builtin and then its argument prototype would still apply. */
9502 #ifdef __cplusplus
9503 extern "C"
9504 #endif
9505 char connect ();
9507 main ()
9509 return connect ();
9511 return 0;
9513 _ACEOF
9514 if ac_fn_c_try_link "$LINENO"; then :
9515 ac_cv_lib_socket_connect=yes
9516 else
9517 ac_cv_lib_socket_connect=no
9519 rm -f core conftest.err conftest.$ac_objext \
9520 conftest$ac_exeext conftest.$ac_ext
9521 LIBS=$ac_check_lib_save_LIBS
9523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9524 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9525 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9526 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9531 # Guillermo Gomez says -lposix is necessary on A/UX.
9532 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9533 if test "x$ac_cv_func_remove" = xyes; then :
9537 if test $ac_cv_func_remove = no; then
9538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9539 $as_echo_n "checking for remove in -lposix... " >&6; }
9540 if ${ac_cv_lib_posix_remove+:} false; then :
9541 $as_echo_n "(cached) " >&6
9542 else
9543 ac_check_lib_save_LIBS=$LIBS
9544 LIBS="-lposix $LIBS"
9545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9546 /* end confdefs.h. */
9548 /* Override any GCC internal prototype to avoid an error.
9549 Use char because int might match the return type of a GCC
9550 builtin and then its argument prototype would still apply. */
9551 #ifdef __cplusplus
9552 extern "C"
9553 #endif
9554 char remove ();
9556 main ()
9558 return remove ();
9560 return 0;
9562 _ACEOF
9563 if ac_fn_c_try_link "$LINENO"; then :
9564 ac_cv_lib_posix_remove=yes
9565 else
9566 ac_cv_lib_posix_remove=no
9568 rm -f core conftest.err conftest.$ac_objext \
9569 conftest$ac_exeext conftest.$ac_ext
9570 LIBS=$ac_check_lib_save_LIBS
9572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9573 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9574 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9575 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9580 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9581 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9582 if test "x$ac_cv_func_shmat" = xyes; then :
9586 if test $ac_cv_func_shmat = no; then
9587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9588 $as_echo_n "checking for shmat in -lipc... " >&6; }
9589 if ${ac_cv_lib_ipc_shmat+:} false; then :
9590 $as_echo_n "(cached) " >&6
9591 else
9592 ac_check_lib_save_LIBS=$LIBS
9593 LIBS="-lipc $LIBS"
9594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9595 /* end confdefs.h. */
9597 /* Override any GCC internal prototype to avoid an error.
9598 Use char because int might match the return type of a GCC
9599 builtin and then its argument prototype would still apply. */
9600 #ifdef __cplusplus
9601 extern "C"
9602 #endif
9603 char shmat ();
9605 main ()
9607 return shmat ();
9609 return 0;
9611 _ACEOF
9612 if ac_fn_c_try_link "$LINENO"; then :
9613 ac_cv_lib_ipc_shmat=yes
9614 else
9615 ac_cv_lib_ipc_shmat=no
9617 rm -f core conftest.err conftest.$ac_objext \
9618 conftest$ac_exeext conftest.$ac_ext
9619 LIBS=$ac_check_lib_save_LIBS
9621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9622 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9623 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9624 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9630 # Check for libraries that X11R6 Xt/Xaw programs need.
9631 ac_save_LDFLAGS=$LDFLAGS
9632 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9633 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9634 # check for ICE first), but we must link in the order -lSM -lICE or
9635 # we get undefined symbols. So assume we have SM if we have ICE.
9636 # These have to be linked with before -lX11, unlike the other
9637 # libraries we check for below, so use a different variable.
9638 # John Interrante, Karl Berry
9639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9640 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9641 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9642 $as_echo_n "(cached) " >&6
9643 else
9644 ac_check_lib_save_LIBS=$LIBS
9645 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9647 /* end confdefs.h. */
9649 /* Override any GCC internal prototype to avoid an error.
9650 Use char because int might match the return type of a GCC
9651 builtin and then its argument prototype would still apply. */
9652 #ifdef __cplusplus
9653 extern "C"
9654 #endif
9655 char IceConnectionNumber ();
9657 main ()
9659 return IceConnectionNumber ();
9661 return 0;
9663 _ACEOF
9664 if ac_fn_c_try_link "$LINENO"; then :
9665 ac_cv_lib_ICE_IceConnectionNumber=yes
9666 else
9667 ac_cv_lib_ICE_IceConnectionNumber=no
9669 rm -f core conftest.err conftest.$ac_objext \
9670 conftest$ac_exeext conftest.$ac_ext
9671 LIBS=$ac_check_lib_save_LIBS
9673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9674 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9675 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9676 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9679 LDFLAGS=$ac_save_LDFLAGS
9684 if test "$have_x" = "yes"
9685 then
9686 ac_save_CPPFLAGS="$CPPFLAGS"
9687 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9690 $as_echo_n "checking for -lX11... " >&6; }
9691 if ${ac_cv_lib_soname_X11+:} false; then :
9692 $as_echo_n "(cached) " >&6
9693 else
9694 ac_check_soname_save_LIBS=$LIBS
9695 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9697 /* end confdefs.h. */
9699 /* Override any GCC internal prototype to avoid an error.
9700 Use char because int might match the return type of a GCC
9701 builtin and then its argument prototype would still apply. */
9702 #ifdef __cplusplus
9703 extern "C"
9704 #endif
9705 char XCreateWindow ();
9707 main ()
9709 return XCreateWindow ();
9711 return 0;
9713 _ACEOF
9714 if ac_fn_c_try_link "$LINENO"; then :
9715 case "$LIBEXT" in
9716 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9717 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'` ;;
9718 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9719 if ${ac_cv_lib_soname_X11:+false} :; then :
9720 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9721 fi ;;
9722 esac
9724 rm -f core conftest.err conftest.$ac_objext \
9725 conftest$ac_exeext conftest.$ac_ext
9726 LIBS=$ac_check_soname_save_LIBS
9728 if ${ac_cv_lib_soname_X11:+false} :; then :
9729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9730 $as_echo "not found" >&6; }
9732 else
9733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9734 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9736 cat >>confdefs.h <<_ACEOF
9737 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9738 _ACEOF
9742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9743 $as_echo_n "checking for -lXext... " >&6; }
9744 if ${ac_cv_lib_soname_Xext+:} false; then :
9745 $as_echo_n "(cached) " >&6
9746 else
9747 ac_check_soname_save_LIBS=$LIBS
9748 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9750 /* end confdefs.h. */
9752 /* Override any GCC internal prototype to avoid an error.
9753 Use char because int might match the return type of a GCC
9754 builtin and then its argument prototype would still apply. */
9755 #ifdef __cplusplus
9756 extern "C"
9757 #endif
9758 char XextCreateExtension ();
9760 main ()
9762 return XextCreateExtension ();
9764 return 0;
9766 _ACEOF
9767 if ac_fn_c_try_link "$LINENO"; then :
9768 case "$LIBEXT" in
9769 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9770 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'` ;;
9771 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9772 if ${ac_cv_lib_soname_Xext:+false} :; then :
9773 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9774 fi ;;
9775 esac
9777 rm -f core conftest.err conftest.$ac_objext \
9778 conftest$ac_exeext conftest.$ac_ext
9779 LIBS=$ac_check_soname_save_LIBS
9781 if ${ac_cv_lib_soname_Xext:+false} :; then :
9782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9783 $as_echo "not found" >&6; }
9785 else
9786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9787 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9789 cat >>confdefs.h <<_ACEOF
9790 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9791 _ACEOF
9793 X_LIBS="$X_LIBS -lXext"
9795 X_LIBS="$X_LIBS -lX11"
9797 for ac_header in X11/Xlib.h \
9798 X11/XKBlib.h \
9799 X11/Xutil.h \
9800 X11/Xcursor/Xcursor.h \
9801 X11/extensions/shape.h \
9802 X11/extensions/XInput.h \
9803 X11/extensions/XInput2.h \
9804 X11/extensions/XShm.h \
9805 X11/extensions/Xcomposite.h \
9806 X11/extensions/Xfixes.h \
9807 X11/extensions/Xinerama.h \
9808 X11/extensions/Xrandr.h \
9809 X11/extensions/Xrender.h \
9810 X11/extensions/xf86vmode.h \
9811 X11/extensions/xf86vmproto.h
9812 do :
9813 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9814 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9815 # include <X11/Xlib.h>
9816 #endif
9817 #ifdef HAVE_X11_XUTIL_H
9818 # include <X11/Xutil.h>
9819 #endif
9821 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9822 cat >>confdefs.h <<_ACEOF
9823 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9824 _ACEOF
9828 done
9831 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9832 then
9833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9834 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9835 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9836 $as_echo_n "(cached) " >&6
9837 else
9838 ac_check_lib_save_LIBS=$LIBS
9839 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9841 /* end confdefs.h. */
9843 /* Override any GCC internal prototype to avoid an error.
9844 Use char because int might match the return type of a GCC
9845 builtin and then its argument prototype would still apply. */
9846 #ifdef __cplusplus
9847 extern "C"
9848 #endif
9849 char XkbQueryExtension ();
9851 main ()
9853 return XkbQueryExtension ();
9855 return 0;
9857 _ACEOF
9858 if ac_fn_c_try_link "$LINENO"; then :
9859 ac_cv_lib_X11_XkbQueryExtension=yes
9860 else
9861 ac_cv_lib_X11_XkbQueryExtension=no
9863 rm -f core conftest.err conftest.$ac_objext \
9864 conftest$ac_exeext conftest.$ac_ext
9865 LIBS=$ac_check_lib_save_LIBS
9867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9868 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9869 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9871 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9877 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9878 then
9879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9880 $as_echo_n "checking for -lXcursor... " >&6; }
9881 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9882 $as_echo_n "(cached) " >&6
9883 else
9884 ac_check_soname_save_LIBS=$LIBS
9885 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9887 /* end confdefs.h. */
9889 /* Override any GCC internal prototype to avoid an error.
9890 Use char because int might match the return type of a GCC
9891 builtin and then its argument prototype would still apply. */
9892 #ifdef __cplusplus
9893 extern "C"
9894 #endif
9895 char XcursorImageLoadCursor ();
9897 main ()
9899 return XcursorImageLoadCursor ();
9901 return 0;
9903 _ACEOF
9904 if ac_fn_c_try_link "$LINENO"; then :
9905 case "$LIBEXT" in
9906 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9907 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'` ;;
9908 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9909 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9910 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9911 fi ;;
9912 esac
9914 rm -f core conftest.err conftest.$ac_objext \
9915 conftest$ac_exeext conftest.$ac_ext
9916 LIBS=$ac_check_soname_save_LIBS
9918 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9920 $as_echo "not found" >&6; }
9922 else
9923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9924 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9926 cat >>confdefs.h <<_ACEOF
9927 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9928 _ACEOF
9933 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9934 case "x$with_xcursor" in
9935 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9936 xno) ;;
9937 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9938 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9939 esac
9943 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9944 then
9945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9946 $as_echo_n "checking for -lXi... " >&6; }
9947 if ${ac_cv_lib_soname_Xi+:} false; then :
9948 $as_echo_n "(cached) " >&6
9949 else
9950 ac_check_soname_save_LIBS=$LIBS
9951 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9953 /* end confdefs.h. */
9955 /* Override any GCC internal prototype to avoid an error.
9956 Use char because int might match the return type of a GCC
9957 builtin and then its argument prototype would still apply. */
9958 #ifdef __cplusplus
9959 extern "C"
9960 #endif
9961 char XOpenDevice ();
9963 main ()
9965 return XOpenDevice ();
9967 return 0;
9969 _ACEOF
9970 if ac_fn_c_try_link "$LINENO"; then :
9971 case "$LIBEXT" in
9972 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9973 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'` ;;
9974 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9975 if ${ac_cv_lib_soname_Xi:+false} :; then :
9976 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9977 fi ;;
9978 esac
9980 rm -f core conftest.err conftest.$ac_objext \
9981 conftest$ac_exeext conftest.$ac_ext
9982 LIBS=$ac_check_soname_save_LIBS
9984 if ${ac_cv_lib_soname_Xi:+false} :; then :
9985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9986 $as_echo "not found" >&6; }
9988 else
9989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9990 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9992 cat >>confdefs.h <<_ACEOF
9993 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9994 _ACEOF
9999 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10000 case "x$with_xinput" in
10001 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10002 xno) ;;
10003 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10004 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10005 esac
10009 if test "x$ac_cv_lib_soname_Xi" != x
10010 then
10011 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10012 case "x$with_xinput2" in
10013 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10014 xno) ;;
10015 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10016 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10017 esac
10022 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10023 then
10024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10025 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10026 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10027 $as_echo_n "(cached) " >&6
10028 else
10029 ac_check_lib_save_LIBS=$LIBS
10030 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10032 /* end confdefs.h. */
10034 /* Override any GCC internal prototype to avoid an error.
10035 Use char because int might match the return type of a GCC
10036 builtin and then its argument prototype would still apply. */
10037 #ifdef __cplusplus
10038 extern "C"
10039 #endif
10040 char XShmQueryExtension ();
10042 main ()
10044 return XShmQueryExtension ();
10046 return 0;
10048 _ACEOF
10049 if ac_fn_c_try_link "$LINENO"; then :
10050 ac_cv_lib_Xext_XShmQueryExtension=yes
10051 else
10052 ac_cv_lib_Xext_XShmQueryExtension=no
10054 rm -f core conftest.err conftest.$ac_objext \
10055 conftest$ac_exeext conftest.$ac_ext
10056 LIBS=$ac_check_lib_save_LIBS
10058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10059 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10060 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10062 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10067 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10068 case "x$with_xshm" in
10069 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10070 xno) ;;
10071 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10072 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10073 esac
10077 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10078 then
10079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10080 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10081 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10082 $as_echo_n "(cached) " >&6
10083 else
10084 ac_check_lib_save_LIBS=$LIBS
10085 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10087 /* end confdefs.h. */
10089 /* Override any GCC internal prototype to avoid an error.
10090 Use char because int might match the return type of a GCC
10091 builtin and then its argument prototype would still apply. */
10092 #ifdef __cplusplus
10093 extern "C"
10094 #endif
10095 char XShapeQueryExtension ();
10097 main ()
10099 return XShapeQueryExtension ();
10101 return 0;
10103 _ACEOF
10104 if ac_fn_c_try_link "$LINENO"; then :
10105 ac_cv_lib_Xext_XShapeQueryExtension=yes
10106 else
10107 ac_cv_lib_Xext_XShapeQueryExtension=no
10109 rm -f core conftest.err conftest.$ac_objext \
10110 conftest$ac_exeext conftest.$ac_ext
10111 LIBS=$ac_check_lib_save_LIBS
10113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10114 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10115 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10117 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10122 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10123 case "x$with_xshape" in
10124 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10125 xno) ;;
10126 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10127 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10128 esac
10132 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10133 then
10134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10135 $as_echo_n "checking for -lXxf86vm... " >&6; }
10136 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10137 $as_echo_n "(cached) " >&6
10138 else
10139 ac_check_soname_save_LIBS=$LIBS
10140 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10142 /* end confdefs.h. */
10144 /* Override any GCC internal prototype to avoid an error.
10145 Use char because int might match the return type of a GCC
10146 builtin and then its argument prototype would still apply. */
10147 #ifdef __cplusplus
10148 extern "C"
10149 #endif
10150 char XF86VidModeQueryExtension ();
10152 main ()
10154 return XF86VidModeQueryExtension ();
10156 return 0;
10158 _ACEOF
10159 if ac_fn_c_try_link "$LINENO"; then :
10160 case "$LIBEXT" in
10161 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10162 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'` ;;
10163 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10164 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10165 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10166 fi ;;
10167 esac
10169 rm -f core conftest.err conftest.$ac_objext \
10170 conftest$ac_exeext conftest.$ac_ext
10171 LIBS=$ac_check_soname_save_LIBS
10173 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10175 $as_echo "not found" >&6; }
10177 else
10178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10179 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10181 cat >>confdefs.h <<_ACEOF
10182 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10183 _ACEOF
10188 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10189 case "x$with_xxf86vm" in
10190 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10191 xno) ;;
10192 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10193 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10194 esac
10198 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10199 then
10200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10201 $as_echo_n "checking for -lXrender... " >&6; }
10202 if ${ac_cv_lib_soname_Xrender+:} false; then :
10203 $as_echo_n "(cached) " >&6
10204 else
10205 ac_check_soname_save_LIBS=$LIBS
10206 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10208 /* end confdefs.h. */
10210 /* Override any GCC internal prototype to avoid an error.
10211 Use char because int might match the return type of a GCC
10212 builtin and then its argument prototype would still apply. */
10213 #ifdef __cplusplus
10214 extern "C"
10215 #endif
10216 char XRenderQueryExtension ();
10218 main ()
10220 return XRenderQueryExtension ();
10222 return 0;
10224 _ACEOF
10225 if ac_fn_c_try_link "$LINENO"; then :
10226 case "$LIBEXT" in
10227 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10228 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'` ;;
10229 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10230 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10231 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10232 fi ;;
10233 esac
10235 rm -f core conftest.err conftest.$ac_objext \
10236 conftest$ac_exeext conftest.$ac_ext
10237 LIBS=$ac_check_soname_save_LIBS
10239 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10241 $as_echo "not found" >&6; }
10243 else
10244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10245 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10247 cat >>confdefs.h <<_ACEOF
10248 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10249 _ACEOF
10251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10252 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10253 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10254 $as_echo_n "(cached) " >&6
10255 else
10256 ac_check_lib_save_LIBS=$LIBS
10257 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10259 /* end confdefs.h. */
10261 /* Override any GCC internal prototype to avoid an error.
10262 Use char because int might match the return type of a GCC
10263 builtin and then its argument prototype would still apply. */
10264 #ifdef __cplusplus
10265 extern "C"
10266 #endif
10267 char XRenderSetPictureTransform ();
10269 main ()
10271 return XRenderSetPictureTransform ();
10273 return 0;
10275 _ACEOF
10276 if ac_fn_c_try_link "$LINENO"; then :
10277 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10278 else
10279 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10281 rm -f core conftest.err conftest.$ac_objext \
10282 conftest$ac_exeext conftest.$ac_ext
10283 LIBS=$ac_check_lib_save_LIBS
10285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10286 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10287 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10289 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10294 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10295 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10296 $as_echo_n "(cached) " >&6
10297 else
10298 ac_check_lib_save_LIBS=$LIBS
10299 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10301 /* end confdefs.h. */
10303 /* Override any GCC internal prototype to avoid an error.
10304 Use char because int might match the return type of a GCC
10305 builtin and then its argument prototype would still apply. */
10306 #ifdef __cplusplus
10307 extern "C"
10308 #endif
10309 char XRenderCreateLinearGradient ();
10311 main ()
10313 return XRenderCreateLinearGradient ();
10315 return 0;
10317 _ACEOF
10318 if ac_fn_c_try_link "$LINENO"; then :
10319 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10320 else
10321 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10323 rm -f core conftest.err conftest.$ac_objext \
10324 conftest$ac_exeext conftest.$ac_ext
10325 LIBS=$ac_check_lib_save_LIBS
10327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10328 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10329 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10331 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10338 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10339 case "x$with_xrender" in
10340 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10341 xno) ;;
10342 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10343 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10344 esac
10348 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10349 then
10350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10351 /* end confdefs.h. */
10352 #include <X11/Xlib.h>
10353 #include <X11/extensions/Xrandr.h>
10355 main ()
10357 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10359 return 0;
10361 _ACEOF
10362 if ac_fn_c_try_compile "$LINENO"; then :
10363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10364 $as_echo_n "checking for -lXrandr... " >&6; }
10365 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10366 $as_echo_n "(cached) " >&6
10367 else
10368 ac_check_soname_save_LIBS=$LIBS
10369 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10371 /* end confdefs.h. */
10373 /* Override any GCC internal prototype to avoid an error.
10374 Use char because int might match the return type of a GCC
10375 builtin and then its argument prototype would still apply. */
10376 #ifdef __cplusplus
10377 extern "C"
10378 #endif
10379 char XRRQueryExtension ();
10381 main ()
10383 return XRRQueryExtension ();
10385 return 0;
10387 _ACEOF
10388 if ac_fn_c_try_link "$LINENO"; then :
10389 case "$LIBEXT" in
10390 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10391 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'` ;;
10392 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10393 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10394 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10395 fi ;;
10396 esac
10398 rm -f core conftest.err conftest.$ac_objext \
10399 conftest$ac_exeext conftest.$ac_ext
10400 LIBS=$ac_check_soname_save_LIBS
10402 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10404 $as_echo "not found" >&6; }
10406 else
10407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10408 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10410 cat >>confdefs.h <<_ACEOF
10411 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10412 _ACEOF
10414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10415 /* end confdefs.h. */
10416 #include <X11/Xlib.h>
10417 #include <X11/extensions/Xrandr.h>
10419 main ()
10421 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10423 return 0;
10425 _ACEOF
10426 if ac_fn_c_try_compile "$LINENO"; then :
10428 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10436 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10437 case "x$with_xrandr" in
10438 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10439 xno) ;;
10440 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10441 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10442 esac
10446 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
10447 then
10448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10449 /* end confdefs.h. */
10450 #include <X11/Xlib.h>
10451 #include <X11/extensions/Xfixes.h>
10453 main ()
10455 static typeof(XFixesQueryVersion) * func; if (func) return 0;
10457 return 0;
10459 _ACEOF
10460 if ac_fn_c_try_compile "$LINENO"; then :
10461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
10462 $as_echo_n "checking for -lXfixes... " >&6; }
10463 if ${ac_cv_lib_soname_Xfixes+:} false; then :
10464 $as_echo_n "(cached) " >&6
10465 else
10466 ac_check_soname_save_LIBS=$LIBS
10467 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
10468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10469 /* end confdefs.h. */
10471 /* Override any GCC internal prototype to avoid an error.
10472 Use char because int might match the return type of a GCC
10473 builtin and then its argument prototype would still apply. */
10474 #ifdef __cplusplus
10475 extern "C"
10476 #endif
10477 char XFixesQueryVersion ();
10479 main ()
10481 return XFixesQueryVersion ();
10483 return 0;
10485 _ACEOF
10486 if ac_fn_c_try_link "$LINENO"; then :
10487 case "$LIBEXT" in
10488 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10489 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'` ;;
10490 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10491 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10492 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10493 fi ;;
10494 esac
10496 rm -f core conftest.err conftest.$ac_objext \
10497 conftest$ac_exeext conftest.$ac_ext
10498 LIBS=$ac_check_soname_save_LIBS
10500 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10502 $as_echo "not found" >&6; }
10504 else
10505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
10506 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
10508 cat >>confdefs.h <<_ACEOF
10509 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
10510 _ACEOF
10515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10517 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
10518 case "x$with_xfixes" in
10519 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
10520 xno) ;;
10521 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
10522 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
10523 esac
10527 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10528 then
10529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10530 /* end confdefs.h. */
10531 #include <X11/Xlib.h>
10532 #include <X11/extensions/Xinerama.h>
10534 main ()
10536 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10538 return 0;
10540 _ACEOF
10541 if ac_fn_c_try_compile "$LINENO"; then :
10542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10543 $as_echo_n "checking for -lXinerama... " >&6; }
10544 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10545 $as_echo_n "(cached) " >&6
10546 else
10547 ac_check_soname_save_LIBS=$LIBS
10548 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10550 /* end confdefs.h. */
10552 /* Override any GCC internal prototype to avoid an error.
10553 Use char because int might match the return type of a GCC
10554 builtin and then its argument prototype would still apply. */
10555 #ifdef __cplusplus
10556 extern "C"
10557 #endif
10558 char XineramaQueryScreens ();
10560 main ()
10562 return XineramaQueryScreens ();
10564 return 0;
10566 _ACEOF
10567 if ac_fn_c_try_link "$LINENO"; then :
10568 case "$LIBEXT" in
10569 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10570 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'` ;;
10571 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10572 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10573 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10574 fi ;;
10575 esac
10577 rm -f core conftest.err conftest.$ac_objext \
10578 conftest$ac_exeext conftest.$ac_ext
10579 LIBS=$ac_check_soname_save_LIBS
10581 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10583 $as_echo "not found" >&6; }
10585 else
10586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10587 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10589 cat >>confdefs.h <<_ACEOF
10590 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10591 _ACEOF
10596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10598 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10599 case "x$with_xinerama" in
10600 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10601 xno) ;;
10602 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10603 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10604 esac
10608 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10609 then
10610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10611 $as_echo_n "checking for -lXcomposite... " >&6; }
10612 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10613 $as_echo_n "(cached) " >&6
10614 else
10615 ac_check_soname_save_LIBS=$LIBS
10616 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10618 /* end confdefs.h. */
10620 /* Override any GCC internal prototype to avoid an error.
10621 Use char because int might match the return type of a GCC
10622 builtin and then its argument prototype would still apply. */
10623 #ifdef __cplusplus
10624 extern "C"
10625 #endif
10626 char XCompositeRedirectWindow ();
10628 main ()
10630 return XCompositeRedirectWindow ();
10632 return 0;
10634 _ACEOF
10635 if ac_fn_c_try_link "$LINENO"; then :
10636 case "$LIBEXT" in
10637 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10638 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'` ;;
10639 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10640 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10641 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10642 fi ;;
10643 esac
10645 rm -f core conftest.err conftest.$ac_objext \
10646 conftest$ac_exeext conftest.$ac_ext
10647 LIBS=$ac_check_soname_save_LIBS
10649 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10651 $as_echo "not found" >&6; }
10653 else
10654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10655 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10657 cat >>confdefs.h <<_ACEOF
10658 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10659 _ACEOF
10664 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10665 case "x$with_xcomposite" in
10666 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10667 xno) ;;
10668 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10669 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10670 esac
10674 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10675 #include <X11/Xlib.h>
10676 #endif
10678 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10680 cat >>confdefs.h <<_ACEOF
10681 #define HAVE_XICCALLBACK_CALLBACK 1
10682 _ACEOF
10686 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10687 #include <X11/Xlib.h>
10688 #endif
10690 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10692 cat >>confdefs.h <<_ACEOF
10693 #define HAVE_XEVENT_XCOOKIE 1
10694 _ACEOF
10701 opengl_msg=""
10702 if test "x$with_opengl" != "xno"
10703 then
10704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10705 $as_echo_n "checking for -lGL... " >&6; }
10706 if ${ac_cv_lib_soname_GL+:} false; then :
10707 $as_echo_n "(cached) " >&6
10708 else
10709 ac_check_soname_save_LIBS=$LIBS
10710 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10712 /* end confdefs.h. */
10714 /* Override any GCC internal prototype to avoid an error.
10715 Use char because int might match the return type of a GCC
10716 builtin and then its argument prototype would still apply. */
10717 #ifdef __cplusplus
10718 extern "C"
10719 #endif
10720 char glXCreateContext ();
10722 main ()
10724 return glXCreateContext ();
10726 return 0;
10728 _ACEOF
10729 if ac_fn_c_try_link "$LINENO"; then :
10730 case "$LIBEXT" in
10731 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10732 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'` ;;
10733 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10734 if ${ac_cv_lib_soname_GL:+false} :; then :
10735 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10736 fi ;;
10737 esac
10739 rm -f core conftest.err conftest.$ac_objext \
10740 conftest$ac_exeext conftest.$ac_ext
10741 LIBS=$ac_check_soname_save_LIBS
10743 if ${ac_cv_lib_soname_GL:+false} :; then :
10744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10745 $as_echo "not found" >&6; }
10746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10747 $as_echo_n "checking for -lGL... " >&6; }
10748 if ${ac_cv_lib_soname_GL+:} false; then :
10749 $as_echo_n "(cached) " >&6
10750 else
10751 ac_check_soname_save_LIBS=$LIBS
10752 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"
10753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10754 /* end confdefs.h. */
10756 /* Override any GCC internal prototype to avoid an error.
10757 Use char because int might match the return type of a GCC
10758 builtin and then its argument prototype would still apply. */
10759 #ifdef __cplusplus
10760 extern "C"
10761 #endif
10762 char glXCreateContext ();
10764 main ()
10766 return glXCreateContext ();
10768 return 0;
10770 _ACEOF
10771 if ac_fn_c_try_link "$LINENO"; then :
10772 case "$LIBEXT" in
10773 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10774 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'` ;;
10775 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10776 if ${ac_cv_lib_soname_GL:+false} :; then :
10777 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10778 fi ;;
10779 esac
10781 rm -f core conftest.err conftest.$ac_objext \
10782 conftest$ac_exeext conftest.$ac_ext
10783 LIBS=$ac_check_soname_save_LIBS
10785 if ${ac_cv_lib_soname_GL:+false} :; then :
10786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10787 $as_echo "not found" >&6; }
10788 if test -f /usr/X11R6/lib/libGL.a
10789 then
10790 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10791 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10792 else
10793 opengl_msg="No OpenGL library found on this system."
10795 else
10796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10797 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10799 cat >>confdefs.h <<_ACEOF
10800 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10801 _ACEOF
10803 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"
10805 else
10806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10807 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10809 cat >>confdefs.h <<_ACEOF
10810 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10811 _ACEOF
10813 OPENGL_LIBS="-lGL"
10815 if test "x$with_glu" != "xno"
10816 then
10817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
10818 $as_echo_n "checking for -lGLU... " >&6; }
10819 if ${ac_cv_lib_soname_GLU+:} false; then :
10820 $as_echo_n "(cached) " >&6
10821 else
10822 ac_check_soname_save_LIBS=$LIBS
10823 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10825 /* end confdefs.h. */
10827 /* Override any GCC internal prototype to avoid an error.
10828 Use char because int might match the return type of a GCC
10829 builtin and then its argument prototype would still apply. */
10830 #ifdef __cplusplus
10831 extern "C"
10832 #endif
10833 char gluLookAt ();
10835 main ()
10837 return gluLookAt ();
10839 return 0;
10841 _ACEOF
10842 if ac_fn_c_try_link "$LINENO"; then :
10843 case "$LIBEXT" in
10844 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10845 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'` ;;
10846 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10847 if ${ac_cv_lib_soname_GLU:+false} :; then :
10848 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10849 fi ;;
10850 esac
10852 rm -f core conftest.err conftest.$ac_objext \
10853 conftest$ac_exeext conftest.$ac_ext
10854 LIBS=$ac_check_soname_save_LIBS
10856 if ${ac_cv_lib_soname_GLU:+false} :; then :
10857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10858 $as_echo "not found" >&6; }
10860 else
10861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
10862 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
10864 cat >>confdefs.h <<_ACEOF
10865 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
10866 _ACEOF
10870 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
10871 case "x$with_glu" in
10872 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10873 xno) ;;
10874 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10875 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10876 esac
10881 if test "x$with_osmesa" != "xno"
10882 then
10883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10884 $as_echo_n "checking for -lOSMesa... " >&6; }
10885 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10886 $as_echo_n "(cached) " >&6
10887 else
10888 ac_check_soname_save_LIBS=$LIBS
10889 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10891 /* end confdefs.h. */
10893 /* Override any GCC internal prototype to avoid an error.
10894 Use char because int might match the return type of a GCC
10895 builtin and then its argument prototype would still apply. */
10896 #ifdef __cplusplus
10897 extern "C"
10898 #endif
10899 char OSMesaGetProcAddress ();
10901 main ()
10903 return OSMesaGetProcAddress ();
10905 return 0;
10907 _ACEOF
10908 if ac_fn_c_try_link "$LINENO"; then :
10909 case "$LIBEXT" in
10910 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10911 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'` ;;
10912 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10913 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10914 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10915 fi ;;
10916 esac
10918 rm -f core conftest.err conftest.$ac_objext \
10919 conftest$ac_exeext conftest.$ac_ext
10920 LIBS=$ac_check_soname_save_LIBS
10922 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10924 $as_echo "not found" >&6; }
10926 else
10927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10928 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10930 cat >>confdefs.h <<_ACEOF
10931 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10932 _ACEOF
10936 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10937 case "x$with_osmesa" in
10938 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10939 xno) ;;
10940 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10941 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10942 esac
10947 if test -n "$opengl_msg"; then :
10948 case "x$with_opengl" in
10949 x) as_fn_append wine_warnings "|$opengl_msg
10950 OpenGL and Direct3D won't be supported." ;;
10951 xno) ;;
10952 *) as_fn_error $? "$opengl_msg
10953 OpenGL and Direct3D won't be supported.
10954 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10955 esac
10959 CPPFLAGS="$ac_save_CPPFLAGS"
10960 else
10961 X_CFLAGS=""
10962 X_LIBS=""
10965 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
10966 then
10967 if test "x$X_LIBS" = "x"; then :
10968 case "x$with_x" in
10969 xno) ;;
10970 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10971 without X support, which probably isn't what you want. You will need
10972 to install ${notice_platform}development packages of Xlib at the very least.
10973 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10974 esac
10975 enable_winex11_drv=${enable_winex11_drv:-no}
10977 else
10978 if test "x$X_LIBS" = "x"; then :
10979 case "x$with_x" in
10980 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
10981 xno) ;;
10982 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
10983 This is an error since --with-x was requested." "$LINENO" 5 ;;
10984 esac
10985 enable_winex11_drv=${enable_winex11_drv:-no}
10989 if test "$ac_cv_header_CL_cl_h" = "yes"
10990 then
10991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10992 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10993 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10994 $as_echo_n "(cached) " >&6
10995 else
10996 ac_check_lib_save_LIBS=$LIBS
10997 LIBS="-lOpenCL $LIBS"
10998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10999 /* end confdefs.h. */
11001 /* Override any GCC internal prototype to avoid an error.
11002 Use char because int might match the return type of a GCC
11003 builtin and then its argument prototype would still apply. */
11004 #ifdef __cplusplus
11005 extern "C"
11006 #endif
11007 char clGetPlatformInfo ();
11009 main ()
11011 return clGetPlatformInfo ();
11013 return 0;
11015 _ACEOF
11016 if ac_fn_c_try_link "$LINENO"; then :
11017 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
11018 else
11019 ac_cv_lib_OpenCL_clGetPlatformInfo=no
11021 rm -f core conftest.err conftest.$ac_objext \
11022 conftest$ac_exeext conftest.$ac_ext
11023 LIBS=$ac_check_lib_save_LIBS
11025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11026 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11027 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
11028 OPENCL_LIBS="-lOpenCL"
11033 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11034 case "x$with_opencl" in
11035 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11036 xno) ;;
11037 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11038 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11039 esac
11040 enable_opencl=${enable_opencl:-no}
11043 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11044 then
11045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11046 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11047 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11048 $as_echo_n "(cached) " >&6
11049 else
11050 ac_check_lib_save_LIBS=$LIBS
11051 LIBS="-lpcap $LIBS"
11052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11053 /* end confdefs.h. */
11055 /* Override any GCC internal prototype to avoid an error.
11056 Use char because int might match the return type of a GCC
11057 builtin and then its argument prototype would still apply. */
11058 #ifdef __cplusplus
11059 extern "C"
11060 #endif
11061 char pcap_create ();
11063 main ()
11065 return pcap_create ();
11067 return 0;
11069 _ACEOF
11070 if ac_fn_c_try_link "$LINENO"; then :
11071 ac_cv_lib_pcap_pcap_create=yes
11072 else
11073 ac_cv_lib_pcap_pcap_create=no
11075 rm -f core conftest.err conftest.$ac_objext \
11076 conftest$ac_exeext conftest.$ac_ext
11077 LIBS=$ac_check_lib_save_LIBS
11079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11080 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11081 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11082 PCAP_LIBS="-lpcap"
11087 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11088 case "x$with_pcap" in
11089 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11090 xno) ;;
11091 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11092 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11093 esac
11094 enable_wpcap=${enable_wpcap:-no}
11098 if test "x$with_xml" != "xno"
11099 then
11100 if ${XML2_CFLAGS:+false} :; then :
11101 if ${PKG_CONFIG+:} false; then :
11102 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11105 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11106 if ${XML2_LIBS:+false} :; then :
11107 if ${PKG_CONFIG+:} false; then :
11108 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11111 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11112 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11113 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11114 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11115 ac_save_CPPFLAGS=$CPPFLAGS
11116 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11117 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11118 do :
11119 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11120 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11121 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11122 cat >>confdefs.h <<_ACEOF
11123 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11124 _ACEOF
11128 done
11130 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"
11131 then
11132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11133 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11134 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11135 $as_echo_n "(cached) " >&6
11136 else
11137 ac_check_lib_save_LIBS=$LIBS
11138 LIBS="-lxml2 $XML2_LIBS $LIBS"
11139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11140 /* end confdefs.h. */
11142 /* Override any GCC internal prototype to avoid an error.
11143 Use char because int might match the return type of a GCC
11144 builtin and then its argument prototype would still apply. */
11145 #ifdef __cplusplus
11146 extern "C"
11147 #endif
11148 char xmlParseMemory ();
11150 main ()
11152 return xmlParseMemory ();
11154 return 0;
11156 _ACEOF
11157 if ac_fn_c_try_link "$LINENO"; then :
11158 ac_cv_lib_xml2_xmlParseMemory=yes
11159 else
11160 ac_cv_lib_xml2_xmlParseMemory=no
11162 rm -f core conftest.err conftest.$ac_objext \
11163 conftest$ac_exeext conftest.$ac_ext
11164 LIBS=$ac_check_lib_save_LIBS
11166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11167 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11168 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11170 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11172 else
11173 XML2_LIBS=""
11176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11177 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11178 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11179 $as_echo_n "(cached) " >&6
11180 else
11181 ac_check_lib_save_LIBS=$LIBS
11182 LIBS="-lxml2 $XML2_LIBS $LIBS"
11183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11184 /* end confdefs.h. */
11186 /* Override any GCC internal prototype to avoid an error.
11187 Use char because int might match the return type of a GCC
11188 builtin and then its argument prototype would still apply. */
11189 #ifdef __cplusplus
11190 extern "C"
11191 #endif
11192 char xmlReadMemory ();
11194 main ()
11196 return xmlReadMemory ();
11198 return 0;
11200 _ACEOF
11201 if ac_fn_c_try_link "$LINENO"; then :
11202 ac_cv_lib_xml2_xmlReadMemory=yes
11203 else
11204 ac_cv_lib_xml2_xmlReadMemory=no
11206 rm -f core conftest.err conftest.$ac_objext \
11207 conftest$ac_exeext conftest.$ac_ext
11208 LIBS=$ac_check_lib_save_LIBS
11210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11211 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11212 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11214 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11219 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11220 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11221 $as_echo_n "(cached) " >&6
11222 else
11223 ac_check_lib_save_LIBS=$LIBS
11224 LIBS="-lxml2 $XML2_LIBS $LIBS"
11225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11226 /* end confdefs.h. */
11228 /* Override any GCC internal prototype to avoid an error.
11229 Use char because int might match the return type of a GCC
11230 builtin and then its argument prototype would still apply. */
11231 #ifdef __cplusplus
11232 extern "C"
11233 #endif
11234 char xmlNewDocPI ();
11236 main ()
11238 return xmlNewDocPI ();
11240 return 0;
11242 _ACEOF
11243 if ac_fn_c_try_link "$LINENO"; then :
11244 ac_cv_lib_xml2_xmlNewDocPI=yes
11245 else
11246 ac_cv_lib_xml2_xmlNewDocPI=no
11248 rm -f core conftest.err conftest.$ac_objext \
11249 conftest$ac_exeext conftest.$ac_ext
11250 LIBS=$ac_check_lib_save_LIBS
11252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11253 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11254 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11256 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11261 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11262 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11263 $as_echo_n "(cached) " >&6
11264 else
11265 ac_check_lib_save_LIBS=$LIBS
11266 LIBS="-lxml2 $XML2_LIBS $LIBS"
11267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11268 /* end confdefs.h. */
11270 /* Override any GCC internal prototype to avoid an error.
11271 Use char because int might match the return type of a GCC
11272 builtin and then its argument prototype would still apply. */
11273 #ifdef __cplusplus
11274 extern "C"
11275 #endif
11276 char xmlSchemaSetParserStructuredErrors ();
11278 main ()
11280 return xmlSchemaSetParserStructuredErrors ();
11282 return 0;
11284 _ACEOF
11285 if ac_fn_c_try_link "$LINENO"; then :
11286 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11287 else
11288 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11290 rm -f core conftest.err conftest.$ac_objext \
11291 conftest$ac_exeext conftest.$ac_ext
11292 LIBS=$ac_check_lib_save_LIBS
11294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11295 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11296 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11298 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11303 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11304 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11305 $as_echo_n "(cached) " >&6
11306 else
11307 ac_check_lib_save_LIBS=$LIBS
11308 LIBS="-lxml2 $XML2_LIBS $LIBS"
11309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11310 /* end confdefs.h. */
11312 /* Override any GCC internal prototype to avoid an error.
11313 Use char because int might match the return type of a GCC
11314 builtin and then its argument prototype would still apply. */
11315 #ifdef __cplusplus
11316 extern "C"
11317 #endif
11318 char xmlSchemaSetValidStructuredErrors ();
11320 main ()
11322 return xmlSchemaSetValidStructuredErrors ();
11324 return 0;
11326 _ACEOF
11327 if ac_fn_c_try_link "$LINENO"; then :
11328 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11329 else
11330 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11332 rm -f core conftest.err conftest.$ac_objext \
11333 conftest$ac_exeext conftest.$ac_ext
11334 LIBS=$ac_check_lib_save_LIBS
11336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11337 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11338 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11340 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11345 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11346 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11347 $as_echo_n "(cached) " >&6
11348 else
11349 ac_check_lib_save_LIBS=$LIBS
11350 LIBS="-lxml2 $XML2_LIBS $LIBS"
11351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11352 /* end confdefs.h. */
11354 /* Override any GCC internal prototype to avoid an error.
11355 Use char because int might match the return type of a GCC
11356 builtin and then its argument prototype would still apply. */
11357 #ifdef __cplusplus
11358 extern "C"
11359 #endif
11360 char xmlFirstElementChild ();
11362 main ()
11364 return xmlFirstElementChild ();
11366 return 0;
11368 _ACEOF
11369 if ac_fn_c_try_link "$LINENO"; then :
11370 ac_cv_lib_xml2_xmlFirstElementChild=yes
11371 else
11372 ac_cv_lib_xml2_xmlFirstElementChild=no
11374 rm -f core conftest.err conftest.$ac_objext \
11375 conftest$ac_exeext conftest.$ac_ext
11376 LIBS=$ac_check_lib_save_LIBS
11378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11379 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11380 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11382 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11386 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11388 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11390 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11394 else
11395 XML2_CFLAGS=""
11396 XML2_LIBS=""
11398 CPPFLAGS=$ac_save_CPPFLAGS
11399 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11400 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11403 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11404 case "x$with_xml" in
11405 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11406 xno) ;;
11407 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11408 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11409 esac
11413 if test "x$with_xslt" != "xno"
11414 then
11415 if ${XSLT_CFLAGS:+false} :; then :
11416 if ${PKG_CONFIG+:} false; then :
11417 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11420 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11421 if ${XSLT_LIBS:+false} :; then :
11422 if ${PKG_CONFIG+:} false; then :
11423 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11426 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11427 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11428 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11429 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11430 ac_save_CPPFLAGS=$CPPFLAGS
11431 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11432 for ac_header in libxslt/pattern.h libxslt/transform.h
11433 do :
11434 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11435 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11436 # include <libxslt/pattern.h>
11437 #endif
11439 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11440 cat >>confdefs.h <<_ACEOF
11441 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11442 _ACEOF
11446 done
11448 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11449 then
11450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11451 $as_echo_n "checking for -lxslt... " >&6; }
11452 if ${ac_cv_lib_soname_xslt+:} false; then :
11453 $as_echo_n "(cached) " >&6
11454 else
11455 ac_check_soname_save_LIBS=$LIBS
11456 LIBS="-lxslt $XSLT_LIBS $LIBS"
11457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11458 /* end confdefs.h. */
11460 /* Override any GCC internal prototype to avoid an error.
11461 Use char because int might match the return type of a GCC
11462 builtin and then its argument prototype would still apply. */
11463 #ifdef __cplusplus
11464 extern "C"
11465 #endif
11466 char xsltCompilePattern ();
11468 main ()
11470 return xsltCompilePattern ();
11472 return 0;
11474 _ACEOF
11475 if ac_fn_c_try_link "$LINENO"; then :
11476 case "$LIBEXT" in
11477 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11478 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'` ;;
11479 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11480 if ${ac_cv_lib_soname_xslt:+false} :; then :
11481 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11482 fi ;;
11483 esac
11485 rm -f core conftest.err conftest.$ac_objext \
11486 conftest$ac_exeext conftest.$ac_ext
11487 LIBS=$ac_check_soname_save_LIBS
11489 if ${ac_cv_lib_soname_xslt:+false} :; then :
11490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11491 $as_echo "not found" >&6; }
11493 else
11494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11495 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11497 cat >>confdefs.h <<_ACEOF
11498 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11499 _ACEOF
11503 else
11504 XSLT_CFLAGS=""
11506 CPPFLAGS=$ac_save_CPPFLAGS
11507 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11508 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11511 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11512 case "x$with_xslt" in
11513 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11514 xno) ;;
11515 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11516 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11517 esac
11521 if test "x$with_dbus" != "xno"
11522 then
11523 if ${DBUS_CFLAGS:+false} :; then :
11524 if ${PKG_CONFIG+:} false; then :
11525 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11529 if ${DBUS_LIBS:+false} :; then :
11530 if ${PKG_CONFIG+:} false; then :
11531 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11536 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11537 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11538 ac_save_CPPFLAGS=$CPPFLAGS
11539 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11540 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11541 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11543 $as_echo_n "checking for -ldbus-1... " >&6; }
11544 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11545 $as_echo_n "(cached) " >&6
11546 else
11547 ac_check_soname_save_LIBS=$LIBS
11548 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11550 /* end confdefs.h. */
11552 /* Override any GCC internal prototype to avoid an error.
11553 Use char because int might match the return type of a GCC
11554 builtin and then its argument prototype would still apply. */
11555 #ifdef __cplusplus
11556 extern "C"
11557 #endif
11558 char dbus_connection_close ();
11560 main ()
11562 return dbus_connection_close ();
11564 return 0;
11566 _ACEOF
11567 if ac_fn_c_try_link "$LINENO"; then :
11568 case "$LIBEXT" in
11569 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11570 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'` ;;
11571 *) 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'`
11572 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11573 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11574 fi ;;
11575 esac
11577 rm -f core conftest.err conftest.$ac_objext \
11578 conftest$ac_exeext conftest.$ac_ext
11579 LIBS=$ac_check_soname_save_LIBS
11581 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11583 $as_echo "not found" >&6; }
11584 DBUS_CFLAGS=""
11585 else
11586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11587 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11589 cat >>confdefs.h <<_ACEOF
11590 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11591 _ACEOF
11595 else
11596 DBUS_CFLAGS=""
11600 CPPFLAGS=$ac_save_CPPFLAGS
11601 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11602 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11605 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11606 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11607 case "x$with_dbus" in
11608 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11609 xno) ;;
11610 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11611 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11612 esac
11616 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11617 then
11618 if ${HAL_CFLAGS:+false} :; then :
11619 if ${PKG_CONFIG+:} false; then :
11620 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11624 if ${HAL_LIBS:+false} :; then :
11625 if ${PKG_CONFIG+:} false; then :
11626 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11630 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11631 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11632 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11633 ac_save_CPPFLAGS=$CPPFLAGS
11634 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11635 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11636 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11638 $as_echo_n "checking for -lhal... " >&6; }
11639 if ${ac_cv_lib_soname_hal+:} false; then :
11640 $as_echo_n "(cached) " >&6
11641 else
11642 ac_check_soname_save_LIBS=$LIBS
11643 LIBS="-lhal $HAL_LIBS $LIBS"
11644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11645 /* end confdefs.h. */
11647 /* Override any GCC internal prototype to avoid an error.
11648 Use char because int might match the return type of a GCC
11649 builtin and then its argument prototype would still apply. */
11650 #ifdef __cplusplus
11651 extern "C"
11652 #endif
11653 char libhal_ctx_new ();
11655 main ()
11657 return libhal_ctx_new ();
11659 return 0;
11661 _ACEOF
11662 if ac_fn_c_try_link "$LINENO"; then :
11663 case "$LIBEXT" in
11664 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11665 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'` ;;
11666 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11667 if ${ac_cv_lib_soname_hal:+false} :; then :
11668 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11669 fi ;;
11670 esac
11672 rm -f core conftest.err conftest.$ac_objext \
11673 conftest$ac_exeext conftest.$ac_ext
11674 LIBS=$ac_check_soname_save_LIBS
11676 if ${ac_cv_lib_soname_hal:+false} :; then :
11677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11678 $as_echo "not found" >&6; }
11679 HAL_CFLAGS=""
11680 else
11681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11682 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11684 cat >>confdefs.h <<_ACEOF
11685 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11686 _ACEOF
11690 else
11691 HAL_CFLAGS=""
11695 CPPFLAGS=$ac_save_CPPFLAGS
11696 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11697 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11699 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11700 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11701 case "x$with_hal" in
11702 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11703 xno) ;;
11704 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11705 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11706 esac
11711 if test "x$with_gnutls" != "xno"
11712 then
11713 if ${GNUTLS_CFLAGS:+false} :; then :
11714 if ${PKG_CONFIG+:} false; then :
11715 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11719 if ${GNUTLS_LIBS:+false} :; then :
11720 if ${PKG_CONFIG+:} false; then :
11721 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11726 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11727 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11728 ac_save_CPPFLAGS=$CPPFLAGS
11729 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11730 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11731 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11733 /* end confdefs.h. */
11734 #include <gnutls/gnutls.h>
11735 #include <gnutls/crypto.h>
11737 main ()
11739 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11741 return 0;
11743 _ACEOF
11744 if ac_fn_c_try_compile "$LINENO"; then :
11745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11746 $as_echo_n "checking for -lgnutls... " >&6; }
11747 if ${ac_cv_lib_soname_gnutls+:} false; then :
11748 $as_echo_n "(cached) " >&6
11749 else
11750 ac_check_soname_save_LIBS=$LIBS
11751 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11753 /* end confdefs.h. */
11755 /* Override any GCC internal prototype to avoid an error.
11756 Use char because int might match the return type of a GCC
11757 builtin and then its argument prototype would still apply. */
11758 #ifdef __cplusplus
11759 extern "C"
11760 #endif
11761 char gnutls_global_init ();
11763 main ()
11765 return gnutls_global_init ();
11767 return 0;
11769 _ACEOF
11770 if ac_fn_c_try_link "$LINENO"; then :
11771 case "$LIBEXT" in
11772 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11773 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'` ;;
11774 *) 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'`
11775 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11776 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'`
11777 fi ;;
11778 esac
11780 rm -f core conftest.err conftest.$ac_objext \
11781 conftest$ac_exeext conftest.$ac_ext
11782 LIBS=$ac_check_soname_save_LIBS
11784 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11786 $as_echo "not found" >&6; }
11787 GNUTLS_CFLAGS=""
11788 else
11789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11790 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11792 cat >>confdefs.h <<_ACEOF
11793 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11794 _ACEOF
11798 ac_wine_check_funcs_save_LIBS="$LIBS"
11799 LIBS="$LIBS $GNUTLS_LIBS"
11800 for ac_func in gnutls_cipher_init
11801 do :
11802 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
11803 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
11804 cat >>confdefs.h <<_ACEOF
11805 #define HAVE_GNUTLS_CIPHER_INIT 1
11806 _ACEOF
11808 else
11809 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
11811 done
11813 LIBS="$ac_wine_check_funcs_save_LIBS"
11815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11816 else
11817 GNUTLS_CFLAGS=""
11821 CPPFLAGS=$ac_save_CPPFLAGS
11822 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11823 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11826 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11827 case "x$with_gnutls" in
11828 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11829 xno) ;;
11830 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11831 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11832 esac
11836 CURSES_LIBS=""
11837 if test "$ac_cv_header_ncurses_h" = "yes"
11838 then
11839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11840 $as_echo_n "checking for -lncurses... " >&6; }
11841 if ${ac_cv_lib_soname_ncurses+:} false; then :
11842 $as_echo_n "(cached) " >&6
11843 else
11844 ac_check_soname_save_LIBS=$LIBS
11845 LIBS="-lncurses $LIBS"
11846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11847 /* end confdefs.h. */
11849 /* Override any GCC internal prototype to avoid an error.
11850 Use char because int might match the return type of a GCC
11851 builtin and then its argument prototype would still apply. */
11852 #ifdef __cplusplus
11853 extern "C"
11854 #endif
11855 char waddch ();
11857 main ()
11859 return waddch ();
11861 return 0;
11863 _ACEOF
11864 if ac_fn_c_try_link "$LINENO"; then :
11865 case "$LIBEXT" in
11866 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11867 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'` ;;
11868 *) 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'`
11869 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11870 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11871 fi ;;
11872 esac
11874 rm -f core conftest.err conftest.$ac_objext \
11875 conftest$ac_exeext conftest.$ac_ext
11876 LIBS=$ac_check_soname_save_LIBS
11878 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11880 $as_echo "not found" >&6; }
11882 else
11883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11884 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11886 cat >>confdefs.h <<_ACEOF
11887 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11888 _ACEOF
11890 CURSES_LIBS="-lncurses"
11892 elif test "$ac_cv_header_curses_h" = "yes"
11893 then
11894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11895 $as_echo_n "checking for -lcurses... " >&6; }
11896 if ${ac_cv_lib_soname_curses+:} false; then :
11897 $as_echo_n "(cached) " >&6
11898 else
11899 ac_check_soname_save_LIBS=$LIBS
11900 LIBS="-lcurses $LIBS"
11901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11902 /* end confdefs.h. */
11904 /* Override any GCC internal prototype to avoid an error.
11905 Use char because int might match the return type of a GCC
11906 builtin and then its argument prototype would still apply. */
11907 #ifdef __cplusplus
11908 extern "C"
11909 #endif
11910 char waddch ();
11912 main ()
11914 return waddch ();
11916 return 0;
11918 _ACEOF
11919 if ac_fn_c_try_link "$LINENO"; then :
11920 case "$LIBEXT" in
11921 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11922 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'` ;;
11923 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11924 if ${ac_cv_lib_soname_curses:+false} :; then :
11925 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11926 fi ;;
11927 esac
11929 rm -f core conftest.err conftest.$ac_objext \
11930 conftest$ac_exeext conftest.$ac_ext
11931 LIBS=$ac_check_soname_save_LIBS
11933 if ${ac_cv_lib_soname_curses:+false} :; then :
11934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11935 $as_echo "not found" >&6; }
11937 else
11938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11939 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11941 cat >>confdefs.h <<_ACEOF
11942 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11943 _ACEOF
11945 CURSES_LIBS="-lcurses"
11948 ac_save_LIBS="$LIBS"
11949 LIBS="$LIBS $CURSES_LIBS"
11950 for ac_func in mousemask
11951 do :
11952 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11953 if test "x$ac_cv_func_mousemask" = xyes; then :
11954 cat >>confdefs.h <<_ACEOF
11955 #define HAVE_MOUSEMASK 1
11956 _ACEOF
11959 done
11961 LIBS="$ac_save_LIBS"
11962 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11963 case "x$with_curses" in
11964 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11965 xno) ;;
11966 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11967 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11968 esac
11972 if test "x$with_sane" != "xno"
11973 then
11974 if ${SANE_CFLAGS:+false} :; then :
11975 if ${PKG_CONFIG+:} false; then :
11976 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11979 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11980 if ${SANE_LIBS:+false} :; then :
11981 if ${PKG_CONFIG+:} false; then :
11982 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11985 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11987 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11988 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11989 ac_save_CPPFLAGS=$CPPFLAGS
11990 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11991 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11992 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11994 $as_echo_n "checking for -lsane... " >&6; }
11995 if ${ac_cv_lib_soname_sane+:} false; then :
11996 $as_echo_n "(cached) " >&6
11997 else
11998 ac_check_soname_save_LIBS=$LIBS
11999 LIBS="-lsane $SANE_LIBS $LIBS"
12000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12001 /* end confdefs.h. */
12003 /* Override any GCC internal prototype to avoid an error.
12004 Use char because int might match the return type of a GCC
12005 builtin and then its argument prototype would still apply. */
12006 #ifdef __cplusplus
12007 extern "C"
12008 #endif
12009 char sane_init ();
12011 main ()
12013 return sane_init ();
12015 return 0;
12017 _ACEOF
12018 if ac_fn_c_try_link "$LINENO"; then :
12019 case "$LIBEXT" in
12020 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12021 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'` ;;
12022 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12023 if ${ac_cv_lib_soname_sane:+false} :; then :
12024 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12025 fi ;;
12026 esac
12028 rm -f core conftest.err conftest.$ac_objext \
12029 conftest$ac_exeext conftest.$ac_ext
12030 LIBS=$ac_check_soname_save_LIBS
12032 if ${ac_cv_lib_soname_sane:+false} :; then :
12033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12034 $as_echo "not found" >&6; }
12035 SANE_CFLAGS=""
12036 else
12037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12038 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12040 cat >>confdefs.h <<_ACEOF
12041 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12042 _ACEOF
12046 else
12047 SANE_CFLAGS=""
12051 CPPFLAGS=$ac_save_CPPFLAGS
12052 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12053 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12056 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12057 case "x$with_sane" in
12058 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12059 xno) ;;
12060 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12061 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12062 esac
12066 if test "x$with_v4l" != "xno"
12067 then
12068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12069 $as_echo_n "checking for -lv4l1... " >&6; }
12070 if ${ac_cv_lib_soname_v4l1+:} false; then :
12071 $as_echo_n "(cached) " >&6
12072 else
12073 ac_check_soname_save_LIBS=$LIBS
12074 LIBS="-lv4l1 $LIBS"
12075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12076 /* end confdefs.h. */
12078 /* Override any GCC internal prototype to avoid an error.
12079 Use char because int might match the return type of a GCC
12080 builtin and then its argument prototype would still apply. */
12081 #ifdef __cplusplus
12082 extern "C"
12083 #endif
12084 char v4l1_open ();
12086 main ()
12088 return v4l1_open ();
12090 return 0;
12092 _ACEOF
12093 if ac_fn_c_try_link "$LINENO"; then :
12094 case "$LIBEXT" in
12095 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12096 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'` ;;
12097 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12098 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12099 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12100 fi ;;
12101 esac
12103 rm -f core conftest.err conftest.$ac_objext \
12104 conftest$ac_exeext conftest.$ac_ext
12105 LIBS=$ac_check_soname_save_LIBS
12107 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12109 $as_echo "not found" >&6; }
12111 else
12112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12113 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12115 cat >>confdefs.h <<_ACEOF
12116 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12117 _ACEOF
12122 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12123 case "x$with_v4l" in
12124 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12125 xno) ;;
12126 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12127 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12128 esac
12132 if test "x$with_gphoto" != "xno"
12133 then
12134 if ${GPHOTO2_CFLAGS:+false} :; then :
12135 if ${PKG_CONFIG+:} false; then :
12136 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12139 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12140 if ${GPHOTO2_LIBS:+false} :; then :
12141 if ${PKG_CONFIG+:} false; then :
12142 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12145 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12146 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12147 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12148 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12149 ac_save_CPPFLAGS=$CPPFLAGS
12150 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12151 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12152 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12154 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12155 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12156 $as_echo_n "(cached) " >&6
12157 else
12158 ac_check_lib_save_LIBS=$LIBS
12159 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12161 /* end confdefs.h. */
12163 /* Override any GCC internal prototype to avoid an error.
12164 Use char because int might match the return type of a GCC
12165 builtin and then its argument prototype would still apply. */
12166 #ifdef __cplusplus
12167 extern "C"
12168 #endif
12169 char gp_camera_new ();
12171 main ()
12173 return gp_camera_new ();
12175 return 0;
12177 _ACEOF
12178 if ac_fn_c_try_link "$LINENO"; then :
12179 ac_cv_lib_gphoto2_gp_camera_new=yes
12180 else
12181 ac_cv_lib_gphoto2_gp_camera_new=no
12183 rm -f core conftest.err conftest.$ac_objext \
12184 conftest$ac_exeext conftest.$ac_ext
12185 LIBS=$ac_check_lib_save_LIBS
12187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12188 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12189 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12191 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12193 else
12194 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12197 else
12198 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12202 CPPFLAGS=$ac_save_CPPFLAGS
12203 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12204 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12206 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12207 if ${PKG_CONFIG+:} false; then :
12208 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12211 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12212 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12213 if ${PKG_CONFIG+:} false; then :
12214 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12217 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12218 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12219 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12220 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12221 ac_save_CPPFLAGS=$CPPFLAGS
12222 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12223 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12224 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12226 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12227 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12228 $as_echo_n "(cached) " >&6
12229 else
12230 ac_check_lib_save_LIBS=$LIBS
12231 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12233 /* end confdefs.h. */
12235 /* Override any GCC internal prototype to avoid an error.
12236 Use char because int might match the return type of a GCC
12237 builtin and then its argument prototype would still apply. */
12238 #ifdef __cplusplus
12239 extern "C"
12240 #endif
12241 char gp_port_info_list_new ();
12243 main ()
12245 return gp_port_info_list_new ();
12247 return 0;
12249 _ACEOF
12250 if ac_fn_c_try_link "$LINENO"; then :
12251 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12252 else
12253 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12255 rm -f core conftest.err conftest.$ac_objext \
12256 conftest$ac_exeext conftest.$ac_ext
12257 LIBS=$ac_check_lib_save_LIBS
12259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12260 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12261 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12263 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12265 else
12266 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12269 else
12270 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12274 CPPFLAGS=$ac_save_CPPFLAGS
12275 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12276 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12279 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12280 case "x$with_gphoto" in
12281 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12282 xno) ;;
12283 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12284 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12285 esac
12288 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12289 case "x$with_gphoto" in
12290 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12291 xno) ;;
12292 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12293 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12294 esac
12299 if test "$ac_cv_header_resolv_h" = "yes"
12300 then
12301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12302 $as_echo_n "checking for resolver library... " >&6; }
12303 if ${ac_cv_have_resolv+:} false; then :
12304 $as_echo_n "(cached) " >&6
12305 else
12306 ac_save_LIBS="$LIBS"
12307 for lib in '' -lresolv
12309 LIBS="$lib $ac_save_LIBS"
12310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12311 /* end confdefs.h. */
12312 #ifdef HAVE_NETINET_IN_H
12313 #include <netinet/in.h>
12314 #endif
12315 #include <resolv.h>
12317 main ()
12319 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12321 return 0;
12323 _ACEOF
12324 if ac_fn_c_try_link "$LINENO"; then :
12325 ac_cv_have_resolv=${lib:-"none required"}
12326 else
12327 ac_cv_have_resolv="not found"
12329 rm -f core conftest.err conftest.$ac_objext \
12330 conftest$ac_exeext conftest.$ac_ext
12331 test "x$ac_cv_have_resolv" = "xnot found" || break
12332 done
12333 LIBS="$ac_save_LIBS"
12335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12336 $as_echo "$ac_cv_have_resolv" >&6; }
12338 case "$ac_cv_have_resolv" in
12339 "not found") ;;
12340 "none required")
12342 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12345 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12347 RESOLV_LIBS=$ac_cv_have_resolv
12349 esac
12352 if test "x$with_cms" != "xno"
12353 then
12354 if ${LCMS2_CFLAGS:+false} :; then :
12355 if ${PKG_CONFIG+:} false; then :
12356 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12360 if ${LCMS2_LIBS:+false} :; then :
12361 if ${PKG_CONFIG+:} false; then :
12362 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12366 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12367 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12368 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12369 ac_save_CPPFLAGS=$CPPFLAGS
12370 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12371 for ac_header in lcms2.h
12372 do :
12373 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12374 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12375 cat >>confdefs.h <<_ACEOF
12376 #define HAVE_LCMS2_H 1
12377 _ACEOF
12381 done
12383 if test "$ac_cv_header_lcms2_h" = "yes"
12384 then
12385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12386 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12387 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12388 $as_echo_n "(cached) " >&6
12389 else
12390 ac_check_lib_save_LIBS=$LIBS
12391 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12393 /* end confdefs.h. */
12395 /* Override any GCC internal prototype to avoid an error.
12396 Use char because int might match the return type of a GCC
12397 builtin and then its argument prototype would still apply. */
12398 #ifdef __cplusplus
12399 extern "C"
12400 #endif
12401 char cmsOpenProfileFromFile ();
12403 main ()
12405 return cmsOpenProfileFromFile ();
12407 return 0;
12409 _ACEOF
12410 if ac_fn_c_try_link "$LINENO"; then :
12411 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12412 else
12413 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12415 rm -f core conftest.err conftest.$ac_objext \
12416 conftest$ac_exeext conftest.$ac_ext
12417 LIBS=$ac_check_lib_save_LIBS
12419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12420 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12421 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12423 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12425 else
12426 LCMS2_LIBS=""
12429 else
12430 LCMS2_CFLAGS=""
12431 LCMS2_LIBS=""
12433 CPPFLAGS=$ac_save_CPPFLAGS
12434 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12435 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12438 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12439 case "x$with_cms" in
12440 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12441 xno) ;;
12442 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12443 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12444 esac
12448 if test "x$with_freetype" != "xno"
12449 then
12450 if ${FREETYPE_CFLAGS:+false} :; then :
12451 if ${PKG_CONFIG+:} false; then :
12452 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12455 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12456 if ${FREETYPE_LIBS:+false} :; then :
12457 if ${PKG_CONFIG+:} false; then :
12458 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12461 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12462 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12463 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12464 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12465 ac_save_CPPFLAGS=$CPPFLAGS
12466 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12467 for ac_header in ft2build.h
12468 do :
12469 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12470 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12471 cat >>confdefs.h <<_ACEOF
12472 #define HAVE_FT2BUILD_H 1
12473 _ACEOF
12477 done
12479 if test "$ac_cv_header_ft2build_h" = "yes"
12480 then
12481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12482 $as_echo_n "checking for -lfreetype... " >&6; }
12483 if ${ac_cv_lib_soname_freetype+:} false; then :
12484 $as_echo_n "(cached) " >&6
12485 else
12486 ac_check_soname_save_LIBS=$LIBS
12487 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12489 /* end confdefs.h. */
12491 /* Override any GCC internal prototype to avoid an error.
12492 Use char because int might match the return type of a GCC
12493 builtin and then its argument prototype would still apply. */
12494 #ifdef __cplusplus
12495 extern "C"
12496 #endif
12497 char FT_Init_FreeType ();
12499 main ()
12501 return FT_Init_FreeType ();
12503 return 0;
12505 _ACEOF
12506 if ac_fn_c_try_link "$LINENO"; then :
12507 case "$LIBEXT" in
12508 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12509 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'` ;;
12510 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12511 if ${ac_cv_lib_soname_freetype:+false} :; then :
12512 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12513 fi ;;
12514 esac
12516 rm -f core conftest.err conftest.$ac_objext \
12517 conftest$ac_exeext conftest.$ac_ext
12518 LIBS=$ac_check_soname_save_LIBS
12520 if ${ac_cv_lib_soname_freetype:+false} :; then :
12521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12522 $as_echo "not found" >&6; }
12523 FREETYPE_LIBS=""
12524 else
12525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12526 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12528 cat >>confdefs.h <<_ACEOF
12529 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12530 _ACEOF
12533 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12535 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12536 #include FT_MODULE_H
12538 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12540 cat >>confdefs.h <<_ACEOF
12541 #define HAVE_FT_TRUETYPEENGINETYPE 1
12542 _ACEOF
12548 else
12549 FREETYPE_CFLAGS=""
12550 FREETYPE_LIBS=""
12552 CPPFLAGS=$ac_save_CPPFLAGS
12553 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12554 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12557 if test "x$ac_cv_lib_soname_freetype" = x; then :
12558 case "x$with_freetype" in
12559 xno) ;;
12560 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12561 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12562 esac
12563 enable_fonts=${enable_fonts:-no}
12566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12567 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12568 if ${ac_cv_c_ppdev+:} false; then :
12569 $as_echo_n "(cached) " >&6
12570 else
12571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12572 /* end confdefs.h. */
12573 #ifdef HAVE_SYS_IOCTL_H
12574 # include <sys/ioctl.h>
12575 #endif
12576 #include <linux/ppdev.h>
12578 main ()
12580 ioctl (1,PPCLAIM,0)
12582 return 0;
12584 _ACEOF
12585 if ac_fn_c_try_compile "$LINENO"; then :
12586 ac_cv_c_ppdev="yes"
12587 else
12588 ac_cv_c_ppdev="no"
12590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12593 $as_echo "$ac_cv_c_ppdev" >&6; }
12594 if test "$ac_cv_c_ppdev" = "yes"
12595 then
12597 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12601 ac_wine_check_funcs_save_LIBS="$LIBS"
12602 LIBS="$LIBS $PTHREAD_LIBS"
12603 for ac_func in \
12604 pthread_attr_get_np \
12605 pthread_getattr_np \
12606 pthread_getthreadid_np \
12607 pthread_get_stackaddr_np \
12608 pthread_get_stacksize_np
12609 do :
12610 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12611 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12612 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12613 cat >>confdefs.h <<_ACEOF
12614 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12615 _ACEOF
12618 done
12620 LIBS="$ac_wine_check_funcs_save_LIBS"
12622 if test "$ac_cv_header_zlib_h" = "yes"
12623 then
12624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12625 $as_echo_n "checking for inflate in -lz... " >&6; }
12626 if ${ac_cv_lib_z_inflate+:} false; then :
12627 $as_echo_n "(cached) " >&6
12628 else
12629 ac_check_lib_save_LIBS=$LIBS
12630 LIBS="-lz $LIBS"
12631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12632 /* end confdefs.h. */
12634 /* Override any GCC internal prototype to avoid an error.
12635 Use char because int might match the return type of a GCC
12636 builtin and then its argument prototype would still apply. */
12637 #ifdef __cplusplus
12638 extern "C"
12639 #endif
12640 char inflate ();
12642 main ()
12644 return inflate ();
12646 return 0;
12648 _ACEOF
12649 if ac_fn_c_try_link "$LINENO"; then :
12650 ac_cv_lib_z_inflate=yes
12651 else
12652 ac_cv_lib_z_inflate=no
12654 rm -f core conftest.err conftest.$ac_objext \
12655 conftest$ac_exeext conftest.$ac_ext
12656 LIBS=$ac_check_lib_save_LIBS
12658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12659 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12660 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12662 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12664 Z_LIBS="-lz"
12669 if test "x$Z_LIBS" = "x"; then :
12670 case "x$with_zlib" in
12671 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12672 xno) ;;
12673 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12674 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12675 esac
12679 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12680 then
12681 if test "$ac_cv_header_gettext_po_h" = "yes"
12682 then
12683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12684 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12685 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12686 $as_echo_n "(cached) " >&6
12687 else
12688 ac_check_lib_save_LIBS=$LIBS
12689 LIBS="-lgettextpo $LIBS"
12690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12691 /* end confdefs.h. */
12693 /* Override any GCC internal prototype to avoid an error.
12694 Use char because int might match the return type of a GCC
12695 builtin and then its argument prototype would still apply. */
12696 #ifdef __cplusplus
12697 extern "C"
12698 #endif
12699 char po_message_msgctxt ();
12701 main ()
12703 return po_message_msgctxt ();
12705 return 0;
12707 _ACEOF
12708 if ac_fn_c_try_link "$LINENO"; then :
12709 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12710 else
12711 ac_cv_lib_gettextpo_po_message_msgctxt=no
12713 rm -f core conftest.err conftest.$ac_objext \
12714 conftest$ac_exeext conftest.$ac_ext
12715 LIBS=$ac_check_lib_save_LIBS
12717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12718 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12719 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12721 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12723 GETTEXTPO_LIBS="-lgettextpo"
12728 if test "x$GETTEXTPO_LIBS" = "x"; then :
12729 case "x$with_gettextpo" in
12730 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12731 xno) ;;
12732 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12733 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12734 esac
12737 if test "$srcdir" != .; then :
12738 case "x$with_gettextpo" in
12739 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12740 xno) ;;
12741 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12742 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12743 esac
12748 if test "x$with_pulse" != "xno";
12749 then
12750 if ${PULSE_CFLAGS:+false} :; then :
12751 if ${PKG_CONFIG+:} false; then :
12752 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12756 if ${PULSE_LIBS:+false} :; then :
12757 if ${PKG_CONFIG+:} false; then :
12758 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12763 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12764 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12765 ac_save_CPPFLAGS=$CPPFLAGS
12766 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12767 for ac_header in pulse/pulseaudio.h
12768 do :
12769 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12770 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12771 cat >>confdefs.h <<_ACEOF
12772 #define HAVE_PULSE_PULSEAUDIO_H 1
12773 _ACEOF
12774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12775 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12776 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12777 $as_echo_n "(cached) " >&6
12778 else
12779 ac_check_lib_save_LIBS=$LIBS
12780 LIBS="-lpulse $PULSE_LIBS $LIBS"
12781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12782 /* end confdefs.h. */
12784 /* Override any GCC internal prototype to avoid an error.
12785 Use char because int might match the return type of a GCC
12786 builtin and then its argument prototype would still apply. */
12787 #ifdef __cplusplus
12788 extern "C"
12789 #endif
12790 char pa_stream_is_corked ();
12792 main ()
12794 return pa_stream_is_corked ();
12796 return 0;
12798 _ACEOF
12799 if ac_fn_c_try_link "$LINENO"; then :
12800 ac_cv_lib_pulse_pa_stream_is_corked=yes
12801 else
12802 ac_cv_lib_pulse_pa_stream_is_corked=no
12804 rm -f core conftest.err conftest.$ac_objext \
12805 conftest$ac_exeext conftest.$ac_ext
12806 LIBS=$ac_check_lib_save_LIBS
12808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12809 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12810 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12812 else
12813 PULSE_LIBS=""
12816 else
12817 PULSE_LIBS=""
12820 done
12822 CPPFLAGS=$ac_save_CPPFLAGS
12823 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12824 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12827 if test -z "$PULSE_LIBS"; then :
12828 case "x$with_pulse" in
12829 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12830 xno) ;;
12831 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12832 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12833 esac
12834 enable_winepulse_drv=${enable_winepulse_drv:-no}
12837 if test "x$with_gstreamer" != "xno"
12838 then
12839 if ${GSTREAMER_CFLAGS:+false} :; then :
12840 if ${PKG_CONFIG+:} false; then :
12841 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12845 if ${GSTREAMER_LIBS:+false} :; then :
12846 if ${PKG_CONFIG+:} false; then :
12847 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12852 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12853 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12854 ac_save_CPPFLAGS=$CPPFLAGS
12855 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12856 ac_gst_incl=""
12857 for i in $GSTREAMER_CFLAGS
12859 case "$i" in
12860 -I*) ac_gst_incl="$ac_gst_incl $i";;
12861 esac
12862 done
12863 GSTREAMER_CFLAGS=$ac_gst_incl
12864 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12865 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12866 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12868 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12870 /* end confdefs.h. */
12871 #include <gst/gst.h>
12873 main ()
12875 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12877 return 0;
12879 _ACEOF
12880 if ac_fn_c_try_compile "$LINENO"; then :
12881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12882 $as_echo "yes" >&6; }
12883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12884 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12885 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12886 $as_echo_n "(cached) " >&6
12887 else
12888 ac_check_lib_save_LIBS=$LIBS
12889 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12891 /* end confdefs.h. */
12893 /* Override any GCC internal prototype to avoid an error.
12894 Use char because int might match the return type of a GCC
12895 builtin and then its argument prototype would still apply. */
12896 #ifdef __cplusplus
12897 extern "C"
12898 #endif
12899 char gst_pad_new ();
12901 main ()
12903 return gst_pad_new ();
12905 return 0;
12907 _ACEOF
12908 if ac_fn_c_try_link "$LINENO"; then :
12909 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12910 else
12911 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12913 rm -f core conftest.err conftest.$ac_objext \
12914 conftest$ac_exeext conftest.$ac_ext
12915 LIBS=$ac_check_lib_save_LIBS
12917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12918 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12919 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12923 else
12924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12925 $as_echo "no" >&6; }
12926 ac_glib2_broken=yes
12927 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12933 CPPFLAGS=$ac_save_CPPFLAGS
12934 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12935 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12938 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 :
12939 case "x$with_gstreamer" in
12940 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
12941 xno) ;;
12942 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
12943 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12944 esac
12947 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12949 ALSA_LIBS=""
12951 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12952 then
12953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12954 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12955 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12956 $as_echo_n "(cached) " >&6
12957 else
12958 ac_check_lib_save_LIBS=$LIBS
12959 LIBS="-lasound $LIBS"
12960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12961 /* end confdefs.h. */
12963 /* Override any GCC internal prototype to avoid an error.
12964 Use char because int might match the return type of a GCC
12965 builtin and then its argument prototype would still apply. */
12966 #ifdef __cplusplus
12967 extern "C"
12968 #endif
12969 char snd_pcm_hw_params_get_access_mask ();
12971 main ()
12973 return snd_pcm_hw_params_get_access_mask ();
12975 return 0;
12977 _ACEOF
12978 if ac_fn_c_try_link "$LINENO"; then :
12979 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12980 else
12981 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12983 rm -f core conftest.err conftest.$ac_objext \
12984 conftest$ac_exeext conftest.$ac_ext
12985 LIBS=$ac_check_lib_save_LIBS
12987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12988 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12989 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12991 /* end confdefs.h. */
12992 #ifdef HAVE_ALSA_ASOUNDLIB_H
12993 #include <alsa/asoundlib.h>
12994 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12995 #include <sys/asoundlib.h>
12996 #endif
12998 main ()
13000 snd_pcm_hw_params_get_access_mask(NULL, NULL)
13002 return 0;
13004 _ACEOF
13005 if ac_fn_c_try_compile "$LINENO"; then :
13006 ALSA_LIBS="-lasound"
13008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13012 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13014 if test "x$with_oss" != xno
13015 then
13016 ac_save_CPPFLAGS="$CPPFLAGS"
13017 if test -f /etc/oss.conf
13018 then
13019 . /etc/oss.conf
13021 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
13022 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
13023 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13024 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
13025 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13027 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
13029 cat >>confdefs.h <<_ACEOF
13030 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13031 _ACEOF
13033 OSS4_CFLAGS="$ac_oss_incl"
13040 CPPFLAGS="$ac_save_CPPFLAGS"
13042 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13043 case "x$with_oss" in
13044 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13045 xno) ;;
13046 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13047 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13048 esac
13049 enable_wineoss_drv=${enable_wineoss_drv:-no}
13052 if test "x$with_udev" != "xno"
13053 then
13054 if ${UDEV_CFLAGS:+false} :; then :
13055 if ${PKG_CONFIG+:} false; then :
13056 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13060 if ${UDEV_LIBS:+false} :; then :
13061 if ${PKG_CONFIG+:} false; then :
13062 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13066 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13067 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13068 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13069 ac_save_CPPFLAGS=$CPPFLAGS
13070 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13071 for ac_header in libudev.h
13072 do :
13073 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13074 if test "x$ac_cv_header_libudev_h" = xyes; then :
13075 cat >>confdefs.h <<_ACEOF
13076 #define HAVE_LIBUDEV_H 1
13077 _ACEOF
13078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13079 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13080 if ${ac_cv_lib_udev_udev_new+:} false; then :
13081 $as_echo_n "(cached) " >&6
13082 else
13083 ac_check_lib_save_LIBS=$LIBS
13084 LIBS="-ludev $UDEV_LIBS $LIBS"
13085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13086 /* end confdefs.h. */
13088 /* Override any GCC internal prototype to avoid an error.
13089 Use char because int might match the return type of a GCC
13090 builtin and then its argument prototype would still apply. */
13091 #ifdef __cplusplus
13092 extern "C"
13093 #endif
13094 char udev_new ();
13096 main ()
13098 return udev_new ();
13100 return 0;
13102 _ACEOF
13103 if ac_fn_c_try_link "$LINENO"; then :
13104 ac_cv_lib_udev_udev_new=yes
13105 else
13106 ac_cv_lib_udev_udev_new=no
13108 rm -f core conftest.err conftest.$ac_objext \
13109 conftest$ac_exeext conftest.$ac_ext
13110 LIBS=$ac_check_lib_save_LIBS
13112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13113 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13114 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13116 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13118 else
13119 UDEV_LIBS=""
13122 else
13123 UDEV_LIBS=""
13126 done
13128 CPPFLAGS=$ac_save_CPPFLAGS
13129 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13130 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13133 if test "x$UDEV_LIBS" = "x"; then :
13134 case "x$with_udev" in
13135 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13136 xno) ;;
13137 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13138 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13139 esac
13143 if test "x$with_sdl" != "xno"
13144 then
13145 if ${SDL2_CFLAGS:+false} :; then :
13146 if ${PKG_CONFIG+:} false; then :
13147 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
13151 if ${SDL2_LIBS:+false} :; then :
13152 if ${PKG_CONFIG+:} false; then :
13153 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
13157 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
13158 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
13159 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
13160 ac_save_CPPFLAGS=$CPPFLAGS
13161 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
13162 for ac_header in SDL2/SDL.h
13163 do :
13164 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
13165 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
13166 cat >>confdefs.h <<_ACEOF
13167 #define HAVE_SDL2_SDL_H 1
13168 _ACEOF
13169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
13170 $as_echo_n "checking for -lSDL2... " >&6; }
13171 if ${ac_cv_lib_soname_SDL2+:} false; then :
13172 $as_echo_n "(cached) " >&6
13173 else
13174 ac_check_soname_save_LIBS=$LIBS
13175 LIBS="-lSDL2 $LIBS"
13176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13177 /* end confdefs.h. */
13179 /* Override any GCC internal prototype to avoid an error.
13180 Use char because int might match the return type of a GCC
13181 builtin and then its argument prototype would still apply. */
13182 #ifdef __cplusplus
13183 extern "C"
13184 #endif
13185 char SDL_Init ();
13187 main ()
13189 return SDL_Init ();
13191 return 0;
13193 _ACEOF
13194 if ac_fn_c_try_link "$LINENO"; then :
13195 case "$LIBEXT" in
13196 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13197 dylib) ac_cv_lib_soname_SDL2=`$OTOOL -L conftest$ac_exeext | grep "libSDL2-2.0*\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libSDL2-2.0*\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
13198 *) ac_cv_lib_soname_SDL2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libSDL2-2.0*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13199 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13200 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13201 fi ;;
13202 esac
13204 rm -f core conftest.err conftest.$ac_objext \
13205 conftest$ac_exeext conftest.$ac_ext
13206 LIBS=$ac_check_soname_save_LIBS
13208 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13210 $as_echo "not found" >&6; }
13212 else
13213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
13214 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
13216 cat >>confdefs.h <<_ACEOF
13217 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
13218 _ACEOF
13224 done
13226 CPPFLAGS=$ac_save_CPPFLAGS
13227 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13228 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13231 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
13232 case "x$with_sdl" in
13233 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
13234 xno) ;;
13235 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
13236 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
13237 esac
13241 if test "x$with_capi" != "xno"
13242 then
13243 if ${CAPI20_CFLAGS:+false} :; then :
13244 if ${PKG_CONFIG+:} false; then :
13245 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13249 if ${CAPI20_LIBS:+false} :; then :
13250 if ${PKG_CONFIG+:} false; then :
13251 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13256 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13257 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13258 ac_save_CPPFLAGS=$CPPFLAGS
13259 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13260 for ac_header in capi20.h linux/capi.h
13261 do :
13262 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13263 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13265 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13266 cat >>confdefs.h <<_ACEOF
13267 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13268 _ACEOF
13272 done
13274 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13275 then
13276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13277 $as_echo_n "checking for -lcapi20... " >&6; }
13278 if ${ac_cv_lib_soname_capi20+:} false; then :
13279 $as_echo_n "(cached) " >&6
13280 else
13281 ac_check_soname_save_LIBS=$LIBS
13282 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13284 /* end confdefs.h. */
13286 /* Override any GCC internal prototype to avoid an error.
13287 Use char because int might match the return type of a GCC
13288 builtin and then its argument prototype would still apply. */
13289 #ifdef __cplusplus
13290 extern "C"
13291 #endif
13292 char capi20_register ();
13294 main ()
13296 return capi20_register ();
13298 return 0;
13300 _ACEOF
13301 if ac_fn_c_try_link "$LINENO"; then :
13302 case "$LIBEXT" in
13303 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13304 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'` ;;
13305 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13306 if ${ac_cv_lib_soname_capi20:+false} :; then :
13307 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13308 fi ;;
13309 esac
13311 rm -f core conftest.err conftest.$ac_objext \
13312 conftest$ac_exeext conftest.$ac_ext
13313 LIBS=$ac_check_soname_save_LIBS
13315 if ${ac_cv_lib_soname_capi20:+false} :; then :
13316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13317 $as_echo "not found" >&6; }
13319 else
13320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13321 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13323 cat >>confdefs.h <<_ACEOF
13324 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13325 _ACEOF
13330 CPPFLAGS=$ac_save_CPPFLAGS
13331 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13332 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13335 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13336 case "x$with_capi" in
13337 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13338 xno) ;;
13339 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13340 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13341 esac
13345 if test "x$with_cups" != "xno"
13346 then
13347 if ${CUPS_CFLAGS:+false} :; then :
13348 if ${PKG_CONFIG+:} false; then :
13349 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
13352 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
13353 if ${CUPS_LIBS:+false} :; then :
13354 if ${PKG_CONFIG+:} false; then :
13355 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
13358 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
13359 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
13360 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
13361 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
13362 ac_save_CPPFLAGS=$CPPFLAGS
13363 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
13364 for ac_header in cups/cups.h cups/ppd.h
13365 do :
13366 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13367 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13368 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13369 cat >>confdefs.h <<_ACEOF
13370 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13371 _ACEOF
13375 done
13377 if test "$ac_cv_header_cups_cups_h" = "yes"
13378 then
13379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13380 $as_echo_n "checking for -lcups... " >&6; }
13381 if ${ac_cv_lib_soname_cups+:} false; then :
13382 $as_echo_n "(cached) " >&6
13383 else
13384 ac_check_soname_save_LIBS=$LIBS
13385 LIBS="-lcups $CUPS_LIBS $LIBS"
13386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13387 /* end confdefs.h. */
13389 /* Override any GCC internal prototype to avoid an error.
13390 Use char because int might match the return type of a GCC
13391 builtin and then its argument prototype would still apply. */
13392 #ifdef __cplusplus
13393 extern "C"
13394 #endif
13395 char cupsGetDefault ();
13397 main ()
13399 return cupsGetDefault ();
13401 return 0;
13403 _ACEOF
13404 if ac_fn_c_try_link "$LINENO"; then :
13405 case "$LIBEXT" in
13406 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13407 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'` ;;
13408 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13409 if ${ac_cv_lib_soname_cups:+false} :; then :
13410 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13411 fi ;;
13412 esac
13414 rm -f core conftest.err conftest.$ac_objext \
13415 conftest$ac_exeext conftest.$ac_ext
13416 LIBS=$ac_check_soname_save_LIBS
13418 if ${ac_cv_lib_soname_cups:+false} :; then :
13419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13420 $as_echo "not found" >&6; }
13421 CUPS_LIBS=""
13422 else
13423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13424 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13426 cat >>confdefs.h <<_ACEOF
13427 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13428 _ACEOF
13432 else
13433 CUPS_CFLAGS=""
13434 CUPS_LIBS=""
13436 CPPFLAGS=$ac_save_CPPFLAGS
13437 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13438 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13441 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13442 case "x$with_cups" in
13443 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13444 xno) ;;
13445 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13446 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13447 esac
13451 if test "x$with_fontconfig" != "xno"
13452 then
13453 if ${FONTCONFIG_CFLAGS:+false} :; then :
13454 if ${PKG_CONFIG+:} false; then :
13455 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13458 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13459 if ${FONTCONFIG_LIBS:+false} :; then :
13460 if ${PKG_CONFIG+:} false; then :
13461 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13464 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13466 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13467 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13468 ac_save_CPPFLAGS=$CPPFLAGS
13469 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13470 for ac_header in fontconfig/fontconfig.h
13471 do :
13472 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13473 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13474 cat >>confdefs.h <<_ACEOF
13475 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13476 _ACEOF
13480 done
13482 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13483 then
13484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13485 $as_echo_n "checking for -lfontconfig... " >&6; }
13486 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13487 $as_echo_n "(cached) " >&6
13488 else
13489 ac_check_soname_save_LIBS=$LIBS
13490 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13492 /* end confdefs.h. */
13494 /* Override any GCC internal prototype to avoid an error.
13495 Use char because int might match the return type of a GCC
13496 builtin and then its argument prototype would still apply. */
13497 #ifdef __cplusplus
13498 extern "C"
13499 #endif
13500 char FcInit ();
13502 main ()
13504 return FcInit ();
13506 return 0;
13508 _ACEOF
13509 if ac_fn_c_try_link "$LINENO"; then :
13510 case "$LIBEXT" in
13511 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13512 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'` ;;
13513 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13514 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13515 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13516 fi ;;
13517 esac
13519 rm -f core conftest.err conftest.$ac_objext \
13520 conftest$ac_exeext conftest.$ac_ext
13521 LIBS=$ac_check_soname_save_LIBS
13523 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13525 $as_echo "not found" >&6; }
13526 FONTCONFIG_CFLAGS=""
13527 else
13528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13529 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13531 cat >>confdefs.h <<_ACEOF
13532 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13533 _ACEOF
13537 else
13538 FONTCONFIG_CFLAGS=""
13540 CPPFLAGS=$ac_save_CPPFLAGS
13541 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13542 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13545 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13546 case "x$with_fontconfig" in
13547 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13548 xno) ;;
13549 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13550 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13551 esac
13555 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13556 then
13557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13558 $as_echo_n "checking for -lgsm... " >&6; }
13559 if ${ac_cv_lib_soname_gsm+:} false; then :
13560 $as_echo_n "(cached) " >&6
13561 else
13562 ac_check_soname_save_LIBS=$LIBS
13563 LIBS="-lgsm $LIBS"
13564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13565 /* end confdefs.h. */
13567 /* Override any GCC internal prototype to avoid an error.
13568 Use char because int might match the return type of a GCC
13569 builtin and then its argument prototype would still apply. */
13570 #ifdef __cplusplus
13571 extern "C"
13572 #endif
13573 char gsm_create ();
13575 main ()
13577 return gsm_create ();
13579 return 0;
13581 _ACEOF
13582 if ac_fn_c_try_link "$LINENO"; then :
13583 case "$LIBEXT" in
13584 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13585 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'` ;;
13586 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13587 if ${ac_cv_lib_soname_gsm:+false} :; then :
13588 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13589 fi ;;
13590 esac
13592 rm -f core conftest.err conftest.$ac_objext \
13593 conftest$ac_exeext conftest.$ac_ext
13594 LIBS=$ac_check_soname_save_LIBS
13596 if ${ac_cv_lib_soname_gsm:+false} :; then :
13597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13598 $as_echo "not found" >&6; }
13600 else
13601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13602 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13604 cat >>confdefs.h <<_ACEOF
13605 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13606 _ACEOF
13611 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13612 case "x$with_gsm" in
13613 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13614 xno) ;;
13615 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13616 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13617 esac
13621 if test "x$with_krb5" != "xno"
13622 then
13623 if ${KRB5_CFLAGS:+false} :; then :
13624 if ${PKG_CONFIG+:} false; then :
13625 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
13628 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
13629 if ${KRB5_LIBS:+false} :; then :
13630 if ${PKG_CONFIG+:} false; then :
13631 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
13634 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
13636 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
13637 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
13638 ac_save_CPPFLAGS=$CPPFLAGS
13639 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
13640 for ac_header in krb5/krb5.h
13641 do :
13642 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
13643 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
13644 cat >>confdefs.h <<_ACEOF
13645 #define HAVE_KRB5_KRB5_H 1
13646 _ACEOF
13650 done
13652 if test "$ac_cv_header_krb5_krb5_h" = "yes"
13653 then
13654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
13655 $as_echo_n "checking for -lkrb5... " >&6; }
13656 if ${ac_cv_lib_soname_krb5+:} false; then :
13657 $as_echo_n "(cached) " >&6
13658 else
13659 ac_check_soname_save_LIBS=$LIBS
13660 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
13661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13662 /* end confdefs.h. */
13664 /* Override any GCC internal prototype to avoid an error.
13665 Use char because int might match the return type of a GCC
13666 builtin and then its argument prototype would still apply. */
13667 #ifdef __cplusplus
13668 extern "C"
13669 #endif
13670 char krb5_init_context ();
13672 main ()
13674 return krb5_init_context ();
13676 return 0;
13678 _ACEOF
13679 if ac_fn_c_try_link "$LINENO"; then :
13680 case "$LIBEXT" in
13681 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13682 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'` ;;
13683 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13684 if ${ac_cv_lib_soname_krb5:+false} :; then :
13685 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13686 fi ;;
13687 esac
13689 rm -f core conftest.err conftest.$ac_objext \
13690 conftest$ac_exeext conftest.$ac_ext
13691 LIBS=$ac_check_soname_save_LIBS
13693 if ${ac_cv_lib_soname_krb5:+false} :; then :
13694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13695 $as_echo "not found" >&6; }
13696 KRB5_CFLAGS=""
13697 else
13698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
13699 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
13701 cat >>confdefs.h <<_ACEOF
13702 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
13703 _ACEOF
13707 else
13708 KRB5_CFLAGS=""
13710 CPPFLAGS=$ac_save_CPPFLAGS
13711 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13712 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13715 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
13716 case "x$with_krb5" in
13717 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found, Kerberos won't be supported." ;;
13718 xno) ;;
13719 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found, Kerberos won't be supported.
13720 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
13721 esac
13725 if test "x$with_gssapi" != "xno"
13726 then
13727 if ${GSSAPI_CFLAGS:+false} :; then :
13728 if ${PKG_CONFIG+:} false; then :
13729 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
13732 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
13733 if ${GSSAPI_LIBS:+false} :; then :
13734 if ${PKG_CONFIG+:} false; then :
13735 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
13738 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
13740 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
13741 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
13742 ac_save_CPPFLAGS=$CPPFLAGS
13743 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
13744 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
13745 do :
13746 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13747 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13748 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13749 cat >>confdefs.h <<_ACEOF
13750 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13751 _ACEOF
13755 done
13757 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
13758 then
13759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
13760 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
13761 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
13762 $as_echo_n "(cached) " >&6
13763 else
13764 ac_check_soname_save_LIBS=$LIBS
13765 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
13766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13767 /* end confdefs.h. */
13769 /* Override any GCC internal prototype to avoid an error.
13770 Use char because int might match the return type of a GCC
13771 builtin and then its argument prototype would still apply. */
13772 #ifdef __cplusplus
13773 extern "C"
13774 #endif
13775 char gss_init_sec_context ();
13777 main ()
13779 return gss_init_sec_context ();
13781 return 0;
13783 _ACEOF
13784 if ac_fn_c_try_link "$LINENO"; then :
13785 case "$LIBEXT" in
13786 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13787 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'` ;;
13788 *) 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'`
13789 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
13790 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13791 fi ;;
13792 esac
13794 rm -f core conftest.err conftest.$ac_objext \
13795 conftest$ac_exeext conftest.$ac_ext
13796 LIBS=$ac_check_soname_save_LIBS
13798 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
13799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13800 $as_echo "not found" >&6; }
13801 GSSAPI_CFLAGS=""
13802 else
13803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
13804 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
13806 cat >>confdefs.h <<_ACEOF
13807 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
13808 _ACEOF
13812 else
13813 GSSAPI_CFLAGS=""
13815 CPPFLAGS=$ac_save_CPPFLAGS
13816 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13817 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13820 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
13821 case "x$with_gssapi" in
13822 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
13823 xno) ;;
13824 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
13825 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
13826 esac
13830 if test "x$with_jpeg" != "xno"
13831 then
13832 if ${JPEG_CFLAGS:+false} :; then :
13833 if ${PKG_CONFIG+:} false; then :
13834 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13838 if ${JPEG_LIBS:+false} :; then :
13839 if ${PKG_CONFIG+:} false; then :
13840 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13845 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13846 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13847 ac_save_CPPFLAGS=$CPPFLAGS
13848 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13849 for ac_header in jpeglib.h
13850 do :
13851 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13852 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13853 cat >>confdefs.h <<_ACEOF
13854 #define HAVE_JPEGLIB_H 1
13855 _ACEOF
13859 done
13861 if test "$ac_cv_header_jpeglib_h" = "yes"
13862 then
13863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13864 $as_echo_n "checking for -ljpeg... " >&6; }
13865 if ${ac_cv_lib_soname_jpeg+:} false; then :
13866 $as_echo_n "(cached) " >&6
13867 else
13868 ac_check_soname_save_LIBS=$LIBS
13869 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13871 /* end confdefs.h. */
13873 /* Override any GCC internal prototype to avoid an error.
13874 Use char because int might match the return type of a GCC
13875 builtin and then its argument prototype would still apply. */
13876 #ifdef __cplusplus
13877 extern "C"
13878 #endif
13879 char jpeg_start_decompress ();
13881 main ()
13883 return jpeg_start_decompress ();
13885 return 0;
13887 _ACEOF
13888 if ac_fn_c_try_link "$LINENO"; then :
13889 case "$LIBEXT" in
13890 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13891 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'` ;;
13892 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13893 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13894 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13895 fi ;;
13896 esac
13898 rm -f core conftest.err conftest.$ac_objext \
13899 conftest$ac_exeext conftest.$ac_ext
13900 LIBS=$ac_check_soname_save_LIBS
13902 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13904 $as_echo "not found" >&6; }
13905 JPEG_CFLAGS=""
13906 else
13907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13908 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13910 cat >>confdefs.h <<_ACEOF
13911 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13912 _ACEOF
13916 else
13917 JPEG_CFLAGS=""
13919 CPPFLAGS=$ac_save_CPPFLAGS
13920 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13921 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13924 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13925 case "x$with_jpeg" in
13926 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13927 xno) ;;
13928 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13929 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13930 esac
13934 if test "x$with_png" != "xno"
13935 then
13936 if ${PNG_CFLAGS:+false} :; then :
13937 if ${PKG_CONFIG+:} false; then :
13938 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13941 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13942 if ${PNG_LIBS:+false} :; then :
13943 if ${PKG_CONFIG+:} false; then :
13944 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13947 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13949 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13950 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13951 ac_save_CPPFLAGS=$CPPFLAGS
13952 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13953 for ac_header in png.h
13954 do :
13955 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13956 if test "x$ac_cv_header_png_h" = xyes; then :
13957 cat >>confdefs.h <<_ACEOF
13958 #define HAVE_PNG_H 1
13959 _ACEOF
13963 done
13965 if test "$ac_cv_header_png_h" = "yes"
13966 then
13967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13968 $as_echo_n "checking for -lpng... " >&6; }
13969 if ${ac_cv_lib_soname_png+:} false; then :
13970 $as_echo_n "(cached) " >&6
13971 else
13972 ac_check_soname_save_LIBS=$LIBS
13973 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13975 /* end confdefs.h. */
13977 /* Override any GCC internal prototype to avoid an error.
13978 Use char because int might match the return type of a GCC
13979 builtin and then its argument prototype would still apply. */
13980 #ifdef __cplusplus
13981 extern "C"
13982 #endif
13983 char png_create_read_struct ();
13985 main ()
13987 return png_create_read_struct ();
13989 return 0;
13991 _ACEOF
13992 if ac_fn_c_try_link "$LINENO"; then :
13993 case "$LIBEXT" in
13994 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13995 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'` ;;
13996 *) 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'`
13997 if ${ac_cv_lib_soname_png:+false} :; then :
13998 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13999 fi ;;
14000 esac
14002 rm -f core conftest.err conftest.$ac_objext \
14003 conftest$ac_exeext conftest.$ac_ext
14004 LIBS=$ac_check_soname_save_LIBS
14006 if ${ac_cv_lib_soname_png:+false} :; then :
14007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14008 $as_echo "not found" >&6; }
14009 PNG_CFLAGS=""
14010 else
14011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
14012 $as_echo "$ac_cv_lib_soname_png" >&6; }
14014 cat >>confdefs.h <<_ACEOF
14015 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
14016 _ACEOF
14020 else
14021 PNG_CFLAGS=""
14023 CPPFLAGS=$ac_save_CPPFLAGS
14024 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14025 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14028 if test "x$ac_cv_lib_soname_png" = "x"; then :
14029 case "x$with_png" in
14030 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
14031 xno) ;;
14032 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
14033 This is an error since --with-png was requested." "$LINENO" 5 ;;
14034 esac
14038 if test "x$with_tiff" != "xno"
14039 then
14040 if ${TIFF_CFLAGS:+false} :; then :
14041 if ${PKG_CONFIG+:} false; then :
14042 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
14046 if ${TIFF_LIBS:+false} :; then :
14047 if ${PKG_CONFIG+:} false; then :
14048 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
14053 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
14054 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
14055 ac_save_CPPFLAGS=$CPPFLAGS
14056 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
14057 for ac_header in tiffio.h
14058 do :
14059 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
14060 if test "x$ac_cv_header_tiffio_h" = xyes; then :
14061 cat >>confdefs.h <<_ACEOF
14062 #define HAVE_TIFFIO_H 1
14063 _ACEOF
14067 done
14069 if test "$ac_cv_header_tiffio_h" = "yes"
14070 then
14071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
14072 $as_echo_n "checking for -ltiff... " >&6; }
14073 if ${ac_cv_lib_soname_tiff+:} false; then :
14074 $as_echo_n "(cached) " >&6
14075 else
14076 ac_check_soname_save_LIBS=$LIBS
14077 LIBS="-ltiff $TIFF_LIBS $LIBS"
14078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14079 /* end confdefs.h. */
14081 /* Override any GCC internal prototype to avoid an error.
14082 Use char because int might match the return type of a GCC
14083 builtin and then its argument prototype would still apply. */
14084 #ifdef __cplusplus
14085 extern "C"
14086 #endif
14087 char TIFFClientOpen ();
14089 main ()
14091 return TIFFClientOpen ();
14093 return 0;
14095 _ACEOF
14096 if ac_fn_c_try_link "$LINENO"; then :
14097 case "$LIBEXT" in
14098 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14099 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'` ;;
14100 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14101 if ${ac_cv_lib_soname_tiff:+false} :; then :
14102 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14103 fi ;;
14104 esac
14106 rm -f core conftest.err conftest.$ac_objext \
14107 conftest$ac_exeext conftest.$ac_ext
14108 LIBS=$ac_check_soname_save_LIBS
14110 if ${ac_cv_lib_soname_tiff:+false} :; then :
14111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14112 $as_echo "not found" >&6; }
14114 else
14115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
14116 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
14118 cat >>confdefs.h <<_ACEOF
14119 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
14120 _ACEOF
14125 CPPFLAGS=$ac_save_CPPFLAGS
14126 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14127 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14130 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
14131 case "x$with_tiff" in
14132 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
14133 xno) ;;
14134 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
14135 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14136 esac
14140 if test "x$with_mpg123" != "xno"
14141 then
14142 if ${MPG123_CFLAGS:+false} :; then :
14143 if ${PKG_CONFIG+:} false; then :
14144 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14148 if ${MPG123_LIBS:+false} :; then :
14149 if ${PKG_CONFIG+:} false; then :
14150 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14154 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
14155 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14156 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14157 ac_save_CPPFLAGS=$CPPFLAGS
14158 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
14159 for ac_header in mpg123.h
14160 do :
14161 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14162 if test "x$ac_cv_header_mpg123_h" = xyes; then :
14163 cat >>confdefs.h <<_ACEOF
14164 #define HAVE_MPG123_H 1
14165 _ACEOF
14169 done
14171 if test "$ac_cv_header_mpg123_h" = "yes"
14172 then
14173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14174 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14175 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
14176 $as_echo_n "(cached) " >&6
14177 else
14178 ac_check_lib_save_LIBS=$LIBS
14179 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
14180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14181 /* end confdefs.h. */
14183 /* Override any GCC internal prototype to avoid an error.
14184 Use char because int might match the return type of a GCC
14185 builtin and then its argument prototype would still apply. */
14186 #ifdef __cplusplus
14187 extern "C"
14188 #endif
14189 char mpg123_feed ();
14191 main ()
14193 return mpg123_feed ();
14195 return 0;
14197 _ACEOF
14198 if ac_fn_c_try_link "$LINENO"; then :
14199 ac_cv_lib_mpg123_mpg123_feed=yes
14200 else
14201 ac_cv_lib_mpg123_mpg123_feed=no
14203 rm -f core conftest.err conftest.$ac_objext \
14204 conftest$ac_exeext conftest.$ac_ext
14205 LIBS=$ac_check_lib_save_LIBS
14207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14208 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14209 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
14211 else
14212 MPG123_LIBS=""
14215 else
14216 MPG123_CFLAGS=""
14217 MPG123_LIBS=""
14219 CPPFLAGS=$ac_save_CPPFLAGS
14220 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14221 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14224 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
14225 case "x$with_mpg123" in
14226 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14227 xno) ;;
14228 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14229 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14230 esac
14231 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
14234 if test "$ac_cv_header_AL_al_h" = "yes"
14235 then
14236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14237 $as_echo_n "checking for -lopenal... " >&6; }
14238 if ${ac_cv_lib_soname_openal+:} false; then :
14239 $as_echo_n "(cached) " >&6
14240 else
14241 ac_check_soname_save_LIBS=$LIBS
14242 LIBS="-lopenal $LIBS"
14243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14244 /* end confdefs.h. */
14246 /* Override any GCC internal prototype to avoid an error.
14247 Use char because int might match the return type of a GCC
14248 builtin and then its argument prototype would still apply. */
14249 #ifdef __cplusplus
14250 extern "C"
14251 #endif
14252 char alGetSource3i ();
14254 main ()
14256 return alGetSource3i ();
14258 return 0;
14260 _ACEOF
14261 if ac_fn_c_try_link "$LINENO"; then :
14262 case "$LIBEXT" in
14263 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14264 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'` ;;
14265 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14266 if ${ac_cv_lib_soname_openal:+false} :; then :
14267 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14268 fi ;;
14269 esac
14271 rm -f core conftest.err conftest.$ac_objext \
14272 conftest$ac_exeext conftest.$ac_ext
14273 LIBS=$ac_check_soname_save_LIBS
14275 if ${ac_cv_lib_soname_openal:+false} :; then :
14276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14277 $as_echo "not found" >&6; }
14279 else
14280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14281 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14283 cat >>confdefs.h <<_ACEOF
14284 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14285 _ACEOF
14287 OPENAL_LIBS="-lopenal"
14289 ac_cv_lib_openal=yes
14291 cat >>confdefs.h <<_ACEOF
14292 #define HAVE_OPENAL 1
14293 _ACEOF
14297 if test "x$ac_cv_lib_openal" != xyes; then :
14298 case "x$with_openal" in
14299 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14300 xno) ;;
14301 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14302 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14303 esac
14304 enable_openal32=${enable_openal32:-no}
14307 if test "x$ac_cv_lib_openal" = xyes
14308 then
14309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14310 $as_echo_n "checking for openal-soft... " >&6; }
14311 if ${ac_cv_have_openalsoft+:} false; then :
14312 $as_echo_n "(cached) " >&6
14313 else
14314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14315 /* end confdefs.h. */
14316 #include <AL/al.h>
14317 #include <AL/alc.h>
14318 #include <AL/alext.h>
14319 LPALCRENDERSAMPLESSOFT x;
14321 main ()
14325 return 0;
14327 _ACEOF
14328 if ac_fn_c_try_compile "$LINENO"; then :
14329 ac_cv_have_openalsoft=yes
14330 else
14331 ac_cv_have_openalsoft=no
14333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14336 $as_echo "$ac_cv_have_openalsoft" >&6; }
14338 if test "x$ac_cv_have_openalsoft" != xyes
14339 then
14340 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14341 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
14342 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
14343 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14344 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14345 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14346 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14347 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14348 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14349 enable_xapofx1_1=${enable_xapofx1_1:-no}
14350 enable_xapofx1_2=${enable_xapofx1_2:-no}
14351 enable_xapofx1_3=${enable_xapofx1_3:-no}
14352 enable_xapofx1_4=${enable_xapofx1_4:-no}
14353 enable_xapofx1_5=${enable_xapofx1_5:-no}
14354 enable_xaudio2_0=${enable_xaudio2_0:-no}
14355 enable_xaudio2_1=${enable_xaudio2_1:-no}
14356 enable_xaudio2_2=${enable_xaudio2_2:-no}
14357 enable_xaudio2_3=${enable_xaudio2_3:-no}
14358 enable_xaudio2_4=${enable_xaudio2_4:-no}
14359 enable_xaudio2_5=${enable_xaudio2_5:-no}
14360 enable_xaudio2_6=${enable_xaudio2_6:-no}
14361 enable_xaudio2_7=${enable_xaudio2_7:-no}
14362 enable_xaudio2_8=${enable_xaudio2_8:-no}
14363 enable_xaudio2_9=${enable_xaudio2_9:-no}
14366 if test "$ac_cv_header_kstat_h" = "yes"
14367 then
14368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14369 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14370 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14371 $as_echo_n "(cached) " >&6
14372 else
14373 ac_check_lib_save_LIBS=$LIBS
14374 LIBS="-lkstat $LIBS"
14375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14376 /* end confdefs.h. */
14378 /* Override any GCC internal prototype to avoid an error.
14379 Use char because int might match the return type of a GCC
14380 builtin and then its argument prototype would still apply. */
14381 #ifdef __cplusplus
14382 extern "C"
14383 #endif
14384 char kstat_open ();
14386 main ()
14388 return kstat_open ();
14390 return 0;
14392 _ACEOF
14393 if ac_fn_c_try_link "$LINENO"; then :
14394 ac_cv_lib_kstat_kstat_open=yes
14395 else
14396 ac_cv_lib_kstat_kstat_open=no
14398 rm -f core conftest.err conftest.$ac_objext \
14399 conftest$ac_exeext conftest.$ac_ext
14400 LIBS=$ac_check_lib_save_LIBS
14402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14403 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14404 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14406 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14408 KSTAT_LIBS="-lkstat"
14414 if test "$ac_cv_header_libprocstat_h" = "yes"
14415 then
14416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14417 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14418 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14419 $as_echo_n "(cached) " >&6
14420 else
14421 ac_check_lib_save_LIBS=$LIBS
14422 LIBS="-lprocstat $LIBS"
14423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14424 /* end confdefs.h. */
14426 /* Override any GCC internal prototype to avoid an error.
14427 Use char because int might match the return type of a GCC
14428 builtin and then its argument prototype would still apply. */
14429 #ifdef __cplusplus
14430 extern "C"
14431 #endif
14432 char procstat_open_sysctl ();
14434 main ()
14436 return procstat_open_sysctl ();
14438 return 0;
14440 _ACEOF
14441 if ac_fn_c_try_link "$LINENO"; then :
14442 ac_cv_lib_procstat_procstat_open_sysctl=yes
14443 else
14444 ac_cv_lib_procstat_procstat_open_sysctl=no
14446 rm -f core conftest.err conftest.$ac_objext \
14447 conftest$ac_exeext conftest.$ac_ext
14448 LIBS=$ac_check_lib_save_LIBS
14450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14451 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14452 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14454 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14456 PROCSTAT_LIBS="-lprocstat"
14462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14463 $as_echo_n "checking for -lodbc... " >&6; }
14464 if ${ac_cv_lib_soname_odbc+:} false; then :
14465 $as_echo_n "(cached) " >&6
14466 else
14467 ac_check_soname_save_LIBS=$LIBS
14468 LIBS="-lodbc $LIBS"
14469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14470 /* end confdefs.h. */
14472 /* Override any GCC internal prototype to avoid an error.
14473 Use char because int might match the return type of a GCC
14474 builtin and then its argument prototype would still apply. */
14475 #ifdef __cplusplus
14476 extern "C"
14477 #endif
14478 char SQLConnect ();
14480 main ()
14482 return SQLConnect ();
14484 return 0;
14486 _ACEOF
14487 if ac_fn_c_try_link "$LINENO"; then :
14488 case "$LIBEXT" in
14489 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14490 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'` ;;
14491 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14492 if ${ac_cv_lib_soname_odbc:+false} :; then :
14493 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14494 fi ;;
14495 esac
14497 rm -f core conftest.err conftest.$ac_objext \
14498 conftest$ac_exeext conftest.$ac_ext
14499 LIBS=$ac_check_soname_save_LIBS
14501 if ${ac_cv_lib_soname_odbc:+false} :; then :
14502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14503 $as_echo "not found" >&6; }
14504 cat >>confdefs.h <<_ACEOF
14505 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14506 _ACEOF
14508 else
14509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14510 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14512 cat >>confdefs.h <<_ACEOF
14513 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14514 _ACEOF
14519 if test "x$with_netapi" != "xno"
14520 then
14521 if ${NETAPI_CFLAGS:+false} :; then :
14522 if ${PKG_CONFIG+:} false; then :
14523 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14527 if ${NETAPI_LIBS:+false} :; then :
14528 if ${PKG_CONFIG+:} false; then :
14529 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14534 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14535 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14536 ac_save_CPPFLAGS=$CPPFLAGS
14537 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14539 $as_echo_n "checking for -lnetapi... " >&6; }
14540 if ${ac_cv_lib_soname_netapi+:} false; then :
14541 $as_echo_n "(cached) " >&6
14542 else
14543 ac_check_soname_save_LIBS=$LIBS
14544 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14546 /* end confdefs.h. */
14548 /* Override any GCC internal prototype to avoid an error.
14549 Use char because int might match the return type of a GCC
14550 builtin and then its argument prototype would still apply. */
14551 #ifdef __cplusplus
14552 extern "C"
14553 #endif
14554 char libnetapi_init ();
14556 main ()
14558 return libnetapi_init ();
14560 return 0;
14562 _ACEOF
14563 if ac_fn_c_try_link "$LINENO"; then :
14564 case "$LIBEXT" in
14565 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14566 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'` ;;
14567 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14568 if ${ac_cv_lib_soname_netapi:+false} :; then :
14569 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14570 fi ;;
14571 esac
14573 rm -f core conftest.err conftest.$ac_objext \
14574 conftest$ac_exeext conftest.$ac_ext
14575 LIBS=$ac_check_soname_save_LIBS
14577 if ${ac_cv_lib_soname_netapi:+false} :; then :
14578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14579 $as_echo "not found" >&6; }
14580 cat >>confdefs.h <<_ACEOF
14581 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14582 _ACEOF
14584 else
14585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14586 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14588 cat >>confdefs.h <<_ACEOF
14589 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14590 _ACEOF
14594 CPPFLAGS=$ac_save_CPPFLAGS
14595 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14596 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14600 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
14601 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14602 then
14603 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14607 EXTRACFLAGS=""
14609 if test "x${GCC}" = "xyes"
14610 then
14611 EXTRACFLAGS="-Wall -pipe"
14613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14614 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14615 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14616 $as_echo_n "(cached) " >&6
14617 else
14618 if test "$cross_compiling" = yes; then :
14619 ac_cv_c_gcc_strength_bug="no"
14620 else
14621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14622 /* end confdefs.h. */
14623 int L[4] = {0,1,2,3};
14625 main ()
14627 static int Array[3];
14628 unsigned int B = 3;
14629 int i;
14630 for(i=0; i<B; i++) Array[i] = i - 3;
14631 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14632 L[i] = 4;
14633 return (Array[1] != -2 || L[2] != 3)
14635 return 0;
14637 _ACEOF
14638 if ac_fn_c_try_run "$LINENO"; then :
14639 ac_cv_c_gcc_strength_bug="no"
14640 else
14641 ac_cv_c_gcc_strength_bug="yes"
14643 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14644 conftest.$ac_objext conftest.beam conftest.$ac_ext
14648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14649 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14650 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14651 then
14652 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14656 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14657 if ${ac_cv_cflags__fno_builtin+:} false; then :
14658 $as_echo_n "(cached) " >&6
14659 else
14660 ac_wine_try_cflags_saved=$CFLAGS
14661 CFLAGS="$CFLAGS -fno-builtin"
14662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14663 /* end confdefs.h. */
14664 int main(int argc, char **argv) { return 0; }
14665 _ACEOF
14666 if ac_fn_c_try_link "$LINENO"; then :
14667 ac_cv_cflags__fno_builtin=yes
14668 else
14669 ac_cv_cflags__fno_builtin=no
14671 rm -f core conftest.err conftest.$ac_objext \
14672 conftest$ac_exeext conftest.$ac_ext
14673 CFLAGS=$ac_wine_try_cflags_saved
14675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14676 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14677 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14678 BUILTINFLAG="-fno-builtin"
14681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14682 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14683 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14684 $as_echo_n "(cached) " >&6
14685 else
14686 ac_wine_try_cflags_saved=$CFLAGS
14687 CFLAGS="$CFLAGS -fno-strict-aliasing"
14688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14689 /* end confdefs.h. */
14690 int main(int argc, char **argv) { return 0; }
14691 _ACEOF
14692 if ac_fn_c_try_link "$LINENO"; then :
14693 ac_cv_cflags__fno_strict_aliasing=yes
14694 else
14695 ac_cv_cflags__fno_strict_aliasing=no
14697 rm -f core conftest.err conftest.$ac_objext \
14698 conftest$ac_exeext conftest.$ac_ext
14699 CFLAGS=$ac_wine_try_cflags_saved
14701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14702 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14703 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14704 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14707 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14708 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14709 $as_echo_n "(cached) " >&6
14710 else
14711 ac_wine_try_cflags_saved=$CFLAGS
14712 CFLAGS="$CFLAGS -fexcess-precision=standard"
14713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14714 /* end confdefs.h. */
14715 int main(int argc, char **argv) { return 0; }
14716 _ACEOF
14717 if ac_fn_c_try_link "$LINENO"; then :
14718 ac_cv_cflags__fexcess_precision_standard=yes
14719 else
14720 ac_cv_cflags__fexcess_precision_standard=no
14722 rm -f core conftest.err conftest.$ac_objext \
14723 conftest$ac_exeext conftest.$ac_ext
14724 CFLAGS=$ac_wine_try_cflags_saved
14726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14727 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14728 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14729 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14732 saved_CFLAGS=$CFLAGS
14733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14734 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14735 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14736 $as_echo_n "(cached) " >&6
14737 else
14738 ac_wine_try_cflags_saved=$CFLAGS
14739 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14741 /* end confdefs.h. */
14742 int main(int argc, char **argv) { return 0; }
14743 _ACEOF
14744 if ac_fn_c_try_link "$LINENO"; then :
14745 ac_cv_cflags__Werror_unknown_warning_option=yes
14746 else
14747 ac_cv_cflags__Werror_unknown_warning_option=no
14749 rm -f core conftest.err conftest.$ac_objext \
14750 conftest$ac_exeext conftest.$ac_ext
14751 CFLAGS=$ac_wine_try_cflags_saved
14753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14754 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14755 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14756 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14759 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14760 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14761 $as_echo_n "(cached) " >&6
14762 else
14763 ac_wine_try_cflags_saved=$CFLAGS
14764 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14766 /* end confdefs.h. */
14767 int main(int argc, char **argv) { return 0; }
14768 _ACEOF
14769 if ac_fn_c_try_link "$LINENO"; then :
14770 ac_cv_cflags__Wdeclaration_after_statement=yes
14771 else
14772 ac_cv_cflags__Wdeclaration_after_statement=no
14774 rm -f core conftest.err conftest.$ac_objext \
14775 conftest$ac_exeext conftest.$ac_ext
14776 CFLAGS=$ac_wine_try_cflags_saved
14778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14779 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14780 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14781 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14784 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14785 if ${ac_cv_cflags__Wempty_body+:} false; then :
14786 $as_echo_n "(cached) " >&6
14787 else
14788 ac_wine_try_cflags_saved=$CFLAGS
14789 CFLAGS="$CFLAGS -Wempty-body"
14790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14791 /* end confdefs.h. */
14792 int main(int argc, char **argv) { return 0; }
14793 _ACEOF
14794 if ac_fn_c_try_link "$LINENO"; then :
14795 ac_cv_cflags__Wempty_body=yes
14796 else
14797 ac_cv_cflags__Wempty_body=no
14799 rm -f core conftest.err conftest.$ac_objext \
14800 conftest$ac_exeext conftest.$ac_ext
14801 CFLAGS=$ac_wine_try_cflags_saved
14803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14804 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14805 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14806 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14809 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14810 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14811 $as_echo_n "(cached) " >&6
14812 else
14813 ac_wine_try_cflags_saved=$CFLAGS
14814 CFLAGS="$CFLAGS -Wignored-qualifiers"
14815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14816 /* end confdefs.h. */
14817 int main(int argc, char **argv) { return 0; }
14818 _ACEOF
14819 if ac_fn_c_try_link "$LINENO"; then :
14820 ac_cv_cflags__Wignored_qualifiers=yes
14821 else
14822 ac_cv_cflags__Wignored_qualifiers=no
14824 rm -f core conftest.err conftest.$ac_objext \
14825 conftest$ac_exeext conftest.$ac_ext
14826 CFLAGS=$ac_wine_try_cflags_saved
14828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14829 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14830 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14831 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
14834 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
14835 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
14836 $as_echo_n "(cached) " >&6
14837 else
14838 ac_wine_try_cflags_saved=$CFLAGS
14839 CFLAGS="$CFLAGS -Wpacked-not-aligned"
14840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14841 /* end confdefs.h. */
14842 int main(int argc, char **argv) { return 0; }
14843 _ACEOF
14844 if ac_fn_c_try_link "$LINENO"; then :
14845 ac_cv_cflags__Wpacked_not_aligned=yes
14846 else
14847 ac_cv_cflags__Wpacked_not_aligned=no
14849 rm -f core conftest.err conftest.$ac_objext \
14850 conftest$ac_exeext conftest.$ac_ext
14851 CFLAGS=$ac_wine_try_cflags_saved
14853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
14854 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
14855 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
14856 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
14858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
14859 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
14860 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
14861 $as_echo_n "(cached) " >&6
14862 else
14863 ac_wine_try_cflags_saved=$CFLAGS
14864 CFLAGS="$CFLAGS -Wpragma-pack"
14865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14866 /* end confdefs.h. */
14867 int main(int argc, char **argv) { return 0; }
14868 _ACEOF
14869 if ac_fn_c_try_link "$LINENO"; then :
14870 ac_cv_cflags__Wpragma_pack=yes
14871 else
14872 ac_cv_cflags__Wpragma_pack=no
14874 rm -f core conftest.err conftest.$ac_objext \
14875 conftest$ac_exeext conftest.$ac_ext
14876 CFLAGS=$ac_wine_try_cflags_saved
14878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
14879 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
14880 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
14881 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
14883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14884 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14885 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14886 $as_echo_n "(cached) " >&6
14887 else
14888 ac_wine_try_cflags_saved=$CFLAGS
14889 CFLAGS="$CFLAGS -Wshift-overflow=2"
14890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14891 /* end confdefs.h. */
14892 int main(int argc, char **argv) { return 0; }
14893 _ACEOF
14894 if ac_fn_c_try_link "$LINENO"; then :
14895 ac_cv_cflags__Wshift_overflow_2=yes
14896 else
14897 ac_cv_cflags__Wshift_overflow_2=no
14899 rm -f core conftest.err conftest.$ac_objext \
14900 conftest$ac_exeext conftest.$ac_ext
14901 CFLAGS=$ac_wine_try_cflags_saved
14903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14904 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14905 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14906 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14909 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14910 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14911 $as_echo_n "(cached) " >&6
14912 else
14913 ac_wine_try_cflags_saved=$CFLAGS
14914 CFLAGS="$CFLAGS -Wstrict-prototypes"
14915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14916 /* end confdefs.h. */
14917 int main(int argc, char **argv) { return 0; }
14918 _ACEOF
14919 if ac_fn_c_try_link "$LINENO"; then :
14920 ac_cv_cflags__Wstrict_prototypes=yes
14921 else
14922 ac_cv_cflags__Wstrict_prototypes=no
14924 rm -f core conftest.err conftest.$ac_objext \
14925 conftest$ac_exeext conftest.$ac_ext
14926 CFLAGS=$ac_wine_try_cflags_saved
14928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14929 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14930 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14931 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14934 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14935 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14936 $as_echo_n "(cached) " >&6
14937 else
14938 ac_wine_try_cflags_saved=$CFLAGS
14939 CFLAGS="$CFLAGS -Wtype-limits"
14940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14941 /* end confdefs.h. */
14942 int main(int argc, char **argv) { return 0; }
14943 _ACEOF
14944 if ac_fn_c_try_link "$LINENO"; then :
14945 ac_cv_cflags__Wtype_limits=yes
14946 else
14947 ac_cv_cflags__Wtype_limits=no
14949 rm -f core conftest.err conftest.$ac_objext \
14950 conftest$ac_exeext conftest.$ac_ext
14951 CFLAGS=$ac_wine_try_cflags_saved
14953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14954 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14955 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14956 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14959 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14960 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14961 $as_echo_n "(cached) " >&6
14962 else
14963 ac_wine_try_cflags_saved=$CFLAGS
14964 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14966 /* end confdefs.h. */
14967 int main(int argc, char **argv) { return 0; }
14968 _ACEOF
14969 if ac_fn_c_try_link "$LINENO"; then :
14970 ac_cv_cflags__Wunused_but_set_parameter=yes
14971 else
14972 ac_cv_cflags__Wunused_but_set_parameter=no
14974 rm -f core conftest.err conftest.$ac_objext \
14975 conftest$ac_exeext conftest.$ac_ext
14976 CFLAGS=$ac_wine_try_cflags_saved
14978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14979 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14980 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14981 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14984 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14985 if ${ac_cv_cflags__Wvla+:} false; then :
14986 $as_echo_n "(cached) " >&6
14987 else
14988 ac_wine_try_cflags_saved=$CFLAGS
14989 CFLAGS="$CFLAGS -Wvla"
14990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14991 /* end confdefs.h. */
14992 int main(int argc, char **argv) { return 0; }
14993 _ACEOF
14994 if ac_fn_c_try_link "$LINENO"; then :
14995 ac_cv_cflags__Wvla=yes
14996 else
14997 ac_cv_cflags__Wvla=no
14999 rm -f core conftest.err conftest.$ac_objext \
15000 conftest$ac_exeext conftest.$ac_ext
15001 CFLAGS=$ac_wine_try_cflags_saved
15003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
15004 $as_echo "$ac_cv_cflags__Wvla" >&6; }
15005 if test "x$ac_cv_cflags__Wvla" = xyes; then :
15006 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
15008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
15009 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
15010 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
15011 $as_echo_n "(cached) " >&6
15012 else
15013 ac_wine_try_cflags_saved=$CFLAGS
15014 CFLAGS="$CFLAGS -Wwrite-strings"
15015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15016 /* end confdefs.h. */
15017 int main(int argc, char **argv) { return 0; }
15018 _ACEOF
15019 if ac_fn_c_try_link "$LINENO"; then :
15020 ac_cv_cflags__Wwrite_strings=yes
15021 else
15022 ac_cv_cflags__Wwrite_strings=no
15024 rm -f core conftest.err conftest.$ac_objext \
15025 conftest$ac_exeext conftest.$ac_ext
15026 CFLAGS=$ac_wine_try_cflags_saved
15028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
15029 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
15030 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
15031 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
15034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
15035 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
15036 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
15037 $as_echo_n "(cached) " >&6
15038 else
15039 ac_wine_try_cflags_saved=$CFLAGS
15040 CFLAGS="$CFLAGS -Wpointer-arith"
15041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15042 /* end confdefs.h. */
15043 int main(int argc, char **argv) { return 0; }
15044 _ACEOF
15045 if ac_fn_c_try_link "$LINENO"; then :
15046 ac_cv_cflags__Wpointer_arith=yes
15047 else
15048 ac_cv_cflags__Wpointer_arith=no
15050 rm -f core conftest.err conftest.$ac_objext \
15051 conftest$ac_exeext conftest.$ac_ext
15052 CFLAGS=$ac_wine_try_cflags_saved
15054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
15055 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
15056 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
15057 saved_string_h_CFLAGS=$CFLAGS
15058 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
15060 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
15061 if ${ac_cv_c_string_h_warnings+:} false; then :
15062 $as_echo_n "(cached) " >&6
15063 else
15064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15065 /* end confdefs.h. */
15066 #include <string.h>
15068 main ()
15072 return 0;
15074 _ACEOF
15075 if ac_fn_c_try_compile "$LINENO"; then :
15076 ac_cv_c_string_h_warnings=no
15077 else
15078 ac_cv_c_string_h_warnings=yes
15080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
15083 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
15084 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15085 CFLAGS=$saved_string_h_CFLAGS
15088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
15089 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
15090 if ${ac_cv_cflags__Wlogical_op+:} false; then :
15091 $as_echo_n "(cached) " >&6
15092 else
15093 ac_wine_try_cflags_saved=$CFLAGS
15094 CFLAGS="$CFLAGS -Wlogical-op"
15095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15096 /* end confdefs.h. */
15097 int main(int argc, char **argv) { return 0; }
15098 _ACEOF
15099 if ac_fn_c_try_link "$LINENO"; then :
15100 ac_cv_cflags__Wlogical_op=yes
15101 else
15102 ac_cv_cflags__Wlogical_op=no
15104 rm -f core conftest.err conftest.$ac_objext \
15105 conftest$ac_exeext conftest.$ac_ext
15106 CFLAGS=$ac_wine_try_cflags_saved
15108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
15109 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
15110 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
15111 saved_string_h_CFLAGS=$CFLAGS
15112 CFLAGS="$CFLAGS -Wlogical-op -Werror"
15113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
15114 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
15115 if ${ac_cv_c_logicalop_noisy+:} false; then :
15116 $as_echo_n "(cached) " >&6
15117 else
15118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15119 /* end confdefs.h. */
15120 #include <string.h>
15121 char*f(const char *h,char n) {return strchr(h,n);}
15123 main ()
15127 return 0;
15129 _ACEOF
15130 if ac_fn_c_try_compile "$LINENO"; then :
15131 ac_cv_c_logicalop_noisy=no
15132 else
15133 ac_cv_c_logicalop_noisy=yes
15135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
15138 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
15139 CFLAGS=$saved_string_h_CFLAGS
15140 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
15143 CFLAGS=$saved_CFLAGS
15145 for ac_flag in $CFLAGS; do
15146 case $ac_flag in
15147 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
15148 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
15149 if ${ac_cv_cflags__gdwarf_2+:} false; then :
15150 $as_echo_n "(cached) " >&6
15151 else
15152 ac_wine_try_cflags_saved=$CFLAGS
15153 CFLAGS="$CFLAGS -gdwarf-2"
15154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15155 /* end confdefs.h. */
15156 int main(int argc, char **argv) { return 0; }
15157 _ACEOF
15158 if ac_fn_c_try_link "$LINENO"; then :
15159 ac_cv_cflags__gdwarf_2=yes
15160 else
15161 ac_cv_cflags__gdwarf_2=no
15163 rm -f core conftest.err conftest.$ac_objext \
15164 conftest$ac_exeext conftest.$ac_ext
15165 CFLAGS=$ac_wine_try_cflags_saved
15167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
15168 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
15169 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
15170 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
15172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
15173 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
15174 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
15175 $as_echo_n "(cached) " >&6
15176 else
15177 ac_wine_try_cflags_saved=$CFLAGS
15178 CFLAGS="$CFLAGS -gstrict-dwarf"
15179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15180 /* end confdefs.h. */
15181 int main(int argc, char **argv) { return 0; }
15182 _ACEOF
15183 if ac_fn_c_try_link "$LINENO"; then :
15184 ac_cv_cflags__gstrict_dwarf=yes
15185 else
15186 ac_cv_cflags__gstrict_dwarf=no
15188 rm -f core conftest.err conftest.$ac_objext \
15189 conftest$ac_exeext conftest.$ac_ext
15190 CFLAGS=$ac_wine_try_cflags_saved
15192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
15193 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
15194 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
15195 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
15196 fi ;;
15197 esac
15198 done
15200 case $host_cpu in
15201 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
15202 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
15203 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
15204 $as_echo_n "(cached) " >&6
15205 else
15206 ac_wine_try_cflags_saved=$CFLAGS
15207 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
15208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15209 /* end confdefs.h. */
15210 int main(int argc, char **argv) { return 0; }
15211 _ACEOF
15212 if ac_fn_c_try_link "$LINENO"; then :
15213 ac_cv_cflags__fno_omit_frame_pointer=yes
15214 else
15215 ac_cv_cflags__fno_omit_frame_pointer=no
15217 rm -f core conftest.err conftest.$ac_objext \
15218 conftest$ac_exeext conftest.$ac_ext
15219 CFLAGS=$ac_wine_try_cflags_saved
15221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
15222 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
15223 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
15224 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
15225 fi ;;
15226 esac
15228 case $host in
15229 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
15230 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
15231 if ${ac_cv_cflags__Wno_format+:} false; then :
15232 $as_echo_n "(cached) " >&6
15233 else
15234 ac_wine_try_cflags_saved=$CFLAGS
15235 CFLAGS="$CFLAGS -Wno-format"
15236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15237 /* end confdefs.h. */
15238 int main(int argc, char **argv) { return 0; }
15239 _ACEOF
15240 if ac_fn_c_try_link "$LINENO"; then :
15241 ac_cv_cflags__Wno_format=yes
15242 else
15243 ac_cv_cflags__Wno_format=no
15245 rm -f core conftest.err conftest.$ac_objext \
15246 conftest$ac_exeext conftest.$ac_ext
15247 CFLAGS=$ac_wine_try_cflags_saved
15249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
15250 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
15251 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
15252 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
15253 fi ;;
15254 esac
15256 if test "x$enable_maintainer_mode" = "xyes"
15257 then
15258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
15259 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
15260 if ${ac_cv_cflags__Werror+:} false; then :
15261 $as_echo_n "(cached) " >&6
15262 else
15263 ac_wine_try_cflags_saved=$CFLAGS
15264 CFLAGS="$CFLAGS -Werror"
15265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15266 /* end confdefs.h. */
15267 int main(int argc, char **argv) { return 0; }
15268 _ACEOF
15269 if ac_fn_c_try_link "$LINENO"; then :
15270 ac_cv_cflags__Werror=yes
15271 else
15272 ac_cv_cflags__Werror=no
15274 rm -f core conftest.err conftest.$ac_objext \
15275 conftest$ac_exeext conftest.$ac_ext
15276 CFLAGS=$ac_wine_try_cflags_saved
15278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
15279 $as_echo "$ac_cv_cflags__Werror" >&6; }
15280 if test "x$ac_cv_cflags__Werror" = xyes; then :
15281 EXTRACFLAGS="$EXTRACFLAGS -Werror"
15285 saved_CFLAGS="$CFLAGS"
15286 CFLAGS="$CFLAGS -Werror"
15287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
15288 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
15289 if ${ac_cv_have_ms_hook_prologue+:} false; then :
15290 $as_echo_n "(cached) " >&6
15291 else
15292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15293 /* end confdefs.h. */
15294 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
15296 main ()
15300 return 0;
15302 _ACEOF
15303 if ac_fn_c_try_compile "$LINENO"; then :
15304 ac_cv_have_ms_hook_prologue="yes"
15305 else
15306 ac_cv_have_ms_hook_prologue="no"
15308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
15311 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
15312 CFLAGS="$saved_CFLAGS"
15313 if test "$ac_cv_have_ms_hook_prologue" = "yes"
15314 then
15316 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
15318 else
15319 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
15325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
15326 $as_echo_n "checking for the need to disable Fortify... " >&6; }
15327 if ${ac_cv_c_fortify_enabled+:} false; then :
15328 $as_echo_n "(cached) " >&6
15329 else
15330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15331 /* end confdefs.h. */
15332 #include <string.h>
15334 main ()
15336 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
15337 #error Fortify enabled
15338 #endif
15340 return 0;
15342 _ACEOF
15343 if ac_fn_c_try_compile "$LINENO"; then :
15344 ac_cv_c_fortify_enabled=no
15345 else
15346 ac_cv_c_fortify_enabled=yes
15348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
15351 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
15352 if test "$ac_cv_c_fortify_enabled" = yes
15353 then
15354 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
15358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
15359 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
15360 if ${ac_cv_c_extern_prefix+:} false; then :
15361 $as_echo_n "(cached) " >&6
15362 else
15363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15364 /* end confdefs.h. */
15365 extern int ac_test;
15367 main ()
15369 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15371 return 0;
15373 _ACEOF
15374 if ac_fn_c_try_link "$LINENO"; then :
15375 ac_cv_c_extern_prefix="yes"
15376 else
15377 ac_cv_c_extern_prefix="no"
15379 rm -f core conftest.err conftest.$ac_objext \
15380 conftest$ac_exeext conftest.$ac_ext
15382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
15383 $as_echo "$ac_cv_c_extern_prefix" >&6; }
15385 case $host_cpu in
15386 *i[3456789]86*)
15387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
15388 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
15389 if ${ac_cv_c_stdcall_suffix+:} false; then :
15390 $as_echo_n "(cached) " >&6
15391 else
15392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15393 /* end confdefs.h. */
15394 #ifndef _MSC_VER
15395 #define __stdcall __attribute__((__stdcall__))
15396 #endif
15397 int __stdcall ac_test(int i) { return i; }
15399 main ()
15401 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
15403 return 0;
15405 _ACEOF
15406 if ac_fn_c_try_link "$LINENO"; then :
15407 ac_cv_c_stdcall_suffix="yes"
15408 else
15409 ac_cv_c_stdcall_suffix="no"
15411 rm -f core conftest.err conftest.$ac_objext \
15412 conftest$ac_exeext conftest.$ac_ext
15414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15415 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15416 *) ac_cv_c_stdcall_suffix="no" ;;
15417 esac
15420 if test "$ac_cv_c_extern_prefix" = "yes"
15421 then
15422 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15424 asm_name_prefix="_"
15425 else
15426 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15428 asm_name_prefix=""
15432 if test "$ac_cv_c_stdcall_suffix" = "yes"
15433 then
15434 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15436 else
15437 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15443 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15444 if ${ac_cv_asm_func_def+:} false; then :
15445 $as_echo_n "(cached) " >&6
15446 else
15447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15448 /* end confdefs.h. */
15451 main ()
15453 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15455 return 0;
15457 _ACEOF
15458 if ac_fn_c_try_link "$LINENO"; then :
15459 ac_cv_asm_func_def=".def"
15460 else
15461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15462 /* end confdefs.h. */
15465 main ()
15467 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15469 return 0;
15471 _ACEOF
15472 if ac_fn_c_try_link "$LINENO"; then :
15473 ac_cv_asm_func_def=".type @function"
15474 else
15475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15476 /* end confdefs.h. */
15479 main ()
15481 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15483 return 0;
15485 _ACEOF
15486 if ac_fn_c_try_link "$LINENO"; then :
15487 ac_cv_asm_func_def=".type 2"
15488 else
15489 ac_cv_asm_func_def="unknown"
15491 rm -f core conftest.err conftest.$ac_objext \
15492 conftest$ac_exeext conftest.$ac_ext
15494 rm -f core conftest.err conftest.$ac_objext \
15495 conftest$ac_exeext conftest.$ac_ext
15497 rm -f core conftest.err conftest.$ac_objext \
15498 conftest$ac_exeext conftest.$ac_ext
15500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15501 $as_echo "$ac_cv_asm_func_def" >&6; }
15504 case "$ac_cv_asm_func_def" in
15505 ".def")
15506 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15508 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15509 ".type @function")
15510 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15512 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15513 ".type 2")
15514 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15516 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15518 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15520 asm_func_header="" ;;
15521 esac
15523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15524 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15525 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15526 $as_echo_n "(cached) " >&6
15527 else
15528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15529 /* end confdefs.h. */
15530 asm(".text\n\t.long 0");
15532 main ()
15536 return 0;
15538 _ACEOF
15539 if ac_fn_c_try_compile "$LINENO"; then :
15540 ac_cv_c_asm_outside_funcs="yes"
15541 else
15542 ac_cv_c_asm_outside_funcs="no"
15544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15547 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15550 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15551 if ${ac_cv_c_dot_previous+:} false; then :
15552 $as_echo_n "(cached) " >&6
15553 else
15554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15555 /* end confdefs.h. */
15558 main ()
15560 asm(".text\nac_test:\t.long 0\n\t.previous");
15562 return 0;
15564 _ACEOF
15565 if ac_fn_c_try_link "$LINENO"; then :
15566 ac_cv_c_dot_previous="yes"
15567 else
15568 ac_cv_c_dot_previous="no"
15570 rm -f core conftest.err conftest.$ac_objext \
15571 conftest$ac_exeext conftest.$ac_ext
15573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15574 $as_echo "$ac_cv_c_dot_previous" >&6; }
15576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15577 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15578 if ${ac_cv_c_cfi_support+:} false; then :
15579 $as_echo_n "(cached) " >&6
15580 else
15581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15582 /* end confdefs.h. */
15583 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15585 main ()
15589 return 0;
15591 _ACEOF
15592 if ac_fn_c_try_compile "$LINENO"; then :
15593 ac_cv_c_cfi_support="yes"
15594 else
15595 ac_cv_c_cfi_support="no"
15597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15600 $as_echo "$ac_cv_c_cfi_support" >&6; }
15602 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15603 asm_func_trailer=""
15604 if test "$ac_cv_c_dot_previous" = "yes"
15605 then
15606 asm_func_trailer="\\n\\t.previous"
15608 if test "$ac_cv_c_cfi_support" = "yes"
15609 then
15610 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15611 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15613 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15615 UNWINDFLAGS=-fasynchronous-unwind-tables
15617 else
15618 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15620 if test "x$enable_win64" = "xyes"
15621 then
15622 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15626 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15629 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15630 then
15631 cat >>confdefs.h <<_ACEOF
15632 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15633 _ACEOF
15635 else
15636 cat >>confdefs.h <<_ACEOF
15637 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15638 _ACEOF
15642 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15645 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15649 case $build_os in
15650 cygwin*|mingw32*) TOOLSEXT=".exe"
15652 esac
15654 case $host_os in
15655 linux*)
15656 case $host_cpu in
15657 *i[3456789]86*|x86_64*|*aarch64*)
15658 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15659 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15661 esac
15663 esac
15666 ac_save_CFLAGS="$CFLAGS"
15667 CFLAGS="$CFLAGS $BUILTINFLAG"
15668 for ac_func in \
15669 __res_get_state \
15670 __res_getservers \
15671 _finite \
15672 _isnan \
15673 _pclose \
15674 _popen \
15675 _snprintf \
15676 _spawnvp \
15677 _strdup \
15678 _stricmp \
15679 _strnicmp \
15680 _strtoi64 \
15681 _strtoui64 \
15682 _vsnprintf \
15683 asctime_r \
15684 chsize \
15685 dlopen \
15686 epoll_create \
15687 ffs \
15688 finitef \
15689 fnmatch \
15690 fork \
15691 fpclass \
15692 fstatfs \
15693 fstatvfs \
15694 ftruncate \
15695 futimens \
15696 futimes \
15697 futimesat \
15698 getattrlist \
15699 getauxval \
15700 getifaddrs \
15701 getopt_long_only \
15702 getpwuid \
15703 gettimeofday \
15704 getuid \
15705 isnanf \
15706 kqueue \
15707 lstat \
15708 memmove \
15709 mmap \
15710 pclose \
15711 pipe2 \
15712 poll \
15713 popen \
15714 port_create \
15715 prctl \
15716 pread \
15717 proc_pidinfo \
15718 pwrite \
15719 readdir \
15720 readlink \
15721 sched_yield \
15722 select \
15723 setproctitle \
15724 setprogname \
15725 setrlimit \
15726 settimeofday \
15727 sigaltstack \
15728 sigprocmask \
15729 snprintf \
15730 statfs \
15731 statvfs \
15732 strcasecmp \
15733 strdup \
15734 strerror \
15735 strncasecmp \
15736 strnlen \
15737 strtold \
15738 strtoll \
15739 strtoull \
15740 symlink \
15741 sysinfo \
15742 tcdrain \
15743 thr_kill2 \
15744 timegm \
15745 usleep \
15746 vsnprintf
15748 do :
15749 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15750 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15751 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15752 cat >>confdefs.h <<_ACEOF
15753 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15754 _ACEOF
15757 done
15759 CFLAGS="$ac_save_CFLAGS"
15761 if test "$ac_cv_func_dlopen" = no
15762 then
15763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15764 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15765 if ${ac_cv_lib_dl_dlopen+:} false; then :
15766 $as_echo_n "(cached) " >&6
15767 else
15768 ac_check_lib_save_LIBS=$LIBS
15769 LIBS="-ldl $LIBS"
15770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15771 /* end confdefs.h. */
15773 /* Override any GCC internal prototype to avoid an error.
15774 Use char because int might match the return type of a GCC
15775 builtin and then its argument prototype would still apply. */
15776 #ifdef __cplusplus
15777 extern "C"
15778 #endif
15779 char dlopen ();
15781 main ()
15783 return dlopen ();
15785 return 0;
15787 _ACEOF
15788 if ac_fn_c_try_link "$LINENO"; then :
15789 ac_cv_lib_dl_dlopen=yes
15790 else
15791 ac_cv_lib_dl_dlopen=no
15793 rm -f core conftest.err conftest.$ac_objext \
15794 conftest$ac_exeext conftest.$ac_ext
15795 LIBS=$ac_check_lib_save_LIBS
15797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15798 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15799 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15800 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15801 DL_LIBS="-ldl"
15806 ac_wine_check_funcs_save_LIBS="$LIBS"
15807 LIBS="$LIBS $DL_LIBS"
15808 for ac_func in dladdr
15809 do :
15810 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15811 if test "x$ac_cv_func_dladdr" = xyes; then :
15812 cat >>confdefs.h <<_ACEOF
15813 #define HAVE_DLADDR 1
15814 _ACEOF
15817 done
15819 LIBS="$ac_wine_check_funcs_save_LIBS"
15821 if test "$ac_cv_func_poll" = no
15822 then
15823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15824 $as_echo_n "checking for poll in -lpoll... " >&6; }
15825 if ${ac_cv_lib_poll_poll+:} false; then :
15826 $as_echo_n "(cached) " >&6
15827 else
15828 ac_check_lib_save_LIBS=$LIBS
15829 LIBS="-lpoll $LIBS"
15830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15831 /* end confdefs.h. */
15833 /* Override any GCC internal prototype to avoid an error.
15834 Use char because int might match the return type of a GCC
15835 builtin and then its argument prototype would still apply. */
15836 #ifdef __cplusplus
15837 extern "C"
15838 #endif
15839 char poll ();
15841 main ()
15843 return poll ();
15845 return 0;
15847 _ACEOF
15848 if ac_fn_c_try_link "$LINENO"; then :
15849 ac_cv_lib_poll_poll=yes
15850 else
15851 ac_cv_lib_poll_poll=no
15853 rm -f core conftest.err conftest.$ac_objext \
15854 conftest$ac_exeext conftest.$ac_ext
15855 LIBS=$ac_check_lib_save_LIBS
15857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15858 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15859 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15860 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15861 POLL_LIBS="-lpoll"
15867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15868 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15869 if ${ac_cv_search_gethostbyname+:} false; then :
15870 $as_echo_n "(cached) " >&6
15871 else
15872 ac_func_search_save_LIBS=$LIBS
15873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15874 /* end confdefs.h. */
15876 /* Override any GCC internal prototype to avoid an error.
15877 Use char because int might match the return type of a GCC
15878 builtin and then its argument prototype would still apply. */
15879 #ifdef __cplusplus
15880 extern "C"
15881 #endif
15882 char gethostbyname ();
15884 main ()
15886 return gethostbyname ();
15888 return 0;
15890 _ACEOF
15891 for ac_lib in '' nsl; do
15892 if test -z "$ac_lib"; then
15893 ac_res="none required"
15894 else
15895 ac_res=-l$ac_lib
15896 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15898 if ac_fn_c_try_link "$LINENO"; then :
15899 ac_cv_search_gethostbyname=$ac_res
15901 rm -f core conftest.err conftest.$ac_objext \
15902 conftest$ac_exeext
15903 if ${ac_cv_search_gethostbyname+:} false; then :
15904 break
15906 done
15907 if ${ac_cv_search_gethostbyname+:} false; then :
15909 else
15910 ac_cv_search_gethostbyname=no
15912 rm conftest.$ac_ext
15913 LIBS=$ac_func_search_save_LIBS
15915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15916 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15917 ac_res=$ac_cv_search_gethostbyname
15918 if test "$ac_res" != no; then :
15919 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15925 $as_echo_n "checking for library containing connect... " >&6; }
15926 if ${ac_cv_search_connect+:} false; then :
15927 $as_echo_n "(cached) " >&6
15928 else
15929 ac_func_search_save_LIBS=$LIBS
15930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15931 /* end confdefs.h. */
15933 /* Override any GCC internal prototype to avoid an error.
15934 Use char because int might match the return type of a GCC
15935 builtin and then its argument prototype would still apply. */
15936 #ifdef __cplusplus
15937 extern "C"
15938 #endif
15939 char connect ();
15941 main ()
15943 return connect ();
15945 return 0;
15947 _ACEOF
15948 for ac_lib in '' socket; do
15949 if test -z "$ac_lib"; then
15950 ac_res="none required"
15951 else
15952 ac_res=-l$ac_lib
15953 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15955 if ac_fn_c_try_link "$LINENO"; then :
15956 ac_cv_search_connect=$ac_res
15958 rm -f core conftest.err conftest.$ac_objext \
15959 conftest$ac_exeext
15960 if ${ac_cv_search_connect+:} false; then :
15961 break
15963 done
15964 if ${ac_cv_search_connect+:} false; then :
15966 else
15967 ac_cv_search_connect=no
15969 rm conftest.$ac_ext
15970 LIBS=$ac_func_search_save_LIBS
15972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15973 $as_echo "$ac_cv_search_connect" >&6; }
15974 ac_res=$ac_cv_search_connect
15975 if test "$ac_res" != no; then :
15976 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15982 $as_echo_n "checking for library containing inet_aton... " >&6; }
15983 if ${ac_cv_search_inet_aton+:} false; then :
15984 $as_echo_n "(cached) " >&6
15985 else
15986 ac_func_search_save_LIBS=$LIBS
15987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15988 /* end confdefs.h. */
15990 /* Override any GCC internal prototype to avoid an error.
15991 Use char because int might match the return type of a GCC
15992 builtin and then its argument prototype would still apply. */
15993 #ifdef __cplusplus
15994 extern "C"
15995 #endif
15996 char inet_aton ();
15998 main ()
16000 return inet_aton ();
16002 return 0;
16004 _ACEOF
16005 for ac_lib in '' resolv; do
16006 if test -z "$ac_lib"; then
16007 ac_res="none required"
16008 else
16009 ac_res=-l$ac_lib
16010 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16012 if ac_fn_c_try_link "$LINENO"; then :
16013 ac_cv_search_inet_aton=$ac_res
16015 rm -f core conftest.err conftest.$ac_objext \
16016 conftest$ac_exeext
16017 if ${ac_cv_search_inet_aton+:} false; then :
16018 break
16020 done
16021 if ${ac_cv_search_inet_aton+:} false; then :
16023 else
16024 ac_cv_search_inet_aton=no
16026 rm conftest.$ac_ext
16027 LIBS=$ac_func_search_save_LIBS
16029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
16030 $as_echo "$ac_cv_search_inet_aton" >&6; }
16031 ac_res=$ac_cv_search_inet_aton
16032 if test "$ac_res" != no; then :
16033 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16038 for ac_func in \
16039 getaddrinfo \
16040 getnameinfo \
16041 getnetbyname \
16042 getprotobyname \
16043 getprotobynumber \
16044 getservbyport \
16045 inet_addr \
16046 inet_network \
16047 inet_ntop \
16048 inet_pton \
16049 sendmsg \
16050 socketpair \
16052 do :
16053 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16054 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16055 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16056 cat >>confdefs.h <<_ACEOF
16057 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16058 _ACEOF
16061 done
16064 ac_save_LIBS=$LIBS
16065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
16066 $as_echo_n "checking for library containing clock_gettime... " >&6; }
16067 if ${ac_cv_search_clock_gettime+:} false; then :
16068 $as_echo_n "(cached) " >&6
16069 else
16070 ac_func_search_save_LIBS=$LIBS
16071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16072 /* end confdefs.h. */
16074 /* Override any GCC internal prototype to avoid an error.
16075 Use char because int might match the return type of a GCC
16076 builtin and then its argument prototype would still apply. */
16077 #ifdef __cplusplus
16078 extern "C"
16079 #endif
16080 char clock_gettime ();
16082 main ()
16084 return clock_gettime ();
16086 return 0;
16088 _ACEOF
16089 for ac_lib in '' rt; do
16090 if test -z "$ac_lib"; then
16091 ac_res="none required"
16092 else
16093 ac_res=-l$ac_lib
16094 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16096 if ac_fn_c_try_link "$LINENO"; then :
16097 ac_cv_search_clock_gettime=$ac_res
16099 rm -f core conftest.err conftest.$ac_objext \
16100 conftest$ac_exeext
16101 if ${ac_cv_search_clock_gettime+:} false; then :
16102 break
16104 done
16105 if ${ac_cv_search_clock_gettime+:} false; then :
16107 else
16108 ac_cv_search_clock_gettime=no
16110 rm conftest.$ac_ext
16111 LIBS=$ac_func_search_save_LIBS
16113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
16114 $as_echo "$ac_cv_search_clock_gettime" >&6; }
16115 ac_res=$ac_cv_search_clock_gettime
16116 if test "$ac_res" != no; then :
16117 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16119 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
16121 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
16125 LIBS=$ac_save_LIBS
16127 if test "x$with_ldap" != "xno"
16128 then
16129 if ${LDAP_CFLAGS:+false} :; then :
16130 if ${PKG_CONFIG+:} false; then :
16131 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
16135 if ${LDAP_LIBS:+false} :; then :
16136 if ${PKG_CONFIG+:} false; then :
16137 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
16141 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
16142 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
16143 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
16144 ac_save_CPPFLAGS=$CPPFLAGS
16145 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
16146 for ac_header in ldap.h lber.h
16147 do :
16148 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16149 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16150 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16151 cat >>confdefs.h <<_ACEOF
16152 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16153 _ACEOF
16157 done
16159 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
16160 then
16161 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
16163 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
16164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
16165 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
16166 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
16167 $as_echo_n "(cached) " >&6
16168 else
16169 ac_check_lib_save_LIBS=$LIBS
16170 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16172 /* end confdefs.h. */
16174 /* Override any GCC internal prototype to avoid an error.
16175 Use char because int might match the return type of a GCC
16176 builtin and then its argument prototype would still apply. */
16177 #ifdef __cplusplus
16178 extern "C"
16179 #endif
16180 char ldap_initialize ();
16182 main ()
16184 return ldap_initialize ();
16186 return 0;
16188 _ACEOF
16189 if ac_fn_c_try_link "$LINENO"; then :
16190 ac_cv_lib_ldap_r_ldap_initialize=yes
16191 else
16192 ac_cv_lib_ldap_r_ldap_initialize=no
16194 rm -f core conftest.err conftest.$ac_objext \
16195 conftest$ac_exeext conftest.$ac_ext
16196 LIBS=$ac_check_lib_save_LIBS
16198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
16199 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
16200 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
16201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
16202 $as_echo_n "checking for ber_init in -llber... " >&6; }
16203 if ${ac_cv_lib_lber_ber_init+:} false; then :
16204 $as_echo_n "(cached) " >&6
16205 else
16206 ac_check_lib_save_LIBS=$LIBS
16207 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16209 /* end confdefs.h. */
16211 /* Override any GCC internal prototype to avoid an error.
16212 Use char because int might match the return type of a GCC
16213 builtin and then its argument prototype would still apply. */
16214 #ifdef __cplusplus
16215 extern "C"
16216 #endif
16217 char ber_init ();
16219 main ()
16221 return ber_init ();
16223 return 0;
16225 _ACEOF
16226 if ac_fn_c_try_link "$LINENO"; then :
16227 ac_cv_lib_lber_ber_init=yes
16228 else
16229 ac_cv_lib_lber_ber_init=no
16231 rm -f core conftest.err conftest.$ac_objext \
16232 conftest$ac_exeext conftest.$ac_ext
16233 LIBS=$ac_check_lib_save_LIBS
16235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
16236 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
16237 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
16239 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
16241 else
16242 LDAP_LIBS=""
16245 else
16246 LDAP_LIBS=""
16249 else
16250 LDAP_LIBS=""
16253 ac_wine_check_funcs_save_LIBS="$LIBS"
16254 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
16255 for ac_func in \
16256 ldap_count_references \
16257 ldap_first_reference \
16258 ldap_next_reference \
16259 ldap_parse_reference \
16260 ldap_parse_sort_control \
16261 ldap_parse_sortresponse_control \
16262 ldap_parse_vlv_control \
16263 ldap_parse_vlvresponse_control
16264 do :
16265 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16266 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16267 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16268 cat >>confdefs.h <<_ACEOF
16269 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16270 _ACEOF
16273 done
16275 LIBS="$ac_wine_check_funcs_save_LIBS"
16276 else
16277 LDAP_LIBS=""
16279 CPPFLAGS=$ac_save_CPPFLAGS
16280 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16281 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16284 if test "x$LDAP_LIBS" = "x"; then :
16285 case "x$with_ldap" in
16286 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
16287 xno) ;;
16288 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
16289 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
16290 esac
16294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
16295 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
16296 if ${wine_cv_one_arg_mkdir+:} false; then :
16297 $as_echo_n "(cached) " >&6
16298 else
16299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16300 /* end confdefs.h. */
16301 #include <sys/stat.h>
16303 main ()
16305 mkdir("foo");
16307 return 0;
16309 _ACEOF
16310 if ac_fn_c_try_compile "$LINENO"; then :
16311 wine_cv_one_arg_mkdir=yes
16312 else
16313 wine_cv_one_arg_mkdir=no
16315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
16318 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
16319 if test "$wine_cv_one_arg_mkdir" = "yes"
16320 then
16322 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
16326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
16327 $as_echo_n "checking for sched_setaffinity... " >&6; }
16328 if ${wine_cv_have_sched_setaffinity+:} false; then :
16329 $as_echo_n "(cached) " >&6
16330 else
16331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16332 /* end confdefs.h. */
16333 #define _GNU_SOURCE
16334 #include <sched.h>
16336 main ()
16338 sched_setaffinity(0, 0, 0);
16340 return 0;
16342 _ACEOF
16343 if ac_fn_c_try_link "$LINENO"; then :
16344 wine_cv_have_sched_setaffinity=yes
16345 else
16346 wine_cv_have_sched_setaffinity=no
16348 rm -f core conftest.err conftest.$ac_objext \
16349 conftest$ac_exeext conftest.$ac_ext
16351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
16352 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
16353 if test "$wine_cv_have_sched_setaffinity" = "yes"
16354 then
16356 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
16360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
16361 $as_echo_n "checking for fallocate... " >&6; }
16362 if ${wine_cv_have_fallocate+:} false; then :
16363 $as_echo_n "(cached) " >&6
16364 else
16365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16366 /* end confdefs.h. */
16367 #define _GNU_SOURCE
16368 #include <fcntl.h>
16370 main ()
16372 fallocate(-1, 0, 0, 0);
16374 return 0;
16376 _ACEOF
16377 if ac_fn_c_try_link "$LINENO"; then :
16378 wine_cv_have_fallocate=yes
16379 else
16380 wine_cv_have_fallocate=no
16382 rm -f core conftest.err conftest.$ac_objext \
16383 conftest$ac_exeext conftest.$ac_ext
16385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
16386 $as_echo "$wine_cv_have_fallocate" >&6; }
16387 if test "$wine_cv_have_fallocate" = "yes"
16388 then
16390 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
16395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
16396 $as_echo_n "checking for inline... " >&6; }
16397 if ${ac_cv_c_inline+:} false; then :
16398 $as_echo_n "(cached) " >&6
16399 else
16400 ac_cv_c_inline=no
16401 for ac_kw in inline __inline__ __inline; do
16402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16403 /* end confdefs.h. */
16404 #ifndef __cplusplus
16405 typedef int foo_t;
16406 static $ac_kw foo_t static_foo () {return 0; }
16407 $ac_kw foo_t foo () {return 0; }
16408 #endif
16410 _ACEOF
16411 if ac_fn_c_try_compile "$LINENO"; then :
16412 ac_cv_c_inline=$ac_kw
16414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16415 test "$ac_cv_c_inline" != no && break
16416 done
16419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
16420 $as_echo "$ac_cv_c_inline" >&6; }
16422 case $ac_cv_c_inline in
16423 inline | yes) ;;
16425 case $ac_cv_c_inline in
16426 no) ac_val=;;
16427 *) ac_val=$ac_cv_c_inline;;
16428 esac
16429 cat >>confdefs.h <<_ACEOF
16430 #ifndef __cplusplus
16431 #define inline $ac_val
16432 #endif
16433 _ACEOF
16435 esac
16437 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
16438 if test "x$ac_cv_type_mode_t" = xyes; then :
16440 cat >>confdefs.h <<_ACEOF
16441 #define HAVE_MODE_T 1
16442 _ACEOF
16446 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16447 if test "x$ac_cv_type_off_t" = xyes; then :
16449 cat >>confdefs.h <<_ACEOF
16450 #define HAVE_OFF_T 1
16451 _ACEOF
16455 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16456 if test "x$ac_cv_type_pid_t" = xyes; then :
16458 cat >>confdefs.h <<_ACEOF
16459 #define HAVE_PID_T 1
16460 _ACEOF
16464 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16465 if test "x$ac_cv_type_size_t" = xyes; then :
16467 cat >>confdefs.h <<_ACEOF
16468 #define HAVE_SIZE_T 1
16469 _ACEOF
16473 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16474 if test "x$ac_cv_type_ssize_t" = xyes; then :
16476 cat >>confdefs.h <<_ACEOF
16477 #define HAVE_SSIZE_T 1
16478 _ACEOF
16482 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16483 if test "x$ac_cv_type_long_long" = xyes; then :
16485 cat >>confdefs.h <<_ACEOF
16486 #define HAVE_LONG_LONG 1
16487 _ACEOF
16491 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16492 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16494 cat >>confdefs.h <<_ACEOF
16495 #define HAVE_FSBLKCNT_T 1
16496 _ACEOF
16500 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16501 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16503 cat >>confdefs.h <<_ACEOF
16504 #define HAVE_FSFILCNT_T 1
16505 _ACEOF
16510 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16511 #include <signal.h>
16513 if test "x$ac_cv_type_sigset_t" = xyes; then :
16515 cat >>confdefs.h <<_ACEOF
16516 #define HAVE_SIGSET_T 1
16517 _ACEOF
16522 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16524 if test "x$ac_cv_type_request_sense" = xyes; then :
16526 cat >>confdefs.h <<_ACEOF
16527 #define HAVE_REQUEST_SENSE 1
16528 _ACEOF
16534 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16535 #ifdef HAVE_SYS_SOCKET_H
16536 #include <sys/socket.h>
16537 #endif
16538 #ifdef HAVE_SYS_SOCKETVAR_H
16539 #include <sys/socketvar.h>
16540 #endif
16541 #ifdef HAVE_NET_ROUTE_H
16542 #include <net/route.h>
16543 #endif
16544 #ifdef HAVE_NETINET_IN_H
16545 #include <netinet/in.h>
16546 #endif
16547 #ifdef HAVE_NETINET_IN_SYSTM_H
16548 #include <netinet/in_systm.h>
16549 #endif
16550 #ifdef HAVE_NETINET_IP_H
16551 #include <netinet/ip.h>
16552 #endif
16553 #ifdef HAVE_NETINET_IN_PCB_H
16554 #include <netinet/in_pcb.h>
16555 #endif
16557 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16559 cat >>confdefs.h <<_ACEOF
16560 #define HAVE_STRUCT_XINPGEN 1
16561 _ACEOF
16567 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16568 #include <link.h>
16569 #endif
16570 #ifdef HAVE_SYS_LINK_H
16571 #include <sys/link.h>
16572 #endif
16574 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16576 cat >>confdefs.h <<_ACEOF
16577 #define HAVE_STRUCT_R_DEBUG 1
16578 _ACEOF
16582 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16583 #include <link.h>
16584 #endif
16585 #ifdef HAVE_SYS_LINK_H
16586 #include <sys/link.h>
16587 #endif
16589 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16591 cat >>confdefs.h <<_ACEOF
16592 #define HAVE_STRUCT_LINK_MAP 1
16593 _ACEOF
16599 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16600 #include <linux/input.h>
16601 #endif
16603 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16605 cat >>confdefs.h <<_ACEOF
16606 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16607 _ACEOF
16613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
16614 $as_echo_n "checking for if_nameindex... " >&6; }
16615 if ${wine_cv_have_if_nameindex+:} false; then :
16616 $as_echo_n "(cached) " >&6
16617 else
16618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16619 /* end confdefs.h. */
16620 #ifdef HAVE_SYS_TYPES_H
16621 #include <sys/types.h>
16622 #endif
16623 #ifdef HAVE_SYS_SOCKET_H
16624 #include <sys/socket.h>
16625 #endif
16626 #ifdef HAVE_NET_IF_H
16627 # include <net/if.h>
16628 #endif
16630 main ()
16632 struct if_nameindex *p = if_nameindex(); return p->if_index;
16634 return 0;
16636 _ACEOF
16637 if ac_fn_c_try_link "$LINENO"; then :
16638 wine_cv_have_if_nameindex=yes
16639 else
16640 wine_cv_have_if_nameindex=no
16642 rm -f core conftest.err conftest.$ac_objext \
16643 conftest$ac_exeext conftest.$ac_ext
16645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
16646 $as_echo "$wine_cv_have_if_nameindex" >&6; }
16647 if test "$wine_cv_have_if_nameindex" = "yes"
16648 then
16650 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
16654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16655 $as_echo_n "checking for sigaddset... " >&6; }
16656 if ${wine_cv_have_sigaddset+:} false; then :
16657 $as_echo_n "(cached) " >&6
16658 else
16659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16660 /* end confdefs.h. */
16661 #include <signal.h>
16663 main ()
16665 sigset_t set; sigaddset(&set,SIGTERM);
16667 return 0;
16669 _ACEOF
16670 if ac_fn_c_try_link "$LINENO"; then :
16671 wine_cv_have_sigaddset=yes
16672 else
16673 wine_cv_have_sigaddset=no
16675 rm -f core conftest.err conftest.$ac_objext \
16676 conftest$ac_exeext conftest.$ac_ext
16678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16679 $as_echo "$wine_cv_have_sigaddset" >&6; }
16680 if test "$wine_cv_have_sigaddset" = "yes"
16681 then
16683 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16689 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16690 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16691 $as_echo_n "(cached) " >&6
16692 else
16693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16694 /* end confdefs.h. */
16695 #include <netdb.h>
16697 main ()
16700 char *name=0;
16701 struct hostent he;
16702 struct hostent *result;
16703 char *buf=0;
16704 int bufsize=0;
16705 int errnr;
16706 char *addr=0;
16707 int addrlen=0;
16708 int addrtype=0;
16709 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16710 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16713 return 0;
16715 _ACEOF
16716 if ac_fn_c_try_link "$LINENO"; then :
16717 wine_cv_linux_gethostbyname_r_6=yes
16718 else
16719 wine_cv_linux_gethostbyname_r_6=no
16722 rm -f core conftest.err conftest.$ac_objext \
16723 conftest$ac_exeext conftest.$ac_ext
16726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16727 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16728 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16729 then
16731 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16735 if test "$ac_cv_header_linux_joystick_h" = "yes"
16736 then
16737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16738 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16739 if ${wine_cv_linux_joystick_22_api+:} false; then :
16740 $as_echo_n "(cached) " >&6
16741 else
16742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16743 /* end confdefs.h. */
16745 #include <sys/ioctl.h>
16746 #include <sys/types.h>
16747 #include <linux/joystick.h>
16749 struct js_event blub;
16750 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16751 #error "no 2.2 header"
16752 #endif
16755 main ()
16757 /*empty*/
16759 return 0;
16761 _ACEOF
16762 if ac_fn_c_try_compile "$LINENO"; then :
16763 wine_cv_linux_joystick_22_api=yes
16764 else
16765 wine_cv_linux_joystick_22_api=no
16767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16771 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16772 if test "$wine_cv_linux_joystick_22_api" = "yes"
16773 then
16775 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16781 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16782 #ifdef HAVE_SYS_PARAM_H
16783 # include <sys/param.h>
16784 #endif
16785 #ifdef HAVE_SYS_MOUNT_H
16786 # include <sys/mount.h>
16787 #endif
16788 #ifdef HAVE_SYS_VFS_H
16789 # include <sys/vfs.h>
16790 #endif
16791 #ifdef HAVE_SYS_STATFS_H
16792 # include <sys/statfs.h>
16793 #endif
16795 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16797 cat >>confdefs.h <<_ACEOF
16798 #define HAVE_STRUCT_STATFS_F_BFREE 1
16799 _ACEOF
16803 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16804 #ifdef HAVE_SYS_PARAM_H
16805 # include <sys/param.h>
16806 #endif
16807 #ifdef HAVE_SYS_MOUNT_H
16808 # include <sys/mount.h>
16809 #endif
16810 #ifdef HAVE_SYS_VFS_H
16811 # include <sys/vfs.h>
16812 #endif
16813 #ifdef HAVE_SYS_STATFS_H
16814 # include <sys/statfs.h>
16815 #endif
16817 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16819 cat >>confdefs.h <<_ACEOF
16820 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16821 _ACEOF
16825 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16826 #ifdef HAVE_SYS_PARAM_H
16827 # include <sys/param.h>
16828 #endif
16829 #ifdef HAVE_SYS_MOUNT_H
16830 # include <sys/mount.h>
16831 #endif
16832 #ifdef HAVE_SYS_VFS_H
16833 # include <sys/vfs.h>
16834 #endif
16835 #ifdef HAVE_SYS_STATFS_H
16836 # include <sys/statfs.h>
16837 #endif
16839 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16841 cat >>confdefs.h <<_ACEOF
16842 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16843 _ACEOF
16847 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16848 #ifdef HAVE_SYS_PARAM_H
16849 # include <sys/param.h>
16850 #endif
16851 #ifdef HAVE_SYS_MOUNT_H
16852 # include <sys/mount.h>
16853 #endif
16854 #ifdef HAVE_SYS_VFS_H
16855 # include <sys/vfs.h>
16856 #endif
16857 #ifdef HAVE_SYS_STATFS_H
16858 # include <sys/statfs.h>
16859 #endif
16861 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16863 cat >>confdefs.h <<_ACEOF
16864 #define HAVE_STRUCT_STATFS_F_FFREE 1
16865 _ACEOF
16869 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16870 #ifdef HAVE_SYS_PARAM_H
16871 # include <sys/param.h>
16872 #endif
16873 #ifdef HAVE_SYS_MOUNT_H
16874 # include <sys/mount.h>
16875 #endif
16876 #ifdef HAVE_SYS_VFS_H
16877 # include <sys/vfs.h>
16878 #endif
16879 #ifdef HAVE_SYS_STATFS_H
16880 # include <sys/statfs.h>
16881 #endif
16883 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16885 cat >>confdefs.h <<_ACEOF
16886 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16887 _ACEOF
16891 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16892 #ifdef HAVE_SYS_PARAM_H
16893 # include <sys/param.h>
16894 #endif
16895 #ifdef HAVE_SYS_MOUNT_H
16896 # include <sys/mount.h>
16897 #endif
16898 #ifdef HAVE_SYS_VFS_H
16899 # include <sys/vfs.h>
16900 #endif
16901 #ifdef HAVE_SYS_STATFS_H
16902 # include <sys/statfs.h>
16903 #endif
16905 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16907 cat >>confdefs.h <<_ACEOF
16908 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16909 _ACEOF
16915 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16916 #include <sys/statvfs.h>
16917 #endif
16919 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16921 cat >>confdefs.h <<_ACEOF
16922 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16923 _ACEOF
16929 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16930 #include <dirent.h>
16931 #endif
16933 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16935 cat >>confdefs.h <<_ACEOF
16936 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16937 _ACEOF
16943 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16944 #ifdef HAVE_SYS_SOCKET_H
16945 # include <sys/socket.h>
16946 #endif
16947 #ifdef HAVE_SYS_UN_H
16948 # include <sys/un.h>
16949 #endif
16951 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16953 cat >>confdefs.h <<_ACEOF
16954 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16955 _ACEOF
16959 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16960 #ifdef HAVE_SYS_SOCKET_H
16961 # include <sys/socket.h>
16962 #endif
16963 #ifdef HAVE_SYS_UN_H
16964 # include <sys/un.h>
16965 #endif
16967 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16969 cat >>confdefs.h <<_ACEOF
16970 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16971 _ACEOF
16975 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16976 #ifdef HAVE_SYS_SOCKET_H
16977 # include <sys/socket.h>
16978 #endif
16979 #ifdef HAVE_SYS_UN_H
16980 # include <sys/un.h>
16981 #endif
16983 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16985 cat >>confdefs.h <<_ACEOF
16986 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16987 _ACEOF
16993 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16994 #ifdef HAVE_SCSI_SG_H
16995 #include <scsi/sg.h>
16996 #endif
16998 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
17000 cat >>confdefs.h <<_ACEOF
17001 #define HAVE_SCSIREQ_T_CMD 1
17002 _ACEOF
17006 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>
17007 #ifdef HAVE_SCSI_SG_H
17008 #include <scsi/sg.h>
17009 #endif
17011 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
17013 cat >>confdefs.h <<_ACEOF
17014 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
17015 _ACEOF
17021 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
17023 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
17025 cat >>confdefs.h <<_ACEOF
17026 #define HAVE_SIGINFO_T_SI_FD 1
17027 _ACEOF
17033 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
17034 #ifdef HAVE_SYS_MTIO_H
17035 #include <sys/mtio.h>
17036 #endif
17038 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
17040 cat >>confdefs.h <<_ACEOF
17041 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
17042 _ACEOF
17046 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
17047 #ifdef HAVE_SYS_MTIO_H
17048 #include <sys/mtio.h>
17049 #endif
17051 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
17053 cat >>confdefs.h <<_ACEOF
17054 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
17055 _ACEOF
17059 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
17060 #ifdef HAVE_SYS_MTIO_H
17061 #include <sys/mtio.h>
17062 #endif
17064 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
17066 cat >>confdefs.h <<_ACEOF
17067 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
17068 _ACEOF
17074 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
17075 #include <getopt.h>
17076 #endif
17078 if test "x$ac_cv_member_struct_option_name" = xyes; then :
17080 cat >>confdefs.h <<_ACEOF
17081 #define HAVE_STRUCT_OPTION_NAME 1
17082 _ACEOF
17088 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
17089 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
17091 cat >>confdefs.h <<_ACEOF
17092 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17093 _ACEOF
17097 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
17098 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
17100 cat >>confdefs.h <<_ACEOF
17101 #define HAVE_STRUCT_STAT_ST_MTIM 1
17102 _ACEOF
17106 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
17107 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
17109 cat >>confdefs.h <<_ACEOF
17110 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
17111 _ACEOF
17115 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
17116 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
17118 cat >>confdefs.h <<_ACEOF
17119 #define HAVE_STRUCT_STAT_ST_CTIM 1
17120 _ACEOF
17124 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
17125 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
17127 cat >>confdefs.h <<_ACEOF
17128 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
17129 _ACEOF
17133 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
17134 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
17136 cat >>confdefs.h <<_ACEOF
17137 #define HAVE_STRUCT_STAT_ST_ATIM 1
17138 _ACEOF
17142 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
17143 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
17145 cat >>confdefs.h <<_ACEOF
17146 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
17147 _ACEOF
17151 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
17152 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
17154 cat >>confdefs.h <<_ACEOF
17155 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
17156 _ACEOF
17160 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
17161 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
17163 cat >>confdefs.h <<_ACEOF
17164 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
17165 _ACEOF
17169 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
17170 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
17172 cat >>confdefs.h <<_ACEOF
17173 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
17174 _ACEOF
17178 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
17179 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
17181 cat >>confdefs.h <<_ACEOF
17182 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
17183 _ACEOF
17187 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
17188 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
17190 cat >>confdefs.h <<_ACEOF
17191 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
17192 _ACEOF
17198 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
17199 #include <sys/types.h>
17200 #endif
17201 #ifdef HAVE_NETINET_IN_H
17202 #include <netinet/in.h>
17203 #endif
17205 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
17207 cat >>confdefs.h <<_ACEOF
17208 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
17209 _ACEOF
17215 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
17216 #include <sys/types.h>
17217 #endif
17218 #ifdef HAVE_NETINET_IN_H
17219 #include <netinet/in.h>
17220 #endif
17221 #ifdef HAVE_RESOLV_H
17222 #include <resolv.h>
17223 #endif
17225 if test "x$ac_cv_type_struct___res_state" = xyes; then :
17227 cat >>confdefs.h <<_ACEOF
17228 #define HAVE_STRUCT___RES_STATE 1
17229 _ACEOF
17235 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
17236 #include <resolv.h>
17237 #endif
17239 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
17241 cat >>confdefs.h <<_ACEOF
17242 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
17243 _ACEOF
17249 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
17250 #include <sys/types.h>
17251 #endif
17252 #ifdef HAVE_NETINET_IN_H
17253 # include <netinet/in.h>
17254 #endif
17255 #ifdef HAVE_ARPA_NAMESER_H
17256 # include <arpa/nameser.h>
17257 #endif
17259 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
17261 cat >>confdefs.h <<_ACEOF
17262 #define HAVE_NS_MSG__MSG_PTR 1
17263 _ACEOF
17269 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
17270 #include <sys/types.h>
17271 #endif
17272 #ifdef HAVE_NETINET_IN_H
17273 #include <netinet/in.h>
17274 #endif
17275 #ifdef HAVE_NETINET_IP_H
17276 #include <netinet/ip.h>
17277 #endif
17278 #ifdef HAVE_NETINET_IP_ICMP_H
17279 #include <netinet/ip_icmp.h>
17280 #endif
17281 #ifdef HAVE_NETINET_ICMP_VAR_H
17282 #include <netinet/icmp_var.h>
17283 #endif
17285 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
17287 cat >>confdefs.h <<_ACEOF
17288 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
17289 _ACEOF
17295 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
17296 #include <sys/types.h>
17297 #endif
17298 #ifdef HAVE_ALIAS_H
17299 #include <alias.h>
17300 #endif
17301 #ifdef HAVE_SYS_SOCKET_H
17302 #include <sys/socket.h>
17303 #endif
17304 #ifdef HAVE_SYS_SOCKETVAR_H
17305 #include <sys/socketvar.h>
17306 #endif
17307 #ifdef HAVE_SYS_TIMEOUT_H
17308 #include <sys/timeout.h>
17309 #endif
17310 #ifdef HAVE_NETINET_IN_H
17311 #include <netinet/in.h>
17312 #endif
17313 #ifdef HAVE_NETINET_IN_SYSTM_H
17314 #include <netinet/in_systm.h>
17315 #endif
17316 #ifdef HAVE_NETINET_IP_H
17317 #include <netinet/ip.h>
17318 #endif
17319 #ifdef HAVE_NETINET_IP_VAR_H
17320 #include <netinet/ip_var.h>
17321 #endif
17322 #ifdef HAVE_NETINET_IP_ICMP_H
17323 #include <netinet/ip_icmp.h>
17324 #endif
17325 #ifdef HAVE_NETINET_ICMP_VAR_H
17326 #include <netinet/icmp_var.h>
17327 #endif
17329 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
17331 cat >>confdefs.h <<_ACEOF
17332 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
17333 _ACEOF
17339 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
17340 #include <sys/types.h>
17341 #endif
17342 #ifdef HAVE_SYS_SOCKETVAR_H
17343 #include <sys/socketvar.h>
17344 #endif
17345 #ifdef HAVE_NETINET_IN_H
17346 #include <netinet/in.h>
17347 #endif
17348 #ifdef HAVE_NETINET_IP_VAR_H
17349 #include <netinet/ip_var.h>
17350 #endif
17352 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
17354 cat >>confdefs.h <<_ACEOF
17355 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
17356 _ACEOF
17362 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
17363 #include <netinet/ip_var.h>
17364 #endif
17366 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
17368 cat >>confdefs.h <<_ACEOF
17369 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
17370 _ACEOF
17376 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
17377 #include <sys/types.h>
17378 #endif
17379 #ifdef HAVE_SYS_SOCKETVAR_H
17380 #include <sys/socketvar.h>
17381 #endif
17382 #ifdef HAVE_NETINET_IN_H
17383 #include <netinet/in.h>
17384 #endif
17385 #ifdef HAVE_NETINET_TCP_H
17386 #include <netinet/tcp.h>
17387 #endif
17388 #ifdef HAVE_NETINET_TCP_VAR_H
17389 #include <netinet/tcp_var.h>
17390 #endif
17392 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
17394 cat >>confdefs.h <<_ACEOF
17395 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
17396 _ACEOF
17402 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
17403 #include <netinet/tcp_var.h>
17404 #endif
17406 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
17408 cat >>confdefs.h <<_ACEOF
17409 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
17410 _ACEOF
17416 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
17417 #include <sys/types.h>
17418 #endif
17419 #ifdef HAVE_NETINET_IN_H
17420 #include <netinet/in.h>
17421 #endif
17422 #ifdef HAVE_NETINET_IP_VAR_H
17423 #include <netinet/ip_var.h>
17424 #endif
17425 #ifdef HAVE_NETINET_UDP_H
17426 #include <netinet/udp.h>
17427 #endif
17428 #ifdef HAVE_NETINET_UDP_VAR_H
17429 #include <netinet/udp_var.h>
17430 #endif
17432 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
17434 cat >>confdefs.h <<_ACEOF
17435 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
17436 _ACEOF
17442 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
17443 #include <sys/types.h>
17444 #endif
17445 #ifdef HAVE_NET_IF_H
17446 # include <net/if.h>
17447 #endif
17449 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
17451 cat >>confdefs.h <<_ACEOF
17452 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
17453 _ACEOF
17459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
17460 $as_echo_n "checking for timezone variable... " >&6; }
17461 if ${ac_cv_have_timezone+:} false; then :
17462 $as_echo_n "(cached) " >&6
17463 else
17464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17465 /* end confdefs.h. */
17466 #include <time.h>
17468 main ()
17470 timezone = 1
17472 return 0;
17474 _ACEOF
17475 if ac_fn_c_try_link "$LINENO"; then :
17476 ac_cv_have_timezone="yes"
17477 else
17478 ac_cv_have_timezone="no"
17480 rm -f core conftest.err conftest.$ac_objext \
17481 conftest$ac_exeext conftest.$ac_ext
17483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
17484 $as_echo "$ac_cv_have_timezone" >&6; }
17485 if test "$ac_cv_have_timezone" = "yes"
17486 then
17488 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17492 $as_echo_n "checking for daylight variable... " >&6; }
17493 if ${ac_cv_have_daylight+:} false; then :
17494 $as_echo_n "(cached) " >&6
17495 else
17496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17497 /* end confdefs.h. */
17498 #include <time.h>
17500 main ()
17502 daylight = 1
17504 return 0;
17506 _ACEOF
17507 if ac_fn_c_try_link "$LINENO"; then :
17508 ac_cv_have_daylight="yes"
17509 else
17510 ac_cv_have_daylight="no"
17512 rm -f core conftest.err conftest.$ac_objext \
17513 conftest$ac_exeext conftest.$ac_ext
17515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17516 $as_echo "$ac_cv_have_daylight" >&6; }
17517 if test "$ac_cv_have_daylight" = "yes"
17518 then
17520 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17524 ac_save_LIBS="$LIBS"
17525 LIBS="$LIBS -lm"
17526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17527 $as_echo_n "checking for isfinite... " >&6; }
17528 if ${ac_cv_have_isfinite+:} false; then :
17529 $as_echo_n "(cached) " >&6
17530 else
17531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17532 /* end confdefs.h. */
17533 #define _GNU_SOURCE
17534 #include <math.h>
17536 main ()
17538 float f = 0.0; return isfinite(f)
17540 return 0;
17542 _ACEOF
17543 if ac_fn_c_try_link "$LINENO"; then :
17544 ac_cv_have_isfinite="yes"
17545 else
17546 ac_cv_have_isfinite="no"
17548 rm -f core conftest.err conftest.$ac_objext \
17549 conftest$ac_exeext conftest.$ac_ext
17551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17552 $as_echo "$ac_cv_have_isfinite" >&6; }
17553 if test "$ac_cv_have_isfinite" = "yes"
17554 then
17556 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17561 $as_echo_n "checking for isinf... " >&6; }
17562 if ${ac_cv_have_isinf+:} false; then :
17563 $as_echo_n "(cached) " >&6
17564 else
17565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17566 /* end confdefs.h. */
17567 #include <math.h>
17569 main ()
17571 float f = 0.0; return isinf(f)
17573 return 0;
17575 _ACEOF
17576 if ac_fn_c_try_link "$LINENO"; then :
17577 ac_cv_have_isinf="yes"
17578 else
17579 ac_cv_have_isinf="no"
17581 rm -f core conftest.err conftest.$ac_objext \
17582 conftest$ac_exeext conftest.$ac_ext
17584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17585 $as_echo "$ac_cv_have_isinf" >&6; }
17586 if test "$ac_cv_have_isinf" = "yes"
17587 then
17589 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17594 $as_echo_n "checking for isnan... " >&6; }
17595 if ${ac_cv_have_isnan+:} false; then :
17596 $as_echo_n "(cached) " >&6
17597 else
17598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17599 /* end confdefs.h. */
17600 #include <math.h>
17602 main ()
17604 float f = 0.0; return isnan(f)
17606 return 0;
17608 _ACEOF
17609 if ac_fn_c_try_link "$LINENO"; then :
17610 ac_cv_have_isnan="yes"
17611 else
17612 ac_cv_have_isnan="no"
17614 rm -f core conftest.err conftest.$ac_objext \
17615 conftest$ac_exeext conftest.$ac_ext
17617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17618 $as_echo "$ac_cv_have_isnan" >&6; }
17619 if test "$ac_cv_have_isnan" = "yes"
17620 then
17622 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17626 for ac_func in \
17627 acosh \
17628 acoshf \
17629 asinh \
17630 asinhf \
17631 atanh \
17632 atanhf \
17633 cbrt \
17634 cbrtf \
17635 erf \
17636 erfc \
17637 erfcf \
17638 erff \
17639 exp2 \
17640 exp2f \
17641 expm1 \
17642 expm1f \
17643 lgamma \
17644 lgammaf \
17645 llrint \
17646 llrintf \
17647 llround \
17648 llroundf \
17649 log1p \
17650 log1pf \
17651 log2 \
17652 log2f \
17653 lrint \
17654 lrintf \
17655 lround \
17656 lroundf \
17657 nearbyint \
17658 nearbyintf \
17659 powl \
17660 remainder \
17661 remainderf \
17662 rint \
17663 rintf \
17664 round \
17665 roundf \
17666 trunc \
17667 truncf
17669 do :
17670 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17671 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17672 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17673 cat >>confdefs.h <<_ACEOF
17674 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17675 _ACEOF
17678 done
17680 LIBS="$ac_save_LIBS"
17682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17683 $as_echo_n "checking for __builtin_clz... " >&6; }
17684 if ${ac_cv_have___builtin_clz+:} false; then :
17685 $as_echo_n "(cached) " >&6
17686 else
17687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17688 /* end confdefs.h. */
17691 main ()
17693 return __builtin_clz(1)
17695 return 0;
17697 _ACEOF
17698 if ac_fn_c_try_link "$LINENO"; then :
17699 ac_cv_have___builtin_clz="yes"
17700 else
17701 ac_cv_have___builtin_clz="no"
17703 rm -f core conftest.err conftest.$ac_objext \
17704 conftest$ac_exeext conftest.$ac_ext
17706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17707 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17708 if test "$ac_cv_have___builtin_clz" = "yes"
17709 then
17711 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17716 $as_echo_n "checking for __builtin_popcount... " >&6; }
17717 if ${ac_cv_have___builtin_popcount+:} false; then :
17718 $as_echo_n "(cached) " >&6
17719 else
17720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17721 /* end confdefs.h. */
17724 main ()
17726 return __builtin_popcount(1)
17728 return 0;
17730 _ACEOF
17731 if ac_fn_c_try_link "$LINENO"; then :
17732 ac_cv_have___builtin_popcount="yes"
17733 else
17734 ac_cv_have___builtin_popcount="no"
17736 rm -f core conftest.err conftest.$ac_objext \
17737 conftest$ac_exeext conftest.$ac_ext
17739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17740 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17741 if test "$ac_cv_have___builtin_popcount" = "yes"
17742 then
17744 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
17749 $as_echo_n "checking for __clear_cache... " >&6; }
17750 if ${ac_cv_have___clear_cache+:} false; then :
17751 $as_echo_n "(cached) " >&6
17752 else
17753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17754 /* end confdefs.h. */
17757 main ()
17759 __clear_cache((void*)0, (void*)0); return 0;
17761 return 0;
17763 _ACEOF
17764 if ac_fn_c_try_link "$LINENO"; then :
17765 ac_cv_have___clear_cache="yes"
17766 else
17767 ac_cv_have___clear_cache="no"
17769 rm -f core conftest.err conftest.$ac_objext \
17770 conftest$ac_exeext conftest.$ac_ext
17772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
17773 $as_echo "$ac_cv_have___clear_cache" >&6; }
17774 if test "$ac_cv_have___clear_cache" = "yes"
17775 then
17777 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
17782 case $host_cpu in
17783 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17784 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17785 if ${ac_cv_cpp_def___i386__+:} false; then :
17786 $as_echo_n "(cached) " >&6
17787 else
17788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17789 /* end confdefs.h. */
17790 #ifndef __i386__
17792 #endif
17793 _ACEOF
17794 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17795 $EGREP "yes" >/dev/null 2>&1; then :
17796 ac_cv_cpp_def___i386__=yes
17797 else
17798 ac_cv_cpp_def___i386__=no
17800 rm -f conftest*
17803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17804 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17805 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17806 CFLAGS="$CFLAGS -D__i386__"
17807 LINTFLAGS="$LINTFLAGS -D__i386__"
17808 fi ;;
17809 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17810 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17811 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17812 $as_echo_n "(cached) " >&6
17813 else
17814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17815 /* end confdefs.h. */
17816 #ifndef __x86_64__
17818 #endif
17819 _ACEOF
17820 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17821 $EGREP "yes" >/dev/null 2>&1; then :
17822 ac_cv_cpp_def___x86_64__=yes
17823 else
17824 ac_cv_cpp_def___x86_64__=no
17826 rm -f conftest*
17829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17830 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17831 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17832 CFLAGS="$CFLAGS -D__x86_64__"
17833 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17834 fi ;;
17835 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17836 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17837 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17838 $as_echo_n "(cached) " >&6
17839 else
17840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17841 /* end confdefs.h. */
17842 #ifndef __sparc64__
17844 #endif
17845 _ACEOF
17846 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17847 $EGREP "yes" >/dev/null 2>&1; then :
17848 ac_cv_cpp_def___sparc64__=yes
17849 else
17850 ac_cv_cpp_def___sparc64__=no
17852 rm -f conftest*
17855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17856 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17857 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17858 CFLAGS="$CFLAGS -D__sparc64__"
17859 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17860 fi ;;
17861 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17862 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17863 if ${ac_cv_cpp_def___sparc__+:} false; then :
17864 $as_echo_n "(cached) " >&6
17865 else
17866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17867 /* end confdefs.h. */
17868 #ifndef __sparc__
17870 #endif
17871 _ACEOF
17872 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17873 $EGREP "yes" >/dev/null 2>&1; then :
17874 ac_cv_cpp_def___sparc__=yes
17875 else
17876 ac_cv_cpp_def___sparc__=no
17878 rm -f conftest*
17881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17882 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17883 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17884 CFLAGS="$CFLAGS -D__sparc__"
17885 LINTFLAGS="$LINTFLAGS -D__sparc__"
17886 fi ;;
17887 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17888 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17889 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17890 $as_echo_n "(cached) " >&6
17891 else
17892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17893 /* end confdefs.h. */
17894 #ifndef __powerpc64__
17896 #endif
17897 _ACEOF
17898 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17899 $EGREP "yes" >/dev/null 2>&1; then :
17900 ac_cv_cpp_def___powerpc64__=yes
17901 else
17902 ac_cv_cpp_def___powerpc64__=no
17904 rm -f conftest*
17907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17908 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17909 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17910 CFLAGS="$CFLAGS -D__powerpc64__"
17911 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17912 fi ;;
17913 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17914 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17915 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17916 $as_echo_n "(cached) " >&6
17917 else
17918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17919 /* end confdefs.h. */
17920 #ifndef __powerpc__
17922 #endif
17923 _ACEOF
17924 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17925 $EGREP "yes" >/dev/null 2>&1; then :
17926 ac_cv_cpp_def___powerpc__=yes
17927 else
17928 ac_cv_cpp_def___powerpc__=no
17930 rm -f conftest*
17933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17934 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17935 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17936 CFLAGS="$CFLAGS -D__powerpc__"
17937 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17938 fi ;;
17939 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17940 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17941 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17942 $as_echo_n "(cached) " >&6
17943 else
17944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17945 /* end confdefs.h. */
17946 #ifndef __aarch64__
17948 #endif
17949 _ACEOF
17950 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17951 $EGREP "yes" >/dev/null 2>&1; then :
17952 ac_cv_cpp_def___aarch64__=yes
17953 else
17954 ac_cv_cpp_def___aarch64__=no
17956 rm -f conftest*
17959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17960 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17961 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17962 CFLAGS="$CFLAGS -D__aarch64__"
17963 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17964 fi ;;
17965 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17966 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17967 if ${ac_cv_cpp_def___arm__+:} false; then :
17968 $as_echo_n "(cached) " >&6
17969 else
17970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17971 /* end confdefs.h. */
17972 #ifndef __arm__
17974 #endif
17975 _ACEOF
17976 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17977 $EGREP "yes" >/dev/null 2>&1; then :
17978 ac_cv_cpp_def___arm__=yes
17979 else
17980 ac_cv_cpp_def___arm__=no
17982 rm -f conftest*
17985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17986 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17987 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17988 CFLAGS="$CFLAGS -D__arm__"
17989 LINTFLAGS="$LINTFLAGS -D__arm__"
17990 fi ;;
17991 esac
17993 case $host_vendor in
17994 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17995 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17996 if ${ac_cv_cpp_def___sun__+:} false; then :
17997 $as_echo_n "(cached) " >&6
17998 else
17999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18000 /* end confdefs.h. */
18001 #ifndef __sun__
18003 #endif
18004 _ACEOF
18005 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18006 $EGREP "yes" >/dev/null 2>&1; then :
18007 ac_cv_cpp_def___sun__=yes
18008 else
18009 ac_cv_cpp_def___sun__=no
18011 rm -f conftest*
18014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
18015 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
18016 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
18017 CFLAGS="$CFLAGS -D__sun__"
18018 LINTFLAGS="$LINTFLAGS -D__sun__"
18019 fi ;;
18020 esac
18026 ac_config_commands="$ac_config_commands include/stamp-h"
18028 $as_echo_n "creating Makefile rules..." >&6
18030 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
18031 SOCKET_LIBS = $SOCKET_LIBS
18032 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
18033 IOKIT_LIBS = $IOKIT_LIBS
18034 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
18035 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
18036 CORESERVICES_LIBS = $CORESERVICES_LIBS
18037 APPKIT_LIBS = $APPKIT_LIBS
18038 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
18039 SECURITY_LIBS = $SECURITY_LIBS
18040 COREAUDIO_LIBS = $COREAUDIO_LIBS
18041 OPENAL_LIBS = $OPENAL_LIBS
18042 OPENCL_LIBS = $OPENCL_LIBS
18043 QUICKTIME_LIBS = $QUICKTIME_LIBS
18044 CARBON_LIBS = $CARBON_LIBS
18045 PTHREAD_LIBS = $PTHREAD_LIBS
18046 X_CFLAGS = $X_CFLAGS
18047 X_PRE_LIBS = $X_PRE_LIBS
18048 X_LIBS = $X_LIBS
18049 X_EXTRA_LIBS = $X_EXTRA_LIBS
18050 PCAP_LIBS = $PCAP_LIBS
18051 XML2_CFLAGS = $XML2_CFLAGS
18052 XML2_LIBS = $XML2_LIBS
18053 XSLT_CFLAGS = $XSLT_CFLAGS
18054 XSLT_LIBS = $XSLT_LIBS
18055 DBUS_CFLAGS = $DBUS_CFLAGS
18056 DBUS_LIBS = $DBUS_LIBS
18057 HAL_CFLAGS = $HAL_CFLAGS
18058 HAL_LIBS = $HAL_LIBS
18059 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
18060 GNUTLS_LIBS = $GNUTLS_LIBS
18061 SANE_CFLAGS = $SANE_CFLAGS
18062 SANE_LIBS = $SANE_LIBS
18063 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
18064 GPHOTO2_LIBS = $GPHOTO2_LIBS
18065 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
18066 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
18067 RESOLV_LIBS = $RESOLV_LIBS
18068 LCMS2_CFLAGS = $LCMS2_CFLAGS
18069 LCMS2_LIBS = $LCMS2_LIBS
18070 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
18071 FREETYPE_LIBS = $FREETYPE_LIBS
18072 Z_LIBS = $Z_LIBS
18073 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
18074 PULSE_CFLAGS = $PULSE_CFLAGS
18075 PULSE_LIBS = $PULSE_LIBS
18076 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
18077 GSTREAMER_LIBS = $GSTREAMER_LIBS
18078 ALSA_LIBS = $ALSA_LIBS
18079 OSS4_CFLAGS = $OSS4_CFLAGS
18080 UDEV_CFLAGS = $UDEV_CFLAGS
18081 UDEV_LIBS = $UDEV_LIBS
18082 SDL2_CFLAGS = $SDL2_CFLAGS
18083 SDL2_LIBS = $SDL2_LIBS
18084 CAPI20_CFLAGS = $CAPI20_CFLAGS
18085 CAPI20_LIBS = $CAPI20_LIBS
18086 CUPS_CFLAGS = $CUPS_CFLAGS
18087 CUPS_LIBS = $CUPS_LIBS
18088 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
18089 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
18090 KRB5_CFLAGS = $KRB5_CFLAGS
18091 KRB5_LIBS = $KRB5_LIBS
18092 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
18093 GSSAPI_LIBS = $GSSAPI_LIBS
18094 JPEG_CFLAGS = $JPEG_CFLAGS
18095 JPEG_LIBS = $JPEG_LIBS
18096 PNG_CFLAGS = $PNG_CFLAGS
18097 PNG_LIBS = $PNG_LIBS
18098 TIFF_CFLAGS = $TIFF_CFLAGS
18099 TIFF_LIBS = $TIFF_LIBS
18100 MPG123_CFLAGS = $MPG123_CFLAGS
18101 MPG123_LIBS = $MPG123_LIBS
18102 KSTAT_LIBS = $KSTAT_LIBS
18103 PROCSTAT_LIBS = $PROCSTAT_LIBS
18104 NETAPI_CFLAGS = $NETAPI_CFLAGS
18105 NETAPI_LIBS = $NETAPI_LIBS
18106 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
18107 DL_LIBS = $DL_LIBS
18108 POLL_LIBS = $POLL_LIBS
18109 RT_LIBS = $RT_LIBS
18110 LDAP_CFLAGS = $LDAP_CFLAGS
18111 LDAP_LIBS = $LDAP_LIBS
18116 wine_fn_append_rule "
18117 # Rules automatically generated by configure
18119 .INIT: Makefile
18120 .MAKEFILEDEPS:
18121 all: Makefile
18122 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
18123 @./config.status Make.tmp Makefile
18124 depend: \$(MAKEDEP) dummy
18125 \$(MAKEDEP)"
18127 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
18128 @echo \"crosstest is not supported (mingw not installed?)\" && false"
18130 if test "x$enable_fonts" != xno; then
18131 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
18132 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
18133 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
18134 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
18135 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
18136 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
18138 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
18139 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
18140 ac_config_links="$ac_config_links wine:tools/winewrapper"
18141 wine_fn_config_symlink wine
18142 if test "x$enable_win64" != xno; then
18143 ac_config_links="$ac_config_links wine64:tools/winewrapper"
18144 wine_fn_config_symlink wine64
18147 wine_fn_config_dll acledit enable_acledit
18148 wine_fn_config_dll aclui enable_aclui
18149 wine_fn_config_dll activeds enable_activeds
18150 wine_fn_config_dll actxprxy enable_actxprxy
18151 wine_fn_config_lib adsiid
18152 wine_fn_config_dll adsldp enable_adsldp
18153 wine_fn_config_test dlls/adsldp/tests adsldp_test
18154 wine_fn_config_dll adsldpc enable_adsldpc
18155 wine_fn_config_dll advapi32 enable_advapi32
18156 wine_fn_config_test dlls/advapi32/tests advapi32_test
18157 wine_fn_config_dll advpack enable_advpack
18158 wine_fn_config_test dlls/advpack/tests advpack_test
18159 wine_fn_config_dll amstream enable_amstream
18160 wine_fn_config_test dlls/amstream/tests amstream_test
18161 wine_fn_config_dll api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
18162 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
18163 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
18164 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
18165 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
18166 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
18167 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
18168 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
18169 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
18170 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
18171 wine_fn_config_dll api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
18172 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
18173 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
18174 wine_fn_config_dll api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
18175 wine_fn_config_dll api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
18176 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
18177 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
18178 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
18179 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
18180 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
18181 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
18182 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
18183 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
18184 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
18185 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
18186 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
18187 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
18188 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
18189 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
18190 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
18191 wine_fn_config_dll api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
18192 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
18193 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
18194 wine_fn_config_dll api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
18195 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
18196 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
18197 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
18198 wine_fn_config_dll api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
18199 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
18200 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
18201 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
18202 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
18203 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
18204 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
18205 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
18206 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
18207 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
18208 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
18209 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
18210 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
18211 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
18212 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
18213 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
18214 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
18215 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
18216 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
18217 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
18218 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
18219 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
18220 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
18221 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
18222 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
18223 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
18224 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
18225 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
18226 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
18227 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
18228 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
18229 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
18230 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
18231 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
18232 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
18233 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
18234 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
18235 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
18236 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
18237 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
18238 wine_fn_config_dll api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
18239 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
18240 wine_fn_config_dll api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
18241 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
18242 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
18243 wine_fn_config_dll api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
18244 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
18245 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
18246 wine_fn_config_dll api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
18247 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
18248 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
18249 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
18250 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
18251 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
18252 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
18253 wine_fn_config_dll api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
18254 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
18255 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
18256 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
18257 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
18258 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
18259 wine_fn_config_dll api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
18260 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
18261 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
18262 wine_fn_config_dll api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
18263 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
18264 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
18265 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
18266 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
18267 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
18268 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
18269 wine_fn_config_dll api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
18270 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
18271 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
18272 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
18273 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
18274 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
18275 wine_fn_config_dll api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
18276 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
18277 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
18278 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
18279 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
18280 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
18281 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
18282 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
18283 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
18284 wine_fn_config_dll api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
18285 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
18286 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
18287 wine_fn_config_dll api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
18288 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
18289 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
18290 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
18291 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
18292 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
18293 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
18294 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
18295 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
18296 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
18297 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
18298 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
18299 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
18300 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
18301 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
18302 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
18303 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
18304 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
18305 wine_fn_config_dll api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
18306 wine_fn_config_dll api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
18307 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
18308 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
18309 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
18310 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
18311 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
18312 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
18313 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
18314 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
18315 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
18316 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
18317 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
18318 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
18319 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
18320 wine_fn_config_dll api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
18321 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
18322 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
18323 wine_fn_config_dll api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
18324 wine_fn_config_dll api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
18325 wine_fn_config_dll api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
18326 wine_fn_config_dll api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
18327 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
18328 wine_fn_config_dll api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
18329 wine_fn_config_dll api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
18330 wine_fn_config_dll api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
18331 wine_fn_config_dll api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
18332 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
18333 wine_fn_config_dll api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
18334 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
18335 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
18336 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
18337 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
18338 wine_fn_config_dll api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
18339 wine_fn_config_dll api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
18340 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
18341 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
18342 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
18343 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
18344 wine_fn_config_dll api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
18345 wine_fn_config_dll api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
18346 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
18347 wine_fn_config_dll api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
18348 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
18349 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
18350 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
18351 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
18352 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
18353 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
18354 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
18355 wine_fn_config_dll api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
18356 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
18357 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
18358 wine_fn_config_dll apphelp enable_apphelp
18359 wine_fn_config_test dlls/apphelp/tests apphelp_test
18360 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl
18361 wine_fn_config_dll atl enable_atl
18362 wine_fn_config_test dlls/atl/tests atl_test
18363 wine_fn_config_dll atl100 enable_atl100
18364 wine_fn_config_test dlls/atl100/tests atl100_test
18365 wine_fn_config_dll atl110 enable_atl110
18366 wine_fn_config_dll atl80 enable_atl80
18367 wine_fn_config_test dlls/atl80/tests atl80_test
18368 wine_fn_config_dll atl90 enable_atl90
18369 wine_fn_config_dll authz enable_authz
18370 wine_fn_config_dll avicap32 enable_avicap32
18371 wine_fn_config_dll avifil32 enable_avifil32
18372 wine_fn_config_test dlls/avifil32/tests avifil32_test
18373 wine_fn_config_dll avifile.dll16 enable_win16
18374 wine_fn_config_dll avrt enable_avrt
18375 wine_fn_config_dll bcrypt enable_bcrypt
18376 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
18377 wine_fn_config_dll bluetoothapis enable_bluetoothapis
18378 wine_fn_config_dll browseui enable_browseui
18379 wine_fn_config_test dlls/browseui/tests browseui_test
18380 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
18381 wine_fn_config_dll cabinet enable_cabinet
18382 wine_fn_config_test dlls/cabinet/tests cabinet_test
18383 wine_fn_config_dll capi2032 enable_capi2032
18384 wine_fn_config_dll cards enable_cards
18385 wine_fn_config_dll cdosys enable_cdosys
18386 wine_fn_config_dll cfgmgr32 enable_cfgmgr32
18387 wine_fn_config_dll clusapi enable_clusapi
18388 wine_fn_config_dll combase enable_combase
18389 wine_fn_config_test dlls/combase/tests combase_test
18390 wine_fn_config_dll comcat enable_comcat
18391 wine_fn_config_test dlls/comcat/tests comcat_test
18392 wine_fn_config_dll comctl32 enable_comctl32
18393 wine_fn_config_test dlls/comctl32/tests comctl32_test
18394 wine_fn_config_dll comdlg32 enable_comdlg32
18395 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
18396 wine_fn_config_dll comm.drv16 enable_win16
18397 wine_fn_config_dll commdlg.dll16 enable_win16
18398 wine_fn_config_dll compobj.dll16 enable_win16
18399 wine_fn_config_dll compstui enable_compstui
18400 wine_fn_config_dll comsvcs enable_comsvcs
18401 wine_fn_config_dll concrt140 enable_concrt140
18402 wine_fn_config_dll connect enable_connect
18403 wine_fn_config_dll credui enable_credui
18404 wine_fn_config_test dlls/credui/tests credui_test
18405 wine_fn_config_dll crtdll enable_crtdll
18406 wine_fn_config_dll crypt32 enable_crypt32
18407 wine_fn_config_test dlls/crypt32/tests crypt32_test
18408 wine_fn_config_dll cryptdlg enable_cryptdlg
18409 wine_fn_config_dll cryptdll enable_cryptdll
18410 wine_fn_config_dll cryptext enable_cryptext
18411 wine_fn_config_dll cryptnet enable_cryptnet
18412 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
18413 wine_fn_config_dll cryptui enable_cryptui
18414 wine_fn_config_test dlls/cryptui/tests cryptui_test
18415 wine_fn_config_dll ctapi32 enable_ctapi32
18416 wine_fn_config_dll ctl3d.dll16 enable_win16
18417 wine_fn_config_dll ctl3d32 enable_ctl3d32
18418 wine_fn_config_dll ctl3dv2.dll16 enable_win16
18419 wine_fn_config_dll d2d1 enable_d2d1
18420 wine_fn_config_test dlls/d2d1/tests d2d1_test
18421 wine_fn_config_dll d3d10 enable_d3d10
18422 wine_fn_config_test dlls/d3d10/tests d3d10_test
18423 wine_fn_config_dll d3d10_1 enable_d3d10_1
18424 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
18425 wine_fn_config_dll d3d10core enable_d3d10core
18426 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
18427 wine_fn_config_dll d3d11 enable_d3d11
18428 wine_fn_config_test dlls/d3d11/tests d3d11_test
18429 wine_fn_config_dll d3d12 enable_d3d12
18430 wine_fn_config_test dlls/d3d12/tests d3d12_test
18431 wine_fn_config_dll d3d8 enable_d3d8
18432 wine_fn_config_test dlls/d3d8/tests d3d8_test
18433 wine_fn_config_dll d3d9 enable_d3d9
18434 wine_fn_config_test dlls/d3d9/tests d3d9_test
18435 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
18436 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
18437 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
18438 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
18439 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
18440 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
18441 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
18442 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
18443 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
18444 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
18445 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43
18446 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
18447 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
18448 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
18449 wine_fn_config_dll d3dim enable_d3dim
18450 wine_fn_config_dll d3drm enable_d3drm
18451 wine_fn_config_test dlls/d3drm/tests d3drm_test
18452 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
18453 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
18454 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
18455 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
18456 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
18457 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
18458 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
18459 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
18460 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
18461 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
18462 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
18463 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
18464 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
18465 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
18466 wine_fn_config_test dlls/d3dx11_43/tests d3dx11_43_test
18467 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
18468 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
18469 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
18470 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
18471 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
18472 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
18473 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
18474 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
18475 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
18476 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
18477 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
18478 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
18479 wine_fn_config_dll d3dx9_36 enable_d3dx9_36
18480 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
18481 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
18482 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
18483 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
18484 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
18485 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
18486 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
18487 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
18488 wine_fn_config_dll d3dxof enable_d3dxof
18489 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
18490 wine_fn_config_dll davclnt enable_davclnt
18491 wine_fn_config_dll dbgeng enable_dbgeng
18492 wine_fn_config_dll dbghelp enable_dbghelp
18493 wine_fn_config_dll dciman32 enable_dciman32
18494 wine_fn_config_dll ddeml.dll16 enable_win16
18495 wine_fn_config_dll ddraw enable_ddraw
18496 wine_fn_config_test dlls/ddraw/tests ddraw_test
18497 wine_fn_config_dll ddrawex enable_ddrawex
18498 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
18499 wine_fn_config_dll devenum enable_devenum
18500 wine_fn_config_test dlls/devenum/tests devenum_test
18501 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
18502 wine_fn_config_dll dhtmled.ocx enable_dhtmled_ocx
18503 wine_fn_config_dll difxapi enable_difxapi
18504 wine_fn_config_dll dinput enable_dinput
18505 wine_fn_config_test dlls/dinput/tests dinput_test
18506 wine_fn_config_dll dinput8 enable_dinput8
18507 wine_fn_config_test dlls/dinput8/tests dinput8_test
18508 wine_fn_config_dll dispdib.dll16 enable_win16
18509 wine_fn_config_dll dispex enable_dispex
18510 wine_fn_config_test dlls/dispex/tests dispex_test
18511 wine_fn_config_dll display.drv16 enable_win16
18512 wine_fn_config_dll dmband enable_dmband
18513 wine_fn_config_test dlls/dmband/tests dmband_test
18514 wine_fn_config_dll dmcompos enable_dmcompos
18515 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
18516 wine_fn_config_dll dmime enable_dmime
18517 wine_fn_config_test dlls/dmime/tests dmime_test
18518 wine_fn_config_dll dmloader enable_dmloader
18519 wine_fn_config_test dlls/dmloader/tests dmloader_test
18520 wine_fn_config_dll dmscript enable_dmscript
18521 wine_fn_config_test dlls/dmscript/tests dmscript_test
18522 wine_fn_config_dll dmstyle enable_dmstyle
18523 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
18524 wine_fn_config_dll dmsynth enable_dmsynth
18525 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
18526 wine_fn_config_dll dmusic enable_dmusic
18527 wine_fn_config_test dlls/dmusic/tests dmusic_test
18528 wine_fn_config_dll dmusic32 enable_dmusic32
18529 wine_fn_config_dll dnsapi enable_dnsapi
18530 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
18531 wine_fn_config_dll dplay enable_dplay
18532 wine_fn_config_dll dplayx enable_dplayx
18533 wine_fn_config_test dlls/dplayx/tests dplayx_test
18534 wine_fn_config_dll dpnaddr enable_dpnaddr
18535 wine_fn_config_dll dpnet enable_dpnet
18536 wine_fn_config_test dlls/dpnet/tests dpnet_test
18537 wine_fn_config_dll dpnhpast enable_dpnhpast
18538 wine_fn_config_dll dpnlobby enable_dpnlobby
18539 wine_fn_config_dll dpvoice enable_dpvoice
18540 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
18541 wine_fn_config_dll dpwsockx enable_dpwsockx
18542 wine_fn_config_dll drmclien enable_drmclien
18543 wine_fn_config_dll dsound enable_dsound
18544 wine_fn_config_test dlls/dsound/tests dsound_test
18545 wine_fn_config_dll dsquery enable_dsquery
18546 wine_fn_config_dll dssenh enable_dssenh
18547 wine_fn_config_test dlls/dssenh/tests dssenh_test
18548 wine_fn_config_dll dswave enable_dswave
18549 wine_fn_config_test dlls/dswave/tests dswave_test
18550 wine_fn_config_dll dwmapi enable_dwmapi
18551 wine_fn_config_dll dwrite enable_dwrite
18552 wine_fn_config_test dlls/dwrite/tests dwrite_test
18553 wine_fn_config_dll dx8vb enable_dx8vb
18554 wine_fn_config_dll dxdiagn enable_dxdiagn
18555 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
18556 wine_fn_config_lib dxerr8
18557 wine_fn_config_lib dxerr9
18558 wine_fn_config_dll dxgi enable_dxgi
18559 wine_fn_config_test dlls/dxgi/tests dxgi_test
18560 wine_fn_config_lib dxguid
18561 wine_fn_config_dll dxva2 enable_dxva2
18562 wine_fn_config_dll esent enable_esent
18563 wine_fn_config_dll evr enable_evr
18564 wine_fn_config_test dlls/evr/tests evr_test
18565 wine_fn_config_dll explorerframe enable_explorerframe
18566 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
18567 wine_fn_config_dll ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
18568 wine_fn_config_dll ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
18569 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
18570 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
18571 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
18572 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
18573 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
18574 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
18575 wine_fn_config_dll ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
18576 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
18577 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
18578 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18579 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18580 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18581 wine_fn_config_dll ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
18582 wine_fn_config_dll ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
18583 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18584 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18585 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
18586 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18587 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18588 wine_fn_config_dll ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
18589 wine_fn_config_dll ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
18590 wine_fn_config_dll faultrep enable_faultrep
18591 wine_fn_config_test dlls/faultrep/tests faultrep_test
18592 wine_fn_config_dll fltlib enable_fltlib
18593 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
18594 wine_fn_config_dll fntcache enable_fntcache
18595 wine_fn_config_dll fontsub enable_fontsub
18596 wine_fn_config_dll fusion enable_fusion
18597 wine_fn_config_test dlls/fusion/tests fusion_test
18598 wine_fn_config_dll fwpuclnt enable_fwpuclnt
18599 wine_fn_config_dll gameux enable_gameux
18600 wine_fn_config_test dlls/gameux/tests gameux_test
18601 wine_fn_config_dll gdi.exe16 enable_win16
18602 wine_fn_config_dll gdi32 enable_gdi32
18603 wine_fn_config_test dlls/gdi32/tests gdi32_test
18604 wine_fn_config_dll gdiplus enable_gdiplus
18605 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
18606 wine_fn_config_dll glu32 enable_glu32
18607 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds
18608 wine_fn_config_dll gpkcsp enable_gpkcsp
18609 wine_fn_config_dll hal enable_hal
18610 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx
18611 wine_fn_config_dll hid enable_hid
18612 wine_fn_config_test dlls/hid/tests hid_test
18613 wine_fn_config_dll hidclass.sys enable_hidclass_sys
18614 wine_fn_config_dll hlink enable_hlink
18615 wine_fn_config_test dlls/hlink/tests hlink_test
18616 wine_fn_config_dll hnetcfg enable_hnetcfg
18617 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
18618 wine_fn_config_dll httpapi enable_httpapi
18619 wine_fn_config_test dlls/httpapi/tests httpapi_test
18620 wine_fn_config_dll iccvid enable_iccvid
18621 wine_fn_config_dll icmp enable_icmp
18622 wine_fn_config_dll ieframe enable_ieframe
18623 wine_fn_config_test dlls/ieframe/tests ieframe_test
18624 wine_fn_config_dll ieproxy enable_ieproxy
18625 wine_fn_config_dll ifsmgr.vxd enable_win16
18626 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
18627 wine_fn_config_dll imagehlp enable_imagehlp
18628 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
18629 wine_fn_config_dll imm.dll16 enable_win16
18630 wine_fn_config_dll imm32 enable_imm32
18631 wine_fn_config_test dlls/imm32/tests imm32_test
18632 wine_fn_config_dll inetcomm enable_inetcomm
18633 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
18634 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl
18635 wine_fn_config_dll inetmib1 enable_inetmib1
18636 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
18637 wine_fn_config_dll infosoft enable_infosoft
18638 wine_fn_config_test dlls/infosoft/tests infosoft_test
18639 wine_fn_config_dll initpki enable_initpki
18640 wine_fn_config_dll inkobj enable_inkobj
18641 wine_fn_config_dll inseng enable_inseng
18642 wine_fn_config_dll iphlpapi enable_iphlpapi
18643 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
18644 wine_fn_config_dll iprop enable_iprop
18645 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18646 wine_fn_config_dll itircl enable_itircl
18647 wine_fn_config_dll itss enable_itss
18648 wine_fn_config_test dlls/itss/tests itss_test
18649 wine_fn_config_dll joy.cpl enable_joy_cpl
18650 wine_fn_config_dll jscript enable_jscript
18651 wine_fn_config_test dlls/jscript/tests jscript_test
18652 wine_fn_config_dll jsproxy enable_jsproxy
18653 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
18654 wine_fn_config_dll kerberos enable_kerberos
18655 wine_fn_config_dll kernel32 enable_kernel32
18656 wine_fn_config_test dlls/kernel32/tests kernel32_test
18657 wine_fn_config_dll kernelbase enable_kernelbase
18658 wine_fn_config_dll keyboard.drv16 enable_win16
18659 wine_fn_config_dll krnl386.exe16 enable_win16
18660 wine_fn_config_dll ksuser enable_ksuser
18661 wine_fn_config_dll ktmw32 enable_ktmw32
18662 wine_fn_config_dll l3codeca.acm enable_l3codeca_acm
18663 wine_fn_config_dll loadperf enable_loadperf
18664 wine_fn_config_dll localspl enable_localspl
18665 wine_fn_config_test dlls/localspl/tests localspl_test
18666 wine_fn_config_dll localui enable_localui
18667 wine_fn_config_test dlls/localui/tests localui_test
18668 wine_fn_config_dll lz32 enable_lz32
18669 wine_fn_config_test dlls/lz32/tests lz32_test
18670 wine_fn_config_dll lzexpand.dll16 enable_win16
18671 wine_fn_config_dll mapi32 enable_mapi32
18672 wine_fn_config_test dlls/mapi32/tests mapi32_test
18673 wine_fn_config_dll mapistub enable_mapistub
18674 wine_fn_config_dll mciavi32 enable_mciavi32
18675 wine_fn_config_dll mcicda enable_mcicda
18676 wine_fn_config_dll mciqtz32 enable_mciqtz32
18677 wine_fn_config_dll mciseq enable_mciseq
18678 wine_fn_config_dll mciwave enable_mciwave
18679 wine_fn_config_dll mf enable_mf
18680 wine_fn_config_test dlls/mf/tests mf_test
18681 wine_fn_config_dll mf3216 enable_mf3216
18682 wine_fn_config_dll mfplat enable_mfplat
18683 wine_fn_config_test dlls/mfplat/tests mfplat_test
18684 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18685 wine_fn_config_lib mfuuid
18686 wine_fn_config_dll mgmtapi enable_mgmtapi
18687 wine_fn_config_dll midimap enable_midimap
18688 wine_fn_config_dll mlang enable_mlang
18689 wine_fn_config_test dlls/mlang/tests mlang_test
18690 wine_fn_config_dll mmcndmgr enable_mmcndmgr
18691 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
18692 wine_fn_config_dll mmdevapi enable_mmdevapi
18693 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
18694 wine_fn_config_dll mmdevldr.vxd enable_win16
18695 wine_fn_config_dll mmsystem.dll16 enable_win16
18696 wine_fn_config_dll monodebg.vxd enable_win16
18697 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18698 wine_fn_config_dll mouse.drv16 enable_win16
18699 wine_fn_config_dll mpr enable_mpr
18700 wine_fn_config_test dlls/mpr/tests mpr_test
18701 wine_fn_config_dll mprapi enable_mprapi
18702 wine_fn_config_dll msacm.dll16 enable_win16
18703 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18704 wine_fn_config_dll msacm32 enable_msacm32
18705 wine_fn_config_test dlls/msacm32/tests msacm32_test
18706 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18707 wine_fn_config_dll msasn1 enable_msasn1
18708 wine_fn_config_dll mscat32 enable_mscat32
18709 wine_fn_config_dll mscms enable_mscms
18710 wine_fn_config_test dlls/mscms/tests mscms_test
18711 wine_fn_config_dll mscoree enable_mscoree
18712 wine_fn_config_test dlls/mscoree/tests mscoree_test
18713 wine_fn_config_dll msctf enable_msctf
18714 wine_fn_config_test dlls/msctf/tests msctf_test
18715 wine_fn_config_dll msctfp enable_msctfp
18716 wine_fn_config_dll msdaps enable_msdaps
18717 wine_fn_config_dll msdelta enable_msdelta
18718 wine_fn_config_dll msdmo enable_msdmo
18719 wine_fn_config_test dlls/msdmo/tests msdmo_test
18720 wine_fn_config_dll msdrm enable_msdrm
18721 wine_fn_config_dll msftedit enable_msftedit
18722 wine_fn_config_dll msg711.acm enable_msg711_acm
18723 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18724 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb
18725 wine_fn_config_dll mshtml enable_mshtml
18726 wine_fn_config_test dlls/mshtml/tests mshtml_test
18727 wine_fn_config_dll msi enable_msi
18728 wine_fn_config_test dlls/msi/tests msi_test
18729 wine_fn_config_dll msident enable_msident
18730 wine_fn_config_dll msimg32 enable_msimg32
18731 wine_fn_config_dll msimsg enable_msimsg
18732 wine_fn_config_dll msimtf enable_msimtf
18733 wine_fn_config_dll msisip enable_msisip
18734 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18735 wine_fn_config_dll msls31 enable_msls31
18736 wine_fn_config_dll msnet32 enable_msnet32
18737 wine_fn_config_dll mspatcha enable_mspatcha
18738 wine_fn_config_dll msports enable_msports
18739 wine_fn_config_dll msrle32 enable_msrle32
18740 wine_fn_config_test dlls/msrle32/tests msrle32_test
18741 wine_fn_config_dll msscript.ocx enable_msscript_ocx
18742 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test
18743 wine_fn_config_dll mssign32 enable_mssign32
18744 wine_fn_config_dll mssip32 enable_mssip32
18745 wine_fn_config_dll mstask enable_mstask
18746 wine_fn_config_test dlls/mstask/tests mstask_test
18747 wine_fn_config_dll msvcirt enable_msvcirt
18748 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18749 wine_fn_config_dll msvcm80 enable_msvcm80
18750 wine_fn_config_dll msvcm90 enable_msvcm90
18751 wine_fn_config_dll msvcp100 enable_msvcp100
18752 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18753 wine_fn_config_dll msvcp110 enable_msvcp110
18754 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18755 wine_fn_config_dll msvcp120 enable_msvcp120
18756 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18757 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18758 wine_fn_config_dll msvcp140 enable_msvcp140
18759 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18760 wine_fn_config_dll msvcp60 enable_msvcp60
18761 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18762 wine_fn_config_dll msvcp70 enable_msvcp70
18763 wine_fn_config_dll msvcp71 enable_msvcp71
18764 wine_fn_config_dll msvcp80 enable_msvcp80
18765 wine_fn_config_dll msvcp90 enable_msvcp90
18766 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18767 wine_fn_config_dll msvcr100 enable_msvcr100
18768 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18769 wine_fn_config_dll msvcr110 enable_msvcr110
18770 wine_fn_config_dll msvcr120 enable_msvcr120
18771 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18772 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18773 wine_fn_config_dll msvcr70 enable_msvcr70
18774 wine_fn_config_dll msvcr71 enable_msvcr71
18775 wine_fn_config_dll msvcr80 enable_msvcr80
18776 wine_fn_config_dll msvcr90 enable_msvcr90
18777 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18778 wine_fn_config_dll msvcrt enable_msvcrt
18779 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18780 wine_fn_config_dll msvcrt20 enable_msvcrt20
18781 wine_fn_config_dll msvcrt40 enable_msvcrt40
18782 wine_fn_config_dll msvcrtd enable_msvcrtd
18783 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18784 wine_fn_config_dll msvfw32 enable_msvfw32
18785 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18786 wine_fn_config_dll msvidc32 enable_msvidc32
18787 wine_fn_config_dll msvideo.dll16 enable_win16
18788 wine_fn_config_dll mswsock enable_mswsock
18789 wine_fn_config_dll msxml enable_msxml
18790 wine_fn_config_dll msxml2 enable_msxml2
18791 wine_fn_config_dll msxml3 enable_msxml3
18792 wine_fn_config_test dlls/msxml3/tests msxml3_test
18793 wine_fn_config_dll msxml4 enable_msxml4
18794 wine_fn_config_dll msxml6 enable_msxml6
18795 wine_fn_config_dll mtxdm enable_mtxdm
18796 wine_fn_config_dll ncrypt enable_ncrypt
18797 wine_fn_config_dll nddeapi enable_nddeapi
18798 wine_fn_config_dll ndis.sys enable_ndis_sys
18799 wine_fn_config_dll netapi32 enable_netapi32
18800 wine_fn_config_test dlls/netapi32/tests netapi32_test
18801 wine_fn_config_dll netcfgx enable_netcfgx
18802 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18803 wine_fn_config_dll netprofm enable_netprofm
18804 wine_fn_config_test dlls/netprofm/tests netprofm_test
18805 wine_fn_config_dll newdev enable_newdev
18806 wine_fn_config_dll normaliz enable_normaliz
18807 wine_fn_config_dll npmshtml enable_npmshtml
18808 wine_fn_config_dll npptools enable_npptools
18809 wine_fn_config_dll ntdll enable_ntdll
18810 wine_fn_config_test dlls/ntdll/tests ntdll_test
18811 wine_fn_config_dll ntdsapi enable_ntdsapi
18812 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18813 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe
18814 wine_fn_config_dll ntprint enable_ntprint
18815 wine_fn_config_test dlls/ntprint/tests ntprint_test
18816 wine_fn_config_dll objsel enable_objsel
18817 wine_fn_config_dll odbc32 enable_odbc32
18818 wine_fn_config_dll odbccp32 enable_odbccp32
18819 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18820 wine_fn_config_dll odbccu32 enable_odbccu32
18821 wine_fn_config_dll ole2.dll16 enable_win16
18822 wine_fn_config_dll ole2conv.dll16 enable_win16
18823 wine_fn_config_dll ole2disp.dll16 enable_win16
18824 wine_fn_config_dll ole2nls.dll16 enable_win16
18825 wine_fn_config_dll ole2prox.dll16 enable_win16
18826 wine_fn_config_dll ole2thk.dll16 enable_win16
18827 wine_fn_config_dll ole32 enable_ole32
18828 wine_fn_config_test dlls/ole32/tests ole32_test
18829 wine_fn_config_dll oleacc enable_oleacc
18830 wine_fn_config_test dlls/oleacc/tests oleacc_test
18831 wine_fn_config_dll oleaut32 enable_oleaut32
18832 wine_fn_config_test dlls/oleaut32/tests oleaut32_test
18833 wine_fn_config_dll olecli.dll16 enable_win16
18834 wine_fn_config_dll olecli32 enable_olecli32
18835 wine_fn_config_dll oledb32 enable_oledb32
18836 wine_fn_config_test dlls/oledb32/tests oledb32_test
18837 wine_fn_config_dll oledlg enable_oledlg
18838 wine_fn_config_test dlls/oledlg/tests oledlg_test
18839 wine_fn_config_dll olepro32 enable_olepro32
18840 wine_fn_config_dll olesvr.dll16 enable_win16
18841 wine_fn_config_dll olesvr32 enable_olesvr32
18842 wine_fn_config_dll olethk32 enable_olethk32
18843 wine_fn_config_dll openal32 enable_openal32
18844 wine_fn_config_dll opencl enable_opencl
18845 wine_fn_config_dll opengl32 enable_opengl32
18846 wine_fn_config_test dlls/opengl32/tests opengl32_test
18847 wine_fn_config_dll packager enable_packager
18848 wine_fn_config_test dlls/packager/tests packager_test
18849 wine_fn_config_dll pdh enable_pdh
18850 wine_fn_config_test dlls/pdh/tests pdh_test
18851 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18852 wine_fn_config_dll pidgen enable_pidgen
18853 wine_fn_config_dll powrprof enable_powrprof
18854 wine_fn_config_dll printui enable_printui
18855 wine_fn_config_dll prntvpt enable_prntvpt
18856 wine_fn_config_dll propsys enable_propsys
18857 wine_fn_config_test dlls/propsys/tests propsys_test
18858 wine_fn_config_dll psapi enable_psapi
18859 wine_fn_config_test dlls/psapi/tests psapi_test
18860 wine_fn_config_dll pstorec enable_pstorec
18861 wine_fn_config_test dlls/pstorec/tests pstorec_test
18862 wine_fn_config_dll qcap enable_qcap
18863 wine_fn_config_test dlls/qcap/tests qcap_test
18864 wine_fn_config_dll qedit enable_qedit
18865 wine_fn_config_test dlls/qedit/tests qedit_test
18866 wine_fn_config_dll qmgr enable_qmgr
18867 wine_fn_config_test dlls/qmgr/tests qmgr_test
18868 wine_fn_config_dll qmgrprxy enable_qmgrprxy
18869 wine_fn_config_dll quartz enable_quartz
18870 wine_fn_config_test dlls/quartz/tests quartz_test
18871 wine_fn_config_dll query enable_query
18872 wine_fn_config_dll rasapi16.dll16 enable_win16
18873 wine_fn_config_dll rasapi32 enable_rasapi32
18874 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18875 wine_fn_config_dll rasdlg enable_rasdlg
18876 wine_fn_config_dll regapi enable_regapi
18877 wine_fn_config_dll resutils enable_resutils
18878 wine_fn_config_dll riched20 enable_riched20
18879 wine_fn_config_test dlls/riched20/tests riched20_test
18880 wine_fn_config_dll riched32 enable_riched32
18881 wine_fn_config_test dlls/riched32/tests riched32_test
18882 wine_fn_config_dll rpcrt4 enable_rpcrt4
18883 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test
18884 wine_fn_config_dll rsabase enable_rsabase
18885 wine_fn_config_dll rsaenh enable_rsaenh
18886 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18887 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18888 wine_fn_config_dll rtutils enable_rtutils
18889 wine_fn_config_dll samlib enable_samlib
18890 wine_fn_config_dll sane.ds enable_sane_ds
18891 wine_fn_config_dll sapi enable_sapi
18892 wine_fn_config_test dlls/sapi/tests sapi_test
18893 wine_fn_config_dll scarddlg enable_scarddlg
18894 wine_fn_config_dll sccbase enable_sccbase
18895 wine_fn_config_dll schannel enable_schannel
18896 wine_fn_config_test dlls/schannel/tests schannel_test
18897 wine_fn_config_dll schedsvc enable_schedsvc
18898 wine_fn_config_test dlls/schedsvc/tests schedsvc_test
18899 wine_fn_config_dll scrobj enable_scrobj
18900 wine_fn_config_dll scrrun enable_scrrun
18901 wine_fn_config_test dlls/scrrun/tests scrrun_test
18902 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18903 wine_fn_config_dll secur32 enable_secur32
18904 wine_fn_config_test dlls/secur32/tests secur32_test
18905 wine_fn_config_dll security enable_security
18906 wine_fn_config_dll sensapi enable_sensapi
18907 wine_fn_config_dll serialui enable_serialui
18908 wine_fn_config_test dlls/serialui/tests serialui_test
18909 wine_fn_config_dll setupapi enable_setupapi
18910 wine_fn_config_test dlls/setupapi/tests setupapi_test
18911 wine_fn_config_dll setupx.dll16 enable_win16
18912 wine_fn_config_dll sfc enable_sfc
18913 wine_fn_config_dll sfc_os enable_sfc_os
18914 wine_fn_config_dll shcore enable_shcore
18915 wine_fn_config_dll shdoclc enable_shdoclc
18916 wine_fn_config_dll shdocvw enable_shdocvw
18917 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18918 wine_fn_config_dll shell.dll16 enable_win16
18919 wine_fn_config_dll shell32 enable_shell32
18920 wine_fn_config_test dlls/shell32/tests shell32_test
18921 wine_fn_config_dll shfolder enable_shfolder
18922 wine_fn_config_dll shlwapi enable_shlwapi
18923 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18924 wine_fn_config_dll slbcsp enable_slbcsp
18925 wine_fn_config_dll slc enable_slc
18926 wine_fn_config_test dlls/slc/tests slc_test
18927 wine_fn_config_dll snmpapi enable_snmpapi
18928 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18929 wine_fn_config_dll softpub enable_softpub
18930 wine_fn_config_dll sound.drv16 enable_win16
18931 wine_fn_config_dll spoolss enable_spoolss
18932 wine_fn_config_test dlls/spoolss/tests spoolss_test
18933 wine_fn_config_dll sspicli enable_sspicli
18934 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb
18935 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb
18936 wine_fn_config_dll sti enable_sti
18937 wine_fn_config_test dlls/sti/tests sti_test
18938 wine_fn_config_dll storage.dll16 enable_win16
18939 wine_fn_config_dll stress.dll16 enable_win16
18940 wine_fn_config_lib strmbase
18941 wine_fn_config_lib strmiids
18942 wine_fn_config_dll svrapi enable_svrapi
18943 wine_fn_config_dll sxs enable_sxs
18944 wine_fn_config_test dlls/sxs/tests sxs_test
18945 wine_fn_config_dll system.drv16 enable_win16
18946 wine_fn_config_dll t2embed enable_t2embed
18947 wine_fn_config_test dlls/t2embed/tests t2embed_test
18948 wine_fn_config_dll tapi32 enable_tapi32
18949 wine_fn_config_dll taskschd enable_taskschd
18950 wine_fn_config_test dlls/taskschd/tests taskschd_test
18951 wine_fn_config_dll tdh enable_tdh
18952 wine_fn_config_dll tdi.sys enable_tdi_sys
18953 wine_fn_config_dll toolhelp.dll16 enable_win16
18954 wine_fn_config_dll traffic enable_traffic
18955 wine_fn_config_dll twain.dll16 enable_win16
18956 wine_fn_config_dll twain_32 enable_twain_32
18957 wine_fn_config_test dlls/twain_32/tests twain_32_test
18958 wine_fn_config_dll typelib.dll16 enable_win16
18959 wine_fn_config_dll ucrtbase enable_ucrtbase
18960 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18961 wine_fn_config_dll uiautomationcore enable_uiautomationcore
18962 wine_fn_config_dll uiribbon enable_uiribbon
18963 wine_fn_config_dll unicows enable_unicows
18964 wine_fn_config_dll updspapi enable_updspapi
18965 wine_fn_config_dll url enable_url
18966 wine_fn_config_dll urlmon enable_urlmon
18967 wine_fn_config_test dlls/urlmon/tests urlmon_test
18968 wine_fn_config_dll usbd.sys enable_usbd_sys
18969 wine_fn_config_dll user.exe16 enable_win16
18970 wine_fn_config_dll user32 enable_user32
18971 wine_fn_config_test dlls/user32/tests user32_test
18972 wine_fn_config_dll userenv enable_userenv
18973 wine_fn_config_test dlls/userenv/tests userenv_test
18974 wine_fn_config_dll usp10 enable_usp10
18975 wine_fn_config_test dlls/usp10/tests usp10_test
18976 wine_fn_config_lib uuid
18977 wine_fn_config_dll uxtheme enable_uxtheme
18978 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18979 wine_fn_config_dll vbscript enable_vbscript
18980 wine_fn_config_test dlls/vbscript/tests vbscript_test
18981 wine_fn_config_dll vcomp enable_vcomp
18982 wine_fn_config_test dlls/vcomp/tests vcomp_test
18983 wine_fn_config_dll vcomp100 enable_vcomp100
18984 wine_fn_config_dll vcomp110 enable_vcomp110
18985 wine_fn_config_dll vcomp120 enable_vcomp120
18986 wine_fn_config_dll vcomp140 enable_vcomp140
18987 wine_fn_config_dll vcomp90 enable_vcomp90
18988 wine_fn_config_dll vcruntime140 enable_vcruntime140
18989 wine_fn_config_dll vdhcp.vxd enable_win16
18990 wine_fn_config_dll vdmdbg enable_vdmdbg
18991 wine_fn_config_dll ver.dll16 enable_win16
18992 wine_fn_config_dll version enable_version
18993 wine_fn_config_test dlls/version/tests version_test
18994 wine_fn_config_dll virtdisk enable_virtdisk
18995 wine_fn_config_dll vmm.vxd enable_win16
18996 wine_fn_config_dll vnbt.vxd enable_win16
18997 wine_fn_config_dll vnetbios.vxd enable_win16
18998 wine_fn_config_dll vssapi enable_vssapi
18999 wine_fn_config_dll vtdapi.vxd enable_win16
19000 wine_fn_config_dll vwin32.vxd enable_win16
19001 wine_fn_config_dll w32skrnl enable_win16
19002 wine_fn_config_dll w32sys.dll16 enable_win16
19003 wine_fn_config_dll wbemdisp enable_wbemdisp
19004 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
19005 wine_fn_config_dll wbemprox enable_wbemprox
19006 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
19007 wine_fn_config_dll wdscore enable_wdscore
19008 wine_fn_config_dll webservices enable_webservices
19009 wine_fn_config_test dlls/webservices/tests webservices_test
19010 wine_fn_config_dll wer enable_wer
19011 wine_fn_config_test dlls/wer/tests wer_test
19012 wine_fn_config_dll wevtapi enable_wevtapi
19013 wine_fn_config_dll wiaservc enable_wiaservc
19014 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
19015 wine_fn_config_dll wimgapi enable_wimgapi
19016 wine_fn_config_dll win32s16.dll16 enable_win16
19017 wine_fn_config_dll win87em.dll16 enable_win16
19018 wine_fn_config_dll winaspi.dll16 enable_win16
19019 wine_fn_config_dll windebug.dll16 enable_win16
19020 wine_fn_config_dll windowscodecs enable_windowscodecs
19021 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
19022 wine_fn_config_dll windowscodecsext enable_windowscodecsext
19023 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
19024 wine_fn_config_dll winealsa.drv enable_winealsa_drv
19025 wine_fn_config_dll wineandroid.drv enable_wineandroid_drv
19026 wine_fn_config_dll winebus.sys enable_winebus_sys
19027 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
19028 wine_fn_config_lib winecrt0
19029 wine_fn_config_dll wined3d enable_wined3d
19030 wine_fn_config_dll winegstreamer enable_winegstreamer
19031 wine_fn_config_dll winehid.sys enable_winehid_sys
19032 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
19033 wine_fn_config_dll winemac.drv enable_winemac_drv
19034 wine_fn_config_dll winemapi enable_winemapi
19035 wine_fn_config_dll wineoss.drv enable_wineoss_drv
19036 wine_fn_config_dll wineps.drv enable_wineps_drv
19037 wine_fn_config_dll wineps16.drv16 enable_win16
19038 wine_fn_config_dll winepulse.drv enable_winepulse_drv
19039 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
19040 wine_fn_config_dll winevulkan enable_winevulkan
19041 wine_fn_config_dll winex11.drv enable_winex11_drv
19042 wine_fn_config_dll wing.dll16 enable_win16
19043 wine_fn_config_dll wing32 enable_wing32
19044 wine_fn_config_dll winhttp enable_winhttp
19045 wine_fn_config_test dlls/winhttp/tests winhttp_test
19046 wine_fn_config_dll wininet enable_wininet
19047 wine_fn_config_test dlls/wininet/tests wininet_test
19048 wine_fn_config_dll winmm enable_winmm
19049 wine_fn_config_test dlls/winmm/tests winmm_test
19050 wine_fn_config_dll winnls.dll16 enable_win16
19051 wine_fn_config_dll winnls32 enable_winnls32
19052 wine_fn_config_dll winscard enable_winscard
19053 wine_fn_config_dll winsock.dll16 enable_win16
19054 wine_fn_config_dll winspool.drv enable_winspool_drv
19055 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
19056 wine_fn_config_dll winsta enable_winsta
19057 wine_fn_config_dll wintab.dll16 enable_win16
19058 wine_fn_config_dll wintab32 enable_wintab32
19059 wine_fn_config_test dlls/wintab32/tests wintab32_test
19060 wine_fn_config_dll wintrust enable_wintrust
19061 wine_fn_config_test dlls/wintrust/tests wintrust_test
19062 wine_fn_config_dll winusb enable_winusb
19063 wine_fn_config_dll wlanapi enable_wlanapi
19064 wine_fn_config_test dlls/wlanapi/tests wlanapi_test
19065 wine_fn_config_dll wldap32 enable_wldap32
19066 wine_fn_config_test dlls/wldap32/tests wldap32_test
19067 wine_fn_config_dll wmasf enable_wmasf
19068 wine_fn_config_dll wmi enable_wmi
19069 wine_fn_config_dll wmiutils enable_wmiutils
19070 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
19071 wine_fn_config_dll wmp enable_wmp
19072 wine_fn_config_test dlls/wmp/tests wmp_test
19073 wine_fn_config_dll wmphoto enable_wmphoto
19074 wine_fn_config_dll wmvcore enable_wmvcore
19075 wine_fn_config_test dlls/wmvcore/tests wmvcore_test
19076 wine_fn_config_dll wnaspi32 enable_wnaspi32
19077 wine_fn_config_dll wow32 enable_win16
19078 wine_fn_config_dll wpc enable_wpc
19079 wine_fn_config_test dlls/wpc/tests wpc_test
19080 wine_fn_config_dll wpcap enable_wpcap
19081 wine_fn_config_dll ws2_32 enable_ws2_32
19082 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
19083 wine_fn_config_dll wsdapi enable_wsdapi
19084 wine_fn_config_test dlls/wsdapi/tests wsdapi_test
19085 wine_fn_config_dll wshom.ocx enable_wshom_ocx
19086 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test
19087 wine_fn_config_dll wsnmp32 enable_wsnmp32
19088 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
19089 wine_fn_config_dll wsock32 enable_wsock32
19090 wine_fn_config_dll wtsapi32 enable_wtsapi32
19091 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
19092 wine_fn_config_dll wuapi enable_wuapi
19093 wine_fn_config_dll wuaueng enable_wuaueng
19094 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
19095 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
19096 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
19097 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
19098 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
19099 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
19100 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
19101 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
19102 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
19103 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
19104 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
19105 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
19106 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
19107 wine_fn_config_dll xaudio2_0 enable_xaudio2_0
19108 wine_fn_config_dll xaudio2_1 enable_xaudio2_1
19109 wine_fn_config_dll xaudio2_2 enable_xaudio2_2
19110 wine_fn_config_dll xaudio2_3 enable_xaudio2_3
19111 wine_fn_config_dll xaudio2_4 enable_xaudio2_4
19112 wine_fn_config_dll xaudio2_5 enable_xaudio2_5
19113 wine_fn_config_dll xaudio2_6 enable_xaudio2_6
19114 wine_fn_config_dll xaudio2_7 enable_xaudio2_7
19115 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
19116 wine_fn_config_dll xaudio2_8 enable_xaudio2_8
19117 wine_fn_config_dll xaudio2_9 enable_xaudio2_9
19118 wine_fn_config_dll xinput1_1 enable_xinput1_1
19119 wine_fn_config_dll xinput1_2 enable_xinput1_2
19120 wine_fn_config_dll xinput1_3 enable_xinput1_3
19121 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
19122 wine_fn_config_dll xinput1_4 enable_xinput1_4
19123 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
19124 wine_fn_config_dll xmllite enable_xmllite
19125 wine_fn_config_test dlls/xmllite/tests xmllite_test
19126 wine_fn_config_dll xolehlp enable_xolehlp
19127 wine_fn_config_dll xpsprint enable_xpsprint
19128 wine_fn_config_dll xpssvcs enable_xpssvcs
19129 wine_fn_config_makefile fonts enable_fonts
19130 wine_fn_config_makefile include enable_include
19131 wine_fn_config_makefile libs/port enable_libs_port
19132 wine_fn_config_makefile libs/wine enable_libs_wine
19133 wine_fn_config_makefile libs/wpp enable_libs_wpp
19134 wine_fn_config_makefile loader enable_loader
19135 wine_fn_config_makefile po enable_po
19136 wine_fn_config_program arp enable_arp
19137 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
19138 wine_fn_config_program attrib enable_attrib
19139 wine_fn_config_program cabarc enable_cabarc
19140 wine_fn_config_program cacls enable_cacls
19141 wine_fn_config_program clock enable_clock
19142 wine_fn_config_program cmd enable_cmd
19143 wine_fn_config_test programs/cmd/tests cmd.exe_test
19144 wine_fn_config_program conhost enable_conhost
19145 wine_fn_config_program control enable_control
19146 wine_fn_config_program cscript enable_cscript
19147 wine_fn_config_program dpnsvr enable_dpnsvr
19148 wine_fn_config_program dxdiag enable_dxdiag
19149 wine_fn_config_program eject enable_eject
19150 wine_fn_config_program expand enable_expand
19151 wine_fn_config_program explorer enable_explorer
19152 wine_fn_config_program extrac32 enable_extrac32
19153 wine_fn_config_program findstr enable_findstr
19154 wine_fn_config_program fsutil enable_fsutil
19155 wine_fn_config_program hh enable_hh
19156 wine_fn_config_program hostname enable_hostname
19157 wine_fn_config_program icacls enable_icacls
19158 wine_fn_config_program icinfo enable_icinfo
19159 wine_fn_config_program iexplore enable_iexplore
19160 wine_fn_config_program ipconfig enable_ipconfig
19161 wine_fn_config_program lodctr enable_lodctr
19162 wine_fn_config_program mofcomp enable_mofcomp
19163 wine_fn_config_program mshta enable_mshta
19164 wine_fn_config_program msiexec enable_msiexec
19165 wine_fn_config_program msinfo32 enable_msinfo32
19166 wine_fn_config_program net enable_net
19167 wine_fn_config_program netsh enable_netsh
19168 wine_fn_config_program netstat enable_netstat
19169 wine_fn_config_program ngen enable_ngen
19170 wine_fn_config_program notepad enable_notepad
19171 wine_fn_config_program oleview enable_oleview
19172 wine_fn_config_program ping enable_ping
19173 wine_fn_config_program plugplay enable_plugplay
19174 wine_fn_config_program powershell enable_powershell
19175 wine_fn_config_program presentationfontcache enable_presentationfontcache
19176 wine_fn_config_program progman enable_progman
19177 wine_fn_config_program reg enable_reg
19178 wine_fn_config_test programs/reg/tests reg.exe_test
19179 wine_fn_config_program regasm enable_regasm
19180 wine_fn_config_program regedit enable_regedit
19181 wine_fn_config_test programs/regedit/tests regedit.exe_test
19182 wine_fn_config_program regsvcs enable_regsvcs
19183 wine_fn_config_program regsvr32 enable_regsvr32
19184 wine_fn_config_program rpcss enable_rpcss
19185 wine_fn_config_program rundll.exe16 enable_win16
19186 wine_fn_config_program rundll32 enable_rundll32
19187 wine_fn_config_program sc enable_sc
19188 wine_fn_config_program schtasks enable_schtasks
19189 wine_fn_config_test programs/schtasks/tests schtasks.exe_test
19190 wine_fn_config_program sdbinst enable_sdbinst
19191 wine_fn_config_program secedit enable_secedit
19192 wine_fn_config_program servicemodelreg enable_servicemodelreg
19193 wine_fn_config_program services enable_services
19194 wine_fn_config_test programs/services/tests services.exe_test
19195 wine_fn_config_program shutdown enable_shutdown
19196 wine_fn_config_program spoolsv enable_spoolsv
19197 wine_fn_config_program start enable_start
19198 wine_fn_config_program subst enable_subst
19199 wine_fn_config_program svchost enable_svchost
19200 wine_fn_config_program systeminfo enable_systeminfo
19201 wine_fn_config_program taskkill enable_taskkill
19202 wine_fn_config_program tasklist enable_tasklist
19203 wine_fn_config_program taskmgr enable_taskmgr
19204 wine_fn_config_program termsv enable_termsv
19205 wine_fn_config_program uninstaller enable_uninstaller
19206 wine_fn_config_program unlodctr enable_unlodctr
19207 wine_fn_config_program view enable_view
19208 wine_fn_config_program wevtutil enable_wevtutil
19209 wine_fn_config_program wineboot enable_wineboot
19210 wine_fn_config_program winebrowser enable_winebrowser
19211 wine_fn_config_program winecfg enable_winecfg
19212 wine_fn_config_program wineconsole enable_wineconsole
19213 wine_fn_config_program winedbg enable_winedbg
19214 wine_fn_config_program winedevice enable_winedevice
19215 wine_fn_config_program winefile enable_winefile
19216 wine_fn_config_program winemenubuilder enable_winemenubuilder
19217 wine_fn_config_program winemine enable_winemine
19218 wine_fn_config_program winemsibuilder enable_winemsibuilder
19219 wine_fn_config_program winepath enable_winepath
19220 wine_fn_config_program winetest enable_winetest
19221 wine_fn_config_program winevdm enable_win16
19222 wine_fn_config_program winhelp.exe16 enable_win16
19223 wine_fn_config_program winhlp32 enable_winhlp32
19224 wine_fn_config_program winoldap.mod16 enable_win16
19225 wine_fn_config_program winver enable_winver
19226 wine_fn_config_program wmic enable_wmic
19227 wine_fn_config_program wmplayer enable_wmplayer
19228 wine_fn_config_program wordpad enable_wordpad
19229 wine_fn_config_program write enable_write
19230 wine_fn_config_program wscript enable_wscript
19231 wine_fn_config_test programs/wscript/tests wscript.exe_test
19232 wine_fn_config_program wusa enable_wusa
19233 wine_fn_config_program xcopy enable_xcopy
19234 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
19235 wine_fn_config_makefile server enable_server
19236 wine_fn_config_tool tools
19237 wine_fn_config_tool tools/sfnt2fon
19238 wine_fn_config_tool tools/widl
19239 wine_fn_config_tool tools/winebuild
19240 wine_fn_config_tool tools/winedump
19241 wine_fn_config_tool tools/winegcc
19242 wine_fn_config_tool tools/winemaker
19243 wine_fn_config_tool tools/wmc
19244 wine_fn_config_tool tools/wrc
19247 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
19248 wine_fn_append_file CONFIGURE_TARGETS "tags"
19249 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
19250 wine_fn_append_file CONFIGURE_TARGETS "config.log"
19251 wine_fn_append_file CONFIGURE_TARGETS "config.status"
19252 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
19253 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
19254 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
19256 if test "x$enable_tools" != xno
19257 then
19258 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
19259 ac_config_commands="$ac_config_commands tools/makedep"
19263 ac_config_commands="$ac_config_commands Makefile"
19266 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
19270 if test "x$enable_maintainer_mode" = xyes
19271 then
19272 wine_fn_append_rule "configure: configure.ac aclocal.m4
19273 autoconf --warnings=all
19274 include/config.h.in: include/stamp-h.in
19275 include/stamp-h.in: configure.ac aclocal.m4
19276 autoheader --warnings=all
19277 @echo timestamp > \$@"
19280 if test "x$enable_tools" != xno
19281 then
19282 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
19283 @./config.status tools/makedep
19284 Makefile: tools/makedep$ac_exeext"
19285 else
19286 wine_fn_append_rule "\$(MAKEDEP):
19287 @echo \"You need to run make in $TOOLSDIR first\" && false"
19290 if test -n "$with_wine64"
19291 then
19292 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
19293 fonts server:
19294 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
19295 $with_wine64/loader/wine:
19296 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
19297 $with_wine64/loader/wine-preloader:
19298 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
19299 clean::
19300 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
19301 else
19302 WINELOADER_INSTALL="wine.inf l_intl.nls"
19304 case $host_os in
19305 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
19306 *) WINELOADER_INSTALL="$WINELOADER_INSTALL wine.desktop" ;;
19307 esac
19310 $as_echo " done" >&6
19311 cat >confcache <<\_ACEOF
19312 # This file is a shell script that caches the results of configure
19313 # tests run on this system so they can be shared between configure
19314 # scripts and configure runs, see configure's option --config-cache.
19315 # It is not useful on other systems. If it contains results you don't
19316 # want to keep, you may remove or edit it.
19318 # config.status only pays attention to the cache file if you give it
19319 # the --recheck option to rerun configure.
19321 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19322 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19323 # following values.
19325 _ACEOF
19327 # The following way of writing the cache mishandles newlines in values,
19328 # but we know of no workaround that is simple, portable, and efficient.
19329 # So, we kill variables containing newlines.
19330 # Ultrix sh set writes to stderr and can't be redirected directly,
19331 # and sets the high bit in the cache file unless we assign to the vars.
19333 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19334 eval ac_val=\$$ac_var
19335 case $ac_val in #(
19336 *${as_nl}*)
19337 case $ac_var in #(
19338 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19339 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19340 esac
19341 case $ac_var in #(
19342 _ | IFS | as_nl) ;; #(
19343 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19344 *) { eval $ac_var=; unset $ac_var;} ;;
19345 esac ;;
19346 esac
19347 done
19349 (set) 2>&1 |
19350 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19351 *${as_nl}ac_space=\ *)
19352 # `set' does not quote correctly, so add quotes: double-quote
19353 # substitution turns \\\\ into \\, and sed turns \\ into \.
19354 sed -n \
19355 "s/'/'\\\\''/g;
19356 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19357 ;; #(
19359 # `set' quotes correctly as required by POSIX, so do not add quotes.
19360 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19362 esac |
19363 sort
19365 sed '
19366 /^ac_cv_env_/b end
19367 t clear
19368 :clear
19369 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19370 t end
19371 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19372 :end' >>confcache
19373 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19374 if test -w "$cache_file"; then
19375 if test "x$cache_file" != "x/dev/null"; then
19376 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19377 $as_echo "$as_me: updating cache $cache_file" >&6;}
19378 if test ! -f "$cache_file" || test -h "$cache_file"; then
19379 cat confcache >"$cache_file"
19380 else
19381 case $cache_file in #(
19382 */* | ?:*)
19383 mv -f confcache "$cache_file"$$ &&
19384 mv -f "$cache_file"$$ "$cache_file" ;; #(
19386 mv -f confcache "$cache_file" ;;
19387 esac
19390 else
19391 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19392 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19395 rm -f confcache
19397 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19398 # Let make expand exec_prefix.
19399 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19401 DEFS=-DHAVE_CONFIG_H
19403 ac_libobjs=
19404 ac_ltlibobjs=
19406 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19407 # 1. Remove the extension, and $U if already installed.
19408 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19409 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19410 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19411 # will be set to the directory where LIBOBJS objects are built.
19412 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19413 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19414 done
19415 LIBOBJS=$ac_libobjs
19417 LTLIBOBJS=$ac_ltlibobjs
19421 : "${CONFIG_STATUS=./config.status}"
19422 ac_write_fail=0
19423 ac_clean_files_save=$ac_clean_files
19424 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19425 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19426 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19427 as_write_fail=0
19428 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19429 #! $SHELL
19430 # Generated by $as_me.
19431 # Run this file to recreate the current configuration.
19432 # Compiler output produced by configure, useful for debugging
19433 # configure, is in config.log if it exists.
19435 debug=false
19436 ac_cs_recheck=false
19437 ac_cs_silent=false
19439 SHELL=\${CONFIG_SHELL-$SHELL}
19440 export SHELL
19441 _ASEOF
19442 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19443 ## -------------------- ##
19444 ## M4sh Initialization. ##
19445 ## -------------------- ##
19447 # Be more Bourne compatible
19448 DUALCASE=1; export DUALCASE # for MKS sh
19449 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19450 emulate sh
19451 NULLCMD=:
19452 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19453 # is contrary to our usage. Disable this feature.
19454 alias -g '${1+"$@"}'='"$@"'
19455 setopt NO_GLOB_SUBST
19456 else
19457 case `(set -o) 2>/dev/null` in #(
19458 *posix*) :
19459 set -o posix ;; #(
19460 *) :
19462 esac
19466 as_nl='
19468 export as_nl
19469 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19470 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19471 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19472 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19473 # Prefer a ksh shell builtin over an external printf program on Solaris,
19474 # but without wasting forks for bash or zsh.
19475 if test -z "$BASH_VERSION$ZSH_VERSION" \
19476 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19477 as_echo='print -r --'
19478 as_echo_n='print -rn --'
19479 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19480 as_echo='printf %s\n'
19481 as_echo_n='printf %s'
19482 else
19483 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19484 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19485 as_echo_n='/usr/ucb/echo -n'
19486 else
19487 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19488 as_echo_n_body='eval
19489 arg=$1;
19490 case $arg in #(
19491 *"$as_nl"*)
19492 expr "X$arg" : "X\\(.*\\)$as_nl";
19493 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19494 esac;
19495 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19497 export as_echo_n_body
19498 as_echo_n='sh -c $as_echo_n_body as_echo'
19500 export as_echo_body
19501 as_echo='sh -c $as_echo_body as_echo'
19504 # The user is always right.
19505 if test "${PATH_SEPARATOR+set}" != set; then
19506 PATH_SEPARATOR=:
19507 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19508 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19509 PATH_SEPARATOR=';'
19514 # IFS
19515 # We need space, tab and new line, in precisely that order. Quoting is
19516 # there to prevent editors from complaining about space-tab.
19517 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19518 # splitting by setting IFS to empty value.)
19519 IFS=" "" $as_nl"
19521 # Find who we are. Look in the path if we contain no directory separator.
19522 as_myself=
19523 case $0 in #((
19524 *[\\/]* ) as_myself=$0 ;;
19525 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19526 for as_dir in $PATH
19528 IFS=$as_save_IFS
19529 test -z "$as_dir" && as_dir=.
19530 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19531 done
19532 IFS=$as_save_IFS
19535 esac
19536 # We did not find ourselves, most probably we were run as `sh COMMAND'
19537 # in which case we are not to be found in the path.
19538 if test "x$as_myself" = x; then
19539 as_myself=$0
19541 if test ! -f "$as_myself"; then
19542 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19543 exit 1
19546 # Unset variables that we do not need and which cause bugs (e.g. in
19547 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19548 # suppresses any "Segmentation fault" message there. '((' could
19549 # trigger a bug in pdksh 5.2.14.
19550 for as_var in BASH_ENV ENV MAIL MAILPATH
19551 do eval test x\${$as_var+set} = xset \
19552 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19553 done
19554 PS1='$ '
19555 PS2='> '
19556 PS4='+ '
19558 # NLS nuisances.
19559 LC_ALL=C
19560 export LC_ALL
19561 LANGUAGE=C
19562 export LANGUAGE
19564 # CDPATH.
19565 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19568 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19569 # ----------------------------------------
19570 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19571 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19572 # script with STATUS, using 1 if that was 0.
19573 as_fn_error ()
19575 as_status=$1; test $as_status -eq 0 && as_status=1
19576 if test "$4"; then
19577 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19578 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19580 $as_echo "$as_me: error: $2" >&2
19581 as_fn_exit $as_status
19582 } # as_fn_error
19585 # as_fn_set_status STATUS
19586 # -----------------------
19587 # Set $? to STATUS, without forking.
19588 as_fn_set_status ()
19590 return $1
19591 } # as_fn_set_status
19593 # as_fn_exit STATUS
19594 # -----------------
19595 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19596 as_fn_exit ()
19598 set +e
19599 as_fn_set_status $1
19600 exit $1
19601 } # as_fn_exit
19603 # as_fn_unset VAR
19604 # ---------------
19605 # Portably unset VAR.
19606 as_fn_unset ()
19608 { eval $1=; unset $1;}
19610 as_unset=as_fn_unset
19611 # as_fn_append VAR VALUE
19612 # ----------------------
19613 # Append the text in VALUE to the end of the definition contained in VAR. Take
19614 # advantage of any shell optimizations that allow amortized linear growth over
19615 # repeated appends, instead of the typical quadratic growth present in naive
19616 # implementations.
19617 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19618 eval 'as_fn_append ()
19620 eval $1+=\$2
19622 else
19623 as_fn_append ()
19625 eval $1=\$$1\$2
19627 fi # as_fn_append
19629 # as_fn_arith ARG...
19630 # ------------------
19631 # Perform arithmetic evaluation on the ARGs, and store the result in the
19632 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19633 # must be portable across $(()) and expr.
19634 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19635 eval 'as_fn_arith ()
19637 as_val=$(( $* ))
19639 else
19640 as_fn_arith ()
19642 as_val=`expr "$@" || test $? -eq 1`
19644 fi # as_fn_arith
19647 if expr a : '\(a\)' >/dev/null 2>&1 &&
19648 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19649 as_expr=expr
19650 else
19651 as_expr=false
19654 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19655 as_basename=basename
19656 else
19657 as_basename=false
19660 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19661 as_dirname=dirname
19662 else
19663 as_dirname=false
19666 as_me=`$as_basename -- "$0" ||
19667 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19668 X"$0" : 'X\(//\)$' \| \
19669 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19670 $as_echo X/"$0" |
19671 sed '/^.*\/\([^/][^/]*\)\/*$/{
19672 s//\1/
19675 /^X\/\(\/\/\)$/{
19676 s//\1/
19679 /^X\/\(\/\).*/{
19680 s//\1/
19683 s/.*/./; q'`
19685 # Avoid depending upon Character Ranges.
19686 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19687 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19688 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19689 as_cr_digits='0123456789'
19690 as_cr_alnum=$as_cr_Letters$as_cr_digits
19692 ECHO_C= ECHO_N= ECHO_T=
19693 case `echo -n x` in #(((((
19694 -n*)
19695 case `echo 'xy\c'` in
19696 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19697 xy) ECHO_C='\c';;
19698 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19699 ECHO_T=' ';;
19700 esac;;
19702 ECHO_N='-n';;
19703 esac
19705 rm -f conf$$ conf$$.exe conf$$.file
19706 if test -d conf$$.dir; then
19707 rm -f conf$$.dir/conf$$.file
19708 else
19709 rm -f conf$$.dir
19710 mkdir conf$$.dir 2>/dev/null
19712 if (echo >conf$$.file) 2>/dev/null; then
19713 if ln -s conf$$.file conf$$ 2>/dev/null; then
19714 as_ln_s='ln -s'
19715 # ... but there are two gotchas:
19716 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19717 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19718 # In both cases, we have to default to `cp -pR'.
19719 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19720 as_ln_s='cp -pR'
19721 elif ln conf$$.file conf$$ 2>/dev/null; then
19722 as_ln_s=ln
19723 else
19724 as_ln_s='cp -pR'
19726 else
19727 as_ln_s='cp -pR'
19729 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19730 rmdir conf$$.dir 2>/dev/null
19733 # as_fn_mkdir_p
19734 # -------------
19735 # Create "$as_dir" as a directory, including parents if necessary.
19736 as_fn_mkdir_p ()
19739 case $as_dir in #(
19740 -*) as_dir=./$as_dir;;
19741 esac
19742 test -d "$as_dir" || eval $as_mkdir_p || {
19743 as_dirs=
19744 while :; do
19745 case $as_dir in #(
19746 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19747 *) as_qdir=$as_dir;;
19748 esac
19749 as_dirs="'$as_qdir' $as_dirs"
19750 as_dir=`$as_dirname -- "$as_dir" ||
19751 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19752 X"$as_dir" : 'X\(//\)[^/]' \| \
19753 X"$as_dir" : 'X\(//\)$' \| \
19754 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19755 $as_echo X"$as_dir" |
19756 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19757 s//\1/
19760 /^X\(\/\/\)[^/].*/{
19761 s//\1/
19764 /^X\(\/\/\)$/{
19765 s//\1/
19768 /^X\(\/\).*/{
19769 s//\1/
19772 s/.*/./; q'`
19773 test -d "$as_dir" && break
19774 done
19775 test -z "$as_dirs" || eval "mkdir $as_dirs"
19776 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19779 } # as_fn_mkdir_p
19780 if mkdir -p . 2>/dev/null; then
19781 as_mkdir_p='mkdir -p "$as_dir"'
19782 else
19783 test -d ./-p && rmdir ./-p
19784 as_mkdir_p=false
19788 # as_fn_executable_p FILE
19789 # -----------------------
19790 # Test if FILE is an executable regular file.
19791 as_fn_executable_p ()
19793 test -f "$1" && test -x "$1"
19794 } # as_fn_executable_p
19795 as_test_x='test -x'
19796 as_executable_p=as_fn_executable_p
19798 # Sed expression to map a string onto a valid CPP name.
19799 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19801 # Sed expression to map a string onto a valid variable name.
19802 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19805 exec 6>&1
19806 ## ----------------------------------- ##
19807 ## Main body of $CONFIG_STATUS script. ##
19808 ## ----------------------------------- ##
19809 _ASEOF
19810 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19812 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19813 # Save the log message, to keep $0 and so on meaningful, and to
19814 # report actual input values of CONFIG_FILES etc. instead of their
19815 # values after options handling.
19816 ac_log="
19817 This file was extended by Wine $as_me 3.2, which was
19818 generated by GNU Autoconf 2.69. Invocation command line was
19820 CONFIG_FILES = $CONFIG_FILES
19821 CONFIG_HEADERS = $CONFIG_HEADERS
19822 CONFIG_LINKS = $CONFIG_LINKS
19823 CONFIG_COMMANDS = $CONFIG_COMMANDS
19824 $ $0 $@
19826 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19829 _ACEOF
19831 case $ac_config_files in *"
19832 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19833 esac
19835 case $ac_config_headers in *"
19836 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19837 esac
19840 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19841 # Files that config.status was made for.
19842 config_files="$ac_config_files"
19843 config_headers="$ac_config_headers"
19844 config_links="$ac_config_links"
19845 config_commands="$ac_config_commands"
19847 _ACEOF
19849 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19850 ac_cs_usage="\
19851 \`$as_me' instantiates files and other configuration actions
19852 from templates according to the current configuration. Unless the files
19853 and actions are specified as TAGs, all are instantiated by default.
19855 Usage: $0 [OPTION]... [TAG]...
19857 -h, --help print this help, then exit
19858 -V, --version print version number and configuration settings, then exit
19859 --config print configuration, then exit
19860 -q, --quiet, --silent
19861 do not print progress messages
19862 -d, --debug don't remove temporary files
19863 --recheck update $as_me by reconfiguring in the same conditions
19864 --file=FILE[:TEMPLATE]
19865 instantiate the configuration file FILE
19866 --header=FILE[:TEMPLATE]
19867 instantiate the configuration header FILE
19869 Configuration files:
19870 $config_files
19872 Configuration headers:
19873 $config_headers
19875 Configuration links:
19876 $config_links
19878 Configuration commands:
19879 $config_commands
19881 Report bugs to <wine-devel@winehq.org>.
19882 Wine home page: <https://www.winehq.org>."
19884 _ACEOF
19885 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19886 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19887 ac_cs_version="\\
19888 Wine config.status 3.2
19889 configured by $0, generated by GNU Autoconf 2.69,
19890 with options \\"\$ac_cs_config\\"
19892 Copyright (C) 2012 Free Software Foundation, Inc.
19893 This config.status script is free software; the Free Software Foundation
19894 gives unlimited permission to copy, distribute and modify it."
19896 ac_pwd='$ac_pwd'
19897 srcdir='$srcdir'
19898 test -n "\$AWK" || AWK=awk
19899 _ACEOF
19901 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19902 # The default lists apply if the user does not specify any file.
19903 ac_need_defaults=:
19904 while test $# != 0
19906 case $1 in
19907 --*=?*)
19908 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19909 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19910 ac_shift=:
19912 --*=)
19913 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19914 ac_optarg=
19915 ac_shift=:
19918 ac_option=$1
19919 ac_optarg=$2
19920 ac_shift=shift
19922 esac
19924 case $ac_option in
19925 # Handling of the options.
19926 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19927 ac_cs_recheck=: ;;
19928 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19929 $as_echo "$ac_cs_version"; exit ;;
19930 --config | --confi | --conf | --con | --co | --c )
19931 $as_echo "$ac_cs_config"; exit ;;
19932 --debug | --debu | --deb | --de | --d | -d )
19933 debug=: ;;
19934 --file | --fil | --fi | --f )
19935 $ac_shift
19936 case $ac_optarg in
19937 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19938 '') as_fn_error $? "missing file argument" ;;
19939 esac
19940 as_fn_append CONFIG_FILES " '$ac_optarg'"
19941 ac_need_defaults=false;;
19942 --header | --heade | --head | --hea )
19943 $ac_shift
19944 case $ac_optarg in
19945 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19946 esac
19947 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19948 ac_need_defaults=false;;
19949 --he | --h)
19950 # Conflict between --help and --header
19951 as_fn_error $? "ambiguous option: \`$1'
19952 Try \`$0 --help' for more information.";;
19953 --help | --hel | -h )
19954 $as_echo "$ac_cs_usage"; exit ;;
19955 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19956 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19957 ac_cs_silent=: ;;
19959 # This is an error.
19960 -*) as_fn_error $? "unrecognized option: \`$1'
19961 Try \`$0 --help' for more information." ;;
19963 *) as_fn_append ac_config_targets " $1"
19964 ac_need_defaults=false ;;
19966 esac
19967 shift
19968 done
19970 ac_configure_extra_args=
19972 if $ac_cs_silent; then
19973 exec 6>/dev/null
19974 ac_configure_extra_args="$ac_configure_extra_args --silent"
19977 _ACEOF
19978 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19979 if \$ac_cs_recheck; then
19980 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19981 shift
19982 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19983 CONFIG_SHELL='$SHELL'
19984 export CONFIG_SHELL
19985 exec "\$@"
19988 _ACEOF
19989 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19990 exec 5>>config.log
19992 echo
19993 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19994 ## Running $as_me. ##
19995 _ASBOX
19996 $as_echo "$ac_log"
19997 } >&5
19999 _ACEOF
20000 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20002 # INIT-COMMANDS
20004 wine_fn_output_makedep ()
20006 as_dir=tools; as_fn_mkdir_p
20007 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
20009 wine_fn_output_makefile ()
20011 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
20012 `cat $wine_rules_file`
20013 _WINE_EOF
20014 as_fn_error $? "could not create Makefile" "$LINENO" 5
20017 _ACEOF
20019 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20021 # Handling of arguments.
20022 for ac_config_target in $ac_config_targets
20024 case $ac_config_target in
20025 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20026 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
20027 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
20028 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
20029 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
20030 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
20031 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
20032 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
20033 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
20034 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
20035 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
20036 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
20037 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
20039 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20040 esac
20041 done
20044 # If the user did not use the arguments to specify the items to instantiate,
20045 # then the envvar interface is used. Set only those that are not.
20046 # We use the long form for the default assignment because of an extremely
20047 # bizarre bug on SunOS 4.1.3.
20048 if $ac_need_defaults; then
20049 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20050 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20051 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
20052 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20055 # Have a temporary directory for convenience. Make it in the build tree
20056 # simply because there is no reason against having it here, and in addition,
20057 # creating and moving files from /tmp can sometimes cause problems.
20058 # Hook for its removal unless debugging.
20059 # Note that there is a small window in which the directory will not be cleaned:
20060 # after its creation but before its name has been assigned to `$tmp'.
20061 $debug ||
20063 tmp= ac_tmp=
20064 trap 'exit_status=$?
20065 : "${ac_tmp:=$tmp}"
20066 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20068 trap 'as_fn_exit 1' 1 2 13 15
20070 # Create a (secure) tmp directory for tmp files.
20073 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20074 test -d "$tmp"
20075 } ||
20077 tmp=./conf$$-$RANDOM
20078 (umask 077 && mkdir "$tmp")
20079 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20080 ac_tmp=$tmp
20082 # Set up the scripts for CONFIG_FILES section.
20083 # No need to generate them if there are no CONFIG_FILES.
20084 # This happens for instance with `./config.status config.h'.
20085 if test -n "$CONFIG_FILES"; then
20088 ac_cr=`echo X | tr X '\015'`
20089 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20090 # But we know of no other shell where ac_cr would be empty at this
20091 # point, so we can use a bashism as a fallback.
20092 if test "x$ac_cr" = x; then
20093 eval ac_cr=\$\'\\r\'
20095 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20096 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20097 ac_cs_awk_cr='\\r'
20098 else
20099 ac_cs_awk_cr=$ac_cr
20102 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20103 _ACEOF
20107 echo "cat >conf$$subs.awk <<_ACEOF" &&
20108 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20109 echo "_ACEOF"
20110 } >conf$$subs.sh ||
20111 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20112 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20113 ac_delim='%!_!# '
20114 for ac_last_try in false false false false false :; do
20115 . ./conf$$subs.sh ||
20116 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20118 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20119 if test $ac_delim_n = $ac_delim_num; then
20120 break
20121 elif $ac_last_try; then
20122 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20123 else
20124 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20126 done
20127 rm -f conf$$subs.sh
20129 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20130 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
20131 _ACEOF
20132 sed -n '
20134 s/^/S["/; s/!.*/"]=/
20137 s/^[^!]*!//
20138 :repl
20139 t repl
20140 s/'"$ac_delim"'$//
20141 t delim
20144 s/\(.\{148\}\)..*/\1/
20145 t more1
20146 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20149 b repl
20150 :more1
20151 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20154 s/.\{148\}//
20155 t nl
20156 :delim
20158 s/\(.\{148\}\)..*/\1/
20159 t more2
20160 s/["\\]/\\&/g; s/^/"/; s/$/"/
20163 :more2
20164 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20167 s/.\{148\}//
20168 t delim
20169 ' <conf$$subs.awk | sed '
20170 /^[^""]/{
20172 s/\n//
20174 ' >>$CONFIG_STATUS || ac_write_fail=1
20175 rm -f conf$$subs.awk
20176 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20177 _ACAWK
20178 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
20179 for (key in S) S_is_set[key] = 1
20180 FS = "\a"
20184 line = $ 0
20185 nfields = split(line, field, "@")
20186 substed = 0
20187 len = length(field[1])
20188 for (i = 2; i < nfields; i++) {
20189 key = field[i]
20190 keylen = length(key)
20191 if (S_is_set[key]) {
20192 value = S[key]
20193 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20194 len += length(value) + length(field[++i])
20195 substed = 1
20196 } else
20197 len += 1 + keylen
20200 print line
20203 _ACAWK
20204 _ACEOF
20205 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20206 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20207 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20208 else
20210 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
20211 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20212 _ACEOF
20214 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20215 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20216 # trailing colons and then remove the whole line if VPATH becomes empty
20217 # (actually we leave an empty line to preserve line numbers).
20218 if test "x$srcdir" = x.; then
20219 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20221 s///
20222 s/^/:/
20223 s/[ ]*$/:/
20224 s/:\$(srcdir):/:/g
20225 s/:\${srcdir}:/:/g
20226 s/:@srcdir@:/:/g
20227 s/^:*//
20228 s/:*$//
20230 s/\(=[ ]*\).*/\1/
20232 s/\n//
20233 s/^[^=]*=[ ]*$//
20237 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20238 fi # test -n "$CONFIG_FILES"
20240 # Set up the scripts for CONFIG_HEADERS section.
20241 # No need to generate them if there are no CONFIG_HEADERS.
20242 # This happens for instance with `./config.status Makefile'.
20243 if test -n "$CONFIG_HEADERS"; then
20244 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20245 BEGIN {
20246 _ACEOF
20248 # Transform confdefs.h into an awk script `defines.awk', embedded as
20249 # here-document in config.status, that substitutes the proper values into
20250 # config.h.in to produce config.h.
20252 # Create a delimiter string that does not exist in confdefs.h, to ease
20253 # handling of long lines.
20254 ac_delim='%!_!# '
20255 for ac_last_try in false false :; do
20256 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20257 if test -z "$ac_tt"; then
20258 break
20259 elif $ac_last_try; then
20260 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20261 else
20262 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20264 done
20266 # For the awk script, D is an array of macro values keyed by name,
20267 # likewise P contains macro parameters if any. Preserve backslash
20268 # newline sequences.
20270 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20271 sed -n '
20272 s/.\{148\}/&'"$ac_delim"'/g
20273 t rset
20274 :rset
20275 s/^[ ]*#[ ]*define[ ][ ]*/ /
20276 t def
20278 :def
20279 s/\\$//
20280 t bsnl
20281 s/["\\]/\\&/g
20282 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20283 D["\1"]=" \3"/p
20284 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
20286 :bsnl
20287 s/["\\]/\\&/g
20288 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20289 D["\1"]=" \3\\\\\\n"\\/p
20290 t cont
20291 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20292 t cont
20294 :cont
20296 s/.\{148\}/&'"$ac_delim"'/g
20297 t clear
20298 :clear
20299 s/\\$//
20300 t bsnlc
20301 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20303 :bsnlc
20304 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20305 b cont
20306 ' <confdefs.h | sed '
20307 s/'"$ac_delim"'/"\\\
20308 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20310 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20311 for (key in D) D_is_set[key] = 1
20312 FS = "\a"
20314 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20315 line = \$ 0
20316 split(line, arg, " ")
20317 if (arg[1] == "#") {
20318 defundef = arg[2]
20319 mac1 = arg[3]
20320 } else {
20321 defundef = substr(arg[1], 2)
20322 mac1 = arg[2]
20324 split(mac1, mac2, "(") #)
20325 macro = mac2[1]
20326 prefix = substr(line, 1, index(line, defundef) - 1)
20327 if (D_is_set[macro]) {
20328 # Preserve the white space surrounding the "#".
20329 print prefix "define", macro P[macro] D[macro]
20330 next
20331 } else {
20332 # Replace #undef with comments. This is necessary, for example,
20333 # in the case of _POSIX_SOURCE, which is predefined and required
20334 # on some systems where configure will not decide to define it.
20335 if (defundef == "undef") {
20336 print "/*", prefix defundef, macro, "*/"
20337 next
20341 { print }
20342 _ACAWK
20343 _ACEOF
20344 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20345 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20346 fi # test -n "$CONFIG_HEADERS"
20349 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
20350 shift
20351 for ac_tag
20353 case $ac_tag in
20354 :[FHLC]) ac_mode=$ac_tag; continue;;
20355 esac
20356 case $ac_mode$ac_tag in
20357 :[FHL]*:*);;
20358 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20359 :[FH]-) ac_tag=-:-;;
20360 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20361 esac
20362 ac_save_IFS=$IFS
20363 IFS=:
20364 set x $ac_tag
20365 IFS=$ac_save_IFS
20366 shift
20367 ac_file=$1
20368 shift
20370 case $ac_mode in
20371 :L) ac_source=$1;;
20372 :[FH])
20373 ac_file_inputs=
20374 for ac_f
20376 case $ac_f in
20377 -) ac_f="$ac_tmp/stdin";;
20378 *) # Look for the file first in the build tree, then in the source tree
20379 # (if the path is not absolute). The absolute path cannot be DOS-style,
20380 # because $ac_f cannot contain `:'.
20381 test -f "$ac_f" ||
20382 case $ac_f in
20383 [\\/$]*) false;;
20384 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20385 esac ||
20386 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20387 esac
20388 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20389 as_fn_append ac_file_inputs " '$ac_f'"
20390 done
20392 # Let's still pretend it is `configure' which instantiates (i.e., don't
20393 # use $as_me), people would be surprised to read:
20394 # /* config.h. Generated by config.status. */
20395 configure_input='Generated from '`
20396 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20397 `' by configure.'
20398 if test x"$ac_file" != x-; then
20399 configure_input="$ac_file. $configure_input"
20400 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20401 $as_echo "$as_me: creating $ac_file" >&6;}
20403 # Neutralize special characters interpreted by sed in replacement strings.
20404 case $configure_input in #(
20405 *\&* | *\|* | *\\* )
20406 ac_sed_conf_input=`$as_echo "$configure_input" |
20407 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20408 *) ac_sed_conf_input=$configure_input;;
20409 esac
20411 case $ac_tag in
20412 *:-:* | *:-) cat >"$ac_tmp/stdin" \
20413 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20414 esac
20416 esac
20418 ac_dir=`$as_dirname -- "$ac_file" ||
20419 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20420 X"$ac_file" : 'X\(//\)[^/]' \| \
20421 X"$ac_file" : 'X\(//\)$' \| \
20422 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20423 $as_echo X"$ac_file" |
20424 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20425 s//\1/
20428 /^X\(\/\/\)[^/].*/{
20429 s//\1/
20432 /^X\(\/\/\)$/{
20433 s//\1/
20436 /^X\(\/\).*/{
20437 s//\1/
20440 s/.*/./; q'`
20441 as_dir="$ac_dir"; as_fn_mkdir_p
20442 ac_builddir=.
20444 case "$ac_dir" in
20445 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20447 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20448 # A ".." for each directory in $ac_dir_suffix.
20449 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20450 case $ac_top_builddir_sub in
20451 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20452 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20453 esac ;;
20454 esac
20455 ac_abs_top_builddir=$ac_pwd
20456 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20457 # for backward compatibility:
20458 ac_top_builddir=$ac_top_build_prefix
20460 case $srcdir in
20461 .) # We are building in place.
20462 ac_srcdir=.
20463 ac_top_srcdir=$ac_top_builddir_sub
20464 ac_abs_top_srcdir=$ac_pwd ;;
20465 [\\/]* | ?:[\\/]* ) # Absolute name.
20466 ac_srcdir=$srcdir$ac_dir_suffix;
20467 ac_top_srcdir=$srcdir
20468 ac_abs_top_srcdir=$srcdir ;;
20469 *) # Relative name.
20470 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20471 ac_top_srcdir=$ac_top_build_prefix$srcdir
20472 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20473 esac
20474 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20477 case $ac_mode in
20480 # CONFIG_FILE
20483 _ACEOF
20485 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20486 # If the template does not know about datarootdir, expand it.
20487 # FIXME: This hack should be removed a few years after 2.60.
20488 ac_datarootdir_hack=; ac_datarootdir_seen=
20489 ac_sed_dataroot='
20490 /datarootdir/ {
20494 /@datadir@/p
20495 /@docdir@/p
20496 /@infodir@/p
20497 /@localedir@/p
20498 /@mandir@/p'
20499 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20500 *datarootdir*) ac_datarootdir_seen=yes;;
20501 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20502 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20503 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20504 _ACEOF
20505 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20506 ac_datarootdir_hack='
20507 s&@datadir@&$datadir&g
20508 s&@docdir@&$docdir&g
20509 s&@infodir@&$infodir&g
20510 s&@localedir@&$localedir&g
20511 s&@mandir@&$mandir&g
20512 s&\\\${datarootdir}&$datarootdir&g' ;;
20513 esac
20514 _ACEOF
20516 # Neutralize VPATH when `$srcdir' = `.'.
20517 # Shell code in configure.ac might set extrasub.
20518 # FIXME: do we really want to maintain this feature?
20519 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20520 ac_sed_extra="$ac_vpsub
20521 $extrasub
20522 _ACEOF
20523 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20525 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20526 s|@configure_input@|$ac_sed_conf_input|;t t
20527 s&@top_builddir@&$ac_top_builddir_sub&;t t
20528 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20529 s&@srcdir@&$ac_srcdir&;t t
20530 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20531 s&@top_srcdir@&$ac_top_srcdir&;t t
20532 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20533 s&@builddir@&$ac_builddir&;t t
20534 s&@abs_builddir@&$ac_abs_builddir&;t t
20535 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20536 $ac_datarootdir_hack
20538 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20539 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20541 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20542 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20543 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20544 "$ac_tmp/out"`; test -z "$ac_out"; } &&
20545 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20546 which seems to be undefined. Please make sure it is defined" >&5
20547 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20548 which seems to be undefined. Please make sure it is defined" >&2;}
20550 rm -f "$ac_tmp/stdin"
20551 case $ac_file in
20552 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20553 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20554 esac \
20555 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20559 # CONFIG_HEADER
20561 if test x"$ac_file" != x-; then
20563 $as_echo "/* $configure_input */" \
20564 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20565 } >"$ac_tmp/config.h" \
20566 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20567 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20568 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20569 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20570 else
20571 rm -f "$ac_file"
20572 mv "$ac_tmp/config.h" "$ac_file" \
20573 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20575 else
20576 $as_echo "/* $configure_input */" \
20577 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20578 || as_fn_error $? "could not create -" "$LINENO" 5
20583 # CONFIG_LINK
20586 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
20588 else
20589 # Prefer the file from the source tree if names are identical.
20590 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
20591 ac_source=$srcdir/$ac_source
20594 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
20595 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20597 if test ! -r "$ac_source"; then
20598 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20600 rm -f "$ac_file"
20602 # Try a relative symlink, then a hard link, then a copy.
20603 case $ac_source in
20604 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20605 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20606 esac
20607 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20608 ln "$ac_source" "$ac_file" 2>/dev/null ||
20609 cp -p "$ac_source" "$ac_file" ||
20610 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20613 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20614 $as_echo "$as_me: executing $ac_file commands" >&6;}
20616 esac
20619 case $ac_file$ac_mode in
20620 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20621 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20622 "Makefile":C) wine_fn_output_makefile Makefile ;;
20624 esac
20625 done # for ac_tag
20628 as_fn_exit 0
20629 _ACEOF
20630 ac_clean_files=$ac_clean_files_save
20632 test $ac_write_fail = 0 ||
20633 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20636 # configure is writing to config.log, and then calls config.status.
20637 # config.status does its own redirection, appending to config.log.
20638 # Unfortunately, on DOS this fails, as config.log is still kept open
20639 # by configure, so config.status won't be able to write to it; its
20640 # output is simply discarded. So we exec the FD to /dev/null,
20641 # effectively closing config.log, so it can be properly (re)opened and
20642 # appended to by config.status. When coming back to configure, we
20643 # need to make the FD available again.
20644 if test "$no_create" != yes; then
20645 ac_cs_success=:
20646 ac_config_status_args=
20647 test "$silent" = yes &&
20648 ac_config_status_args="$ac_config_status_args --quiet"
20649 exec 5>/dev/null
20650 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20651 exec 5>>config.log
20652 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20653 # would make configure fail if this is the last instruction.
20654 $ac_cs_success || as_fn_exit 1
20656 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20657 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20658 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20662 if test "$no_create" = "yes"
20663 then
20664 exit 0
20667 ac_save_IFS="$IFS"
20668 if test "x$wine_notices" != x; then
20669 echo >&6
20670 IFS="|"
20671 for msg in $wine_notices; do
20672 IFS="$ac_save_IFS"
20673 if ${msg:+false} :; then :
20675 else
20676 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20677 $as_echo "$as_me: $msg" >&6;}
20679 done
20681 IFS="|"
20682 for msg in $wine_warnings; do
20683 IFS="$ac_save_IFS"
20684 if ${msg:+false} :; then :
20686 else
20687 echo >&2
20688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20689 $as_echo "$as_me: WARNING: $msg" >&2;}
20691 done
20692 IFS="$ac_save_IFS"
20694 $as_echo "
20695 $as_me: Finished. Do '${ac_make}' to compile Wine.
20696 " >&6